Struct aws_sdk_config::input::DescribeComplianceByResourceInput [−][src]
#[non_exhaustive]pub struct DescribeComplianceByResourceInput {
pub resource_type: Option<String>,
pub resource_id: Option<String>,
pub compliance_types: Option<Vec<ComplianceType>>,
pub limit: i32,
pub next_token: Option<String>,
}Expand description
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.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 specifying AWS::::Account.
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: Option<Vec<ComplianceType>>Filters the results by compliance.
The allowed values are COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA.
limit: i32The 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: Option<String>The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeComplianceByResource, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DescribeComplianceByResource, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DescribeComplianceByResource>
Creates a new builder-style object to manufacture DescribeComplianceByResourceInput
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 specifying AWS::::Account.
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.
Filters the results by compliance.
The allowed values are COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA.
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.
The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl Send for DescribeComplianceByResourceInput
impl Sync for DescribeComplianceByResourceInput
impl Unpin for DescribeComplianceByResourceInput
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
