transcribeservice_update_language_model: Updates the encryption configuration for an existing custom...

View source: R/transcribeservice_operations.R

transcribeservice_update_language_modelR Documentation

Updates the encryption configuration for an existing custom language model

Description

Updates the encryption configuration for an existing custom language model. You can use this operation to change the KMS key used to encrypt your model artifacts. The model artifacts are re-encrypted in place. No model training is required.

See https://www.paws-r-sdk.com/docs/transcribeservice_update_language_model/ for full documentation.

Usage

transcribeservice_update_language_model(
  ModelName,
  DataAccessRoleArn = NULL,
  EncryptionConfiguration = NULL
)

Arguments

ModelName

[required] The name of the custom language model you want to update. Model names are case sensitive.

DataAccessRoleArn

The Amazon Resource Name (ARN) of an IAM role. If you include EncryptionConfiguration in your request, this role must have permissions to access the specified KMS key. If the role that you specify doesn't have the appropriate permissions, your request fails.

IAM role ARNs have the format arn:partition:iam::account:role/role-name-with-path. For example: ⁠arn:aws:iam::111122223333:role/Admin⁠.

For more information, see IAM ARNs.

EncryptionConfiguration

Specifies the new encryption configuration for your custom language model. The model artifacts are re-encrypted in place using the specified KMS key or with an AWS-owned key if a key is not supplied.


paws.machine.learning documentation built on Oct. 8, 2026, 9:06 a.m.