Struct aws_sdk_config::Client
source · pub struct Client { /* private fields */ }Expand description
Client for AWS Config
Client for invoking operations on AWS Config. Each operation on AWS Config is a method on this
this struct. .send() MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_config::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operation_name>().
.<param>("some value")
.send().await; */Constructing a client with custom configuration
use aws_config::retry::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_config::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_config::Client::from_conf(config);Implementations§
source§impl Client
impl Client
sourcepub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
pub fn with_config(
client: Client<DynConnector, DynMiddleware<DynConnector>>,
conf: Config
) -> Self
Creates a client with the given service configuration.
source§impl Client
impl Client
sourcepub fn batch_get_aggregate_resource_config(
&self
) -> BatchGetAggregateResourceConfig
pub fn batch_get_aggregate_resource_config(
&self
) -> BatchGetAggregateResourceConfig
Constructs a fluent builder for the BatchGetAggregateResourceConfig operation.
- The fluent builder is configurable:
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
resource_identifiers(Vec<AggregateResourceIdentifier>)/set_resource_identifiers(Option<Vec<AggregateResourceIdentifier>>):A list of aggregate ResourceIdentifiers objects.
- On success, responds with
BatchGetAggregateResourceConfigOutputwith field(s):base_configuration_items(Option<Vec<BaseConfigurationItem>>):A list that contains the current configuration of one or more resources.
unprocessed_resource_identifiers(Option<Vec<AggregateResourceIdentifier>>):A list of resource identifiers that were not processed with current scope. The list is empty if all the resources are processed.
- On failure, responds with
SdkError<BatchGetAggregateResourceConfigError>
sourcepub fn batch_get_resource_config(&self) -> BatchGetResourceConfig
pub fn batch_get_resource_config(&self) -> BatchGetResourceConfig
Constructs a fluent builder for the BatchGetResourceConfig operation.
- The fluent builder is configurable:
resource_keys(Vec<ResourceKey>)/set_resource_keys(Option<Vec<ResourceKey>>):A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
- On success, responds with
BatchGetResourceConfigOutputwith field(s):base_configuration_items(Option<Vec<BaseConfigurationItem>>):A list that contains the current configuration of one or more resources.
unprocessed_resource_keys(Option<Vec<ResourceKey>>):A list of resource keys that were not processed with the current response. The unprocessesResourceKeys value is in the same form as ResourceKeys, so the value can be directly provided to a subsequent BatchGetResourceConfig operation. If there are no unprocessed resource keys, the response contains an empty unprocessedResourceKeys list.
- On failure, responds with
SdkError<BatchGetResourceConfigError>
Constructs a fluent builder for the DeleteAggregationAuthorization operation.
- The fluent builder is configurable:
authorized_account_id(impl Into<String>)/set_authorized_account_id(Option<String>):The 12-digit account ID of the account authorized to aggregate data.
authorized_aws_region(impl Into<String>)/set_authorized_aws_region(Option<String>):The region authorized to collect aggregated data.
- On success, responds with
DeleteAggregationAuthorizationOutput - On failure, responds with
SdkError<DeleteAggregationAuthorizationError>
sourcepub fn delete_config_rule(&self) -> DeleteConfigRule
pub fn delete_config_rule(&self) -> DeleteConfigRule
Constructs a fluent builder for the DeleteConfigRule operation.
- The fluent builder is configurable:
config_rule_name(impl Into<String>)/set_config_rule_name(Option<String>):The name of the Config rule that you want to delete.
- On success, responds with
DeleteConfigRuleOutput - On failure, responds with
SdkError<DeleteConfigRuleError>
sourcepub fn delete_configuration_aggregator(&self) -> DeleteConfigurationAggregator
pub fn delete_configuration_aggregator(&self) -> DeleteConfigurationAggregator
Constructs a fluent builder for the DeleteConfigurationAggregator operation.
- The fluent builder is configurable:
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
- On success, responds with
DeleteConfigurationAggregatorOutput - On failure, responds with
SdkError<DeleteConfigurationAggregatorError>
sourcepub fn delete_configuration_recorder(&self) -> DeleteConfigurationRecorder
pub fn delete_configuration_recorder(&self) -> DeleteConfigurationRecorder
Constructs a fluent builder for the DeleteConfigurationRecorder operation.
- The fluent builder is configurable:
configuration_recorder_name(impl Into<String>)/set_configuration_recorder_name(Option<String>):The name of the configuration recorder to be deleted. You can retrieve the name of your configuration recorder by using the
DescribeConfigurationRecordersaction.
- On success, responds with
DeleteConfigurationRecorderOutput - On failure, responds with
SdkError<DeleteConfigurationRecorderError>
sourcepub fn delete_conformance_pack(&self) -> DeleteConformancePack
pub fn delete_conformance_pack(&self) -> DeleteConformancePack
Constructs a fluent builder for the DeleteConformancePack operation.
- The fluent builder is configurable:
conformance_pack_name(impl Into<String>)/set_conformance_pack_name(Option<String>):Name of the conformance pack you want to delete.
- On success, responds with
DeleteConformancePackOutput - On failure, responds with
SdkError<DeleteConformancePackError>
sourcepub fn delete_delivery_channel(&self) -> DeleteDeliveryChannel
pub fn delete_delivery_channel(&self) -> DeleteDeliveryChannel
Constructs a fluent builder for the DeleteDeliveryChannel operation.
- The fluent builder is configurable:
delivery_channel_name(impl Into<String>)/set_delivery_channel_name(Option<String>):The name of the delivery channel to delete.
- On success, responds with
DeleteDeliveryChannelOutput - On failure, responds with
SdkError<DeleteDeliveryChannelError>
sourcepub fn delete_evaluation_results(&self) -> DeleteEvaluationResults
pub fn delete_evaluation_results(&self) -> DeleteEvaluationResults
Constructs a fluent builder for the DeleteEvaluationResults operation.
- The fluent builder is configurable:
config_rule_name(impl Into<String>)/set_config_rule_name(Option<String>):The name of the Config rule for which you want to delete the evaluation results.
- On success, responds with
DeleteEvaluationResultsOutput - On failure, responds with
SdkError<DeleteEvaluationResultsError>
sourcepub fn delete_organization_config_rule(&self) -> DeleteOrganizationConfigRule
pub fn delete_organization_config_rule(&self) -> DeleteOrganizationConfigRule
Constructs a fluent builder for the DeleteOrganizationConfigRule operation.
- The fluent builder is configurable:
organization_config_rule_name(impl Into<String>)/set_organization_config_rule_name(Option<String>):The name of organization Config rule that you want to delete.
- On success, responds with
DeleteOrganizationConfigRuleOutput - On failure, responds with
SdkError<DeleteOrganizationConfigRuleError>
sourcepub fn delete_organization_conformance_pack(
&self
) -> DeleteOrganizationConformancePack
pub fn delete_organization_conformance_pack(
&self
) -> DeleteOrganizationConformancePack
Constructs a fluent builder for the DeleteOrganizationConformancePack operation.
- The fluent builder is configurable:
organization_conformance_pack_name(impl Into<String>)/set_organization_conformance_pack_name(Option<String>):The name of organization conformance pack that you want to delete.
- On success, responds with
DeleteOrganizationConformancePackOutput - On failure, responds with
SdkError<DeleteOrganizationConformancePackError>
sourcepub fn delete_pending_aggregation_request(
&self
) -> DeletePendingAggregationRequest
pub fn delete_pending_aggregation_request(
&self
) -> DeletePendingAggregationRequest
Constructs a fluent builder for the DeletePendingAggregationRequest operation.
- The fluent builder is configurable:
requester_account_id(impl Into<String>)/set_requester_account_id(Option<String>):The 12-digit account ID of the account requesting to aggregate data.
requester_aws_region(impl Into<String>)/set_requester_aws_region(Option<String>):The region requesting to aggregate data.
- On success, responds with
DeletePendingAggregationRequestOutput - On failure, responds with
SdkError<DeletePendingAggregationRequestError>
sourcepub fn delete_remediation_configuration(&self) -> DeleteRemediationConfiguration
pub fn delete_remediation_configuration(&self) -> DeleteRemediationConfiguration
Constructs a fluent builder for the DeleteRemediationConfiguration operation.
- The fluent builder is configurable:
config_rule_name(impl Into<String>)/set_config_rule_name(Option<String>):The name of the Config rule for which you want to delete remediation configuration.
resource_type(impl Into<String>)/set_resource_type(Option<String>):The type of a resource.
- On success, responds with
DeleteRemediationConfigurationOutput - On failure, responds with
SdkError<DeleteRemediationConfigurationError>
sourcepub fn delete_remediation_exceptions(&self) -> DeleteRemediationExceptions
pub fn delete_remediation_exceptions(&self) -> DeleteRemediationExceptions
Constructs a fluent builder for the DeleteRemediationExceptions operation.
- The fluent builder is configurable:
config_rule_name(impl Into<String>)/set_config_rule_name(Option<String>):The name of the Config rule for which you want to delete remediation exception configuration.
resource_keys(Vec<RemediationExceptionResourceKey>)/set_resource_keys(Option<Vec<RemediationExceptionResourceKey>>):An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
- On success, responds with
DeleteRemediationExceptionsOutputwith field(s):failed_batches(Option<Vec<FailedDeleteRemediationExceptionsBatch>>):Returns a list of failed delete remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.
- On failure, responds with
SdkError<DeleteRemediationExceptionsError>
sourcepub fn delete_resource_config(&self) -> DeleteResourceConfig
pub fn delete_resource_config(&self) -> DeleteResourceConfig
Constructs a fluent builder for the DeleteResourceConfig operation.
- The fluent builder is configurable:
resource_type(impl Into<String>)/set_resource_type(Option<String>):The type of the resource.
resource_id(impl Into<String>)/set_resource_id(Option<String>):Unique identifier of the resource.
- On success, responds with
DeleteResourceConfigOutput - On failure, responds with
SdkError<DeleteResourceConfigError>
sourcepub fn delete_retention_configuration(&self) -> DeleteRetentionConfiguration
pub fn delete_retention_configuration(&self) -> DeleteRetentionConfiguration
Constructs a fluent builder for the DeleteRetentionConfiguration operation.
- The fluent builder is configurable:
retention_configuration_name(impl Into<String>)/set_retention_configuration_name(Option<String>):The name of the retention configuration to delete.
- On success, responds with
DeleteRetentionConfigurationOutput - On failure, responds with
SdkError<DeleteRetentionConfigurationError>
sourcepub fn delete_stored_query(&self) -> DeleteStoredQuery
pub fn delete_stored_query(&self) -> DeleteStoredQuery
Constructs a fluent builder for the DeleteStoredQuery operation.
- The fluent builder is configurable:
query_name(impl Into<String>)/set_query_name(Option<String>):The name of the query that you want to delete.
- On success, responds with
DeleteStoredQueryOutput - On failure, responds with
SdkError<DeleteStoredQueryError>
sourcepub fn deliver_config_snapshot(&self) -> DeliverConfigSnapshot
pub fn deliver_config_snapshot(&self) -> DeliverConfigSnapshot
Constructs a fluent builder for the DeliverConfigSnapshot operation.
- The fluent builder is configurable:
delivery_channel_name(impl Into<String>)/set_delivery_channel_name(Option<String>):The name of the delivery channel through which the snapshot is delivered.
- On success, responds with
DeliverConfigSnapshotOutputwith field(s):config_snapshot_id(Option<String>):The ID of the snapshot that is being created.
- On failure, responds with
SdkError<DeliverConfigSnapshotError>
sourcepub fn describe_aggregate_compliance_by_config_rules(
&self
) -> DescribeAggregateComplianceByConfigRules
pub fn describe_aggregate_compliance_by_config_rules(
&self
) -> DescribeAggregateComplianceByConfigRules
Constructs a fluent builder for the DescribeAggregateComplianceByConfigRules operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
filters(ConfigRuleComplianceFilters)/set_filters(Option<ConfigRuleComplianceFilters>):Filters the results by ConfigRuleComplianceFilters object.
limit(i32)/set_limit(i32):The maximum number of evaluation results returned on each page. The default is maximum. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribeAggregateComplianceByConfigRulesOutputwith field(s):aggregate_compliance_by_config_rules(Option<Vec<AggregateComplianceByConfigRule>>):Returns a list of AggregateComplianceByConfigRule object.
next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeAggregateComplianceByConfigRulesError>
sourcepub fn describe_aggregate_compliance_by_conformance_packs(
&self
) -> DescribeAggregateComplianceByConformancePacks
pub fn describe_aggregate_compliance_by_conformance_packs(
&self
) -> DescribeAggregateComplianceByConformancePacks
Constructs a fluent builder for the DescribeAggregateComplianceByConformancePacks operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
filters(AggregateConformancePackComplianceFilters)/set_filters(Option<AggregateConformancePackComplianceFilters>):Filters the result by
AggregateConformancePackComplianceFiltersobject.limit(i32)/set_limit(i32):The maximum number of conformance packs compliance details returned on each page. The default is maximum. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribeAggregateComplianceByConformancePacksOutputwith field(s):aggregate_compliance_by_conformance_packs(Option<Vec<AggregateComplianceByConformancePack>>):Returns the
AggregateComplianceByConformancePackobject.next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeAggregateComplianceByConformancePacksError>
Constructs a fluent builder for the DescribeAggregationAuthorizations operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
limit(i32)/set_limit(i32):The maximum number of AggregationAuthorizations returned on each page. The default is maximum. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribeAggregationAuthorizationsOutputwith field(s):aggregation_authorizations(Option<Vec<AggregationAuthorization>>):Returns a list of authorizations granted to various aggregator accounts and regions.
next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeAggregationAuthorizationsError>
sourcepub fn describe_compliance_by_config_rule(
&self
) -> DescribeComplianceByConfigRule
pub fn describe_compliance_by_config_rule(
&self
) -> DescribeComplianceByConfigRule
Constructs a fluent builder for the DescribeComplianceByConfigRule operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
config_rule_names(Vec<String>)/set_config_rule_names(Option<Vec<String>>):Specify one or more Config rule names to filter the results by rule.
compliance_types(Vec<ComplianceType>)/set_compliance_types(Option<Vec<ComplianceType>>):Filters the results by compliance.
The allowed values are
COMPLIANTandNON_COMPLIANT.next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribeComplianceByConfigRuleOutputwith field(s):compliance_by_config_rules(Option<Vec<ComplianceByConfigRule>>):Indicates whether each of the specified Config rules is compliant.
next_token(Option<String>):The string that you use in a subsequent request to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeComplianceByConfigRuleError>
sourcepub fn describe_compliance_by_resource(&self) -> DescribeComplianceByResource
pub fn describe_compliance_by_resource(&self) -> DescribeComplianceByResource
Constructs a fluent builder for the DescribeComplianceByResource operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_type(impl Into<String>)/set_resource_type(Option<String>):The types of Amazon Web Services resources for which you want compliance information (for example,
AWS::EC2::Instance). For this action, you can specify that the resource type is an Amazon Web Services account by specifyingAWS::::Account.resource_id(impl Into<String>)/set_resource_id(Option<String>):The ID of the Amazon Web Services resource for which you want compliance information. You can specify only one resource ID. If you specify a resource ID, you must also specify a type for
ResourceType.compliance_types(Vec<ComplianceType>)/set_compliance_types(Option<Vec<ComplianceType>>):Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andINSUFFICIENT_DATA.limit(i32)/set_limit(i32):The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribeComplianceByResourceOutputwith field(s):compliance_by_resources(Option<Vec<ComplianceByResource>>):Indicates whether the specified Amazon Web Services resource complies with all of the Config rules that evaluate it.
next_token(Option<String>):The string that you use in a subsequent request to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeComplianceByResourceError>
sourcepub fn describe_config_rule_evaluation_status(
&self
) -> DescribeConfigRuleEvaluationStatus
pub fn describe_config_rule_evaluation_status(
&self
) -> DescribeConfigRuleEvaluationStatus
Constructs a fluent builder for the DescribeConfigRuleEvaluationStatus operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
config_rule_names(Vec<String>)/set_config_rule_names(Option<Vec<String>>):The name of the Config managed rules for which you want status information. If you do not specify any names, Config returns status information for all Config managed rules that you use.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.limit(i32)/set_limit(i32):The number of rule evaluation results that you want returned.
This parameter is required if the rule limit for your account is more than the default of 150 rules.
For information about requesting a rule limit increase, see Config Limits in the Amazon Web Services General Reference Guide.
- On success, responds with
DescribeConfigRuleEvaluationStatusOutputwith field(s):config_rules_evaluation_status(Option<Vec<ConfigRuleEvaluationStatus>>):Status information about your Config managed rules.
next_token(Option<String>):The string that you use in a subsequent request to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeConfigRuleEvaluationStatusError>
sourcepub fn describe_config_rules(&self) -> DescribeConfigRules
pub fn describe_config_rules(&self) -> DescribeConfigRules
Constructs a fluent builder for the DescribeConfigRules operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
config_rule_names(Vec<String>)/set_config_rule_names(Option<Vec<String>>):The names of the Config rules for which you want details. If you do not specify any names, Config returns details for all your rules.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribeConfigRulesOutputwith field(s):config_rules(Option<Vec<ConfigRule>>):The details about your Config rules.
next_token(Option<String>):The string that you use in a subsequent request to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeConfigRulesError>
sourcepub fn describe_configuration_aggregators(
&self
) -> DescribeConfigurationAggregators
pub fn describe_configuration_aggregators(
&self
) -> DescribeConfigurationAggregators
Constructs a fluent builder for the DescribeConfigurationAggregators operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
configuration_aggregator_names(Vec<String>)/set_configuration_aggregator_names(Option<Vec<String>>):The name of the configuration aggregators.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.limit(i32)/set_limit(i32):The maximum number of configuration aggregators returned on each page. The default is maximum. If you specify 0, Config uses the default.
- On success, responds with
DescribeConfigurationAggregatorsOutputwith field(s):configuration_aggregators(Option<Vec<ConfigurationAggregator>>):Returns a ConfigurationAggregators object.
next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeConfigurationAggregatorsError>
sourcepub fn describe_configuration_aggregator_sources_status(
&self
) -> DescribeConfigurationAggregatorSourcesStatus
pub fn describe_configuration_aggregator_sources_status(
&self
) -> DescribeConfigurationAggregatorSourcesStatus
Constructs a fluent builder for the DescribeConfigurationAggregatorSourcesStatus operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
update_status(Vec<AggregatedSourceStatusType>)/set_update_status(Option<Vec<AggregatedSourceStatusType>>):Filters the status type.
-
Valid value FAILED indicates errors while moving data.
-
Valid value SUCCEEDED indicates the data was successfully moved.
-
Valid value OUTDATED indicates the data is not the most recent.
-
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.limit(i32)/set_limit(i32):The maximum number of AggregatorSourceStatus returned on each page. The default is maximum. If you specify 0, Config uses the default.
- On success, responds with
DescribeConfigurationAggregatorSourcesStatusOutputwith field(s):aggregated_source_status_list(Option<Vec<AggregatedSourceStatus>>):Returns an AggregatedSourceStatus object.
next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeConfigurationAggregatorSourcesStatusError>
sourcepub fn describe_configuration_recorders(&self) -> DescribeConfigurationRecorders
pub fn describe_configuration_recorders(&self) -> DescribeConfigurationRecorders
Constructs a fluent builder for the DescribeConfigurationRecorders operation.
- The fluent builder is configurable:
configuration_recorder_names(Vec<String>)/set_configuration_recorder_names(Option<Vec<String>>):A list of configuration recorder names.
- On success, responds with
DescribeConfigurationRecordersOutputwith field(s):configuration_recorders(Option<Vec<ConfigurationRecorder>>):A list that contains the descriptions of the specified configuration recorders.
- On failure, responds with
SdkError<DescribeConfigurationRecordersError>
sourcepub fn describe_configuration_recorder_status(
&self
) -> DescribeConfigurationRecorderStatus
pub fn describe_configuration_recorder_status(
&self
) -> DescribeConfigurationRecorderStatus
Constructs a fluent builder for the DescribeConfigurationRecorderStatus operation.
- The fluent builder is configurable:
configuration_recorder_names(Vec<String>)/set_configuration_recorder_names(Option<Vec<String>>):The name(s) of the configuration recorder. If the name is not specified, the action returns the current status of all the configuration recorders associated with the account.
- On success, responds with
DescribeConfigurationRecorderStatusOutputwith field(s):configuration_recorders_status(Option<Vec<ConfigurationRecorderStatus>>):A list that contains status of the specified recorders.
- On failure, responds with
SdkError<DescribeConfigurationRecorderStatusError>
sourcepub fn describe_conformance_pack_compliance(
&self
) -> DescribeConformancePackCompliance
pub fn describe_conformance_pack_compliance(
&self
) -> DescribeConformancePackCompliance
Constructs a fluent builder for the DescribeConformancePackCompliance operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
conformance_pack_name(impl Into<String>)/set_conformance_pack_name(Option<String>):Name of the conformance pack.
filters(ConformancePackComplianceFilters)/set_filters(Option<ConformancePackComplianceFilters>):A
ConformancePackComplianceFiltersobject.limit(i32)/set_limit(i32):The maximum number of Config rules within a conformance pack are returned on each page.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
- On success, responds with
DescribeConformancePackComplianceOutputwith field(s):conformance_pack_name(Option<String>):Name of the conformance pack.
conformance_pack_rule_compliance_list(Option<Vec<ConformancePackRuleCompliance>>):Returns a list of
ConformancePackRuleComplianceobjects.next_token(Option<String>):The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeConformancePackComplianceError>
sourcepub fn describe_conformance_packs(&self) -> DescribeConformancePacks
pub fn describe_conformance_packs(&self) -> DescribeConformancePacks
Constructs a fluent builder for the DescribeConformancePacks operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
conformance_pack_names(Vec<String>)/set_conformance_pack_names(Option<Vec<String>>):Comma-separated list of conformance pack names for which you want details. If you do not specify any names, Config returns details for all your conformance packs.
limit(i32)/set_limit(i32):The maximum number of conformance packs returned on each page.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
- On success, responds with
DescribeConformancePacksOutputwith field(s):conformance_pack_details(Option<Vec<ConformancePackDetail>>):Returns a list of
ConformancePackDetailobjects.next_token(Option<String>):The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeConformancePacksError>
sourcepub fn describe_conformance_pack_status(&self) -> DescribeConformancePackStatus
pub fn describe_conformance_pack_status(&self) -> DescribeConformancePackStatus
Constructs a fluent builder for the DescribeConformancePackStatus operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
conformance_pack_names(Vec<String>)/set_conformance_pack_names(Option<Vec<String>>):Comma-separated list of conformance pack names.
limit(i32)/set_limit(i32):The maximum number of conformance packs status returned on each page.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
- On success, responds with
DescribeConformancePackStatusOutputwith field(s):conformance_pack_status_details(Option<Vec<ConformancePackStatusDetail>>):A list of
ConformancePackStatusDetailobjects.next_token(Option<String>):The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeConformancePackStatusError>
sourcepub fn describe_delivery_channels(&self) -> DescribeDeliveryChannels
pub fn describe_delivery_channels(&self) -> DescribeDeliveryChannels
Constructs a fluent builder for the DescribeDeliveryChannels operation.
- The fluent builder is configurable:
delivery_channel_names(Vec<String>)/set_delivery_channel_names(Option<Vec<String>>):A list of delivery channel names.
- On success, responds with
DescribeDeliveryChannelsOutputwith field(s):delivery_channels(Option<Vec<DeliveryChannel>>):A list that contains the descriptions of the specified delivery channel.
- On failure, responds with
SdkError<DescribeDeliveryChannelsError>
sourcepub fn describe_delivery_channel_status(&self) -> DescribeDeliveryChannelStatus
pub fn describe_delivery_channel_status(&self) -> DescribeDeliveryChannelStatus
Constructs a fluent builder for the DescribeDeliveryChannelStatus operation.
- The fluent builder is configurable:
delivery_channel_names(Vec<String>)/set_delivery_channel_names(Option<Vec<String>>):A list of delivery channel names.
- On success, responds with
DescribeDeliveryChannelStatusOutputwith field(s):delivery_channels_status(Option<Vec<DeliveryChannelStatus>>):A list that contains the status of a specified delivery channel.
- On failure, responds with
SdkError<DescribeDeliveryChannelStatusError>
sourcepub fn describe_organization_config_rules(
&self
) -> DescribeOrganizationConfigRules
pub fn describe_organization_config_rules(
&self
) -> DescribeOrganizationConfigRules
Constructs a fluent builder for the DescribeOrganizationConfigRules operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
organization_config_rule_names(Vec<String>)/set_organization_config_rule_names(Option<Vec<String>>):The names of organization Config rules for which you want details. If you do not specify any names, Config returns details for all your organization Config rules.
limit(i32)/set_limit(i32):The maximum number of organization Config rules returned on each page. If you do no specify a number, Config uses the default. The default is 100.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribeOrganizationConfigRulesOutputwith field(s):organization_config_rules(Option<Vec<OrganizationConfigRule>>):Returns a list of
OrganizationConfigRuleobjects.next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeOrganizationConfigRulesError>
sourcepub fn describe_organization_config_rule_statuses(
&self
) -> DescribeOrganizationConfigRuleStatuses
pub fn describe_organization_config_rule_statuses(
&self
) -> DescribeOrganizationConfigRuleStatuses
Constructs a fluent builder for the DescribeOrganizationConfigRuleStatuses operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
organization_config_rule_names(Vec<String>)/set_organization_config_rule_names(Option<Vec<String>>):The names of organization Config rules for which you want status details. If you do not specify any names, Config returns details for all your organization Config rules.
limit(i32)/set_limit(i32):The maximum number of
OrganizationConfigRuleStatusesreturned on each page. If you do no specify a number, Config uses the default. The default is 100.next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribeOrganizationConfigRuleStatusesOutputwith field(s):organization_config_rule_statuses(Option<Vec<OrganizationConfigRuleStatus>>):A list of
OrganizationConfigRuleStatusobjects.next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeOrganizationConfigRuleStatusesError>
sourcepub fn describe_organization_conformance_packs(
&self
) -> DescribeOrganizationConformancePacks
pub fn describe_organization_conformance_packs(
&self
) -> DescribeOrganizationConformancePacks
Constructs a fluent builder for the DescribeOrganizationConformancePacks operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
organization_conformance_pack_names(Vec<String>)/set_organization_conformance_pack_names(Option<Vec<String>>):The name that you assign to an organization conformance pack.
limit(i32)/set_limit(i32):The maximum number of organization config packs returned on each page. If you do no specify a number, Config uses the default. The default is 100.
next_token(impl Into<String>)/set_next_token(Option<String>):The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribeOrganizationConformancePacksOutputwith field(s):organization_conformance_packs(Option<Vec<OrganizationConformancePack>>):Returns a list of OrganizationConformancePacks objects.
next_token(Option<String>):The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeOrganizationConformancePacksError>
sourcepub fn describe_organization_conformance_pack_statuses(
&self
) -> DescribeOrganizationConformancePackStatuses
pub fn describe_organization_conformance_pack_statuses(
&self
) -> DescribeOrganizationConformancePackStatuses
Constructs a fluent builder for the DescribeOrganizationConformancePackStatuses operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
organization_conformance_pack_names(Vec<String>)/set_organization_conformance_pack_names(Option<Vec<String>>):The names of organization conformance packs for which you want status details. If you do not specify any names, Config returns details for all your organization conformance packs.
limit(i32)/set_limit(i32):The maximum number of OrganizationConformancePackStatuses returned on each page. If you do no specify a number, Config uses the default. The default is 100.
next_token(impl Into<String>)/set_next_token(Option<String>):The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribeOrganizationConformancePackStatusesOutputwith field(s):organization_conformance_pack_statuses(Option<Vec<OrganizationConformancePackStatus>>):A list of
OrganizationConformancePackStatusobjects.next_token(Option<String>):The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeOrganizationConformancePackStatusesError>
sourcepub fn describe_pending_aggregation_requests(
&self
) -> DescribePendingAggregationRequests
pub fn describe_pending_aggregation_requests(
&self
) -> DescribePendingAggregationRequests
Constructs a fluent builder for the DescribePendingAggregationRequests operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
limit(i32)/set_limit(i32):The maximum number of evaluation results returned on each page. The default is maximum. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribePendingAggregationRequestsOutputwith field(s):pending_aggregation_requests(Option<Vec<PendingAggregationRequest>>):Returns a PendingAggregationRequests object.
next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribePendingAggregationRequestsError>
sourcepub fn describe_remediation_configurations(
&self
) -> DescribeRemediationConfigurations
pub fn describe_remediation_configurations(
&self
) -> DescribeRemediationConfigurations
Constructs a fluent builder for the DescribeRemediationConfigurations operation.
- The fluent builder is configurable:
config_rule_names(Vec<String>)/set_config_rule_names(Option<Vec<String>>):A list of Config rule names of remediation configurations for which you want details.
- On success, responds with
DescribeRemediationConfigurationsOutputwith field(s):remediation_configurations(Option<Vec<RemediationConfiguration>>):Returns a remediation configuration object.
- On failure, responds with
SdkError<DescribeRemediationConfigurationsError>
sourcepub fn describe_remediation_exceptions(&self) -> DescribeRemediationExceptions
pub fn describe_remediation_exceptions(&self) -> DescribeRemediationExceptions
Constructs a fluent builder for the DescribeRemediationExceptions operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
config_rule_name(impl Into<String>)/set_config_rule_name(Option<String>):The name of the Config rule.
resource_keys(Vec<RemediationExceptionResourceKey>)/set_resource_keys(Option<Vec<RemediationExceptionResourceKey>>):An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
limit(i32)/set_limit(i32):The maximum number of RemediationExceptionResourceKey returned on each page. The default is 25. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
- On success, responds with
DescribeRemediationExceptionsOutputwith field(s):remediation_exceptions(Option<Vec<RemediationException>>):Returns a list of remediation exception objects.
next_token(Option<String>):The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeRemediationExceptionsError>
sourcepub fn describe_remediation_execution_status(
&self
) -> DescribeRemediationExecutionStatus
pub fn describe_remediation_execution_status(
&self
) -> DescribeRemediationExecutionStatus
Constructs a fluent builder for the DescribeRemediationExecutionStatus operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
config_rule_name(impl Into<String>)/set_config_rule_name(Option<String>):A list of Config rule names.
resource_keys(Vec<ResourceKey>)/set_resource_keys(Option<Vec<ResourceKey>>):A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
limit(i32)/set_limit(i32):The maximum number of RemediationExecutionStatuses returned on each page. The default is maximum. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribeRemediationExecutionStatusOutputwith field(s):remediation_execution_statuses(Option<Vec<RemediationExecutionStatus>>):Returns a list of remediation execution statuses objects.
next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeRemediationExecutionStatusError>
sourcepub fn describe_retention_configurations(
&self
) -> DescribeRetentionConfigurations
pub fn describe_retention_configurations(
&self
) -> DescribeRetentionConfigurations
Constructs a fluent builder for the DescribeRetentionConfigurations operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
retention_configuration_names(Vec<String>)/set_retention_configuration_names(Option<Vec<String>>):A list of names of retention configurations for which you want details. If you do not specify a name, Config returns details for all the retention configurations for that account.
Currently, Config supports only one retention configuration per region in your account.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
DescribeRetentionConfigurationsOutputwith field(s):retention_configurations(Option<Vec<RetentionConfiguration>>):Returns a retention configuration object.
next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<DescribeRetentionConfigurationsError>
sourcepub fn get_aggregate_compliance_details_by_config_rule(
&self
) -> GetAggregateComplianceDetailsByConfigRule
pub fn get_aggregate_compliance_details_by_config_rule(
&self
) -> GetAggregateComplianceDetailsByConfigRule
Constructs a fluent builder for the GetAggregateComplianceDetailsByConfigRule operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
config_rule_name(impl Into<String>)/set_config_rule_name(Option<String>):The name of the Config rule for which you want compliance information.
account_id(impl Into<String>)/set_account_id(Option<String>):The 12-digit account ID of the source account.
aws_region(impl Into<String>)/set_aws_region(Option<String>):The source region from where the data is aggregated.
compliance_type(ComplianceType)/set_compliance_type(Option<ComplianceType>):The resource compliance status.
For the
GetAggregateComplianceDetailsByConfigRuleRequestdata type, Config supports only theCOMPLIANTandNON_COMPLIANT. Config does not support theNOT_APPLICABLEandINSUFFICIENT_DATAvalues.limit(i32)/set_limit(i32):The maximum number of evaluation results returned on each page. The default is 50. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
GetAggregateComplianceDetailsByConfigRuleOutputwith field(s):aggregate_evaluation_results(Option<Vec<AggregateEvaluationResult>>):Returns an AggregateEvaluationResults object.
next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<GetAggregateComplianceDetailsByConfigRuleError>
sourcepub fn get_aggregate_config_rule_compliance_summary(
&self
) -> GetAggregateConfigRuleComplianceSummary
pub fn get_aggregate_config_rule_compliance_summary(
&self
) -> GetAggregateConfigRuleComplianceSummary
Constructs a fluent builder for the GetAggregateConfigRuleComplianceSummary operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
filters(ConfigRuleComplianceSummaryFilters)/set_filters(Option<ConfigRuleComplianceSummaryFilters>):Filters the results based on the ConfigRuleComplianceSummaryFilters object.
group_by_key(ConfigRuleComplianceSummaryGroupKey)/set_group_by_key(Option<ConfigRuleComplianceSummaryGroupKey>):Groups the result based on ACCOUNT_ID or AWS_REGION.
limit(i32)/set_limit(i32):The maximum number of evaluation results returned on each page. The default is 1000. You cannot specify a number greater than 1000. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
GetAggregateConfigRuleComplianceSummaryOutputwith field(s):group_by_key(Option<String>):Groups the result based on ACCOUNT_ID or AWS_REGION.
aggregate_compliance_counts(Option<Vec<AggregateComplianceCount>>):Returns a list of AggregateComplianceCounts object.
next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<GetAggregateConfigRuleComplianceSummaryError>
sourcepub fn get_aggregate_conformance_pack_compliance_summary(
&self
) -> GetAggregateConformancePackComplianceSummary
pub fn get_aggregate_conformance_pack_compliance_summary(
&self
) -> GetAggregateConformancePackComplianceSummary
Constructs a fluent builder for the GetAggregateConformancePackComplianceSummary operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
filters(AggregateConformancePackComplianceSummaryFilters)/set_filters(Option<AggregateConformancePackComplianceSummaryFilters>):Filters the results based on the
AggregateConformancePackComplianceSummaryFiltersobject.group_by_key(AggregateConformancePackComplianceSummaryGroupKey)/set_group_by_key(Option<AggregateConformancePackComplianceSummaryGroupKey>):Groups the result based on Amazon Web Services account ID or Amazon Web Services Region.
limit(i32)/set_limit(i32):The maximum number of results returned on each page. The default is maximum. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
GetAggregateConformancePackComplianceSummaryOutputwith field(s):aggregate_conformance_pack_compliance_summaries(Option<Vec<AggregateConformancePackComplianceSummary>>):Returns a list of
AggregateConformancePackComplianceSummaryobject.group_by_key(Option<String>):Groups the result based on Amazon Web Services account ID or Amazon Web Services Region.
next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<GetAggregateConformancePackComplianceSummaryError>
sourcepub fn get_aggregate_discovered_resource_counts(
&self
) -> GetAggregateDiscoveredResourceCounts
pub fn get_aggregate_discovered_resource_counts(
&self
) -> GetAggregateDiscoveredResourceCounts
Constructs a fluent builder for the GetAggregateDiscoveredResourceCounts operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
filters(ResourceCountFilters)/set_filters(Option<ResourceCountFilters>):Filters the results based on the
ResourceCountFiltersobject.group_by_key(ResourceCountGroupKey)/set_group_by_key(Option<ResourceCountGroupKey>):The key to group the resource counts.
limit(i32)/set_limit(i32):The maximum number of
GroupedResourceCountobjects returned on each page. The default is 1000. You cannot specify a number greater than 1000. If you specify 0, Config uses the default.next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
GetAggregateDiscoveredResourceCountsOutputwith field(s):total_discovered_resources(i64):The total number of resources that are present in an aggregator with the filters that you provide.
group_by_key(Option<String>):The key passed into the request object. If
GroupByKeyis not provided, the result will be empty.grouped_resource_counts(Option<Vec<GroupedResourceCount>>):Returns a list of GroupedResourceCount objects.
next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<GetAggregateDiscoveredResourceCountsError>
sourcepub fn get_aggregate_resource_config(&self) -> GetAggregateResourceConfig
pub fn get_aggregate_resource_config(&self) -> GetAggregateResourceConfig
Constructs a fluent builder for the GetAggregateResourceConfig operation.
- The fluent builder is configurable:
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
resource_identifier(AggregateResourceIdentifier)/set_resource_identifier(Option<AggregateResourceIdentifier>):An object that identifies aggregate resource.
- On success, responds with
GetAggregateResourceConfigOutputwith field(s):configuration_item(Option<ConfigurationItem>):Returns a
ConfigurationItemobject.
- On failure, responds with
SdkError<GetAggregateResourceConfigError>
sourcepub fn get_compliance_details_by_config_rule(
&self
) -> GetComplianceDetailsByConfigRule
pub fn get_compliance_details_by_config_rule(
&self
) -> GetComplianceDetailsByConfigRule
Constructs a fluent builder for the GetComplianceDetailsByConfigRule operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
config_rule_name(impl Into<String>)/set_config_rule_name(Option<String>):The name of the Config rule for which you want compliance information.
compliance_types(Vec<ComplianceType>)/set_compliance_types(Option<Vec<ComplianceType>>):Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andNOT_APPLICABLE.limit(i32)/set_limit(i32):The maximum number of evaluation results returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
GetComplianceDetailsByConfigRuleOutputwith field(s):evaluation_results(Option<Vec<EvaluationResult>>):Indicates whether the Amazon Web Services resource complies with the specified Config rule.
next_token(Option<String>):The string that you use in a subsequent request to get the next page of results in a paginated response.
- On failure, responds with
SdkError<GetComplianceDetailsByConfigRuleError>
sourcepub fn get_compliance_details_by_resource(
&self
) -> GetComplianceDetailsByResource
pub fn get_compliance_details_by_resource(
&self
) -> GetComplianceDetailsByResource
Constructs a fluent builder for the GetComplianceDetailsByResource operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_type(impl Into<String>)/set_resource_type(Option<String>):The type of the Amazon Web Services resource for which you want compliance information.
resource_id(impl Into<String>)/set_resource_id(Option<String>):The ID of the Amazon Web Services resource for which you want compliance information.
compliance_types(Vec<ComplianceType>)/set_compliance_types(Option<Vec<ComplianceType>>):Filters the results by compliance.
The allowed values are
COMPLIANT,NON_COMPLIANT, andNOT_APPLICABLE.next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
GetComplianceDetailsByResourceOutputwith field(s):evaluation_results(Option<Vec<EvaluationResult>>):Indicates whether the specified Amazon Web Services resource complies each Config rule.
next_token(Option<String>):The string that you use in a subsequent request to get the next page of results in a paginated response.
- On failure, responds with
SdkError<GetComplianceDetailsByResourceError>
sourcepub fn get_compliance_summary_by_config_rule(
&self
) -> GetComplianceSummaryByConfigRule
pub fn get_compliance_summary_by_config_rule(
&self
) -> GetComplianceSummaryByConfigRule
Constructs a fluent builder for the GetComplianceSummaryByConfigRule operation.
- The fluent builder takes no input, just
sendit. - On success, responds with
GetComplianceSummaryByConfigRuleOutputwith field(s):compliance_summary(Option<ComplianceSummary>):The number of Config rules that are compliant and the number that are noncompliant, up to a maximum of 25 for each.
- On failure, responds with
SdkError<GetComplianceSummaryByConfigRuleError>
sourcepub fn get_compliance_summary_by_resource_type(
&self
) -> GetComplianceSummaryByResourceType
pub fn get_compliance_summary_by_resource_type(
&self
) -> GetComplianceSummaryByResourceType
Constructs a fluent builder for the GetComplianceSummaryByResourceType operation.
- The fluent builder is configurable:
resource_types(Vec<String>)/set_resource_types(Option<Vec<String>>):Specify one or more resource types to get the number of resources that are compliant and the number that are noncompliant for each resource type.
For this request, you can specify an Amazon Web Services resource type such as
AWS::EC2::Instance. You can specify that the resource type is an Amazon Web Services account by specifyingAWS::::Account.
- On success, responds with
GetComplianceSummaryByResourceTypeOutputwith field(s):compliance_summaries_by_resource_type(Option<Vec<ComplianceSummaryByResourceType>>):The number of resources that are compliant and the number that are noncompliant. If one or more resource types were provided with the request, the numbers are returned for each resource type. The maximum number returned is 100.
- On failure, responds with
SdkError<GetComplianceSummaryByResourceTypeError>
sourcepub fn get_conformance_pack_compliance_details(
&self
) -> GetConformancePackComplianceDetails
pub fn get_conformance_pack_compliance_details(
&self
) -> GetConformancePackComplianceDetails
Constructs a fluent builder for the GetConformancePackComplianceDetails operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
conformance_pack_name(impl Into<String>)/set_conformance_pack_name(Option<String>):Name of the conformance pack.
filters(ConformancePackEvaluationFilters)/set_filters(Option<ConformancePackEvaluationFilters>):A
ConformancePackEvaluationFiltersobject.limit(i32)/set_limit(i32):The maximum number of evaluation results returned on each page. If you do no specify a number, Config uses the default. The default is 100.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
- On success, responds with
GetConformancePackComplianceDetailsOutputwith field(s):conformance_pack_name(Option<String>):Name of the conformance pack.
conformance_pack_rule_evaluation_results(Option<Vec<ConformancePackEvaluationResult>>):Returns a list of
ConformancePackEvaluationResultobjects.next_token(Option<String>):The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
- On failure, responds with
SdkError<GetConformancePackComplianceDetailsError>
sourcepub fn get_conformance_pack_compliance_summary(
&self
) -> GetConformancePackComplianceSummary
pub fn get_conformance_pack_compliance_summary(
&self
) -> GetConformancePackComplianceSummary
Constructs a fluent builder for the GetConformancePackComplianceSummary operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
conformance_pack_names(Vec<String>)/set_conformance_pack_names(Option<Vec<String>>):Names of conformance packs.
limit(i32)/set_limit(i32):The maximum number of conformance packs returned on each page.
next_token(impl Into<String>)/set_next_token(Option<String>):The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
GetConformancePackComplianceSummaryOutputwith field(s):conformance_pack_compliance_summary_list(Option<Vec<ConformancePackComplianceSummary>>):A list of
ConformancePackComplianceSummaryobjects.next_token(Option<String>):The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<GetConformancePackComplianceSummaryError>
sourcepub fn get_custom_rule_policy(&self) -> GetCustomRulePolicy
pub fn get_custom_rule_policy(&self) -> GetCustomRulePolicy
Constructs a fluent builder for the GetCustomRulePolicy operation.
- The fluent builder is configurable:
config_rule_name(impl Into<String>)/set_config_rule_name(Option<String>):The name of your Config Custom Policy rule.
- On success, responds with
GetCustomRulePolicyOutputwith field(s):policy_text(Option<String>):The policy definition containing the logic for your Config Custom Policy rule.
- On failure, responds with
SdkError<GetCustomRulePolicyError>
sourcepub fn get_discovered_resource_counts(&self) -> GetDiscoveredResourceCounts
pub fn get_discovered_resource_counts(&self) -> GetDiscoveredResourceCounts
Constructs a fluent builder for the GetDiscoveredResourceCounts operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_types(Vec<String>)/set_resource_types(Option<Vec<String>>):The comma-separated list that specifies the resource types that you want Config to return (for example,
“AWS::EC2::Instance”,“AWS::IAM::User”).If a value for
resourceTypesis not specified, Config returns all resource types that Config is recording in the region for your account.If the configuration recorder is turned off, Config returns an empty list of
ResourceCountobjects. If the configuration recorder is not recording a specific resource type (for example, S3 buckets), that resource type is not returned in the list ofResourceCountobjects.limit(i32)/set_limit(i32):The maximum number of
ResourceCountobjects returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, Config uses the default.next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
GetDiscoveredResourceCountsOutputwith field(s):total_discovered_resources(i64):The total number of resources that Config is recording in the region for your account. If you specify resource types in the request, Config returns only the total number of resources for those resource types.
Example
-
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, for a total of 60 resources.
-
You make a call to the
GetDiscoveredResourceCountsaction and specify the resource type,“AWS::EC2::Instances”, in the request. -
Config returns 25 for
totalDiscoveredResources.
-
resource_counts(Option<Vec<ResourceCount>>):The list of
ResourceCountobjects. Each object is listed in descending order by the number of resources.next_token(Option<String>):The string that you use in a subsequent request to get the next page of results in a paginated response.
- On failure, responds with
SdkError<GetDiscoveredResourceCountsError>
sourcepub fn get_organization_config_rule_detailed_status(
&self
) -> GetOrganizationConfigRuleDetailedStatus
pub fn get_organization_config_rule_detailed_status(
&self
) -> GetOrganizationConfigRuleDetailedStatus
Constructs a fluent builder for the GetOrganizationConfigRuleDetailedStatus operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
organization_config_rule_name(impl Into<String>)/set_organization_config_rule_name(Option<String>):The name of your organization Config rule for which you want status details for member accounts.
filters(StatusDetailFilters)/set_filters(Option<StatusDetailFilters>):A
StatusDetailFiltersobject.limit(i32)/set_limit(i32):The maximum number of
OrganizationConfigRuleDetailedStatusreturned on each page. If you do not specify a number, Config uses the default. The default is 100.next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
GetOrganizationConfigRuleDetailedStatusOutputwith field(s):organization_config_rule_detailed_status(Option<Vec<MemberAccountStatus>>):A list of
MemberAccountStatusobjects.next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<GetOrganizationConfigRuleDetailedStatusError>
sourcepub fn get_organization_conformance_pack_detailed_status(
&self
) -> GetOrganizationConformancePackDetailedStatus
pub fn get_organization_conformance_pack_detailed_status(
&self
) -> GetOrganizationConformancePackDetailedStatus
Constructs a fluent builder for the GetOrganizationConformancePackDetailedStatus operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
organization_conformance_pack_name(impl Into<String>)/set_organization_conformance_pack_name(Option<String>):The name of organization conformance pack for which you want status details for member accounts.
filters(OrganizationResourceDetailedStatusFilters)/set_filters(Option<OrganizationResourceDetailedStatusFilters>):An
OrganizationResourceDetailedStatusFiltersobject.limit(i32)/set_limit(i32):The maximum number of
OrganizationConformancePackDetailedStatusesreturned on each page. If you do not specify a number, Config uses the default. The default is 100.next_token(impl Into<String>)/set_next_token(Option<String>):The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
GetOrganizationConformancePackDetailedStatusOutputwith field(s):organization_conformance_pack_detailed_statuses(Option<Vec<OrganizationConformancePackDetailedStatus>>):A list of
OrganizationConformancePackDetailedStatusobjects.next_token(Option<String>):The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<GetOrganizationConformancePackDetailedStatusError>
sourcepub fn get_organization_custom_rule_policy(
&self
) -> GetOrganizationCustomRulePolicy
pub fn get_organization_custom_rule_policy(
&self
) -> GetOrganizationCustomRulePolicy
Constructs a fluent builder for the GetOrganizationCustomRulePolicy operation.
- The fluent builder is configurable:
organization_config_rule_name(impl Into<String>)/set_organization_config_rule_name(Option<String>):The name of your organization Config Custom Policy rule.
- On success, responds with
GetOrganizationCustomRulePolicyOutputwith field(s):policy_text(Option<String>):The policy definition containing the logic for your organization Config Custom Policy rule.
- On failure, responds with
SdkError<GetOrganizationCustomRulePolicyError>
sourcepub fn get_resource_config_history(&self) -> GetResourceConfigHistory
pub fn get_resource_config_history(&self) -> GetResourceConfigHistory
Constructs a fluent builder for the GetResourceConfigHistory operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_type(ResourceType)/set_resource_type(Option<ResourceType>):The resource type.
resource_id(impl Into<String>)/set_resource_id(Option<String>):The ID of the resource (for example.,
sg-xxxxxx).later_time(DateTime)/set_later_time(Option<DateTime>):The time stamp that indicates a later time. If not specified, current time is taken.
earlier_time(DateTime)/set_earlier_time(Option<DateTime>):The time stamp that indicates an earlier time. If not specified, the action returns paginated results that contain configuration items that start when the first configuration item was recorded.
chronological_order(ChronologicalOrder)/set_chronological_order(Option<ChronologicalOrder>):The chronological order for configuration items listed. By default, the results are listed in reverse chronological order.
limit(i32)/set_limit(i32):The maximum number of configuration items returned on each page. The default is 10. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
GetResourceConfigHistoryOutputwith field(s):configuration_items(Option<Vec<ConfigurationItem>>):A list that contains the configuration history of one or more resources.
next_token(Option<String>):The string that you use in a subsequent request to get the next page of results in a paginated response.
- On failure, responds with
SdkError<GetResourceConfigHistoryError>
sourcepub fn get_stored_query(&self) -> GetStoredQuery
pub fn get_stored_query(&self) -> GetStoredQuery
Constructs a fluent builder for the GetStoredQuery operation.
- The fluent builder is configurable:
query_name(impl Into<String>)/set_query_name(Option<String>):The name of the query.
- On success, responds with
GetStoredQueryOutputwith field(s):stored_query(Option<StoredQuery>):Returns a
StoredQueryobject.
- On failure, responds with
SdkError<GetStoredQueryError>
sourcepub fn list_aggregate_discovered_resources(
&self
) -> ListAggregateDiscoveredResources
pub fn list_aggregate_discovered_resources(
&self
) -> ListAggregateDiscoveredResources
Constructs a fluent builder for the ListAggregateDiscoveredResources operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
resource_type(ResourceType)/set_resource_type(Option<ResourceType>):The type of resources that you want Config to list in the response.
filters(ResourceFilters)/set_filters(Option<ResourceFilters>):Filters the results based on the
ResourceFiltersobject.limit(i32)/set_limit(i32):The maximum number of resource identifiers returned on each page. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
ListAggregateDiscoveredResourcesOutputwith field(s):resource_identifiers(Option<Vec<AggregateResourceIdentifier>>):Returns a list of
ResourceIdentifiersobjects.next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<ListAggregateDiscoveredResourcesError>
sourcepub fn list_conformance_pack_compliance_scores(
&self
) -> ListConformancePackComplianceScores
pub fn list_conformance_pack_compliance_scores(
&self
) -> ListConformancePackComplianceScores
Constructs a fluent builder for the ListConformancePackComplianceScores operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
filters(ConformancePackComplianceScoresFilters)/set_filters(Option<ConformancePackComplianceScoresFilters>):Filters the results based on the
ConformancePackComplianceScoresFilters.sort_order(SortOrder)/set_sort_order(Option<SortOrder>):Determines the order in which conformance pack compliance scores are sorted. Either in ascending or descending order.
Conformance packs with a compliance score of
INSUFFICIENT_DATAwill be first when sorting by ascending order and last when sorting by descending order.sort_by(SortBy)/set_sort_by(Option<SortBy>):Sorts your conformance pack compliance scores in either ascending or descending order, depending on
SortOrder.By default, conformance pack compliance scores are sorted in ascending order by compliance score and alphabetically by name of the conformance pack if there is more than one conformance pack with the same compliance score.
limit(i32)/set_limit(i32):The maximum number of conformance pack compliance scores returned on each page.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring in a prior request that you can use to get the paginated response for next set of conformance pack compliance scores.
- On success, responds with
ListConformancePackComplianceScoresOutputwith field(s):next_token(Option<String>):The
nextTokenstring that you can use to get the next page of results in a paginated response.conformance_pack_compliance_scores(Option<Vec<ConformancePackComplianceScore>>):A list of
ConformancePackComplianceScoreobjects.
- On failure, responds with
SdkError<ListConformancePackComplianceScoresError>
sourcepub fn list_discovered_resources(&self) -> ListDiscoveredResources
pub fn list_discovered_resources(&self) -> ListDiscoveredResources
Constructs a fluent builder for the ListDiscoveredResources operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_type(ResourceType)/set_resource_type(Option<ResourceType>):The type of resources that you want Config to list in the response.
resource_ids(Vec<String>)/set_resource_ids(Option<Vec<String>>):The IDs of only those resources that you want Config to list in the response. If you do not specify this parameter, Config lists all resources of the specified type that it has discovered.
resource_name(impl Into<String>)/set_resource_name(Option<String>):The custom name of only those resources that you want Config to list in the response. If you do not specify this parameter, Config lists all resources of the specified type that it has discovered.
limit(i32)/set_limit(i32):The maximum number of resource identifiers returned on each page. The default is 100. You cannot specify a number greater than 100. If you specify 0, Config uses the default.
include_deleted_resources(bool)/set_include_deleted_resources(bool):Specifies whether Config includes deleted resources in the results. By default, deleted resources are not included.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
ListDiscoveredResourcesOutputwith field(s):resource_identifiers(Option<Vec<ResourceIdentifier>>):The details that identify a resource that is discovered by Config, including the resource type, ID, and (if available) the custom resource name.
next_token(Option<String>):The string that you use in a subsequent request to get the next page of results in a paginated response.
- On failure, responds with
SdkError<ListDiscoveredResourcesError>
sourcepub fn list_stored_queries(&self) -> ListStoredQueries
pub fn list_stored_queries(&self) -> ListStoredQueries
Constructs a fluent builder for the ListStoredQueries operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
next_token(impl Into<String>)/set_next_token(Option<String>):The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.
max_results(i32)/set_max_results(Option<i32>):The maximum number of results to be returned with a single call.
- On success, responds with
ListStoredQueriesOutputwith field(s):stored_query_metadata(Option<Vec<StoredQueryMetadata>>):A list of
StoredQueryMetadataobjects.next_token(Option<String>):If the previous paginated request didn’t return all of the remaining results, the response object’s
NextTokenparameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object’sNextTokenparameter. If there are no remaining results, the previous response object’sNextTokenparameter is set tonull.
- On failure, responds with
SdkError<ListStoredQueriesError>
Constructs a fluent builder for the ListTagsForResource operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are
ConfigRule,ConfigurationAggregatorandAggregatorAuthorization.limit(i32)/set_limit(i32):The maximum number of tags returned on each page. The limit maximum is 50. You cannot specify a number greater than 50. If you specify 0, Config uses the default.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On success, responds with
ListTagsForResourceOutputwith field(s):tags(Option<Vec<Tag>>):The tags for the resource.
next_token(Option<String>):The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
- On failure, responds with
SdkError<ListTagsForResourceError>
Constructs a fluent builder for the PutAggregationAuthorization operation.
- The fluent builder is configurable:
authorized_account_id(impl Into<String>)/set_authorized_account_id(Option<String>):The 12-digit account ID of the account authorized to aggregate data.
authorized_aws_region(impl Into<String>)/set_authorized_aws_region(Option<String>):The region authorized to collect aggregated data.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An array of tag object.
- On success, responds with
PutAggregationAuthorizationOutputwith field(s):aggregation_authorization(Option<AggregationAuthorization>):Returns an AggregationAuthorization object.
- On failure, responds with
SdkError<PutAggregationAuthorizationError>
sourcepub fn put_config_rule(&self) -> PutConfigRule
pub fn put_config_rule(&self) -> PutConfigRule
Constructs a fluent builder for the PutConfigRule operation.
- The fluent builder is configurable:
config_rule(ConfigRule)/set_config_rule(Option<ConfigRule>):The rule that you want to add to your account.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An array of tag object.
- On success, responds with
PutConfigRuleOutput - On failure, responds with
SdkError<PutConfigRuleError>
sourcepub fn put_configuration_aggregator(&self) -> PutConfigurationAggregator
pub fn put_configuration_aggregator(&self) -> PutConfigurationAggregator
Constructs a fluent builder for the PutConfigurationAggregator operation.
- The fluent builder is configurable:
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
account_aggregation_sources(Vec<AccountAggregationSource>)/set_account_aggregation_sources(Option<Vec<AccountAggregationSource>>):A list of AccountAggregationSource object.
organization_aggregation_source(OrganizationAggregationSource)/set_organization_aggregation_source(Option<OrganizationAggregationSource>):An OrganizationAggregationSource object.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An array of tag object.
- On success, responds with
PutConfigurationAggregatorOutputwith field(s):configuration_aggregator(Option<ConfigurationAggregator>):Returns a ConfigurationAggregator object.
- On failure, responds with
SdkError<PutConfigurationAggregatorError>
sourcepub fn put_configuration_recorder(&self) -> PutConfigurationRecorder
pub fn put_configuration_recorder(&self) -> PutConfigurationRecorder
Constructs a fluent builder for the PutConfigurationRecorder operation.
- The fluent builder is configurable:
configuration_recorder(ConfigurationRecorder)/set_configuration_recorder(Option<ConfigurationRecorder>):The configuration recorder object that records each configuration change made to the resources.
- On success, responds with
PutConfigurationRecorderOutput - On failure, responds with
SdkError<PutConfigurationRecorderError>
sourcepub fn put_conformance_pack(&self) -> PutConformancePack
pub fn put_conformance_pack(&self) -> PutConformancePack
Constructs a fluent builder for the PutConformancePack operation.
- The fluent builder is configurable:
conformance_pack_name(impl Into<String>)/set_conformance_pack_name(Option<String>):The unique name of the conformance pack you want to deploy.
template_s3_uri(impl Into<String>)/set_template_s3_uri(Option<String>):The location of the file containing the template body (
s3://bucketname/prefix). The uri must point to a conformance pack template (max size: 300 KB) that is located in an Amazon S3 bucket in the same region as the conformance pack.You must have access to read Amazon S3 bucket.
template_body(impl Into<String>)/set_template_body(Option<String>):A string containing the full conformance pack template body. The structure containing the template body has a minimum length of 1 byte and a maximum length of 51,200 bytes.
You can only use a YAML template with two resource types: Config rule (
AWS::Config::ConfigRule) and remediation action (AWS::Config::RemediationConfiguration).delivery_s3_bucket(impl Into<String>)/set_delivery_s3_bucket(Option<String>):The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional.
delivery_s3_key_prefix(impl Into<String>)/set_delivery_s3_key_prefix(Option<String>):The prefix for the Amazon S3 bucket.
This field is optional.
conformance_pack_input_parameters(Vec<ConformancePackInputParameter>)/set_conformance_pack_input_parameters(Option<Vec<ConformancePackInputParameter>>):A list of
ConformancePackInputParameterobjects.template_ssm_document_details(TemplateSsmDocumentDetails)/set_template_ssm_document_details(Option<TemplateSsmDocumentDetails>):An object of type
TemplateSSMDocumentDetails, which contains the name or the Amazon Resource Name (ARN) of the Amazon Web Services Systems Manager document (SSM document) and the version of the SSM document that is used to create a conformance pack.
- On success, responds with
PutConformancePackOutputwith field(s):conformance_pack_arn(Option<String>):ARN of the conformance pack.
- On failure, responds with
SdkError<PutConformancePackError>
sourcepub fn put_delivery_channel(&self) -> PutDeliveryChannel
pub fn put_delivery_channel(&self) -> PutDeliveryChannel
Constructs a fluent builder for the PutDeliveryChannel operation.
- The fluent builder is configurable:
delivery_channel(DeliveryChannel)/set_delivery_channel(Option<DeliveryChannel>):The configuration delivery channel object that delivers the configuration information to an Amazon S3 bucket and to an Amazon SNS topic.
- On success, responds with
PutDeliveryChannelOutput - On failure, responds with
SdkError<PutDeliveryChannelError>
sourcepub fn put_evaluations(&self) -> PutEvaluations
pub fn put_evaluations(&self) -> PutEvaluations
Constructs a fluent builder for the PutEvaluations operation.
- The fluent builder is configurable:
evaluations(Vec<Evaluation>)/set_evaluations(Option<Vec<Evaluation>>):The assessments that the Lambda function performs. Each evaluation identifies an Amazon Web Services resource and indicates whether it complies with the Config rule that invokes the Lambda function.
result_token(impl Into<String>)/set_result_token(Option<String>):An encrypted token that associates an evaluation with an Config rule. Identifies the rule and the event that triggered the evaluation.
test_mode(bool)/set_test_mode(bool):Use this parameter to specify a test run for
PutEvaluations. You can verify whether your Lambda function will deliver evaluation results to Config. No updates occur to your existing evaluations, and evaluation results are not sent to Config.When
TestModeistrue,PutEvaluationsdoesn’t require a valid value for theResultTokenparameter, but the value cannot be null.
- On success, responds with
PutEvaluationsOutputwith field(s):failed_evaluations(Option<Vec<Evaluation>>):Requests that failed because of a client or server error.
- On failure, responds with
SdkError<PutEvaluationsError>
sourcepub fn put_external_evaluation(&self) -> PutExternalEvaluation
pub fn put_external_evaluation(&self) -> PutExternalEvaluation
Constructs a fluent builder for the PutExternalEvaluation operation.
- The fluent builder is configurable:
config_rule_name(impl Into<String>)/set_config_rule_name(Option<String>):The name of the Config rule.
external_evaluation(ExternalEvaluation)/set_external_evaluation(Option<ExternalEvaluation>):An
ExternalEvaluationobject that provides details about compliance.
- On success, responds with
PutExternalEvaluationOutput - On failure, responds with
SdkError<PutExternalEvaluationError>
sourcepub fn put_organization_config_rule(&self) -> PutOrganizationConfigRule
pub fn put_organization_config_rule(&self) -> PutOrganizationConfigRule
Constructs a fluent builder for the PutOrganizationConfigRule operation.
- The fluent builder is configurable:
organization_config_rule_name(impl Into<String>)/set_organization_config_rule_name(Option<String>):The name that you assign to an organization Config rule.
organization_managed_rule_metadata(OrganizationManagedRuleMetadata)/set_organization_managed_rule_metadata(Option<OrganizationManagedRuleMetadata>):An
OrganizationManagedRuleMetadataobject. This object specifies organization managed rule metadata such as resource type and ID of Amazon Web Services resource along with the rule identifier. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.organization_custom_rule_metadata(OrganizationCustomRuleMetadata)/set_organization_custom_rule_metadata(Option<OrganizationCustomRuleMetadata>):An
OrganizationCustomRuleMetadataobject. This object specifies organization custom rule metadata such as resource type, resource ID of Amazon Web Services resource, Lambda function ARN, and organization trigger types that trigger Config to evaluate your Amazon Web Services resources against a rule. It also provides the frequency with which you want Config to run evaluations for the rule if the trigger type is periodic.excluded_accounts(Vec<String>)/set_excluded_accounts(Option<Vec<String>>):A comma-separated list of accounts that you want to exclude from an organization Config rule.
organization_custom_policy_rule_metadata(OrganizationCustomPolicyRuleMetadata)/set_organization_custom_policy_rule_metadata(Option<OrganizationCustomPolicyRuleMetadata>):An
OrganizationCustomPolicyRuleMetadataobject. This object specifies metadata for your organization’s Config Custom Policy rule. The metadata includes the runtime system in use, which accounts have debug logging enabled, and other custom rule metadata, such as resource type, resource ID of Amazon Web Services resource, and organization trigger types that initiate Config to evaluate Amazon Web Services resources against a rule.
- On success, responds with
PutOrganizationConfigRuleOutputwith field(s):organization_config_rule_arn(Option<String>):The Amazon Resource Name (ARN) of an organization Config rule.
- On failure, responds with
SdkError<PutOrganizationConfigRuleError>
sourcepub fn put_organization_conformance_pack(
&self
) -> PutOrganizationConformancePack
pub fn put_organization_conformance_pack(
&self
) -> PutOrganizationConformancePack
Constructs a fluent builder for the PutOrganizationConformancePack operation.
- The fluent builder is configurable:
organization_conformance_pack_name(impl Into<String>)/set_organization_conformance_pack_name(Option<String>):Name of the organization conformance pack you want to create.
template_s3_uri(impl Into<String>)/set_template_s3_uri(Option<String>):Location of file containing the template body. The uri must point to the conformance pack template (max size: 300 KB).
You must have access to read Amazon S3 bucket.
template_body(impl Into<String>)/set_template_body(Option<String>):A string containing full conformance pack template body. Structure containing the template body with a minimum length of 1 byte and a maximum length of 51,200 bytes.
delivery_s3_bucket(impl Into<String>)/set_delivery_s3_bucket(Option<String>):The name of the Amazon S3 bucket where Config stores conformance pack templates.
This field is optional. If used, it must be prefixed with
awsconfigconforms.delivery_s3_key_prefix(impl Into<String>)/set_delivery_s3_key_prefix(Option<String>):The prefix for the Amazon S3 bucket.
This field is optional.
conformance_pack_input_parameters(Vec<ConformancePackInputParameter>)/set_conformance_pack_input_parameters(Option<Vec<ConformancePackInputParameter>>):A list of
ConformancePackInputParameterobjects.excluded_accounts(Vec<String>)/set_excluded_accounts(Option<Vec<String>>):A list of Amazon Web Services accounts to be excluded from an organization conformance pack while deploying a conformance pack.
- On success, responds with
PutOrganizationConformancePackOutputwith field(s):organization_conformance_pack_arn(Option<String>):ARN of the organization conformance pack.
- On failure, responds with
SdkError<PutOrganizationConformancePackError>
sourcepub fn put_remediation_configurations(&self) -> PutRemediationConfigurations
pub fn put_remediation_configurations(&self) -> PutRemediationConfigurations
Constructs a fluent builder for the PutRemediationConfigurations operation.
- The fluent builder is configurable:
remediation_configurations(Vec<RemediationConfiguration>)/set_remediation_configurations(Option<Vec<RemediationConfiguration>>):A list of remediation configuration objects.
- On success, responds with
PutRemediationConfigurationsOutputwith field(s):failed_batches(Option<Vec<FailedRemediationBatch>>):Returns a list of failed remediation batch objects.
- On failure, responds with
SdkError<PutRemediationConfigurationsError>
sourcepub fn put_remediation_exceptions(&self) -> PutRemediationExceptions
pub fn put_remediation_exceptions(&self) -> PutRemediationExceptions
Constructs a fluent builder for the PutRemediationExceptions operation.
- The fluent builder is configurable:
config_rule_name(impl Into<String>)/set_config_rule_name(Option<String>):The name of the Config rule for which you want to create remediation exception.
resource_keys(Vec<RemediationExceptionResourceKey>)/set_resource_keys(Option<Vec<RemediationExceptionResourceKey>>):An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.
message(impl Into<String>)/set_message(Option<String>):The message contains an explanation of the exception.
expiration_time(DateTime)/set_expiration_time(Option<DateTime>):The exception is automatically deleted after the expiration date.
- On success, responds with
PutRemediationExceptionsOutputwith field(s):failed_batches(Option<Vec<FailedRemediationExceptionBatch>>):Returns a list of failed remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.
- On failure, responds with
SdkError<PutRemediationExceptionsError>
sourcepub fn put_resource_config(&self) -> PutResourceConfig
pub fn put_resource_config(&self) -> PutResourceConfig
Constructs a fluent builder for the PutResourceConfig operation.
- The fluent builder is configurable:
resource_type(impl Into<String>)/set_resource_type(Option<String>):The type of the resource. The custom resource type must be registered with CloudFormation.
You cannot use the organization names “amzn”, “amazon”, “alexa”, “custom” with custom resource types. It is the first part of the ResourceType up to the first ::.
schema_version_id(impl Into<String>)/set_schema_version_id(Option<String>):Version of the schema registered for the ResourceType in CloudFormation.
resource_id(impl Into<String>)/set_resource_id(Option<String>):Unique identifier of the resource.
resource_name(impl Into<String>)/set_resource_name(Option<String>):Name of the resource.
configuration(impl Into<String>)/set_configuration(Option<String>):The configuration object of the resource in valid JSON format. It must match the schema registered with CloudFormation.
The configuration JSON must not exceed 64 KB.
tags(HashMap<String, String>)/set_tags(Option<HashMap<String, String>>):Tags associated with the resource.
This field is not to be confused with the Amazon Web Services-wide tag feature for Amazon Web Services resources. Tags for
PutResourceConfigare tags that you supply for the configuration items of your custom resources.
- On success, responds with
PutResourceConfigOutput - On failure, responds with
SdkError<PutResourceConfigError>
sourcepub fn put_retention_configuration(&self) -> PutRetentionConfiguration
pub fn put_retention_configuration(&self) -> PutRetentionConfiguration
Constructs a fluent builder for the PutRetentionConfiguration operation.
- The fluent builder is configurable:
retention_period_in_days(i32)/set_retention_period_in_days(i32):Number of days Config stores your historical information.
Currently, only applicable to the configuration item history.
- On success, responds with
PutRetentionConfigurationOutputwith field(s):retention_configuration(Option<RetentionConfiguration>):Returns a retention configuration object.
- On failure, responds with
SdkError<PutRetentionConfigurationError>
sourcepub fn put_stored_query(&self) -> PutStoredQuery
pub fn put_stored_query(&self) -> PutStoredQuery
Constructs a fluent builder for the PutStoredQuery operation.
- The fluent builder is configurable:
stored_query(StoredQuery)/set_stored_query(Option<StoredQuery>):A list of
StoredQueryobjects. The mandatory fields areQueryNameandExpression.When you are creating a query, you must provide a query name and an expression. When you are updating a query, you must provide a query name but updating the description is optional.
tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):A list of
Tagsobject.
- On success, responds with
PutStoredQueryOutputwith field(s):query_arn(Option<String>):Amazon Resource Name (ARN) of the query. For example, arn:partition:service:region:account-id:resource-type/resource-name/resource-id.
- On failure, responds with
SdkError<PutStoredQueryError>
sourcepub fn select_aggregate_resource_config(&self) -> SelectAggregateResourceConfig
pub fn select_aggregate_resource_config(&self) -> SelectAggregateResourceConfig
Constructs a fluent builder for the SelectAggregateResourceConfig operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
expression(impl Into<String>)/set_expression(Option<String>):The SQL query SELECT command.
configuration_aggregator_name(impl Into<String>)/set_configuration_aggregator_name(Option<String>):The name of the configuration aggregator.
limit(i32)/set_limit(i32):The maximum number of query results returned on each page.
max_results(i32)/set_max_results(i32):The maximum number of query results returned on each page. Config also allows the Limit request parameter.
next_token(impl Into<String>)/set_next_token(Option<String>):The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.
- On success, responds with
SelectAggregateResourceConfigOutputwith field(s):results(Option<Vec<String>>):Returns the results for the SQL query.
query_info(Option<QueryInfo>):Details about the query.
next_token(Option<String>):The nextToken string returned in a previous request that you use to request the next page of results in a paginated response.
- On failure, responds with
SdkError<SelectAggregateResourceConfigError>
sourcepub fn select_resource_config(&self) -> SelectResourceConfig
pub fn select_resource_config(&self) -> SelectResourceConfig
Constructs a fluent builder for the SelectResourceConfig operation.
This operation supports pagination; See into_paginator().
- The fluent builder is configurable:
expression(impl Into<String>)/set_expression(Option<String>):The SQL query
SELECTcommand.limit(i32)/set_limit(i32):The maximum number of query results returned on each page.
next_token(impl Into<String>)/set_next_token(Option<String>):The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
- On success, responds with
SelectResourceConfigOutputwith field(s):results(Option<Vec<String>>):Returns the results for the SQL query.
query_info(Option<QueryInfo>):Returns the
QueryInfoobject.next_token(Option<String>):The
nextTokenstring returned in a previous request that you use to request the next page of results in a paginated response.
- On failure, responds with
SdkError<SelectResourceConfigError>
sourcepub fn start_config_rules_evaluation(&self) -> StartConfigRulesEvaluation
pub fn start_config_rules_evaluation(&self) -> StartConfigRulesEvaluation
Constructs a fluent builder for the StartConfigRulesEvaluation operation.
- The fluent builder is configurable:
config_rule_names(Vec<String>)/set_config_rule_names(Option<Vec<String>>):The list of names of Config rules that you want to run evaluations for.
- On success, responds with
StartConfigRulesEvaluationOutput - On failure, responds with
SdkError<StartConfigRulesEvaluationError>
sourcepub fn start_configuration_recorder(&self) -> StartConfigurationRecorder
pub fn start_configuration_recorder(&self) -> StartConfigurationRecorder
Constructs a fluent builder for the StartConfigurationRecorder operation.
- The fluent builder is configurable:
configuration_recorder_name(impl Into<String>)/set_configuration_recorder_name(Option<String>):The name of the recorder object that records each configuration change made to the resources.
- On success, responds with
StartConfigurationRecorderOutput - On failure, responds with
SdkError<StartConfigurationRecorderError>
sourcepub fn start_remediation_execution(&self) -> StartRemediationExecution
pub fn start_remediation_execution(&self) -> StartRemediationExecution
Constructs a fluent builder for the StartRemediationExecution operation.
- The fluent builder is configurable:
config_rule_name(impl Into<String>)/set_config_rule_name(Option<String>):The list of names of Config rules that you want to run remediation execution for.
resource_keys(Vec<ResourceKey>)/set_resource_keys(Option<Vec<ResourceKey>>):A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
- On success, responds with
StartRemediationExecutionOutputwith field(s):failure_message(Option<String>):Returns a failure message. For example, the resource is already compliant.
failed_items(Option<Vec<ResourceKey>>):For resources that have failed to start execution, the API returns a resource key object.
- On failure, responds with
SdkError<StartRemediationExecutionError>
sourcepub fn stop_configuration_recorder(&self) -> StopConfigurationRecorder
pub fn stop_configuration_recorder(&self) -> StopConfigurationRecorder
Constructs a fluent builder for the StopConfigurationRecorder operation.
- The fluent builder is configurable:
configuration_recorder_name(impl Into<String>)/set_configuration_recorder_name(Option<String>):The name of the recorder object that records each configuration change made to the resources.
- On success, responds with
StopConfigurationRecorderOutput - On failure, responds with
SdkError<StopConfigurationRecorderError>
sourcepub fn tag_resource(&self) -> TagResource
pub fn tag_resource(&self) -> TagResource
Constructs a fluent builder for the TagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are
ConfigRule,ConfigurationAggregatorandAggregatorAuthorization.tags(Vec<Tag>)/set_tags(Option<Vec<Tag>>):An array of tag object.
- On success, responds with
TagResourceOutput - On failure, responds with
SdkError<TagResourceError>
sourcepub fn untag_resource(&self) -> UntagResource
pub fn untag_resource(&self) -> UntagResource
Constructs a fluent builder for the UntagResource operation.
- The fluent builder is configurable:
resource_arn(impl Into<String>)/set_resource_arn(Option<String>):The Amazon Resource Name (ARN) that identifies the resource for which to list the tags. Currently, the supported resources are
ConfigRule,ConfigurationAggregatorandAggregatorAuthorization.tag_keys(Vec<String>)/set_tag_keys(Option<Vec<String>>):The keys of the tags to be removed.
- On success, responds with
UntagResourceOutput - On failure, responds with
SdkError<UntagResourceError>
source§impl Client
impl Client
sourcepub fn new(sdk_config: &SdkConfig) -> Self
pub fn new(sdk_config: &SdkConfig) -> Self
Creates a new client from an SDK Config.
Panics
- This method will panic if the
sdk_configis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
sdk_configis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it.
sourcepub fn from_conf(conf: Config) -> Self
pub fn from_conf(conf: Config) -> Self
Creates a new client from the service Config.
Panics
- This method will panic if the
confis missing an async sleep implementation. If you experience this panic, set thesleep_implon the Config passed into this function to fix it. - This method will panic if the
confis missing an HTTP connector. If you experience this panic, set thehttp_connectoron the Config passed into this function to fix it.