Skip to content

/AWS1/CL_CHE=>PUTRETENTIONSETTINGS()

About PutRetentionSettings

Puts retention settings for the specified Amazon Chime Enterprise account. We recommend using AWS CloudTrail to monitor usage of this API for your account. For more information, see Logging Amazon Chime API Calls with AWS CloudTrail in the Amazon Chime Administration Guide.

To turn off existing retention settings, remove the number of days from the corresponding RetentionDays field in the RetentionSettings object. For more information about retention settings, see Managing Chat Retention Policies in the Amazon Chime Administration Guide.

Method Signature

IMPORTING

Required arguments:

IV_ACCOUNTID TYPE /AWS1/CHENONEMPTYSTRING /AWS1/CHENONEMPTYSTRING

The Amazon Chime account ID.

IO_RETENTIONSETTINGS TYPE REF TO /AWS1/CL_CHERETENTIONSETTINGS /AWS1/CL_CHERETENTIONSETTINGS

The retention settings.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CHEPUTRETSTGSRESPONSE /AWS1/CL_CHEPUTRETSTGSRESPONSE