#[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 ==.impl StructuralPartialEq for GetPolicyVersionInput
Auto Trait Implementations§
impl Freeze for GetPolicyVersionInput
impl RefUnwindSafe for GetPolicyVersionInput
impl Send for GetPolicyVersionInput
impl Sync for GetPolicyVersionInput
impl Unpin for GetPolicyVersionInput
impl UnwindSafe for GetPolicyVersionInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more