Module Values.DescribeBackupsResponseSource

Gets information about backups of CloudHSM clusters. Lists either the backups you own or the backups shared with you when the Shared parameter is true. This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subsequent DescribeBackups request to get more backups. When you receive a response with no NextToken (or an empty or null value), that means there are no more backups to get. Cross-account use: Yes. Customers can describe backups in other Amazon Web Services accounts that are shared with them.

Sourcetype nonrec t = {
  1. backups : Backups.t option;
    (*

    A list of backups.

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

    An opaque string that indicates that the response contains only a subset of backups. Use this value in a subsequent DescribeBackups request to get more backups.

    *)
}
Sourcetype nonrec error = [
  1. | `CloudHsmAccessDeniedException of CloudHsmAccessDeniedException.t
  2. | `CloudHsmInternalFailureException of CloudHsmInternalFailureException.t
  3. | `CloudHsmInvalidRequestException of CloudHsmInvalidRequestException.t
  4. | `CloudHsmResourceNotFoundException of CloudHsmResourceNotFoundException.t
  5. | `CloudHsmServiceException of CloudHsmServiceException.t
  6. | `CloudHsmTagException of CloudHsmTagException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?backups:??? -> ?nextToken:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `CloudHsmAccessDeniedException of CloudHsmAccessDeniedException.t | `CloudHsmInternalFailureException of CloudHsmInternalFailureException.t | `CloudHsmInvalidRequestException of CloudHsmInvalidRequestException.t | `CloudHsmResourceNotFoundException of CloudHsmResourceNotFoundException.t | `CloudHsmServiceException of CloudHsmServiceException.t | `CloudHsmTagException of CloudHsmTagException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `CloudHsmAccessDeniedException of CloudHsmAccessDeniedException.t | `CloudHsmInternalFailureException of CloudHsmInternalFailureException.t | `CloudHsmInvalidRequestException of CloudHsmInvalidRequestException.t | `CloudHsmResourceNotFoundException of CloudHsmResourceNotFoundException.t | `CloudHsmServiceException of CloudHsmServiceException.t | `CloudHsmTagException of CloudHsmTagException.t | `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 * [> `Boolean of Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of BackupId.t | `Timestamp of Timestamp.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