Struct aws_sdk_ec2::operation::modify_vpc_peering_connection_options::ModifyVpcPeeringConnectionOptionsInput
source · #[non_exhaustive]pub struct ModifyVpcPeeringConnectionOptionsInput {
pub accepter_peering_connection_options: Option<PeeringConnectionOptionsRequest>,
pub dry_run: Option<bool>,
pub requester_peering_connection_options: Option<PeeringConnectionOptionsRequest>,
pub vpc_peering_connection_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.accepter_peering_connection_options: Option<PeeringConnectionOptionsRequest>
The VPC peering connection options for the accepter VPC.
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
.
requester_peering_connection_options: Option<PeeringConnectionOptionsRequest>
The VPC peering connection options for the requester VPC.
vpc_peering_connection_id: Option<String>
The ID of the VPC peering connection.
Implementations§
source§impl ModifyVpcPeeringConnectionOptionsInput
impl ModifyVpcPeeringConnectionOptionsInput
sourcepub fn accepter_peering_connection_options(
&self
) -> Option<&PeeringConnectionOptionsRequest>
pub fn accepter_peering_connection_options( &self ) -> Option<&PeeringConnectionOptionsRequest>
The VPC peering connection options for the accepter VPC.
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 requester_peering_connection_options(
&self
) -> Option<&PeeringConnectionOptionsRequest>
pub fn requester_peering_connection_options( &self ) -> Option<&PeeringConnectionOptionsRequest>
The VPC peering connection options for the requester VPC.
sourcepub fn vpc_peering_connection_id(&self) -> Option<&str>
pub fn vpc_peering_connection_id(&self) -> Option<&str>
The ID of the VPC peering connection.
source§impl ModifyVpcPeeringConnectionOptionsInput
impl ModifyVpcPeeringConnectionOptionsInput
sourcepub fn builder() -> ModifyVpcPeeringConnectionOptionsInputBuilder
pub fn builder() -> ModifyVpcPeeringConnectionOptionsInputBuilder
Creates a new builder-style object to manufacture ModifyVpcPeeringConnectionOptionsInput
.
Trait Implementations§
source§impl Clone for ModifyVpcPeeringConnectionOptionsInput
impl Clone for ModifyVpcPeeringConnectionOptionsInput
source§fn clone(&self) -> ModifyVpcPeeringConnectionOptionsInput
fn clone(&self) -> ModifyVpcPeeringConnectionOptionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ModifyVpcPeeringConnectionOptionsInput
impl PartialEq for ModifyVpcPeeringConnectionOptionsInput
source§fn eq(&self, other: &ModifyVpcPeeringConnectionOptionsInput) -> bool
fn eq(&self, other: &ModifyVpcPeeringConnectionOptionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.