Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Retrieves the firewall rule group associations that you have defined. Each association enables DNS filtering for a VPC with one rule group.
A single call might return only a partial list of the associations. For
information, see MaxResults
.
This operation returns paginated results.
Synopsis
- data ListFirewallRuleGroupAssociations = ListFirewallRuleGroupAssociations' {}
- newListFirewallRuleGroupAssociations :: ListFirewallRuleGroupAssociations
- listFirewallRuleGroupAssociations_status :: Lens' ListFirewallRuleGroupAssociations (Maybe FirewallRuleGroupAssociationStatus)
- listFirewallRuleGroupAssociations_firewallRuleGroupId :: Lens' ListFirewallRuleGroupAssociations (Maybe Text)
- listFirewallRuleGroupAssociations_priority :: Lens' ListFirewallRuleGroupAssociations (Maybe Int)
- listFirewallRuleGroupAssociations_vpcId :: Lens' ListFirewallRuleGroupAssociations (Maybe Text)
- listFirewallRuleGroupAssociations_nextToken :: Lens' ListFirewallRuleGroupAssociations (Maybe Text)
- listFirewallRuleGroupAssociations_maxResults :: Lens' ListFirewallRuleGroupAssociations (Maybe Natural)
- data ListFirewallRuleGroupAssociationsResponse = ListFirewallRuleGroupAssociationsResponse' {}
- newListFirewallRuleGroupAssociationsResponse :: Int -> ListFirewallRuleGroupAssociationsResponse
- listFirewallRuleGroupAssociationsResponse_firewallRuleGroupAssociations :: Lens' ListFirewallRuleGroupAssociationsResponse (Maybe [FirewallRuleGroupAssociation])
- listFirewallRuleGroupAssociationsResponse_nextToken :: Lens' ListFirewallRuleGroupAssociationsResponse (Maybe Text)
- listFirewallRuleGroupAssociationsResponse_httpStatus :: Lens' ListFirewallRuleGroupAssociationsResponse Int
Creating a Request
data ListFirewallRuleGroupAssociations Source #
See: newListFirewallRuleGroupAssociations
smart constructor.
ListFirewallRuleGroupAssociations' | |
|
Instances
newListFirewallRuleGroupAssociations :: ListFirewallRuleGroupAssociations Source #
Create a value of ListFirewallRuleGroupAssociations
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:status:ListFirewallRuleGroupAssociations'
, listFirewallRuleGroupAssociations_status
- The association Status
setting that you want DNS Firewall to filter on
for the list. If you don't specify this, then DNS Firewall returns all
associations, regardless of status.
$sel:firewallRuleGroupId:ListFirewallRuleGroupAssociations'
, listFirewallRuleGroupAssociations_firewallRuleGroupId
- The unique identifier of the firewall rule group that you want to
retrieve the associations for. Leave this blank to retrieve associations
for any rule group.
$sel:priority:ListFirewallRuleGroupAssociations'
, listFirewallRuleGroupAssociations_priority
- The setting that determines the processing order of the rule group among
the rule groups that are associated with a single VPC. DNS Firewall
filters VPC traffic starting from the rule group with the lowest numeric
priority setting.
$sel:vpcId:ListFirewallRuleGroupAssociations'
, listFirewallRuleGroupAssociations_vpcId
- The unique identifier of the VPC that you want to retrieve the
associations for. Leave this blank to retrieve associations for any VPC.
$sel:nextToken:ListFirewallRuleGroupAssociations'
, listFirewallRuleGroupAssociations_nextToken
- For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number
of objects specified in MaxResults
. If more objects are available for
retrieval, Resolver returns a NextToken
value in the response. To
retrieve the next batch of objects, use the token that was returned for
the prior request in your next request.
$sel:maxResults:ListFirewallRuleGroupAssociations'
, listFirewallRuleGroupAssociations_maxResults
- The maximum number of objects that you want Resolver to return for this
request. If more objects are available, in the response, Resolver
provides a NextToken
value that you can use in a subsequent call to
get the next batch of objects.
If you don't specify a value for MaxResults
, Resolver returns up to
100 objects.
Request Lenses
listFirewallRuleGroupAssociations_status :: Lens' ListFirewallRuleGroupAssociations (Maybe FirewallRuleGroupAssociationStatus) Source #
The association Status
setting that you want DNS Firewall to filter on
for the list. If you don't specify this, then DNS Firewall returns all
associations, regardless of status.
listFirewallRuleGroupAssociations_firewallRuleGroupId :: Lens' ListFirewallRuleGroupAssociations (Maybe Text) Source #
The unique identifier of the firewall rule group that you want to retrieve the associations for. Leave this blank to retrieve associations for any rule group.
listFirewallRuleGroupAssociations_priority :: Lens' ListFirewallRuleGroupAssociations (Maybe Int) Source #
The setting that determines the processing order of the rule group among the rule groups that are associated with a single VPC. DNS Firewall filters VPC traffic starting from the rule group with the lowest numeric priority setting.
listFirewallRuleGroupAssociations_vpcId :: Lens' ListFirewallRuleGroupAssociations (Maybe Text) Source #
The unique identifier of the VPC that you want to retrieve the associations for. Leave this blank to retrieve associations for any VPC.
listFirewallRuleGroupAssociations_nextToken :: Lens' ListFirewallRuleGroupAssociations (Maybe Text) Source #
For the first call to this list request, omit this value.
When you request a list of objects, Resolver returns at most the number
of objects specified in MaxResults
. If more objects are available for
retrieval, Resolver returns a NextToken
value in the response. To
retrieve the next batch of objects, use the token that was returned for
the prior request in your next request.
listFirewallRuleGroupAssociations_maxResults :: Lens' ListFirewallRuleGroupAssociations (Maybe Natural) Source #
The maximum number of objects that you want Resolver to return for this
request. If more objects are available, in the response, Resolver
provides a NextToken
value that you can use in a subsequent call to
get the next batch of objects.
If you don't specify a value for MaxResults
, Resolver returns up to
100 objects.
Destructuring the Response
data ListFirewallRuleGroupAssociationsResponse Source #
See: newListFirewallRuleGroupAssociationsResponse
smart constructor.
ListFirewallRuleGroupAssociationsResponse' | |
|
Instances
newListFirewallRuleGroupAssociationsResponse Source #
Create a value of ListFirewallRuleGroupAssociationsResponse
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:firewallRuleGroupAssociations:ListFirewallRuleGroupAssociationsResponse'
, listFirewallRuleGroupAssociationsResponse_firewallRuleGroupAssociations
- A list of your firewall rule group associations.
This might be a partial list of the associations that you have defined.
For information, see MaxResults
.
$sel:nextToken:ListFirewallRuleGroupAssociations'
, listFirewallRuleGroupAssociationsResponse_nextToken
- If objects are still available for retrieval, Resolver returns this
token in the response. To retrieve the next batch of objects, provide
this token in your next request.
$sel:httpStatus:ListFirewallRuleGroupAssociationsResponse'
, listFirewallRuleGroupAssociationsResponse_httpStatus
- The response's http status code.
Response Lenses
listFirewallRuleGroupAssociationsResponse_firewallRuleGroupAssociations :: Lens' ListFirewallRuleGroupAssociationsResponse (Maybe [FirewallRuleGroupAssociation]) Source #
A list of your firewall rule group associations.
This might be a partial list of the associations that you have defined.
For information, see MaxResults
.
listFirewallRuleGroupAssociationsResponse_nextToken :: Lens' ListFirewallRuleGroupAssociationsResponse (Maybe Text) Source #
If objects are still available for retrieval, Resolver returns this token in the response. To retrieve the next batch of objects, provide this token in your next request.
listFirewallRuleGroupAssociationsResponse_httpStatus :: Lens' ListFirewallRuleGroupAssociationsResponse Int Source #
The response's http status code.