list_dev_environment_sessions
¶
list_dev_environment_sessions(
space_name: NameString,
project_name: NameString,
dev_environment_id: Uuid,
*,
config_overrides: Optional[CodeCatalystClientConfig] = None,
next_token: Optional[str] = None,
max_results: Optional[int] = None,
) -> ListDevEnvironmentSessionsResponse
Retrieves a list of active sessions for a Dev Environment in a project.
Parameters:
-
space_name(NameString) –The name of the space.
-
project_name(NameString) –The name of the project in the space.
-
dev_environment_id(Uuid) –The system-generated unique ID of the Dev Environment.
-
next_token(Optional[str], default:None) –A token returned from a call to this API to indicate the next batch of results to return, if any.
-
max_results(Optional[int], default:None) –The maximum number of results to show in a single call to this API. If the number of results is larger than the number you specified, the response will include a
NextTokenelement, which you can use to obtain additional results.
Raises:
-
AccessDeniedException–The request was denied because you don't have sufficient access to perform this action. Verify that you are a member of a role that allows this action.
-
ConflictException–The request was denied because the requested operation would cause a conflict with the current state of a service resource associated with the request. Another user might have updated the resource. Reload, make sure you have the latest data, and then try again.
-
ResourceNotFoundException–The request was denied because the specified resource was not found. Verify that the spelling is correct and that you have access to the resource.
-
ServiceQuotaExceededException–The request was denied because one or more resources has reached its limits for the tier the space belongs to. Either reduce the number of resources, or change the tier if applicable.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The request was denied because an input failed to satisfy the constraints specified by the service. Check the spelling and input requirements, and then try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codecatalyst/_services/code_catalyst.py
1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 | |