From c0abf696e7e942ff286377a90063baec5660b382 Mon Sep 17 00:00:00 2001 From: awstools Date: Thu, 31 Aug 2023 19:32:30 +0000 Subject: [PATCH] feat(client-chime-sdk-media-pipelines): This release adds support for feature Voice Enhancement for Call Recording as part of Amazon Chime SDK call analytics. --- .../CreateMediaCapturePipelineCommand.ts | 2 +- ...CreateMediaConcatenationPipelineCommand.ts | 2 +- .../CreateMediaInsightsPipelineCommand.ts | 8 +- ...diaInsightsPipelineConfigurationCommand.ts | 10 +- ...CreateMediaLiveConnectorPipelineCommand.ts | 2 +- .../GetMediaCapturePipelineCommand.ts | 2 +- ...diaInsightsPipelineConfigurationCommand.ts | 5 +- .../src/commands/GetMediaPipelineCommand.ts | 14 +- ...diaInsightsPipelineConfigurationCommand.ts | 10 +- .../src/endpoint/ruleset.ts | 2 +- .../src/models/models_0.ts | 108 +++- .../src/protocols/Aws_restJson1.ts | 10 + .../aws-models/chime-sdk-media-pipelines.json | 464 +++++++++++------- 13 files changed, 411 insertions(+), 228 deletions(-) diff --git a/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaCapturePipelineCommand.ts b/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaCapturePipelineCommand.ts index 5a53b96c1ae12..1d8fa58837bd3 100644 --- a/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaCapturePipelineCommand.ts +++ b/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaCapturePipelineCommand.ts @@ -130,7 +130,7 @@ export interface CreateMediaCapturePipelineCommandOutput extends CreateMediaCapt * // MediaPipelineArn: "STRING_VALUE", * // SourceType: "ChimeSdkMeeting", * // SourceArn: "STRING_VALUE", - * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused", + * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused" || "NotStarted", * // SinkType: "S3Bucket", * // SinkArn: "STRING_VALUE", * // CreatedTimestamp: new Date("TIMESTAMP"), diff --git a/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaConcatenationPipelineCommand.ts b/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaConcatenationPipelineCommand.ts index 035a0b358fa9c..b6dfeff63685d 100644 --- a/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaConcatenationPipelineCommand.ts +++ b/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaConcatenationPipelineCommand.ts @@ -154,7 +154,7 @@ export interface CreateMediaConcatenationPipelineCommandOutput * // }, * // }, * // ], - * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused", + * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused" || "NotStarted", * // CreatedTimestamp: new Date("TIMESTAMP"), * // UpdatedTimestamp: new Date("TIMESTAMP"), * // }, diff --git a/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaInsightsPipelineCommand.ts b/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaInsightsPipelineCommand.ts index 9b63091de599d..b98113bd389e8 100644 --- a/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaInsightsPipelineCommand.ts +++ b/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaInsightsPipelineCommand.ts @@ -114,7 +114,7 @@ export interface CreateMediaInsightsPipelineCommandOutput * // MediaPipelineId: "STRING_VALUE", * // MediaPipelineArn: "STRING_VALUE", * // MediaInsightsPipelineConfigurationArn: "STRING_VALUE", - * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused", + * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused" || "NotStarted", * // KinesisVideoStreamSourceRuntimeConfiguration: { // KinesisVideoStreamSourceRuntimeConfiguration * // Streams: [ // Streams // required * // { // StreamConfiguration @@ -156,6 +156,12 @@ export interface CreateMediaInsightsPipelineCommandOutput * // RecordingFileFormat: "Wav" || "Opus", // required * // }, * // CreatedTimestamp: new Date("TIMESTAMP"), + * // ElementStatuses: [ // MediaInsightsPipelineElementStatuses + * // { // MediaInsightsPipelineElementStatus + * // Type: "AmazonTranscribeCallAnalyticsProcessor" || "VoiceAnalyticsProcessor" || "AmazonTranscribeProcessor" || "KinesisDataStreamSink" || "LambdaFunctionSink" || "SqsQueueSink" || "SnsTopicSink" || "S3RecordingSink" || "VoiceEnhancementSink", + * // Status: "NotStarted" || "NotSupported" || "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused", + * // }, + * // ], * // }, * // }; * diff --git a/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaInsightsPipelineConfigurationCommand.ts b/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaInsightsPipelineConfigurationCommand.ts index 08416ae5f66e3..1fbbd502c9d2c 100644 --- a/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaInsightsPipelineConfigurationCommand.ts +++ b/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaInsightsPipelineConfigurationCommand.ts @@ -87,7 +87,7 @@ export interface CreateMediaInsightsPipelineConfigurationCommandOutput * }, * Elements: [ // MediaInsightsPipelineConfigurationElements // required * { // MediaInsightsPipelineConfigurationElement - * Type: "AmazonTranscribeCallAnalyticsProcessor" || "VoiceAnalyticsProcessor" || "AmazonTranscribeProcessor" || "KinesisDataStreamSink" || "LambdaFunctionSink" || "SqsQueueSink" || "SnsTopicSink" || "S3RecordingSink", // required + * Type: "AmazonTranscribeCallAnalyticsProcessor" || "VoiceAnalyticsProcessor" || "AmazonTranscribeProcessor" || "KinesisDataStreamSink" || "LambdaFunctionSink" || "SqsQueueSink" || "SnsTopicSink" || "S3RecordingSink" || "VoiceEnhancementSink", // required * AmazonTranscribeCallAnalyticsProcessorConfiguration: { // AmazonTranscribeCallAnalyticsProcessorConfiguration * LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR", // required * VocabularyName: "STRING_VALUE", @@ -149,6 +149,9 @@ export interface CreateMediaInsightsPipelineConfigurationCommandOutput * SnsTopicSinkConfiguration: { // SnsTopicSinkConfiguration * InsightsTarget: "STRING_VALUE", * }, + * VoiceEnhancementSinkConfiguration: { // VoiceEnhancementSinkConfiguration + * Disabled: true || false, + * }, * }, * ], * Tags: [ // TagList @@ -191,7 +194,7 @@ export interface CreateMediaInsightsPipelineConfigurationCommandOutput * // }, * // Elements: [ // MediaInsightsPipelineConfigurationElements * // { // MediaInsightsPipelineConfigurationElement - * // Type: "AmazonTranscribeCallAnalyticsProcessor" || "VoiceAnalyticsProcessor" || "AmazonTranscribeProcessor" || "KinesisDataStreamSink" || "LambdaFunctionSink" || "SqsQueueSink" || "SnsTopicSink" || "S3RecordingSink", // required + * // Type: "AmazonTranscribeCallAnalyticsProcessor" || "VoiceAnalyticsProcessor" || "AmazonTranscribeProcessor" || "KinesisDataStreamSink" || "LambdaFunctionSink" || "SqsQueueSink" || "SnsTopicSink" || "S3RecordingSink" || "VoiceEnhancementSink", // required * // AmazonTranscribeCallAnalyticsProcessorConfiguration: { // AmazonTranscribeCallAnalyticsProcessorConfiguration * // LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR", // required * // VocabularyName: "STRING_VALUE", @@ -253,6 +256,9 @@ export interface CreateMediaInsightsPipelineConfigurationCommandOutput * // SnsTopicSinkConfiguration: { // SnsTopicSinkConfiguration * // InsightsTarget: "STRING_VALUE", * // }, + * // VoiceEnhancementSinkConfiguration: { // VoiceEnhancementSinkConfiguration + * // Disabled: true || false, + * // }, * // }, * // ], * // MediaInsightsPipelineConfigurationId: "STRING_VALUE", diff --git a/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaLiveConnectorPipelineCommand.ts b/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaLiveConnectorPipelineCommand.ts index 07d38cd2f1d57..ff6cc64a0de24 100644 --- a/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaLiveConnectorPipelineCommand.ts +++ b/clients/client-chime-sdk-media-pipelines/src/commands/CreateMediaLiveConnectorPipelineCommand.ts @@ -194,7 +194,7 @@ export interface CreateMediaLiveConnectorPipelineCommandOutput * // ], * // MediaPipelineId: "STRING_VALUE", * // MediaPipelineArn: "STRING_VALUE", - * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused", + * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused" || "NotStarted", * // CreatedTimestamp: new Date("TIMESTAMP"), * // UpdatedTimestamp: new Date("TIMESTAMP"), * // }, diff --git a/clients/client-chime-sdk-media-pipelines/src/commands/GetMediaCapturePipelineCommand.ts b/clients/client-chime-sdk-media-pipelines/src/commands/GetMediaCapturePipelineCommand.ts index 7291256569302..2cc0afabef2c5 100644 --- a/clients/client-chime-sdk-media-pipelines/src/commands/GetMediaCapturePipelineCommand.ts +++ b/clients/client-chime-sdk-media-pipelines/src/commands/GetMediaCapturePipelineCommand.ts @@ -62,7 +62,7 @@ export interface GetMediaCapturePipelineCommandOutput extends GetMediaCapturePip * // MediaPipelineArn: "STRING_VALUE", * // SourceType: "ChimeSdkMeeting", * // SourceArn: "STRING_VALUE", - * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused", + * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused" || "NotStarted", * // SinkType: "S3Bucket", * // SinkArn: "STRING_VALUE", * // CreatedTimestamp: new Date("TIMESTAMP"), diff --git a/clients/client-chime-sdk-media-pipelines/src/commands/GetMediaInsightsPipelineConfigurationCommand.ts b/clients/client-chime-sdk-media-pipelines/src/commands/GetMediaInsightsPipelineConfigurationCommand.ts index ce3d21981d2ba..0e8b45dca4220 100644 --- a/clients/client-chime-sdk-media-pipelines/src/commands/GetMediaInsightsPipelineConfigurationCommand.ts +++ b/clients/client-chime-sdk-media-pipelines/src/commands/GetMediaInsightsPipelineConfigurationCommand.ts @@ -92,7 +92,7 @@ export interface GetMediaInsightsPipelineConfigurationCommandOutput * // }, * // Elements: [ // MediaInsightsPipelineConfigurationElements * // { // MediaInsightsPipelineConfigurationElement - * // Type: "AmazonTranscribeCallAnalyticsProcessor" || "VoiceAnalyticsProcessor" || "AmazonTranscribeProcessor" || "KinesisDataStreamSink" || "LambdaFunctionSink" || "SqsQueueSink" || "SnsTopicSink" || "S3RecordingSink", // required + * // Type: "AmazonTranscribeCallAnalyticsProcessor" || "VoiceAnalyticsProcessor" || "AmazonTranscribeProcessor" || "KinesisDataStreamSink" || "LambdaFunctionSink" || "SqsQueueSink" || "SnsTopicSink" || "S3RecordingSink" || "VoiceEnhancementSink", // required * // AmazonTranscribeCallAnalyticsProcessorConfiguration: { // AmazonTranscribeCallAnalyticsProcessorConfiguration * // LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR", // required * // VocabularyName: "STRING_VALUE", @@ -154,6 +154,9 @@ export interface GetMediaInsightsPipelineConfigurationCommandOutput * // SnsTopicSinkConfiguration: { // SnsTopicSinkConfiguration * // InsightsTarget: "STRING_VALUE", * // }, + * // VoiceEnhancementSinkConfiguration: { // VoiceEnhancementSinkConfiguration + * // Disabled: true || false, + * // }, * // }, * // ], * // MediaInsightsPipelineConfigurationId: "STRING_VALUE", diff --git a/clients/client-chime-sdk-media-pipelines/src/commands/GetMediaPipelineCommand.ts b/clients/client-chime-sdk-media-pipelines/src/commands/GetMediaPipelineCommand.ts index 1cc1ecb3c20c6..807bed318d459 100644 --- a/clients/client-chime-sdk-media-pipelines/src/commands/GetMediaPipelineCommand.ts +++ b/clients/client-chime-sdk-media-pipelines/src/commands/GetMediaPipelineCommand.ts @@ -63,7 +63,7 @@ export interface GetMediaPipelineCommandOutput extends GetMediaPipelineResponse, * // MediaPipelineArn: "STRING_VALUE", * // SourceType: "ChimeSdkMeeting", * // SourceArn: "STRING_VALUE", - * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused", + * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused" || "NotStarted", * // SinkType: "S3Bucket", * // SinkArn: "STRING_VALUE", * // CreatedTimestamp: new Date("TIMESTAMP"), @@ -190,7 +190,7 @@ export interface GetMediaPipelineCommandOutput extends GetMediaPipelineResponse, * // ], * // MediaPipelineId: "STRING_VALUE", * // MediaPipelineArn: "STRING_VALUE", - * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused", + * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused" || "NotStarted", * // CreatedTimestamp: new Date("TIMESTAMP"), * // UpdatedTimestamp: new Date("TIMESTAMP"), * // }, @@ -238,7 +238,7 @@ export interface GetMediaPipelineCommandOutput extends GetMediaPipelineResponse, * // }, * // }, * // ], - * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused", + * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused" || "NotStarted", * // CreatedTimestamp: new Date("TIMESTAMP"), * // UpdatedTimestamp: new Date("TIMESTAMP"), * // }, @@ -246,7 +246,7 @@ export interface GetMediaPipelineCommandOutput extends GetMediaPipelineResponse, * // MediaPipelineId: "STRING_VALUE", * // MediaPipelineArn: "STRING_VALUE", * // MediaInsightsPipelineConfigurationArn: "STRING_VALUE", - * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused", + * // Status: "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused" || "NotStarted", * // KinesisVideoStreamSourceRuntimeConfiguration: { // KinesisVideoStreamSourceRuntimeConfiguration * // Streams: [ // Streams // required * // { // StreamConfiguration @@ -288,6 +288,12 @@ export interface GetMediaPipelineCommandOutput extends GetMediaPipelineResponse, * // RecordingFileFormat: "Wav" || "Opus", // required * // }, * // CreatedTimestamp: new Date("TIMESTAMP"), + * // ElementStatuses: [ // MediaInsightsPipelineElementStatuses + * // { // MediaInsightsPipelineElementStatus + * // Type: "AmazonTranscribeCallAnalyticsProcessor" || "VoiceAnalyticsProcessor" || "AmazonTranscribeProcessor" || "KinesisDataStreamSink" || "LambdaFunctionSink" || "SqsQueueSink" || "SnsTopicSink" || "S3RecordingSink" || "VoiceEnhancementSink", + * // Status: "NotStarted" || "NotSupported" || "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped" || "Paused", + * // }, + * // ], * // }, * // }, * // }; diff --git a/clients/client-chime-sdk-media-pipelines/src/commands/UpdateMediaInsightsPipelineConfigurationCommand.ts b/clients/client-chime-sdk-media-pipelines/src/commands/UpdateMediaInsightsPipelineConfigurationCommand.ts index d6be2ddcffe4a..cabf50ec55ef4 100644 --- a/clients/client-chime-sdk-media-pipelines/src/commands/UpdateMediaInsightsPipelineConfigurationCommand.ts +++ b/clients/client-chime-sdk-media-pipelines/src/commands/UpdateMediaInsightsPipelineConfigurationCommand.ts @@ -86,7 +86,7 @@ export interface UpdateMediaInsightsPipelineConfigurationCommandOutput * }, * Elements: [ // MediaInsightsPipelineConfigurationElements // required * { // MediaInsightsPipelineConfigurationElement - * Type: "AmazonTranscribeCallAnalyticsProcessor" || "VoiceAnalyticsProcessor" || "AmazonTranscribeProcessor" || "KinesisDataStreamSink" || "LambdaFunctionSink" || "SqsQueueSink" || "SnsTopicSink" || "S3RecordingSink", // required + * Type: "AmazonTranscribeCallAnalyticsProcessor" || "VoiceAnalyticsProcessor" || "AmazonTranscribeProcessor" || "KinesisDataStreamSink" || "LambdaFunctionSink" || "SqsQueueSink" || "SnsTopicSink" || "S3RecordingSink" || "VoiceEnhancementSink", // required * AmazonTranscribeCallAnalyticsProcessorConfiguration: { // AmazonTranscribeCallAnalyticsProcessorConfiguration * LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR", // required * VocabularyName: "STRING_VALUE", @@ -148,6 +148,9 @@ export interface UpdateMediaInsightsPipelineConfigurationCommandOutput * SnsTopicSinkConfiguration: { // SnsTopicSinkConfiguration * InsightsTarget: "STRING_VALUE", * }, + * VoiceEnhancementSinkConfiguration: { // VoiceEnhancementSinkConfiguration + * Disabled: true || false, + * }, * }, * ], * }; @@ -183,7 +186,7 @@ export interface UpdateMediaInsightsPipelineConfigurationCommandOutput * // }, * // Elements: [ // MediaInsightsPipelineConfigurationElements * // { // MediaInsightsPipelineConfigurationElement - * // Type: "AmazonTranscribeCallAnalyticsProcessor" || "VoiceAnalyticsProcessor" || "AmazonTranscribeProcessor" || "KinesisDataStreamSink" || "LambdaFunctionSink" || "SqsQueueSink" || "SnsTopicSink" || "S3RecordingSink", // required + * // Type: "AmazonTranscribeCallAnalyticsProcessor" || "VoiceAnalyticsProcessor" || "AmazonTranscribeProcessor" || "KinesisDataStreamSink" || "LambdaFunctionSink" || "SqsQueueSink" || "SnsTopicSink" || "S3RecordingSink" || "VoiceEnhancementSink", // required * // AmazonTranscribeCallAnalyticsProcessorConfiguration: { // AmazonTranscribeCallAnalyticsProcessorConfiguration * // LanguageCode: "en-US" || "en-GB" || "es-US" || "fr-CA" || "fr-FR" || "en-AU" || "it-IT" || "de-DE" || "pt-BR", // required * // VocabularyName: "STRING_VALUE", @@ -245,6 +248,9 @@ export interface UpdateMediaInsightsPipelineConfigurationCommandOutput * // SnsTopicSinkConfiguration: { // SnsTopicSinkConfiguration * // InsightsTarget: "STRING_VALUE", * // }, + * // VoiceEnhancementSinkConfiguration: { // VoiceEnhancementSinkConfiguration + * // Disabled: true || false, + * // }, * // }, * // ], * // MediaInsightsPipelineConfigurationId: "STRING_VALUE", diff --git a/clients/client-chime-sdk-media-pipelines/src/endpoint/ruleset.ts b/clients/client-chime-sdk-media-pipelines/src/endpoint/ruleset.ts index 77b1fbf635966..bf1b52dd6d605 100644 --- a/clients/client-chime-sdk-media-pipelines/src/endpoint/ruleset.ts +++ b/clients/client-chime-sdk-media-pipelines/src/endpoint/ruleset.ts @@ -26,5 +26,5 @@ m={[r]:"booleanEquals",[s]:[true,{[r]:"getAttr",[s]:[{[t]:e},"supportsDualStack" n=[i], o=[j], p=[{[t]:"Region"}]; -const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{type:b,rules:[{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]}]},{type:b,rules:[{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://media-pipelines-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://media-pipelines-chime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{type:b,rules:[{endpoint:{url:"https://media-pipelines-chime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{type:b,rules:[{endpoint:{url:"https://media-pipelines-chime.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}]}; +const _data={version:"1.0",parameters:{Region:f,UseDualStack:g,UseFIPS:g,Endpoint:f},rules:[{conditions:[{[r]:a,[s]:[h]}],type:b,rules:[{conditions:n,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:c},{conditions:o,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:c},{endpoint:{url:h,properties:k,headers:k},type:d}]},{conditions:[{[r]:a,[s]:p}],type:b,rules:[{conditions:[{[r]:"aws.partition",[s]:p,assign:e}],type:b,rules:[{conditions:[i,j],type:b,rules:[{conditions:[l,m],type:b,rules:[{endpoint:{url:"https://media-pipelines-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:c}]},{conditions:n,type:b,rules:[{conditions:[l],type:b,rules:[{endpoint:{url:"https://media-pipelines-chime-fips.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]},{error:"FIPS is enabled but this partition does not support FIPS",type:c}]},{conditions:o,type:b,rules:[{conditions:[m],type:b,rules:[{endpoint:{url:"https://media-pipelines-chime.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:k,headers:k},type:d}]},{error:"DualStack is enabled but this partition does not support DualStack",type:c}]},{endpoint:{url:"https://media-pipelines-chime.{Region}.{PartitionResult#dnsSuffix}",properties:k,headers:k},type:d}]}]},{error:"Invalid Configuration: Missing Region",type:c}]}; export const ruleSet: RuleSetObject = _data; diff --git a/clients/client-chime-sdk-media-pipelines/src/models/models_0.ts b/clients/client-chime-sdk-media-pipelines/src/models/models_0.ts index 684f05e057f95..116c46e0a5d7e 100644 --- a/clients/client-chime-sdk-media-pipelines/src/models/models_0.ts +++ b/clients/client-chime-sdk-media-pipelines/src/models/models_0.ts @@ -734,7 +734,7 @@ export type VerticalTilePosition = (typeof VerticalTilePosition)[keyof typeof Ve /** * @public - *

Defines the configuration settings for a vertial layout.

+ *

Defines the configuration settings for a vertical layout.

*/ export interface VerticalLayoutConfiguration { /** @@ -1279,6 +1279,7 @@ export const MediaPipelineStatus = { Failed: "Failed", InProgress: "InProgress", Initializing: "Initializing", + NotStarted: "NotStarted", Paused: "Paused", Stopped: "Stopped", Stopping: "Stopping", @@ -2007,6 +2008,66 @@ export interface CreateMediaInsightsPipelineRequest { ClientRequestToken?: string; } +/** + * @public + * @enum + */ +export const MediaPipelineElementStatus = { + Failed: "Failed", + InProgress: "InProgress", + Initializing: "Initializing", + NotStarted: "NotStarted", + NotSupported: "NotSupported", + Paused: "Paused", + Stopped: "Stopped", + Stopping: "Stopping", +} as const; + +/** + * @public + */ +export type MediaPipelineElementStatus = (typeof MediaPipelineElementStatus)[keyof typeof MediaPipelineElementStatus]; + +/** + * @public + * @enum + */ +export const MediaInsightsPipelineConfigurationElementType = { + AMAZON_TRANSCRIBE_CALL_ANALYTICS_PROCESSOR: "AmazonTranscribeCallAnalyticsProcessor", + AMAZON_TRANSCRIBE_PROCESSOR: "AmazonTranscribeProcessor", + KINESIS_DATA_STREAM_SINK: "KinesisDataStreamSink", + LAMBDA_FUNCTION_SINK: "LambdaFunctionSink", + S3_RECORDING_SINK: "S3RecordingSink", + SNS_TOPIC_SINK: "SnsTopicSink", + SQS_QUEUE_SINK: "SqsQueueSink", + VOICE_ANALYTICS_PROCESSOR: "VoiceAnalyticsProcessor", + VOICE_ENHANCEMENT_SINK: "VoiceEnhancementSink", +} as const; + +/** + * @public + */ +export type MediaInsightsPipelineConfigurationElementType = + (typeof MediaInsightsPipelineConfigurationElementType)[keyof typeof MediaInsightsPipelineConfigurationElementType]; + +/** + * @public + *

The status of the pipeline element.

+ */ +export interface MediaInsightsPipelineElementStatus { + /** + * @public + *

The type of status.

+ */ + Type?: MediaInsightsPipelineConfigurationElementType | string; + + /** + * @public + *

The element's status.

+ */ + Status?: MediaPipelineElementStatus | string; +} + /** * @public *

A media pipeline that streams call analytics data.

@@ -2065,6 +2126,12 @@ export interface MediaInsightsPipeline { *

The time at which the media insights pipeline was created.

*/ CreatedTimestamp?: Date; + + /** + * @public + *

The statuses that the elements in a media insights pipeline can have during data processing.

+ */ + ElementStatuses?: MediaInsightsPipelineElementStatus[]; } /** @@ -2174,27 +2241,6 @@ export interface SqsQueueSinkConfiguration { InsightsTarget?: string; } -/** - * @public - * @enum - */ -export const MediaInsightsPipelineConfigurationElementType = { - AMAZON_TRANSCRIBE_CALL_ANALYTICS_PROCESSOR: "AmazonTranscribeCallAnalyticsProcessor", - AMAZON_TRANSCRIBE_PROCESSOR: "AmazonTranscribeProcessor", - KINESIS_DATA_STREAM_SINK: "KinesisDataStreamSink", - LAMBDA_FUNCTION_SINK: "LambdaFunctionSink", - S3_RECORDING_SINK: "S3RecordingSink", - SNS_TOPIC_SINK: "SnsTopicSink", - SQS_QUEUE_SINK: "SqsQueueSink", - VOICE_ANALYTICS_PROCESSOR: "VoiceAnalyticsProcessor", -} as const; - -/** - * @public - */ -export type MediaInsightsPipelineConfigurationElementType = - (typeof MediaInsightsPipelineConfigurationElementType)[keyof typeof MediaInsightsPipelineConfigurationElementType]; - /** * @public * @enum @@ -2228,6 +2274,18 @@ export interface VoiceAnalyticsProcessorConfiguration { VoiceToneAnalysisStatus?: VoiceAnalyticsConfigurationStatus | string; } +/** + * @public + *

A static structure that contains the configuration data for a VoiceEnhancementSinkConfiguration element.

+ */ +export interface VoiceEnhancementSinkConfiguration { + /** + * @public + *

Disables the VoiceEnhancementSinkConfiguration element.

+ */ + Disabled?: boolean; +} + /** * @public *

An element in a media insights pipeline configuration.

@@ -2287,6 +2345,12 @@ export interface MediaInsightsPipelineConfigurationElement { *

The configuration settings for an SNS topic sink in a media insights pipeline configuration element.

*/ SnsTopicSinkConfiguration?: SnsTopicSinkConfiguration; + + /** + * @public + *

The configuration settings for the VoiceEnhancementSinkConfiguration element.

+ */ + VoiceEnhancementSinkConfiguration?: VoiceEnhancementSinkConfiguration; } /** diff --git a/clients/client-chime-sdk-media-pipelines/src/protocols/Aws_restJson1.ts b/clients/client-chime-sdk-media-pipelines/src/protocols/Aws_restJson1.ts index 9444d4b62a954..664bfddd7b55d 100644 --- a/clients/client-chime-sdk-media-pipelines/src/protocols/Aws_restJson1.ts +++ b/clients/client-chime-sdk-media-pipelines/src/protocols/Aws_restJson1.ts @@ -160,6 +160,7 @@ import { VideoAttribute, VideoConcatenationConfiguration, VoiceAnalyticsProcessorConfiguration, + VoiceEnhancementSinkConfiguration, } from "../models/models_0"; /** @@ -2342,6 +2343,8 @@ const se_TimestampRange = (input: TimestampRange, context: __SerdeContext): any // se_VoiceAnalyticsProcessorConfiguration omitted. +// se_VoiceEnhancementSinkConfiguration omitted. + // de_ActiveSpeakerOnlyConfiguration omitted. // de_AmazonTranscribeCallAnalyticsProcessorConfiguration omitted. @@ -2484,6 +2487,7 @@ const de_MediaConcatenationPipeline = (output: any, context: __SerdeContext): Me const de_MediaInsightsPipeline = (output: any, context: __SerdeContext): MediaInsightsPipeline => { return take(output, { CreatedTimestamp: (_: any) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), + ElementStatuses: _json, KinesisVideoStreamRecordingSourceRuntimeConfiguration: (_: any) => de_KinesisVideoStreamRecordingSourceRuntimeConfiguration(_, context), KinesisVideoStreamSourceRuntimeConfiguration: _json, @@ -2523,6 +2527,10 @@ const de_MediaInsightsPipelineConfiguration = ( // de_MediaInsightsPipelineConfigurationSummaryList omitted. +// de_MediaInsightsPipelineElementStatus omitted. + +// de_MediaInsightsPipelineElementStatuses omitted. + // de_MediaInsightsRuntimeMetadata omitted. /** @@ -2620,6 +2628,8 @@ const de_TimestampRange = (output: any, context: __SerdeContext): TimestampRange // de_VoiceAnalyticsProcessorConfiguration omitted. +// de_VoiceEnhancementSinkConfiguration omitted. + const deserializeMetadata = (output: __HttpResponse): __ResponseMetadata => ({ httpStatusCode: output.statusCode, requestId: diff --git a/codegen/sdk-codegen/aws-models/chime-sdk-media-pipelines.json b/codegen/sdk-codegen/aws-models/chime-sdk-media-pipelines.json index 97c22700fd2b6..ad6f8405c7abf 100644 --- a/codegen/sdk-codegen/aws-models/chime-sdk-media-pipelines.json +++ b/codegen/sdk-codegen/aws-models/chime-sdk-media-pipelines.json @@ -876,52 +876,56 @@ "type": "error" }, { - "conditions": [], - "type": "tree", - "rules": [ + "conditions": [ { - "conditions": [ + "fn": "booleanEquals", + "argv": [ { - "fn": "booleanEquals", - "argv": [ - { - "ref": "UseDualStack" - }, - true - ] - } - ], - "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", - "type": "error" - }, - { - "conditions": [], - "endpoint": { - "url": { - "ref": "Endpoint" + "ref": "UseDualStack" }, - "properties": {}, - "headers": {} - }, - "type": "endpoint" + true + ] } - ] + ], + "error": "Invalid Configuration: Dualstack and custom endpoint are not supported", + "type": "error" + }, + { + "conditions": [], + "endpoint": { + "url": { + "ref": "Endpoint" + }, + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, { - "conditions": [], + "conditions": [ + { + "fn": "isSet", + "argv": [ + { + "ref": "Region" + } + ] + } + ], "type": "tree", "rules": [ { "conditions": [ { - "fn": "isSet", + "fn": "aws.partition", "argv": [ { "ref": "Region" } - ] + ], + "assign": "PartitionResult" } ], "type": "tree", @@ -929,13 +933,22 @@ { "conditions": [ { - "fn": "aws.partition", + "fn": "booleanEquals", "argv": [ { - "ref": "Region" - } - ], - "assign": "PartitionResult" + "ref": "UseFIPS" + }, + true + ] + }, + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] } ], "type": "tree", @@ -945,224 +958,175 @@ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true + "fn": "getAttr", + "argv": [ + { + "ref": "PartitionResult" + }, + "supportsFIPS" + ] + } ] }, { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - }, - { - "fn": "booleanEquals", - "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://media-pipelines-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS and DualStack are enabled, but this partition does not support one or both", - "type": "error" + "endpoint": { + "url": "https://media-pipelines-chime-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS and DualStack are enabled, but this partition does not support one or both", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseFIPS" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseFIPS" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, - { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsFIPS" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ { - "conditions": [], - "endpoint": { - "url": "https://media-pipelines-chime-fips.{Region}.{PartitionResult#dnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsFIPS" ] } ] - }, + } + ], + "type": "tree", + "rules": [ { "conditions": [], - "error": "FIPS is enabled but this partition does not support FIPS", - "type": "error" + "endpoint": { + "url": "https://media-pipelines-chime-fips.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] }, + { + "conditions": [], + "error": "FIPS is enabled but this partition does not support FIPS", + "type": "error" + } + ] + }, + { + "conditions": [ + { + "fn": "booleanEquals", + "argv": [ + { + "ref": "UseDualStack" + }, + true + ] + } + ], + "type": "tree", + "rules": [ { "conditions": [ { "fn": "booleanEquals", "argv": [ + true, { - "ref": "UseDualStack" - }, - true - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [ - { - "fn": "booleanEquals", + "fn": "getAttr", "argv": [ - true, { - "fn": "getAttr", - "argv": [ - { - "ref": "PartitionResult" - }, - "supportsDualStack" - ] - } - ] - } - ], - "type": "tree", - "rules": [ - { - "conditions": [], - "type": "tree", - "rules": [ - { - "conditions": [], - "endpoint": { - "url": "https://media-pipelines-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", - "properties": {}, - "headers": {} - }, - "type": "endpoint" - } + "ref": "PartitionResult" + }, + "supportsDualStack" ] } ] - }, - { - "conditions": [], - "error": "DualStack is enabled but this partition does not support DualStack", - "type": "error" } - ] - }, - { - "conditions": [], + ], "type": "tree", "rules": [ { "conditions": [], "endpoint": { - "url": "https://media-pipelines-chime.{Region}.{PartitionResult#dnsSuffix}", + "url": "https://media-pipelines-chime.{Region}.{PartitionResult#dualStackDnsSuffix}", "properties": {}, "headers": {} }, "type": "endpoint" } ] + }, + { + "conditions": [], + "error": "DualStack is enabled but this partition does not support DualStack", + "type": "error" } ] + }, + { + "conditions": [], + "endpoint": { + "url": "https://media-pipelines-chime.{Region}.{PartitionResult#dnsSuffix}", + "properties": {}, + "headers": {} + }, + "type": "endpoint" } ] - }, - { - "conditions": [], - "error": "Invalid Configuration: Missing Region", - "type": "error" } ] + }, + { + "conditions": [], + "error": "Invalid Configuration: Missing Region", + "type": "error" } ] }, @@ -3949,6 +3913,12 @@ "traits": { "smithy.api#documentation": "

The time at which the media insights pipeline was created.

" } + }, + "ElementStatuses": { + "target": "com.amazonaws.chimesdkmediapipelines#MediaInsightsPipelineElementStatuses", + "traits": { + "smithy.api#documentation": "

The statuses that the elements in a media insights pipeline can have during data processing.

" + } } }, "traits": { @@ -4068,6 +4038,12 @@ "traits": { "smithy.api#documentation": "

The configuration settings for an SNS topic sink in a media insights pipeline configuration element.

" } + }, + "VoiceEnhancementSinkConfiguration": { + "target": "com.amazonaws.chimesdkmediapipelines#VoiceEnhancementSinkConfiguration", + "traits": { + "smithy.api#documentation": "

The configuration settings for the VoiceEnhancementSinkConfiguration element.

" + } } }, "traits": { @@ -4124,6 +4100,12 @@ "traits": { "smithy.api#enumValue": "S3RecordingSink" } + }, + "VOICE_ENHANCEMENT_SINK": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "VoiceEnhancementSink" + } } } }, @@ -4175,6 +4157,32 @@ "target": "com.amazonaws.chimesdkmediapipelines#MediaInsightsPipelineConfigurationSummary" } }, + "com.amazonaws.chimesdkmediapipelines#MediaInsightsPipelineElementStatus": { + "type": "structure", + "members": { + "Type": { + "target": "com.amazonaws.chimesdkmediapipelines#MediaInsightsPipelineConfigurationElementType", + "traits": { + "smithy.api#documentation": "

The type of status.

" + } + }, + "Status": { + "target": "com.amazonaws.chimesdkmediapipelines#MediaPipelineElementStatus", + "traits": { + "smithy.api#documentation": "

The element's status.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

The status of the pipeline element.

" + } + }, + "com.amazonaws.chimesdkmediapipelines#MediaInsightsPipelineElementStatuses": { + "type": "list", + "member": { + "target": "com.amazonaws.chimesdkmediapipelines#MediaInsightsPipelineElementStatus" + } + }, "com.amazonaws.chimesdkmediapipelines#MediaInsightsRuntimeMetadata": { "type": "map", "key": { @@ -4269,6 +4277,59 @@ "smithy.api#documentation": "

A pipeline consisting of a media capture, media concatenation, or live-streaming pipeline.

" } }, + "com.amazonaws.chimesdkmediapipelines#MediaPipelineElementStatus": { + "type": "enum", + "members": { + "NotStarted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotStarted" + } + }, + "NotSupported": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotSupported" + } + }, + "Initializing": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Initializing" + } + }, + "InProgress": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "InProgress" + } + }, + "Failed": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Failed" + } + }, + "Stopping": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Stopping" + } + }, + "Stopped": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Stopped" + } + }, + "Paused": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "Paused" + } + } + } + }, "com.amazonaws.chimesdkmediapipelines#MediaPipelineList": { "type": "list", "member": { @@ -4335,6 +4396,12 @@ "traits": { "smithy.api#enumValue": "Paused" } + }, + "NotStarted": { + "target": "smithy.api#Unit", + "traits": { + "smithy.api#enumValue": "NotStarted" + } } } }, @@ -5568,7 +5635,7 @@ } }, "traits": { - "smithy.api#documentation": "

Defines the configuration settings for a vertial layout.

" + "smithy.api#documentation": "

Defines the configuration settings for a vertical layout.

" } }, "com.amazonaws.chimesdkmediapipelines#VerticalTilePosition": { @@ -5766,6 +5833,21 @@ "traits": { "smithy.api#documentation": "

The configuration settings for a voice analytics processor.

" } + }, + "com.amazonaws.chimesdkmediapipelines#VoiceEnhancementSinkConfiguration": { + "type": "structure", + "members": { + "Disabled": { + "target": "com.amazonaws.chimesdkmediapipelines#Boolean", + "traits": { + "smithy.api#default": false, + "smithy.api#documentation": "

Disables the VoiceEnhancementSinkConfiguration element.

" + } + } + }, + "traits": { + "smithy.api#documentation": "

A static structure that contains the configuration data for a VoiceEnhancementSinkConfiguration element.

" + } } } }