@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class AwsIntegrationApi extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AwsIntegrationApi.ListAWSAccountsOptionalParameters
Manage optional parameters to listAWSAccounts.
|
static class |
AwsIntegrationApi.UpdateAWSAccountOptionalParameters
Manage optional parameters to updateAWSAccount.
|
| Constructor and Description |
|---|
AwsIntegrationApi() |
AwsIntegrationApi(ApiClient apiClient) |
public AwsIntegrationApi()
public AwsIntegrationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
apiClient - an instance of API clientpublic AWSAccountCreateResponse createAWSAccount(AWSAccount body) throws ApiException
See createAWSAccountWithHttpInfo(com.datadog.api.client.v1.model.AWSAccount).
body - AWS Request Object (required)ApiException - if fails to make API callpublic CompletableFuture<AWSAccountCreateResponse> createAWSAccountAsync(AWSAccount body)
See createAWSAccountWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSAccount).
body - AWS Request Object (required)public ApiResponse<AWSAccountCreateResponse> createAWSAccountWithHttpInfo(AWSAccount body) throws ApiException
POST method updates
your integration configuration by adding your new configuration to the existing one in your
Datadog organization. A unique AWS Account ID for role based authentication.body - AWS Request Object (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication Error | - |
| 409 | Conflict Error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSAccountCreateResponse>> createAWSAccountWithHttpInfoAsync(AWSAccount body)
See createAWSAccountWithHttpInfo(com.datadog.api.client.v1.model.AWSAccount).
body - AWS Request Object (required)public AWSEventBridgeCreateResponse createAWSEventBridgeSource(AWSEventBridgeCreateRequest body) throws ApiException
See createAWSEventBridgeSourceWithHttpInfo(com.datadog.api.client.v1.model.AWSEventBridgeCreateRequest).
body - Create an Amazon EventBridge source for an AWS account with a given name and
region. (required)ApiException - if fails to make API callpublic CompletableFuture<AWSEventBridgeCreateResponse> createAWSEventBridgeSourceAsync(AWSEventBridgeCreateRequest body)
body - Create an Amazon EventBridge source for an AWS account with a given name and
region. (required)public ApiResponse<AWSEventBridgeCreateResponse> createAWSEventBridgeSourceWithHttpInfo(AWSEventBridgeCreateRequest body) throws ApiException
body - Create an Amazon EventBridge source for an AWS account with a given name and
region. (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<AWSEventBridgeCreateResponse>> createAWSEventBridgeSourceWithHttpInfoAsync(AWSEventBridgeCreateRequest body)
See createAWSEventBridgeSourceWithHttpInfo(com.datadog.api.client.v1.model.AWSEventBridgeCreateRequest).
body - Create an Amazon EventBridge source for an AWS account with a given name and
region. (required)public Object createAWSTagFilter(AWSTagFilterCreateRequest body) throws ApiException
See createAWSTagFilterWithHttpInfo(com.datadog.api.client.v1.model.AWSTagFilterCreateRequest).
body - Set an AWS tag filter using an aws_account_identifier, namespace
, and filtering string. Namespace options are application_elb,
elb, lambda, network_elb, rds, sqs
, and custom. (required)ApiException - if fails to make API callpublic CompletableFuture<Object> createAWSTagFilterAsync(AWSTagFilterCreateRequest body)
See createAWSTagFilterWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSTagFilterCreateRequest).
body - Set an AWS tag filter using an aws_account_identifier, namespace
, and filtering string. Namespace options are application_elb,
elb, lambda, network_elb, rds, sqs
, and custom. (required)public ApiResponse<Object> createAWSTagFilterWithHttpInfo(AWSTagFilterCreateRequest body) throws ApiException
body - Set an AWS tag filter using an aws_account_identifier, namespace
, and filtering string. Namespace options are application_elb,
elb, lambda, network_elb, rds, sqs
, and custom. (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>> createAWSTagFilterWithHttpInfoAsync(AWSTagFilterCreateRequest body)
See createAWSTagFilterWithHttpInfo(com.datadog.api.client.v1.model.AWSTagFilterCreateRequest).
body - Set an AWS tag filter using an aws_account_identifier, namespace
, and filtering string. Namespace options are application_elb,
elb, lambda, network_elb, rds, sqs
, and custom. (required)public AWSAccountCreateResponse createNewAWSExternalID(AWSAccount body) throws ApiException
See createNewAWSExternalIDWithHttpInfo(com.datadog.api.client.v1.model.AWSAccount).
body - Your Datadog role delegation name. For more information about your AWS account Role
name, see the Datadog AWS
integration configuration info. (required)ApiException - if fails to make API callpublic CompletableFuture<AWSAccountCreateResponse> createNewAWSExternalIDAsync(AWSAccount body)
See createNewAWSExternalIDWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSAccount).
body - Your Datadog role delegation name. For more information about your AWS account Role
name, see the Datadog AWS
integration configuration info. (required)public ApiResponse<AWSAccountCreateResponse> createNewAWSExternalIDWithHttpInfo(AWSAccount body) throws ApiException
body - Your Datadog role delegation name. For more information about your AWS account Role
name, see the Datadog AWS
integration configuration info. (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<AWSAccountCreateResponse>> createNewAWSExternalIDWithHttpInfoAsync(AWSAccount body)
See createNewAWSExternalIDWithHttpInfo(com.datadog.api.client.v1.model.AWSAccount).
body - Your Datadog role delegation name. For more information about your AWS account Role
name, see the Datadog AWS
integration configuration info. (required)public Object deleteAWSAccount(AWSAccountDeleteRequest body) throws ApiException
See deleteAWSAccountWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountDeleteRequest).
body - AWS request object (required)ApiException - if fails to make API callpublic CompletableFuture<Object> deleteAWSAccountAsync(AWSAccountDeleteRequest body)
See deleteAWSAccountWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSAccountDeleteRequest).
body - AWS request object (required)public ApiResponse<Object> deleteAWSAccountWithHttpInfo(AWSAccountDeleteRequest body) throws ApiException
account_id and
role_name parameters.body - AWS request object (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication Error | - |
| 409 | Conflict Error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Object>> deleteAWSAccountWithHttpInfoAsync(AWSAccountDeleteRequest body)
See deleteAWSAccountWithHttpInfo(com.datadog.api.client.v1.model.AWSAccountDeleteRequest).
body - AWS request object (required)public AWSEventBridgeDeleteResponse deleteAWSEventBridgeSource(AWSEventBridgeDeleteRequest body) throws ApiException
See deleteAWSEventBridgeSourceWithHttpInfo(com.datadog.api.client.v1.model.AWSEventBridgeDeleteRequest).
body - Delete the Amazon EventBridge source with the given name, region, and associated
AWS account. (required)ApiException - if fails to make API callpublic CompletableFuture<AWSEventBridgeDeleteResponse> deleteAWSEventBridgeSourceAsync(AWSEventBridgeDeleteRequest body)
body - Delete the Amazon EventBridge source with the given name, region, and associated
AWS account. (required)public ApiResponse<AWSEventBridgeDeleteResponse> deleteAWSEventBridgeSourceWithHttpInfo(AWSEventBridgeDeleteRequest body) throws ApiException
body - Delete the Amazon EventBridge source with the given name, region, and associated
AWS account. (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<AWSEventBridgeDeleteResponse>> deleteAWSEventBridgeSourceWithHttpInfoAsync(AWSEventBridgeDeleteRequest body)
See deleteAWSEventBridgeSourceWithHttpInfo(com.datadog.api.client.v1.model.AWSEventBridgeDeleteRequest).
body - Delete the Amazon EventBridge source with the given name, region, and associated
AWS account. (required)public Object deleteAWSTagFilter(AWSTagFilterDeleteRequest body) throws ApiException
See deleteAWSTagFilterWithHttpInfo(com.datadog.api.client.v1.model.AWSTagFilterDeleteRequest).
body - Delete a tag filtering entry for a given AWS account and dd-aws
namespace. (required)ApiException - if fails to make API callpublic CompletableFuture<Object> deleteAWSTagFilterAsync(AWSTagFilterDeleteRequest body)
See deleteAWSTagFilterWithHttpInfoAsync(com.datadog.api.client.v1.model.AWSTagFilterDeleteRequest).
body - Delete a tag filtering entry for a given AWS account and dd-aws
namespace. (required)public ApiResponse<Object> deleteAWSTagFilterWithHttpInfo(AWSTagFilterDeleteRequest body) throws ApiException
body - Delete a tag filtering entry for a given AWS account and dd-aws
namespace. (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>> deleteAWSTagFilterWithHttpInfoAsync(AWSTagFilterDeleteRequest body)
See deleteAWSTagFilterWithHttpInfo(com.datadog.api.client.v1.model.AWSTagFilterDeleteRequest).
body - Delete a tag filtering entry for a given AWS account and dd-aws
namespace. (required)public List<String> listAvailableAWSNamespaces() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<List<String>> listAvailableAWSNamespacesAsync()
public ApiResponse<List<String>> listAvailableAWSNamespacesWithHttpInfo() 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<String>>> listAvailableAWSNamespacesWithHttpInfoAsync()
public AWSAccountListResponse listAWSAccounts() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<AWSAccountListResponse> listAWSAccountsAsync()
public AWSAccountListResponse listAWSAccounts(AwsIntegrationApi.ListAWSAccountsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<AWSAccountListResponse> listAWSAccountsAsync(AwsIntegrationApi.ListAWSAccountsOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<AWSAccountListResponse> listAWSAccountsWithHttpInfo(AwsIntegrationApi.ListAWSAccountsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.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<AWSAccountListResponse>> listAWSAccountsWithHttpInfoAsync(AwsIntegrationApi.ListAWSAccountsOptionalParameters parameters)
parameters - Optional parameters for the request.public AWSEventBridgeListResponse listAWSEventBridgeSources() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<AWSEventBridgeListResponse> listAWSEventBridgeSourcesAsync()
public ApiResponse<AWSEventBridgeListResponse> listAWSEventBridgeSourcesWithHttpInfo() 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<AWSEventBridgeListResponse>> listAWSEventBridgeSourcesWithHttpInfoAsync()
public AWSTagFilterListResponse listAWSTagFilters(String accountId) throws ApiException
accountId - Only return AWS filters that matches this account_id. (required)ApiException - if fails to make API callpublic CompletableFuture<AWSTagFilterListResponse> listAWSTagFiltersAsync(String accountId)
accountId - Only return AWS filters that matches this account_id. (required)public ApiResponse<AWSTagFilterListResponse> listAWSTagFiltersWithHttpInfo(String accountId) throws ApiException
accountId - Only return AWS filters that matches this account_id. (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<AWSTagFilterListResponse>> listAWSTagFiltersWithHttpInfoAsync(String accountId)
accountId - Only return AWS filters that matches this account_id. (required)public Object updateAWSAccount(AWSAccount body) throws ApiException
body - AWS request object (required)ApiException - if fails to make API callpublic CompletableFuture<Object> updateAWSAccountAsync(AWSAccount body)
body - AWS request object (required)public Object updateAWSAccount(AWSAccount body, AwsIntegrationApi.UpdateAWSAccountOptionalParameters parameters) throws ApiException
body - AWS request object (required)parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<Object> updateAWSAccountAsync(AWSAccount body, AwsIntegrationApi.UpdateAWSAccountOptionalParameters parameters)
body - AWS request object (required)parameters - Optional parameters for the request.public ApiResponse<Object> updateAWSAccountWithHttpInfo(AWSAccount body, AwsIntegrationApi.UpdateAWSAccountOptionalParameters parameters) throws ApiException
body - AWS request object (required)parameters - Optional parameters for the request.ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | OK | - |
| 400 | Bad Request | - |
| 403 | Authentication Error | - |
| 409 | Conflict Error | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Object>> updateAWSAccountWithHttpInfoAsync(AWSAccount body, AwsIntegrationApi.UpdateAWSAccountOptionalParameters parameters)
body - AWS request object (required)parameters - Optional parameters for the request.Copyright © 2024. All rights reserved.