You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::CreateDimensionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::CreateDimensionRequest
- Defined in:
- (unknown)
Overview
When passing CreateDimensionRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
name: "DimensionName", # required
type: "TOPIC_FILTER", # required, accepts TOPIC_FILTER
string_values: ["DimensionStringValue"], # required
tags: [
{
key: "TagKey", # required
value: "TagValue",
},
],
client_request_token: "ClientRequestToken", # required
}
Instance Attribute Summary collapse
-
#client_request_token ⇒ String
Each dimension must have a unique client request token.
-
#name ⇒ String
A unique identifier for the dimension.
-
#string_values ⇒ Array<String>
Specifies the value or list of values for the dimension.
-
#tags ⇒ Array<Types::Tag>
Metadata that can be used to manage the dimension.
-
#type ⇒ String
Specifies the type of dimension.
Instance Attribute Details
#client_request_token ⇒ String
Each dimension must have a unique client request token. If you try to create a new dimension with the same token as a dimension that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
#name ⇒ String
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
#string_values ⇒ Array<String>
Specifies the value or list of values for the dimension. For
TOPIC_FILTER
dimensions, this is a pattern used to match the MQTT
topic (for example, \"admin/#\").
#tags ⇒ Array<Types::Tag>
Metadata that can be used to manage the dimension.
#type ⇒ String
Specifies the type of dimension. Supported types: TOPIC_FILTER.
Possible values:
- TOPIC_FILTER