pub struct GetComplianceSummaryInput {
pub group_by: Option<Vec<String>>,
pub max_results: Option<i64>,
pub pagination_token: Option<String>,
pub region_filters: Option<Vec<String>>,
pub resource_type_filters: Option<Vec<String>>,
pub tag_key_filters: Option<Vec<String>>,
pub target_id_filters: Option<Vec<String>>,
}
Fields
group_by: Option<Vec<String>>
Specifies a list of attributes to group the counts of noncompliant resources by. If supplied, the counts are sorted by those attributes.
max_results: Option<i64>
Specifies the maximum number of results to be returned in each page. A query can return fewer than this maximum, even if there are more results still to return. You should always check the PaginationToken
response value to see if there are more results. You can specify a minimum of 1 and a maximum value of 100.
pagination_token: Option<String>
Specifies a PaginationToken
response value from a previous request to indicate that you want the next page of results. Leave this parameter empty in your initial request.
region_filters: Option<Vec<String>>
Specifies a list of AWS Regions to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources in the specified Regions.
resource_type_filters: Option<Vec<String>>
Specifies that you want the response to include information for only resources of the specified types. The format of each resource type is service[:resourceType]
. For example, specifying a resource type of ec2
returns all Amazon EC2 resources (which includes EC2 instances). Specifying a resource type of ec2:instance
returns only EC2 instances.
The string for each service name and resource type is the same as that embedded in a resource's Amazon Resource Name (ARN). Consult the AWS General Reference for the following:
-
For a list of service name strings, see AWS Service Namespaces.
-
For resource type strings, see Example ARNs.
-
For more information about ARNs, see Amazon Resource Names (ARNs) and AWS Service Namespaces.
You can specify multiple resource types by using a comma separated array. The array can include up to 100 items. Note that the length constraint requirement applies to each resource type filter.
tag_key_filters: Option<Vec<String>>
Specifies that you want the response to include information for only resources that have tags with the specified tag keys. If you use this parameter, the count of returned noncompliant resources includes only resources that have the specified tag keys.
target_id_filters: Option<Vec<String>>
Specifies target identifiers (usually, specific account IDs) to limit the output by. If you use this parameter, the count of returned noncompliant resources includes only resources with the specified target IDs.
Trait Implementations
sourceimpl Clone for GetComplianceSummaryInput
impl Clone for GetComplianceSummaryInput
sourcefn clone(&self) -> GetComplianceSummaryInput
fn clone(&self) -> GetComplianceSummaryInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetComplianceSummaryInput
impl Debug for GetComplianceSummaryInput
sourceimpl Default for GetComplianceSummaryInput
impl Default for GetComplianceSummaryInput
sourcefn default() -> GetComplianceSummaryInput
fn default() -> GetComplianceSummaryInput
Returns the “default value” for a type. Read more
sourceimpl PartialEq<GetComplianceSummaryInput> for GetComplianceSummaryInput
impl PartialEq<GetComplianceSummaryInput> for GetComplianceSummaryInput
sourcefn eq(&self, other: &GetComplianceSummaryInput) -> bool
fn eq(&self, other: &GetComplianceSummaryInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetComplianceSummaryInput) -> bool
fn ne(&self, other: &GetComplianceSummaryInput) -> bool
This method tests for !=
.
sourceimpl Serialize for GetComplianceSummaryInput
impl Serialize for GetComplianceSummaryInput
impl StructuralPartialEq for GetComplianceSummaryInput
Auto Trait Implementations
impl RefUnwindSafe for GetComplianceSummaryInput
impl Send for GetComplianceSummaryInput
impl Sync for GetComplianceSummaryInput
impl Unpin for GetComplianceSummaryInput
impl UnwindSafe for GetComplianceSummaryInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more