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

Class: Aws::Greengrass::Types::CreateDeviceDefinitionVersionRequest

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

{
  amzn_client_token: "__string",
  device_definition_id: "__string", # required
  devices: [
    {
      certificate_arn: "__string",
      id: "__string",
      sync_shadow: false,
      thing_arn: "__string",
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#amzn_client_tokenString

Returns:

  • (String)


461
462
463
464
465
466
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 461

class CreateDeviceDefinitionVersionRequest < Struct.new(
  :amzn_client_token,
  :device_definition_id,
  :devices)
  include Aws::Structure
end

#device_definition_idString

Returns:

  • (String)


461
462
463
464
465
466
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 461

class CreateDeviceDefinitionVersionRequest < Struct.new(
  :amzn_client_token,
  :device_definition_id,
  :devices)
  include Aws::Structure
end

#devicesArray<Types::Device>

Returns:



461
462
463
464
465
466
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 461

class CreateDeviceDefinitionVersionRequest < Struct.new(
  :amzn_client_token,
  :device_definition_id,
  :devices)
  include Aws::Structure
end