libZSservicesZSamazonka-kinesisZSamazonka-kinesis
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.Kinesis.EnableEnhancedMonitoring

Description

Enables enhanced Kinesis data stream monitoring for shard-level metrics.

Synopsis

Creating a Request

data EnableEnhancedMonitoring Source #

Represents the input for EnableEnhancedMonitoring.

See: newEnableEnhancedMonitoring smart constructor.

Constructors

EnableEnhancedMonitoring' 

Fields

Instances

Instances details
Eq EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

Read EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

Show EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

Generic EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

Associated Types

type Rep EnableEnhancedMonitoring :: Type -> Type #

NFData EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

Hashable EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

ToJSON EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

AWSRequest EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

ToHeaders EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

ToPath EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

ToQuery EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

type Rep EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

type Rep EnableEnhancedMonitoring = D1 ('MetaData "EnableEnhancedMonitoring" "Amazonka.Kinesis.EnableEnhancedMonitoring" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "EnableEnhancedMonitoring'" 'PrefixI 'True) (S1 ('MetaSel ('Just "streamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "shardLevelMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MetricsName])))
type AWSResponse EnableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.EnableEnhancedMonitoring

newEnableEnhancedMonitoring Source #

Create a value of EnableEnhancedMonitoring 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:streamName:EnableEnhancedMonitoring', enableEnhancedMonitoring_streamName - The name of the stream for which to enable enhanced monitoring.

$sel:shardLevelMetrics:EnableEnhancedMonitoring', enableEnhancedMonitoring_shardLevelMetrics - List of shard-level metrics to enable.

The following are the valid shard-level metrics. The value "ALL" enables every metric.

  • IncomingBytes
  • IncomingRecords
  • OutgoingBytes
  • OutgoingRecords
  • WriteProvisionedThroughputExceeded
  • ReadProvisionedThroughputExceeded
  • IteratorAgeMilliseconds
  • ALL

For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.

Request Lenses

enableEnhancedMonitoring_streamName :: Lens' EnableEnhancedMonitoring Text Source #

The name of the stream for which to enable enhanced monitoring.

enableEnhancedMonitoring_shardLevelMetrics :: Lens' EnableEnhancedMonitoring [MetricsName] Source #

List of shard-level metrics to enable.

The following are the valid shard-level metrics. The value "ALL" enables every metric.

  • IncomingBytes
  • IncomingRecords
  • OutgoingBytes
  • OutgoingRecords
  • WriteProvisionedThroughputExceeded
  • ReadProvisionedThroughputExceeded
  • IteratorAgeMilliseconds
  • ALL

For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.

Destructuring the Response

data EnhancedMonitoringOutput Source #

Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.

See: newEnhancedMonitoringOutput smart constructor.

Constructors

EnhancedMonitoringOutput' 

Fields

Instances

Instances details
Eq EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Read EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Show EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Generic EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Associated Types

type Rep EnhancedMonitoringOutput :: Type -> Type #

NFData EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

Hashable EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

FromJSON EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

type Rep EnhancedMonitoringOutput Source # 
Instance details

Defined in Amazonka.Kinesis.Types.EnhancedMonitoringOutput

type Rep EnhancedMonitoringOutput = D1 ('MetaData "EnhancedMonitoringOutput" "Amazonka.Kinesis.Types.EnhancedMonitoringOutput" "libZSservicesZSamazonka-kinesisZSamazonka-kinesis" 'False) (C1 ('MetaCons "EnhancedMonitoringOutput'" 'PrefixI 'True) (S1 ('MetaSel ('Just "desiredShardLevelMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricsName])) :*: (S1 ('MetaSel ('Just "currentShardLevelMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricsName])) :*: S1 ('MetaSel ('Just "streamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEnhancedMonitoringOutput :: EnhancedMonitoringOutput Source #

Create a value of EnhancedMonitoringOutput 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:desiredShardLevelMetrics:EnhancedMonitoringOutput', enhancedMonitoringOutput_desiredShardLevelMetrics - Represents the list of all the metrics that would be in the enhanced state after the operation.

$sel:currentShardLevelMetrics:EnhancedMonitoringOutput', enhancedMonitoringOutput_currentShardLevelMetrics - Represents the current state of the metrics that are in the enhanced state before the operation.

$sel:streamName:EnhancedMonitoringOutput', enhancedMonitoringOutput_streamName - The name of the Kinesis data stream.

Response Lenses

enhancedMonitoringOutput_desiredShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName]) Source #

Represents the list of all the metrics that would be in the enhanced state after the operation.

enhancedMonitoringOutput_currentShardLevelMetrics :: Lens' EnhancedMonitoringOutput (Maybe [MetricsName]) Source #

Represents the current state of the metrics that are in the enhanced state before the operation.