Class: Aws::Greengrass::Types::CreateDeviceDefinitionRequest

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

{
  amzn_client_token: "__string",
  initial_version: {
    devices: [
      {
        certificate_arn: "__string", # required
        id: "__string", # required
        sync_shadow: false,
        thing_arn: "__string", # required
      },
    ],
  },
  name: "__string",
  tags: {
    "__string" => "__string",
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


768
769
770
771
772
773
774
775
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 768

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

#initial_versionTypes::DeviceDefinitionVersion

Information about a device definition version.



768
769
770
771
772
773
774
775
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 768

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

#nameString

Returns:

  • (String)


768
769
770
771
772
773
774
775
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 768

class CreateDeviceDefinitionRequest < 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>)


768
769
770
771
772
773
774
775
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 768

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