AWSIoTCreateDimensionRequest

Objective-C

@interface AWSIoTCreateDimensionRequest

Swift

class AWSIoTCreateDimensionRequest
  • 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

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable clientRequestToken;

    Swift

    var clientRequestToken: String? { get set }
  • A unique identifier for the dimension. Choose something that describes the type and value to make it easy to remember what it does.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable name;

    Swift

    var name: String? { get set }
  • 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

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable stringValues;

    Swift

    var stringValues: [String]? { get set }
  • Metadata that can be used to manage the dimension.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSIoTTag *> *_Nullable tags;

    Swift

    var tags: [AWSIoTTag]? { get set }
  • Specifies the type of dimension. Supported types: TOPIC_FILTER.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTDimensionType types;

    Swift

    var types: AWSIoTDimensionType { get set }