Skip to content

/AWS1/CL_EC2IMAGEUSAGEREPORT

The configuration and status of an image usage report.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_imageid TYPE /AWS1/EC2IMAGEID /AWS1/EC2IMAGEID

The ID of the image that was specified when the report was created.

iv_reportid TYPE /AWS1/EC2IMAGEUSAGEREPORTID /AWS1/EC2IMAGEUSAGEREPORTID

The ID of the report.

it_resourcetypes TYPE /AWS1/CL_EC2IMAGEUSAGERESTYPE=>TT_IMAGEUSAGERESOURCETYPELIST TT_IMAGEUSAGERESOURCETYPELIST

The resource types that were specified when the report was created.

it_accountids TYPE /AWS1/CL_EC2USERIDLIST_W=>TT_USERIDLIST TT_USERIDLIST

The IDs of the Amazon Web Services accounts that were specified when the report was created.

iv_state TYPE /AWS1/EC2IMAGEUSAGEREPORTSTATE /AWS1/EC2IMAGEUSAGEREPORTSTATE

The current state of the report. Possible values:

  • available - The report is available to view.

  • pending - The report is being created and not available to view.

  • error - The report could not be created.

iv_statereason TYPE /AWS1/EC2IMAGEUSAGERPTSTATERSN /AWS1/EC2IMAGEUSAGERPTSTATERSN

Provides additional details when the report is in an error state.

iv_creationtime TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The date and time when the report was created.

iv_expirationtime TYPE /AWS1/EC2MILLISECONDDATETIME /AWS1/EC2MILLISECONDDATETIME

The date and time when Amazon EC2 will delete the report (30 days after the report was created).

it_tags TYPE /AWS1/CL_EC2TAG=>TT_TAGLIST TT_TAGLIST

Any tags assigned to the report.


Queryable Attributes

ImageId

The ID of the image that was specified when the report was created.

Accessible with the following methods

Method Description
GET_IMAGEID() Getter for IMAGEID, with configurable default
ASK_IMAGEID() Getter for IMAGEID w/ exceptions if field has no value
HAS_IMAGEID() Determine if IMAGEID has a value

ReportId

The ID of the report.

Accessible with the following methods

Method Description
GET_REPORTID() Getter for REPORTID, with configurable default
ASK_REPORTID() Getter for REPORTID w/ exceptions if field has no value
HAS_REPORTID() Determine if REPORTID has a value

ResourceTypes

The resource types that were specified when the report was created.

Accessible with the following methods

Method Description
GET_RESOURCETYPES() Getter for RESOURCETYPES, with configurable default
ASK_RESOURCETYPES() Getter for RESOURCETYPES w/ exceptions if field has no value
HAS_RESOURCETYPES() Determine if RESOURCETYPES has a value

AccountIds

The IDs of the Amazon Web Services accounts that were specified when the report was created.

Accessible with the following methods

Method Description
GET_ACCOUNTIDS() Getter for ACCOUNTIDS, with configurable default
ASK_ACCOUNTIDS() Getter for ACCOUNTIDS w/ exceptions if field has no value
HAS_ACCOUNTIDS() Determine if ACCOUNTIDS has a value

State

The current state of the report. Possible values:

  • available - The report is available to view.

  • pending - The report is being created and not available to view.

  • error - The report could not be created.

Accessible with the following methods

Method Description
GET_STATE() Getter for STATE, with configurable default
ASK_STATE() Getter for STATE w/ exceptions if field has no value
HAS_STATE() Determine if STATE has a value

StateReason

Provides additional details when the report is in an error state.

Accessible with the following methods

Method Description
GET_STATEREASON() Getter for STATEREASON, with configurable default
ASK_STATEREASON() Getter for STATEREASON w/ exceptions if field has no value
HAS_STATEREASON() Determine if STATEREASON has a value

CreationTime

The date and time when the report 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

ExpirationTime

The date and time when Amazon EC2 will delete the report (30 days after the report was created).

Accessible with the following methods

Method Description
GET_EXPIRATIONTIME() Getter for EXPIRATIONTIME, with configurable default
ASK_EXPIRATIONTIME() Getter for EXPIRATIONTIME w/ exceptions if field has no valu
HAS_EXPIRATIONTIME() Determine if EXPIRATIONTIME has a value

Tags

Any tags assigned to the report.

Accessible with the following methods

Method Description
GET_TAGS() Getter for TAGS, with configurable default
ASK_TAGS() Getter for TAGS w/ exceptions if field has no value
HAS_TAGS() Determine if TAGS 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_IMAGEUSAGEREPORTLIST

TYPES TT_IMAGEUSAGEREPORTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_EC2IMAGEUSAGEREPORT WITH DEFAULT KEY
.