Class: Aws::Greengrass::Types::CreateSubscriptionDefinitionRequest

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 CreateSubscriptionDefinitionRequest data as a hash:

{
  amzn_client_token: "__string",
  initial_version: {
    subscriptions: [
      {
        id: "__string", # required
        source: "__string", # required
        subject: "__string", # required
        target: "__string", # required
      },
    ],
  },
  name: "__string",
  tags: {
    "__string" => "__string",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


1749
1750
1751
1752
1753
1754
1755
1756
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1749

class CreateSubscriptionDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#initial_versionTypes::SubscriptionDefinitionVersion

Information about a subscription definition version.



1749
1750
1751
1752
1753
1754
1755
1756
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1749

class CreateSubscriptionDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

Returns:

  • (String)


1749
1750
1751
1752
1753
1754
1755
1756
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1749

class CreateSubscriptionDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The key-value pair for the resource tag.

Returns:

  • (Hash<String,String>)


1749
1750
1751
1752
1753
1754
1755
1756
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1749

class CreateSubscriptionDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end