DeleteDocumentRequest
public struct DeleteDocumentRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The version of the document that you want to delete. If not provided, all versions of the document are deleted.
Declaration
Swift
public let documentVersion: String?
-
Some SSM document types require that you specify a Force flag before you can delete the document. For example, you must specify a Force flag to delete a document of type ApplicationConfigurationSchema. You can restrict access to the Force flag in an AWS Identity and Access Management (IAM) policy.
Declaration
Swift
public let force: Bool?
-
The name of the document.
Declaration
Swift
public let name: String
-
The version name of the document that you want to delete. If not provided, all versions of the document are deleted.
Declaration
Swift
public let versionName: String?
-
Undocumented
Declaration
Swift
public init(documentVersion: String? = nil, force: Bool? = nil, name: String, versionName: String? = nil)
-
Declaration
Swift
public func validate(name: String) throws