modify_vpc_endpoint_connection_notification
¶
modify_vpc_endpoint_connection_notification(
*,
config_overrides: Optional[EC2ClientConfig] = None,
dry_run: Optional[Boolean] = None,
connection_notification_id: Optional[ConnectionNotificationId] = None,
connection_notification_arn: Optional[String] = None,
connection_events: Optional[ValueStringList] = None,
) -> ModifyVpcEndpointConnectionNotificationResult
Modifies a connection notification for VPC endpoint or VPC endpoint service. You can change the SNS topic for the notification, or the events for which to be notified.
Parameters:
-
dry_run(Optional[Boolean], default:None) –Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation. -
connection_notification_id(Optional[ConnectionNotificationId], default:None) –The ID of the notification.
-
connection_notification_arn(Optional[String], default:None) –The ARN for the SNS topic for the notification.
-
connection_events(Optional[ValueStringList], default:None) –The events for the endpoint. Valid values are
Accept,Connect,Delete, andReject.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_ec2/_services/ec2.py
54319 54320 54321 54322 54323 54324 54325 54326 54327 54328 54329 54330 54331 54332 54333 54334 54335 54336 54337 54338 54339 54340 54341 54342 54343 54344 54345 54346 54347 54348 54349 54350 54351 54352 54353 54354 54355 54356 54357 54358 54359 54360 54361 54362 54363 54364 54365 54366 54367 54368 54369 54370 54371 54372 54373 54374 54375 54376 54377 54378 | |