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

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",
        id: "__string",
        sync_shadow: false,
        thing_arn: "__string",
      },
    ],
  },
  name: "__string",
}

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


394
395
396
397
398
399
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 394

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

#initial_versionTypes::DeviceDefinitionVersion

Information on device definition version



394
395
396
397
398
399
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 394

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

#nameString

Returns:

  • (String)


394
395
396
397
398
399
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 394

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