#[non_exhaustive]pub struct ListComplianceItemsInput {
pub filters: Option<Vec<ComplianceStringFilter>>,
pub resource_ids: Option<Vec<String>>,
pub resource_types: Option<Vec<String>>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.filters: Option<Vec<ComplianceStringFilter>>
One or more compliance filters. Use a filter to return a more specific list of results.
resource_ids: Option<Vec<String>>
The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
resource_types: Option<Vec<String>>
The type of resource from which to get compliance information. Currently, the only supported resource type is ManagedInstance
.
next_token: Option<String>
A token to start the list. Use this token to get the next set of results.
max_results: Option<i32>
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
Implementations§
source§impl ListComplianceItemsInput
impl ListComplianceItemsInput
sourcepub fn filters(&self) -> &[ComplianceStringFilter]
pub fn filters(&self) -> &[ComplianceStringFilter]
One or more compliance filters. Use a filter to return a more specific list of results.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
sourcepub fn resource_ids(&self) -> &[String]
pub fn resource_ids(&self) -> &[String]
The ID for the resources from which to get compliance information. Currently, you can only specify one resource ID.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_ids.is_none()
.
sourcepub fn resource_types(&self) -> &[String]
pub fn resource_types(&self) -> &[String]
The type of resource from which to get compliance information. Currently, the only supported resource type is ManagedInstance
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .resource_types.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
A token to start the list. Use this token to get the next set of results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
source§impl ListComplianceItemsInput
impl ListComplianceItemsInput
sourcepub fn builder() -> ListComplianceItemsInputBuilder
pub fn builder() -> ListComplianceItemsInputBuilder
Creates a new builder-style object to manufacture ListComplianceItemsInput
.
Trait Implementations§
source§impl Clone for ListComplianceItemsInput
impl Clone for ListComplianceItemsInput
source§fn clone(&self) -> ListComplianceItemsInput
fn clone(&self) -> ListComplianceItemsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListComplianceItemsInput
impl Debug for ListComplianceItemsInput
source§impl PartialEq for ListComplianceItemsInput
impl PartialEq for ListComplianceItemsInput
source§fn eq(&self, other: &ListComplianceItemsInput) -> bool
fn eq(&self, other: &ListComplianceItemsInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListComplianceItemsInput
Auto Trait Implementations§
impl Freeze for ListComplianceItemsInput
impl RefUnwindSafe for ListComplianceItemsInput
impl Send for ListComplianceItemsInput
impl Sync for ListComplianceItemsInput
impl Unpin for ListComplianceItemsInput
impl UnwindSafe for ListComplianceItemsInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more