AWS SDK Version 3 for .NET
API Reference

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 DeleteAssociation operation. Disassociates the specified Amazon Web Services Systems Manager document (SSM document) from the specified managed node. If you created the association by using the Targets parameter, then you must delete the association by using the association ID.

When you disassociate a document from a managed node, it doesn't change the configuration of the node. To change the configuration state of a managed node after you disassociate a document, you must create a new document with the desired configuration and associate it with the node.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SimpleSystemsManagement.AmazonSimpleSystemsManagementRequest
      Amazon.SimpleSystemsManagement.Model.DeleteAssociationRequest

Namespace: Amazon.SimpleSystemsManagement.Model
Assembly: AWSSDK.SimpleSystemsManagement.dll
Version: 3.x.y.z

Syntax

C#
public class DeleteAssociationRequest : AmazonSimpleSystemsManagementRequest
         IAmazonWebServiceRequest

The DeleteAssociationRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteAssociationRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method DeleteAssociationRequest(string, string)

Instantiates DeleteAssociationRequest with the parameterized properties

Properties

NameTypeDescription
Public Property AssociationId System.String

Gets and sets the property AssociationId.

The association ID that you want to delete.

Public Property InstanceId System.String

Gets and sets the property InstanceId.

The managed node ID.

InstanceId has been deprecated. To specify a managed node ID for an association, use the Targets parameter. Requests that include the parameter InstanceID with Systems Manager documents (SSM documents) that use schema version 2.0 or later will fail. In addition, if you use the parameter InstanceId, you can't use the parameters AssociationName, DocumentVersion, MaxErrors, MaxConcurrency, OutputLocation, or ScheduleExpression. To use these parameters, you must use the Targets parameter.

Public Property Name System.String

Gets and sets the property Name.

The name of the SSM document.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5