list_report_jobs
async
¶
list_report_jobs(
*,
config_overrides: Optional[AsyncBackupClientConfig] = None,
by_report_plan_name: Optional[ReportPlanName] = None,
by_creation_before: Optional[timestamp] = None,
by_creation_after: Optional[timestamp] = None,
by_status: Optional[string] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[string] = None,
) -> ListReportJobsOutput
Returns details about your report jobs.
Parameters:
-
by_report_plan_name(Optional[ReportPlanName], default:None) –Returns only report jobs with the specified report plan name.
-
by_creation_before(Optional[timestamp], default:None) –Returns only report jobs that were created before the date and time specified in Unix format and Coordinated Universal Time (UTC). For example, the value 1516925490 represents Friday, January 26, 2018 12:11:30 AM.
-
by_creation_after(Optional[timestamp], default:None) –Returns only report jobs that were created after the date and time specified in Unix format and Coordinated Universal Time (UTC). For example, the value 1516925490 represents Friday, January 26, 2018 12:11:30 AM.
-
by_status(Optional[string], default:None) –Returns only report jobs that are in the specified status. The statuses are:
CREATED | RUNNING | COMPLETED | FAILED | COMPLETED_WITH_ISSUESPlease note that only scanning jobs finish with state completed with issues. For backup jobs this is a console interpretation of a job that finishes in completed state and has a status message.
-
max_results(Optional[MaxResults], default:None) –The number of desired results from 1 to 1000. Optional. If unspecified, the query will return 1 MB of data.
-
next_token(Optional[string], default:None) –An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Raises:
-
InvalidParameterValueException–Indicates that something is wrong with a parameter's value. For example, the value is out of range.
-
ResourceNotFoundException–A resource that is required for the action doesn't exist.
-
ServiceUnavailableException–The request failed due to a temporary failure of the server.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_backup/_services/async_backup.py
5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 | |