Struct aws_sdk_config::client::Client [−][src]
pub struct Client<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }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::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
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the BatchGetAggregateResourceConfig operation.
See BatchGetAggregateResourceConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the BatchGetResourceConfig operation.
See BatchGetResourceConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteAggregationAuthorization operation.
See DeleteAggregationAuthorization for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteConfigRule operation.
See DeleteConfigRule for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteConfigurationAggregator operation.
See DeleteConfigurationAggregator for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteConfigurationRecorder operation.
See DeleteConfigurationRecorder for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteConformancePack operation.
See DeleteConformancePack for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteDeliveryChannel operation.
See DeleteDeliveryChannel for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteEvaluationResults operation.
See DeleteEvaluationResults for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteOrganizationConfigRule operation.
See DeleteOrganizationConfigRule for more information about the
operation and its arguments.
pub fn delete_organization_conformance_pack(
&self
) -> DeleteOrganizationConformancePack<C, M, R>
pub fn delete_organization_conformance_pack(
&self
) -> DeleteOrganizationConformancePack<C, M, R>
Constructs a fluent builder for the DeleteOrganizationConformancePack operation.
See DeleteOrganizationConformancePack for more information about the
operation and its arguments.
Constructs a fluent builder for the DeletePendingAggregationRequest operation.
See DeletePendingAggregationRequest for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteRemediationConfiguration operation.
See DeleteRemediationConfiguration for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteRemediationExceptions operation.
See DeleteRemediationExceptions for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteResourceConfig operation.
See DeleteResourceConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteRetentionConfiguration operation.
See DeleteRetentionConfiguration for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteStoredQuery operation.
See DeleteStoredQuery for more information about the
operation and its arguments.
Constructs a fluent builder for the DeliverConfigSnapshot operation.
See DeliverConfigSnapshot for more information about the
operation and its arguments.
pub fn describe_aggregate_compliance_by_config_rules(
&self
) -> DescribeAggregateComplianceByConfigRules<C, M, R>
pub fn describe_aggregate_compliance_by_config_rules(
&self
) -> DescribeAggregateComplianceByConfigRules<C, M, R>
Constructs a fluent builder for the DescribeAggregateComplianceByConfigRules operation.
See DescribeAggregateComplianceByConfigRules for more information about the
operation and its arguments.
pub fn describe_aggregate_compliance_by_conformance_packs(
&self
) -> DescribeAggregateComplianceByConformancePacks<C, M, R>
pub fn describe_aggregate_compliance_by_conformance_packs(
&self
) -> DescribeAggregateComplianceByConformancePacks<C, M, R>
Constructs a fluent builder for the DescribeAggregateComplianceByConformancePacks operation.
See DescribeAggregateComplianceByConformancePacks for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeAggregationAuthorizations operation.
See DescribeAggregationAuthorizations for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeComplianceByConfigRule operation.
See DescribeComplianceByConfigRule for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeComplianceByResource operation.
See DescribeComplianceByResource for more information about the
operation and its arguments.
pub fn describe_config_rule_evaluation_status(
&self
) -> DescribeConfigRuleEvaluationStatus<C, M, R>
pub fn describe_config_rule_evaluation_status(
&self
) -> DescribeConfigRuleEvaluationStatus<C, M, R>
Constructs a fluent builder for the DescribeConfigRuleEvaluationStatus operation.
See DescribeConfigRuleEvaluationStatus for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeConfigRules operation.
See DescribeConfigRules for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeConfigurationAggregators operation.
See DescribeConfigurationAggregators for more information about the
operation and its arguments.
pub fn describe_configuration_aggregator_sources_status(
&self
) -> DescribeConfigurationAggregatorSourcesStatus<C, M, R>
pub fn describe_configuration_aggregator_sources_status(
&self
) -> DescribeConfigurationAggregatorSourcesStatus<C, M, R>
Constructs a fluent builder for the DescribeConfigurationAggregatorSourcesStatus operation.
See DescribeConfigurationAggregatorSourcesStatus for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeConfigurationRecorders operation.
See DescribeConfigurationRecorders for more information about the
operation and its arguments.
pub fn describe_configuration_recorder_status(
&self
) -> DescribeConfigurationRecorderStatus<C, M, R>
pub fn describe_configuration_recorder_status(
&self
) -> DescribeConfigurationRecorderStatus<C, M, R>
Constructs a fluent builder for the DescribeConfigurationRecorderStatus operation.
See DescribeConfigurationRecorderStatus for more information about the
operation and its arguments.
pub fn describe_conformance_pack_compliance(
&self
) -> DescribeConformancePackCompliance<C, M, R>
pub fn describe_conformance_pack_compliance(
&self
) -> DescribeConformancePackCompliance<C, M, R>
Constructs a fluent builder for the DescribeConformancePackCompliance operation.
See DescribeConformancePackCompliance for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeConformancePacks operation.
See DescribeConformancePacks for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeConformancePackStatus operation.
See DescribeConformancePackStatus for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeDeliveryChannels operation.
See DescribeDeliveryChannels for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeDeliveryChannelStatus operation.
See DescribeDeliveryChannelStatus for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeOrganizationConfigRules operation.
See DescribeOrganizationConfigRules for more information about the
operation and its arguments.
pub fn describe_organization_config_rule_statuses(
&self
) -> DescribeOrganizationConfigRuleStatuses<C, M, R>
pub fn describe_organization_config_rule_statuses(
&self
) -> DescribeOrganizationConfigRuleStatuses<C, M, R>
Constructs a fluent builder for the DescribeOrganizationConfigRuleStatuses operation.
See DescribeOrganizationConfigRuleStatuses for more information about the
operation and its arguments.
pub fn describe_organization_conformance_packs(
&self
) -> DescribeOrganizationConformancePacks<C, M, R>
pub fn describe_organization_conformance_packs(
&self
) -> DescribeOrganizationConformancePacks<C, M, R>
Constructs a fluent builder for the DescribeOrganizationConformancePacks operation.
See DescribeOrganizationConformancePacks for more information about the
operation and its arguments.
pub fn describe_organization_conformance_pack_statuses(
&self
) -> DescribeOrganizationConformancePackStatuses<C, M, R>
pub fn describe_organization_conformance_pack_statuses(
&self
) -> DescribeOrganizationConformancePackStatuses<C, M, R>
Constructs a fluent builder for the DescribeOrganizationConformancePackStatuses operation.
See DescribeOrganizationConformancePackStatuses for more information about the
operation and its arguments.
pub fn describe_pending_aggregation_requests(
&self
) -> DescribePendingAggregationRequests<C, M, R>
pub fn describe_pending_aggregation_requests(
&self
) -> DescribePendingAggregationRequests<C, M, R>
Constructs a fluent builder for the DescribePendingAggregationRequests operation.
See DescribePendingAggregationRequests for more information about the
operation and its arguments.
pub fn describe_remediation_configurations(
&self
) -> DescribeRemediationConfigurations<C, M, R>
pub fn describe_remediation_configurations(
&self
) -> DescribeRemediationConfigurations<C, M, R>
Constructs a fluent builder for the DescribeRemediationConfigurations operation.
See DescribeRemediationConfigurations for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeRemediationExceptions operation.
See DescribeRemediationExceptions for more information about the
operation and its arguments.
pub fn describe_remediation_execution_status(
&self
) -> DescribeRemediationExecutionStatus<C, M, R>
pub fn describe_remediation_execution_status(
&self
) -> DescribeRemediationExecutionStatus<C, M, R>
Constructs a fluent builder for the DescribeRemediationExecutionStatus operation.
See DescribeRemediationExecutionStatus for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeRetentionConfigurations operation.
See DescribeRetentionConfigurations for more information about the
operation and its arguments.
pub fn get_aggregate_compliance_details_by_config_rule(
&self
) -> GetAggregateComplianceDetailsByConfigRule<C, M, R>
pub fn get_aggregate_compliance_details_by_config_rule(
&self
) -> GetAggregateComplianceDetailsByConfigRule<C, M, R>
Constructs a fluent builder for the GetAggregateComplianceDetailsByConfigRule operation.
See GetAggregateComplianceDetailsByConfigRule for more information about the
operation and its arguments.
pub fn get_aggregate_config_rule_compliance_summary(
&self
) -> GetAggregateConfigRuleComplianceSummary<C, M, R>
pub fn get_aggregate_config_rule_compliance_summary(
&self
) -> GetAggregateConfigRuleComplianceSummary<C, M, R>
Constructs a fluent builder for the GetAggregateConfigRuleComplianceSummary operation.
See GetAggregateConfigRuleComplianceSummary for more information about the
operation and its arguments.
pub fn get_aggregate_conformance_pack_compliance_summary(
&self
) -> GetAggregateConformancePackComplianceSummary<C, M, R>
pub fn get_aggregate_conformance_pack_compliance_summary(
&self
) -> GetAggregateConformancePackComplianceSummary<C, M, R>
Constructs a fluent builder for the GetAggregateConformancePackComplianceSummary operation.
See GetAggregateConformancePackComplianceSummary for more information about the
operation and its arguments.
pub fn get_aggregate_discovered_resource_counts(
&self
) -> GetAggregateDiscoveredResourceCounts<C, M, R>
pub fn get_aggregate_discovered_resource_counts(
&self
) -> GetAggregateDiscoveredResourceCounts<C, M, R>
Constructs a fluent builder for the GetAggregateDiscoveredResourceCounts operation.
See GetAggregateDiscoveredResourceCounts for more information about the
operation and its arguments.
Constructs a fluent builder for the GetAggregateResourceConfig operation.
See GetAggregateResourceConfig for more information about the
operation and its arguments.
pub fn get_compliance_details_by_config_rule(
&self
) -> GetComplianceDetailsByConfigRule<C, M, R>
pub fn get_compliance_details_by_config_rule(
&self
) -> GetComplianceDetailsByConfigRule<C, M, R>
Constructs a fluent builder for the GetComplianceDetailsByConfigRule operation.
See GetComplianceDetailsByConfigRule for more information about the
operation and its arguments.
Constructs a fluent builder for the GetComplianceDetailsByResource operation.
See GetComplianceDetailsByResource for more information about the
operation and its arguments.
pub fn get_compliance_summary_by_config_rule(
&self
) -> GetComplianceSummaryByConfigRule<C, M, R>
pub fn get_compliance_summary_by_config_rule(
&self
) -> GetComplianceSummaryByConfigRule<C, M, R>
Constructs a fluent builder for the GetComplianceSummaryByConfigRule operation.
See GetComplianceSummaryByConfigRule for more information about the
operation and its arguments.
pub fn get_compliance_summary_by_resource_type(
&self
) -> GetComplianceSummaryByResourceType<C, M, R>
pub fn get_compliance_summary_by_resource_type(
&self
) -> GetComplianceSummaryByResourceType<C, M, R>
Constructs a fluent builder for the GetComplianceSummaryByResourceType operation.
See GetComplianceSummaryByResourceType for more information about the
operation and its arguments.
pub fn get_conformance_pack_compliance_details(
&self
) -> GetConformancePackComplianceDetails<C, M, R>
pub fn get_conformance_pack_compliance_details(
&self
) -> GetConformancePackComplianceDetails<C, M, R>
Constructs a fluent builder for the GetConformancePackComplianceDetails operation.
See GetConformancePackComplianceDetails for more information about the
operation and its arguments.
pub fn get_conformance_pack_compliance_summary(
&self
) -> GetConformancePackComplianceSummary<C, M, R>
pub fn get_conformance_pack_compliance_summary(
&self
) -> GetConformancePackComplianceSummary<C, M, R>
Constructs a fluent builder for the GetConformancePackComplianceSummary operation.
See GetConformancePackComplianceSummary for more information about the
operation and its arguments.
Constructs a fluent builder for the GetDiscoveredResourceCounts operation.
See GetDiscoveredResourceCounts for more information about the
operation and its arguments.
pub fn get_organization_config_rule_detailed_status(
&self
) -> GetOrganizationConfigRuleDetailedStatus<C, M, R>
pub fn get_organization_config_rule_detailed_status(
&self
) -> GetOrganizationConfigRuleDetailedStatus<C, M, R>
Constructs a fluent builder for the GetOrganizationConfigRuleDetailedStatus operation.
See GetOrganizationConfigRuleDetailedStatus for more information about the
operation and its arguments.
pub fn get_organization_conformance_pack_detailed_status(
&self
) -> GetOrganizationConformancePackDetailedStatus<C, M, R>
pub fn get_organization_conformance_pack_detailed_status(
&self
) -> GetOrganizationConformancePackDetailedStatus<C, M, R>
Constructs a fluent builder for the GetOrganizationConformancePackDetailedStatus operation.
See GetOrganizationConformancePackDetailedStatus for more information about the
operation and its arguments.
Constructs a fluent builder for the GetResourceConfigHistory operation.
See GetResourceConfigHistory for more information about the
operation and its arguments.
Constructs a fluent builder for the GetStoredQuery operation.
See GetStoredQuery for more information about the
operation and its arguments.
pub fn list_aggregate_discovered_resources(
&self
) -> ListAggregateDiscoveredResources<C, M, R>
pub fn list_aggregate_discovered_resources(
&self
) -> ListAggregateDiscoveredResources<C, M, R>
Constructs a fluent builder for the ListAggregateDiscoveredResources operation.
See ListAggregateDiscoveredResources for more information about the
operation and its arguments.
Constructs a fluent builder for the ListDiscoveredResources operation.
See ListDiscoveredResources for more information about the
operation and its arguments.
Constructs a fluent builder for the ListStoredQueries operation.
See ListStoredQueries for more information about the
operation and its arguments.
Constructs a fluent builder for the ListTagsForResource operation.
See ListTagsForResource for more information about the
operation and its arguments.
Constructs a fluent builder for the PutAggregationAuthorization operation.
See PutAggregationAuthorization for more information about the
operation and its arguments.
Constructs a fluent builder for the PutConfigRule operation.
See PutConfigRule for more information about the
operation and its arguments.
Constructs a fluent builder for the PutConfigurationAggregator operation.
See PutConfigurationAggregator for more information about the
operation and its arguments.
Constructs a fluent builder for the PutConfigurationRecorder operation.
See PutConfigurationRecorder for more information about the
operation and its arguments.
Constructs a fluent builder for the PutConformancePack operation.
See PutConformancePack for more information about the
operation and its arguments.
Constructs a fluent builder for the PutDeliveryChannel operation.
See PutDeliveryChannel for more information about the
operation and its arguments.
Constructs a fluent builder for the PutEvaluations operation.
See PutEvaluations for more information about the
operation and its arguments.
Constructs a fluent builder for the PutExternalEvaluation operation.
See PutExternalEvaluation for more information about the
operation and its arguments.
Constructs a fluent builder for the PutOrganizationConfigRule operation.
See PutOrganizationConfigRule for more information about the
operation and its arguments.
Constructs a fluent builder for the PutOrganizationConformancePack operation.
See PutOrganizationConformancePack for more information about the
operation and its arguments.
Constructs a fluent builder for the PutRemediationConfigurations operation.
See PutRemediationConfigurations for more information about the
operation and its arguments.
Constructs a fluent builder for the PutRemediationExceptions operation.
See PutRemediationExceptions for more information about the
operation and its arguments.
Constructs a fluent builder for the PutResourceConfig operation.
See PutResourceConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the PutRetentionConfiguration operation.
See PutRetentionConfiguration for more information about the
operation and its arguments.
Constructs a fluent builder for the PutStoredQuery operation.
See PutStoredQuery for more information about the
operation and its arguments.
Constructs a fluent builder for the SelectAggregateResourceConfig operation.
See SelectAggregateResourceConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the SelectResourceConfig operation.
See SelectResourceConfig for more information about the
operation and its arguments.
Constructs a fluent builder for the StartConfigRulesEvaluation operation.
See StartConfigRulesEvaluation for more information about the
operation and its arguments.
Constructs a fluent builder for the StartConfigurationRecorder operation.
See StartConfigurationRecorder for more information about the
operation and its arguments.
Constructs a fluent builder for the StartRemediationExecution operation.
See StartRemediationExecution for more information about the
operation and its arguments.
Constructs a fluent builder for the StopConfigurationRecorder operation.
See StopConfigurationRecorder for more information about the
operation and its arguments.
Constructs a fluent builder for the TagResource operation.
See TagResource for more information about the
operation and its arguments.
Constructs a fluent builder for the UntagResource operation.
See UntagResource for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
