Struct aws_sdk_verifiedpermissions::operation::list_policy_templates::ListPolicyTemplatesInput
source · #[non_exhaustive]pub struct ListPolicyTemplatesInput {
pub policy_store_id: Option<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.policy_store_id: Option<String>Specifies the ID of the policy store that contains the policy templates you want to list.
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 policy templates per response. You can specify a maximum of 50 policy templates per response.
Implementations§
source§impl ListPolicyTemplatesInput
impl ListPolicyTemplatesInput
sourcepub fn policy_store_id(&self) -> Option<&str>
pub fn policy_store_id(&self) -> Option<&str>
Specifies the ID of the policy store that contains the policy templates you want to list.
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 policy templates per response. You can specify a maximum of 50 policy templates per response.
source§impl ListPolicyTemplatesInput
impl ListPolicyTemplatesInput
sourcepub fn builder() -> ListPolicyTemplatesInputBuilder
pub fn builder() -> ListPolicyTemplatesInputBuilder
Creates a new builder-style object to manufacture ListPolicyTemplatesInput.
Trait Implementations§
source§impl Clone for ListPolicyTemplatesInput
impl Clone for ListPolicyTemplatesInput
source§fn clone(&self) -> ListPolicyTemplatesInput
fn clone(&self) -> ListPolicyTemplatesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListPolicyTemplatesInput
impl Debug for ListPolicyTemplatesInput
source§impl PartialEq<ListPolicyTemplatesInput> for ListPolicyTemplatesInput
impl PartialEq<ListPolicyTemplatesInput> for ListPolicyTemplatesInput
source§fn eq(&self, other: &ListPolicyTemplatesInput) -> bool
fn eq(&self, other: &ListPolicyTemplatesInput) -> bool
self and other values to be equal, and is used
by ==.