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 |
Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.
Synopsis
- data GetThreatIntelSet = GetThreatIntelSet' {}
- newGetThreatIntelSet :: Text -> Text -> GetThreatIntelSet
- getThreatIntelSet_detectorId :: Lens' GetThreatIntelSet Text
- getThreatIntelSet_threatIntelSetId :: Lens' GetThreatIntelSet Text
- data GetThreatIntelSetResponse = GetThreatIntelSetResponse' {
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- name :: Text
- format :: ThreatIntelSetFormat
- location :: Text
- status :: ThreatIntelSetStatus
- newGetThreatIntelSetResponse :: Int -> Text -> ThreatIntelSetFormat -> Text -> ThreatIntelSetStatus -> GetThreatIntelSetResponse
- getThreatIntelSetResponse_tags :: Lens' GetThreatIntelSetResponse (Maybe (HashMap Text Text))
- getThreatIntelSetResponse_httpStatus :: Lens' GetThreatIntelSetResponse Int
- getThreatIntelSetResponse_name :: Lens' GetThreatIntelSetResponse Text
- getThreatIntelSetResponse_format :: Lens' GetThreatIntelSetResponse ThreatIntelSetFormat
- getThreatIntelSetResponse_location :: Lens' GetThreatIntelSetResponse Text
- getThreatIntelSetResponse_status :: Lens' GetThreatIntelSetResponse ThreatIntelSetStatus
Creating a Request
data GetThreatIntelSet Source #
See: newGetThreatIntelSet
smart constructor.
GetThreatIntelSet' | |
|
Instances
Create a value of GetThreatIntelSet
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:
GetThreatIntelSet
, getThreatIntelSet_detectorId
- The unique ID of the detector that the threatIntelSet is associated
with.
$sel:threatIntelSetId:GetThreatIntelSet'
, getThreatIntelSet_threatIntelSetId
- The unique ID of the threatIntelSet that you want to get.
Request Lenses
getThreatIntelSet_detectorId :: Lens' GetThreatIntelSet Text Source #
The unique ID of the detector that the threatIntelSet is associated with.
getThreatIntelSet_threatIntelSetId :: Lens' GetThreatIntelSet Text Source #
The unique ID of the threatIntelSet that you want to get.
Destructuring the Response
data GetThreatIntelSetResponse Source #
See: newGetThreatIntelSetResponse
smart constructor.
GetThreatIntelSetResponse' | |
|
Instances
newGetThreatIntelSetResponse Source #
Create a value of GetThreatIntelSetResponse
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:
GetThreatIntelSetResponse
, getThreatIntelSetResponse_tags
- The tags of the threat list resource.
$sel:httpStatus:GetThreatIntelSetResponse'
, getThreatIntelSetResponse_httpStatus
- The response's http status code.
GetThreatIntelSetResponse
, getThreatIntelSetResponse_name
- A user-friendly ThreatIntelSet name displayed in all findings that are
generated by activity that involves IP addresses included in this
ThreatIntelSet.
$sel:format:GetThreatIntelSetResponse'
, getThreatIntelSetResponse_format
- The format of the threatIntelSet.
$sel:location:GetThreatIntelSetResponse'
, getThreatIntelSetResponse_location
- The URI of the file that contains the ThreatIntelSet.
GetThreatIntelSetResponse
, getThreatIntelSetResponse_status
- The status of threatIntelSet file uploaded.
Response Lenses
getThreatIntelSetResponse_tags :: Lens' GetThreatIntelSetResponse (Maybe (HashMap Text Text)) Source #
The tags of the threat list resource.
getThreatIntelSetResponse_httpStatus :: Lens' GetThreatIntelSetResponse Int Source #
The response's http status code.
getThreatIntelSetResponse_name :: Lens' GetThreatIntelSetResponse Text Source #
A user-friendly ThreatIntelSet name displayed in all findings that are generated by activity that involves IP addresses included in this ThreatIntelSet.
getThreatIntelSetResponse_format :: Lens' GetThreatIntelSetResponse ThreatIntelSetFormat Source #
The format of the threatIntelSet.
getThreatIntelSetResponse_location :: Lens' GetThreatIntelSetResponse Text Source #
The URI of the file that contains the ThreatIntelSet.
getThreatIntelSetResponse_status :: Lens' GetThreatIntelSetResponse ThreatIntelSetStatus Source #
The status of threatIntelSet file uploaded.