This class represents one of two things:

Arguments in a call to a service

Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.

As an example, if Att1 is expected to be a Paws::IAM::PolicyVersion object:

  $service_obj->Method(Att1 => { CreateDate => $value, ..., VersionId => $value  });

Results returned from an API call

Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::PolicyVersion object:

  $result = $service_obj->Method(...);


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 Using IAM guide.


CreateDate => Str

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

Document => Str

  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 utility class in the Java SDK. Other languages and SDKs provide similar functionality.

IsDefaultVersion => Bool

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

VersionId => Str

  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.


This class forms part of Paws, describing an object used in Paws::IAM


The source code is located here:

Please report bugs to: