Struct aws_sdk_ec2::client::fluent_builders::ModifyVpcEndpoint [−][src]
pub struct ModifyVpcEndpoint<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to ModifyVpcEndpoint
.
Modifies attributes of a specified VPC endpoint. The attributes that you can modify depend on the type of VPC endpoint (interface, gateway, or Gateway Load Balancer). For more information, see VPC Endpoints in the Amazon Virtual Private Cloud User Guide.
Implementations
impl<C, M, R> ModifyVpcEndpoint<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> ModifyVpcEndpoint<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<ModifyVpcEndpointOutput, SdkError<ModifyVpcEndpointError>> where
R::Policy: SmithyRetryPolicy<ModifyVpcEndpointInputOperationOutputAlias, ModifyVpcEndpointOutput, ModifyVpcEndpointError, ModifyVpcEndpointInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<ModifyVpcEndpointOutput, SdkError<ModifyVpcEndpointError>> where
R::Policy: SmithyRetryPolicy<ModifyVpcEndpointInputOperationOutputAlias, ModifyVpcEndpointOutput, ModifyVpcEndpointError, ModifyVpcEndpointInputOperationRetryAlias>,
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, which can be set when configuring the client.
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
.
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
.
The ID of the endpoint.
The ID of the endpoint.
(Gateway endpoint) Specify true
to reset the policy document to the
default policy. The default policy allows full access to the service.
(Gateway endpoint) Specify true
to reset the policy document to the
default policy. The default policy allows full access to the service.
(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.
(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.
Appends an item to AddRouteTableIds
.
To override the contents of this collection use set_add_route_table_ids
.
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
(Gateway endpoint) One or more route tables IDs to associate with the endpoint.
Appends an item to RemoveRouteTableIds
.
To override the contents of this collection use set_remove_route_table_ids
.
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
(Gateway endpoint) One or more route table IDs to disassociate from the endpoint.
Appends an item to AddSubnetIds
.
To override the contents of this collection use set_add_subnet_ids
.
(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.
(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.
Appends an item to RemoveSubnetIds
.
To override the contents of this collection use set_remove_subnet_ids
.
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
(Interface endpoint) One or more subnets IDs in which to remove the endpoint.
Appends an item to AddSecurityGroupIds
.
To override the contents of this collection use set_add_security_group_ids
.
(Interface endpoint) One or more security group IDs to associate with the network interface.
(Interface endpoint) One or more security group IDs to associate with the network interface.
Appends an item to RemoveSecurityGroupIds
.
To override the contents of this collection use set_remove_security_group_ids
.
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
(Interface endpoint) One or more security group IDs to disassociate from the network interface.
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for ModifyVpcEndpoint<C, M, R>
impl<C, M, R> Send for ModifyVpcEndpoint<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for ModifyVpcEndpoint<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for ModifyVpcEndpoint<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for ModifyVpcEndpoint<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
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