list_asset_files
¶
list_asset_files(
agent_space_id: AgentSpaceIdentifier,
asset_id: ResourceId,
*,
config_overrides: Optional[DevOpsAgentClientConfig] = None,
asset_version: Optional[int] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[int] = None,
) -> ListAssetFilesResponse
Lists files in an asset
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 files to list
-
asset_version(Optional[int], default:None) –The specific asset version to list files from. If omitted, files from the latest version are returned.
-
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
1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 | |