public class AmazonConfigAsyncClient extends AmazonConfigClient implements AmazonConfigAsync
AWS Config provides a way to keep track of the configurations of all the AWS resources associated with your AWS account. You can use AWS Config to get the current and historical configurations of each AWS resource and also to get information about the relationship between the resources. An AWS resource can be an Amazon Compute Cloud (Amazon EC2) instance, an Elastic Block Store (EBS) volume, an Elastic network Interface (ENI), or a security group. For a complete list of resources currently supported by AWS Config, see Supported AWS Resources .
You can access and manage AWS Config through the AWS Management Console, the AWS Command Line Interface (AWS CLI), the AWS Config API, or the AWS SDKs for AWS Config
This reference guide contains documentation for the AWS Config API and the AWS CLI commands that you can use to manage AWS Config.
The AWS Config API uses the Signature Version 4 protocol for signing requests. For more information about how to sign a request with this protocol, see Signature Version 4 Signing Process .
For detailed information about AWS Config features and their associated actions or commands, as well as how to work with AWS Management Console, see What Is AWS Config? in the AWS Config Developer Guide .
jsonErrorUnmarshallers
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AmazonConfigAsyncClient()
Constructs a new asynchronous client to invoke service methods on
AmazonConfig.
|
AmazonConfigAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
AmazonConfig using the specified AWS account credentials.
|
AmazonConfigAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonConfig using the specified AWS account credentials,
executor service, and client configuration options.
|
AmazonConfigAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonConfig using the specified AWS account credentials
and executor service.
|
AmazonConfigAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
AmazonConfig using the specified AWS account credentials provider.
|
AmazonConfigAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonConfig using the specified AWS account credentials
provider and client configuration options.
|
AmazonConfigAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonConfig using the specified AWS account credentials
provider, executor service, and client configuration options.
|
AmazonConfigAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonConfig using the specified AWS account credentials provider
and executor service.
|
AmazonConfigAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonConfig.
|
Modifier and Type | Method and Description |
---|---|
Future<Void> |
deleteDeliveryChannelAsync(DeleteDeliveryChannelRequest deleteDeliveryChannelRequest)
Deletes the specified delivery channel.
|
Future<Void> |
deleteDeliveryChannelAsync(DeleteDeliveryChannelRequest deleteDeliveryChannelRequest,
AsyncHandler<DeleteDeliveryChannelRequest,Void> asyncHandler)
Deletes the specified delivery channel.
|
Future<DeliverConfigSnapshotResult> |
deliverConfigSnapshotAsync(DeliverConfigSnapshotRequest deliverConfigSnapshotRequest)
Schedules delivery of a configuration snapshot to the Amazon S3
bucket in the specified delivery channel.
|
Future<DeliverConfigSnapshotResult> |
deliverConfigSnapshotAsync(DeliverConfigSnapshotRequest deliverConfigSnapshotRequest,
AsyncHandler<DeliverConfigSnapshotRequest,DeliverConfigSnapshotResult> asyncHandler)
Schedules delivery of a configuration snapshot to the Amazon S3
bucket in the specified delivery channel.
|
Future<DescribeConfigurationRecordersResult> |
describeConfigurationRecordersAsync(DescribeConfigurationRecordersRequest describeConfigurationRecordersRequest)
Returns the name of one or more specified configuration recorders.
|
Future<DescribeConfigurationRecordersResult> |
describeConfigurationRecordersAsync(DescribeConfigurationRecordersRequest describeConfigurationRecordersRequest,
AsyncHandler<DescribeConfigurationRecordersRequest,DescribeConfigurationRecordersResult> asyncHandler)
Returns the name of one or more specified configuration recorders.
|
Future<DescribeConfigurationRecorderStatusResult> |
describeConfigurationRecorderStatusAsync(DescribeConfigurationRecorderStatusRequest describeConfigurationRecorderStatusRequest)
Returns the current status of the specified configuration recorder.
|
Future<DescribeConfigurationRecorderStatusResult> |
describeConfigurationRecorderStatusAsync(DescribeConfigurationRecorderStatusRequest describeConfigurationRecorderStatusRequest,
AsyncHandler<DescribeConfigurationRecorderStatusRequest,DescribeConfigurationRecorderStatusResult> asyncHandler)
Returns the current status of the specified configuration recorder.
|
Future<DescribeDeliveryChannelsResult> |
describeDeliveryChannelsAsync(DescribeDeliveryChannelsRequest describeDeliveryChannelsRequest)
Returns details about the specified delivery channel.
|
Future<DescribeDeliveryChannelsResult> |
describeDeliveryChannelsAsync(DescribeDeliveryChannelsRequest describeDeliveryChannelsRequest,
AsyncHandler<DescribeDeliveryChannelsRequest,DescribeDeliveryChannelsResult> asyncHandler)
Returns details about the specified delivery channel.
|
Future<DescribeDeliveryChannelStatusResult> |
describeDeliveryChannelStatusAsync(DescribeDeliveryChannelStatusRequest describeDeliveryChannelStatusRequest)
Returns the current status of the specified delivery channel.
|
Future<DescribeDeliveryChannelStatusResult> |
describeDeliveryChannelStatusAsync(DescribeDeliveryChannelStatusRequest describeDeliveryChannelStatusRequest,
AsyncHandler<DescribeDeliveryChannelStatusRequest,DescribeDeliveryChannelStatusResult> asyncHandler)
Returns the current status of the specified delivery channel.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this async client to execute
requests.
|
Future<GetResourceConfigHistoryResult> |
getResourceConfigHistoryAsync(GetResourceConfigHistoryRequest getResourceConfigHistoryRequest)
Returns a list of configuration items for the specified resource.
|
Future<GetResourceConfigHistoryResult> |
getResourceConfigHistoryAsync(GetResourceConfigHistoryRequest getResourceConfigHistoryRequest,
AsyncHandler<GetResourceConfigHistoryRequest,GetResourceConfigHistoryResult> asyncHandler)
Returns a list of configuration items for the specified resource.
|
Future<Void> |
putConfigurationRecorderAsync(PutConfigurationRecorderRequest putConfigurationRecorderRequest)
Creates a new configuration recorder to record the selected resource
configurations.
|
Future<Void> |
putConfigurationRecorderAsync(PutConfigurationRecorderRequest putConfigurationRecorderRequest,
AsyncHandler<PutConfigurationRecorderRequest,Void> asyncHandler)
Creates a new configuration recorder to record the selected resource
configurations.
|
Future<Void> |
putDeliveryChannelAsync(PutDeliveryChannelRequest putDeliveryChannelRequest)
Creates a new delivery channel object to deliver the configuration
information to an Amazon S3 bucket, and to an Amazon SNS topic.
|
Future<Void> |
putDeliveryChannelAsync(PutDeliveryChannelRequest putDeliveryChannelRequest,
AsyncHandler<PutDeliveryChannelRequest,Void> asyncHandler)
Creates a new delivery channel object to deliver the configuration
information to an Amazon S3 bucket, and to an Amazon SNS topic.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
Future<Void> |
startConfigurationRecorderAsync(StartConfigurationRecorderRequest startConfigurationRecorderRequest)
Starts recording configurations of the AWS resources you have
selected to record in your AWS account.
|
Future<Void> |
startConfigurationRecorderAsync(StartConfigurationRecorderRequest startConfigurationRecorderRequest,
AsyncHandler<StartConfigurationRecorderRequest,Void> asyncHandler)
Starts recording configurations of the AWS resources you have
selected to record in your AWS account.
|
Future<Void> |
stopConfigurationRecorderAsync(StopConfigurationRecorderRequest stopConfigurationRecorderRequest)
Stops recording configurations of the AWS resources you have selected
to record in your AWS account.
|
Future<Void> |
stopConfigurationRecorderAsync(StopConfigurationRecorderRequest stopConfigurationRecorderRequest,
AsyncHandler<StopConfigurationRecorderRequest,Void> asyncHandler)
Stops recording configurations of the AWS resources you have selected
to record in your AWS account.
|
deleteDeliveryChannel, deliverConfigSnapshot, describeConfigurationRecorders, describeConfigurationRecorders, describeConfigurationRecorderStatus, describeConfigurationRecorderStatus, describeDeliveryChannels, describeDeliveryChannels, describeDeliveryChannelStatus, describeDeliveryChannelStatus, getCachedResponseMetadata, getResourceConfigHistory, putConfigurationRecorder, putDeliveryChannel, setEndpoint, setEndpoint, startConfigurationRecorder, stopConfigurationRecorder
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
deleteDeliveryChannel, deliverConfigSnapshot, describeConfigurationRecorders, describeConfigurationRecorders, describeConfigurationRecorderStatus, describeConfigurationRecorderStatus, describeDeliveryChannels, describeDeliveryChannels, describeDeliveryChannelStatus, describeDeliveryChannelStatus, getCachedResponseMetadata, getResourceConfigHistory, putConfigurationRecorder, putDeliveryChannel, setEndpoint, setRegion, startConfigurationRecorder, stopConfigurationRecorder
public AmazonConfigAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AmazonConfigAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this
client connects to AmazonConfig
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChain
public AmazonConfigAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonConfigAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonConfigAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonConfigAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonConfigAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will
be executed.public AmazonConfigAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).public AmazonConfigAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy
settings, etc).executorService
- The executor service by which all asynchronous requests will
be executed.public ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AmazonConfig
shutdown
in class AmazonWebServiceClient
public Future<DescribeDeliveryChannelStatusResult> describeDeliveryChannelStatusAsync(DescribeDeliveryChannelStatusRequest describeDeliveryChannelStatusRequest) throws AmazonServiceException, AmazonClientException
Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account.
NOTE:Currently, you can specify only one delivery channel per account.
describeDeliveryChannelStatusAsync
in interface AmazonConfigAsync
describeDeliveryChannelStatusRequest
- Container for the
necessary parameters to execute the DescribeDeliveryChannelStatus
operation on AmazonConfig.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDeliveryChannelStatusResult> describeDeliveryChannelStatusAsync(DescribeDeliveryChannelStatusRequest describeDeliveryChannelStatusRequest, AsyncHandler<DescribeDeliveryChannelStatusRequest,DescribeDeliveryChannelStatusResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns the current status of the specified delivery channel. If a delivery channel is not specified, this action returns the current status of all delivery channels associated with the account.
NOTE:Currently, you can specify only one delivery channel per account.
describeDeliveryChannelStatusAsync
in interface AmazonConfigAsync
describeDeliveryChannelStatusRequest
- Container for the
necessary parameters to execute the DescribeDeliveryChannelStatus
operation on AmazonConfig.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeConfigurationRecordersResult> describeConfigurationRecordersAsync(DescribeConfigurationRecordersRequest describeConfigurationRecordersRequest) throws AmazonServiceException, AmazonClientException
Returns the name of one or more specified configuration recorders. If the recorder name is not specified, this action returns the names of all the configuration recorders associated with the account.
NOTE: Currently, you can specify only one configuration recorder per account.
describeConfigurationRecordersAsync
in interface AmazonConfigAsync
describeConfigurationRecordersRequest
- Container for the
necessary parameters to execute the DescribeConfigurationRecorders
operation on AmazonConfig.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeConfigurationRecordersResult> describeConfigurationRecordersAsync(DescribeConfigurationRecordersRequest describeConfigurationRecordersRequest, AsyncHandler<DescribeConfigurationRecordersRequest,DescribeConfigurationRecordersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns the name of one or more specified configuration recorders. If the recorder name is not specified, this action returns the names of all the configuration recorders associated with the account.
NOTE: Currently, you can specify only one configuration recorder per account.
describeConfigurationRecordersAsync
in interface AmazonConfigAsync
describeConfigurationRecordersRequest
- Container for the
necessary parameters to execute the DescribeConfigurationRecorders
operation on AmazonConfig.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<Void> startConfigurationRecorderAsync(StartConfigurationRecorderRequest startConfigurationRecorderRequest) throws AmazonServiceException, AmazonClientException
Starts recording configurations of the AWS resources you have selected to record in your AWS account.
You must have created at least one delivery channel to successfully start the configuration recorder.
startConfigurationRecorderAsync
in interface AmazonConfigAsync
startConfigurationRecorderRequest
- Container for the necessary
parameters to execute the StartConfigurationRecorder operation on
AmazonConfig.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<Void> startConfigurationRecorderAsync(StartConfigurationRecorderRequest startConfigurationRecorderRequest, AsyncHandler<StartConfigurationRecorderRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Starts recording configurations of the AWS resources you have selected to record in your AWS account.
You must have created at least one delivery channel to successfully start the configuration recorder.
startConfigurationRecorderAsync
in interface AmazonConfigAsync
startConfigurationRecorderRequest
- Container for the necessary
parameters to execute the StartConfigurationRecorder operation on
AmazonConfig.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<Void> putDeliveryChannelAsync(PutDeliveryChannelRequest putDeliveryChannelRequest) throws AmazonServiceException, AmazonClientException
Creates a new delivery channel object to deliver the configuration information to an Amazon S3 bucket, and to an Amazon SNS topic.
You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed.
NOTE: Currently, you can specify only one delivery channel per account.
putDeliveryChannelAsync
in interface AmazonConfigAsync
putDeliveryChannelRequest
- Container for the necessary
parameters to execute the PutDeliveryChannel operation on
AmazonConfig.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<Void> putDeliveryChannelAsync(PutDeliveryChannelRequest putDeliveryChannelRequest, AsyncHandler<PutDeliveryChannelRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new delivery channel object to deliver the configuration information to an Amazon S3 bucket, and to an Amazon SNS topic.
You can use this action to change the Amazon S3 bucket or an Amazon SNS topic of the existing delivery channel. To change the Amazon S3 bucket or an Amazon SNS topic, call this action and specify the changed values for the S3 bucket and the SNS topic. If you specify a different value for either the S3 bucket or the SNS topic, this action will keep the existing value for the parameter that is not changed.
NOTE: Currently, you can specify only one delivery channel per account.
putDeliveryChannelAsync
in interface AmazonConfigAsync
putDeliveryChannelRequest
- Container for the necessary
parameters to execute the PutDeliveryChannel operation on
AmazonConfig.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteDeliveryChannelAsync(DeleteDeliveryChannelRequest deleteDeliveryChannelRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified delivery channel.
The delivery channel cannot be deleted if it is the only delivery channel and the configuration recorder is still running. To delete the delivery channel, stop the running configuration recorder using the StopConfigurationRecorder action.
deleteDeliveryChannelAsync
in interface AmazonConfigAsync
deleteDeliveryChannelRequest
- Container for the necessary
parameters to execute the DeleteDeliveryChannel operation on
AmazonConfig.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteDeliveryChannelAsync(DeleteDeliveryChannelRequest deleteDeliveryChannelRequest, AsyncHandler<DeleteDeliveryChannelRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified delivery channel.
The delivery channel cannot be deleted if it is the only delivery channel and the configuration recorder is still running. To delete the delivery channel, stop the running configuration recorder using the StopConfigurationRecorder action.
deleteDeliveryChannelAsync
in interface AmazonConfigAsync
deleteDeliveryChannelRequest
- Container for the necessary
parameters to execute the DeleteDeliveryChannel operation on
AmazonConfig.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<Void> stopConfigurationRecorderAsync(StopConfigurationRecorderRequest stopConfigurationRecorderRequest) throws AmazonServiceException, AmazonClientException
Stops recording configurations of the AWS resources you have selected to record in your AWS account.
stopConfigurationRecorderAsync
in interface AmazonConfigAsync
stopConfigurationRecorderRequest
- Container for the necessary
parameters to execute the StopConfigurationRecorder operation on
AmazonConfig.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<Void> stopConfigurationRecorderAsync(StopConfigurationRecorderRequest stopConfigurationRecorderRequest, AsyncHandler<StopConfigurationRecorderRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Stops recording configurations of the AWS resources you have selected to record in your AWS account.
stopConfigurationRecorderAsync
in interface AmazonConfigAsync
stopConfigurationRecorderRequest
- Container for the necessary
parameters to execute the StopConfigurationRecorder operation on
AmazonConfig.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<DeliverConfigSnapshotResult> deliverConfigSnapshotAsync(DeliverConfigSnapshotRequest deliverConfigSnapshotRequest) throws AmazonServiceException, AmazonClientException
Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends following notifications using an Amazon SNS topic that you have specified.
deliverConfigSnapshotAsync
in interface AmazonConfigAsync
deliverConfigSnapshotRequest
- Container for the necessary
parameters to execute the DeliverConfigSnapshot operation on
AmazonConfig.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<DeliverConfigSnapshotResult> deliverConfigSnapshotAsync(DeliverConfigSnapshotRequest deliverConfigSnapshotRequest, AsyncHandler<DeliverConfigSnapshotRequest,DeliverConfigSnapshotResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends following notifications using an Amazon SNS topic that you have specified.
deliverConfigSnapshotAsync
in interface AmazonConfigAsync
deliverConfigSnapshotRequest
- Container for the necessary
parameters to execute the DeliverConfigSnapshot operation on
AmazonConfig.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<Void> putConfigurationRecorderAsync(PutConfigurationRecorderRequest putConfigurationRecorderRequest) throws AmazonServiceException, AmazonClientException
Creates a new configuration recorder to record the selected resource configurations.
You can use this action to change the role roleARN
and/or the recordingGroup
of an existing recorder. To
change the role, call the action on the existing configuration
recorder and specify a role.
NOTE: Currently, you can specify only one configuration recorder per account. If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types.
putConfigurationRecorderAsync
in interface AmazonConfigAsync
putConfigurationRecorderRequest
- Container for the necessary
parameters to execute the PutConfigurationRecorder operation on
AmazonConfig.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<Void> putConfigurationRecorderAsync(PutConfigurationRecorderRequest putConfigurationRecorderRequest, AsyncHandler<PutConfigurationRecorderRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Creates a new configuration recorder to record the selected resource configurations.
You can use this action to change the role roleARN
and/or the recordingGroup
of an existing recorder. To
change the role, call the action on the existing configuration
recorder and specify a role.
NOTE: Currently, you can specify only one configuration recorder per account. If ConfigurationRecorder does not have the recordingGroup parameter specified, the default is to record all supported resource types.
putConfigurationRecorderAsync
in interface AmazonConfigAsync
putConfigurationRecorderRequest
- Container for the necessary
parameters to execute the PutConfigurationRecorder operation on
AmazonConfig.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<GetResourceConfigHistoryResult> getResourceConfigHistoryAsync(GetResourceConfigHistoryRequest getResourceConfigHistoryRequest) throws AmazonServiceException, AmazonClientException
Returns a list of configuration items for the specified resource. The
list contains details about each state of the resource during the
specified time interval. You can specify a limit
on the
number of results returned on the page. If a limit is specified, a
nextToken
is returned as part of the result that you can
use to continue this request.
NOTE: Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken .
getResourceConfigHistoryAsync
in interface AmazonConfigAsync
getResourceConfigHistoryRequest
- Container for the necessary
parameters to execute the GetResourceConfigHistory operation on
AmazonConfig.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<GetResourceConfigHistoryResult> getResourceConfigHistoryAsync(GetResourceConfigHistoryRequest getResourceConfigHistoryRequest, AsyncHandler<GetResourceConfigHistoryRequest,GetResourceConfigHistoryResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns a list of configuration items for the specified resource. The
list contains details about each state of the resource during the
specified time interval. You can specify a limit
on the
number of results returned on the page. If a limit is specified, a
nextToken
is returned as part of the result that you can
use to continue this request.
NOTE: Each call to the API is limited to span a duration of seven days. It is likely that the number of records returned is smaller than the specified limit. In such cases, you can make another call, using the nextToken .
getResourceConfigHistoryAsync
in interface AmazonConfigAsync
getResourceConfigHistoryRequest
- Container for the necessary
parameters to execute the GetResourceConfigHistory operation on
AmazonConfig.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDeliveryChannelsResult> describeDeliveryChannelsAsync(DescribeDeliveryChannelsRequest describeDeliveryChannelsRequest) throws AmazonServiceException, AmazonClientException
Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the account.
NOTE: Currently, you can specify only one delivery channel per account.
describeDeliveryChannelsAsync
in interface AmazonConfigAsync
describeDeliveryChannelsRequest
- Container for the necessary
parameters to execute the DescribeDeliveryChannels operation on
AmazonConfig.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeDeliveryChannelsResult> describeDeliveryChannelsAsync(DescribeDeliveryChannelsRequest describeDeliveryChannelsRequest, AsyncHandler<DescribeDeliveryChannelsRequest,DescribeDeliveryChannelsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns details about the specified delivery channel. If a delivery channel is not specified, this action returns the details of all delivery channels associated with the account.
NOTE: Currently, you can specify only one delivery channel per account.
describeDeliveryChannelsAsync
in interface AmazonConfigAsync
describeDeliveryChannelsRequest
- Container for the necessary
parameters to execute the DescribeDeliveryChannels operation on
AmazonConfig.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeConfigurationRecorderStatusResult> describeConfigurationRecorderStatusAsync(DescribeConfigurationRecorderStatusRequest describeConfigurationRecorderStatusRequest) throws AmazonServiceException, AmazonClientException
Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorder associated with the account.
NOTE:Currently, you can specify only one configuration recorder per account.
describeConfigurationRecorderStatusAsync
in interface AmazonConfigAsync
describeConfigurationRecorderStatusRequest
- Container for the
necessary parameters to execute the
DescribeConfigurationRecorderStatus operation on AmazonConfig.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeConfigurationRecorderStatusResult> describeConfigurationRecorderStatusAsync(DescribeConfigurationRecorderStatusRequest describeConfigurationRecorderStatusRequest, AsyncHandler<DescribeConfigurationRecorderStatusRequest,DescribeConfigurationRecorderStatusResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorder associated with the account.
NOTE:Currently, you can specify only one configuration recorder per account.
describeConfigurationRecorderStatusAsync
in interface AmazonConfigAsync
describeConfigurationRecorderStatusRequest
- Container for the
necessary parameters to execute the
DescribeConfigurationRecorderStatus operation on AmazonConfig.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonConfig indicating
either a problem with the data in the request, or a server side issue.Copyright © 2015. All rights reserved.