CreateDimensionRequest

public struct CreateDimensionRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • 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.

    Declaration

    Swift

    public let clientRequestToken: String
  • A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.

    Declaration

    Swift

    public let name: 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/#”).

    Declaration

    Swift

    public let stringValues: [String]
  • Metadata that can be used to manage the dimension.

    Declaration

    Swift

    public let tags: [Tag]?
  • Specifies the type of dimension. Supported types: TOPIC_FILTER.

    Declaration

    Swift

    public let type: DimensionType
  • Undocumented

    Declaration

    Swift

    public init(clientRequestToken: String = CreateDimensionRequest.idempotencyToken(), name: String, stringValues: [String], tags: [Tag]? = nil, type: DimensionType)
  • Declaration

    Swift

    public func validate(name: String) throws