#[non_exhaustive]pub struct GetSecurityGroupsForVpcInput {
pub vpc_id: Option<String>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
pub filters: Option<Vec<Filter>>,
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.vpc_id: Option<String>
The VPC ID where the security group can be used.
next_token: Option<String>
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
max_results: Option<i32>
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
filters: Option<Vec<Filter>>
The filters. If using multiple filters, the results include security groups which match all filters.
-
group-id
: The security group ID. -
description
: The security group's description. -
group-name
: The security group name. -
owner-id
: The security group owner ID. -
primary-vpc-id
: The VPC ID in which the security group was created.
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 GetSecurityGroupsForVpcInput
impl GetSecurityGroupsForVpcInput
sourcepub fn next_token(&self) -> Option<&str>
pub fn next_token(&self) -> Option<&str>
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
sourcepub fn max_results(&self) -> Option<i32>
pub fn max_results(&self) -> Option<i32>
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination.
sourcepub fn filters(&self) -> &[Filter]
pub fn filters(&self) -> &[Filter]
The filters. If using multiple filters, the results include security groups which match all filters.
-
group-id
: The security group ID. -
description
: The security group's description. -
group-name
: The security group name. -
owner-id
: The security group owner ID. -
primary-vpc-id
: The VPC ID in which the security group was created.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .filters.is_none()
.
source§impl GetSecurityGroupsForVpcInput
impl GetSecurityGroupsForVpcInput
sourcepub fn builder() -> GetSecurityGroupsForVpcInputBuilder
pub fn builder() -> GetSecurityGroupsForVpcInputBuilder
Creates a new builder-style object to manufacture GetSecurityGroupsForVpcInput
.
Trait Implementations§
source§impl Clone for GetSecurityGroupsForVpcInput
impl Clone for GetSecurityGroupsForVpcInput
source§fn clone(&self) -> GetSecurityGroupsForVpcInput
fn clone(&self) -> GetSecurityGroupsForVpcInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetSecurityGroupsForVpcInput
impl Debug for GetSecurityGroupsForVpcInput
source§impl PartialEq for GetSecurityGroupsForVpcInput
impl PartialEq for GetSecurityGroupsForVpcInput
source§fn eq(&self, other: &GetSecurityGroupsForVpcInput) -> bool
fn eq(&self, other: &GetSecurityGroupsForVpcInput) -> bool
self
and other
values to be equal, and is used
by ==
.