@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.
|
| 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 AWSAccountResponse createAWSAccount(AWSAccountCreateRequest body) throws ApiException
See createAWSAccountWithHttpInfo(com.datadog.api.client.v2.model.AWSAccountCreateRequest).
body - (required)ApiException - if fails to make API callpublic CompletableFuture<AWSAccountResponse> createAWSAccountAsync(AWSAccountCreateRequest body)
See createAWSAccountWithHttpInfoAsync(com.datadog.api.client.v2.model.AWSAccountCreateRequest).
body - (required)public ApiResponse<AWSAccountResponse> createAWSAccountWithHttpInfo(AWSAccountCreateRequest body) throws ApiException
body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | AWS Account object | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSAccountResponse>> createAWSAccountWithHttpInfoAsync(AWSAccountCreateRequest body)
See createAWSAccountWithHttpInfo(com.datadog.api.client.v2.model.AWSAccountCreateRequest).
body - (required)public AWSCcmConfigResponse createAWSAccountCCMConfig(String awsAccountConfigId, AWSCcmConfigRequest body) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)body - Create a Cloud Cost Management config for an AWS Account Integration Config.
(required)ApiException - if fails to make API callpublic CompletableFuture<AWSCcmConfigResponse> createAWSAccountCCMConfigAsync(String awsAccountConfigId, AWSCcmConfigRequest body)
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)body - Create a Cloud Cost Management config for an AWS Account Integration Config.
(required)public ApiResponse<AWSCcmConfigResponse> createAWSAccountCCMConfigWithHttpInfo(String awsAccountConfigId, AWSCcmConfigRequest body) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)body - Create a Cloud Cost Management config for an AWS Account Integration Config.
(required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | AWS CCM Config object | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSCcmConfigResponse>> createAWSAccountCCMConfigWithHttpInfoAsync(String awsAccountConfigId, AWSCcmConfigRequest body)
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)body - Create a Cloud Cost Management config for an AWS Account Integration Config.
(required)public AWSEventBridgeCreateResponse createAWSEventBridgeSource(AWSEventBridgeCreateRequest body) throws ApiException
See createAWSEventBridgeSourceWithHttpInfo(com.datadog.api.client.v2.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 | Amazon EventBridge source created. | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 409 | Conflict | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSEventBridgeCreateResponse>> createAWSEventBridgeSourceWithHttpInfoAsync(AWSEventBridgeCreateRequest body)
See createAWSEventBridgeSourceWithHttpInfo(com.datadog.api.client.v2.model.AWSEventBridgeCreateRequest).
body - Create an Amazon EventBridge source for an AWS account with a given name and
region. (required)public AWSNewExternalIDResponse createNewAWSExternalID() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<AWSNewExternalIDResponse> createNewAWSExternalIDAsync()
public ApiResponse<AWSNewExternalIDResponse> createNewAWSExternalIDWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | AWS External ID object | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSNewExternalIDResponse>> createNewAWSExternalIDWithHttpInfoAsync()
public void deleteAWSAccount(String awsAccountConfigId) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteAWSAccountAsync(String awsAccountConfigId)
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)public ApiResponse<Void> deleteAWSAccountWithHttpInfo(String awsAccountConfigId) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteAWSAccountWithHttpInfoAsync(String awsAccountConfigId)
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)public void deleteAWSAccountCCMConfig(String awsAccountConfigId) throws ApiException
See deleteAWSAccountCCMConfigWithHttpInfo(java.lang.String).
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)ApiException - if fails to make API callpublic CompletableFuture<Void> deleteAWSAccountCCMConfigAsync(String awsAccountConfigId)
See deleteAWSAccountCCMConfigWithHttpInfoAsync(java.lang.String).
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)public ApiResponse<Void> deleteAWSAccountCCMConfigWithHttpInfo(String awsAccountConfigId) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 204 | No Content | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<Void>> deleteAWSAccountCCMConfigWithHttpInfoAsync(String awsAccountConfigId)
See deleteAWSAccountCCMConfigWithHttpInfo(java.lang.String).
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)public AWSEventBridgeDeleteResponse deleteAWSEventBridgeSource(AWSEventBridgeDeleteRequest body) throws ApiException
See deleteAWSEventBridgeSourceWithHttpInfo(com.datadog.api.client.v2.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 | Amazon EventBridge source deleted. | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSEventBridgeDeleteResponse>> deleteAWSEventBridgeSourceWithHttpInfoAsync(AWSEventBridgeDeleteRequest body)
See deleteAWSEventBridgeSourceWithHttpInfo(com.datadog.api.client.v2.model.AWSEventBridgeDeleteRequest).
body - Delete the Amazon EventBridge source with the given name, region, and associated
AWS account. (required)public AWSAccountResponse getAWSAccount(String awsAccountConfigId) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)ApiException - if fails to make API callpublic CompletableFuture<AWSAccountResponse> getAWSAccountAsync(String awsAccountConfigId)
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)public ApiResponse<AWSAccountResponse> getAWSAccountWithHttpInfo(String awsAccountConfigId) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | AWS Account object | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSAccountResponse>> getAWSAccountWithHttpInfoAsync(String awsAccountConfigId)
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)public AWSCcmConfigResponse getAWSAccountCCMConfig(String awsAccountConfigId) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)ApiException - if fails to make API callpublic CompletableFuture<AWSCcmConfigResponse> getAWSAccountCCMConfigAsync(String awsAccountConfigId)
See getAWSAccountCCMConfigWithHttpInfoAsync(java.lang.String).
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)public ApiResponse<AWSCcmConfigResponse> getAWSAccountCCMConfigWithHttpInfo(String awsAccountConfigId) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | AWS CCM Config object | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSCcmConfigResponse>> getAWSAccountCCMConfigWithHttpInfoAsync(String awsAccountConfigId)
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)public AWSIntegrationIamPermissionsResponse getAWSIntegrationIAMPermissions() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<AWSIntegrationIamPermissionsResponse> getAWSIntegrationIAMPermissionsAsync()
public ApiResponse<AWSIntegrationIamPermissionsResponse> getAWSIntegrationIAMPermissionsWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | AWS IAM Permissions object | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSIntegrationIamPermissionsResponse>> getAWSIntegrationIAMPermissionsWithHttpInfoAsync()
public AWSIntegrationIamPermissionsResponse getAWSIntegrationIAMPermissionsResourceCollection() throws ApiException
See getAWSIntegrationIAMPermissionsResourceCollectionWithHttpInfo().
ApiException - if fails to make API callpublic CompletableFuture<AWSIntegrationIamPermissionsResponse> getAWSIntegrationIAMPermissionsResourceCollectionAsync()
See getAWSIntegrationIAMPermissionsResourceCollectionWithHttpInfoAsync().
public ApiResponse<AWSIntegrationIamPermissionsResponse> getAWSIntegrationIAMPermissionsResourceCollectionWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | AWS integration resource collection IAM permissions. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSIntegrationIamPermissionsResponse>> getAWSIntegrationIAMPermissionsResourceCollectionWithHttpInfoAsync()
See getAWSIntegrationIAMPermissionsResourceCollectionWithHttpInfo().
public AWSIntegrationIamPermissionsResponse getAWSIntegrationIAMPermissionsStandard() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<AWSIntegrationIamPermissionsResponse> getAWSIntegrationIAMPermissionsStandardAsync()
See getAWSIntegrationIAMPermissionsStandardWithHttpInfoAsync().
public ApiResponse<AWSIntegrationIamPermissionsResponse> getAWSIntegrationIAMPermissionsStandardWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | AWS integration standard IAM permissions. | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSIntegrationIamPermissionsResponse>> getAWSIntegrationIAMPermissionsStandardWithHttpInfoAsync()
public AWSAccountsResponse listAWSAccounts() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<AWSAccountsResponse> listAWSAccountsAsync()
public AWSAccountsResponse listAWSAccounts(AwsIntegrationApi.ListAWSAccountsOptionalParameters parameters) throws ApiException
parameters - Optional parameters for the request.ApiException - if fails to make API callpublic CompletableFuture<AWSAccountsResponse> listAWSAccountsAsync(AwsIntegrationApi.ListAWSAccountsOptionalParameters parameters)
parameters - Optional parameters for the request.public ApiResponse<AWSAccountsResponse> 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 | AWS Accounts List object | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSAccountsResponse>> 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 | Amazon EventBridge sources list. | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSEventBridgeListResponse>> listAWSEventBridgeSourcesWithHttpInfoAsync()
public AWSNamespacesResponse listAWSNamespaces() throws ApiException
ApiException - if fails to make API callpublic CompletableFuture<AWSNamespacesResponse> listAWSNamespacesAsync()
public ApiResponse<AWSNamespacesResponse> listAWSNamespacesWithHttpInfo() throws ApiException
ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | AWS Namespaces List object | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSNamespacesResponse>> listAWSNamespacesWithHttpInfoAsync()
public AWSAccountResponse updateAWSAccount(String awsAccountConfigId, AWSAccountUpdateRequest body) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)body - (required)ApiException - if fails to make API callpublic CompletableFuture<AWSAccountResponse> updateAWSAccountAsync(String awsAccountConfigId, AWSAccountUpdateRequest body)
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)body - (required)public ApiResponse<AWSAccountResponse> updateAWSAccountWithHttpInfo(String awsAccountConfigId, AWSAccountUpdateRequest body) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)body - (required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | AWS Account object | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSAccountResponse>> updateAWSAccountWithHttpInfoAsync(String awsAccountConfigId, AWSAccountUpdateRequest body)
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)body - (required)public AWSCcmConfigResponse updateAWSAccountCCMConfig(String awsAccountConfigId, AWSCcmConfigRequest body) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)body - Update a Cloud Cost Management config for an AWS Account Integration Config.
(required)ApiException - if fails to make API callpublic CompletableFuture<AWSCcmConfigResponse> updateAWSAccountCCMConfigAsync(String awsAccountConfigId, AWSCcmConfigRequest body)
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)body - Update a Cloud Cost Management config for an AWS Account Integration Config.
(required)public ApiResponse<AWSCcmConfigResponse> updateAWSAccountCCMConfigWithHttpInfo(String awsAccountConfigId, AWSCcmConfigRequest body) throws ApiException
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)body - Update a Cloud Cost Management config for an AWS Account Integration Config.
(required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | AWS CCM Config object | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 429 | Too many requests | - |
public CompletableFuture<ApiResponse<AWSCcmConfigResponse>> updateAWSAccountCCMConfigWithHttpInfoAsync(String awsAccountConfigId, AWSCcmConfigRequest body)
awsAccountConfigId - Unique Datadog ID of the AWS Account Integration Config. To get the
config ID for an account, use the List
all AWS integrations endpoint and query by AWS Account ID. (required)body - Update a Cloud Cost Management config for an AWS Account Integration Config.
(required)public AWSCcmConfigValidationResponse validateAWSCCMConfig(AWSCcmConfigValidationRequest body) throws ApiException
See validateAWSCCMConfigWithHttpInfo(com.datadog.api.client.v2.model.AWSCcmConfigValidationRequest).
body - Validate a Cloud Cost Management config for an AWS account integration config.
(required)ApiException - if fails to make API callpublic CompletableFuture<AWSCcmConfigValidationResponse> validateAWSCCMConfigAsync(AWSCcmConfigValidationRequest body)
See validateAWSCCMConfigWithHttpInfoAsync(com.datadog.api.client.v2.model.AWSCcmConfigValidationRequest).
body - Validate a Cloud Cost Management config for an AWS account integration config.
(required)public ApiResponse<AWSCcmConfigValidationResponse> validateAWSCCMConfigWithHttpInfo(AWSCcmConfigValidationRequest body) throws ApiException
body - Validate a Cloud Cost Management config for an AWS account integration config.
(required)ApiException - if fails to make API call| Status Code | Description | Response Headers |
| 200 | AWS CCM Config validation result | - |
| 400 | Bad Request | - |
| 403 | Forbidden | - |
| 429 | Too many requests | - |
| 503 | Service Unavailable | - |
public CompletableFuture<ApiResponse<AWSCcmConfigValidationResponse>> validateAWSCCMConfigWithHttpInfoAsync(AWSCcmConfigValidationRequest body)
See validateAWSCCMConfigWithHttpInfo(com.datadog.api.client.v2.model.AWSCcmConfigValidationRequest).
body - Validate a Cloud Cost Management config for an AWS account integration config.
(required)Copyright © 2026. All rights reserved.