| 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 |
Amazonka.OpsWorksCM.DescribeNodeAssociationStatus
Description
Returns the current status of an existing association or disassociation request.
A ResourceNotFoundException is thrown when no recent association or
disassociation request with the specified token is found, or when the
server does not exist. A ValidationException is raised when parameters
of the request are not valid.
Synopsis
- data DescribeNodeAssociationStatus = DescribeNodeAssociationStatus' {}
- newDescribeNodeAssociationStatus :: Text -> Text -> DescribeNodeAssociationStatus
- describeNodeAssociationStatus_nodeAssociationStatusToken :: Lens' DescribeNodeAssociationStatus Text
- describeNodeAssociationStatus_serverName :: Lens' DescribeNodeAssociationStatus Text
- data DescribeNodeAssociationStatusResponse = DescribeNodeAssociationStatusResponse' {}
- newDescribeNodeAssociationStatusResponse :: Int -> NodeAssociationStatus -> DescribeNodeAssociationStatusResponse
- describeNodeAssociationStatusResponse_engineAttributes :: Lens' DescribeNodeAssociationStatusResponse (Maybe [EngineAttribute])
- describeNodeAssociationStatusResponse_httpStatus :: Lens' DescribeNodeAssociationStatusResponse Int
- describeNodeAssociationStatusResponse_nodeAssociationStatus :: Lens' DescribeNodeAssociationStatusResponse NodeAssociationStatus
Creating a Request
data DescribeNodeAssociationStatus Source #
See: newDescribeNodeAssociationStatus smart constructor.
Constructors
| DescribeNodeAssociationStatus' | |
Fields
| |
Instances
newDescribeNodeAssociationStatus Source #
Arguments
| :: Text |
|
| -> Text | |
| -> DescribeNodeAssociationStatus |
Create a value of DescribeNodeAssociationStatus 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:nodeAssociationStatusToken:DescribeNodeAssociationStatus', describeNodeAssociationStatus_nodeAssociationStatusToken - The token returned in either the AssociateNodeResponse or the
DisassociateNodeResponse.
DescribeNodeAssociationStatus, describeNodeAssociationStatus_serverName - The name of the server from which to disassociate the node.
Request Lenses
describeNodeAssociationStatus_nodeAssociationStatusToken :: Lens' DescribeNodeAssociationStatus Text Source #
The token returned in either the AssociateNodeResponse or the DisassociateNodeResponse.
describeNodeAssociationStatus_serverName :: Lens' DescribeNodeAssociationStatus Text Source #
The name of the server from which to disassociate the node.
Destructuring the Response
data DescribeNodeAssociationStatusResponse Source #
See: newDescribeNodeAssociationStatusResponse smart constructor.
Constructors
| DescribeNodeAssociationStatusResponse' | |
Fields
| |
Instances
newDescribeNodeAssociationStatusResponse Source #
Arguments
| :: Int | |
| -> NodeAssociationStatus |
|
| -> DescribeNodeAssociationStatusResponse |
Create a value of DescribeNodeAssociationStatusResponse 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:
DescribeNodeAssociationStatusResponse, describeNodeAssociationStatusResponse_engineAttributes - Attributes specific to the node association. In Puppet, the attibute
PUPPET_NODE_CERT contains the signed certificate (the result of the
CSR).
$sel:httpStatus:DescribeNodeAssociationStatusResponse', describeNodeAssociationStatusResponse_httpStatus - The response's http status code.
$sel:nodeAssociationStatus:DescribeNodeAssociationStatusResponse', describeNodeAssociationStatusResponse_nodeAssociationStatus - The status of the association or disassociation request.
Possible values:
SUCCESS: The association or disassociation succeeded.FAILED: The association or disassociation failed.IN_PROGRESS: The association or disassociation is still in progress.
Response Lenses
describeNodeAssociationStatusResponse_engineAttributes :: Lens' DescribeNodeAssociationStatusResponse (Maybe [EngineAttribute]) Source #
Attributes specific to the node association. In Puppet, the attibute PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).
describeNodeAssociationStatusResponse_httpStatus :: Lens' DescribeNodeAssociationStatusResponse Int Source #
The response's http status code.
describeNodeAssociationStatusResponse_nodeAssociationStatus :: Lens' DescribeNodeAssociationStatusResponse NodeAssociationStatus Source #
The status of the association or disassociation request.
Possible values:
SUCCESS: The association or disassociation succeeded.FAILED: The association or disassociation failed.IN_PROGRESS: The association or disassociation is still in progress.