CmdID

CmdID / aws / aws iot

aws iot update-dimension

The IoT Device Defender detect feature will no longer be available to new customers starting August 31, 2026. AWS CLI reference

1 example 2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To update a dimension

The following update-dimension example updates a dimension.

aws iot update-dimension --name TopicFilterForAuthMessages --string-values device/${iot:ClientId}/authIdentify
--nameA unique identifier for the dimension.
--string-valuesSpecifies the value or list of values for the dimension.
Its output
{
    "name": "TopicFilterForAuthMessages",
    "lastModifiedDate": 1585866222.317,
    "stringValues": [
        "device/${iot:ClientId}/auth"
    ],
    "creationDate": 1585854500.474,
    "type": "TOPIC_FILTER",
    "arn": "arn:aws:iot:us-west-2:1234564789012:dimension/TopicFilterForAuthMessages"
}

For more information, see Scoping metrics in security profiles using dimensions in the AWS IoT Core Developer Guide.

Options

2 in the AWS CLI reference
--nameA unique identifier for the dimension.
--string-valuesSpecifies the value or list of values for the dimension.