Skip to content

/AWS1/CL_CPDDESCRRESRCPLYRSP

DescribeResourcePolicyResponse

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_RESOURCEPOLICY TYPE /AWS1/CPDPOLICY /AWS1/CPDPOLICY

The JSON body of the resource-based policy.

IV_CREATIONTIME TYPE /AWS1/CPDTIMESTAMP /AWS1/CPDTIMESTAMP

The time at which the policy was created.

IV_LASTMODIFIEDTIME TYPE /AWS1/CPDTIMESTAMP /AWS1/CPDTIMESTAMP

The time at which the policy was last modified.

IV_POLICYREVISIONID TYPE /AWS1/CPDPOLICYREVISIONID /AWS1/CPDPOLICYREVISIONID

The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.


Queryable Attributes

ResourcePolicy

The JSON body of the resource-based policy.

Accessible with the following methods

Method Description
GET_RESOURCEPOLICY() Getter for RESOURCEPOLICY, with configurable default
ASK_RESOURCEPOLICY() Getter for RESOURCEPOLICY w/ exceptions if field has no valu
HAS_RESOURCEPOLICY() Determine if RESOURCEPOLICY has a value

CreationTime

The time at which the policy was created.

Accessible with the following methods

Method Description
GET_CREATIONTIME() Getter for CREATIONTIME, with configurable default
ASK_CREATIONTIME() Getter for CREATIONTIME w/ exceptions if field has no value
HAS_CREATIONTIME() Determine if CREATIONTIME has a value

LastModifiedTime

The time at which the policy was last modified.

Accessible with the following methods

Method Description
GET_LASTMODIFIEDTIME() Getter for LASTMODIFIEDTIME, with configurable default
ASK_LASTMODIFIEDTIME() Getter for LASTMODIFIEDTIME w/ exceptions if field has no va
HAS_LASTMODIFIEDTIME() Determine if LASTMODIFIEDTIME has a value

PolicyRevisionId

The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.

Accessible with the following methods

Method Description
GET_POLICYREVISIONID() Getter for POLICYREVISIONID, with configurable default
ASK_POLICYREVISIONID() Getter for POLICYREVISIONID w/ exceptions if field has no va
HAS_POLICYREVISIONID() Determine if POLICYREVISIONID has a value