#[non_exhaustive]
pub struct ClusterInfo {
Show 18 fields pub active_operation_arn: Option<String>, pub broker_node_group_info: Option<BrokerNodeGroupInfo>, pub client_authentication: Option<ClientAuthentication>, pub cluster_arn: Option<String>, pub cluster_name: Option<String>, pub creation_time: Option<DateTime>, pub current_broker_software_info: Option<BrokerSoftwareInfo>, pub current_version: Option<String>, pub encryption_info: Option<EncryptionInfo>, pub enhanced_monitoring: Option<EnhancedMonitoring>, pub open_monitoring: Option<OpenMonitoring>, pub logging_info: Option<LoggingInfo>, pub number_of_broker_nodes: i32, pub state: Option<ClusterState>, pub state_info: Option<StateInfo>, pub tags: Option<HashMap<String, String>>, pub zookeeper_connect_string: Option<String>, pub zookeeper_connect_string_tls: Option<String>,
}
Expand description

Returns information about a cluster.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
active_operation_arn: Option<String>

Arn of active cluster operation.

broker_node_group_info: Option<BrokerNodeGroupInfo>

Information about the broker nodes.

client_authentication: Option<ClientAuthentication>

Includes all client authentication information.

cluster_arn: Option<String>

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

cluster_name: Option<String>

The name of the cluster.

creation_time: Option<DateTime>

The time when the cluster was created.

current_broker_software_info: Option<BrokerSoftwareInfo>

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

current_version: Option<String>

The current version of the MSK cluster.

encryption_info: Option<EncryptionInfo>

Includes all encryption-related information.

enhanced_monitoring: Option<EnhancedMonitoring>

Specifies which metrics are gathered for the MSK cluster. This property has the following possible values: DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION. For a list of the metrics associated with each of these levels of monitoring, see Monitoring.

open_monitoring: Option<OpenMonitoring>

Settings for open monitoring using Prometheus.

logging_info: Option<LoggingInfo>number_of_broker_nodes: i32

The number of broker nodes in the cluster.

state: Option<ClusterState>

The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.

state_info: Option<StateInfo>tags: Option<HashMap<String, String>>

Tags attached to the cluster.

zookeeper_connect_string: Option<String>

The connection string to use to connect to the Apache ZooKeeper cluster.

zookeeper_connect_string_tls: Option<String>

The connection string to use to connect to zookeeper cluster on Tls port.

Implementations

Arn of active cluster operation.

Information about the broker nodes.

Includes all client authentication information.

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 Apache Kafka brokers in the cluster.

The current version of the MSK cluster.

Includes all encryption-related information.

Specifies which metrics are gathered for the MSK cluster. This property has the following possible values: DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION. For a list of the metrics associated with each of these levels of monitoring, see Monitoring.

Settings for open monitoring using Prometheus.

The number of broker nodes in the cluster.

The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.

Tags attached to the cluster.

The connection string to use to connect to the Apache ZooKeeper cluster.

The connection string to use to connect to zookeeper cluster on Tls port.

Creates a new builder-style object to manufacture ClusterInfo

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more