Skip to content

Commit

Permalink
feat(client-chime-sdk-media-pipelines): Added Amazon Transcribe multi…
Browse files Browse the repository at this point in the history
… language identification to Chime SDK call analytics. Enabling customers sending single stream audio to generate call recordings using Chime SDK call analytics
  • Loading branch information
awstools committed Jun 27, 2024
1 parent d3a5651 commit 2028122
Show file tree
Hide file tree
Showing 8 changed files with 81 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ export interface CreateMediaInsightsPipelineConfigurationCommandOutput
* LanguageModelName: "STRING_VALUE",
* FilterPartialResults: true || false,
* IdentifyLanguage: true || false,
* IdentifyMultipleLanguages: true || false,
* LanguageOptions: "STRING_VALUE",
* PreferredLanguage: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
* VocabularyNames: "STRING_VALUE",
Expand Down Expand Up @@ -223,6 +224,7 @@ export interface CreateMediaInsightsPipelineConfigurationCommandOutput
* // LanguageModelName: "STRING_VALUE",
* // FilterPartialResults: true || false,
* // IdentifyLanguage: true || false,
* // IdentifyMultipleLanguages: true || false,
* // LanguageOptions: "STRING_VALUE",
* // PreferredLanguage: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
* // VocabularyNames: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,22 @@ export interface CreateMediaPipelineKinesisVideoStreamPoolCommandOutput
__MetadataBearer {}

/**
* <p>Creates an Kinesis video stream pool for the media pipeline.</p>
* <p>Creates an Amazon Kinesis Video Stream pool for use with media stream
* pipelines.</p>
* <note>
* <p>If a meeting uses an opt-in Region as its
* <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html#chimesdk-meeting-chime_CreateMeeting-request-MediaRegion">MediaRegion</a>,
* the KVS stream must be in that same Region. For example, if a meeting uses the <code>af-south-1</code> Region, the KVS stream must also be in <code>af-south-1</code>. However, if the meeting uses a
* Region that AWS turns on by default, the KVS stream can be in any available Region, including an opt-in Region. For example, if the meeting uses <code>ca-central-1</code>, the KVS stream can be in
* <code>eu-west-2</code>, <code>us-east-1</code>, <code>af-south-1</code>, or any other Region that the Amazon Chime SDK supports.</p>
* <p>To learn which AWS Region a meeting uses, call the <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_GetMeeting.html">GetMeeting</a> API and
* use the <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html#chimesdk-meeting-chime_CreateMeeting-request-MediaRegion">MediaRegion</a>
* parameter from the response.</p>
* <p>For more information about opt-in Regions, refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/sdk-available-regions.html">Available Regions</a> in the
* <i>Amazon Chime SDK Developer Guide</i>, and
* <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html#rande-manage-enable.html">Specify which AWS Regions your account can use</a>,
* in the <i>AWS Account Management Reference Guide</i>.</p>
* </note>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface DeleteMediaPipelineKinesisVideoStreamPoolCommandInput
export interface DeleteMediaPipelineKinesisVideoStreamPoolCommandOutput extends __MetadataBearer {}

/**
* <p>Deletes an Kinesis video stream pool.</p>
* <p>Deletes an Amazon Kinesis Video Stream pool.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export interface GetMediaInsightsPipelineConfigurationCommandOutput
* // LanguageModelName: "STRING_VALUE",
* // FilterPartialResults: true || false,
* // IdentifyLanguage: true || false,
* // IdentifyMultipleLanguages: true || false,
* // LanguageOptions: "STRING_VALUE",
* // PreferredLanguage: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
* // VocabularyNames: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ export interface UpdateMediaInsightsPipelineConfigurationCommandOutput
* LanguageModelName: "STRING_VALUE",
* FilterPartialResults: true || false,
* IdentifyLanguage: true || false,
* IdentifyMultipleLanguages: true || false,
* LanguageOptions: "STRING_VALUE",
* PreferredLanguage: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
* VocabularyNames: "STRING_VALUE",
Expand Down Expand Up @@ -215,6 +216,7 @@ export interface UpdateMediaInsightsPipelineConfigurationCommandOutput
* // LanguageModelName: "STRING_VALUE",
* // FilterPartialResults: true || false,
* // IdentifyLanguage: true || false,
* // IdentifyMultipleLanguages: true || false,
* // LanguageOptions: "STRING_VALUE",
* // PreferredLanguage: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR",
* // VocabularyNames: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export interface UpdateMediaPipelineKinesisVideoStreamPoolCommandOutput
__MetadataBearer {}

/**
* <p>Updates an Kinesis video stream pool in a media pipeline.</p>
* <p>Updates an Amazon Kinesis Video Stream pool in a media pipeline.</p>
* @example
* Use a bare-bones client and the command you need to make an API call.
* ```javascript
Expand Down
45 changes: 36 additions & 9 deletions clients/client-chime-sdk-media-pipelines/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,10 @@ export interface AmazonTranscribeCallAnalyticsProcessorConfiguration {

/**
* <p>A structure that contains the configuration settings for an Amazon Transcribe processor.</p>
* <note>
* <p>Calls to this API must include a <code>LanguageCode</code>, <code>IdentifyLanguage</code>, or <code>IdentifyMultipleLanguages</code> parameter.
* If you include more than one of those parameters, your transcription job fails.</p>
* </note>
* @public
*/
export interface AmazonTranscribeProcessorConfiguration {
Expand Down Expand Up @@ -386,6 +390,12 @@ export interface AmazonTranscribeProcessorConfiguration {
*/
IdentifyLanguage?: boolean;

/**
* <p>Turns language identification on or off for multiple languages.</p>
* @public
*/
IdentifyMultipleLanguages?: boolean;

/**
* <p>The language options for the transcription, such as automatic language detection.</p>
* @public
Expand Down Expand Up @@ -2849,6 +2859,20 @@ export class ConflictException extends __BaseException {

/**
* <p>The configuration of an Kinesis video stream.</p>
* <note>
* <p>If a meeting uses an opt-in Region as its
* <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html#chimesdk-meeting-chime_CreateMeeting-request-MediaRegion">MediaRegion</a>,
* the KVS stream must be in that same Region. For example, if a meeting uses the <code>af-south-1</code> Region, the KVS stream must also be in <code>af-south-1</code>. However, if the meeting uses a
* Region that AWS turns on by default, the KVS stream can be in any available Region, including an opt-in Region. For example, if the meeting uses <code>ca-central-1</code>, the KVS stream can be in
* <code>eu-west-2</code>, <code>us-east-1</code>, <code>af-south-1</code>, or any other Region that the Amazon Chime SDK supports.</p>
* <p>To learn which AWS Region a meeting uses, call the <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_GetMeeting.html">GetMeeting</a> API and
* use the <a href="https://docs.aws.amazon.com/chime-sdk/latest/APIReference/API_meeting-chime_CreateMeeting.html#chimesdk-meeting-chime_CreateMeeting-request-MediaRegion">MediaRegion</a>
* parameter from the response.</p>
* <p>For more information about opt-in Regions, refer to <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/sdk-available-regions.html">Available Regions</a> in the
* <i>Amazon Chime SDK Developer Guide</i>, and
* <a href="https://docs.aws.amazon.com/accounts/latest/reference/manage-acct-regions.html#rande-manage-enable.html">Specify which AWS Regions your account can use</a>,
* in the <i>AWS Account Management Reference Guide</i>.</p>
* </note>
* @public
*/
export interface KinesisVideoStreamConfiguration {
Expand All @@ -2870,13 +2894,13 @@ export interface KinesisVideoStreamConfiguration {
*/
export interface CreateMediaPipelineKinesisVideoStreamPoolRequest {
/**
* <p>The configuration settings for the video stream.</p>
* <p>The configuration settings for the stream.</p>
* @public
*/
StreamConfiguration: KinesisVideoStreamConfiguration | undefined;

/**
* <p>The name of the video stream pool.</p>
* <p>The name of the pool.</p>
* @public
*/
PoolName: string | undefined;
Expand All @@ -2888,7 +2912,7 @@ export interface CreateMediaPipelineKinesisVideoStreamPoolRequest {
ClientRequestToken?: string;

/**
* <p>The tags assigned to the video stream pool.</p>
* <p>The tags assigned to the stream pool.</p>
* @public
*/
Tags?: Tag[];
Expand Down Expand Up @@ -2971,7 +2995,10 @@ export interface KinesisVideoStreamPoolConfiguration {
*/
export interface CreateMediaPipelineKinesisVideoStreamPoolResponse {
/**
* <p>The configuration for the Kinesis video stream pool.</p>
* <p>The configuration for applying the streams to the pool.</p>
* <note>
* <p></p>
* </note>
* @public
*/
KinesisVideoStreamPoolConfiguration?: KinesisVideoStreamPoolConfiguration;
Expand Down Expand Up @@ -3011,7 +3038,7 @@ export type MediaStreamPipelineSinkType =
*/
export interface MediaStreamSink {
/**
* <p>The ARN of the media stream sink.</p>
* <p>The ARN of the Kinesis Video Stream pool returned by the <a>CreateMediaPipelineKinesisVideoStreamPool</a> API.</p>
* @public
*/
SinkArn: string | undefined;
Expand Down Expand Up @@ -3047,7 +3074,7 @@ export interface MediaStreamSource {
SourceType: MediaPipelineSourceType | undefined;

/**
* <p>The ARN of the media stream source. </p>
* <p>The ARN of the meeting.</p>
* @public
*/
SourceArn: string | undefined;
Expand Down Expand Up @@ -3179,7 +3206,7 @@ export interface DeleteMediaPipelineRequest {
*/
export interface DeleteMediaPipelineKinesisVideoStreamPoolRequest {
/**
* <p>The ID of the pool being deleted.</p>
* <p>The unique identifier of the requested resource. Valid values include the name and ARN of the media pipeline Kinesis Video Stream pool.</p>
* @public
*/
Identifier: string | undefined;
Expand Down Expand Up @@ -3292,7 +3319,7 @@ export interface GetMediaPipelineResponse {
*/
export interface GetMediaPipelineKinesisVideoStreamPoolRequest {
/**
* <p>The ID of the video stream pool.</p>
* <p>The unique identifier of the requested resource. Valid values include the name and ARN of the media pipeline Kinesis Video Stream pool.</p>
* @public
*/
Identifier: string | undefined;
Expand Down Expand Up @@ -3971,7 +3998,7 @@ export interface KinesisVideoStreamConfigurationUpdate {
*/
export interface UpdateMediaPipelineKinesisVideoStreamPoolRequest {
/**
* <p>The ID of the video stream pool.</p>
* <p>The unique identifier of the requested resource. Valid values include the name and ARN of the media pipeline Kinesis Video Stream pool.</p>
* @public
*/
Identifier: string | undefined;
Expand Down
Loading

0 comments on commit 2028122

Please sign in to comment.