@aws-sdk/client-mediaconnect 3.312.0 → 3.313.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 +2045 -140
- 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 +2002 -137
- 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 +1 -1
|
@@ -1,22 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./AddBridgeOutputsCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./AddBridgeSourcesCommand"), exports);
|
|
4
6
|
tslib_1.__exportStar(require("./AddFlowMediaStreamsCommand"), exports);
|
|
5
7
|
tslib_1.__exportStar(require("./AddFlowOutputsCommand"), exports);
|
|
6
8
|
tslib_1.__exportStar(require("./AddFlowSourcesCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./AddFlowVpcInterfacesCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreateBridgeCommand"), exports);
|
|
8
11
|
tslib_1.__exportStar(require("./CreateFlowCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./CreateGatewayCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./DeleteBridgeCommand"), exports);
|
|
9
14
|
tslib_1.__exportStar(require("./DeleteFlowCommand"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DeleteGatewayCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DeregisterGatewayInstanceCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./DescribeBridgeCommand"), exports);
|
|
10
18
|
tslib_1.__exportStar(require("./DescribeFlowCommand"), exports);
|
|
19
|
+
tslib_1.__exportStar(require("./DescribeGatewayCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DescribeGatewayInstanceCommand"), exports);
|
|
11
21
|
tslib_1.__exportStar(require("./DescribeOfferingCommand"), exports);
|
|
12
22
|
tslib_1.__exportStar(require("./DescribeReservationCommand"), exports);
|
|
13
23
|
tslib_1.__exportStar(require("./GrantFlowEntitlementsCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./ListBridgesCommand"), exports);
|
|
14
25
|
tslib_1.__exportStar(require("./ListEntitlementsCommand"), exports);
|
|
15
26
|
tslib_1.__exportStar(require("./ListFlowsCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./ListGatewayInstancesCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./ListGatewaysCommand"), exports);
|
|
16
29
|
tslib_1.__exportStar(require("./ListOfferingsCommand"), exports);
|
|
17
30
|
tslib_1.__exportStar(require("./ListReservationsCommand"), exports);
|
|
18
31
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
19
32
|
tslib_1.__exportStar(require("./PurchaseOfferingCommand"), exports);
|
|
33
|
+
tslib_1.__exportStar(require("./RemoveBridgeOutputCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./RemoveBridgeSourceCommand"), exports);
|
|
20
35
|
tslib_1.__exportStar(require("./RemoveFlowMediaStreamCommand"), exports);
|
|
21
36
|
tslib_1.__exportStar(require("./RemoveFlowOutputCommand"), exports);
|
|
22
37
|
tslib_1.__exportStar(require("./RemoveFlowSourceCommand"), exports);
|
|
@@ -26,8 +41,13 @@ tslib_1.__exportStar(require("./StartFlowCommand"), exports);
|
|
|
26
41
|
tslib_1.__exportStar(require("./StopFlowCommand"), exports);
|
|
27
42
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
28
43
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./UpdateBridgeCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./UpdateBridgeOutputCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./UpdateBridgeSourceCommand"), exports);
|
|
47
|
+
tslib_1.__exportStar(require("./UpdateBridgeStateCommand"), exports);
|
|
29
48
|
tslib_1.__exportStar(require("./UpdateFlowCommand"), exports);
|
|
30
49
|
tslib_1.__exportStar(require("./UpdateFlowEntitlementCommand"), exports);
|
|
31
50
|
tslib_1.__exportStar(require("./UpdateFlowMediaStreamCommand"), exports);
|
|
32
51
|
tslib_1.__exportStar(require("./UpdateFlowOutputCommand"), exports);
|
|
33
52
|
tslib_1.__exportStar(require("./UpdateFlowSourceCommand"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./UpdateGatewayInstanceCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mediaconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mediaconnect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://mediaconnect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://mediaconnect.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,7 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GrantFlowEntitlements420Exception = exports.
|
|
3
|
+
exports.GrantFlowEntitlements420Exception = exports.DesiredState = exports.CreateGateway420Exception = exports.CreateFlow420Exception = exports.CreateBridge420Exception = exports.ConnectionStatus = exports.BridgePlacement = exports.State = exports.FailoverMode = exports.AddFlowOutputs420Exception = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.ConflictException = exports.BadRequestException = exports.NetworkInterfaceType = exports.ReservationState = exports.ResourceType = exports.PriceUnits = exports.DurationUnits = exports.InstanceState = exports.GatewayState = exports.Status = exports.SourceType = exports.MaintenanceDay = exports.BridgeState = exports.EntitlementStatus = exports.EncoderProfile = exports.EncodingName = exports.KeyType = exports.Algorithm = exports.MediaStreamType = exports.Tcs = exports.ScanMode = exports.Range = exports.Colorimetry = exports.Protocol = void 0;
|
|
4
4
|
const MediaConnectServiceException_1 = require("./MediaConnectServiceException");
|
|
5
|
+
exports.Protocol = {
|
|
6
|
+
cdi: "cdi",
|
|
7
|
+
fujitsu_qos: "fujitsu-qos",
|
|
8
|
+
rist: "rist",
|
|
9
|
+
rtp: "rtp",
|
|
10
|
+
rtp_fec: "rtp-fec",
|
|
11
|
+
srt_caller: "srt-caller",
|
|
12
|
+
srt_listener: "srt-listener",
|
|
13
|
+
st2110_jpegxs: "st2110-jpegxs",
|
|
14
|
+
udp: "udp",
|
|
15
|
+
zixi_pull: "zixi-pull",
|
|
16
|
+
zixi_push: "zixi-push",
|
|
17
|
+
};
|
|
5
18
|
exports.Colorimetry = {
|
|
6
19
|
BT2020: "BT2020",
|
|
7
20
|
BT2100: "BT2100",
|
|
@@ -57,22 +70,24 @@ exports.EncoderProfile = {
|
|
|
57
70
|
high: "high",
|
|
58
71
|
main: "main",
|
|
59
72
|
};
|
|
60
|
-
exports.Protocol = {
|
|
61
|
-
cdi: "cdi",
|
|
62
|
-
fujitsu_qos: "fujitsu-qos",
|
|
63
|
-
rist: "rist",
|
|
64
|
-
rtp: "rtp",
|
|
65
|
-
rtp_fec: "rtp-fec",
|
|
66
|
-
srt_caller: "srt-caller",
|
|
67
|
-
srt_listener: "srt-listener",
|
|
68
|
-
st2110_jpegxs: "st2110-jpegxs",
|
|
69
|
-
zixi_pull: "zixi-pull",
|
|
70
|
-
zixi_push: "zixi-push",
|
|
71
|
-
};
|
|
72
73
|
exports.EntitlementStatus = {
|
|
73
74
|
DISABLED: "DISABLED",
|
|
74
75
|
ENABLED: "ENABLED",
|
|
75
76
|
};
|
|
77
|
+
exports.BridgeState = {
|
|
78
|
+
ACTIVE: "ACTIVE",
|
|
79
|
+
CREATING: "CREATING",
|
|
80
|
+
DELETED: "DELETED",
|
|
81
|
+
DELETING: "DELETING",
|
|
82
|
+
DEPLOYING: "DEPLOYING",
|
|
83
|
+
STANDBY: "STANDBY",
|
|
84
|
+
STARTING: "STARTING",
|
|
85
|
+
START_FAILED: "START_FAILED",
|
|
86
|
+
START_PENDING: "START_PENDING",
|
|
87
|
+
STOPPING: "STOPPING",
|
|
88
|
+
STOP_FAILED: "STOP_FAILED",
|
|
89
|
+
UPDATING: "UPDATING",
|
|
90
|
+
};
|
|
76
91
|
exports.MaintenanceDay = {
|
|
77
92
|
Friday: "Friday",
|
|
78
93
|
Monday: "Monday",
|
|
@@ -95,6 +110,22 @@ exports.Status = {
|
|
|
95
110
|
STOPPING: "STOPPING",
|
|
96
111
|
UPDATING: "UPDATING",
|
|
97
112
|
};
|
|
113
|
+
exports.GatewayState = {
|
|
114
|
+
ACTIVE: "ACTIVE",
|
|
115
|
+
CREATING: "CREATING",
|
|
116
|
+
DELETED: "DELETED",
|
|
117
|
+
DELETING: "DELETING",
|
|
118
|
+
ERROR: "ERROR",
|
|
119
|
+
UPDATING: "UPDATING",
|
|
120
|
+
};
|
|
121
|
+
exports.InstanceState = {
|
|
122
|
+
ACTIVE: "ACTIVE",
|
|
123
|
+
DEREGISTERED: "DEREGISTERED",
|
|
124
|
+
DEREGISTERING: "DEREGISTERING",
|
|
125
|
+
DEREGISTRATION_ERROR: "DEREGISTRATION_ERROR",
|
|
126
|
+
REGISTERING: "REGISTERING",
|
|
127
|
+
REGISTRATION_ERROR: "REGISTRATION_ERROR",
|
|
128
|
+
};
|
|
98
129
|
exports.DurationUnits = {
|
|
99
130
|
MONTHS: "MONTHS",
|
|
100
131
|
};
|
|
@@ -128,6 +159,20 @@ class BadRequestException extends MediaConnectServiceException_1.MediaConnectSer
|
|
|
128
159
|
}
|
|
129
160
|
}
|
|
130
161
|
exports.BadRequestException = BadRequestException;
|
|
162
|
+
class ConflictException extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
163
|
+
constructor(opts) {
|
|
164
|
+
super({
|
|
165
|
+
name: "ConflictException",
|
|
166
|
+
$fault: "client",
|
|
167
|
+
...opts,
|
|
168
|
+
});
|
|
169
|
+
this.name = "ConflictException";
|
|
170
|
+
this.$fault = "client";
|
|
171
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
172
|
+
this.Message = opts.Message;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.ConflictException = ConflictException;
|
|
131
176
|
class ForbiddenException extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
132
177
|
constructor(opts) {
|
|
133
178
|
super({
|
|
@@ -212,6 +257,36 @@ class AddFlowOutputs420Exception extends MediaConnectServiceException_1.MediaCon
|
|
|
212
257
|
}
|
|
213
258
|
}
|
|
214
259
|
exports.AddFlowOutputs420Exception = AddFlowOutputs420Exception;
|
|
260
|
+
exports.FailoverMode = {
|
|
261
|
+
FAILOVER: "FAILOVER",
|
|
262
|
+
MERGE: "MERGE",
|
|
263
|
+
};
|
|
264
|
+
exports.State = {
|
|
265
|
+
DISABLED: "DISABLED",
|
|
266
|
+
ENABLED: "ENABLED",
|
|
267
|
+
};
|
|
268
|
+
exports.BridgePlacement = {
|
|
269
|
+
AVAILABLE: "AVAILABLE",
|
|
270
|
+
LOCKED: "LOCKED",
|
|
271
|
+
};
|
|
272
|
+
exports.ConnectionStatus = {
|
|
273
|
+
CONNECTED: "CONNECTED",
|
|
274
|
+
DISCONNECTED: "DISCONNECTED",
|
|
275
|
+
};
|
|
276
|
+
class CreateBridge420Exception extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
277
|
+
constructor(opts) {
|
|
278
|
+
super({
|
|
279
|
+
name: "CreateBridge420Exception",
|
|
280
|
+
$fault: "client",
|
|
281
|
+
...opts,
|
|
282
|
+
});
|
|
283
|
+
this.name = "CreateBridge420Exception";
|
|
284
|
+
this.$fault = "client";
|
|
285
|
+
Object.setPrototypeOf(this, CreateBridge420Exception.prototype);
|
|
286
|
+
this.Message = opts.Message;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
exports.CreateBridge420Exception = CreateBridge420Exception;
|
|
215
290
|
class CreateFlow420Exception extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
216
291
|
constructor(opts) {
|
|
217
292
|
super({
|
|
@@ -226,13 +301,24 @@ class CreateFlow420Exception extends MediaConnectServiceException_1.MediaConnect
|
|
|
226
301
|
}
|
|
227
302
|
}
|
|
228
303
|
exports.CreateFlow420Exception = CreateFlow420Exception;
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
304
|
+
class CreateGateway420Exception extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
305
|
+
constructor(opts) {
|
|
306
|
+
super({
|
|
307
|
+
name: "CreateGateway420Exception",
|
|
308
|
+
$fault: "client",
|
|
309
|
+
...opts,
|
|
310
|
+
});
|
|
311
|
+
this.name = "CreateGateway420Exception";
|
|
312
|
+
this.$fault = "client";
|
|
313
|
+
Object.setPrototypeOf(this, CreateGateway420Exception.prototype);
|
|
314
|
+
this.Message = opts.Message;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
exports.CreateGateway420Exception = CreateGateway420Exception;
|
|
318
|
+
exports.DesiredState = {
|
|
319
|
+
ACTIVE: "ACTIVE",
|
|
320
|
+
DELETED: "DELETED",
|
|
321
|
+
STANDBY: "STANDBY",
|
|
236
322
|
};
|
|
237
323
|
class GrantFlowEntitlements420Exception extends MediaConnectServiceException_1.MediaConnectServiceException {
|
|
238
324
|
constructor(opts) {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListBridges = void 0;
|
|
4
|
+
const ListBridgesCommand_1 = require("../commands/ListBridgesCommand");
|
|
5
|
+
const MediaConnectClient_1 = require("../MediaConnectClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListBridgesCommand_1.ListBridgesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListBridges(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof MediaConnectClient_1.MediaConnectClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected MediaConnect | MediaConnectClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListBridges = paginateListBridges;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListGatewayInstances = void 0;
|
|
4
|
+
const ListGatewayInstancesCommand_1 = require("../commands/ListGatewayInstancesCommand");
|
|
5
|
+
const MediaConnectClient_1 = require("../MediaConnectClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListGatewayInstancesCommand_1.ListGatewayInstancesCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListGatewayInstances(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof MediaConnectClient_1.MediaConnectClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected MediaConnect | MediaConnectClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListGatewayInstances = paginateListGatewayInstances;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListGateways = void 0;
|
|
4
|
+
const ListGatewaysCommand_1 = require("../commands/ListGatewaysCommand");
|
|
5
|
+
const MediaConnectClient_1 = require("../MediaConnectClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListGatewaysCommand_1.ListGatewaysCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListGateways(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof MediaConnectClient_1.MediaConnectClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected MediaConnect | MediaConnectClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListGateways = paginateListGateways;
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
4
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ListBridgesPaginator"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./ListEntitlementsPaginator"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./ListFlowsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListGatewayInstancesPaginator"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListGatewaysPaginator"), exports);
|
|
7
10
|
tslib_1.__exportStar(require("./ListOfferingsPaginator"), exports);
|
|
8
11
|
tslib_1.__exportStar(require("./ListReservationsPaginator"), exports);
|