#[non_exhaustive]pub struct GetPolicyVersionInput {
pub policy_arn: Option<String>,
pub version_id: Option<String>,
}
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 managed policy that you want information about.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
version_id: Option<String>
Identifies the policy version to retrieve.
This parameter allows (through its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.
Implementations§
source§impl GetPolicyVersionInput
impl GetPolicyVersionInput
sourcepub fn policy_arn(&self) -> Option<&str>
pub fn policy_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the managed policy that you want information about.
For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
Identifies the policy version to retrieve.
This parameter allows (through its regex pattern) a string of characters that consists of the lowercase letter 'v' followed by one or two digits, and optionally followed by a period '.' and a string of letters and digits.
source§impl GetPolicyVersionInput
impl GetPolicyVersionInput
sourcepub fn builder() -> GetPolicyVersionInputBuilder
pub fn builder() -> GetPolicyVersionInputBuilder
Creates a new builder-style object to manufacture GetPolicyVersionInput
.
Trait Implementations§
source§impl Clone for GetPolicyVersionInput
impl Clone for GetPolicyVersionInput
source§fn clone(&self) -> GetPolicyVersionInput
fn clone(&self) -> GetPolicyVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetPolicyVersionInput
impl Debug for GetPolicyVersionInput
source§impl PartialEq for GetPolicyVersionInput
impl PartialEq for GetPolicyVersionInput
source§fn eq(&self, other: &GetPolicyVersionInput) -> bool
fn eq(&self, other: &GetPolicyVersionInput) -> bool
self
and other
values to be equal, and is used
by ==
.