describeBackupVault method

Future<DescribeBackupVaultOutput> describeBackupVault({
  1. required String backupVaultName,
})

Returns metadata about a backup vault specified by its name.

May throw ResourceNotFoundException. May throw InvalidParameterValueException. May throw MissingParameterValueException. May throw ServiceUnavailableException.

Parameter backupVaultName : The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the AWS Region where they are created. They consist of lowercase letters, numbers, and hyphens.

Implementation

Future<DescribeBackupVaultOutput> describeBackupVault({
  required String backupVaultName,
}) async {
  ArgumentError.checkNotNull(backupVaultName, 'backupVaultName');
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/backup-vaults/${Uri.encodeComponent(backupVaultName)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeBackupVaultOutput.fromJson(response);
}