Skip to content

/AWS1/CL_WADGETANSWEROUTPUT

Output of a get answer call.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_workloadid TYPE /AWS1/WADWORKLOADID /AWS1/WADWORKLOADID

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

iv_milestonenumber TYPE /AWS1/WADMILESTONENUMBER /AWS1/WADMILESTONENUMBER

The milestone number.

A workload can have a maximum of 100 milestones.

iv_lensalias TYPE /AWS1/WADLENSALIAS /AWS1/WADLENSALIAS

The alias of the lens.

For Amazon Web Services official lenses, this is either the lens alias, such as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-east-1::lens/serverless. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.

For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef.

Each lens is identified by its LensSummary$LensAlias.

iv_lensarn TYPE /AWS1/WADLENSARN /AWS1/WADLENSARN

The ARN for the lens.

io_answer TYPE REF TO /AWS1/CL_WADANSWER /AWS1/CL_WADANSWER

An answer of the question.


Queryable Attributes

WorkloadId

The ID assigned to the workload. This ID is unique within an Amazon Web Services Region.

Accessible with the following methods

Method Description
GET_WORKLOADID() Getter for WORKLOADID, with configurable default
ASK_WORKLOADID() Getter for WORKLOADID w/ exceptions if field has no value
HAS_WORKLOADID() Determine if WORKLOADID has a value

MilestoneNumber

The milestone number.

A workload can have a maximum of 100 milestones.

Accessible with the following methods

Method Description
GET_MILESTONENUMBER() Getter for MILESTONENUMBER, with configurable default
ASK_MILESTONENUMBER() Getter for MILESTONENUMBER w/ exceptions if field has no val
HAS_MILESTONENUMBER() Determine if MILESTONENUMBER has a value

LensAlias

The alias of the lens.

For Amazon Web Services official lenses, this is either the lens alias, such as serverless, or the lens ARN, such as arn:aws:wellarchitected:us-east-1::lens/serverless. Note that some operations (such as ExportLens and CreateLensShare) are not permitted on Amazon Web Services official lenses.

For custom lenses, this is the lens ARN, such as arn:aws:wellarchitected:us-west-2:123456789012:lens/0123456789abcdef01234567890abcdef.

Each lens is identified by its LensSummary$LensAlias.

Accessible with the following methods

Method Description
GET_LENSALIAS() Getter for LENSALIAS, with configurable default
ASK_LENSALIAS() Getter for LENSALIAS w/ exceptions if field has no value
HAS_LENSALIAS() Determine if LENSALIAS has a value

LensArn

The ARN for the lens.

Accessible with the following methods

Method Description
GET_LENSARN() Getter for LENSARN, with configurable default
ASK_LENSARN() Getter for LENSARN w/ exceptions if field has no value
HAS_LENSARN() Determine if LENSARN has a value

Answer

An answer of the question.

Accessible with the following methods

Method Description
GET_ANSWER() Getter for ANSWER