Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Describes one or more of your security group rules.
This operation returns paginated results.
Synopsis
- data DescribeSecurityGroupRules = DescribeSecurityGroupRules' {}
- newDescribeSecurityGroupRules :: DescribeSecurityGroupRules
- describeSecurityGroupRules_dryRun :: Lens' DescribeSecurityGroupRules (Maybe Bool)
- describeSecurityGroupRules_filters :: Lens' DescribeSecurityGroupRules (Maybe [Filter])
- describeSecurityGroupRules_maxResults :: Lens' DescribeSecurityGroupRules (Maybe Natural)
- describeSecurityGroupRules_nextToken :: Lens' DescribeSecurityGroupRules (Maybe Text)
- describeSecurityGroupRules_securityGroupRuleIds :: Lens' DescribeSecurityGroupRules (Maybe [Text])
- data DescribeSecurityGroupRulesResponse = DescribeSecurityGroupRulesResponse' {}
- newDescribeSecurityGroupRulesResponse :: Int -> DescribeSecurityGroupRulesResponse
- describeSecurityGroupRulesResponse_nextToken :: Lens' DescribeSecurityGroupRulesResponse (Maybe Text)
- describeSecurityGroupRulesResponse_securityGroupRules :: Lens' DescribeSecurityGroupRulesResponse (Maybe [SecurityGroupRule])
- describeSecurityGroupRulesResponse_httpStatus :: Lens' DescribeSecurityGroupRulesResponse Int
Creating a Request
data DescribeSecurityGroupRules Source #
See: newDescribeSecurityGroupRules
smart constructor.
DescribeSecurityGroupRules' | |
|
Instances
newDescribeSecurityGroupRules :: DescribeSecurityGroupRules Source #
Create a value of DescribeSecurityGroupRules
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:DescribeSecurityGroupRules'
, describeSecurityGroupRules_dryRun
- 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
.
$sel:filters:DescribeSecurityGroupRules'
, describeSecurityGroupRules_filters
- One or more filters.
group-id
- The ID of the security group.security-group-rule-id
- The ID of the security group rule.tag
:<key> - 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 keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.
$sel:maxResults:DescribeSecurityGroupRules'
, describeSecurityGroupRules_maxResults
- The maximum number of results to return in a single call. To retrieve
the remaining results, make another request with the returned
NextToken
value. This value can be between 5 and 1000. If this
parameter is not specified, then all results are returned.
DescribeSecurityGroupRules
, describeSecurityGroupRules_nextToken
- The token for the next page of results.
$sel:securityGroupRuleIds:DescribeSecurityGroupRules'
, describeSecurityGroupRules_securityGroupRuleIds
- The IDs of the security group rules.
Request Lenses
describeSecurityGroupRules_dryRun :: Lens' DescribeSecurityGroupRules (Maybe Bool) Source #
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
.
describeSecurityGroupRules_filters :: Lens' DescribeSecurityGroupRules (Maybe [Filter]) Source #
One or more filters.
group-id
- The ID of the security group.security-group-rule-id
- The ID of the security group rule.tag
:<key> - 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 keyOwner
and the valueTeamA
, specifytag:Owner
for the filter name andTeamA
for the filter value.
describeSecurityGroupRules_maxResults :: Lens' DescribeSecurityGroupRules (Maybe Natural) Source #
The maximum number of results to return in a single call. To retrieve
the remaining results, make another request with the returned
NextToken
value. This value can be between 5 and 1000. If this
parameter is not specified, then all results are returned.
describeSecurityGroupRules_nextToken :: Lens' DescribeSecurityGroupRules (Maybe Text) Source #
The token for the next page of results.
describeSecurityGroupRules_securityGroupRuleIds :: Lens' DescribeSecurityGroupRules (Maybe [Text]) Source #
The IDs of the security group rules.
Destructuring the Response
data DescribeSecurityGroupRulesResponse Source #
See: newDescribeSecurityGroupRulesResponse
smart constructor.
DescribeSecurityGroupRulesResponse' | |
|
Instances
newDescribeSecurityGroupRulesResponse Source #
Create a value of DescribeSecurityGroupRulesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeSecurityGroupRules
, describeSecurityGroupRulesResponse_nextToken
- The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
$sel:securityGroupRules:DescribeSecurityGroupRulesResponse'
, describeSecurityGroupRulesResponse_securityGroupRules
- Information about security group rules.
$sel:httpStatus:DescribeSecurityGroupRulesResponse'
, describeSecurityGroupRulesResponse_httpStatus
- The response's http status code.
Response Lenses
describeSecurityGroupRulesResponse_nextToken :: Lens' DescribeSecurityGroupRulesResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
describeSecurityGroupRulesResponse_securityGroupRules :: Lens' DescribeSecurityGroupRulesResponse (Maybe [SecurityGroupRule]) Source #
Information about security group rules.
describeSecurityGroupRulesResponse_httpStatus :: Lens' DescribeSecurityGroupRulesResponse Int Source #
The response's http status code.