libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WAFRegional.GetIPSet

Description

This is AWS WAF Classic 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 the IPSet that is specified by IPSetId.

Synopsis

Creating a Request

data GetIPSet Source #

See: newGetIPSet smart constructor.

Constructors

GetIPSet' 

Fields

  • iPSetId :: Text

    The IPSetId of the IPSet that you want to get. IPSetId is returned by CreateIPSet and by ListIPSets.

Instances

Instances details
Eq GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Read GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Show GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Generic GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Associated Types

type Rep GetIPSet :: Type -> Type #

Methods

from :: GetIPSet -> Rep GetIPSet x #

to :: Rep GetIPSet x -> GetIPSet #

NFData GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Methods

rnf :: GetIPSet -> () #

Hashable GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Methods

hashWithSalt :: Int -> GetIPSet -> Int #

hash :: GetIPSet -> Int #

ToJSON GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

AWSRequest GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Associated Types

type AWSResponse GetIPSet #

ToHeaders GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Methods

toHeaders :: GetIPSet -> [Header] #

ToPath GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

ToQuery GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

type Rep GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

type Rep GetIPSet = D1 ('MetaData "GetIPSet" "Amazonka.WAFRegional.GetIPSet" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "GetIPSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iPSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetIPSet Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

newGetIPSet Source #

Create a value of GetIPSet 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:iPSetId:GetIPSet', getIPSet_iPSetId - The IPSetId of the IPSet that you want to get. IPSetId is returned by CreateIPSet and by ListIPSets.

Request Lenses

getIPSet_iPSetId :: Lens' GetIPSet Text Source #

The IPSetId of the IPSet that you want to get. IPSetId is returned by CreateIPSet and by ListIPSets.

Destructuring the Response

data GetIPSetResponse Source #

See: newGetIPSetResponse smart constructor.

Constructors

GetIPSetResponse' 

Fields

  • iPSet :: Maybe IPSet

    Information about the IPSet that you specified in the GetIPSet request. For more information, see the following topics:

    • IPSet: Contains IPSetDescriptors, IPSetId, and Name
    • IPSetDescriptors: Contains an array of IPSetDescriptor objects. Each IPSetDescriptor object contains Type and Value
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq GetIPSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Read GetIPSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Show GetIPSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Generic GetIPSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Associated Types

type Rep GetIPSetResponse :: Type -> Type #

NFData GetIPSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

Methods

rnf :: GetIPSetResponse -> () #

type Rep GetIPSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.GetIPSet

type Rep GetIPSetResponse = D1 ('MetaData "GetIPSetResponse" "Amazonka.WAFRegional.GetIPSet" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "GetIPSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "iPSet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IPSet)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetIPSetResponse Source #

Create a value of GetIPSetResponse 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:iPSet:GetIPSetResponse', getIPSetResponse_iPSet - Information about the IPSet that you specified in the GetIPSet request. For more information, see the following topics:

  • IPSet: Contains IPSetDescriptors, IPSetId, and Name
  • IPSetDescriptors: Contains an array of IPSetDescriptor objects. Each IPSetDescriptor object contains Type and Value

$sel:httpStatus:GetIPSetResponse', getIPSetResponse_httpStatus - The response's http status code.

Response Lenses

getIPSetResponse_iPSet :: Lens' GetIPSetResponse (Maybe IPSet) Source #

Information about the IPSet that you specified in the GetIPSet request. For more information, see the following topics:

  • IPSet: Contains IPSetDescriptors, IPSetId, and Name
  • IPSetDescriptors: Contains an array of IPSetDescriptor objects. Each IPSetDescriptor object contains Type and Value

getIPSetResponse_httpStatus :: Lens' GetIPSetResponse Int Source #

The response's http status code.