list_blueprints
¶
list_blueprints(
*,
config_overrides: Optional[TextractClientConfig] = 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/textract.py
2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 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 | |