Create Adapter Version
| textract_create_adapter_version | R Documentation |
Creates a new version of an adapter¶
Description¶
Creates a new version of an adapter. Operates on a provided AdapterId and a specified dataset provided via the DatasetConfig argument. Requires that you specify an Amazon S3 bucket with the OutputConfig argument. You can provide an optional KMSKeyId, an optional ClientRequestToken, and optional tags.
Usage¶
textract_create_adapter_version(AdapterId, ClientRequestToken,
DatasetConfig, KMSKeyId, OutputConfig, Tags)
Arguments¶
AdapterId |
[required] A string containing a unique ID for the adapter that will receive a new version. |
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. |
DatasetConfig |
[required] Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value. |
KMSKeyId |
The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents. |
OutputConfig |
[required] Sets whether or not your output will go to a user created bucket. Used to set the name of the bucket, and the prefix on the output file.
Decryption of Customer Content is necessary for processing of the documents by Amazon Textract. If your account is opted out under an AI services opt out policy then all unencrypted Customer Content is immediately and permanently deleted after the Customer Content has been processed by the service. No copy of of the output is retained by Amazon Textract. For information about how to opt out, see Managing AI services opt-out policy. For more information on data privacy, see the Data Privacy FAQ. |
Tags |
A set of tags (key-value pairs) that you want to attach to the adapter version. |
Value¶
A list with the following syntax:
list(
AdapterId = "string",
AdapterVersion = "string"
)
Request syntax¶
svc$create_adapter_version(
AdapterId = "string",
ClientRequestToken = "string",
DatasetConfig = list(
ManifestS3Object = list(
Bucket = "string",
Name = "string",
Version = "string"
)
),
KMSKeyId = "string",
OutputConfig = list(
S3Bucket = "string",
S3Prefix = "string"
),
Tags = list(
"string"
)
)