Module Values.UpdateDataRetentionOutputSource

Increases or decreases the stream's data retention period by the value that you specify. To indicate whether you want to increase or decrease the data retention period, specify the Operation parameter in the request body. In the request, you must specify either the StreamName or the StreamARN. This operation requires permission for the KinesisVideo:UpdateDataRetention action. Changing the data retention period affects the data in the stream as follows: If the data retention period is increased, existing data is retained for the new retention period. For example, if the data retention period is increased from one hour to seven hours, all existing data is retained for seven hours. If the data retention period is decreased, existing data is retained for the new retention period. For example, if the data retention period is decreased from seven hours to one hour, all existing data is retained for one hour, and any data older than one hour is deleted immediately.

Sourcetype nonrec t = unit
Sourcetype nonrec error = [
  1. | `ClientLimitExceededException of ClientLimitExceededException.t
  2. | `InvalidArgumentException of InvalidArgumentException.t
  3. | `NotAuthorizedException of NotAuthorizedException.t
  4. | `ResourceInUseException of ResourceInUseException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `VersionMismatchException of VersionMismatchException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : unit -> unit
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ClientLimitExceededException of ClientLimitExceededException.t | `InvalidArgumentException of InvalidArgumentException.t | `NotAuthorizedException of NotAuthorizedException.t | `ResourceInUseException of ResourceInUseException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `VersionMismatchException of VersionMismatchException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ClientLimitExceededException of ClientLimitExceededException.t | `InvalidArgumentException of InvalidArgumentException.t | `NotAuthorizedException of NotAuthorizedException.t | `ResourceInUseException of ResourceInUseException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `VersionMismatchException of VersionMismatchException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ('a * 'b) -> unit
Sourceval to_value : 'a -> [> `Structure of 'b list ]
Sourceval to_query : 'a -> Awso.Client.Query.t
Sourceval of_xml : 'a -> unit
Sourceval of_string : string -> unit
Sourceval of_json : 'a -> unit
Sourceval to_json : 'a -> Yojson.Safe.t