Module Smaws_Client_CloudHSMV2.DescribeBackups

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `CloudHsmAccessDeniedException of Types.cloud_hsm_access_denied_exception | `CloudHsmInternalFailureException of Types.cloud_hsm_internal_failure_exception | `CloudHsmInvalidRequestException of Types.cloud_hsm_invalid_request_exception | `CloudHsmResourceNotFoundException of Types.cloud_hsm_resource_not_found_exception | `CloudHsmServiceException of Types.cloud_hsm_service_exception | `CloudHsmTagException of Types.cloud_hsm_tag_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.describe_backups_request -> (Types.describe_backups_response, [> Smaws_Lib.Protocols.AwsJson.error | `CloudHsmAccessDeniedException of Types.cloud_hsm_access_denied_exception | `CloudHsmInternalFailureException of Types.cloud_hsm_internal_failure_exception | `CloudHsmInvalidRequestException of Types.cloud_hsm_invalid_request_exception | `CloudHsmResourceNotFoundException of Types.cloud_hsm_resource_not_found_exception | `CloudHsmServiceException of Types.cloud_hsm_service_exception | `CloudHsmTagException of Types.cloud_hsm_tag_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.describe_backups_request -> (Types.describe_backups_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `CloudHsmAccessDeniedException of Types.cloud_hsm_access_denied_exception | `CloudHsmInternalFailureException of Types.cloud_hsm_internal_failure_exception | `CloudHsmInvalidRequestException of Types.cloud_hsm_invalid_request_exception | `CloudHsmResourceNotFoundException of Types.cloud_hsm_resource_not_found_exception | `CloudHsmServiceException of Types.cloud_hsm_service_exception | `CloudHsmTagException of Types.cloud_hsm_tag_exception ] * Smaws_Lib.Response.metadata) Stdlib.result