#[non_exhaustive]pub struct DeleteSecurityGroupInput {
pub group_id: Option<String>,
pub group_name: Option<String>,
pub dry_run: 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.group_id: Option<String>
The ID of the security group.
group_name: Option<String>
[Default VPC] The name of the security group. You can specify either the security group name or the security group ID. For security groups in a nondefault VPC, you must specify the security group ID.
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
.
Implementations§
source§impl DeleteSecurityGroupInput
impl DeleteSecurityGroupInput
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
[Default VPC] The name of the security group. You can specify either the security group name or the security group ID. For security groups in a nondefault VPC, you must specify the security group ID.
source§impl DeleteSecurityGroupInput
impl DeleteSecurityGroupInput
sourcepub fn builder() -> DeleteSecurityGroupInputBuilder
pub fn builder() -> DeleteSecurityGroupInputBuilder
Creates a new builder-style object to manufacture DeleteSecurityGroupInput
.
Trait Implementations§
source§impl Clone for DeleteSecurityGroupInput
impl Clone for DeleteSecurityGroupInput
source§fn clone(&self) -> DeleteSecurityGroupInput
fn clone(&self) -> DeleteSecurityGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteSecurityGroupInput
impl Debug for DeleteSecurityGroupInput
source§impl PartialEq for DeleteSecurityGroupInput
impl PartialEq for DeleteSecurityGroupInput
source§fn eq(&self, other: &DeleteSecurityGroupInput) -> bool
fn eq(&self, other: &DeleteSecurityGroupInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeleteSecurityGroupInput
Auto Trait Implementations§
impl Freeze for DeleteSecurityGroupInput
impl RefUnwindSafe for DeleteSecurityGroupInput
impl Send for DeleteSecurityGroupInput
impl Sync for DeleteSecurityGroupInput
impl Unpin for DeleteSecurityGroupInput
impl UnwindSafe for DeleteSecurityGroupInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more