@Generated(value="software.amazon.awssdk:codegen") public interface ConfigAsyncClient extends SdkClient
builder()
method.
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.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default CompletableFuture<BatchGetAggregateResourceConfigResponse> |
batchGetAggregateResourceConfig(BatchGetAggregateResourceConfigRequest batchGetAggregateResourceConfigRequest)
Returns the current configuration items for resources that are present in your AWS Config aggregator.
|
default CompletableFuture<BatchGetAggregateResourceConfigResponse> |
batchGetAggregateResourceConfig(Consumer<BatchGetAggregateResourceConfigRequest.Builder> batchGetAggregateResourceConfigRequest)
Returns the current configuration items for resources that are present in your AWS Config aggregator.
|
default CompletableFuture<BatchGetResourceConfigResponse> |
batchGetResourceConfig(BatchGetResourceConfigRequest batchGetResourceConfigRequest)
Returns the current configuration for one or more requested resources.
|
default CompletableFuture<BatchGetResourceConfigResponse> |
batchGetResourceConfig(Consumer<BatchGetResourceConfigRequest.Builder> batchGetResourceConfigRequest)
Returns the current configuration for one or more requested resources.
|
static ConfigAsyncClientBuilder |
builder()
Create a builder that can be used to configure and create a
ConfigAsyncClient . |
static ConfigAsyncClient |
create()
Create a
ConfigAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<DeleteAggregationAuthorizationResponse> |
deleteAggregationAuthorization(Consumer<DeleteAggregationAuthorizationRequest.Builder> deleteAggregationAuthorizationRequest)
Deletes the authorization granted to the specified configuration aggregator account in a specified region.
|
default CompletableFuture<DeleteAggregationAuthorizationResponse> |
deleteAggregationAuthorization(DeleteAggregationAuthorizationRequest deleteAggregationAuthorizationRequest)
Deletes the authorization granted to the specified configuration aggregator account in a specified region.
|
default CompletableFuture<DeleteConfigRuleResponse> |
deleteConfigRule(Consumer<DeleteConfigRuleRequest.Builder> deleteConfigRuleRequest)
Deletes the specified AWS Config rule and all of its evaluation results.
|
default CompletableFuture<DeleteConfigRuleResponse> |
deleteConfigRule(DeleteConfigRuleRequest deleteConfigRuleRequest)
Deletes the specified AWS Config rule and all of its evaluation results.
|
default CompletableFuture<DeleteConfigurationAggregatorResponse> |
deleteConfigurationAggregator(Consumer<DeleteConfigurationAggregatorRequest.Builder> deleteConfigurationAggregatorRequest)
Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.
|
default CompletableFuture<DeleteConfigurationAggregatorResponse> |
deleteConfigurationAggregator(DeleteConfigurationAggregatorRequest deleteConfigurationAggregatorRequest)
Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.
|
default CompletableFuture<DeleteConfigurationRecorderResponse> |
deleteConfigurationRecorder(Consumer<DeleteConfigurationRecorderRequest.Builder> deleteConfigurationRecorderRequest)
Deletes the configuration recorder.
|
default CompletableFuture<DeleteConfigurationRecorderResponse> |
deleteConfigurationRecorder(DeleteConfigurationRecorderRequest deleteConfigurationRecorderRequest)
Deletes the configuration recorder.
|
default CompletableFuture<DeleteDeliveryChannelResponse> |
deleteDeliveryChannel(Consumer<DeleteDeliveryChannelRequest.Builder> deleteDeliveryChannelRequest)
Deletes the delivery channel.
|
default CompletableFuture<DeleteDeliveryChannelResponse> |
deleteDeliveryChannel(DeleteDeliveryChannelRequest deleteDeliveryChannelRequest)
Deletes the delivery channel.
|
default CompletableFuture<DeleteEvaluationResultsResponse> |
deleteEvaluationResults(Consumer<DeleteEvaluationResultsRequest.Builder> deleteEvaluationResultsRequest)
Deletes the evaluation results for the specified AWS Config rule.
|
default CompletableFuture<DeleteEvaluationResultsResponse> |
deleteEvaluationResults(DeleteEvaluationResultsRequest deleteEvaluationResultsRequest)
Deletes the evaluation results for the specified AWS Config rule.
|
default CompletableFuture<DeletePendingAggregationRequestResponse> |
deletePendingAggregationRequest(Consumer<DeletePendingAggregationRequestRequest.Builder> deletePendingAggregationRequestRequest)
Deletes pending authorization requests for a specified aggregator account in a specified region.
|
default CompletableFuture<DeletePendingAggregationRequestResponse> |
deletePendingAggregationRequest(DeletePendingAggregationRequestRequest deletePendingAggregationRequestRequest)
Deletes pending authorization requests for a specified aggregator account in a specified region.
|
default CompletableFuture<DeleteRetentionConfigurationResponse> |
deleteRetentionConfiguration(Consumer<DeleteRetentionConfigurationRequest.Builder> deleteRetentionConfigurationRequest)
Deletes the retention configuration.
|
default CompletableFuture<DeleteRetentionConfigurationResponse> |
deleteRetentionConfiguration(DeleteRetentionConfigurationRequest deleteRetentionConfigurationRequest)
Deletes the retention configuration.
|
default CompletableFuture<DeliverConfigSnapshotResponse> |
deliverConfigSnapshot(Consumer<DeliverConfigSnapshotRequest.Builder> deliverConfigSnapshotRequest)
Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel.
|
default CompletableFuture<DeliverConfigSnapshotResponse> |
deliverConfigSnapshot(DeliverConfigSnapshotRequest deliverConfigSnapshotRequest)
Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel.
|
default CompletableFuture<DescribeAggregateComplianceByConfigRulesResponse> |
describeAggregateComplianceByConfigRules(Consumer<DescribeAggregateComplianceByConfigRulesRequest.Builder> describeAggregateComplianceByConfigRulesRequest)
Returns a list of compliant and noncompliant rules with the number of resources for compliant and noncompliant
rules.
|
default CompletableFuture<DescribeAggregateComplianceByConfigRulesResponse> |
describeAggregateComplianceByConfigRules(DescribeAggregateComplianceByConfigRulesRequest describeAggregateComplianceByConfigRulesRequest)
Returns a list of compliant and noncompliant rules with the number of resources for compliant and noncompliant
rules.
|
default CompletableFuture<DescribeAggregationAuthorizationsResponse> |
describeAggregationAuthorizations()
Returns a list of authorizations granted to various aggregator accounts and regions.
|
default CompletableFuture<DescribeAggregationAuthorizationsResponse> |
describeAggregationAuthorizations(Consumer<DescribeAggregationAuthorizationsRequest.Builder> describeAggregationAuthorizationsRequest)
Returns a list of authorizations granted to various aggregator accounts and regions.
|
default CompletableFuture<DescribeAggregationAuthorizationsResponse> |
describeAggregationAuthorizations(DescribeAggregationAuthorizationsRequest describeAggregationAuthorizationsRequest)
Returns a list of authorizations granted to various aggregator accounts and regions.
|
default CompletableFuture<DescribeComplianceByConfigRuleResponse> |
describeComplianceByConfigRule()
Indicates whether the specified AWS Config rules are compliant.
|
default CompletableFuture<DescribeComplianceByConfigRuleResponse> |
describeComplianceByConfigRule(Consumer<DescribeComplianceByConfigRuleRequest.Builder> describeComplianceByConfigRuleRequest)
Indicates whether the specified AWS Config rules are compliant.
|
default CompletableFuture<DescribeComplianceByConfigRuleResponse> |
describeComplianceByConfigRule(DescribeComplianceByConfigRuleRequest describeComplianceByConfigRuleRequest)
Indicates whether the specified AWS Config rules are compliant.
|
default CompletableFuture<DescribeComplianceByResourceResponse> |
describeComplianceByResource()
Indicates whether the specified AWS resources are compliant.
|
default CompletableFuture<DescribeComplianceByResourceResponse> |
describeComplianceByResource(Consumer<DescribeComplianceByResourceRequest.Builder> describeComplianceByResourceRequest)
Indicates whether the specified AWS resources are compliant.
|
default CompletableFuture<DescribeComplianceByResourceResponse> |
describeComplianceByResource(DescribeComplianceByResourceRequest describeComplianceByResourceRequest)
Indicates whether the specified AWS resources are compliant.
|
default CompletableFuture<DescribeConfigRuleEvaluationStatusResponse> |
describeConfigRuleEvaluationStatus()
Returns status information for each of your AWS managed Config rules.
|
default CompletableFuture<DescribeConfigRuleEvaluationStatusResponse> |
describeConfigRuleEvaluationStatus(Consumer<DescribeConfigRuleEvaluationStatusRequest.Builder> describeConfigRuleEvaluationStatusRequest)
Returns status information for each of your AWS managed Config rules.
|
default CompletableFuture<DescribeConfigRuleEvaluationStatusResponse> |
describeConfigRuleEvaluationStatus(DescribeConfigRuleEvaluationStatusRequest describeConfigRuleEvaluationStatusRequest)
Returns status information for each of your AWS managed Config rules.
|
default CompletableFuture<DescribeConfigRulesResponse> |
describeConfigRules()
Returns details about your AWS Config rules.
|
default CompletableFuture<DescribeConfigRulesResponse> |
describeConfigRules(Consumer<DescribeConfigRulesRequest.Builder> describeConfigRulesRequest)
Returns details about your AWS Config rules.
|
default CompletableFuture<DescribeConfigRulesResponse> |
describeConfigRules(DescribeConfigRulesRequest describeConfigRulesRequest)
Returns details about your AWS Config rules.
|
default CompletableFuture<DescribeConfigurationAggregatorsResponse> |
describeConfigurationAggregators()
Returns the details of one or more configuration aggregators.
|
default CompletableFuture<DescribeConfigurationAggregatorsResponse> |
describeConfigurationAggregators(Consumer<DescribeConfigurationAggregatorsRequest.Builder> describeConfigurationAggregatorsRequest)
Returns the details of one or more configuration aggregators.
|
default CompletableFuture<DescribeConfigurationAggregatorsResponse> |
describeConfigurationAggregators(DescribeConfigurationAggregatorsRequest describeConfigurationAggregatorsRequest)
Returns the details of one or more configuration aggregators.
|
default CompletableFuture<DescribeConfigurationAggregatorSourcesStatusResponse> |
describeConfigurationAggregatorSourcesStatus(Consumer<DescribeConfigurationAggregatorSourcesStatusRequest.Builder> describeConfigurationAggregatorSourcesStatusRequest)
Returns status information for sources within an aggregator.
|
default CompletableFuture<DescribeConfigurationAggregatorSourcesStatusResponse> |
describeConfigurationAggregatorSourcesStatus(DescribeConfigurationAggregatorSourcesStatusRequest describeConfigurationAggregatorSourcesStatusRequest)
Returns status information for sources within an aggregator.
|
default CompletableFuture<DescribeConfigurationRecordersResponse> |
describeConfigurationRecorders()
Returns the details for the specified configuration recorders.
|
default CompletableFuture<DescribeConfigurationRecordersResponse> |
describeConfigurationRecorders(Consumer<DescribeConfigurationRecordersRequest.Builder> describeConfigurationRecordersRequest)
Returns the details for the specified configuration recorders.
|
default CompletableFuture<DescribeConfigurationRecordersResponse> |
describeConfigurationRecorders(DescribeConfigurationRecordersRequest describeConfigurationRecordersRequest)
Returns the details for the specified configuration recorders.
|
default CompletableFuture<DescribeConfigurationRecorderStatusResponse> |
describeConfigurationRecorderStatus()
Returns the current status of the specified configuration recorder.
|
default CompletableFuture<DescribeConfigurationRecorderStatusResponse> |
describeConfigurationRecorderStatus(Consumer<DescribeConfigurationRecorderStatusRequest.Builder> describeConfigurationRecorderStatusRequest)
Returns the current status of the specified configuration recorder.
|
default CompletableFuture<DescribeConfigurationRecorderStatusResponse> |
describeConfigurationRecorderStatus(DescribeConfigurationRecorderStatusRequest describeConfigurationRecorderStatusRequest)
Returns the current status of the specified configuration recorder.
|
default CompletableFuture<DescribeDeliveryChannelsResponse> |
describeDeliveryChannels()
Returns details about the specified delivery channel.
|
default CompletableFuture<DescribeDeliveryChannelsResponse> |
describeDeliveryChannels(Consumer<DescribeDeliveryChannelsRequest.Builder> describeDeliveryChannelsRequest)
Returns details about the specified delivery channel.
|
default CompletableFuture<DescribeDeliveryChannelsResponse> |
describeDeliveryChannels(DescribeDeliveryChannelsRequest describeDeliveryChannelsRequest)
Returns details about the specified delivery channel.
|
default CompletableFuture<DescribeDeliveryChannelStatusResponse> |
describeDeliveryChannelStatus()
Returns the current status of the specified delivery channel.
|
default CompletableFuture<DescribeDeliveryChannelStatusResponse> |
describeDeliveryChannelStatus(Consumer<DescribeDeliveryChannelStatusRequest.Builder> describeDeliveryChannelStatusRequest)
Returns the current status of the specified delivery channel.
|
default CompletableFuture<DescribeDeliveryChannelStatusResponse> |
describeDeliveryChannelStatus(DescribeDeliveryChannelStatusRequest describeDeliveryChannelStatusRequest)
Returns the current status of the specified delivery channel.
|
default CompletableFuture<DescribePendingAggregationRequestsResponse> |
describePendingAggregationRequests()
Returns a list of all pending aggregation requests.
|
default CompletableFuture<DescribePendingAggregationRequestsResponse> |
describePendingAggregationRequests(Consumer<DescribePendingAggregationRequestsRequest.Builder> describePendingAggregationRequestsRequest)
Returns a list of all pending aggregation requests.
|
default CompletableFuture<DescribePendingAggregationRequestsResponse> |
describePendingAggregationRequests(DescribePendingAggregationRequestsRequest describePendingAggregationRequestsRequest)
Returns a list of all pending aggregation requests.
|
default CompletableFuture<DescribeRetentionConfigurationsResponse> |
describeRetentionConfigurations()
Returns the details of one or more retention configurations.
|
default CompletableFuture<DescribeRetentionConfigurationsResponse> |
describeRetentionConfigurations(Consumer<DescribeRetentionConfigurationsRequest.Builder> describeRetentionConfigurationsRequest)
Returns the details of one or more retention configurations.
|
default CompletableFuture<DescribeRetentionConfigurationsResponse> |
describeRetentionConfigurations(DescribeRetentionConfigurationsRequest describeRetentionConfigurationsRequest)
Returns the details of one or more retention configurations.
|
default CompletableFuture<GetAggregateComplianceDetailsByConfigRuleResponse> |
getAggregateComplianceDetailsByConfigRule(Consumer<GetAggregateComplianceDetailsByConfigRuleRequest.Builder> getAggregateComplianceDetailsByConfigRuleRequest)
Returns the evaluation results for the specified AWS Config rule for a specific resource in a rule.
|
default CompletableFuture<GetAggregateComplianceDetailsByConfigRuleResponse> |
getAggregateComplianceDetailsByConfigRule(GetAggregateComplianceDetailsByConfigRuleRequest getAggregateComplianceDetailsByConfigRuleRequest)
Returns the evaluation results for the specified AWS Config rule for a specific resource in a rule.
|
default CompletableFuture<GetAggregateConfigRuleComplianceSummaryResponse> |
getAggregateConfigRuleComplianceSummary(Consumer<GetAggregateConfigRuleComplianceSummaryRequest.Builder> getAggregateConfigRuleComplianceSummaryRequest)
Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator.
|
default CompletableFuture<GetAggregateConfigRuleComplianceSummaryResponse> |
getAggregateConfigRuleComplianceSummary(GetAggregateConfigRuleComplianceSummaryRequest getAggregateConfigRuleComplianceSummaryRequest)
Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator.
|
default CompletableFuture<GetAggregateDiscoveredResourceCountsResponse> |
getAggregateDiscoveredResourceCounts(Consumer<GetAggregateDiscoveredResourceCountsRequest.Builder> getAggregateDiscoveredResourceCountsRequest)
Returns the resource counts across accounts and regions that are present in your AWS Config aggregator.
|
default CompletableFuture<GetAggregateDiscoveredResourceCountsResponse> |
getAggregateDiscoveredResourceCounts(GetAggregateDiscoveredResourceCountsRequest getAggregateDiscoveredResourceCountsRequest)
Returns the resource counts across accounts and regions that are present in your AWS Config aggregator.
|
default CompletableFuture<GetAggregateResourceConfigResponse> |
getAggregateResourceConfig(Consumer<GetAggregateResourceConfigRequest.Builder> getAggregateResourceConfigRequest)
Returns configuration item that is aggregated for your specific resource in a specific source account and region.
|
default CompletableFuture<GetAggregateResourceConfigResponse> |
getAggregateResourceConfig(GetAggregateResourceConfigRequest getAggregateResourceConfigRequest)
Returns configuration item that is aggregated for your specific resource in a specific source account and region.
|
default CompletableFuture<GetComplianceDetailsByConfigRuleResponse> |
getComplianceDetailsByConfigRule(Consumer<GetComplianceDetailsByConfigRuleRequest.Builder> getComplianceDetailsByConfigRuleRequest)
Returns the evaluation results for the specified AWS Config rule.
|
default CompletableFuture<GetComplianceDetailsByConfigRuleResponse> |
getComplianceDetailsByConfigRule(GetComplianceDetailsByConfigRuleRequest getComplianceDetailsByConfigRuleRequest)
Returns the evaluation results for the specified AWS Config rule.
|
default CompletableFuture<GetComplianceDetailsByResourceResponse> |
getComplianceDetailsByResource(Consumer<GetComplianceDetailsByResourceRequest.Builder> getComplianceDetailsByResourceRequest)
Returns the evaluation results for the specified AWS resource.
|
default CompletableFuture<GetComplianceDetailsByResourceResponse> |
getComplianceDetailsByResource(GetComplianceDetailsByResourceRequest getComplianceDetailsByResourceRequest)
Returns the evaluation results for the specified AWS resource.
|
default CompletableFuture<GetComplianceSummaryByConfigRuleResponse> |
getComplianceSummaryByConfigRule()
Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.
|
default CompletableFuture<GetComplianceSummaryByConfigRuleResponse> |
getComplianceSummaryByConfigRule(Consumer<GetComplianceSummaryByConfigRuleRequest.Builder> getComplianceSummaryByConfigRuleRequest)
Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.
|
default CompletableFuture<GetComplianceSummaryByConfigRuleResponse> |
getComplianceSummaryByConfigRule(GetComplianceSummaryByConfigRuleRequest getComplianceSummaryByConfigRuleRequest)
Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.
|
default CompletableFuture<GetComplianceSummaryByResourceTypeResponse> |
getComplianceSummaryByResourceType()
Returns the number of resources that are compliant and the number that are noncompliant.
|
default CompletableFuture<GetComplianceSummaryByResourceTypeResponse> |
getComplianceSummaryByResourceType(Consumer<GetComplianceSummaryByResourceTypeRequest.Builder> getComplianceSummaryByResourceTypeRequest)
Returns the number of resources that are compliant and the number that are noncompliant.
|
default CompletableFuture<GetComplianceSummaryByResourceTypeResponse> |
getComplianceSummaryByResourceType(GetComplianceSummaryByResourceTypeRequest getComplianceSummaryByResourceTypeRequest)
Returns the number of resources that are compliant and the number that are noncompliant.
|
default CompletableFuture<GetDiscoveredResourceCountsResponse> |
getDiscoveredResourceCounts()
Returns the resource types, the number of each resource type, and the total number of resources that AWS Config
is recording in this region for your AWS account.
|
default CompletableFuture<GetDiscoveredResourceCountsResponse> |
getDiscoveredResourceCounts(Consumer<GetDiscoveredResourceCountsRequest.Builder> getDiscoveredResourceCountsRequest)
Returns the resource types, the number of each resource type, and the total number of resources that AWS Config
is recording in this region for your AWS account.
|
default CompletableFuture<GetDiscoveredResourceCountsResponse> |
getDiscoveredResourceCounts(GetDiscoveredResourceCountsRequest getDiscoveredResourceCountsRequest)
Returns the resource types, the number of each resource type, and the total number of resources that AWS Config
is recording in this region for your AWS account.
|
default CompletableFuture<GetResourceConfigHistoryResponse> |
getResourceConfigHistory(Consumer<GetResourceConfigHistoryRequest.Builder> getResourceConfigHistoryRequest)
Returns a list of configuration items for the specified resource.
|
default CompletableFuture<GetResourceConfigHistoryResponse> |
getResourceConfigHistory(GetResourceConfigHistoryRequest getResourceConfigHistoryRequest)
Returns a list of configuration items for the specified resource.
|
default GetResourceConfigHistoryPublisher |
getResourceConfigHistoryPaginator(Consumer<GetResourceConfigHistoryRequest.Builder> getResourceConfigHistoryRequest)
Returns a list of configuration items for the specified resource.
|
default GetResourceConfigHistoryPublisher |
getResourceConfigHistoryPaginator(GetResourceConfigHistoryRequest getResourceConfigHistoryRequest)
Returns a list of configuration items for the specified resource.
|
default CompletableFuture<ListAggregateDiscoveredResourcesResponse> |
listAggregateDiscoveredResources(Consumer<ListAggregateDiscoveredResourcesRequest.Builder> listAggregateDiscoveredResourcesRequest)
Accepts a resource type and returns a list of resource identifiers that are aggregated for a specific resource
type across accounts and regions.
|
default CompletableFuture<ListAggregateDiscoveredResourcesResponse> |
listAggregateDiscoveredResources(ListAggregateDiscoveredResourcesRequest listAggregateDiscoveredResourcesRequest)
Accepts a resource type and returns a list of resource identifiers that are aggregated for a specific resource
type across accounts and regions.
|
default CompletableFuture<ListDiscoveredResourcesResponse> |
listDiscoveredResources(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest)
Accepts a resource type and returns a list of resource identifiers for the resources of that type.
|
default CompletableFuture<ListDiscoveredResourcesResponse> |
listDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest)
Accepts a resource type and returns a list of resource identifiers for the resources of that type.
|
default CompletableFuture<PutAggregationAuthorizationResponse> |
putAggregationAuthorization(Consumer<PutAggregationAuthorizationRequest.Builder> putAggregationAuthorizationRequest)
Authorizes the aggregator account and region to collect data from the source account and region.
|
default CompletableFuture<PutAggregationAuthorizationResponse> |
putAggregationAuthorization(PutAggregationAuthorizationRequest putAggregationAuthorizationRequest)
Authorizes the aggregator account and region to collect data from the source account and region.
|
default CompletableFuture<PutConfigRuleResponse> |
putConfigRule(Consumer<PutConfigRuleRequest.Builder> putConfigRuleRequest)
Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired
configurations.
|
default CompletableFuture<PutConfigRuleResponse> |
putConfigRule(PutConfigRuleRequest putConfigRuleRequest)
Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired
configurations.
|
default CompletableFuture<PutConfigurationAggregatorResponse> |
putConfigurationAggregator(Consumer<PutConfigurationAggregatorRequest.Builder> putConfigurationAggregatorRequest)
Creates and updates the configuration aggregator with the selected source accounts and regions.
|
default CompletableFuture<PutConfigurationAggregatorResponse> |
putConfigurationAggregator(PutConfigurationAggregatorRequest putConfigurationAggregatorRequest)
Creates and updates the configuration aggregator with the selected source accounts and regions.
|
default CompletableFuture<PutConfigurationRecorderResponse> |
putConfigurationRecorder(Consumer<PutConfigurationRecorderRequest.Builder> putConfigurationRecorderRequest)
Creates a new configuration recorder to record the selected resource configurations.
|
default CompletableFuture<PutConfigurationRecorderResponse> |
putConfigurationRecorder(PutConfigurationRecorderRequest putConfigurationRecorderRequest)
Creates a new configuration recorder to record the selected resource configurations.
|
default CompletableFuture<PutDeliveryChannelResponse> |
putDeliveryChannel(Consumer<PutDeliveryChannelRequest.Builder> putDeliveryChannelRequest)
Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS
topic.
|
default CompletableFuture<PutDeliveryChannelResponse> |
putDeliveryChannel(PutDeliveryChannelRequest putDeliveryChannelRequest)
Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS
topic.
|
default CompletableFuture<PutEvaluationsResponse> |
putEvaluations(Consumer<PutEvaluationsRequest.Builder> putEvaluationsRequest)
Used by an AWS Lambda function to deliver evaluation results to AWS Config.
|
default CompletableFuture<PutEvaluationsResponse> |
putEvaluations(PutEvaluationsRequest putEvaluationsRequest)
Used by an AWS Lambda function to deliver evaluation results to AWS Config.
|
default CompletableFuture<PutRetentionConfigurationResponse> |
putRetentionConfiguration(Consumer<PutRetentionConfigurationRequest.Builder> putRetentionConfigurationRequest)
Creates and updates the retention configuration with details about retention period (number of days) that AWS
Config stores your historical information.
|
default CompletableFuture<PutRetentionConfigurationResponse> |
putRetentionConfiguration(PutRetentionConfigurationRequest putRetentionConfigurationRequest)
Creates and updates the retention configuration with details about retention period (number of days) that AWS
Config stores your historical information.
|
default CompletableFuture<StartConfigRulesEvaluationResponse> |
startConfigRulesEvaluation(Consumer<StartConfigRulesEvaluationRequest.Builder> startConfigRulesEvaluationRequest)
Runs an on-demand evaluation for the specified AWS Config rules against the last known configuration state of the
resources.
|
default CompletableFuture<StartConfigRulesEvaluationResponse> |
startConfigRulesEvaluation(StartConfigRulesEvaluationRequest startConfigRulesEvaluationRequest)
Runs an on-demand evaluation for the specified AWS Config rules against the last known configuration state of the
resources.
|
default CompletableFuture<StartConfigurationRecorderResponse> |
startConfigurationRecorder(Consumer<StartConfigurationRecorderRequest.Builder> startConfigurationRecorderRequest)
Starts recording configurations of the AWS resources you have selected to record in your AWS account.
|
default CompletableFuture<StartConfigurationRecorderResponse> |
startConfigurationRecorder(StartConfigurationRecorderRequest startConfigurationRecorderRequest)
Starts recording configurations of the AWS resources you have selected to record in your AWS account.
|
default CompletableFuture<StopConfigurationRecorderResponse> |
stopConfigurationRecorder(Consumer<StopConfigurationRecorderRequest.Builder> stopConfigurationRecorderRequest)
Stops recording configurations of the AWS resources you have selected to record in your AWS account.
|
default CompletableFuture<StopConfigurationRecorderResponse> |
stopConfigurationRecorder(StopConfigurationRecorderRequest stopConfigurationRecorderRequest)
Stops recording configurations of the AWS resources you have selected to record in your AWS account.
|
serviceName
close
static final String SERVICE_NAME
static ConfigAsyncClient create()
ConfigAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static ConfigAsyncClientBuilder builder()
ConfigAsyncClient
.default CompletableFuture<BatchGetAggregateResourceConfigResponse> batchGetAggregateResourceConfig(BatchGetAggregateResourceConfigRequest batchGetAggregateResourceConfigRequest)
Returns the current configuration items for resources that are present in your AWS Config aggregator. The
operation also returns a list of resources that are not processed in the current request. If there are no
unprocessed resources, the operation returns an empty unprocessedResourceIdentifiers
list.
The API does not return results for deleted resources.
The API does not return tags and relationships.
batchGetAggregateResourceConfigRequest
- default CompletableFuture<BatchGetAggregateResourceConfigResponse> batchGetAggregateResourceConfig(Consumer<BatchGetAggregateResourceConfigRequest.Builder> batchGetAggregateResourceConfigRequest)
Returns the current configuration items for resources that are present in your AWS Config aggregator. The
operation also returns a list of resources that are not processed in the current request. If there are no
unprocessed resources, the operation returns an empty unprocessedResourceIdentifiers
list.
The API does not return results for deleted resources.
The API does not return tags and relationships.
This is a convenience which creates an instance of the BatchGetAggregateResourceConfigRequest.Builder
avoiding the need to create one manually via BatchGetAggregateResourceConfigRequest.builder()
batchGetAggregateResourceConfigRequest
- A Consumer
that will call methods on BatchGetAggregateResourceConfigRequest.Builder
to
create a request.default CompletableFuture<BatchGetResourceConfigResponse> batchGetResourceConfig(BatchGetResourceConfigRequest batchGetResourceConfigRequest)
Returns the current configuration for one or more requested resources. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceKeys list.
The API does not return results for deleted resources.
The API does not return any tags for the requested resources. This information is filtered out of the supplementaryConfiguration section of the API response.
batchGetResourceConfigRequest
- default CompletableFuture<BatchGetResourceConfigResponse> batchGetResourceConfig(Consumer<BatchGetResourceConfigRequest.Builder> batchGetResourceConfigRequest)
Returns the current configuration for one or more requested resources. The operation also returns a list of resources that are not processed in the current request. If there are no unprocessed resources, the operation returns an empty unprocessedResourceKeys list.
The API does not return results for deleted resources.
The API does not return any tags for the requested resources. This information is filtered out of the supplementaryConfiguration section of the API response.
This is a convenience which creates an instance of the BatchGetResourceConfigRequest.Builder
avoiding the
need to create one manually via BatchGetResourceConfigRequest.builder()
batchGetResourceConfigRequest
- A Consumer
that will call methods on BatchGetResourceConfigRequest.Builder
to create a
request.default CompletableFuture<DeleteAggregationAuthorizationResponse> deleteAggregationAuthorization(DeleteAggregationAuthorizationRequest deleteAggregationAuthorizationRequest)
Deletes the authorization granted to the specified configuration aggregator account in a specified region.
deleteAggregationAuthorizationRequest
- default CompletableFuture<DeleteAggregationAuthorizationResponse> deleteAggregationAuthorization(Consumer<DeleteAggregationAuthorizationRequest.Builder> deleteAggregationAuthorizationRequest)
Deletes the authorization granted to the specified configuration aggregator account in a specified region.
This is a convenience which creates an instance of the DeleteAggregationAuthorizationRequest.Builder
avoiding the need to create one manually via DeleteAggregationAuthorizationRequest.builder()
deleteAggregationAuthorizationRequest
- A Consumer
that will call methods on DeleteAggregationAuthorizationRequest.Builder
to
create a request.default CompletableFuture<DeleteConfigRuleResponse> deleteConfigRule(DeleteConfigRuleRequest deleteConfigRuleRequest)
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 a PutConfigRule
or DeleteConfigRule
request
for the rule, you will receive a ResourceInUseException
.
You can check the state of a rule by using the DescribeConfigRules
request.
deleteConfigRuleRequest
- default CompletableFuture<DeleteConfigRuleResponse> deleteConfigRule(Consumer<DeleteConfigRuleRequest.Builder> deleteConfigRuleRequest)
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 a PutConfigRule
or DeleteConfigRule
request
for the rule, you will receive a ResourceInUseException
.
You can check the state of a rule by using the DescribeConfigRules
request.
This is a convenience which creates an instance of the DeleteConfigRuleRequest.Builder
avoiding the need
to create one manually via DeleteConfigRuleRequest.builder()
deleteConfigRuleRequest
- A Consumer
that will call methods on DeleteConfigRuleRequest.Builder
to create a request.default CompletableFuture<DeleteConfigurationAggregatorResponse> deleteConfigurationAggregator(DeleteConfigurationAggregatorRequest deleteConfigurationAggregatorRequest)
Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.
deleteConfigurationAggregatorRequest
- default CompletableFuture<DeleteConfigurationAggregatorResponse> deleteConfigurationAggregator(Consumer<DeleteConfigurationAggregatorRequest.Builder> deleteConfigurationAggregatorRequest)
Deletes the specified configuration aggregator and the aggregated data associated with the aggregator.
This is a convenience which creates an instance of the DeleteConfigurationAggregatorRequest.Builder
avoiding the need to create one manually via DeleteConfigurationAggregatorRequest.builder()
deleteConfigurationAggregatorRequest
- A Consumer
that will call methods on DeleteConfigurationAggregatorRequest.Builder
to
create a request.default CompletableFuture<DeleteConfigurationRecorderResponse> deleteConfigurationRecorder(DeleteConfigurationRecorderRequest deleteConfigurationRecorderRequest)
Deletes the configuration recorder.
After the configuration recorder is deleted, AWS Config will not record resource configuration changes until you create a new configuration recorder.
This action does not delete the configuration information that was previously recorded. You will be able to
access the previously recorded information by using the GetResourceConfigHistory
action, but you
will not be able to access this information in the AWS Config console until you create a new configuration
recorder.
deleteConfigurationRecorderRequest
- The request object for the DeleteConfigurationRecorder
action.default CompletableFuture<DeleteConfigurationRecorderResponse> deleteConfigurationRecorder(Consumer<DeleteConfigurationRecorderRequest.Builder> deleteConfigurationRecorderRequest)
Deletes the configuration recorder.
After the configuration recorder is deleted, AWS Config will not record resource configuration changes until you create a new configuration recorder.
This action does not delete the configuration information that was previously recorded. You will be able to
access the previously recorded information by using the GetResourceConfigHistory
action, but you
will not be able to access this information in the AWS Config console until you create a new configuration
recorder.
This is a convenience which creates an instance of the DeleteConfigurationRecorderRequest.Builder
avoiding the need to create one manually via DeleteConfigurationRecorderRequest.builder()
deleteConfigurationRecorderRequest
- A Consumer
that will call methods on DeleteConfigurationRecorderRequest.Builder
to create
a request. The request object for the DeleteConfigurationRecorder
action.default CompletableFuture<DeleteDeliveryChannelResponse> deleteDeliveryChannel(DeleteDeliveryChannelRequest deleteDeliveryChannelRequest)
Deletes the delivery channel.
Before you can delete the delivery channel, you must stop the configuration recorder by using the StopConfigurationRecorder action.
deleteDeliveryChannelRequest
- The input for the DeleteDeliveryChannel action. The action accepts the following data, in JSON
format.default CompletableFuture<DeleteDeliveryChannelResponse> deleteDeliveryChannel(Consumer<DeleteDeliveryChannelRequest.Builder> deleteDeliveryChannelRequest)
Deletes the delivery channel.
Before you can delete the delivery channel, you must stop the configuration recorder by using the StopConfigurationRecorder action.
This is a convenience which creates an instance of the DeleteDeliveryChannelRequest.Builder
avoiding the
need to create one manually via DeleteDeliveryChannelRequest.builder()
deleteDeliveryChannelRequest
- A Consumer
that will call methods on DeleteDeliveryChannelRequest.Builder
to create a
request. The input for the DeleteDeliveryChannel action. The action accepts the following data, in
JSON format.default CompletableFuture<DeleteEvaluationResultsResponse> deleteEvaluationResults(DeleteEvaluationResultsRequest deleteEvaluationResultsRequest)
Deletes the evaluation results for the specified AWS Config rule. You can specify one AWS Config rule per request. After you delete the evaluation results, you can call the StartConfigRulesEvaluation API to start evaluating your AWS resources against the rule.
deleteEvaluationResultsRequest
- default CompletableFuture<DeleteEvaluationResultsResponse> deleteEvaluationResults(Consumer<DeleteEvaluationResultsRequest.Builder> deleteEvaluationResultsRequest)
Deletes the evaluation results for the specified AWS Config rule. You can specify one AWS Config rule per request. After you delete the evaluation results, you can call the StartConfigRulesEvaluation API to start evaluating your AWS resources against the rule.
This is a convenience which creates an instance of the DeleteEvaluationResultsRequest.Builder
avoiding
the need to create one manually via DeleteEvaluationResultsRequest.builder()
deleteEvaluationResultsRequest
- A Consumer
that will call methods on DeleteEvaluationResultsRequest.Builder
to create a
request.default CompletableFuture<DeletePendingAggregationRequestResponse> deletePendingAggregationRequest(DeletePendingAggregationRequestRequest deletePendingAggregationRequestRequest)
Deletes pending authorization requests for a specified aggregator account in a specified region.
deletePendingAggregationRequestRequest
- default CompletableFuture<DeletePendingAggregationRequestResponse> deletePendingAggregationRequest(Consumer<DeletePendingAggregationRequestRequest.Builder> deletePendingAggregationRequestRequest)
Deletes pending authorization requests for a specified aggregator account in a specified region.
This is a convenience which creates an instance of the DeletePendingAggregationRequestRequest.Builder
avoiding the need to create one manually via DeletePendingAggregationRequestRequest.builder()
deletePendingAggregationRequestRequest
- A Consumer
that will call methods on DeletePendingAggregationRequestRequest.Builder
to
create a request.default CompletableFuture<DeleteRetentionConfigurationResponse> deleteRetentionConfiguration(DeleteRetentionConfigurationRequest deleteRetentionConfigurationRequest)
Deletes the retention configuration.
deleteRetentionConfigurationRequest
- default CompletableFuture<DeleteRetentionConfigurationResponse> deleteRetentionConfiguration(Consumer<DeleteRetentionConfigurationRequest.Builder> deleteRetentionConfigurationRequest)
Deletes the retention configuration.
This is a convenience which creates an instance of the DeleteRetentionConfigurationRequest.Builder
avoiding the need to create one manually via DeleteRetentionConfigurationRequest.builder()
deleteRetentionConfigurationRequest
- A Consumer
that will call methods on DeleteRetentionConfigurationRequest.Builder
to create
a request.default CompletableFuture<DeliverConfigSnapshotResponse> deliverConfigSnapshot(DeliverConfigSnapshotRequest deliverConfigSnapshotRequest)
Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends the following notifications using an Amazon SNS topic that you have specified.
Notification of the start of the delivery.
Notification of the completion of the delivery, if the delivery was successfully completed.
Notification of delivery failure, if the delivery failed.
deliverConfigSnapshotRequest
- The input for the DeliverConfigSnapshot action.default CompletableFuture<DeliverConfigSnapshotResponse> deliverConfigSnapshot(Consumer<DeliverConfigSnapshotRequest.Builder> deliverConfigSnapshotRequest)
Schedules delivery of a configuration snapshot to the Amazon S3 bucket in the specified delivery channel. After the delivery has started, AWS Config sends the following notifications using an Amazon SNS topic that you have specified.
Notification of the start of the delivery.
Notification of the completion of the delivery, if the delivery was successfully completed.
Notification of delivery failure, if the delivery failed.
This is a convenience which creates an instance of the DeliverConfigSnapshotRequest.Builder
avoiding the
need to create one manually via DeliverConfigSnapshotRequest.builder()
deliverConfigSnapshotRequest
- A Consumer
that will call methods on DeliverConfigSnapshotRequest.Builder
to create a
request. The input for the DeliverConfigSnapshot action.default CompletableFuture<DescribeAggregateComplianceByConfigRulesResponse> describeAggregateComplianceByConfigRules(DescribeAggregateComplianceByConfigRulesRequest describeAggregateComplianceByConfigRulesRequest)
Returns a list of compliant and noncompliant rules with the number of resources for compliant and noncompliant rules.
The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
describeAggregateComplianceByConfigRulesRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeAggregateComplianceByConfigRulesResponse> describeAggregateComplianceByConfigRules(Consumer<DescribeAggregateComplianceByConfigRulesRequest.Builder> describeAggregateComplianceByConfigRulesRequest)
Returns a list of compliant and noncompliant rules with the number of resources for compliant and noncompliant rules.
The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
This is a convenience which creates an instance of the
DescribeAggregateComplianceByConfigRulesRequest.Builder
avoiding the need to create one manually via
DescribeAggregateComplianceByConfigRulesRequest.builder()
describeAggregateComplianceByConfigRulesRequest
- A Consumer
that will call methods on
DescribeAggregateComplianceByConfigRulesRequest.Builder
to create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeAggregationAuthorizationsResponse> describeAggregationAuthorizations(DescribeAggregationAuthorizationsRequest describeAggregationAuthorizationsRequest)
Returns a list of authorizations granted to various aggregator accounts and regions.
describeAggregationAuthorizationsRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeAggregationAuthorizationsResponse> describeAggregationAuthorizations(Consumer<DescribeAggregationAuthorizationsRequest.Builder> describeAggregationAuthorizationsRequest)
Returns a list of authorizations granted to various aggregator accounts and regions.
This is a convenience which creates an instance of the DescribeAggregationAuthorizationsRequest.Builder
avoiding the need to create one manually via DescribeAggregationAuthorizationsRequest.builder()
describeAggregationAuthorizationsRequest
- A Consumer
that will call methods on DescribeAggregationAuthorizationsRequest.Builder
to
create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeAggregationAuthorizationsResponse> describeAggregationAuthorizations()
Returns a list of authorizations granted to various aggregator accounts and regions.
nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeComplianceByConfigRuleResponse> describeComplianceByConfigRule(DescribeComplianceByConfigRuleRequest describeComplianceByConfigRuleRequest)
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. 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 the LastSuccessfulInvocationTime
and
LastFailedInvocationTime
.
The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role you
assigned to your configuration recorder includes the config:PutEvaluations
permission. If the rule
is a custom rule, verify that the AWS Lambda execution role includes the config: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.
describeComplianceByConfigRuleRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeComplianceByConfigRuleResponse> describeComplianceByConfigRule(Consumer<DescribeComplianceByConfigRuleRequest.Builder> describeComplianceByConfigRuleRequest)
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. 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 the LastSuccessfulInvocationTime
and
LastFailedInvocationTime
.
The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role you
assigned to your configuration recorder includes the config:PutEvaluations
permission. If the rule
is a custom rule, verify that the AWS Lambda execution role includes the config: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.
This is a convenience which creates an instance of the DescribeComplianceByConfigRuleRequest.Builder
avoiding the need to create one manually via DescribeComplianceByConfigRuleRequest.builder()
describeComplianceByConfigRuleRequest
- A Consumer
that will call methods on DescribeComplianceByConfigRuleRequest.Builder
to
create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeComplianceByConfigRuleResponse> describeComplianceByConfigRule()
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. 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 the LastSuccessfulInvocationTime
and
LastFailedInvocationTime
.
The rule's AWS Lambda function is failing to send evaluation results to AWS Config. Verify that the role you
assigned to your configuration recorder includes the config:PutEvaluations
permission. If the rule
is a custom rule, verify that the AWS Lambda execution role includes the config: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.
nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeComplianceByResourceResponse> describeComplianceByResource(DescribeComplianceByResourceRequest describeComplianceByResourceRequest)
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 the LastSuccessfulInvocationTime
and
LastFailedInvocationTime
.
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 custom rule, verify that the AWS Lambda execution role includes the config: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.
describeComplianceByResourceRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeComplianceByResourceResponse> describeComplianceByResource(Consumer<DescribeComplianceByResourceRequest.Builder> describeComplianceByResourceRequest)
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 the LastSuccessfulInvocationTime
and
LastFailedInvocationTime
.
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 custom rule, verify that the AWS Lambda execution role includes the config: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.
This is a convenience which creates an instance of the DescribeComplianceByResourceRequest.Builder
avoiding the need to create one manually via DescribeComplianceByResourceRequest.builder()
describeComplianceByResourceRequest
- A Consumer
that will call methods on DescribeComplianceByResourceRequest.Builder
to create
a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeComplianceByResourceResponse> describeComplianceByResource()
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 the LastSuccessfulInvocationTime
and
LastFailedInvocationTime
.
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 custom rule, verify that the AWS Lambda execution role includes the config: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.
nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeConfigRuleEvaluationStatusResponse> describeConfigRuleEvaluationStatus(DescribeConfigRuleEvaluationStatusRequest describeConfigRuleEvaluationStatusRequest)
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.
describeConfigRuleEvaluationStatusRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeConfigRuleEvaluationStatusResponse> describeConfigRuleEvaluationStatus(Consumer<DescribeConfigRuleEvaluationStatusRequest.Builder> describeConfigRuleEvaluationStatusRequest)
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.
This is a convenience which creates an instance of the DescribeConfigRuleEvaluationStatusRequest.Builder
avoiding the need to create one manually via DescribeConfigRuleEvaluationStatusRequest.builder()
describeConfigRuleEvaluationStatusRequest
- A Consumer
that will call methods on DescribeConfigRuleEvaluationStatusRequest.Builder
to
create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeConfigRuleEvaluationStatusResponse> describeConfigRuleEvaluationStatus()
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.
nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeConfigRulesResponse> describeConfigRules(DescribeConfigRulesRequest describeConfigRulesRequest)
Returns details about your AWS Config rules.
describeConfigRulesRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeConfigRulesResponse> describeConfigRules(Consumer<DescribeConfigRulesRequest.Builder> describeConfigRulesRequest)
Returns details about your AWS Config rules.
This is a convenience which creates an instance of the DescribeConfigRulesRequest.Builder
avoiding the
need to create one manually via DescribeConfigRulesRequest.builder()
describeConfigRulesRequest
- A Consumer
that will call methods on DescribeConfigRulesRequest.Builder
to create a
request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeConfigRulesResponse> describeConfigRules()
Returns details about your AWS Config rules.
nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeConfigurationAggregatorSourcesStatusResponse> describeConfigurationAggregatorSourcesStatus(DescribeConfigurationAggregatorSourcesStatusRequest describeConfigurationAggregatorSourcesStatusRequest)
Returns status information for sources within an aggregator. The status includes information about the last time AWS Config aggregated data from source accounts or AWS Config failed to aggregate data from source accounts with the related error code or message.
describeConfigurationAggregatorSourcesStatusRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeConfigurationAggregatorSourcesStatusResponse> describeConfigurationAggregatorSourcesStatus(Consumer<DescribeConfigurationAggregatorSourcesStatusRequest.Builder> describeConfigurationAggregatorSourcesStatusRequest)
Returns status information for sources within an aggregator. The status includes information about the last time AWS Config aggregated data from source accounts or AWS Config failed to aggregate data from source accounts with the related error code or message.
This is a convenience which creates an instance of the
DescribeConfigurationAggregatorSourcesStatusRequest.Builder
avoiding the need to create one manually via
DescribeConfigurationAggregatorSourcesStatusRequest.builder()
describeConfigurationAggregatorSourcesStatusRequest
- A Consumer
that will call methods on
DescribeConfigurationAggregatorSourcesStatusRequest.Builder
to create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeConfigurationAggregatorsResponse> describeConfigurationAggregators(DescribeConfigurationAggregatorsRequest describeConfigurationAggregatorsRequest)
Returns the details of one or more configuration aggregators. If the configuration aggregator is not specified, this action returns the details for all the configuration aggregators associated with the account.
describeConfigurationAggregatorsRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeConfigurationAggregatorsResponse> describeConfigurationAggregators(Consumer<DescribeConfigurationAggregatorsRequest.Builder> describeConfigurationAggregatorsRequest)
Returns the details of one or more configuration aggregators. If the configuration aggregator is not specified, this action returns the details for all the configuration aggregators associated with the account.
This is a convenience which creates an instance of the DescribeConfigurationAggregatorsRequest.Builder
avoiding the need to create one manually via DescribeConfigurationAggregatorsRequest.builder()
describeConfigurationAggregatorsRequest
- A Consumer
that will call methods on DescribeConfigurationAggregatorsRequest.Builder
to
create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeConfigurationAggregatorsResponse> describeConfigurationAggregators()
Returns the details of one or more configuration aggregators. If the configuration aggregator is not specified, this action returns the details for all the configuration aggregators associated with the account.
nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeConfigurationRecorderStatusResponse> describeConfigurationRecorderStatus(DescribeConfigurationRecorderStatusRequest describeConfigurationRecorderStatusRequest)
Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorders associated with the account.
Currently, you can specify only one configuration recorder per region in your account.
describeConfigurationRecorderStatusRequest
- The input for the DescribeConfigurationRecorderStatus action.default CompletableFuture<DescribeConfigurationRecorderStatusResponse> describeConfigurationRecorderStatus(Consumer<DescribeConfigurationRecorderStatusRequest.Builder> describeConfigurationRecorderStatusRequest)
Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorders associated with the account.
Currently, you can specify only one configuration recorder per region in your account.
This is a convenience which creates an instance of the DescribeConfigurationRecorderStatusRequest.Builder
avoiding the need to create one manually via DescribeConfigurationRecorderStatusRequest.builder()
describeConfigurationRecorderStatusRequest
- A Consumer
that will call methods on DescribeConfigurationRecorderStatusRequest.Builder
to
create a request. The input for the DescribeConfigurationRecorderStatus action.default CompletableFuture<DescribeConfigurationRecorderStatusResponse> describeConfigurationRecorderStatus()
Returns the current status of the specified configuration recorder. If a configuration recorder is not specified, this action returns the status of all configuration recorders associated with the account.
Currently, you can specify only one configuration recorder per region in your account.
default CompletableFuture<DescribeConfigurationRecordersResponse> describeConfigurationRecorders(DescribeConfigurationRecordersRequest describeConfigurationRecordersRequest)
Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account.
Currently, you can specify only one configuration recorder per region in your account.
describeConfigurationRecordersRequest
- The input for the DescribeConfigurationRecorders action.default CompletableFuture<DescribeConfigurationRecordersResponse> describeConfigurationRecorders(Consumer<DescribeConfigurationRecordersRequest.Builder> describeConfigurationRecordersRequest)
Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account.
Currently, you can specify only one configuration recorder per region in your account.
This is a convenience which creates an instance of the DescribeConfigurationRecordersRequest.Builder
avoiding the need to create one manually via DescribeConfigurationRecordersRequest.builder()
describeConfigurationRecordersRequest
- A Consumer
that will call methods on DescribeConfigurationRecordersRequest.Builder
to
create a request. The input for the DescribeConfigurationRecorders action.default CompletableFuture<DescribeConfigurationRecordersResponse> describeConfigurationRecorders()
Returns the details for the specified configuration recorders. If the configuration recorder is not specified, this action returns the details for all configuration recorders associated with the account.
Currently, you can specify only one configuration recorder per region in your account.
default CompletableFuture<DescribeDeliveryChannelStatusResponse> describeDeliveryChannelStatus(DescribeDeliveryChannelStatusRequest describeDeliveryChannelStatusRequest)
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 region in your account.
describeDeliveryChannelStatusRequest
- The input for the DeliveryChannelStatus action.default CompletableFuture<DescribeDeliveryChannelStatusResponse> describeDeliveryChannelStatus(Consumer<DescribeDeliveryChannelStatusRequest.Builder> describeDeliveryChannelStatusRequest)
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 region in your account.
This is a convenience which creates an instance of the DescribeDeliveryChannelStatusRequest.Builder
avoiding the need to create one manually via DescribeDeliveryChannelStatusRequest.builder()
describeDeliveryChannelStatusRequest
- A Consumer
that will call methods on DescribeDeliveryChannelStatusRequest.Builder
to
create a request. The input for the DeliveryChannelStatus action.default CompletableFuture<DescribeDeliveryChannelStatusResponse> describeDeliveryChannelStatus()
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 region in your account.
default CompletableFuture<DescribeDeliveryChannelsResponse> describeDeliveryChannels(DescribeDeliveryChannelsRequest describeDeliveryChannelsRequest)
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 region in your account.
describeDeliveryChannelsRequest
- The input for the DescribeDeliveryChannels action.default CompletableFuture<DescribeDeliveryChannelsResponse> describeDeliveryChannels(Consumer<DescribeDeliveryChannelsRequest.Builder> describeDeliveryChannelsRequest)
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 region in your account.
This is a convenience which creates an instance of the DescribeDeliveryChannelsRequest.Builder
avoiding
the need to create one manually via DescribeDeliveryChannelsRequest.builder()
describeDeliveryChannelsRequest
- A Consumer
that will call methods on DescribeDeliveryChannelsRequest.Builder
to create a
request. The input for the DescribeDeliveryChannels action.default CompletableFuture<DescribeDeliveryChannelsResponse> describeDeliveryChannels()
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 region in your account.
default CompletableFuture<DescribePendingAggregationRequestsResponse> describePendingAggregationRequests(DescribePendingAggregationRequestsRequest describePendingAggregationRequestsRequest)
Returns a list of all pending aggregation requests.
describePendingAggregationRequestsRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribePendingAggregationRequestsResponse> describePendingAggregationRequests(Consumer<DescribePendingAggregationRequestsRequest.Builder> describePendingAggregationRequestsRequest)
Returns a list of all pending aggregation requests.
This is a convenience which creates an instance of the DescribePendingAggregationRequestsRequest.Builder
avoiding the need to create one manually via DescribePendingAggregationRequestsRequest.builder()
describePendingAggregationRequestsRequest
- A Consumer
that will call methods on DescribePendingAggregationRequestsRequest.Builder
to
create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribePendingAggregationRequestsResponse> describePendingAggregationRequests()
Returns a list of all pending aggregation requests.
nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeRetentionConfigurationsResponse> describeRetentionConfigurations(DescribeRetentionConfigurationsRequest describeRetentionConfigurationsRequest)
Returns the details of one or more retention configurations. If the retention configuration name is not specified, this action returns the details for all the retention configurations for that account.
Currently, AWS Config supports only one retention configuration per region in your account.
describeRetentionConfigurationsRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeRetentionConfigurationsResponse> describeRetentionConfigurations(Consumer<DescribeRetentionConfigurationsRequest.Builder> describeRetentionConfigurationsRequest)
Returns the details of one or more retention configurations. If the retention configuration name is not specified, this action returns the details for all the retention configurations for that account.
Currently, AWS Config supports only one retention configuration per region in your account.
This is a convenience which creates an instance of the DescribeRetentionConfigurationsRequest.Builder
avoiding the need to create one manually via DescribeRetentionConfigurationsRequest.builder()
describeRetentionConfigurationsRequest
- A Consumer
that will call methods on DescribeRetentionConfigurationsRequest.Builder
to
create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<DescribeRetentionConfigurationsResponse> describeRetentionConfigurations()
Returns the details of one or more retention configurations. If the retention configuration name is not specified, this action returns the details for all the retention configurations for that account.
Currently, AWS Config supports only one retention configuration per region in your account.
nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetAggregateComplianceDetailsByConfigRuleResponse> getAggregateComplianceDetailsByConfigRule(GetAggregateComplianceDetailsByConfigRuleRequest getAggregateComplianceDetailsByConfigRuleRequest)
Returns the evaluation results for the specified AWS Config rule for a specific resource in a 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.
The results can return an empty result page. But if you have a nextToken, the results are displayed on the next page.
getAggregateComplianceDetailsByConfigRuleRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetAggregateComplianceDetailsByConfigRuleResponse> getAggregateComplianceDetailsByConfigRule(Consumer<GetAggregateComplianceDetailsByConfigRuleRequest.Builder> getAggregateComplianceDetailsByConfigRuleRequest)
Returns the evaluation results for the specified AWS Config rule for a specific resource in a 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.
The results can return an empty result page. But if you have a nextToken, the results are displayed on the next page.
This is a convenience which creates an instance of the
GetAggregateComplianceDetailsByConfigRuleRequest.Builder
avoiding the need to create one manually via
GetAggregateComplianceDetailsByConfigRuleRequest.builder()
getAggregateComplianceDetailsByConfigRuleRequest
- A Consumer
that will call methods on
GetAggregateComplianceDetailsByConfigRuleRequest.Builder
to create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetAggregateConfigRuleComplianceSummaryResponse> getAggregateConfigRuleComplianceSummary(GetAggregateConfigRuleComplianceSummaryRequest getAggregateConfigRuleComplianceSummaryRequest)
Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator.
The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
getAggregateConfigRuleComplianceSummaryRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetAggregateConfigRuleComplianceSummaryResponse> getAggregateConfigRuleComplianceSummary(Consumer<GetAggregateConfigRuleComplianceSummaryRequest.Builder> getAggregateConfigRuleComplianceSummaryRequest)
Returns the number of compliant and noncompliant rules for one or more accounts and regions in an aggregator.
The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
This is a convenience which creates an instance of the
GetAggregateConfigRuleComplianceSummaryRequest.Builder
avoiding the need to create one manually via
GetAggregateConfigRuleComplianceSummaryRequest.builder()
getAggregateConfigRuleComplianceSummaryRequest
- A Consumer
that will call methods on
GetAggregateConfigRuleComplianceSummaryRequest.Builder
to create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetAggregateDiscoveredResourceCountsResponse> getAggregateDiscoveredResourceCounts(GetAggregateDiscoveredResourceCountsRequest getAggregateDiscoveredResourceCountsRequest)
Returns the resource counts across accounts and regions that are present in your AWS Config aggregator. You can request the resource counts by providing filters and GroupByKey.
For example, if the input contains accountID 12345678910 and region us-east-1 in filters, the API returns the count of resources in account ID 12345678910 and region us-east-1. If the input contains ACCOUNT_ID as a GroupByKey, the API returns resource counts for all source accounts that are present in your aggregator.
getAggregateDiscoveredResourceCountsRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetAggregateDiscoveredResourceCountsResponse> getAggregateDiscoveredResourceCounts(Consumer<GetAggregateDiscoveredResourceCountsRequest.Builder> getAggregateDiscoveredResourceCountsRequest)
Returns the resource counts across accounts and regions that are present in your AWS Config aggregator. You can request the resource counts by providing filters and GroupByKey.
For example, if the input contains accountID 12345678910 and region us-east-1 in filters, the API returns the count of resources in account ID 12345678910 and region us-east-1. If the input contains ACCOUNT_ID as a GroupByKey, the API returns resource counts for all source accounts that are present in your aggregator.
This is a convenience which creates an instance of the
GetAggregateDiscoveredResourceCountsRequest.Builder
avoiding the need to create one manually via
GetAggregateDiscoveredResourceCountsRequest.builder()
getAggregateDiscoveredResourceCountsRequest
- A Consumer
that will call methods on GetAggregateDiscoveredResourceCountsRequest.Builder
to create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetAggregateResourceConfigResponse> getAggregateResourceConfig(GetAggregateResourceConfigRequest getAggregateResourceConfigRequest)
Returns configuration item that is aggregated for your specific resource in a specific source account and region.
getAggregateResourceConfigRequest
- default CompletableFuture<GetAggregateResourceConfigResponse> getAggregateResourceConfig(Consumer<GetAggregateResourceConfigRequest.Builder> getAggregateResourceConfigRequest)
Returns configuration item that is aggregated for your specific resource in a specific source account and region.
This is a convenience which creates an instance of the GetAggregateResourceConfigRequest.Builder
avoiding
the need to create one manually via GetAggregateResourceConfigRequest.builder()
getAggregateResourceConfigRequest
- A Consumer
that will call methods on GetAggregateResourceConfigRequest.Builder
to create a
request.default CompletableFuture<GetComplianceDetailsByConfigRuleResponse> getComplianceDetailsByConfigRule(GetComplianceDetailsByConfigRuleRequest getComplianceDetailsByConfigRuleRequest)
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.
getComplianceDetailsByConfigRuleRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetComplianceDetailsByConfigRuleResponse> getComplianceDetailsByConfigRule(Consumer<GetComplianceDetailsByConfigRuleRequest.Builder> getComplianceDetailsByConfigRuleRequest)
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.
This is a convenience which creates an instance of the GetComplianceDetailsByConfigRuleRequest.Builder
avoiding the need to create one manually via GetComplianceDetailsByConfigRuleRequest.builder()
getComplianceDetailsByConfigRuleRequest
- A Consumer
that will call methods on GetComplianceDetailsByConfigRuleRequest.Builder
to
create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetComplianceDetailsByResourceResponse> getComplianceDetailsByResource(GetComplianceDetailsByResourceRequest getComplianceDetailsByResourceRequest)
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.
getComplianceDetailsByResourceRequest
- default CompletableFuture<GetComplianceDetailsByResourceResponse> getComplianceDetailsByResource(Consumer<GetComplianceDetailsByResourceRequest.Builder> getComplianceDetailsByResourceRequest)
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.
This is a convenience which creates an instance of the GetComplianceDetailsByResourceRequest.Builder
avoiding the need to create one manually via GetComplianceDetailsByResourceRequest.builder()
getComplianceDetailsByResourceRequest
- A Consumer
that will call methods on GetComplianceDetailsByResourceRequest.Builder
to
create a request.default CompletableFuture<GetComplianceSummaryByConfigRuleResponse> getComplianceSummaryByConfigRule(GetComplianceSummaryByConfigRuleRequest getComplianceSummaryByConfigRuleRequest)
Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.
getComplianceSummaryByConfigRuleRequest
- default CompletableFuture<GetComplianceSummaryByConfigRuleResponse> getComplianceSummaryByConfigRule(Consumer<GetComplianceSummaryByConfigRuleRequest.Builder> getComplianceSummaryByConfigRuleRequest)
Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.
This is a convenience which creates an instance of the GetComplianceSummaryByConfigRuleRequest.Builder
avoiding the need to create one manually via GetComplianceSummaryByConfigRuleRequest.builder()
getComplianceSummaryByConfigRuleRequest
- A Consumer
that will call methods on GetComplianceSummaryByConfigRuleRequest.Builder
to
create a request.default CompletableFuture<GetComplianceSummaryByConfigRuleResponse> getComplianceSummaryByConfigRule()
Returns the number of AWS Config rules that are compliant and noncompliant, up to a maximum of 25 for each.
default CompletableFuture<GetComplianceSummaryByResourceTypeResponse> getComplianceSummaryByResourceType(GetComplianceSummaryByResourceTypeRequest getComplianceSummaryByResourceTypeRequest)
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.
getComplianceSummaryByResourceTypeRequest
- default CompletableFuture<GetComplianceSummaryByResourceTypeResponse> getComplianceSummaryByResourceType(Consumer<GetComplianceSummaryByResourceTypeRequest.Builder> getComplianceSummaryByResourceTypeRequest)
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.
This is a convenience which creates an instance of the GetComplianceSummaryByResourceTypeRequest.Builder
avoiding the need to create one manually via GetComplianceSummaryByResourceTypeRequest.builder()
getComplianceSummaryByResourceTypeRequest
- A Consumer
that will call methods on GetComplianceSummaryByResourceTypeRequest.Builder
to
create a request.default CompletableFuture<GetComplianceSummaryByResourceTypeResponse> getComplianceSummaryByResourceType()
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.
default CompletableFuture<GetDiscoveredResourceCountsResponse> getDiscoveredResourceCounts(GetDiscoveredResourceCountsRequest getDiscoveredResourceCountsRequest)
Returns the resource types, the number of each resource type, and the total number of resources that AWS Config is recording in this region for your AWS account.
Example
AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets.
You make a call to the GetDiscoveredResourceCounts
action and specify that you want all resource
types.
AWS Config returns the following:
The resource types (EC2 instances, IAM users, and S3 buckets).
The number of each resource type (25, 20, and 15).
The total number of all resources (60).
The response is paginated. By default, AWS Config lists 100 ResourceCount objects on each page. You can
customize this number with the limit
parameter. The response includes a nextToken
string. To get the next page of results, run the request again and specify the string for the
nextToken
parameter.
If you make a call to the GetDiscoveredResourceCounts action, you might not immediately receive resource counts in the following situations:
You are a new AWS Config customer.
You just enabled resource recording.
It might take a few minutes for AWS Config to record and count your resources. Wait a few minutes and then retry the GetDiscoveredResourceCounts action.
getDiscoveredResourceCountsRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetDiscoveredResourceCountsResponse> getDiscoveredResourceCounts(Consumer<GetDiscoveredResourceCountsRequest.Builder> getDiscoveredResourceCountsRequest)
Returns the resource types, the number of each resource type, and the total number of resources that AWS Config is recording in this region for your AWS account.
Example
AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets.
You make a call to the GetDiscoveredResourceCounts
action and specify that you want all resource
types.
AWS Config returns the following:
The resource types (EC2 instances, IAM users, and S3 buckets).
The number of each resource type (25, 20, and 15).
The total number of all resources (60).
The response is paginated. By default, AWS Config lists 100 ResourceCount objects on each page. You can
customize this number with the limit
parameter. The response includes a nextToken
string. To get the next page of results, run the request again and specify the string for the
nextToken
parameter.
If you make a call to the GetDiscoveredResourceCounts action, you might not immediately receive resource counts in the following situations:
You are a new AWS Config customer.
You just enabled resource recording.
It might take a few minutes for AWS Config to record and count your resources. Wait a few minutes and then retry the GetDiscoveredResourceCounts action.
This is a convenience which creates an instance of the GetDiscoveredResourceCountsRequest.Builder
avoiding the need to create one manually via GetDiscoveredResourceCountsRequest.builder()
getDiscoveredResourceCountsRequest
- A Consumer
that will call methods on GetDiscoveredResourceCountsRequest.Builder
to create
a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetDiscoveredResourceCountsResponse> getDiscoveredResourceCounts()
Returns the resource types, the number of each resource type, and the total number of resources that AWS Config is recording in this region for your AWS account.
Example
AWS Config is recording three resource types in the US East (Ohio) Region for your account: 25 EC2 instances, 20 IAM users, and 15 S3 buckets.
You make a call to the GetDiscoveredResourceCounts
action and specify that you want all resource
types.
AWS Config returns the following:
The resource types (EC2 instances, IAM users, and S3 buckets).
The number of each resource type (25, 20, and 15).
The total number of all resources (60).
The response is paginated. By default, AWS Config lists 100 ResourceCount objects on each page. You can
customize this number with the limit
parameter. The response includes a nextToken
string. To get the next page of results, run the request again and specify the string for the
nextToken
parameter.
If you make a call to the GetDiscoveredResourceCounts action, you might not immediately receive resource counts in the following situations:
You are a new AWS Config customer.
You just enabled resource recording.
It might take a few minutes for AWS Config to record and count your resources. Wait a few minutes and then retry the GetDiscoveredResourceCounts action.
nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetResourceConfigHistoryResponse> getResourceConfigHistory(GetResourceConfigHistoryRequest getResourceConfigHistoryRequest)
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. If you specified a retention period to retain your
ConfigurationItems
between a minimum of 30 days and a maximum of 7 years (2557 days), AWS Config
returns the ConfigurationItems
for the specified retention period.
The response is paginated. 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 a nextToken
string. To get the next page of results, run the request again and specify the string for the
nextToken
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 the
nextToken
.
getResourceConfigHistoryRequest
- The input for the GetResourceConfigHistory action.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<GetResourceConfigHistoryResponse> getResourceConfigHistory(Consumer<GetResourceConfigHistoryRequest.Builder> getResourceConfigHistoryRequest)
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. If you specified a retention period to retain your
ConfigurationItems
between a minimum of 30 days and a maximum of 7 years (2557 days), AWS Config
returns the ConfigurationItems
for the specified retention period.
The response is paginated. 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 a nextToken
string. To get the next page of results, run the request again and specify the string for the
nextToken
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 the
nextToken
.
This is a convenience which creates an instance of the GetResourceConfigHistoryRequest.Builder
avoiding
the need to create one manually via GetResourceConfigHistoryRequest.builder()
getResourceConfigHistoryRequest
- A Consumer
that will call methods on GetResourceConfigHistoryRequest.Builder
to create a
request. The input for the GetResourceConfigHistory action.nextToken
string that was returned in the previous response to get the next page of results.default GetResourceConfigHistoryPublisher getResourceConfigHistoryPaginator(GetResourceConfigHistoryRequest getResourceConfigHistoryRequest)
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. If you specified a retention period to retain your
ConfigurationItems
between a minimum of 30 days and a maximum of 7 years (2557 days), AWS Config
returns the ConfigurationItems
for the specified retention period.
The response is paginated. 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 a nextToken
string. To get the next page of results, run the request again and specify the string for the
nextToken
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 the
nextToken
.
This is a variant of
getResourceConfigHistory(software.amazon.awssdk.services.config.model.GetResourceConfigHistoryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.config.paginators.GetResourceConfigHistoryPublisher publisher = client.getResourceConfigHistoryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.config.paginators.GetResourceConfigHistoryPublisher publisher = client.getResourceConfigHistoryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.config.model.GetResourceConfigHistoryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.config.model.GetResourceConfigHistoryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
getResourceConfigHistory(software.amazon.awssdk.services.config.model.GetResourceConfigHistoryRequest)
operation.
getResourceConfigHistoryRequest
- The input for the GetResourceConfigHistory action.nextToken
string that was returned in the previous response to get the next page of results.default GetResourceConfigHistoryPublisher getResourceConfigHistoryPaginator(Consumer<GetResourceConfigHistoryRequest.Builder> getResourceConfigHistoryRequest)
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. If you specified a retention period to retain your
ConfigurationItems
between a minimum of 30 days and a maximum of 7 years (2557 days), AWS Config
returns the ConfigurationItems
for the specified retention period.
The response is paginated. 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 a nextToken
string. To get the next page of results, run the request again and specify the string for the
nextToken
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 the
nextToken
.
This is a variant of
getResourceConfigHistory(software.amazon.awssdk.services.config.model.GetResourceConfigHistoryRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the subscribe helper method
software.amazon.awssdk.services.config.paginators.GetResourceConfigHistoryPublisher publisher = client.getResourceConfigHistoryPaginator(request);
CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.config.paginators.GetResourceConfigHistoryPublisher publisher = client.getResourceConfigHistoryPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.config.model.GetResourceConfigHistoryResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.config.model.GetResourceConfigHistoryResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
getResourceConfigHistory(software.amazon.awssdk.services.config.model.GetResourceConfigHistoryRequest)
operation.
This is a convenience which creates an instance of the GetResourceConfigHistoryRequest.Builder
avoiding
the need to create one manually via GetResourceConfigHistoryRequest.builder()
getResourceConfigHistoryRequest
- A Consumer
that will call methods on GetResourceConfigHistoryRequest.Builder
to create a
request. The input for the GetResourceConfigHistory action.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<ListAggregateDiscoveredResourcesResponse> listAggregateDiscoveredResources(ListAggregateDiscoveredResourcesRequest listAggregateDiscoveredResourcesRequest)
Accepts a resource type and returns a list of resource identifiers that are aggregated for a specific resource type across accounts and regions. A resource identifier includes the resource type, ID, (if available) the custom resource name, source account, and source region. You can narrow the results to include only resources that have specific resource IDs, or a resource name, or source account ID, or source region.
For example, if the input consists of accountID 12345678910 and the region is us-east-1 for resource type
AWS::EC2::Instance
then the API returns all the EC2 instance identifiers of accountID 12345678910
and region us-east-1.
listAggregateDiscoveredResourcesRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<ListAggregateDiscoveredResourcesResponse> listAggregateDiscoveredResources(Consumer<ListAggregateDiscoveredResourcesRequest.Builder> listAggregateDiscoveredResourcesRequest)
Accepts a resource type and returns a list of resource identifiers that are aggregated for a specific resource type across accounts and regions. A resource identifier includes the resource type, ID, (if available) the custom resource name, source account, and source region. You can narrow the results to include only resources that have specific resource IDs, or a resource name, or source account ID, or source region.
For example, if the input consists of accountID 12345678910 and the region is us-east-1 for resource type
AWS::EC2::Instance
then the API returns all the EC2 instance identifiers of accountID 12345678910
and region us-east-1.
This is a convenience which creates an instance of the ListAggregateDiscoveredResourcesRequest.Builder
avoiding the need to create one manually via ListAggregateDiscoveredResourcesRequest.builder()
listAggregateDiscoveredResourcesRequest
- A Consumer
that will call methods on ListAggregateDiscoveredResourcesRequest.Builder
to
create a request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<ListDiscoveredResourcesResponse> listDiscoveredResources(ListDiscoveredResourcesRequest listDiscoveredResourcesRequest)
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. By default, AWS Config lists 100 resource identifiers on each page. You can customize
this number with the limit
parameter. The response includes a nextToken
string. To get
the next page of results, run the request again and specify the string for the nextToken
parameter.
listDiscoveredResourcesRequest
- nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<ListDiscoveredResourcesResponse> listDiscoveredResources(Consumer<ListDiscoveredResourcesRequest.Builder> listDiscoveredResourcesRequest)
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. By default, AWS Config lists 100 resource identifiers on each page. You can customize
this number with the limit
parameter. The response includes a nextToken
string. To get
the next page of results, run the request again and specify the string for the nextToken
parameter.
This is a convenience which creates an instance of the ListDiscoveredResourcesRequest.Builder
avoiding
the need to create one manually via ListDiscoveredResourcesRequest.builder()
listDiscoveredResourcesRequest
- A Consumer
that will call methods on ListDiscoveredResourcesRequest.Builder
to create a
request.nextToken
string that was returned in the previous response to get the next page of results.default CompletableFuture<PutAggregationAuthorizationResponse> putAggregationAuthorization(PutAggregationAuthorizationRequest putAggregationAuthorizationRequest)
Authorizes the aggregator account and region to collect data from the source account and region.
putAggregationAuthorizationRequest
- default CompletableFuture<PutAggregationAuthorizationResponse> putAggregationAuthorization(Consumer<PutAggregationAuthorizationRequest.Builder> putAggregationAuthorizationRequest)
Authorizes the aggregator account and region to collect data from the source account and region.
This is a convenience which creates an instance of the PutAggregationAuthorizationRequest.Builder
avoiding the need to create one manually via PutAggregationAuthorizationRequest.builder()
putAggregationAuthorizationRequest
- A Consumer
that will call methods on PutAggregationAuthorizationRequest.Builder
to create
a request.default CompletableFuture<PutConfigRuleResponse> putConfigRule(PutConfigRuleRequest putConfigRuleRequest)
Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations.
You can use this action for custom AWS Config rules and AWS managed Config rules. A custom AWS Config rule is a rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that AWS Config provides.
If you are adding a new custom AWS 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 the SourceIdentifier
key. This key is part of the Source
object, which is part of
the ConfigRule
object.
If you are adding an AWS managed Config rule, specify the rule's identifier for the SourceIdentifier
key. To reference AWS managed Config rule identifiers, see About AWS
Managed Config Rules.
For any new rule that you add, specify the ConfigRuleName
in the ConfigRule
object. Do
not specify the ConfigRuleArn
or the ConfigRuleId
. These values are generated by AWS
Config for new rules.
If you are updating a rule that you added previously, you can specify the rule by ConfigRuleName
,
ConfigRuleId
, or ConfigRuleArn
in the ConfigRule
data type that you use in
this request.
The maximum number of rules that AWS Config supports is 50.
For information about requesting a rule limit increase, see AWS Config Limits in the AWS General Reference Guide.
For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.
putConfigRuleRequest
- The rule cannot be created because the IAM role assigned to AWS Config lacks permissions to perform the config:Put* action.
The AWS Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.
default CompletableFuture<PutConfigRuleResponse> putConfigRule(Consumer<PutConfigRuleRequest.Builder> putConfigRuleRequest)
Adds or updates an AWS Config rule for evaluating whether your AWS resources comply with your desired configurations.
You can use this action for custom AWS Config rules and AWS managed Config rules. A custom AWS Config rule is a rule that you develop and maintain. An AWS managed Config rule is a customizable, predefined rule that AWS Config provides.
If you are adding a new custom AWS 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 the SourceIdentifier
key. This key is part of the Source
object, which is part of
the ConfigRule
object.
If you are adding an AWS managed Config rule, specify the rule's identifier for the SourceIdentifier
key. To reference AWS managed Config rule identifiers, see About AWS
Managed Config Rules.
For any new rule that you add, specify the ConfigRuleName
in the ConfigRule
object. Do
not specify the ConfigRuleArn
or the ConfigRuleId
. These values are generated by AWS
Config for new rules.
If you are updating a rule that you added previously, you can specify the rule by ConfigRuleName
,
ConfigRuleId
, or ConfigRuleArn
in the ConfigRule
data type that you use in
this request.
The maximum number of rules that AWS Config supports is 50.
For information about requesting a rule limit increase, see AWS Config Limits in the AWS General Reference Guide.
For more information about developing and using AWS Config rules, see Evaluating AWS Resource Configurations with AWS Config in the AWS Config Developer Guide.
This is a convenience which creates an instance of the PutConfigRuleRequest.Builder
avoiding the need to
create one manually via PutConfigRuleRequest.builder()
putConfigRuleRequest
- A Consumer
that will call methods on PutConfigRuleRequest.Builder
to create a request.The rule cannot be created because the IAM role assigned to AWS Config lacks permissions to perform the config:Put* action.
The AWS Lambda function cannot be invoked. Check the function ARN, and check the function's permissions.
default CompletableFuture<PutConfigurationAggregatorResponse> putConfigurationAggregator(PutConfigurationAggregatorRequest putConfigurationAggregatorRequest)
Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization.
AWS Config should be enabled in source accounts and regions you want to aggregate.
If your source type is an organization, you must be signed in to the master account and all features must be
enabled in your organization. AWS Config calls EnableAwsServiceAccess
API to enable integration
between AWS Config and AWS Organizations.
putConfigurationAggregatorRequest
- StartConfigRulesEvaluation
API, this exception is thrown if
an evaluation is in progress or if you call the StartConfigRulesEvaluation API more than once per
minute.
For PutConfigurationAggregator
API, this exception is thrown if the number of accounts and
aggregators exceeds the limit.
default CompletableFuture<PutConfigurationAggregatorResponse> putConfigurationAggregator(Consumer<PutConfigurationAggregatorRequest.Builder> putConfigurationAggregatorRequest)
Creates and updates the configuration aggregator with the selected source accounts and regions. The source account can be individual account(s) or an organization.
AWS Config should be enabled in source accounts and regions you want to aggregate.
If your source type is an organization, you must be signed in to the master account and all features must be
enabled in your organization. AWS Config calls EnableAwsServiceAccess
API to enable integration
between AWS Config and AWS Organizations.
This is a convenience which creates an instance of the PutConfigurationAggregatorRequest.Builder
avoiding
the need to create one manually via PutConfigurationAggregatorRequest.builder()
putConfigurationAggregatorRequest
- A Consumer
that will call methods on PutConfigurationAggregatorRequest.Builder
to create a
request.StartConfigRulesEvaluation
API, this exception is thrown if
an evaluation is in progress or if you call the StartConfigRulesEvaluation API more than once per
minute.
For PutConfigurationAggregator
API, this exception is thrown if the number of accounts and
aggregators exceeds the limit.
default CompletableFuture<PutConfigurationRecorderResponse> putConfigurationRecorder(PutConfigurationRecorderRequest putConfigurationRecorderRequest)
Creates a new configuration recorder to record the selected resource configurations.
You can use this action to change the role roleARN
or the recordingGroup
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 region in your account.
If ConfigurationRecorder
does not have the recordingGroup parameter specified, the default is
to record all supported resource types.
putConfigurationRecorderRequest
- The input for the PutConfigurationRecorder action.default CompletableFuture<PutConfigurationRecorderResponse> putConfigurationRecorder(Consumer<PutConfigurationRecorderRequest.Builder> putConfigurationRecorderRequest)
Creates a new configuration recorder to record the selected resource configurations.
You can use this action to change the role roleARN
or the recordingGroup
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 region in your account.
If ConfigurationRecorder
does not have the recordingGroup parameter specified, the default is
to record all supported resource types.
This is a convenience which creates an instance of the PutConfigurationRecorderRequest.Builder
avoiding
the need to create one manually via PutConfigurationRecorderRequest.builder()
putConfigurationRecorderRequest
- A Consumer
that will call methods on PutConfigurationRecorderRequest.Builder
to create a
request. The input for the PutConfigurationRecorder action.default CompletableFuture<PutDeliveryChannelResponse> putDeliveryChannel(PutDeliveryChannelRequest putDeliveryChannelRequest)
Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic.
Before you can create a delivery channel, you must create a configuration recorder.
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.
You can have only one delivery channel per region in your account.
putDeliveryChannelRequest
- The input for the PutDeliveryChannel action.default CompletableFuture<PutDeliveryChannelResponse> putDeliveryChannel(Consumer<PutDeliveryChannelRequest.Builder> putDeliveryChannelRequest)
Creates a delivery channel object to deliver configuration information to an Amazon S3 bucket and Amazon SNS topic.
Before you can create a delivery channel, you must create a configuration recorder.
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.
You can have only one delivery channel per region in your account.
This is a convenience which creates an instance of the PutDeliveryChannelRequest.Builder
avoiding the
need to create one manually via PutDeliveryChannelRequest.builder()
putDeliveryChannelRequest
- A Consumer
that will call methods on PutDeliveryChannelRequest.Builder
to create a
request. The input for the PutDeliveryChannel action.default CompletableFuture<PutEvaluationsResponse> putEvaluations(PutEvaluationsRequest putEvaluationsRequest)
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.
putEvaluationsRequest
- ResultToken
is invalid.default CompletableFuture<PutEvaluationsResponse> putEvaluations(Consumer<PutEvaluationsRequest.Builder> putEvaluationsRequest)
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.
This is a convenience which creates an instance of the PutEvaluationsRequest.Builder
avoiding the need to
create one manually via PutEvaluationsRequest.builder()
putEvaluationsRequest
- A Consumer
that will call methods on PutEvaluationsRequest.Builder
to create a request.ResultToken
is invalid.default CompletableFuture<PutRetentionConfigurationResponse> putRetentionConfiguration(PutRetentionConfigurationRequest putRetentionConfigurationRequest)
Creates and updates the retention configuration with details about retention period (number of days) that AWS
Config stores your historical information. The API creates the RetentionConfiguration
object and
names the object as default. When you have a RetentionConfiguration
object named
default, calling the API modifies the default object.
Currently, AWS Config supports only one retention configuration per region in your account.
putRetentionConfigurationRequest
- default CompletableFuture<PutRetentionConfigurationResponse> putRetentionConfiguration(Consumer<PutRetentionConfigurationRequest.Builder> putRetentionConfigurationRequest)
Creates and updates the retention configuration with details about retention period (number of days) that AWS
Config stores your historical information. The API creates the RetentionConfiguration
object and
names the object as default. When you have a RetentionConfiguration
object named
default, calling the API modifies the default object.
Currently, AWS Config supports only one retention configuration per region in your account.
This is a convenience which creates an instance of the PutRetentionConfigurationRequest.Builder
avoiding
the need to create one manually via PutRetentionConfigurationRequest.builder()
putRetentionConfigurationRequest
- A Consumer
that will call methods on PutRetentionConfigurationRequest.Builder
to create a
request.default CompletableFuture<StartConfigRulesEvaluationResponse> startConfigRulesEvaluation(StartConfigRulesEvaluationRequest startConfigRulesEvaluationRequest)
Runs an on-demand evaluation for the specified AWS Config rules against the last known configuration state of the
resources. Use StartConfigRulesEvaluation
when you want to test that a rule you updated is working
as expected. StartConfigRulesEvaluation
does not re-record the latest configuration state for your
resources. It re-runs an evaluation against the last known state of your resources.
You can specify up to 25 AWS Config rules per request.
An existing StartConfigRulesEvaluation
call for the specified rules must complete before you can
call the API again. If you chose to have AWS Config stream to an Amazon SNS topic, you will receive a
ConfigRuleEvaluationStarted
notification when the evaluation starts.
You don't need to call the StartConfigRulesEvaluation
API to run an evaluation for a new rule. When
you create a rule, AWS Config evaluates your resources against the rule automatically.
The StartConfigRulesEvaluation
API is useful if you want to run on-demand evaluations, such as the
following example:
You have a custom rule that evaluates your IAM resources every 24 hours.
You update your Lambda function to add additional conditions to your rule.
Instead of waiting for the next periodic evaluation, you call the StartConfigRulesEvaluation
API.
AWS Config invokes your Lambda function and evaluates your IAM resources.
Your custom rule will still run periodic evaluations every 24 hours.
startConfigRulesEvaluationRequest
- StartConfigRulesEvaluation
API, this exception is thrown if
an evaluation is in progress or if you call the StartConfigRulesEvaluation API more than once per
minute.
For PutConfigurationAggregator
API, this exception is thrown if the number of accounts and
aggregators exceeds the limit.
default CompletableFuture<StartConfigRulesEvaluationResponse> startConfigRulesEvaluation(Consumer<StartConfigRulesEvaluationRequest.Builder> startConfigRulesEvaluationRequest)
Runs an on-demand evaluation for the specified AWS Config rules against the last known configuration state of the
resources. Use StartConfigRulesEvaluation
when you want to test that a rule you updated is working
as expected. StartConfigRulesEvaluation
does not re-record the latest configuration state for your
resources. It re-runs an evaluation against the last known state of your resources.
You can specify up to 25 AWS Config rules per request.
An existing StartConfigRulesEvaluation
call for the specified rules must complete before you can
call the API again. If you chose to have AWS Config stream to an Amazon SNS topic, you will receive a
ConfigRuleEvaluationStarted
notification when the evaluation starts.
You don't need to call the StartConfigRulesEvaluation
API to run an evaluation for a new rule. When
you create a rule, AWS Config evaluates your resources against the rule automatically.
The StartConfigRulesEvaluation
API is useful if you want to run on-demand evaluations, such as the
following example:
You have a custom rule that evaluates your IAM resources every 24 hours.
You update your Lambda function to add additional conditions to your rule.
Instead of waiting for the next periodic evaluation, you call the StartConfigRulesEvaluation
API.
AWS Config invokes your Lambda function and evaluates your IAM resources.
Your custom rule will still run periodic evaluations every 24 hours.
This is a convenience which creates an instance of the StartConfigRulesEvaluationRequest.Builder
avoiding
the need to create one manually via StartConfigRulesEvaluationRequest.builder()
startConfigRulesEvaluationRequest
- A Consumer
that will call methods on StartConfigRulesEvaluationRequest.Builder
to create a
request.StartConfigRulesEvaluation
API, this exception is thrown if
an evaluation is in progress or if you call the StartConfigRulesEvaluation API more than once per
minute.
For PutConfigurationAggregator
API, this exception is thrown if the number of accounts and
aggregators exceeds the limit.
default CompletableFuture<StartConfigurationRecorderResponse> startConfigurationRecorder(StartConfigurationRecorderRequest startConfigurationRecorderRequest)
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.
startConfigurationRecorderRequest
- The input for the StartConfigurationRecorder action.default CompletableFuture<StartConfigurationRecorderResponse> startConfigurationRecorder(Consumer<StartConfigurationRecorderRequest.Builder> startConfigurationRecorderRequest)
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.
This is a convenience which creates an instance of the StartConfigurationRecorderRequest.Builder
avoiding
the need to create one manually via StartConfigurationRecorderRequest.builder()
startConfigurationRecorderRequest
- A Consumer
that will call methods on StartConfigurationRecorderRequest.Builder
to create a
request. The input for the StartConfigurationRecorder action.default CompletableFuture<StopConfigurationRecorderResponse> stopConfigurationRecorder(StopConfigurationRecorderRequest stopConfigurationRecorderRequest)
Stops recording configurations of the AWS resources you have selected to record in your AWS account.
stopConfigurationRecorderRequest
- The input for the StopConfigurationRecorder action.default CompletableFuture<StopConfigurationRecorderResponse> stopConfigurationRecorder(Consumer<StopConfigurationRecorderRequest.Builder> stopConfigurationRecorderRequest)
Stops recording configurations of the AWS resources you have selected to record in your AWS account.
This is a convenience which creates an instance of the StopConfigurationRecorderRequest.Builder
avoiding
the need to create one manually via StopConfigurationRecorderRequest.builder()
stopConfigurationRecorderRequest
- A Consumer
that will call methods on StopConfigurationRecorderRequest.Builder
to create a
request. The input for the StopConfigurationRecorder action.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.