amazonka-wafv2-2.0: Amazon WAFV2 SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WAFV2.ListAvailableManagedRuleGroups

Description

Retrieves an array of managed rule groups that are available for you to use. This list includes all Amazon Web Services Managed Rules rule groups and all of the Amazon Web Services Marketplace managed rule groups that you're subscribed to.

Synopsis

Creating a Request

data ListAvailableManagedRuleGroups Source #

See: newListAvailableManagedRuleGroups smart constructor.

Constructors

ListAvailableManagedRuleGroups' 

Fields

  • limit :: Maybe Natural

    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.

  • nextMarker :: Maybe Text

    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.

  • scope :: 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.

Instances

Instances details
ToJSON ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

ToHeaders ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

ToPath ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

ToQuery ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

AWSRequest ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

Generic ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

Associated Types

type Rep ListAvailableManagedRuleGroups :: Type -> Type #

Read ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

Show ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

NFData ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

Eq ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

Hashable ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

type AWSResponse ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

type Rep ListAvailableManagedRuleGroups Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

type Rep ListAvailableManagedRuleGroups = D1 ('MetaData "ListAvailableManagedRuleGroups" "Amazonka.WAFV2.ListAvailableManagedRuleGroups" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "ListAvailableManagedRuleGroups'" 'PrefixI 'True) (S1 ('MetaSel ('Just "limit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scope") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Scope))))

newListAvailableManagedRuleGroups Source #

Create a value of ListAvailableManagedRuleGroups 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:

ListAvailableManagedRuleGroups, listAvailableManagedRuleGroups_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.

ListAvailableManagedRuleGroups, listAvailableManagedRuleGroups_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.

ListAvailableManagedRuleGroups, listAvailableManagedRuleGroups_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

listAvailableManagedRuleGroups_limit :: Lens' ListAvailableManagedRuleGroups (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.

listAvailableManagedRuleGroups_nextMarker :: Lens' ListAvailableManagedRuleGroups (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.

listAvailableManagedRuleGroups_scope :: Lens' ListAvailableManagedRuleGroups 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 ListAvailableManagedRuleGroupsResponse Source #

Constructors

ListAvailableManagedRuleGroupsResponse' 

Fields

  • managedRuleGroups :: Maybe [ManagedRuleGroupSummary]
     
  • nextMarker :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListAvailableManagedRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

Read ListAvailableManagedRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

Show ListAvailableManagedRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

NFData ListAvailableManagedRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

Eq ListAvailableManagedRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

type Rep ListAvailableManagedRuleGroupsResponse Source # 
Instance details

Defined in Amazonka.WAFV2.ListAvailableManagedRuleGroups

type Rep ListAvailableManagedRuleGroupsResponse = D1 ('MetaData "ListAvailableManagedRuleGroupsResponse" "Amazonka.WAFV2.ListAvailableManagedRuleGroups" "amazonka-wafv2-2.0-3v3WgpYn7RT5hSd6MsT5dN" 'False) (C1 ('MetaCons "ListAvailableManagedRuleGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "managedRuleGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ManagedRuleGroupSummary])) :*: (S1 ('MetaSel ('Just "nextMarker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListAvailableManagedRuleGroupsResponse Source #

Create a value of ListAvailableManagedRuleGroupsResponse 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:managedRuleGroups:ListAvailableManagedRuleGroupsResponse', listAvailableManagedRuleGroupsResponse_managedRuleGroups -

ListAvailableManagedRuleGroups, listAvailableManagedRuleGroupsResponse_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:ListAvailableManagedRuleGroupsResponse', listAvailableManagedRuleGroupsResponse_httpStatus - The response's http status code.

Response Lenses

listAvailableManagedRuleGroupsResponse_nextMarker :: Lens' ListAvailableManagedRuleGroupsResponse (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.