aws_sdk_ec2/client/
describe_vpc_endpoint_connection_notifications.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 [`DescribeVpcEndpointConnectionNotifications`](crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`dry_run(bool)`](crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder::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>
8    ///   - [`connection_notification_id(impl Into<String>)`](crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder::connection_notification_id) / [`set_connection_notification_id(Option<String>)`](crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder::set_connection_notification_id):<br>required: **false**<br><p>The ID of the notification.</p><br>
9    ///   - [`filters(Filter)`](crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder::filters) / [`set_filters(Option<Vec::<Filter>>)`](crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder::set_filters):<br>required: **false**<br><p>The filters.</p> <ul>  <li>   <p><code>connection-notification-arn</code> - The ARN of the SNS topic for the notification.</p></li>  <li>   <p><code>connection-notification-id</code> - The ID of the notification.</p></li>  <li>   <p><code>connection-notification-state</code> - The state of the notification (<code>Enabled</code> | <code>Disabled</code>).</p></li>  <li>   <p><code>connection-notification-type</code> - The type of notification (<code>Topic</code>).</p></li>  <li>   <p><code>service-id</code> - The ID of the endpoint service.</p></li>  <li>   <p><code>vpc-endpoint-id</code> - The ID of the VPC endpoint.</p></li> </ul><br>
10    ///   - [`max_results(i32)`](crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single call. To retrieve the remaining results, make another request with the returned <code>NextToken</code> value.</p><br>
11    ///   - [`next_token(impl Into<String>)`](crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token to request the next page of results.</p><br>
12    /// - On success, responds with [`DescribeVpcEndpointConnectionNotificationsOutput`](crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsOutput) with field(s):
13    ///   - [`connection_notification_set(Option<Vec::<ConnectionNotification>>)`](crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsOutput::connection_notification_set): <p>The notifications.</p>
14    ///   - [`next_token(Option<String>)`](crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsOutput::next_token): <p>The token to use to retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>
15    /// - On failure, responds with [`SdkError<DescribeVpcEndpointConnectionNotificationsError>`](crate::operation::describe_vpc_endpoint_connection_notifications::DescribeVpcEndpointConnectionNotificationsError)
16    pub fn describe_vpc_endpoint_connection_notifications(
17        &self,
18    ) -> crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder {
19        crate::operation::describe_vpc_endpoint_connection_notifications::builders::DescribeVpcEndpointConnectionNotificationsFluentBuilder::new(
20            self.handle.clone(),
21        )
22    }
23}