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 |
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
Synopsis
- getThreatIntelSet :: Text -> Text -> GetThreatIntelSet
- data GetThreatIntelSet
- gtisThreatIntelSetId :: Lens' GetThreatIntelSet Text
- gtisDetectorId :: Lens' GetThreatIntelSet Text
- getThreatIntelSetResponse :: Int -> GetThreatIntelSetResponse
- data GetThreatIntelSetResponse
- gtisrsStatus :: Lens' GetThreatIntelSetResponse (Maybe ThreatIntelSetStatus)
- gtisrsLocation :: Lens' GetThreatIntelSetResponse (Maybe Text)
- gtisrsFormat :: Lens' GetThreatIntelSetResponse (Maybe ThreatIntelSetFormat)
- gtisrsName :: Lens' GetThreatIntelSetResponse (Maybe Text)
- gtisrsResponseStatus :: Lens' GetThreatIntelSetResponse Int
Creating a Request
Creates a value of GetThreatIntelSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtisThreatIntelSetId
- The unique ID that specifies the ThreatIntelSet that you want to describe.gtisDetectorId
- The detectorID that specifies the GuardDuty service whose ThreatIntelSet you want to describe.
data GetThreatIntelSet Source #
See: getThreatIntelSet
smart constructor.
Instances
Request Lenses
gtisThreatIntelSetId :: Lens' GetThreatIntelSet Text Source #
The unique ID that specifies the ThreatIntelSet that you want to describe.
gtisDetectorId :: Lens' GetThreatIntelSet Text Source #
The detectorID that specifies the GuardDuty service whose ThreatIntelSet you want to describe.
Destructuring the Response
getThreatIntelSetResponse Source #
Creates a value of GetThreatIntelSetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gtisrsStatus
- The status of threatIntelSet file uploaded.gtisrsLocation
- The URI of the file that contains the ThreatIntelSet. For example (https:/s3.us-west-2.amazonaws.commy-bucket/my-object-key).gtisrsFormat
- The format of the threatIntelSet.gtisrsName
- A user-friendly ThreatIntelSet name that is displayed in all finding generated by activity that involves IP addresses included in this ThreatIntelSet.gtisrsResponseStatus
- -- | The response status code.
data GetThreatIntelSetResponse Source #
See: getThreatIntelSetResponse
smart constructor.
Instances
Response Lenses
gtisrsStatus :: Lens' GetThreatIntelSetResponse (Maybe ThreatIntelSetStatus) Source #
The status of threatIntelSet file uploaded.
gtisrsLocation :: Lens' GetThreatIntelSetResponse (Maybe Text) Source #
The URI of the file that contains the ThreatIntelSet. For example (https:/s3.us-west-2.amazonaws.commy-bucket/my-object-key).
gtisrsFormat :: Lens' GetThreatIntelSetResponse (Maybe ThreatIntelSetFormat) Source #
The format of the threatIntelSet.
gtisrsName :: Lens' GetThreatIntelSetResponse (Maybe Text) Source #
A user-friendly ThreatIntelSet name that is displayed in all finding generated by activity that involves IP addresses included in this ThreatIntelSet.
gtisrsResponseStatus :: Lens' GetThreatIntelSetResponse Int Source #
- - | The response status code.