start_jobs_query
async
¶
start_jobs_query(
*,
config_overrides: Optional[AsyncMediaConvertClientConfig] = None,
filter_list: Optional[__listOfJobsQueryFilter] = None,
max_results: Optional[__integerMin1Max20] = None,
next_token: Optional[__string] = None,
order: Optional[Order] = None,
) -> StartJobsQueryResponse
Start an asynchronous jobs query using the provided filters. To receive the list of jobs that match your query, call the GetJobsQueryResults API using the query ID returned by this API.
Parameters:
-
filter_list(Optional[__listOfJobsQueryFilter], default:None) –Optional. Provide an array of JobsQueryFilters for your StartJobsQuery request.
-
max_results(Optional[__integerMin1Max20], default:None) –Optional. Number of jobs, up to twenty, that will be included in the jobs query.
-
next_token(Optional[__string], default:None) –Use this string to request the next batch of jobs matched by a jobs query.
-
order(Optional[Order], default:None) –Optional. When you request lists of resources, you can specify whether they are sorted in ASCENDING or DESCENDING order. Default varies by resource.
Raises:
-
BadRequestException–The service can't process your request because of a problem in the request. Please check your request form and syntax.
-
ConflictException–The service couldn't complete your request because there is a conflict with the current state of the resource.
-
ForbiddenException–You don't have permissions for this action with the credentials you sent.
-
InternalServerErrorException–The service encountered an unexpected condition and can't fulfill your request.
-
NotFoundException–The resource you requested doesn't exist.
-
ServiceQuotaExceededException–You attempted to create more resources than the service allows based on service quotas.
-
TooManyRequestsException–Too many requests have been sent in too short of a time. The service limits the rate at which it will accept requests.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_mediaconvert/_services/async_media_convert.py
2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 | |