Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
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.
- describeNodeAssociationStatus :: Text -> Text -> DescribeNodeAssociationStatus
- data DescribeNodeAssociationStatus
- dnasNodeAssociationStatusToken :: Lens' DescribeNodeAssociationStatus Text
- dnasServerName :: Lens' DescribeNodeAssociationStatus Text
- describeNodeAssociationStatusResponse :: Int -> NodeAssociationStatus -> DescribeNodeAssociationStatusResponse
- data DescribeNodeAssociationStatusResponse
- dnasrsEngineAttributes :: Lens' DescribeNodeAssociationStatusResponse [EngineAttribute]
- dnasrsResponseStatus :: Lens' DescribeNodeAssociationStatusResponse Int
- dnasrsNodeAssociationStatus :: Lens' DescribeNodeAssociationStatusResponse NodeAssociationStatus
Creating a Request
describeNodeAssociationStatus Source #
Creates a value of DescribeNodeAssociationStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dnasNodeAssociationStatusToken
- The token returned in either the AssociateNodeResponse or the DisassociateNodeResponse.dnasServerName
- The name of the server from which to disassociate the node.
data DescribeNodeAssociationStatus Source #
See: describeNodeAssociationStatus
smart constructor.
Request Lenses
dnasNodeAssociationStatusToken :: Lens' DescribeNodeAssociationStatus Text Source #
The token returned in either the AssociateNodeResponse or the DisassociateNodeResponse.
dnasServerName :: Lens' DescribeNodeAssociationStatus Text Source #
The name of the server from which to disassociate the node.
Destructuring the Response
describeNodeAssociationStatusResponse Source #
Creates a value of DescribeNodeAssociationStatusResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dnasrsEngineAttributes
- Attributes specific to the node association.dnasrsResponseStatus
- -- | The response status code.dnasrsNodeAssociationStatus
- 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.
data DescribeNodeAssociationStatusResponse Source #
See: describeNodeAssociationStatusResponse
smart constructor.
Response Lenses
dnasrsEngineAttributes :: Lens' DescribeNodeAssociationStatusResponse [EngineAttribute] Source #
Attributes specific to the node association.
dnasrsResponseStatus :: Lens' DescribeNodeAssociationStatusResponse Int Source #
- - | The response status code.
dnasrsNodeAssociationStatus :: 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.