@aws-sdk/client-chime-sdk-media-pipelines 3.404.0 → 3.405.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.
Files changed (45) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/ChimeSDKMediaPipelines.js +12 -0
  3. package/dist-cjs/commands/GetSpeakerSearchTaskCommand.js +46 -0
  4. package/dist-cjs/commands/GetVoiceToneAnalysisTaskCommand.js +46 -0
  5. package/dist-cjs/commands/StartSpeakerSearchTaskCommand.js +47 -0
  6. package/dist-cjs/commands/StartVoiceToneAnalysisTaskCommand.js +47 -0
  7. package/dist-cjs/commands/StopSpeakerSearchTaskCommand.js +46 -0
  8. package/dist-cjs/commands/StopVoiceToneAnalysisTaskCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/models/models_0.js +23 -1
  11. package/dist-cjs/protocols/Aws_restJson1.js +478 -1
  12. package/dist-es/ChimeSDKMediaPipelines.js +12 -0
  13. package/dist-es/commands/GetSpeakerSearchTaskCommand.js +42 -0
  14. package/dist-es/commands/GetVoiceToneAnalysisTaskCommand.js +42 -0
  15. package/dist-es/commands/StartSpeakerSearchTaskCommand.js +43 -0
  16. package/dist-es/commands/StartVoiceToneAnalysisTaskCommand.js +43 -0
  17. package/dist-es/commands/StopSpeakerSearchTaskCommand.js +42 -0
  18. package/dist-es/commands/StopVoiceToneAnalysisTaskCommand.js +42 -0
  19. package/dist-es/commands/index.js +6 -0
  20. package/dist-es/models/models_0.js +20 -0
  21. package/dist-es/protocols/Aws_restJson1.js +465 -0
  22. package/dist-types/ChimeSDKMediaPipelines.d.ts +42 -0
  23. package/dist-types/ChimeSDKMediaPipelinesClient.d.ts +8 -2
  24. package/dist-types/commands/DeleteMediaPipelineCommand.d.ts +4 -0
  25. package/dist-types/commands/GetSpeakerSearchTaskCommand.d.ts +100 -0
  26. package/dist-types/commands/GetVoiceToneAnalysisTaskCommand.d.ts +100 -0
  27. package/dist-types/commands/StartSpeakerSearchTaskCommand.d.ts +114 -0
  28. package/dist-types/commands/StartVoiceToneAnalysisTaskCommand.d.ts +116 -0
  29. package/dist-types/commands/StopSpeakerSearchTaskCommand.d.ts +97 -0
  30. package/dist-types/commands/StopVoiceToneAnalysisTaskCommand.d.ts +97 -0
  31. package/dist-types/commands/index.d.ts +6 -0
  32. package/dist-types/models/models_0.d.ts +263 -2
  33. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  34. package/dist-types/ts3.4/ChimeSDKMediaPipelines.d.ts +102 -0
  35. package/dist-types/ts3.4/ChimeSDKMediaPipelinesClient.d.ts +36 -0
  36. package/dist-types/ts3.4/commands/GetSpeakerSearchTaskCommand.d.ts +42 -0
  37. package/dist-types/ts3.4/commands/GetVoiceToneAnalysisTaskCommand.d.ts +42 -0
  38. package/dist-types/ts3.4/commands/StartSpeakerSearchTaskCommand.d.ts +42 -0
  39. package/dist-types/ts3.4/commands/StartVoiceToneAnalysisTaskCommand.d.ts +42 -0
  40. package/dist-types/ts3.4/commands/StopSpeakerSearchTaskCommand.d.ts +37 -0
  41. package/dist-types/ts3.4/commands/StopVoiceToneAnalysisTaskCommand.d.ts +38 -0
  42. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  43. package/dist-types/ts3.4/models/models_0.d.ts +78 -0
  44. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  45. package/package.json +7 -7
@@ -0,0 +1,100 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ChimeSDKMediaPipelinesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMediaPipelinesClient";
5
+ import { GetSpeakerSearchTaskRequest, GetSpeakerSearchTaskResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetSpeakerSearchTaskCommand}.
14
+ */
15
+ export interface GetSpeakerSearchTaskCommandInput extends GetSpeakerSearchTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetSpeakerSearchTaskCommand}.
21
+ */
22
+ export interface GetSpeakerSearchTaskCommandOutput extends GetSpeakerSearchTaskResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves the details of the specified speaker search task.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ChimeSDKMediaPipelinesClient, GetSpeakerSearchTaskCommand } from "@aws-sdk/client-chime-sdk-media-pipelines"; // ES Modules import
31
+ * // const { ChimeSDKMediaPipelinesClient, GetSpeakerSearchTaskCommand } = require("@aws-sdk/client-chime-sdk-media-pipelines"); // CommonJS import
32
+ * const client = new ChimeSDKMediaPipelinesClient(config);
33
+ * const input = { // GetSpeakerSearchTaskRequest
34
+ * Identifier: "STRING_VALUE", // required
35
+ * SpeakerSearchTaskId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetSpeakerSearchTaskCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetSpeakerSearchTaskResponse
40
+ * // SpeakerSearchTask: { // SpeakerSearchTask
41
+ * // SpeakerSearchTaskId: "STRING_VALUE",
42
+ * // SpeakerSearchTaskStatus: "NotStarted" || "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped",
43
+ * // CreatedTimestamp: new Date("TIMESTAMP"),
44
+ * // UpdatedTimestamp: new Date("TIMESTAMP"),
45
+ * // },
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param GetSpeakerSearchTaskCommandInput - {@link GetSpeakerSearchTaskCommandInput}
51
+ * @returns {@link GetSpeakerSearchTaskCommandOutput}
52
+ * @see {@link GetSpeakerSearchTaskCommandInput} for command's `input` shape.
53
+ * @see {@link GetSpeakerSearchTaskCommandOutput} for command's `response` shape.
54
+ * @see {@link ChimeSDKMediaPipelinesClientResolvedConfig | config} for ChimeSDKMediaPipelinesClient's `config` shape.
55
+ *
56
+ * @throws {@link BadRequestException} (client fault)
57
+ * <p>The input parameters don't match the service's restrictions.</p>
58
+ *
59
+ * @throws {@link ForbiddenException} (client fault)
60
+ * <p>The client is permanently forbidden from making the request.</p>
61
+ *
62
+ * @throws {@link NotFoundException} (client fault)
63
+ * <p>One or more of the resources in the request does not exist in the system.</p>
64
+ *
65
+ * @throws {@link ServiceFailureException} (server fault)
66
+ * <p>The service encountered an unexpected error.</p>
67
+ *
68
+ * @throws {@link ServiceUnavailableException} (server fault)
69
+ * <p>The service is currently unavailable.</p>
70
+ *
71
+ * @throws {@link ThrottledClientException} (client fault)
72
+ * <p>The client exceeded its request rate limit.</p>
73
+ *
74
+ * @throws {@link UnauthorizedClientException} (client fault)
75
+ * <p>The client is not currently authorized to make the request.</p>
76
+ *
77
+ * @throws {@link ChimeSDKMediaPipelinesServiceException}
78
+ * <p>Base exception class for all service exceptions from ChimeSDKMediaPipelines service.</p>
79
+ *
80
+ */
81
+ export declare class GetSpeakerSearchTaskCommand extends $Command<GetSpeakerSearchTaskCommandInput, GetSpeakerSearchTaskCommandOutput, ChimeSDKMediaPipelinesClientResolvedConfig> {
82
+ readonly input: GetSpeakerSearchTaskCommandInput;
83
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
87
+ constructor(input: GetSpeakerSearchTaskCommandInput);
88
+ /**
89
+ * @internal
90
+ */
91
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMediaPipelinesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSpeakerSearchTaskCommandInput, GetSpeakerSearchTaskCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
95
+ private serialize;
96
+ /**
97
+ * @internal
98
+ */
99
+ private deserialize;
100
+ }
@@ -0,0 +1,100 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ChimeSDKMediaPipelinesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMediaPipelinesClient";
5
+ import { GetVoiceToneAnalysisTaskRequest, GetVoiceToneAnalysisTaskResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetVoiceToneAnalysisTaskCommand}.
14
+ */
15
+ export interface GetVoiceToneAnalysisTaskCommandInput extends GetVoiceToneAnalysisTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetVoiceToneAnalysisTaskCommand}.
21
+ */
22
+ export interface GetVoiceToneAnalysisTaskCommandOutput extends GetVoiceToneAnalysisTaskResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Retrieves the details of a voice tone analysis task.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ChimeSDKMediaPipelinesClient, GetVoiceToneAnalysisTaskCommand } from "@aws-sdk/client-chime-sdk-media-pipelines"; // ES Modules import
31
+ * // const { ChimeSDKMediaPipelinesClient, GetVoiceToneAnalysisTaskCommand } = require("@aws-sdk/client-chime-sdk-media-pipelines"); // CommonJS import
32
+ * const client = new ChimeSDKMediaPipelinesClient(config);
33
+ * const input = { // GetVoiceToneAnalysisTaskRequest
34
+ * Identifier: "STRING_VALUE", // required
35
+ * VoiceToneAnalysisTaskId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new GetVoiceToneAnalysisTaskCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetVoiceToneAnalysisTaskResponse
40
+ * // VoiceToneAnalysisTask: { // VoiceToneAnalysisTask
41
+ * // VoiceToneAnalysisTaskId: "STRING_VALUE",
42
+ * // VoiceToneAnalysisTaskStatus: "NotStarted" || "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped",
43
+ * // CreatedTimestamp: new Date("TIMESTAMP"),
44
+ * // UpdatedTimestamp: new Date("TIMESTAMP"),
45
+ * // },
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param GetVoiceToneAnalysisTaskCommandInput - {@link GetVoiceToneAnalysisTaskCommandInput}
51
+ * @returns {@link GetVoiceToneAnalysisTaskCommandOutput}
52
+ * @see {@link GetVoiceToneAnalysisTaskCommandInput} for command's `input` shape.
53
+ * @see {@link GetVoiceToneAnalysisTaskCommandOutput} for command's `response` shape.
54
+ * @see {@link ChimeSDKMediaPipelinesClientResolvedConfig | config} for ChimeSDKMediaPipelinesClient's `config` shape.
55
+ *
56
+ * @throws {@link BadRequestException} (client fault)
57
+ * <p>The input parameters don't match the service's restrictions.</p>
58
+ *
59
+ * @throws {@link ForbiddenException} (client fault)
60
+ * <p>The client is permanently forbidden from making the request.</p>
61
+ *
62
+ * @throws {@link NotFoundException} (client fault)
63
+ * <p>One or more of the resources in the request does not exist in the system.</p>
64
+ *
65
+ * @throws {@link ServiceFailureException} (server fault)
66
+ * <p>The service encountered an unexpected error.</p>
67
+ *
68
+ * @throws {@link ServiceUnavailableException} (server fault)
69
+ * <p>The service is currently unavailable.</p>
70
+ *
71
+ * @throws {@link ThrottledClientException} (client fault)
72
+ * <p>The client exceeded its request rate limit.</p>
73
+ *
74
+ * @throws {@link UnauthorizedClientException} (client fault)
75
+ * <p>The client is not currently authorized to make the request.</p>
76
+ *
77
+ * @throws {@link ChimeSDKMediaPipelinesServiceException}
78
+ * <p>Base exception class for all service exceptions from ChimeSDKMediaPipelines service.</p>
79
+ *
80
+ */
81
+ export declare class GetVoiceToneAnalysisTaskCommand extends $Command<GetVoiceToneAnalysisTaskCommandInput, GetVoiceToneAnalysisTaskCommandOutput, ChimeSDKMediaPipelinesClientResolvedConfig> {
82
+ readonly input: GetVoiceToneAnalysisTaskCommandInput;
83
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
87
+ constructor(input: GetVoiceToneAnalysisTaskCommandInput);
88
+ /**
89
+ * @internal
90
+ */
91
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMediaPipelinesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetVoiceToneAnalysisTaskCommandInput, GetVoiceToneAnalysisTaskCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
95
+ private serialize;
96
+ /**
97
+ * @internal
98
+ */
99
+ private deserialize;
100
+ }
@@ -0,0 +1,114 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ChimeSDKMediaPipelinesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMediaPipelinesClient";
5
+ import { StartSpeakerSearchTaskRequest, StartSpeakerSearchTaskResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartSpeakerSearchTaskCommand}.
14
+ */
15
+ export interface StartSpeakerSearchTaskCommandInput extends StartSpeakerSearchTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartSpeakerSearchTaskCommand}.
21
+ */
22
+ export interface StartSpeakerSearchTaskCommandOutput extends StartSpeakerSearchTaskResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Starts a speaker search task.</p>
27
+ * <important>
28
+ * <p>Before starting any speaker search tasks, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the
29
+ * <a href="https://aws.amazon.com/service-terms/">AWS service terms</a> for the Amazon Chime SDK.</p>
30
+ * </important>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { ChimeSDKMediaPipelinesClient, StartSpeakerSearchTaskCommand } from "@aws-sdk/client-chime-sdk-media-pipelines"; // ES Modules import
35
+ * // const { ChimeSDKMediaPipelinesClient, StartSpeakerSearchTaskCommand } = require("@aws-sdk/client-chime-sdk-media-pipelines"); // CommonJS import
36
+ * const client = new ChimeSDKMediaPipelinesClient(config);
37
+ * const input = { // StartSpeakerSearchTaskRequest
38
+ * Identifier: "STRING_VALUE", // required
39
+ * VoiceProfileDomainArn: "STRING_VALUE", // required
40
+ * KinesisVideoStreamSourceTaskConfiguration: { // KinesisVideoStreamSourceTaskConfiguration
41
+ * StreamArn: "STRING_VALUE", // required
42
+ * ChannelId: Number("int"), // required
43
+ * FragmentNumber: "STRING_VALUE",
44
+ * },
45
+ * ClientRequestToken: "STRING_VALUE",
46
+ * };
47
+ * const command = new StartSpeakerSearchTaskCommand(input);
48
+ * const response = await client.send(command);
49
+ * // { // StartSpeakerSearchTaskResponse
50
+ * // SpeakerSearchTask: { // SpeakerSearchTask
51
+ * // SpeakerSearchTaskId: "STRING_VALUE",
52
+ * // SpeakerSearchTaskStatus: "NotStarted" || "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped",
53
+ * // CreatedTimestamp: new Date("TIMESTAMP"),
54
+ * // UpdatedTimestamp: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // };
57
+ *
58
+ * ```
59
+ *
60
+ * @param StartSpeakerSearchTaskCommandInput - {@link StartSpeakerSearchTaskCommandInput}
61
+ * @returns {@link StartSpeakerSearchTaskCommandOutput}
62
+ * @see {@link StartSpeakerSearchTaskCommandInput} for command's `input` shape.
63
+ * @see {@link StartSpeakerSearchTaskCommandOutput} for command's `response` shape.
64
+ * @see {@link ChimeSDKMediaPipelinesClientResolvedConfig | config} for ChimeSDKMediaPipelinesClient's `config` shape.
65
+ *
66
+ * @throws {@link BadRequestException} (client fault)
67
+ * <p>The input parameters don't match the service's restrictions.</p>
68
+ *
69
+ * @throws {@link ConflictException} (client fault)
70
+ * <p>The request could not be processed because of conflict in the current state of the
71
+ * resource.</p>
72
+ *
73
+ * @throws {@link ForbiddenException} (client fault)
74
+ * <p>The client is permanently forbidden from making the request.</p>
75
+ *
76
+ * @throws {@link NotFoundException} (client fault)
77
+ * <p>One or more of the resources in the request does not exist in the system.</p>
78
+ *
79
+ * @throws {@link ServiceFailureException} (server fault)
80
+ * <p>The service encountered an unexpected error.</p>
81
+ *
82
+ * @throws {@link ServiceUnavailableException} (server fault)
83
+ * <p>The service is currently unavailable.</p>
84
+ *
85
+ * @throws {@link ThrottledClientException} (client fault)
86
+ * <p>The client exceeded its request rate limit.</p>
87
+ *
88
+ * @throws {@link UnauthorizedClientException} (client fault)
89
+ * <p>The client is not currently authorized to make the request.</p>
90
+ *
91
+ * @throws {@link ChimeSDKMediaPipelinesServiceException}
92
+ * <p>Base exception class for all service exceptions from ChimeSDKMediaPipelines service.</p>
93
+ *
94
+ */
95
+ export declare class StartSpeakerSearchTaskCommand extends $Command<StartSpeakerSearchTaskCommandInput, StartSpeakerSearchTaskCommandOutput, ChimeSDKMediaPipelinesClientResolvedConfig> {
96
+ readonly input: StartSpeakerSearchTaskCommandInput;
97
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
98
+ /**
99
+ * @public
100
+ */
101
+ constructor(input: StartSpeakerSearchTaskCommandInput);
102
+ /**
103
+ * @internal
104
+ */
105
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMediaPipelinesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartSpeakerSearchTaskCommandInput, StartSpeakerSearchTaskCommandOutput>;
106
+ /**
107
+ * @internal
108
+ */
109
+ private serialize;
110
+ /**
111
+ * @internal
112
+ */
113
+ private deserialize;
114
+ }
@@ -0,0 +1,116 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ChimeSDKMediaPipelinesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMediaPipelinesClient";
5
+ import { StartVoiceToneAnalysisTaskRequest, StartVoiceToneAnalysisTaskResponse } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartVoiceToneAnalysisTaskCommand}.
14
+ */
15
+ export interface StartVoiceToneAnalysisTaskCommandInput extends StartVoiceToneAnalysisTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartVoiceToneAnalysisTaskCommand}.
21
+ */
22
+ export interface StartVoiceToneAnalysisTaskCommandOutput extends StartVoiceToneAnalysisTaskResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Starts a voice tone analysis task. For more information about voice tone analysis, see
27
+ * <a href="https://docs.aws.amazon.com/chime-sdk/latest/dg/voice-analytics.html">Using Amazon Chime SDK voice analytics</a>
28
+ * in the <i>Amazon Chime SDK Developer Guide</i>.</p>
29
+ * <important>
30
+ * <p>Before starting any voice tone analysis tasks, you must provide all notices and obtain all consents from the speaker as required under applicable privacy and biometrics laws, and as required under the
31
+ * <a href="https://aws.amazon.com/service-terms/">AWS service terms</a> for the Amazon Chime SDK.</p>
32
+ * </important>
33
+ * @example
34
+ * Use a bare-bones client and the command you need to make an API call.
35
+ * ```javascript
36
+ * import { ChimeSDKMediaPipelinesClient, StartVoiceToneAnalysisTaskCommand } from "@aws-sdk/client-chime-sdk-media-pipelines"; // ES Modules import
37
+ * // const { ChimeSDKMediaPipelinesClient, StartVoiceToneAnalysisTaskCommand } = require("@aws-sdk/client-chime-sdk-media-pipelines"); // CommonJS import
38
+ * const client = new ChimeSDKMediaPipelinesClient(config);
39
+ * const input = { // StartVoiceToneAnalysisTaskRequest
40
+ * Identifier: "STRING_VALUE", // required
41
+ * LanguageCode: "en-US", // required
42
+ * KinesisVideoStreamSourceTaskConfiguration: { // KinesisVideoStreamSourceTaskConfiguration
43
+ * StreamArn: "STRING_VALUE", // required
44
+ * ChannelId: Number("int"), // required
45
+ * FragmentNumber: "STRING_VALUE",
46
+ * },
47
+ * ClientRequestToken: "STRING_VALUE",
48
+ * };
49
+ * const command = new StartVoiceToneAnalysisTaskCommand(input);
50
+ * const response = await client.send(command);
51
+ * // { // StartVoiceToneAnalysisTaskResponse
52
+ * // VoiceToneAnalysisTask: { // VoiceToneAnalysisTask
53
+ * // VoiceToneAnalysisTaskId: "STRING_VALUE",
54
+ * // VoiceToneAnalysisTaskStatus: "NotStarted" || "Initializing" || "InProgress" || "Failed" || "Stopping" || "Stopped",
55
+ * // CreatedTimestamp: new Date("TIMESTAMP"),
56
+ * // UpdatedTimestamp: new Date("TIMESTAMP"),
57
+ * // },
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param StartVoiceToneAnalysisTaskCommandInput - {@link StartVoiceToneAnalysisTaskCommandInput}
63
+ * @returns {@link StartVoiceToneAnalysisTaskCommandOutput}
64
+ * @see {@link StartVoiceToneAnalysisTaskCommandInput} for command's `input` shape.
65
+ * @see {@link StartVoiceToneAnalysisTaskCommandOutput} for command's `response` shape.
66
+ * @see {@link ChimeSDKMediaPipelinesClientResolvedConfig | config} for ChimeSDKMediaPipelinesClient's `config` shape.
67
+ *
68
+ * @throws {@link BadRequestException} (client fault)
69
+ * <p>The input parameters don't match the service's restrictions.</p>
70
+ *
71
+ * @throws {@link ConflictException} (client fault)
72
+ * <p>The request could not be processed because of conflict in the current state of the
73
+ * resource.</p>
74
+ *
75
+ * @throws {@link ForbiddenException} (client fault)
76
+ * <p>The client is permanently forbidden from making the request.</p>
77
+ *
78
+ * @throws {@link NotFoundException} (client fault)
79
+ * <p>One or more of the resources in the request does not exist in the system.</p>
80
+ *
81
+ * @throws {@link ServiceFailureException} (server fault)
82
+ * <p>The service encountered an unexpected error.</p>
83
+ *
84
+ * @throws {@link ServiceUnavailableException} (server fault)
85
+ * <p>The service is currently unavailable.</p>
86
+ *
87
+ * @throws {@link ThrottledClientException} (client fault)
88
+ * <p>The client exceeded its request rate limit.</p>
89
+ *
90
+ * @throws {@link UnauthorizedClientException} (client fault)
91
+ * <p>The client is not currently authorized to make the request.</p>
92
+ *
93
+ * @throws {@link ChimeSDKMediaPipelinesServiceException}
94
+ * <p>Base exception class for all service exceptions from ChimeSDKMediaPipelines service.</p>
95
+ *
96
+ */
97
+ export declare class StartVoiceToneAnalysisTaskCommand extends $Command<StartVoiceToneAnalysisTaskCommandInput, StartVoiceToneAnalysisTaskCommandOutput, ChimeSDKMediaPipelinesClientResolvedConfig> {
98
+ readonly input: StartVoiceToneAnalysisTaskCommandInput;
99
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
100
+ /**
101
+ * @public
102
+ */
103
+ constructor(input: StartVoiceToneAnalysisTaskCommandInput);
104
+ /**
105
+ * @internal
106
+ */
107
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMediaPipelinesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartVoiceToneAnalysisTaskCommandInput, StartVoiceToneAnalysisTaskCommandOutput>;
108
+ /**
109
+ * @internal
110
+ */
111
+ private serialize;
112
+ /**
113
+ * @internal
114
+ */
115
+ private deserialize;
116
+ }
@@ -0,0 +1,97 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ChimeSDKMediaPipelinesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMediaPipelinesClient";
5
+ import { StopSpeakerSearchTaskRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopSpeakerSearchTaskCommand}.
14
+ */
15
+ export interface StopSpeakerSearchTaskCommandInput extends StopSpeakerSearchTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopSpeakerSearchTaskCommand}.
21
+ */
22
+ export interface StopSpeakerSearchTaskCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Stops a speaker search task.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ChimeSDKMediaPipelinesClient, StopSpeakerSearchTaskCommand } from "@aws-sdk/client-chime-sdk-media-pipelines"; // ES Modules import
31
+ * // const { ChimeSDKMediaPipelinesClient, StopSpeakerSearchTaskCommand } = require("@aws-sdk/client-chime-sdk-media-pipelines"); // CommonJS import
32
+ * const client = new ChimeSDKMediaPipelinesClient(config);
33
+ * const input = { // StopSpeakerSearchTaskRequest
34
+ * Identifier: "STRING_VALUE", // required
35
+ * SpeakerSearchTaskId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new StopSpeakerSearchTaskCommand(input);
38
+ * const response = await client.send(command);
39
+ * // {};
40
+ *
41
+ * ```
42
+ *
43
+ * @param StopSpeakerSearchTaskCommandInput - {@link StopSpeakerSearchTaskCommandInput}
44
+ * @returns {@link StopSpeakerSearchTaskCommandOutput}
45
+ * @see {@link StopSpeakerSearchTaskCommandInput} for command's `input` shape.
46
+ * @see {@link StopSpeakerSearchTaskCommandOutput} for command's `response` shape.
47
+ * @see {@link ChimeSDKMediaPipelinesClientResolvedConfig | config} for ChimeSDKMediaPipelinesClient's `config` shape.
48
+ *
49
+ * @throws {@link BadRequestException} (client fault)
50
+ * <p>The input parameters don't match the service's restrictions.</p>
51
+ *
52
+ * @throws {@link ConflictException} (client fault)
53
+ * <p>The request could not be processed because of conflict in the current state of the
54
+ * resource.</p>
55
+ *
56
+ * @throws {@link ForbiddenException} (client fault)
57
+ * <p>The client is permanently forbidden from making the request.</p>
58
+ *
59
+ * @throws {@link NotFoundException} (client fault)
60
+ * <p>One or more of the resources in the request does not exist in the system.</p>
61
+ *
62
+ * @throws {@link ServiceFailureException} (server fault)
63
+ * <p>The service encountered an unexpected error.</p>
64
+ *
65
+ * @throws {@link ServiceUnavailableException} (server fault)
66
+ * <p>The service is currently unavailable.</p>
67
+ *
68
+ * @throws {@link ThrottledClientException} (client fault)
69
+ * <p>The client exceeded its request rate limit.</p>
70
+ *
71
+ * @throws {@link UnauthorizedClientException} (client fault)
72
+ * <p>The client is not currently authorized to make the request.</p>
73
+ *
74
+ * @throws {@link ChimeSDKMediaPipelinesServiceException}
75
+ * <p>Base exception class for all service exceptions from ChimeSDKMediaPipelines service.</p>
76
+ *
77
+ */
78
+ export declare class StopSpeakerSearchTaskCommand extends $Command<StopSpeakerSearchTaskCommandInput, StopSpeakerSearchTaskCommandOutput, ChimeSDKMediaPipelinesClientResolvedConfig> {
79
+ readonly input: StopSpeakerSearchTaskCommandInput;
80
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
+ /**
82
+ * @public
83
+ */
84
+ constructor(input: StopSpeakerSearchTaskCommandInput);
85
+ /**
86
+ * @internal
87
+ */
88
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMediaPipelinesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopSpeakerSearchTaskCommandInput, StopSpeakerSearchTaskCommandOutput>;
89
+ /**
90
+ * @internal
91
+ */
92
+ private serialize;
93
+ /**
94
+ * @internal
95
+ */
96
+ private deserialize;
97
+ }
@@ -0,0 +1,97 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ChimeSDKMediaPipelinesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ChimeSDKMediaPipelinesClient";
5
+ import { StopVoiceToneAnalysisTaskRequest } from "../models/models_0";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StopVoiceToneAnalysisTaskCommand}.
14
+ */
15
+ export interface StopVoiceToneAnalysisTaskCommandInput extends StopVoiceToneAnalysisTaskRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StopVoiceToneAnalysisTaskCommand}.
21
+ */
22
+ export interface StopVoiceToneAnalysisTaskCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Stops a voice tone analysis task.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ChimeSDKMediaPipelinesClient, StopVoiceToneAnalysisTaskCommand } from "@aws-sdk/client-chime-sdk-media-pipelines"; // ES Modules import
31
+ * // const { ChimeSDKMediaPipelinesClient, StopVoiceToneAnalysisTaskCommand } = require("@aws-sdk/client-chime-sdk-media-pipelines"); // CommonJS import
32
+ * const client = new ChimeSDKMediaPipelinesClient(config);
33
+ * const input = { // StopVoiceToneAnalysisTaskRequest
34
+ * Identifier: "STRING_VALUE", // required
35
+ * VoiceToneAnalysisTaskId: "STRING_VALUE", // required
36
+ * };
37
+ * const command = new StopVoiceToneAnalysisTaskCommand(input);
38
+ * const response = await client.send(command);
39
+ * // {};
40
+ *
41
+ * ```
42
+ *
43
+ * @param StopVoiceToneAnalysisTaskCommandInput - {@link StopVoiceToneAnalysisTaskCommandInput}
44
+ * @returns {@link StopVoiceToneAnalysisTaskCommandOutput}
45
+ * @see {@link StopVoiceToneAnalysisTaskCommandInput} for command's `input` shape.
46
+ * @see {@link StopVoiceToneAnalysisTaskCommandOutput} for command's `response` shape.
47
+ * @see {@link ChimeSDKMediaPipelinesClientResolvedConfig | config} for ChimeSDKMediaPipelinesClient's `config` shape.
48
+ *
49
+ * @throws {@link BadRequestException} (client fault)
50
+ * <p>The input parameters don't match the service's restrictions.</p>
51
+ *
52
+ * @throws {@link ConflictException} (client fault)
53
+ * <p>The request could not be processed because of conflict in the current state of the
54
+ * resource.</p>
55
+ *
56
+ * @throws {@link ForbiddenException} (client fault)
57
+ * <p>The client is permanently forbidden from making the request.</p>
58
+ *
59
+ * @throws {@link NotFoundException} (client fault)
60
+ * <p>One or more of the resources in the request does not exist in the system.</p>
61
+ *
62
+ * @throws {@link ServiceFailureException} (server fault)
63
+ * <p>The service encountered an unexpected error.</p>
64
+ *
65
+ * @throws {@link ServiceUnavailableException} (server fault)
66
+ * <p>The service is currently unavailable.</p>
67
+ *
68
+ * @throws {@link ThrottledClientException} (client fault)
69
+ * <p>The client exceeded its request rate limit.</p>
70
+ *
71
+ * @throws {@link UnauthorizedClientException} (client fault)
72
+ * <p>The client is not currently authorized to make the request.</p>
73
+ *
74
+ * @throws {@link ChimeSDKMediaPipelinesServiceException}
75
+ * <p>Base exception class for all service exceptions from ChimeSDKMediaPipelines service.</p>
76
+ *
77
+ */
78
+ export declare class StopVoiceToneAnalysisTaskCommand extends $Command<StopVoiceToneAnalysisTaskCommandInput, StopVoiceToneAnalysisTaskCommandOutput, ChimeSDKMediaPipelinesClientResolvedConfig> {
79
+ readonly input: StopVoiceToneAnalysisTaskCommandInput;
80
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
81
+ /**
82
+ * @public
83
+ */
84
+ constructor(input: StopVoiceToneAnalysisTaskCommandInput);
85
+ /**
86
+ * @internal
87
+ */
88
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ChimeSDKMediaPipelinesClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopVoiceToneAnalysisTaskCommandInput, StopVoiceToneAnalysisTaskCommandOutput>;
89
+ /**
90
+ * @internal
91
+ */
92
+ private serialize;
93
+ /**
94
+ * @internal
95
+ */
96
+ private deserialize;
97
+ }
@@ -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";