list_assets
¶
list_assets(
agent_space_id: AgentSpaceIdentifier,
*,
config_overrides: Optional[DevOpsAgentClientConfig] = None,
asset_type: Optional[AssetType] = None,
updated_after: Optional[datetime] = None,
updated_before: Optional[datetime] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[int] = None,
) -> ListAssetsResponse
Lists assets in the specified agent space
Parameters:
-
agent_space_id(AgentSpaceIdentifier) –The unique identifier for the agent space to list assets from
-
asset_type(Optional[AssetType], default:None) –Filter results to only assets of this type
-
updated_after(Optional[datetime], default:None) –Filter results to only assets updated after this timestamp
-
updated_before(Optional[datetime], default:None) –Filter results to only assets updated before this timestamp
-
next_token(Optional[NextToken], default:None) –Pagination token from a previous response to retrieve the next page of results
-
max_results(Optional[int], default:None) –The maximum number of results to return in a single response
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
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 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 | |