AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DeleteDocument operation. Deletes the Amazon Web Services Systems Manager document (SSM document) and all managed node associations to the document.
Before you delete the document, we recommend that you use DeleteAssociation to disassociate all managed nodes that are associated with the document.
Namespace: Amazon.SimpleSystemsManagement.Model
Assembly: AWSSDK.SimpleSystemsManagement.dll
Version: 3.x.y.z
public class DeleteDocumentRequest : AmazonSimpleSystemsManagementRequest IAmazonWebServiceRequest
The DeleteDocumentRequest type exposes the following members
Name | Description | |
---|---|---|
DeleteDocumentRequest() |
Empty constructor used to set properties independently even when a simple constructor is available |
|
DeleteDocumentRequest(string) |
Instantiates DeleteDocumentRequest with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
DocumentVersion | System.String |
Gets and sets the property DocumentVersion. The version of the document that you want to delete. If not provided, all versions of the document are deleted. |
|
Force | System.Boolean |
Gets and sets the property Force.
Some SSM document types require that you specify a |
|
Name | System.String |
Gets and sets the property Name. The name of the document. |
|
VersionName | System.String |
Gets and sets the property VersionName. The version name of the document that you want to delete. If not provided, all versions of the document are deleted. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5