UpdateThingRequest
public struct UpdateThingRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
A list of thing attributes, a JSON string containing name-value pairs. For example: {\“attributes\”:{\“name1\”:\“value2\”}} This data is used to add new attributes or update existing attributes.
Declaration
Swift
public let attributePayload: AttributePayload?
-
The expected version of the thing record in the registry. If the version of the record in the registry does not match the expected version specified in the request, the UpdateThing request is rejected with a VersionConflictException.
Declaration
Swift
public let expectedVersion: Int64?
-
Remove a thing type association. If true, the association is removed.
Declaration
Swift
public let removeThingType: Bool?
-
The name of the thing to update. You can’t change a thing’s name. To change a thing’s name, you must create a new thing, give it the new name, and then delete the old thing.
Declaration
Swift
public let thingName: String
-
The name of the thing type.
Declaration
Swift
public let thingTypeName: String?
-
Undocumented
Declaration
Swift
public init(attributePayload: AttributePayload? = nil, expectedVersion: Int64? = nil, removeThingType: Bool? = nil, thingName: String, thingTypeName: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws