amazonka-kafka-2.0: Amazon Managed Streaming for Kafka SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kafka.Types.Cluster

Description

 
Synopsis

Documentation

data Cluster Source #

Returns information about a cluster.

See: newCluster smart constructor.

Constructors

Cluster' 

Fields

Instances

Instances details
FromJSON Cluster Source # 
Instance details

Defined in Amazonka.Kafka.Types.Cluster

Generic Cluster Source # 
Instance details

Defined in Amazonka.Kafka.Types.Cluster

Associated Types

type Rep Cluster :: Type -> Type #

Methods

from :: Cluster -> Rep Cluster x #

to :: Rep Cluster x -> Cluster #

Read Cluster Source # 
Instance details

Defined in Amazonka.Kafka.Types.Cluster

Show Cluster Source # 
Instance details

Defined in Amazonka.Kafka.Types.Cluster

NFData Cluster Source # 
Instance details

Defined in Amazonka.Kafka.Types.Cluster

Methods

rnf :: Cluster -> () #

Eq Cluster Source # 
Instance details

Defined in Amazonka.Kafka.Types.Cluster

Methods

(==) :: Cluster -> Cluster -> Bool #

(/=) :: Cluster -> Cluster -> Bool #

Hashable Cluster Source # 
Instance details

Defined in Amazonka.Kafka.Types.Cluster

Methods

hashWithSalt :: Int -> Cluster -> Int #

hash :: Cluster -> Int #

type Rep Cluster Source # 
Instance details

Defined in Amazonka.Kafka.Types.Cluster

type Rep Cluster = D1 ('MetaData "Cluster" "Amazonka.Kafka.Types.Cluster" "amazonka-kafka-2.0-Go9aKmtSH8zJub8xGjzkib" 'False) (C1 ('MetaCons "Cluster'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "activeOperationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clusterType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterType)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))))) :*: ((S1 ('MetaSel ('Just "currentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "provisioned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Provisioned)) :*: S1 ('MetaSel ('Just "serverless") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Serverless)))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterState)) :*: (S1 ('MetaSel ('Just "stateInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StateInfo)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))))

newCluster :: Cluster Source #

Create a value of Cluster with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:activeOperationArn:Cluster', cluster_activeOperationArn - The Amazon Resource Name (ARN) that uniquely identifies a cluster operation.

$sel:clusterArn:Cluster', cluster_clusterArn - The Amazon Resource Name (ARN) that uniquely identifies the cluster.

$sel:clusterName:Cluster', cluster_clusterName - The name of the cluster.

$sel:clusterType:Cluster', cluster_clusterType - Cluster Type.

$sel:creationTime:Cluster', cluster_creationTime - The time when the cluster was created.

$sel:currentVersion:Cluster', cluster_currentVersion - The current version of the MSK cluster.

$sel:provisioned:Cluster', cluster_provisioned - Information about the provisioned cluster.

$sel:serverless:Cluster', cluster_serverless - Information about the serverless cluster.

$sel:state:Cluster', cluster_state - The state of the cluster. The possible states are ACTIVE, CREATING, DELETING, FAILED, HEALING, MAINTENANCE, REBOOTING_BROKER, and UPDATING.

$sel:stateInfo:Cluster', cluster_stateInfo - State Info for the Amazon MSK cluster.

$sel:tags:Cluster', cluster_tags - Tags attached to the cluster.

cluster_activeOperationArn :: Lens' Cluster (Maybe Text) Source #

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

cluster_clusterArn :: Lens' Cluster (Maybe Text) Source #

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

cluster_clusterName :: Lens' Cluster (Maybe Text) Source #

The name of the cluster.

cluster_creationTime :: Lens' Cluster (Maybe UTCTime) Source #

The time when the cluster was created.

cluster_currentVersion :: Lens' Cluster (Maybe Text) Source #

The current version of the MSK cluster.

cluster_provisioned :: Lens' Cluster (Maybe Provisioned) Source #

Information about the provisioned cluster.

cluster_serverless :: Lens' Cluster (Maybe Serverless) Source #

Information about the serverless cluster.

cluster_state :: Lens' Cluster (Maybe ClusterState) Source #

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

cluster_stateInfo :: Lens' Cluster (Maybe StateInfo) Source #

State Info for the Amazon MSK cluster.

cluster_tags :: Lens' Cluster (Maybe (HashMap Text Text)) Source #

Tags attached to the cluster.