Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
DescribeNodeAssociationStatus' | |
|
Instances
newDescribeNodeAssociationStatus Source #
:: 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.
$sel:serverName: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.
DescribeNodeAssociationStatusResponse' | |
|
Instances
newDescribeNodeAssociationStatusResponse Source #
:: 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:
$sel:engineAttributes: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.