KinesisClient.disable_enhanced_monitoring
rboto-kinesis==0.4.0 · Service index · Types
Model summary (excerpt): Disables enhanced monitoring. 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.
Install and imports
from rboto import KinesisClient
from collections.abc import Sequence
from rboto_kinesis.types import (
DisableEnhancedMonitoringOutput,
MetricsName,
)
Signature
async def disable_enhanced_monitoring(
*,
shard_level_metrics: Sequence[MetricsName],
stream_name: str | None = None,
stream_arn: str | None = None,
stream_id: str | None = None,
) -> DisableEnhancedMonitoringOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
shard_level_metrics |
Yes | 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... |
stream_name |
No | The name of the Kinesis data stream for which to disable enhanced monitoring. |
stream_arn |
No | The ARN of the stream. |
stream_id |
No | Not Implemented. Reserved for future use. |
Output
DisableEnhancedMonitoringOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
stream_name |
str | None |
Always present | — |
current_shard_level_metrics |
list[MetricsNameOutput] | None |
Always present | MetricsNameOutput |
desired_shard_level_metrics |
list[MetricsNameOutput] | None |
Always present | MetricsNameOutput |
stream_arn |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
DisableEnhancedMonitoringOutput, MetricsName
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_kinesis.exceptions:
AccessDeniedError, InvalidArgumentError, LimitExceededError, ResourceInUseError, ResourceNotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.