list_resource_providers
¶
list_resource_providers(
*,
config_overrides: Optional[BackupExternalClientConfig] = None,
appliance_arn: Optional[ApplianceArn] = None,
max_results: Optional[int] = None,
next_token: Optional[NextToken] = None,
resource_provider_type: Optional[ResourceProviderType] = None,
) -> ListResourceProvidersOutput
Returns a list of resource providers, optionally filtered by appliance or provider type. Use the pagination token to retrieve additional results.
Parameters:
-
appliance_arn(Optional[ApplianceArn], default:None) –The Amazon Resource Name (ARN) of the appliance by which to filter the results.
-
max_results(Optional[int], default:None) –The maximum number of results to return in a single response.
-
next_token(Optional[NextToken], default:None) –The token returned by a previous call to retrieve the next page of results.
-
resource_provider_type(Optional[ResourceProviderType], default:None) –The resource provider type by which to filter the results.
Raises:
-
AccessDeniedException–The request was denied because you do not have permission to perform the requested operation.
-
ConflictException–The request conflicts with the current state of the specified resource.
-
InternalServerException–The request failed because of an internal server error.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The request was denied because the request rate is too high.
-
ValidationException–The request contains invalid parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup_external/_services/backup_external.py
1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 | |