Values_1.CreateDimensionRequestSourceCreate a dimension that you can use to limit the scope of a metric used in a security profile for IoT Device Defender. For example, using a TOPIC_FILTER dimension, you can narrow down the scope of the metric only to MQTT topics whose name match the pattern specified in the dimension. Requires permission to access the CreateDimension action.
type nonrec t = {name : Values_0.DimensionName.t;A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.
*)type_ : Values_0.DimensionType.t;Specifies the type of dimension. Supported types: TOPIC_FILTER.
*)stringValues : Values_0.DimensionStringValues.t;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/#").
*)clientRequestToken : Values_0.ClientRequestToken.t;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, Amazon Web Services SDKs will automatically generate a unique client request.
*)}val make :
?tags:??? ->
name:Values_0.DimensionName.t ->
type_:Values_0.DimensionType.t ->
stringValues:Values_0.DimensionStringValues.t ->
clientRequestToken:Values_0.ClientRequestToken.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `String of string
| `Structure of (string * [> `String of string ]) list ]
list
| `String of Values_0.DimensionName.t ])
list ]