Skip to content

/AWS1/CL_COARECOMMENDEDACTION

Contains information about a recommended action that can be applied to optimize an Amazon Web Services resource.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_recommendedactionid TYPE /AWS1/COARECOMMENDEDACTIONID /AWS1/COARECOMMENDEDACTIONID

The unique identifier of the recommended action.

iv_resourcearn TYPE /AWS1/COARESOURCEARN /AWS1/COARESOURCEARN

The Amazon Resource Name (ARN) of the resource that the recommendation applies to.

iv_resourceid TYPE /AWS1/COARESOURCEID /AWS1/COARESOURCEID

The ID of the resource that the recommendation applies to.

iv_accountid TYPE /AWS1/COAACCOUNTID /AWS1/COAACCOUNTID

The Amazon Web Services account ID that owns the resource.

iv_region TYPE /AWS1/COASTRING /AWS1/COASTRING

The Amazon Web Services Region where the resource is located.

iv_resourcetype TYPE /AWS1/COARESOURCETYPE /AWS1/COARESOURCETYPE

The type of resource being evaluated.

iv_lookbackperiodindays TYPE /AWS1/COAINTEGER /AWS1/COAINTEGER

The number of days of historical data used to generate the recommendation.

iv_recommendedactiontype TYPE /AWS1/COARECOMMENDEDACTIONTYPE /AWS1/COARECOMMENDEDACTIONTYPE

The type of action being recommended.

iv_currentresourcesummary TYPE /AWS1/COASTRING /AWS1/COASTRING

A summary of the resource's current configuration.

io_currentresourcedetails TYPE REF TO /AWS1/CL_COARESOURCEDETAILS /AWS1/CL_COARESOURCEDETAILS

currentResourceDetails

iv_recdresourcesummary TYPE /AWS1/COASTRING /AWS1/COASTRING

A summary of the resource's recommended configuration.

io_recdresourcedetails TYPE REF TO /AWS1/CL_COARESOURCEDETAILS /AWS1/CL_COARESOURCEDETAILS

recommendedResourceDetails

iv_restartneeded TYPE /AWS1/COABOOLEAN /AWS1/COABOOLEAN

Indicates whether implementing the recommended action requires a resource restart.

io_estimatedmonthlysavings TYPE REF TO /AWS1/CL_COAESTMONTHLYSAVINGS /AWS1/CL_COAESTMONTHLYSAVINGS

estimatedMonthlySavings

it_resourcetags TYPE /AWS1/CL_COATAG=>TT_TAGLIST TT_TAGLIST

The tags associated with the resource.


Queryable Attributes

recommendedActionId

The unique identifier of the recommended action.

Accessible with the following methods

Method Description
GET_RECOMMENDEDACTIONID() Getter for RECOMMENDEDACTIONID, with configurable default
ASK_RECOMMENDEDACTIONID() Getter for RECOMMENDEDACTIONID w/ exceptions if field has no
HAS_RECOMMENDEDACTIONID() Determine if RECOMMENDEDACTIONID has a value

resourceArn

The Amazon Resource Name (ARN) of the resource that the recommendation applies to.

Accessible with the following methods

Method Description
GET_RESOURCEARN() Getter for RESOURCEARN, with configurable default
ASK_RESOURCEARN() Getter for RESOURCEARN w/ exceptions if field has no value
HAS_RESOURCEARN() Determine if RESOURCEARN has a value

resourceId

The ID of the resource that the recommendation applies to.

Accessible with the following methods

Method Description
GET_RESOURCEID() Getter for RESOURCEID, with configurable default
ASK_RESOURCEID() Getter for RESOURCEID w/ exceptions if field has no value
HAS_RESOURCEID() Determine if RESOURCEID has a value

accountId

The Amazon Web Services account ID that owns the resource.

Accessible with the following methods

Method Description
GET_ACCOUNTID() Getter for ACCOUNTID, with configurable default
ASK_ACCOUNTID() Getter for ACCOUNTID w/ exceptions if field has no value
HAS_ACCOUNTID() Determine if ACCOUNTID has a value

region

The Amazon Web Services Region where the resource is located.

Accessible with the following methods

Method Description
GET_REGION() Getter for REGION, with configurable default
ASK_REGION() Getter for REGION w/ exceptions if field has no value
HAS_REGION() Determine if REGION has a value

resourceType

The type of resource being evaluated.

Accessible with the following methods

Method Description
GET_RESOURCETYPE() Getter for RESOURCETYPE, with configurable default
ASK_RESOURCETYPE() Getter for RESOURCETYPE w/ exceptions if field has no value
HAS_RESOURCETYPE() Determine if RESOURCETYPE has a value

lookBackPeriodInDays

The number of days of historical data used to generate the recommendation.

Accessible with the following methods

Method Description
GET_LOOKBACKPERIODINDAYS() Getter for LOOKBACKPERIODINDAYS, with configurable default
ASK_LOOKBACKPERIODINDAYS() Getter for LOOKBACKPERIODINDAYS w/ exceptions if field has n
HAS_LOOKBACKPERIODINDAYS() Determine if LOOKBACKPERIODINDAYS has a value

recommendedActionType

The type of action being recommended.

Accessible with the following methods

Method Description
GET_RECOMMENDEDACTIONTYPE() Getter for RECOMMENDEDACTIONTYPE, with configurable default
ASK_RECOMMENDEDACTIONTYPE() Getter for RECOMMENDEDACTIONTYPE w/ exceptions if field has
HAS_RECOMMENDEDACTIONTYPE() Determine if RECOMMENDEDACTIONTYPE has a value

currentResourceSummary

A summary of the resource's current configuration.

Accessible with the following methods

Method Description
GET_CURRENTRESOURCESUMMARY() Getter for CURRENTRESOURCESUMMARY, with configurable default
ASK_CURRENTRESOURCESUMMARY() Getter for CURRENTRESOURCESUMMARY w/ exceptions if field has
HAS_CURRENTRESOURCESUMMARY() Determine if CURRENTRESOURCESUMMARY has a value

currentResourceDetails

currentResourceDetails

Accessible with the following methods

Method Description
GET_CURRENTRESOURCEDETAILS() Getter for CURRENTRESOURCEDETAILS

recommendedResourceSummary

A summary of the resource's recommended configuration.

Accessible with the following methods

Method Description
GET_RECDRESOURCESUMMARY() Getter for RECOMMENDEDRESOURCESUMMARY, with configurable def
ASK_RECDRESOURCESUMMARY() Getter for RECOMMENDEDRESOURCESUMMARY w/ exceptions if field
HAS_RECDRESOURCESUMMARY() Determine if RECOMMENDEDRESOURCESUMMARY has a value

recommendedResourceDetails

recommendedResourceDetails

Accessible with the following methods

Method Description
GET_RECDRESOURCEDETAILS() Getter for RECOMMENDEDRESOURCEDETAILS

restartNeeded

Indicates whether implementing the recommended action requires a resource restart.

Accessible with the following methods

Method Description
GET_RESTARTNEEDED() Getter for RESTARTNEEDED, with configurable default
ASK_RESTARTNEEDED() Getter for RESTARTNEEDED w/ exceptions if field has no value
HAS_RESTARTNEEDED() Determine if RESTARTNEEDED has a value

estimatedMonthlySavings

estimatedMonthlySavings

Accessible with the following methods

Method Description
GET_ESTIMATEDMONTHLYSAVINGS() Getter for ESTIMATEDMONTHLYSAVINGS

resourceTags

The tags associated with the resource.

Accessible with the following methods

Method Description
GET_RESOURCETAGS() Getter for RESOURCETAGS, with configurable default
ASK_RESOURCETAGS() Getter for RESOURCETAGS w/ exceptions if field has no value
HAS_RESOURCETAGS() Determine if RESOURCETAGS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_RECOMMENDEDACTIONS

TYPES TT_RECOMMENDEDACTIONS TYPE STANDARD TABLE OF REF TO /AWS1/CL_COARECOMMENDEDACTION WITH DEFAULT KEY
.