| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.GuardDuty.GetIPSet
Description
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.
Constructors
| GetIPSet' | |
Fields
| |
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:
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.
Constructors
| GetIPSetResponse' | |
Fields
| |
Instances
Arguments
| :: 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:
GetIPSetResponse, getIPSetResponse_tags - The tags of the IPSet resource.
$sel:httpStatus:GetIPSetResponse', getIPSetResponse_httpStatus - The response's http status code.
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.
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.
getIPSetResponse_status :: Lens' GetIPSetResponse IpSetStatus Source #
The status of IPSet file that was uploaded.