AttributePayload

public struct AttributePayload : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • A JSON string containing up to three key-value pair in JSON format. For example: {\“attributes\”:{\“string1\”:\“string2\”}}

    Declaration

    Swift

    public let attributes: [String : String]?
  • 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

    Swift

    public let merge: Bool?
  • Undocumented

    Declaration

    Swift

    public init(attributes: [String : String]? = nil, merge: Bool? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws