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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb

Overview

Note:

When making an API call, you may pass Subscription data as a 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)


4197
4198
4199
4200
4201
4202
4203
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 4197

class Subscription < Struct.new(
  :id,
  :source,
  :subject,
  :target)
  include Aws::Structure
end

#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)


4197
4198
4199
4200
4201
4202
4203
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 4197

class Subscription < Struct.new(
  :id,
  :source,
  :subject,
  :target)
  include Aws::Structure
end

#subjectString

The subject of the message.

Returns:

  • (String)


4197
4198
4199
4200
4201
4202
4203
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 4197

class Subscription < Struct.new(
  :id,
  :source,
  :subject,
  :target)
  include Aws::Structure
end

#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)


4197
4198
4199
4200
4201
4202
4203
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 4197

class Subscription < Struct.new(
  :id,
  :source,
  :subject,
  :target)
  include Aws::Structure
end