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
5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 | |