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 your LoggingConfiguration objects.
Synopsis
- data ListLoggingConfigurations = ListLoggingConfigurations' {}
- newListLoggingConfigurations :: Scope -> ListLoggingConfigurations
- listLoggingConfigurations_limit :: Lens' ListLoggingConfigurations (Maybe Natural)
- listLoggingConfigurations_nextMarker :: Lens' ListLoggingConfigurations (Maybe Text)
- listLoggingConfigurations_scope :: Lens' ListLoggingConfigurations Scope
- data ListLoggingConfigurationsResponse = ListLoggingConfigurationsResponse' {}
- newListLoggingConfigurationsResponse :: Int -> ListLoggingConfigurationsResponse
- listLoggingConfigurationsResponse_loggingConfigurations :: Lens' ListLoggingConfigurationsResponse (Maybe [LoggingConfiguration])
- listLoggingConfigurationsResponse_nextMarker :: Lens' ListLoggingConfigurationsResponse (Maybe Text)
- listLoggingConfigurationsResponse_httpStatus :: Lens' ListLoggingConfigurationsResponse Int
Creating a Request
data ListLoggingConfigurations Source #
See: newListLoggingConfigurations
smart constructor.
ListLoggingConfigurations' | |
|
Instances
newListLoggingConfigurations Source #
Create a value of ListLoggingConfigurations
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:
ListLoggingConfigurations
, listLoggingConfigurations_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.
ListLoggingConfigurations
, listLoggingConfigurations_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.
ListLoggingConfigurations
, listLoggingConfigurations_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
listLoggingConfigurations_limit :: Lens' ListLoggingConfigurations (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.
listLoggingConfigurations_nextMarker :: Lens' ListLoggingConfigurations (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.
listLoggingConfigurations_scope :: Lens' ListLoggingConfigurations 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 ListLoggingConfigurationsResponse Source #
See: newListLoggingConfigurationsResponse
smart constructor.
ListLoggingConfigurationsResponse' | |
|
Instances
newListLoggingConfigurationsResponse Source #
Create a value of ListLoggingConfigurationsResponse
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:loggingConfigurations:ListLoggingConfigurationsResponse'
, listLoggingConfigurationsResponse_loggingConfigurations
-
ListLoggingConfigurations
, listLoggingConfigurationsResponse_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:ListLoggingConfigurationsResponse'
, listLoggingConfigurationsResponse_httpStatus
- The response's http status code.
Response Lenses
listLoggingConfigurationsResponse_loggingConfigurations :: Lens' ListLoggingConfigurationsResponse (Maybe [LoggingConfiguration]) Source #
listLoggingConfigurationsResponse_nextMarker :: Lens' ListLoggingConfigurationsResponse (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.
listLoggingConfigurationsResponse_httpStatus :: Lens' ListLoggingConfigurationsResponse Int Source #
The response's http status code.