#[non_exhaustive]pub struct ModifyVpcEndpointInput {Show 13 fields
pub dry_run: Option<bool>,
pub vpc_endpoint_id: Option<String>,
pub reset_policy: Option<bool>,
pub policy_document: Option<String>,
pub add_route_table_ids: Option<Vec<String>>,
pub remove_route_table_ids: Option<Vec<String>>,
pub add_subnet_ids: Option<Vec<String>>,
pub remove_subnet_ids: Option<Vec<String>>,
pub add_security_group_ids: Option<Vec<String>>,
pub remove_security_group_ids: Option<Vec<String>>,
pub ip_address_type: Option<IpAddressType>,
pub dns_options: Option<DnsOptionsSpecification>,
pub private_dns_enabled: Option<bool>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.dry_run: 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
.
vpc_endpoint_id: Option<String>
The ID of the endpoint.
reset_policy: Option<bool>
(Gateway endpoint) Specify true
to reset the policy document to the default policy. The default policy allows full access to the service.
policy_document: Option<String>
(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.
add_route_table_ids: Option<Vec<String>>
(Gateway endpoint) The IDs of the route tables to associate with the endpoint.
remove_route_table_ids: Option<Vec<String>>
(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.
add_subnet_ids: Option<Vec<String>>
(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint. For a Gateway Load Balancer endpoint, you can specify only one subnet.
remove_subnet_ids: Option<Vec<String>>
(Interface endpoint) The IDs of the subnets from which to remove the endpoint.
add_security_group_ids: Option<Vec<String>>
(Interface endpoint) The IDs of the security groups to associate with the network interface.
remove_security_group_ids: Option<Vec<String>>
(Interface endpoint) The IDs of the security groups to disassociate from the network interface.
ip_address_type: Option<IpAddressType>
The IP address type for the endpoint.
dns_options: Option<DnsOptionsSpecification>
The DNS options for the endpoint.
private_dns_enabled: Option<bool>
(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.
Implementations§
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) The IDs of the route tables 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) The IDs of the route tables 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) The IDs of the subnets 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) The IDs of the subnets from 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) The IDs of the security groups 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) The IDs of the security groups 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.
source§impl ModifyVpcEndpointInput
impl ModifyVpcEndpointInput
sourcepub fn builder() -> ModifyVpcEndpointInputBuilder
pub fn builder() -> ModifyVpcEndpointInputBuilder
Creates a new builder-style object to manufacture ModifyVpcEndpointInput
.
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 moresource§impl Debug for ModifyVpcEndpointInput
impl Debug for ModifyVpcEndpointInput
source§impl PartialEq<ModifyVpcEndpointInput> for ModifyVpcEndpointInput
impl PartialEq<ModifyVpcEndpointInput> for ModifyVpcEndpointInput
source§fn eq(&self, other: &ModifyVpcEndpointInput) -> bool
fn eq(&self, other: &ModifyVpcEndpointInput) -> bool
self
and other
values to be equal, and is used
by ==
.