list_report_jobs
¶
list_report_jobs(
*,
config_overrides: Optional[BackupClientConfig] = 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/backup.py
5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 | |