pub struct Builder { /* private fields */ }
Expand description

Implementations§

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 is UnauthorizedOperation.

Examples found in repository?
src/client.rs (line 25043)
25042
25043
25044
25045
        pub fn dry_run(mut self, input: bool) -> Self {
            self.inner = self.inner.dry_run(input);
            self
        }

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 is UnauthorizedOperation.

Examples found in repository?
src/client.rs (line 25048)
25047
25048
25049
25050
        pub fn set_dry_run(mut self, input: std::option::Option<bool>) -> Self {
            self.inner = self.inner.set_dry_run(input);
            self
        }

Indicates whether requests from service consumers to create an endpoint to your service must be accepted manually.

Examples found in repository?
src/client.rs (line 25053)
25052
25053
25054
25055
        pub fn acceptance_required(mut self, input: bool) -> Self {
            self.inner = self.inner.acceptance_required(input);
            self
        }

Indicates whether requests from service consumers to create an endpoint to your service must be accepted manually.

Examples found in repository?
src/client.rs (line 25058)
25057
25058
25059
25060
        pub fn set_acceptance_required(mut self, input: std::option::Option<bool>) -> Self {
            self.inner = self.inner.set_acceptance_required(input);
            self
        }

(Interface endpoint configuration) The private DNS name to assign to the VPC endpoint service.

Examples found in repository?
src/client.rs (line 25063)
25062
25063
25064
25065
        pub fn private_dns_name(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.private_dns_name(input.into());
            self
        }

(Interface endpoint configuration) The private DNS name to assign to the VPC endpoint service.

Examples found in repository?
src/client.rs (line 25071)
25067
25068
25069
25070
25071
25072
25073
        pub fn set_private_dns_name(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.inner = self.inner.set_private_dns_name(input);
            self
        }

Appends an item to network_load_balancer_arns.

To override the contents of this collection use set_network_load_balancer_arns.

The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.

Examples found in repository?
src/client.rs (line 25080)
25079
25080
25081
25082
        pub fn network_load_balancer_arns(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.network_load_balancer_arns(input.into());
            self
        }

The Amazon Resource Names (ARNs) of one or more Network Load Balancers for your service.

Examples found in repository?
src/client.rs (line 25088)
25084
25085
25086
25087
25088
25089
25090
        pub fn set_network_load_balancer_arns(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_network_load_balancer_arns(input);
            self
        }

Appends an item to gateway_load_balancer_arns.

To override the contents of this collection use set_gateway_load_balancer_arns.

The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.

Examples found in repository?
src/client.rs (line 25097)
25096
25097
25098
25099
        pub fn gateway_load_balancer_arns(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.gateway_load_balancer_arns(input.into());
            self
        }

The Amazon Resource Names (ARNs) of one or more Gateway Load Balancers.

Examples found in repository?
src/client.rs (line 25105)
25101
25102
25103
25104
25105
25106
25107
        pub fn set_gateway_load_balancer_arns(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_gateway_load_balancer_arns(input);
            self
        }

Appends an item to supported_ip_address_types.

To override the contents of this collection use set_supported_ip_address_types.

The supported IP address types. The possible values are ipv4 and ipv6.

Examples found in repository?
src/client.rs (line 25114)
25113
25114
25115
25116
        pub fn supported_ip_address_types(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.supported_ip_address_types(input.into());
            self
        }

The supported IP address types. The possible values are ipv4 and ipv6.

Examples found in repository?
src/client.rs (line 25122)
25118
25119
25120
25121
25122
25123
25124
        pub fn set_supported_ip_address_types(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_supported_ip_address_types(input);
            self
        }

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

Examples found in repository?
src/client.rs (line 25127)
25126
25127
25128
25129
        pub fn client_token(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.client_token(input.into());
            self
        }

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.

Examples found in repository?
src/client.rs (line 25132)
25131
25132
25133
25134
        pub fn set_client_token(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_client_token(input);
            self
        }

Appends an item to tag_specifications.

To override the contents of this collection use set_tag_specifications.

The tags to associate with the service.

Examples found in repository?
src/client.rs (line 25141)
25140
25141
25142
25143
        pub fn tag_specifications(mut self, input: crate::model::TagSpecification) -> Self {
            self.inner = self.inner.tag_specifications(input);
            self
        }

The tags to associate with the service.

Examples found in repository?
src/client.rs (line 25149)
25145
25146
25147
25148
25149
25150
25151
        pub fn set_tag_specifications(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::TagSpecification>>,
        ) -> Self {
            self.inner = self.inner.set_tag_specifications(input);
            self
        }

Consumes the builder and constructs a CreateVpcEndpointServiceConfigurationInput.

Examples found in repository?
src/client.rs (line 25008)
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::CreateVpcEndpointServiceConfiguration,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<
                crate::error::CreateVpcEndpointServiceConfigurationError,
            >,
        > {
            let handle = self.handle.clone();
            let operation = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            Ok(crate::operation::customize::CustomizableOperation { handle, operation })
        }

        /// Sends the request and returns the response.
        ///
        /// If an error occurs, an `SdkError` will be returned with additional details that
        /// can be matched against.
        ///
        /// By default, any retryable failures will be retried twice. Retry behavior
        /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
        /// set when configuring the client.
        pub async fn send(
            self,
        ) -> std::result::Result<
            crate::output::CreateVpcEndpointServiceConfigurationOutput,
            aws_smithy_http::result::SdkError<
                crate::error::CreateVpcEndpointServiceConfigurationError,
            >,
        > {
            let op = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&self.handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            self.handle.client.call(op).await
        }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more