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

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",
        source: "__string",
        subject: "__string",
        target: "__string",
      },
    ],
  },
  name: "__string",
}

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


966
967
968
969
970
971
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 966

class CreateSubscriptionDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name)
  include Aws::Structure
end

#initial_versionTypes::SubscriptionDefinitionVersion

Information on subscription definition version



966
967
968
969
970
971
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 966

class CreateSubscriptionDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name)
  include Aws::Structure
end

#nameString

Returns:

  • (String)


966
967
968
969
970
971
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 966

class CreateSubscriptionDefinitionRequest < Struct.new(
  :amzn_client_token,
  :initial_version,
  :name)
  include Aws::Structure
end