Skip to content

/AWS1/CL_LM2SPEECHFNDATIONMDEL

Configuration for a foundation model used for speech synthesis and recognition capabilities.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_modelarn TYPE /AWS1/LM2BEDROCKMODELARN /AWS1/LM2BEDROCKMODELARN

The Amazon Resource Name (ARN) of the foundation model used for speech processing.

Optional arguments:

iv_voiceid TYPE /AWS1/LM2VOICEID /AWS1/LM2VOICEID

The identifier of the voice to use for speech synthesis with the foundation model.


Queryable Attributes

modelArn

The Amazon Resource Name (ARN) of the foundation model used for speech processing.

Accessible with the following methods

Method Description
GET_MODELARN() Getter for MODELARN, with configurable default
ASK_MODELARN() Getter for MODELARN w/ exceptions if field has no value
HAS_MODELARN() Determine if MODELARN has a value

voiceId

The identifier of the voice to use for speech synthesis with the foundation model.

Accessible with the following methods

Method Description
GET_VOICEID() Getter for VOICEID, with configurable default
ASK_VOICEID() Getter for VOICEID w/ exceptions if field has no value
HAS_VOICEID() Determine if VOICEID has a value