Model
public struct Model : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The content-type for the model.
Declaration
Swift
public let contentType: String?
-
The description of the model.
Declaration
Swift
public let description: String?
-
The identifier for the model resource.
Declaration
Swift
public let id: String?
-
The name of the model. Must be an alphanumeric string.
Declaration
Swift
public let name: String?
-
The schema for the model. For application/json models, this should be JSON schema draft 4 model. Do not include “*/” characters in the description of any properties because such “*/” characters may be interpreted as the closing marker for comments in some languages, such as Java or JavaScript, causing the installation of your API’s SDK generated by API Gateway to fail.
Declaration
Swift
public let schema: String?
-
Undocumented
Declaration
Swift
public init(contentType: String? = nil, description: String? = nil, id: String? = nil, name: String? = nil, schema: String? = nil)