list_nodes
async
¶
list_nodes(
cluster_arn: __string,
*,
config_overrides: Optional[AsyncKafkaClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[__string] = None,
) -> ListNodesResponse
Returns a list of the broker nodes in the cluster.
Parameters:
-
cluster_arn(__string) –The Amazon Resource Name (ARN) that uniquely identifies the cluster.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in the response. If there are more results, the response includes a NextToken parameter.
-
next_token(Optional[__string], default:None) –The paginated results marker. When the result of the operation is truncated, the call returns NextToken in the response. To get the next batch, provide this token in your next request.
Raises:
-
BadRequestException–Returns information about an error.
-
ForbiddenException–Returns information about an error.
-
InternalServerErrorException–Returns information about an error.
-
NotFoundException–Returns information about an error.
-
UnknownServiceError–The service returned an error code this client does not model.