Skip to content

/AWS1/CL_BDOGETPOLICYRESPONSE

GetPolicyResponse

CONSTRUCTOR

IMPORTING

Required arguments:

iv_policyid TYPE /AWS1/BDORESOURCEID /AWS1/BDORESOURCEID

The unique identifier of the retrieved policy. This matches the policy ID provided in the request and serves as the system identifier for the policy.

iv_name TYPE /AWS1/BDOPOLICYNAME /AWS1/BDOPOLICYNAME

The customer-assigned name of the policy. This is the human-readable identifier that was specified when the policy was created.

iv_policyengineid TYPE /AWS1/BDORESOURCEID /AWS1/BDORESOURCEID

The identifier of the policy engine that manages this policy. This confirms the policy engine context for the retrieved policy.

io_definition TYPE REF TO /AWS1/CL_BDOPOLICYDEFINITION /AWS1/CL_BDOPOLICYDEFINITION

The Cedar policy statement that defines the access control rules. This contains the actual policy logic used for agent behavior control and access decisions.

iv_createdat TYPE /AWS1/BDODATETIMESTAMP /AWS1/BDODATETIMESTAMP

The timestamp when the policy was originally created.

iv_updatedat TYPE /AWS1/BDODATETIMESTAMP /AWS1/BDODATETIMESTAMP

The timestamp when the policy was last modified. This tracks the most recent changes to the policy configuration.

iv_policyarn TYPE /AWS1/BDOPOLICYARN /AWS1/BDOPOLICYARN

The Amazon Resource Name (ARN) of the policy. This globally unique identifier can be used for cross-service references and IAM policy statements.

iv_status TYPE /AWS1/BDOPOLICYSTATUS /AWS1/BDOPOLICYSTATUS

The current status of the policy.

it_statusreasons TYPE /AWS1/CL_BDOPLYSTATUSREASONS_W=>TT_POLICYSTATUSREASONS TT_POLICYSTATUSREASONS

Additional information about the policy status. This provides details about any failures or the current state of the policy.

Optional arguments:

iv_description TYPE /AWS1/BDODESCRIPTION /AWS1/BDODESCRIPTION

The human-readable description of the policy's purpose and functionality. This helps administrators understand and manage the policy.


Queryable Attributes

policyId

The unique identifier of the retrieved policy. This matches the policy ID provided in the request and serves as the system identifier for the policy.

Accessible with the following methods

Method Description
GET_POLICYID() Getter for POLICYID, with configurable default
ASK_POLICYID() Getter for POLICYID w/ exceptions if field has no value
HAS_POLICYID() Determine if POLICYID has a value

name

The customer-assigned name of the policy. This is the human-readable identifier that was specified when the policy was created.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

policyEngineId

The identifier of the policy engine that manages this policy. This confirms the policy engine context for the retrieved policy.

Accessible with the following methods

Method Description
GET_POLICYENGINEID() Getter for POLICYENGINEID, with configurable default
ASK_POLICYENGINEID() Getter for POLICYENGINEID w/ exceptions if field has no valu
HAS_POLICYENGINEID() Determine if POLICYENGINEID has a value

definition

The Cedar policy statement that defines the access control rules. This contains the actual policy logic used for agent behavior control and access decisions.

Accessible with the following methods

Method Description
GET_DEFINITION() Getter for DEFINITION

description

The human-readable description of the policy's purpose and functionality. This helps administrators understand and manage the policy.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

createdAt

The timestamp when the policy was originally created.

Accessible with the following methods

Method Description
GET_CREATEDAT() Getter for CREATEDAT, with configurable default
ASK_CREATEDAT() Getter for CREATEDAT w/ exceptions if field has no value
HAS_CREATEDAT() Determine if CREATEDAT has a value

updatedAt

The timestamp when the policy was last modified. This tracks the most recent changes to the policy configuration.

Accessible with the following methods

Method Description
GET_UPDATEDAT() Getter for UPDATEDAT, with configurable default
ASK_UPDATEDAT() Getter for UPDATEDAT w/ exceptions if field has no value
HAS_UPDATEDAT() Determine if UPDATEDAT has a value

policyArn

The Amazon Resource Name (ARN) of the policy. This globally unique identifier can be used for cross-service references and IAM policy statements.

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

status

The current status of the policy.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

statusReasons

Additional information about the policy status. This provides details about any failures or the current state of the policy.

Accessible with the following methods

Method Description
GET_STATUSREASONS() Getter for STATUSREASONS, with configurable default
ASK_STATUSREASONS() Getter for STATUSREASONS w/ exceptions if field has no value
HAS_STATUSREASONS() Determine if STATUSREASONS has a value