@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.v1.client.model.AWSAccount)
.
body
- AWS Request Object (required)ApiException
- if fails to make API callpublic CompletableFuture<AWSAccountCreateResponse> createAWSAccountAsync(AWSAccount body)
See createAWSAccountWithHttpInfoAsync(com.datadog.api.v1.client.model.AWSAccount)
.
body
- AWS Request Object (required)public ApiResponse<AWSAccountCreateResponse> createAWSAccountWithHttpInfo(AWSAccount body) throws ApiException
Create a Datadog-Amazon Web Services integration. Using the `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 callStatus 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.v1.client.model.AWSAccount)
.
body
- AWS Request Object (required)public Object createAWSTagFilter(AWSTagFilterCreateRequest body) throws ApiException
See createAWSTagFilterWithHttpInfo(com.datadog.api.v1.client.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.v1.client.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
Set an AWS tag filter.
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 callStatus 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.v1.client.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.v1.client.model.AWSAccount)
.
body
- Your Datadog role delegation name. For more information about your AWS account Role
name, see the [Datadog AWS integration configuration
info](https://docs.datadoghq.com/integrations/amazon_web_services/#setup). (required)ApiException
- if fails to make API callpublic CompletableFuture<AWSAccountCreateResponse> createNewAWSExternalIDAsync(AWSAccount body)
See createNewAWSExternalIDWithHttpInfoAsync(com.datadog.api.v1.client.model.AWSAccount)
.
body
- Your Datadog role delegation name. For more information about your AWS account Role
name, see the [Datadog AWS integration configuration
info](https://docs.datadoghq.com/integrations/amazon_web_services/#setup). (required)public ApiResponse<AWSAccountCreateResponse> createNewAWSExternalIDWithHttpInfo(AWSAccount body) throws ApiException
Generate a new AWS external ID for a given AWS account ID and role name pair.
body
- Your Datadog role delegation name. For more information about your AWS account Role
name, see the [Datadog AWS integration configuration
info](https://docs.datadoghq.com/integrations/amazon_web_services/#setup). (required)ApiException
- if fails to make API callStatus 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.v1.client.model.AWSAccount)
.
body
- Your Datadog role delegation name. For more information about your AWS account Role
name, see the [Datadog AWS integration configuration
info](https://docs.datadoghq.com/integrations/amazon_web_services/#setup). (required)public Object deleteAWSAccount(AWSAccountDeleteRequest body) throws ApiException
See deleteAWSAccountWithHttpInfo(com.datadog.api.v1.client.model.AWSAccountDeleteRequest)
.
body
- AWS request object (required)ApiException
- if fails to make API callpublic CompletableFuture<Object> deleteAWSAccountAsync(AWSAccountDeleteRequest body)
See deleteAWSAccountWithHttpInfoAsync(com.datadog.api.v1.client.model.AWSAccountDeleteRequest)
.
body
- AWS request object (required)public ApiResponse<Object> deleteAWSAccountWithHttpInfo(AWSAccountDeleteRequest body) throws ApiException
Delete a Datadog-AWS integration matching the specified `account_id` and `role_name parameters`.
body
- AWS request object (required)ApiException
- if fails to make API callStatus 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.v1.client.model.AWSAccountDeleteRequest)
.
body
- AWS request object (required)public Object deleteAWSTagFilter(AWSTagFilterDeleteRequest body) throws ApiException
See deleteAWSTagFilterWithHttpInfo(com.datadog.api.v1.client.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.v1.client.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
Delete a tag filtering entry.
body
- Delete a tag filtering entry for a given AWS account and `dd-aws`
namespace. (required)ApiException
- if fails to make API callStatus 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.v1.client.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
List all namespace rules for a given Datadog-AWS integration. This endpoint takes no arguments.
ApiException
- if fails to make API callStatus 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
List all Datadog-AWS integrations available in your Datadog organization.
parameters
- Optional parameters for the request.ApiException
- if fails to make API callStatus 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 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
Get all AWS tag filters.
accountId
- Only return AWS filters that matches this `account_id`. (required)ApiException
- if fails to make API callStatus 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
Update a Datadog-Amazon Web Services integration.
body
- AWS request object (required)parameters
- Optional parameters for the request.ApiException
- if fails to make API callStatus 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 © 2022. All rights reserved.