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 the Amazon Resource Names (ARNs) for the regional
resources that are associated with the specified web ACL. If you want
the list of Amazon CloudFront resources, use the CloudFront call
ListDistributionsByWebACLId
.
Synopsis
- data ListResourcesForWebACL = ListResourcesForWebACL' {}
- newListResourcesForWebACL :: Text -> ListResourcesForWebACL
- listResourcesForWebACL_resourceType :: Lens' ListResourcesForWebACL (Maybe ResourceType)
- listResourcesForWebACL_webACLArn :: Lens' ListResourcesForWebACL Text
- data ListResourcesForWebACLResponse = ListResourcesForWebACLResponse' {
- resourceArns :: Maybe [Text]
- httpStatus :: Int
- newListResourcesForWebACLResponse :: Int -> ListResourcesForWebACLResponse
- listResourcesForWebACLResponse_resourceArns :: Lens' ListResourcesForWebACLResponse (Maybe [Text])
- listResourcesForWebACLResponse_httpStatus :: Lens' ListResourcesForWebACLResponse Int
Creating a Request
data ListResourcesForWebACL Source #
See: newListResourcesForWebACL
smart constructor.
ListResourcesForWebACL' | |
|
Instances
newListResourcesForWebACL Source #
Create a value of ListResourcesForWebACL
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:resourceType:ListResourcesForWebACL'
, listResourcesForWebACL_resourceType
- Used for web ACLs that are scoped for regional applications. 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.
If you don't provide a resource type, the call uses the resource type
APPLICATION_LOAD_BALANCER
.
Default: APPLICATION_LOAD_BALANCER
$sel:webACLArn:ListResourcesForWebACL'
, listResourcesForWebACL_webACLArn
- The Amazon Resource Name (ARN) of the web ACL.
Request Lenses
listResourcesForWebACL_resourceType :: Lens' ListResourcesForWebACL (Maybe ResourceType) Source #
Used for web ACLs that are scoped for regional applications. 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.
If you don't provide a resource type, the call uses the resource type
APPLICATION_LOAD_BALANCER
.
Default: APPLICATION_LOAD_BALANCER
listResourcesForWebACL_webACLArn :: Lens' ListResourcesForWebACL Text Source #
The Amazon Resource Name (ARN) of the web ACL.
Destructuring the Response
data ListResourcesForWebACLResponse Source #
See: newListResourcesForWebACLResponse
smart constructor.
ListResourcesForWebACLResponse' | |
|
Instances
Generic ListResourcesForWebACLResponse Source # | |
Read ListResourcesForWebACLResponse Source # | |
Show ListResourcesForWebACLResponse Source # | |
Defined in Amazonka.WAFV2.ListResourcesForWebACL | |
NFData ListResourcesForWebACLResponse Source # | |
Defined in Amazonka.WAFV2.ListResourcesForWebACL rnf :: ListResourcesForWebACLResponse -> () # | |
Eq ListResourcesForWebACLResponse Source # | |
type Rep ListResourcesForWebACLResponse Source # | |
Defined in Amazonka.WAFV2.ListResourcesForWebACL type Rep ListResourcesForWebACLResponse = D1 ('MetaData "ListResourcesForWebACLResponse" "Amazonka.WAFV2.ListResourcesForWebACL" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "ListResourcesForWebACLResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceArns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newListResourcesForWebACLResponse Source #
Create a value of ListResourcesForWebACLResponse
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:resourceArns:ListResourcesForWebACLResponse'
, listResourcesForWebACLResponse_resourceArns
- The array of Amazon Resource Names (ARNs) of the associated resources.
$sel:httpStatus:ListResourcesForWebACLResponse'
, listResourcesForWebACLResponse_httpStatus
- The response's http status code.
Response Lenses
listResourcesForWebACLResponse_resourceArns :: Lens' ListResourcesForWebACLResponse (Maybe [Text]) Source #
The array of Amazon Resource Names (ARNs) of the associated resources.
listResourcesForWebACLResponse_httpStatus :: Lens' ListResourcesForWebACLResponse Int Source #
The response's http status code.