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 69673)
69672
69673
69674
69675
        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 69678)
69677
69678
69679
69680
        pub fn set_dry_run(mut self, input: std::option::Option<bool>) -> Self {
            self.inner = self.inner.set_dry_run(input);
            self
        }

The ID of the service.

Examples found in repository?
src/client.rs (line 69683)
69682
69683
69684
69685
        pub fn service_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.service_id(input.into());
            self
        }

The ID of the service.

Examples found in repository?
src/client.rs (line 69688)
69687
69688
69689
69690
        pub fn set_service_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_service_id(input);
            self
        }

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

Examples found in repository?
src/client.rs (line 69693)
69692
69693
69694
69695
        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 endpoint service.

Examples found in repository?
src/client.rs (line 69701)
69697
69698
69699
69700
69701
69702
69703
        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
        }

(Interface endpoint configuration) Removes the private DNS name of the endpoint service.

Examples found in repository?
src/client.rs (line 69706)
69705
69706
69707
69708
        pub fn remove_private_dns_name(mut self, input: bool) -> Self {
            self.inner = self.inner.remove_private_dns_name(input);
            self
        }

(Interface endpoint configuration) Removes the private DNS name of the endpoint service.

Examples found in repository?
src/client.rs (line 69711)
69710
69711
69712
69713
        pub fn set_remove_private_dns_name(mut self, input: std::option::Option<bool>) -> Self {
            self.inner = self.inner.set_remove_private_dns_name(input);
            self
        }

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

Examples found in repository?
src/client.rs (line 69716)
69715
69716
69717
69718
        pub fn acceptance_required(mut self, input: bool) -> Self {
            self.inner = self.inner.acceptance_required(input);
            self
        }

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

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

Appends an item to add_network_load_balancer_arns.

To override the contents of this collection use set_add_network_load_balancer_arns.

The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.

Examples found in repository?
src/client.rs (line 69733)
69729
69730
69731
69732
69733
69734
69735
        pub fn add_network_load_balancer_arns(
            mut self,
            input: impl Into<std::string::String>,
        ) -> Self {
            self.inner = self.inner.add_network_load_balancer_arns(input.into());
            self
        }

The Amazon Resource Names (ARNs) of Network Load Balancers to add to your service configuration.

Examples found in repository?
src/client.rs (line 69741)
69737
69738
69739
69740
69741
69742
69743
        pub fn set_add_network_load_balancer_arns(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_add_network_load_balancer_arns(input);
            self
        }

Appends an item to remove_network_load_balancer_arns.

To override the contents of this collection use set_remove_network_load_balancer_arns.

The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.

Examples found in repository?
src/client.rs (line 69753)
69749
69750
69751
69752
69753
69754
69755
        pub fn remove_network_load_balancer_arns(
            mut self,
            input: impl Into<std::string::String>,
        ) -> Self {
            self.inner = self.inner.remove_network_load_balancer_arns(input.into());
            self
        }

The Amazon Resource Names (ARNs) of Network Load Balancers to remove from your service configuration.

Examples found in repository?
src/client.rs (line 69761)
69757
69758
69759
69760
69761
69762
69763
        pub fn set_remove_network_load_balancer_arns(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_remove_network_load_balancer_arns(input);
            self
        }

Appends an item to add_gateway_load_balancer_arns.

To override the contents of this collection use set_add_gateway_load_balancer_arns.

The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service configuration.

Examples found in repository?
src/client.rs (line 69773)
69769
69770
69771
69772
69773
69774
69775
        pub fn add_gateway_load_balancer_arns(
            mut self,
            input: impl Into<std::string::String>,
        ) -> Self {
            self.inner = self.inner.add_gateway_load_balancer_arns(input.into());
            self
        }

The Amazon Resource Names (ARNs) of Gateway Load Balancers to add to your service configuration.

Examples found in repository?
src/client.rs (line 69781)
69777
69778
69779
69780
69781
69782
69783
        pub fn set_add_gateway_load_balancer_arns(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_add_gateway_load_balancer_arns(input);
            self
        }

Appends an item to remove_gateway_load_balancer_arns.

To override the contents of this collection use set_remove_gateway_load_balancer_arns.

The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service configuration.

Examples found in repository?
src/client.rs (line 69793)
69789
69790
69791
69792
69793
69794
69795
        pub fn remove_gateway_load_balancer_arns(
            mut self,
            input: impl Into<std::string::String>,
        ) -> Self {
            self.inner = self.inner.remove_gateway_load_balancer_arns(input.into());
            self
        }

The Amazon Resource Names (ARNs) of Gateway Load Balancers to remove from your service configuration.

Examples found in repository?
src/client.rs (line 69801)
69797
69798
69799
69800
69801
69802
69803
        pub fn set_remove_gateway_load_balancer_arns(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_remove_gateway_load_balancer_arns(input);
            self
        }

Appends an item to add_supported_ip_address_types.

To override the contents of this collection use set_add_supported_ip_address_types.

The IP address types to add to your service configuration.

Examples found in repository?
src/client.rs (line 69813)
69809
69810
69811
69812
69813
69814
69815
        pub fn add_supported_ip_address_types(
            mut self,
            input: impl Into<std::string::String>,
        ) -> Self {
            self.inner = self.inner.add_supported_ip_address_types(input.into());
            self
        }

The IP address types to add to your service configuration.

Examples found in repository?
src/client.rs (line 69821)
69817
69818
69819
69820
69821
69822
69823
        pub fn set_add_supported_ip_address_types(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_add_supported_ip_address_types(input);
            self
        }

Appends an item to remove_supported_ip_address_types.

To override the contents of this collection use set_remove_supported_ip_address_types.

The IP address types to remove from your service configuration.

Examples found in repository?
src/client.rs (line 69833)
69829
69830
69831
69832
69833
69834
69835
        pub fn remove_supported_ip_address_types(
            mut self,
            input: impl Into<std::string::String>,
        ) -> Self {
            self.inner = self.inner.remove_supported_ip_address_types(input.into());
            self
        }

The IP address types to remove from your service configuration.

Examples found in repository?
src/client.rs (line 69841)
69837
69838
69839
69840
69841
69842
69843
        pub fn set_remove_supported_ip_address_types(
            mut self,
            input: std::option::Option<std::vec::Vec<std::string::String>>,
        ) -> Self {
            self.inner = self.inner.set_remove_supported_ip_address_types(input);
            self
        }

Consumes the builder and constructs a ModifyVpcEndpointServiceConfigurationInput.

Examples found in repository?
src/client.rs (line 69638)
69624
69625
69626
69627
69628
69629
69630
69631
69632
69633
69634
69635
69636
69637
69638
69639
69640
69641
69642
69643
69644
69645
69646
69647
69648
69649
69650
69651
69652
69653
69654
69655
69656
69657
69658
69659
69660
69661
69662
69663
69664
69665
69666
69667
69668
69669
69670
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::ModifyVpcEndpointServiceConfiguration,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<
                crate::error::ModifyVpcEndpointServiceConfigurationError,
            >,
        > {
            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::ModifyVpcEndpointServiceConfigurationOutput,
            aws_smithy_http::result::SdkError<
                crate::error::ModifyVpcEndpointServiceConfigurationError,
            >,
        > {
            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