Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
Synopsis
- data DeleteAssociation = DeleteAssociation' {
- associationId :: Maybe Text
- instanceId :: Maybe Text
- name :: Maybe Text
- newDeleteAssociation :: DeleteAssociation
- deleteAssociation_associationId :: Lens' DeleteAssociation (Maybe Text)
- deleteAssociation_instanceId :: Lens' DeleteAssociation (Maybe Text)
- deleteAssociation_name :: Lens' DeleteAssociation (Maybe Text)
- data DeleteAssociationResponse = DeleteAssociationResponse' {
- httpStatus :: Int
- newDeleteAssociationResponse :: Int -> DeleteAssociationResponse
- deleteAssociationResponse_httpStatus :: Lens' DeleteAssociationResponse Int
Creating a Request
data DeleteAssociation Source #
See: newDeleteAssociation
smart constructor.
DeleteAssociation' | |
|
Instances
newDeleteAssociation :: DeleteAssociation Source #
Create a value of DeleteAssociation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DeleteAssociation
, deleteAssociation_associationId
- The association ID that you want to delete.
DeleteAssociation
, deleteAssociation_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.
DeleteAssociation
, deleteAssociation_name
- The name of the SSM document.
Request Lenses
deleteAssociation_associationId :: Lens' DeleteAssociation (Maybe Text) Source #
The association ID that you want to delete.
deleteAssociation_instanceId :: Lens' DeleteAssociation (Maybe Text) Source #
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.
deleteAssociation_name :: Lens' DeleteAssociation (Maybe Text) Source #
The name of the SSM document.
Destructuring the Response
data DeleteAssociationResponse Source #
See: newDeleteAssociationResponse
smart constructor.
DeleteAssociationResponse' | |
|
Instances
newDeleteAssociationResponse Source #
Create a value of DeleteAssociationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteAssociationResponse'
, deleteAssociationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteAssociationResponse_httpStatus :: Lens' DeleteAssociationResponse Int Source #
The response's http status code.