Module Smaws_Client_FSx.DescribeBackups

Returns the description of a specific Amazon FSx backup, if a BackupIds value is provided for that backup. Otherwise, it returns all backups owned by your Amazon Web Services account in the Amazon Web Services Region of the endpoint that you're calling.

When retrieving all backups, you can optionally specify the MaxResults parameter to limit the number of backups in a response. If more backups remain, Amazon FSx returns a NextToken value in the response. In this case, send a later request with the NextToken request parameter set to the value of the NextToken value from the last response.

This operation is used in an iterative process to retrieve a list of your backups. DescribeBackups is called first without a NextToken value. Then the operation continues to be called with the NextToken parameter set to the value of the last NextToken value until a response has no NextToken value.

When using this operation, keep the following in mind:

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `BackupNotFound of Types.backup_not_found | `BadRequest of Types.bad_request | `FileSystemNotFound of Types.file_system_not_found | `InternalServerError of Types.internal_server_error | `VolumeNotFound of Types.volume_not_found ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.describe_backups_request -> (Types.describe_backups_response, [> Smaws_Lib.Protocols.AwsJson.error | `BackupNotFound of Types.backup_not_found | `BadRequest of Types.bad_request | `FileSystemNotFound of Types.file_system_not_found | `InternalServerError of Types.internal_server_error | `VolumeNotFound of Types.volume_not_found ]) 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 | `BackupNotFound of Types.backup_not_found | `BadRequest of Types.bad_request | `FileSystemNotFound of Types.file_system_not_found | `InternalServerError of Types.internal_server_error | `VolumeNotFound of Types.volume_not_found ] * Smaws_Lib.Response.metadata) Stdlib.result