Amazon Managed Streaming for Kafka
Amazon Managed Streaming for Kafka API Reference

Nodes

The broker nodes in the cluster.

URI

/v1/clusters/clusterArn/nodes

HTTP Methods

GET

Operation ID: ListNodes

Returns a list of the broker nodes in the cluster.

Path Parameters

Name Type Required Description
clusterArn String True

The Amazon Resource Name (ARN) that uniquely identifies the cluster.

Query Parameters

Name Type Required Description
nextToken String False

The paginated results marker. When the result of a ListClusters operation is truncated, the call returns NextToken in the response. To get another batch of clusters, provide this token in your next request.

maxResults String False

The maximum number of clusters to return in the response. If there are more clusters, the response includes a NextToken parameter.

Responses

Status Code Response Model Description
200 ListNodesResponse

Successful response.

400 Error

Bad request due to incorrect input. Correct your request and then retry it.

403 Error

Access forbidden. Check your credentials and then retry your request.

404 Error

The resource could not be found due to incorrect input. Correct your request and then retry it.

500 Error

There was an unexpected internal server error. Retrying your request might resolve the issue.

Schemas

Response Bodies

Example ListNodesResponse

{ "nextToken": "string", "nodeInfoList": [ { "instanceType": "string", "nodeType": enum, "nodeARN": "string", "brokerNodeInfo": { "clientVpcIpAddress": "string", "attachedENIId": "string", "brokerId": number, "clientSubnet": "string", "currentBrokerSoftwareInfo": { "kafkaVersion": "string" } }, "addedToClusterTime": "string" } ] }

Example Error

{ "message": "string", "invalidParameter": "string" }

Properties

BrokerNodeInfo

BrokerNodeInfo

Property Type Required Description
clientVpcIpAddress

string

False

The virtual private cloud (VPC) of the client.

attachedENIId

string

False

The attached elastic network interface of the broker.

brokerId

number

False

The ID of the broker.

clientSubnet

string

False

The client subnet to which this broker node belongs.

currentBrokerSoftwareInfo

BrokerSoftwareInfo

False

Information about the version of software currently deployed on the Kafka brokers in the cluster.

BrokerSoftwareInfo

Information about the current software installed on the cluster.

Property Type Required Description
kafkaVersion

string

False

The version of Apache Kafka.

Error

Returns information about an error.

Property Type Required Description
message

string

False

The description of the error.

invalidParameter

string

False

The parameter that caused the error.

ListNodesResponse

Information about nodes in the cluster.

Property Type Required Description
nextToken

string

False

The paginated results marker. When the result of a ListNodes operation is truncated, the call returns NextToken in the response. To get another batch of nodes, provide this token in your next request.

nodeInfoList

Array of type NodeInfo

False

List containing a NodeInfo object.

NodeInfo

The node information object.

Property Type Required Description
instanceType

string

False

The instance type.

nodeType

NodeType

False

The node type.

nodeARN

string

False

The Amazon Resource Name (ARN) of the node.

brokerNodeInfo

BrokerNodeInfo

False

The broker node info.

addedToClusterTime

string

False

The start time.

NodeType

The broker or Zookeeper node.

  • BROKER

See Also

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

ListNodes