Skip to content

EventBridgeClient.update_connection

rboto-eventbridge==0.4.0 · Service index · Types

Model summary (excerpt): Updates settings for a connection.

Install and imports

python -m pip install "rboto[eventbridge]==0.4.0"
from rboto import EventBridgeClient
from rboto_eventbridge.types import (
    ConnectionAuthorizationType,
    ConnectivityResourceParameters,
    UpdateConnectionAuthRequestParameters,
    UpdateConnectionOutput,
)

Signature

async def update_connection(
    *,
    name: str,
    description: str | None = None,
    authorization_type: ConnectionAuthorizationType | None = None,
    auth_parameters: UpdateConnectionAuthRequestParameters | None = None,
    invocation_connectivity_parameters: ConnectivityResourceParameters | None = None,
    kms_key_identifier: str | None = None,
) -> UpdateConnectionOutput: ...

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 connection to update.
description No A description for the connection.
authorization_type No The type of authorization to use for the connection.
auth_parameters No The authorization parameters to use for the connection.
invocation_connectivity_parameters No For connections to private APIs, the parameters to use for invoking the API. For more information, see Connecting to private APIs in the Amazon EventBridge User Guide .
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 connection. 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 connection. For more information, see...

Output

UpdateConnectionOutput.

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
connection_arn str | None Always present —
connection_state ConnectionStateOutput | None Always present ConnectionStateOutput
creation_time str | None Always present —
last_modified_time str | None Always present —
last_authorized_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.

ConnectionAuthorizationType, ConnectivityResourceParameters, UpdateConnectionAuthRequestParameters, UpdateConnectionOutput

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:

AccessDeniedError, ConcurrentModificationError, InternalError, LimitExceededError, ResourceNotFoundError, ThrottlingError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model