Skip to content

/AWS1/CL_IOTGETPOLICYVRSRSP

The output from the GetPolicyVersion operation.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_POLICYARN TYPE /AWS1/IOTPOLICYARN /AWS1/IOTPOLICYARN

The policy ARN.

IV_POLICYNAME TYPE /AWS1/IOTPOLICYNAME /AWS1/IOTPOLICYNAME

The policy name.

IV_POLICYDOCUMENT TYPE /AWS1/IOTPOLICYDOCUMENT /AWS1/IOTPOLICYDOCUMENT

The JSON document that describes the policy.

IV_POLICYVERSIONID TYPE /AWS1/IOTPOLICYVERSIONID /AWS1/IOTPOLICYVERSIONID

The policy version ID.

IV_ISDEFAULTVERSION TYPE /AWS1/IOTISDEFAULTVERSION /AWS1/IOTISDEFAULTVERSION

Specifies whether the policy version is the default.

IV_CREATIONDATE TYPE /AWS1/IOTDATETYPE /AWS1/IOTDATETYPE

The date the policy was created.

IV_LASTMODIFIEDDATE TYPE /AWS1/IOTDATETYPE /AWS1/IOTDATETYPE

The date the policy was last modified.

IV_GENERATIONID TYPE /AWS1/IOTGENERATIONID /AWS1/IOTGENERATIONID

The generation ID of the policy version.


Queryable Attributes

policyArn

The policy ARN.

Accessible with the following methods

Method Description
GET_POLICYARN() Getter for POLICYARN, with configurable default
ASK_POLICYARN() Getter for POLICYARN w/ exceptions if field has no value
HAS_POLICYARN() Determine if POLICYARN has a value

policyName

The policy name.

Accessible with the following methods

Method Description
GET_POLICYNAME() Getter for POLICYNAME, with configurable default
ASK_POLICYNAME() Getter for POLICYNAME w/ exceptions if field has no value
HAS_POLICYNAME() Determine if POLICYNAME has a value

policyDocument

The JSON document that describes the policy.

Accessible with the following methods

Method Description
GET_POLICYDOCUMENT() Getter for POLICYDOCUMENT, with configurable default
ASK_POLICYDOCUMENT() Getter for POLICYDOCUMENT w/ exceptions if field has no valu
HAS_POLICYDOCUMENT() Determine if POLICYDOCUMENT has a value

policyVersionId

The policy version ID.

Accessible with the following methods

Method Description
GET_POLICYVERSIONID() Getter for POLICYVERSIONID, with configurable default
ASK_POLICYVERSIONID() Getter for POLICYVERSIONID w/ exceptions if field has no val
HAS_POLICYVERSIONID() Determine if POLICYVERSIONID has a value

isDefaultVersion

Specifies whether the policy version is the default.

Accessible with the following methods

Method Description
GET_ISDEFAULTVERSION() Getter for ISDEFAULTVERSION

creationDate

The date the policy was created.

Accessible with the following methods

Method Description
GET_CREATIONDATE() Getter for CREATIONDATE, with configurable default
ASK_CREATIONDATE() Getter for CREATIONDATE w/ exceptions if field has no value
HAS_CREATIONDATE() Determine if CREATIONDATE has a value

lastModifiedDate

The date the policy was last modified.

Accessible with the following methods

Method Description
GET_LASTMODIFIEDDATE() Getter for LASTMODIFIEDDATE, with configurable default
ASK_LASTMODIFIEDDATE() Getter for LASTMODIFIEDDATE w/ exceptions if field has no va
HAS_LASTMODIFIEDDATE() Determine if LASTMODIFIEDDATE has a value

generationId

The generation ID of the policy version.

Accessible with the following methods

Method Description
GET_GENERATIONID() Getter for GENERATIONID, with configurable default
ASK_GENERATIONID() Getter for GENERATIONID w/ exceptions if field has no value
HAS_GENERATIONID() Determine if GENERATIONID has a value