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.UpdateMonitoring

Description

Updates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.

Synopsis

Creating a Request

data UpdateMonitoring Source #

Request body for UpdateMonitoring.

See: newUpdateMonitoring smart constructor.

Constructors

UpdateMonitoring' 

Fields

Instances

Instances details
Eq UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

Read UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

Show UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

Generic UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

Associated Types

type Rep UpdateMonitoring :: Type -> Type #

NFData UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

Methods

rnf :: UpdateMonitoring -> () #

Hashable UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

ToJSON UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

AWSRequest UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

Associated Types

type AWSResponse UpdateMonitoring #

ToHeaders UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

ToPath UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

ToQuery UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

type Rep UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

type Rep UpdateMonitoring = D1 ('MetaData "UpdateMonitoring" "Amazonka.Kafka.UpdateMonitoring" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "UpdateMonitoring'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "enhancedMonitoring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnhancedMonitoring)) :*: S1 ('MetaSel ('Just "openMonitoring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OpenMonitoringInfo))) :*: (S1 ('MetaSel ('Just "loggingInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoggingInfo)) :*: (S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "currentVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateMonitoring Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

newUpdateMonitoring Source #

Create a value of UpdateMonitoring 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:enhancedMonitoring:UpdateMonitoring', updateMonitoring_enhancedMonitoring - Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.

$sel:openMonitoring:UpdateMonitoring', updateMonitoring_openMonitoring - The settings for open monitoring.

$sel:loggingInfo:UpdateMonitoring', updateMonitoring_loggingInfo - Undocumented member.

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

$sel:currentVersion:UpdateMonitoring', updateMonitoring_currentVersion - The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

Request Lenses

updateMonitoring_enhancedMonitoring :: Lens' UpdateMonitoring (Maybe EnhancedMonitoring) Source #

Specifies which Apache Kafka metrics Amazon MSK gathers and sends to Amazon CloudWatch for this cluster.

updateMonitoring_clusterArn :: Lens' UpdateMonitoring Text Source #

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

updateMonitoring_currentVersion :: Lens' UpdateMonitoring Text Source #

The version of the MSK cluster to update. Cluster versions aren't simple numbers. You can describe an MSK cluster to find its version. When this update operation is successful, it generates a new cluster version.

Destructuring the Response

data UpdateMonitoringResponse Source #

See: newUpdateMonitoringResponse smart constructor.

Constructors

UpdateMonitoringResponse' 

Fields

Instances

Instances details
Eq UpdateMonitoringResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

Read UpdateMonitoringResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

Show UpdateMonitoringResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

Generic UpdateMonitoringResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

Associated Types

type Rep UpdateMonitoringResponse :: Type -> Type #

NFData UpdateMonitoringResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

type Rep UpdateMonitoringResponse Source # 
Instance details

Defined in Amazonka.Kafka.UpdateMonitoring

type Rep UpdateMonitoringResponse = D1 ('MetaData "UpdateMonitoringResponse" "Amazonka.Kafka.UpdateMonitoring" "libZSservicesZSamazonka-kafkaZSamazonka-kafka" 'False) (C1 ('MetaCons "UpdateMonitoringResponse'" '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))))

newUpdateMonitoringResponse Source #

Create a value of UpdateMonitoringResponse 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:UpdateMonitoring', updateMonitoringResponse_clusterArn - The Amazon Resource Name (ARN) of the cluster.

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

$sel:httpStatus:UpdateMonitoringResponse', updateMonitoringResponse_httpStatus - The response's http status code.

Response Lenses

updateMonitoringResponse_clusterArn :: Lens' UpdateMonitoringResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the cluster.

updateMonitoringResponse_clusterOperationArn :: Lens' UpdateMonitoringResponse (Maybe Text) Source #

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