Skip to content

/AWS1/CL_LICRESOURCEINVENTORY

Details about a resource.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_resourceid TYPE /AWS1/LICSTRING /AWS1/LICSTRING

ID of the resource.

iv_resourcetype TYPE /AWS1/LICRESOURCETYPE /AWS1/LICRESOURCETYPE

Type of resource.

iv_resourcearn TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Amazon Resource Name (ARN) of the resource.

iv_platform TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Platform of the resource.

iv_platformversion TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Platform version of the resource in the inventory.

iv_resourceowningaccountid TYPE /AWS1/LICSTRING /AWS1/LICSTRING

ID of the account that owns the resource.

it_marketplaceproductcodes TYPE /AWS1/CL_LICSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

List of Marketplace product codes associated with the resource.

iv_usageoperation TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Usage operation value that corresponds to the license type for billing purposes.

iv_amiid TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Amazon Machine Image (AMI) ID associated with the resource.

iv_hostid TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Dedicated Host ID where the resource is running.

iv_region TYPE /AWS1/LICSTRING /AWS1/LICSTRING

Region where the resource is located.

iv_instancetype TYPE /AWS1/LICSTRING /AWS1/LICSTRING

EC2 instance type of the resource.


Queryable Attributes

ResourceId

ID of the resource.

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

ResourceType

Type of resource.

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

ResourceArn

Amazon Resource Name (ARN) of the resource.

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

Platform

Platform of the resource.

Accessible with the following methods

Method Description
GET_PLATFORM() Getter for PLATFORM, with configurable default
ASK_PLATFORM() Getter for PLATFORM w/ exceptions if field has no value
HAS_PLATFORM() Determine if PLATFORM has a value

PlatformVersion

Platform version of the resource in the inventory.

Accessible with the following methods

Method Description
GET_PLATFORMVERSION() Getter for PLATFORMVERSION, with configurable default
ASK_PLATFORMVERSION() Getter for PLATFORMVERSION w/ exceptions if field has no val
HAS_PLATFORMVERSION() Determine if PLATFORMVERSION has a value

ResourceOwningAccountId

ID of the account that owns the resource.

Accessible with the following methods

Method Description
GET_RESOURCEOWNINGACCOUNTID() Getter for RESOURCEOWNINGACCOUNTID, with configurable defaul
ASK_RESOURCEOWNINGACCOUNTID() Getter for RESOURCEOWNINGACCOUNTID w/ exceptions if field ha
HAS_RESOURCEOWNINGACCOUNTID() Determine if RESOURCEOWNINGACCOUNTID has a value

MarketplaceProductCodes

List of Marketplace product codes associated with the resource.

Accessible with the following methods

Method Description
GET_MARKETPLACEPRODUCTCODES() Getter for MARKETPLACEPRODUCTCODES, with configurable defaul
ASK_MARKETPLACEPRODUCTCODES() Getter for MARKETPLACEPRODUCTCODES w/ exceptions if field ha
HAS_MARKETPLACEPRODUCTCODES() Determine if MARKETPLACEPRODUCTCODES has a value

UsageOperation

Usage operation value that corresponds to the license type for billing purposes.

Accessible with the following methods

Method Description
GET_USAGEOPERATION() Getter for USAGEOPERATION, with configurable default
ASK_USAGEOPERATION() Getter for USAGEOPERATION w/ exceptions if field has no valu
HAS_USAGEOPERATION() Determine if USAGEOPERATION has a value

AmiId

Amazon Machine Image (AMI) ID associated with the resource.

Accessible with the following methods

Method Description
GET_AMIID() Getter for AMIID, with configurable default
ASK_AMIID() Getter for AMIID w/ exceptions if field has no value
HAS_AMIID() Determine if AMIID has a value

HostId

Dedicated Host ID where the resource is running.

Accessible with the following methods

Method Description
GET_HOSTID() Getter for HOSTID, with configurable default
ASK_HOSTID() Getter for HOSTID w/ exceptions if field has no value
HAS_HOSTID() Determine if HOSTID has a value

Region

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

InstanceType

EC2 instance type of the resource.

Accessible with the following methods

Method Description
GET_INSTANCETYPE() Getter for INSTANCETYPE, with configurable default
ASK_INSTANCETYPE() Getter for INSTANCETYPE w/ exceptions if field has no value
HAS_INSTANCETYPE() Determine if INSTANCETYPE 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_RESOURCEINVENTORYLIST

TYPES TT_RESOURCEINVENTORYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_LICRESOURCEINVENTORY WITH DEFAULT KEY
.