update_api_destination
async
¶
update_api_destination(
name: ApiDestinationName,
*,
config_overrides: Optional[AsyncCloudWatchEventsClientConfig] = 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_cloudwatch_events/_services/async_cloud_watch_events.py
3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 | |