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 |
Retrieves the firewall configurations that you have defined. DNS Firewall uses the configurations to manage firewall behavior for your VPCs.
A single call might return only a partial list of the configurations.
For information, see MaxResults
.
This operation returns paginated results.
Synopsis
- data ListFirewallConfigs = ListFirewallConfigs' {}
- newListFirewallConfigs :: ListFirewallConfigs
- listFirewallConfigs_maxResults :: Lens' ListFirewallConfigs (Maybe Natural)
- listFirewallConfigs_nextToken :: Lens' ListFirewallConfigs (Maybe Text)
- data ListFirewallConfigsResponse = ListFirewallConfigsResponse' {}
- newListFirewallConfigsResponse :: Int -> ListFirewallConfigsResponse
- listFirewallConfigsResponse_firewallConfigs :: Lens' ListFirewallConfigsResponse (Maybe [FirewallConfig])
- listFirewallConfigsResponse_nextToken :: Lens' ListFirewallConfigsResponse (Maybe Text)
- listFirewallConfigsResponse_httpStatus :: Lens' ListFirewallConfigsResponse Int
Creating a Request
data ListFirewallConfigs Source #
See: newListFirewallConfigs
smart constructor.
ListFirewallConfigs' | |
|
Instances
newListFirewallConfigs :: ListFirewallConfigs Source #
Create a value of ListFirewallConfigs
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:maxResults:ListFirewallConfigs'
, listFirewallConfigs_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.
ListFirewallConfigs
, listFirewallConfigs_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.
Request Lenses
listFirewallConfigs_maxResults :: Lens' ListFirewallConfigs (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.
listFirewallConfigs_nextToken :: Lens' ListFirewallConfigs (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.
Destructuring the Response
data ListFirewallConfigsResponse Source #
See: newListFirewallConfigsResponse
smart constructor.
ListFirewallConfigsResponse' | |
|
Instances
newListFirewallConfigsResponse Source #
Create a value of ListFirewallConfigsResponse
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:firewallConfigs:ListFirewallConfigsResponse'
, listFirewallConfigsResponse_firewallConfigs
- The configurations for the firewall behavior provided by DNS Firewall
for VPCs from Amazon Virtual Private Cloud (Amazon VPC).
ListFirewallConfigs
, listFirewallConfigsResponse_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:ListFirewallConfigsResponse'
, listFirewallConfigsResponse_httpStatus
- The response's http status code.
Response Lenses
listFirewallConfigsResponse_firewallConfigs :: Lens' ListFirewallConfigsResponse (Maybe [FirewallConfig]) Source #
The configurations for the firewall behavior provided by DNS Firewall for VPCs from Amazon Virtual Private Cloud (Amazon VPC).
listFirewallConfigsResponse_nextToken :: Lens' ListFirewallConfigsResponse (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.
listFirewallConfigsResponse_httpStatus :: Lens' ListFirewallConfigsResponse Int Source #
The response's http status code.