| 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 |
Amazonka.SecurityHub.UpdateInsight
Description
Updates the Security Hub insight identified by the specified insight ARN.
Synopsis
- data UpdateInsight = UpdateInsight' {}
- newUpdateInsight :: Text -> UpdateInsight
- updateInsight_groupByAttribute :: Lens' UpdateInsight (Maybe Text)
- updateInsight_filters :: Lens' UpdateInsight (Maybe AwsSecurityFindingFilters)
- updateInsight_name :: Lens' UpdateInsight (Maybe Text)
- updateInsight_insightArn :: Lens' UpdateInsight Text
- data UpdateInsightResponse = UpdateInsightResponse' {
- httpStatus :: Int
- newUpdateInsightResponse :: Int -> UpdateInsightResponse
- updateInsightResponse_httpStatus :: Lens' UpdateInsightResponse Int
Creating a Request
data UpdateInsight Source #
See: newUpdateInsight smart constructor.
Constructors
| UpdateInsight' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateInsight |
Create a value of UpdateInsight 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:groupByAttribute:UpdateInsight', updateInsight_groupByAttribute - The updated GroupBy attribute that defines this insight.
$sel:filters:UpdateInsight', updateInsight_filters - The updated filters that define this insight.
$sel:name:UpdateInsight', updateInsight_name - The updated name for the insight.
$sel:insightArn:UpdateInsight', updateInsight_insightArn - The ARN of the insight that you want to update.
Request Lenses
updateInsight_groupByAttribute :: Lens' UpdateInsight (Maybe Text) Source #
The updated GroupBy attribute that defines this insight.
updateInsight_filters :: Lens' UpdateInsight (Maybe AwsSecurityFindingFilters) Source #
The updated filters that define this insight.
updateInsight_name :: Lens' UpdateInsight (Maybe Text) Source #
The updated name for the insight.
updateInsight_insightArn :: Lens' UpdateInsight Text Source #
The ARN of the insight that you want to update.
Destructuring the Response
data UpdateInsightResponse Source #
See: newUpdateInsightResponse smart constructor.
Constructors
| UpdateInsightResponse' | |
Fields
| |
Instances
newUpdateInsightResponse Source #
Create a value of UpdateInsightResponse 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:httpStatus:UpdateInsightResponse', updateInsightResponse_httpStatus - The response's http status code.
Response Lenses
updateInsightResponse_httpStatus :: Lens' UpdateInsightResponse Int Source #
The response's http status code.