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 |
Update the expiration period for the exception message to your preferred time, and control the time-to-live (TTL) for the exception message to remain. Exceptions are stored by default for 2 weeks from when a record was created in Amazon Security Lake.
Synopsis
- data UpdateDatalakeExceptionsExpiry = UpdateDatalakeExceptionsExpiry' {}
- newUpdateDatalakeExceptionsExpiry :: Natural -> UpdateDatalakeExceptionsExpiry
- updateDatalakeExceptionsExpiry_exceptionMessageExpiry :: Lens' UpdateDatalakeExceptionsExpiry Natural
- data UpdateDatalakeExceptionsExpiryResponse = UpdateDatalakeExceptionsExpiryResponse' {
- httpStatus :: Int
- newUpdateDatalakeExceptionsExpiryResponse :: Int -> UpdateDatalakeExceptionsExpiryResponse
- updateDatalakeExceptionsExpiryResponse_httpStatus :: Lens' UpdateDatalakeExceptionsExpiryResponse Int
Creating a Request
data UpdateDatalakeExceptionsExpiry Source #
See: newUpdateDatalakeExceptionsExpiry
smart constructor.
UpdateDatalakeExceptionsExpiry' | |
|
Instances
newUpdateDatalakeExceptionsExpiry Source #
Create a value of UpdateDatalakeExceptionsExpiry
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:exceptionMessageExpiry:UpdateDatalakeExceptionsExpiry'
, updateDatalakeExceptionsExpiry_exceptionMessageExpiry
- The time-to-live (TTL) for the exception message to remain.
Request Lenses
updateDatalakeExceptionsExpiry_exceptionMessageExpiry :: Lens' UpdateDatalakeExceptionsExpiry Natural Source #
The time-to-live (TTL) for the exception message to remain.
Destructuring the Response
data UpdateDatalakeExceptionsExpiryResponse Source #
See: newUpdateDatalakeExceptionsExpiryResponse
smart constructor.
UpdateDatalakeExceptionsExpiryResponse' | |
|
Instances
Generic UpdateDatalakeExceptionsExpiryResponse Source # | |
Defined in Amazonka.SecurityLake.UpdateDatalakeExceptionsExpiry type Rep UpdateDatalakeExceptionsExpiryResponse :: Type -> Type # | |
Read UpdateDatalakeExceptionsExpiryResponse Source # | |
Show UpdateDatalakeExceptionsExpiryResponse Source # | |
NFData UpdateDatalakeExceptionsExpiryResponse Source # | |
Eq UpdateDatalakeExceptionsExpiryResponse Source # | |
type Rep UpdateDatalakeExceptionsExpiryResponse Source # | |
Defined in Amazonka.SecurityLake.UpdateDatalakeExceptionsExpiry type Rep UpdateDatalakeExceptionsExpiryResponse = D1 ('MetaData "UpdateDatalakeExceptionsExpiryResponse" "Amazonka.SecurityLake.UpdateDatalakeExceptionsExpiry" "amazonka-securitylake-2.0-4WRm07ESU278sNrKhxoCOb" 'False) (C1 ('MetaCons "UpdateDatalakeExceptionsExpiryResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateDatalakeExceptionsExpiryResponse Source #
Create a value of UpdateDatalakeExceptionsExpiryResponse
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:UpdateDatalakeExceptionsExpiryResponse'
, updateDatalakeExceptionsExpiryResponse_httpStatus
- The response's http status code.
Response Lenses
updateDatalakeExceptionsExpiryResponse_httpStatus :: Lens' UpdateDatalakeExceptionsExpiryResponse Int Source #
The response's http status code.