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 |
Amazonka.SecurityLake.UpdateDatalakeExceptionsExpiry
Description
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.
Constructors
UpdateDatalakeExceptionsExpiry' | |
Fields
|
Instances
newUpdateDatalakeExceptionsExpiry Source #
Arguments
:: Natural | |
-> UpdateDatalakeExceptionsExpiry |
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.
Constructors
UpdateDatalakeExceptionsExpiryResponse' | |
Fields
|
Instances
newUpdateDatalakeExceptionsExpiryResponse Source #
Arguments
:: Int | |
-> UpdateDatalakeExceptionsExpiryResponse |
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.