Struct aws_sdk_opensearchserverless::operation::list_security_policies::ListSecurityPoliciesInput
source · #[non_exhaustive]pub struct ListSecurityPoliciesInput {
pub type: Option<SecurityPolicyType>,
pub resource: 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.type: Option<SecurityPolicyType>
The type of policy.
resource: Option<Vec<String>>
Resource filters (can be collection or indexes) that policies can apply to.
next_token: Option<String>
If your initial ListSecurityPolicies
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListSecurityPolicies
operations, which returns results in the next page.
max_results: Option<i32>
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results. The default is 20.
Implementations§
source§impl ListSecurityPoliciesInput
impl ListSecurityPoliciesInput
sourcepub fn type(&self) -> Option<&SecurityPolicyType>
pub fn type(&self) -> Option<&SecurityPolicyType>
The type of policy.
sourcepub fn resource(&self) -> &[String]
pub fn resource(&self) -> &[String]
Resource filters (can be collection or indexes) that policies can apply to.
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.is_none()
.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
If your initial ListSecurityPolicies
operation returns a nextToken
, you can include the returned nextToken
in subsequent ListSecurityPolicies
operations, which returns results in the next page.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
An optional parameter that specifies the maximum number of results to return. You can use nextToken
to get the next page of results. The default is 20.
source§impl ListSecurityPoliciesInput
impl ListSecurityPoliciesInput
sourcepub fn builder() -> ListSecurityPoliciesInputBuilder
pub fn builder() -> ListSecurityPoliciesInputBuilder
Creates a new builder-style object to manufacture ListSecurityPoliciesInput
.
Trait Implementations§
source§impl Clone for ListSecurityPoliciesInput
impl Clone for ListSecurityPoliciesInput
source§fn clone(&self) -> ListSecurityPoliciesInput
fn clone(&self) -> ListSecurityPoliciesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListSecurityPoliciesInput
impl Debug for ListSecurityPoliciesInput
source§impl PartialEq for ListSecurityPoliciesInput
impl PartialEq for ListSecurityPoliciesInput
source§fn eq(&self, other: &ListSecurityPoliciesInput) -> bool
fn eq(&self, other: &ListSecurityPoliciesInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListSecurityPoliciesInput
Auto Trait Implementations§
impl Freeze for ListSecurityPoliciesInput
impl RefUnwindSafe for ListSecurityPoliciesInput
impl Send for ListSecurityPoliciesInput
impl Sync for ListSecurityPoliciesInput
impl Unpin for ListSecurityPoliciesInput
impl UnwindSafe for ListSecurityPoliciesInput
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