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 |
Updates the configuration settings for publishing findings to Security Hub.
Synopsis
- data PutFindingsPublicationConfiguration = PutFindingsPublicationConfiguration' {}
- newPutFindingsPublicationConfiguration :: PutFindingsPublicationConfiguration
- putFindingsPublicationConfiguration_clientToken :: Lens' PutFindingsPublicationConfiguration (Maybe Text)
- putFindingsPublicationConfiguration_securityHubConfiguration :: Lens' PutFindingsPublicationConfiguration (Maybe SecurityHubConfiguration)
- data PutFindingsPublicationConfigurationResponse = PutFindingsPublicationConfigurationResponse' {
- httpStatus :: Int
- newPutFindingsPublicationConfigurationResponse :: Int -> PutFindingsPublicationConfigurationResponse
- putFindingsPublicationConfigurationResponse_httpStatus :: Lens' PutFindingsPublicationConfigurationResponse Int
Creating a Request
data PutFindingsPublicationConfiguration Source #
See: newPutFindingsPublicationConfiguration
smart constructor.
PutFindingsPublicationConfiguration' | |
|
Instances
newPutFindingsPublicationConfiguration :: PutFindingsPublicationConfiguration Source #
Create a value of PutFindingsPublicationConfiguration
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:clientToken:PutFindingsPublicationConfiguration'
, putFindingsPublicationConfiguration_clientToken
- A unique, case-sensitive token that you provide to ensure the
idempotency of the request.
$sel:securityHubConfiguration:PutFindingsPublicationConfiguration'
, putFindingsPublicationConfiguration_securityHubConfiguration
- The configuration settings that determine which findings to publish to
Security Hub.
Request Lenses
putFindingsPublicationConfiguration_clientToken :: Lens' PutFindingsPublicationConfiguration (Maybe Text) Source #
A unique, case-sensitive token that you provide to ensure the idempotency of the request.
putFindingsPublicationConfiguration_securityHubConfiguration :: Lens' PutFindingsPublicationConfiguration (Maybe SecurityHubConfiguration) Source #
The configuration settings that determine which findings to publish to Security Hub.
Destructuring the Response
data PutFindingsPublicationConfigurationResponse Source #
See: newPutFindingsPublicationConfigurationResponse
smart constructor.
PutFindingsPublicationConfigurationResponse' | |
|
Instances
Eq PutFindingsPublicationConfigurationResponse Source # | |
Read PutFindingsPublicationConfigurationResponse Source # | |
Show PutFindingsPublicationConfigurationResponse Source # | |
Generic PutFindingsPublicationConfigurationResponse Source # | |
Defined in Amazonka.MacieV2.PutFindingsPublicationConfiguration type Rep PutFindingsPublicationConfigurationResponse :: Type -> Type # | |
NFData PutFindingsPublicationConfigurationResponse Source # | |
type Rep PutFindingsPublicationConfigurationResponse Source # | |
Defined in Amazonka.MacieV2.PutFindingsPublicationConfiguration type Rep PutFindingsPublicationConfigurationResponse = D1 ('MetaData "PutFindingsPublicationConfigurationResponse" "Amazonka.MacieV2.PutFindingsPublicationConfiguration" "libZSservicesZSamazonka-maciev2ZSamazonka-maciev2" 'False) (C1 ('MetaCons "PutFindingsPublicationConfigurationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newPutFindingsPublicationConfigurationResponse Source #
:: Int |
|
-> PutFindingsPublicationConfigurationResponse |
Create a value of PutFindingsPublicationConfigurationResponse
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:PutFindingsPublicationConfigurationResponse'
, putFindingsPublicationConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
putFindingsPublicationConfigurationResponse_httpStatus :: Lens' PutFindingsPublicationConfigurationResponse Int Source #
The response's http status code.