@aws-sdk/client-chime-sdk-media-pipelines 3.145.0 → 3.154.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/CHANGELOG.md +27 -0
- package/README.md +2 -4
- package/dist-cjs/ChimeSDKMediaPipelines.js +75 -0
- package/dist-cjs/commands/CreateMediaConcatenationPipelineCommand.js +36 -0
- package/dist-cjs/commands/CreateMediaLiveConnectorPipelineCommand.js +36 -0
- package/dist-cjs/commands/DeleteMediaPipelineCommand.js +36 -0
- package/dist-cjs/commands/GetMediaPipelineCommand.js +36 -0
- package/dist-cjs/commands/ListMediaPipelinesCommand.js +36 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +237 -1
- package/dist-cjs/pagination/ListMediaPipelinesPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +878 -85
- package/dist-es/ChimeSDKMediaPipelines.js +75 -0
- package/dist-es/commands/CreateMediaConcatenationPipelineCommand.js +39 -0
- package/dist-es/commands/CreateMediaLiveConnectorPipelineCommand.js +39 -0
- package/dist-es/commands/DeleteMediaPipelineCommand.js +39 -0
- package/dist-es/commands/GetMediaPipelineCommand.js +39 -0
- package/dist-es/commands/ListMediaPipelinesCommand.js +39 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +111 -0
- package/dist-es/pagination/ListMediaPipelinesPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +912 -26
- package/dist-types/ChimeSDKMediaPipelines.d.ts +44 -11
- package/dist-types/ChimeSDKMediaPipelinesClient.d.ts +9 -6
- package/dist-types/commands/CreateMediaCapturePipelineCommand.d.ts +1 -1
- package/dist-types/commands/CreateMediaConcatenationPipelineCommand.d.ts +35 -0
- package/dist-types/commands/CreateMediaLiveConnectorPipelineCommand.d.ts +35 -0
- package/dist-types/commands/DeleteMediaCapturePipelineCommand.d.ts +1 -1
- package/dist-types/commands/DeleteMediaPipelineCommand.d.ts +35 -0
- package/dist-types/commands/GetMediaCapturePipelineCommand.d.ts +1 -1
- package/dist-types/commands/GetMediaPipelineCommand.d.ts +35 -0
- package/dist-types/commands/ListMediaCapturePipelinesCommand.d.ts +1 -1
- package/dist-types/commands/ListMediaPipelinesCommand.d.ts +35 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +674 -39
- package/dist-types/pagination/ListMediaPipelinesPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +15 -0
- package/dist-types/ts3.4/ChimeSDKMediaPipelines.d.ts +25 -0
- package/dist-types/ts3.4/ChimeSDKMediaPipelinesClient.d.ts +7 -2
- package/dist-types/ts3.4/commands/CreateMediaConcatenationPipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateMediaLiveConnectorPipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMediaPipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMediaPipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListMediaPipelinesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +355 -1
- package/dist-types/ts3.4/pagination/ListMediaPipelinesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +15 -0
- package/package.json +4 -4
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { ChimeSDKMediaPipelinesClient } from "./ChimeSDKMediaPipelinesClient";
|
|
3
3
|
import { CreateMediaCapturePipelineCommand, } from "./commands/CreateMediaCapturePipelineCommand";
|
|
4
|
+
import { CreateMediaConcatenationPipelineCommand, } from "./commands/CreateMediaConcatenationPipelineCommand";
|
|
5
|
+
import { CreateMediaLiveConnectorPipelineCommand, } from "./commands/CreateMediaLiveConnectorPipelineCommand";
|
|
4
6
|
import { DeleteMediaCapturePipelineCommand, } from "./commands/DeleteMediaCapturePipelineCommand";
|
|
7
|
+
import { DeleteMediaPipelineCommand, } from "./commands/DeleteMediaPipelineCommand";
|
|
5
8
|
import { GetMediaCapturePipelineCommand, } from "./commands/GetMediaCapturePipelineCommand";
|
|
9
|
+
import { GetMediaPipelineCommand, } from "./commands/GetMediaPipelineCommand";
|
|
6
10
|
import { ListMediaCapturePipelinesCommand, } from "./commands/ListMediaCapturePipelinesCommand";
|
|
11
|
+
import { ListMediaPipelinesCommand, } from "./commands/ListMediaPipelinesCommand";
|
|
7
12
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
8
13
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
9
14
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
@@ -26,6 +31,34 @@ var ChimeSDKMediaPipelines = (function (_super) {
|
|
|
26
31
|
return this.send(command, optionsOrCb);
|
|
27
32
|
}
|
|
28
33
|
};
|
|
34
|
+
ChimeSDKMediaPipelines.prototype.createMediaConcatenationPipeline = function (args, optionsOrCb, cb) {
|
|
35
|
+
var command = new CreateMediaConcatenationPipelineCommand(args);
|
|
36
|
+
if (typeof optionsOrCb === "function") {
|
|
37
|
+
this.send(command, optionsOrCb);
|
|
38
|
+
}
|
|
39
|
+
else if (typeof cb === "function") {
|
|
40
|
+
if (typeof optionsOrCb !== "object")
|
|
41
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
42
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
return this.send(command, optionsOrCb);
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
ChimeSDKMediaPipelines.prototype.createMediaLiveConnectorPipeline = function (args, optionsOrCb, cb) {
|
|
49
|
+
var command = new CreateMediaLiveConnectorPipelineCommand(args);
|
|
50
|
+
if (typeof optionsOrCb === "function") {
|
|
51
|
+
this.send(command, optionsOrCb);
|
|
52
|
+
}
|
|
53
|
+
else if (typeof cb === "function") {
|
|
54
|
+
if (typeof optionsOrCb !== "object")
|
|
55
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
56
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
return this.send(command, optionsOrCb);
|
|
60
|
+
}
|
|
61
|
+
};
|
|
29
62
|
ChimeSDKMediaPipelines.prototype.deleteMediaCapturePipeline = function (args, optionsOrCb, cb) {
|
|
30
63
|
var command = new DeleteMediaCapturePipelineCommand(args);
|
|
31
64
|
if (typeof optionsOrCb === "function") {
|
|
@@ -40,6 +73,20 @@ var ChimeSDKMediaPipelines = (function (_super) {
|
|
|
40
73
|
return this.send(command, optionsOrCb);
|
|
41
74
|
}
|
|
42
75
|
};
|
|
76
|
+
ChimeSDKMediaPipelines.prototype.deleteMediaPipeline = function (args, optionsOrCb, cb) {
|
|
77
|
+
var command = new DeleteMediaPipelineCommand(args);
|
|
78
|
+
if (typeof optionsOrCb === "function") {
|
|
79
|
+
this.send(command, optionsOrCb);
|
|
80
|
+
}
|
|
81
|
+
else if (typeof cb === "function") {
|
|
82
|
+
if (typeof optionsOrCb !== "object")
|
|
83
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
84
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
return this.send(command, optionsOrCb);
|
|
88
|
+
}
|
|
89
|
+
};
|
|
43
90
|
ChimeSDKMediaPipelines.prototype.getMediaCapturePipeline = function (args, optionsOrCb, cb) {
|
|
44
91
|
var command = new GetMediaCapturePipelineCommand(args);
|
|
45
92
|
if (typeof optionsOrCb === "function") {
|
|
@@ -54,6 +101,20 @@ var ChimeSDKMediaPipelines = (function (_super) {
|
|
|
54
101
|
return this.send(command, optionsOrCb);
|
|
55
102
|
}
|
|
56
103
|
};
|
|
104
|
+
ChimeSDKMediaPipelines.prototype.getMediaPipeline = function (args, optionsOrCb, cb) {
|
|
105
|
+
var command = new GetMediaPipelineCommand(args);
|
|
106
|
+
if (typeof optionsOrCb === "function") {
|
|
107
|
+
this.send(command, optionsOrCb);
|
|
108
|
+
}
|
|
109
|
+
else if (typeof cb === "function") {
|
|
110
|
+
if (typeof optionsOrCb !== "object")
|
|
111
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
112
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
return this.send(command, optionsOrCb);
|
|
116
|
+
}
|
|
117
|
+
};
|
|
57
118
|
ChimeSDKMediaPipelines.prototype.listMediaCapturePipelines = function (args, optionsOrCb, cb) {
|
|
58
119
|
var command = new ListMediaCapturePipelinesCommand(args);
|
|
59
120
|
if (typeof optionsOrCb === "function") {
|
|
@@ -68,6 +129,20 @@ var ChimeSDKMediaPipelines = (function (_super) {
|
|
|
68
129
|
return this.send(command, optionsOrCb);
|
|
69
130
|
}
|
|
70
131
|
};
|
|
132
|
+
ChimeSDKMediaPipelines.prototype.listMediaPipelines = function (args, optionsOrCb, cb) {
|
|
133
|
+
var command = new ListMediaPipelinesCommand(args);
|
|
134
|
+
if (typeof optionsOrCb === "function") {
|
|
135
|
+
this.send(command, optionsOrCb);
|
|
136
|
+
}
|
|
137
|
+
else if (typeof cb === "function") {
|
|
138
|
+
if (typeof optionsOrCb !== "object")
|
|
139
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
140
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
return this.send(command, optionsOrCb);
|
|
144
|
+
}
|
|
145
|
+
};
|
|
71
146
|
ChimeSDKMediaPipelines.prototype.listTagsForResource = function (args, optionsOrCb, cb) {
|
|
72
147
|
var command = new ListTagsForResourceCommand(args);
|
|
73
148
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateMediaConcatenationPipelineRequestFilterSensitiveLog, CreateMediaConcatenationPipelineResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateMediaConcatenationPipelineCommand, serializeAws_restJson1CreateMediaConcatenationPipelineCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateMediaConcatenationPipelineCommand = (function (_super) {
|
|
7
|
+
__extends(CreateMediaConcatenationPipelineCommand, _super);
|
|
8
|
+
function CreateMediaConcatenationPipelineCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateMediaConcatenationPipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMediaPipelinesClient";
|
|
18
|
+
var commandName = "CreateMediaConcatenationPipelineCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateMediaConcatenationPipelineRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateMediaConcatenationPipelineResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateMediaConcatenationPipelineCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateMediaConcatenationPipelineCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateMediaConcatenationPipelineCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateMediaConcatenationPipelineCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateMediaConcatenationPipelineCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateMediaConcatenationPipelineCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { CreateMediaLiveConnectorPipelineRequestFilterSensitiveLog, CreateMediaLiveConnectorPipelineResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1CreateMediaLiveConnectorPipelineCommand, serializeAws_restJson1CreateMediaLiveConnectorPipelineCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var CreateMediaLiveConnectorPipelineCommand = (function (_super) {
|
|
7
|
+
__extends(CreateMediaLiveConnectorPipelineCommand, _super);
|
|
8
|
+
function CreateMediaLiveConnectorPipelineCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
CreateMediaLiveConnectorPipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMediaPipelinesClient";
|
|
18
|
+
var commandName = "CreateMediaLiveConnectorPipelineCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: CreateMediaLiveConnectorPipelineRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateMediaLiveConnectorPipelineResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
CreateMediaLiveConnectorPipelineCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1CreateMediaLiveConnectorPipelineCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
CreateMediaLiveConnectorPipelineCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1CreateMediaLiveConnectorPipelineCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return CreateMediaLiveConnectorPipelineCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { CreateMediaLiveConnectorPipelineCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DeleteMediaPipelineRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DeleteMediaPipelineCommand, serializeAws_restJson1DeleteMediaPipelineCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DeleteMediaPipelineCommand = (function (_super) {
|
|
7
|
+
__extends(DeleteMediaPipelineCommand, _super);
|
|
8
|
+
function DeleteMediaPipelineCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DeleteMediaPipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMediaPipelinesClient";
|
|
18
|
+
var commandName = "DeleteMediaPipelineCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DeleteMediaPipelineRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DeleteMediaPipelineCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DeleteMediaPipelineCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DeleteMediaPipelineCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DeleteMediaPipelineCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DeleteMediaPipelineCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DeleteMediaPipelineCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { GetMediaPipelineRequestFilterSensitiveLog, GetMediaPipelineResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1GetMediaPipelineCommand, serializeAws_restJson1GetMediaPipelineCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var GetMediaPipelineCommand = (function (_super) {
|
|
7
|
+
__extends(GetMediaPipelineCommand, _super);
|
|
8
|
+
function GetMediaPipelineCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
GetMediaPipelineCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMediaPipelinesClient";
|
|
18
|
+
var commandName = "GetMediaPipelineCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: GetMediaPipelineRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetMediaPipelineResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetMediaPipelineCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1GetMediaPipelineCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
GetMediaPipelineCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1GetMediaPipelineCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return GetMediaPipelineCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetMediaPipelineCommand };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { ListMediaPipelinesRequestFilterSensitiveLog, ListMediaPipelinesResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1ListMediaPipelinesCommand, serializeAws_restJson1ListMediaPipelinesCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var ListMediaPipelinesCommand = (function (_super) {
|
|
7
|
+
__extends(ListMediaPipelinesCommand, _super);
|
|
8
|
+
function ListMediaPipelinesCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
ListMediaPipelinesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "ChimeSDKMediaPipelinesClient";
|
|
18
|
+
var commandName = "ListMediaPipelinesCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: ListMediaPipelinesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListMediaPipelinesResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListMediaPipelinesCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1ListMediaPipelinesCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
ListMediaPipelinesCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1ListMediaPipelinesCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return ListMediaPipelinesCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListMediaPipelinesCommand };
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
export * from "./CreateMediaCapturePipelineCommand";
|
|
2
|
+
export * from "./CreateMediaConcatenationPipelineCommand";
|
|
3
|
+
export * from "./CreateMediaLiveConnectorPipelineCommand";
|
|
2
4
|
export * from "./DeleteMediaCapturePipelineCommand";
|
|
5
|
+
export * from "./DeleteMediaPipelineCommand";
|
|
3
6
|
export * from "./GetMediaCapturePipelineCommand";
|
|
7
|
+
export * from "./GetMediaPipelineCommand";
|
|
4
8
|
export * from "./ListMediaCapturePipelinesCommand";
|
|
9
|
+
export * from "./ListMediaPipelinesCommand";
|
|
5
10
|
export * from "./ListTagsForResourceCommand";
|
|
6
11
|
export * from "./TagResourceCommand";
|
|
7
12
|
export * from "./UntagResourceCommand";
|
|
@@ -1,11 +1,43 @@
|
|
|
1
1
|
import { __assign, __extends } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { ChimeSDKMediaPipelinesServiceException as __BaseException } from "./ChimeSDKMediaPipelinesServiceException";
|
|
4
|
+
export var AudioArtifactsConcatenationState;
|
|
5
|
+
(function (AudioArtifactsConcatenationState) {
|
|
6
|
+
AudioArtifactsConcatenationState["Enabled"] = "Enabled";
|
|
7
|
+
})(AudioArtifactsConcatenationState || (AudioArtifactsConcatenationState = {}));
|
|
8
|
+
export var ArtifactsConcatenationState;
|
|
9
|
+
(function (ArtifactsConcatenationState) {
|
|
10
|
+
ArtifactsConcatenationState["Disabled"] = "Disabled";
|
|
11
|
+
ArtifactsConcatenationState["Enabled"] = "Enabled";
|
|
12
|
+
})(ArtifactsConcatenationState || (ArtifactsConcatenationState = {}));
|
|
4
13
|
export var AudioMuxType;
|
|
5
14
|
(function (AudioMuxType) {
|
|
6
15
|
AudioMuxType["AudioOnly"] = "AudioOnly";
|
|
7
16
|
AudioMuxType["AudioWithActiveSpeakerVideo"] = "AudioWithActiveSpeakerVideo";
|
|
17
|
+
AudioMuxType["AudioWithCompositedVideo"] = "AudioWithCompositedVideo";
|
|
8
18
|
})(AudioMuxType || (AudioMuxType = {}));
|
|
19
|
+
export var ContentShareLayoutOption;
|
|
20
|
+
(function (ContentShareLayoutOption) {
|
|
21
|
+
ContentShareLayoutOption["Horizontal"] = "Horizontal";
|
|
22
|
+
ContentShareLayoutOption["PresenterOnly"] = "PresenterOnly";
|
|
23
|
+
ContentShareLayoutOption["Vertical"] = "Vertical";
|
|
24
|
+
})(ContentShareLayoutOption || (ContentShareLayoutOption = {}));
|
|
25
|
+
export var PresenterPosition;
|
|
26
|
+
(function (PresenterPosition) {
|
|
27
|
+
PresenterPosition["BottomLeft"] = "BottomLeft";
|
|
28
|
+
PresenterPosition["BottomRight"] = "BottomRight";
|
|
29
|
+
PresenterPosition["TopLeft"] = "TopLeft";
|
|
30
|
+
PresenterPosition["TopRight"] = "TopRight";
|
|
31
|
+
})(PresenterPosition || (PresenterPosition = {}));
|
|
32
|
+
export var LayoutOption;
|
|
33
|
+
(function (LayoutOption) {
|
|
34
|
+
LayoutOption["GridView"] = "GridView";
|
|
35
|
+
})(LayoutOption || (LayoutOption = {}));
|
|
36
|
+
export var ResolutionOption;
|
|
37
|
+
(function (ResolutionOption) {
|
|
38
|
+
ResolutionOption["FHD"] = "FHD";
|
|
39
|
+
ResolutionOption["HD"] = "HD";
|
|
40
|
+
})(ResolutionOption || (ResolutionOption = {}));
|
|
9
41
|
export var ContentMuxType;
|
|
10
42
|
(function (ContentMuxType) {
|
|
11
43
|
ContentMuxType["ContentOnly"] = "ContentOnly";
|
|
@@ -19,6 +51,11 @@ export var VideoMuxType;
|
|
|
19
51
|
(function (VideoMuxType) {
|
|
20
52
|
VideoMuxType["VideoOnly"] = "VideoOnly";
|
|
21
53
|
})(VideoMuxType || (VideoMuxType = {}));
|
|
54
|
+
export var AudioChannelsOption;
|
|
55
|
+
(function (AudioChannelsOption) {
|
|
56
|
+
AudioChannelsOption["Mono"] = "Mono";
|
|
57
|
+
AudioChannelsOption["Stereo"] = "Stereo";
|
|
58
|
+
})(AudioChannelsOption || (AudioChannelsOption = {}));
|
|
22
59
|
export var ErrorCode;
|
|
23
60
|
(function (ErrorCode) {
|
|
24
61
|
ErrorCode["BadRequest"] = "BadRequest";
|
|
@@ -150,6 +187,27 @@ var UnauthorizedClientException = (function (_super) {
|
|
|
150
187
|
return UnauthorizedClientException;
|
|
151
188
|
}(__BaseException));
|
|
152
189
|
export { UnauthorizedClientException };
|
|
190
|
+
export var ConcatenationSinkType;
|
|
191
|
+
(function (ConcatenationSinkType) {
|
|
192
|
+
ConcatenationSinkType["S3Bucket"] = "S3Bucket";
|
|
193
|
+
})(ConcatenationSinkType || (ConcatenationSinkType = {}));
|
|
194
|
+
export var ConcatenationSourceType;
|
|
195
|
+
(function (ConcatenationSourceType) {
|
|
196
|
+
ConcatenationSourceType["MediaCapturePipeline"] = "MediaCapturePipeline";
|
|
197
|
+
})(ConcatenationSourceType || (ConcatenationSourceType = {}));
|
|
198
|
+
export var LiveConnectorSinkType;
|
|
199
|
+
(function (LiveConnectorSinkType) {
|
|
200
|
+
LiveConnectorSinkType["RTMP"] = "RTMP";
|
|
201
|
+
})(LiveConnectorSinkType || (LiveConnectorSinkType = {}));
|
|
202
|
+
export var LiveConnectorMuxType;
|
|
203
|
+
(function (LiveConnectorMuxType) {
|
|
204
|
+
LiveConnectorMuxType["AudioWithActiveSpeakerVideo"] = "AudioWithActiveSpeakerVideo";
|
|
205
|
+
LiveConnectorMuxType["AudioWithCompositedVideo"] = "AudioWithCompositedVideo";
|
|
206
|
+
})(LiveConnectorMuxType || (LiveConnectorMuxType = {}));
|
|
207
|
+
export var LiveConnectorSourceType;
|
|
208
|
+
(function (LiveConnectorSourceType) {
|
|
209
|
+
LiveConnectorSourceType["ChimeSdkMeeting"] = "ChimeSdkMeeting";
|
|
210
|
+
})(LiveConnectorSourceType || (LiveConnectorSourceType = {}));
|
|
153
211
|
var NotFoundException = (function (_super) {
|
|
154
212
|
__extends(NotFoundException, _super);
|
|
155
213
|
function NotFoundException(opts) {
|
|
@@ -165,7 +223,18 @@ var NotFoundException = (function (_super) {
|
|
|
165
223
|
return NotFoundException;
|
|
166
224
|
}(__BaseException));
|
|
167
225
|
export { NotFoundException };
|
|
226
|
+
export var AudioConcatenationConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
|
+
export var CompositedVideoConcatenationConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
228
|
+
export var ContentConcatenationConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
+
export var DataChannelConcatenationConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
230
|
+
export var MeetingEventsConcatenationConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
231
|
+
export var TranscriptionMessagesConcatenationConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
232
|
+
export var VideoConcatenationConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
233
|
+
export var ArtifactsConcatenationConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
168
234
|
export var AudioArtifactsConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
235
|
+
export var PresenterOnlyConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
236
|
+
export var GridViewConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
|
+
export var CompositedVideoArtifactsConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
169
238
|
export var ContentArtifactsConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
170
239
|
export var VideoArtifactsConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
171
240
|
export var ArtifactsConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -186,14 +255,56 @@ export var MediaCapturePipelineFilterSensitiveLog = function (obj) { return (__a
|
|
|
186
255
|
export var CreateMediaCapturePipelineResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.MediaCapturePipeline && {
|
|
187
256
|
MediaCapturePipeline: MediaCapturePipelineFilterSensitiveLog(obj.MediaCapturePipeline),
|
|
188
257
|
}))); };
|
|
258
|
+
export var S3BucketSinkConfigurationFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Destination && { Destination: SENSITIVE_STRING }))); };
|
|
259
|
+
export var ConcatenationSinkFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.S3BucketSinkConfiguration && {
|
|
260
|
+
S3BucketSinkConfiguration: S3BucketSinkConfigurationFilterSensitiveLog(obj.S3BucketSinkConfiguration),
|
|
261
|
+
}))); };
|
|
262
|
+
export var ChimeSdkMeetingConcatenationConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
263
|
+
export var MediaCapturePipelineSourceConfigurationFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.MediaPipelineArn && { MediaPipelineArn: SENSITIVE_STRING }))); };
|
|
264
|
+
export var ConcatenationSourceFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.MediaCapturePipelineSourceConfiguration && {
|
|
265
|
+
MediaCapturePipelineSourceConfiguration: MediaCapturePipelineSourceConfigurationFilterSensitiveLog(obj.MediaCapturePipelineSourceConfiguration),
|
|
266
|
+
}))); };
|
|
267
|
+
export var CreateMediaConcatenationPipelineRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.Sources && { Sources: obj.Sources.map(function (item) { return ConcatenationSourceFilterSensitiveLog(item); }) })), (obj.Sinks && { Sinks: obj.Sinks.map(function (item) { return ConcatenationSinkFilterSensitiveLog(item); }) })), (obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }))); };
|
|
268
|
+
export var MediaConcatenationPipelineFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Sources && { Sources: obj.Sources.map(function (item) { return ConcatenationSourceFilterSensitiveLog(item); }) })), (obj.Sinks && { Sinks: obj.Sinks.map(function (item) { return ConcatenationSinkFilterSensitiveLog(item); }) }))); };
|
|
269
|
+
export var CreateMediaConcatenationPipelineResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.MediaConcatenationPipeline && {
|
|
270
|
+
MediaConcatenationPipeline: MediaConcatenationPipelineFilterSensitiveLog(obj.MediaConcatenationPipeline),
|
|
271
|
+
}))); };
|
|
272
|
+
export var LiveConnectorRTMPConfigurationFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Url && { Url: SENSITIVE_STRING }))); };
|
|
273
|
+
export var LiveConnectorSinkConfigurationFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.RTMPConfiguration && {
|
|
274
|
+
RTMPConfiguration: LiveConnectorRTMPConfigurationFilterSensitiveLog(obj.RTMPConfiguration),
|
|
275
|
+
}))); };
|
|
276
|
+
export var ChimeSdkMeetingLiveConnectorConfigurationFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Arn && { Arn: SENSITIVE_STRING })), (obj.SourceConfiguration && {
|
|
277
|
+
SourceConfiguration: SourceConfigurationFilterSensitiveLog(obj.SourceConfiguration),
|
|
278
|
+
}))); };
|
|
279
|
+
export var LiveConnectorSourceConfigurationFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ChimeSdkMeetingLiveConnectorConfiguration && {
|
|
280
|
+
ChimeSdkMeetingLiveConnectorConfiguration: ChimeSdkMeetingLiveConnectorConfigurationFilterSensitiveLog(obj.ChimeSdkMeetingLiveConnectorConfiguration),
|
|
281
|
+
}))); };
|
|
282
|
+
export var CreateMediaLiveConnectorPipelineRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.Sources && { Sources: obj.Sources.map(function (item) { return LiveConnectorSourceConfigurationFilterSensitiveLog(item); }) })), (obj.Sinks && { Sinks: obj.Sinks.map(function (item) { return LiveConnectorSinkConfigurationFilterSensitiveLog(item); }) })), (obj.ClientRequestToken && { ClientRequestToken: SENSITIVE_STRING }))); };
|
|
283
|
+
export var MediaLiveConnectorPipelineFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Sources && { Sources: obj.Sources.map(function (item) { return LiveConnectorSourceConfigurationFilterSensitiveLog(item); }) })), (obj.Sinks && { Sinks: obj.Sinks.map(function (item) { return LiveConnectorSinkConfigurationFilterSensitiveLog(item); }) }))); };
|
|
284
|
+
export var CreateMediaLiveConnectorPipelineResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.MediaLiveConnectorPipeline && {
|
|
285
|
+
MediaLiveConnectorPipeline: MediaLiveConnectorPipelineFilterSensitiveLog(obj.MediaLiveConnectorPipeline),
|
|
286
|
+
}))); };
|
|
189
287
|
export var DeleteMediaCapturePipelineRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
288
|
+
export var DeleteMediaPipelineRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
190
289
|
export var GetMediaCapturePipelineRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
290
|
export var GetMediaCapturePipelineResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.MediaCapturePipeline && {
|
|
192
291
|
MediaCapturePipeline: MediaCapturePipelineFilterSensitiveLog(obj.MediaCapturePipeline),
|
|
193
292
|
}))); };
|
|
293
|
+
export var GetMediaPipelineRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
294
|
+
export var MediaPipelineFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.MediaCapturePipeline && {
|
|
295
|
+
MediaCapturePipeline: MediaCapturePipelineFilterSensitiveLog(obj.MediaCapturePipeline),
|
|
296
|
+
})), (obj.MediaLiveConnectorPipeline && {
|
|
297
|
+
MediaLiveConnectorPipeline: MediaLiveConnectorPipelineFilterSensitiveLog(obj.MediaLiveConnectorPipeline),
|
|
298
|
+
})), (obj.MediaConcatenationPipeline && {
|
|
299
|
+
MediaConcatenationPipeline: MediaConcatenationPipelineFilterSensitiveLog(obj.MediaConcatenationPipeline),
|
|
300
|
+
}))); };
|
|
301
|
+
export var GetMediaPipelineResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.MediaPipeline && { MediaPipeline: MediaPipelineFilterSensitiveLog(obj.MediaPipeline) }))); };
|
|
194
302
|
export var ListMediaCapturePipelinesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
303
|
export var MediaCapturePipelineSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
304
|
export var ListMediaCapturePipelinesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
305
|
+
export var ListMediaPipelinesRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
306
|
+
export var MediaPipelineSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
307
|
+
export var ListMediaPipelinesResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
308
|
export var ListTagsForResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
198
309
|
export var ListTagsForResourceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
310
|
export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ChimeSDKMediaPipelines } from "../ChimeSDKMediaPipelines";
|
|
3
|
+
import { ChimeSDKMediaPipelinesClient } from "../ChimeSDKMediaPipelinesClient";
|
|
4
|
+
import { ListMediaPipelinesCommand, } from "../commands/ListMediaPipelinesCommand";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListMediaPipelinesCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listMediaPipelines.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListMediaPipelines(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListMediaPipelines_1() {
|
|
39
|
+
var token, hasNext, page, prevToken;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
input["MaxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof ChimeSDKMediaPipelines)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof ChimeSDKMediaPipelinesClient)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected ChimeSDKMediaPipelines | ChimeSDKMediaPipelinesClient");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
prevToken = token;
|
|
67
|
+
token = page.NextToken;
|
|
68
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
69
|
+
return [3, 1];
|
|
70
|
+
case 9: return [4, __await(undefined)];
|
|
71
|
+
case 10: return [2, _a.sent()];
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
}
|