@aws-sdk/client-mediaconnect 3.54.0 → 3.56.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/dist-cjs/MediaConnectClient.js +13 -13
- package/dist-cjs/commands/AddFlowMediaStreamsCommand.js +3 -3
- package/dist-cjs/commands/AddFlowOutputsCommand.js +3 -3
- package/dist-cjs/commands/AddFlowSourcesCommand.js +3 -3
- package/dist-cjs/commands/AddFlowVpcInterfacesCommand.js +3 -3
- package/dist-cjs/commands/CreateFlowCommand.js +3 -3
- package/dist-cjs/commands/DeleteFlowCommand.js +3 -3
- package/dist-cjs/commands/DescribeFlowCommand.js +3 -3
- package/dist-cjs/commands/DescribeOfferingCommand.js +3 -3
- package/dist-cjs/commands/DescribeReservationCommand.js +3 -3
- package/dist-cjs/commands/GrantFlowEntitlementsCommand.js +3 -3
- package/dist-cjs/commands/ListEntitlementsCommand.js +3 -3
- package/dist-cjs/commands/ListFlowsCommand.js +3 -3
- package/dist-cjs/commands/ListOfferingsCommand.js +3 -3
- package/dist-cjs/commands/ListReservationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PurchaseOfferingCommand.js +3 -3
- package/dist-cjs/commands/RemoveFlowMediaStreamCommand.js +3 -3
- package/dist-cjs/commands/RemoveFlowOutputCommand.js +3 -3
- package/dist-cjs/commands/RemoveFlowSourceCommand.js +3 -3
- package/dist-cjs/commands/RemoveFlowVpcInterfaceCommand.js +3 -3
- package/dist-cjs/commands/RevokeFlowEntitlementCommand.js +3 -3
- package/dist-cjs/commands/StartFlowCommand.js +3 -3
- package/dist-cjs/commands/StopFlowCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateFlowCommand.js +3 -3
- package/dist-cjs/commands/UpdateFlowEntitlementCommand.js +3 -3
- package/dist-cjs/commands/UpdateFlowMediaStreamCommand.js +3 -3
- package/dist-cjs/commands/UpdateFlowOutputCommand.js +3 -3
- package/dist-cjs/commands/UpdateFlowSourceCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/models/models_0.js +31 -3
- package/dist-cjs/protocols/Aws_restJson1.js +296 -258
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForFlowActive.js +3 -3
- package/dist-cjs/waiters/waitForFlowDeleted.js +3 -3
- package/dist-cjs/waiters/waitForFlowStandby.js +3 -3
- package/dist-es/MediaConnect.js +30 -30
- package/dist-es/models/models_0.js +22 -0
- package/dist-es/pagination/ListEntitlementsPaginator.js +4 -4
- package/dist-es/pagination/ListFlowsPaginator.js +4 -4
- package/dist-es/pagination/ListOfferingsPaginator.js +4 -4
- package/dist-es/pagination/ListReservationsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +62 -33
- package/dist-types/models/models_0.d.ts +94 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +56 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +35 -35
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1AddFlowMediaStreamsCommand = function (input, c
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}/mediaStreams";
|
|
17
17
|
if (input.FlowArn !== undefined) {
|
|
18
18
|
labelValue = input.FlowArn;
|
|
19
19
|
if (labelValue.length <= 0) {
|
|
@@ -50,7 +50,7 @@ export var serializeAws_restJson1AddFlowOutputsCommand = function (input, contex
|
|
|
50
50
|
headers = {
|
|
51
51
|
"content-type": "application/json",
|
|
52
52
|
};
|
|
53
|
-
resolvedPath = ""
|
|
53
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}/outputs";
|
|
54
54
|
if (input.FlowArn !== undefined) {
|
|
55
55
|
labelValue = input.FlowArn;
|
|
56
56
|
if (labelValue.length <= 0) {
|
|
@@ -85,7 +85,7 @@ export var serializeAws_restJson1AddFlowSourcesCommand = function (input, contex
|
|
|
85
85
|
headers = {
|
|
86
86
|
"content-type": "application/json",
|
|
87
87
|
};
|
|
88
|
-
resolvedPath = ""
|
|
88
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}/source";
|
|
89
89
|
if (input.FlowArn !== undefined) {
|
|
90
90
|
labelValue = input.FlowArn;
|
|
91
91
|
if (labelValue.length <= 0) {
|
|
@@ -120,7 +120,7 @@ export var serializeAws_restJson1AddFlowVpcInterfacesCommand = function (input,
|
|
|
120
120
|
headers = {
|
|
121
121
|
"content-type": "application/json",
|
|
122
122
|
};
|
|
123
|
-
resolvedPath = ""
|
|
123
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}/vpcInterfaces";
|
|
124
124
|
if (input.FlowArn !== undefined) {
|
|
125
125
|
labelValue = input.FlowArn;
|
|
126
126
|
if (labelValue.length <= 0) {
|
|
@@ -157,12 +157,13 @@ export var serializeAws_restJson1CreateFlowCommand = function (input, context) {
|
|
|
157
157
|
headers = {
|
|
158
158
|
"content-type": "application/json",
|
|
159
159
|
};
|
|
160
|
-
resolvedPath = ""
|
|
161
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZone !== undefined &&
|
|
160
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows";
|
|
161
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.AvailabilityZone !== undefined &&
|
|
162
162
|
input.AvailabilityZone !== null && { availabilityZone: input.AvailabilityZone })), (input.Entitlements !== undefined &&
|
|
163
163
|
input.Entitlements !== null && {
|
|
164
164
|
entitlements: serializeAws_restJson1__listOfGrantEntitlementRequest(input.Entitlements, context),
|
|
165
|
-
})), (input.
|
|
165
|
+
})), (input.Maintenance !== undefined &&
|
|
166
|
+
input.Maintenance !== null && { maintenance: serializeAws_restJson1AddMaintenance(input.Maintenance, context) })), (input.MediaStreams !== undefined &&
|
|
166
167
|
input.MediaStreams !== null && {
|
|
167
168
|
mediaStreams: serializeAws_restJson1__listOfAddMediaStreamRequest(input.MediaStreams, context),
|
|
168
169
|
})), (input.Name !== undefined && input.Name !== null && { name: input.Name })), (input.Outputs !== undefined &&
|
|
@@ -195,7 +196,7 @@ export var serializeAws_restJson1DeleteFlowCommand = function (input, context) {
|
|
|
195
196
|
case 1:
|
|
196
197
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
197
198
|
headers = {};
|
|
198
|
-
resolvedPath = ""
|
|
199
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}";
|
|
199
200
|
if (input.FlowArn !== undefined) {
|
|
200
201
|
labelValue = input.FlowArn;
|
|
201
202
|
if (labelValue.length <= 0) {
|
|
@@ -226,7 +227,7 @@ export var serializeAws_restJson1DescribeFlowCommand = function (input, context)
|
|
|
226
227
|
case 1:
|
|
227
228
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
228
229
|
headers = {};
|
|
229
|
-
resolvedPath = ""
|
|
230
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}";
|
|
230
231
|
if (input.FlowArn !== undefined) {
|
|
231
232
|
labelValue = input.FlowArn;
|
|
232
233
|
if (labelValue.length <= 0) {
|
|
@@ -257,7 +258,7 @@ export var serializeAws_restJson1DescribeOfferingCommand = function (input, cont
|
|
|
257
258
|
case 1:
|
|
258
259
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
259
260
|
headers = {};
|
|
260
|
-
resolvedPath = ""
|
|
261
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/offerings/{OfferingArn}";
|
|
261
262
|
if (input.OfferingArn !== undefined) {
|
|
262
263
|
labelValue = input.OfferingArn;
|
|
263
264
|
if (labelValue.length <= 0) {
|
|
@@ -288,7 +289,7 @@ export var serializeAws_restJson1DescribeReservationCommand = function (input, c
|
|
|
288
289
|
case 1:
|
|
289
290
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
290
291
|
headers = {};
|
|
291
|
-
resolvedPath = ""
|
|
292
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/reservations/{ReservationArn}";
|
|
292
293
|
if (input.ReservationArn !== undefined) {
|
|
293
294
|
labelValue = input.ReservationArn;
|
|
294
295
|
if (labelValue.length <= 0) {
|
|
@@ -321,7 +322,7 @@ export var serializeAws_restJson1GrantFlowEntitlementsCommand = function (input,
|
|
|
321
322
|
headers = {
|
|
322
323
|
"content-type": "application/json",
|
|
323
324
|
};
|
|
324
|
-
resolvedPath = ""
|
|
325
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}/entitlements";
|
|
325
326
|
if (input.FlowArn !== undefined) {
|
|
326
327
|
labelValue = input.FlowArn;
|
|
327
328
|
if (labelValue.length <= 0) {
|
|
@@ -356,7 +357,7 @@ export var serializeAws_restJson1ListEntitlementsCommand = function (input, cont
|
|
|
356
357
|
case 1:
|
|
357
358
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
358
359
|
headers = {};
|
|
359
|
-
resolvedPath = ""
|
|
360
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/entitlements";
|
|
360
361
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
361
362
|
return [2, new __HttpRequest({
|
|
362
363
|
protocol: protocol,
|
|
@@ -379,7 +380,7 @@ export var serializeAws_restJson1ListFlowsCommand = function (input, context) {
|
|
|
379
380
|
case 1:
|
|
380
381
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
381
382
|
headers = {};
|
|
382
|
-
resolvedPath = ""
|
|
383
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows";
|
|
383
384
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
384
385
|
return [2, new __HttpRequest({
|
|
385
386
|
protocol: protocol,
|
|
@@ -402,7 +403,7 @@ export var serializeAws_restJson1ListOfferingsCommand = function (input, context
|
|
|
402
403
|
case 1:
|
|
403
404
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
404
405
|
headers = {};
|
|
405
|
-
resolvedPath = ""
|
|
406
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/offerings";
|
|
406
407
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
407
408
|
return [2, new __HttpRequest({
|
|
408
409
|
protocol: protocol,
|
|
@@ -425,7 +426,7 @@ export var serializeAws_restJson1ListReservationsCommand = function (input, cont
|
|
|
425
426
|
case 1:
|
|
426
427
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
427
428
|
headers = {};
|
|
428
|
-
resolvedPath = ""
|
|
429
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/reservations";
|
|
429
430
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
430
431
|
return [2, new __HttpRequest({
|
|
431
432
|
protocol: protocol,
|
|
@@ -448,7 +449,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
448
449
|
case 1:
|
|
449
450
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
450
451
|
headers = {};
|
|
451
|
-
resolvedPath = ""
|
|
452
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
452
453
|
if (input.ResourceArn !== undefined) {
|
|
453
454
|
labelValue = input.ResourceArn;
|
|
454
455
|
if (labelValue.length <= 0) {
|
|
@@ -481,7 +482,7 @@ export var serializeAws_restJson1PurchaseOfferingCommand = function (input, cont
|
|
|
481
482
|
headers = {
|
|
482
483
|
"content-type": "application/json",
|
|
483
484
|
};
|
|
484
|
-
resolvedPath = ""
|
|
485
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/offerings/{OfferingArn}";
|
|
485
486
|
if (input.OfferingArn !== undefined) {
|
|
486
487
|
labelValue = input.OfferingArn;
|
|
487
488
|
if (labelValue.length <= 0) {
|
|
@@ -514,7 +515,7 @@ export var serializeAws_restJson1RemoveFlowMediaStreamCommand = function (input,
|
|
|
514
515
|
case 1:
|
|
515
516
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
516
517
|
headers = {};
|
|
517
|
-
resolvedPath = ""
|
|
518
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
518
519
|
"/v1/flows/{FlowArn}/mediaStreams/{MediaStreamName}";
|
|
519
520
|
if (input.FlowArn !== undefined) {
|
|
520
521
|
labelValue = input.FlowArn;
|
|
@@ -556,7 +557,7 @@ export var serializeAws_restJson1RemoveFlowOutputCommand = function (input, cont
|
|
|
556
557
|
case 1:
|
|
557
558
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
558
559
|
headers = {};
|
|
559
|
-
resolvedPath = ""
|
|
560
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}/outputs/{OutputArn}";
|
|
560
561
|
if (input.FlowArn !== undefined) {
|
|
561
562
|
labelValue = input.FlowArn;
|
|
562
563
|
if (labelValue.length <= 0) {
|
|
@@ -597,7 +598,7 @@ export var serializeAws_restJson1RemoveFlowSourceCommand = function (input, cont
|
|
|
597
598
|
case 1:
|
|
598
599
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
599
600
|
headers = {};
|
|
600
|
-
resolvedPath = ""
|
|
601
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}/source/{SourceArn}";
|
|
601
602
|
if (input.FlowArn !== undefined) {
|
|
602
603
|
labelValue = input.FlowArn;
|
|
603
604
|
if (labelValue.length <= 0) {
|
|
@@ -638,7 +639,7 @@ export var serializeAws_restJson1RemoveFlowVpcInterfaceCommand = function (input
|
|
|
638
639
|
case 1:
|
|
639
640
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
640
641
|
headers = {};
|
|
641
|
-
resolvedPath = ""
|
|
642
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
642
643
|
"/v1/flows/{FlowArn}/vpcInterfaces/{VpcInterfaceName}";
|
|
643
644
|
if (input.FlowArn !== undefined) {
|
|
644
645
|
labelValue = input.FlowArn;
|
|
@@ -680,7 +681,7 @@ export var serializeAws_restJson1RevokeFlowEntitlementCommand = function (input,
|
|
|
680
681
|
case 1:
|
|
681
682
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
682
683
|
headers = {};
|
|
683
|
-
resolvedPath = ""
|
|
684
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
684
685
|
"/v1/flows/{FlowArn}/entitlements/{EntitlementArn}";
|
|
685
686
|
if (input.EntitlementArn !== undefined) {
|
|
686
687
|
labelValue = input.EntitlementArn;
|
|
@@ -722,7 +723,7 @@ export var serializeAws_restJson1StartFlowCommand = function (input, context) {
|
|
|
722
723
|
case 1:
|
|
723
724
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
724
725
|
headers = {};
|
|
725
|
-
resolvedPath = ""
|
|
726
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/start/{FlowArn}";
|
|
726
727
|
if (input.FlowArn !== undefined) {
|
|
727
728
|
labelValue = input.FlowArn;
|
|
728
729
|
if (labelValue.length <= 0) {
|
|
@@ -753,7 +754,7 @@ export var serializeAws_restJson1StopFlowCommand = function (input, context) { r
|
|
|
753
754
|
case 1:
|
|
754
755
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
755
756
|
headers = {};
|
|
756
|
-
resolvedPath = ""
|
|
757
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/stop/{FlowArn}";
|
|
757
758
|
if (input.FlowArn !== undefined) {
|
|
758
759
|
labelValue = input.FlowArn;
|
|
759
760
|
if (labelValue.length <= 0) {
|
|
@@ -786,7 +787,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
786
787
|
headers = {
|
|
787
788
|
"content-type": "application/json",
|
|
788
789
|
};
|
|
789
|
-
resolvedPath = ""
|
|
790
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
790
791
|
if (input.ResourceArn !== undefined) {
|
|
791
792
|
labelValue = input.ResourceArn;
|
|
792
793
|
if (labelValue.length <= 0) {
|
|
@@ -819,7 +820,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
819
820
|
case 1:
|
|
820
821
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
821
822
|
headers = {};
|
|
822
|
-
resolvedPath = ""
|
|
823
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{ResourceArn}";
|
|
823
824
|
if (input.ResourceArn !== undefined) {
|
|
824
825
|
labelValue = input.ResourceArn;
|
|
825
826
|
if (labelValue.length <= 0) {
|
|
@@ -854,7 +855,7 @@ export var serializeAws_restJson1UpdateFlowCommand = function (input, context) {
|
|
|
854
855
|
headers = {
|
|
855
856
|
"content-type": "application/json",
|
|
856
857
|
};
|
|
857
|
-
resolvedPath = ""
|
|
858
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}";
|
|
858
859
|
if (input.FlowArn !== undefined) {
|
|
859
860
|
labelValue = input.FlowArn;
|
|
860
861
|
if (labelValue.length <= 0) {
|
|
@@ -865,7 +866,10 @@ export var serializeAws_restJson1UpdateFlowCommand = function (input, context) {
|
|
|
865
866
|
else {
|
|
866
867
|
throw new Error("No value provided for input HTTP label: FlowArn.");
|
|
867
868
|
}
|
|
868
|
-
body = JSON.stringify(__assign({}, (input.
|
|
869
|
+
body = JSON.stringify(__assign(__assign({}, (input.Maintenance !== undefined &&
|
|
870
|
+
input.Maintenance !== null && {
|
|
871
|
+
maintenance: serializeAws_restJson1UpdateMaintenance(input.Maintenance, context),
|
|
872
|
+
})), (input.SourceFailoverConfig !== undefined &&
|
|
869
873
|
input.SourceFailoverConfig !== null && {
|
|
870
874
|
sourceFailoverConfig: serializeAws_restJson1UpdateFailoverConfig(input.SourceFailoverConfig, context),
|
|
871
875
|
})));
|
|
@@ -891,7 +895,7 @@ export var serializeAws_restJson1UpdateFlowEntitlementCommand = function (input,
|
|
|
891
895
|
headers = {
|
|
892
896
|
"content-type": "application/json",
|
|
893
897
|
};
|
|
894
|
-
resolvedPath = ""
|
|
898
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
895
899
|
"/v1/flows/{FlowArn}/entitlements/{EntitlementArn}";
|
|
896
900
|
if (input.EntitlementArn !== undefined) {
|
|
897
901
|
labelValue = input.EntitlementArn;
|
|
@@ -941,7 +945,7 @@ export var serializeAws_restJson1UpdateFlowMediaStreamCommand = function (input,
|
|
|
941
945
|
headers = {
|
|
942
946
|
"content-type": "application/json",
|
|
943
947
|
};
|
|
944
|
-
resolvedPath = ""
|
|
948
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
945
949
|
"/v1/flows/{FlowArn}/mediaStreams/{MediaStreamName}";
|
|
946
950
|
if (input.FlowArn !== undefined) {
|
|
947
951
|
labelValue = input.FlowArn;
|
|
@@ -990,7 +994,7 @@ export var serializeAws_restJson1UpdateFlowOutputCommand = function (input, cont
|
|
|
990
994
|
headers = {
|
|
991
995
|
"content-type": "application/json",
|
|
992
996
|
};
|
|
993
|
-
resolvedPath = ""
|
|
997
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}/outputs/{OutputArn}";
|
|
994
998
|
if (input.FlowArn !== undefined) {
|
|
995
999
|
labelValue = input.FlowArn;
|
|
996
1000
|
if (labelValue.length <= 0) {
|
|
@@ -1047,7 +1051,7 @@ export var serializeAws_restJson1UpdateFlowSourceCommand = function (input, cont
|
|
|
1047
1051
|
headers = {
|
|
1048
1052
|
"content-type": "application/json",
|
|
1049
1053
|
};
|
|
1050
|
-
resolvedPath = ""
|
|
1054
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/flows/{FlowArn}/source/{SourceArn}";
|
|
1051
1055
|
if (input.FlowArn !== undefined) {
|
|
1052
1056
|
labelValue = input.FlowArn;
|
|
1053
1057
|
if (labelValue.length <= 0) {
|
|
@@ -3599,6 +3603,11 @@ var serializeAws_restJson1__mapOf__string = function (input, context) {
|
|
|
3599
3603
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
|
|
3600
3604
|
}, {});
|
|
3601
3605
|
};
|
|
3606
|
+
var serializeAws_restJson1AddMaintenance = function (input, context) {
|
|
3607
|
+
return __assign(__assign({}, (input.MaintenanceDay !== undefined &&
|
|
3608
|
+
input.MaintenanceDay !== null && { maintenanceDay: input.MaintenanceDay })), (input.MaintenanceStartHour !== undefined &&
|
|
3609
|
+
input.MaintenanceStartHour !== null && { maintenanceStartHour: input.MaintenanceStartHour }));
|
|
3610
|
+
};
|
|
3602
3611
|
var serializeAws_restJson1AddMediaStreamRequest = function (input, context) {
|
|
3603
3612
|
return __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.Attributes !== undefined &&
|
|
3604
3613
|
input.Attributes !== null && {
|
|
@@ -3715,6 +3724,12 @@ var serializeAws_restJson1UpdateFailoverConfig = function (input, context) {
|
|
|
3715
3724
|
sourcePriority: serializeAws_restJson1SourcePriority(input.SourcePriority, context),
|
|
3716
3725
|
})), (input.State !== undefined && input.State !== null && { state: input.State }));
|
|
3717
3726
|
};
|
|
3727
|
+
var serializeAws_restJson1UpdateMaintenance = function (input, context) {
|
|
3728
|
+
return __assign(__assign(__assign({}, (input.MaintenanceDay !== undefined &&
|
|
3729
|
+
input.MaintenanceDay !== null && { maintenanceDay: input.MaintenanceDay })), (input.MaintenanceScheduledDate !== undefined &&
|
|
3730
|
+
input.MaintenanceScheduledDate !== null && { maintenanceScheduledDate: input.MaintenanceScheduledDate })), (input.MaintenanceStartHour !== undefined &&
|
|
3731
|
+
input.MaintenanceStartHour !== null && { maintenanceStartHour: input.MaintenanceStartHour }));
|
|
3732
|
+
};
|
|
3718
3733
|
var serializeAws_restJson1VpcInterfaceAttachment = function (input, context) {
|
|
3719
3734
|
return __assign({}, (input.VpcInterfaceName !== undefined &&
|
|
3720
3735
|
input.VpcInterfaceName !== null && { vpcInterfaceName: input.VpcInterfaceName }));
|
|
@@ -3953,6 +3968,9 @@ var deserializeAws_restJson1Flow = function (output, context) {
|
|
|
3953
3968
|
? deserializeAws_restJson1__listOfEntitlement(output.entitlements, context)
|
|
3954
3969
|
: undefined,
|
|
3955
3970
|
FlowArn: __expectString(output.flowArn),
|
|
3971
|
+
Maintenance: output.maintenance !== undefined && output.maintenance !== null
|
|
3972
|
+
? deserializeAws_restJson1Maintenance(output.maintenance, context)
|
|
3973
|
+
: undefined,
|
|
3956
3974
|
MediaStreams: output.mediaStreams !== undefined && output.mediaStreams !== null
|
|
3957
3975
|
? deserializeAws_restJson1__listOfMediaStream(output.mediaStreams, context)
|
|
3958
3976
|
: undefined,
|
|
@@ -4012,11 +4030,22 @@ var deserializeAws_restJson1ListedFlow = function (output, context) {
|
|
|
4012
4030
|
AvailabilityZone: __expectString(output.availabilityZone),
|
|
4013
4031
|
Description: __expectString(output.description),
|
|
4014
4032
|
FlowArn: __expectString(output.flowArn),
|
|
4033
|
+
Maintenance: output.maintenance !== undefined && output.maintenance !== null
|
|
4034
|
+
? deserializeAws_restJson1Maintenance(output.maintenance, context)
|
|
4035
|
+
: undefined,
|
|
4015
4036
|
Name: __expectString(output.name),
|
|
4016
4037
|
SourceType: __expectString(output.sourceType),
|
|
4017
4038
|
Status: __expectString(output.status),
|
|
4018
4039
|
};
|
|
4019
4040
|
};
|
|
4041
|
+
var deserializeAws_restJson1Maintenance = function (output, context) {
|
|
4042
|
+
return {
|
|
4043
|
+
MaintenanceDay: __expectString(output.maintenanceDay),
|
|
4044
|
+
MaintenanceDeadline: __expectString(output.maintenanceDeadline),
|
|
4045
|
+
MaintenanceScheduledDate: __expectString(output.maintenanceScheduledDate),
|
|
4046
|
+
MaintenanceStartHour: __expectString(output.maintenanceStartHour),
|
|
4047
|
+
};
|
|
4048
|
+
};
|
|
4020
4049
|
var deserializeAws_restJson1MediaStream = function (output, context) {
|
|
4021
4050
|
return {
|
|
4022
4051
|
Attributes: output.attributes !== undefined && output.attributes !== null
|
|
@@ -565,6 +565,42 @@ export declare namespace ListedEntitlement {
|
|
|
565
565
|
*/
|
|
566
566
|
const filterSensitiveLog: (obj: ListedEntitlement) => any;
|
|
567
567
|
}
|
|
568
|
+
export declare enum MaintenanceDay {
|
|
569
|
+
Friday = "Friday",
|
|
570
|
+
Monday = "Monday",
|
|
571
|
+
Saturday = "Saturday",
|
|
572
|
+
Sunday = "Sunday",
|
|
573
|
+
Thursday = "Thursday",
|
|
574
|
+
Tuesday = "Tuesday",
|
|
575
|
+
Wednesday = "Wednesday"
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* The maintenance setting of a flow
|
|
579
|
+
*/
|
|
580
|
+
export interface Maintenance {
|
|
581
|
+
/**
|
|
582
|
+
* A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
|
|
583
|
+
*/
|
|
584
|
+
MaintenanceDay?: MaintenanceDay | string;
|
|
585
|
+
/**
|
|
586
|
+
* The Maintenance has to be performed before this deadline in ISO UTC format. Example: 2021-01-30T08:30:00Z.
|
|
587
|
+
*/
|
|
588
|
+
MaintenanceDeadline?: string;
|
|
589
|
+
/**
|
|
590
|
+
* A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.
|
|
591
|
+
*/
|
|
592
|
+
MaintenanceScheduledDate?: string;
|
|
593
|
+
/**
|
|
594
|
+
* UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.
|
|
595
|
+
*/
|
|
596
|
+
MaintenanceStartHour?: string;
|
|
597
|
+
}
|
|
598
|
+
export declare namespace Maintenance {
|
|
599
|
+
/**
|
|
600
|
+
* @internal
|
|
601
|
+
*/
|
|
602
|
+
const filterSensitiveLog: (obj: Maintenance) => any;
|
|
603
|
+
}
|
|
568
604
|
export declare enum SourceType {
|
|
569
605
|
ENTITLED = "ENTITLED",
|
|
570
606
|
OWNED = "OWNED"
|
|
@@ -606,6 +642,10 @@ export interface ListedFlow {
|
|
|
606
642
|
* The current status of the flow.
|
|
607
643
|
*/
|
|
608
644
|
Status: Status | string | undefined;
|
|
645
|
+
/**
|
|
646
|
+
* The maintenance setting of a flow
|
|
647
|
+
*/
|
|
648
|
+
Maintenance?: Maintenance;
|
|
609
649
|
}
|
|
610
650
|
export declare namespace ListedFlow {
|
|
611
651
|
/**
|
|
@@ -1521,6 +1561,25 @@ export declare namespace AddFlowVpcInterfacesResponse {
|
|
|
1521
1561
|
*/
|
|
1522
1562
|
const filterSensitiveLog: (obj: AddFlowVpcInterfacesResponse) => any;
|
|
1523
1563
|
}
|
|
1564
|
+
/**
|
|
1565
|
+
* Create maintenance setting for a flow
|
|
1566
|
+
*/
|
|
1567
|
+
export interface AddMaintenance {
|
|
1568
|
+
/**
|
|
1569
|
+
* A day of a week when the maintenance will happen. Use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
|
|
1570
|
+
*/
|
|
1571
|
+
MaintenanceDay: MaintenanceDay | string | undefined;
|
|
1572
|
+
/**
|
|
1573
|
+
* UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.
|
|
1574
|
+
*/
|
|
1575
|
+
MaintenanceStartHour: string | undefined;
|
|
1576
|
+
}
|
|
1577
|
+
export declare namespace AddMaintenance {
|
|
1578
|
+
/**
|
|
1579
|
+
* @internal
|
|
1580
|
+
*/
|
|
1581
|
+
const filterSensitiveLog: (obj: AddMaintenance) => any;
|
|
1582
|
+
}
|
|
1524
1583
|
/**
|
|
1525
1584
|
* Exception raised by AWS Elemental MediaConnect. See the error message and documentation for the operation for more information on the cause of this exception.
|
|
1526
1585
|
*/
|
|
@@ -1620,6 +1679,10 @@ export interface CreateFlowRequest {
|
|
|
1620
1679
|
* The VPC interfaces you want on the flow.
|
|
1621
1680
|
*/
|
|
1622
1681
|
VpcInterfaces?: VpcInterfaceRequest[];
|
|
1682
|
+
/**
|
|
1683
|
+
* Create maintenance setting for a flow
|
|
1684
|
+
*/
|
|
1685
|
+
Maintenance?: AddMaintenance;
|
|
1623
1686
|
}
|
|
1624
1687
|
export declare namespace CreateFlowRequest {
|
|
1625
1688
|
/**
|
|
@@ -1680,6 +1743,10 @@ export interface Flow {
|
|
|
1680
1743
|
* The VPC Interfaces for this flow.
|
|
1681
1744
|
*/
|
|
1682
1745
|
VpcInterfaces?: VpcInterface[];
|
|
1746
|
+
/**
|
|
1747
|
+
* The maintenance setting of a flow
|
|
1748
|
+
*/
|
|
1749
|
+
Maintenance?: Maintenance;
|
|
1683
1750
|
}
|
|
1684
1751
|
export declare namespace Flow {
|
|
1685
1752
|
/**
|
|
@@ -2314,6 +2381,29 @@ export declare namespace UntagResourceRequest {
|
|
|
2314
2381
|
*/
|
|
2315
2382
|
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
2316
2383
|
}
|
|
2384
|
+
/**
|
|
2385
|
+
* Update maintenance setting for a flow
|
|
2386
|
+
*/
|
|
2387
|
+
export interface UpdateMaintenance {
|
|
2388
|
+
/**
|
|
2389
|
+
* A day of a week when the maintenance will happen. use Monday/Tuesday/Wednesday/Thursday/Friday/Saturday/Sunday.
|
|
2390
|
+
*/
|
|
2391
|
+
MaintenanceDay?: MaintenanceDay | string;
|
|
2392
|
+
/**
|
|
2393
|
+
* A scheduled date in ISO UTC format when the maintenance will happen. Use YYYY-MM-DD format. Example: 2021-01-30.
|
|
2394
|
+
*/
|
|
2395
|
+
MaintenanceScheduledDate?: string;
|
|
2396
|
+
/**
|
|
2397
|
+
* UTC time when the maintenance will happen. Use 24-hour HH:MM format. Minutes must be 00. Example: 13:00. The default value is 02:00.
|
|
2398
|
+
*/
|
|
2399
|
+
MaintenanceStartHour?: string;
|
|
2400
|
+
}
|
|
2401
|
+
export declare namespace UpdateMaintenance {
|
|
2402
|
+
/**
|
|
2403
|
+
* @internal
|
|
2404
|
+
*/
|
|
2405
|
+
const filterSensitiveLog: (obj: UpdateMaintenance) => any;
|
|
2406
|
+
}
|
|
2317
2407
|
/**
|
|
2318
2408
|
* The settings for source failover.
|
|
2319
2409
|
*/
|
|
@@ -2350,6 +2440,10 @@ export interface UpdateFlowRequest {
|
|
|
2350
2440
|
* The settings for source failover.
|
|
2351
2441
|
*/
|
|
2352
2442
|
SourceFailoverConfig?: UpdateFailoverConfig;
|
|
2443
|
+
/**
|
|
2444
|
+
* Update maintenance setting for a flow
|
|
2445
|
+
*/
|
|
2446
|
+
Maintenance?: UpdateMaintenance;
|
|
2353
2447
|
}
|
|
2354
2448
|
export declare namespace UpdateFlowRequest {
|
|
2355
2449
|
/**
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: MediaConnectClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -343,6 +343,30 @@ export declare namespace ListedEntitlement {
|
|
|
343
343
|
|
|
344
344
|
const filterSensitiveLog: (obj: ListedEntitlement) => any;
|
|
345
345
|
}
|
|
346
|
+
export declare enum MaintenanceDay {
|
|
347
|
+
Friday = "Friday",
|
|
348
|
+
Monday = "Monday",
|
|
349
|
+
Saturday = "Saturday",
|
|
350
|
+
Sunday = "Sunday",
|
|
351
|
+
Thursday = "Thursday",
|
|
352
|
+
Tuesday = "Tuesday",
|
|
353
|
+
Wednesday = "Wednesday"
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
export interface Maintenance {
|
|
357
|
+
|
|
358
|
+
MaintenanceDay?: MaintenanceDay | string;
|
|
359
|
+
|
|
360
|
+
MaintenanceDeadline?: string;
|
|
361
|
+
|
|
362
|
+
MaintenanceScheduledDate?: string;
|
|
363
|
+
|
|
364
|
+
MaintenanceStartHour?: string;
|
|
365
|
+
}
|
|
366
|
+
export declare namespace Maintenance {
|
|
367
|
+
|
|
368
|
+
const filterSensitiveLog: (obj: Maintenance) => any;
|
|
369
|
+
}
|
|
346
370
|
export declare enum SourceType {
|
|
347
371
|
ENTITLED = "ENTITLED",
|
|
348
372
|
OWNED = "OWNED"
|
|
@@ -370,6 +394,8 @@ export interface ListedFlow {
|
|
|
370
394
|
SourceType: SourceType | string | undefined;
|
|
371
395
|
|
|
372
396
|
Status: Status | string | undefined;
|
|
397
|
+
|
|
398
|
+
Maintenance?: Maintenance;
|
|
373
399
|
}
|
|
374
400
|
export declare namespace ListedFlow {
|
|
375
401
|
|
|
@@ -888,6 +914,17 @@ export declare namespace AddFlowVpcInterfacesResponse {
|
|
|
888
914
|
const filterSensitiveLog: (obj: AddFlowVpcInterfacesResponse) => any;
|
|
889
915
|
}
|
|
890
916
|
|
|
917
|
+
export interface AddMaintenance {
|
|
918
|
+
|
|
919
|
+
MaintenanceDay: MaintenanceDay | string | undefined;
|
|
920
|
+
|
|
921
|
+
MaintenanceStartHour: string | undefined;
|
|
922
|
+
}
|
|
923
|
+
export declare namespace AddMaintenance {
|
|
924
|
+
|
|
925
|
+
const filterSensitiveLog: (obj: AddMaintenance) => any;
|
|
926
|
+
}
|
|
927
|
+
|
|
891
928
|
export declare class CreateFlow420Exception extends __BaseException {
|
|
892
929
|
readonly name: "CreateFlow420Exception";
|
|
893
930
|
readonly $fault: "client";
|
|
@@ -946,6 +983,8 @@ export interface CreateFlowRequest {
|
|
|
946
983
|
Sources?: SetSourceRequest[];
|
|
947
984
|
|
|
948
985
|
VpcInterfaces?: VpcInterfaceRequest[];
|
|
986
|
+
|
|
987
|
+
Maintenance?: AddMaintenance;
|
|
949
988
|
}
|
|
950
989
|
export declare namespace CreateFlowRequest {
|
|
951
990
|
|
|
@@ -978,6 +1017,8 @@ export interface Flow {
|
|
|
978
1017
|
Status: Status | string | undefined;
|
|
979
1018
|
|
|
980
1019
|
VpcInterfaces?: VpcInterface[];
|
|
1020
|
+
|
|
1021
|
+
Maintenance?: Maintenance;
|
|
981
1022
|
}
|
|
982
1023
|
export declare namespace Flow {
|
|
983
1024
|
|
|
@@ -1379,6 +1420,19 @@ export declare namespace UntagResourceRequest {
|
|
|
1379
1420
|
const filterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
1380
1421
|
}
|
|
1381
1422
|
|
|
1423
|
+
export interface UpdateMaintenance {
|
|
1424
|
+
|
|
1425
|
+
MaintenanceDay?: MaintenanceDay | string;
|
|
1426
|
+
|
|
1427
|
+
MaintenanceScheduledDate?: string;
|
|
1428
|
+
|
|
1429
|
+
MaintenanceStartHour?: string;
|
|
1430
|
+
}
|
|
1431
|
+
export declare namespace UpdateMaintenance {
|
|
1432
|
+
|
|
1433
|
+
const filterSensitiveLog: (obj: UpdateMaintenance) => any;
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1382
1436
|
export interface UpdateFailoverConfig {
|
|
1383
1437
|
|
|
1384
1438
|
FailoverMode?: FailoverMode | string;
|
|
@@ -1398,6 +1452,8 @@ export interface UpdateFlowRequest {
|
|
|
1398
1452
|
FlowArn: string | undefined;
|
|
1399
1453
|
|
|
1400
1454
|
SourceFailoverConfig?: UpdateFailoverConfig;
|
|
1455
|
+
|
|
1456
|
+
Maintenance?: UpdateMaintenance;
|
|
1401
1457
|
}
|
|
1402
1458
|
export declare namespace UpdateFlowRequest {
|
|
1403
1459
|
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: MediaConnectClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|