libZSservicesZSamazonka-kafkaZSamazonka-kafka
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Kafka.RebootBroker

Description

Reboots brokers.

Synopsis

Creating a Request

data RebootBroker Source #

Reboots a node.

See: newRebootBroker smart constructor.

Constructors

RebootBroker' 

Fields

  • clusterArn :: Text

    The Amazon Resource Name (ARN) of the cluster to be updated.

  • brokerIds :: [Text]

    The list of broker IDs to be rebooted. The reboot-broker operation supports rebooting one broker at a time.

Instances

Instances details
Eq RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

Read RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

Show RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

Generic RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

Associated Types

type Rep RebootBroker :: Type -> Type #

NFData RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

Methods

rnf :: RebootBroker -> () #

Hashable RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

ToJSON RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

AWSRequest RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

Associated Types

type AWSResponse RebootBroker #

ToHeaders RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

ToPath RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

ToQuery RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

type Rep RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

type Rep RebootBroker = D1 ('MetaData "RebootBroker" "Amazonka.Kafka.RebootBroker" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "RebootBroker'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "brokerIds") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse RebootBroker Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

newRebootBroker Source #

Create a value of RebootBroker 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:clusterArn:RebootBroker', rebootBroker_clusterArn - The Amazon Resource Name (ARN) of the cluster to be updated.

$sel:brokerIds:RebootBroker', rebootBroker_brokerIds - The list of broker IDs to be rebooted. The reboot-broker operation supports rebooting one broker at a time.

Request Lenses

rebootBroker_clusterArn :: Lens' RebootBroker Text Source #

The Amazon Resource Name (ARN) of the cluster to be updated.

rebootBroker_brokerIds :: Lens' RebootBroker [Text] Source #

The list of broker IDs to be rebooted. The reboot-broker operation supports rebooting one broker at a time.

Destructuring the Response

data RebootBrokerResponse Source #

See: newRebootBrokerResponse smart constructor.

Constructors

RebootBrokerResponse' 

Fields

Instances

Instances details
Eq RebootBrokerResponse Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

Read RebootBrokerResponse Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

Show RebootBrokerResponse Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

Generic RebootBrokerResponse Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

Associated Types

type Rep RebootBrokerResponse :: Type -> Type #

NFData RebootBrokerResponse Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

Methods

rnf :: RebootBrokerResponse -> () #

type Rep RebootBrokerResponse Source # 
Instance details

Defined in Amazonka.Kafka.RebootBroker

type Rep RebootBrokerResponse = D1 ('MetaData "RebootBrokerResponse" "Amazonka.Kafka.RebootBroker" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "RebootBrokerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "clusterOperationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newRebootBrokerResponse Source #

Create a value of RebootBrokerResponse 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:clusterArn:RebootBroker', rebootBrokerResponse_clusterArn - The Amazon Resource Name (ARN) of the cluster.

$sel:clusterOperationArn:RebootBrokerResponse', rebootBrokerResponse_clusterOperationArn - The Amazon Resource Name (ARN) of the cluster operation.

$sel:httpStatus:RebootBrokerResponse', rebootBrokerResponse_httpStatus - The response's http status code.

Response Lenses

rebootBrokerResponse_clusterArn :: Lens' RebootBrokerResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster.

rebootBrokerResponse_clusterOperationArn :: Lens' RebootBrokerResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster operation.