Class AwsLogsIntegrationApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Get the API client.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.voidsetApiClient(ApiClient apiClient) Set the API client.
-
Constructor Details
-
AwsLogsIntegrationApi
public AwsLogsIntegrationApi() -
AwsLogsIntegrationApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
checkAWSLogsLambdaAsync
@Deprecated public AWSLogsAsyncResponse checkAWSLogsLambdaAsync(AWSAccountAndLambdaRequest body) throws ApiException Deprecated.Check that an AWS Lambda Function exists.See
checkAWSLogsLambdaAsyncWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).- Parameters:
body- Check AWS Log Lambda Async request body. (required)- Returns:
- AWSLogsAsyncResponse
- Throws:
ApiException- if fails to make API call
-
checkAWSLogsLambdaAsyncAsync
@Deprecated public CompletableFuture<AWSLogsAsyncResponse> checkAWSLogsLambdaAsyncAsync(AWSAccountAndLambdaRequest body) Deprecated.Check that an AWS Lambda Function exists.See
checkAWSLogsLambdaAsyncWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).- Parameters:
body- Check AWS Log Lambda Async request body. (required)- Returns:
- CompletableFuture<AWSLogsAsyncResponse>
-
checkAWSLogsLambdaAsyncWithHttpInfo
@Deprecated public ApiResponse<AWSLogsAsyncResponse> checkAWSLogsLambdaAsyncWithHttpInfo(AWSAccountAndLambdaRequest body) throws ApiException Deprecated.This endpoint is deprecated. Test if permissions are present to add a log-forwarding triggers for the given services and AWS account. The input is the same as for Enable an AWS service log collection. Subsequent requests will always repeat the above, so this endpoint can be polled intermittently instead of blocking.- Returns a status of 'created' when it's checking if the Lambda exists in the account.
- Returns a status of 'waiting' while checking.
- Returns a status of 'checked and ok' if the Lambda exists.
- Returns a status of 'error' if the Lambda does not exist.
- Parameters:
body- Check AWS Log Lambda Async request body. (required)- Returns:
- ApiResponse<AWSLogsAsyncResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication Error - 429 Too many requests -
-
checkAWSLogsLambdaAsyncWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<AWSLogsAsyncResponse>> checkAWSLogsLambdaAsyncWithHttpInfoAsync(AWSAccountAndLambdaRequest body) Deprecated.Check that an AWS Lambda Function exists.See
checkAWSLogsLambdaAsyncWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).- Parameters:
body- Check AWS Log Lambda Async request body. (required)- Returns:
- CompletableFuture<ApiResponse<AWSLogsAsyncResponse>>
-
checkAWSLogsServicesAsync
@Deprecated public AWSLogsAsyncResponse checkAWSLogsServicesAsync(AWSLogsServicesRequest body) throws ApiException Deprecated.Check permissions for log services.See
checkAWSLogsServicesAsyncWithHttpInfo(com.datadog.api.client.v1.model.AWSLogsServicesRequest).- Parameters:
body- Check AWS Logs Async Services request body. (required)- Returns:
- AWSLogsAsyncResponse
- Throws:
ApiException- if fails to make API call
-
checkAWSLogsServicesAsyncAsync
@Deprecated public CompletableFuture<AWSLogsAsyncResponse> checkAWSLogsServicesAsyncAsync(AWSLogsServicesRequest body) Deprecated.Check permissions for log services.See
checkAWSLogsServicesAsyncWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSLogsServicesRequest).- Parameters:
body- Check AWS Logs Async Services request body. (required)- Returns:
- CompletableFuture<AWSLogsAsyncResponse>
-
checkAWSLogsServicesAsyncWithHttpInfo
@Deprecated public ApiResponse<AWSLogsAsyncResponse> checkAWSLogsServicesAsyncWithHttpInfo(AWSLogsServicesRequest body) throws ApiException Deprecated.This endpoint is deprecated. Test if permissions are present to add log-forwarding triggers for the given services and AWS account. Input is the same as forEnableAWSLogServices. Done async, so can be repeatedly polled in a non-blocking fashion until the async request completes.- Returns a status of
createdwhen it's checking if the permissions exists in the AWS account. - Returns a status of
waitingwhile checking. - Returns a status of
checked and okif the Lambda exists. - Returns a status of
errorif the Lambda does not exist.
- Parameters:
body- Check AWS Logs Async Services request body. (required)- Returns:
- ApiResponse<AWSLogsAsyncResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication Error - 429 Too many requests -
- Returns a status of
-
checkAWSLogsServicesAsyncWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<AWSLogsAsyncResponse>> checkAWSLogsServicesAsyncWithHttpInfoAsync(AWSLogsServicesRequest body) Deprecated.Check permissions for log services.See
checkAWSLogsServicesAsyncWithHttpInfo(com.datadog.api.client.v1.model.AWSLogsServicesRequest).- Parameters:
body- Check AWS Logs Async Services request body. (required)- Returns:
- CompletableFuture<ApiResponse<AWSLogsAsyncResponse>>
-
createAWSLambdaARN
Deprecated.Add AWS Log Lambda ARN.See
createAWSLambdaARNWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).- Parameters:
body- AWS Log Lambda Async request body. (required)- Returns:
- Object
- Throws:
ApiException- if fails to make API call
-
createAWSLambdaARNAsync
@Deprecated public CompletableFuture<Object> createAWSLambdaARNAsync(AWSAccountAndLambdaRequest body) Deprecated.Add AWS Log Lambda ARN.See
createAWSLambdaARNWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).- Parameters:
body- AWS Log Lambda Async request body. (required)- Returns:
- CompletableFuture<Object>
-
createAWSLambdaARNWithHttpInfo
@Deprecated public ApiResponse<Object> createAWSLambdaARNWithHttpInfo(AWSAccountAndLambdaRequest body) throws ApiException Deprecated.This endpoint is deprecated. Attach the Lambda ARN of the Lambda created for the Datadog-AWS log collection to your AWS account ID to enable log collection.- Parameters:
body- AWS Log Lambda Async request body. (required)- Returns:
- ApiResponse<Object>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication Error - 429 Too many requests -
-
createAWSLambdaARNWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<Object>> createAWSLambdaARNWithHttpInfoAsync(AWSAccountAndLambdaRequest body) Deprecated.Add AWS Log Lambda ARN.See
createAWSLambdaARNWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).- Parameters:
body- AWS Log Lambda Async request body. (required)- Returns:
- CompletableFuture<ApiResponse<Object>>
-
deleteAWSLambdaARN
Deprecated.Delete an AWS Logs integration.See
deleteAWSLambdaARNWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).- Parameters:
body- Delete AWS Lambda ARN request body. (required)- Returns:
- Object
- Throws:
ApiException- if fails to make API call
-
deleteAWSLambdaARNAsync
@Deprecated public CompletableFuture<Object> deleteAWSLambdaARNAsync(AWSAccountAndLambdaRequest body) Deprecated.Delete an AWS Logs integration.See
deleteAWSLambdaARNWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).- Parameters:
body- Delete AWS Lambda ARN request body. (required)- Returns:
- CompletableFuture<Object>
-
deleteAWSLambdaARNWithHttpInfo
@Deprecated public ApiResponse<Object> deleteAWSLambdaARNWithHttpInfo(AWSAccountAndLambdaRequest body) throws ApiException Deprecated.This endpoint is deprecated. Delete a Datadog-AWS logs configuration by removing the specific Lambda ARN associated with a given AWS account.- Parameters:
body- Delete AWS Lambda ARN request body. (required)- Returns:
- ApiResponse<Object>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication Error - 429 Too many requests -
-
deleteAWSLambdaARNWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<Object>> deleteAWSLambdaARNWithHttpInfoAsync(AWSAccountAndLambdaRequest body) Deprecated.Delete an AWS Logs integration.See
deleteAWSLambdaARNWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).- Parameters:
body- Delete AWS Lambda ARN request body. (required)- Returns:
- CompletableFuture<ApiResponse<Object>>
-
enableAWSLogServices
Deprecated.Enable an AWS Logs integration.See
enableAWSLogServicesWithHttpInfo(com.datadog.api.client.v1.model.AWSLogsServicesRequest).- Parameters:
body- Enable AWS Log Services request body. (required)- Returns:
- Object
- Throws:
ApiException- if fails to make API call
-
enableAWSLogServicesAsync
Deprecated.Enable an AWS Logs integration.See
enableAWSLogServicesWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSLogsServicesRequest).- Parameters:
body- Enable AWS Log Services request body. (required)- Returns:
- CompletableFuture<Object>
-
enableAWSLogServicesWithHttpInfo
@Deprecated public ApiResponse<Object> enableAWSLogServicesWithHttpInfo(AWSLogsServicesRequest body) throws ApiException Deprecated.Enable automatic log collection for a list of services. This should be run after runningCreateAWSLambdaARNto save the configuration.- Parameters:
body- Enable AWS Log Services request body. (required)- Returns:
- ApiResponse<Object>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication Error - 429 Too many requests -
-
enableAWSLogServicesWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<Object>> enableAWSLogServicesWithHttpInfoAsync(AWSLogsServicesRequest body) Deprecated.Enable an AWS Logs integration.See
enableAWSLogServicesWithHttpInfo(com.datadog.api.client.v1.model.AWSLogsServicesRequest).- Parameters:
body- Enable AWS Log Services request body. (required)- Returns:
- CompletableFuture<ApiResponse<Object>>
-
listAWSLogsIntegrations
Deprecated.List all AWS Logs integrations.- Returns:
- List<AWSLogsListResponse>
- Throws:
ApiException- if fails to make API call
-
listAWSLogsIntegrationsAsync
Deprecated.List all AWS Logs integrations.- Returns:
- CompletableFuture<List<AWSLogsListResponse>>
-
listAWSLogsIntegrationsWithHttpInfo
@Deprecated public ApiResponse<List<AWSLogsListResponse>> listAWSLogsIntegrationsWithHttpInfo() throws ApiExceptionDeprecated.List all Datadog-AWS Logs integrations configured in your Datadog account.- Returns:
- ApiResponse<List<AWSLogsListResponse>>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 400 Bad Request - 403 Authentication Error - 429 Too many requests -
-
listAWSLogsIntegrationsWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<List<AWSLogsListResponse>>> listAWSLogsIntegrationsWithHttpInfoAsync()Deprecated.List all AWS Logs integrations.- Returns:
- CompletableFuture<ApiResponse<List<AWSLogsListResponse>>>
-
listAWSLogsServices
Deprecated.Get list of AWS log ready services.- Returns:
- List<AWSLogsListServicesResponse>
- Throws:
ApiException- if fails to make API call
-
listAWSLogsServicesAsync
Deprecated.Get list of AWS log ready services.- Returns:
- CompletableFuture<List<AWSLogsListServicesResponse>>
-
listAWSLogsServicesWithHttpInfo
@Deprecated public ApiResponse<List<AWSLogsListServicesResponse>> listAWSLogsServicesWithHttpInfo() throws ApiExceptionDeprecated.This endpoint is deprecated - use the V2 endpoint instead. Get the list of current AWS services that Datadog offers automatic log collection. Use returned service IDs with the services parameter for the Enable an AWS service log collection API endpoint.- Returns:
- ApiResponse<List<AWSLogsListServicesResponse>>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 OK - 403 Authentication Error - 429 Too many requests -
-
listAWSLogsServicesWithHttpInfoAsync
@Deprecated public CompletableFuture<ApiResponse<List<AWSLogsListServicesResponse>>> listAWSLogsServicesWithHttpInfoAsync()Deprecated.Get list of AWS log ready services.- Returns:
- CompletableFuture<ApiResponse<List<AWSLogsListServicesResponse>>>
-