[−][src]Struct rusoto_iam::PolicyVersion
Contains information about a version of a managed policy.
This data type is used as a response element in the CreatePolicyVersion, GetPolicyVersion, ListPolicyVersions, and GetAccountAuthorizationDetails operations.
For more information about managed policies, refer to Managed Policies and Inline Policies in the IAM User Guide.
Fields
create_date: Option<String>
The date and time, in ISO 8601 date-time format, when the policy version was created.
document: Option<String>
The policy document.
The policy document is returned in the response to the GetPolicyVersion and GetAccountAuthorizationDetails operations. It is not returned in the response to the CreatePolicyVersion or ListPolicyVersions operations.
The policy document returned in this structure is URL-encoded compliant with RFC 3986. You can use a URL decoding method to convert the policy back to plain JSON text. For example, if you use Java, you can use the decode
method of the java.net.URLDecoder
utility class in the Java SDK. Other languages and SDKs provide similar functionality.
is_default_version: Option<bool>
Specifies whether the policy version is set as the policy's default version.
version_id: Option<String>
The identifier for the policy version.
Policy version identifiers always begin with v
(always lowercase). When a policy is created, the first policy version is v1
.
Trait Implementations
impl Clone for PolicyVersion
[src]
pub fn clone(&self) -> PolicyVersion
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for PolicyVersion
[src]
impl Default for PolicyVersion
[src]
pub fn default() -> PolicyVersion
[src]
impl PartialEq<PolicyVersion> for PolicyVersion
[src]
pub fn eq(&self, other: &PolicyVersion) -> bool
[src]
pub fn ne(&self, other: &PolicyVersion) -> bool
[src]
impl StructuralPartialEq for PolicyVersion
[src]
Auto Trait Implementations
impl RefUnwindSafe for PolicyVersion
[src]
impl Send for PolicyVersion
[src]
impl Sync for PolicyVersion
[src]
impl Unpin for PolicyVersion
[src]
impl UnwindSafe for PolicyVersion
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,