list_protected_resources_by_backup_vault
async
¶
list_protected_resources_by_backup_vault(
backup_vault_name: BackupVaultName,
*,
config_overrides: Optional[AsyncBackupClientConfig] = 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.
Source code in docs_src/capo_backup/_services/async_backup.py
5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 | |