aws_sdk_ec2/client/create_vpc_endpoint_connection_notification.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CreateVpcEndpointConnectionNotification`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`dry_run(bool)`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::set_dry_run):<br>required: **false**<br><p>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 <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p><br>
7 /// - [`service_id(impl Into<String>)`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::service_id) / [`set_service_id(Option<String>)`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::set_service_id):<br>required: **false**<br><p>The ID of the endpoint service.</p><br>
8 /// - [`vpc_endpoint_id(impl Into<String>)`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::vpc_endpoint_id) / [`set_vpc_endpoint_id(Option<String>)`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::set_vpc_endpoint_id):<br>required: **false**<br><p>The ID of the endpoint.</p><br>
9 /// - [`connection_notification_arn(impl Into<String>)`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::connection_notification_arn) / [`set_connection_notification_arn(Option<String>)`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::set_connection_notification_arn):<br>required: **true**<br><p>The ARN of the SNS topic for the notifications.</p><br>
10 /// - [`connection_events(impl Into<String>)`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::connection_events) / [`set_connection_events(Option<Vec::<String>>)`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::set_connection_events):<br>required: **true**<br><p>The endpoint events for which to receive notifications. Valid values are <code>Accept</code>, <code>Connect</code>, <code>Delete</code>, and <code>Reject</code>.</p><br>
11 /// - [`client_token(impl Into<String>)`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::set_client_token):<br>required: **false**<br><p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">How to ensure idempotency</a>.</p><br>
12 /// - On success, responds with [`CreateVpcEndpointConnectionNotificationOutput`](crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationOutput) with field(s):
13 /// - [`connection_notification(Option<ConnectionNotification>)`](crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationOutput::connection_notification): <p>Information about the notification.</p>
14 /// - [`client_token(Option<String>)`](crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationOutput::client_token): <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
15 /// - On failure, responds with [`SdkError<CreateVpcEndpointConnectionNotificationError>`](crate::operation::create_vpc_endpoint_connection_notification::CreateVpcEndpointConnectionNotificationError)
16 pub fn create_vpc_endpoint_connection_notification(
17 &self,
18 ) -> crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder {
19 crate::operation::create_vpc_endpoint_connection_notification::builders::CreateVpcEndpointConnectionNotificationFluentBuilder::new(
20 self.handle.clone(),
21 )
22 }
23}