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

Class: Aws::IoT::Types::Field

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Field as input to an Aws::Client method, you can use a vanilla Hash:

{
  name: "FieldName",
  type: "Number", # accepts Number, String, Boolean
}

Describes the name and data type at a field.

Instance Attribute Summary collapse

Instance Attribute Details

#nameString

The name of the field.

Returns:

  • (String)

    The name of the field.

#typeString

The datatype of the field.

Possible values:

  • Number
  • String
  • Boolean

Returns:

  • (String)

    The datatype of the field.