list_protected_resources_by_backup_vault
¶
list_protected_resources_by_backup_vault(
backup_vault_name: BackupVaultName,
*,
config_overrides: Optional[BackupClientConfig] = None,
backup_vault_account_id: Optional[AccountId] = None,
next_token: Optional[string] = None,
max_results: Optional[MaxResults] = None,
) -> ListProtectedResourcesByBackupVaultOutput
This request lists the protected resources corresponding to each backup vault.
Parameters:
-
backup_vault_name(BackupVaultName) –The list of protected resources by backup vault within the vault(s) you specify by name.
-
backup_vault_account_id(Optional[AccountId], default:None) –The list of protected resources by backup vault within the vault(s) you specify by account ID.
-
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.
-
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.