Textract / Client / get_blueprint
get_blueprint¶
- Textract.Client.get_blueprint(**kwargs)¶
Gets the details of a blueprint, including its schema, encryption settings, and timestamps.
See also: AWS API Documentation
Request Syntax
response = client.get_blueprint( BlueprintArn='string', BlueprintVersion='string' )
- Parameters:
BlueprintArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the blueprint to retrieve.
BlueprintVersion (string) – The version of the blueprint to retrieve. If omitted, the latest version is returned.
- Return type:
dict
- Returns:
Response Syntax
{ 'BlueprintArn': 'string', 'BlueprintName': 'string', 'BlueprintVersion': 'string', 'Schema': 'string', 'KmsKeyId': 'string', 'KmsEncryptionContext': { 'string': 'string' }, 'CreationTime': datetime(2015, 1, 1), 'LastModifiedTime': datetime(2015, 1, 1) }
Response Structure
(dict) –
BlueprintArn (string) –
The Amazon Resource Name (ARN) of the blueprint.
BlueprintName (string) –
The name of the blueprint.
BlueprintVersion (string) –
The version of the blueprint.
Schema (string) –
The schema of the blueprint, which defines the fields to extract and their expected structure.
KmsKeyId (string) –
The identifier of the AWS KMS key used to encrypt the blueprint.
KmsEncryptionContext (dict) –
The AWS KMS encryption context used when encrypting the blueprint.
(string) –
(string) –
CreationTime (datetime) –
The date and time that the blueprint was created.
LastModifiedTime (datetime) –
The date and time that the blueprint was last modified.
Exceptions
Textract.Client.exceptions.ResourceNotFoundExceptionTextract.Client.exceptions.InvalidParameterExceptionTextract.Client.exceptions.ValidationExceptionTextract.Client.exceptions.AccessDeniedExceptionTextract.Client.exceptions.ProvisionedThroughputExceededExceptionTextract.Client.exceptions.InternalServerError