list_backup_vaults
¶
list_backup_vaults(
*,
config_overrides: Optional[BackupClientConfig] = None,
by_vault_type: Optional[VaultType] = None,
by_shared: Optional[Boolean2] = None,
next_token: Optional[string] = None,
max_results: Optional[MaxResults] = None,
) -> ListBackupVaultsOutput
Returns a list of recovery point storage containers along with information about them.
Parameters:
-
by_vault_type(Optional[VaultType], default:None) –This parameter will sort the list of vaults by vault type.
-
by_shared(Optional[Boolean2], default:None) –This parameter will sort the list of vaults by shared vaults.
-
next_token(Optional[string], default:None) –The next item following a partial list of returned items. For example, if a request is made to return
MaxResultsnumber of items,NextTokenallows you to return more items in your list starting at the location pointed to by the next token. -
max_results(Optional[MaxResults], default:None) –The maximum number of items to be returned.
Raises:
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
MissingParameterValueException–Indicates that a required parameter is missing.
-
ResourceNotFoundException–A resource that is required for the action doesn't exist.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.