Class AmazonConfigAsyncClient
- All Implemented Interfaces:
AmazonConfig
,AmazonConfigAsync
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
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.
-
Field Summary
Fields inherited from class com.amazonaws.services.config.AmazonConfigClient
configFactory
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new asynchronous client to invoke service methods on Config Service.AmazonConfigAsyncClient
(AWSCredentials awsCredentials) Constructs a new asynchronous client to invoke service methods on Config Service using the specified AWS account credentials.AmazonConfigAsyncClient
(AWSCredentialsProvider awsCredentialsProvider) Constructs a new asynchronous client to invoke service methods on Config Service using the specified AWS account credentials provider.AmazonConfigAsyncClient
(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on Config Service using the provided 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 Config Service 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 Config Service using the specified AWS account credentials provider and executor service.AmazonConfigAsyncClient
(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Config Service 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 Config Service using the specified AWS account credentials and executor service.AmazonConfigAsyncClient
(ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on Config Service. -
Method Summary
Modifier and TypeMethodDescriptionDeletes the specified AWS Config rule and all of its evaluation results.deleteConfigRuleAsync
(DeleteConfigRuleRequest request, AsyncHandler<DeleteConfigRuleRequest, DeleteConfigRuleResult> asyncHandler) Deletes the specified AWS Config rule and all of its evaluation results.Deletes the specified delivery channel.deleteDeliveryChannelAsync
(DeleteDeliveryChannelRequest request, AsyncHandler<DeleteDeliveryChannelRequest, DeleteDeliveryChannelResult> asyncHandler) Deletes the specified delivery channel.Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel.deliverConfigSnapshotAsync
(DeliverConfigSnapshotRequest request, AsyncHandler<DeliverConfigSnapshotRequest, DeliverConfigSnapshotResult> asyncHandler) Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel.Simplified method form for invoking the DescribeComplianceByConfigRule operation.describeComplianceByConfigRuleAsync
(AsyncHandler<DescribeComplianceByConfigRuleRequest, DescribeComplianceByConfigRuleResult> asyncHandler) Simplified method form for invoking the DescribeComplianceByConfigRule operation with an AsyncHandler.Indicates whether the specified AWS Config rules are compliant.describeComplianceByConfigRuleAsync
(DescribeComplianceByConfigRuleRequest request, AsyncHandler<DescribeComplianceByConfigRuleRequest, DescribeComplianceByConfigRuleResult> asyncHandler) Indicates whether the specified AWS Config rules are compliant.Simplified method form for invoking the DescribeComplianceByResource operation.describeComplianceByResourceAsync
(AsyncHandler<DescribeComplianceByResourceRequest, DescribeComplianceByResourceResult> asyncHandler) Simplified method form for invoking the DescribeComplianceByResource operation with an AsyncHandler.Indicates whether the specified AWS resources are compliant.describeComplianceByResourceAsync
(DescribeComplianceByResourceRequest request, AsyncHandler<DescribeComplianceByResourceRequest, DescribeComplianceByResourceResult> asyncHandler) Indicates whether the specified AWS resources are compliant.Simplified method form for invoking the DescribeConfigRuleEvaluationStatus operation.describeConfigRuleEvaluationStatusAsync
(AsyncHandler<DescribeConfigRuleEvaluationStatusRequest, DescribeConfigRuleEvaluationStatusResult> asyncHandler) Simplified method form for invoking the DescribeConfigRuleEvaluationStatus operation with an AsyncHandler.Returns status information for each of your AWS managed Config rules.describeConfigRuleEvaluationStatusAsync
(DescribeConfigRuleEvaluationStatusRequest request, AsyncHandler<DescribeConfigRuleEvaluationStatusRequest, DescribeConfigRuleEvaluationStatusResult> asyncHandler) Returns status information for each of your AWS managed Config rules.Simplified method form for invoking the DescribeConfigRules operation.describeConfigRulesAsync
(AsyncHandler<DescribeConfigRulesRequest, DescribeConfigRulesResult> asyncHandler) Simplified method form for invoking the DescribeConfigRules operation with an AsyncHandler.Returns details about your AWS Config rules.describeConfigRulesAsync
(DescribeConfigRulesRequest request, AsyncHandler<DescribeConfigRulesRequest, DescribeConfigRulesResult> asyncHandler) Returns details about your AWS Config rules.Simplified method form for invoking the DescribeConfigurationRecorders operation.describeConfigurationRecordersAsync
(AsyncHandler<DescribeConfigurationRecordersRequest, DescribeConfigurationRecordersResult> asyncHandler) Simplified method form for invoking the DescribeConfigurationRecorders operation with an AsyncHandler.Returns the name of one or more specified configuration recorders.describeConfigurationRecordersAsync
(DescribeConfigurationRecordersRequest request, AsyncHandler<DescribeConfigurationRecordersRequest, DescribeConfigurationRecordersResult> asyncHandler) Returns the name of one or more specified configuration recorders.Simplified method form for invoking the DescribeConfigurationRecorderStatus operation.describeConfigurationRecorderStatusAsync
(AsyncHandler<DescribeConfigurationRecorderStatusRequest, DescribeConfigurationRecorderStatusResult> asyncHandler) Simplified method form for invoking the DescribeConfigurationRecorderStatus operation with an AsyncHandler.Returns the current status of the specified configuration recorder.describeConfigurationRecorderStatusAsync
(DescribeConfigurationRecorderStatusRequest request, AsyncHandler<DescribeConfigurationRecorderStatusRequest, DescribeConfigurationRecorderStatusResult> asyncHandler) Returns the current status of the specified configuration recorder.Simplified method form for invoking the DescribeDeliveryChannels operation.describeDeliveryChannelsAsync
(AsyncHandler<DescribeDeliveryChannelsRequest, DescribeDeliveryChannelsResult> asyncHandler) Simplified method form for invoking the DescribeDeliveryChannels operation with an AsyncHandler.Returns details about the specified delivery channel.describeDeliveryChannelsAsync
(DescribeDeliveryChannelsRequest request, AsyncHandler<DescribeDeliveryChannelsRequest, DescribeDeliveryChannelsResult> asyncHandler) Returns details about the specified delivery channel.Simplified method form for invoking the DescribeDeliveryChannelStatus operation.describeDeliveryChannelStatusAsync
(AsyncHandler<DescribeDeliveryChannelStatusRequest, DescribeDeliveryChannelStatusResult> asyncHandler) Simplified method form for invoking the DescribeDeliveryChannelStatus operation with an AsyncHandler.Returns the current status of the specified delivery channel.describeDeliveryChannelStatusAsync
(DescribeDeliveryChannelStatusRequest request, AsyncHandler<DescribeDeliveryChannelStatusRequest, DescribeDeliveryChannelStatusResult> asyncHandler) Returns the current status of the specified delivery channel.Returns the evaluation results for the specified AWS Config rule.getComplianceDetailsByConfigRuleAsync
(GetComplianceDetailsByConfigRuleRequest request, AsyncHandler<GetComplianceDetailsByConfigRuleRequest, GetComplianceDetailsByConfigRuleResult> asyncHandler) Returns the evaluation results for the specified AWS Config rule.Returns the evaluation results for the specified AWS resource.getComplianceDetailsByResourceAsync
(GetComplianceDetailsByResourceRequest request, AsyncHandler<GetComplianceDetailsByResourceRequest, GetComplianceDetailsByResourceResult> asyncHandler) Returns the evaluation results for the specified AWS resource.Simplified method form for invoking the GetComplianceSummaryByConfigRule operation.getComplianceSummaryByConfigRuleAsync
(AsyncHandler<GetComplianceSummaryByConfigRuleRequest, GetComplianceSummaryByConfigRuleResult> asyncHandler) Simplified method form for invoking the GetComplianceSummaryByConfigRule operation with an AsyncHandler.Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.getComplianceSummaryByConfigRuleAsync
(GetComplianceSummaryByConfigRuleRequest request, AsyncHandler<GetComplianceSummaryByConfigRuleRequest, GetComplianceSummaryByConfigRuleResult> asyncHandler) Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.Simplified method form for invoking the GetComplianceSummaryByResourceType operation.getComplianceSummaryByResourceTypeAsync
(AsyncHandler<GetComplianceSummaryByResourceTypeRequest, GetComplianceSummaryByResourceTypeResult> asyncHandler) Simplified method form for invoking the GetComplianceSummaryByResourceType operation with an AsyncHandler.Returns the number of resources that are compliant and the number that are noncompliant.getComplianceSummaryByResourceTypeAsync
(GetComplianceSummaryByResourceTypeRequest request, AsyncHandler<GetComplianceSummaryByResourceTypeRequest, GetComplianceSummaryByResourceTypeResult> asyncHandler) Returns the number of resources that are compliant and the number that are noncompliant.Returns the executor service used by this client to execute async requests.Returns a list of configuration items for the specified resource.getResourceConfigHistoryAsync
(GetResourceConfigHistoryRequest request, AsyncHandler<GetResourceConfigHistoryRequest, GetResourceConfigHistoryResult> asyncHandler) Returns a list of configuration items for the specified resource.Accepts a resource type and returns a list of resource identifiers for the resources of that type.listDiscoveredResourcesAsync
(ListDiscoveredResourcesRequest request, AsyncHandler<ListDiscoveredResourcesRequest, ListDiscoveredResourcesResult> asyncHandler) Accepts a resource type and returns a list of resource identifiers for the resources of that type.putConfigRuleAsync
(PutConfigRuleRequest request) Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations.putConfigRuleAsync
(PutConfigRuleRequest request, AsyncHandler<PutConfigRuleRequest, PutConfigRuleResult> asyncHandler) Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations.Creates a new configuration recorder to record the selected resource configurations.putConfigurationRecorderAsync
(PutConfigurationRecorderRequest request, AsyncHandler<PutConfigurationRecorderRequest, PutConfigurationRecorderResult> asyncHandler) Creates a new configuration recorder to record the selected resource configurations.Creates a new delivery channel object to deliver the configuration information to an Amazon S3 bucket, and to an Amazon SNS topic.putDeliveryChannelAsync
(PutDeliveryChannelRequest request, AsyncHandler<PutDeliveryChannelRequest, PutDeliveryChannelResult> asyncHandler) Creates a new delivery channel object to deliver the configuration information to an Amazon S3 bucket, and to an Amazon SNS topic.putEvaluationsAsync
(PutEvaluationsRequest request) Used by an AWS Lambda function to deliver evaluation results to AWS Config.putEvaluationsAsync
(PutEvaluationsRequest request, AsyncHandler<PutEvaluationsRequest, PutEvaluationsResult> asyncHandler) Used by an AWS Lambda function to deliver evaluation results to AWS Config.void
shutdown()
Shuts down the client, releasing all managed resources.Starts recording configurations of the AWS resources you have selected to record in your AWS account.startConfigurationRecorderAsync
(StartConfigurationRecorderRequest request, AsyncHandler<StartConfigurationRecorderRequest, StartConfigurationRecorderResult> asyncHandler) Starts recording configurations of the AWS resources you have selected to record in your AWS account.Stops recording configurations of the AWS resources you have selected to record in your AWS account.stopConfigurationRecorderAsync
(StopConfigurationRecorderRequest request, AsyncHandler<StopConfigurationRecorderRequest, StopConfigurationRecorderResult> asyncHandler) Stops recording configurations of the AWS resources you have selected to record in your AWS account.Methods inherited from class com.amazonaws.services.config.AmazonConfigClient
deleteConfigRule, deleteDeliveryChannel, deliverConfigSnapshot, describeComplianceByConfigRule, describeComplianceByConfigRule, describeComplianceByResource, describeComplianceByResource, describeConfigRuleEvaluationStatus, describeConfigRuleEvaluationStatus, describeConfigRules, describeConfigRules, describeConfigurationRecorders, describeConfigurationRecorders, describeConfigurationRecorderStatus, describeConfigurationRecorderStatus, describeDeliveryChannels, describeDeliveryChannels, describeDeliveryChannelStatus, describeDeliveryChannelStatus, getCachedResponseMetadata, getComplianceDetailsByConfigRule, getComplianceDetailsByResource, getComplianceSummaryByConfigRule, getComplianceSummaryByConfigRule, getComplianceSummaryByResourceType, getComplianceSummaryByResourceType, getResourceConfigHistory, listDiscoveredResources, putConfigRule, putConfigurationRecorder, putDeliveryChannel, putEvaluations, startConfigurationRecorder, stopConfigurationRecorder
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.amazonaws.services.config.AmazonConfig
deleteConfigRule, deleteDeliveryChannel, deliverConfigSnapshot, describeComplianceByConfigRule, describeComplianceByConfigRule, describeComplianceByResource, describeComplianceByResource, describeConfigRuleEvaluationStatus, describeConfigRuleEvaluationStatus, describeConfigRules, describeConfigRules, describeConfigurationRecorders, describeConfigurationRecorders, describeConfigurationRecorderStatus, describeConfigurationRecorderStatus, describeDeliveryChannels, describeDeliveryChannels, describeDeliveryChannelStatus, describeDeliveryChannelStatus, getCachedResponseMetadata, getComplianceDetailsByConfigRule, getComplianceDetailsByResource, getComplianceSummaryByConfigRule, getComplianceSummaryByConfigRule, getComplianceSummaryByResourceType, getComplianceSummaryByResourceType, getResourceConfigHistory, listDiscoveredResources, putConfigRule, putConfigurationRecorder, putDeliveryChannel, putEvaluations, setEndpoint, setRegion, startConfigurationRecorder, stopConfigurationRecorder
-
Constructor Details
-
AmazonConfigAsyncClient
public AmazonConfigAsyncClient()Constructs a new asynchronous client to invoke service methods on Config Service. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- See Also:
-
AmazonConfigAsyncClient
Constructs a new asynchronous client to invoke service methods on Config Service. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections()
.- Parameters:
clientConfiguration
- The client configuration options controlling how this client connects to Config Service (ex: proxy settings, retry counts, etc).- See Also:
-
AmazonConfigAsyncClient
Constructs a new asynchronous client to invoke service methods on Config Service using the specified AWS account credentials.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
-
AmazonConfigAsyncClient
Constructs a new asynchronous client to invoke service methods on Config Service using the specified AWS account credentials and executor service. Default client settings will be used.- Parameters:
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.
-
AmazonConfigAsyncClient
public AmazonConfigAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Config Service using the specified AWS account credentials, executor service, and client configuration options.- Parameters:
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.
-
AmazonConfigAsyncClient
Constructs a new asynchronous client to invoke service methods on Config Service using the specified AWS account credentials provider. Default client settings will be used.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
-
AmazonConfigAsyncClient
public AmazonConfigAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on Config Service using the provided AWS account credentials provider and client configuration options.Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections()
.- Parameters:
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).- See Also:
-
AmazonConfigAsyncClient
public AmazonConfigAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Config Service using the specified AWS account credentials provider and executor service. Default client settings will be used.- Parameters:
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.
-
AmazonConfigAsyncClient
public AmazonConfigAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Config Service using the specified AWS account credentials provider, executor service, and client configuration options.- Parameters:
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.
-
-
Method Details
-
getExecutorService
Returns the executor service used by this client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
deleteConfigRuleAsync
Description copied from interface:AmazonConfigAsync
Deletes the specified AWS Config rule and all of its evaluation results.
AWS Config sets the state of a rule to
DELETING
until the deletion is complete. You cannot update a rule while it is in this state. If you make aPutConfigRule
orDeleteConfigRule
request for the rule, you will receive aResourceInUseException
.You can check the state of a rule by using the
DescribeConfigRules
request.- Specified by:
deleteConfigRuleAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteConfigRule operation returned by the service.
-
deleteConfigRuleAsync
public Future<DeleteConfigRuleResult> deleteConfigRuleAsync(DeleteConfigRuleRequest request, AsyncHandler<DeleteConfigRuleRequest, DeleteConfigRuleResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Deletes the specified AWS Config rule and all of its evaluation results.
AWS Config sets the state of a rule to
DELETING
until the deletion is complete. You cannot update a rule while it is in this state. If you make aPutConfigRule
orDeleteConfigRule
request for the rule, you will receive aResourceInUseException
.You can check the state of a rule by using the
DescribeConfigRules
request.- Specified by:
deleteConfigRuleAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteConfigRule operation returned by the service.
-
deleteDeliveryChannelAsync
public Future<DeleteDeliveryChannelResult> deleteDeliveryChannelAsync(DeleteDeliveryChannelRequest request) Description copied from interface:AmazonConfigAsync
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.
- Specified by:
deleteDeliveryChannelAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the DeleteDeliveryChannel action. The action accepts the following data in JSON format.- Returns:
- A Java Future containing the result of the DeleteDeliveryChannel operation returned by the service.
-
deleteDeliveryChannelAsync
public Future<DeleteDeliveryChannelResult> deleteDeliveryChannelAsync(DeleteDeliveryChannelRequest request, AsyncHandler<DeleteDeliveryChannelRequest, DeleteDeliveryChannelResult> asyncHandler) Description copied from interface:AmazonConfigAsync
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.
- Specified by:
deleteDeliveryChannelAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the DeleteDeliveryChannel action. The action accepts the following data in JSON format.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteDeliveryChannel operation returned by the service.
-
deliverConfigSnapshotAsync
public Future<DeliverConfigSnapshotResult> deliverConfigSnapshotAsync(DeliverConfigSnapshotRequest request) Description copied from interface:AmazonConfigAsync
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.
- Notification of starting the delivery.
- Notification of delivery completed, if the delivery was successfully completed.
- Notification of delivery failure, if the delivery failed to complete.
- Specified by:
deliverConfigSnapshotAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the DeliverConfigSnapshot action.- Returns:
- A Java Future containing the result of the DeliverConfigSnapshot operation returned by the service.
-
deliverConfigSnapshotAsync
public Future<DeliverConfigSnapshotResult> deliverConfigSnapshotAsync(DeliverConfigSnapshotRequest request, AsyncHandler<DeliverConfigSnapshotRequest, DeliverConfigSnapshotResult> asyncHandler) Description copied from interface:AmazonConfigAsync
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.
- Notification of starting the delivery.
- Notification of delivery completed, if the delivery was successfully completed.
- Notification of delivery failure, if the delivery failed to complete.
- Specified by:
deliverConfigSnapshotAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the DeliverConfigSnapshot action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeliverConfigSnapshot operation returned by the service.
-
describeComplianceByConfigRuleAsync
public Future<DescribeComplianceByConfigRuleResult> describeComplianceByConfigRuleAsync(DescribeComplianceByConfigRuleRequest request) Description copied from interface:AmazonConfigAsync
Indicates whether the specified AWS Config rules are compliant. If a rule is noncompliant, this action returns the number of AWS resources that do not comply with the rule.
A rule is compliant if all of the evaluated resources comply with it, and it is noncompliant if any of these resources do not comply.
If AWS Config has no current evaluation results for the rule, it returns
INSUFFICIENT_DATA
. This result might indicate one of the following conditions:- AWS Config has never invoked an evaluation for the rule. To check
whether it has, use the
DescribeConfigRuleEvaluationStatus
action to get theLastSuccessfulInvocationTime
andLastFailedInvocationTime
. - The rule's AWS Lambda function is failing to send evaluation results
to AWS Config. Verify that the role that you assigned to your
configuration recorder includes the
config:PutEvaluations
permission. If the rule is a customer managed rule, verify that the AWS Lambda execution role includes theconfig:PutEvaluations
permission. - The rule's AWS Lambda function has returned
NOT_APPLICABLE
for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
- Specified by:
describeComplianceByConfigRuleAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeComplianceByConfigRule operation returned by the service.
- AWS Config has never invoked an evaluation for the rule. To check
whether it has, use the
-
describeComplianceByConfigRuleAsync
public Future<DescribeComplianceByConfigRuleResult> describeComplianceByConfigRuleAsync(DescribeComplianceByConfigRuleRequest request, AsyncHandler<DescribeComplianceByConfigRuleRequest, DescribeComplianceByConfigRuleResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Indicates whether the specified AWS Config rules are compliant. If a rule is noncompliant, this action returns the number of AWS resources that do not comply with the rule.
A rule is compliant if all of the evaluated resources comply with it, and it is noncompliant if any of these resources do not comply.
If AWS Config has no current evaluation results for the rule, it returns
INSUFFICIENT_DATA
. This result might indicate one of the following conditions:- AWS Config has never invoked an evaluation for the rule. To check
whether it has, use the
DescribeConfigRuleEvaluationStatus
action to get theLastSuccessfulInvocationTime
andLastFailedInvocationTime
. - The rule's AWS Lambda function is failing to send evaluation results
to AWS Config. Verify that the role that you assigned to your
configuration recorder includes the
config:PutEvaluations
permission. If the rule is a customer managed rule, verify that the AWS Lambda execution role includes theconfig:PutEvaluations
permission. - The rule's AWS Lambda function has returned
NOT_APPLICABLE
for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
- Specified by:
describeComplianceByConfigRuleAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeComplianceByConfigRule operation returned by the service.
- AWS Config has never invoked an evaluation for the rule. To check
whether it has, use the
-
describeComplianceByConfigRuleAsync
Simplified method form for invoking the DescribeComplianceByConfigRule operation.- Specified by:
describeComplianceByConfigRuleAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeComplianceByConfigRuleAsync
public Future<DescribeComplianceByConfigRuleResult> describeComplianceByConfigRuleAsync(AsyncHandler<DescribeComplianceByConfigRuleRequest, DescribeComplianceByConfigRuleResult> asyncHandler) Simplified method form for invoking the DescribeComplianceByConfigRule operation with an AsyncHandler.- Specified by:
describeComplianceByConfigRuleAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeComplianceByResourceAsync
public Future<DescribeComplianceByResourceResult> describeComplianceByResourceAsync(DescribeComplianceByResourceRequest request) Description copied from interface:AmazonConfigAsync
Indicates whether the specified AWS resources are compliant. If a resource is noncompliant, this action returns the number of AWS Config rules that the resource does not comply with.
A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these rules.
If AWS Config has no current evaluation results for the resource, it returns
INSUFFICIENT_DATA
. This result might indicate one of the following conditions about the rules that evaluate the resource:- AWS Config has never invoked an evaluation for the rule. To check
whether it has, use the
DescribeConfigRuleEvaluationStatus
action to get theLastSuccessfulInvocationTime
andLastFailedInvocationTime
. - The rule's AWS Lambda function is failing to send evaluation results
to AWS Config. Verify that the role that you assigned to your
configuration recorder includes the
config:PutEvaluations
permission. If the rule is a customer managed rule, verify that the AWS Lambda execution role includes theconfig:PutEvaluations
permission. - The rule's AWS Lambda function has returned
NOT_APPLICABLE
for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
- Specified by:
describeComplianceByResourceAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeComplianceByResource operation returned by the service.
- AWS Config has never invoked an evaluation for the rule. To check
whether it has, use the
-
describeComplianceByResourceAsync
public Future<DescribeComplianceByResourceResult> describeComplianceByResourceAsync(DescribeComplianceByResourceRequest request, AsyncHandler<DescribeComplianceByResourceRequest, DescribeComplianceByResourceResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Indicates whether the specified AWS resources are compliant. If a resource is noncompliant, this action returns the number of AWS Config rules that the resource does not comply with.
A resource is compliant if it complies with all the AWS Config rules that evaluate it. It is noncompliant if it does not comply with one or more of these rules.
If AWS Config has no current evaluation results for the resource, it returns
INSUFFICIENT_DATA
. This result might indicate one of the following conditions about the rules that evaluate the resource:- AWS Config has never invoked an evaluation for the rule. To check
whether it has, use the
DescribeConfigRuleEvaluationStatus
action to get theLastSuccessfulInvocationTime
andLastFailedInvocationTime
. - The rule's AWS Lambda function is failing to send evaluation results
to AWS Config. Verify that the role that you assigned to your
configuration recorder includes the
config:PutEvaluations
permission. If the rule is a customer managed rule, verify that the AWS Lambda execution role includes theconfig:PutEvaluations
permission. - The rule's AWS Lambda function has returned
NOT_APPLICABLE
for all evaluation results. This can occur if the resources were deleted or removed from the rule's scope.
- Specified by:
describeComplianceByResourceAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeComplianceByResource operation returned by the service.
- AWS Config has never invoked an evaluation for the rule. To check
whether it has, use the
-
describeComplianceByResourceAsync
Simplified method form for invoking the DescribeComplianceByResource operation.- Specified by:
describeComplianceByResourceAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeComplianceByResourceAsync
public Future<DescribeComplianceByResourceResult> describeComplianceByResourceAsync(AsyncHandler<DescribeComplianceByResourceRequest, DescribeComplianceByResourceResult> asyncHandler) Simplified method form for invoking the DescribeComplianceByResource operation with an AsyncHandler.- Specified by:
describeComplianceByResourceAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeConfigRuleEvaluationStatusAsync
public Future<DescribeConfigRuleEvaluationStatusResult> describeConfigRuleEvaluationStatusAsync(DescribeConfigRuleEvaluationStatusRequest request) Description copied from interface:AmazonConfigAsync
Returns status information for each of your AWS managed Config rules. The status includes information such as the last time AWS Config invoked the rule, the last time AWS Config failed to invoke the rule, and the related error for the last failure.
- Specified by:
describeConfigRuleEvaluationStatusAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeConfigRuleEvaluationStatus operation returned by the service.
-
describeConfigRuleEvaluationStatusAsync
public Future<DescribeConfigRuleEvaluationStatusResult> describeConfigRuleEvaluationStatusAsync(DescribeConfigRuleEvaluationStatusRequest request, AsyncHandler<DescribeConfigRuleEvaluationStatusRequest, DescribeConfigRuleEvaluationStatusResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Returns status information for each of your AWS managed Config rules. The status includes information such as the last time AWS Config invoked the rule, the last time AWS Config failed to invoke the rule, and the related error for the last failure.
- Specified by:
describeConfigRuleEvaluationStatusAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeConfigRuleEvaluationStatus operation returned by the service.
-
describeConfigRuleEvaluationStatusAsync
Simplified method form for invoking the DescribeConfigRuleEvaluationStatus operation.- Specified by:
describeConfigRuleEvaluationStatusAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeConfigRuleEvaluationStatusAsync
public Future<DescribeConfigRuleEvaluationStatusResult> describeConfigRuleEvaluationStatusAsync(AsyncHandler<DescribeConfigRuleEvaluationStatusRequest, DescribeConfigRuleEvaluationStatusResult> asyncHandler) Simplified method form for invoking the DescribeConfigRuleEvaluationStatus operation with an AsyncHandler.- Specified by:
describeConfigRuleEvaluationStatusAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeConfigRulesAsync
public Future<DescribeConfigRulesResult> describeConfigRulesAsync(DescribeConfigRulesRequest request) Description copied from interface:AmazonConfigAsync
Returns details about your AWS Config rules.
- Specified by:
describeConfigRulesAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeConfigRules operation returned by the service.
-
describeConfigRulesAsync
public Future<DescribeConfigRulesResult> describeConfigRulesAsync(DescribeConfigRulesRequest request, AsyncHandler<DescribeConfigRulesRequest, DescribeConfigRulesResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Returns details about your AWS Config rules.
- Specified by:
describeConfigRulesAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeConfigRules operation returned by the service.
-
describeConfigRulesAsync
Simplified method form for invoking the DescribeConfigRules operation.- Specified by:
describeConfigRulesAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeConfigRulesAsync
public Future<DescribeConfigRulesResult> describeConfigRulesAsync(AsyncHandler<DescribeConfigRulesRequest, DescribeConfigRulesResult> asyncHandler) Simplified method form for invoking the DescribeConfigRules operation with an AsyncHandler.- Specified by:
describeConfigRulesAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeConfigurationRecorderStatusAsync
public Future<DescribeConfigurationRecorderStatusResult> describeConfigurationRecorderStatusAsync(DescribeConfigurationRecorderStatusRequest request) Description copied from interface:AmazonConfigAsync
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.
Currently, you can specify only one configuration recorder per account. - Specified by:
describeConfigurationRecorderStatusAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the DescribeConfigurationRecorderStatus action.- Returns:
- A Java Future containing the result of the DescribeConfigurationRecorderStatus operation returned by the service.
-
describeConfigurationRecorderStatusAsync
public Future<DescribeConfigurationRecorderStatusResult> describeConfigurationRecorderStatusAsync(DescribeConfigurationRecorderStatusRequest request, AsyncHandler<DescribeConfigurationRecorderStatusRequest, DescribeConfigurationRecorderStatusResult> asyncHandler) Description copied from interface:AmazonConfigAsync
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.
Currently, you can specify only one configuration recorder per account. - Specified by:
describeConfigurationRecorderStatusAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the DescribeConfigurationRecorderStatus action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeConfigurationRecorderStatus operation returned by the service.
-
describeConfigurationRecorderStatusAsync
Simplified method form for invoking the DescribeConfigurationRecorderStatus operation.- Specified by:
describeConfigurationRecorderStatusAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeConfigurationRecorderStatusAsync
public Future<DescribeConfigurationRecorderStatusResult> describeConfigurationRecorderStatusAsync(AsyncHandler<DescribeConfigurationRecorderStatusRequest, DescribeConfigurationRecorderStatusResult> asyncHandler) Simplified method form for invoking the DescribeConfigurationRecorderStatus operation with an AsyncHandler.- Specified by:
describeConfigurationRecorderStatusAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeConfigurationRecordersAsync
public Future<DescribeConfigurationRecordersResult> describeConfigurationRecordersAsync(DescribeConfigurationRecordersRequest request) Description copied from interface:AmazonConfigAsync
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.
Currently, you can specify only one configuration recorder per account.
- Specified by:
describeConfigurationRecordersAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the DescribeConfigurationRecorders action.- Returns:
- A Java Future containing the result of the DescribeConfigurationRecorders operation returned by the service.
-
describeConfigurationRecordersAsync
public Future<DescribeConfigurationRecordersResult> describeConfigurationRecordersAsync(DescribeConfigurationRecordersRequest request, AsyncHandler<DescribeConfigurationRecordersRequest, DescribeConfigurationRecordersResult> asyncHandler) Description copied from interface:AmazonConfigAsync
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.
Currently, you can specify only one configuration recorder per account.
- Specified by:
describeConfigurationRecordersAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the DescribeConfigurationRecorders action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeConfigurationRecorders operation returned by the service.
-
describeConfigurationRecordersAsync
Simplified method form for invoking the DescribeConfigurationRecorders operation.- Specified by:
describeConfigurationRecordersAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeConfigurationRecordersAsync
public Future<DescribeConfigurationRecordersResult> describeConfigurationRecordersAsync(AsyncHandler<DescribeConfigurationRecordersRequest, DescribeConfigurationRecordersResult> asyncHandler) Simplified method form for invoking the DescribeConfigurationRecorders operation with an AsyncHandler.- Specified by:
describeConfigurationRecordersAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeDeliveryChannelStatusAsync
public Future<DescribeDeliveryChannelStatusResult> describeDeliveryChannelStatusAsync(DescribeDeliveryChannelStatusRequest request) Description copied from interface:AmazonConfigAsync
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.
Currently, you can specify only one delivery channel per account. - Specified by:
describeDeliveryChannelStatusAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the DeliveryChannelStatus action.- Returns:
- A Java Future containing the result of the DescribeDeliveryChannelStatus operation returned by the service.
-
describeDeliveryChannelStatusAsync
public Future<DescribeDeliveryChannelStatusResult> describeDeliveryChannelStatusAsync(DescribeDeliveryChannelStatusRequest request, AsyncHandler<DescribeDeliveryChannelStatusRequest, DescribeDeliveryChannelStatusResult> asyncHandler) Description copied from interface:AmazonConfigAsync
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.
Currently, you can specify only one delivery channel per account. - Specified by:
describeDeliveryChannelStatusAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the DeliveryChannelStatus action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeDeliveryChannelStatus operation returned by the service.
-
describeDeliveryChannelStatusAsync
Simplified method form for invoking the DescribeDeliveryChannelStatus operation.- Specified by:
describeDeliveryChannelStatusAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeDeliveryChannelStatusAsync
public Future<DescribeDeliveryChannelStatusResult> describeDeliveryChannelStatusAsync(AsyncHandler<DescribeDeliveryChannelStatusRequest, DescribeDeliveryChannelStatusResult> asyncHandler) Simplified method form for invoking the DescribeDeliveryChannelStatus operation with an AsyncHandler.- Specified by:
describeDeliveryChannelStatusAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeDeliveryChannelsAsync
public Future<DescribeDeliveryChannelsResult> describeDeliveryChannelsAsync(DescribeDeliveryChannelsRequest request) Description copied from interface:AmazonConfigAsync
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.
Currently, you can specify only one delivery channel per account.
- Specified by:
describeDeliveryChannelsAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the DescribeDeliveryChannels action.- Returns:
- A Java Future containing the result of the DescribeDeliveryChannels operation returned by the service.
-
describeDeliveryChannelsAsync
public Future<DescribeDeliveryChannelsResult> describeDeliveryChannelsAsync(DescribeDeliveryChannelsRequest request, AsyncHandler<DescribeDeliveryChannelsRequest, DescribeDeliveryChannelsResult> asyncHandler) Description copied from interface:AmazonConfigAsync
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.
Currently, you can specify only one delivery channel per account.
- Specified by:
describeDeliveryChannelsAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the DescribeDeliveryChannels action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeDeliveryChannels operation returned by the service.
-
describeDeliveryChannelsAsync
Simplified method form for invoking the DescribeDeliveryChannels operation.- Specified by:
describeDeliveryChannelsAsync
in interfaceAmazonConfigAsync
- See Also:
-
describeDeliveryChannelsAsync
public Future<DescribeDeliveryChannelsResult> describeDeliveryChannelsAsync(AsyncHandler<DescribeDeliveryChannelsRequest, DescribeDeliveryChannelsResult> asyncHandler) Simplified method form for invoking the DescribeDeliveryChannels operation with an AsyncHandler.- Specified by:
describeDeliveryChannelsAsync
in interfaceAmazonConfigAsync
- See Also:
-
getComplianceDetailsByConfigRuleAsync
public Future<GetComplianceDetailsByConfigRuleResult> getComplianceDetailsByConfigRuleAsync(GetComplianceDetailsByConfigRuleRequest request) Description copied from interface:AmazonConfigAsync
Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.
- Specified by:
getComplianceDetailsByConfigRuleAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetComplianceDetailsByConfigRule operation returned by the service.
-
getComplianceDetailsByConfigRuleAsync
public Future<GetComplianceDetailsByConfigRuleResult> getComplianceDetailsByConfigRuleAsync(GetComplianceDetailsByConfigRuleRequest request, AsyncHandler<GetComplianceDetailsByConfigRuleRequest, GetComplianceDetailsByConfigRuleResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Returns the evaluation results for the specified AWS Config rule. The results indicate which AWS resources were evaluated by the rule, when each resource was last evaluated, and whether each resource complies with the rule.
- Specified by:
getComplianceDetailsByConfigRuleAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetComplianceDetailsByConfigRule operation returned by the service.
-
getComplianceDetailsByResourceAsync
public Future<GetComplianceDetailsByResourceResult> getComplianceDetailsByResourceAsync(GetComplianceDetailsByResourceRequest request) Description copied from interface:AmazonConfigAsync
Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule.
- Specified by:
getComplianceDetailsByResourceAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetComplianceDetailsByResource operation returned by the service.
-
getComplianceDetailsByResourceAsync
public Future<GetComplianceDetailsByResourceResult> getComplianceDetailsByResourceAsync(GetComplianceDetailsByResourceRequest request, AsyncHandler<GetComplianceDetailsByResourceRequest, GetComplianceDetailsByResourceResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Returns the evaluation results for the specified AWS resource. The results indicate which AWS Config rules were used to evaluate the resource, when each rule was last used, and whether the resource complies with each rule.
- Specified by:
getComplianceDetailsByResourceAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetComplianceDetailsByResource operation returned by the service.
-
getComplianceSummaryByConfigRuleAsync
public Future<GetComplianceSummaryByConfigRuleResult> getComplianceSummaryByConfigRuleAsync(GetComplianceSummaryByConfigRuleRequest request) Description copied from interface:AmazonConfigAsync
Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.
- Specified by:
getComplianceSummaryByConfigRuleAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetComplianceSummaryByConfigRule operation returned by the service.
-
getComplianceSummaryByConfigRuleAsync
public Future<GetComplianceSummaryByConfigRuleResult> getComplianceSummaryByConfigRuleAsync(GetComplianceSummaryByConfigRuleRequest request, AsyncHandler<GetComplianceSummaryByConfigRuleRequest, GetComplianceSummaryByConfigRuleResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.
- Specified by:
getComplianceSummaryByConfigRuleAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetComplianceSummaryByConfigRule operation returned by the service.
-
getComplianceSummaryByConfigRuleAsync
Simplified method form for invoking the GetComplianceSummaryByConfigRule operation.- Specified by:
getComplianceSummaryByConfigRuleAsync
in interfaceAmazonConfigAsync
- See Also:
-
getComplianceSummaryByConfigRuleAsync
public Future<GetComplianceSummaryByConfigRuleResult> getComplianceSummaryByConfigRuleAsync(AsyncHandler<GetComplianceSummaryByConfigRuleRequest, GetComplianceSummaryByConfigRuleResult> asyncHandler) Simplified method form for invoking the GetComplianceSummaryByConfigRule operation with an AsyncHandler.- Specified by:
getComplianceSummaryByConfigRuleAsync
in interfaceAmazonConfigAsync
- See Also:
-
getComplianceSummaryByResourceTypeAsync
public Future<GetComplianceSummaryByResourceTypeResult> getComplianceSummaryByResourceTypeAsync(GetComplianceSummaryByResourceTypeRequest request) Description copied from interface:AmazonConfigAsync
Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100.
- Specified by:
getComplianceSummaryByResourceTypeAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetComplianceSummaryByResourceType operation returned by the service.
-
getComplianceSummaryByResourceTypeAsync
public Future<GetComplianceSummaryByResourceTypeResult> getComplianceSummaryByResourceTypeAsync(GetComplianceSummaryByResourceTypeRequest request, AsyncHandler<GetComplianceSummaryByResourceTypeRequest, GetComplianceSummaryByResourceTypeResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Returns the number of resources that are compliant and the number that are noncompliant. You can specify one or more resource types to get these numbers for each resource type. The maximum number returned is 100.
- Specified by:
getComplianceSummaryByResourceTypeAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetComplianceSummaryByResourceType operation returned by the service.
-
getComplianceSummaryByResourceTypeAsync
Simplified method form for invoking the GetComplianceSummaryByResourceType operation.- Specified by:
getComplianceSummaryByResourceTypeAsync
in interfaceAmazonConfigAsync
- See Also:
-
getComplianceSummaryByResourceTypeAsync
public Future<GetComplianceSummaryByResourceTypeResult> getComplianceSummaryByResourceTypeAsync(AsyncHandler<GetComplianceSummaryByResourceTypeRequest, GetComplianceSummaryByResourceTypeResult> asyncHandler) Simplified method form for invoking the GetComplianceSummaryByResourceType operation with an AsyncHandler.- Specified by:
getComplianceSummaryByResourceTypeAsync
in interfaceAmazonConfigAsync
- See Also:
-
getResourceConfigHistoryAsync
public Future<GetResourceConfigHistoryResult> getResourceConfigHistoryAsync(GetResourceConfigHistoryRequest request) Description copied from interface:AmazonConfigAsync
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.
The response is paginated, and by default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the
limit
parameter. The response includes anextToken
string, and to get the next page of results, run the request again and enter this string for thenextToken
parameter.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 thenextToken
.- Specified by:
getResourceConfigHistoryAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the GetResourceConfigHistory action.- Returns:
- A Java Future containing the result of the GetResourceConfigHistory operation returned by the service.
-
getResourceConfigHistoryAsync
public Future<GetResourceConfigHistoryResult> getResourceConfigHistoryAsync(GetResourceConfigHistoryRequest request, AsyncHandler<GetResourceConfigHistoryRequest, GetResourceConfigHistoryResult> asyncHandler) Description copied from interface:AmazonConfigAsync
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.
The response is paginated, and by default, AWS Config returns a limit of 10 configuration items per page. You can customize this number with the
limit
parameter. The response includes anextToken
string, and to get the next page of results, run the request again and enter this string for thenextToken
parameter.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 thenextToken
.- Specified by:
getResourceConfigHistoryAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the GetResourceConfigHistory action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetResourceConfigHistory operation returned by the service.
-
listDiscoveredResourcesAsync
public Future<ListDiscoveredResourcesResult> listDiscoveredResourcesAsync(ListDiscoveredResourcesRequest request) Description copied from interface:AmazonConfigAsync
Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name.
You can specify either resource IDs or a resource name but not both in the same request. The response is paginated, and by default AWS Config lists 100 resource identifiers on each page. You can customize this number with the
limit
parameter. The response includes anextToken
string, and to get the next page of results, run the request again and enter this string for thenextToken
parameter.- Specified by:
listDiscoveredResourcesAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListDiscoveredResources operation returned by the service.
-
listDiscoveredResourcesAsync
public Future<ListDiscoveredResourcesResult> listDiscoveredResourcesAsync(ListDiscoveredResourcesRequest request, AsyncHandler<ListDiscoveredResourcesRequest, ListDiscoveredResourcesResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Accepts a resource type and returns a list of resource identifiers for the resources of that type. A resource identifier includes the resource type, ID, and (if available) the custom resource name. The results consist of resources that AWS Config has discovered, including those that AWS Config is not currently recording. You can narrow the results to include only resources that have specific resource IDs or a resource name.
You can specify either resource IDs or a resource name but not both in the same request. The response is paginated, and by default AWS Config lists 100 resource identifiers on each page. You can customize this number with the
limit
parameter. The response includes anextToken
string, and to get the next page of results, run the request again and enter this string for thenextToken
parameter.- Specified by:
listDiscoveredResourcesAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListDiscoveredResources operation returned by the service.
-
putConfigRuleAsync
Description copied from interface:AmazonConfigAsync
Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations.
You can use this action for customer managed Config rules and AWS managed Config rules. A customer managed Config rule is a custom rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that is provided by AWS Config.
If you are adding a new customer managed Config rule, you must first create the AWS Lambda function that the rule invokes to evaluate your resources. When you use the
PutConfigRule
action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. Specify the ARN for theSourceIdentifier
key. This key is part of theSource
object, which is part of theConfigRule
object.If you are adding a new AWS managed Config rule, specify the rule's identifier for the
SourceIdentifier
key. To reference AWS managed Config rule identifiers, see Using AWS Managed Config Rules.For any new rule that you add, specify the
ConfigRuleName
in theConfigRule
object. Do not specify theConfigRuleArn
or theConfigRuleId
. These values are generated by AWS Config for new rules.If you are updating a rule that you have added previously, specify the rule's
ConfigRuleName
,ConfigRuleId
, orConfigRuleArn
in theConfigRule
data type that you use in this request.The maximum number of rules that AWS Config supports is 25.
For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.
- Specified by:
putConfigRuleAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the PutConfigRule operation returned by the service.
-
putConfigRuleAsync
public Future<PutConfigRuleResult> putConfigRuleAsync(PutConfigRuleRequest request, AsyncHandler<PutConfigRuleRequest, PutConfigRuleResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations.
You can use this action for customer managed Config rules and AWS managed Config rules. A customer managed Config rule is a custom rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that is provided by AWS Config.
If you are adding a new customer managed Config rule, you must first create the AWS Lambda function that the rule invokes to evaluate your resources. When you use the
PutConfigRule
action to add the rule to AWS Config, you must specify the Amazon Resource Name (ARN) that AWS Lambda assigns to the function. Specify the ARN for theSourceIdentifier
key. This key is part of theSource
object, which is part of theConfigRule
object.If you are adding a new AWS managed Config rule, specify the rule's identifier for the
SourceIdentifier
key. To reference AWS managed Config rule identifiers, see Using AWS Managed Config Rules.For any new rule that you add, specify the
ConfigRuleName
in theConfigRule
object. Do not specify theConfigRuleArn
or theConfigRuleId
. These values are generated by AWS Config for new rules.If you are updating a rule that you have added previously, specify the rule's
ConfigRuleName
,ConfigRuleId
, orConfigRuleArn
in theConfigRule
data type that you use in this request.The maximum number of rules that AWS Config supports is 25.
For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.
- Specified by:
putConfigRuleAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the PutConfigRule operation returned by the service.
-
putConfigurationRecorderAsync
public Future<PutConfigurationRecorderResult> putConfigurationRecorderAsync(PutConfigurationRecorderRequest request) Description copied from interface:AmazonConfigAsync
Creates a new configuration recorder to record the selected resource configurations.
You can use this action to change the role
roleARN
and/or therecordingGroup
of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role.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.- Specified by:
putConfigurationRecorderAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the PutConfigurationRecorder action.- Returns:
- A Java Future containing the result of the PutConfigurationRecorder operation returned by the service.
-
putConfigurationRecorderAsync
public Future<PutConfigurationRecorderResult> putConfigurationRecorderAsync(PutConfigurationRecorderRequest request, AsyncHandler<PutConfigurationRecorderRequest, PutConfigurationRecorderResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Creates a new configuration recorder to record the selected resource configurations.
You can use this action to change the role
roleARN
and/or therecordingGroup
of an existing recorder. To change the role, call the action on the existing configuration recorder and specify a role.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.- Specified by:
putConfigurationRecorderAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the PutConfigurationRecorder action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the PutConfigurationRecorder operation returned by the service.
-
putDeliveryChannelAsync
Description copied from interface:AmazonConfigAsync
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.
Currently, you can specify only one delivery channel per account.
- Specified by:
putDeliveryChannelAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the PutDeliveryChannel action.- Returns:
- A Java Future containing the result of the PutDeliveryChannel operation returned by the service.
-
putDeliveryChannelAsync
public Future<PutDeliveryChannelResult> putDeliveryChannelAsync(PutDeliveryChannelRequest request, AsyncHandler<PutDeliveryChannelRequest, PutDeliveryChannelResult> asyncHandler) Description copied from interface:AmazonConfigAsync
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.
Currently, you can specify only one delivery channel per account.
- Specified by:
putDeliveryChannelAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the PutDeliveryChannel action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the PutDeliveryChannel operation returned by the service.
-
putEvaluationsAsync
Description copied from interface:AmazonConfigAsync
Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule.
- Specified by:
putEvaluationsAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the PutEvaluations operation returned by the service.
-
putEvaluationsAsync
public Future<PutEvaluationsResult> putEvaluationsAsync(PutEvaluationsRequest request, AsyncHandler<PutEvaluationsRequest, PutEvaluationsResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Used by an AWS Lambda function to deliver evaluation results to AWS Config. This action is required in every AWS Lambda function that is invoked by an AWS Config rule.
- Specified by:
putEvaluationsAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the PutEvaluations operation returned by the service.
-
startConfigurationRecorderAsync
public Future<StartConfigurationRecorderResult> startConfigurationRecorderAsync(StartConfigurationRecorderRequest request) Description copied from interface:AmazonConfigAsync
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.
- Specified by:
startConfigurationRecorderAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the StartConfigurationRecorder action.- Returns:
- A Java Future containing the result of the StartConfigurationRecorder operation returned by the service.
-
startConfigurationRecorderAsync
public Future<StartConfigurationRecorderResult> startConfigurationRecorderAsync(StartConfigurationRecorderRequest request, AsyncHandler<StartConfigurationRecorderRequest, StartConfigurationRecorderResult> asyncHandler) Description copied from interface:AmazonConfigAsync
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.
- Specified by:
startConfigurationRecorderAsync
in interfaceAmazonConfigAsync
- Parameters:
request
- The input for the StartConfigurationRecorder action.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the StartConfigurationRecorder operation returned by the service.
-
stopConfigurationRecorderAsync
public Future<StopConfigurationRecorderResult> stopConfigurationRecorderAsync(StopConfigurationRecorderRequest request) Description copied from interface:AmazonConfigAsync
Stops recording configurations of the AWS resources you have selected to record in your AWS account.
- Specified by:
stopConfigurationRecorderAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-The input for the StopConfigurationRecorder action.
- Returns:
- A Java Future containing the result of the StopConfigurationRecorder operation returned by the service.
-
stopConfigurationRecorderAsync
public Future<StopConfigurationRecorderResult> stopConfigurationRecorderAsync(StopConfigurationRecorderRequest request, AsyncHandler<StopConfigurationRecorderRequest, StopConfigurationRecorderResult> asyncHandler) Description copied from interface:AmazonConfigAsync
Stops recording configurations of the AWS resources you have selected to record in your AWS account.
- Specified by:
stopConfigurationRecorderAsync
in interfaceAmazonConfigAsync
- Parameters:
request
-The input for the StopConfigurationRecorder action.
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the StopConfigurationRecorder operation returned by the service.
-
shutdown
public void shutdown()Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should callgetExecutorService().shutdown()
followed bygetExecutorService().awaitTermination()
prior to calling this method.- Specified by:
shutdown
in interfaceAmazonConfig
- Overrides:
shutdown
in classAmazonWebServiceClient
-