Skip to content

CreateAdapterVersionRequest

Source code in docs_src/capo_textract/types/create_adapter_version_request.py
class CreateAdapterVersionRequest(TypedDict, closed=True):
    adapter_id: "capo_textract.types.adapter_id.AdapterId"
    """<p>A string containing a unique ID for the adapter that will receive a new version.</p>"""
    client_request_token: NotRequired[
        "capo_textract.types.client_request_token.ClientRequestToken"
    ]
    """<p>Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapterVersion requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.</p>"""
    dataset_config: (
        "capo_textract.types.adapter_version_dataset_config.AdapterVersionDatasetConfig"
    )
    """<p>Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value.</p>"""
    kms_key_id: NotRequired["capo_textract.types.kms_key_id.KMSKeyId"]
    """<p>The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.</p>"""
    output_config: "capo_textract.types.output_config.OutputConfig"
    tags: NotRequired["capo_textract.types.tag_map.TagMap"]
    """<p>A set of tags (key-value pairs) that you want to attach to the adapter version. </p>"""

adapter_id instance-attribute

adapter_id: AdapterId

A string containing a unique ID for the adapter that will receive a new version.

client_request_token instance-attribute

client_request_token: NotRequired[ClientRequestToken]

Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapterVersion requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.

dataset_config instance-attribute

Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value.

kms_key_id instance-attribute

kms_key_id: NotRequired[KMSKeyId]

The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.

output_config instance-attribute

output_config: OutputConfig

tags instance-attribute

tags: NotRequired[TagMap]

A set of tags (key-value pairs) that you want to attach to the adapter version.