Table of Contents
A low-level client representing Managed Streaming for Kafka:
import boto3
client = boto3.client('kafka')
These are the available methods:
Check if an operation can be paginated.
Creates a new MSK cluster.
See also: AWS API Documentation
Request Syntax
response = client.create_cluster(
BrokerNodeGroupInfo={
'BrokerAZDistribution': 'DEFAULT',
'ClientSubnets': [
'string',
],
'InstanceType': 'string',
'SecurityGroups': [
'string',
],
'StorageInfo': {
'EbsStorageInfo': {
'VolumeSize': 123
}
}
},
ClusterName='string',
ConfigurationInfo={
'Arn': 'string',
'Revision': 123
},
EncryptionInfo={
'EncryptionAtRest': {
'DataVolumeKMSKeyId': 'string'
}
},
EnhancedMonitoring='DEFAULT'|'PER_BROKER'|'PER_TOPIC_PER_BROKER',
KafkaVersion='string',
NumberOfBrokerNodes=123
)
[REQUIRED]
Information about the broker nodes in the cluster.
The distribution of broker nodes across Availability Zones.
The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't be in Availability Zone us-east-1e.
The type of Amazon EC2 instances to use for Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.
The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster.
Contains information about storage volumes attached to MSK broker nodes.
EBS volume information.
The size in GiB of the EBS volume for the data drive on each broker node.
[REQUIRED]
The name of the cluster.
Comprises of the Configuration to be used on Kafka brokers in a cluster.
ARN of the configuration to use.
The revision of the configuration to use.
Includes all encryption-related information.
The data volume encryption details.
The AWS KMS key used for data encryption.
[REQUIRED]
The version of Apache Kafka.
[REQUIRED]
The number of Kafka broker nodes in the Amazon MSK cluster.
dict
Response Syntax
{
'ClusterArn': 'string',
'ClusterName': 'string',
'State': 'ACTIVE'|'CREATING'|'DELETING'|'FAILED'
}
Response Structure
(dict) --
ClusterArn (string) --
The Amazon Resource Name (ARN) of the cluster.
ClusterName (string) --
The name of the MSK cluster.
State (string) --
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
Creates a new MSK configuration.
See also: AWS API Documentation
Request Syntax
response = client.create_configuration(
Description='string',
KafkaVersions=[
'string',
],
Name='string',
ServerProperties=b'bytes'
)
[REQUIRED]
The versions of Apache Kafka with which you can use this MSK configuration.
[REQUIRED]
The name of the configuration.
[REQUIRED]
Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.
dict
Response Syntax
{
'Arn': 'string',
'CreationTime': datetime(2015, 1, 1),
'LatestRevision': {
'CreationTime': datetime(2015, 1, 1),
'Description': 'string',
'Revision': 123
},
'Name': 'string'
}
Response Structure
(dict) --
200 response
Arn (string) --
The Amazon Resource Name (ARN) of the configuration.
CreationTime (datetime) --
The time when the configuration was created.
LatestRevision (dict) --
Latest revision of the configuration.
CreationTime (datetime) --
The time when the configuration revision was created.
Description (string) --
The description of the configuration revision.
Revision (integer) --
The revision number.
Name (string) --
The name of the configuration.
Deletes the MSK cluster specified by the Amazon Resource Name (ARN) in the request.
See also: AWS API Documentation
Request Syntax
response = client.delete_cluster(
ClusterArn='string',
CurrentVersion='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
dict
Response Syntax
{
'ClusterArn': 'string',
'State': 'ACTIVE'|'CREATING'|'DELETING'|'FAILED'
}
Response Structure
(dict) --
Successful response.
ClusterArn (string) --
The Amazon Resource Name (ARN) of the cluster.
State (string) --
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.
See also: AWS API Documentation
Request Syntax
response = client.describe_cluster(
ClusterArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
{
'ClusterInfo': {
'BrokerNodeGroupInfo': {
'BrokerAZDistribution': 'DEFAULT',
'ClientSubnets': [
'string',
],
'InstanceType': 'string',
'SecurityGroups': [
'string',
],
'StorageInfo': {
'EbsStorageInfo': {
'VolumeSize': 123
}
}
},
'ClusterArn': 'string',
'ClusterName': 'string',
'CreationTime': datetime(2015, 1, 1),
'CurrentBrokerSoftwareInfo': {
'ConfigurationArn': 'string',
'ConfigurationRevision': 123,
'KafkaVersion': 'string'
},
'CurrentVersion': 'string',
'EncryptionInfo': {
'EncryptionAtRest': {
'DataVolumeKMSKeyId': 'string'
}
},
'EnhancedMonitoring': 'DEFAULT'|'PER_BROKER'|'PER_TOPIC_PER_BROKER',
'NumberOfBrokerNodes': 123,
'State': 'ACTIVE'|'CREATING'|'DELETING'|'FAILED',
'ZookeeperConnectString': 'string'
}
}
Response Structure
Successful response.
The cluster information.
Information about the broker nodes.
The distribution of broker nodes across Availability Zones.
The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't be in Availability Zone us-east-1e.
The type of Amazon EC2 instances to use for Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.
The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster.
Contains information about storage volumes attached to MSK broker nodes.
EBS volume information.
The size in GiB of the EBS volume for the data drive on each broker node.
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
The name of the cluster.
The time when the cluster was created.
Information about the version of software currently deployed on the Kafka brokers in the cluster.
The Amazon Resource Name (ARN) of the configuration used for the cluster.
The revision of the configuration to use.
The version of Apache Kafka.
The current version of the MSK cluster.
Includes all encryption-related information.
The data volume encryption details.
The AWS KMS key used for data encryption.
Specifies which metrics are gathered for the MSK cluster. This property has three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER.
The number of Kafka broker nodes in the cluster.
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
The connection string to use to connect to the Apache ZooKeeper cluster.
Returns a description of this MSK configuration.
See also: AWS API Documentation
Request Syntax
response = client.describe_configuration(
Arn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
{
'Arn': 'string',
'CreationTime': datetime(2015, 1, 1),
'Description': 'string',
'KafkaVersions': [
'string',
],
'LatestRevision': {
'CreationTime': datetime(2015, 1, 1),
'Description': 'string',
'Revision': 123
},
'Name': 'string'
}
Response Structure
200 response
The Amazon Resource Name (ARN) of the configuration.
The time when the configuration was created.
The description of the configuration.
The versions of Apache Kafka with which you can use this MSK configuration.
Latest revision of the configuration.
The time when the configuration revision was created.
The description of the configuration revision.
The revision number.
The name of the configuration.
Returns a description of this revision of the configuration.
See also: AWS API Documentation
Request Syntax
response = client.describe_configuration_revision(
Arn='string',
Revision=123
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies an MSK configuration and all of its revisions.
[REQUIRED]
A string that uniquely identifies a revision of an MSK configuration.
dict
Response Syntax
{
'Arn': 'string',
'CreationTime': datetime(2015, 1, 1),
'Description': 'string',
'Revision': 123,
'ServerProperties': b'bytes'
}
Response Structure
(dict) --
200 response
Arn (string) --
The Amazon Resource Name (ARN) of the configuration.
CreationTime (datetime) --
The time when the configuration was created.
Description (string) --
The description of the configuration.
Revision (integer) --
The revision number.
ServerProperties (bytes) --
Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.
Generate a presigned url given a client, its method, and arguments
The presigned url
A list of brokers that a client application can use to bootstrap.
See also: AWS API Documentation
Request Syntax
response = client.get_bootstrap_brokers(
ClusterArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
{
'BootstrapBrokerString': 'string'
}
Response Structure
Successful response.
A string containing one or more hostname:port pairs.
Create a paginator for an operation.
Returns an object that can wait for some condition.
Returns a list of clusters in an account.
See also: AWS API Documentation
Request Syntax
response = client.list_clusters(
ClusterNameFilter='string',
MaxResults=123,
NextToken='string'
)
dict
Response Syntax
{
'ClusterInfoList': [
{
'BrokerNodeGroupInfo': {
'BrokerAZDistribution': 'DEFAULT',
'ClientSubnets': [
'string',
],
'InstanceType': 'string',
'SecurityGroups': [
'string',
],
'StorageInfo': {
'EbsStorageInfo': {
'VolumeSize': 123
}
}
},
'ClusterArn': 'string',
'ClusterName': 'string',
'CreationTime': datetime(2015, 1, 1),
'CurrentBrokerSoftwareInfo': {
'ConfigurationArn': 'string',
'ConfigurationRevision': 123,
'KafkaVersion': 'string'
},
'CurrentVersion': 'string',
'EncryptionInfo': {
'EncryptionAtRest': {
'DataVolumeKMSKeyId': 'string'
}
},
'EnhancedMonitoring': 'DEFAULT'|'PER_BROKER'|'PER_TOPIC_PER_BROKER',
'NumberOfBrokerNodes': 123,
'State': 'ACTIVE'|'CREATING'|'DELETING'|'FAILED',
'ZookeeperConnectString': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Successful response.
ClusterInfoList (list) --
Information on each of the MSK clusters in the response.
(dict) --
Returns information about a cluster.
BrokerNodeGroupInfo (dict) --
Information about the broker nodes.
BrokerAZDistribution (string) --
The distribution of broker nodes across Availability Zones.
ClientSubnets (list) --
The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't be in Availability Zone us-east-1e.
InstanceType (string) --
The type of Amazon EC2 instances to use for Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.
SecurityGroups (list) --
The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster.
StorageInfo (dict) --
Contains information about storage volumes attached to MSK broker nodes.
EbsStorageInfo (dict) --
EBS volume information.
VolumeSize (integer) --
The size in GiB of the EBS volume for the data drive on each broker node.
ClusterArn (string) --
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
ClusterName (string) --
The name of the cluster.
CreationTime (datetime) --
The time when the cluster was created.
CurrentBrokerSoftwareInfo (dict) --
Information about the version of software currently deployed on the Kafka brokers in the cluster.
ConfigurationArn (string) --
The Amazon Resource Name (ARN) of the configuration used for the cluster.
ConfigurationRevision (integer) --
The revision of the configuration to use.
KafkaVersion (string) --
The version of Apache Kafka.
CurrentVersion (string) --
The current version of the MSK cluster.
EncryptionInfo (dict) --
Includes all encryption-related information.
EncryptionAtRest (dict) --
The data volume encryption details.
DataVolumeKMSKeyId (string) --
The AWS KMS key used for data encryption.
EnhancedMonitoring (string) --
Specifies which metrics are gathered for the MSK cluster. This property has three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER.
NumberOfBrokerNodes (integer) --
The number of Kafka broker nodes in the cluster.
State (string) --
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
ZookeeperConnectString (string) --
The connection string to use to connect to the Apache ZooKeeper cluster.
NextToken (string) --
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.
Returns a list of all the MSK configurations in this Region for this account.
See also: AWS API Documentation
Request Syntax
response = client.list_configurations(
MaxResults='string',
NextToken='string'
)
dict
Response Syntax
{
'Configurations': [
{
'Arn': 'string',
'CreationTime': datetime(2015, 1, 1),
'Description': 'string',
'KafkaVersions': [
'string',
],
'LatestRevision': {
'CreationTime': datetime(2015, 1, 1),
'Description': 'string',
'Revision': 123
},
'Name': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
200 response
Configurations (list) --
An array of MSK configurations.
(dict) --
Represents an MSK Configuration.
Arn (string) --
The Amazon Resource Name (ARN) of the configuration.
CreationTime (datetime) --
The time when the configuration was created.
Description (string) --
The description of the configuration.
KafkaVersions (list) --
An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.
LatestRevision (dict) --
Latest revision of the configuration.
CreationTime (datetime) --
The time when the configuration revision was created.
Description (string) --
The description of the configuration revision.
Revision (integer) --
The revision number.
Name (string) --
The name of the configuration.
NextToken (string) --
The paginated results marker. When the result of a ListConfigurations operation is truncated, the call returns NextToken in the response. To get another batch of configurations, provide this token in your next request.
Returns a list of the broker nodes in the cluster.
See also: AWS API Documentation
Request Syntax
response = client.list_nodes(
ClusterArn='string',
MaxResults=123,
NextToken='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
dict
Response Syntax
{
'NextToken': 'string',
'NodeInfoList': [
{
'AddedToClusterTime': 'string',
'BrokerNodeInfo': {
'AttachedENIId': 'string',
'BrokerId': 123.0,
'ClientSubnet': 'string',
'ClientVpcIpAddress': 'string',
'CurrentBrokerSoftwareInfo': {
'ConfigurationArn': 'string',
'ConfigurationRevision': 123,
'KafkaVersion': 'string'
}
},
'InstanceType': 'string',
'NodeARN': 'string',
'NodeType': 'BROKER',
'ZookeeperNodeInfo': {
'AttachedENIId': 'string',
'ClientVpcIpAddress': 'string',
'ZookeeperId': 123.0,
'ZookeeperVersion': 'string'
}
},
]
}
Response Structure
(dict) --
Successful response.
NextToken (string) --
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 (list) --
List containing a NodeInfo object.
(dict) --
The node information object.
AddedToClusterTime (string) --
The start time.
BrokerNodeInfo (dict) --
The broker node info.
AttachedENIId (string) --
The attached elastic network interface of the broker.
BrokerId (float) --
The ID of the broker.
ClientSubnet (string) --
The client subnet to which this broker node belongs.
ClientVpcIpAddress (string) --
The virtual private cloud (VPC) of the client.
CurrentBrokerSoftwareInfo (dict) --
Information about the version of software currently deployed on the Kafka brokers in the cluster.
ConfigurationArn (string) --
The Amazon Resource Name (ARN) of the configuration used for the cluster.
ConfigurationRevision (integer) --
The revision of the configuration to use.
KafkaVersion (string) --
The version of Apache Kafka.
InstanceType (string) --
The instance type.
NodeARN (string) --
The Amazon Resource Name (ARN) of the node.
NodeType (string) --
The node type.
ZookeeperNodeInfo (dict) --
The ZookeeperNodeInfo.
AttachedENIId (string) --
The attached elastic network interface of the broker.
ClientVpcIpAddress (string) --
The virtual private cloud (VPC) IP address of the client.
ZookeeperId (float) --
The role-specific ID for Zookeeper.
ZookeeperVersion (string) --
The version of Zookeeper.
Returns a list of tags attached to a resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceArn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies the resource.
{
'Tags': {
'string': 'string'
}
}
Response Structure
Successful response.
The key-value pairs for the resource tags
Tag a resource with given tags.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags={
'string': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies the resource.
[REQUIRED]
The key-value pairs for the resource tags
None
Remove tags of a resource by given tag keys.
See also: AWS API Documentation
Request Syntax
response = client.untag_resource(
ResourceArn='string',
TagKeys=[
'string',
]
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies the resource.
[REQUIRED]
The list of tag keys.
None
The available paginators are:
paginator = client.get_paginator('list_clusters')
Creates an iterator that will paginate through responses from Kafka.Client.list_clusters().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ClusterNameFilter='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'ClusterInfoList': [
{
'BrokerNodeGroupInfo': {
'BrokerAZDistribution': 'DEFAULT',
'ClientSubnets': [
'string',
],
'InstanceType': 'string',
'SecurityGroups': [
'string',
],
'StorageInfo': {
'EbsStorageInfo': {
'VolumeSize': 123
}
}
},
'ClusterArn': 'string',
'ClusterName': 'string',
'CreationTime': datetime(2015, 1, 1),
'CurrentBrokerSoftwareInfo': {
'ConfigurationArn': 'string',
'ConfigurationRevision': 123,
'KafkaVersion': 'string'
},
'CurrentVersion': 'string',
'EncryptionInfo': {
'EncryptionAtRest': {
'DataVolumeKMSKeyId': 'string'
}
},
'EnhancedMonitoring': 'DEFAULT'|'PER_BROKER'|'PER_TOPIC_PER_BROKER',
'NumberOfBrokerNodes': 123,
'State': 'ACTIVE'|'CREATING'|'DELETING'|'FAILED',
'ZookeeperConnectString': 'string'
},
],
}
Response Structure
(dict) --
Successful response.
ClusterInfoList (list) --
Information on each of the MSK clusters in the response.
(dict) --
Returns information about a cluster.
BrokerNodeGroupInfo (dict) --
Information about the broker nodes.
BrokerAZDistribution (string) --
The distribution of broker nodes across Availability Zones.
ClientSubnets (list) --
The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't be in Availability Zone us-east-1e.
InstanceType (string) --
The type of Amazon EC2 instances to use for Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.
SecurityGroups (list) --
The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster.
StorageInfo (dict) --
Contains information about storage volumes attached to MSK broker nodes.
EbsStorageInfo (dict) --
EBS volume information.
VolumeSize (integer) --
The size in GiB of the EBS volume for the data drive on each broker node.
ClusterArn (string) --
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
ClusterName (string) --
The name of the cluster.
CreationTime (datetime) --
The time when the cluster was created.
CurrentBrokerSoftwareInfo (dict) --
Information about the version of software currently deployed on the Kafka brokers in the cluster.
ConfigurationArn (string) --
The Amazon Resource Name (ARN) of the configuration used for the cluster.
ConfigurationRevision (integer) --
The revision of the configuration to use.
KafkaVersion (string) --
The version of Apache Kafka.
CurrentVersion (string) --
The current version of the MSK cluster.
EncryptionInfo (dict) --
Includes all encryption-related information.
EncryptionAtRest (dict) --
The data volume encryption details.
DataVolumeKMSKeyId (string) --
The AWS KMS key used for data encryption.
EnhancedMonitoring (string) --
Specifies which metrics are gathered for the MSK cluster. This property has three possible values: DEFAULT, PER_BROKER, and PER_TOPIC_PER_BROKER.
NumberOfBrokerNodes (integer) --
The number of Kafka broker nodes in the cluster.
State (string) --
The state of the cluster. The possible states are CREATING, ACTIVE, and FAILED.
ZookeeperConnectString (string) --
The connection string to use to connect to the Apache ZooKeeper cluster.
paginator = client.get_paginator('list_configurations')
Creates an iterator that will paginate through responses from Kafka.Client.list_configurations().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
{
'Configurations': [
{
'Arn': 'string',
'CreationTime': datetime(2015, 1, 1),
'Description': 'string',
'KafkaVersions': [
'string',
],
'LatestRevision': {
'CreationTime': datetime(2015, 1, 1),
'Description': 'string',
'Revision': 123
},
'Name': 'string'
},
],
}
Response Structure
200 response
An array of MSK configurations.
Represents an MSK Configuration.
The Amazon Resource Name (ARN) of the configuration.
The time when the configuration was created.
The description of the configuration.
An array of the versions of Apache Kafka with which you can use this MSK configuration. You can use this configuration for an MSK cluster only if the Apache Kafka version specified for the cluster appears in this array.
Latest revision of the configuration.
The time when the configuration revision was created.
The description of the configuration revision.
The revision number.
The name of the configuration.
paginator = client.get_paginator('list_nodes')
Creates an iterator that will paginate through responses from Kafka.Client.list_nodes().
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ClusterArn='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The Amazon Resource Name (ARN) that uniquely identifies the cluster.
A dictionary that provides parameters to control pagination.
The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.
The size of each page.
A token to specify where to start paginating. This is the NextToken from a previous response.
dict
Response Syntax
{
'NodeInfoList': [
{
'AddedToClusterTime': 'string',
'BrokerNodeInfo': {
'AttachedENIId': 'string',
'BrokerId': 123.0,
'ClientSubnet': 'string',
'ClientVpcIpAddress': 'string',
'CurrentBrokerSoftwareInfo': {
'ConfigurationArn': 'string',
'ConfigurationRevision': 123,
'KafkaVersion': 'string'
}
},
'InstanceType': 'string',
'NodeARN': 'string',
'NodeType': 'BROKER',
'ZookeeperNodeInfo': {
'AttachedENIId': 'string',
'ClientVpcIpAddress': 'string',
'ZookeeperId': 123.0,
'ZookeeperVersion': 'string'
}
},
]
}
Response Structure
(dict) --
Successful response.
NodeInfoList (list) --
List containing a NodeInfo object.
(dict) --
The node information object.
AddedToClusterTime (string) --
The start time.
BrokerNodeInfo (dict) --
The broker node info.
AttachedENIId (string) --
The attached elastic network interface of the broker.
BrokerId (float) --
The ID of the broker.
ClientSubnet (string) --
The client subnet to which this broker node belongs.
ClientVpcIpAddress (string) --
The virtual private cloud (VPC) of the client.
CurrentBrokerSoftwareInfo (dict) --
Information about the version of software currently deployed on the Kafka brokers in the cluster.
ConfigurationArn (string) --
The Amazon Resource Name (ARN) of the configuration used for the cluster.
ConfigurationRevision (integer) --
The revision of the configuration to use.
KafkaVersion (string) --
The version of Apache Kafka.
InstanceType (string) --
The instance type.
NodeARN (string) --
The Amazon Resource Name (ARN) of the node.
NodeType (string) --
The node type.
ZookeeperNodeInfo (dict) --
The ZookeeperNodeInfo.
AttachedENIId (string) --
The attached elastic network interface of the broker.
ClientVpcIpAddress (string) --
The virtual private cloud (VPC) IP address of the client.
ZookeeperId (float) --
The role-specific ID for Zookeeper.
ZookeeperVersion (string) --
The version of Zookeeper.