list_services
async
¶
list_services(
environment_identifier: EnvironmentId,
application_identifier: ApplicationId,
*,
config_overrides: Optional[AsyncMigrationHubRefactorSpacesClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListServicesResponse
Lists all the Amazon Web Services Migration Hub Refactor Spaces services within an application.
Parameters:
-
environment_identifier(EnvironmentId) –The ID of the environment.
-
application_identifier(ApplicationId) –The ID of the application.
-
next_token(Optional[NextToken], default:None) –The token for the next page of results.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.
Raises:
-
AccessDeniedException–The user does not have sufficient access to perform this action.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred while processing the request.
-
ResourceNotFoundException–The request references a resource that does not exist.
-
ServiceQuotaExceededException–The request would cause a service quota to be exceeded.
-
ThrottlingException–Request was denied because the request was throttled.
-
ValidationException–The input does not satisfy the constraints specified by an Amazon Web Service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_migration_hub_refactor_spaces/_services/async_migration_hub_refactor_spaces.py
1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 | |