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 on subscription

Instance Attribute Summary collapse

Instance Attribute Details

#idString

Element Id for this entry in the list.

Returns:

  • (String)


3226
3227
3228
3229
3230
3231
3232
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 3226

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

#sourceString

Source of the subscription. Can be a thing arn, lambda arn or word 'cloud'

Returns:

  • (String)


3226
3227
3228
3229
3230
3231
3232
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 3226

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

#subjectString

Subject of the message.

Returns:

  • (String)


3226
3227
3228
3229
3230
3231
3232
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 3226

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

#targetString

Where the message is sent to. Can be a thing arn, lambda arn or word 'cloud'.

Returns:

  • (String)


3226
3227
3228
3229
3230
3231
3232
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 3226

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