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
5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 | |