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 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
:: Text | |
-> Text | |
-> GetThreatIntelSet |
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:
$sel:detectorId: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:
$sel:tags:GetThreatIntelSetResponse'
, getThreatIntelSetResponse_tags
- The tags of the threat list resource.
$sel:httpStatus:GetThreatIntelSetResponse'
, getThreatIntelSetResponse_httpStatus
- The response's http status code.
$sel:name: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. For example:
https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
$sel:status: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. For example: https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key.
getThreatIntelSetResponse_status :: Lens' GetThreatIntelSetResponse ThreatIntelSetStatus Source #
The status of threatIntelSet file uploaded.