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

Class: Aws::Greengrass::Types::Device

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

{
  certificate_arn: "__string",
  id: "__string",
  sync_shadow: false,
  thing_arn: "__string",
}

Information on a Device

Instance Attribute Summary collapse

Instance Attribute Details

#certificate_arnString

Certificate arn of the device.

Returns:

  • (String)


1297
1298
1299
1300
1301
1302
1303
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1297

class Device < Struct.new(
  :certificate_arn,
  :id,
  :sync_shadow,
  :thing_arn)
  include Aws::Structure
end

#idString

Element Id for this entry in the list.

Returns:

  • (String)


1297
1298
1299
1300
1301
1302
1303
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1297

class Device < Struct.new(
  :certificate_arn,
  :id,
  :sync_shadow,
  :thing_arn)
  include Aws::Structure
end

#sync_shadowBoolean

If true, the local shadow value automatically syncs with the cloud's shadow state.

Returns:

  • (Boolean)


1297
1298
1299
1300
1301
1302
1303
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1297

class Device < Struct.new(
  :certificate_arn,
  :id,
  :sync_shadow,
  :thing_arn)
  include Aws::Structure
end

#thing_arnString

Thing arn of the device.

Returns:

  • (String)


1297
1298
1299
1300
1301
1302
1303
# File 'gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/types.rb', line 1297

class Device < Struct.new(
  :certificate_arn,
  :id,
  :sync_shadow,
  :thing_arn)
  include Aws::Structure
end