![]() |
![]()
| ![]() |
![]()
NAMEPaws::IAM::PolicyVersion USAGEThis 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 DESCRIPTIONContains 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 (https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the IAM User Guide. ATTRIBUTESCreateDate => StrThe date and time, in ISO 8601 date-time format (http://www.iso.org/iso/iso8601), when the policy version was created. Document => StrThe 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 (https://tools.ietf.org/html/rfc3986). 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. IsDefaultVersion => BoolSpecifies whether the policy version is set as the policy's default version. VersionId => StrThe 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 ALSOThis class forms part of Paws, describing an object used in Paws::IAM BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|