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 ==
.