Struct aws_sdk_ec2::input::ModifyVpcEndpointInput
source · #[non_exhaustive]pub struct ModifyVpcEndpointInput { /* private fields */ }
Expand description
Contains the parameters for ModifyVpcEndpoint.
Implementations§
source§impl ModifyVpcEndpointInput
impl ModifyVpcEndpointInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyVpcEndpoint, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyVpcEndpoint, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyVpcEndpoint
>
Examples found in repository?
69253 69254 69255 69256 69257 69258 69259 69260 69261 69262 69263 69264 69265 69266 69267 69268 69269 69270 69271 69272 69273 69274 69275 69276 69277 69278 69279 69280 69281 69282 69283 69284 69285 69286 69287 69288 69289 69290 69291 69292 69293 69294 69295
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::ModifyVpcEndpoint,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::ModifyVpcEndpointError>,
> {
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::ModifyVpcEndpointOutput,
aws_smithy_http::result::SdkError<crate::error::ModifyVpcEndpointError>,
> {
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
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyVpcEndpointInput
.
source§impl ModifyVpcEndpointInput
impl ModifyVpcEndpointInput
sourcepub fn dry_run(&self) -> Option<bool>
pub fn dry_run(&self) -> Option<bool>
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
.
sourcepub fn vpc_endpoint_id(&self) -> Option<&str>
pub fn vpc_endpoint_id(&self) -> Option<&str>
The ID of the endpoint.
sourcepub fn reset_policy(&self) -> Option<bool>
pub fn reset_policy(&self) -> Option<bool>
(Gateway endpoint) Specify true
to reset the policy document to the default policy. The default policy allows full access to the service.
sourcepub fn policy_document(&self) -> Option<&str>
pub fn policy_document(&self) -> Option<&str>
(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must be in valid JSON format.
sourcepub fn add_route_table_ids(&self) -> Option<&[String]>
pub fn add_route_table_ids(&self) -> Option<&[String]>
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
sourcepub fn remove_route_table_ids(&self) -> Option<&[String]>
pub fn remove_route_table_ids(&self) -> Option<&[String]>
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
sourcepub fn add_subnet_ids(&self) -> Option<&[String]>
pub fn add_subnet_ids(&self) -> Option<&[String]>
(Interface and Gateway Load Balancer endpoints) One or more subnet IDs in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
sourcepub fn remove_subnet_ids(&self) -> Option<&[String]>
pub fn remove_subnet_ids(&self) -> Option<&[String]>
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
sourcepub fn add_security_group_ids(&self) -> Option<&[String]>
pub fn add_security_group_ids(&self) -> Option<&[String]>
(Interface endpoint) One or more security group IDs to associate with the network interface.
sourcepub fn remove_security_group_ids(&self) -> Option<&[String]>
pub fn remove_security_group_ids(&self) -> Option<&[String]>
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
sourcepub fn ip_address_type(&self) -> Option<&IpAddressType>
pub fn ip_address_type(&self) -> Option<&IpAddressType>
The IP address type for the endpoint.
sourcepub fn dns_options(&self) -> Option<&DnsOptionsSpecification>
pub fn dns_options(&self) -> Option<&DnsOptionsSpecification>
The DNS options for the endpoint.
sourcepub fn private_dns_enabled(&self) -> Option<bool>
pub fn private_dns_enabled(&self) -> Option<bool>
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
Trait Implementations§
source§impl Clone for ModifyVpcEndpointInput
impl Clone for ModifyVpcEndpointInput
source§fn clone(&self) -> ModifyVpcEndpointInput
fn clone(&self) -> ModifyVpcEndpointInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more