update_connection
¶
update_connection(
name: ConnectionName,
*,
config_overrides: Optional[CloudWatchEventsClientConfig] = None,
description: Optional[ConnectionDescription] = None,
authorization_type: Optional[ConnectionAuthorizationType] = None,
auth_parameters: Optional[UpdateConnectionAuthRequestParameters] = 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.
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
3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 | |