EventBridgeClient.update_api_destination
rboto-eventbridge==0.4.0 · Service index · Types
Model summary (excerpt): Updates an API destination.
Install and imports
from rboto import EventBridgeClient
from rboto_eventbridge.types import (
ApiDestinationHttpMethod,
UpdateApiDestinationOutput,
)
Signature
async def update_api_destination(
*,
name: str,
description: str | None = None,
connection_arn: str | None = None,
invocation_endpoint: str | None = None,
http_method: ApiDestinationHttpMethod | None = None,
invocation_rate_limit_per_second: int | None = None,
) -> UpdateApiDestinationOutput: ...
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) |
|---|---|---|
name |
Yes | The name of the API destination to update. |
description |
No | The name of the API destination to update. |
connection_arn |
No | The ARN of the connection to use for the API destination. |
invocation_endpoint |
No | The URL to the endpoint to use for the API destination. |
http_method |
No | The method to use for the API destination. |
invocation_rate_limit_per_second |
No | The maximum number of invocations per second to send to the API destination. |
Output
UpdateApiDestinationOutput.
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 |
|---|---|---|---|
api_destination_arn |
str | None |
Always present | — |
api_destination_state |
ApiDestinationStateOutput | None |
Always present | ApiDestinationStateOutput |
creation_time |
str | None |
Always present | — |
last_modified_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
ApiDestinationHttpMethod, UpdateApiDestinationOutput
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, LimitExceededError, ResourceNotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.