@aws-sdk/client-mediaconnect 3.312.0 → 3.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +167 -7
- package/dist-cjs/MediaConnect.js +300 -0
- package/dist-cjs/commands/AddBridgeOutputsCommand.js +45 -0
- package/dist-cjs/commands/AddBridgeSourcesCommand.js +45 -0
- package/dist-cjs/commands/CreateBridgeCommand.js +45 -0
- package/dist-cjs/commands/CreateGatewayCommand.js +45 -0
- package/dist-cjs/commands/DeleteBridgeCommand.js +45 -0
- package/dist-cjs/commands/DeleteGatewayCommand.js +45 -0
- package/dist-cjs/commands/DeregisterGatewayInstanceCommand.js +45 -0
- package/dist-cjs/commands/DescribeBridgeCommand.js +45 -0
- package/dist-cjs/commands/DescribeGatewayCommand.js +45 -0
- package/dist-cjs/commands/DescribeGatewayInstanceCommand.js +45 -0
- package/dist-cjs/commands/ListBridgesCommand.js +45 -0
- package/dist-cjs/commands/ListGatewayInstancesCommand.js +45 -0
- package/dist-cjs/commands/ListGatewaysCommand.js +45 -0
- package/dist-cjs/commands/RemoveBridgeOutputCommand.js +45 -0
- package/dist-cjs/commands/RemoveBridgeSourceCommand.js +45 -0
- package/dist-cjs/commands/UpdateBridgeCommand.js +45 -0
- package/dist-cjs/commands/UpdateBridgeOutputCommand.js +45 -0
- package/dist-cjs/commands/UpdateBridgeSourceCommand.js +45 -0
- package/dist-cjs/commands/UpdateBridgeStateCommand.js +45 -0
- package/dist-cjs/commands/UpdateGatewayInstanceCommand.js +45 -0
- package/dist-cjs/commands/index.js +20 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +106 -20
- package/dist-cjs/pagination/ListBridgesPaginator.js +29 -0
- package/dist-cjs/pagination/ListGatewayInstancesPaginator.js +29 -0
- package/dist-cjs/pagination/ListGatewaysPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2740 -1056
- package/dist-es/MediaConnect.js +300 -0
- package/dist-es/commands/AddBridgeOutputsCommand.js +41 -0
- package/dist-es/commands/AddBridgeSourcesCommand.js +41 -0
- package/dist-es/commands/CreateBridgeCommand.js +41 -0
- package/dist-es/commands/CreateGatewayCommand.js +41 -0
- package/dist-es/commands/DeleteBridgeCommand.js +41 -0
- package/dist-es/commands/DeleteGatewayCommand.js +41 -0
- package/dist-es/commands/DeregisterGatewayInstanceCommand.js +41 -0
- package/dist-es/commands/DescribeBridgeCommand.js +41 -0
- package/dist-es/commands/DescribeGatewayCommand.js +41 -0
- package/dist-es/commands/DescribeGatewayInstanceCommand.js +41 -0
- package/dist-es/commands/ListBridgesCommand.js +41 -0
- package/dist-es/commands/ListGatewayInstancesCommand.js +41 -0
- package/dist-es/commands/ListGatewaysCommand.js +41 -0
- package/dist-es/commands/RemoveBridgeOutputCommand.js +41 -0
- package/dist-es/commands/RemoveBridgeSourceCommand.js +41 -0
- package/dist-es/commands/UpdateBridgeCommand.js +41 -0
- package/dist-es/commands/UpdateBridgeOutputCommand.js +41 -0
- package/dist-es/commands/UpdateBridgeSourceCommand.js +41 -0
- package/dist-es/commands/UpdateBridgeStateCommand.js +41 -0
- package/dist-es/commands/UpdateGatewayInstanceCommand.js +41 -0
- package/dist-es/commands/index.js +20 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +102 -19
- package/dist-es/pagination/ListBridgesPaginator.js +25 -0
- package/dist-es/pagination/ListGatewayInstancesPaginator.js +25 -0
- package/dist-es/pagination/ListGatewaysPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +2627 -983
- package/dist-types/MediaConnect.d.ts +160 -0
- package/dist-types/MediaConnectClient.d.ts +22 -2
- package/dist-types/commands/AddBridgeOutputsCommand.d.ts +96 -0
- package/dist-types/commands/AddBridgeSourcesCommand.d.ts +102 -0
- package/dist-types/commands/AddFlowOutputsCommand.d.ts +1 -1
- package/dist-types/commands/AddFlowSourcesCommand.d.ts +7 -1
- package/dist-types/commands/CreateBridgeCommand.d.ts +130 -0
- package/dist-types/commands/CreateFlowCommand.d.ts +15 -3
- package/dist-types/commands/CreateGatewayCommand.d.ts +93 -0
- package/dist-types/commands/DeleteBridgeCommand.d.ts +84 -0
- package/dist-types/commands/DeleteGatewayCommand.d.ts +84 -0
- package/dist-types/commands/DeregisterGatewayInstanceCommand.d.ts +85 -0
- package/dist-types/commands/DescribeBridgeCommand.d.ts +84 -0
- package/dist-types/commands/DescribeGatewayCommand.d.ts +84 -0
- package/dist-types/commands/DescribeGatewayInstanceCommand.d.ts +84 -0
- package/dist-types/commands/ListBridgesCommand.d.ts +80 -0
- package/dist-types/commands/ListGatewayInstancesCommand.d.ts +80 -0
- package/dist-types/commands/ListGatewaysCommand.d.ts +79 -0
- package/dist-types/commands/RemoveBridgeOutputCommand.d.ts +85 -0
- package/dist-types/commands/RemoveBridgeSourceCommand.d.ts +85 -0
- package/dist-types/commands/UpdateBridgeCommand.d.ts +99 -0
- package/dist-types/commands/UpdateBridgeOutputCommand.d.ts +92 -0
- package/dist-types/commands/UpdateBridgeSourceCommand.d.ts +97 -0
- package/dist-types/commands/UpdateBridgeStateCommand.d.ts +85 -0
- package/dist-types/commands/UpdateFlowOutputCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFlowSourceCommand.d.ts +7 -1
- package/dist-types/commands/UpdateGatewayInstanceCommand.d.ts +85 -0
- package/dist-types/commands/index.d.ts +20 -0
- package/dist-types/models/models_0.d.ts +1340 -85
- package/dist-types/pagination/ListBridgesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGatewayInstancesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGatewaysPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +180 -0
- package/dist-types/ts3.4/MediaConnect.d.ts +340 -0
- package/dist-types/ts3.4/MediaConnectClient.d.ts +122 -2
- package/dist-types/ts3.4/commands/AddBridgeOutputsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/AddBridgeSourcesCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/CreateBridgeCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/CreateGatewayCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteBridgeCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteGatewayCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeregisterGatewayInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DescribeBridgeCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeGatewayCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeGatewayInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListBridgesCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListGatewayInstancesCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/RemoveBridgeOutputCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RemoveBridgeSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateBridgeCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateBridgeOutputCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateBridgeSourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateBridgeStateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateGatewayInstanceCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +20 -0
- package/dist-types/ts3.4/models/models_0.d.ts +442 -33
- package/dist-types/ts3.4/pagination/ListBridgesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGatewayInstancesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGatewaysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +240 -0
- package/package.json +6 -6
package/dist-cjs/MediaConnect.js
CHANGED
|
@@ -1,22 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.MediaConnect = void 0;
|
|
4
|
+
const AddBridgeOutputsCommand_1 = require("./commands/AddBridgeOutputsCommand");
|
|
5
|
+
const AddBridgeSourcesCommand_1 = require("./commands/AddBridgeSourcesCommand");
|
|
4
6
|
const AddFlowMediaStreamsCommand_1 = require("./commands/AddFlowMediaStreamsCommand");
|
|
5
7
|
const AddFlowOutputsCommand_1 = require("./commands/AddFlowOutputsCommand");
|
|
6
8
|
const AddFlowSourcesCommand_1 = require("./commands/AddFlowSourcesCommand");
|
|
7
9
|
const AddFlowVpcInterfacesCommand_1 = require("./commands/AddFlowVpcInterfacesCommand");
|
|
10
|
+
const CreateBridgeCommand_1 = require("./commands/CreateBridgeCommand");
|
|
8
11
|
const CreateFlowCommand_1 = require("./commands/CreateFlowCommand");
|
|
12
|
+
const CreateGatewayCommand_1 = require("./commands/CreateGatewayCommand");
|
|
13
|
+
const DeleteBridgeCommand_1 = require("./commands/DeleteBridgeCommand");
|
|
9
14
|
const DeleteFlowCommand_1 = require("./commands/DeleteFlowCommand");
|
|
15
|
+
const DeleteGatewayCommand_1 = require("./commands/DeleteGatewayCommand");
|
|
16
|
+
const DeregisterGatewayInstanceCommand_1 = require("./commands/DeregisterGatewayInstanceCommand");
|
|
17
|
+
const DescribeBridgeCommand_1 = require("./commands/DescribeBridgeCommand");
|
|
10
18
|
const DescribeFlowCommand_1 = require("./commands/DescribeFlowCommand");
|
|
19
|
+
const DescribeGatewayCommand_1 = require("./commands/DescribeGatewayCommand");
|
|
20
|
+
const DescribeGatewayInstanceCommand_1 = require("./commands/DescribeGatewayInstanceCommand");
|
|
11
21
|
const DescribeOfferingCommand_1 = require("./commands/DescribeOfferingCommand");
|
|
12
22
|
const DescribeReservationCommand_1 = require("./commands/DescribeReservationCommand");
|
|
13
23
|
const GrantFlowEntitlementsCommand_1 = require("./commands/GrantFlowEntitlementsCommand");
|
|
24
|
+
const ListBridgesCommand_1 = require("./commands/ListBridgesCommand");
|
|
14
25
|
const ListEntitlementsCommand_1 = require("./commands/ListEntitlementsCommand");
|
|
15
26
|
const ListFlowsCommand_1 = require("./commands/ListFlowsCommand");
|
|
27
|
+
const ListGatewayInstancesCommand_1 = require("./commands/ListGatewayInstancesCommand");
|
|
28
|
+
const ListGatewaysCommand_1 = require("./commands/ListGatewaysCommand");
|
|
16
29
|
const ListOfferingsCommand_1 = require("./commands/ListOfferingsCommand");
|
|
17
30
|
const ListReservationsCommand_1 = require("./commands/ListReservationsCommand");
|
|
18
31
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
19
32
|
const PurchaseOfferingCommand_1 = require("./commands/PurchaseOfferingCommand");
|
|
33
|
+
const RemoveBridgeOutputCommand_1 = require("./commands/RemoveBridgeOutputCommand");
|
|
34
|
+
const RemoveBridgeSourceCommand_1 = require("./commands/RemoveBridgeSourceCommand");
|
|
20
35
|
const RemoveFlowMediaStreamCommand_1 = require("./commands/RemoveFlowMediaStreamCommand");
|
|
21
36
|
const RemoveFlowOutputCommand_1 = require("./commands/RemoveFlowOutputCommand");
|
|
22
37
|
const RemoveFlowSourceCommand_1 = require("./commands/RemoveFlowSourceCommand");
|
|
@@ -26,13 +41,46 @@ const StartFlowCommand_1 = require("./commands/StartFlowCommand");
|
|
|
26
41
|
const StopFlowCommand_1 = require("./commands/StopFlowCommand");
|
|
27
42
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
28
43
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
44
|
+
const UpdateBridgeCommand_1 = require("./commands/UpdateBridgeCommand");
|
|
45
|
+
const UpdateBridgeOutputCommand_1 = require("./commands/UpdateBridgeOutputCommand");
|
|
46
|
+
const UpdateBridgeSourceCommand_1 = require("./commands/UpdateBridgeSourceCommand");
|
|
47
|
+
const UpdateBridgeStateCommand_1 = require("./commands/UpdateBridgeStateCommand");
|
|
29
48
|
const UpdateFlowCommand_1 = require("./commands/UpdateFlowCommand");
|
|
30
49
|
const UpdateFlowEntitlementCommand_1 = require("./commands/UpdateFlowEntitlementCommand");
|
|
31
50
|
const UpdateFlowMediaStreamCommand_1 = require("./commands/UpdateFlowMediaStreamCommand");
|
|
32
51
|
const UpdateFlowOutputCommand_1 = require("./commands/UpdateFlowOutputCommand");
|
|
33
52
|
const UpdateFlowSourceCommand_1 = require("./commands/UpdateFlowSourceCommand");
|
|
53
|
+
const UpdateGatewayInstanceCommand_1 = require("./commands/UpdateGatewayInstanceCommand");
|
|
34
54
|
const MediaConnectClient_1 = require("./MediaConnectClient");
|
|
35
55
|
class MediaConnect extends MediaConnectClient_1.MediaConnectClient {
|
|
56
|
+
addBridgeOutputs(args, optionsOrCb, cb) {
|
|
57
|
+
const command = new AddBridgeOutputsCommand_1.AddBridgeOutputsCommand(args);
|
|
58
|
+
if (typeof optionsOrCb === "function") {
|
|
59
|
+
this.send(command, optionsOrCb);
|
|
60
|
+
}
|
|
61
|
+
else if (typeof cb === "function") {
|
|
62
|
+
if (typeof optionsOrCb !== "object")
|
|
63
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
64
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
return this.send(command, optionsOrCb);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
addBridgeSources(args, optionsOrCb, cb) {
|
|
71
|
+
const command = new AddBridgeSourcesCommand_1.AddBridgeSourcesCommand(args);
|
|
72
|
+
if (typeof optionsOrCb === "function") {
|
|
73
|
+
this.send(command, optionsOrCb);
|
|
74
|
+
}
|
|
75
|
+
else if (typeof cb === "function") {
|
|
76
|
+
if (typeof optionsOrCb !== "object")
|
|
77
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
78
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
return this.send(command, optionsOrCb);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
36
84
|
addFlowMediaStreams(args, optionsOrCb, cb) {
|
|
37
85
|
const command = new AddFlowMediaStreamsCommand_1.AddFlowMediaStreamsCommand(args);
|
|
38
86
|
if (typeof optionsOrCb === "function") {
|
|
@@ -89,6 +137,20 @@ class MediaConnect extends MediaConnectClient_1.MediaConnectClient {
|
|
|
89
137
|
return this.send(command, optionsOrCb);
|
|
90
138
|
}
|
|
91
139
|
}
|
|
140
|
+
createBridge(args, optionsOrCb, cb) {
|
|
141
|
+
const command = new CreateBridgeCommand_1.CreateBridgeCommand(args);
|
|
142
|
+
if (typeof optionsOrCb === "function") {
|
|
143
|
+
this.send(command, optionsOrCb);
|
|
144
|
+
}
|
|
145
|
+
else if (typeof cb === "function") {
|
|
146
|
+
if (typeof optionsOrCb !== "object")
|
|
147
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
148
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
149
|
+
}
|
|
150
|
+
else {
|
|
151
|
+
return this.send(command, optionsOrCb);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
92
154
|
createFlow(args, optionsOrCb, cb) {
|
|
93
155
|
const command = new CreateFlowCommand_1.CreateFlowCommand(args);
|
|
94
156
|
if (typeof optionsOrCb === "function") {
|
|
@@ -103,6 +165,34 @@ class MediaConnect extends MediaConnectClient_1.MediaConnectClient {
|
|
|
103
165
|
return this.send(command, optionsOrCb);
|
|
104
166
|
}
|
|
105
167
|
}
|
|
168
|
+
createGateway(args, optionsOrCb, cb) {
|
|
169
|
+
const command = new CreateGatewayCommand_1.CreateGatewayCommand(args);
|
|
170
|
+
if (typeof optionsOrCb === "function") {
|
|
171
|
+
this.send(command, optionsOrCb);
|
|
172
|
+
}
|
|
173
|
+
else if (typeof cb === "function") {
|
|
174
|
+
if (typeof optionsOrCb !== "object")
|
|
175
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
176
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
177
|
+
}
|
|
178
|
+
else {
|
|
179
|
+
return this.send(command, optionsOrCb);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
deleteBridge(args, optionsOrCb, cb) {
|
|
183
|
+
const command = new DeleteBridgeCommand_1.DeleteBridgeCommand(args);
|
|
184
|
+
if (typeof optionsOrCb === "function") {
|
|
185
|
+
this.send(command, optionsOrCb);
|
|
186
|
+
}
|
|
187
|
+
else if (typeof cb === "function") {
|
|
188
|
+
if (typeof optionsOrCb !== "object")
|
|
189
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
190
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
191
|
+
}
|
|
192
|
+
else {
|
|
193
|
+
return this.send(command, optionsOrCb);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
106
196
|
deleteFlow(args, optionsOrCb, cb) {
|
|
107
197
|
const command = new DeleteFlowCommand_1.DeleteFlowCommand(args);
|
|
108
198
|
if (typeof optionsOrCb === "function") {
|
|
@@ -117,6 +207,48 @@ class MediaConnect extends MediaConnectClient_1.MediaConnectClient {
|
|
|
117
207
|
return this.send(command, optionsOrCb);
|
|
118
208
|
}
|
|
119
209
|
}
|
|
210
|
+
deleteGateway(args, optionsOrCb, cb) {
|
|
211
|
+
const command = new DeleteGatewayCommand_1.DeleteGatewayCommand(args);
|
|
212
|
+
if (typeof optionsOrCb === "function") {
|
|
213
|
+
this.send(command, optionsOrCb);
|
|
214
|
+
}
|
|
215
|
+
else if (typeof cb === "function") {
|
|
216
|
+
if (typeof optionsOrCb !== "object")
|
|
217
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
218
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
219
|
+
}
|
|
220
|
+
else {
|
|
221
|
+
return this.send(command, optionsOrCb);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
deregisterGatewayInstance(args, optionsOrCb, cb) {
|
|
225
|
+
const command = new DeregisterGatewayInstanceCommand_1.DeregisterGatewayInstanceCommand(args);
|
|
226
|
+
if (typeof optionsOrCb === "function") {
|
|
227
|
+
this.send(command, optionsOrCb);
|
|
228
|
+
}
|
|
229
|
+
else if (typeof cb === "function") {
|
|
230
|
+
if (typeof optionsOrCb !== "object")
|
|
231
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
232
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
233
|
+
}
|
|
234
|
+
else {
|
|
235
|
+
return this.send(command, optionsOrCb);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
describeBridge(args, optionsOrCb, cb) {
|
|
239
|
+
const command = new DescribeBridgeCommand_1.DescribeBridgeCommand(args);
|
|
240
|
+
if (typeof optionsOrCb === "function") {
|
|
241
|
+
this.send(command, optionsOrCb);
|
|
242
|
+
}
|
|
243
|
+
else if (typeof cb === "function") {
|
|
244
|
+
if (typeof optionsOrCb !== "object")
|
|
245
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
246
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
247
|
+
}
|
|
248
|
+
else {
|
|
249
|
+
return this.send(command, optionsOrCb);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
120
252
|
describeFlow(args, optionsOrCb, cb) {
|
|
121
253
|
const command = new DescribeFlowCommand_1.DescribeFlowCommand(args);
|
|
122
254
|
if (typeof optionsOrCb === "function") {
|
|
@@ -131,6 +263,34 @@ class MediaConnect extends MediaConnectClient_1.MediaConnectClient {
|
|
|
131
263
|
return this.send(command, optionsOrCb);
|
|
132
264
|
}
|
|
133
265
|
}
|
|
266
|
+
describeGateway(args, optionsOrCb, cb) {
|
|
267
|
+
const command = new DescribeGatewayCommand_1.DescribeGatewayCommand(args);
|
|
268
|
+
if (typeof optionsOrCb === "function") {
|
|
269
|
+
this.send(command, optionsOrCb);
|
|
270
|
+
}
|
|
271
|
+
else if (typeof cb === "function") {
|
|
272
|
+
if (typeof optionsOrCb !== "object")
|
|
273
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
274
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
275
|
+
}
|
|
276
|
+
else {
|
|
277
|
+
return this.send(command, optionsOrCb);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
describeGatewayInstance(args, optionsOrCb, cb) {
|
|
281
|
+
const command = new DescribeGatewayInstanceCommand_1.DescribeGatewayInstanceCommand(args);
|
|
282
|
+
if (typeof optionsOrCb === "function") {
|
|
283
|
+
this.send(command, optionsOrCb);
|
|
284
|
+
}
|
|
285
|
+
else if (typeof cb === "function") {
|
|
286
|
+
if (typeof optionsOrCb !== "object")
|
|
287
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
288
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
289
|
+
}
|
|
290
|
+
else {
|
|
291
|
+
return this.send(command, optionsOrCb);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
134
294
|
describeOffering(args, optionsOrCb, cb) {
|
|
135
295
|
const command = new DescribeOfferingCommand_1.DescribeOfferingCommand(args);
|
|
136
296
|
if (typeof optionsOrCb === "function") {
|
|
@@ -173,6 +333,20 @@ class MediaConnect extends MediaConnectClient_1.MediaConnectClient {
|
|
|
173
333
|
return this.send(command, optionsOrCb);
|
|
174
334
|
}
|
|
175
335
|
}
|
|
336
|
+
listBridges(args, optionsOrCb, cb) {
|
|
337
|
+
const command = new ListBridgesCommand_1.ListBridgesCommand(args);
|
|
338
|
+
if (typeof optionsOrCb === "function") {
|
|
339
|
+
this.send(command, optionsOrCb);
|
|
340
|
+
}
|
|
341
|
+
else if (typeof cb === "function") {
|
|
342
|
+
if (typeof optionsOrCb !== "object")
|
|
343
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
344
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
345
|
+
}
|
|
346
|
+
else {
|
|
347
|
+
return this.send(command, optionsOrCb);
|
|
348
|
+
}
|
|
349
|
+
}
|
|
176
350
|
listEntitlements(args, optionsOrCb, cb) {
|
|
177
351
|
const command = new ListEntitlementsCommand_1.ListEntitlementsCommand(args);
|
|
178
352
|
if (typeof optionsOrCb === "function") {
|
|
@@ -201,6 +375,34 @@ class MediaConnect extends MediaConnectClient_1.MediaConnectClient {
|
|
|
201
375
|
return this.send(command, optionsOrCb);
|
|
202
376
|
}
|
|
203
377
|
}
|
|
378
|
+
listGatewayInstances(args, optionsOrCb, cb) {
|
|
379
|
+
const command = new ListGatewayInstancesCommand_1.ListGatewayInstancesCommand(args);
|
|
380
|
+
if (typeof optionsOrCb === "function") {
|
|
381
|
+
this.send(command, optionsOrCb);
|
|
382
|
+
}
|
|
383
|
+
else if (typeof cb === "function") {
|
|
384
|
+
if (typeof optionsOrCb !== "object")
|
|
385
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
386
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
387
|
+
}
|
|
388
|
+
else {
|
|
389
|
+
return this.send(command, optionsOrCb);
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
listGateways(args, optionsOrCb, cb) {
|
|
393
|
+
const command = new ListGatewaysCommand_1.ListGatewaysCommand(args);
|
|
394
|
+
if (typeof optionsOrCb === "function") {
|
|
395
|
+
this.send(command, optionsOrCb);
|
|
396
|
+
}
|
|
397
|
+
else if (typeof cb === "function") {
|
|
398
|
+
if (typeof optionsOrCb !== "object")
|
|
399
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
400
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
401
|
+
}
|
|
402
|
+
else {
|
|
403
|
+
return this.send(command, optionsOrCb);
|
|
404
|
+
}
|
|
405
|
+
}
|
|
204
406
|
listOfferings(args, optionsOrCb, cb) {
|
|
205
407
|
const command = new ListOfferingsCommand_1.ListOfferingsCommand(args);
|
|
206
408
|
if (typeof optionsOrCb === "function") {
|
|
@@ -257,6 +459,34 @@ class MediaConnect extends MediaConnectClient_1.MediaConnectClient {
|
|
|
257
459
|
return this.send(command, optionsOrCb);
|
|
258
460
|
}
|
|
259
461
|
}
|
|
462
|
+
removeBridgeOutput(args, optionsOrCb, cb) {
|
|
463
|
+
const command = new RemoveBridgeOutputCommand_1.RemoveBridgeOutputCommand(args);
|
|
464
|
+
if (typeof optionsOrCb === "function") {
|
|
465
|
+
this.send(command, optionsOrCb);
|
|
466
|
+
}
|
|
467
|
+
else if (typeof cb === "function") {
|
|
468
|
+
if (typeof optionsOrCb !== "object")
|
|
469
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
470
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
471
|
+
}
|
|
472
|
+
else {
|
|
473
|
+
return this.send(command, optionsOrCb);
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
removeBridgeSource(args, optionsOrCb, cb) {
|
|
477
|
+
const command = new RemoveBridgeSourceCommand_1.RemoveBridgeSourceCommand(args);
|
|
478
|
+
if (typeof optionsOrCb === "function") {
|
|
479
|
+
this.send(command, optionsOrCb);
|
|
480
|
+
}
|
|
481
|
+
else if (typeof cb === "function") {
|
|
482
|
+
if (typeof optionsOrCb !== "object")
|
|
483
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
484
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
485
|
+
}
|
|
486
|
+
else {
|
|
487
|
+
return this.send(command, optionsOrCb);
|
|
488
|
+
}
|
|
489
|
+
}
|
|
260
490
|
removeFlowMediaStream(args, optionsOrCb, cb) {
|
|
261
491
|
const command = new RemoveFlowMediaStreamCommand_1.RemoveFlowMediaStreamCommand(args);
|
|
262
492
|
if (typeof optionsOrCb === "function") {
|
|
@@ -383,6 +613,62 @@ class MediaConnect extends MediaConnectClient_1.MediaConnectClient {
|
|
|
383
613
|
return this.send(command, optionsOrCb);
|
|
384
614
|
}
|
|
385
615
|
}
|
|
616
|
+
updateBridge(args, optionsOrCb, cb) {
|
|
617
|
+
const command = new UpdateBridgeCommand_1.UpdateBridgeCommand(args);
|
|
618
|
+
if (typeof optionsOrCb === "function") {
|
|
619
|
+
this.send(command, optionsOrCb);
|
|
620
|
+
}
|
|
621
|
+
else if (typeof cb === "function") {
|
|
622
|
+
if (typeof optionsOrCb !== "object")
|
|
623
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
624
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
625
|
+
}
|
|
626
|
+
else {
|
|
627
|
+
return this.send(command, optionsOrCb);
|
|
628
|
+
}
|
|
629
|
+
}
|
|
630
|
+
updateBridgeOutput(args, optionsOrCb, cb) {
|
|
631
|
+
const command = new UpdateBridgeOutputCommand_1.UpdateBridgeOutputCommand(args);
|
|
632
|
+
if (typeof optionsOrCb === "function") {
|
|
633
|
+
this.send(command, optionsOrCb);
|
|
634
|
+
}
|
|
635
|
+
else if (typeof cb === "function") {
|
|
636
|
+
if (typeof optionsOrCb !== "object")
|
|
637
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
638
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
639
|
+
}
|
|
640
|
+
else {
|
|
641
|
+
return this.send(command, optionsOrCb);
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
updateBridgeSource(args, optionsOrCb, cb) {
|
|
645
|
+
const command = new UpdateBridgeSourceCommand_1.UpdateBridgeSourceCommand(args);
|
|
646
|
+
if (typeof optionsOrCb === "function") {
|
|
647
|
+
this.send(command, optionsOrCb);
|
|
648
|
+
}
|
|
649
|
+
else if (typeof cb === "function") {
|
|
650
|
+
if (typeof optionsOrCb !== "object")
|
|
651
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
652
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
653
|
+
}
|
|
654
|
+
else {
|
|
655
|
+
return this.send(command, optionsOrCb);
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
updateBridgeState(args, optionsOrCb, cb) {
|
|
659
|
+
const command = new UpdateBridgeStateCommand_1.UpdateBridgeStateCommand(args);
|
|
660
|
+
if (typeof optionsOrCb === "function") {
|
|
661
|
+
this.send(command, optionsOrCb);
|
|
662
|
+
}
|
|
663
|
+
else if (typeof cb === "function") {
|
|
664
|
+
if (typeof optionsOrCb !== "object")
|
|
665
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
666
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
667
|
+
}
|
|
668
|
+
else {
|
|
669
|
+
return this.send(command, optionsOrCb);
|
|
670
|
+
}
|
|
671
|
+
}
|
|
386
672
|
updateFlow(args, optionsOrCb, cb) {
|
|
387
673
|
const command = new UpdateFlowCommand_1.UpdateFlowCommand(args);
|
|
388
674
|
if (typeof optionsOrCb === "function") {
|
|
@@ -453,5 +739,19 @@ class MediaConnect extends MediaConnectClient_1.MediaConnectClient {
|
|
|
453
739
|
return this.send(command, optionsOrCb);
|
|
454
740
|
}
|
|
455
741
|
}
|
|
742
|
+
updateGatewayInstance(args, optionsOrCb, cb) {
|
|
743
|
+
const command = new UpdateGatewayInstanceCommand_1.UpdateGatewayInstanceCommand(args);
|
|
744
|
+
if (typeof optionsOrCb === "function") {
|
|
745
|
+
this.send(command, optionsOrCb);
|
|
746
|
+
}
|
|
747
|
+
else if (typeof cb === "function") {
|
|
748
|
+
if (typeof optionsOrCb !== "object")
|
|
749
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
750
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
751
|
+
}
|
|
752
|
+
else {
|
|
753
|
+
return this.send(command, optionsOrCb);
|
|
754
|
+
}
|
|
755
|
+
}
|
|
456
756
|
}
|
|
457
757
|
exports.MediaConnect = MediaConnect;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddBridgeOutputsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class AddBridgeOutputsCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddBridgeOutputsCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "MediaConnectClient";
|
|
27
|
+
const commandName = "AddBridgeOutputsCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_AddBridgeOutputsCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_AddBridgeOutputsCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.AddBridgeOutputsCommand = AddBridgeOutputsCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddBridgeSourcesCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class AddBridgeSourcesCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddBridgeSourcesCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "MediaConnectClient";
|
|
27
|
+
const commandName = "AddBridgeSourcesCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_AddBridgeSourcesCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_AddBridgeSourcesCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.AddBridgeSourcesCommand = AddBridgeSourcesCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateBridgeCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateBridgeCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateBridgeCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "MediaConnectClient";
|
|
27
|
+
const commandName = "CreateBridgeCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_CreateBridgeCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_CreateBridgeCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.CreateBridgeCommand = CreateBridgeCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateGatewayCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class CreateGatewayCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateGatewayCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "MediaConnectClient";
|
|
27
|
+
const commandName = "CreateGatewayCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_CreateGatewayCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_CreateGatewayCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.CreateGatewayCommand = CreateGatewayCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteBridgeCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteBridgeCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteBridgeCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "MediaConnectClient";
|
|
27
|
+
const commandName = "DeleteBridgeCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_DeleteBridgeCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_DeleteBridgeCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.DeleteBridgeCommand = DeleteBridgeCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteGatewayCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteGatewayCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteGatewayCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "MediaConnectClient";
|
|
27
|
+
const commandName = "DeleteGatewayCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_restJson1_1.se_DeleteGatewayCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_restJson1_1.de_DeleteGatewayCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.DeleteGatewayCommand = DeleteGatewayCommand;
|