EventBridgeClient.update_archive
rboto-eventbridge==0.4.0 · Service index · Types
Model summary (excerpt): Updates the specified archive.
Install and imports
Signature
async def update_archive(
*,
archive_name: str,
description: str | None = None,
event_pattern: str | None = None,
retention_days: int | None = None,
kms_key_identifier: str | None = None,
) -> UpdateArchiveOutput: ...
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) |
|---|---|---|
archive_name |
Yes | The name of the archive to update. |
description |
No | The description for the archive. |
event_pattern |
No | The event pattern to use to filter events sent to the archive. |
retention_days |
No | The number of days to retain events in the archive. |
kms_key_identifier |
No | The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt this archive. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN. If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt the archive. For more information, see... |
Output
UpdateArchiveOutput.
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 |
|---|---|---|---|
archive_arn |
str | None |
Always present | — |
state |
ArchiveStateOutput | None |
Always present | ArchiveStateOutput |
state_reason |
str | None |
Always present | — |
creation_time |
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
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_eventbridge.exceptions:
ConcurrentModificationError, InternalError, InvalidEventPatternError, LimitExceededError, ResourceNotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.