AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the UpdateLanguageModel operation. 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.

Your custom language model must not be in the IN_PROGRESS state when you call this operation. You cannot submit another update while a previous update is in progress. Use to check the current state of your model.

Your custom language model remains available for transcription jobs while the update is being processed.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.TranscribeService.AmazonTranscribeServiceRequest
      Amazon.TranscribeService.Model.UpdateLanguageModelRequest

Namespace: Amazon.TranscribeService.Model
Assembly: AWSSDK.TranscribeService.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateLanguageModelRequest : AmazonTranscribeServiceRequest
         IAmazonWebServiceRequest

The UpdateLanguageModelRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DataAccessRoleArn System.String

Gets and sets the property 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.

Public Property EncryptionConfiguration Amazon.TranscribeService.Model.EncryptionConfiguration

Gets and sets the property 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.

Public Property ModelName System.String

Gets and sets the property ModelName.

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

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer