@aws-sdk/client-transcribe 3.477.0 → 3.481.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/dist-cjs/commands/CreateCallAnalyticsCategoryCommand.js +18 -41
- package/dist-cjs/commands/CreateLanguageModelCommand.js +18 -41
- package/dist-cjs/commands/CreateMedicalVocabularyCommand.js +18 -41
- package/dist-cjs/commands/CreateVocabularyCommand.js +18 -41
- package/dist-cjs/commands/CreateVocabularyFilterCommand.js +18 -41
- package/dist-cjs/commands/DeleteCallAnalyticsCategoryCommand.js +18 -41
- package/dist-cjs/commands/DeleteCallAnalyticsJobCommand.js +18 -41
- package/dist-cjs/commands/DeleteLanguageModelCommand.js +18 -41
- package/dist-cjs/commands/DeleteMedicalScribeJobCommand.js +18 -41
- package/dist-cjs/commands/DeleteMedicalTranscriptionJobCommand.js +18 -41
- package/dist-cjs/commands/DeleteMedicalVocabularyCommand.js +18 -41
- package/dist-cjs/commands/DeleteTranscriptionJobCommand.js +18 -41
- package/dist-cjs/commands/DeleteVocabularyCommand.js +18 -41
- package/dist-cjs/commands/DeleteVocabularyFilterCommand.js +18 -41
- package/dist-cjs/commands/DescribeLanguageModelCommand.js +18 -41
- package/dist-cjs/commands/GetCallAnalyticsCategoryCommand.js +18 -41
- package/dist-cjs/commands/GetCallAnalyticsJobCommand.js +18 -41
- package/dist-cjs/commands/GetMedicalScribeJobCommand.js +18 -41
- package/dist-cjs/commands/GetMedicalTranscriptionJobCommand.js +18 -41
- package/dist-cjs/commands/GetMedicalVocabularyCommand.js +18 -41
- package/dist-cjs/commands/GetTranscriptionJobCommand.js +18 -41
- package/dist-cjs/commands/GetVocabularyCommand.js +18 -41
- package/dist-cjs/commands/GetVocabularyFilterCommand.js +18 -41
- package/dist-cjs/commands/ListCallAnalyticsCategoriesCommand.js +18 -41
- package/dist-cjs/commands/ListCallAnalyticsJobsCommand.js +18 -41
- package/dist-cjs/commands/ListLanguageModelsCommand.js +18 -41
- package/dist-cjs/commands/ListMedicalScribeJobsCommand.js +18 -41
- package/dist-cjs/commands/ListMedicalTranscriptionJobsCommand.js +18 -41
- package/dist-cjs/commands/ListMedicalVocabulariesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListTranscriptionJobsCommand.js +18 -41
- package/dist-cjs/commands/ListVocabulariesCommand.js +18 -41
- package/dist-cjs/commands/ListVocabularyFiltersCommand.js +18 -41
- package/dist-cjs/commands/StartCallAnalyticsJobCommand.js +18 -41
- package/dist-cjs/commands/StartMedicalScribeJobCommand.js +18 -41
- package/dist-cjs/commands/StartMedicalTranscriptionJobCommand.js +18 -41
- package/dist-cjs/commands/StartTranscriptionJobCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateCallAnalyticsCategoryCommand.js +18 -41
- package/dist-cjs/commands/UpdateMedicalVocabularyCommand.js +18 -41
- package/dist-cjs/commands/UpdateVocabularyCommand.js +18 -41
- package/dist-cjs/commands/UpdateVocabularyFilterCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListCallAnalyticsCategoriesPaginator.js +2 -24
- package/dist-cjs/pagination/ListCallAnalyticsJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLanguageModelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMedicalScribeJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMedicalTranscriptionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListMedicalVocabulariesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTranscriptionJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListVocabulariesPaginator.js +2 -24
- package/dist-cjs/pagination/ListVocabularyFiltersPaginator.js +2 -24
- package/dist-es/commands/CreateCallAnalyticsCategoryCommand.js +18 -41
- package/dist-es/commands/CreateLanguageModelCommand.js +18 -41
- package/dist-es/commands/CreateMedicalVocabularyCommand.js +18 -41
- package/dist-es/commands/CreateVocabularyCommand.js +18 -41
- package/dist-es/commands/CreateVocabularyFilterCommand.js +18 -41
- package/dist-es/commands/DeleteCallAnalyticsCategoryCommand.js +18 -41
- package/dist-es/commands/DeleteCallAnalyticsJobCommand.js +18 -41
- package/dist-es/commands/DeleteLanguageModelCommand.js +18 -41
- package/dist-es/commands/DeleteMedicalScribeJobCommand.js +18 -41
- package/dist-es/commands/DeleteMedicalTranscriptionJobCommand.js +18 -41
- package/dist-es/commands/DeleteMedicalVocabularyCommand.js +18 -41
- package/dist-es/commands/DeleteTranscriptionJobCommand.js +18 -41
- package/dist-es/commands/DeleteVocabularyCommand.js +18 -41
- package/dist-es/commands/DeleteVocabularyFilterCommand.js +18 -41
- package/dist-es/commands/DescribeLanguageModelCommand.js +18 -41
- package/dist-es/commands/GetCallAnalyticsCategoryCommand.js +18 -41
- package/dist-es/commands/GetCallAnalyticsJobCommand.js +18 -41
- package/dist-es/commands/GetMedicalScribeJobCommand.js +18 -41
- package/dist-es/commands/GetMedicalTranscriptionJobCommand.js +18 -41
- package/dist-es/commands/GetMedicalVocabularyCommand.js +18 -41
- package/dist-es/commands/GetTranscriptionJobCommand.js +18 -41
- package/dist-es/commands/GetVocabularyCommand.js +18 -41
- package/dist-es/commands/GetVocabularyFilterCommand.js +18 -41
- package/dist-es/commands/ListCallAnalyticsCategoriesCommand.js +18 -41
- package/dist-es/commands/ListCallAnalyticsJobsCommand.js +18 -41
- package/dist-es/commands/ListLanguageModelsCommand.js +18 -41
- package/dist-es/commands/ListMedicalScribeJobsCommand.js +18 -41
- package/dist-es/commands/ListMedicalTranscriptionJobsCommand.js +18 -41
- package/dist-es/commands/ListMedicalVocabulariesCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListTranscriptionJobsCommand.js +18 -41
- package/dist-es/commands/ListVocabulariesCommand.js +18 -41
- package/dist-es/commands/ListVocabularyFiltersCommand.js +18 -41
- package/dist-es/commands/StartCallAnalyticsJobCommand.js +18 -41
- package/dist-es/commands/StartMedicalScribeJobCommand.js +18 -41
- package/dist-es/commands/StartMedicalTranscriptionJobCommand.js +18 -41
- package/dist-es/commands/StartTranscriptionJobCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateCallAnalyticsCategoryCommand.js +18 -41
- package/dist-es/commands/UpdateMedicalVocabularyCommand.js +18 -41
- package/dist-es/commands/UpdateVocabularyCommand.js +18 -41
- package/dist-es/commands/UpdateVocabularyFilterCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListCallAnalyticsCategoriesPaginator.js +2 -23
- package/dist-es/pagination/ListCallAnalyticsJobsPaginator.js +2 -23
- package/dist-es/pagination/ListLanguageModelsPaginator.js +2 -23
- package/dist-es/pagination/ListMedicalScribeJobsPaginator.js +2 -23
- package/dist-es/pagination/ListMedicalTranscriptionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListMedicalVocabulariesPaginator.js +2 -23
- package/dist-es/pagination/ListTranscriptionJobsPaginator.js +2 -23
- package/dist-es/pagination/ListVocabulariesPaginator.js +2 -23
- package/dist-es/pagination/ListVocabularyFiltersPaginator.js +2 -23
- package/dist-types/commands/CreateCallAnalyticsCategoryCommand.d.ts +6 -21
- package/dist-types/commands/CreateLanguageModelCommand.d.ts +6 -21
- package/dist-types/commands/CreateMedicalVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/CreateVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/CreateVocabularyFilterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCallAnalyticsCategoryCommand.d.ts +6 -21
- package/dist-types/commands/DeleteCallAnalyticsJobCommand.d.ts +6 -21
- package/dist-types/commands/DeleteLanguageModelCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMedicalScribeJobCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMedicalTranscriptionJobCommand.d.ts +6 -21
- package/dist-types/commands/DeleteMedicalVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTranscriptionJobCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVocabularyFilterCommand.d.ts +6 -21
- package/dist-types/commands/DescribeLanguageModelCommand.d.ts +6 -21
- package/dist-types/commands/GetCallAnalyticsCategoryCommand.d.ts +6 -21
- package/dist-types/commands/GetCallAnalyticsJobCommand.d.ts +6 -21
- package/dist-types/commands/GetMedicalScribeJobCommand.d.ts +6 -21
- package/dist-types/commands/GetMedicalTranscriptionJobCommand.d.ts +6 -21
- package/dist-types/commands/GetMedicalVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/GetTranscriptionJobCommand.d.ts +6 -21
- package/dist-types/commands/GetVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/GetVocabularyFilterCommand.d.ts +6 -21
- package/dist-types/commands/ListCallAnalyticsCategoriesCommand.d.ts +6 -21
- package/dist-types/commands/ListCallAnalyticsJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListLanguageModelsCommand.d.ts +6 -21
- package/dist-types/commands/ListMedicalScribeJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListMedicalTranscriptionJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListMedicalVocabulariesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListTranscriptionJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListVocabulariesCommand.d.ts +6 -21
- package/dist-types/commands/ListVocabularyFiltersCommand.d.ts +6 -21
- package/dist-types/commands/StartCallAnalyticsJobCommand.d.ts +6 -21
- package/dist-types/commands/StartMedicalScribeJobCommand.d.ts +6 -21
- package/dist-types/commands/StartMedicalTranscriptionJobCommand.d.ts +6 -21
- package/dist-types/commands/StartTranscriptionJobCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateCallAnalyticsCategoryCommand.d.ts +6 -21
- package/dist-types/commands/UpdateMedicalVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateVocabularyCommand.d.ts +6 -21
- package/dist-types/commands/UpdateVocabularyFilterCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListCallAnalyticsCategoriesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListCallAnalyticsJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLanguageModelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMedicalScribeJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMedicalTranscriptionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListMedicalVocabulariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTranscriptionJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVocabulariesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVocabularyFiltersPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateCallAnalyticsCategoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateLanguageModelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateMedicalVocabularyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateVocabularyFilterCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteCallAnalyticsCategoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteCallAnalyticsJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteLanguageModelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteMedicalScribeJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteMedicalTranscriptionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteMedicalVocabularyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteTranscriptionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteVocabularyFilterCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeLanguageModelCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCallAnalyticsCategoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetCallAnalyticsJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMedicalScribeJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetMedicalTranscriptionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetMedicalVocabularyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetTranscriptionJobCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetVocabularyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetVocabularyFilterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListCallAnalyticsCategoriesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListCallAnalyticsJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListLanguageModelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListMedicalScribeJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListMedicalTranscriptionJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListMedicalVocabulariesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTranscriptionJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListVocabulariesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListVocabularyFiltersCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartCallAnalyticsJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartMedicalScribeJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartMedicalTranscriptionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartTranscriptionJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateCallAnalyticsCategoryCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateMedicalVocabularyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateVocabularyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateVocabularyFilterCommand.d.ts +12 -24
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListCallAnalyticsCategoriesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListCallAnalyticsJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLanguageModelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMedicalScribeJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMedicalTranscriptionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListMedicalVocabulariesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTranscriptionJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVocabulariesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVocabularyFiltersPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class StartTranscriptionJobCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "TranscribeClient";
|
|
29
|
-
const commandName = "StartTranscriptionJobCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Transcribe",
|
|
38
|
-
operation: "StartTranscriptionJob",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_StartTranscriptionJobCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_StartTranscriptionJobCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class StartTranscriptionJobCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Transcribe", "StartTranscriptionJob", {})
|
|
22
|
+
.n("TranscribeClient", "StartTranscriptionJobCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_StartTranscriptionJobCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_StartTranscriptionJobCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.StartTranscriptionJobCommand = StartTranscriptionJobCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "TranscribeClient";
|
|
29
|
-
const commandName = "TagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Transcribe",
|
|
38
|
-
operation: "TagResource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_TagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_TagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class TagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Transcribe", "TagResource", {})
|
|
22
|
+
.n("TranscribeClient", "TagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_TagResourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_TagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "TranscribeClient";
|
|
29
|
-
const commandName = "UntagResourceCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Transcribe",
|
|
38
|
-
operation: "UntagResource",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UntagResourceCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UntagResourceCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UntagResourceCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Transcribe", "UntagResource", {})
|
|
22
|
+
.n("TranscribeClient", "UntagResourceCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UntagResourceCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UntagResourceCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateCallAnalyticsCategoryCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "TranscribeClient";
|
|
29
|
-
const commandName = "UpdateCallAnalyticsCategoryCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Transcribe",
|
|
38
|
-
operation: "UpdateCallAnalyticsCategory",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateCallAnalyticsCategoryCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateCallAnalyticsCategoryCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateCallAnalyticsCategoryCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Transcribe", "UpdateCallAnalyticsCategory", {})
|
|
22
|
+
.n("TranscribeClient", "UpdateCallAnalyticsCategoryCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateCallAnalyticsCategoryCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateCallAnalyticsCategoryCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateCallAnalyticsCategoryCommand = UpdateCallAnalyticsCategoryCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateMedicalVocabularyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "TranscribeClient";
|
|
29
|
-
const commandName = "UpdateMedicalVocabularyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Transcribe",
|
|
38
|
-
operation: "UpdateMedicalVocabulary",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateMedicalVocabularyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateMedicalVocabularyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateMedicalVocabularyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Transcribe", "UpdateMedicalVocabulary", {})
|
|
22
|
+
.n("TranscribeClient", "UpdateMedicalVocabularyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateMedicalVocabularyCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateMedicalVocabularyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateMedicalVocabularyCommand = UpdateMedicalVocabularyCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateVocabularyCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "TranscribeClient";
|
|
29
|
-
const commandName = "UpdateVocabularyCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Transcribe",
|
|
38
|
-
operation: "UpdateVocabulary",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateVocabularyCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateVocabularyCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateVocabularyCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Transcribe", "UpdateVocabulary", {})
|
|
22
|
+
.n("TranscribeClient", "UpdateVocabularyCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateVocabularyCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateVocabularyCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateVocabularyCommand = UpdateVocabularyCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
-
class UpdateVocabularyFilterCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "TranscribeClient";
|
|
29
|
-
const commandName = "UpdateVocabularyFilterCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Transcribe",
|
|
38
|
-
operation: "UpdateVocabularyFilter",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_json1_1_1.se_UpdateVocabularyFilterCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_json1_1_1.de_UpdateVocabularyFilterCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateVocabularyFilterCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Transcribe", "UpdateVocabularyFilter", {})
|
|
22
|
+
.n("TranscribeClient", "UpdateVocabularyFilterCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_json1_1_1.se_UpdateVocabularyFilterCommand)
|
|
25
|
+
.de(Aws_json1_1_1.de_UpdateVocabularyFilterCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateVocabularyFilterCommand = UpdateVocabularyFilterCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCallAnalyticsCategories = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCallAnalyticsCategoriesCommand_1 = require("../commands/ListCallAnalyticsCategoriesCommand");
|
|
5
6
|
const TranscribeClient_1 = require("../TranscribeClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCallAnalyticsCategoriesCommand_1.ListCallAnalyticsCategoriesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCallAnalyticsCategories(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof TranscribeClient_1.TranscribeClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Transcribe | TranscribeClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCallAnalyticsCategories = paginateListCallAnalyticsCategories;
|
|
7
|
+
exports.paginateListCallAnalyticsCategories = (0, core_1.createPaginator)(TranscribeClient_1.TranscribeClient, ListCallAnalyticsCategoriesCommand_1.ListCallAnalyticsCategoriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListCallAnalyticsJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListCallAnalyticsJobsCommand_1 = require("../commands/ListCallAnalyticsJobsCommand");
|
|
5
6
|
const TranscribeClient_1 = require("../TranscribeClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListCallAnalyticsJobsCommand_1.ListCallAnalyticsJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListCallAnalyticsJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof TranscribeClient_1.TranscribeClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Transcribe | TranscribeClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListCallAnalyticsJobs = paginateListCallAnalyticsJobs;
|
|
7
|
+
exports.paginateListCallAnalyticsJobs = (0, core_1.createPaginator)(TranscribeClient_1.TranscribeClient, ListCallAnalyticsJobsCommand_1.ListCallAnalyticsJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListLanguageModels = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListLanguageModelsCommand_1 = require("../commands/ListLanguageModelsCommand");
|
|
5
6
|
const TranscribeClient_1 = require("../TranscribeClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListLanguageModelsCommand_1.ListLanguageModelsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListLanguageModels(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof TranscribeClient_1.TranscribeClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Transcribe | TranscribeClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListLanguageModels = paginateListLanguageModels;
|
|
7
|
+
exports.paginateListLanguageModels = (0, core_1.createPaginator)(TranscribeClient_1.TranscribeClient, ListLanguageModelsCommand_1.ListLanguageModelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListMedicalScribeJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListMedicalScribeJobsCommand_1 = require("../commands/ListMedicalScribeJobsCommand");
|
|
5
6
|
const TranscribeClient_1 = require("../TranscribeClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListMedicalScribeJobsCommand_1.ListMedicalScribeJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListMedicalScribeJobs(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof TranscribeClient_1.TranscribeClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Transcribe | TranscribeClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListMedicalScribeJobs = paginateListMedicalScribeJobs;
|
|
7
|
+
exports.paginateListMedicalScribeJobs = (0, core_1.createPaginator)(TranscribeClient_1.TranscribeClient, ListMedicalScribeJobsCommand_1.ListMedicalScribeJobsCommand, "NextToken", "NextToken", "MaxResults");
|