list_blueprints
async
¶
list_blueprints(
*,
config_overrides: Optional[AsyncTextractClientConfig] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[IntelligencePaginationToken] = None,
blueprint_arn: Optional[BlueprintArn] = None,
project_filter: Optional[ProjectFilter] = None,
resource_owner: Optional[ResourceOwner] = None,
) -> ListBlueprintsResponse
Lists the blueprints that are available to the caller, with optional filtering by project and resource owner. The results are paginated. If the response includes a NextToken value, pass it in a subsequent call to retrieve the next page of results.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of blueprints to return in each page of results. If you don't specify a value, the service selects a default page size. Use the
NextTokenvalue in the response to retrieve any remaining results. -
next_token(Optional[IntelligencePaginationToken], default:None) –A pagination token returned from a previous call to
ListBlueprints. Use it to retrieve the next page of results. -
blueprint_arn(Optional[BlueprintArn], default:None) –The Amazon Resource Name (ARN) of a blueprint to filter the results by.
-
project_filter(Optional[ProjectFilter], default:None) –A filter that limits the results to blueprints associated with the specified project.
-
resource_owner(Optional[ResourceOwner], default:None) –A filter that limits the results to blueprints owned by your account or to blueprints provided by Amazon Textract.
Raises:
-
AccessDeniedException–You aren't authorized to perform the action. Use the Amazon Resource Name (ARN) of an authorized user or IAM role to perform the operation.
-
InternalServerError–Amazon Textract experienced a service issue. Try your call again.
-
InvalidParameterException–An input parameter violated a constraint. For example, in synchronous operations, an
InvalidParameterExceptionexception occurs when neither of theS3ObjectorBytesvalues are supplied in theDocumentrequest parameter. Validate your parameter before calling the API operation again. -
ProvisionedThroughputExceededException–The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Textract.
-
ResourceNotFoundException–Returned when an operation tried to access a nonexistent resource.
-
ValidationException–Indicates that a request was not valid. Check request for proper formatting.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_textract/_services/async_textract.py
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 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 | |