list_batch_job_definitions
async
¶
list_batch_job_definitions(
application_id: Identifier,
*,
config_overrides: Optional[Asyncm2ClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
prefix: Optional[str] = None,
) -> ListBatchJobDefinitionsResponse
Lists all the available batch job definitions based on the batch job resources uploaded during the application creation. You can use the batch job definitions in the list to start a batch job.
Parameters:
-
next_token(Optional[NextToken], default:None) –A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
-
max_results(Optional[MaxResults], default:None) –The maximum number of batch job definitions to return.
-
application_id(Identifier) –The identifier of the application.
-
prefix(Optional[str], default:None) –If the batch job definition is a FileBatchJobDefinition, the prefix allows you to search on the file names of FileBatchJobDefinitions.
Raises:
-
AccessDeniedException–The account or role doesn't have the right permissions to make the request.
-
InternalServerException–An unexpected error occurred during the processing of the request.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The number of requests made exceeds the limit.
-
ValidationException–One or more parameters provided in the request is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_m2/_services/async_m2.py
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 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 | |