update_connection
¶
update_connection(
name: ConnectionName,
*,
config_overrides: Optional[EventBridgeClientConfig] = None,
description: Optional[ConnectionDescription] = None,
authorization_type: Optional[ConnectionAuthorizationType] = None,
auth_parameters: Optional[UpdateConnectionAuthRequestParameters] = None,
invocation_connectivity_parameters: Optional[ConnectivityResourceParameters] = None,
kms_key_identifier: Optional[KmsKeyIdentifier] = None,
) -> UpdateConnectionResponse
Updates settings for a connection.
Parameters:
-
name(ConnectionName) –The name of the connection to update.
-
description(Optional[ConnectionDescription], default:None) –A description for the connection.
-
authorization_type(Optional[ConnectionAuthorizationType], default:None) –The type of authorization to use for the connection.
-
auth_parameters(Optional[UpdateConnectionAuthRequestParameters], default:None) –The authorization parameters to use for the connection.
-
invocation_connectivity_parameters(Optional[ConnectivityResourceParameters], default:None) –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(Optional[KmsKeyIdentifier], default:None) –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 Identify and view keys in the Key Management Service Developer Guide.
Raises:
-
AccessDeniedException–You do not have the necessary permissions for this action.
-
ConcurrentModificationException–There is concurrent modification on a rule, target, archive, or replay.
-
InternalException–This exception occurs due to unexpected causes.
-
LimitExceededException–The request failed because it attempted to create resource beyond the allowed service quota.
-
ResourceNotFoundException–An entity that you specified does not exist.
-
ThrottlingException–This request cannot be completed due to throttling issues.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_eventbridge/_services/event_bridge.py
3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 | |