Skip to main content

app_instance_retention_settings

Creates, updates, deletes, gets or lists an app_instance_retention_settings resource.

Overview

Nameapp_instance_retention_settings
TypeResource
Idaws.chime_sdk_identity.app_instance_retention_settings

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
app_instance_retention_settingsobjectThe retention settings for the AppInstance.
initiate_deletion_timestampstring (date-time)The timestamp representing the time at which the specified items are retained, in Epoch Seconds.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_app_instance_retention_settingsselectapp_instance_arn, regionGets the retention settings for an AppInstance.
put_app_instance_retention_settingsreplaceapp_instance_arn, region, AppInstanceRetentionSettingsSets the amount of time in days that a given AppInstance retains data.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
app_instance_arnstringThe ARN of the AppInstance.
regionstringAWS region (default: us-east-1)

SELECT examples

Gets the retention settings for an AppInstance.

SELECT
app_instance_retention_settings,
initiate_deletion_timestamp
FROM aws.chime_sdk_identity.app_instance_retention_settings
WHERE app_instance_arn = '{{ app_instance_arn }}' -- required
AND region = '{{ region }}' -- required
;

REPLACE examples

Sets the amount of time in days that a given AppInstance retains data.

REPLACE aws.chime_sdk_identity.app_instance_retention_settings
SET
AppInstanceRetentionSettings = '{{ AppInstanceRetentionSettings }}'
WHERE
app_instance_arn = '{{ app_instance_arn }}' --required
AND region = '{{ region }}' --required
AND AppInstanceRetentionSettings = '{{ AppInstanceRetentionSettings }}' --required
RETURNING
app_instance_retention_settings,
initiate_deletion_timestamp;