modify_vpc_endpoint_connection_notification
async
¶
modify_vpc_endpoint_connection_notification(
*,
config_overrides: Optional[AsyncEC2ClientConfig] = 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/async_ec2.py
55074 55075 55076 55077 55078 55079 55080 55081 55082 55083 55084 55085 55086 55087 55088 55089 55090 55091 55092 55093 55094 55095 55096 55097 55098 55099 55100 55101 55102 55103 55104 55105 55106 55107 55108 55109 55110 55111 55112 55113 55114 55115 55116 55117 55118 55119 55120 55121 55122 55123 55124 55125 55126 55127 55128 55129 55130 55131 55132 55133 55134 | |