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 metadata for the firewall policies that you have defined. Depending on your setting for max results and the number of firewall policies, a single call might not return the full list.
This operation returns paginated results.
Synopsis
- data ListFirewallPolicies = ListFirewallPolicies' {}
- newListFirewallPolicies :: ListFirewallPolicies
- listFirewallPolicies_nextToken :: Lens' ListFirewallPolicies (Maybe Text)
- listFirewallPolicies_maxResults :: Lens' ListFirewallPolicies (Maybe Natural)
- data ListFirewallPoliciesResponse = ListFirewallPoliciesResponse' {}
- newListFirewallPoliciesResponse :: Int -> ListFirewallPoliciesResponse
- listFirewallPoliciesResponse_firewallPolicies :: Lens' ListFirewallPoliciesResponse (Maybe [FirewallPolicyMetadata])
- listFirewallPoliciesResponse_nextToken :: Lens' ListFirewallPoliciesResponse (Maybe Text)
- listFirewallPoliciesResponse_httpStatus :: Lens' ListFirewallPoliciesResponse Int
Creating a Request
data ListFirewallPolicies Source #
See: newListFirewallPolicies
smart constructor.
ListFirewallPolicies' | |
|
Instances
newListFirewallPolicies :: ListFirewallPolicies Source #
Create a value of ListFirewallPolicies
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:nextToken:ListFirewallPolicies'
, listFirewallPolicies_nextToken
- When you request a list of objects with a MaxResults
setting, if the
number of objects that are still available for retrieval exceeds the
maximum you requested, Network Firewall returns a NextToken
value in
the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.
$sel:maxResults:ListFirewallPolicies'
, listFirewallPolicies_maxResults
- The maximum number of objects that you want Network Firewall to return
for this request. If more objects are available, in the response,
Network Firewall provides a NextToken
value that you can use in a
subsequent call to get the next batch of objects.
Request Lenses
listFirewallPolicies_nextToken :: Lens' ListFirewallPolicies (Maybe Text) Source #
When you request a list of objects with a MaxResults
setting, if the
number of objects that are still available for retrieval exceeds the
maximum you requested, Network Firewall returns a NextToken
value in
the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.
listFirewallPolicies_maxResults :: Lens' ListFirewallPolicies (Maybe Natural) Source #
The maximum number of objects that you want Network Firewall to return
for this request. If more objects are available, in the response,
Network Firewall provides a NextToken
value that you can use in a
subsequent call to get the next batch of objects.
Destructuring the Response
data ListFirewallPoliciesResponse Source #
See: newListFirewallPoliciesResponse
smart constructor.
ListFirewallPoliciesResponse' | |
|
Instances
newListFirewallPoliciesResponse Source #
Create a value of ListFirewallPoliciesResponse
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:firewallPolicies:ListFirewallPoliciesResponse'
, listFirewallPoliciesResponse_firewallPolicies
- The metadata for the firewall policies. Depending on your setting for
max results and the number of firewall policies that you have, this
might not be the full list.
$sel:nextToken:ListFirewallPolicies'
, listFirewallPoliciesResponse_nextToken
- When you request a list of objects with a MaxResults
setting, if the
number of objects that are still available for retrieval exceeds the
maximum you requested, Network Firewall returns a NextToken
value in
the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.
$sel:httpStatus:ListFirewallPoliciesResponse'
, listFirewallPoliciesResponse_httpStatus
- The response's http status code.
Response Lenses
listFirewallPoliciesResponse_firewallPolicies :: Lens' ListFirewallPoliciesResponse (Maybe [FirewallPolicyMetadata]) Source #
The metadata for the firewall policies. Depending on your setting for max results and the number of firewall policies that you have, this might not be the full list.
listFirewallPoliciesResponse_nextToken :: Lens' ListFirewallPoliciesResponse (Maybe Text) Source #
When you request a list of objects with a MaxResults
setting, if the
number of objects that are still available for retrieval exceeds the
maximum you requested, Network Firewall returns a NextToken
value in
the response. To retrieve the next batch of objects, use the token
returned from the prior request in your next request.
listFirewallPoliciesResponse_httpStatus :: Lens' ListFirewallPoliciesResponse Int Source #
The response's http status code.