You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Greengrass::Types::Subscription

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Subscription as input to an Aws::Client method, you can use a vanilla Hash:

{
  id: "__string",
  source: "__string",
  subject: "__string",
  target: "__string",
}

Information about a subscription.

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The id of the subscription.

Returns:

  • (String)

    The id of the subscription.

#sourceString

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

Returns:

  • (String)

    The source of the subscription.

#subjectString

The subject of the message.

Returns:

  • (String)

    The subject of the message.

#targetString

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

Returns:

  • (String)

    Where the message is sent to.