pub struct DescribeComplianceByResourceRequest {
pub compliance_types: Option<Vec<String>>,
pub limit: Option<i64>,
pub next_token: Option<String>,
pub resource_id: Option<String>,
pub resource_type: Option<String>,
}
Expand description
Fields
compliance_types: Option<Vec<String>>
Filters the results by compliance.
The allowed values are COMPLIANT
, NON_COMPLIANT
, and INSUFFICIENT_DATA
.
limit: Option<i64>
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, AWS 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.
resource_id: Option<String>
The ID of the AWS 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
.
resource_type: Option<String>
The types of AWS resources for which you want compliance information (for example, AWS::EC2::Instance
). For this action, you can specify that the resource type is an AWS account by specifying AWS::::Account
.
Trait Implementations
sourceimpl Clone for DescribeComplianceByResourceRequest
impl Clone for DescribeComplianceByResourceRequest
sourcefn clone(&self) -> DescribeComplianceByResourceRequest
fn clone(&self) -> DescribeComplianceByResourceRequest
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 Default for DescribeComplianceByResourceRequest
impl Default for DescribeComplianceByResourceRequest
sourcefn default() -> DescribeComplianceByResourceRequest
fn default() -> DescribeComplianceByResourceRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<DescribeComplianceByResourceRequest> for DescribeComplianceByResourceRequest
impl PartialEq<DescribeComplianceByResourceRequest> for DescribeComplianceByResourceRequest
sourcefn eq(&self, other: &DescribeComplianceByResourceRequest) -> bool
fn eq(&self, other: &DescribeComplianceByResourceRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeComplianceByResourceRequest) -> bool
fn ne(&self, other: &DescribeComplianceByResourceRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeComplianceByResourceRequest
Auto Trait Implementations
impl RefUnwindSafe for DescribeComplianceByResourceRequest
impl Send for DescribeComplianceByResourceRequest
impl Sync for DescribeComplianceByResourceRequest
impl Unpin for DescribeComplianceByResourceRequest
impl UnwindSafe for DescribeComplianceByResourceRequest
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