Skip to content

Kinesis  >  Operations  >  disable_enhanced_monitoring

disable_enhanced_monitoring

Operation

disable_enhanced_monitoring async

disable_enhanced_monitoring(input: DisableEnhancedMonitoringInput, plugins: list[Plugin] | None = None) -> DisableEnhancedMonitoringOutput

Disables enhanced monitoring.

Note

When invoking this API, you must use either the StreamARN or the StreamName parameter, or both. It is recommended that you use the StreamARN input parameter when you invoke this API.

Parameters:

Name Type Description Default
input DisableEnhancedMonitoringInput

An instance of DisableEnhancedMonitoringInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
DisableEnhancedMonitoringOutput

An instance of DisableEnhancedMonitoringOutput.

Input

DisableEnhancedMonitoringInput dataclass

Bases: _SerdeShape

Represents the input for DisableEnhancedMonitoring.

Attributes

shard_level_metrics class-attribute instance-attribute
shard_level_metrics: list[str] | None = ...

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.

stream_arn class-attribute instance-attribute
stream_arn: str | None = ...

The ARN of the stream.

stream_id class-attribute instance-attribute
stream_id: str | None = ...

Not Implemented. Reserved for future use.

stream_name class-attribute instance-attribute
stream_name: str | None = ...

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

Output

DisableEnhancedMonitoringOutput dataclass

Bases: _SerdeShape

Represents the output for EnableEnhancedMonitoring and DisableEnhancedMonitoring.

Attributes

current_shard_level_metrics class-attribute instance-attribute
current_shard_level_metrics: list[str] | None = ...

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

desired_shard_level_metrics class-attribute instance-attribute
desired_shard_level_metrics: list[str] | None = ...

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

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.

stream_arn class-attribute instance-attribute
stream_arn: str | None = ...

The ARN of the stream.

stream_name class-attribute instance-attribute
stream_name: str | None = ...

The name of the Kinesis data stream.