update_api_destination
¶
update_api_destination(
name: ApiDestinationName,
*,
config_overrides: Optional[CloudWatchEventsClientConfig] = 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/cloud_watch_events.py
2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 | |