@aws-sdk/client-mediaconnect 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +7034 -3270
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/MediaConnectClient.js +2 -0
- package/dist-es/commands/AddBridgeOutputsCommand.js +3 -9
- package/dist-es/commands/AddBridgeSourcesCommand.js +3 -9
- package/dist-es/commands/AddFlowMediaStreamsCommand.js +3 -9
- package/dist-es/commands/AddFlowOutputsCommand.js +3 -9
- package/dist-es/commands/AddFlowSourcesCommand.js +3 -9
- package/dist-es/commands/AddFlowVpcInterfacesCommand.js +3 -9
- package/dist-es/commands/CreateBridgeCommand.js +3 -9
- package/dist-es/commands/CreateFlowCommand.js +3 -9
- package/dist-es/commands/CreateGatewayCommand.js +3 -9
- package/dist-es/commands/DeleteBridgeCommand.js +3 -9
- package/dist-es/commands/DeleteFlowCommand.js +3 -9
- package/dist-es/commands/DeleteGatewayCommand.js +3 -9
- package/dist-es/commands/DeregisterGatewayInstanceCommand.js +3 -9
- package/dist-es/commands/DescribeBridgeCommand.js +3 -9
- package/dist-es/commands/DescribeFlowCommand.js +3 -9
- package/dist-es/commands/DescribeFlowSourceMetadataCommand.js +3 -9
- package/dist-es/commands/DescribeFlowSourceThumbnailCommand.js +3 -9
- package/dist-es/commands/DescribeGatewayCommand.js +3 -9
- package/dist-es/commands/DescribeGatewayInstanceCommand.js +3 -9
- package/dist-es/commands/DescribeOfferingCommand.js +3 -9
- package/dist-es/commands/DescribeReservationCommand.js +3 -9
- package/dist-es/commands/GrantFlowEntitlementsCommand.js +3 -9
- package/dist-es/commands/ListBridgesCommand.js +3 -9
- package/dist-es/commands/ListEntitlementsCommand.js +3 -9
- package/dist-es/commands/ListFlowsCommand.js +3 -9
- package/dist-es/commands/ListGatewayInstancesCommand.js +3 -9
- package/dist-es/commands/ListGatewaysCommand.js +3 -9
- package/dist-es/commands/ListOfferingsCommand.js +3 -9
- package/dist-es/commands/ListReservationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/PurchaseOfferingCommand.js +3 -9
- package/dist-es/commands/RemoveBridgeOutputCommand.js +3 -9
- package/dist-es/commands/RemoveBridgeSourceCommand.js +3 -9
- package/dist-es/commands/RemoveFlowMediaStreamCommand.js +3 -9
- package/dist-es/commands/RemoveFlowOutputCommand.js +3 -9
- package/dist-es/commands/RemoveFlowSourceCommand.js +3 -9
- package/dist-es/commands/RemoveFlowVpcInterfaceCommand.js +3 -9
- package/dist-es/commands/RevokeFlowEntitlementCommand.js +3 -9
- package/dist-es/commands/StartFlowCommand.js +3 -9
- package/dist-es/commands/StopFlowCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateBridgeCommand.js +3 -9
- package/dist-es/commands/UpdateBridgeOutputCommand.js +3 -9
- package/dist-es/commands/UpdateBridgeSourceCommand.js +3 -9
- package/dist-es/commands/UpdateBridgeStateCommand.js +3 -9
- package/dist-es/commands/UpdateFlowCommand.js +3 -9
- package/dist-es/commands/UpdateFlowEntitlementCommand.js +3 -9
- package/dist-es/commands/UpdateFlowMediaStreamCommand.js +3 -9
- package/dist-es/commands/UpdateFlowOutputCommand.js +3 -9
- package/dist-es/commands/UpdateFlowSourceCommand.js +3 -9
- package/dist-es/commands/UpdateGatewayInstanceCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +6901 -0
- package/dist-types/MediaConnectClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +296 -0
- package/dist-types/ts3.4/MediaConnectClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +301 -0
- package/package.json +34 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -2877
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -470
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -629
|
@@ -1,2877 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
|
-
import { MediaConnectServiceException as __BaseException } from "../models/MediaConnectServiceException";
|
|
5
|
-
import { AddFlowOutputs420Exception, BadRequestException, ConflictException, CreateBridge420Exception, CreateFlow420Exception, CreateGateway420Exception, ForbiddenException, GrantFlowEntitlements420Exception, InternalServerErrorException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, } from "../models/models_0";
|
|
6
|
-
export const se_AddBridgeOutputsCommand = async (input, context) => {
|
|
7
|
-
const b = rb(input, context);
|
|
8
|
-
const headers = {
|
|
9
|
-
"content-type": "application/json",
|
|
10
|
-
};
|
|
11
|
-
b.bp("/v1/bridges/{BridgeArn}/outputs");
|
|
12
|
-
b.p("BridgeArn", () => input.BridgeArn, "{BridgeArn}", false);
|
|
13
|
-
let body;
|
|
14
|
-
body = JSON.stringify(take(input, {
|
|
15
|
-
outputs: [, (_) => se___listOfAddBridgeOutputRequest(_, context), `Outputs`],
|
|
16
|
-
}));
|
|
17
|
-
b.m("POST").h(headers).b(body);
|
|
18
|
-
return b.build();
|
|
19
|
-
};
|
|
20
|
-
export const se_AddBridgeSourcesCommand = async (input, context) => {
|
|
21
|
-
const b = rb(input, context);
|
|
22
|
-
const headers = {
|
|
23
|
-
"content-type": "application/json",
|
|
24
|
-
};
|
|
25
|
-
b.bp("/v1/bridges/{BridgeArn}/sources");
|
|
26
|
-
b.p("BridgeArn", () => input.BridgeArn, "{BridgeArn}", false);
|
|
27
|
-
let body;
|
|
28
|
-
body = JSON.stringify(take(input, {
|
|
29
|
-
sources: [, (_) => se___listOfAddBridgeSourceRequest(_, context), `Sources`],
|
|
30
|
-
}));
|
|
31
|
-
b.m("POST").h(headers).b(body);
|
|
32
|
-
return b.build();
|
|
33
|
-
};
|
|
34
|
-
export const se_AddFlowMediaStreamsCommand = async (input, context) => {
|
|
35
|
-
const b = rb(input, context);
|
|
36
|
-
const headers = {
|
|
37
|
-
"content-type": "application/json",
|
|
38
|
-
};
|
|
39
|
-
b.bp("/v1/flows/{FlowArn}/mediaStreams");
|
|
40
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
41
|
-
let body;
|
|
42
|
-
body = JSON.stringify(take(input, {
|
|
43
|
-
mediaStreams: [, (_) => se___listOfAddMediaStreamRequest(_, context), `MediaStreams`],
|
|
44
|
-
}));
|
|
45
|
-
b.m("POST").h(headers).b(body);
|
|
46
|
-
return b.build();
|
|
47
|
-
};
|
|
48
|
-
export const se_AddFlowOutputsCommand = async (input, context) => {
|
|
49
|
-
const b = rb(input, context);
|
|
50
|
-
const headers = {
|
|
51
|
-
"content-type": "application/json",
|
|
52
|
-
};
|
|
53
|
-
b.bp("/v1/flows/{FlowArn}/outputs");
|
|
54
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
55
|
-
let body;
|
|
56
|
-
body = JSON.stringify(take(input, {
|
|
57
|
-
outputs: [, (_) => se___listOfAddOutputRequest(_, context), `Outputs`],
|
|
58
|
-
}));
|
|
59
|
-
b.m("POST").h(headers).b(body);
|
|
60
|
-
return b.build();
|
|
61
|
-
};
|
|
62
|
-
export const se_AddFlowSourcesCommand = async (input, context) => {
|
|
63
|
-
const b = rb(input, context);
|
|
64
|
-
const headers = {
|
|
65
|
-
"content-type": "application/json",
|
|
66
|
-
};
|
|
67
|
-
b.bp("/v1/flows/{FlowArn}/source");
|
|
68
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
69
|
-
let body;
|
|
70
|
-
body = JSON.stringify(take(input, {
|
|
71
|
-
sources: [, (_) => se___listOfSetSourceRequest(_, context), `Sources`],
|
|
72
|
-
}));
|
|
73
|
-
b.m("POST").h(headers).b(body);
|
|
74
|
-
return b.build();
|
|
75
|
-
};
|
|
76
|
-
export const se_AddFlowVpcInterfacesCommand = async (input, context) => {
|
|
77
|
-
const b = rb(input, context);
|
|
78
|
-
const headers = {
|
|
79
|
-
"content-type": "application/json",
|
|
80
|
-
};
|
|
81
|
-
b.bp("/v1/flows/{FlowArn}/vpcInterfaces");
|
|
82
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
83
|
-
let body;
|
|
84
|
-
body = JSON.stringify(take(input, {
|
|
85
|
-
vpcInterfaces: [, (_) => se___listOfVpcInterfaceRequest(_, context), `VpcInterfaces`],
|
|
86
|
-
}));
|
|
87
|
-
b.m("POST").h(headers).b(body);
|
|
88
|
-
return b.build();
|
|
89
|
-
};
|
|
90
|
-
export const se_CreateBridgeCommand = async (input, context) => {
|
|
91
|
-
const b = rb(input, context);
|
|
92
|
-
const headers = {
|
|
93
|
-
"content-type": "application/json",
|
|
94
|
-
};
|
|
95
|
-
b.bp("/v1/bridges");
|
|
96
|
-
let body;
|
|
97
|
-
body = JSON.stringify(take(input, {
|
|
98
|
-
egressGatewayBridge: [, (_) => se_AddEgressGatewayBridgeRequest(_, context), `EgressGatewayBridge`],
|
|
99
|
-
ingressGatewayBridge: [, (_) => se_AddIngressGatewayBridgeRequest(_, context), `IngressGatewayBridge`],
|
|
100
|
-
name: [, , `Name`],
|
|
101
|
-
outputs: [, (_) => se___listOfAddBridgeOutputRequest(_, context), `Outputs`],
|
|
102
|
-
placementArn: [, , `PlacementArn`],
|
|
103
|
-
sourceFailoverConfig: [, (_) => se_FailoverConfig(_, context), `SourceFailoverConfig`],
|
|
104
|
-
sources: [, (_) => se___listOfAddBridgeSourceRequest(_, context), `Sources`],
|
|
105
|
-
}));
|
|
106
|
-
b.m("POST").h(headers).b(body);
|
|
107
|
-
return b.build();
|
|
108
|
-
};
|
|
109
|
-
export const se_CreateFlowCommand = async (input, context) => {
|
|
110
|
-
const b = rb(input, context);
|
|
111
|
-
const headers = {
|
|
112
|
-
"content-type": "application/json",
|
|
113
|
-
};
|
|
114
|
-
b.bp("/v1/flows");
|
|
115
|
-
let body;
|
|
116
|
-
body = JSON.stringify(take(input, {
|
|
117
|
-
availabilityZone: [, , `AvailabilityZone`],
|
|
118
|
-
entitlements: [, (_) => se___listOfGrantEntitlementRequest(_, context), `Entitlements`],
|
|
119
|
-
flowSize: [, , `FlowSize`],
|
|
120
|
-
flowTags: [, (_) => _json(_), `FlowTags`],
|
|
121
|
-
maintenance: [, (_) => se_AddMaintenance(_, context), `Maintenance`],
|
|
122
|
-
mediaStreams: [, (_) => se___listOfAddMediaStreamRequest(_, context), `MediaStreams`],
|
|
123
|
-
name: [, , `Name`],
|
|
124
|
-
ndiConfig: [, (_) => se_NdiConfig(_, context), `NdiConfig`],
|
|
125
|
-
outputs: [, (_) => se___listOfAddOutputRequest(_, context), `Outputs`],
|
|
126
|
-
source: [, (_) => se_SetSourceRequest(_, context), `Source`],
|
|
127
|
-
sourceFailoverConfig: [, (_) => se_FailoverConfig(_, context), `SourceFailoverConfig`],
|
|
128
|
-
sourceMonitoringConfig: [, (_) => se_MonitoringConfig(_, context), `SourceMonitoringConfig`],
|
|
129
|
-
sources: [, (_) => se___listOfSetSourceRequest(_, context), `Sources`],
|
|
130
|
-
vpcInterfaces: [, (_) => se___listOfVpcInterfaceRequest(_, context), `VpcInterfaces`],
|
|
131
|
-
}));
|
|
132
|
-
b.m("POST").h(headers).b(body);
|
|
133
|
-
return b.build();
|
|
134
|
-
};
|
|
135
|
-
export const se_CreateGatewayCommand = async (input, context) => {
|
|
136
|
-
const b = rb(input, context);
|
|
137
|
-
const headers = {
|
|
138
|
-
"content-type": "application/json",
|
|
139
|
-
};
|
|
140
|
-
b.bp("/v1/gateways");
|
|
141
|
-
let body;
|
|
142
|
-
body = JSON.stringify(take(input, {
|
|
143
|
-
egressCidrBlocks: [, (_) => _json(_), `EgressCidrBlocks`],
|
|
144
|
-
name: [, , `Name`],
|
|
145
|
-
networks: [, (_) => se___listOfGatewayNetwork(_, context), `Networks`],
|
|
146
|
-
}));
|
|
147
|
-
b.m("POST").h(headers).b(body);
|
|
148
|
-
return b.build();
|
|
149
|
-
};
|
|
150
|
-
export const se_DeleteBridgeCommand = async (input, context) => {
|
|
151
|
-
const b = rb(input, context);
|
|
152
|
-
const headers = {};
|
|
153
|
-
b.bp("/v1/bridges/{BridgeArn}");
|
|
154
|
-
b.p("BridgeArn", () => input.BridgeArn, "{BridgeArn}", false);
|
|
155
|
-
let body;
|
|
156
|
-
b.m("DELETE").h(headers).b(body);
|
|
157
|
-
return b.build();
|
|
158
|
-
};
|
|
159
|
-
export const se_DeleteFlowCommand = async (input, context) => {
|
|
160
|
-
const b = rb(input, context);
|
|
161
|
-
const headers = {};
|
|
162
|
-
b.bp("/v1/flows/{FlowArn}");
|
|
163
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
164
|
-
let body;
|
|
165
|
-
b.m("DELETE").h(headers).b(body);
|
|
166
|
-
return b.build();
|
|
167
|
-
};
|
|
168
|
-
export const se_DeleteGatewayCommand = async (input, context) => {
|
|
169
|
-
const b = rb(input, context);
|
|
170
|
-
const headers = {};
|
|
171
|
-
b.bp("/v1/gateways/{GatewayArn}");
|
|
172
|
-
b.p("GatewayArn", () => input.GatewayArn, "{GatewayArn}", false);
|
|
173
|
-
let body;
|
|
174
|
-
b.m("DELETE").h(headers).b(body);
|
|
175
|
-
return b.build();
|
|
176
|
-
};
|
|
177
|
-
export const se_DeregisterGatewayInstanceCommand = async (input, context) => {
|
|
178
|
-
const b = rb(input, context);
|
|
179
|
-
const headers = {};
|
|
180
|
-
b.bp("/v1/gateway-instances/{GatewayInstanceArn}");
|
|
181
|
-
b.p("GatewayInstanceArn", () => input.GatewayInstanceArn, "{GatewayInstanceArn}", false);
|
|
182
|
-
const query = map({
|
|
183
|
-
[_f]: [() => input.Force !== void 0, () => input[_F].toString()],
|
|
184
|
-
});
|
|
185
|
-
let body;
|
|
186
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
187
|
-
return b.build();
|
|
188
|
-
};
|
|
189
|
-
export const se_DescribeBridgeCommand = async (input, context) => {
|
|
190
|
-
const b = rb(input, context);
|
|
191
|
-
const headers = {};
|
|
192
|
-
b.bp("/v1/bridges/{BridgeArn}");
|
|
193
|
-
b.p("BridgeArn", () => input.BridgeArn, "{BridgeArn}", false);
|
|
194
|
-
let body;
|
|
195
|
-
b.m("GET").h(headers).b(body);
|
|
196
|
-
return b.build();
|
|
197
|
-
};
|
|
198
|
-
export const se_DescribeFlowCommand = async (input, context) => {
|
|
199
|
-
const b = rb(input, context);
|
|
200
|
-
const headers = {};
|
|
201
|
-
b.bp("/v1/flows/{FlowArn}");
|
|
202
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
203
|
-
let body;
|
|
204
|
-
b.m("GET").h(headers).b(body);
|
|
205
|
-
return b.build();
|
|
206
|
-
};
|
|
207
|
-
export const se_DescribeFlowSourceMetadataCommand = async (input, context) => {
|
|
208
|
-
const b = rb(input, context);
|
|
209
|
-
const headers = {};
|
|
210
|
-
b.bp("/v1/flows/{FlowArn}/source-metadata");
|
|
211
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
212
|
-
let body;
|
|
213
|
-
b.m("GET").h(headers).b(body);
|
|
214
|
-
return b.build();
|
|
215
|
-
};
|
|
216
|
-
export const se_DescribeFlowSourceThumbnailCommand = async (input, context) => {
|
|
217
|
-
const b = rb(input, context);
|
|
218
|
-
const headers = {};
|
|
219
|
-
b.bp("/v1/flows/{FlowArn}/source-thumbnail");
|
|
220
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
221
|
-
let body;
|
|
222
|
-
b.m("GET").h(headers).b(body);
|
|
223
|
-
return b.build();
|
|
224
|
-
};
|
|
225
|
-
export const se_DescribeGatewayCommand = async (input, context) => {
|
|
226
|
-
const b = rb(input, context);
|
|
227
|
-
const headers = {};
|
|
228
|
-
b.bp("/v1/gateways/{GatewayArn}");
|
|
229
|
-
b.p("GatewayArn", () => input.GatewayArn, "{GatewayArn}", false);
|
|
230
|
-
let body;
|
|
231
|
-
b.m("GET").h(headers).b(body);
|
|
232
|
-
return b.build();
|
|
233
|
-
};
|
|
234
|
-
export const se_DescribeGatewayInstanceCommand = async (input, context) => {
|
|
235
|
-
const b = rb(input, context);
|
|
236
|
-
const headers = {};
|
|
237
|
-
b.bp("/v1/gateway-instances/{GatewayInstanceArn}");
|
|
238
|
-
b.p("GatewayInstanceArn", () => input.GatewayInstanceArn, "{GatewayInstanceArn}", false);
|
|
239
|
-
let body;
|
|
240
|
-
b.m("GET").h(headers).b(body);
|
|
241
|
-
return b.build();
|
|
242
|
-
};
|
|
243
|
-
export const se_DescribeOfferingCommand = async (input, context) => {
|
|
244
|
-
const b = rb(input, context);
|
|
245
|
-
const headers = {};
|
|
246
|
-
b.bp("/v1/offerings/{OfferingArn}");
|
|
247
|
-
b.p("OfferingArn", () => input.OfferingArn, "{OfferingArn}", false);
|
|
248
|
-
let body;
|
|
249
|
-
b.m("GET").h(headers).b(body);
|
|
250
|
-
return b.build();
|
|
251
|
-
};
|
|
252
|
-
export const se_DescribeReservationCommand = async (input, context) => {
|
|
253
|
-
const b = rb(input, context);
|
|
254
|
-
const headers = {};
|
|
255
|
-
b.bp("/v1/reservations/{ReservationArn}");
|
|
256
|
-
b.p("ReservationArn", () => input.ReservationArn, "{ReservationArn}", false);
|
|
257
|
-
let body;
|
|
258
|
-
b.m("GET").h(headers).b(body);
|
|
259
|
-
return b.build();
|
|
260
|
-
};
|
|
261
|
-
export const se_GrantFlowEntitlementsCommand = async (input, context) => {
|
|
262
|
-
const b = rb(input, context);
|
|
263
|
-
const headers = {
|
|
264
|
-
"content-type": "application/json",
|
|
265
|
-
};
|
|
266
|
-
b.bp("/v1/flows/{FlowArn}/entitlements");
|
|
267
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
268
|
-
let body;
|
|
269
|
-
body = JSON.stringify(take(input, {
|
|
270
|
-
entitlements: [, (_) => se___listOfGrantEntitlementRequest(_, context), `Entitlements`],
|
|
271
|
-
}));
|
|
272
|
-
b.m("POST").h(headers).b(body);
|
|
273
|
-
return b.build();
|
|
274
|
-
};
|
|
275
|
-
export const se_ListBridgesCommand = async (input, context) => {
|
|
276
|
-
const b = rb(input, context);
|
|
277
|
-
const headers = {};
|
|
278
|
-
b.bp("/v1/bridges");
|
|
279
|
-
const query = map({
|
|
280
|
-
[_fA]: [, input[_FA]],
|
|
281
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
282
|
-
[_nT]: [, input[_NT]],
|
|
283
|
-
});
|
|
284
|
-
let body;
|
|
285
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
286
|
-
return b.build();
|
|
287
|
-
};
|
|
288
|
-
export const se_ListEntitlementsCommand = async (input, context) => {
|
|
289
|
-
const b = rb(input, context);
|
|
290
|
-
const headers = {};
|
|
291
|
-
b.bp("/v1/entitlements");
|
|
292
|
-
const query = map({
|
|
293
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
294
|
-
[_nT]: [, input[_NT]],
|
|
295
|
-
});
|
|
296
|
-
let body;
|
|
297
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
298
|
-
return b.build();
|
|
299
|
-
};
|
|
300
|
-
export const se_ListFlowsCommand = async (input, context) => {
|
|
301
|
-
const b = rb(input, context);
|
|
302
|
-
const headers = {};
|
|
303
|
-
b.bp("/v1/flows");
|
|
304
|
-
const query = map({
|
|
305
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
306
|
-
[_nT]: [, input[_NT]],
|
|
307
|
-
});
|
|
308
|
-
let body;
|
|
309
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
310
|
-
return b.build();
|
|
311
|
-
};
|
|
312
|
-
export const se_ListGatewayInstancesCommand = async (input, context) => {
|
|
313
|
-
const b = rb(input, context);
|
|
314
|
-
const headers = {};
|
|
315
|
-
b.bp("/v1/gateway-instances");
|
|
316
|
-
const query = map({
|
|
317
|
-
[_fA]: [, input[_FA]],
|
|
318
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
319
|
-
[_nT]: [, input[_NT]],
|
|
320
|
-
});
|
|
321
|
-
let body;
|
|
322
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
323
|
-
return b.build();
|
|
324
|
-
};
|
|
325
|
-
export const se_ListGatewaysCommand = async (input, context) => {
|
|
326
|
-
const b = rb(input, context);
|
|
327
|
-
const headers = {};
|
|
328
|
-
b.bp("/v1/gateways");
|
|
329
|
-
const query = map({
|
|
330
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
331
|
-
[_nT]: [, input[_NT]],
|
|
332
|
-
});
|
|
333
|
-
let body;
|
|
334
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
335
|
-
return b.build();
|
|
336
|
-
};
|
|
337
|
-
export const se_ListOfferingsCommand = async (input, context) => {
|
|
338
|
-
const b = rb(input, context);
|
|
339
|
-
const headers = {};
|
|
340
|
-
b.bp("/v1/offerings");
|
|
341
|
-
const query = map({
|
|
342
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
343
|
-
[_nT]: [, input[_NT]],
|
|
344
|
-
});
|
|
345
|
-
let body;
|
|
346
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
347
|
-
return b.build();
|
|
348
|
-
};
|
|
349
|
-
export const se_ListReservationsCommand = async (input, context) => {
|
|
350
|
-
const b = rb(input, context);
|
|
351
|
-
const headers = {};
|
|
352
|
-
b.bp("/v1/reservations");
|
|
353
|
-
const query = map({
|
|
354
|
-
[_mR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
355
|
-
[_nT]: [, input[_NT]],
|
|
356
|
-
});
|
|
357
|
-
let body;
|
|
358
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
359
|
-
return b.build();
|
|
360
|
-
};
|
|
361
|
-
export const se_ListTagsForResourceCommand = async (input, context) => {
|
|
362
|
-
const b = rb(input, context);
|
|
363
|
-
const headers = {};
|
|
364
|
-
b.bp("/tags/{ResourceArn}");
|
|
365
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
366
|
-
let body;
|
|
367
|
-
b.m("GET").h(headers).b(body);
|
|
368
|
-
return b.build();
|
|
369
|
-
};
|
|
370
|
-
export const se_PurchaseOfferingCommand = async (input, context) => {
|
|
371
|
-
const b = rb(input, context);
|
|
372
|
-
const headers = {
|
|
373
|
-
"content-type": "application/json",
|
|
374
|
-
};
|
|
375
|
-
b.bp("/v1/offerings/{OfferingArn}");
|
|
376
|
-
b.p("OfferingArn", () => input.OfferingArn, "{OfferingArn}", false);
|
|
377
|
-
let body;
|
|
378
|
-
body = JSON.stringify(take(input, {
|
|
379
|
-
reservationName: [, , `ReservationName`],
|
|
380
|
-
start: [, , `Start`],
|
|
381
|
-
}));
|
|
382
|
-
b.m("POST").h(headers).b(body);
|
|
383
|
-
return b.build();
|
|
384
|
-
};
|
|
385
|
-
export const se_RemoveBridgeOutputCommand = async (input, context) => {
|
|
386
|
-
const b = rb(input, context);
|
|
387
|
-
const headers = {};
|
|
388
|
-
b.bp("/v1/bridges/{BridgeArn}/outputs/{OutputName}");
|
|
389
|
-
b.p("BridgeArn", () => input.BridgeArn, "{BridgeArn}", false);
|
|
390
|
-
b.p("OutputName", () => input.OutputName, "{OutputName}", false);
|
|
391
|
-
let body;
|
|
392
|
-
b.m("DELETE").h(headers).b(body);
|
|
393
|
-
return b.build();
|
|
394
|
-
};
|
|
395
|
-
export const se_RemoveBridgeSourceCommand = async (input, context) => {
|
|
396
|
-
const b = rb(input, context);
|
|
397
|
-
const headers = {};
|
|
398
|
-
b.bp("/v1/bridges/{BridgeArn}/sources/{SourceName}");
|
|
399
|
-
b.p("BridgeArn", () => input.BridgeArn, "{BridgeArn}", false);
|
|
400
|
-
b.p("SourceName", () => input.SourceName, "{SourceName}", false);
|
|
401
|
-
let body;
|
|
402
|
-
b.m("DELETE").h(headers).b(body);
|
|
403
|
-
return b.build();
|
|
404
|
-
};
|
|
405
|
-
export const se_RemoveFlowMediaStreamCommand = async (input, context) => {
|
|
406
|
-
const b = rb(input, context);
|
|
407
|
-
const headers = {};
|
|
408
|
-
b.bp("/v1/flows/{FlowArn}/mediaStreams/{MediaStreamName}");
|
|
409
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
410
|
-
b.p("MediaStreamName", () => input.MediaStreamName, "{MediaStreamName}", false);
|
|
411
|
-
let body;
|
|
412
|
-
b.m("DELETE").h(headers).b(body);
|
|
413
|
-
return b.build();
|
|
414
|
-
};
|
|
415
|
-
export const se_RemoveFlowOutputCommand = async (input, context) => {
|
|
416
|
-
const b = rb(input, context);
|
|
417
|
-
const headers = {};
|
|
418
|
-
b.bp("/v1/flows/{FlowArn}/outputs/{OutputArn}");
|
|
419
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
420
|
-
b.p("OutputArn", () => input.OutputArn, "{OutputArn}", false);
|
|
421
|
-
let body;
|
|
422
|
-
b.m("DELETE").h(headers).b(body);
|
|
423
|
-
return b.build();
|
|
424
|
-
};
|
|
425
|
-
export const se_RemoveFlowSourceCommand = async (input, context) => {
|
|
426
|
-
const b = rb(input, context);
|
|
427
|
-
const headers = {};
|
|
428
|
-
b.bp("/v1/flows/{FlowArn}/source/{SourceArn}");
|
|
429
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
430
|
-
b.p("SourceArn", () => input.SourceArn, "{SourceArn}", false);
|
|
431
|
-
let body;
|
|
432
|
-
b.m("DELETE").h(headers).b(body);
|
|
433
|
-
return b.build();
|
|
434
|
-
};
|
|
435
|
-
export const se_RemoveFlowVpcInterfaceCommand = async (input, context) => {
|
|
436
|
-
const b = rb(input, context);
|
|
437
|
-
const headers = {};
|
|
438
|
-
b.bp("/v1/flows/{FlowArn}/vpcInterfaces/{VpcInterfaceName}");
|
|
439
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
440
|
-
b.p("VpcInterfaceName", () => input.VpcInterfaceName, "{VpcInterfaceName}", false);
|
|
441
|
-
let body;
|
|
442
|
-
b.m("DELETE").h(headers).b(body);
|
|
443
|
-
return b.build();
|
|
444
|
-
};
|
|
445
|
-
export const se_RevokeFlowEntitlementCommand = async (input, context) => {
|
|
446
|
-
const b = rb(input, context);
|
|
447
|
-
const headers = {};
|
|
448
|
-
b.bp("/v1/flows/{FlowArn}/entitlements/{EntitlementArn}");
|
|
449
|
-
b.p("EntitlementArn", () => input.EntitlementArn, "{EntitlementArn}", false);
|
|
450
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
451
|
-
let body;
|
|
452
|
-
b.m("DELETE").h(headers).b(body);
|
|
453
|
-
return b.build();
|
|
454
|
-
};
|
|
455
|
-
export const se_StartFlowCommand = async (input, context) => {
|
|
456
|
-
const b = rb(input, context);
|
|
457
|
-
const headers = {};
|
|
458
|
-
b.bp("/v1/flows/start/{FlowArn}");
|
|
459
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
460
|
-
let body;
|
|
461
|
-
b.m("POST").h(headers).b(body);
|
|
462
|
-
return b.build();
|
|
463
|
-
};
|
|
464
|
-
export const se_StopFlowCommand = async (input, context) => {
|
|
465
|
-
const b = rb(input, context);
|
|
466
|
-
const headers = {};
|
|
467
|
-
b.bp("/v1/flows/stop/{FlowArn}");
|
|
468
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
469
|
-
let body;
|
|
470
|
-
b.m("POST").h(headers).b(body);
|
|
471
|
-
return b.build();
|
|
472
|
-
};
|
|
473
|
-
export const se_TagResourceCommand = async (input, context) => {
|
|
474
|
-
const b = rb(input, context);
|
|
475
|
-
const headers = {
|
|
476
|
-
"content-type": "application/json",
|
|
477
|
-
};
|
|
478
|
-
b.bp("/tags/{ResourceArn}");
|
|
479
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
480
|
-
let body;
|
|
481
|
-
body = JSON.stringify(take(input, {
|
|
482
|
-
tags: [, (_) => _json(_), `Tags`],
|
|
483
|
-
}));
|
|
484
|
-
b.m("POST").h(headers).b(body);
|
|
485
|
-
return b.build();
|
|
486
|
-
};
|
|
487
|
-
export const se_UntagResourceCommand = async (input, context) => {
|
|
488
|
-
const b = rb(input, context);
|
|
489
|
-
const headers = {};
|
|
490
|
-
b.bp("/tags/{ResourceArn}");
|
|
491
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
492
|
-
const query = map({
|
|
493
|
-
[_tK]: [__expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
494
|
-
});
|
|
495
|
-
let body;
|
|
496
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
497
|
-
return b.build();
|
|
498
|
-
};
|
|
499
|
-
export const se_UpdateBridgeCommand = async (input, context) => {
|
|
500
|
-
const b = rb(input, context);
|
|
501
|
-
const headers = {
|
|
502
|
-
"content-type": "application/json",
|
|
503
|
-
};
|
|
504
|
-
b.bp("/v1/bridges/{BridgeArn}");
|
|
505
|
-
b.p("BridgeArn", () => input.BridgeArn, "{BridgeArn}", false);
|
|
506
|
-
let body;
|
|
507
|
-
body = JSON.stringify(take(input, {
|
|
508
|
-
egressGatewayBridge: [, (_) => se_UpdateEgressGatewayBridgeRequest(_, context), `EgressGatewayBridge`],
|
|
509
|
-
ingressGatewayBridge: [, (_) => se_UpdateIngressGatewayBridgeRequest(_, context), `IngressGatewayBridge`],
|
|
510
|
-
sourceFailoverConfig: [, (_) => se_UpdateFailoverConfig(_, context), `SourceFailoverConfig`],
|
|
511
|
-
}));
|
|
512
|
-
b.m("PUT").h(headers).b(body);
|
|
513
|
-
return b.build();
|
|
514
|
-
};
|
|
515
|
-
export const se_UpdateBridgeOutputCommand = async (input, context) => {
|
|
516
|
-
const b = rb(input, context);
|
|
517
|
-
const headers = {
|
|
518
|
-
"content-type": "application/json",
|
|
519
|
-
};
|
|
520
|
-
b.bp("/v1/bridges/{BridgeArn}/outputs/{OutputName}");
|
|
521
|
-
b.p("BridgeArn", () => input.BridgeArn, "{BridgeArn}", false);
|
|
522
|
-
b.p("OutputName", () => input.OutputName, "{OutputName}", false);
|
|
523
|
-
let body;
|
|
524
|
-
body = JSON.stringify(take(input, {
|
|
525
|
-
networkOutput: [, (_) => se_UpdateBridgeNetworkOutputRequest(_, context), `NetworkOutput`],
|
|
526
|
-
}));
|
|
527
|
-
b.m("PUT").h(headers).b(body);
|
|
528
|
-
return b.build();
|
|
529
|
-
};
|
|
530
|
-
export const se_UpdateBridgeSourceCommand = async (input, context) => {
|
|
531
|
-
const b = rb(input, context);
|
|
532
|
-
const headers = {
|
|
533
|
-
"content-type": "application/json",
|
|
534
|
-
};
|
|
535
|
-
b.bp("/v1/bridges/{BridgeArn}/sources/{SourceName}");
|
|
536
|
-
b.p("BridgeArn", () => input.BridgeArn, "{BridgeArn}", false);
|
|
537
|
-
b.p("SourceName", () => input.SourceName, "{SourceName}", false);
|
|
538
|
-
let body;
|
|
539
|
-
body = JSON.stringify(take(input, {
|
|
540
|
-
flowSource: [, (_) => se_UpdateBridgeFlowSourceRequest(_, context), `FlowSource`],
|
|
541
|
-
networkSource: [, (_) => se_UpdateBridgeNetworkSourceRequest(_, context), `NetworkSource`],
|
|
542
|
-
}));
|
|
543
|
-
b.m("PUT").h(headers).b(body);
|
|
544
|
-
return b.build();
|
|
545
|
-
};
|
|
546
|
-
export const se_UpdateBridgeStateCommand = async (input, context) => {
|
|
547
|
-
const b = rb(input, context);
|
|
548
|
-
const headers = {
|
|
549
|
-
"content-type": "application/json",
|
|
550
|
-
};
|
|
551
|
-
b.bp("/v1/bridges/{BridgeArn}/state");
|
|
552
|
-
b.p("BridgeArn", () => input.BridgeArn, "{BridgeArn}", false);
|
|
553
|
-
let body;
|
|
554
|
-
body = JSON.stringify(take(input, {
|
|
555
|
-
desiredState: [, , `DesiredState`],
|
|
556
|
-
}));
|
|
557
|
-
b.m("PUT").h(headers).b(body);
|
|
558
|
-
return b.build();
|
|
559
|
-
};
|
|
560
|
-
export const se_UpdateFlowCommand = async (input, context) => {
|
|
561
|
-
const b = rb(input, context);
|
|
562
|
-
const headers = {
|
|
563
|
-
"content-type": "application/json",
|
|
564
|
-
};
|
|
565
|
-
b.bp("/v1/flows/{FlowArn}");
|
|
566
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
567
|
-
let body;
|
|
568
|
-
body = JSON.stringify(take(input, {
|
|
569
|
-
flowSize: [, , `FlowSize`],
|
|
570
|
-
maintenance: [, (_) => se_UpdateMaintenance(_, context), `Maintenance`],
|
|
571
|
-
ndiConfig: [, (_) => se_NdiConfig(_, context), `NdiConfig`],
|
|
572
|
-
sourceFailoverConfig: [, (_) => se_UpdateFailoverConfig(_, context), `SourceFailoverConfig`],
|
|
573
|
-
sourceMonitoringConfig: [, (_) => se_MonitoringConfig(_, context), `SourceMonitoringConfig`],
|
|
574
|
-
}));
|
|
575
|
-
b.m("PUT").h(headers).b(body);
|
|
576
|
-
return b.build();
|
|
577
|
-
};
|
|
578
|
-
export const se_UpdateFlowEntitlementCommand = async (input, context) => {
|
|
579
|
-
const b = rb(input, context);
|
|
580
|
-
const headers = {
|
|
581
|
-
"content-type": "application/json",
|
|
582
|
-
};
|
|
583
|
-
b.bp("/v1/flows/{FlowArn}/entitlements/{EntitlementArn}");
|
|
584
|
-
b.p("EntitlementArn", () => input.EntitlementArn, "{EntitlementArn}", false);
|
|
585
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
586
|
-
let body;
|
|
587
|
-
body = JSON.stringify(take(input, {
|
|
588
|
-
description: [, , `Description`],
|
|
589
|
-
encryption: [, (_) => se_UpdateEncryption(_, context), `Encryption`],
|
|
590
|
-
entitlementStatus: [, , `EntitlementStatus`],
|
|
591
|
-
subscribers: [, (_) => _json(_), `Subscribers`],
|
|
592
|
-
}));
|
|
593
|
-
b.m("PUT").h(headers).b(body);
|
|
594
|
-
return b.build();
|
|
595
|
-
};
|
|
596
|
-
export const se_UpdateFlowMediaStreamCommand = async (input, context) => {
|
|
597
|
-
const b = rb(input, context);
|
|
598
|
-
const headers = {
|
|
599
|
-
"content-type": "application/json",
|
|
600
|
-
};
|
|
601
|
-
b.bp("/v1/flows/{FlowArn}/mediaStreams/{MediaStreamName}");
|
|
602
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
603
|
-
b.p("MediaStreamName", () => input.MediaStreamName, "{MediaStreamName}", false);
|
|
604
|
-
let body;
|
|
605
|
-
body = JSON.stringify(take(input, {
|
|
606
|
-
attributes: [, (_) => se_MediaStreamAttributesRequest(_, context), `Attributes`],
|
|
607
|
-
clockRate: [, , `ClockRate`],
|
|
608
|
-
description: [, , `Description`],
|
|
609
|
-
mediaStreamType: [, , `MediaStreamType`],
|
|
610
|
-
videoFormat: [, , `VideoFormat`],
|
|
611
|
-
}));
|
|
612
|
-
b.m("PUT").h(headers).b(body);
|
|
613
|
-
return b.build();
|
|
614
|
-
};
|
|
615
|
-
export const se_UpdateFlowOutputCommand = async (input, context) => {
|
|
616
|
-
const b = rb(input, context);
|
|
617
|
-
const headers = {
|
|
618
|
-
"content-type": "application/json",
|
|
619
|
-
};
|
|
620
|
-
b.bp("/v1/flows/{FlowArn}/outputs/{OutputArn}");
|
|
621
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
622
|
-
b.p("OutputArn", () => input.OutputArn, "{OutputArn}", false);
|
|
623
|
-
let body;
|
|
624
|
-
body = JSON.stringify(take(input, {
|
|
625
|
-
cidrAllowList: [, (_) => _json(_), `CidrAllowList`],
|
|
626
|
-
description: [, , `Description`],
|
|
627
|
-
destination: [, , `Destination`],
|
|
628
|
-
encryption: [, (_) => se_UpdateEncryption(_, context), `Encryption`],
|
|
629
|
-
maxLatency: [, , `MaxLatency`],
|
|
630
|
-
mediaStreamOutputConfigurations: [
|
|
631
|
-
,
|
|
632
|
-
(_) => se___listOfMediaStreamOutputConfigurationRequest(_, context),
|
|
633
|
-
`MediaStreamOutputConfigurations`,
|
|
634
|
-
],
|
|
635
|
-
minLatency: [, , `MinLatency`],
|
|
636
|
-
ndiProgramName: [, , `NdiProgramName`],
|
|
637
|
-
ndiSpeedHqQuality: [, , `NdiSpeedHqQuality`],
|
|
638
|
-
outputStatus: [, , `OutputStatus`],
|
|
639
|
-
port: [, , `Port`],
|
|
640
|
-
protocol: [, , `Protocol`],
|
|
641
|
-
remoteId: [, , `RemoteId`],
|
|
642
|
-
senderControlPort: [, , `SenderControlPort`],
|
|
643
|
-
senderIpAddress: [, , `SenderIpAddress`],
|
|
644
|
-
smoothingLatency: [, , `SmoothingLatency`],
|
|
645
|
-
streamId: [, , `StreamId`],
|
|
646
|
-
vpcInterfaceAttachment: [, (_) => se_VpcInterfaceAttachment(_, context), `VpcInterfaceAttachment`],
|
|
647
|
-
}));
|
|
648
|
-
b.m("PUT").h(headers).b(body);
|
|
649
|
-
return b.build();
|
|
650
|
-
};
|
|
651
|
-
export const se_UpdateFlowSourceCommand = async (input, context) => {
|
|
652
|
-
const b = rb(input, context);
|
|
653
|
-
const headers = {
|
|
654
|
-
"content-type": "application/json",
|
|
655
|
-
};
|
|
656
|
-
b.bp("/v1/flows/{FlowArn}/source/{SourceArn}");
|
|
657
|
-
b.p("FlowArn", () => input.FlowArn, "{FlowArn}", false);
|
|
658
|
-
b.p("SourceArn", () => input.SourceArn, "{SourceArn}", false);
|
|
659
|
-
let body;
|
|
660
|
-
body = JSON.stringify(take(input, {
|
|
661
|
-
decryption: [, (_) => se_UpdateEncryption(_, context), `Decryption`],
|
|
662
|
-
description: [, , `Description`],
|
|
663
|
-
entitlementArn: [, , `EntitlementArn`],
|
|
664
|
-
gatewayBridgeSource: [, (_) => se_UpdateGatewayBridgeSourceRequest(_, context), `GatewayBridgeSource`],
|
|
665
|
-
ingestPort: [, , `IngestPort`],
|
|
666
|
-
maxBitrate: [, , `MaxBitrate`],
|
|
667
|
-
maxLatency: [, , `MaxLatency`],
|
|
668
|
-
maxSyncBuffer: [, , `MaxSyncBuffer`],
|
|
669
|
-
mediaStreamSourceConfigurations: [
|
|
670
|
-
,
|
|
671
|
-
(_) => se___listOfMediaStreamSourceConfigurationRequest(_, context),
|
|
672
|
-
`MediaStreamSourceConfigurations`,
|
|
673
|
-
],
|
|
674
|
-
minLatency: [, , `MinLatency`],
|
|
675
|
-
protocol: [, , `Protocol`],
|
|
676
|
-
senderControlPort: [, , `SenderControlPort`],
|
|
677
|
-
senderIpAddress: [, , `SenderIpAddress`],
|
|
678
|
-
sourceListenerAddress: [, , `SourceListenerAddress`],
|
|
679
|
-
sourceListenerPort: [, , `SourceListenerPort`],
|
|
680
|
-
streamId: [, , `StreamId`],
|
|
681
|
-
vpcInterfaceName: [, , `VpcInterfaceName`],
|
|
682
|
-
whitelistCidr: [, , `WhitelistCidr`],
|
|
683
|
-
}));
|
|
684
|
-
b.m("PUT").h(headers).b(body);
|
|
685
|
-
return b.build();
|
|
686
|
-
};
|
|
687
|
-
export const se_UpdateGatewayInstanceCommand = async (input, context) => {
|
|
688
|
-
const b = rb(input, context);
|
|
689
|
-
const headers = {
|
|
690
|
-
"content-type": "application/json",
|
|
691
|
-
};
|
|
692
|
-
b.bp("/v1/gateway-instances/{GatewayInstanceArn}");
|
|
693
|
-
b.p("GatewayInstanceArn", () => input.GatewayInstanceArn, "{GatewayInstanceArn}", false);
|
|
694
|
-
let body;
|
|
695
|
-
body = JSON.stringify(take(input, {
|
|
696
|
-
bridgePlacement: [, , `BridgePlacement`],
|
|
697
|
-
}));
|
|
698
|
-
b.m("PUT").h(headers).b(body);
|
|
699
|
-
return b.build();
|
|
700
|
-
};
|
|
701
|
-
export const de_AddBridgeOutputsCommand = async (output, context) => {
|
|
702
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
703
|
-
return de_CommandError(output, context);
|
|
704
|
-
}
|
|
705
|
-
const contents = map({
|
|
706
|
-
$metadata: deserializeMetadata(output),
|
|
707
|
-
});
|
|
708
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
709
|
-
const doc = take(data, {
|
|
710
|
-
BridgeArn: [, __expectString, `bridgeArn`],
|
|
711
|
-
Outputs: [, (_) => de___listOfBridgeOutput(_, context), `outputs`],
|
|
712
|
-
});
|
|
713
|
-
Object.assign(contents, doc);
|
|
714
|
-
return contents;
|
|
715
|
-
};
|
|
716
|
-
export const de_AddBridgeSourcesCommand = async (output, context) => {
|
|
717
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
718
|
-
return de_CommandError(output, context);
|
|
719
|
-
}
|
|
720
|
-
const contents = map({
|
|
721
|
-
$metadata: deserializeMetadata(output),
|
|
722
|
-
});
|
|
723
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
724
|
-
const doc = take(data, {
|
|
725
|
-
BridgeArn: [, __expectString, `bridgeArn`],
|
|
726
|
-
Sources: [, (_) => de___listOfBridgeSource(_, context), `sources`],
|
|
727
|
-
});
|
|
728
|
-
Object.assign(contents, doc);
|
|
729
|
-
return contents;
|
|
730
|
-
};
|
|
731
|
-
export const de_AddFlowMediaStreamsCommand = async (output, context) => {
|
|
732
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
733
|
-
return de_CommandError(output, context);
|
|
734
|
-
}
|
|
735
|
-
const contents = map({
|
|
736
|
-
$metadata: deserializeMetadata(output),
|
|
737
|
-
});
|
|
738
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
739
|
-
const doc = take(data, {
|
|
740
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
741
|
-
MediaStreams: [, (_) => de___listOfMediaStream(_, context), `mediaStreams`],
|
|
742
|
-
});
|
|
743
|
-
Object.assign(contents, doc);
|
|
744
|
-
return contents;
|
|
745
|
-
};
|
|
746
|
-
export const de_AddFlowOutputsCommand = async (output, context) => {
|
|
747
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
748
|
-
return de_CommandError(output, context);
|
|
749
|
-
}
|
|
750
|
-
const contents = map({
|
|
751
|
-
$metadata: deserializeMetadata(output),
|
|
752
|
-
});
|
|
753
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
754
|
-
const doc = take(data, {
|
|
755
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
756
|
-
Outputs: [, (_) => de___listOfOutput(_, context), `outputs`],
|
|
757
|
-
});
|
|
758
|
-
Object.assign(contents, doc);
|
|
759
|
-
return contents;
|
|
760
|
-
};
|
|
761
|
-
export const de_AddFlowSourcesCommand = async (output, context) => {
|
|
762
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
763
|
-
return de_CommandError(output, context);
|
|
764
|
-
}
|
|
765
|
-
const contents = map({
|
|
766
|
-
$metadata: deserializeMetadata(output),
|
|
767
|
-
});
|
|
768
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
769
|
-
const doc = take(data, {
|
|
770
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
771
|
-
Sources: [, (_) => de___listOfSource(_, context), `sources`],
|
|
772
|
-
});
|
|
773
|
-
Object.assign(contents, doc);
|
|
774
|
-
return contents;
|
|
775
|
-
};
|
|
776
|
-
export const de_AddFlowVpcInterfacesCommand = async (output, context) => {
|
|
777
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
778
|
-
return de_CommandError(output, context);
|
|
779
|
-
}
|
|
780
|
-
const contents = map({
|
|
781
|
-
$metadata: deserializeMetadata(output),
|
|
782
|
-
});
|
|
783
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
784
|
-
const doc = take(data, {
|
|
785
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
786
|
-
VpcInterfaces: [, (_) => de___listOfVpcInterface(_, context), `vpcInterfaces`],
|
|
787
|
-
});
|
|
788
|
-
Object.assign(contents, doc);
|
|
789
|
-
return contents;
|
|
790
|
-
};
|
|
791
|
-
export const de_CreateBridgeCommand = async (output, context) => {
|
|
792
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
793
|
-
return de_CommandError(output, context);
|
|
794
|
-
}
|
|
795
|
-
const contents = map({
|
|
796
|
-
$metadata: deserializeMetadata(output),
|
|
797
|
-
});
|
|
798
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
799
|
-
const doc = take(data, {
|
|
800
|
-
Bridge: [, (_) => de_Bridge(_, context), `bridge`],
|
|
801
|
-
});
|
|
802
|
-
Object.assign(contents, doc);
|
|
803
|
-
return contents;
|
|
804
|
-
};
|
|
805
|
-
export const de_CreateFlowCommand = async (output, context) => {
|
|
806
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
807
|
-
return de_CommandError(output, context);
|
|
808
|
-
}
|
|
809
|
-
const contents = map({
|
|
810
|
-
$metadata: deserializeMetadata(output),
|
|
811
|
-
});
|
|
812
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
813
|
-
const doc = take(data, {
|
|
814
|
-
Flow: [, (_) => de_Flow(_, context), `flow`],
|
|
815
|
-
});
|
|
816
|
-
Object.assign(contents, doc);
|
|
817
|
-
return contents;
|
|
818
|
-
};
|
|
819
|
-
export const de_CreateGatewayCommand = async (output, context) => {
|
|
820
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
821
|
-
return de_CommandError(output, context);
|
|
822
|
-
}
|
|
823
|
-
const contents = map({
|
|
824
|
-
$metadata: deserializeMetadata(output),
|
|
825
|
-
});
|
|
826
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
827
|
-
const doc = take(data, {
|
|
828
|
-
Gateway: [, (_) => de_Gateway(_, context), `gateway`],
|
|
829
|
-
});
|
|
830
|
-
Object.assign(contents, doc);
|
|
831
|
-
return contents;
|
|
832
|
-
};
|
|
833
|
-
export const de_DeleteBridgeCommand = async (output, context) => {
|
|
834
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
835
|
-
return de_CommandError(output, context);
|
|
836
|
-
}
|
|
837
|
-
const contents = map({
|
|
838
|
-
$metadata: deserializeMetadata(output),
|
|
839
|
-
});
|
|
840
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
841
|
-
const doc = take(data, {
|
|
842
|
-
BridgeArn: [, __expectString, `bridgeArn`],
|
|
843
|
-
});
|
|
844
|
-
Object.assign(contents, doc);
|
|
845
|
-
return contents;
|
|
846
|
-
};
|
|
847
|
-
export const de_DeleteFlowCommand = async (output, context) => {
|
|
848
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
849
|
-
return de_CommandError(output, context);
|
|
850
|
-
}
|
|
851
|
-
const contents = map({
|
|
852
|
-
$metadata: deserializeMetadata(output),
|
|
853
|
-
});
|
|
854
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
855
|
-
const doc = take(data, {
|
|
856
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
857
|
-
Status: [, __expectString, `status`],
|
|
858
|
-
});
|
|
859
|
-
Object.assign(contents, doc);
|
|
860
|
-
return contents;
|
|
861
|
-
};
|
|
862
|
-
export const de_DeleteGatewayCommand = async (output, context) => {
|
|
863
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
864
|
-
return de_CommandError(output, context);
|
|
865
|
-
}
|
|
866
|
-
const contents = map({
|
|
867
|
-
$metadata: deserializeMetadata(output),
|
|
868
|
-
});
|
|
869
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
870
|
-
const doc = take(data, {
|
|
871
|
-
GatewayArn: [, __expectString, `gatewayArn`],
|
|
872
|
-
});
|
|
873
|
-
Object.assign(contents, doc);
|
|
874
|
-
return contents;
|
|
875
|
-
};
|
|
876
|
-
export const de_DeregisterGatewayInstanceCommand = async (output, context) => {
|
|
877
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
878
|
-
return de_CommandError(output, context);
|
|
879
|
-
}
|
|
880
|
-
const contents = map({
|
|
881
|
-
$metadata: deserializeMetadata(output),
|
|
882
|
-
});
|
|
883
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
884
|
-
const doc = take(data, {
|
|
885
|
-
GatewayInstanceArn: [, __expectString, `gatewayInstanceArn`],
|
|
886
|
-
InstanceState: [, __expectString, `instanceState`],
|
|
887
|
-
});
|
|
888
|
-
Object.assign(contents, doc);
|
|
889
|
-
return contents;
|
|
890
|
-
};
|
|
891
|
-
export const de_DescribeBridgeCommand = async (output, context) => {
|
|
892
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
893
|
-
return de_CommandError(output, context);
|
|
894
|
-
}
|
|
895
|
-
const contents = map({
|
|
896
|
-
$metadata: deserializeMetadata(output),
|
|
897
|
-
});
|
|
898
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
899
|
-
const doc = take(data, {
|
|
900
|
-
Bridge: [, (_) => de_Bridge(_, context), `bridge`],
|
|
901
|
-
});
|
|
902
|
-
Object.assign(contents, doc);
|
|
903
|
-
return contents;
|
|
904
|
-
};
|
|
905
|
-
export const de_DescribeFlowCommand = async (output, context) => {
|
|
906
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
907
|
-
return de_CommandError(output, context);
|
|
908
|
-
}
|
|
909
|
-
const contents = map({
|
|
910
|
-
$metadata: deserializeMetadata(output),
|
|
911
|
-
});
|
|
912
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
913
|
-
const doc = take(data, {
|
|
914
|
-
Flow: [, (_) => de_Flow(_, context), `flow`],
|
|
915
|
-
Messages: [, (_) => de_Messages(_, context), `messages`],
|
|
916
|
-
});
|
|
917
|
-
Object.assign(contents, doc);
|
|
918
|
-
return contents;
|
|
919
|
-
};
|
|
920
|
-
export const de_DescribeFlowSourceMetadataCommand = async (output, context) => {
|
|
921
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
922
|
-
return de_CommandError(output, context);
|
|
923
|
-
}
|
|
924
|
-
const contents = map({
|
|
925
|
-
$metadata: deserializeMetadata(output),
|
|
926
|
-
});
|
|
927
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
928
|
-
const doc = take(data, {
|
|
929
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
930
|
-
Messages: [, (_) => de___listOfMessageDetail(_, context), `messages`],
|
|
931
|
-
Timestamp: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `timestamp`],
|
|
932
|
-
TransportMediaInfo: [, (_) => de_TransportMediaInfo(_, context), `transportMediaInfo`],
|
|
933
|
-
});
|
|
934
|
-
Object.assign(contents, doc);
|
|
935
|
-
return contents;
|
|
936
|
-
};
|
|
937
|
-
export const de_DescribeFlowSourceThumbnailCommand = async (output, context) => {
|
|
938
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
939
|
-
return de_CommandError(output, context);
|
|
940
|
-
}
|
|
941
|
-
const contents = map({
|
|
942
|
-
$metadata: deserializeMetadata(output),
|
|
943
|
-
});
|
|
944
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
945
|
-
const doc = take(data, {
|
|
946
|
-
ThumbnailDetails: [, (_) => de_ThumbnailDetails(_, context), `thumbnailDetails`],
|
|
947
|
-
});
|
|
948
|
-
Object.assign(contents, doc);
|
|
949
|
-
return contents;
|
|
950
|
-
};
|
|
951
|
-
export const de_DescribeGatewayCommand = async (output, context) => {
|
|
952
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
953
|
-
return de_CommandError(output, context);
|
|
954
|
-
}
|
|
955
|
-
const contents = map({
|
|
956
|
-
$metadata: deserializeMetadata(output),
|
|
957
|
-
});
|
|
958
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
959
|
-
const doc = take(data, {
|
|
960
|
-
Gateway: [, (_) => de_Gateway(_, context), `gateway`],
|
|
961
|
-
});
|
|
962
|
-
Object.assign(contents, doc);
|
|
963
|
-
return contents;
|
|
964
|
-
};
|
|
965
|
-
export const de_DescribeGatewayInstanceCommand = async (output, context) => {
|
|
966
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
967
|
-
return de_CommandError(output, context);
|
|
968
|
-
}
|
|
969
|
-
const contents = map({
|
|
970
|
-
$metadata: deserializeMetadata(output),
|
|
971
|
-
});
|
|
972
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
973
|
-
const doc = take(data, {
|
|
974
|
-
GatewayInstance: [, (_) => de_GatewayInstance(_, context), `gatewayInstance`],
|
|
975
|
-
});
|
|
976
|
-
Object.assign(contents, doc);
|
|
977
|
-
return contents;
|
|
978
|
-
};
|
|
979
|
-
export const de_DescribeOfferingCommand = async (output, context) => {
|
|
980
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
981
|
-
return de_CommandError(output, context);
|
|
982
|
-
}
|
|
983
|
-
const contents = map({
|
|
984
|
-
$metadata: deserializeMetadata(output),
|
|
985
|
-
});
|
|
986
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
987
|
-
const doc = take(data, {
|
|
988
|
-
Offering: [, (_) => de_Offering(_, context), `offering`],
|
|
989
|
-
});
|
|
990
|
-
Object.assign(contents, doc);
|
|
991
|
-
return contents;
|
|
992
|
-
};
|
|
993
|
-
export const de_DescribeReservationCommand = async (output, context) => {
|
|
994
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
995
|
-
return de_CommandError(output, context);
|
|
996
|
-
}
|
|
997
|
-
const contents = map({
|
|
998
|
-
$metadata: deserializeMetadata(output),
|
|
999
|
-
});
|
|
1000
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1001
|
-
const doc = take(data, {
|
|
1002
|
-
Reservation: [, (_) => de_Reservation(_, context), `reservation`],
|
|
1003
|
-
});
|
|
1004
|
-
Object.assign(contents, doc);
|
|
1005
|
-
return contents;
|
|
1006
|
-
};
|
|
1007
|
-
export const de_GrantFlowEntitlementsCommand = async (output, context) => {
|
|
1008
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1009
|
-
return de_CommandError(output, context);
|
|
1010
|
-
}
|
|
1011
|
-
const contents = map({
|
|
1012
|
-
$metadata: deserializeMetadata(output),
|
|
1013
|
-
});
|
|
1014
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1015
|
-
const doc = take(data, {
|
|
1016
|
-
Entitlements: [, (_) => de___listOfEntitlement(_, context), `entitlements`],
|
|
1017
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
1018
|
-
});
|
|
1019
|
-
Object.assign(contents, doc);
|
|
1020
|
-
return contents;
|
|
1021
|
-
};
|
|
1022
|
-
export const de_ListBridgesCommand = async (output, context) => {
|
|
1023
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1024
|
-
return de_CommandError(output, context);
|
|
1025
|
-
}
|
|
1026
|
-
const contents = map({
|
|
1027
|
-
$metadata: deserializeMetadata(output),
|
|
1028
|
-
});
|
|
1029
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1030
|
-
const doc = take(data, {
|
|
1031
|
-
Bridges: [, (_) => de___listOfListedBridge(_, context), `bridges`],
|
|
1032
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1033
|
-
});
|
|
1034
|
-
Object.assign(contents, doc);
|
|
1035
|
-
return contents;
|
|
1036
|
-
};
|
|
1037
|
-
export const de_ListEntitlementsCommand = async (output, context) => {
|
|
1038
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1039
|
-
return de_CommandError(output, context);
|
|
1040
|
-
}
|
|
1041
|
-
const contents = map({
|
|
1042
|
-
$metadata: deserializeMetadata(output),
|
|
1043
|
-
});
|
|
1044
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1045
|
-
const doc = take(data, {
|
|
1046
|
-
Entitlements: [, (_) => de___listOfListedEntitlement(_, context), `entitlements`],
|
|
1047
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1048
|
-
});
|
|
1049
|
-
Object.assign(contents, doc);
|
|
1050
|
-
return contents;
|
|
1051
|
-
};
|
|
1052
|
-
export const de_ListFlowsCommand = async (output, context) => {
|
|
1053
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1054
|
-
return de_CommandError(output, context);
|
|
1055
|
-
}
|
|
1056
|
-
const contents = map({
|
|
1057
|
-
$metadata: deserializeMetadata(output),
|
|
1058
|
-
});
|
|
1059
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1060
|
-
const doc = take(data, {
|
|
1061
|
-
Flows: [, (_) => de___listOfListedFlow(_, context), `flows`],
|
|
1062
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1063
|
-
});
|
|
1064
|
-
Object.assign(contents, doc);
|
|
1065
|
-
return contents;
|
|
1066
|
-
};
|
|
1067
|
-
export const de_ListGatewayInstancesCommand = async (output, context) => {
|
|
1068
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1069
|
-
return de_CommandError(output, context);
|
|
1070
|
-
}
|
|
1071
|
-
const contents = map({
|
|
1072
|
-
$metadata: deserializeMetadata(output),
|
|
1073
|
-
});
|
|
1074
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1075
|
-
const doc = take(data, {
|
|
1076
|
-
Instances: [, (_) => de___listOfListedGatewayInstance(_, context), `instances`],
|
|
1077
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1078
|
-
});
|
|
1079
|
-
Object.assign(contents, doc);
|
|
1080
|
-
return contents;
|
|
1081
|
-
};
|
|
1082
|
-
export const de_ListGatewaysCommand = async (output, context) => {
|
|
1083
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1084
|
-
return de_CommandError(output, context);
|
|
1085
|
-
}
|
|
1086
|
-
const contents = map({
|
|
1087
|
-
$metadata: deserializeMetadata(output),
|
|
1088
|
-
});
|
|
1089
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1090
|
-
const doc = take(data, {
|
|
1091
|
-
Gateways: [, (_) => de___listOfListedGateway(_, context), `gateways`],
|
|
1092
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1093
|
-
});
|
|
1094
|
-
Object.assign(contents, doc);
|
|
1095
|
-
return contents;
|
|
1096
|
-
};
|
|
1097
|
-
export const de_ListOfferingsCommand = async (output, context) => {
|
|
1098
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1099
|
-
return de_CommandError(output, context);
|
|
1100
|
-
}
|
|
1101
|
-
const contents = map({
|
|
1102
|
-
$metadata: deserializeMetadata(output),
|
|
1103
|
-
});
|
|
1104
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1105
|
-
const doc = take(data, {
|
|
1106
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1107
|
-
Offerings: [, (_) => de___listOfOffering(_, context), `offerings`],
|
|
1108
|
-
});
|
|
1109
|
-
Object.assign(contents, doc);
|
|
1110
|
-
return contents;
|
|
1111
|
-
};
|
|
1112
|
-
export const de_ListReservationsCommand = async (output, context) => {
|
|
1113
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1114
|
-
return de_CommandError(output, context);
|
|
1115
|
-
}
|
|
1116
|
-
const contents = map({
|
|
1117
|
-
$metadata: deserializeMetadata(output),
|
|
1118
|
-
});
|
|
1119
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1120
|
-
const doc = take(data, {
|
|
1121
|
-
NextToken: [, __expectString, `nextToken`],
|
|
1122
|
-
Reservations: [, (_) => de___listOfReservation(_, context), `reservations`],
|
|
1123
|
-
});
|
|
1124
|
-
Object.assign(contents, doc);
|
|
1125
|
-
return contents;
|
|
1126
|
-
};
|
|
1127
|
-
export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1128
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1129
|
-
return de_CommandError(output, context);
|
|
1130
|
-
}
|
|
1131
|
-
const contents = map({
|
|
1132
|
-
$metadata: deserializeMetadata(output),
|
|
1133
|
-
});
|
|
1134
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1135
|
-
const doc = take(data, {
|
|
1136
|
-
Tags: [, _json, `tags`],
|
|
1137
|
-
});
|
|
1138
|
-
Object.assign(contents, doc);
|
|
1139
|
-
return contents;
|
|
1140
|
-
};
|
|
1141
|
-
export const de_PurchaseOfferingCommand = async (output, context) => {
|
|
1142
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1143
|
-
return de_CommandError(output, context);
|
|
1144
|
-
}
|
|
1145
|
-
const contents = map({
|
|
1146
|
-
$metadata: deserializeMetadata(output),
|
|
1147
|
-
});
|
|
1148
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1149
|
-
const doc = take(data, {
|
|
1150
|
-
Reservation: [, (_) => de_Reservation(_, context), `reservation`],
|
|
1151
|
-
});
|
|
1152
|
-
Object.assign(contents, doc);
|
|
1153
|
-
return contents;
|
|
1154
|
-
};
|
|
1155
|
-
export const de_RemoveBridgeOutputCommand = async (output, context) => {
|
|
1156
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1157
|
-
return de_CommandError(output, context);
|
|
1158
|
-
}
|
|
1159
|
-
const contents = map({
|
|
1160
|
-
$metadata: deserializeMetadata(output),
|
|
1161
|
-
});
|
|
1162
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1163
|
-
const doc = take(data, {
|
|
1164
|
-
BridgeArn: [, __expectString, `bridgeArn`],
|
|
1165
|
-
OutputName: [, __expectString, `outputName`],
|
|
1166
|
-
});
|
|
1167
|
-
Object.assign(contents, doc);
|
|
1168
|
-
return contents;
|
|
1169
|
-
};
|
|
1170
|
-
export const de_RemoveBridgeSourceCommand = async (output, context) => {
|
|
1171
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1172
|
-
return de_CommandError(output, context);
|
|
1173
|
-
}
|
|
1174
|
-
const contents = map({
|
|
1175
|
-
$metadata: deserializeMetadata(output),
|
|
1176
|
-
});
|
|
1177
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1178
|
-
const doc = take(data, {
|
|
1179
|
-
BridgeArn: [, __expectString, `bridgeArn`],
|
|
1180
|
-
SourceName: [, __expectString, `sourceName`],
|
|
1181
|
-
});
|
|
1182
|
-
Object.assign(contents, doc);
|
|
1183
|
-
return contents;
|
|
1184
|
-
};
|
|
1185
|
-
export const de_RemoveFlowMediaStreamCommand = async (output, context) => {
|
|
1186
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1187
|
-
return de_CommandError(output, context);
|
|
1188
|
-
}
|
|
1189
|
-
const contents = map({
|
|
1190
|
-
$metadata: deserializeMetadata(output),
|
|
1191
|
-
});
|
|
1192
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1193
|
-
const doc = take(data, {
|
|
1194
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
1195
|
-
MediaStreamName: [, __expectString, `mediaStreamName`],
|
|
1196
|
-
});
|
|
1197
|
-
Object.assign(contents, doc);
|
|
1198
|
-
return contents;
|
|
1199
|
-
};
|
|
1200
|
-
export const de_RemoveFlowOutputCommand = async (output, context) => {
|
|
1201
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1202
|
-
return de_CommandError(output, context);
|
|
1203
|
-
}
|
|
1204
|
-
const contents = map({
|
|
1205
|
-
$metadata: deserializeMetadata(output),
|
|
1206
|
-
});
|
|
1207
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1208
|
-
const doc = take(data, {
|
|
1209
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
1210
|
-
OutputArn: [, __expectString, `outputArn`],
|
|
1211
|
-
});
|
|
1212
|
-
Object.assign(contents, doc);
|
|
1213
|
-
return contents;
|
|
1214
|
-
};
|
|
1215
|
-
export const de_RemoveFlowSourceCommand = async (output, context) => {
|
|
1216
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1217
|
-
return de_CommandError(output, context);
|
|
1218
|
-
}
|
|
1219
|
-
const contents = map({
|
|
1220
|
-
$metadata: deserializeMetadata(output),
|
|
1221
|
-
});
|
|
1222
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1223
|
-
const doc = take(data, {
|
|
1224
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
1225
|
-
SourceArn: [, __expectString, `sourceArn`],
|
|
1226
|
-
});
|
|
1227
|
-
Object.assign(contents, doc);
|
|
1228
|
-
return contents;
|
|
1229
|
-
};
|
|
1230
|
-
export const de_RemoveFlowVpcInterfaceCommand = async (output, context) => {
|
|
1231
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1232
|
-
return de_CommandError(output, context);
|
|
1233
|
-
}
|
|
1234
|
-
const contents = map({
|
|
1235
|
-
$metadata: deserializeMetadata(output),
|
|
1236
|
-
});
|
|
1237
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1238
|
-
const doc = take(data, {
|
|
1239
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
1240
|
-
NonDeletedNetworkInterfaceIds: [, _json, `nonDeletedNetworkInterfaceIds`],
|
|
1241
|
-
VpcInterfaceName: [, __expectString, `vpcInterfaceName`],
|
|
1242
|
-
});
|
|
1243
|
-
Object.assign(contents, doc);
|
|
1244
|
-
return contents;
|
|
1245
|
-
};
|
|
1246
|
-
export const de_RevokeFlowEntitlementCommand = async (output, context) => {
|
|
1247
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1248
|
-
return de_CommandError(output, context);
|
|
1249
|
-
}
|
|
1250
|
-
const contents = map({
|
|
1251
|
-
$metadata: deserializeMetadata(output),
|
|
1252
|
-
});
|
|
1253
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1254
|
-
const doc = take(data, {
|
|
1255
|
-
EntitlementArn: [, __expectString, `entitlementArn`],
|
|
1256
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
1257
|
-
});
|
|
1258
|
-
Object.assign(contents, doc);
|
|
1259
|
-
return contents;
|
|
1260
|
-
};
|
|
1261
|
-
export const de_StartFlowCommand = async (output, context) => {
|
|
1262
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1263
|
-
return de_CommandError(output, context);
|
|
1264
|
-
}
|
|
1265
|
-
const contents = map({
|
|
1266
|
-
$metadata: deserializeMetadata(output),
|
|
1267
|
-
});
|
|
1268
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1269
|
-
const doc = take(data, {
|
|
1270
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
1271
|
-
Status: [, __expectString, `status`],
|
|
1272
|
-
});
|
|
1273
|
-
Object.assign(contents, doc);
|
|
1274
|
-
return contents;
|
|
1275
|
-
};
|
|
1276
|
-
export const de_StopFlowCommand = async (output, context) => {
|
|
1277
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1278
|
-
return de_CommandError(output, context);
|
|
1279
|
-
}
|
|
1280
|
-
const contents = map({
|
|
1281
|
-
$metadata: deserializeMetadata(output),
|
|
1282
|
-
});
|
|
1283
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1284
|
-
const doc = take(data, {
|
|
1285
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
1286
|
-
Status: [, __expectString, `status`],
|
|
1287
|
-
});
|
|
1288
|
-
Object.assign(contents, doc);
|
|
1289
|
-
return contents;
|
|
1290
|
-
};
|
|
1291
|
-
export const de_TagResourceCommand = async (output, context) => {
|
|
1292
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1293
|
-
return de_CommandError(output, context);
|
|
1294
|
-
}
|
|
1295
|
-
const contents = map({
|
|
1296
|
-
$metadata: deserializeMetadata(output),
|
|
1297
|
-
});
|
|
1298
|
-
await collectBody(output.body, context);
|
|
1299
|
-
return contents;
|
|
1300
|
-
};
|
|
1301
|
-
export const de_UntagResourceCommand = async (output, context) => {
|
|
1302
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1303
|
-
return de_CommandError(output, context);
|
|
1304
|
-
}
|
|
1305
|
-
const contents = map({
|
|
1306
|
-
$metadata: deserializeMetadata(output),
|
|
1307
|
-
});
|
|
1308
|
-
await collectBody(output.body, context);
|
|
1309
|
-
return contents;
|
|
1310
|
-
};
|
|
1311
|
-
export const de_UpdateBridgeCommand = async (output, context) => {
|
|
1312
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1313
|
-
return de_CommandError(output, context);
|
|
1314
|
-
}
|
|
1315
|
-
const contents = map({
|
|
1316
|
-
$metadata: deserializeMetadata(output),
|
|
1317
|
-
});
|
|
1318
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1319
|
-
const doc = take(data, {
|
|
1320
|
-
Bridge: [, (_) => de_Bridge(_, context), `bridge`],
|
|
1321
|
-
});
|
|
1322
|
-
Object.assign(contents, doc);
|
|
1323
|
-
return contents;
|
|
1324
|
-
};
|
|
1325
|
-
export const de_UpdateBridgeOutputCommand = async (output, context) => {
|
|
1326
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1327
|
-
return de_CommandError(output, context);
|
|
1328
|
-
}
|
|
1329
|
-
const contents = map({
|
|
1330
|
-
$metadata: deserializeMetadata(output),
|
|
1331
|
-
});
|
|
1332
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1333
|
-
const doc = take(data, {
|
|
1334
|
-
BridgeArn: [, __expectString, `bridgeArn`],
|
|
1335
|
-
Output: [, (_) => de_BridgeOutput(_, context), `output`],
|
|
1336
|
-
});
|
|
1337
|
-
Object.assign(contents, doc);
|
|
1338
|
-
return contents;
|
|
1339
|
-
};
|
|
1340
|
-
export const de_UpdateBridgeSourceCommand = async (output, context) => {
|
|
1341
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1342
|
-
return de_CommandError(output, context);
|
|
1343
|
-
}
|
|
1344
|
-
const contents = map({
|
|
1345
|
-
$metadata: deserializeMetadata(output),
|
|
1346
|
-
});
|
|
1347
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1348
|
-
const doc = take(data, {
|
|
1349
|
-
BridgeArn: [, __expectString, `bridgeArn`],
|
|
1350
|
-
Source: [, (_) => de_BridgeSource(_, context), `source`],
|
|
1351
|
-
});
|
|
1352
|
-
Object.assign(contents, doc);
|
|
1353
|
-
return contents;
|
|
1354
|
-
};
|
|
1355
|
-
export const de_UpdateBridgeStateCommand = async (output, context) => {
|
|
1356
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1357
|
-
return de_CommandError(output, context);
|
|
1358
|
-
}
|
|
1359
|
-
const contents = map({
|
|
1360
|
-
$metadata: deserializeMetadata(output),
|
|
1361
|
-
});
|
|
1362
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1363
|
-
const doc = take(data, {
|
|
1364
|
-
BridgeArn: [, __expectString, `bridgeArn`],
|
|
1365
|
-
DesiredState: [, __expectString, `desiredState`],
|
|
1366
|
-
});
|
|
1367
|
-
Object.assign(contents, doc);
|
|
1368
|
-
return contents;
|
|
1369
|
-
};
|
|
1370
|
-
export const de_UpdateFlowCommand = async (output, context) => {
|
|
1371
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1372
|
-
return de_CommandError(output, context);
|
|
1373
|
-
}
|
|
1374
|
-
const contents = map({
|
|
1375
|
-
$metadata: deserializeMetadata(output),
|
|
1376
|
-
});
|
|
1377
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1378
|
-
const doc = take(data, {
|
|
1379
|
-
Flow: [, (_) => de_Flow(_, context), `flow`],
|
|
1380
|
-
});
|
|
1381
|
-
Object.assign(contents, doc);
|
|
1382
|
-
return contents;
|
|
1383
|
-
};
|
|
1384
|
-
export const de_UpdateFlowEntitlementCommand = async (output, context) => {
|
|
1385
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1386
|
-
return de_CommandError(output, context);
|
|
1387
|
-
}
|
|
1388
|
-
const contents = map({
|
|
1389
|
-
$metadata: deserializeMetadata(output),
|
|
1390
|
-
});
|
|
1391
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1392
|
-
const doc = take(data, {
|
|
1393
|
-
Entitlement: [, (_) => de_Entitlement(_, context), `entitlement`],
|
|
1394
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
1395
|
-
});
|
|
1396
|
-
Object.assign(contents, doc);
|
|
1397
|
-
return contents;
|
|
1398
|
-
};
|
|
1399
|
-
export const de_UpdateFlowMediaStreamCommand = async (output, context) => {
|
|
1400
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1401
|
-
return de_CommandError(output, context);
|
|
1402
|
-
}
|
|
1403
|
-
const contents = map({
|
|
1404
|
-
$metadata: deserializeMetadata(output),
|
|
1405
|
-
});
|
|
1406
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1407
|
-
const doc = take(data, {
|
|
1408
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
1409
|
-
MediaStream: [, (_) => de_MediaStream(_, context), `mediaStream`],
|
|
1410
|
-
});
|
|
1411
|
-
Object.assign(contents, doc);
|
|
1412
|
-
return contents;
|
|
1413
|
-
};
|
|
1414
|
-
export const de_UpdateFlowOutputCommand = async (output, context) => {
|
|
1415
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1416
|
-
return de_CommandError(output, context);
|
|
1417
|
-
}
|
|
1418
|
-
const contents = map({
|
|
1419
|
-
$metadata: deserializeMetadata(output),
|
|
1420
|
-
});
|
|
1421
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1422
|
-
const doc = take(data, {
|
|
1423
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
1424
|
-
Output: [, (_) => de_Output(_, context), `output`],
|
|
1425
|
-
});
|
|
1426
|
-
Object.assign(contents, doc);
|
|
1427
|
-
return contents;
|
|
1428
|
-
};
|
|
1429
|
-
export const de_UpdateFlowSourceCommand = async (output, context) => {
|
|
1430
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
1431
|
-
return de_CommandError(output, context);
|
|
1432
|
-
}
|
|
1433
|
-
const contents = map({
|
|
1434
|
-
$metadata: deserializeMetadata(output),
|
|
1435
|
-
});
|
|
1436
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1437
|
-
const doc = take(data, {
|
|
1438
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
1439
|
-
Source: [, (_) => de_Source(_, context), `source`],
|
|
1440
|
-
});
|
|
1441
|
-
Object.assign(contents, doc);
|
|
1442
|
-
return contents;
|
|
1443
|
-
};
|
|
1444
|
-
export const de_UpdateGatewayInstanceCommand = async (output, context) => {
|
|
1445
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1446
|
-
return de_CommandError(output, context);
|
|
1447
|
-
}
|
|
1448
|
-
const contents = map({
|
|
1449
|
-
$metadata: deserializeMetadata(output),
|
|
1450
|
-
});
|
|
1451
|
-
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
1452
|
-
const doc = take(data, {
|
|
1453
|
-
BridgePlacement: [, __expectString, `bridgePlacement`],
|
|
1454
|
-
GatewayInstanceArn: [, __expectString, `gatewayInstanceArn`],
|
|
1455
|
-
});
|
|
1456
|
-
Object.assign(contents, doc);
|
|
1457
|
-
return contents;
|
|
1458
|
-
};
|
|
1459
|
-
const de_CommandError = async (output, context) => {
|
|
1460
|
-
const parsedOutput = {
|
|
1461
|
-
...output,
|
|
1462
|
-
body: await parseErrorBody(output.body, context),
|
|
1463
|
-
};
|
|
1464
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1465
|
-
switch (errorCode) {
|
|
1466
|
-
case "BadRequestException":
|
|
1467
|
-
case "com.amazonaws.mediaconnect#BadRequestException":
|
|
1468
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
1469
|
-
case "ConflictException":
|
|
1470
|
-
case "com.amazonaws.mediaconnect#ConflictException":
|
|
1471
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1472
|
-
case "ForbiddenException":
|
|
1473
|
-
case "com.amazonaws.mediaconnect#ForbiddenException":
|
|
1474
|
-
throw await de_ForbiddenExceptionRes(parsedOutput, context);
|
|
1475
|
-
case "InternalServerErrorException":
|
|
1476
|
-
case "com.amazonaws.mediaconnect#InternalServerErrorException":
|
|
1477
|
-
throw await de_InternalServerErrorExceptionRes(parsedOutput, context);
|
|
1478
|
-
case "NotFoundException":
|
|
1479
|
-
case "com.amazonaws.mediaconnect#NotFoundException":
|
|
1480
|
-
throw await de_NotFoundExceptionRes(parsedOutput, context);
|
|
1481
|
-
case "ServiceUnavailableException":
|
|
1482
|
-
case "com.amazonaws.mediaconnect#ServiceUnavailableException":
|
|
1483
|
-
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
1484
|
-
case "TooManyRequestsException":
|
|
1485
|
-
case "com.amazonaws.mediaconnect#TooManyRequestsException":
|
|
1486
|
-
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1487
|
-
case "AddFlowOutputs420Exception":
|
|
1488
|
-
case "com.amazonaws.mediaconnect#AddFlowOutputs420Exception":
|
|
1489
|
-
throw await de_AddFlowOutputs420ExceptionRes(parsedOutput, context);
|
|
1490
|
-
case "CreateBridge420Exception":
|
|
1491
|
-
case "com.amazonaws.mediaconnect#CreateBridge420Exception":
|
|
1492
|
-
throw await de_CreateBridge420ExceptionRes(parsedOutput, context);
|
|
1493
|
-
case "CreateFlow420Exception":
|
|
1494
|
-
case "com.amazonaws.mediaconnect#CreateFlow420Exception":
|
|
1495
|
-
throw await de_CreateFlow420ExceptionRes(parsedOutput, context);
|
|
1496
|
-
case "CreateGateway420Exception":
|
|
1497
|
-
case "com.amazonaws.mediaconnect#CreateGateway420Exception":
|
|
1498
|
-
throw await de_CreateGateway420ExceptionRes(parsedOutput, context);
|
|
1499
|
-
case "GrantFlowEntitlements420Exception":
|
|
1500
|
-
case "com.amazonaws.mediaconnect#GrantFlowEntitlements420Exception":
|
|
1501
|
-
throw await de_GrantFlowEntitlements420ExceptionRes(parsedOutput, context);
|
|
1502
|
-
default:
|
|
1503
|
-
const parsedBody = parsedOutput.body;
|
|
1504
|
-
return throwDefaultError({
|
|
1505
|
-
output,
|
|
1506
|
-
parsedBody,
|
|
1507
|
-
errorCode,
|
|
1508
|
-
});
|
|
1509
|
-
}
|
|
1510
|
-
};
|
|
1511
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
1512
|
-
const de_AddFlowOutputs420ExceptionRes = async (parsedOutput, context) => {
|
|
1513
|
-
const contents = map({});
|
|
1514
|
-
const data = parsedOutput.body;
|
|
1515
|
-
const doc = take(data, {
|
|
1516
|
-
Message: [, __expectString, `message`],
|
|
1517
|
-
});
|
|
1518
|
-
Object.assign(contents, doc);
|
|
1519
|
-
const exception = new AddFlowOutputs420Exception({
|
|
1520
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1521
|
-
...contents,
|
|
1522
|
-
});
|
|
1523
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1524
|
-
};
|
|
1525
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
1526
|
-
const contents = map({});
|
|
1527
|
-
const data = parsedOutput.body;
|
|
1528
|
-
const doc = take(data, {
|
|
1529
|
-
Message: [, __expectString, `message`],
|
|
1530
|
-
});
|
|
1531
|
-
Object.assign(contents, doc);
|
|
1532
|
-
const exception = new BadRequestException({
|
|
1533
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1534
|
-
...contents,
|
|
1535
|
-
});
|
|
1536
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1537
|
-
};
|
|
1538
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1539
|
-
const contents = map({});
|
|
1540
|
-
const data = parsedOutput.body;
|
|
1541
|
-
const doc = take(data, {
|
|
1542
|
-
Message: [, __expectString, `message`],
|
|
1543
|
-
});
|
|
1544
|
-
Object.assign(contents, doc);
|
|
1545
|
-
const exception = new ConflictException({
|
|
1546
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1547
|
-
...contents,
|
|
1548
|
-
});
|
|
1549
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1550
|
-
};
|
|
1551
|
-
const de_CreateBridge420ExceptionRes = async (parsedOutput, context) => {
|
|
1552
|
-
const contents = map({});
|
|
1553
|
-
const data = parsedOutput.body;
|
|
1554
|
-
const doc = take(data, {
|
|
1555
|
-
Message: [, __expectString, `message`],
|
|
1556
|
-
});
|
|
1557
|
-
Object.assign(contents, doc);
|
|
1558
|
-
const exception = new CreateBridge420Exception({
|
|
1559
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1560
|
-
...contents,
|
|
1561
|
-
});
|
|
1562
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1563
|
-
};
|
|
1564
|
-
const de_CreateFlow420ExceptionRes = async (parsedOutput, context) => {
|
|
1565
|
-
const contents = map({});
|
|
1566
|
-
const data = parsedOutput.body;
|
|
1567
|
-
const doc = take(data, {
|
|
1568
|
-
Message: [, __expectString, `message`],
|
|
1569
|
-
});
|
|
1570
|
-
Object.assign(contents, doc);
|
|
1571
|
-
const exception = new CreateFlow420Exception({
|
|
1572
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1573
|
-
...contents,
|
|
1574
|
-
});
|
|
1575
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1576
|
-
};
|
|
1577
|
-
const de_CreateGateway420ExceptionRes = async (parsedOutput, context) => {
|
|
1578
|
-
const contents = map({});
|
|
1579
|
-
const data = parsedOutput.body;
|
|
1580
|
-
const doc = take(data, {
|
|
1581
|
-
Message: [, __expectString, `message`],
|
|
1582
|
-
});
|
|
1583
|
-
Object.assign(contents, doc);
|
|
1584
|
-
const exception = new CreateGateway420Exception({
|
|
1585
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1586
|
-
...contents,
|
|
1587
|
-
});
|
|
1588
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1589
|
-
};
|
|
1590
|
-
const de_ForbiddenExceptionRes = async (parsedOutput, context) => {
|
|
1591
|
-
const contents = map({});
|
|
1592
|
-
const data = parsedOutput.body;
|
|
1593
|
-
const doc = take(data, {
|
|
1594
|
-
Message: [, __expectString, `message`],
|
|
1595
|
-
});
|
|
1596
|
-
Object.assign(contents, doc);
|
|
1597
|
-
const exception = new ForbiddenException({
|
|
1598
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1599
|
-
...contents,
|
|
1600
|
-
});
|
|
1601
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1602
|
-
};
|
|
1603
|
-
const de_GrantFlowEntitlements420ExceptionRes = async (parsedOutput, context) => {
|
|
1604
|
-
const contents = map({});
|
|
1605
|
-
const data = parsedOutput.body;
|
|
1606
|
-
const doc = take(data, {
|
|
1607
|
-
Message: [, __expectString, `message`],
|
|
1608
|
-
});
|
|
1609
|
-
Object.assign(contents, doc);
|
|
1610
|
-
const exception = new GrantFlowEntitlements420Exception({
|
|
1611
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1612
|
-
...contents,
|
|
1613
|
-
});
|
|
1614
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1615
|
-
};
|
|
1616
|
-
const de_InternalServerErrorExceptionRes = async (parsedOutput, context) => {
|
|
1617
|
-
const contents = map({});
|
|
1618
|
-
const data = parsedOutput.body;
|
|
1619
|
-
const doc = take(data, {
|
|
1620
|
-
Message: [, __expectString, `message`],
|
|
1621
|
-
});
|
|
1622
|
-
Object.assign(contents, doc);
|
|
1623
|
-
const exception = new InternalServerErrorException({
|
|
1624
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1625
|
-
...contents,
|
|
1626
|
-
});
|
|
1627
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1628
|
-
};
|
|
1629
|
-
const de_NotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1630
|
-
const contents = map({});
|
|
1631
|
-
const data = parsedOutput.body;
|
|
1632
|
-
const doc = take(data, {
|
|
1633
|
-
Message: [, __expectString, `message`],
|
|
1634
|
-
});
|
|
1635
|
-
Object.assign(contents, doc);
|
|
1636
|
-
const exception = new NotFoundException({
|
|
1637
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1638
|
-
...contents,
|
|
1639
|
-
});
|
|
1640
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1641
|
-
};
|
|
1642
|
-
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1643
|
-
const contents = map({});
|
|
1644
|
-
const data = parsedOutput.body;
|
|
1645
|
-
const doc = take(data, {
|
|
1646
|
-
Message: [, __expectString, `message`],
|
|
1647
|
-
});
|
|
1648
|
-
Object.assign(contents, doc);
|
|
1649
|
-
const exception = new ServiceUnavailableException({
|
|
1650
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1651
|
-
...contents,
|
|
1652
|
-
});
|
|
1653
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1654
|
-
};
|
|
1655
|
-
const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => {
|
|
1656
|
-
const contents = map({});
|
|
1657
|
-
const data = parsedOutput.body;
|
|
1658
|
-
const doc = take(data, {
|
|
1659
|
-
Message: [, __expectString, `message`],
|
|
1660
|
-
});
|
|
1661
|
-
Object.assign(contents, doc);
|
|
1662
|
-
const exception = new TooManyRequestsException({
|
|
1663
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1664
|
-
...contents,
|
|
1665
|
-
});
|
|
1666
|
-
return __decorateServiceException(exception, parsedOutput.body);
|
|
1667
|
-
};
|
|
1668
|
-
const se___listOfAddBridgeOutputRequest = (input, context) => {
|
|
1669
|
-
return input
|
|
1670
|
-
.filter((e) => e != null)
|
|
1671
|
-
.map((entry) => {
|
|
1672
|
-
return se_AddBridgeOutputRequest(entry, context);
|
|
1673
|
-
});
|
|
1674
|
-
};
|
|
1675
|
-
const se___listOfAddBridgeSourceRequest = (input, context) => {
|
|
1676
|
-
return input
|
|
1677
|
-
.filter((e) => e != null)
|
|
1678
|
-
.map((entry) => {
|
|
1679
|
-
return se_AddBridgeSourceRequest(entry, context);
|
|
1680
|
-
});
|
|
1681
|
-
};
|
|
1682
|
-
const se___listOfAddMediaStreamRequest = (input, context) => {
|
|
1683
|
-
return input
|
|
1684
|
-
.filter((e) => e != null)
|
|
1685
|
-
.map((entry) => {
|
|
1686
|
-
return se_AddMediaStreamRequest(entry, context);
|
|
1687
|
-
});
|
|
1688
|
-
};
|
|
1689
|
-
const se___listOfAddOutputRequest = (input, context) => {
|
|
1690
|
-
return input
|
|
1691
|
-
.filter((e) => e != null)
|
|
1692
|
-
.map((entry) => {
|
|
1693
|
-
return se_AddOutputRequest(entry, context);
|
|
1694
|
-
});
|
|
1695
|
-
};
|
|
1696
|
-
const se___listOfAudioMonitoringSetting = (input, context) => {
|
|
1697
|
-
return input
|
|
1698
|
-
.filter((e) => e != null)
|
|
1699
|
-
.map((entry) => {
|
|
1700
|
-
return se_AudioMonitoringSetting(entry, context);
|
|
1701
|
-
});
|
|
1702
|
-
};
|
|
1703
|
-
const se___listOfDestinationConfigurationRequest = (input, context) => {
|
|
1704
|
-
return input
|
|
1705
|
-
.filter((e) => e != null)
|
|
1706
|
-
.map((entry) => {
|
|
1707
|
-
return se_DestinationConfigurationRequest(entry, context);
|
|
1708
|
-
});
|
|
1709
|
-
};
|
|
1710
|
-
const se___listOfGatewayNetwork = (input, context) => {
|
|
1711
|
-
return input
|
|
1712
|
-
.filter((e) => e != null)
|
|
1713
|
-
.map((entry) => {
|
|
1714
|
-
return se_GatewayNetwork(entry, context);
|
|
1715
|
-
});
|
|
1716
|
-
};
|
|
1717
|
-
const se___listOfGrantEntitlementRequest = (input, context) => {
|
|
1718
|
-
return input
|
|
1719
|
-
.filter((e) => e != null)
|
|
1720
|
-
.map((entry) => {
|
|
1721
|
-
return se_GrantEntitlementRequest(entry, context);
|
|
1722
|
-
});
|
|
1723
|
-
};
|
|
1724
|
-
const se___listOfInputConfigurationRequest = (input, context) => {
|
|
1725
|
-
return input
|
|
1726
|
-
.filter((e) => e != null)
|
|
1727
|
-
.map((entry) => {
|
|
1728
|
-
return se_InputConfigurationRequest(entry, context);
|
|
1729
|
-
});
|
|
1730
|
-
};
|
|
1731
|
-
const se___listOfMediaStreamOutputConfigurationRequest = (input, context) => {
|
|
1732
|
-
return input
|
|
1733
|
-
.filter((e) => e != null)
|
|
1734
|
-
.map((entry) => {
|
|
1735
|
-
return se_MediaStreamOutputConfigurationRequest(entry, context);
|
|
1736
|
-
});
|
|
1737
|
-
};
|
|
1738
|
-
const se___listOfMediaStreamSourceConfigurationRequest = (input, context) => {
|
|
1739
|
-
return input
|
|
1740
|
-
.filter((e) => e != null)
|
|
1741
|
-
.map((entry) => {
|
|
1742
|
-
return se_MediaStreamSourceConfigurationRequest(entry, context);
|
|
1743
|
-
});
|
|
1744
|
-
};
|
|
1745
|
-
const se___listOfNdiDiscoveryServerConfig = (input, context) => {
|
|
1746
|
-
return input
|
|
1747
|
-
.filter((e) => e != null)
|
|
1748
|
-
.map((entry) => {
|
|
1749
|
-
return se_NdiDiscoveryServerConfig(entry, context);
|
|
1750
|
-
});
|
|
1751
|
-
};
|
|
1752
|
-
const se___listOfSetSourceRequest = (input, context) => {
|
|
1753
|
-
return input
|
|
1754
|
-
.filter((e) => e != null)
|
|
1755
|
-
.map((entry) => {
|
|
1756
|
-
return se_SetSourceRequest(entry, context);
|
|
1757
|
-
});
|
|
1758
|
-
};
|
|
1759
|
-
const se___listOfVideoMonitoringSetting = (input, context) => {
|
|
1760
|
-
return input
|
|
1761
|
-
.filter((e) => e != null)
|
|
1762
|
-
.map((entry) => {
|
|
1763
|
-
return se_VideoMonitoringSetting(entry, context);
|
|
1764
|
-
});
|
|
1765
|
-
};
|
|
1766
|
-
const se___listOfVpcInterfaceRequest = (input, context) => {
|
|
1767
|
-
return input
|
|
1768
|
-
.filter((e) => e != null)
|
|
1769
|
-
.map((entry) => {
|
|
1770
|
-
return se_VpcInterfaceRequest(entry, context);
|
|
1771
|
-
});
|
|
1772
|
-
};
|
|
1773
|
-
const se_AddBridgeFlowSourceRequest = (input, context) => {
|
|
1774
|
-
return take(input, {
|
|
1775
|
-
flowArn: [, , `FlowArn`],
|
|
1776
|
-
flowVpcInterfaceAttachment: [, (_) => se_VpcInterfaceAttachment(_, context), `FlowVpcInterfaceAttachment`],
|
|
1777
|
-
name: [, , `Name`],
|
|
1778
|
-
});
|
|
1779
|
-
};
|
|
1780
|
-
const se_AddBridgeNetworkOutputRequest = (input, context) => {
|
|
1781
|
-
return take(input, {
|
|
1782
|
-
ipAddress: [, , `IpAddress`],
|
|
1783
|
-
name: [, , `Name`],
|
|
1784
|
-
networkName: [, , `NetworkName`],
|
|
1785
|
-
port: [, , `Port`],
|
|
1786
|
-
protocol: [, , `Protocol`],
|
|
1787
|
-
ttl: [, , `Ttl`],
|
|
1788
|
-
});
|
|
1789
|
-
};
|
|
1790
|
-
const se_AddBridgeNetworkSourceRequest = (input, context) => {
|
|
1791
|
-
return take(input, {
|
|
1792
|
-
multicastIp: [, , `MulticastIp`],
|
|
1793
|
-
multicastSourceSettings: [, (_) => se_MulticastSourceSettings(_, context), `MulticastSourceSettings`],
|
|
1794
|
-
name: [, , `Name`],
|
|
1795
|
-
networkName: [, , `NetworkName`],
|
|
1796
|
-
port: [, , `Port`],
|
|
1797
|
-
protocol: [, , `Protocol`],
|
|
1798
|
-
});
|
|
1799
|
-
};
|
|
1800
|
-
const se_AddBridgeOutputRequest = (input, context) => {
|
|
1801
|
-
return take(input, {
|
|
1802
|
-
networkOutput: [, (_) => se_AddBridgeNetworkOutputRequest(_, context), `NetworkOutput`],
|
|
1803
|
-
});
|
|
1804
|
-
};
|
|
1805
|
-
const se_AddBridgeSourceRequest = (input, context) => {
|
|
1806
|
-
return take(input, {
|
|
1807
|
-
flowSource: [, (_) => se_AddBridgeFlowSourceRequest(_, context), `FlowSource`],
|
|
1808
|
-
networkSource: [, (_) => se_AddBridgeNetworkSourceRequest(_, context), `NetworkSource`],
|
|
1809
|
-
});
|
|
1810
|
-
};
|
|
1811
|
-
const se_AddEgressGatewayBridgeRequest = (input, context) => {
|
|
1812
|
-
return take(input, {
|
|
1813
|
-
maxBitrate: [, , `MaxBitrate`],
|
|
1814
|
-
});
|
|
1815
|
-
};
|
|
1816
|
-
const se_AddIngressGatewayBridgeRequest = (input, context) => {
|
|
1817
|
-
return take(input, {
|
|
1818
|
-
maxBitrate: [, , `MaxBitrate`],
|
|
1819
|
-
maxOutputs: [, , `MaxOutputs`],
|
|
1820
|
-
});
|
|
1821
|
-
};
|
|
1822
|
-
const se_AddMaintenance = (input, context) => {
|
|
1823
|
-
return take(input, {
|
|
1824
|
-
maintenanceDay: [, , `MaintenanceDay`],
|
|
1825
|
-
maintenanceStartHour: [, , `MaintenanceStartHour`],
|
|
1826
|
-
});
|
|
1827
|
-
};
|
|
1828
|
-
const se_AddMediaStreamRequest = (input, context) => {
|
|
1829
|
-
return take(input, {
|
|
1830
|
-
attributes: [, (_) => se_MediaStreamAttributesRequest(_, context), `Attributes`],
|
|
1831
|
-
clockRate: [, , `ClockRate`],
|
|
1832
|
-
description: [, , `Description`],
|
|
1833
|
-
mediaStreamId: [, , `MediaStreamId`],
|
|
1834
|
-
mediaStreamName: [, , `MediaStreamName`],
|
|
1835
|
-
mediaStreamTags: [, _json, `MediaStreamTags`],
|
|
1836
|
-
mediaStreamType: [, , `MediaStreamType`],
|
|
1837
|
-
videoFormat: [, , `VideoFormat`],
|
|
1838
|
-
});
|
|
1839
|
-
};
|
|
1840
|
-
const se_AddOutputRequest = (input, context) => {
|
|
1841
|
-
return take(input, {
|
|
1842
|
-
cidrAllowList: [, _json, `CidrAllowList`],
|
|
1843
|
-
description: [, , `Description`],
|
|
1844
|
-
destination: [, , `Destination`],
|
|
1845
|
-
encryption: [, (_) => se_Encryption(_, context), `Encryption`],
|
|
1846
|
-
maxLatency: [, , `MaxLatency`],
|
|
1847
|
-
mediaStreamOutputConfigurations: [
|
|
1848
|
-
,
|
|
1849
|
-
(_) => se___listOfMediaStreamOutputConfigurationRequest(_, context),
|
|
1850
|
-
`MediaStreamOutputConfigurations`,
|
|
1851
|
-
],
|
|
1852
|
-
minLatency: [, , `MinLatency`],
|
|
1853
|
-
name: [, , `Name`],
|
|
1854
|
-
ndiProgramName: [, , `NdiProgramName`],
|
|
1855
|
-
ndiSpeedHqQuality: [, , `NdiSpeedHqQuality`],
|
|
1856
|
-
outputStatus: [, , `OutputStatus`],
|
|
1857
|
-
outputTags: [, _json, `OutputTags`],
|
|
1858
|
-
port: [, , `Port`],
|
|
1859
|
-
protocol: [, , `Protocol`],
|
|
1860
|
-
remoteId: [, , `RemoteId`],
|
|
1861
|
-
senderControlPort: [, , `SenderControlPort`],
|
|
1862
|
-
smoothingLatency: [, , `SmoothingLatency`],
|
|
1863
|
-
streamId: [, , `StreamId`],
|
|
1864
|
-
vpcInterfaceAttachment: [, (_) => se_VpcInterfaceAttachment(_, context), `VpcInterfaceAttachment`],
|
|
1865
|
-
});
|
|
1866
|
-
};
|
|
1867
|
-
const se_AudioMonitoringSetting = (input, context) => {
|
|
1868
|
-
return take(input, {
|
|
1869
|
-
silentAudio: [, (_) => se_SilentAudio(_, context), `SilentAudio`],
|
|
1870
|
-
});
|
|
1871
|
-
};
|
|
1872
|
-
const se_BlackFrames = (input, context) => {
|
|
1873
|
-
return take(input, {
|
|
1874
|
-
state: [, , `State`],
|
|
1875
|
-
thresholdSeconds: [, , `ThresholdSeconds`],
|
|
1876
|
-
});
|
|
1877
|
-
};
|
|
1878
|
-
const se_DestinationConfigurationRequest = (input, context) => {
|
|
1879
|
-
return take(input, {
|
|
1880
|
-
destinationIp: [, , `DestinationIp`],
|
|
1881
|
-
destinationPort: [, , `DestinationPort`],
|
|
1882
|
-
interface: [, (_) => se_InterfaceRequest(_, context), `Interface`],
|
|
1883
|
-
});
|
|
1884
|
-
};
|
|
1885
|
-
const se_EncodingParametersRequest = (input, context) => {
|
|
1886
|
-
return take(input, {
|
|
1887
|
-
compressionFactor: [, __serializeFloat, `CompressionFactor`],
|
|
1888
|
-
encoderProfile: [, , `EncoderProfile`],
|
|
1889
|
-
});
|
|
1890
|
-
};
|
|
1891
|
-
const se_Encryption = (input, context) => {
|
|
1892
|
-
return take(input, {
|
|
1893
|
-
algorithm: [, , `Algorithm`],
|
|
1894
|
-
constantInitializationVector: [, , `ConstantInitializationVector`],
|
|
1895
|
-
deviceId: [, , `DeviceId`],
|
|
1896
|
-
keyType: [, , `KeyType`],
|
|
1897
|
-
region: [, , `Region`],
|
|
1898
|
-
resourceId: [, , `ResourceId`],
|
|
1899
|
-
roleArn: [, , `RoleArn`],
|
|
1900
|
-
secretArn: [, , `SecretArn`],
|
|
1901
|
-
url: [, , `Url`],
|
|
1902
|
-
});
|
|
1903
|
-
};
|
|
1904
|
-
const se_FailoverConfig = (input, context) => {
|
|
1905
|
-
return take(input, {
|
|
1906
|
-
failoverMode: [, , `FailoverMode`],
|
|
1907
|
-
recoveryWindow: [, , `RecoveryWindow`],
|
|
1908
|
-
sourcePriority: [, (_) => se_SourcePriority(_, context), `SourcePriority`],
|
|
1909
|
-
state: [, , `State`],
|
|
1910
|
-
});
|
|
1911
|
-
};
|
|
1912
|
-
const se_FmtpRequest = (input, context) => {
|
|
1913
|
-
return take(input, {
|
|
1914
|
-
channelOrder: [, , `ChannelOrder`],
|
|
1915
|
-
colorimetry: [, , `Colorimetry`],
|
|
1916
|
-
exactFramerate: [, , `ExactFramerate`],
|
|
1917
|
-
par: [, , `Par`],
|
|
1918
|
-
range: [, , `Range`],
|
|
1919
|
-
scanMode: [, , `ScanMode`],
|
|
1920
|
-
tcs: [, , `Tcs`],
|
|
1921
|
-
});
|
|
1922
|
-
};
|
|
1923
|
-
const se_FrozenFrames = (input, context) => {
|
|
1924
|
-
return take(input, {
|
|
1925
|
-
state: [, , `State`],
|
|
1926
|
-
thresholdSeconds: [, , `ThresholdSeconds`],
|
|
1927
|
-
});
|
|
1928
|
-
};
|
|
1929
|
-
const se_GatewayNetwork = (input, context) => {
|
|
1930
|
-
return take(input, {
|
|
1931
|
-
cidrBlock: [, , `CidrBlock`],
|
|
1932
|
-
name: [, , `Name`],
|
|
1933
|
-
});
|
|
1934
|
-
};
|
|
1935
|
-
const se_GrantEntitlementRequest = (input, context) => {
|
|
1936
|
-
return take(input, {
|
|
1937
|
-
dataTransferSubscriberFeePercent: [, , `DataTransferSubscriberFeePercent`],
|
|
1938
|
-
description: [, , `Description`],
|
|
1939
|
-
encryption: [, (_) => se_Encryption(_, context), `Encryption`],
|
|
1940
|
-
entitlementStatus: [, , `EntitlementStatus`],
|
|
1941
|
-
entitlementTags: [, _json, `EntitlementTags`],
|
|
1942
|
-
name: [, , `Name`],
|
|
1943
|
-
subscribers: [, _json, `Subscribers`],
|
|
1944
|
-
});
|
|
1945
|
-
};
|
|
1946
|
-
const se_InputConfigurationRequest = (input, context) => {
|
|
1947
|
-
return take(input, {
|
|
1948
|
-
inputPort: [, , `InputPort`],
|
|
1949
|
-
interface: [, (_) => se_InterfaceRequest(_, context), `Interface`],
|
|
1950
|
-
});
|
|
1951
|
-
};
|
|
1952
|
-
const se_InterfaceRequest = (input, context) => {
|
|
1953
|
-
return take(input, {
|
|
1954
|
-
name: [, , `Name`],
|
|
1955
|
-
});
|
|
1956
|
-
};
|
|
1957
|
-
const se_MediaStreamAttributesRequest = (input, context) => {
|
|
1958
|
-
return take(input, {
|
|
1959
|
-
fmtp: [, (_) => se_FmtpRequest(_, context), `Fmtp`],
|
|
1960
|
-
lang: [, , `Lang`],
|
|
1961
|
-
});
|
|
1962
|
-
};
|
|
1963
|
-
const se_MediaStreamOutputConfigurationRequest = (input, context) => {
|
|
1964
|
-
return take(input, {
|
|
1965
|
-
destinationConfigurations: [
|
|
1966
|
-
,
|
|
1967
|
-
(_) => se___listOfDestinationConfigurationRequest(_, context),
|
|
1968
|
-
`DestinationConfigurations`,
|
|
1969
|
-
],
|
|
1970
|
-
encodingName: [, , `EncodingName`],
|
|
1971
|
-
encodingParameters: [, (_) => se_EncodingParametersRequest(_, context), `EncodingParameters`],
|
|
1972
|
-
mediaStreamName: [, , `MediaStreamName`],
|
|
1973
|
-
});
|
|
1974
|
-
};
|
|
1975
|
-
const se_MediaStreamSourceConfigurationRequest = (input, context) => {
|
|
1976
|
-
return take(input, {
|
|
1977
|
-
encodingName: [, , `EncodingName`],
|
|
1978
|
-
inputConfigurations: [, (_) => se___listOfInputConfigurationRequest(_, context), `InputConfigurations`],
|
|
1979
|
-
mediaStreamName: [, , `MediaStreamName`],
|
|
1980
|
-
});
|
|
1981
|
-
};
|
|
1982
|
-
const se_MonitoringConfig = (input, context) => {
|
|
1983
|
-
return take(input, {
|
|
1984
|
-
audioMonitoringSettings: [, (_) => se___listOfAudioMonitoringSetting(_, context), `AudioMonitoringSettings`],
|
|
1985
|
-
contentQualityAnalysisState: [, , `ContentQualityAnalysisState`],
|
|
1986
|
-
thumbnailState: [, , `ThumbnailState`],
|
|
1987
|
-
videoMonitoringSettings: [, (_) => se___listOfVideoMonitoringSetting(_, context), `VideoMonitoringSettings`],
|
|
1988
|
-
});
|
|
1989
|
-
};
|
|
1990
|
-
const se_MulticastSourceSettings = (input, context) => {
|
|
1991
|
-
return take(input, {
|
|
1992
|
-
multicastSourceIp: [, , `MulticastSourceIp`],
|
|
1993
|
-
});
|
|
1994
|
-
};
|
|
1995
|
-
const se_NdiConfig = (input, context) => {
|
|
1996
|
-
return take(input, {
|
|
1997
|
-
machineName: [, , `MachineName`],
|
|
1998
|
-
ndiDiscoveryServers: [, (_) => se___listOfNdiDiscoveryServerConfig(_, context), `NdiDiscoveryServers`],
|
|
1999
|
-
ndiState: [, , `NdiState`],
|
|
2000
|
-
});
|
|
2001
|
-
};
|
|
2002
|
-
const se_NdiDiscoveryServerConfig = (input, context) => {
|
|
2003
|
-
return take(input, {
|
|
2004
|
-
discoveryServerAddress: [, , `DiscoveryServerAddress`],
|
|
2005
|
-
discoveryServerPort: [, , `DiscoveryServerPort`],
|
|
2006
|
-
vpcInterfaceAdapter: [, , `VpcInterfaceAdapter`],
|
|
2007
|
-
});
|
|
2008
|
-
};
|
|
2009
|
-
const se_SetGatewayBridgeSourceRequest = (input, context) => {
|
|
2010
|
-
return take(input, {
|
|
2011
|
-
bridgeArn: [, , `BridgeArn`],
|
|
2012
|
-
vpcInterfaceAttachment: [, (_) => se_VpcInterfaceAttachment(_, context), `VpcInterfaceAttachment`],
|
|
2013
|
-
});
|
|
2014
|
-
};
|
|
2015
|
-
const se_SetSourceRequest = (input, context) => {
|
|
2016
|
-
return take(input, {
|
|
2017
|
-
decryption: [, (_) => se_Encryption(_, context), `Decryption`],
|
|
2018
|
-
description: [, , `Description`],
|
|
2019
|
-
entitlementArn: [, , `EntitlementArn`],
|
|
2020
|
-
gatewayBridgeSource: [, (_) => se_SetGatewayBridgeSourceRequest(_, context), `GatewayBridgeSource`],
|
|
2021
|
-
ingestPort: [, , `IngestPort`],
|
|
2022
|
-
maxBitrate: [, , `MaxBitrate`],
|
|
2023
|
-
maxLatency: [, , `MaxLatency`],
|
|
2024
|
-
maxSyncBuffer: [, , `MaxSyncBuffer`],
|
|
2025
|
-
mediaStreamSourceConfigurations: [
|
|
2026
|
-
,
|
|
2027
|
-
(_) => se___listOfMediaStreamSourceConfigurationRequest(_, context),
|
|
2028
|
-
`MediaStreamSourceConfigurations`,
|
|
2029
|
-
],
|
|
2030
|
-
minLatency: [, , `MinLatency`],
|
|
2031
|
-
name: [, , `Name`],
|
|
2032
|
-
protocol: [, , `Protocol`],
|
|
2033
|
-
senderControlPort: [, , `SenderControlPort`],
|
|
2034
|
-
senderIpAddress: [, , `SenderIpAddress`],
|
|
2035
|
-
sourceListenerAddress: [, , `SourceListenerAddress`],
|
|
2036
|
-
sourceListenerPort: [, , `SourceListenerPort`],
|
|
2037
|
-
sourceTags: [, _json, `SourceTags`],
|
|
2038
|
-
streamId: [, , `StreamId`],
|
|
2039
|
-
vpcInterfaceName: [, , `VpcInterfaceName`],
|
|
2040
|
-
whitelistCidr: [, , `WhitelistCidr`],
|
|
2041
|
-
});
|
|
2042
|
-
};
|
|
2043
|
-
const se_SilentAudio = (input, context) => {
|
|
2044
|
-
return take(input, {
|
|
2045
|
-
state: [, , `State`],
|
|
2046
|
-
thresholdSeconds: [, , `ThresholdSeconds`],
|
|
2047
|
-
});
|
|
2048
|
-
};
|
|
2049
|
-
const se_SourcePriority = (input, context) => {
|
|
2050
|
-
return take(input, {
|
|
2051
|
-
primarySource: [, , `PrimarySource`],
|
|
2052
|
-
});
|
|
2053
|
-
};
|
|
2054
|
-
const se_UpdateBridgeFlowSourceRequest = (input, context) => {
|
|
2055
|
-
return take(input, {
|
|
2056
|
-
flowArn: [, , `FlowArn`],
|
|
2057
|
-
flowVpcInterfaceAttachment: [, (_) => se_VpcInterfaceAttachment(_, context), `FlowVpcInterfaceAttachment`],
|
|
2058
|
-
});
|
|
2059
|
-
};
|
|
2060
|
-
const se_UpdateBridgeNetworkOutputRequest = (input, context) => {
|
|
2061
|
-
return take(input, {
|
|
2062
|
-
ipAddress: [, , `IpAddress`],
|
|
2063
|
-
networkName: [, , `NetworkName`],
|
|
2064
|
-
port: [, , `Port`],
|
|
2065
|
-
protocol: [, , `Protocol`],
|
|
2066
|
-
ttl: [, , `Ttl`],
|
|
2067
|
-
});
|
|
2068
|
-
};
|
|
2069
|
-
const se_UpdateBridgeNetworkSourceRequest = (input, context) => {
|
|
2070
|
-
return take(input, {
|
|
2071
|
-
multicastIp: [, , `MulticastIp`],
|
|
2072
|
-
multicastSourceSettings: [, (_) => se_MulticastSourceSettings(_, context), `MulticastSourceSettings`],
|
|
2073
|
-
networkName: [, , `NetworkName`],
|
|
2074
|
-
port: [, , `Port`],
|
|
2075
|
-
protocol: [, , `Protocol`],
|
|
2076
|
-
});
|
|
2077
|
-
};
|
|
2078
|
-
const se_UpdateEgressGatewayBridgeRequest = (input, context) => {
|
|
2079
|
-
return take(input, {
|
|
2080
|
-
maxBitrate: [, , `MaxBitrate`],
|
|
2081
|
-
});
|
|
2082
|
-
};
|
|
2083
|
-
const se_UpdateEncryption = (input, context) => {
|
|
2084
|
-
return take(input, {
|
|
2085
|
-
algorithm: [, , `Algorithm`],
|
|
2086
|
-
constantInitializationVector: [, , `ConstantInitializationVector`],
|
|
2087
|
-
deviceId: [, , `DeviceId`],
|
|
2088
|
-
keyType: [, , `KeyType`],
|
|
2089
|
-
region: [, , `Region`],
|
|
2090
|
-
resourceId: [, , `ResourceId`],
|
|
2091
|
-
roleArn: [, , `RoleArn`],
|
|
2092
|
-
secretArn: [, , `SecretArn`],
|
|
2093
|
-
url: [, , `Url`],
|
|
2094
|
-
});
|
|
2095
|
-
};
|
|
2096
|
-
const se_UpdateFailoverConfig = (input, context) => {
|
|
2097
|
-
return take(input, {
|
|
2098
|
-
failoverMode: [, , `FailoverMode`],
|
|
2099
|
-
recoveryWindow: [, , `RecoveryWindow`],
|
|
2100
|
-
sourcePriority: [, (_) => se_SourcePriority(_, context), `SourcePriority`],
|
|
2101
|
-
state: [, , `State`],
|
|
2102
|
-
});
|
|
2103
|
-
};
|
|
2104
|
-
const se_UpdateGatewayBridgeSourceRequest = (input, context) => {
|
|
2105
|
-
return take(input, {
|
|
2106
|
-
bridgeArn: [, , `BridgeArn`],
|
|
2107
|
-
vpcInterfaceAttachment: [, (_) => se_VpcInterfaceAttachment(_, context), `VpcInterfaceAttachment`],
|
|
2108
|
-
});
|
|
2109
|
-
};
|
|
2110
|
-
const se_UpdateIngressGatewayBridgeRequest = (input, context) => {
|
|
2111
|
-
return take(input, {
|
|
2112
|
-
maxBitrate: [, , `MaxBitrate`],
|
|
2113
|
-
maxOutputs: [, , `MaxOutputs`],
|
|
2114
|
-
});
|
|
2115
|
-
};
|
|
2116
|
-
const se_UpdateMaintenance = (input, context) => {
|
|
2117
|
-
return take(input, {
|
|
2118
|
-
maintenanceDay: [, , `MaintenanceDay`],
|
|
2119
|
-
maintenanceScheduledDate: [, , `MaintenanceScheduledDate`],
|
|
2120
|
-
maintenanceStartHour: [, , `MaintenanceStartHour`],
|
|
2121
|
-
});
|
|
2122
|
-
};
|
|
2123
|
-
const se_VideoMonitoringSetting = (input, context) => {
|
|
2124
|
-
return take(input, {
|
|
2125
|
-
blackFrames: [, (_) => se_BlackFrames(_, context), `BlackFrames`],
|
|
2126
|
-
frozenFrames: [, (_) => se_FrozenFrames(_, context), `FrozenFrames`],
|
|
2127
|
-
});
|
|
2128
|
-
};
|
|
2129
|
-
const se_VpcInterfaceAttachment = (input, context) => {
|
|
2130
|
-
return take(input, {
|
|
2131
|
-
vpcInterfaceName: [, , `VpcInterfaceName`],
|
|
2132
|
-
});
|
|
2133
|
-
};
|
|
2134
|
-
const se_VpcInterfaceRequest = (input, context) => {
|
|
2135
|
-
return take(input, {
|
|
2136
|
-
name: [, , `Name`],
|
|
2137
|
-
networkInterfaceType: [, , `NetworkInterfaceType`],
|
|
2138
|
-
roleArn: [, , `RoleArn`],
|
|
2139
|
-
securityGroupIds: [, _json, `SecurityGroupIds`],
|
|
2140
|
-
subnetId: [, , `SubnetId`],
|
|
2141
|
-
vpcInterfaceTags: [, _json, `VpcInterfaceTags`],
|
|
2142
|
-
});
|
|
2143
|
-
};
|
|
2144
|
-
const de___listOfAudioMonitoringSetting = (output, context) => {
|
|
2145
|
-
const retVal = (output || [])
|
|
2146
|
-
.filter((e) => e != null)
|
|
2147
|
-
.map((entry) => {
|
|
2148
|
-
return de_AudioMonitoringSetting(entry, context);
|
|
2149
|
-
});
|
|
2150
|
-
return retVal;
|
|
2151
|
-
};
|
|
2152
|
-
const de___listOfBridgeOutput = (output, context) => {
|
|
2153
|
-
const retVal = (output || [])
|
|
2154
|
-
.filter((e) => e != null)
|
|
2155
|
-
.map((entry) => {
|
|
2156
|
-
return de_BridgeOutput(entry, context);
|
|
2157
|
-
});
|
|
2158
|
-
return retVal;
|
|
2159
|
-
};
|
|
2160
|
-
const de___listOfBridgeSource = (output, context) => {
|
|
2161
|
-
const retVal = (output || [])
|
|
2162
|
-
.filter((e) => e != null)
|
|
2163
|
-
.map((entry) => {
|
|
2164
|
-
return de_BridgeSource(entry, context);
|
|
2165
|
-
});
|
|
2166
|
-
return retVal;
|
|
2167
|
-
};
|
|
2168
|
-
const de___listOfDestinationConfiguration = (output, context) => {
|
|
2169
|
-
const retVal = (output || [])
|
|
2170
|
-
.filter((e) => e != null)
|
|
2171
|
-
.map((entry) => {
|
|
2172
|
-
return de_DestinationConfiguration(entry, context);
|
|
2173
|
-
});
|
|
2174
|
-
return retVal;
|
|
2175
|
-
};
|
|
2176
|
-
const de___listOfEntitlement = (output, context) => {
|
|
2177
|
-
const retVal = (output || [])
|
|
2178
|
-
.filter((e) => e != null)
|
|
2179
|
-
.map((entry) => {
|
|
2180
|
-
return de_Entitlement(entry, context);
|
|
2181
|
-
});
|
|
2182
|
-
return retVal;
|
|
2183
|
-
};
|
|
2184
|
-
const de___listOfGatewayNetwork = (output, context) => {
|
|
2185
|
-
const retVal = (output || [])
|
|
2186
|
-
.filter((e) => e != null)
|
|
2187
|
-
.map((entry) => {
|
|
2188
|
-
return de_GatewayNetwork(entry, context);
|
|
2189
|
-
});
|
|
2190
|
-
return retVal;
|
|
2191
|
-
};
|
|
2192
|
-
const de___listOfInputConfiguration = (output, context) => {
|
|
2193
|
-
const retVal = (output || [])
|
|
2194
|
-
.filter((e) => e != null)
|
|
2195
|
-
.map((entry) => {
|
|
2196
|
-
return de_InputConfiguration(entry, context);
|
|
2197
|
-
});
|
|
2198
|
-
return retVal;
|
|
2199
|
-
};
|
|
2200
|
-
const de___listOfListedBridge = (output, context) => {
|
|
2201
|
-
const retVal = (output || [])
|
|
2202
|
-
.filter((e) => e != null)
|
|
2203
|
-
.map((entry) => {
|
|
2204
|
-
return de_ListedBridge(entry, context);
|
|
2205
|
-
});
|
|
2206
|
-
return retVal;
|
|
2207
|
-
};
|
|
2208
|
-
const de___listOfListedEntitlement = (output, context) => {
|
|
2209
|
-
const retVal = (output || [])
|
|
2210
|
-
.filter((e) => e != null)
|
|
2211
|
-
.map((entry) => {
|
|
2212
|
-
return de_ListedEntitlement(entry, context);
|
|
2213
|
-
});
|
|
2214
|
-
return retVal;
|
|
2215
|
-
};
|
|
2216
|
-
const de___listOfListedFlow = (output, context) => {
|
|
2217
|
-
const retVal = (output || [])
|
|
2218
|
-
.filter((e) => e != null)
|
|
2219
|
-
.map((entry) => {
|
|
2220
|
-
return de_ListedFlow(entry, context);
|
|
2221
|
-
});
|
|
2222
|
-
return retVal;
|
|
2223
|
-
};
|
|
2224
|
-
const de___listOfListedGateway = (output, context) => {
|
|
2225
|
-
const retVal = (output || [])
|
|
2226
|
-
.filter((e) => e != null)
|
|
2227
|
-
.map((entry) => {
|
|
2228
|
-
return de_ListedGateway(entry, context);
|
|
2229
|
-
});
|
|
2230
|
-
return retVal;
|
|
2231
|
-
};
|
|
2232
|
-
const de___listOfListedGatewayInstance = (output, context) => {
|
|
2233
|
-
const retVal = (output || [])
|
|
2234
|
-
.filter((e) => e != null)
|
|
2235
|
-
.map((entry) => {
|
|
2236
|
-
return de_ListedGatewayInstance(entry, context);
|
|
2237
|
-
});
|
|
2238
|
-
return retVal;
|
|
2239
|
-
};
|
|
2240
|
-
const de___listOfMediaStream = (output, context) => {
|
|
2241
|
-
const retVal = (output || [])
|
|
2242
|
-
.filter((e) => e != null)
|
|
2243
|
-
.map((entry) => {
|
|
2244
|
-
return de_MediaStream(entry, context);
|
|
2245
|
-
});
|
|
2246
|
-
return retVal;
|
|
2247
|
-
};
|
|
2248
|
-
const de___listOfMediaStreamOutputConfiguration = (output, context) => {
|
|
2249
|
-
const retVal = (output || [])
|
|
2250
|
-
.filter((e) => e != null)
|
|
2251
|
-
.map((entry) => {
|
|
2252
|
-
return de_MediaStreamOutputConfiguration(entry, context);
|
|
2253
|
-
});
|
|
2254
|
-
return retVal;
|
|
2255
|
-
};
|
|
2256
|
-
const de___listOfMediaStreamSourceConfiguration = (output, context) => {
|
|
2257
|
-
const retVal = (output || [])
|
|
2258
|
-
.filter((e) => e != null)
|
|
2259
|
-
.map((entry) => {
|
|
2260
|
-
return de_MediaStreamSourceConfiguration(entry, context);
|
|
2261
|
-
});
|
|
2262
|
-
return retVal;
|
|
2263
|
-
};
|
|
2264
|
-
const de___listOfMessageDetail = (output, context) => {
|
|
2265
|
-
const retVal = (output || [])
|
|
2266
|
-
.filter((e) => e != null)
|
|
2267
|
-
.map((entry) => {
|
|
2268
|
-
return de_MessageDetail(entry, context);
|
|
2269
|
-
});
|
|
2270
|
-
return retVal;
|
|
2271
|
-
};
|
|
2272
|
-
const de___listOfNdiDiscoveryServerConfig = (output, context) => {
|
|
2273
|
-
const retVal = (output || [])
|
|
2274
|
-
.filter((e) => e != null)
|
|
2275
|
-
.map((entry) => {
|
|
2276
|
-
return de_NdiDiscoveryServerConfig(entry, context);
|
|
2277
|
-
});
|
|
2278
|
-
return retVal;
|
|
2279
|
-
};
|
|
2280
|
-
const de___listOfOffering = (output, context) => {
|
|
2281
|
-
const retVal = (output || [])
|
|
2282
|
-
.filter((e) => e != null)
|
|
2283
|
-
.map((entry) => {
|
|
2284
|
-
return de_Offering(entry, context);
|
|
2285
|
-
});
|
|
2286
|
-
return retVal;
|
|
2287
|
-
};
|
|
2288
|
-
const de___listOfOutput = (output, context) => {
|
|
2289
|
-
const retVal = (output || [])
|
|
2290
|
-
.filter((e) => e != null)
|
|
2291
|
-
.map((entry) => {
|
|
2292
|
-
return de_Output(entry, context);
|
|
2293
|
-
});
|
|
2294
|
-
return retVal;
|
|
2295
|
-
};
|
|
2296
|
-
const de___listOfReservation = (output, context) => {
|
|
2297
|
-
const retVal = (output || [])
|
|
2298
|
-
.filter((e) => e != null)
|
|
2299
|
-
.map((entry) => {
|
|
2300
|
-
return de_Reservation(entry, context);
|
|
2301
|
-
});
|
|
2302
|
-
return retVal;
|
|
2303
|
-
};
|
|
2304
|
-
const de___listOfSource = (output, context) => {
|
|
2305
|
-
const retVal = (output || [])
|
|
2306
|
-
.filter((e) => e != null)
|
|
2307
|
-
.map((entry) => {
|
|
2308
|
-
return de_Source(entry, context);
|
|
2309
|
-
});
|
|
2310
|
-
return retVal;
|
|
2311
|
-
};
|
|
2312
|
-
const de___listOfTransportStream = (output, context) => {
|
|
2313
|
-
const retVal = (output || [])
|
|
2314
|
-
.filter((e) => e != null)
|
|
2315
|
-
.map((entry) => {
|
|
2316
|
-
return de_TransportStream(entry, context);
|
|
2317
|
-
});
|
|
2318
|
-
return retVal;
|
|
2319
|
-
};
|
|
2320
|
-
const de___listOfTransportStreamProgram = (output, context) => {
|
|
2321
|
-
const retVal = (output || [])
|
|
2322
|
-
.filter((e) => e != null)
|
|
2323
|
-
.map((entry) => {
|
|
2324
|
-
return de_TransportStreamProgram(entry, context);
|
|
2325
|
-
});
|
|
2326
|
-
return retVal;
|
|
2327
|
-
};
|
|
2328
|
-
const de___listOfVideoMonitoringSetting = (output, context) => {
|
|
2329
|
-
const retVal = (output || [])
|
|
2330
|
-
.filter((e) => e != null)
|
|
2331
|
-
.map((entry) => {
|
|
2332
|
-
return de_VideoMonitoringSetting(entry, context);
|
|
2333
|
-
});
|
|
2334
|
-
return retVal;
|
|
2335
|
-
};
|
|
2336
|
-
const de___listOfVpcInterface = (output, context) => {
|
|
2337
|
-
const retVal = (output || [])
|
|
2338
|
-
.filter((e) => e != null)
|
|
2339
|
-
.map((entry) => {
|
|
2340
|
-
return de_VpcInterface(entry, context);
|
|
2341
|
-
});
|
|
2342
|
-
return retVal;
|
|
2343
|
-
};
|
|
2344
|
-
const de_AudioMonitoringSetting = (output, context) => {
|
|
2345
|
-
return take(output, {
|
|
2346
|
-
SilentAudio: [, (_) => de_SilentAudio(_, context), `silentAudio`],
|
|
2347
|
-
});
|
|
2348
|
-
};
|
|
2349
|
-
const de_BlackFrames = (output, context) => {
|
|
2350
|
-
return take(output, {
|
|
2351
|
-
State: [, __expectString, `state`],
|
|
2352
|
-
ThresholdSeconds: [, __expectInt32, `thresholdSeconds`],
|
|
2353
|
-
});
|
|
2354
|
-
};
|
|
2355
|
-
const de_Bridge = (output, context) => {
|
|
2356
|
-
return take(output, {
|
|
2357
|
-
BridgeArn: [, __expectString, `bridgeArn`],
|
|
2358
|
-
BridgeMessages: [, (_) => de___listOfMessageDetail(_, context), `bridgeMessages`],
|
|
2359
|
-
BridgeState: [, __expectString, `bridgeState`],
|
|
2360
|
-
EgressGatewayBridge: [, (_) => de_EgressGatewayBridge(_, context), `egressGatewayBridge`],
|
|
2361
|
-
IngressGatewayBridge: [, (_) => de_IngressGatewayBridge(_, context), `ingressGatewayBridge`],
|
|
2362
|
-
Name: [, __expectString, `name`],
|
|
2363
|
-
Outputs: [, (_) => de___listOfBridgeOutput(_, context), `outputs`],
|
|
2364
|
-
PlacementArn: [, __expectString, `placementArn`],
|
|
2365
|
-
SourceFailoverConfig: [, (_) => de_FailoverConfig(_, context), `sourceFailoverConfig`],
|
|
2366
|
-
Sources: [, (_) => de___listOfBridgeSource(_, context), `sources`],
|
|
2367
|
-
});
|
|
2368
|
-
};
|
|
2369
|
-
const de_BridgeFlowOutput = (output, context) => {
|
|
2370
|
-
return take(output, {
|
|
2371
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
2372
|
-
FlowSourceArn: [, __expectString, `flowSourceArn`],
|
|
2373
|
-
Name: [, __expectString, `name`],
|
|
2374
|
-
});
|
|
2375
|
-
};
|
|
2376
|
-
const de_BridgeFlowSource = (output, context) => {
|
|
2377
|
-
return take(output, {
|
|
2378
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
2379
|
-
FlowVpcInterfaceAttachment: [, (_) => de_VpcInterfaceAttachment(_, context), `flowVpcInterfaceAttachment`],
|
|
2380
|
-
Name: [, __expectString, `name`],
|
|
2381
|
-
OutputArn: [, __expectString, `outputArn`],
|
|
2382
|
-
});
|
|
2383
|
-
};
|
|
2384
|
-
const de_BridgeNetworkOutput = (output, context) => {
|
|
2385
|
-
return take(output, {
|
|
2386
|
-
IpAddress: [, __expectString, `ipAddress`],
|
|
2387
|
-
Name: [, __expectString, `name`],
|
|
2388
|
-
NetworkName: [, __expectString, `networkName`],
|
|
2389
|
-
Port: [, __expectInt32, `port`],
|
|
2390
|
-
Protocol: [, __expectString, `protocol`],
|
|
2391
|
-
Ttl: [, __expectInt32, `ttl`],
|
|
2392
|
-
});
|
|
2393
|
-
};
|
|
2394
|
-
const de_BridgeNetworkSource = (output, context) => {
|
|
2395
|
-
return take(output, {
|
|
2396
|
-
MulticastIp: [, __expectString, `multicastIp`],
|
|
2397
|
-
MulticastSourceSettings: [, (_) => de_MulticastSourceSettings(_, context), `multicastSourceSettings`],
|
|
2398
|
-
Name: [, __expectString, `name`],
|
|
2399
|
-
NetworkName: [, __expectString, `networkName`],
|
|
2400
|
-
Port: [, __expectInt32, `port`],
|
|
2401
|
-
Protocol: [, __expectString, `protocol`],
|
|
2402
|
-
});
|
|
2403
|
-
};
|
|
2404
|
-
const de_BridgeOutput = (output, context) => {
|
|
2405
|
-
return take(output, {
|
|
2406
|
-
FlowOutput: [, (_) => de_BridgeFlowOutput(_, context), `flowOutput`],
|
|
2407
|
-
NetworkOutput: [, (_) => de_BridgeNetworkOutput(_, context), `networkOutput`],
|
|
2408
|
-
});
|
|
2409
|
-
};
|
|
2410
|
-
const de_BridgeSource = (output, context) => {
|
|
2411
|
-
return take(output, {
|
|
2412
|
-
FlowSource: [, (_) => de_BridgeFlowSource(_, context), `flowSource`],
|
|
2413
|
-
NetworkSource: [, (_) => de_BridgeNetworkSource(_, context), `networkSource`],
|
|
2414
|
-
});
|
|
2415
|
-
};
|
|
2416
|
-
const de_DestinationConfiguration = (output, context) => {
|
|
2417
|
-
return take(output, {
|
|
2418
|
-
DestinationIp: [, __expectString, `destinationIp`],
|
|
2419
|
-
DestinationPort: [, __expectInt32, `destinationPort`],
|
|
2420
|
-
Interface: [, (_) => de_Interface(_, context), `interface`],
|
|
2421
|
-
OutboundIp: [, __expectString, `outboundIp`],
|
|
2422
|
-
});
|
|
2423
|
-
};
|
|
2424
|
-
const de_EgressGatewayBridge = (output, context) => {
|
|
2425
|
-
return take(output, {
|
|
2426
|
-
InstanceId: [, __expectString, `instanceId`],
|
|
2427
|
-
MaxBitrate: [, __expectInt32, `maxBitrate`],
|
|
2428
|
-
});
|
|
2429
|
-
};
|
|
2430
|
-
const de_EncodingParameters = (output, context) => {
|
|
2431
|
-
return take(output, {
|
|
2432
|
-
CompressionFactor: [, __limitedParseDouble, `compressionFactor`],
|
|
2433
|
-
EncoderProfile: [, __expectString, `encoderProfile`],
|
|
2434
|
-
});
|
|
2435
|
-
};
|
|
2436
|
-
const de_Encryption = (output, context) => {
|
|
2437
|
-
return take(output, {
|
|
2438
|
-
Algorithm: [, __expectString, `algorithm`],
|
|
2439
|
-
ConstantInitializationVector: [, __expectString, `constantInitializationVector`],
|
|
2440
|
-
DeviceId: [, __expectString, `deviceId`],
|
|
2441
|
-
KeyType: [, __expectString, `keyType`],
|
|
2442
|
-
Region: [, __expectString, `region`],
|
|
2443
|
-
ResourceId: [, __expectString, `resourceId`],
|
|
2444
|
-
RoleArn: [, __expectString, `roleArn`],
|
|
2445
|
-
SecretArn: [, __expectString, `secretArn`],
|
|
2446
|
-
Url: [, __expectString, `url`],
|
|
2447
|
-
});
|
|
2448
|
-
};
|
|
2449
|
-
const de_Entitlement = (output, context) => {
|
|
2450
|
-
return take(output, {
|
|
2451
|
-
DataTransferSubscriberFeePercent: [, __expectInt32, `dataTransferSubscriberFeePercent`],
|
|
2452
|
-
Description: [, __expectString, `description`],
|
|
2453
|
-
Encryption: [, (_) => de_Encryption(_, context), `encryption`],
|
|
2454
|
-
EntitlementArn: [, __expectString, `entitlementArn`],
|
|
2455
|
-
EntitlementStatus: [, __expectString, `entitlementStatus`],
|
|
2456
|
-
Name: [, __expectString, `name`],
|
|
2457
|
-
Subscribers: [, _json, `subscribers`],
|
|
2458
|
-
});
|
|
2459
|
-
};
|
|
2460
|
-
const de_FailoverConfig = (output, context) => {
|
|
2461
|
-
return take(output, {
|
|
2462
|
-
FailoverMode: [, __expectString, `failoverMode`],
|
|
2463
|
-
RecoveryWindow: [, __expectInt32, `recoveryWindow`],
|
|
2464
|
-
SourcePriority: [, (_) => de_SourcePriority(_, context), `sourcePriority`],
|
|
2465
|
-
State: [, __expectString, `state`],
|
|
2466
|
-
});
|
|
2467
|
-
};
|
|
2468
|
-
const de_Flow = (output, context) => {
|
|
2469
|
-
return take(output, {
|
|
2470
|
-
AvailabilityZone: [, __expectString, `availabilityZone`],
|
|
2471
|
-
Description: [, __expectString, `description`],
|
|
2472
|
-
EgressIp: [, __expectString, `egressIp`],
|
|
2473
|
-
Entitlements: [, (_) => de___listOfEntitlement(_, context), `entitlements`],
|
|
2474
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
2475
|
-
FlowSize: [, __expectString, `flowSize`],
|
|
2476
|
-
Maintenance: [, (_) => de_Maintenance(_, context), `maintenance`],
|
|
2477
|
-
MediaStreams: [, (_) => de___listOfMediaStream(_, context), `mediaStreams`],
|
|
2478
|
-
Name: [, __expectString, `name`],
|
|
2479
|
-
NdiConfig: [, (_) => de_NdiConfig(_, context), `ndiConfig`],
|
|
2480
|
-
Outputs: [, (_) => de___listOfOutput(_, context), `outputs`],
|
|
2481
|
-
Source: [, (_) => de_Source(_, context), `source`],
|
|
2482
|
-
SourceFailoverConfig: [, (_) => de_FailoverConfig(_, context), `sourceFailoverConfig`],
|
|
2483
|
-
SourceMonitoringConfig: [, (_) => de_MonitoringConfig(_, context), `sourceMonitoringConfig`],
|
|
2484
|
-
Sources: [, (_) => de___listOfSource(_, context), `sources`],
|
|
2485
|
-
Status: [, __expectString, `status`],
|
|
2486
|
-
VpcInterfaces: [, (_) => de___listOfVpcInterface(_, context), `vpcInterfaces`],
|
|
2487
|
-
});
|
|
2488
|
-
};
|
|
2489
|
-
const de_Fmtp = (output, context) => {
|
|
2490
|
-
return take(output, {
|
|
2491
|
-
ChannelOrder: [, __expectString, `channelOrder`],
|
|
2492
|
-
Colorimetry: [, __expectString, `colorimetry`],
|
|
2493
|
-
ExactFramerate: [, __expectString, `exactFramerate`],
|
|
2494
|
-
Par: [, __expectString, `par`],
|
|
2495
|
-
Range: [, __expectString, `range`],
|
|
2496
|
-
ScanMode: [, __expectString, `scanMode`],
|
|
2497
|
-
Tcs: [, __expectString, `tcs`],
|
|
2498
|
-
});
|
|
2499
|
-
};
|
|
2500
|
-
const de_FrameResolution = (output, context) => {
|
|
2501
|
-
return take(output, {
|
|
2502
|
-
FrameHeight: [, __expectInt32, `frameHeight`],
|
|
2503
|
-
FrameWidth: [, __expectInt32, `frameWidth`],
|
|
2504
|
-
});
|
|
2505
|
-
};
|
|
2506
|
-
const de_FrozenFrames = (output, context) => {
|
|
2507
|
-
return take(output, {
|
|
2508
|
-
State: [, __expectString, `state`],
|
|
2509
|
-
ThresholdSeconds: [, __expectInt32, `thresholdSeconds`],
|
|
2510
|
-
});
|
|
2511
|
-
};
|
|
2512
|
-
const de_Gateway = (output, context) => {
|
|
2513
|
-
return take(output, {
|
|
2514
|
-
EgressCidrBlocks: [, _json, `egressCidrBlocks`],
|
|
2515
|
-
GatewayArn: [, __expectString, `gatewayArn`],
|
|
2516
|
-
GatewayMessages: [, (_) => de___listOfMessageDetail(_, context), `gatewayMessages`],
|
|
2517
|
-
GatewayState: [, __expectString, `gatewayState`],
|
|
2518
|
-
Name: [, __expectString, `name`],
|
|
2519
|
-
Networks: [, (_) => de___listOfGatewayNetwork(_, context), `networks`],
|
|
2520
|
-
});
|
|
2521
|
-
};
|
|
2522
|
-
const de_GatewayBridgeSource = (output, context) => {
|
|
2523
|
-
return take(output, {
|
|
2524
|
-
BridgeArn: [, __expectString, `bridgeArn`],
|
|
2525
|
-
VpcInterfaceAttachment: [, (_) => de_VpcInterfaceAttachment(_, context), `vpcInterfaceAttachment`],
|
|
2526
|
-
});
|
|
2527
|
-
};
|
|
2528
|
-
const de_GatewayInstance = (output, context) => {
|
|
2529
|
-
return take(output, {
|
|
2530
|
-
BridgePlacement: [, __expectString, `bridgePlacement`],
|
|
2531
|
-
ConnectionStatus: [, __expectString, `connectionStatus`],
|
|
2532
|
-
GatewayArn: [, __expectString, `gatewayArn`],
|
|
2533
|
-
GatewayInstanceArn: [, __expectString, `gatewayInstanceArn`],
|
|
2534
|
-
InstanceId: [, __expectString, `instanceId`],
|
|
2535
|
-
InstanceMessages: [, (_) => de___listOfMessageDetail(_, context), `instanceMessages`],
|
|
2536
|
-
InstanceState: [, __expectString, `instanceState`],
|
|
2537
|
-
RunningBridgeCount: [, __expectInt32, `runningBridgeCount`],
|
|
2538
|
-
});
|
|
2539
|
-
};
|
|
2540
|
-
const de_GatewayNetwork = (output, context) => {
|
|
2541
|
-
return take(output, {
|
|
2542
|
-
CidrBlock: [, __expectString, `cidrBlock`],
|
|
2543
|
-
Name: [, __expectString, `name`],
|
|
2544
|
-
});
|
|
2545
|
-
};
|
|
2546
|
-
const de_IngressGatewayBridge = (output, context) => {
|
|
2547
|
-
return take(output, {
|
|
2548
|
-
InstanceId: [, __expectString, `instanceId`],
|
|
2549
|
-
MaxBitrate: [, __expectInt32, `maxBitrate`],
|
|
2550
|
-
MaxOutputs: [, __expectInt32, `maxOutputs`],
|
|
2551
|
-
});
|
|
2552
|
-
};
|
|
2553
|
-
const de_InputConfiguration = (output, context) => {
|
|
2554
|
-
return take(output, {
|
|
2555
|
-
InputIp: [, __expectString, `inputIp`],
|
|
2556
|
-
InputPort: [, __expectInt32, `inputPort`],
|
|
2557
|
-
Interface: [, (_) => de_Interface(_, context), `interface`],
|
|
2558
|
-
});
|
|
2559
|
-
};
|
|
2560
|
-
const de_Interface = (output, context) => {
|
|
2561
|
-
return take(output, {
|
|
2562
|
-
Name: [, __expectString, `name`],
|
|
2563
|
-
});
|
|
2564
|
-
};
|
|
2565
|
-
const de_ListedBridge = (output, context) => {
|
|
2566
|
-
return take(output, {
|
|
2567
|
-
BridgeArn: [, __expectString, `bridgeArn`],
|
|
2568
|
-
BridgeState: [, __expectString, `bridgeState`],
|
|
2569
|
-
BridgeType: [, __expectString, `bridgeType`],
|
|
2570
|
-
Name: [, __expectString, `name`],
|
|
2571
|
-
PlacementArn: [, __expectString, `placementArn`],
|
|
2572
|
-
});
|
|
2573
|
-
};
|
|
2574
|
-
const de_ListedEntitlement = (output, context) => {
|
|
2575
|
-
return take(output, {
|
|
2576
|
-
DataTransferSubscriberFeePercent: [, __expectInt32, `dataTransferSubscriberFeePercent`],
|
|
2577
|
-
EntitlementArn: [, __expectString, `entitlementArn`],
|
|
2578
|
-
EntitlementName: [, __expectString, `entitlementName`],
|
|
2579
|
-
});
|
|
2580
|
-
};
|
|
2581
|
-
const de_ListedFlow = (output, context) => {
|
|
2582
|
-
return take(output, {
|
|
2583
|
-
AvailabilityZone: [, __expectString, `availabilityZone`],
|
|
2584
|
-
Description: [, __expectString, `description`],
|
|
2585
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
2586
|
-
Maintenance: [, (_) => de_Maintenance(_, context), `maintenance`],
|
|
2587
|
-
Name: [, __expectString, `name`],
|
|
2588
|
-
SourceType: [, __expectString, `sourceType`],
|
|
2589
|
-
Status: [, __expectString, `status`],
|
|
2590
|
-
});
|
|
2591
|
-
};
|
|
2592
|
-
const de_ListedGateway = (output, context) => {
|
|
2593
|
-
return take(output, {
|
|
2594
|
-
GatewayArn: [, __expectString, `gatewayArn`],
|
|
2595
|
-
GatewayState: [, __expectString, `gatewayState`],
|
|
2596
|
-
Name: [, __expectString, `name`],
|
|
2597
|
-
});
|
|
2598
|
-
};
|
|
2599
|
-
const de_ListedGatewayInstance = (output, context) => {
|
|
2600
|
-
return take(output, {
|
|
2601
|
-
GatewayArn: [, __expectString, `gatewayArn`],
|
|
2602
|
-
GatewayInstanceArn: [, __expectString, `gatewayInstanceArn`],
|
|
2603
|
-
InstanceId: [, __expectString, `instanceId`],
|
|
2604
|
-
InstanceState: [, __expectString, `instanceState`],
|
|
2605
|
-
});
|
|
2606
|
-
};
|
|
2607
|
-
const de_Maintenance = (output, context) => {
|
|
2608
|
-
return take(output, {
|
|
2609
|
-
MaintenanceDay: [, __expectString, `maintenanceDay`],
|
|
2610
|
-
MaintenanceDeadline: [, __expectString, `maintenanceDeadline`],
|
|
2611
|
-
MaintenanceScheduledDate: [, __expectString, `maintenanceScheduledDate`],
|
|
2612
|
-
MaintenanceStartHour: [, __expectString, `maintenanceStartHour`],
|
|
2613
|
-
});
|
|
2614
|
-
};
|
|
2615
|
-
const de_MediaStream = (output, context) => {
|
|
2616
|
-
return take(output, {
|
|
2617
|
-
Attributes: [, (_) => de_MediaStreamAttributes(_, context), `attributes`],
|
|
2618
|
-
ClockRate: [, __expectInt32, `clockRate`],
|
|
2619
|
-
Description: [, __expectString, `description`],
|
|
2620
|
-
Fmt: [, __expectInt32, `fmt`],
|
|
2621
|
-
MediaStreamId: [, __expectInt32, `mediaStreamId`],
|
|
2622
|
-
MediaStreamName: [, __expectString, `mediaStreamName`],
|
|
2623
|
-
MediaStreamType: [, __expectString, `mediaStreamType`],
|
|
2624
|
-
VideoFormat: [, __expectString, `videoFormat`],
|
|
2625
|
-
});
|
|
2626
|
-
};
|
|
2627
|
-
const de_MediaStreamAttributes = (output, context) => {
|
|
2628
|
-
return take(output, {
|
|
2629
|
-
Fmtp: [, (_) => de_Fmtp(_, context), `fmtp`],
|
|
2630
|
-
Lang: [, __expectString, `lang`],
|
|
2631
|
-
});
|
|
2632
|
-
};
|
|
2633
|
-
const de_MediaStreamOutputConfiguration = (output, context) => {
|
|
2634
|
-
return take(output, {
|
|
2635
|
-
DestinationConfigurations: [
|
|
2636
|
-
,
|
|
2637
|
-
(_) => de___listOfDestinationConfiguration(_, context),
|
|
2638
|
-
`destinationConfigurations`,
|
|
2639
|
-
],
|
|
2640
|
-
EncodingName: [, __expectString, `encodingName`],
|
|
2641
|
-
EncodingParameters: [, (_) => de_EncodingParameters(_, context), `encodingParameters`],
|
|
2642
|
-
MediaStreamName: [, __expectString, `mediaStreamName`],
|
|
2643
|
-
});
|
|
2644
|
-
};
|
|
2645
|
-
const de_MediaStreamSourceConfiguration = (output, context) => {
|
|
2646
|
-
return take(output, {
|
|
2647
|
-
EncodingName: [, __expectString, `encodingName`],
|
|
2648
|
-
InputConfigurations: [, (_) => de___listOfInputConfiguration(_, context), `inputConfigurations`],
|
|
2649
|
-
MediaStreamName: [, __expectString, `mediaStreamName`],
|
|
2650
|
-
});
|
|
2651
|
-
};
|
|
2652
|
-
const de_MessageDetail = (output, context) => {
|
|
2653
|
-
return take(output, {
|
|
2654
|
-
Code: [, __expectString, `code`],
|
|
2655
|
-
Message: [, __expectString, `message`],
|
|
2656
|
-
ResourceName: [, __expectString, `resourceName`],
|
|
2657
|
-
});
|
|
2658
|
-
};
|
|
2659
|
-
const de_Messages = (output, context) => {
|
|
2660
|
-
return take(output, {
|
|
2661
|
-
Errors: [, _json, `errors`],
|
|
2662
|
-
});
|
|
2663
|
-
};
|
|
2664
|
-
const de_MonitoringConfig = (output, context) => {
|
|
2665
|
-
return take(output, {
|
|
2666
|
-
AudioMonitoringSettings: [, (_) => de___listOfAudioMonitoringSetting(_, context), `audioMonitoringSettings`],
|
|
2667
|
-
ContentQualityAnalysisState: [, __expectString, `contentQualityAnalysisState`],
|
|
2668
|
-
ThumbnailState: [, __expectString, `thumbnailState`],
|
|
2669
|
-
VideoMonitoringSettings: [, (_) => de___listOfVideoMonitoringSetting(_, context), `videoMonitoringSettings`],
|
|
2670
|
-
});
|
|
2671
|
-
};
|
|
2672
|
-
const de_MulticastSourceSettings = (output, context) => {
|
|
2673
|
-
return take(output, {
|
|
2674
|
-
MulticastSourceIp: [, __expectString, `multicastSourceIp`],
|
|
2675
|
-
});
|
|
2676
|
-
};
|
|
2677
|
-
const de_NdiConfig = (output, context) => {
|
|
2678
|
-
return take(output, {
|
|
2679
|
-
MachineName: [, __expectString, `machineName`],
|
|
2680
|
-
NdiDiscoveryServers: [, (_) => de___listOfNdiDiscoveryServerConfig(_, context), `ndiDiscoveryServers`],
|
|
2681
|
-
NdiState: [, __expectString, `ndiState`],
|
|
2682
|
-
});
|
|
2683
|
-
};
|
|
2684
|
-
const de_NdiDiscoveryServerConfig = (output, context) => {
|
|
2685
|
-
return take(output, {
|
|
2686
|
-
DiscoveryServerAddress: [, __expectString, `discoveryServerAddress`],
|
|
2687
|
-
DiscoveryServerPort: [, __expectInt32, `discoveryServerPort`],
|
|
2688
|
-
VpcInterfaceAdapter: [, __expectString, `vpcInterfaceAdapter`],
|
|
2689
|
-
});
|
|
2690
|
-
};
|
|
2691
|
-
const de_Offering = (output, context) => {
|
|
2692
|
-
return take(output, {
|
|
2693
|
-
CurrencyCode: [, __expectString, `currencyCode`],
|
|
2694
|
-
Duration: [, __expectInt32, `duration`],
|
|
2695
|
-
DurationUnits: [, __expectString, `durationUnits`],
|
|
2696
|
-
OfferingArn: [, __expectString, `offeringArn`],
|
|
2697
|
-
OfferingDescription: [, __expectString, `offeringDescription`],
|
|
2698
|
-
PricePerUnit: [, __expectString, `pricePerUnit`],
|
|
2699
|
-
PriceUnits: [, __expectString, `priceUnits`],
|
|
2700
|
-
ResourceSpecification: [, (_) => de_ResourceSpecification(_, context), `resourceSpecification`],
|
|
2701
|
-
});
|
|
2702
|
-
};
|
|
2703
|
-
const de_Output = (output, context) => {
|
|
2704
|
-
return take(output, {
|
|
2705
|
-
BridgeArn: [, __expectString, `bridgeArn`],
|
|
2706
|
-
BridgePorts: [, _json, `bridgePorts`],
|
|
2707
|
-
DataTransferSubscriberFeePercent: [, __expectInt32, `dataTransferSubscriberFeePercent`],
|
|
2708
|
-
Description: [, __expectString, `description`],
|
|
2709
|
-
Destination: [, __expectString, `destination`],
|
|
2710
|
-
Encryption: [, (_) => de_Encryption(_, context), `encryption`],
|
|
2711
|
-
EntitlementArn: [, __expectString, `entitlementArn`],
|
|
2712
|
-
ListenerAddress: [, __expectString, `listenerAddress`],
|
|
2713
|
-
MediaLiveInputArn: [, __expectString, `mediaLiveInputArn`],
|
|
2714
|
-
MediaStreamOutputConfigurations: [
|
|
2715
|
-
,
|
|
2716
|
-
(_) => de___listOfMediaStreamOutputConfiguration(_, context),
|
|
2717
|
-
`mediaStreamOutputConfigurations`,
|
|
2718
|
-
],
|
|
2719
|
-
Name: [, __expectString, `name`],
|
|
2720
|
-
OutputArn: [, __expectString, `outputArn`],
|
|
2721
|
-
OutputStatus: [, __expectString, `outputStatus`],
|
|
2722
|
-
PeerIpAddress: [, __expectString, `peerIpAddress`],
|
|
2723
|
-
Port: [, __expectInt32, `port`],
|
|
2724
|
-
Transport: [, (_) => de_Transport(_, context), `transport`],
|
|
2725
|
-
VpcInterfaceAttachment: [, (_) => de_VpcInterfaceAttachment(_, context), `vpcInterfaceAttachment`],
|
|
2726
|
-
});
|
|
2727
|
-
};
|
|
2728
|
-
const de_Reservation = (output, context) => {
|
|
2729
|
-
return take(output, {
|
|
2730
|
-
CurrencyCode: [, __expectString, `currencyCode`],
|
|
2731
|
-
Duration: [, __expectInt32, `duration`],
|
|
2732
|
-
DurationUnits: [, __expectString, `durationUnits`],
|
|
2733
|
-
End: [, __expectString, `end`],
|
|
2734
|
-
OfferingArn: [, __expectString, `offeringArn`],
|
|
2735
|
-
OfferingDescription: [, __expectString, `offeringDescription`],
|
|
2736
|
-
PricePerUnit: [, __expectString, `pricePerUnit`],
|
|
2737
|
-
PriceUnits: [, __expectString, `priceUnits`],
|
|
2738
|
-
ReservationArn: [, __expectString, `reservationArn`],
|
|
2739
|
-
ReservationName: [, __expectString, `reservationName`],
|
|
2740
|
-
ReservationState: [, __expectString, `reservationState`],
|
|
2741
|
-
ResourceSpecification: [, (_) => de_ResourceSpecification(_, context), `resourceSpecification`],
|
|
2742
|
-
Start: [, __expectString, `start`],
|
|
2743
|
-
});
|
|
2744
|
-
};
|
|
2745
|
-
const de_ResourceSpecification = (output, context) => {
|
|
2746
|
-
return take(output, {
|
|
2747
|
-
ReservedBitrate: [, __expectInt32, `reservedBitrate`],
|
|
2748
|
-
ResourceType: [, __expectString, `resourceType`],
|
|
2749
|
-
});
|
|
2750
|
-
};
|
|
2751
|
-
const de_SilentAudio = (output, context) => {
|
|
2752
|
-
return take(output, {
|
|
2753
|
-
State: [, __expectString, `state`],
|
|
2754
|
-
ThresholdSeconds: [, __expectInt32, `thresholdSeconds`],
|
|
2755
|
-
});
|
|
2756
|
-
};
|
|
2757
|
-
const de_Source = (output, context) => {
|
|
2758
|
-
return take(output, {
|
|
2759
|
-
DataTransferSubscriberFeePercent: [, __expectInt32, `dataTransferSubscriberFeePercent`],
|
|
2760
|
-
Decryption: [, (_) => de_Encryption(_, context), `decryption`],
|
|
2761
|
-
Description: [, __expectString, `description`],
|
|
2762
|
-
EntitlementArn: [, __expectString, `entitlementArn`],
|
|
2763
|
-
GatewayBridgeSource: [, (_) => de_GatewayBridgeSource(_, context), `gatewayBridgeSource`],
|
|
2764
|
-
IngestIp: [, __expectString, `ingestIp`],
|
|
2765
|
-
IngestPort: [, __expectInt32, `ingestPort`],
|
|
2766
|
-
MediaStreamSourceConfigurations: [
|
|
2767
|
-
,
|
|
2768
|
-
(_) => de___listOfMediaStreamSourceConfiguration(_, context),
|
|
2769
|
-
`mediaStreamSourceConfigurations`,
|
|
2770
|
-
],
|
|
2771
|
-
Name: [, __expectString, `name`],
|
|
2772
|
-
PeerIpAddress: [, __expectString, `peerIpAddress`],
|
|
2773
|
-
SenderControlPort: [, __expectInt32, `senderControlPort`],
|
|
2774
|
-
SenderIpAddress: [, __expectString, `senderIpAddress`],
|
|
2775
|
-
SourceArn: [, __expectString, `sourceArn`],
|
|
2776
|
-
Transport: [, (_) => de_Transport(_, context), `transport`],
|
|
2777
|
-
VpcInterfaceName: [, __expectString, `vpcInterfaceName`],
|
|
2778
|
-
WhitelistCidr: [, __expectString, `whitelistCidr`],
|
|
2779
|
-
});
|
|
2780
|
-
};
|
|
2781
|
-
const de_SourcePriority = (output, context) => {
|
|
2782
|
-
return take(output, {
|
|
2783
|
-
PrimarySource: [, __expectString, `primarySource`],
|
|
2784
|
-
});
|
|
2785
|
-
};
|
|
2786
|
-
const de_ThumbnailDetails = (output, context) => {
|
|
2787
|
-
return take(output, {
|
|
2788
|
-
FlowArn: [, __expectString, `flowArn`],
|
|
2789
|
-
Thumbnail: [, __expectString, `thumbnail`],
|
|
2790
|
-
ThumbnailMessages: [, (_) => de___listOfMessageDetail(_, context), `thumbnailMessages`],
|
|
2791
|
-
Timecode: [, __expectString, `timecode`],
|
|
2792
|
-
Timestamp: [, (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)), `timestamp`],
|
|
2793
|
-
});
|
|
2794
|
-
};
|
|
2795
|
-
const de_Transport = (output, context) => {
|
|
2796
|
-
return take(output, {
|
|
2797
|
-
CidrAllowList: [, _json, `cidrAllowList`],
|
|
2798
|
-
MaxBitrate: [, __expectInt32, `maxBitrate`],
|
|
2799
|
-
MaxLatency: [, __expectInt32, `maxLatency`],
|
|
2800
|
-
MaxSyncBuffer: [, __expectInt32, `maxSyncBuffer`],
|
|
2801
|
-
MinLatency: [, __expectInt32, `minLatency`],
|
|
2802
|
-
NdiProgramName: [, __expectString, `ndiProgramName`],
|
|
2803
|
-
NdiSpeedHqQuality: [, __expectInt32, `ndiSpeedHqQuality`],
|
|
2804
|
-
Protocol: [, __expectString, `protocol`],
|
|
2805
|
-
RemoteId: [, __expectString, `remoteId`],
|
|
2806
|
-
SenderControlPort: [, __expectInt32, `senderControlPort`],
|
|
2807
|
-
SenderIpAddress: [, __expectString, `senderIpAddress`],
|
|
2808
|
-
SmoothingLatency: [, __expectInt32, `smoothingLatency`],
|
|
2809
|
-
SourceListenerAddress: [, __expectString, `sourceListenerAddress`],
|
|
2810
|
-
SourceListenerPort: [, __expectInt32, `sourceListenerPort`],
|
|
2811
|
-
StreamId: [, __expectString, `streamId`],
|
|
2812
|
-
});
|
|
2813
|
-
};
|
|
2814
|
-
const de_TransportMediaInfo = (output, context) => {
|
|
2815
|
-
return take(output, {
|
|
2816
|
-
Programs: [, (_) => de___listOfTransportStreamProgram(_, context), `programs`],
|
|
2817
|
-
});
|
|
2818
|
-
};
|
|
2819
|
-
const de_TransportStream = (output, context) => {
|
|
2820
|
-
return take(output, {
|
|
2821
|
-
Channels: [, __expectInt32, `channels`],
|
|
2822
|
-
Codec: [, __expectString, `codec`],
|
|
2823
|
-
FrameRate: [, __expectString, `frameRate`],
|
|
2824
|
-
FrameResolution: [, (_) => de_FrameResolution(_, context), `frameResolution`],
|
|
2825
|
-
Pid: [, __expectInt32, `pid`],
|
|
2826
|
-
SampleRate: [, __expectInt32, `sampleRate`],
|
|
2827
|
-
SampleSize: [, __expectInt32, `sampleSize`],
|
|
2828
|
-
StreamType: [, __expectString, `streamType`],
|
|
2829
|
-
});
|
|
2830
|
-
};
|
|
2831
|
-
const de_TransportStreamProgram = (output, context) => {
|
|
2832
|
-
return take(output, {
|
|
2833
|
-
PcrPid: [, __expectInt32, `pcrPid`],
|
|
2834
|
-
ProgramName: [, __expectString, `programName`],
|
|
2835
|
-
ProgramNumber: [, __expectInt32, `programNumber`],
|
|
2836
|
-
ProgramPid: [, __expectInt32, `programPid`],
|
|
2837
|
-
Streams: [, (_) => de___listOfTransportStream(_, context), `streams`],
|
|
2838
|
-
});
|
|
2839
|
-
};
|
|
2840
|
-
const de_VideoMonitoringSetting = (output, context) => {
|
|
2841
|
-
return take(output, {
|
|
2842
|
-
BlackFrames: [, (_) => de_BlackFrames(_, context), `blackFrames`],
|
|
2843
|
-
FrozenFrames: [, (_) => de_FrozenFrames(_, context), `frozenFrames`],
|
|
2844
|
-
});
|
|
2845
|
-
};
|
|
2846
|
-
const de_VpcInterface = (output, context) => {
|
|
2847
|
-
return take(output, {
|
|
2848
|
-
Name: [, __expectString, `name`],
|
|
2849
|
-
NetworkInterfaceIds: [, _json, `networkInterfaceIds`],
|
|
2850
|
-
NetworkInterfaceType: [, __expectString, `networkInterfaceType`],
|
|
2851
|
-
RoleArn: [, __expectString, `roleArn`],
|
|
2852
|
-
SecurityGroupIds: [, _json, `securityGroupIds`],
|
|
2853
|
-
SubnetId: [, __expectString, `subnetId`],
|
|
2854
|
-
});
|
|
2855
|
-
};
|
|
2856
|
-
const de_VpcInterfaceAttachment = (output, context) => {
|
|
2857
|
-
return take(output, {
|
|
2858
|
-
VpcInterfaceName: [, __expectString, `vpcInterfaceName`],
|
|
2859
|
-
});
|
|
2860
|
-
};
|
|
2861
|
-
const deserializeMetadata = (output) => ({
|
|
2862
|
-
httpStatusCode: output.statusCode,
|
|
2863
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2864
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2865
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2866
|
-
});
|
|
2867
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2868
|
-
const _F = "Force";
|
|
2869
|
-
const _FA = "FilterArn";
|
|
2870
|
-
const _MR = "MaxResults";
|
|
2871
|
-
const _NT = "NextToken";
|
|
2872
|
-
const _TK = "TagKeys";
|
|
2873
|
-
const _f = "force";
|
|
2874
|
-
const _fA = "filterArn";
|
|
2875
|
-
const _mR = "maxResults";
|
|
2876
|
-
const _nT = "nextToken";
|
|
2877
|
-
const _tK = "tagKeys";
|