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 |
This is AWS WAF Classic Regional documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Returns an array of resources associated with the specified web ACL.
Synopsis
- data ListResourcesForWebACL = ListResourcesForWebACL' {}
- newListResourcesForWebACL :: Text -> ListResourcesForWebACL
- listResourcesForWebACL_resourceType :: Lens' ListResourcesForWebACL (Maybe ResourceType)
- listResourcesForWebACL_webACLId :: 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
- The type of resource to list, either an application load balancer or
Amazon API Gateway.
$sel:webACLId:ListResourcesForWebACL'
, listResourcesForWebACL_webACLId
- The unique identifier (ID) of the web ACL for which to list the
associated resources.
Request Lenses
listResourcesForWebACL_resourceType :: Lens' ListResourcesForWebACL (Maybe ResourceType) Source #
The type of resource to list, either an application load balancer or Amazon API Gateway.
listResourcesForWebACL_webACLId :: Lens' ListResourcesForWebACL Text Source #
The unique identifier (ID) of the web ACL for which to list the associated resources.
Destructuring the Response
data ListResourcesForWebACLResponse Source #
See: newListResourcesForWebACLResponse
smart constructor.
ListResourcesForWebACLResponse' | |
|
Instances
Eq ListResourcesForWebACLResponse Source # | |
Read ListResourcesForWebACLResponse Source # | |
Show ListResourcesForWebACLResponse Source # | |
Defined in Amazonka.WAFRegional.ListResourcesForWebACL | |
Generic ListResourcesForWebACLResponse Source # | |
NFData ListResourcesForWebACLResponse Source # | |
Defined in Amazonka.WAFRegional.ListResourcesForWebACL rnf :: ListResourcesForWebACLResponse -> () # | |
type Rep ListResourcesForWebACLResponse Source # | |
Defined in Amazonka.WAFRegional.ListResourcesForWebACL type Rep ListResourcesForWebACLResponse = D1 ('MetaData "ListResourcesForWebACLResponse" "Amazonka.WAFRegional.ListResourcesForWebACL" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" '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
- An array of ARNs (Amazon Resource Names) of the resources associated
with the specified web ACL. An array with zero elements is returned if
there are no resources associated with the web ACL.
$sel:httpStatus:ListResourcesForWebACLResponse'
, listResourcesForWebACLResponse_httpStatus
- The response's http status code.
Response Lenses
listResourcesForWebACLResponse_resourceArns :: Lens' ListResourcesForWebACLResponse (Maybe [Text]) Source #
An array of ARNs (Amazon Resource Names) of the resources associated with the specified web ACL. An array with zero elements is returned if there are no resources associated with the web ACL.
listResourcesForWebACLResponse_httpStatus :: Lens' ListResourcesForWebACLResponse Int Source #
The response's http status code.