Skip to content

Commit

Permalink
feat(client-chime-sdk-media-pipelines): This release adds support for…
Browse files Browse the repository at this point in the history
… feature Voice Enhancement for Call Recording as part of Amazon Chime SDK call analytics.
  • Loading branch information
awstools committed Aug 31, 2023
1 parent 6f8e057 commit c0abf69
Show file tree
Hide file tree
Showing 13 changed files with 411 additions and 228 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
* // },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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",
* // },
* // ],
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -149,6 +149,9 @@ export interface CreateMediaInsightsPipelineConfigurationCommandOutput
* SnsTopicSinkConfiguration: { // SnsTopicSinkConfiguration
* InsightsTarget: "STRING_VALUE",
* },
* VoiceEnhancementSinkConfiguration: { // VoiceEnhancementSinkConfiguration
* Disabled: true || false,
* },
* },
* ],
* Tags: [ // TagList
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -253,6 +256,9 @@ export interface CreateMediaInsightsPipelineConfigurationCommandOutput
* // SnsTopicSinkConfiguration: { // SnsTopicSinkConfiguration
* // InsightsTarget: "STRING_VALUE",
* // },
* // VoiceEnhancementSinkConfiguration: { // VoiceEnhancementSinkConfiguration
* // Disabled: true || false,
* // },
* // },
* // ],
* // MediaInsightsPipelineConfigurationId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
* // },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -154,6 +154,9 @@ export interface GetMediaInsightsPipelineConfigurationCommandOutput
* // SnsTopicSinkConfiguration: { // SnsTopicSinkConfiguration
* // InsightsTarget: "STRING_VALUE",
* // },
* // VoiceEnhancementSinkConfiguration: { // VoiceEnhancementSinkConfiguration
* // Disabled: true || false,
* // },
* // },
* // ],
* // MediaInsightsPipelineConfigurationId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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"),
* // },
Expand Down Expand Up @@ -238,15 +238,15 @@ 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"),
* // },
* // MediaInsightsPipeline: { // MediaInsightsPipeline
* // 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
Expand Down Expand Up @@ -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",
* // },
* // ],
* // },
* // },
* // };
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -148,6 +148,9 @@ export interface UpdateMediaInsightsPipelineConfigurationCommandOutput
* SnsTopicSinkConfiguration: { // SnsTopicSinkConfiguration
* InsightsTarget: "STRING_VALUE",
* },
* VoiceEnhancementSinkConfiguration: { // VoiceEnhancementSinkConfiguration
* Disabled: true || false,
* },
* },
* ],
* };
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -245,6 +248,9 @@ export interface UpdateMediaInsightsPipelineConfigurationCommandOutput
* // SnsTopicSinkConfiguration: { // SnsTopicSinkConfiguration
* // InsightsTarget: "STRING_VALUE",
* // },
* // VoiceEnhancementSinkConfiguration: { // VoiceEnhancementSinkConfiguration
* // Disabled: true || false,
* // },
* // },
* // ],
* // MediaInsightsPipelineConfigurationId: "STRING_VALUE",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Loading

0 comments on commit c0abf69

Please sign in to comment.