CreateThingRequest
public struct CreateThingRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The attribute payload, which consists of up to three name/value pairs in a JSON document. For example: {\“attributes\”:{\“string1\”:\“string2\”}}
Declaration
Swift
public let attributePayload: AttributePayload?
-
The name of the billing group the thing will be added to.
Declaration
Swift
public let billingGroupName: String?
-
The name of the thing to create. You can’t change a thing’s name after you create it. 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 associated with the new thing.
Declaration
Swift
public let thingTypeName: String?
-
Undocumented
Declaration
Swift
public init(attributePayload: AttributePayload? = nil, billingGroupName: String? = nil, thingName: String, thingTypeName: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws