list_resource_snapshot_jobs
async
¶
list_resource_snapshot_jobs(
catalog: CatalogIdentifier,
*,
config_overrides: Optional[AsyncPartnerCentralSellingClientConfig] = None,
max_results: Optional[PageSize] = None,
next_token: Optional[str] = None,
engagement_identifier: Optional[EngagementIdentifier] = None,
status: Optional[ResourceSnapshotJobStatus] = None,
sort: Optional[SortObject] = None,
) -> ListResourceSnapshotJobsResponse
Lists resource snapshot jobs owned by the customer. This operation supports various filtering scenarios, including listing all jobs owned by the caller, jobs for a specific engagement, jobs with a specific status, or any combination of these filters.
Parameters:
-
catalog(CatalogIdentifier) –Specifies the catalog related to the request.
-
max_results(Optional[PageSize], default:None) –The maximum number of results to return in a single call. If omitted, defaults to 50.
-
next_token(Optional[str], default:None) –The token for the next set of results.
-
engagement_identifier(Optional[EngagementIdentifier], default:None) –The identifier of the engagement to filter the response.
-
status(Optional[ResourceSnapshotJobStatus], default:None) –The status of the jobs to filter the response.
-
sort(Optional[SortObject], default:None) –Configures the sorting of the response. If omitted, results are sorted by
CreatedDatein descending order.
Raises:
-
AccessDeniedException–This error occurs when you don't have permission to perform the requested action.
You don’t have access to this action or resource. Review IAM policies or contact your AWS administrator for assistance.
-
InternalServerException–This error occurs when the specified resource can’t be found or doesn't exist. Resource ID and type might be incorrect.
Suggested action: This is usually a transient error. Retry after the provided retry delay or a short interval. If the problem persists, contact AWS support.
-
ResourceNotFoundException–This error occurs when the specified resource can't be found. The resource might not exist, or isn't visible with the current credentials.
Suggested action: Verify that the resource ID is correct and the resource is in the expected AWS region. Check IAM permissions for accessing the resource.
-
ThrottlingException–This error occurs when there are too many requests sent. Review the provided quotas and adapt your usage to avoid throttling.
This error occurs when there are too many requests sent. Review the provided Quotas and retry after the provided delay.
-
ValidationException–The input fails to satisfy the constraints specified by the service or business validation rules.
Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_partnercentral_selling/_services/async_partner_central_selling.py
3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 | |