Struct aws_sdk_config::client::fluent_builders::DescribeAggregateComplianceByConfigRules
source · [−]pub struct DescribeAggregateComplianceByConfigRules { /* private fields */ }Expand description
Fluent builder constructing a request to DescribeAggregateComplianceByConfigRules.
Returns a list of compliant and noncompliant rules with the number of resources for compliant and noncompliant rules. Does not display rules that do not have compliance results.
The results can return an empty result page, but if you have a nextToken, the results are displayed on the next page.
Implementations
sourceimpl DescribeAggregateComplianceByConfigRules
impl DescribeAggregateComplianceByConfigRules
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DescribeAggregateComplianceByConfigRules, AwsResponseRetryClassifier>, SdkError<DescribeAggregateComplianceByConfigRulesError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DescribeAggregateComplianceByConfigRules, AwsResponseRetryClassifier>, SdkError<DescribeAggregateComplianceByConfigRulesError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DescribeAggregateComplianceByConfigRulesOutput, SdkError<DescribeAggregateComplianceByConfigRulesError>>
pub async fn send(
self
) -> Result<DescribeAggregateComplianceByConfigRulesOutput, SdkError<DescribeAggregateComplianceByConfigRulesError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn into_paginator(self) -> DescribeAggregateComplianceByConfigRulesPaginator
pub fn into_paginator(self) -> DescribeAggregateComplianceByConfigRulesPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn configuration_aggregator_name(self, input: impl Into<String>) -> Self
pub fn configuration_aggregator_name(self, input: impl Into<String>) -> Self
The name of the configuration aggregator.
sourcepub fn set_configuration_aggregator_name(self, input: Option<String>) -> Self
pub fn set_configuration_aggregator_name(self, input: Option<String>) -> Self
The name of the configuration aggregator.
sourcepub fn filters(self, input: ConfigRuleComplianceFilters) -> Self
pub fn filters(self, input: ConfigRuleComplianceFilters) -> Self
Filters the results by ConfigRuleComplianceFilters object.
sourcepub fn set_filters(self, input: Option<ConfigRuleComplianceFilters>) -> Self
pub fn set_filters(self, input: Option<ConfigRuleComplianceFilters>) -> Self
Filters the results by ConfigRuleComplianceFilters object.
sourcepub fn limit(self, input: i32) -> Self
pub fn limit(self, input: i32) -> Self
The maximum number of evaluation results returned on each page. The default is maximum. If you specify 0, Config uses the default.
sourcepub fn set_limit(self, input: Option<i32>) -> Self
pub fn set_limit(self, input: Option<i32>) -> Self
The maximum number of evaluation results returned on each page. The default is maximum. If you specify 0, Config uses the default.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
Trait Implementations
sourceimpl Clone for DescribeAggregateComplianceByConfigRules
impl Clone for DescribeAggregateComplianceByConfigRules
sourcefn clone(&self) -> DescribeAggregateComplianceByConfigRules
fn clone(&self) -> DescribeAggregateComplianceByConfigRules
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more