NAME
Paws::IoT::CreateDimension - Arguments for method CreateDimension on Paws::IoT
DESCRIPTION
This class represents the parameters used for calling the method CreateDimension on the AWS IoT service. Use the attributes of this class as arguments to method CreateDimension.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDimension.
SYNOPSIS
my $iot = Paws->service('IoT');
my $CreateDimensionResponse = $iot->CreateDimension(
ClientRequestToken => 'MyClientRequestToken',
Name => 'MyDimensionName',
StringValues => [
'MyDimensionStringValue', ... # min: 1, max: 256
],
Type => 'TOPIC_FILTER',
Tags => [
{
Key => 'MyTagKey', # min: 1, max: 128
Value => 'MyTagValue', # min: 1, max: 256; OPTIONAL
},
...
], # OPTIONAL
);
# Results:
my $Arn = $CreateDimensionResponse->Arn;
my $Name = $CreateDimensionResponse->Name;
# Returns a L<Paws::IoT::CreateDimensionResponse> object.
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/iot/CreateDimension
ATTRIBUTES
REQUIRED ClientRequestToken => Str
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.
REQUIRED Name => Str
A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
REQUIRED StringValues => ArrayRef[Str|Undef]
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 => ArrayRef[Paws::IoT::Tag]
Metadata that can be used to manage the dimension.
REQUIRED Type => Str
Specifies the type of dimension. Supported types: TOPIC_FILTER.
Valid values are: "TOPIC_FILTER"
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateDimension in Paws::IoT
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues