@aws-sdk/client-chime-sdk-media-pipelines 3.404.0 → 3.408.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -0
- package/dist-cjs/ChimeSDKMediaPipelines.js +12 -0
- package/dist-cjs/commands/GetSpeakerSearchTaskCommand.js +46 -0
- package/dist-cjs/commands/GetVoiceToneAnalysisTaskCommand.js +46 -0
- package/dist-cjs/commands/StartSpeakerSearchTaskCommand.js +47 -0
- package/dist-cjs/commands/StartVoiceToneAnalysisTaskCommand.js +47 -0
- package/dist-cjs/commands/StopSpeakerSearchTaskCommand.js +46 -0
- package/dist-cjs/commands/StopVoiceToneAnalysisTaskCommand.js +46 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +23 -1
- package/dist-cjs/protocols/Aws_restJson1.js +478 -1
- package/dist-es/ChimeSDKMediaPipelines.js +12 -0
- package/dist-es/commands/GetSpeakerSearchTaskCommand.js +42 -0
- package/dist-es/commands/GetVoiceToneAnalysisTaskCommand.js +42 -0
- package/dist-es/commands/StartSpeakerSearchTaskCommand.js +43 -0
- package/dist-es/commands/StartVoiceToneAnalysisTaskCommand.js +43 -0
- package/dist-es/commands/StopSpeakerSearchTaskCommand.js +42 -0
- package/dist-es/commands/StopVoiceToneAnalysisTaskCommand.js +42 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +20 -0
- package/dist-es/protocols/Aws_restJson1.js +465 -0
- package/dist-types/ChimeSDKMediaPipelines.d.ts +42 -0
- package/dist-types/ChimeSDKMediaPipelinesClient.d.ts +8 -2
- package/dist-types/commands/DeleteMediaPipelineCommand.d.ts +4 -0
- package/dist-types/commands/GetSpeakerSearchTaskCommand.d.ts +100 -0
- package/dist-types/commands/GetVoiceToneAnalysisTaskCommand.d.ts +100 -0
- package/dist-types/commands/StartSpeakerSearchTaskCommand.d.ts +114 -0
- package/dist-types/commands/StartVoiceToneAnalysisTaskCommand.d.ts +116 -0
- package/dist-types/commands/StopSpeakerSearchTaskCommand.d.ts +97 -0
- package/dist-types/commands/StopVoiceToneAnalysisTaskCommand.d.ts +97 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +263 -2
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/ChimeSDKMediaPipelines.d.ts +102 -0
- package/dist-types/ts3.4/ChimeSDKMediaPipelinesClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetSpeakerSearchTaskCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetVoiceToneAnalysisTaskCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartSpeakerSearchTaskCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartVoiceToneAnalysisTaskCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopSpeakerSearchTaskCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/StopVoiceToneAnalysisTaskCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +78 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +15 -15
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { StartSpeakerSearchTaskRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_StartSpeakerSearchTaskCommand, se_StartSpeakerSearchTaskCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartSpeakerSearchTaskCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartSpeakerSearchTaskCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ChimeSDKMediaPipelinesClient";
|
|
26
|
+
const commandName = "StartSpeakerSearchTaskCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: StartSpeakerSearchTaskRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_StartSpeakerSearchTaskCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_StartSpeakerSearchTaskCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { StartVoiceToneAnalysisTaskRequestFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { de_StartVoiceToneAnalysisTaskCommand, se_StartVoiceToneAnalysisTaskCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartVoiceToneAnalysisTaskCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartVoiceToneAnalysisTaskCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "ChimeSDKMediaPipelinesClient";
|
|
26
|
+
const commandName = "StartVoiceToneAnalysisTaskCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: StartVoiceToneAnalysisTaskRequestFilterSensitiveLog,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
};
|
|
34
|
+
const { requestHandler } = configuration;
|
|
35
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
36
|
+
}
|
|
37
|
+
serialize(input, context) {
|
|
38
|
+
return se_StartVoiceToneAnalysisTaskCommand(input, context);
|
|
39
|
+
}
|
|
40
|
+
deserialize(output, context) {
|
|
41
|
+
return de_StartVoiceToneAnalysisTaskCommand(output, context);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_StopSpeakerSearchTaskCommand, se_StopSpeakerSearchTaskCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StopSpeakerSearchTaskCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StopSpeakerSearchTaskCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ChimeSDKMediaPipelinesClient";
|
|
25
|
+
const commandName = "StopSpeakerSearchTaskCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StopSpeakerSearchTaskCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StopSpeakerSearchTaskCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { de_StopVoiceToneAnalysisTaskCommand, se_StopVoiceToneAnalysisTaskCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class StopVoiceToneAnalysisTaskCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StopVoiceToneAnalysisTaskCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "ChimeSDKMediaPipelinesClient";
|
|
25
|
+
const commandName = "StopVoiceToneAnalysisTaskCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_StopVoiceToneAnalysisTaskCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_StopVoiceToneAnalysisTaskCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -9,10 +9,16 @@ export * from "./DeleteMediaPipelineCommand";
|
|
|
9
9
|
export * from "./GetMediaCapturePipelineCommand";
|
|
10
10
|
export * from "./GetMediaInsightsPipelineConfigurationCommand";
|
|
11
11
|
export * from "./GetMediaPipelineCommand";
|
|
12
|
+
export * from "./GetSpeakerSearchTaskCommand";
|
|
13
|
+
export * from "./GetVoiceToneAnalysisTaskCommand";
|
|
12
14
|
export * from "./ListMediaCapturePipelinesCommand";
|
|
13
15
|
export * from "./ListMediaInsightsPipelineConfigurationsCommand";
|
|
14
16
|
export * from "./ListMediaPipelinesCommand";
|
|
15
17
|
export * from "./ListTagsForResourceCommand";
|
|
18
|
+
export * from "./StartSpeakerSearchTaskCommand";
|
|
19
|
+
export * from "./StartVoiceToneAnalysisTaskCommand";
|
|
20
|
+
export * from "./StopSpeakerSearchTaskCommand";
|
|
21
|
+
export * from "./StopVoiceToneAnalysisTaskCommand";
|
|
16
22
|
export * from "./TagResourceCommand";
|
|
17
23
|
export * from "./UntagResourceCommand";
|
|
18
24
|
export * from "./UpdateMediaInsightsPipelineConfigurationCommand";
|
|
@@ -334,6 +334,17 @@ export class ConflictException extends __BaseException {
|
|
|
334
334
|
this.RequestId = opts.RequestId;
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
+
export const MediaPipelineTaskStatus = {
|
|
338
|
+
Failed: "Failed",
|
|
339
|
+
InProgress: "InProgress",
|
|
340
|
+
Initializing: "Initializing",
|
|
341
|
+
NotStarted: "NotStarted",
|
|
342
|
+
Stopped: "Stopped",
|
|
343
|
+
Stopping: "Stopping",
|
|
344
|
+
};
|
|
345
|
+
export const VoiceAnalyticsLanguageCode = {
|
|
346
|
+
EN_US: "en-US",
|
|
347
|
+
};
|
|
337
348
|
export const MediaPipelineStatusUpdate = {
|
|
338
349
|
Pause: "Pause",
|
|
339
350
|
Resume: "Resume",
|
|
@@ -583,6 +594,15 @@ export const ListMediaInsightsPipelineConfigurationsResponseFilterSensitiveLog =
|
|
|
583
594
|
MediaInsightsPipelineConfigurations: obj.MediaInsightsPipelineConfigurations.map((item) => MediaInsightsPipelineConfigurationSummaryFilterSensitiveLog(item)),
|
|
584
595
|
}),
|
|
585
596
|
});
|
|
597
|
+
export const StartSpeakerSearchTaskRequestFilterSensitiveLog = (obj) => ({
|
|
598
|
+
...obj,
|
|
599
|
+
...(obj.VoiceProfileDomainArn && { VoiceProfileDomainArn: SENSITIVE_STRING }),
|
|
600
|
+
...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }),
|
|
601
|
+
});
|
|
602
|
+
export const StartVoiceToneAnalysisTaskRequestFilterSensitiveLog = (obj) => ({
|
|
603
|
+
...obj,
|
|
604
|
+
...(obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }),
|
|
605
|
+
});
|
|
586
606
|
export const UpdateMediaInsightsPipelineConfigurationRequestFilterSensitiveLog = (obj) => ({
|
|
587
607
|
...obj,
|
|
588
608
|
...(obj.ResourceAccessRoleArn && { ResourceAccessRoleArn: SENSITIVE_STRING }),
|