#[non_exhaustive]pub struct ListPolicyVersionsInput {
pub policy_arn: Option<String>,
pub marker: Option<String>,
pub max_items: 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_arn: Option<String>The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
marker: Option<String>Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
max_items: Option<i32>Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true.
If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
Implementations§
source§impl ListPolicyVersionsInput
impl ListPolicyVersionsInput
sourcepub fn policy_arn(&self) -> Option<&str>
pub fn policy_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM policy for which you want the versions.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn marker(&self) -> Option<&str>
pub fn marker(&self) -> Option<&str>
Use this parameter only when paginating results and only after you receive a response indicating that the results are truncated. Set it to the value of the Marker element in the response that you received to indicate where the next call should start.
sourcepub fn max_items(&self) -> Option<i32>
pub fn max_items(&self) -> Option<i32>
Use this only when paginating results to indicate the maximum number of items you want in the response. If additional items exist beyond the maximum you specify, the IsTruncated response element is true.
If you do not include this parameter, the number of items defaults to 100. Note that IAM might return fewer results, even when there are more results available. In that case, the IsTruncated response element returns true, and Marker contains a value to include in the subsequent call that tells the service where to continue from.
source§impl ListPolicyVersionsInput
impl ListPolicyVersionsInput
sourcepub fn builder() -> ListPolicyVersionsInputBuilder
pub fn builder() -> ListPolicyVersionsInputBuilder
Creates a new builder-style object to manufacture ListPolicyVersionsInput.
Trait Implementations§
source§impl Clone for ListPolicyVersionsInput
impl Clone for ListPolicyVersionsInput
source§fn clone(&self) -> ListPolicyVersionsInput
fn clone(&self) -> ListPolicyVersionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListPolicyVersionsInput
impl Debug for ListPolicyVersionsInput
source§impl PartialEq for ListPolicyVersionsInput
impl PartialEq for ListPolicyVersionsInput
source§fn eq(&self, other: &ListPolicyVersionsInput) -> bool
fn eq(&self, other: &ListPolicyVersionsInput) -> bool
self and other values to be equal, and is used
by ==.