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 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
- data GetIPSet = GetIPSet' {}
- newGetIPSet :: Text -> GetIPSet
- getIPSet_iPSetId :: Lens' GetIPSet Text
- data GetIPSetResponse = GetIPSetResponse' {
- iPSet :: Maybe IPSet
- httpStatus :: Int
- newGetIPSetResponse :: Int -> GetIPSetResponse
- getIPSetResponse_iPSet :: Lens' GetIPSetResponse (Maybe IPSet)
- getIPSetResponse_httpStatus :: Lens' GetIPSetResponse Int
Creating a Request
See: newGetIPSet
smart constructor.
Instances
Eq GetIPSet Source # | |
Read GetIPSet Source # | |
Show GetIPSet Source # | |
Generic GetIPSet Source # | |
NFData GetIPSet Source # | |
Defined in Amazonka.WAF.GetIPSet | |
Hashable GetIPSet Source # | |
Defined in Amazonka.WAF.GetIPSet | |
ToJSON GetIPSet Source # | |
Defined in Amazonka.WAF.GetIPSet | |
AWSRequest GetIPSet Source # | |
Defined in Amazonka.WAF.GetIPSet type AWSResponse GetIPSet # request :: GetIPSet -> Request GetIPSet # response :: MonadResource m => Logger -> Service -> Proxy GetIPSet -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse GetIPSet))) # | |
ToHeaders GetIPSet Source # | |
Defined in Amazonka.WAF.GetIPSet | |
ToPath GetIPSet Source # | |
Defined in Amazonka.WAF.GetIPSet toPath :: GetIPSet -> ByteString # | |
ToQuery GetIPSet Source # | |
Defined in Amazonka.WAF.GetIPSet toQuery :: GetIPSet -> QueryString # | |
type Rep GetIPSet Source # | |
Defined in Amazonka.WAF.GetIPSet | |
type AWSResponse GetIPSet Source # | |
Defined in Amazonka.WAF.GetIPSet |
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.
GetIPSetResponse' | |
|
Instances
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
, andName
IPSetDescriptors
: Contains an array of IPSetDescriptor objects. EachIPSetDescriptor
object containsType
andValue
$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
, andName
IPSetDescriptors
: Contains an array of IPSetDescriptor objects. EachIPSetDescriptor
object containsType
andValue
getIPSetResponse_httpStatus :: Lens' GetIPSetResponse Int Source #
The response's http status code.