Struct rusoto_iam::PolicyVersion [] [src]

pub struct PolicyVersion {
    pub create_date: Option<String>,
    pub document: Option<String>,
    pub is_default_version: Option<bool>,
    pub version_id: Option<String>,
}

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 actions.

For more information about managed policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

Fields

The date and time, in ISO 8601 date-time format, when the policy version was created.

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.

Specifies whether the policy version is set as the policy's default version.

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 Default for PolicyVersion
[src]

[src]

Returns the "default value" for a type. Read more

impl Debug for PolicyVersion
[src]

[src]

Formats the value using the given formatter.

impl Clone for PolicyVersion
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more