update_api_destination
async
¶
update_api_destination(
name: ApiDestinationName,
*,
config_overrides: Optional[AsyncEventBridgeClientConfig] = None,
description: Optional[ApiDestinationDescription] = None,
connection_arn: Optional[ConnectionArn] = None,
invocation_endpoint: Optional[HttpsEndpoint] = None,
http_method: Optional[ApiDestinationHttpMethod] = None,
invocation_rate_limit_per_second: Optional[
ApiDestinationInvocationRateLimitPerSecond
] = None,
) -> UpdateApiDestinationResponse
Updates an API destination.
Parameters:
-
name(ApiDestinationName) –The name of the API destination to update.
-
description(Optional[ApiDestinationDescription], default:None) –The name of the API destination to update.
-
connection_arn(Optional[ConnectionArn], default:None) –The ARN of the connection to use for the API destination.
-
invocation_endpoint(Optional[HttpsEndpoint], default:None) –The URL to the endpoint to use for the API destination.
-
http_method(Optional[ApiDestinationHttpMethod], default:None) –The method to use for the API destination.
-
invocation_rate_limit_per_second(Optional[ApiDestinationInvocationRateLimitPerSecond], default:None) –The maximum number of invocations per second to send to the API destination.
Raises:
-
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.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_eventbridge/_services/async_event_bridge.py
3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 | |