#[non_exhaustive]pub struct ListPoliciesInput {
pub policy_store_id: Option<String>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub filter: Option<PolicyFilter>,
}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.policy_store_id: Option<String>Specifies the ID of the policy store you want to list policies from.
next_token: Option<String>Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.
max_results: Option<i32>Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.
If you do not specify this parameter, the operation defaults to 10 policies per response. You can specify a maximum of 50 policies per response.
filter: Option<PolicyFilter>Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.
Implementations§
source§impl ListPoliciesInput
impl ListPoliciesInput
sourcepub fn policy_store_id(&self) -> Option<&str>
pub fn policy_store_id(&self) -> Option<&str>
Specifies the ID of the policy store you want to list policies from.
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
Specifies that you want to receive the next page of results. Valid only if you received a NextToken response in the previous request. If you did, it indicates that more output is available. Set this parameter to the value provided by the previous call's NextToken response to request the next page of results.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
Specifies the total number of results that you want included in each response. If additional items exist beyond the number you specify, the NextToken response element is returned with a value (not null). Include the specified value as the NextToken request parameter in the next call to the operation to get the next set of results. Note that the service might return fewer results than the maximum even when there are more results available. You should check NextToken after every operation to ensure that you receive all of the results.
If you do not specify this parameter, the operation defaults to 10 policies per response. You can specify a maximum of 50 policies per response.
sourcepub fn filter(&self) -> Option<&PolicyFilter>
pub fn filter(&self) -> Option<&PolicyFilter>
Specifies a filter that limits the response to only policies that match the specified criteria. For example, you list only the policies that reference a specified principal.
source§impl ListPoliciesInput
impl ListPoliciesInput
sourcepub fn builder() -> ListPoliciesInputBuilder
pub fn builder() -> ListPoliciesInputBuilder
Creates a new builder-style object to manufacture ListPoliciesInput.
Trait Implementations§
source§impl Clone for ListPoliciesInput
impl Clone for ListPoliciesInput
source§fn clone(&self) -> ListPoliciesInput
fn clone(&self) -> ListPoliciesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListPoliciesInput
impl Debug for ListPoliciesInput
source§impl PartialEq for ListPoliciesInput
impl PartialEq for ListPoliciesInput
source§fn eq(&self, other: &ListPoliciesInput) -> bool
fn eq(&self, other: &ListPoliciesInput) -> bool
self and other values to be equal, and is used
by ==.