1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`AcceptVpcEndpointConnections`](crate::operation::accept_vpc_endpoint_connections::builders::AcceptVpcEndpointConnectionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`dry_run(bool)`](crate::operation::accept_vpc_endpoint_connections::builders::AcceptVpcEndpointConnectionsFluentBuilder::dry_run) / [`set_dry_run(Option<bool>)`](crate::operation::accept_vpc_endpoint_connections::builders::AcceptVpcEndpointConnectionsFluentBuilder::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>
    ///   - [`service_id(impl Into<String>)`](crate::operation::accept_vpc_endpoint_connections::builders::AcceptVpcEndpointConnectionsFluentBuilder::service_id) / [`set_service_id(Option<String>)`](crate::operation::accept_vpc_endpoint_connections::builders::AcceptVpcEndpointConnectionsFluentBuilder::set_service_id):<br>required: **true**<br><p>The ID of the VPC endpoint service.</p><br>
    ///   - [`vpc_endpoint_ids(impl Into<String>)`](crate::operation::accept_vpc_endpoint_connections::builders::AcceptVpcEndpointConnectionsFluentBuilder::vpc_endpoint_ids) / [`set_vpc_endpoint_ids(Option<Vec::<String>>)`](crate::operation::accept_vpc_endpoint_connections::builders::AcceptVpcEndpointConnectionsFluentBuilder::set_vpc_endpoint_ids):<br>required: **true**<br><p>The IDs of the interface VPC endpoints.</p><br>
    /// - On success, responds with [`AcceptVpcEndpointConnectionsOutput`](crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsOutput) with field(s):
    ///   - [`unsuccessful(Option<Vec::<UnsuccessfulItem>>)`](crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsOutput::unsuccessful): <p>Information about the interface endpoints that were not accepted, if applicable.</p>
    /// - On failure, responds with [`SdkError<AcceptVpcEndpointConnectionsError>`](crate::operation::accept_vpc_endpoint_connections::AcceptVpcEndpointConnectionsError)
    pub fn accept_vpc_endpoint_connections(
        &self,
    ) -> crate::operation::accept_vpc_endpoint_connections::builders::AcceptVpcEndpointConnectionsFluentBuilder {
        crate::operation::accept_vpc_endpoint_connections::builders::AcceptVpcEndpointConnectionsFluentBuilder::new(self.handle.clone())
    }
}