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

Description

Disables enhanced monitoring.

Synopsis

Creating a Request

data DisableEnhancedMonitoring Source #

Represents the input for DisableEnhancedMonitoring.

See: newDisableEnhancedMonitoring smart constructor.

Constructors

DisableEnhancedMonitoring' 

Fields

Instances

Instances details
Eq DisableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

Read DisableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

Show DisableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

Generic DisableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

Associated Types

type Rep DisableEnhancedMonitoring :: Type -> Type #

NFData DisableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

Hashable DisableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

ToJSON DisableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

AWSRequest DisableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

ToHeaders DisableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

ToPath DisableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

ToQuery DisableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

type Rep DisableEnhancedMonitoring Source # 
Instance details

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

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

Defined in Amazonka.Kinesis.DisableEnhancedMonitoring

newDisableEnhancedMonitoring Source #

Create a value of DisableEnhancedMonitoring 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:DisableEnhancedMonitoring', disableEnhancedMonitoring_streamName - The name of the Kinesis data stream for which to disable enhanced monitoring.

$sel:shardLevelMetrics:DisableEnhancedMonitoring', disableEnhancedMonitoring_shardLevelMetrics - List of shard-level metrics to disable.

The following are the valid shard-level metrics. The value "ALL" disables 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

disableEnhancedMonitoring_streamName :: Lens' DisableEnhancedMonitoring Text Source #

The name of the Kinesis data stream for which to disable enhanced monitoring.

disableEnhancedMonitoring_shardLevelMetrics :: Lens' DisableEnhancedMonitoring [MetricsName] Source #

List of shard-level metrics to disable.

The following are the valid shard-level metrics. The value "ALL" disables 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.