Module Values.PutRetentionSettingsRequestSource

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.

Sourcetype nonrec t = {
  1. accountId : NonEmptyString.t;
    (*

    The Amazon Chime account ID.

    *)
  2. retentionSettings : RetentionSettings.t;
    (*

    The retention settings.

    *)
}
Sourceval context_ : string
Sourceval make : accountId:NonEmptyString.t -> retentionSettings:RetentionSettings.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of NonEmptyString.t | `Structure of (string * [> `Structure of (string * [> `Integer of RetentionDays.t ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t