AWSIoTAttributePayload

Objective-C

@interface AWSIoTAttributePayload

Swift

class AWSIoTAttributePayload

The attribute payload.

  • A JSON string containing up to three key-value pair in JSON format. For example:

    {\"attributes\":{\"string1\":\"string2\"}}

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable attributes;

    Swift

    var attributes: [String : String]? { get set }
  • Specifies whether the list of attributes provided in the AttributePayload is merged with the attributes stored in the registry, instead of overwriting them.

    To remove an attribute, call UpdateThing with an empty attribute value.

    The merge attribute is only valid when calling UpdateThing or UpdateThingGroup.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable merge;

    Swift

    var merge: NSNumber? { get set }