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 |
Sets the amount of time in days that a given AppInstance
retains data.
Synopsis
- data PutAppInstanceRetentionSettings = PutAppInstanceRetentionSettings' {}
- newPutAppInstanceRetentionSettings :: Text -> AppInstanceRetentionSettings -> PutAppInstanceRetentionSettings
- putAppInstanceRetentionSettings_appInstanceArn :: Lens' PutAppInstanceRetentionSettings Text
- putAppInstanceRetentionSettings_appInstanceRetentionSettings :: Lens' PutAppInstanceRetentionSettings AppInstanceRetentionSettings
- data PutAppInstanceRetentionSettingsResponse = PutAppInstanceRetentionSettingsResponse' {}
- newPutAppInstanceRetentionSettingsResponse :: Int -> PutAppInstanceRetentionSettingsResponse
- putAppInstanceRetentionSettingsResponse_appInstanceRetentionSettings :: Lens' PutAppInstanceRetentionSettingsResponse (Maybe AppInstanceRetentionSettings)
- putAppInstanceRetentionSettingsResponse_initiateDeletionTimestamp :: Lens' PutAppInstanceRetentionSettingsResponse (Maybe UTCTime)
- putAppInstanceRetentionSettingsResponse_httpStatus :: Lens' PutAppInstanceRetentionSettingsResponse Int
Creating a Request
data PutAppInstanceRetentionSettings Source #
See: newPutAppInstanceRetentionSettings
smart constructor.
PutAppInstanceRetentionSettings' | |
|
Instances
newPutAppInstanceRetentionSettings Source #
:: Text | |
-> AppInstanceRetentionSettings |
|
-> PutAppInstanceRetentionSettings |
Create a value of PutAppInstanceRetentionSettings
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:appInstanceArn:PutAppInstanceRetentionSettings'
, putAppInstanceRetentionSettings_appInstanceArn
- The ARN of the AppInstance
.
$sel:appInstanceRetentionSettings:PutAppInstanceRetentionSettings'
, putAppInstanceRetentionSettings_appInstanceRetentionSettings
- The time in days to retain data. Data type: number.
Request Lenses
putAppInstanceRetentionSettings_appInstanceArn :: Lens' PutAppInstanceRetentionSettings Text Source #
The ARN of the AppInstance
.
putAppInstanceRetentionSettings_appInstanceRetentionSettings :: Lens' PutAppInstanceRetentionSettings AppInstanceRetentionSettings Source #
The time in days to retain data. Data type: number.
Destructuring the Response
data PutAppInstanceRetentionSettingsResponse Source #
See: newPutAppInstanceRetentionSettingsResponse
smart constructor.
PutAppInstanceRetentionSettingsResponse' | |
|
Instances
newPutAppInstanceRetentionSettingsResponse Source #
Create a value of PutAppInstanceRetentionSettingsResponse
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:appInstanceRetentionSettings:PutAppInstanceRetentionSettings'
, putAppInstanceRetentionSettingsResponse_appInstanceRetentionSettings
- The time in days to retain data. Data type: number.
$sel:initiateDeletionTimestamp:PutAppInstanceRetentionSettingsResponse'
, putAppInstanceRetentionSettingsResponse_initiateDeletionTimestamp
- The time at which the API deletes data.
$sel:httpStatus:PutAppInstanceRetentionSettingsResponse'
, putAppInstanceRetentionSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
putAppInstanceRetentionSettingsResponse_appInstanceRetentionSettings :: Lens' PutAppInstanceRetentionSettingsResponse (Maybe AppInstanceRetentionSettings) Source #
The time in days to retain data. Data type: number.
putAppInstanceRetentionSettingsResponse_initiateDeletionTimestamp :: Lens' PutAppInstanceRetentionSettingsResponse (Maybe UTCTime) Source #
The time at which the API deletes data.
putAppInstanceRetentionSettingsResponse_httpStatus :: Lens' PutAppInstanceRetentionSettingsResponse Int Source #
The response's http status code.