list_asset_versions
¶
list_asset_versions(
agent_space_id: AgentSpaceIdentifier,
asset_id: ResourceId,
*,
config_overrides: Optional[DevOpsAgentClientConfig] = None,
max_results: Optional[int] = None,
next_token: Optional[NextToken] = None,
) -> ListAssetVersionsResponse
Lists versions of an asset in the specified agent space
Parameters:
-
agent_space_id(AgentSpaceIdentifier) –The unique identifier for the agent space containing the asset
-
asset_id(ResourceId) –The unique identifier of the asset whose versions to list
-
max_results(Optional[int], default:None) –The maximum number of results to return in a single response
-
next_token(Optional[NextToken], default:None) –Pagination token from a previous response to retrieve the next page of results
Raises:
-
AccessDeniedException–Access to the requested resource is denied due to insufficient permissions.
-
ConflictException–The request conflicts with the current state of the resource.
-
ContentSizeExceededException–This exception is thrown when the content size exceeds the allowed limit.
-
InternalServerException–This exception is thrown when an unexpected error occurs in the processing of a request.
-
InvalidParameterException–One or more parameters provided in the request are invalid.
-
ResourceNotFoundException–The requested resource could not be found.
-
ServiceQuotaExceededException–The request would exceed the service quota limit.
-
ThrottlingException–The request was throttled due to too many requests. Please slow down and try again.
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_devops_agent/_services/dev_ops_agent.py
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 1612 1613 1614 1615 1616 1617 | |