#[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 ==
.