DescribeNodeAssociationStatus - OpsWorks

DescribeNodeAssociationStatus

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.

Request Syntax

{ "NodeAssociationStatusToken": "string", "ServerName": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

NodeAssociationStatusToken

The token returned in either the AssociateNodeResponse or the DisassociateNodeResponse.

Type: String

Length Constraints: Maximum length of 10000.

Pattern: (?s).*

Required: Yes

ServerName

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 40.

Pattern: [a-zA-Z][a-zA-Z0-9\-]*

Required: Yes

Response Syntax

{ "EngineAttributes": [ { "Name": "string", "Value": "string" } ], "NodeAssociationStatus": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

EngineAttributes

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

Type: Array of EngineAttribute objects

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.

Type: String

Valid Values: SUCCESS | FAILED | IN_PROGRESS

Errors

For information about the errors that are common to all actions, see Common Errors.

ResourceNotFoundException

The requested resource does not exist, or access was denied.

HTTP Status Code: 400

ValidationException

One or more of the provided request parameters are not valid.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: