Struct aws_sdk_ec2::operation::delete_route::DeleteRouteInput
source · #[non_exhaustive]pub struct DeleteRouteInput {
pub destination_cidr_block: Option<String>,
pub destination_ipv6_cidr_block: Option<String>,
pub destination_prefix_list_id: Option<String>,
pub dry_run: Option<bool>,
pub route_table_id: Option<String>,
}
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.destination_cidr_block: Option<String>
The IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
destination_ipv6_cidr_block: Option<String>
The IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
destination_prefix_list_id: Option<String>
The ID of the prefix list for the route.
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
.
route_table_id: Option<String>
The ID of the route table.
Implementations§
source§impl DeleteRouteInput
impl DeleteRouteInput
sourcepub fn destination_cidr_block(&self) -> Option<&str>
pub fn destination_cidr_block(&self) -> Option<&str>
The IPv4 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
sourcepub fn destination_ipv6_cidr_block(&self) -> Option<&str>
pub fn destination_ipv6_cidr_block(&self) -> Option<&str>
The IPv6 CIDR range for the route. The value you specify must match the CIDR for the route exactly.
sourcepub fn destination_prefix_list_id(&self) -> Option<&str>
pub fn destination_prefix_list_id(&self) -> Option<&str>
The ID of the prefix list for the route.
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 route_table_id(&self) -> Option<&str>
pub fn route_table_id(&self) -> Option<&str>
The ID of the route table.
source§impl DeleteRouteInput
impl DeleteRouteInput
sourcepub fn builder() -> DeleteRouteInputBuilder
pub fn builder() -> DeleteRouteInputBuilder
Creates a new builder-style object to manufacture DeleteRouteInput
.
Trait Implementations§
source§impl Clone for DeleteRouteInput
impl Clone for DeleteRouteInput
source§fn clone(&self) -> DeleteRouteInput
fn clone(&self) -> DeleteRouteInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteRouteInput
impl Debug for DeleteRouteInput
source§impl PartialEq<DeleteRouteInput> for DeleteRouteInput
impl PartialEq<DeleteRouteInput> for DeleteRouteInput
source§fn eq(&self, other: &DeleteRouteInput) -> bool
fn eq(&self, other: &DeleteRouteInput) -> bool
self
and other
values to be equal, and is used
by ==
.