Struct aws_sdk_ec2::operation::describe_security_group_rules::DescribeSecurityGroupRulesInput
source · #[non_exhaustive]pub struct DescribeSecurityGroupRulesInput {
pub filters: Option<Vec<Filter>>,
pub security_group_rule_ids: Option<Vec<String>>,
pub dry_run: Option<bool>,
pub next_token: Option<String>,
pub max_results: Option<i32>,
}
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.filters: Option<Vec<Filter>>
One or more filters.
-
group-id
- The ID of the security group. -
security-group-rule-id
- The ID of the security group rule. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.
security_group_rule_ids: Option<Vec<String>>
The IDs of the security group rules.
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
.
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. This value can be between 5 and 1000. If this parameter is not specified, then all items are returned. For more information, see Pagination.
Implementations§
source§impl DescribeSecurityGroupRulesInput
impl DescribeSecurityGroupRulesInput
sourcepub fn filters(&self) -> Option<&[Filter]>
pub fn filters(&self) -> Option<&[Filter]>
One or more filters.
-
group-id
- The ID of the security group. -
security-group-rule-id
- The ID of the security group rule. -
tag
:- The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.
sourcepub fn security_group_rule_ids(&self) -> Option<&[String]>
pub fn security_group_rule_ids(&self) -> Option<&[String]>
The IDs of the security group rules.
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 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. This value can be between 5 and 1000. If this parameter is not specified, then all items are returned. For more information, see Pagination.
source§impl DescribeSecurityGroupRulesInput
impl DescribeSecurityGroupRulesInput
sourcepub fn builder() -> DescribeSecurityGroupRulesInputBuilder
pub fn builder() -> DescribeSecurityGroupRulesInputBuilder
Creates a new builder-style object to manufacture DescribeSecurityGroupRulesInput
.
Trait Implementations§
source§impl Clone for DescribeSecurityGroupRulesInput
impl Clone for DescribeSecurityGroupRulesInput
source§fn clone(&self) -> DescribeSecurityGroupRulesInput
fn clone(&self) -> DescribeSecurityGroupRulesInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<DescribeSecurityGroupRulesInput> for DescribeSecurityGroupRulesInput
impl PartialEq<DescribeSecurityGroupRulesInput> for DescribeSecurityGroupRulesInput
source§fn eq(&self, other: &DescribeSecurityGroupRulesInput) -> bool
fn eq(&self, other: &DescribeSecurityGroupRulesInput) -> bool
self
and other
values to be equal, and is used
by ==
.