NAME

Paws::IAM::PolicyVersion

USAGE

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(...);
$result->Att1->CreateDate

DESCRIPTION

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.

ATTRIBUTES

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.

IsDefaultVersion => Bool

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

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.

SEE ALSO

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

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues