@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 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 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 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 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)Copyright © 2024. All rights reserved.