Struct aws_sdk_ec2::operation::reject_vpc_peering_connection::RejectVpcPeeringConnectionInput
source · #[non_exhaustive]pub struct RejectVpcPeeringConnectionInput { /* private fields */ }
Implementations§
source§impl RejectVpcPeeringConnectionInput
impl RejectVpcPeeringConnectionInput
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_peering_connection_id(&self) -> Option<&str>
pub fn vpc_peering_connection_id(&self) -> Option<&str>
The ID of the VPC peering connection.
source§impl RejectVpcPeeringConnectionInput
impl RejectVpcPeeringConnectionInput
sourcepub fn builder() -> RejectVpcPeeringConnectionInputBuilder
pub fn builder() -> RejectVpcPeeringConnectionInputBuilder
Creates a new builder-style object to manufacture RejectVpcPeeringConnectionInput
.
source§impl RejectVpcPeeringConnectionInput
impl RejectVpcPeeringConnectionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<RejectVpcPeeringConnection, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<RejectVpcPeeringConnection, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<RejectVpcPeeringConnection
>
Trait Implementations§
source§impl Clone for RejectVpcPeeringConnectionInput
impl Clone for RejectVpcPeeringConnectionInput
source§fn clone(&self) -> RejectVpcPeeringConnectionInput
fn clone(&self) -> RejectVpcPeeringConnectionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<RejectVpcPeeringConnectionInput> for RejectVpcPeeringConnectionInput
impl PartialEq<RejectVpcPeeringConnectionInput> for RejectVpcPeeringConnectionInput
source§fn eq(&self, other: &RejectVpcPeeringConnectionInput) -> bool
fn eq(&self, other: &RejectVpcPeeringConnectionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RejectVpcPeeringConnectionInput
Auto Trait Implementations§
impl RefUnwindSafe for RejectVpcPeeringConnectionInput
impl Send for RejectVpcPeeringConnectionInput
impl Sync for RejectVpcPeeringConnectionInput
impl Unpin for RejectVpcPeeringConnectionInput
impl UnwindSafe for RejectVpcPeeringConnectionInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more