Module Values.DescribeRetentionConfigurationsResponseSource

Returns the details of one or more retention configurations. If the retention configuration name is not specified, this operation returns the details for all the retention configurations for that account. Currently, Config supports only one retention configuration per region in your account.

Sourcetype nonrec t = {
  1. retentionConfigurations : RetentionConfigurationList.t option;
    (*

    Returns a retention configuration object.

    *)
  2. nextToken : NextToken.t option;
    (*

    The nextToken string returned on a previous page that you use to get the next page of results in a paginated response.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidNextTokenException of InvalidNextTokenException.t
  2. | `InvalidParameterValueException of InvalidParameterValueException.t
  3. | `NoSuchRetentionConfigurationException of NoSuchRetentionConfigurationException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?retentionConfigurations:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidNextTokenException of unit | `InvalidParameterValueException of unit | `NoSuchRetentionConfigurationException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidNextTokenException of unit | `InvalidParameterValueException of unit | `NoSuchRetentionConfigurationException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Integer of RetentionPeriodInDays.t | `String of RetentionConfigurationName.t ]) list ] list | `String of NextToken.t ]) 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