| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.GuardDuty.GetIPSet
Description
Retrieves the IPSet specified by the IPSet ID.
Synopsis
- getIPSet :: Text -> Text -> GetIPSet
- data GetIPSet
- gisDetectorId :: Lens' GetIPSet Text
- gisIPSetId :: Lens' GetIPSet Text
- getIPSetResponse :: Int -> GetIPSetResponse
- data GetIPSetResponse
- gisrsStatus :: Lens' GetIPSetResponse (Maybe IPSetStatus)
- gisrsLocation :: Lens' GetIPSetResponse (Maybe Text)
- gisrsFormat :: Lens' GetIPSetResponse (Maybe IPSetFormat)
- gisrsName :: Lens' GetIPSetResponse (Maybe Text)
- gisrsResponseStatus :: Lens' GetIPSetResponse Int
Creating a Request
Creates a value of GetIPSet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gisDetectorId- The detectorID that specifies the GuardDuty service whose IPSet you want to retrieve.gisIPSetId- The unique ID that specifies the IPSet that you want to describe.
See: getIPSet smart constructor.
Instances
Request Lenses
gisDetectorId :: Lens' GetIPSet Text Source #
The detectorID that specifies the GuardDuty service whose IPSet you want to retrieve.
gisIPSetId :: Lens' GetIPSet Text Source #
The unique ID that specifies the IPSet that you want to describe.
Destructuring the Response
Arguments
| :: Int | |
| -> GetIPSetResponse |
Creates a value of GetIPSetResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gisrsStatus- The status of ipSet file uploaded.gisrsLocation- The URI of the file that contains the IPSet. For example (https:/s3.us-west-2.amazonaws.commy-bucket/my-object-key)gisrsFormat- The format of the file that contains the IPSet.gisrsName- The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.gisrsResponseStatus- -- | The response status code.
data GetIPSetResponse Source #
See: getIPSetResponse smart constructor.
Instances
Response Lenses
gisrsStatus :: Lens' GetIPSetResponse (Maybe IPSetStatus) Source #
The status of ipSet file uploaded.
gisrsLocation :: Lens' GetIPSetResponse (Maybe Text) Source #
The URI of the file that contains the IPSet. For example (https:/s3.us-west-2.amazonaws.commy-bucket/my-object-key)
gisrsFormat :: Lens' GetIPSetResponse (Maybe IPSetFormat) Source #
The format of the file that contains the IPSet.
gisrsName :: Lens' GetIPSetResponse (Maybe Text) Source #
The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.
gisrsResponseStatus :: Lens' GetIPSetResponse Int Source #
- - | The response status code.