ImportDocumentationPartsRequest
public struct ImportDocumentationPartsRequest : AWSShape
Undocumented
-
The key for the payload
Declaration
Swift
public static let payloadPath: String?
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
[Required] Raw byte array representing the to-be-imported documentation parts. To import from an OpenAPI file, this is a JSON object.
Declaration
Swift
public let body: Data
-
A query parameter to specify whether to rollback the documentation importation (true) or not (false) when a warning is encountered. The default value is false.
Declaration
Swift
public let failOnWarnings: Bool?
-
A query parameter to indicate whether to overwrite (OVERWRITE) any existing DocumentationParts definition or to merge (MERGE) the new definition into the existing one. The default value is MERGE.
Declaration
Swift
public let mode: PutMode?
-
[Required] The string identifier of the associated RestApi.
Declaration
Swift
public let restApiId: String
-
Undocumented
Declaration
Swift
public init(body: Data, failOnWarnings: Bool? = nil, mode: PutMode? = nil, restApiId: String)