@aws-sdk/client-gameliftstreams 3.893.0 → 3.894.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 +2158 -11
- package/package.json +6 -6
- package/dist-cjs/GameLiftStreams.js +0 -59
- package/dist-cjs/GameLiftStreamsClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/AddStreamGroupLocationsCommand.js +0 -26
- package/dist-cjs/commands/AssociateApplicationsCommand.js +0 -26
- package/dist-cjs/commands/CreateApplicationCommand.js +0 -26
- package/dist-cjs/commands/CreateStreamGroupCommand.js +0 -26
- package/dist-cjs/commands/CreateStreamSessionConnectionCommand.js +0 -27
- package/dist-cjs/commands/DeleteApplicationCommand.js +0 -26
- package/dist-cjs/commands/DeleteStreamGroupCommand.js +0 -26
- package/dist-cjs/commands/DisassociateApplicationsCommand.js +0 -26
- package/dist-cjs/commands/ExportStreamSessionFilesCommand.js +0 -26
- package/dist-cjs/commands/GetApplicationCommand.js +0 -26
- package/dist-cjs/commands/GetStreamGroupCommand.js +0 -26
- package/dist-cjs/commands/GetStreamSessionCommand.js +0 -27
- package/dist-cjs/commands/ListApplicationsCommand.js +0 -26
- package/dist-cjs/commands/ListStreamGroupsCommand.js +0 -26
- package/dist-cjs/commands/ListStreamSessionsByAccountCommand.js +0 -26
- package/dist-cjs/commands/ListStreamSessionsCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/RemoveStreamGroupLocationsCommand.js +0 -26
- package/dist-cjs/commands/StartStreamSessionCommand.js +0 -27
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/TerminateStreamSessionCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateApplicationCommand.js +0 -26
- package/dist-cjs/commands/UpdateStreamGroupCommand.js +0 -26
- package/dist-cjs/commands/index.js +0 -27
- package/dist-cjs/endpoint/EndpointParameters.js +0 -15
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/GameLiftStreamsServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -211
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListApplicationsPaginator.js +0 -7
- package/dist-cjs/pagination/ListStreamGroupsPaginator.js +0 -7
- package/dist-cjs/pagination/ListStreamSessionsByAccountPaginator.js +0 -7
- package/dist-cjs/pagination/ListStreamSessionsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -8
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1006
- package/dist-cjs/runtimeExtensions.js +0 -13
- package/dist-cjs/waiters/index.js +0 -8
- package/dist-cjs/waiters/waitForApplicationDeleted.js +0 -30
- package/dist-cjs/waiters/waitForApplicationReady.js +0 -45
- package/dist-cjs/waiters/waitForStreamGroupActive.js +0 -63
- package/dist-cjs/waiters/waitForStreamGroupDeleted.js +0 -30
- package/dist-cjs/waiters/waitForStreamSessionActive.js +0 -45
|
@@ -1,1006 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.de_UpdateStreamGroupCommand = exports.de_UpdateApplicationCommand = exports.de_UntagResourceCommand = exports.de_TerminateStreamSessionCommand = exports.de_TagResourceCommand = exports.de_StartStreamSessionCommand = exports.de_RemoveStreamGroupLocationsCommand = exports.de_ListTagsForResourceCommand = exports.de_ListStreamSessionsByAccountCommand = exports.de_ListStreamSessionsCommand = exports.de_ListStreamGroupsCommand = exports.de_ListApplicationsCommand = exports.de_GetStreamSessionCommand = exports.de_GetStreamGroupCommand = exports.de_GetApplicationCommand = exports.de_ExportStreamSessionFilesCommand = exports.de_DisassociateApplicationsCommand = exports.de_DeleteStreamGroupCommand = exports.de_DeleteApplicationCommand = exports.de_CreateStreamSessionConnectionCommand = exports.de_CreateStreamGroupCommand = exports.de_CreateApplicationCommand = exports.de_AssociateApplicationsCommand = exports.de_AddStreamGroupLocationsCommand = exports.se_UpdateStreamGroupCommand = exports.se_UpdateApplicationCommand = exports.se_UntagResourceCommand = exports.se_TerminateStreamSessionCommand = exports.se_TagResourceCommand = exports.se_StartStreamSessionCommand = exports.se_RemoveStreamGroupLocationsCommand = exports.se_ListTagsForResourceCommand = exports.se_ListStreamSessionsByAccountCommand = exports.se_ListStreamSessionsCommand = exports.se_ListStreamGroupsCommand = exports.se_ListApplicationsCommand = exports.se_GetStreamSessionCommand = exports.se_GetStreamGroupCommand = exports.se_GetApplicationCommand = exports.se_ExportStreamSessionFilesCommand = exports.se_DisassociateApplicationsCommand = exports.se_DeleteStreamGroupCommand = exports.se_DeleteApplicationCommand = exports.se_CreateStreamSessionConnectionCommand = exports.se_CreateStreamGroupCommand = exports.se_CreateApplicationCommand = exports.se_AssociateApplicationsCommand = exports.se_AddStreamGroupLocationsCommand = void 0;
|
|
4
|
-
const core_1 = require("@aws-sdk/core");
|
|
5
|
-
const core_2 = require("@smithy/core");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const uuid_1 = require("uuid");
|
|
8
|
-
const GameLiftStreamsServiceException_1 = require("../models/GameLiftStreamsServiceException");
|
|
9
|
-
const models_0_1 = require("../models/models_0");
|
|
10
|
-
const se_AddStreamGroupLocationsCommand = async (input, context) => {
|
|
11
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
12
|
-
const headers = {
|
|
13
|
-
"content-type": "application/json",
|
|
14
|
-
};
|
|
15
|
-
b.bp("/streamgroups/{Identifier}/locations");
|
|
16
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
17
|
-
let body;
|
|
18
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
19
|
-
LocationConfigurations: (_) => (0, smithy_client_1._json)(_),
|
|
20
|
-
}));
|
|
21
|
-
b.m("POST").h(headers).b(body);
|
|
22
|
-
return b.build();
|
|
23
|
-
};
|
|
24
|
-
exports.se_AddStreamGroupLocationsCommand = se_AddStreamGroupLocationsCommand;
|
|
25
|
-
const se_AssociateApplicationsCommand = async (input, context) => {
|
|
26
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
27
|
-
const headers = {
|
|
28
|
-
"content-type": "application/json",
|
|
29
|
-
};
|
|
30
|
-
b.bp("/streamgroups/{Identifier}/associations");
|
|
31
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
32
|
-
let body;
|
|
33
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
34
|
-
ApplicationIdentifiers: (_) => (0, smithy_client_1._json)(_),
|
|
35
|
-
}));
|
|
36
|
-
b.m("POST").h(headers).b(body);
|
|
37
|
-
return b.build();
|
|
38
|
-
};
|
|
39
|
-
exports.se_AssociateApplicationsCommand = se_AssociateApplicationsCommand;
|
|
40
|
-
const se_CreateApplicationCommand = async (input, context) => {
|
|
41
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
42
|
-
const headers = {
|
|
43
|
-
"content-type": "application/json",
|
|
44
|
-
};
|
|
45
|
-
b.bp("/applications");
|
|
46
|
-
let body;
|
|
47
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
48
|
-
ApplicationLogOutputUri: [],
|
|
49
|
-
ApplicationLogPaths: (_) => (0, smithy_client_1._json)(_),
|
|
50
|
-
ApplicationSourceUri: [],
|
|
51
|
-
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
52
|
-
Description: [],
|
|
53
|
-
ExecutablePath: [],
|
|
54
|
-
RuntimeEnvironment: (_) => (0, smithy_client_1._json)(_),
|
|
55
|
-
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
56
|
-
}));
|
|
57
|
-
b.m("POST").h(headers).b(body);
|
|
58
|
-
return b.build();
|
|
59
|
-
};
|
|
60
|
-
exports.se_CreateApplicationCommand = se_CreateApplicationCommand;
|
|
61
|
-
const se_CreateStreamGroupCommand = async (input, context) => {
|
|
62
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
63
|
-
const headers = {
|
|
64
|
-
"content-type": "application/json",
|
|
65
|
-
};
|
|
66
|
-
b.bp("/streamgroups");
|
|
67
|
-
let body;
|
|
68
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
69
|
-
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
70
|
-
DefaultApplicationIdentifier: [],
|
|
71
|
-
Description: [],
|
|
72
|
-
LocationConfigurations: (_) => (0, smithy_client_1._json)(_),
|
|
73
|
-
StreamClass: [],
|
|
74
|
-
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
75
|
-
}));
|
|
76
|
-
b.m("POST").h(headers).b(body);
|
|
77
|
-
return b.build();
|
|
78
|
-
};
|
|
79
|
-
exports.se_CreateStreamGroupCommand = se_CreateStreamGroupCommand;
|
|
80
|
-
const se_CreateStreamSessionConnectionCommand = async (input, context) => {
|
|
81
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
82
|
-
const headers = {
|
|
83
|
-
"content-type": "application/json",
|
|
84
|
-
};
|
|
85
|
-
b.bp("/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/connections");
|
|
86
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
87
|
-
b.p("StreamSessionIdentifier", () => input.StreamSessionIdentifier, "{StreamSessionIdentifier}", false);
|
|
88
|
-
let body;
|
|
89
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
90
|
-
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
91
|
-
SignalRequest: [],
|
|
92
|
-
}));
|
|
93
|
-
b.m("POST").h(headers).b(body);
|
|
94
|
-
return b.build();
|
|
95
|
-
};
|
|
96
|
-
exports.se_CreateStreamSessionConnectionCommand = se_CreateStreamSessionConnectionCommand;
|
|
97
|
-
const se_DeleteApplicationCommand = async (input, context) => {
|
|
98
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
99
|
-
const headers = {};
|
|
100
|
-
b.bp("/applications/{Identifier}");
|
|
101
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
102
|
-
let body;
|
|
103
|
-
b.m("DELETE").h(headers).b(body);
|
|
104
|
-
return b.build();
|
|
105
|
-
};
|
|
106
|
-
exports.se_DeleteApplicationCommand = se_DeleteApplicationCommand;
|
|
107
|
-
const se_DeleteStreamGroupCommand = async (input, context) => {
|
|
108
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
109
|
-
const headers = {};
|
|
110
|
-
b.bp("/streamgroups/{Identifier}");
|
|
111
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
112
|
-
let body;
|
|
113
|
-
b.m("DELETE").h(headers).b(body);
|
|
114
|
-
return b.build();
|
|
115
|
-
};
|
|
116
|
-
exports.se_DeleteStreamGroupCommand = se_DeleteStreamGroupCommand;
|
|
117
|
-
const se_DisassociateApplicationsCommand = async (input, context) => {
|
|
118
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
119
|
-
const headers = {
|
|
120
|
-
"content-type": "application/json",
|
|
121
|
-
};
|
|
122
|
-
b.bp("/streamgroups/{Identifier}/disassociations");
|
|
123
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
124
|
-
let body;
|
|
125
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
126
|
-
ApplicationIdentifiers: (_) => (0, smithy_client_1._json)(_),
|
|
127
|
-
}));
|
|
128
|
-
b.m("POST").h(headers).b(body);
|
|
129
|
-
return b.build();
|
|
130
|
-
};
|
|
131
|
-
exports.se_DisassociateApplicationsCommand = se_DisassociateApplicationsCommand;
|
|
132
|
-
const se_ExportStreamSessionFilesCommand = async (input, context) => {
|
|
133
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
134
|
-
const headers = {
|
|
135
|
-
"content-type": "application/json",
|
|
136
|
-
};
|
|
137
|
-
b.bp("/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/exportfiles");
|
|
138
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
139
|
-
b.p("StreamSessionIdentifier", () => input.StreamSessionIdentifier, "{StreamSessionIdentifier}", false);
|
|
140
|
-
let body;
|
|
141
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
142
|
-
OutputUri: [],
|
|
143
|
-
}));
|
|
144
|
-
b.m("PUT").h(headers).b(body);
|
|
145
|
-
return b.build();
|
|
146
|
-
};
|
|
147
|
-
exports.se_ExportStreamSessionFilesCommand = se_ExportStreamSessionFilesCommand;
|
|
148
|
-
const se_GetApplicationCommand = async (input, context) => {
|
|
149
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
150
|
-
const headers = {};
|
|
151
|
-
b.bp("/applications/{Identifier}");
|
|
152
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
153
|
-
let body;
|
|
154
|
-
b.m("GET").h(headers).b(body);
|
|
155
|
-
return b.build();
|
|
156
|
-
};
|
|
157
|
-
exports.se_GetApplicationCommand = se_GetApplicationCommand;
|
|
158
|
-
const se_GetStreamGroupCommand = async (input, context) => {
|
|
159
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
160
|
-
const headers = {};
|
|
161
|
-
b.bp("/streamgroups/{Identifier}");
|
|
162
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
163
|
-
let body;
|
|
164
|
-
b.m("GET").h(headers).b(body);
|
|
165
|
-
return b.build();
|
|
166
|
-
};
|
|
167
|
-
exports.se_GetStreamGroupCommand = se_GetStreamGroupCommand;
|
|
168
|
-
const se_GetStreamSessionCommand = async (input, context) => {
|
|
169
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
170
|
-
const headers = {};
|
|
171
|
-
b.bp("/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}");
|
|
172
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
173
|
-
b.p("StreamSessionIdentifier", () => input.StreamSessionIdentifier, "{StreamSessionIdentifier}", false);
|
|
174
|
-
let body;
|
|
175
|
-
b.m("GET").h(headers).b(body);
|
|
176
|
-
return b.build();
|
|
177
|
-
};
|
|
178
|
-
exports.se_GetStreamSessionCommand = se_GetStreamSessionCommand;
|
|
179
|
-
const se_ListApplicationsCommand = async (input, context) => {
|
|
180
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
181
|
-
const headers = {};
|
|
182
|
-
b.bp("/applications");
|
|
183
|
-
const query = (0, smithy_client_1.map)({
|
|
184
|
-
[_NT]: [, input[_NT]],
|
|
185
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
186
|
-
});
|
|
187
|
-
let body;
|
|
188
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
189
|
-
return b.build();
|
|
190
|
-
};
|
|
191
|
-
exports.se_ListApplicationsCommand = se_ListApplicationsCommand;
|
|
192
|
-
const se_ListStreamGroupsCommand = async (input, context) => {
|
|
193
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
194
|
-
const headers = {};
|
|
195
|
-
b.bp("/streamgroups");
|
|
196
|
-
const query = (0, smithy_client_1.map)({
|
|
197
|
-
[_NT]: [, input[_NT]],
|
|
198
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
199
|
-
});
|
|
200
|
-
let body;
|
|
201
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
202
|
-
return b.build();
|
|
203
|
-
};
|
|
204
|
-
exports.se_ListStreamGroupsCommand = se_ListStreamGroupsCommand;
|
|
205
|
-
const se_ListStreamSessionsCommand = async (input, context) => {
|
|
206
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
207
|
-
const headers = {};
|
|
208
|
-
b.bp("/streamgroups/{Identifier}/streamsessions");
|
|
209
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
210
|
-
const query = (0, smithy_client_1.map)({
|
|
211
|
-
[_S]: [, input[_S]],
|
|
212
|
-
[_EFS]: [, input[_EFS]],
|
|
213
|
-
[_NT]: [, input[_NT]],
|
|
214
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
215
|
-
});
|
|
216
|
-
let body;
|
|
217
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
218
|
-
return b.build();
|
|
219
|
-
};
|
|
220
|
-
exports.se_ListStreamSessionsCommand = se_ListStreamSessionsCommand;
|
|
221
|
-
const se_ListStreamSessionsByAccountCommand = async (input, context) => {
|
|
222
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
223
|
-
const headers = {};
|
|
224
|
-
b.bp("/streamsessions");
|
|
225
|
-
const query = (0, smithy_client_1.map)({
|
|
226
|
-
[_S]: [, input[_S]],
|
|
227
|
-
[_EFS]: [, input[_EFS]],
|
|
228
|
-
[_NT]: [, input[_NT]],
|
|
229
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
230
|
-
});
|
|
231
|
-
let body;
|
|
232
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
233
|
-
return b.build();
|
|
234
|
-
};
|
|
235
|
-
exports.se_ListStreamSessionsByAccountCommand = se_ListStreamSessionsByAccountCommand;
|
|
236
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
237
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
238
|
-
const headers = {};
|
|
239
|
-
b.bp("/tags/{ResourceArn}");
|
|
240
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
241
|
-
let body;
|
|
242
|
-
b.m("GET").h(headers).b(body);
|
|
243
|
-
return b.build();
|
|
244
|
-
};
|
|
245
|
-
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
246
|
-
const se_RemoveStreamGroupLocationsCommand = async (input, context) => {
|
|
247
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
248
|
-
const headers = {};
|
|
249
|
-
b.bp("/streamgroups/{Identifier}/locations");
|
|
250
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
251
|
-
const query = (0, smithy_client_1.map)({
|
|
252
|
-
[_l]: [(0, smithy_client_1.expectNonNull)(input.Locations, `Locations`) != null, () => input[_L] || []],
|
|
253
|
-
});
|
|
254
|
-
let body;
|
|
255
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
256
|
-
return b.build();
|
|
257
|
-
};
|
|
258
|
-
exports.se_RemoveStreamGroupLocationsCommand = se_RemoveStreamGroupLocationsCommand;
|
|
259
|
-
const se_StartStreamSessionCommand = async (input, context) => {
|
|
260
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
261
|
-
const headers = {
|
|
262
|
-
"content-type": "application/json",
|
|
263
|
-
};
|
|
264
|
-
b.bp("/streamgroups/{Identifier}/streamsessions");
|
|
265
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
266
|
-
let body;
|
|
267
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
268
|
-
AdditionalEnvironmentVariables: (_) => (0, smithy_client_1._json)(_),
|
|
269
|
-
AdditionalLaunchArgs: (_) => (0, smithy_client_1._json)(_),
|
|
270
|
-
ApplicationIdentifier: [],
|
|
271
|
-
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
272
|
-
ConnectionTimeoutSeconds: [],
|
|
273
|
-
Description: [],
|
|
274
|
-
Locations: (_) => (0, smithy_client_1._json)(_),
|
|
275
|
-
Protocol: [],
|
|
276
|
-
SessionLengthSeconds: [],
|
|
277
|
-
SignalRequest: [],
|
|
278
|
-
UserId: [],
|
|
279
|
-
}));
|
|
280
|
-
b.m("POST").h(headers).b(body);
|
|
281
|
-
return b.build();
|
|
282
|
-
};
|
|
283
|
-
exports.se_StartStreamSessionCommand = se_StartStreamSessionCommand;
|
|
284
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
285
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
286
|
-
const headers = {
|
|
287
|
-
"content-type": "application/json",
|
|
288
|
-
};
|
|
289
|
-
b.bp("/tags/{ResourceArn}");
|
|
290
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
291
|
-
let body;
|
|
292
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
293
|
-
Tags: (_) => (0, smithy_client_1._json)(_),
|
|
294
|
-
}));
|
|
295
|
-
b.m("POST").h(headers).b(body);
|
|
296
|
-
return b.build();
|
|
297
|
-
};
|
|
298
|
-
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
299
|
-
const se_TerminateStreamSessionCommand = async (input, context) => {
|
|
300
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
301
|
-
const headers = {};
|
|
302
|
-
b.bp("/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}");
|
|
303
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
304
|
-
b.p("StreamSessionIdentifier", () => input.StreamSessionIdentifier, "{StreamSessionIdentifier}", false);
|
|
305
|
-
let body;
|
|
306
|
-
b.m("DELETE").h(headers).b(body);
|
|
307
|
-
return b.build();
|
|
308
|
-
};
|
|
309
|
-
exports.se_TerminateStreamSessionCommand = se_TerminateStreamSessionCommand;
|
|
310
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
311
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
312
|
-
const headers = {};
|
|
313
|
-
b.bp("/tags/{ResourceArn}");
|
|
314
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
315
|
-
const query = (0, smithy_client_1.map)({
|
|
316
|
-
[_tK]: [(0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
317
|
-
});
|
|
318
|
-
let body;
|
|
319
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
320
|
-
return b.build();
|
|
321
|
-
};
|
|
322
|
-
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
323
|
-
const se_UpdateApplicationCommand = async (input, context) => {
|
|
324
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
325
|
-
const headers = {
|
|
326
|
-
"content-type": "application/json",
|
|
327
|
-
};
|
|
328
|
-
b.bp("/applications/{Identifier}");
|
|
329
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
330
|
-
let body;
|
|
331
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
332
|
-
ApplicationLogOutputUri: [],
|
|
333
|
-
ApplicationLogPaths: (_) => (0, smithy_client_1._json)(_),
|
|
334
|
-
Description: [],
|
|
335
|
-
}));
|
|
336
|
-
b.m("PATCH").h(headers).b(body);
|
|
337
|
-
return b.build();
|
|
338
|
-
};
|
|
339
|
-
exports.se_UpdateApplicationCommand = se_UpdateApplicationCommand;
|
|
340
|
-
const se_UpdateStreamGroupCommand = async (input, context) => {
|
|
341
|
-
const b = (0, core_2.requestBuilder)(input, context);
|
|
342
|
-
const headers = {
|
|
343
|
-
"content-type": "application/json",
|
|
344
|
-
};
|
|
345
|
-
b.bp("/streamgroups/{Identifier}");
|
|
346
|
-
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
347
|
-
let body;
|
|
348
|
-
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
349
|
-
DefaultApplicationIdentifier: [],
|
|
350
|
-
Description: [],
|
|
351
|
-
LocationConfigurations: (_) => (0, smithy_client_1._json)(_),
|
|
352
|
-
}));
|
|
353
|
-
b.m("PATCH").h(headers).b(body);
|
|
354
|
-
return b.build();
|
|
355
|
-
};
|
|
356
|
-
exports.se_UpdateStreamGroupCommand = se_UpdateStreamGroupCommand;
|
|
357
|
-
const de_AddStreamGroupLocationsCommand = async (output, context) => {
|
|
358
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
359
|
-
return de_CommandError(output, context);
|
|
360
|
-
}
|
|
361
|
-
const contents = (0, smithy_client_1.map)({
|
|
362
|
-
$metadata: deserializeMetadata(output),
|
|
363
|
-
});
|
|
364
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
365
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
366
|
-
Identifier: smithy_client_1.expectString,
|
|
367
|
-
Locations: smithy_client_1._json,
|
|
368
|
-
});
|
|
369
|
-
Object.assign(contents, doc);
|
|
370
|
-
return contents;
|
|
371
|
-
};
|
|
372
|
-
exports.de_AddStreamGroupLocationsCommand = de_AddStreamGroupLocationsCommand;
|
|
373
|
-
const de_AssociateApplicationsCommand = async (output, context) => {
|
|
374
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
375
|
-
return de_CommandError(output, context);
|
|
376
|
-
}
|
|
377
|
-
const contents = (0, smithy_client_1.map)({
|
|
378
|
-
$metadata: deserializeMetadata(output),
|
|
379
|
-
});
|
|
380
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
381
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
382
|
-
ApplicationArns: smithy_client_1._json,
|
|
383
|
-
Arn: smithy_client_1.expectString,
|
|
384
|
-
});
|
|
385
|
-
Object.assign(contents, doc);
|
|
386
|
-
return contents;
|
|
387
|
-
};
|
|
388
|
-
exports.de_AssociateApplicationsCommand = de_AssociateApplicationsCommand;
|
|
389
|
-
const de_CreateApplicationCommand = async (output, context) => {
|
|
390
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
391
|
-
return de_CommandError(output, context);
|
|
392
|
-
}
|
|
393
|
-
const contents = (0, smithy_client_1.map)({
|
|
394
|
-
$metadata: deserializeMetadata(output),
|
|
395
|
-
});
|
|
396
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
397
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
398
|
-
ApplicationLogOutputUri: smithy_client_1.expectString,
|
|
399
|
-
ApplicationLogPaths: smithy_client_1._json,
|
|
400
|
-
ApplicationSourceUri: smithy_client_1.expectString,
|
|
401
|
-
Arn: smithy_client_1.expectString,
|
|
402
|
-
AssociatedStreamGroups: smithy_client_1._json,
|
|
403
|
-
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
404
|
-
Description: smithy_client_1.expectString,
|
|
405
|
-
ExecutablePath: smithy_client_1.expectString,
|
|
406
|
-
Id: smithy_client_1.expectString,
|
|
407
|
-
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
408
|
-
ReplicationStatuses: smithy_client_1._json,
|
|
409
|
-
RuntimeEnvironment: smithy_client_1._json,
|
|
410
|
-
Status: smithy_client_1.expectString,
|
|
411
|
-
StatusReason: smithy_client_1.expectString,
|
|
412
|
-
});
|
|
413
|
-
Object.assign(contents, doc);
|
|
414
|
-
return contents;
|
|
415
|
-
};
|
|
416
|
-
exports.de_CreateApplicationCommand = de_CreateApplicationCommand;
|
|
417
|
-
const de_CreateStreamGroupCommand = async (output, context) => {
|
|
418
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
419
|
-
return de_CommandError(output, context);
|
|
420
|
-
}
|
|
421
|
-
const contents = (0, smithy_client_1.map)({
|
|
422
|
-
$metadata: deserializeMetadata(output),
|
|
423
|
-
});
|
|
424
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
425
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
426
|
-
Arn: smithy_client_1.expectString,
|
|
427
|
-
AssociatedApplications: smithy_client_1._json,
|
|
428
|
-
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
429
|
-
DefaultApplication: smithy_client_1._json,
|
|
430
|
-
Description: smithy_client_1.expectString,
|
|
431
|
-
Id: smithy_client_1.expectString,
|
|
432
|
-
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
433
|
-
LocationStates: smithy_client_1._json,
|
|
434
|
-
Status: smithy_client_1.expectString,
|
|
435
|
-
StatusReason: smithy_client_1.expectString,
|
|
436
|
-
StreamClass: smithy_client_1.expectString,
|
|
437
|
-
});
|
|
438
|
-
Object.assign(contents, doc);
|
|
439
|
-
return contents;
|
|
440
|
-
};
|
|
441
|
-
exports.de_CreateStreamGroupCommand = de_CreateStreamGroupCommand;
|
|
442
|
-
const de_CreateStreamSessionConnectionCommand = async (output, context) => {
|
|
443
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
444
|
-
return de_CommandError(output, context);
|
|
445
|
-
}
|
|
446
|
-
const contents = (0, smithy_client_1.map)({
|
|
447
|
-
$metadata: deserializeMetadata(output),
|
|
448
|
-
});
|
|
449
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
450
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
451
|
-
SignalResponse: smithy_client_1.expectString,
|
|
452
|
-
});
|
|
453
|
-
Object.assign(contents, doc);
|
|
454
|
-
return contents;
|
|
455
|
-
};
|
|
456
|
-
exports.de_CreateStreamSessionConnectionCommand = de_CreateStreamSessionConnectionCommand;
|
|
457
|
-
const de_DeleteApplicationCommand = async (output, context) => {
|
|
458
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
459
|
-
return de_CommandError(output, context);
|
|
460
|
-
}
|
|
461
|
-
const contents = (0, smithy_client_1.map)({
|
|
462
|
-
$metadata: deserializeMetadata(output),
|
|
463
|
-
});
|
|
464
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
465
|
-
return contents;
|
|
466
|
-
};
|
|
467
|
-
exports.de_DeleteApplicationCommand = de_DeleteApplicationCommand;
|
|
468
|
-
const de_DeleteStreamGroupCommand = async (output, context) => {
|
|
469
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
470
|
-
return de_CommandError(output, context);
|
|
471
|
-
}
|
|
472
|
-
const contents = (0, smithy_client_1.map)({
|
|
473
|
-
$metadata: deserializeMetadata(output),
|
|
474
|
-
});
|
|
475
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
476
|
-
return contents;
|
|
477
|
-
};
|
|
478
|
-
exports.de_DeleteStreamGroupCommand = de_DeleteStreamGroupCommand;
|
|
479
|
-
const de_DisassociateApplicationsCommand = async (output, context) => {
|
|
480
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
481
|
-
return de_CommandError(output, context);
|
|
482
|
-
}
|
|
483
|
-
const contents = (0, smithy_client_1.map)({
|
|
484
|
-
$metadata: deserializeMetadata(output),
|
|
485
|
-
});
|
|
486
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
487
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
488
|
-
ApplicationArns: smithy_client_1._json,
|
|
489
|
-
Arn: smithy_client_1.expectString,
|
|
490
|
-
});
|
|
491
|
-
Object.assign(contents, doc);
|
|
492
|
-
return contents;
|
|
493
|
-
};
|
|
494
|
-
exports.de_DisassociateApplicationsCommand = de_DisassociateApplicationsCommand;
|
|
495
|
-
const de_ExportStreamSessionFilesCommand = async (output, context) => {
|
|
496
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
497
|
-
return de_CommandError(output, context);
|
|
498
|
-
}
|
|
499
|
-
const contents = (0, smithy_client_1.map)({
|
|
500
|
-
$metadata: deserializeMetadata(output),
|
|
501
|
-
});
|
|
502
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
503
|
-
return contents;
|
|
504
|
-
};
|
|
505
|
-
exports.de_ExportStreamSessionFilesCommand = de_ExportStreamSessionFilesCommand;
|
|
506
|
-
const de_GetApplicationCommand = async (output, context) => {
|
|
507
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
508
|
-
return de_CommandError(output, context);
|
|
509
|
-
}
|
|
510
|
-
const contents = (0, smithy_client_1.map)({
|
|
511
|
-
$metadata: deserializeMetadata(output),
|
|
512
|
-
});
|
|
513
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
514
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
515
|
-
ApplicationLogOutputUri: smithy_client_1.expectString,
|
|
516
|
-
ApplicationLogPaths: smithy_client_1._json,
|
|
517
|
-
ApplicationSourceUri: smithy_client_1.expectString,
|
|
518
|
-
Arn: smithy_client_1.expectString,
|
|
519
|
-
AssociatedStreamGroups: smithy_client_1._json,
|
|
520
|
-
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
521
|
-
Description: smithy_client_1.expectString,
|
|
522
|
-
ExecutablePath: smithy_client_1.expectString,
|
|
523
|
-
Id: smithy_client_1.expectString,
|
|
524
|
-
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
525
|
-
ReplicationStatuses: smithy_client_1._json,
|
|
526
|
-
RuntimeEnvironment: smithy_client_1._json,
|
|
527
|
-
Status: smithy_client_1.expectString,
|
|
528
|
-
StatusReason: smithy_client_1.expectString,
|
|
529
|
-
});
|
|
530
|
-
Object.assign(contents, doc);
|
|
531
|
-
return contents;
|
|
532
|
-
};
|
|
533
|
-
exports.de_GetApplicationCommand = de_GetApplicationCommand;
|
|
534
|
-
const de_GetStreamGroupCommand = async (output, context) => {
|
|
535
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
536
|
-
return de_CommandError(output, context);
|
|
537
|
-
}
|
|
538
|
-
const contents = (0, smithy_client_1.map)({
|
|
539
|
-
$metadata: deserializeMetadata(output),
|
|
540
|
-
});
|
|
541
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
542
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
543
|
-
Arn: smithy_client_1.expectString,
|
|
544
|
-
AssociatedApplications: smithy_client_1._json,
|
|
545
|
-
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
546
|
-
DefaultApplication: smithy_client_1._json,
|
|
547
|
-
Description: smithy_client_1.expectString,
|
|
548
|
-
Id: smithy_client_1.expectString,
|
|
549
|
-
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
550
|
-
LocationStates: smithy_client_1._json,
|
|
551
|
-
Status: smithy_client_1.expectString,
|
|
552
|
-
StatusReason: smithy_client_1.expectString,
|
|
553
|
-
StreamClass: smithy_client_1.expectString,
|
|
554
|
-
});
|
|
555
|
-
Object.assign(contents, doc);
|
|
556
|
-
return contents;
|
|
557
|
-
};
|
|
558
|
-
exports.de_GetStreamGroupCommand = de_GetStreamGroupCommand;
|
|
559
|
-
const de_GetStreamSessionCommand = async (output, context) => {
|
|
560
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
561
|
-
return de_CommandError(output, context);
|
|
562
|
-
}
|
|
563
|
-
const contents = (0, smithy_client_1.map)({
|
|
564
|
-
$metadata: deserializeMetadata(output),
|
|
565
|
-
});
|
|
566
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
567
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
568
|
-
AdditionalEnvironmentVariables: smithy_client_1._json,
|
|
569
|
-
AdditionalLaunchArgs: smithy_client_1._json,
|
|
570
|
-
ApplicationArn: smithy_client_1.expectString,
|
|
571
|
-
Arn: smithy_client_1.expectString,
|
|
572
|
-
ConnectionTimeoutSeconds: smithy_client_1.expectInt32,
|
|
573
|
-
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
574
|
-
Description: smithy_client_1.expectString,
|
|
575
|
-
ExportFilesMetadata: smithy_client_1._json,
|
|
576
|
-
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
577
|
-
Location: smithy_client_1.expectString,
|
|
578
|
-
LogFileLocationUri: smithy_client_1.expectString,
|
|
579
|
-
Protocol: smithy_client_1.expectString,
|
|
580
|
-
SessionLengthSeconds: smithy_client_1.expectInt32,
|
|
581
|
-
SignalRequest: smithy_client_1.expectString,
|
|
582
|
-
SignalResponse: smithy_client_1.expectString,
|
|
583
|
-
Status: smithy_client_1.expectString,
|
|
584
|
-
StatusReason: smithy_client_1.expectString,
|
|
585
|
-
StreamGroupId: smithy_client_1.expectString,
|
|
586
|
-
UserId: smithy_client_1.expectString,
|
|
587
|
-
WebSdkProtocolUrl: smithy_client_1.expectString,
|
|
588
|
-
});
|
|
589
|
-
Object.assign(contents, doc);
|
|
590
|
-
return contents;
|
|
591
|
-
};
|
|
592
|
-
exports.de_GetStreamSessionCommand = de_GetStreamSessionCommand;
|
|
593
|
-
const de_ListApplicationsCommand = async (output, context) => {
|
|
594
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
595
|
-
return de_CommandError(output, context);
|
|
596
|
-
}
|
|
597
|
-
const contents = (0, smithy_client_1.map)({
|
|
598
|
-
$metadata: deserializeMetadata(output),
|
|
599
|
-
});
|
|
600
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
601
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
602
|
-
Items: (_) => de_ApplicationSummaryList(_, context),
|
|
603
|
-
NextToken: smithy_client_1.expectString,
|
|
604
|
-
});
|
|
605
|
-
Object.assign(contents, doc);
|
|
606
|
-
return contents;
|
|
607
|
-
};
|
|
608
|
-
exports.de_ListApplicationsCommand = de_ListApplicationsCommand;
|
|
609
|
-
const de_ListStreamGroupsCommand = async (output, context) => {
|
|
610
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
611
|
-
return de_CommandError(output, context);
|
|
612
|
-
}
|
|
613
|
-
const contents = (0, smithy_client_1.map)({
|
|
614
|
-
$metadata: deserializeMetadata(output),
|
|
615
|
-
});
|
|
616
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
617
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
618
|
-
Items: (_) => de_StreamGroupSummaryList(_, context),
|
|
619
|
-
NextToken: smithy_client_1.expectString,
|
|
620
|
-
});
|
|
621
|
-
Object.assign(contents, doc);
|
|
622
|
-
return contents;
|
|
623
|
-
};
|
|
624
|
-
exports.de_ListStreamGroupsCommand = de_ListStreamGroupsCommand;
|
|
625
|
-
const de_ListStreamSessionsCommand = async (output, context) => {
|
|
626
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
627
|
-
return de_CommandError(output, context);
|
|
628
|
-
}
|
|
629
|
-
const contents = (0, smithy_client_1.map)({
|
|
630
|
-
$metadata: deserializeMetadata(output),
|
|
631
|
-
});
|
|
632
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
633
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
634
|
-
Items: (_) => de_StreamSessionSummaryList(_, context),
|
|
635
|
-
NextToken: smithy_client_1.expectString,
|
|
636
|
-
});
|
|
637
|
-
Object.assign(contents, doc);
|
|
638
|
-
return contents;
|
|
639
|
-
};
|
|
640
|
-
exports.de_ListStreamSessionsCommand = de_ListStreamSessionsCommand;
|
|
641
|
-
const de_ListStreamSessionsByAccountCommand = async (output, context) => {
|
|
642
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
643
|
-
return de_CommandError(output, context);
|
|
644
|
-
}
|
|
645
|
-
const contents = (0, smithy_client_1.map)({
|
|
646
|
-
$metadata: deserializeMetadata(output),
|
|
647
|
-
});
|
|
648
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
649
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
650
|
-
Items: (_) => de_StreamSessionSummaryList(_, context),
|
|
651
|
-
NextToken: smithy_client_1.expectString,
|
|
652
|
-
});
|
|
653
|
-
Object.assign(contents, doc);
|
|
654
|
-
return contents;
|
|
655
|
-
};
|
|
656
|
-
exports.de_ListStreamSessionsByAccountCommand = de_ListStreamSessionsByAccountCommand;
|
|
657
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
658
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
659
|
-
return de_CommandError(output, context);
|
|
660
|
-
}
|
|
661
|
-
const contents = (0, smithy_client_1.map)({
|
|
662
|
-
$metadata: deserializeMetadata(output),
|
|
663
|
-
});
|
|
664
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
665
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
666
|
-
Tags: smithy_client_1._json,
|
|
667
|
-
});
|
|
668
|
-
Object.assign(contents, doc);
|
|
669
|
-
return contents;
|
|
670
|
-
};
|
|
671
|
-
exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand;
|
|
672
|
-
const de_RemoveStreamGroupLocationsCommand = async (output, context) => {
|
|
673
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
674
|
-
return de_CommandError(output, context);
|
|
675
|
-
}
|
|
676
|
-
const contents = (0, smithy_client_1.map)({
|
|
677
|
-
$metadata: deserializeMetadata(output),
|
|
678
|
-
});
|
|
679
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
680
|
-
return contents;
|
|
681
|
-
};
|
|
682
|
-
exports.de_RemoveStreamGroupLocationsCommand = de_RemoveStreamGroupLocationsCommand;
|
|
683
|
-
const de_StartStreamSessionCommand = async (output, context) => {
|
|
684
|
-
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
685
|
-
return de_CommandError(output, context);
|
|
686
|
-
}
|
|
687
|
-
const contents = (0, smithy_client_1.map)({
|
|
688
|
-
$metadata: deserializeMetadata(output),
|
|
689
|
-
});
|
|
690
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
691
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
692
|
-
AdditionalEnvironmentVariables: smithy_client_1._json,
|
|
693
|
-
AdditionalLaunchArgs: smithy_client_1._json,
|
|
694
|
-
ApplicationArn: smithy_client_1.expectString,
|
|
695
|
-
Arn: smithy_client_1.expectString,
|
|
696
|
-
ConnectionTimeoutSeconds: smithy_client_1.expectInt32,
|
|
697
|
-
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
698
|
-
Description: smithy_client_1.expectString,
|
|
699
|
-
ExportFilesMetadata: smithy_client_1._json,
|
|
700
|
-
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
701
|
-
Location: smithy_client_1.expectString,
|
|
702
|
-
LogFileLocationUri: smithy_client_1.expectString,
|
|
703
|
-
Protocol: smithy_client_1.expectString,
|
|
704
|
-
SessionLengthSeconds: smithy_client_1.expectInt32,
|
|
705
|
-
SignalRequest: smithy_client_1.expectString,
|
|
706
|
-
SignalResponse: smithy_client_1.expectString,
|
|
707
|
-
Status: smithy_client_1.expectString,
|
|
708
|
-
StatusReason: smithy_client_1.expectString,
|
|
709
|
-
StreamGroupId: smithy_client_1.expectString,
|
|
710
|
-
UserId: smithy_client_1.expectString,
|
|
711
|
-
WebSdkProtocolUrl: smithy_client_1.expectString,
|
|
712
|
-
});
|
|
713
|
-
Object.assign(contents, doc);
|
|
714
|
-
return contents;
|
|
715
|
-
};
|
|
716
|
-
exports.de_StartStreamSessionCommand = de_StartStreamSessionCommand;
|
|
717
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
718
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
719
|
-
return de_CommandError(output, context);
|
|
720
|
-
}
|
|
721
|
-
const contents = (0, smithy_client_1.map)({
|
|
722
|
-
$metadata: deserializeMetadata(output),
|
|
723
|
-
});
|
|
724
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
725
|
-
return contents;
|
|
726
|
-
};
|
|
727
|
-
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
728
|
-
const de_TerminateStreamSessionCommand = async (output, context) => {
|
|
729
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
730
|
-
return de_CommandError(output, context);
|
|
731
|
-
}
|
|
732
|
-
const contents = (0, smithy_client_1.map)({
|
|
733
|
-
$metadata: deserializeMetadata(output),
|
|
734
|
-
});
|
|
735
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
736
|
-
return contents;
|
|
737
|
-
};
|
|
738
|
-
exports.de_TerminateStreamSessionCommand = de_TerminateStreamSessionCommand;
|
|
739
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
740
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
741
|
-
return de_CommandError(output, context);
|
|
742
|
-
}
|
|
743
|
-
const contents = (0, smithy_client_1.map)({
|
|
744
|
-
$metadata: deserializeMetadata(output),
|
|
745
|
-
});
|
|
746
|
-
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
747
|
-
return contents;
|
|
748
|
-
};
|
|
749
|
-
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
750
|
-
const de_UpdateApplicationCommand = async (output, context) => {
|
|
751
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
752
|
-
return de_CommandError(output, context);
|
|
753
|
-
}
|
|
754
|
-
const contents = (0, smithy_client_1.map)({
|
|
755
|
-
$metadata: deserializeMetadata(output),
|
|
756
|
-
});
|
|
757
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
758
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
759
|
-
ApplicationLogOutputUri: smithy_client_1.expectString,
|
|
760
|
-
ApplicationLogPaths: smithy_client_1._json,
|
|
761
|
-
ApplicationSourceUri: smithy_client_1.expectString,
|
|
762
|
-
Arn: smithy_client_1.expectString,
|
|
763
|
-
AssociatedStreamGroups: smithy_client_1._json,
|
|
764
|
-
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
765
|
-
Description: smithy_client_1.expectString,
|
|
766
|
-
ExecutablePath: smithy_client_1.expectString,
|
|
767
|
-
Id: smithy_client_1.expectString,
|
|
768
|
-
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
769
|
-
ReplicationStatuses: smithy_client_1._json,
|
|
770
|
-
RuntimeEnvironment: smithy_client_1._json,
|
|
771
|
-
Status: smithy_client_1.expectString,
|
|
772
|
-
StatusReason: smithy_client_1.expectString,
|
|
773
|
-
});
|
|
774
|
-
Object.assign(contents, doc);
|
|
775
|
-
return contents;
|
|
776
|
-
};
|
|
777
|
-
exports.de_UpdateApplicationCommand = de_UpdateApplicationCommand;
|
|
778
|
-
const de_UpdateStreamGroupCommand = async (output, context) => {
|
|
779
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
780
|
-
return de_CommandError(output, context);
|
|
781
|
-
}
|
|
782
|
-
const contents = (0, smithy_client_1.map)({
|
|
783
|
-
$metadata: deserializeMetadata(output),
|
|
784
|
-
});
|
|
785
|
-
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await (0, core_1.parseJsonBody)(output.body, context)), "body");
|
|
786
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
787
|
-
Arn: smithy_client_1.expectString,
|
|
788
|
-
AssociatedApplications: smithy_client_1._json,
|
|
789
|
-
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
790
|
-
DefaultApplication: smithy_client_1._json,
|
|
791
|
-
Description: smithy_client_1.expectString,
|
|
792
|
-
Id: smithy_client_1.expectString,
|
|
793
|
-
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
794
|
-
LocationStates: smithy_client_1._json,
|
|
795
|
-
Status: smithy_client_1.expectString,
|
|
796
|
-
StatusReason: smithy_client_1.expectString,
|
|
797
|
-
StreamClass: smithy_client_1.expectString,
|
|
798
|
-
});
|
|
799
|
-
Object.assign(contents, doc);
|
|
800
|
-
return contents;
|
|
801
|
-
};
|
|
802
|
-
exports.de_UpdateStreamGroupCommand = de_UpdateStreamGroupCommand;
|
|
803
|
-
const de_CommandError = async (output, context) => {
|
|
804
|
-
const parsedOutput = {
|
|
805
|
-
...output,
|
|
806
|
-
body: await (0, core_1.parseJsonErrorBody)(output.body, context),
|
|
807
|
-
};
|
|
808
|
-
const errorCode = (0, core_1.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
809
|
-
switch (errorCode) {
|
|
810
|
-
case "AccessDeniedException":
|
|
811
|
-
case "com.amazonaws.gameliftstreams#AccessDeniedException":
|
|
812
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
813
|
-
case "InternalServerException":
|
|
814
|
-
case "com.amazonaws.gameliftstreams#InternalServerException":
|
|
815
|
-
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
816
|
-
case "ResourceNotFoundException":
|
|
817
|
-
case "com.amazonaws.gameliftstreams#ResourceNotFoundException":
|
|
818
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
819
|
-
case "ServiceQuotaExceededException":
|
|
820
|
-
case "com.amazonaws.gameliftstreams#ServiceQuotaExceededException":
|
|
821
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
822
|
-
case "ThrottlingException":
|
|
823
|
-
case "com.amazonaws.gameliftstreams#ThrottlingException":
|
|
824
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
825
|
-
case "ValidationException":
|
|
826
|
-
case "com.amazonaws.gameliftstreams#ValidationException":
|
|
827
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
828
|
-
case "ConflictException":
|
|
829
|
-
case "com.amazonaws.gameliftstreams#ConflictException":
|
|
830
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
831
|
-
default:
|
|
832
|
-
const parsedBody = parsedOutput.body;
|
|
833
|
-
return throwDefaultError({
|
|
834
|
-
output,
|
|
835
|
-
parsedBody,
|
|
836
|
-
errorCode,
|
|
837
|
-
});
|
|
838
|
-
}
|
|
839
|
-
};
|
|
840
|
-
const throwDefaultError = (0, smithy_client_1.withBaseException)(GameLiftStreamsServiceException_1.GameLiftStreamsServiceException);
|
|
841
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
842
|
-
const contents = (0, smithy_client_1.map)({});
|
|
843
|
-
const data = parsedOutput.body;
|
|
844
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
845
|
-
Message: smithy_client_1.expectString,
|
|
846
|
-
});
|
|
847
|
-
Object.assign(contents, doc);
|
|
848
|
-
const exception = new models_0_1.AccessDeniedException({
|
|
849
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
850
|
-
...contents,
|
|
851
|
-
});
|
|
852
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
853
|
-
};
|
|
854
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
855
|
-
const contents = (0, smithy_client_1.map)({});
|
|
856
|
-
const data = parsedOutput.body;
|
|
857
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
858
|
-
Message: smithy_client_1.expectString,
|
|
859
|
-
});
|
|
860
|
-
Object.assign(contents, doc);
|
|
861
|
-
const exception = new models_0_1.ConflictException({
|
|
862
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
863
|
-
...contents,
|
|
864
|
-
});
|
|
865
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
866
|
-
};
|
|
867
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
868
|
-
const contents = (0, smithy_client_1.map)({});
|
|
869
|
-
const data = parsedOutput.body;
|
|
870
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
871
|
-
Message: smithy_client_1.expectString,
|
|
872
|
-
});
|
|
873
|
-
Object.assign(contents, doc);
|
|
874
|
-
const exception = new models_0_1.InternalServerException({
|
|
875
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
876
|
-
...contents,
|
|
877
|
-
});
|
|
878
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
879
|
-
};
|
|
880
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
881
|
-
const contents = (0, smithy_client_1.map)({});
|
|
882
|
-
const data = parsedOutput.body;
|
|
883
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
884
|
-
Message: smithy_client_1.expectString,
|
|
885
|
-
});
|
|
886
|
-
Object.assign(contents, doc);
|
|
887
|
-
const exception = new models_0_1.ResourceNotFoundException({
|
|
888
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
889
|
-
...contents,
|
|
890
|
-
});
|
|
891
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
892
|
-
};
|
|
893
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
894
|
-
const contents = (0, smithy_client_1.map)({});
|
|
895
|
-
const data = parsedOutput.body;
|
|
896
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
897
|
-
Message: smithy_client_1.expectString,
|
|
898
|
-
});
|
|
899
|
-
Object.assign(contents, doc);
|
|
900
|
-
const exception = new models_0_1.ServiceQuotaExceededException({
|
|
901
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
902
|
-
...contents,
|
|
903
|
-
});
|
|
904
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
905
|
-
};
|
|
906
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
907
|
-
const contents = (0, smithy_client_1.map)({});
|
|
908
|
-
const data = parsedOutput.body;
|
|
909
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
910
|
-
Message: smithy_client_1.expectString,
|
|
911
|
-
});
|
|
912
|
-
Object.assign(contents, doc);
|
|
913
|
-
const exception = new models_0_1.ThrottlingException({
|
|
914
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
915
|
-
...contents,
|
|
916
|
-
});
|
|
917
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
918
|
-
};
|
|
919
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
920
|
-
const contents = (0, smithy_client_1.map)({});
|
|
921
|
-
const data = parsedOutput.body;
|
|
922
|
-
const doc = (0, smithy_client_1.take)(data, {
|
|
923
|
-
Message: smithy_client_1.expectString,
|
|
924
|
-
});
|
|
925
|
-
Object.assign(contents, doc);
|
|
926
|
-
const exception = new models_0_1.ValidationException({
|
|
927
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
928
|
-
...contents,
|
|
929
|
-
});
|
|
930
|
-
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
931
|
-
};
|
|
932
|
-
const de_ApplicationSummary = (output, context) => {
|
|
933
|
-
return (0, smithy_client_1.take)(output, {
|
|
934
|
-
Arn: smithy_client_1.expectString,
|
|
935
|
-
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
936
|
-
Description: smithy_client_1.expectString,
|
|
937
|
-
Id: smithy_client_1.expectString,
|
|
938
|
-
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
939
|
-
RuntimeEnvironment: smithy_client_1._json,
|
|
940
|
-
Status: smithy_client_1.expectString,
|
|
941
|
-
});
|
|
942
|
-
};
|
|
943
|
-
const de_ApplicationSummaryList = (output, context) => {
|
|
944
|
-
const retVal = (output || [])
|
|
945
|
-
.filter((e) => e != null)
|
|
946
|
-
.map((entry) => {
|
|
947
|
-
return de_ApplicationSummary(entry, context);
|
|
948
|
-
});
|
|
949
|
-
return retVal;
|
|
950
|
-
};
|
|
951
|
-
const de_StreamGroupSummary = (output, context) => {
|
|
952
|
-
return (0, smithy_client_1.take)(output, {
|
|
953
|
-
Arn: smithy_client_1.expectString,
|
|
954
|
-
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
955
|
-
DefaultApplication: smithy_client_1._json,
|
|
956
|
-
Description: smithy_client_1.expectString,
|
|
957
|
-
Id: smithy_client_1.expectString,
|
|
958
|
-
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
959
|
-
Status: smithy_client_1.expectString,
|
|
960
|
-
StreamClass: smithy_client_1.expectString,
|
|
961
|
-
});
|
|
962
|
-
};
|
|
963
|
-
const de_StreamGroupSummaryList = (output, context) => {
|
|
964
|
-
const retVal = (output || [])
|
|
965
|
-
.filter((e) => e != null)
|
|
966
|
-
.map((entry) => {
|
|
967
|
-
return de_StreamGroupSummary(entry, context);
|
|
968
|
-
});
|
|
969
|
-
return retVal;
|
|
970
|
-
};
|
|
971
|
-
const de_StreamSessionSummary = (output, context) => {
|
|
972
|
-
return (0, smithy_client_1.take)(output, {
|
|
973
|
-
ApplicationArn: smithy_client_1.expectString,
|
|
974
|
-
Arn: smithy_client_1.expectString,
|
|
975
|
-
CreatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
976
|
-
ExportFilesMetadata: smithy_client_1._json,
|
|
977
|
-
LastUpdatedAt: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
978
|
-
Location: smithy_client_1.expectString,
|
|
979
|
-
Protocol: smithy_client_1.expectString,
|
|
980
|
-
Status: smithy_client_1.expectString,
|
|
981
|
-
UserId: smithy_client_1.expectString,
|
|
982
|
-
});
|
|
983
|
-
};
|
|
984
|
-
const de_StreamSessionSummaryList = (output, context) => {
|
|
985
|
-
const retVal = (output || [])
|
|
986
|
-
.filter((e) => e != null)
|
|
987
|
-
.map((entry) => {
|
|
988
|
-
return de_StreamSessionSummary(entry, context);
|
|
989
|
-
});
|
|
990
|
-
return retVal;
|
|
991
|
-
};
|
|
992
|
-
const deserializeMetadata = (output) => ({
|
|
993
|
-
httpStatusCode: output.statusCode,
|
|
994
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
995
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
996
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
997
|
-
});
|
|
998
|
-
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
999
|
-
const _EFS = "ExportFilesStatus";
|
|
1000
|
-
const _L = "Locations";
|
|
1001
|
-
const _MR = "MaxResults";
|
|
1002
|
-
const _NT = "NextToken";
|
|
1003
|
-
const _S = "Status";
|
|
1004
|
-
const _TK = "TagKeys";
|
|
1005
|
-
const _l = "locations";
|
|
1006
|
-
const _tK = "tagKeys";
|