@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AwsLogsIntegrationApi extends Object
| Constructor and Description |
|---|
AwsLogsIntegrationApi() |
AwsLogsIntegrationApi(ApiClient apiClient) |
public AwsLogsIntegrationApi()
public AwsLogsIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic AWSLogsAsyncResponse checkAWSLogsLambdaAsync(AWSAccountAndLambdaRequest body) throws ApiException
See checkAWSLogsLambdaAsyncWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).
body - Check AWS Log Lambda Async request body. (required)ApiException - if fails to make API callpublic CompletableFuture<AWSLogsAsyncResponse> checkAWSLogsLambdaAsyncAsync(AWSAccountAndLambdaRequest body)
See checkAWSLogsLambdaAsyncWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).
body - Check AWS Log Lambda Async request body. (required)public ApiResponse<AWSLogsAsyncResponse> checkAWSLogsLambdaAsyncWithHttpInfo(AWSAccountAndLambdaRequest body) throws ApiException
body - Check AWS Log Lambda Async request body. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication Error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSLogsAsyncResponse>> checkAWSLogsLambdaAsyncWithHttpInfoAsync(AWSAccountAndLambdaRequest body)
See checkAWSLogsLambdaAsyncWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).
body - Check AWS Log Lambda Async request body. (required)public AWSLogsAsyncResponse checkAWSLogsServicesAsync(AWSLogsServicesRequest body) throws ApiException
See checkAWSLogsServicesAsyncWithHttpInfo(com.datadog.api.client.v1.model.AWSLogsServicesRequest).
body - Check AWS Logs Async Services request body. (required)ApiException - if fails to make API callpublic CompletableFuture<AWSLogsAsyncResponse> checkAWSLogsServicesAsyncAsync(AWSLogsServicesRequest body)
See checkAWSLogsServicesAsyncWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSLogsServicesRequest).
body - Check AWS Logs Async Services request body. (required)public ApiResponse<AWSLogsAsyncResponse> checkAWSLogsServicesAsyncWithHttpInfo(AWSLogsServicesRequest body) throws ApiException
EnableAWSLogServices. Done async, so can be
repeatedly polled in a non-blocking fashion until the async request completes.
created when it's checking if the permissions exists in
the AWS account.
waiting while checking.
checked and ok if the Lambda exists.
error if the Lambda does not exist.
body - Check AWS Logs Async Services request body. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication Error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSLogsAsyncResponse>> checkAWSLogsServicesAsyncWithHttpInfoAsync(AWSLogsServicesRequest body)
See checkAWSLogsServicesAsyncWithHttpInfo(com.datadog.api.client.v1.model.AWSLogsServicesRequest).
body - Check AWS Logs Async Services request body. (required)public Object createAWSLambdaARN(AWSAccountAndLambdaRequest body) throws ApiException
See createAWSLambdaARNWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).
body - AWS Log Lambda Async request body. (required)ApiException - if fails to make API callpublic CompletableFuture<Object> createAWSLambdaARNAsync(AWSAccountAndLambdaRequest body)
See createAWSLambdaARNWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).
body - AWS Log Lambda Async request body. (required)public ApiResponse<Object> createAWSLambdaARNWithHttpInfo(AWSAccountAndLambdaRequest body) throws ApiException
body - AWS Log Lambda Async request body. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication Error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Object>> createAWSLambdaARNWithHttpInfoAsync(AWSAccountAndLambdaRequest body)
See createAWSLambdaARNWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).
body - AWS Log Lambda Async request body. (required)public Object deleteAWSLambdaARN(AWSAccountAndLambdaRequest body) throws ApiException
See deleteAWSLambdaARNWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).
body - Delete AWS Lambda ARN request body. (required)ApiException - if fails to make API callpublic CompletableFuture<Object> deleteAWSLambdaARNAsync(AWSAccountAndLambdaRequest body)
See deleteAWSLambdaARNWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).
body - Delete AWS Lambda ARN request body. (required)public ApiResponse<Object> deleteAWSLambdaARNWithHttpInfo(AWSAccountAndLambdaRequest body) throws ApiException
body - Delete AWS Lambda ARN request body. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication Error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Object>> deleteAWSLambdaARNWithHttpInfoAsync(AWSAccountAndLambdaRequest body)
See deleteAWSLambdaARNWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountAndLambdaRequest).
body - Delete AWS Lambda ARN request body. (required)public Object enableAWSLogServices(AWSLogsServicesRequest body) throws ApiException
See enableAWSLogServicesWithHttpInfo(com.datadog.api.client.v1.model.AWSLogsServicesRequest).
body - Enable AWS Log Services request body. (required)ApiException - if fails to make API callpublic CompletableFuture<Object> enableAWSLogServicesAsync(AWSLogsServicesRequest body)
See enableAWSLogServicesWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSLogsServicesRequest).
body - Enable AWS Log Services request body. (required)public ApiResponse<Object> enableAWSLogServicesWithHttpInfo(AWSLogsServicesRequest body) throws ApiException
CreateAWSLambdaARN to save the configuration.body - Enable AWS Log Services request body. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication Error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Object>> enableAWSLogServicesWithHttpInfoAsync(AWSLogsServicesRequest body)
See enableAWSLogServicesWithHttpInfo(com.datadog.api.client.v1.model.AWSLogsServicesRequest).
body - Enable AWS Log Services request body. (required)public List<AWSLogsListResponse> listAWSLogsIntegrations() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<List<AWSLogsListResponse>> listAWSLogsIntegrationsAsync()
public ApiResponse<List<AWSLogsListResponse>> listAWSLogsIntegrationsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication Error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<List<AWSLogsListResponse>>> listAWSLogsIntegrationsWithHttpInfoAsync()
public List<AWSLogsListServicesResponse> listAWSLogsServices() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<List<AWSLogsListServicesResponse>> listAWSLogsServicesAsync()
public ApiResponse<List<AWSLogsListServicesResponse>> listAWSLogsServicesWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 403 | Authentication Error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<List<AWSLogsListServicesResponse>>> listAWSLogsServicesWithHttpInfoAsync()
Copyright © 2024. All rights reserved.