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 |
Retrieves the IPSet specified by the ipSetId
.
Synopsis
- data GetIPSet = GetIPSet' {
- detectorId :: Text
- ipSetId :: Text
- newGetIPSet :: Text -> Text -> GetIPSet
- getIPSet_detectorId :: Lens' GetIPSet Text
- getIPSet_ipSetId :: Lens' GetIPSet Text
- data GetIPSetResponse = GetIPSetResponse' {
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- name :: Text
- format :: IpSetFormat
- location :: Text
- status :: IpSetStatus
- newGetIPSetResponse :: Int -> Text -> IpSetFormat -> Text -> IpSetStatus -> GetIPSetResponse
- getIPSetResponse_tags :: Lens' GetIPSetResponse (Maybe (HashMap Text Text))
- getIPSetResponse_httpStatus :: Lens' GetIPSetResponse Int
- getIPSetResponse_name :: Lens' GetIPSetResponse Text
- getIPSetResponse_format :: Lens' GetIPSetResponse IpSetFormat
- getIPSetResponse_location :: Lens' GetIPSetResponse Text
- getIPSetResponse_status :: Lens' GetIPSetResponse IpSetStatus
Creating a Request
See: newGetIPSet
smart constructor.
GetIPSet' | |
|
Instances
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:detectorId:GetIPSet'
, getIPSet_detectorId
- The unique ID of the detector that the IPSet is associated with.
$sel:ipSetId:GetIPSet'
, getIPSet_ipSetId
- The unique ID of the IPSet to retrieve.
Request Lenses
getIPSet_detectorId :: Lens' GetIPSet Text Source #
The unique ID of the detector that the IPSet is associated with.
Destructuring the Response
data GetIPSetResponse Source #
See: newGetIPSetResponse
smart constructor.
GetIPSetResponse' | |
|
Instances
:: Int | |
-> Text | |
-> IpSetFormat | |
-> Text | |
-> IpSetStatus | |
-> GetIPSetResponse |
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:tags:GetIPSetResponse'
, getIPSetResponse_tags
- The tags of the IPSet resource.
$sel:httpStatus:GetIPSetResponse'
, getIPSetResponse_httpStatus
- The response's http status code.
$sel:name:GetIPSetResponse'
, getIPSetResponse_name
- The user-friendly name for the IPSet.
$sel:format:GetIPSetResponse'
, getIPSetResponse_format
- The format of the file that contains the IPSet.
$sel:location:GetIPSetResponse'
, getIPSetResponse_location
- The URI of the file that contains the IPSet. For example:
https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
$sel:status:GetIPSetResponse'
, getIPSetResponse_status
- The status of IPSet file that was uploaded.
Response Lenses
getIPSetResponse_tags :: Lens' GetIPSetResponse (Maybe (HashMap Text Text)) Source #
The tags of the IPSet resource.
getIPSetResponse_httpStatus :: Lens' GetIPSetResponse Int Source #
The response's http status code.
getIPSetResponse_name :: Lens' GetIPSetResponse Text Source #
The user-friendly name for the IPSet.
getIPSetResponse_format :: Lens' GetIPSetResponse IpSetFormat Source #
The format of the file that contains the IPSet.
getIPSetResponse_location :: Lens' GetIPSetResponse Text Source #
The URI of the file that contains the IPSet. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
getIPSetResponse_status :: Lens' GetIPSetResponse IpSetStatus Source #
The status of IPSet file that was uploaded.