Skip to content

/AWS1/CL_GGSSUBSCRIPTION

Information about a subscription.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_id TYPE /AWS1/GGS__STRING /AWS1/GGS__STRING

A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

iv_source TYPE /AWS1/GGS__STRING /AWS1/GGS__STRING

The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

iv_subject TYPE /AWS1/GGS__STRING /AWS1/GGS__STRING

The MQTT topic used to route the message.

iv_target TYPE /AWS1/GGS__STRING /AWS1/GGS__STRING

Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.


Queryable Attributes

Id

A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

Source

The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Accessible with the following methods

Method Description
GET_SOURCE() Getter for SOURCE, with configurable default
ASK_SOURCE() Getter for SOURCE w/ exceptions if field has no value
HAS_SOURCE() Determine if SOURCE has a value

Subject

The MQTT topic used to route the message.

Accessible with the following methods

Method Description
GET_SUBJECT() Getter for SUBJECT, with configurable default
ASK_SUBJECT() Getter for SUBJECT w/ exceptions if field has no value
HAS_SUBJECT() Determine if SUBJECT has a value

Target

Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.

Accessible with the following methods

Method Description
GET_TARGET() Getter for TARGET, with configurable default
ASK_TARGET() Getter for TARGET w/ exceptions if field has no value
HAS_TARGET() Determine if TARGET 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___LISTOFSUBSCRIPTION

TYPES TT___LISTOFSUBSCRIPTION TYPE STANDARD TABLE OF REF TO /AWS1/CL_GGSSUBSCRIPTION WITH DEFAULT KEY
.