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 |
Gets the retention settings for the specified Amazon Chime Enterprise account. For more information about retention settings, see Managing Chat Retention Policies in the Amazon Chime Administration Guide.
Synopsis
- data GetRetentionSettings = GetRetentionSettings' {}
- newGetRetentionSettings :: Text -> GetRetentionSettings
- getRetentionSettings_accountId :: Lens' GetRetentionSettings Text
- data GetRetentionSettingsResponse = GetRetentionSettingsResponse' {}
- newGetRetentionSettingsResponse :: Int -> GetRetentionSettingsResponse
- getRetentionSettingsResponse_retentionSettings :: Lens' GetRetentionSettingsResponse (Maybe RetentionSettings)
- getRetentionSettingsResponse_initiateDeletionTimestamp :: Lens' GetRetentionSettingsResponse (Maybe UTCTime)
- getRetentionSettingsResponse_httpStatus :: Lens' GetRetentionSettingsResponse Int
Creating a Request
data GetRetentionSettings Source #
See: newGetRetentionSettings
smart constructor.
Instances
newGetRetentionSettings Source #
Create a value of GetRetentionSettings
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:accountId:GetRetentionSettings'
, getRetentionSettings_accountId
- The Amazon Chime account ID.
Request Lenses
getRetentionSettings_accountId :: Lens' GetRetentionSettings Text Source #
The Amazon Chime account ID.
Destructuring the Response
data GetRetentionSettingsResponse Source #
See: newGetRetentionSettingsResponse
smart constructor.
GetRetentionSettingsResponse' | |
|
Instances
newGetRetentionSettingsResponse Source #
Create a value of GetRetentionSettingsResponse
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:retentionSettings:GetRetentionSettingsResponse'
, getRetentionSettingsResponse_retentionSettings
- The retention settings.
$sel:initiateDeletionTimestamp:GetRetentionSettingsResponse'
, getRetentionSettingsResponse_initiateDeletionTimestamp
- The timestamp representing the time at which the specified items are
permanently deleted, in ISO 8601 format.
$sel:httpStatus:GetRetentionSettingsResponse'
, getRetentionSettingsResponse_httpStatus
- The response's http status code.
Response Lenses
getRetentionSettingsResponse_retentionSettings :: Lens' GetRetentionSettingsResponse (Maybe RetentionSettings) Source #
The retention settings.
getRetentionSettingsResponse_initiateDeletionTimestamp :: Lens' GetRetentionSettingsResponse (Maybe UTCTime) Source #
The timestamp representing the time at which the specified items are permanently deleted, in ISO 8601 format.
getRetentionSettingsResponse_httpStatus :: Lens' GetRetentionSettingsResponse Int Source #
The response's http status code.