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 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_nextToken :: Lens' ListFirewallConfigs (Maybe Text)
- listFirewallConfigs_maxResults :: Lens' ListFirewallConfigs (Maybe Natural)
- data ListFirewallConfigsResponse = ListFirewallConfigsResponse' {}
- newListFirewallConfigsResponse :: Int -> ListFirewallConfigsResponse
- listFirewallConfigsResponse_nextToken :: Lens' ListFirewallConfigsResponse (Maybe Text)
- listFirewallConfigsResponse_firewallConfigs :: Lens' ListFirewallConfigsResponse (Maybe [FirewallConfig])
- 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:nextToken: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.
$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.
Request Lenses
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.
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.
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:nextToken: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:firewallConfigs:ListFirewallConfigsResponse'
, listFirewallConfigsResponse_firewallConfigs
- The configurations for the firewall behavior provided by DNS Firewall
for VPCs from Amazon Virtual Private Cloud (Amazon VPC).
$sel:httpStatus:ListFirewallConfigsResponse'
, listFirewallConfigsResponse_httpStatus
- The response's http status code.
Response Lenses
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_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_httpStatus :: Lens' ListFirewallConfigsResponse Int Source #
The response's http status code.