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 an array of IPSetSummary objects for the IP sets that you manage.
Synopsis
- data ListIPSets = ListIPSets' {}
- newListIPSets :: Scope -> ListIPSets
- listIPSets_limit :: Lens' ListIPSets (Maybe Natural)
- listIPSets_nextMarker :: Lens' ListIPSets (Maybe Text)
- listIPSets_scope :: Lens' ListIPSets Scope
- data ListIPSetsResponse = ListIPSetsResponse' {
- iPSets :: Maybe [IPSetSummary]
- nextMarker :: Maybe Text
- httpStatus :: Int
- newListIPSetsResponse :: Int -> ListIPSetsResponse
- listIPSetsResponse_iPSets :: Lens' ListIPSetsResponse (Maybe [IPSetSummary])
- listIPSetsResponse_nextMarker :: Lens' ListIPSetsResponse (Maybe Text)
- listIPSetsResponse_httpStatus :: Lens' ListIPSetsResponse Int
Creating a Request
data ListIPSets Source #
See: newListIPSets
smart constructor.
ListIPSets' | |
|
Instances
Create a value of ListIPSets
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:
ListIPSets
, listIPSets_limit
- The maximum number of objects that you want WAF to return for this
request. If more objects are available, in the response, WAF provides a
NextMarker
value that you can use in a subsequent call to get the next
batch of objects.
ListIPSets
, listIPSets_nextMarker
- When you request a list of objects with a Limit
setting, if the number
of objects that are still available for retrieval exceeds the limit, WAF
returns a NextMarker
value in the response. To retrieve the next batch
of objects, provide the marker from the prior call in your next request.
ListIPSets
, listIPSets_scope
- Specifies whether this is for an Amazon CloudFront distribution or for a
regional application. A regional application can be an Application Load
Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API,
or an Amazon Cognito user pool.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
- CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. - API and SDKs - For all calls, use the Region endpoint us-east-1.
Request Lenses
listIPSets_limit :: Lens' ListIPSets (Maybe Natural) Source #
The maximum number of objects that you want WAF to return for this
request. If more objects are available, in the response, WAF provides a
NextMarker
value that you can use in a subsequent call to get the next
batch of objects.
listIPSets_nextMarker :: Lens' ListIPSets (Maybe Text) Source #
When you request a list of objects with a Limit
setting, if the number
of objects that are still available for retrieval exceeds the limit, WAF
returns a NextMarker
value in the response. To retrieve the next batch
of objects, provide the marker from the prior call in your next request.
listIPSets_scope :: Lens' ListIPSets Scope Source #
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, or an Amazon Cognito user pool.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
- CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1
. - API and SDKs - For all calls, use the Region endpoint us-east-1.
Destructuring the Response
data ListIPSetsResponse Source #
See: newListIPSetsResponse
smart constructor.
ListIPSetsResponse' | |
|
Instances
newListIPSetsResponse Source #
Create a value of ListIPSetsResponse
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:iPSets:ListIPSetsResponse'
, listIPSetsResponse_iPSets
- Array of IPSets. This may not be the full list of IPSets that you have
defined. See the Limit
specification for this request.
ListIPSets
, listIPSetsResponse_nextMarker
- When you request a list of objects with a Limit
setting, if the number
of objects that are still available for retrieval exceeds the limit, WAF
returns a NextMarker
value in the response. To retrieve the next batch
of objects, provide the marker from the prior call in your next request.
$sel:httpStatus:ListIPSetsResponse'
, listIPSetsResponse_httpStatus
- The response's http status code.
Response Lenses
listIPSetsResponse_iPSets :: Lens' ListIPSetsResponse (Maybe [IPSetSummary]) Source #
Array of IPSets. This may not be the full list of IPSets that you have
defined. See the Limit
specification for this request.
listIPSetsResponse_nextMarker :: Lens' ListIPSetsResponse (Maybe Text) Source #
When you request a list of objects with a Limit
setting, if the number
of objects that are still available for retrieval exceeds the limit, WAF
returns a NextMarker
value in the response. To retrieve the next batch
of objects, provide the marker from the prior call in your next request.
listIPSetsResponse_httpStatus :: Lens' ListIPSetsResponse Int Source #
The response's http status code.