OpsWorksCM / Client / describe_node_association_status

describe_node_association_status#

OpsWorksCM.Client.describe_node_association_status(**kwargs)#

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.

See also: AWS API Documentation

Request Syntax

response = client.describe_node_association_status(
    NodeAssociationStatusToken='string',
    ServerName='string'
)
Parameters:
  • NodeAssociationStatusToken (string) –

    [REQUIRED]

    The token returned in either the AssociateNodeResponse or the DisassociateNodeResponse.

  • ServerName (string) –

    [REQUIRED]

    The name of the server from which to disassociate the node.

Return type:

dict

Returns:

Response Syntax

{
    'NodeAssociationStatus': 'SUCCESS'|'FAILED'|'IN_PROGRESS',
    'EngineAttributes': [
        {
            'Name': 'string',
            'Value': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • NodeAssociationStatus (string) –

      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.

    • EngineAttributes (list) –

      Attributes specific to the node association. In Puppet, the attibute PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).

      • (dict) –

        A name and value pair that is specific to the engine of the server.

        • Name (string) –

          The name of the engine attribute.

        • Value (string) –

          The value of the engine attribute.

Exceptions