Smaws_Client_WAFV2.ListResourcesForWebACLRetrieves an array of the Amazon Resource Names (ARNs) for the resources that are associated with the specified web ACL.
For Amazon CloudFront, don't use this call. Instead, use the CloudFront call ListDistributionsByWebACLId. For information, see ListDistributionsByWebACLId in the Amazon CloudFront API Reference.
Required permissions for customer-managed IAM policies
This call requires permissions that are specific to the protected resource type. For details, see Permissions for ListResourcesForWebACL in the WAF Developer Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `WAFInternalErrorException of Types.waf_internal_error_exception
| `WAFInvalidOperationException of Types.waf_invalid_operation_exception
| `WAFInvalidParameterException of Types.waf_invalid_parameter_exception
| `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_resources_for_web_acl_request ->
(Types.list_resources_for_web_acl_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `WAFInternalErrorException of Types.waf_internal_error_exception
| `WAFInvalidOperationException of Types.waf_invalid_operation_exception
| `WAFInvalidParameterException of Types.waf_invalid_parameter_exception
| `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_resources_for_web_acl_request ->
(Types.list_resources_for_web_acl_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `WAFInternalErrorException of Types.waf_internal_error_exception
| `WAFInvalidOperationException of Types.waf_invalid_operation_exception
| `WAFInvalidParameterException of Types.waf_invalid_parameter_exception
| `WAFNonexistentItemException of Types.waf_nonexistent_item_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result