Class AwsIntegrationApi
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classManage optional parameters to listAWSAccounts. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate an AWS integration.Create an AWS integration.createAWSAccountCCMConfig(String awsAccountConfigId, AWSCcmConfigRequest body) Create AWS CCM config.createAWSAccountCCMConfigAsync(String awsAccountConfigId, AWSCcmConfigRequest body) Create AWS CCM config.createAWSAccountCCMConfigWithHttpInfo(String awsAccountConfigId, AWSCcmConfigRequest body) Create the Cloud Cost Management config for an AWS Account Integration Config using Cost and Usage Report (CUR) 2.0 by config ID.createAWSAccountCCMConfigWithHttpInfoAsync(String awsAccountConfigId, AWSCcmConfigRequest body) Create AWS CCM config.Create a new AWS Account Integration Config.Create an AWS integration.Create an Amazon EventBridge source.Create an Amazon EventBridge source.Create an Amazon EventBridge source.Create an Amazon EventBridge source.Generate a new external ID.Generate a new external ID.Generate a new external ID for AWS role-based authentication.Generate a new external ID.voiddeleteAWSAccount(String awsAccountConfigId) Delete an AWS integration.deleteAWSAccountAsync(String awsAccountConfigId) Delete an AWS integration.voiddeleteAWSAccountCCMConfig(String awsAccountConfigId) Delete AWS CCM config.deleteAWSAccountCCMConfigAsync(String awsAccountConfigId) Delete AWS CCM config.deleteAWSAccountCCMConfigWithHttpInfo(String awsAccountConfigId) Delete the Cloud Cost Management config for an AWS Account Integration Config using Cost and Usage Report (CUR) 2.0 by config ID.deleteAWSAccountCCMConfigWithHttpInfoAsync(String awsAccountConfigId) Delete AWS CCM config.deleteAWSAccountWithHttpInfo(String awsAccountConfigId) Delete an AWS Account Integration Config by config ID.deleteAWSAccountWithHttpInfoAsync(String awsAccountConfigId) Delete an AWS integration.Delete an Amazon EventBridge source.Delete an Amazon EventBridge source.Delete an Amazon EventBridge source.Delete an Amazon EventBridge source.Get the API client.getAWSAccount(String awsAccountConfigId) Get an AWS integration by config ID.getAWSAccountAsync(String awsAccountConfigId) Get an AWS integration by config ID.getAWSAccountCCMConfig(String awsAccountConfigId) Get AWS CCM config.getAWSAccountCCMConfigAsync(String awsAccountConfigId) Get AWS CCM config.getAWSAccountCCMConfigWithHttpInfo(String awsAccountConfigId) Get the Cloud Cost Management config for an AWS Account Integration Config using Cost and Usage Report (CUR) 2.0 by config ID.getAWSAccountCCMConfigWithHttpInfoAsync(String awsAccountConfigId) Get AWS CCM config.getAWSAccountWithHttpInfo(String awsAccountConfigId) Get an AWS Account Integration Config by config ID.getAWSAccountWithHttpInfoAsync(String awsAccountConfigId) Get an AWS integration by config ID.Get AWS integration IAM permissions.Get AWS integration IAM permissions.Get resource collection IAM permissions.Get resource collection IAM permissions.Get all resource collection AWS IAM permissions required for the AWS integration.Get resource collection IAM permissions.Get AWS integration standard IAM permissions.Get AWS integration standard IAM permissions.Get all standard AWS IAM permissions required for the AWS integration.Get AWS integration standard IAM permissions.Get all AWS IAM permissions required for the AWS integration.Get AWS integration IAM permissions.getAWSMetricNameFilterPreview(String awsAccountConfigId) Get AWS metric name filter preview.getAWSMetricNameFilterPreviewAsync(String awsAccountConfigId) Get AWS metric name filter preview.getAWSMetricNameFilterPreviewWithHttpInfo(String awsAccountConfigId) Preview which collected CloudWatch metrics would be filtered by the account's saved metric name filters.getAWSMetricNameFilterPreviewWithHttpInfoAsync(String awsAccountConfigId) Get AWS metric name filter preview.List all AWS integrations.List all AWS integrations.List all AWS integrations.List all AWS integrations.Get a list of AWS Account Integration Configs.List all AWS integrations.Get all Amazon EventBridge sources.Get all Amazon EventBridge sources.Get all Amazon EventBridge sources.Get all Amazon EventBridge sources.List available namespaces.List available namespaces.Get a list of available AWS CloudWatch namespaces that can send metrics to Datadog.List available namespaces.previewAWSMetricNameFilter(String awsAccountConfigId, AWSMetricNameFilterPreviewRequest body) Preview AWS metric name filter.previewAWSMetricNameFilterAsync(String awsAccountConfigId, AWSMetricNameFilterPreviewRequest body) Preview AWS metric name filter.previewAWSMetricNameFilterWithHttpInfo(String awsAccountConfigId, AWSMetricNameFilterPreviewRequest body) Preview which collected CloudWatch metrics would be filtered by the supplied metric name filters.previewAWSMetricNameFilterWithHttpInfoAsync(String awsAccountConfigId, AWSMetricNameFilterPreviewRequest body) Preview AWS metric name filter.voidsetApiClient(ApiClient apiClient) Set the API client.updateAWSAccount(String awsAccountConfigId, AWSAccountUpdateRequest body) Update an AWS integration.updateAWSAccountAsync(String awsAccountConfigId, AWSAccountUpdateRequest body) Update an AWS integration.updateAWSAccountCCMConfig(String awsAccountConfigId, AWSCcmConfigRequest body) Update AWS CCM config.updateAWSAccountCCMConfigAsync(String awsAccountConfigId, AWSCcmConfigRequest body) Update AWS CCM config.updateAWSAccountCCMConfigWithHttpInfo(String awsAccountConfigId, AWSCcmConfigRequest body) Update the Cloud Cost Management config for an AWS Account Integration Config using Cost and Usage Report (CUR) 2.0 by config ID.updateAWSAccountCCMConfigWithHttpInfoAsync(String awsAccountConfigId, AWSCcmConfigRequest body) Update AWS CCM config.updateAWSAccountWithHttpInfo(String awsAccountConfigId, AWSAccountUpdateRequest body) Update an AWS Account Integration Config by config ID.updateAWSAccountWithHttpInfoAsync(String awsAccountConfigId, AWSAccountUpdateRequest body) Update an AWS integration.Validate AWS CCM config.Validate AWS CCM config.Validate a Cloud Cost Management config for an AWS account using Cost and Usage Report (CUR) 2.0 against Datadog's ingest requirements without persisting it.Validate AWS CCM config.
-
Constructor Details
-
AwsIntegrationApi
public AwsIntegrationApi() -
AwsIntegrationApi
-
-
Method Details
-
getApiClient
Get the API client.- Returns:
- API client
-
setApiClient
Set the API client.- Parameters:
apiClient- an instance of API client
-
createAWSAccount
Create an AWS integration.See
createAWSAccountWithHttpInfo(com.datadog.api.client.v2.model.AWSAccountCreateRequest).- Parameters:
body- (required)- Returns:
- AWSAccountResponse
- Throws:
ApiException- if fails to make API call
-
createAWSAccountAsync
Create an AWS integration.See
createAWSAccountWithHttpInfoAsync(com.datadog.api.client.v2.model.AWSAccountCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<AWSAccountResponse>
-
createAWSAccountWithHttpInfo
public ApiResponse<AWSAccountResponse> createAWSAccountWithHttpInfo(AWSAccountCreateRequest body) throws ApiException Create a new AWS Account Integration Config.- Parameters:
body- (required)- Returns:
- ApiResponse<AWSAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS Account object - 400 Bad Request - 403 Forbidden - 409 Conflict - 429 Too many requests -
-
createAWSAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSAccountResponse>> createAWSAccountWithHttpInfoAsync(AWSAccountCreateRequest body) Create an AWS integration.See
createAWSAccountWithHttpInfo(com.datadog.api.client.v2.model.AWSAccountCreateRequest).- Parameters:
body- (required)- Returns:
- CompletableFuture<ApiResponse<AWSAccountResponse>>
-
createAWSAccountCCMConfig
public AWSCcmConfigResponse createAWSAccountCCMConfig(String awsAccountConfigId, AWSCcmConfigRequest body) throws ApiException Create AWS CCM config.- Parameters:
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)- Returns:
- AWSCcmConfigResponse
- Throws:
ApiException- if fails to make API call
-
createAWSAccountCCMConfigAsync
public CompletableFuture<AWSCcmConfigResponse> createAWSAccountCCMConfigAsync(String awsAccountConfigId, AWSCcmConfigRequest body) Create AWS CCM config.- Parameters:
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)- Returns:
- CompletableFuture<AWSCcmConfigResponse>
-
createAWSAccountCCMConfigWithHttpInfo
public ApiResponse<AWSCcmConfigResponse> createAWSAccountCCMConfigWithHttpInfo(String awsAccountConfigId, AWSCcmConfigRequest body) throws ApiException Create the Cloud Cost Management config for an AWS Account Integration Config using Cost and Usage Report (CUR) 2.0 by config ID.- Parameters:
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)- Returns:
- ApiResponse<AWSCcmConfigResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS CCM Config object - 403 Forbidden - 404 Not Found - 409 Conflict - 429 Too many requests -
-
createAWSAccountCCMConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSCcmConfigResponse>> createAWSAccountCCMConfigWithHttpInfoAsync(String awsAccountConfigId, AWSCcmConfigRequest body) Create AWS CCM config.- Parameters:
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)- Returns:
- CompletableFuture<ApiResponse<AWSCcmConfigResponse>>
-
createAWSEventBridgeSource
public AWSEventBridgeCreateResponse createAWSEventBridgeSource(AWSEventBridgeCreateRequest body) throws ApiException Create an Amazon EventBridge source.See
createAWSEventBridgeSourceWithHttpInfo(com.datadog.api.client.v2.model.AWSEventBridgeCreateRequest).- Parameters:
body- Create an Amazon EventBridge source for an AWS account with a given name and region. (required)- Returns:
- AWSEventBridgeCreateResponse
- Throws:
ApiException- if fails to make API call
-
createAWSEventBridgeSourceAsync
public CompletableFuture<AWSEventBridgeCreateResponse> createAWSEventBridgeSourceAsync(AWSEventBridgeCreateRequest body) Create an Amazon EventBridge source.- Parameters:
body- Create an Amazon EventBridge source for an AWS account with a given name and region. (required)- Returns:
- CompletableFuture<AWSEventBridgeCreateResponse>
-
createAWSEventBridgeSourceWithHttpInfo
public ApiResponse<AWSEventBridgeCreateResponse> createAWSEventBridgeSourceWithHttpInfo(AWSEventBridgeCreateRequest body) throws ApiException Create an Amazon EventBridge source.- Parameters:
body- Create an Amazon EventBridge source for an AWS account with a given name and region. (required)- Returns:
- ApiResponse<AWSEventBridgeCreateResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 Amazon EventBridge source created. - 400 Bad Request - 403 Forbidden - 409 Conflict - 429 Too many requests -
-
createAWSEventBridgeSourceWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSEventBridgeCreateResponse>> createAWSEventBridgeSourceWithHttpInfoAsync(AWSEventBridgeCreateRequest body) Create an Amazon EventBridge source.See
createAWSEventBridgeSourceWithHttpInfo(com.datadog.api.client.v2.model.AWSEventBridgeCreateRequest).- Parameters:
body- Create an Amazon EventBridge source for an AWS account with a given name and region. (required)- Returns:
- CompletableFuture<ApiResponse<AWSEventBridgeCreateResponse>>
-
createNewAWSExternalID
Generate a new external ID.- Returns:
- AWSNewExternalIDResponse
- Throws:
ApiException- if fails to make API call
-
createNewAWSExternalIDAsync
Generate a new external ID.- Returns:
- CompletableFuture<AWSNewExternalIDResponse>
-
createNewAWSExternalIDWithHttpInfo
public ApiResponse<AWSNewExternalIDResponse> createNewAWSExternalIDWithHttpInfo() throws ApiExceptionGenerate a new external ID for AWS role-based authentication.- Returns:
- ApiResponse<AWSNewExternalIDResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS External ID object - 403 Forbidden - 429 Too many requests -
-
createNewAWSExternalIDWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSNewExternalIDResponse>> createNewAWSExternalIDWithHttpInfoAsync()Generate a new external ID.- Returns:
- CompletableFuture<ApiResponse<AWSNewExternalIDResponse>>
-
deleteAWSAccount
Delete an AWS integration.- Parameters:
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)- Throws:
ApiException- if fails to make API call
-
deleteAWSAccountAsync
Delete an AWS integration.- Parameters:
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)- Returns:
- CompletableFuture
-
deleteAWSAccountWithHttpInfo
public ApiResponse<Void> deleteAWSAccountWithHttpInfo(String awsAccountConfigId) throws ApiException Delete an AWS Account Integration Config by config ID.- Parameters:
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)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteAWSAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteAWSAccountWithHttpInfoAsync(String awsAccountConfigId) Delete an AWS integration.- Parameters:
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)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteAWSAccountCCMConfig
Delete AWS CCM config.See
deleteAWSAccountCCMConfigWithHttpInfo(java.lang.String).- Parameters:
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)- Throws:
ApiException- if fails to make API call
-
deleteAWSAccountCCMConfigAsync
Delete AWS CCM config.See
deleteAWSAccountCCMConfigWithHttpInfoAsync(java.lang.String).- Parameters:
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)- Returns:
- CompletableFuture
-
deleteAWSAccountCCMConfigWithHttpInfo
public ApiResponse<Void> deleteAWSAccountCCMConfigWithHttpInfo(String awsAccountConfigId) throws ApiException Delete the Cloud Cost Management config for an AWS Account Integration Config using Cost and Usage Report (CUR) 2.0 by config ID.- Parameters:
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)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 204 No Content - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
deleteAWSAccountCCMConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<Void>> deleteAWSAccountCCMConfigWithHttpInfoAsync(String awsAccountConfigId) Delete AWS CCM config.See
deleteAWSAccountCCMConfigWithHttpInfo(java.lang.String).- Parameters:
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)- Returns:
- CompletableFuture<ApiResponse<Void>>
-
deleteAWSEventBridgeSource
public AWSEventBridgeDeleteResponse deleteAWSEventBridgeSource(AWSEventBridgeDeleteRequest body) throws ApiException Delete an Amazon EventBridge source.See
deleteAWSEventBridgeSourceWithHttpInfo(com.datadog.api.client.v2.model.AWSEventBridgeDeleteRequest).- Parameters:
body- Delete the Amazon EventBridge source with the given name, region, and associated AWS account. (required)- Returns:
- AWSEventBridgeDeleteResponse
- Throws:
ApiException- if fails to make API call
-
deleteAWSEventBridgeSourceAsync
public CompletableFuture<AWSEventBridgeDeleteResponse> deleteAWSEventBridgeSourceAsync(AWSEventBridgeDeleteRequest body) Delete an Amazon EventBridge source.- Parameters:
body- Delete the Amazon EventBridge source with the given name, region, and associated AWS account. (required)- Returns:
- CompletableFuture<AWSEventBridgeDeleteResponse>
-
deleteAWSEventBridgeSourceWithHttpInfo
public ApiResponse<AWSEventBridgeDeleteResponse> deleteAWSEventBridgeSourceWithHttpInfo(AWSEventBridgeDeleteRequest body) throws ApiException Delete an Amazon EventBridge source.- Parameters:
body- Delete the Amazon EventBridge source with the given name, region, and associated AWS account. (required)- Returns:
- ApiResponse<AWSEventBridgeDeleteResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 Amazon EventBridge source deleted. - 400 Bad Request - 403 Forbidden - 429 Too many requests -
-
deleteAWSEventBridgeSourceWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSEventBridgeDeleteResponse>> deleteAWSEventBridgeSourceWithHttpInfoAsync(AWSEventBridgeDeleteRequest body) Delete an Amazon EventBridge source.See
deleteAWSEventBridgeSourceWithHttpInfo(com.datadog.api.client.v2.model.AWSEventBridgeDeleteRequest).- Parameters:
body- Delete the Amazon EventBridge source with the given name, region, and associated AWS account. (required)- Returns:
- CompletableFuture<ApiResponse<AWSEventBridgeDeleteResponse>>
-
getAWSAccount
Get an AWS integration by config ID.- Parameters:
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)- Returns:
- AWSAccountResponse
- Throws:
ApiException- if fails to make API call
-
getAWSAccountAsync
Get an AWS integration by config ID.- Parameters:
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)- Returns:
- CompletableFuture<AWSAccountResponse>
-
getAWSAccountWithHttpInfo
public ApiResponse<AWSAccountResponse> getAWSAccountWithHttpInfo(String awsAccountConfigId) throws ApiException Get an AWS Account Integration Config by config ID.- Parameters:
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)- Returns:
- ApiResponse<AWSAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS Account object - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
getAWSAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSAccountResponse>> getAWSAccountWithHttpInfoAsync(String awsAccountConfigId) Get an AWS integration by config ID.- Parameters:
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)- Returns:
- CompletableFuture<ApiResponse<AWSAccountResponse>>
-
getAWSAccountCCMConfig
Get AWS CCM config.- Parameters:
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)- Returns:
- AWSCcmConfigResponse
- Throws:
ApiException- if fails to make API call
-
getAWSAccountCCMConfigAsync
public CompletableFuture<AWSCcmConfigResponse> getAWSAccountCCMConfigAsync(String awsAccountConfigId) Get AWS CCM config.See
getAWSAccountCCMConfigWithHttpInfoAsync(java.lang.String).- Parameters:
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)- Returns:
- CompletableFuture<AWSCcmConfigResponse>
-
getAWSAccountCCMConfigWithHttpInfo
public ApiResponse<AWSCcmConfigResponse> getAWSAccountCCMConfigWithHttpInfo(String awsAccountConfigId) throws ApiException Get the Cloud Cost Management config for an AWS Account Integration Config using Cost and Usage Report (CUR) 2.0 by config ID.- Parameters:
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)- Returns:
- ApiResponse<AWSCcmConfigResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS CCM Config object - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
getAWSAccountCCMConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSCcmConfigResponse>> getAWSAccountCCMConfigWithHttpInfoAsync(String awsAccountConfigId) Get AWS CCM config.- Parameters:
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)- Returns:
- CompletableFuture<ApiResponse<AWSCcmConfigResponse>>
-
getAWSIntegrationIAMPermissions
Get AWS integration IAM permissions.- Returns:
- AWSIntegrationIamPermissionsResponse
- Throws:
ApiException- if fails to make API call
-
getAWSIntegrationIAMPermissionsAsync
public CompletableFuture<AWSIntegrationIamPermissionsResponse> getAWSIntegrationIAMPermissionsAsync()Get AWS integration IAM permissions.- Returns:
- CompletableFuture<AWSIntegrationIamPermissionsResponse>
-
getAWSIntegrationIAMPermissionsWithHttpInfo
public ApiResponse<AWSIntegrationIamPermissionsResponse> getAWSIntegrationIAMPermissionsWithHttpInfo() throws ApiExceptionGet all AWS IAM permissions required for the AWS integration.- Returns:
- ApiResponse<AWSIntegrationIamPermissionsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS IAM Permissions object - 429 Too many requests -
-
getAWSIntegrationIAMPermissionsWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSIntegrationIamPermissionsResponse>> getAWSIntegrationIAMPermissionsWithHttpInfoAsync()Get AWS integration IAM permissions.- Returns:
- CompletableFuture<ApiResponse<AWSIntegrationIamPermissionsResponse>>
-
getAWSIntegrationIAMPermissionsResourceCollection
public AWSIntegrationIamPermissionsResponse getAWSIntegrationIAMPermissionsResourceCollection() throws ApiExceptionGet resource collection IAM permissions.See
getAWSIntegrationIAMPermissionsResourceCollectionWithHttpInfo().- Returns:
- AWSIntegrationIamPermissionsResponse
- Throws:
ApiException- if fails to make API call
-
getAWSIntegrationIAMPermissionsResourceCollectionAsync
public CompletableFuture<AWSIntegrationIamPermissionsResponse> getAWSIntegrationIAMPermissionsResourceCollectionAsync()Get resource collection IAM permissions.See
getAWSIntegrationIAMPermissionsResourceCollectionWithHttpInfoAsync().- Returns:
- CompletableFuture<AWSIntegrationIamPermissionsResponse>
-
getAWSIntegrationIAMPermissionsResourceCollectionWithHttpInfo
public ApiResponse<AWSIntegrationIamPermissionsResponse> getAWSIntegrationIAMPermissionsResourceCollectionWithHttpInfo() throws ApiExceptionGet all resource collection AWS IAM permissions required for the AWS integration.- Returns:
- ApiResponse<AWSIntegrationIamPermissionsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS integration resource collection IAM permissions. - 429 Too many requests -
-
getAWSIntegrationIAMPermissionsResourceCollectionWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSIntegrationIamPermissionsResponse>> getAWSIntegrationIAMPermissionsResourceCollectionWithHttpInfoAsync()Get resource collection IAM permissions.See
getAWSIntegrationIAMPermissionsResourceCollectionWithHttpInfo().- Returns:
- CompletableFuture<ApiResponse<AWSIntegrationIamPermissionsResponse>>
-
getAWSIntegrationIAMPermissionsStandard
public AWSIntegrationIamPermissionsResponse getAWSIntegrationIAMPermissionsStandard() throws ApiExceptionGet AWS integration standard IAM permissions.- Returns:
- AWSIntegrationIamPermissionsResponse
- Throws:
ApiException- if fails to make API call
-
getAWSIntegrationIAMPermissionsStandardAsync
public CompletableFuture<AWSIntegrationIamPermissionsResponse> getAWSIntegrationIAMPermissionsStandardAsync()Get AWS integration standard IAM permissions.See
getAWSIntegrationIAMPermissionsStandardWithHttpInfoAsync().- Returns:
- CompletableFuture<AWSIntegrationIamPermissionsResponse>
-
getAWSIntegrationIAMPermissionsStandardWithHttpInfo
public ApiResponse<AWSIntegrationIamPermissionsResponse> getAWSIntegrationIAMPermissionsStandardWithHttpInfo() throws ApiExceptionGet all standard AWS IAM permissions required for the AWS integration.- Returns:
- ApiResponse<AWSIntegrationIamPermissionsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS integration standard IAM permissions. - 429 Too many requests -
-
getAWSIntegrationIAMPermissionsStandardWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSIntegrationIamPermissionsResponse>> getAWSIntegrationIAMPermissionsStandardWithHttpInfoAsync()Get AWS integration standard IAM permissions.- Returns:
- CompletableFuture<ApiResponse<AWSIntegrationIamPermissionsResponse>>
-
getAWSMetricNameFilterPreview
public AWSMetricNameFilterPreviewResponse getAWSMetricNameFilterPreview(String awsAccountConfigId) throws ApiException Get AWS metric name filter preview.See
getAWSMetricNameFilterPreviewWithHttpInfo(java.lang.String).- Parameters:
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)- Returns:
- AWSMetricNameFilterPreviewResponse
- Throws:
ApiException- if fails to make API call
-
getAWSMetricNameFilterPreviewAsync
public CompletableFuture<AWSMetricNameFilterPreviewResponse> getAWSMetricNameFilterPreviewAsync(String awsAccountConfigId) Get AWS metric name filter preview.See
getAWSMetricNameFilterPreviewWithHttpInfoAsync(java.lang.String).- Parameters:
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)- Returns:
- CompletableFuture<AWSMetricNameFilterPreviewResponse>
-
getAWSMetricNameFilterPreviewWithHttpInfo
public ApiResponse<AWSMetricNameFilterPreviewResponse> getAWSMetricNameFilterPreviewWithHttpInfo(String awsAccountConfigId) throws ApiException Preview which collected CloudWatch metrics would be filtered by the account's saved metric name filters.- Parameters:
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)- Returns:
- ApiResponse<AWSMetricNameFilterPreviewResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS metric name filter preview result - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
getAWSMetricNameFilterPreviewWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSMetricNameFilterPreviewResponse>> getAWSMetricNameFilterPreviewWithHttpInfoAsync(String awsAccountConfigId) Get AWS metric name filter preview.See
getAWSMetricNameFilterPreviewWithHttpInfo(java.lang.String).- Parameters:
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)- Returns:
- CompletableFuture<ApiResponse<AWSMetricNameFilterPreviewResponse>>
-
listAWSAccounts
List all AWS integrations.- Returns:
- AWSAccountsResponse
- Throws:
ApiException- if fails to make API call
-
listAWSAccountsAsync
List all AWS integrations.- Returns:
- CompletableFuture<AWSAccountsResponse>
-
listAWSAccounts
public AWSAccountsResponse listAWSAccounts(AwsIntegrationApi.ListAWSAccountsOptionalParameters parameters) throws ApiException List all AWS integrations.- Parameters:
parameters- Optional parameters for the request.- Returns:
- AWSAccountsResponse
- Throws:
ApiException- if fails to make API call
-
listAWSAccountsAsync
public CompletableFuture<AWSAccountsResponse> listAWSAccountsAsync(AwsIntegrationApi.ListAWSAccountsOptionalParameters parameters) List all AWS integrations.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<AWSAccountsResponse>
-
listAWSAccountsWithHttpInfo
public ApiResponse<AWSAccountsResponse> listAWSAccountsWithHttpInfo(AwsIntegrationApi.ListAWSAccountsOptionalParameters parameters) throws ApiException Get a list of AWS Account Integration Configs.- Parameters:
parameters- Optional parameters for the request.- Returns:
- ApiResponse<AWSAccountsResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS Accounts List object - 403 Forbidden - 429 Too many requests -
-
listAWSAccountsWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSAccountsResponse>> listAWSAccountsWithHttpInfoAsync(AwsIntegrationApi.ListAWSAccountsOptionalParameters parameters) List all AWS integrations.- Parameters:
parameters- Optional parameters for the request.- Returns:
- CompletableFuture<ApiResponse<AWSAccountsResponse>>
-
listAWSEventBridgeSources
Get all Amazon EventBridge sources.- Returns:
- AWSEventBridgeListResponse
- Throws:
ApiException- if fails to make API call
-
listAWSEventBridgeSourcesAsync
Get all Amazon EventBridge sources.- Returns:
- CompletableFuture<AWSEventBridgeListResponse>
-
listAWSEventBridgeSourcesWithHttpInfo
public ApiResponse<AWSEventBridgeListResponse> listAWSEventBridgeSourcesWithHttpInfo() throws ApiExceptionGet all Amazon EventBridge sources.- Returns:
- ApiResponse<AWSEventBridgeListResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 Amazon EventBridge sources list. - 400 Bad Request - 403 Forbidden - 429 Too many requests -
-
listAWSEventBridgeSourcesWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSEventBridgeListResponse>> listAWSEventBridgeSourcesWithHttpInfoAsync()Get all Amazon EventBridge sources.- Returns:
- CompletableFuture<ApiResponse<AWSEventBridgeListResponse>>
-
listAWSNamespaces
List available namespaces.- Returns:
- AWSNamespacesResponse
- Throws:
ApiException- if fails to make API call
-
listAWSNamespacesAsync
List available namespaces.- Returns:
- CompletableFuture<AWSNamespacesResponse>
-
listAWSNamespacesWithHttpInfo
Get a list of available AWS CloudWatch namespaces that can send metrics to Datadog.- Returns:
- ApiResponse<AWSNamespacesResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS Namespaces List object - 403 Forbidden - 429 Too many requests -
-
listAWSNamespacesWithHttpInfoAsync
List available namespaces.- Returns:
- CompletableFuture<ApiResponse<AWSNamespacesResponse>>
-
previewAWSMetricNameFilter
public AWSMetricNameFilterPreviewResponse previewAWSMetricNameFilter(String awsAccountConfigId, AWSMetricNameFilterPreviewRequest body) throws ApiException Preview AWS metric name filter.- Parameters:
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- The metric name filters to preview. (required)- Returns:
- AWSMetricNameFilterPreviewResponse
- Throws:
ApiException- if fails to make API call
-
previewAWSMetricNameFilterAsync
public CompletableFuture<AWSMetricNameFilterPreviewResponse> previewAWSMetricNameFilterAsync(String awsAccountConfigId, AWSMetricNameFilterPreviewRequest body) Preview AWS metric name filter.- Parameters:
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- The metric name filters to preview. (required)- Returns:
- CompletableFuture<AWSMetricNameFilterPreviewResponse>
-
previewAWSMetricNameFilterWithHttpInfo
public ApiResponse<AWSMetricNameFilterPreviewResponse> previewAWSMetricNameFilterWithHttpInfo(String awsAccountConfigId, AWSMetricNameFilterPreviewRequest body) throws ApiException Preview which collected CloudWatch metrics would be filtered by the supplied metric name filters. The filters are not persisted.- Parameters:
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- The metric name filters to preview. (required)- Returns:
- ApiResponse<AWSMetricNameFilterPreviewResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS metric name filter preview result - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
previewAWSMetricNameFilterWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSMetricNameFilterPreviewResponse>> previewAWSMetricNameFilterWithHttpInfoAsync(String awsAccountConfigId, AWSMetricNameFilterPreviewRequest body) Preview AWS metric name filter.- Parameters:
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- The metric name filters to preview. (required)- Returns:
- CompletableFuture<ApiResponse<AWSMetricNameFilterPreviewResponse>>
-
updateAWSAccount
public AWSAccountResponse updateAWSAccount(String awsAccountConfigId, AWSAccountUpdateRequest body) throws ApiException Update an AWS integration.- Parameters:
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)- Returns:
- AWSAccountResponse
- Throws:
ApiException- if fails to make API call
-
updateAWSAccountAsync
public CompletableFuture<AWSAccountResponse> updateAWSAccountAsync(String awsAccountConfigId, AWSAccountUpdateRequest body) Update an AWS integration.- Parameters:
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)- Returns:
- CompletableFuture<AWSAccountResponse>
-
updateAWSAccountWithHttpInfo
public ApiResponse<AWSAccountResponse> updateAWSAccountWithHttpInfo(String awsAccountConfigId, AWSAccountUpdateRequest body) throws ApiException Update an AWS Account Integration Config by config ID.- Parameters:
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)- Returns:
- ApiResponse<AWSAccountResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS Account object - 400 Bad Request - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateAWSAccountWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSAccountResponse>> updateAWSAccountWithHttpInfoAsync(String awsAccountConfigId, AWSAccountUpdateRequest body) Update an AWS integration.- Parameters:
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)- Returns:
- CompletableFuture<ApiResponse<AWSAccountResponse>>
-
updateAWSAccountCCMConfig
public AWSCcmConfigResponse updateAWSAccountCCMConfig(String awsAccountConfigId, AWSCcmConfigRequest body) throws ApiException Update AWS CCM config.- Parameters:
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)- Returns:
- AWSCcmConfigResponse
- Throws:
ApiException- if fails to make API call
-
updateAWSAccountCCMConfigAsync
public CompletableFuture<AWSCcmConfigResponse> updateAWSAccountCCMConfigAsync(String awsAccountConfigId, AWSCcmConfigRequest body) Update AWS CCM config.- Parameters:
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)- Returns:
- CompletableFuture<AWSCcmConfigResponse>
-
updateAWSAccountCCMConfigWithHttpInfo
public ApiResponse<AWSCcmConfigResponse> updateAWSAccountCCMConfigWithHttpInfo(String awsAccountConfigId, AWSCcmConfigRequest body) throws ApiException Update the Cloud Cost Management config for an AWS Account Integration Config using Cost and Usage Report (CUR) 2.0 by config ID.- Parameters:
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)- Returns:
- ApiResponse<AWSCcmConfigResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS CCM Config object - 403 Forbidden - 404 Not Found - 429 Too many requests -
-
updateAWSAccountCCMConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSCcmConfigResponse>> updateAWSAccountCCMConfigWithHttpInfoAsync(String awsAccountConfigId, AWSCcmConfigRequest body) Update AWS CCM config.- Parameters:
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)- Returns:
- CompletableFuture<ApiResponse<AWSCcmConfigResponse>>
-
validateAWSCCMConfig
public AWSCcmConfigValidationResponse validateAWSCCMConfig(AWSCcmConfigValidationRequest body) throws ApiException Validate AWS CCM config.See
validateAWSCCMConfigWithHttpInfo(com.datadog.api.client.v2.model.AWSCcmConfigValidationRequest).- Parameters:
body- Validate a Cloud Cost Management config for an AWS account integration config. (required)- Returns:
- AWSCcmConfigValidationResponse
- Throws:
ApiException- if fails to make API call
-
validateAWSCCMConfigAsync
public CompletableFuture<AWSCcmConfigValidationResponse> validateAWSCCMConfigAsync(AWSCcmConfigValidationRequest body) Validate AWS CCM config.See
validateAWSCCMConfigWithHttpInfoAsync(com.datadog.api.client.v2.model.AWSCcmConfigValidationRequest).- Parameters:
body- Validate a Cloud Cost Management config for an AWS account integration config. (required)- Returns:
- CompletableFuture<AWSCcmConfigValidationResponse>
-
validateAWSCCMConfigWithHttpInfo
public ApiResponse<AWSCcmConfigValidationResponse> validateAWSCCMConfigWithHttpInfo(AWSCcmConfigValidationRequest body) throws ApiException Validate a Cloud Cost Management config for an AWS account using Cost and Usage Report (CUR) 2.0 against Datadog's ingest requirements without persisting it.- Parameters:
body- Validate a Cloud Cost Management config for an AWS account integration config. (required)- Returns:
- ApiResponse<AWSCcmConfigValidationResponse>
- Throws:
ApiException- if fails to make API call- Http Response Details:
Response details Status Code Description Response Headers 200 AWS CCM Config validation result - 400 Bad Request - 403 Forbidden - 429 Too many requests - 503 Service Unavailable -
-
validateAWSCCMConfigWithHttpInfoAsync
public CompletableFuture<ApiResponse<AWSCcmConfigValidationResponse>> validateAWSCCMConfigWithHttpInfoAsync(AWSCcmConfigValidationRequest body) Validate AWS CCM config.See
validateAWSCCMConfigWithHttpInfo(com.datadog.api.client.v2.model.AWSCcmConfigValidationRequest).- Parameters:
body- Validate a Cloud Cost Management config for an AWS account integration config. (required)- Returns:
- CompletableFuture<ApiResponse<AWSCcmConfigValidationResponse>>
-