@aws-sdk/client-gameliftstreams 3.893.0 → 3.895.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 +7 -7
- 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
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,2159 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
AddStreamGroupLocationsCommand: () => AddStreamGroupLocationsCommand,
|
|
26
|
+
ApplicationStatus: () => ApplicationStatus,
|
|
27
|
+
ApplicationStatusReason: () => ApplicationStatusReason,
|
|
28
|
+
AssociateApplicationsCommand: () => AssociateApplicationsCommand,
|
|
29
|
+
ConflictException: () => ConflictException,
|
|
30
|
+
CreateApplicationCommand: () => CreateApplicationCommand,
|
|
31
|
+
CreateStreamGroupCommand: () => CreateStreamGroupCommand,
|
|
32
|
+
CreateStreamSessionConnectionCommand: () => CreateStreamSessionConnectionCommand,
|
|
33
|
+
CreateStreamSessionConnectionInputFilterSensitiveLog: () => CreateStreamSessionConnectionInputFilterSensitiveLog,
|
|
34
|
+
CreateStreamSessionConnectionOutputFilterSensitiveLog: () => CreateStreamSessionConnectionOutputFilterSensitiveLog,
|
|
35
|
+
DeleteApplicationCommand: () => DeleteApplicationCommand,
|
|
36
|
+
DeleteStreamGroupCommand: () => DeleteStreamGroupCommand,
|
|
37
|
+
DisassociateApplicationsCommand: () => DisassociateApplicationsCommand,
|
|
38
|
+
ExportFilesStatus: () => ExportFilesStatus,
|
|
39
|
+
ExportStreamSessionFilesCommand: () => ExportStreamSessionFilesCommand,
|
|
40
|
+
GameLiftStreams: () => GameLiftStreams,
|
|
41
|
+
GameLiftStreamsClient: () => GameLiftStreamsClient,
|
|
42
|
+
GameLiftStreamsServiceException: () => GameLiftStreamsServiceException,
|
|
43
|
+
GetApplicationCommand: () => GetApplicationCommand,
|
|
44
|
+
GetStreamGroupCommand: () => GetStreamGroupCommand,
|
|
45
|
+
GetStreamSessionCommand: () => GetStreamSessionCommand,
|
|
46
|
+
GetStreamSessionOutputFilterSensitiveLog: () => GetStreamSessionOutputFilterSensitiveLog,
|
|
47
|
+
InternalServerException: () => InternalServerException,
|
|
48
|
+
ListApplicationsCommand: () => ListApplicationsCommand,
|
|
49
|
+
ListStreamGroupsCommand: () => ListStreamGroupsCommand,
|
|
50
|
+
ListStreamSessionsByAccountCommand: () => ListStreamSessionsByAccountCommand,
|
|
51
|
+
ListStreamSessionsCommand: () => ListStreamSessionsCommand,
|
|
52
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
53
|
+
Protocol: () => Protocol,
|
|
54
|
+
RemoveStreamGroupLocationsCommand: () => RemoveStreamGroupLocationsCommand,
|
|
55
|
+
ReplicationStatusType: () => ReplicationStatusType,
|
|
56
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
57
|
+
RuntimeEnvironmentType: () => RuntimeEnvironmentType,
|
|
58
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
59
|
+
StartStreamSessionCommand: () => StartStreamSessionCommand,
|
|
60
|
+
StartStreamSessionInputFilterSensitiveLog: () => StartStreamSessionInputFilterSensitiveLog,
|
|
61
|
+
StartStreamSessionOutputFilterSensitiveLog: () => StartStreamSessionOutputFilterSensitiveLog,
|
|
62
|
+
StreamClass: () => StreamClass,
|
|
63
|
+
StreamGroupLocationStatus: () => StreamGroupLocationStatus,
|
|
64
|
+
StreamGroupStatus: () => StreamGroupStatus,
|
|
65
|
+
StreamGroupStatusReason: () => StreamGroupStatusReason,
|
|
66
|
+
StreamSessionStatus: () => StreamSessionStatus,
|
|
67
|
+
StreamSessionStatusReason: () => StreamSessionStatusReason,
|
|
68
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
69
|
+
TerminateStreamSessionCommand: () => TerminateStreamSessionCommand,
|
|
70
|
+
ThrottlingException: () => ThrottlingException,
|
|
71
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
72
|
+
UpdateApplicationCommand: () => UpdateApplicationCommand,
|
|
73
|
+
UpdateStreamGroupCommand: () => UpdateStreamGroupCommand,
|
|
74
|
+
ValidationException: () => ValidationException,
|
|
75
|
+
__Client: () => import_smithy_client.Client,
|
|
76
|
+
paginateListApplications: () => paginateListApplications,
|
|
77
|
+
paginateListStreamGroups: () => paginateListStreamGroups,
|
|
78
|
+
paginateListStreamSessions: () => paginateListStreamSessions,
|
|
79
|
+
paginateListStreamSessionsByAccount: () => paginateListStreamSessionsByAccount,
|
|
80
|
+
waitForApplicationDeleted: () => waitForApplicationDeleted,
|
|
81
|
+
waitForApplicationReady: () => waitForApplicationReady,
|
|
82
|
+
waitForStreamGroupActive: () => waitForStreamGroupActive,
|
|
83
|
+
waitForStreamGroupDeleted: () => waitForStreamGroupDeleted,
|
|
84
|
+
waitForStreamSessionActive: () => waitForStreamSessionActive,
|
|
85
|
+
waitUntilApplicationDeleted: () => waitUntilApplicationDeleted,
|
|
86
|
+
waitUntilApplicationReady: () => waitUntilApplicationReady,
|
|
87
|
+
waitUntilStreamGroupActive: () => waitUntilStreamGroupActive,
|
|
88
|
+
waitUntilStreamGroupDeleted: () => waitUntilStreamGroupDeleted,
|
|
89
|
+
waitUntilStreamSessionActive: () => waitUntilStreamSessionActive
|
|
90
|
+
});
|
|
91
|
+
module.exports = __toCommonJS(index_exports);
|
|
92
|
+
|
|
93
|
+
// src/GameLiftStreamsClient.ts
|
|
94
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
95
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
96
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
97
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
98
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
99
|
+
var import_core = require("@smithy/core");
|
|
100
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
101
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
102
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
103
|
+
|
|
104
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
105
|
+
|
|
106
|
+
// src/endpoint/EndpointParameters.ts
|
|
107
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
108
|
+
return Object.assign(options, {
|
|
109
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
110
|
+
defaultSigningName: "gameliftstreams"
|
|
111
|
+
});
|
|
112
|
+
}, "resolveClientEndpointParameters");
|
|
113
|
+
var commonParams = {
|
|
114
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
115
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
116
|
+
Region: { type: "builtInParams", name: "region" }
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
// src/GameLiftStreamsClient.ts
|
|
120
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
121
|
+
|
|
122
|
+
// src/runtimeExtensions.ts
|
|
123
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
124
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
125
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
126
|
+
|
|
127
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
128
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
129
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
130
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
131
|
+
let _credentials = runtimeConfig.credentials;
|
|
132
|
+
return {
|
|
133
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
134
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
135
|
+
if (index === -1) {
|
|
136
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
137
|
+
} else {
|
|
138
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
httpAuthSchemes() {
|
|
142
|
+
return _httpAuthSchemes;
|
|
143
|
+
},
|
|
144
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
145
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
146
|
+
},
|
|
147
|
+
httpAuthSchemeProvider() {
|
|
148
|
+
return _httpAuthSchemeProvider;
|
|
149
|
+
},
|
|
150
|
+
setCredentials(credentials) {
|
|
151
|
+
_credentials = credentials;
|
|
152
|
+
},
|
|
153
|
+
credentials() {
|
|
154
|
+
return _credentials;
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
158
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
159
|
+
return {
|
|
160
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
161
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
162
|
+
credentials: config.credentials()
|
|
163
|
+
};
|
|
164
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
165
|
+
|
|
166
|
+
// src/runtimeExtensions.ts
|
|
167
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
168
|
+
const extensionConfiguration = Object.assign(
|
|
169
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
170
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
171
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
172
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
173
|
+
);
|
|
174
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
175
|
+
return Object.assign(
|
|
176
|
+
runtimeConfig,
|
|
177
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
178
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
179
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
180
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
181
|
+
);
|
|
182
|
+
}, "resolveRuntimeExtensions");
|
|
183
|
+
|
|
184
|
+
// src/GameLiftStreamsClient.ts
|
|
185
|
+
var GameLiftStreamsClient = class extends import_smithy_client.Client {
|
|
186
|
+
static {
|
|
187
|
+
__name(this, "GameLiftStreamsClient");
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* The resolved configuration of GameLiftStreamsClient class. This is resolved and normalized from the {@link GameLiftStreamsClientConfig | constructor configuration interface}.
|
|
191
|
+
*/
|
|
192
|
+
config;
|
|
193
|
+
constructor(...[configuration]) {
|
|
194
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
195
|
+
super(_config_0);
|
|
196
|
+
this.initConfig = _config_0;
|
|
197
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
198
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
199
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
200
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
201
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
202
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
203
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
204
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
205
|
+
this.config = _config_8;
|
|
206
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
207
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
208
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
209
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
210
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
211
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
212
|
+
this.middlewareStack.use(
|
|
213
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
214
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultGameLiftStreamsHttpAuthSchemeParametersProvider,
|
|
215
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
216
|
+
"aws.auth#sigv4": config.credentials
|
|
217
|
+
}), "identityProviderConfigProvider")
|
|
218
|
+
})
|
|
219
|
+
);
|
|
220
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
224
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
225
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
226
|
+
*/
|
|
227
|
+
destroy() {
|
|
228
|
+
super.destroy();
|
|
229
|
+
}
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
// src/GameLiftStreams.ts
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
// src/commands/AddStreamGroupLocationsCommand.ts
|
|
236
|
+
|
|
237
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
// src/protocols/Aws_restJson1.ts
|
|
241
|
+
var import_core2 = require("@aws-sdk/core");
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
var import_uuid = require("uuid");
|
|
245
|
+
|
|
246
|
+
// src/models/GameLiftStreamsServiceException.ts
|
|
247
|
+
|
|
248
|
+
var GameLiftStreamsServiceException = class _GameLiftStreamsServiceException extends import_smithy_client.ServiceException {
|
|
249
|
+
static {
|
|
250
|
+
__name(this, "GameLiftStreamsServiceException");
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
* @internal
|
|
254
|
+
*/
|
|
255
|
+
constructor(options) {
|
|
256
|
+
super(options);
|
|
257
|
+
Object.setPrototypeOf(this, _GameLiftStreamsServiceException.prototype);
|
|
258
|
+
}
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
// src/models/models_0.ts
|
|
262
|
+
|
|
263
|
+
var AccessDeniedException = class _AccessDeniedException extends GameLiftStreamsServiceException {
|
|
264
|
+
static {
|
|
265
|
+
__name(this, "AccessDeniedException");
|
|
266
|
+
}
|
|
267
|
+
name = "AccessDeniedException";
|
|
268
|
+
$fault = "client";
|
|
269
|
+
/**
|
|
270
|
+
* <p>Description of the error.</p>
|
|
271
|
+
* @public
|
|
272
|
+
*/
|
|
273
|
+
Message;
|
|
274
|
+
/**
|
|
275
|
+
* @internal
|
|
276
|
+
*/
|
|
277
|
+
constructor(opts) {
|
|
278
|
+
super({
|
|
279
|
+
name: "AccessDeniedException",
|
|
280
|
+
$fault: "client",
|
|
281
|
+
...opts
|
|
282
|
+
});
|
|
283
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
284
|
+
this.Message = opts.Message;
|
|
285
|
+
}
|
|
286
|
+
};
|
|
287
|
+
var StreamGroupLocationStatus = {
|
|
288
|
+
ACTIVATING: "ACTIVATING",
|
|
289
|
+
ACTIVE: "ACTIVE",
|
|
290
|
+
ERROR: "ERROR",
|
|
291
|
+
REMOVING: "REMOVING"
|
|
292
|
+
};
|
|
293
|
+
var InternalServerException = class _InternalServerException extends GameLiftStreamsServiceException {
|
|
294
|
+
static {
|
|
295
|
+
__name(this, "InternalServerException");
|
|
296
|
+
}
|
|
297
|
+
name = "InternalServerException";
|
|
298
|
+
$fault = "server";
|
|
299
|
+
$retryable = {};
|
|
300
|
+
/**
|
|
301
|
+
* <p>Description of the error.</p>
|
|
302
|
+
* @public
|
|
303
|
+
*/
|
|
304
|
+
Message;
|
|
305
|
+
/**
|
|
306
|
+
* @internal
|
|
307
|
+
*/
|
|
308
|
+
constructor(opts) {
|
|
309
|
+
super({
|
|
310
|
+
name: "InternalServerException",
|
|
311
|
+
$fault: "server",
|
|
312
|
+
...opts
|
|
313
|
+
});
|
|
314
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
315
|
+
this.Message = opts.Message;
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends GameLiftStreamsServiceException {
|
|
319
|
+
static {
|
|
320
|
+
__name(this, "ResourceNotFoundException");
|
|
321
|
+
}
|
|
322
|
+
name = "ResourceNotFoundException";
|
|
323
|
+
$fault = "client";
|
|
324
|
+
/**
|
|
325
|
+
* <p>Description of the error.</p>
|
|
326
|
+
* @public
|
|
327
|
+
*/
|
|
328
|
+
Message;
|
|
329
|
+
/**
|
|
330
|
+
* @internal
|
|
331
|
+
*/
|
|
332
|
+
constructor(opts) {
|
|
333
|
+
super({
|
|
334
|
+
name: "ResourceNotFoundException",
|
|
335
|
+
$fault: "client",
|
|
336
|
+
...opts
|
|
337
|
+
});
|
|
338
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
339
|
+
this.Message = opts.Message;
|
|
340
|
+
}
|
|
341
|
+
};
|
|
342
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends GameLiftStreamsServiceException {
|
|
343
|
+
static {
|
|
344
|
+
__name(this, "ServiceQuotaExceededException");
|
|
345
|
+
}
|
|
346
|
+
name = "ServiceQuotaExceededException";
|
|
347
|
+
$fault = "client";
|
|
348
|
+
/**
|
|
349
|
+
* <p>Description of the error.</p>
|
|
350
|
+
* @public
|
|
351
|
+
*/
|
|
352
|
+
Message;
|
|
353
|
+
/**
|
|
354
|
+
* @internal
|
|
355
|
+
*/
|
|
356
|
+
constructor(opts) {
|
|
357
|
+
super({
|
|
358
|
+
name: "ServiceQuotaExceededException",
|
|
359
|
+
$fault: "client",
|
|
360
|
+
...opts
|
|
361
|
+
});
|
|
362
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
363
|
+
this.Message = opts.Message;
|
|
364
|
+
}
|
|
365
|
+
};
|
|
366
|
+
var ThrottlingException = class _ThrottlingException extends GameLiftStreamsServiceException {
|
|
367
|
+
static {
|
|
368
|
+
__name(this, "ThrottlingException");
|
|
369
|
+
}
|
|
370
|
+
name = "ThrottlingException";
|
|
371
|
+
$fault = "client";
|
|
372
|
+
$retryable = {
|
|
373
|
+
throttling: true
|
|
374
|
+
};
|
|
375
|
+
/**
|
|
376
|
+
* <p>Description of the error.</p>
|
|
377
|
+
* @public
|
|
378
|
+
*/
|
|
379
|
+
Message;
|
|
380
|
+
/**
|
|
381
|
+
* @internal
|
|
382
|
+
*/
|
|
383
|
+
constructor(opts) {
|
|
384
|
+
super({
|
|
385
|
+
name: "ThrottlingException",
|
|
386
|
+
$fault: "client",
|
|
387
|
+
...opts
|
|
388
|
+
});
|
|
389
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
390
|
+
this.Message = opts.Message;
|
|
391
|
+
}
|
|
392
|
+
};
|
|
393
|
+
var ValidationException = class _ValidationException extends GameLiftStreamsServiceException {
|
|
394
|
+
static {
|
|
395
|
+
__name(this, "ValidationException");
|
|
396
|
+
}
|
|
397
|
+
name = "ValidationException";
|
|
398
|
+
$fault = "client";
|
|
399
|
+
/**
|
|
400
|
+
* <p>Description of the error.</p>
|
|
401
|
+
* @public
|
|
402
|
+
*/
|
|
403
|
+
Message;
|
|
404
|
+
/**
|
|
405
|
+
* @internal
|
|
406
|
+
*/
|
|
407
|
+
constructor(opts) {
|
|
408
|
+
super({
|
|
409
|
+
name: "ValidationException",
|
|
410
|
+
$fault: "client",
|
|
411
|
+
...opts
|
|
412
|
+
});
|
|
413
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
414
|
+
this.Message = opts.Message;
|
|
415
|
+
}
|
|
416
|
+
};
|
|
417
|
+
var ApplicationStatus = {
|
|
418
|
+
DELETING: "DELETING",
|
|
419
|
+
ERROR: "ERROR",
|
|
420
|
+
INITIALIZED: "INITIALIZED",
|
|
421
|
+
PROCESSING: "PROCESSING",
|
|
422
|
+
READY: "READY"
|
|
423
|
+
};
|
|
424
|
+
var ApplicationStatusReason = {
|
|
425
|
+
ACCESS_DENIED: "accessDenied",
|
|
426
|
+
INTERNAL_ERROR: "internalError"
|
|
427
|
+
};
|
|
428
|
+
var ConflictException = class _ConflictException extends GameLiftStreamsServiceException {
|
|
429
|
+
static {
|
|
430
|
+
__name(this, "ConflictException");
|
|
431
|
+
}
|
|
432
|
+
name = "ConflictException";
|
|
433
|
+
$fault = "client";
|
|
434
|
+
/**
|
|
435
|
+
* <p>Description of the error.</p>
|
|
436
|
+
* @public
|
|
437
|
+
*/
|
|
438
|
+
Message;
|
|
439
|
+
/**
|
|
440
|
+
* @internal
|
|
441
|
+
*/
|
|
442
|
+
constructor(opts) {
|
|
443
|
+
super({
|
|
444
|
+
name: "ConflictException",
|
|
445
|
+
$fault: "client",
|
|
446
|
+
...opts
|
|
447
|
+
});
|
|
448
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
449
|
+
this.Message = opts.Message;
|
|
450
|
+
}
|
|
451
|
+
};
|
|
452
|
+
var RuntimeEnvironmentType = {
|
|
453
|
+
PROTON: "PROTON",
|
|
454
|
+
UBUNTU: "UBUNTU",
|
|
455
|
+
WINDOWS: "WINDOWS"
|
|
456
|
+
};
|
|
457
|
+
var ReplicationStatusType = {
|
|
458
|
+
COMPLETED: "COMPLETED",
|
|
459
|
+
REPLICATING: "REPLICATING"
|
|
460
|
+
};
|
|
461
|
+
var StreamClass = {
|
|
462
|
+
gen4n_high: "gen4n_high",
|
|
463
|
+
gen4n_ultra: "gen4n_ultra",
|
|
464
|
+
gen4n_win2022: "gen4n_win2022",
|
|
465
|
+
gen5n_high: "gen5n_high",
|
|
466
|
+
gen5n_ultra: "gen5n_ultra",
|
|
467
|
+
gen5n_win2022: "gen5n_win2022"
|
|
468
|
+
};
|
|
469
|
+
var StreamGroupStatus = {
|
|
470
|
+
ACTIVATING: "ACTIVATING",
|
|
471
|
+
ACTIVE: "ACTIVE",
|
|
472
|
+
ACTIVE_WITH_ERRORS: "ACTIVE_WITH_ERRORS",
|
|
473
|
+
DELETING: "DELETING",
|
|
474
|
+
ERROR: "ERROR",
|
|
475
|
+
UPDATING_LOCATIONS: "UPDATING_LOCATIONS"
|
|
476
|
+
};
|
|
477
|
+
var StreamGroupStatusReason = {
|
|
478
|
+
INTERNAL_ERROR: "internalError",
|
|
479
|
+
NO_AVAILABLE_INSTANCES: "noAvailableInstances"
|
|
480
|
+
};
|
|
481
|
+
var ExportFilesStatus = {
|
|
482
|
+
FAILED: "FAILED",
|
|
483
|
+
PENDING: "PENDING",
|
|
484
|
+
SUCCEEDED: "SUCCEEDED"
|
|
485
|
+
};
|
|
486
|
+
var Protocol = {
|
|
487
|
+
WEBRTC: "WebRTC"
|
|
488
|
+
};
|
|
489
|
+
var StreamSessionStatus = {
|
|
490
|
+
ACTIVATING: "ACTIVATING",
|
|
491
|
+
ACTIVE: "ACTIVE",
|
|
492
|
+
CONNECTED: "CONNECTED",
|
|
493
|
+
ERROR: "ERROR",
|
|
494
|
+
PENDING_CLIENT_RECONNECTION: "PENDING_CLIENT_RECONNECTION",
|
|
495
|
+
RECONNECTING: "RECONNECTING",
|
|
496
|
+
TERMINATED: "TERMINATED",
|
|
497
|
+
TERMINATING: "TERMINATING"
|
|
498
|
+
};
|
|
499
|
+
var StreamSessionStatusReason = {
|
|
500
|
+
APP_LOG_S3_DESTINATION_ERROR: "applicationLogS3DestinationError",
|
|
501
|
+
INTERNAL_ERROR: "internalError",
|
|
502
|
+
INVALID_SIGNAL_REQUEST: "invalidSignalRequest",
|
|
503
|
+
PLACEMENT_TIMEOUT: "placementTimeout"
|
|
504
|
+
};
|
|
505
|
+
var CreateStreamSessionConnectionInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
506
|
+
...obj,
|
|
507
|
+
...obj.SignalRequest && { SignalRequest: import_smithy_client.SENSITIVE_STRING }
|
|
508
|
+
}), "CreateStreamSessionConnectionInputFilterSensitiveLog");
|
|
509
|
+
var CreateStreamSessionConnectionOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
510
|
+
...obj,
|
|
511
|
+
...obj.SignalResponse && { SignalResponse: import_smithy_client.SENSITIVE_STRING }
|
|
512
|
+
}), "CreateStreamSessionConnectionOutputFilterSensitiveLog");
|
|
513
|
+
var GetStreamSessionOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
514
|
+
...obj,
|
|
515
|
+
...obj.SignalRequest && { SignalRequest: import_smithy_client.SENSITIVE_STRING },
|
|
516
|
+
...obj.SignalResponse && { SignalResponse: import_smithy_client.SENSITIVE_STRING }
|
|
517
|
+
}), "GetStreamSessionOutputFilterSensitiveLog");
|
|
518
|
+
var StartStreamSessionInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
519
|
+
...obj,
|
|
520
|
+
...obj.SignalRequest && { SignalRequest: import_smithy_client.SENSITIVE_STRING }
|
|
521
|
+
}), "StartStreamSessionInputFilterSensitiveLog");
|
|
522
|
+
var StartStreamSessionOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
523
|
+
...obj,
|
|
524
|
+
...obj.SignalRequest && { SignalRequest: import_smithy_client.SENSITIVE_STRING },
|
|
525
|
+
...obj.SignalResponse && { SignalResponse: import_smithy_client.SENSITIVE_STRING }
|
|
526
|
+
}), "StartStreamSessionOutputFilterSensitiveLog");
|
|
527
|
+
|
|
528
|
+
// src/protocols/Aws_restJson1.ts
|
|
529
|
+
var se_AddStreamGroupLocationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
530
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
531
|
+
const headers = {
|
|
532
|
+
"content-type": "application/json"
|
|
533
|
+
};
|
|
534
|
+
b.bp("/streamgroups/{Identifier}/locations");
|
|
535
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
536
|
+
let body;
|
|
537
|
+
body = JSON.stringify(
|
|
538
|
+
(0, import_smithy_client.take)(input, {
|
|
539
|
+
LocationConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LocationConfigurations")
|
|
540
|
+
})
|
|
541
|
+
);
|
|
542
|
+
b.m("POST").h(headers).b(body);
|
|
543
|
+
return b.build();
|
|
544
|
+
}, "se_AddStreamGroupLocationsCommand");
|
|
545
|
+
var se_AssociateApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
546
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
547
|
+
const headers = {
|
|
548
|
+
"content-type": "application/json"
|
|
549
|
+
};
|
|
550
|
+
b.bp("/streamgroups/{Identifier}/associations");
|
|
551
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
552
|
+
let body;
|
|
553
|
+
body = JSON.stringify(
|
|
554
|
+
(0, import_smithy_client.take)(input, {
|
|
555
|
+
ApplicationIdentifiers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ApplicationIdentifiers")
|
|
556
|
+
})
|
|
557
|
+
);
|
|
558
|
+
b.m("POST").h(headers).b(body);
|
|
559
|
+
return b.build();
|
|
560
|
+
}, "se_AssociateApplicationsCommand");
|
|
561
|
+
var se_CreateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
562
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
563
|
+
const headers = {
|
|
564
|
+
"content-type": "application/json"
|
|
565
|
+
};
|
|
566
|
+
b.bp("/applications");
|
|
567
|
+
let body;
|
|
568
|
+
body = JSON.stringify(
|
|
569
|
+
(0, import_smithy_client.take)(input, {
|
|
570
|
+
ApplicationLogOutputUri: [],
|
|
571
|
+
ApplicationLogPaths: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ApplicationLogPaths"),
|
|
572
|
+
ApplicationSourceUri: [],
|
|
573
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
574
|
+
Description: [],
|
|
575
|
+
ExecutablePath: [],
|
|
576
|
+
RuntimeEnvironment: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "RuntimeEnvironment"),
|
|
577
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
578
|
+
})
|
|
579
|
+
);
|
|
580
|
+
b.m("POST").h(headers).b(body);
|
|
581
|
+
return b.build();
|
|
582
|
+
}, "se_CreateApplicationCommand");
|
|
583
|
+
var se_CreateStreamGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
584
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
585
|
+
const headers = {
|
|
586
|
+
"content-type": "application/json"
|
|
587
|
+
};
|
|
588
|
+
b.bp("/streamgroups");
|
|
589
|
+
let body;
|
|
590
|
+
body = JSON.stringify(
|
|
591
|
+
(0, import_smithy_client.take)(input, {
|
|
592
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
593
|
+
DefaultApplicationIdentifier: [],
|
|
594
|
+
Description: [],
|
|
595
|
+
LocationConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LocationConfigurations"),
|
|
596
|
+
StreamClass: [],
|
|
597
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
598
|
+
})
|
|
599
|
+
);
|
|
600
|
+
b.m("POST").h(headers).b(body);
|
|
601
|
+
return b.build();
|
|
602
|
+
}, "se_CreateStreamGroupCommand");
|
|
603
|
+
var se_CreateStreamSessionConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
604
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
605
|
+
const headers = {
|
|
606
|
+
"content-type": "application/json"
|
|
607
|
+
};
|
|
608
|
+
b.bp("/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/connections");
|
|
609
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
610
|
+
b.p("StreamSessionIdentifier", () => input.StreamSessionIdentifier, "{StreamSessionIdentifier}", false);
|
|
611
|
+
let body;
|
|
612
|
+
body = JSON.stringify(
|
|
613
|
+
(0, import_smithy_client.take)(input, {
|
|
614
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
615
|
+
SignalRequest: []
|
|
616
|
+
})
|
|
617
|
+
);
|
|
618
|
+
b.m("POST").h(headers).b(body);
|
|
619
|
+
return b.build();
|
|
620
|
+
}, "se_CreateStreamSessionConnectionCommand");
|
|
621
|
+
var se_DeleteApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
622
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
623
|
+
const headers = {};
|
|
624
|
+
b.bp("/applications/{Identifier}");
|
|
625
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
626
|
+
let body;
|
|
627
|
+
b.m("DELETE").h(headers).b(body);
|
|
628
|
+
return b.build();
|
|
629
|
+
}, "se_DeleteApplicationCommand");
|
|
630
|
+
var se_DeleteStreamGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
631
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
632
|
+
const headers = {};
|
|
633
|
+
b.bp("/streamgroups/{Identifier}");
|
|
634
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
635
|
+
let body;
|
|
636
|
+
b.m("DELETE").h(headers).b(body);
|
|
637
|
+
return b.build();
|
|
638
|
+
}, "se_DeleteStreamGroupCommand");
|
|
639
|
+
var se_DisassociateApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
640
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
641
|
+
const headers = {
|
|
642
|
+
"content-type": "application/json"
|
|
643
|
+
};
|
|
644
|
+
b.bp("/streamgroups/{Identifier}/disassociations");
|
|
645
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
646
|
+
let body;
|
|
647
|
+
body = JSON.stringify(
|
|
648
|
+
(0, import_smithy_client.take)(input, {
|
|
649
|
+
ApplicationIdentifiers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ApplicationIdentifiers")
|
|
650
|
+
})
|
|
651
|
+
);
|
|
652
|
+
b.m("POST").h(headers).b(body);
|
|
653
|
+
return b.build();
|
|
654
|
+
}, "se_DisassociateApplicationsCommand");
|
|
655
|
+
var se_ExportStreamSessionFilesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
656
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
657
|
+
const headers = {
|
|
658
|
+
"content-type": "application/json"
|
|
659
|
+
};
|
|
660
|
+
b.bp("/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/exportfiles");
|
|
661
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
662
|
+
b.p("StreamSessionIdentifier", () => input.StreamSessionIdentifier, "{StreamSessionIdentifier}", false);
|
|
663
|
+
let body;
|
|
664
|
+
body = JSON.stringify(
|
|
665
|
+
(0, import_smithy_client.take)(input, {
|
|
666
|
+
OutputUri: []
|
|
667
|
+
})
|
|
668
|
+
);
|
|
669
|
+
b.m("PUT").h(headers).b(body);
|
|
670
|
+
return b.build();
|
|
671
|
+
}, "se_ExportStreamSessionFilesCommand");
|
|
672
|
+
var se_GetApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
673
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
674
|
+
const headers = {};
|
|
675
|
+
b.bp("/applications/{Identifier}");
|
|
676
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
677
|
+
let body;
|
|
678
|
+
b.m("GET").h(headers).b(body);
|
|
679
|
+
return b.build();
|
|
680
|
+
}, "se_GetApplicationCommand");
|
|
681
|
+
var se_GetStreamGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
682
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
683
|
+
const headers = {};
|
|
684
|
+
b.bp("/streamgroups/{Identifier}");
|
|
685
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
686
|
+
let body;
|
|
687
|
+
b.m("GET").h(headers).b(body);
|
|
688
|
+
return b.build();
|
|
689
|
+
}, "se_GetStreamGroupCommand");
|
|
690
|
+
var se_GetStreamSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
691
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
692
|
+
const headers = {};
|
|
693
|
+
b.bp("/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}");
|
|
694
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
695
|
+
b.p("StreamSessionIdentifier", () => input.StreamSessionIdentifier, "{StreamSessionIdentifier}", false);
|
|
696
|
+
let body;
|
|
697
|
+
b.m("GET").h(headers).b(body);
|
|
698
|
+
return b.build();
|
|
699
|
+
}, "se_GetStreamSessionCommand");
|
|
700
|
+
var se_ListApplicationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
701
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
702
|
+
const headers = {};
|
|
703
|
+
b.bp("/applications");
|
|
704
|
+
const query = (0, import_smithy_client.map)({
|
|
705
|
+
[_NT]: [, input[_NT]],
|
|
706
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
707
|
+
});
|
|
708
|
+
let body;
|
|
709
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
710
|
+
return b.build();
|
|
711
|
+
}, "se_ListApplicationsCommand");
|
|
712
|
+
var se_ListStreamGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
713
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
714
|
+
const headers = {};
|
|
715
|
+
b.bp("/streamgroups");
|
|
716
|
+
const query = (0, import_smithy_client.map)({
|
|
717
|
+
[_NT]: [, input[_NT]],
|
|
718
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
719
|
+
});
|
|
720
|
+
let body;
|
|
721
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
722
|
+
return b.build();
|
|
723
|
+
}, "se_ListStreamGroupsCommand");
|
|
724
|
+
var se_ListStreamSessionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
725
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
726
|
+
const headers = {};
|
|
727
|
+
b.bp("/streamgroups/{Identifier}/streamsessions");
|
|
728
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
729
|
+
const query = (0, import_smithy_client.map)({
|
|
730
|
+
[_S]: [, input[_S]],
|
|
731
|
+
[_EFS]: [, input[_EFS]],
|
|
732
|
+
[_NT]: [, input[_NT]],
|
|
733
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
734
|
+
});
|
|
735
|
+
let body;
|
|
736
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
737
|
+
return b.build();
|
|
738
|
+
}, "se_ListStreamSessionsCommand");
|
|
739
|
+
var se_ListStreamSessionsByAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
740
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
741
|
+
const headers = {};
|
|
742
|
+
b.bp("/streamsessions");
|
|
743
|
+
const query = (0, import_smithy_client.map)({
|
|
744
|
+
[_S]: [, input[_S]],
|
|
745
|
+
[_EFS]: [, input[_EFS]],
|
|
746
|
+
[_NT]: [, input[_NT]],
|
|
747
|
+
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()]
|
|
748
|
+
});
|
|
749
|
+
let body;
|
|
750
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
751
|
+
return b.build();
|
|
752
|
+
}, "se_ListStreamSessionsByAccountCommand");
|
|
753
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
754
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
755
|
+
const headers = {};
|
|
756
|
+
b.bp("/tags/{ResourceArn}");
|
|
757
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
758
|
+
let body;
|
|
759
|
+
b.m("GET").h(headers).b(body);
|
|
760
|
+
return b.build();
|
|
761
|
+
}, "se_ListTagsForResourceCommand");
|
|
762
|
+
var se_RemoveStreamGroupLocationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
763
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
764
|
+
const headers = {};
|
|
765
|
+
b.bp("/streamgroups/{Identifier}/locations");
|
|
766
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
767
|
+
const query = (0, import_smithy_client.map)({
|
|
768
|
+
[_l]: [(0, import_smithy_client.expectNonNull)(input.Locations, `Locations`) != null, () => input[_L] || []]
|
|
769
|
+
});
|
|
770
|
+
let body;
|
|
771
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
772
|
+
return b.build();
|
|
773
|
+
}, "se_RemoveStreamGroupLocationsCommand");
|
|
774
|
+
var se_StartStreamSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
775
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
776
|
+
const headers = {
|
|
777
|
+
"content-type": "application/json"
|
|
778
|
+
};
|
|
779
|
+
b.bp("/streamgroups/{Identifier}/streamsessions");
|
|
780
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
781
|
+
let body;
|
|
782
|
+
body = JSON.stringify(
|
|
783
|
+
(0, import_smithy_client.take)(input, {
|
|
784
|
+
AdditionalEnvironmentVariables: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AdditionalEnvironmentVariables"),
|
|
785
|
+
AdditionalLaunchArgs: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "AdditionalLaunchArgs"),
|
|
786
|
+
ApplicationIdentifier: [],
|
|
787
|
+
ClientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
788
|
+
ConnectionTimeoutSeconds: [],
|
|
789
|
+
Description: [],
|
|
790
|
+
Locations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Locations"),
|
|
791
|
+
Protocol: [],
|
|
792
|
+
SessionLengthSeconds: [],
|
|
793
|
+
SignalRequest: [],
|
|
794
|
+
UserId: []
|
|
795
|
+
})
|
|
796
|
+
);
|
|
797
|
+
b.m("POST").h(headers).b(body);
|
|
798
|
+
return b.build();
|
|
799
|
+
}, "se_StartStreamSessionCommand");
|
|
800
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
801
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
802
|
+
const headers = {
|
|
803
|
+
"content-type": "application/json"
|
|
804
|
+
};
|
|
805
|
+
b.bp("/tags/{ResourceArn}");
|
|
806
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
807
|
+
let body;
|
|
808
|
+
body = JSON.stringify(
|
|
809
|
+
(0, import_smithy_client.take)(input, {
|
|
810
|
+
Tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "Tags")
|
|
811
|
+
})
|
|
812
|
+
);
|
|
813
|
+
b.m("POST").h(headers).b(body);
|
|
814
|
+
return b.build();
|
|
815
|
+
}, "se_TagResourceCommand");
|
|
816
|
+
var se_TerminateStreamSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
817
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
818
|
+
const headers = {};
|
|
819
|
+
b.bp("/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}");
|
|
820
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
821
|
+
b.p("StreamSessionIdentifier", () => input.StreamSessionIdentifier, "{StreamSessionIdentifier}", false);
|
|
822
|
+
let body;
|
|
823
|
+
b.m("DELETE").h(headers).b(body);
|
|
824
|
+
return b.build();
|
|
825
|
+
}, "se_TerminateStreamSessionCommand");
|
|
826
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
827
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
828
|
+
const headers = {};
|
|
829
|
+
b.bp("/tags/{ResourceArn}");
|
|
830
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
831
|
+
const query = (0, import_smithy_client.map)({
|
|
832
|
+
[_tK]: [(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []]
|
|
833
|
+
});
|
|
834
|
+
let body;
|
|
835
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
836
|
+
return b.build();
|
|
837
|
+
}, "se_UntagResourceCommand");
|
|
838
|
+
var se_UpdateApplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
839
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
840
|
+
const headers = {
|
|
841
|
+
"content-type": "application/json"
|
|
842
|
+
};
|
|
843
|
+
b.bp("/applications/{Identifier}");
|
|
844
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
845
|
+
let body;
|
|
846
|
+
body = JSON.stringify(
|
|
847
|
+
(0, import_smithy_client.take)(input, {
|
|
848
|
+
ApplicationLogOutputUri: [],
|
|
849
|
+
ApplicationLogPaths: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "ApplicationLogPaths"),
|
|
850
|
+
Description: []
|
|
851
|
+
})
|
|
852
|
+
);
|
|
853
|
+
b.m("PATCH").h(headers).b(body);
|
|
854
|
+
return b.build();
|
|
855
|
+
}, "se_UpdateApplicationCommand");
|
|
856
|
+
var se_UpdateStreamGroupCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
857
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
858
|
+
const headers = {
|
|
859
|
+
"content-type": "application/json"
|
|
860
|
+
};
|
|
861
|
+
b.bp("/streamgroups/{Identifier}");
|
|
862
|
+
b.p("Identifier", () => input.Identifier, "{Identifier}", false);
|
|
863
|
+
let body;
|
|
864
|
+
body = JSON.stringify(
|
|
865
|
+
(0, import_smithy_client.take)(input, {
|
|
866
|
+
DefaultApplicationIdentifier: [],
|
|
867
|
+
Description: [],
|
|
868
|
+
LocationConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "LocationConfigurations")
|
|
869
|
+
})
|
|
870
|
+
);
|
|
871
|
+
b.m("PATCH").h(headers).b(body);
|
|
872
|
+
return b.build();
|
|
873
|
+
}, "se_UpdateStreamGroupCommand");
|
|
874
|
+
var de_AddStreamGroupLocationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
875
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
876
|
+
return de_CommandError(output, context);
|
|
877
|
+
}
|
|
878
|
+
const contents = (0, import_smithy_client.map)({
|
|
879
|
+
$metadata: deserializeMetadata(output)
|
|
880
|
+
});
|
|
881
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
882
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
883
|
+
Identifier: import_smithy_client.expectString,
|
|
884
|
+
Locations: import_smithy_client._json
|
|
885
|
+
});
|
|
886
|
+
Object.assign(contents, doc);
|
|
887
|
+
return contents;
|
|
888
|
+
}, "de_AddStreamGroupLocationsCommand");
|
|
889
|
+
var de_AssociateApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
890
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
891
|
+
return de_CommandError(output, context);
|
|
892
|
+
}
|
|
893
|
+
const contents = (0, import_smithy_client.map)({
|
|
894
|
+
$metadata: deserializeMetadata(output)
|
|
895
|
+
});
|
|
896
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
897
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
898
|
+
ApplicationArns: import_smithy_client._json,
|
|
899
|
+
Arn: import_smithy_client.expectString
|
|
900
|
+
});
|
|
901
|
+
Object.assign(contents, doc);
|
|
902
|
+
return contents;
|
|
903
|
+
}, "de_AssociateApplicationsCommand");
|
|
904
|
+
var de_CreateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
905
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
906
|
+
return de_CommandError(output, context);
|
|
907
|
+
}
|
|
908
|
+
const contents = (0, import_smithy_client.map)({
|
|
909
|
+
$metadata: deserializeMetadata(output)
|
|
910
|
+
});
|
|
911
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
912
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
913
|
+
ApplicationLogOutputUri: import_smithy_client.expectString,
|
|
914
|
+
ApplicationLogPaths: import_smithy_client._json,
|
|
915
|
+
ApplicationSourceUri: import_smithy_client.expectString,
|
|
916
|
+
Arn: import_smithy_client.expectString,
|
|
917
|
+
AssociatedStreamGroups: import_smithy_client._json,
|
|
918
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
919
|
+
Description: import_smithy_client.expectString,
|
|
920
|
+
ExecutablePath: import_smithy_client.expectString,
|
|
921
|
+
Id: import_smithy_client.expectString,
|
|
922
|
+
LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
|
|
923
|
+
ReplicationStatuses: import_smithy_client._json,
|
|
924
|
+
RuntimeEnvironment: import_smithy_client._json,
|
|
925
|
+
Status: import_smithy_client.expectString,
|
|
926
|
+
StatusReason: import_smithy_client.expectString
|
|
927
|
+
});
|
|
928
|
+
Object.assign(contents, doc);
|
|
929
|
+
return contents;
|
|
930
|
+
}, "de_CreateApplicationCommand");
|
|
931
|
+
var de_CreateStreamGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
932
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
933
|
+
return de_CommandError(output, context);
|
|
934
|
+
}
|
|
935
|
+
const contents = (0, import_smithy_client.map)({
|
|
936
|
+
$metadata: deserializeMetadata(output)
|
|
937
|
+
});
|
|
938
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
939
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
940
|
+
Arn: import_smithy_client.expectString,
|
|
941
|
+
AssociatedApplications: import_smithy_client._json,
|
|
942
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
943
|
+
DefaultApplication: import_smithy_client._json,
|
|
944
|
+
Description: import_smithy_client.expectString,
|
|
945
|
+
Id: import_smithy_client.expectString,
|
|
946
|
+
LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
|
|
947
|
+
LocationStates: import_smithy_client._json,
|
|
948
|
+
Status: import_smithy_client.expectString,
|
|
949
|
+
StatusReason: import_smithy_client.expectString,
|
|
950
|
+
StreamClass: import_smithy_client.expectString
|
|
951
|
+
});
|
|
952
|
+
Object.assign(contents, doc);
|
|
953
|
+
return contents;
|
|
954
|
+
}, "de_CreateStreamGroupCommand");
|
|
955
|
+
var de_CreateStreamSessionConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
956
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
957
|
+
return de_CommandError(output, context);
|
|
958
|
+
}
|
|
959
|
+
const contents = (0, import_smithy_client.map)({
|
|
960
|
+
$metadata: deserializeMetadata(output)
|
|
961
|
+
});
|
|
962
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
963
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
964
|
+
SignalResponse: import_smithy_client.expectString
|
|
965
|
+
});
|
|
966
|
+
Object.assign(contents, doc);
|
|
967
|
+
return contents;
|
|
968
|
+
}, "de_CreateStreamSessionConnectionCommand");
|
|
969
|
+
var de_DeleteApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
970
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
971
|
+
return de_CommandError(output, context);
|
|
972
|
+
}
|
|
973
|
+
const contents = (0, import_smithy_client.map)({
|
|
974
|
+
$metadata: deserializeMetadata(output)
|
|
975
|
+
});
|
|
976
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
977
|
+
return contents;
|
|
978
|
+
}, "de_DeleteApplicationCommand");
|
|
979
|
+
var de_DeleteStreamGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
980
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
981
|
+
return de_CommandError(output, context);
|
|
982
|
+
}
|
|
983
|
+
const contents = (0, import_smithy_client.map)({
|
|
984
|
+
$metadata: deserializeMetadata(output)
|
|
985
|
+
});
|
|
986
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
987
|
+
return contents;
|
|
988
|
+
}, "de_DeleteStreamGroupCommand");
|
|
989
|
+
var de_DisassociateApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
990
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
991
|
+
return de_CommandError(output, context);
|
|
992
|
+
}
|
|
993
|
+
const contents = (0, import_smithy_client.map)({
|
|
994
|
+
$metadata: deserializeMetadata(output)
|
|
995
|
+
});
|
|
996
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
997
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
998
|
+
ApplicationArns: import_smithy_client._json,
|
|
999
|
+
Arn: import_smithy_client.expectString
|
|
1000
|
+
});
|
|
1001
|
+
Object.assign(contents, doc);
|
|
1002
|
+
return contents;
|
|
1003
|
+
}, "de_DisassociateApplicationsCommand");
|
|
1004
|
+
var de_ExportStreamSessionFilesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1005
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1006
|
+
return de_CommandError(output, context);
|
|
1007
|
+
}
|
|
1008
|
+
const contents = (0, import_smithy_client.map)({
|
|
1009
|
+
$metadata: deserializeMetadata(output)
|
|
1010
|
+
});
|
|
1011
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1012
|
+
return contents;
|
|
1013
|
+
}, "de_ExportStreamSessionFilesCommand");
|
|
1014
|
+
var de_GetApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1015
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1016
|
+
return de_CommandError(output, context);
|
|
1017
|
+
}
|
|
1018
|
+
const contents = (0, import_smithy_client.map)({
|
|
1019
|
+
$metadata: deserializeMetadata(output)
|
|
1020
|
+
});
|
|
1021
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1022
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1023
|
+
ApplicationLogOutputUri: import_smithy_client.expectString,
|
|
1024
|
+
ApplicationLogPaths: import_smithy_client._json,
|
|
1025
|
+
ApplicationSourceUri: import_smithy_client.expectString,
|
|
1026
|
+
Arn: import_smithy_client.expectString,
|
|
1027
|
+
AssociatedStreamGroups: import_smithy_client._json,
|
|
1028
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1029
|
+
Description: import_smithy_client.expectString,
|
|
1030
|
+
ExecutablePath: import_smithy_client.expectString,
|
|
1031
|
+
Id: import_smithy_client.expectString,
|
|
1032
|
+
LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
|
|
1033
|
+
ReplicationStatuses: import_smithy_client._json,
|
|
1034
|
+
RuntimeEnvironment: import_smithy_client._json,
|
|
1035
|
+
Status: import_smithy_client.expectString,
|
|
1036
|
+
StatusReason: import_smithy_client.expectString
|
|
1037
|
+
});
|
|
1038
|
+
Object.assign(contents, doc);
|
|
1039
|
+
return contents;
|
|
1040
|
+
}, "de_GetApplicationCommand");
|
|
1041
|
+
var de_GetStreamGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1042
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1043
|
+
return de_CommandError(output, context);
|
|
1044
|
+
}
|
|
1045
|
+
const contents = (0, import_smithy_client.map)({
|
|
1046
|
+
$metadata: deserializeMetadata(output)
|
|
1047
|
+
});
|
|
1048
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1049
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1050
|
+
Arn: import_smithy_client.expectString,
|
|
1051
|
+
AssociatedApplications: import_smithy_client._json,
|
|
1052
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1053
|
+
DefaultApplication: import_smithy_client._json,
|
|
1054
|
+
Description: import_smithy_client.expectString,
|
|
1055
|
+
Id: import_smithy_client.expectString,
|
|
1056
|
+
LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
|
|
1057
|
+
LocationStates: import_smithy_client._json,
|
|
1058
|
+
Status: import_smithy_client.expectString,
|
|
1059
|
+
StatusReason: import_smithy_client.expectString,
|
|
1060
|
+
StreamClass: import_smithy_client.expectString
|
|
1061
|
+
});
|
|
1062
|
+
Object.assign(contents, doc);
|
|
1063
|
+
return contents;
|
|
1064
|
+
}, "de_GetStreamGroupCommand");
|
|
1065
|
+
var de_GetStreamSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1066
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1067
|
+
return de_CommandError(output, context);
|
|
1068
|
+
}
|
|
1069
|
+
const contents = (0, import_smithy_client.map)({
|
|
1070
|
+
$metadata: deserializeMetadata(output)
|
|
1071
|
+
});
|
|
1072
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1073
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1074
|
+
AdditionalEnvironmentVariables: import_smithy_client._json,
|
|
1075
|
+
AdditionalLaunchArgs: import_smithy_client._json,
|
|
1076
|
+
ApplicationArn: import_smithy_client.expectString,
|
|
1077
|
+
Arn: import_smithy_client.expectString,
|
|
1078
|
+
ConnectionTimeoutSeconds: import_smithy_client.expectInt32,
|
|
1079
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1080
|
+
Description: import_smithy_client.expectString,
|
|
1081
|
+
ExportFilesMetadata: import_smithy_client._json,
|
|
1082
|
+
LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
|
|
1083
|
+
Location: import_smithy_client.expectString,
|
|
1084
|
+
LogFileLocationUri: import_smithy_client.expectString,
|
|
1085
|
+
Protocol: import_smithy_client.expectString,
|
|
1086
|
+
SessionLengthSeconds: import_smithy_client.expectInt32,
|
|
1087
|
+
SignalRequest: import_smithy_client.expectString,
|
|
1088
|
+
SignalResponse: import_smithy_client.expectString,
|
|
1089
|
+
Status: import_smithy_client.expectString,
|
|
1090
|
+
StatusReason: import_smithy_client.expectString,
|
|
1091
|
+
StreamGroupId: import_smithy_client.expectString,
|
|
1092
|
+
UserId: import_smithy_client.expectString,
|
|
1093
|
+
WebSdkProtocolUrl: import_smithy_client.expectString
|
|
1094
|
+
});
|
|
1095
|
+
Object.assign(contents, doc);
|
|
1096
|
+
return contents;
|
|
1097
|
+
}, "de_GetStreamSessionCommand");
|
|
1098
|
+
var de_ListApplicationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1099
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1100
|
+
return de_CommandError(output, context);
|
|
1101
|
+
}
|
|
1102
|
+
const contents = (0, import_smithy_client.map)({
|
|
1103
|
+
$metadata: deserializeMetadata(output)
|
|
1104
|
+
});
|
|
1105
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1106
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1107
|
+
Items: /* @__PURE__ */ __name((_) => de_ApplicationSummaryList(_, context), "Items"),
|
|
1108
|
+
NextToken: import_smithy_client.expectString
|
|
1109
|
+
});
|
|
1110
|
+
Object.assign(contents, doc);
|
|
1111
|
+
return contents;
|
|
1112
|
+
}, "de_ListApplicationsCommand");
|
|
1113
|
+
var de_ListStreamGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1114
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1115
|
+
return de_CommandError(output, context);
|
|
1116
|
+
}
|
|
1117
|
+
const contents = (0, import_smithy_client.map)({
|
|
1118
|
+
$metadata: deserializeMetadata(output)
|
|
1119
|
+
});
|
|
1120
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1121
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1122
|
+
Items: /* @__PURE__ */ __name((_) => de_StreamGroupSummaryList(_, context), "Items"),
|
|
1123
|
+
NextToken: import_smithy_client.expectString
|
|
1124
|
+
});
|
|
1125
|
+
Object.assign(contents, doc);
|
|
1126
|
+
return contents;
|
|
1127
|
+
}, "de_ListStreamGroupsCommand");
|
|
1128
|
+
var de_ListStreamSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1129
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1130
|
+
return de_CommandError(output, context);
|
|
1131
|
+
}
|
|
1132
|
+
const contents = (0, import_smithy_client.map)({
|
|
1133
|
+
$metadata: deserializeMetadata(output)
|
|
1134
|
+
});
|
|
1135
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1136
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1137
|
+
Items: /* @__PURE__ */ __name((_) => de_StreamSessionSummaryList(_, context), "Items"),
|
|
1138
|
+
NextToken: import_smithy_client.expectString
|
|
1139
|
+
});
|
|
1140
|
+
Object.assign(contents, doc);
|
|
1141
|
+
return contents;
|
|
1142
|
+
}, "de_ListStreamSessionsCommand");
|
|
1143
|
+
var de_ListStreamSessionsByAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1144
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1145
|
+
return de_CommandError(output, context);
|
|
1146
|
+
}
|
|
1147
|
+
const contents = (0, import_smithy_client.map)({
|
|
1148
|
+
$metadata: deserializeMetadata(output)
|
|
1149
|
+
});
|
|
1150
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1151
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1152
|
+
Items: /* @__PURE__ */ __name((_) => de_StreamSessionSummaryList(_, context), "Items"),
|
|
1153
|
+
NextToken: import_smithy_client.expectString
|
|
1154
|
+
});
|
|
1155
|
+
Object.assign(contents, doc);
|
|
1156
|
+
return contents;
|
|
1157
|
+
}, "de_ListStreamSessionsByAccountCommand");
|
|
1158
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1159
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1160
|
+
return de_CommandError(output, context);
|
|
1161
|
+
}
|
|
1162
|
+
const contents = (0, import_smithy_client.map)({
|
|
1163
|
+
$metadata: deserializeMetadata(output)
|
|
1164
|
+
});
|
|
1165
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1166
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1167
|
+
Tags: import_smithy_client._json
|
|
1168
|
+
});
|
|
1169
|
+
Object.assign(contents, doc);
|
|
1170
|
+
return contents;
|
|
1171
|
+
}, "de_ListTagsForResourceCommand");
|
|
1172
|
+
var de_RemoveStreamGroupLocationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1173
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1174
|
+
return de_CommandError(output, context);
|
|
1175
|
+
}
|
|
1176
|
+
const contents = (0, import_smithy_client.map)({
|
|
1177
|
+
$metadata: deserializeMetadata(output)
|
|
1178
|
+
});
|
|
1179
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1180
|
+
return contents;
|
|
1181
|
+
}, "de_RemoveStreamGroupLocationsCommand");
|
|
1182
|
+
var de_StartStreamSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1183
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
1184
|
+
return de_CommandError(output, context);
|
|
1185
|
+
}
|
|
1186
|
+
const contents = (0, import_smithy_client.map)({
|
|
1187
|
+
$metadata: deserializeMetadata(output)
|
|
1188
|
+
});
|
|
1189
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1190
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1191
|
+
AdditionalEnvironmentVariables: import_smithy_client._json,
|
|
1192
|
+
AdditionalLaunchArgs: import_smithy_client._json,
|
|
1193
|
+
ApplicationArn: import_smithy_client.expectString,
|
|
1194
|
+
Arn: import_smithy_client.expectString,
|
|
1195
|
+
ConnectionTimeoutSeconds: import_smithy_client.expectInt32,
|
|
1196
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1197
|
+
Description: import_smithy_client.expectString,
|
|
1198
|
+
ExportFilesMetadata: import_smithy_client._json,
|
|
1199
|
+
LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
|
|
1200
|
+
Location: import_smithy_client.expectString,
|
|
1201
|
+
LogFileLocationUri: import_smithy_client.expectString,
|
|
1202
|
+
Protocol: import_smithy_client.expectString,
|
|
1203
|
+
SessionLengthSeconds: import_smithy_client.expectInt32,
|
|
1204
|
+
SignalRequest: import_smithy_client.expectString,
|
|
1205
|
+
SignalResponse: import_smithy_client.expectString,
|
|
1206
|
+
Status: import_smithy_client.expectString,
|
|
1207
|
+
StatusReason: import_smithy_client.expectString,
|
|
1208
|
+
StreamGroupId: import_smithy_client.expectString,
|
|
1209
|
+
UserId: import_smithy_client.expectString,
|
|
1210
|
+
WebSdkProtocolUrl: import_smithy_client.expectString
|
|
1211
|
+
});
|
|
1212
|
+
Object.assign(contents, doc);
|
|
1213
|
+
return contents;
|
|
1214
|
+
}, "de_StartStreamSessionCommand");
|
|
1215
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1216
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1217
|
+
return de_CommandError(output, context);
|
|
1218
|
+
}
|
|
1219
|
+
const contents = (0, import_smithy_client.map)({
|
|
1220
|
+
$metadata: deserializeMetadata(output)
|
|
1221
|
+
});
|
|
1222
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1223
|
+
return contents;
|
|
1224
|
+
}, "de_TagResourceCommand");
|
|
1225
|
+
var de_TerminateStreamSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1226
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1227
|
+
return de_CommandError(output, context);
|
|
1228
|
+
}
|
|
1229
|
+
const contents = (0, import_smithy_client.map)({
|
|
1230
|
+
$metadata: deserializeMetadata(output)
|
|
1231
|
+
});
|
|
1232
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1233
|
+
return contents;
|
|
1234
|
+
}, "de_TerminateStreamSessionCommand");
|
|
1235
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1236
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1237
|
+
return de_CommandError(output, context);
|
|
1238
|
+
}
|
|
1239
|
+
const contents = (0, import_smithy_client.map)({
|
|
1240
|
+
$metadata: deserializeMetadata(output)
|
|
1241
|
+
});
|
|
1242
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1243
|
+
return contents;
|
|
1244
|
+
}, "de_UntagResourceCommand");
|
|
1245
|
+
var de_UpdateApplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1246
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1247
|
+
return de_CommandError(output, context);
|
|
1248
|
+
}
|
|
1249
|
+
const contents = (0, import_smithy_client.map)({
|
|
1250
|
+
$metadata: deserializeMetadata(output)
|
|
1251
|
+
});
|
|
1252
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1253
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1254
|
+
ApplicationLogOutputUri: import_smithy_client.expectString,
|
|
1255
|
+
ApplicationLogPaths: import_smithy_client._json,
|
|
1256
|
+
ApplicationSourceUri: import_smithy_client.expectString,
|
|
1257
|
+
Arn: import_smithy_client.expectString,
|
|
1258
|
+
AssociatedStreamGroups: import_smithy_client._json,
|
|
1259
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1260
|
+
Description: import_smithy_client.expectString,
|
|
1261
|
+
ExecutablePath: import_smithy_client.expectString,
|
|
1262
|
+
Id: import_smithy_client.expectString,
|
|
1263
|
+
LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
|
|
1264
|
+
ReplicationStatuses: import_smithy_client._json,
|
|
1265
|
+
RuntimeEnvironment: import_smithy_client._json,
|
|
1266
|
+
Status: import_smithy_client.expectString,
|
|
1267
|
+
StatusReason: import_smithy_client.expectString
|
|
1268
|
+
});
|
|
1269
|
+
Object.assign(contents, doc);
|
|
1270
|
+
return contents;
|
|
1271
|
+
}, "de_UpdateApplicationCommand");
|
|
1272
|
+
var de_UpdateStreamGroupCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1273
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1274
|
+
return de_CommandError(output, context);
|
|
1275
|
+
}
|
|
1276
|
+
const contents = (0, import_smithy_client.map)({
|
|
1277
|
+
$metadata: deserializeMetadata(output)
|
|
1278
|
+
});
|
|
1279
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
1280
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1281
|
+
Arn: import_smithy_client.expectString,
|
|
1282
|
+
AssociatedApplications: import_smithy_client._json,
|
|
1283
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1284
|
+
DefaultApplication: import_smithy_client._json,
|
|
1285
|
+
Description: import_smithy_client.expectString,
|
|
1286
|
+
Id: import_smithy_client.expectString,
|
|
1287
|
+
LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
|
|
1288
|
+
LocationStates: import_smithy_client._json,
|
|
1289
|
+
Status: import_smithy_client.expectString,
|
|
1290
|
+
StatusReason: import_smithy_client.expectString,
|
|
1291
|
+
StreamClass: import_smithy_client.expectString
|
|
1292
|
+
});
|
|
1293
|
+
Object.assign(contents, doc);
|
|
1294
|
+
return contents;
|
|
1295
|
+
}, "de_UpdateStreamGroupCommand");
|
|
1296
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1297
|
+
const parsedOutput = {
|
|
1298
|
+
...output,
|
|
1299
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
1300
|
+
};
|
|
1301
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
1302
|
+
switch (errorCode) {
|
|
1303
|
+
case "AccessDeniedException":
|
|
1304
|
+
case "com.amazonaws.gameliftstreams#AccessDeniedException":
|
|
1305
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1306
|
+
case "InternalServerException":
|
|
1307
|
+
case "com.amazonaws.gameliftstreams#InternalServerException":
|
|
1308
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1309
|
+
case "ResourceNotFoundException":
|
|
1310
|
+
case "com.amazonaws.gameliftstreams#ResourceNotFoundException":
|
|
1311
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1312
|
+
case "ServiceQuotaExceededException":
|
|
1313
|
+
case "com.amazonaws.gameliftstreams#ServiceQuotaExceededException":
|
|
1314
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1315
|
+
case "ThrottlingException":
|
|
1316
|
+
case "com.amazonaws.gameliftstreams#ThrottlingException":
|
|
1317
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1318
|
+
case "ValidationException":
|
|
1319
|
+
case "com.amazonaws.gameliftstreams#ValidationException":
|
|
1320
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1321
|
+
case "ConflictException":
|
|
1322
|
+
case "com.amazonaws.gameliftstreams#ConflictException":
|
|
1323
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1324
|
+
default:
|
|
1325
|
+
const parsedBody = parsedOutput.body;
|
|
1326
|
+
return throwDefaultError({
|
|
1327
|
+
output,
|
|
1328
|
+
parsedBody,
|
|
1329
|
+
errorCode
|
|
1330
|
+
});
|
|
1331
|
+
}
|
|
1332
|
+
}, "de_CommandError");
|
|
1333
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(GameLiftStreamsServiceException);
|
|
1334
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1335
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1336
|
+
const data = parsedOutput.body;
|
|
1337
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1338
|
+
Message: import_smithy_client.expectString
|
|
1339
|
+
});
|
|
1340
|
+
Object.assign(contents, doc);
|
|
1341
|
+
const exception = new AccessDeniedException({
|
|
1342
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1343
|
+
...contents
|
|
1344
|
+
});
|
|
1345
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1346
|
+
}, "de_AccessDeniedExceptionRes");
|
|
1347
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1348
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1349
|
+
const data = parsedOutput.body;
|
|
1350
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1351
|
+
Message: import_smithy_client.expectString
|
|
1352
|
+
});
|
|
1353
|
+
Object.assign(contents, doc);
|
|
1354
|
+
const exception = new ConflictException({
|
|
1355
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1356
|
+
...contents
|
|
1357
|
+
});
|
|
1358
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1359
|
+
}, "de_ConflictExceptionRes");
|
|
1360
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1361
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1362
|
+
const data = parsedOutput.body;
|
|
1363
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1364
|
+
Message: import_smithy_client.expectString
|
|
1365
|
+
});
|
|
1366
|
+
Object.assign(contents, doc);
|
|
1367
|
+
const exception = new InternalServerException({
|
|
1368
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1369
|
+
...contents
|
|
1370
|
+
});
|
|
1371
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1372
|
+
}, "de_InternalServerExceptionRes");
|
|
1373
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1374
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1375
|
+
const data = parsedOutput.body;
|
|
1376
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1377
|
+
Message: import_smithy_client.expectString
|
|
1378
|
+
});
|
|
1379
|
+
Object.assign(contents, doc);
|
|
1380
|
+
const exception = new ResourceNotFoundException({
|
|
1381
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1382
|
+
...contents
|
|
1383
|
+
});
|
|
1384
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1385
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1386
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1387
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1388
|
+
const data = parsedOutput.body;
|
|
1389
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1390
|
+
Message: import_smithy_client.expectString
|
|
1391
|
+
});
|
|
1392
|
+
Object.assign(contents, doc);
|
|
1393
|
+
const exception = new ServiceQuotaExceededException({
|
|
1394
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1395
|
+
...contents
|
|
1396
|
+
});
|
|
1397
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1398
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1399
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1400
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1401
|
+
const data = parsedOutput.body;
|
|
1402
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1403
|
+
Message: import_smithy_client.expectString
|
|
1404
|
+
});
|
|
1405
|
+
Object.assign(contents, doc);
|
|
1406
|
+
const exception = new ThrottlingException({
|
|
1407
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1408
|
+
...contents
|
|
1409
|
+
});
|
|
1410
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1411
|
+
}, "de_ThrottlingExceptionRes");
|
|
1412
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1413
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1414
|
+
const data = parsedOutput.body;
|
|
1415
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1416
|
+
Message: import_smithy_client.expectString
|
|
1417
|
+
});
|
|
1418
|
+
Object.assign(contents, doc);
|
|
1419
|
+
const exception = new ValidationException({
|
|
1420
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1421
|
+
...contents
|
|
1422
|
+
});
|
|
1423
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1424
|
+
}, "de_ValidationExceptionRes");
|
|
1425
|
+
var de_ApplicationSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1426
|
+
return (0, import_smithy_client.take)(output, {
|
|
1427
|
+
Arn: import_smithy_client.expectString,
|
|
1428
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1429
|
+
Description: import_smithy_client.expectString,
|
|
1430
|
+
Id: import_smithy_client.expectString,
|
|
1431
|
+
LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
|
|
1432
|
+
RuntimeEnvironment: import_smithy_client._json,
|
|
1433
|
+
Status: import_smithy_client.expectString
|
|
1434
|
+
});
|
|
1435
|
+
}, "de_ApplicationSummary");
|
|
1436
|
+
var de_ApplicationSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
1437
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1438
|
+
return de_ApplicationSummary(entry, context);
|
|
1439
|
+
});
|
|
1440
|
+
return retVal;
|
|
1441
|
+
}, "de_ApplicationSummaryList");
|
|
1442
|
+
var de_StreamGroupSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1443
|
+
return (0, import_smithy_client.take)(output, {
|
|
1444
|
+
Arn: import_smithy_client.expectString,
|
|
1445
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1446
|
+
DefaultApplication: import_smithy_client._json,
|
|
1447
|
+
Description: import_smithy_client.expectString,
|
|
1448
|
+
Id: import_smithy_client.expectString,
|
|
1449
|
+
LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
|
|
1450
|
+
Status: import_smithy_client.expectString,
|
|
1451
|
+
StreamClass: import_smithy_client.expectString
|
|
1452
|
+
});
|
|
1453
|
+
}, "de_StreamGroupSummary");
|
|
1454
|
+
var de_StreamGroupSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
1455
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1456
|
+
return de_StreamGroupSummary(entry, context);
|
|
1457
|
+
});
|
|
1458
|
+
return retVal;
|
|
1459
|
+
}, "de_StreamGroupSummaryList");
|
|
1460
|
+
var de_StreamSessionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1461
|
+
return (0, import_smithy_client.take)(output, {
|
|
1462
|
+
ApplicationArn: import_smithy_client.expectString,
|
|
1463
|
+
Arn: import_smithy_client.expectString,
|
|
1464
|
+
CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
|
|
1465
|
+
ExportFilesMetadata: import_smithy_client._json,
|
|
1466
|
+
LastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "LastUpdatedAt"),
|
|
1467
|
+
Location: import_smithy_client.expectString,
|
|
1468
|
+
Protocol: import_smithy_client.expectString,
|
|
1469
|
+
Status: import_smithy_client.expectString,
|
|
1470
|
+
UserId: import_smithy_client.expectString
|
|
1471
|
+
});
|
|
1472
|
+
}, "de_StreamSessionSummary");
|
|
1473
|
+
var de_StreamSessionSummaryList = /* @__PURE__ */ __name((output, context) => {
|
|
1474
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1475
|
+
return de_StreamSessionSummary(entry, context);
|
|
1476
|
+
});
|
|
1477
|
+
return retVal;
|
|
1478
|
+
}, "de_StreamSessionSummaryList");
|
|
1479
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1480
|
+
httpStatusCode: output.statusCode,
|
|
1481
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1482
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1483
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1484
|
+
}), "deserializeMetadata");
|
|
1485
|
+
var _EFS = "ExportFilesStatus";
|
|
1486
|
+
var _L = "Locations";
|
|
1487
|
+
var _MR = "MaxResults";
|
|
1488
|
+
var _NT = "NextToken";
|
|
1489
|
+
var _S = "Status";
|
|
1490
|
+
var _TK = "TagKeys";
|
|
1491
|
+
var _l = "locations";
|
|
1492
|
+
var _tK = "tagKeys";
|
|
1493
|
+
|
|
1494
|
+
// src/commands/AddStreamGroupLocationsCommand.ts
|
|
1495
|
+
var AddStreamGroupLocationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1496
|
+
return [
|
|
1497
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1498
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1499
|
+
];
|
|
1500
|
+
}).s("GameLiftStreams", "AddStreamGroupLocations", {}).n("GameLiftStreamsClient", "AddStreamGroupLocationsCommand").f(void 0, void 0).ser(se_AddStreamGroupLocationsCommand).de(de_AddStreamGroupLocationsCommand).build() {
|
|
1501
|
+
static {
|
|
1502
|
+
__name(this, "AddStreamGroupLocationsCommand");
|
|
1503
|
+
}
|
|
1504
|
+
};
|
|
1505
|
+
|
|
1506
|
+
// src/commands/AssociateApplicationsCommand.ts
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
|
|
1510
|
+
var AssociateApplicationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1511
|
+
return [
|
|
1512
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1513
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1514
|
+
];
|
|
1515
|
+
}).s("GameLiftStreams", "AssociateApplications", {}).n("GameLiftStreamsClient", "AssociateApplicationsCommand").f(void 0, void 0).ser(se_AssociateApplicationsCommand).de(de_AssociateApplicationsCommand).build() {
|
|
1516
|
+
static {
|
|
1517
|
+
__name(this, "AssociateApplicationsCommand");
|
|
1518
|
+
}
|
|
1519
|
+
};
|
|
1520
|
+
|
|
1521
|
+
// src/commands/CreateApplicationCommand.ts
|
|
1522
|
+
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
var CreateApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1526
|
+
return [
|
|
1527
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1528
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1529
|
+
];
|
|
1530
|
+
}).s("GameLiftStreams", "CreateApplication", {}).n("GameLiftStreamsClient", "CreateApplicationCommand").f(void 0, void 0).ser(se_CreateApplicationCommand).de(de_CreateApplicationCommand).build() {
|
|
1531
|
+
static {
|
|
1532
|
+
__name(this, "CreateApplicationCommand");
|
|
1533
|
+
}
|
|
1534
|
+
};
|
|
1535
|
+
|
|
1536
|
+
// src/commands/CreateStreamGroupCommand.ts
|
|
1537
|
+
|
|
1538
|
+
|
|
1539
|
+
|
|
1540
|
+
var CreateStreamGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1541
|
+
return [
|
|
1542
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1543
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1544
|
+
];
|
|
1545
|
+
}).s("GameLiftStreams", "CreateStreamGroup", {}).n("GameLiftStreamsClient", "CreateStreamGroupCommand").f(void 0, void 0).ser(se_CreateStreamGroupCommand).de(de_CreateStreamGroupCommand).build() {
|
|
1546
|
+
static {
|
|
1547
|
+
__name(this, "CreateStreamGroupCommand");
|
|
1548
|
+
}
|
|
1549
|
+
};
|
|
1550
|
+
|
|
1551
|
+
// src/commands/CreateStreamSessionConnectionCommand.ts
|
|
1552
|
+
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
var CreateStreamSessionConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1556
|
+
return [
|
|
1557
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1558
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1559
|
+
];
|
|
1560
|
+
}).s("GameLiftStreams", "CreateStreamSessionConnection", {}).n("GameLiftStreamsClient", "CreateStreamSessionConnectionCommand").f(CreateStreamSessionConnectionInputFilterSensitiveLog, CreateStreamSessionConnectionOutputFilterSensitiveLog).ser(se_CreateStreamSessionConnectionCommand).de(de_CreateStreamSessionConnectionCommand).build() {
|
|
1561
|
+
static {
|
|
1562
|
+
__name(this, "CreateStreamSessionConnectionCommand");
|
|
1563
|
+
}
|
|
1564
|
+
};
|
|
1565
|
+
|
|
1566
|
+
// src/commands/DeleteApplicationCommand.ts
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
var DeleteApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1571
|
+
return [
|
|
1572
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1573
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1574
|
+
];
|
|
1575
|
+
}).s("GameLiftStreams", "DeleteApplication", {}).n("GameLiftStreamsClient", "DeleteApplicationCommand").f(void 0, void 0).ser(se_DeleteApplicationCommand).de(de_DeleteApplicationCommand).build() {
|
|
1576
|
+
static {
|
|
1577
|
+
__name(this, "DeleteApplicationCommand");
|
|
1578
|
+
}
|
|
1579
|
+
};
|
|
1580
|
+
|
|
1581
|
+
// src/commands/DeleteStreamGroupCommand.ts
|
|
1582
|
+
|
|
1583
|
+
|
|
1584
|
+
|
|
1585
|
+
var DeleteStreamGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1586
|
+
return [
|
|
1587
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1588
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1589
|
+
];
|
|
1590
|
+
}).s("GameLiftStreams", "DeleteStreamGroup", {}).n("GameLiftStreamsClient", "DeleteStreamGroupCommand").f(void 0, void 0).ser(se_DeleteStreamGroupCommand).de(de_DeleteStreamGroupCommand).build() {
|
|
1591
|
+
static {
|
|
1592
|
+
__name(this, "DeleteStreamGroupCommand");
|
|
1593
|
+
}
|
|
1594
|
+
};
|
|
1595
|
+
|
|
1596
|
+
// src/commands/DisassociateApplicationsCommand.ts
|
|
1597
|
+
|
|
1598
|
+
|
|
1599
|
+
|
|
1600
|
+
var DisassociateApplicationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1601
|
+
return [
|
|
1602
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1603
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1604
|
+
];
|
|
1605
|
+
}).s("GameLiftStreams", "DisassociateApplications", {}).n("GameLiftStreamsClient", "DisassociateApplicationsCommand").f(void 0, void 0).ser(se_DisassociateApplicationsCommand).de(de_DisassociateApplicationsCommand).build() {
|
|
1606
|
+
static {
|
|
1607
|
+
__name(this, "DisassociateApplicationsCommand");
|
|
1608
|
+
}
|
|
1609
|
+
};
|
|
1610
|
+
|
|
1611
|
+
// src/commands/ExportStreamSessionFilesCommand.ts
|
|
1612
|
+
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
var ExportStreamSessionFilesCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1616
|
+
return [
|
|
1617
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1618
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1619
|
+
];
|
|
1620
|
+
}).s("GameLiftStreams", "ExportStreamSessionFiles", {}).n("GameLiftStreamsClient", "ExportStreamSessionFilesCommand").f(void 0, void 0).ser(se_ExportStreamSessionFilesCommand).de(de_ExportStreamSessionFilesCommand).build() {
|
|
1621
|
+
static {
|
|
1622
|
+
__name(this, "ExportStreamSessionFilesCommand");
|
|
1623
|
+
}
|
|
1624
|
+
};
|
|
1625
|
+
|
|
1626
|
+
// src/commands/GetApplicationCommand.ts
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
|
|
1630
|
+
var GetApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1631
|
+
return [
|
|
1632
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1633
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1634
|
+
];
|
|
1635
|
+
}).s("GameLiftStreams", "GetApplication", {}).n("GameLiftStreamsClient", "GetApplicationCommand").f(void 0, void 0).ser(se_GetApplicationCommand).de(de_GetApplicationCommand).build() {
|
|
1636
|
+
static {
|
|
1637
|
+
__name(this, "GetApplicationCommand");
|
|
1638
|
+
}
|
|
1639
|
+
};
|
|
1640
|
+
|
|
1641
|
+
// src/commands/GetStreamGroupCommand.ts
|
|
1642
|
+
|
|
1643
|
+
|
|
1644
|
+
|
|
1645
|
+
var GetStreamGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1646
|
+
return [
|
|
1647
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1648
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1649
|
+
];
|
|
1650
|
+
}).s("GameLiftStreams", "GetStreamGroup", {}).n("GameLiftStreamsClient", "GetStreamGroupCommand").f(void 0, void 0).ser(se_GetStreamGroupCommand).de(de_GetStreamGroupCommand).build() {
|
|
1651
|
+
static {
|
|
1652
|
+
__name(this, "GetStreamGroupCommand");
|
|
1653
|
+
}
|
|
1654
|
+
};
|
|
1655
|
+
|
|
1656
|
+
// src/commands/GetStreamSessionCommand.ts
|
|
1657
|
+
|
|
1658
|
+
|
|
1659
|
+
|
|
1660
|
+
var GetStreamSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1661
|
+
return [
|
|
1662
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1663
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1664
|
+
];
|
|
1665
|
+
}).s("GameLiftStreams", "GetStreamSession", {}).n("GameLiftStreamsClient", "GetStreamSessionCommand").f(void 0, GetStreamSessionOutputFilterSensitiveLog).ser(se_GetStreamSessionCommand).de(de_GetStreamSessionCommand).build() {
|
|
1666
|
+
static {
|
|
1667
|
+
__name(this, "GetStreamSessionCommand");
|
|
1668
|
+
}
|
|
1669
|
+
};
|
|
1670
|
+
|
|
1671
|
+
// src/commands/ListApplicationsCommand.ts
|
|
1672
|
+
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
var ListApplicationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1676
|
+
return [
|
|
1677
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1678
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1679
|
+
];
|
|
1680
|
+
}).s("GameLiftStreams", "ListApplications", {}).n("GameLiftStreamsClient", "ListApplicationsCommand").f(void 0, void 0).ser(se_ListApplicationsCommand).de(de_ListApplicationsCommand).build() {
|
|
1681
|
+
static {
|
|
1682
|
+
__name(this, "ListApplicationsCommand");
|
|
1683
|
+
}
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1686
|
+
// src/commands/ListStreamGroupsCommand.ts
|
|
1687
|
+
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
var ListStreamGroupsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1691
|
+
return [
|
|
1692
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1693
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1694
|
+
];
|
|
1695
|
+
}).s("GameLiftStreams", "ListStreamGroups", {}).n("GameLiftStreamsClient", "ListStreamGroupsCommand").f(void 0, void 0).ser(se_ListStreamGroupsCommand).de(de_ListStreamGroupsCommand).build() {
|
|
1696
|
+
static {
|
|
1697
|
+
__name(this, "ListStreamGroupsCommand");
|
|
1698
|
+
}
|
|
1699
|
+
};
|
|
1700
|
+
|
|
1701
|
+
// src/commands/ListStreamSessionsByAccountCommand.ts
|
|
1702
|
+
|
|
1703
|
+
|
|
1704
|
+
|
|
1705
|
+
var ListStreamSessionsByAccountCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1706
|
+
return [
|
|
1707
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1708
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1709
|
+
];
|
|
1710
|
+
}).s("GameLiftStreams", "ListStreamSessionsByAccount", {}).n("GameLiftStreamsClient", "ListStreamSessionsByAccountCommand").f(void 0, void 0).ser(se_ListStreamSessionsByAccountCommand).de(de_ListStreamSessionsByAccountCommand).build() {
|
|
1711
|
+
static {
|
|
1712
|
+
__name(this, "ListStreamSessionsByAccountCommand");
|
|
1713
|
+
}
|
|
1714
|
+
};
|
|
1715
|
+
|
|
1716
|
+
// src/commands/ListStreamSessionsCommand.ts
|
|
1717
|
+
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
var ListStreamSessionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1721
|
+
return [
|
|
1722
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1723
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1724
|
+
];
|
|
1725
|
+
}).s("GameLiftStreams", "ListStreamSessions", {}).n("GameLiftStreamsClient", "ListStreamSessionsCommand").f(void 0, void 0).ser(se_ListStreamSessionsCommand).de(de_ListStreamSessionsCommand).build() {
|
|
1726
|
+
static {
|
|
1727
|
+
__name(this, "ListStreamSessionsCommand");
|
|
1728
|
+
}
|
|
1729
|
+
};
|
|
1730
|
+
|
|
1731
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1732
|
+
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1736
|
+
return [
|
|
1737
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1738
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1739
|
+
];
|
|
1740
|
+
}).s("GameLiftStreams", "ListTagsForResource", {}).n("GameLiftStreamsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1741
|
+
static {
|
|
1742
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1743
|
+
}
|
|
1744
|
+
};
|
|
1745
|
+
|
|
1746
|
+
// src/commands/RemoveStreamGroupLocationsCommand.ts
|
|
1747
|
+
|
|
1748
|
+
|
|
1749
|
+
|
|
1750
|
+
var RemoveStreamGroupLocationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1751
|
+
return [
|
|
1752
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1753
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1754
|
+
];
|
|
1755
|
+
}).s("GameLiftStreams", "RemoveStreamGroupLocations", {}).n("GameLiftStreamsClient", "RemoveStreamGroupLocationsCommand").f(void 0, void 0).ser(se_RemoveStreamGroupLocationsCommand).de(de_RemoveStreamGroupLocationsCommand).build() {
|
|
1756
|
+
static {
|
|
1757
|
+
__name(this, "RemoveStreamGroupLocationsCommand");
|
|
1758
|
+
}
|
|
1759
|
+
};
|
|
1760
|
+
|
|
1761
|
+
// src/commands/StartStreamSessionCommand.ts
|
|
1762
|
+
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
var StartStreamSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1766
|
+
return [
|
|
1767
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1768
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1769
|
+
];
|
|
1770
|
+
}).s("GameLiftStreams", "StartStreamSession", {}).n("GameLiftStreamsClient", "StartStreamSessionCommand").f(StartStreamSessionInputFilterSensitiveLog, StartStreamSessionOutputFilterSensitiveLog).ser(se_StartStreamSessionCommand).de(de_StartStreamSessionCommand).build() {
|
|
1771
|
+
static {
|
|
1772
|
+
__name(this, "StartStreamSessionCommand");
|
|
1773
|
+
}
|
|
1774
|
+
};
|
|
1775
|
+
|
|
1776
|
+
// src/commands/TagResourceCommand.ts
|
|
1777
|
+
|
|
1778
|
+
|
|
1779
|
+
|
|
1780
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1781
|
+
return [
|
|
1782
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1783
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1784
|
+
];
|
|
1785
|
+
}).s("GameLiftStreams", "TagResource", {}).n("GameLiftStreamsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1786
|
+
static {
|
|
1787
|
+
__name(this, "TagResourceCommand");
|
|
1788
|
+
}
|
|
1789
|
+
};
|
|
1790
|
+
|
|
1791
|
+
// src/commands/TerminateStreamSessionCommand.ts
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
|
|
1795
|
+
var TerminateStreamSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1796
|
+
return [
|
|
1797
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1798
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1799
|
+
];
|
|
1800
|
+
}).s("GameLiftStreams", "TerminateStreamSession", {}).n("GameLiftStreamsClient", "TerminateStreamSessionCommand").f(void 0, void 0).ser(se_TerminateStreamSessionCommand).de(de_TerminateStreamSessionCommand).build() {
|
|
1801
|
+
static {
|
|
1802
|
+
__name(this, "TerminateStreamSessionCommand");
|
|
1803
|
+
}
|
|
1804
|
+
};
|
|
1805
|
+
|
|
1806
|
+
// src/commands/UntagResourceCommand.ts
|
|
1807
|
+
|
|
1808
|
+
|
|
1809
|
+
|
|
1810
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1811
|
+
return [
|
|
1812
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1813
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1814
|
+
];
|
|
1815
|
+
}).s("GameLiftStreams", "UntagResource", {}).n("GameLiftStreamsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1816
|
+
static {
|
|
1817
|
+
__name(this, "UntagResourceCommand");
|
|
1818
|
+
}
|
|
1819
|
+
};
|
|
1820
|
+
|
|
1821
|
+
// src/commands/UpdateApplicationCommand.ts
|
|
1822
|
+
|
|
1823
|
+
|
|
1824
|
+
|
|
1825
|
+
var UpdateApplicationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1826
|
+
return [
|
|
1827
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1828
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1829
|
+
];
|
|
1830
|
+
}).s("GameLiftStreams", "UpdateApplication", {}).n("GameLiftStreamsClient", "UpdateApplicationCommand").f(void 0, void 0).ser(se_UpdateApplicationCommand).de(de_UpdateApplicationCommand).build() {
|
|
1831
|
+
static {
|
|
1832
|
+
__name(this, "UpdateApplicationCommand");
|
|
1833
|
+
}
|
|
1834
|
+
};
|
|
1835
|
+
|
|
1836
|
+
// src/commands/UpdateStreamGroupCommand.ts
|
|
1837
|
+
|
|
1838
|
+
|
|
1839
|
+
|
|
1840
|
+
var UpdateStreamGroupCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1841
|
+
return [
|
|
1842
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1843
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1844
|
+
];
|
|
1845
|
+
}).s("GameLiftStreams", "UpdateStreamGroup", {}).n("GameLiftStreamsClient", "UpdateStreamGroupCommand").f(void 0, void 0).ser(se_UpdateStreamGroupCommand).de(de_UpdateStreamGroupCommand).build() {
|
|
1846
|
+
static {
|
|
1847
|
+
__name(this, "UpdateStreamGroupCommand");
|
|
1848
|
+
}
|
|
1849
|
+
};
|
|
1850
|
+
|
|
1851
|
+
// src/GameLiftStreams.ts
|
|
1852
|
+
var commands = {
|
|
1853
|
+
AddStreamGroupLocationsCommand,
|
|
1854
|
+
AssociateApplicationsCommand,
|
|
1855
|
+
CreateApplicationCommand,
|
|
1856
|
+
CreateStreamGroupCommand,
|
|
1857
|
+
CreateStreamSessionConnectionCommand,
|
|
1858
|
+
DeleteApplicationCommand,
|
|
1859
|
+
DeleteStreamGroupCommand,
|
|
1860
|
+
DisassociateApplicationsCommand,
|
|
1861
|
+
ExportStreamSessionFilesCommand,
|
|
1862
|
+
GetApplicationCommand,
|
|
1863
|
+
GetStreamGroupCommand,
|
|
1864
|
+
GetStreamSessionCommand,
|
|
1865
|
+
ListApplicationsCommand,
|
|
1866
|
+
ListStreamGroupsCommand,
|
|
1867
|
+
ListStreamSessionsCommand,
|
|
1868
|
+
ListStreamSessionsByAccountCommand,
|
|
1869
|
+
ListTagsForResourceCommand,
|
|
1870
|
+
RemoveStreamGroupLocationsCommand,
|
|
1871
|
+
StartStreamSessionCommand,
|
|
1872
|
+
TagResourceCommand,
|
|
1873
|
+
TerminateStreamSessionCommand,
|
|
1874
|
+
UntagResourceCommand,
|
|
1875
|
+
UpdateApplicationCommand,
|
|
1876
|
+
UpdateStreamGroupCommand
|
|
1877
|
+
};
|
|
1878
|
+
var GameLiftStreams = class extends GameLiftStreamsClient {
|
|
1879
|
+
static {
|
|
1880
|
+
__name(this, "GameLiftStreams");
|
|
1881
|
+
}
|
|
1882
|
+
};
|
|
1883
|
+
(0, import_smithy_client.createAggregatedClient)(commands, GameLiftStreams);
|
|
1884
|
+
|
|
1885
|
+
// src/pagination/ListApplicationsPaginator.ts
|
|
1886
|
+
|
|
1887
|
+
var paginateListApplications = (0, import_core.createPaginator)(GameLiftStreamsClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1888
|
+
|
|
1889
|
+
// src/pagination/ListStreamGroupsPaginator.ts
|
|
1890
|
+
|
|
1891
|
+
var paginateListStreamGroups = (0, import_core.createPaginator)(GameLiftStreamsClient, ListStreamGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1892
|
+
|
|
1893
|
+
// src/pagination/ListStreamSessionsByAccountPaginator.ts
|
|
1894
|
+
|
|
1895
|
+
var paginateListStreamSessionsByAccount = (0, import_core.createPaginator)(GameLiftStreamsClient, ListStreamSessionsByAccountCommand, "NextToken", "NextToken", "MaxResults");
|
|
1896
|
+
|
|
1897
|
+
// src/pagination/ListStreamSessionsPaginator.ts
|
|
1898
|
+
|
|
1899
|
+
var paginateListStreamSessions = (0, import_core.createPaginator)(GameLiftStreamsClient, ListStreamSessionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1900
|
+
|
|
1901
|
+
// src/waiters/waitForApplicationDeleted.ts
|
|
1902
|
+
var import_util_waiter = require("@smithy/util-waiter");
|
|
1903
|
+
var checkState = /* @__PURE__ */ __name(async (client, input) => {
|
|
1904
|
+
let reason;
|
|
1905
|
+
try {
|
|
1906
|
+
const result = await client.send(new GetApplicationCommand(input));
|
|
1907
|
+
reason = result;
|
|
1908
|
+
} catch (exception) {
|
|
1909
|
+
reason = exception;
|
|
1910
|
+
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
1911
|
+
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
1915
|
+
}, "checkState");
|
|
1916
|
+
var waitForApplicationDeleted = /* @__PURE__ */ __name(async (params, input) => {
|
|
1917
|
+
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
1918
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
1919
|
+
}, "waitForApplicationDeleted");
|
|
1920
|
+
var waitUntilApplicationDeleted = /* @__PURE__ */ __name(async (params, input) => {
|
|
1921
|
+
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
1922
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState);
|
|
1923
|
+
return (0, import_util_waiter.checkExceptions)(result);
|
|
1924
|
+
}, "waitUntilApplicationDeleted");
|
|
1925
|
+
|
|
1926
|
+
// src/waiters/waitForApplicationReady.ts
|
|
1927
|
+
|
|
1928
|
+
var checkState2 = /* @__PURE__ */ __name(async (client, input) => {
|
|
1929
|
+
let reason;
|
|
1930
|
+
try {
|
|
1931
|
+
const result = await client.send(new GetApplicationCommand(input));
|
|
1932
|
+
reason = result;
|
|
1933
|
+
try {
|
|
1934
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
1935
|
+
return result.Status;
|
|
1936
|
+
}, "returnComparator");
|
|
1937
|
+
if (returnComparator() === "READY") {
|
|
1938
|
+
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
1939
|
+
}
|
|
1940
|
+
} catch (e) {
|
|
1941
|
+
}
|
|
1942
|
+
try {
|
|
1943
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
1944
|
+
return result.Status;
|
|
1945
|
+
}, "returnComparator");
|
|
1946
|
+
if (returnComparator() === "ERROR") {
|
|
1947
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
1948
|
+
}
|
|
1949
|
+
} catch (e) {
|
|
1950
|
+
}
|
|
1951
|
+
} catch (exception) {
|
|
1952
|
+
reason = exception;
|
|
1953
|
+
}
|
|
1954
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
1955
|
+
}, "checkState");
|
|
1956
|
+
var waitForApplicationReady = /* @__PURE__ */ __name(async (params, input) => {
|
|
1957
|
+
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
1958
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);
|
|
1959
|
+
}, "waitForApplicationReady");
|
|
1960
|
+
var waitUntilApplicationReady = /* @__PURE__ */ __name(async (params, input) => {
|
|
1961
|
+
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
1962
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState2);
|
|
1963
|
+
return (0, import_util_waiter.checkExceptions)(result);
|
|
1964
|
+
}, "waitUntilApplicationReady");
|
|
1965
|
+
|
|
1966
|
+
// src/waiters/waitForStreamGroupActive.ts
|
|
1967
|
+
|
|
1968
|
+
var checkState3 = /* @__PURE__ */ __name(async (client, input) => {
|
|
1969
|
+
let reason;
|
|
1970
|
+
try {
|
|
1971
|
+
const result = await client.send(new GetStreamGroupCommand(input));
|
|
1972
|
+
reason = result;
|
|
1973
|
+
try {
|
|
1974
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
1975
|
+
return result.Status;
|
|
1976
|
+
}, "returnComparator");
|
|
1977
|
+
if (returnComparator() === "ACTIVE") {
|
|
1978
|
+
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
1979
|
+
}
|
|
1980
|
+
} catch (e) {
|
|
1981
|
+
}
|
|
1982
|
+
try {
|
|
1983
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
1984
|
+
return result.Status;
|
|
1985
|
+
}, "returnComparator");
|
|
1986
|
+
if (returnComparator() === "ERROR") {
|
|
1987
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
1988
|
+
}
|
|
1989
|
+
} catch (e) {
|
|
1990
|
+
}
|
|
1991
|
+
try {
|
|
1992
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
1993
|
+
return result.Status;
|
|
1994
|
+
}, "returnComparator");
|
|
1995
|
+
if (returnComparator() === "ACTIVE_WITH_ERRORS") {
|
|
1996
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
1997
|
+
}
|
|
1998
|
+
} catch (e) {
|
|
1999
|
+
}
|
|
2000
|
+
try {
|
|
2001
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
2002
|
+
return result.Status;
|
|
2003
|
+
}, "returnComparator");
|
|
2004
|
+
if (returnComparator() === "DELETING") {
|
|
2005
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
2006
|
+
}
|
|
2007
|
+
} catch (e) {
|
|
2008
|
+
}
|
|
2009
|
+
} catch (exception) {
|
|
2010
|
+
reason = exception;
|
|
2011
|
+
}
|
|
2012
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
2013
|
+
}, "checkState");
|
|
2014
|
+
var waitForStreamGroupActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
2015
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 3600 };
|
|
2016
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);
|
|
2017
|
+
}, "waitForStreamGroupActive");
|
|
2018
|
+
var waitUntilStreamGroupActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
2019
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 3600 };
|
|
2020
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState3);
|
|
2021
|
+
return (0, import_util_waiter.checkExceptions)(result);
|
|
2022
|
+
}, "waitUntilStreamGroupActive");
|
|
2023
|
+
|
|
2024
|
+
// src/waiters/waitForStreamGroupDeleted.ts
|
|
2025
|
+
|
|
2026
|
+
var checkState4 = /* @__PURE__ */ __name(async (client, input) => {
|
|
2027
|
+
let reason;
|
|
2028
|
+
try {
|
|
2029
|
+
const result = await client.send(new GetStreamGroupCommand(input));
|
|
2030
|
+
reason = result;
|
|
2031
|
+
} catch (exception) {
|
|
2032
|
+
reason = exception;
|
|
2033
|
+
if (exception.name && exception.name == "ResourceNotFoundException") {
|
|
2034
|
+
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
2035
|
+
}
|
|
2036
|
+
}
|
|
2037
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
2038
|
+
}, "checkState");
|
|
2039
|
+
var waitForStreamGroupDeleted = /* @__PURE__ */ __name(async (params, input) => {
|
|
2040
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 1800 };
|
|
2041
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState4);
|
|
2042
|
+
}, "waitForStreamGroupDeleted");
|
|
2043
|
+
var waitUntilStreamGroupDeleted = /* @__PURE__ */ __name(async (params, input) => {
|
|
2044
|
+
const serviceDefaults = { minDelay: 30, maxDelay: 1800 };
|
|
2045
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState4);
|
|
2046
|
+
return (0, import_util_waiter.checkExceptions)(result);
|
|
2047
|
+
}, "waitUntilStreamGroupDeleted");
|
|
2048
|
+
|
|
2049
|
+
// src/waiters/waitForStreamSessionActive.ts
|
|
2050
|
+
|
|
2051
|
+
var checkState5 = /* @__PURE__ */ __name(async (client, input) => {
|
|
2052
|
+
let reason;
|
|
2053
|
+
try {
|
|
2054
|
+
const result = await client.send(new GetStreamSessionCommand(input));
|
|
2055
|
+
reason = result;
|
|
2056
|
+
try {
|
|
2057
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
2058
|
+
return result.Status;
|
|
2059
|
+
}, "returnComparator");
|
|
2060
|
+
if (returnComparator() === "ACTIVE") {
|
|
2061
|
+
return { state: import_util_waiter.WaiterState.SUCCESS, reason };
|
|
2062
|
+
}
|
|
2063
|
+
} catch (e) {
|
|
2064
|
+
}
|
|
2065
|
+
try {
|
|
2066
|
+
const returnComparator = /* @__PURE__ */ __name(() => {
|
|
2067
|
+
return result.Status;
|
|
2068
|
+
}, "returnComparator");
|
|
2069
|
+
if (returnComparator() === "ERROR") {
|
|
2070
|
+
return { state: import_util_waiter.WaiterState.FAILURE, reason };
|
|
2071
|
+
}
|
|
2072
|
+
} catch (e) {
|
|
2073
|
+
}
|
|
2074
|
+
} catch (exception) {
|
|
2075
|
+
reason = exception;
|
|
2076
|
+
}
|
|
2077
|
+
return { state: import_util_waiter.WaiterState.RETRY, reason };
|
|
2078
|
+
}, "checkState");
|
|
2079
|
+
var waitForStreamSessionActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
2080
|
+
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
2081
|
+
return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState5);
|
|
2082
|
+
}, "waitForStreamSessionActive");
|
|
2083
|
+
var waitUntilStreamSessionActive = /* @__PURE__ */ __name(async (params, input) => {
|
|
2084
|
+
const serviceDefaults = { minDelay: 2, maxDelay: 120 };
|
|
2085
|
+
const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState5);
|
|
2086
|
+
return (0, import_util_waiter.checkExceptions)(result);
|
|
2087
|
+
}, "waitUntilStreamSessionActive");
|
|
2088
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2089
|
+
|
|
2090
|
+
0 && (module.exports = {
|
|
2091
|
+
GameLiftStreamsServiceException,
|
|
2092
|
+
__Client,
|
|
2093
|
+
GameLiftStreamsClient,
|
|
2094
|
+
GameLiftStreams,
|
|
2095
|
+
$Command,
|
|
2096
|
+
AddStreamGroupLocationsCommand,
|
|
2097
|
+
AssociateApplicationsCommand,
|
|
2098
|
+
CreateApplicationCommand,
|
|
2099
|
+
CreateStreamGroupCommand,
|
|
2100
|
+
CreateStreamSessionConnectionCommand,
|
|
2101
|
+
DeleteApplicationCommand,
|
|
2102
|
+
DeleteStreamGroupCommand,
|
|
2103
|
+
DisassociateApplicationsCommand,
|
|
2104
|
+
ExportStreamSessionFilesCommand,
|
|
2105
|
+
GetApplicationCommand,
|
|
2106
|
+
GetStreamGroupCommand,
|
|
2107
|
+
GetStreamSessionCommand,
|
|
2108
|
+
ListApplicationsCommand,
|
|
2109
|
+
ListStreamGroupsCommand,
|
|
2110
|
+
ListStreamSessionsByAccountCommand,
|
|
2111
|
+
ListStreamSessionsCommand,
|
|
2112
|
+
ListTagsForResourceCommand,
|
|
2113
|
+
RemoveStreamGroupLocationsCommand,
|
|
2114
|
+
StartStreamSessionCommand,
|
|
2115
|
+
TagResourceCommand,
|
|
2116
|
+
TerminateStreamSessionCommand,
|
|
2117
|
+
UntagResourceCommand,
|
|
2118
|
+
UpdateApplicationCommand,
|
|
2119
|
+
UpdateStreamGroupCommand,
|
|
2120
|
+
paginateListApplications,
|
|
2121
|
+
paginateListStreamGroups,
|
|
2122
|
+
paginateListStreamSessionsByAccount,
|
|
2123
|
+
paginateListStreamSessions,
|
|
2124
|
+
waitForApplicationDeleted,
|
|
2125
|
+
waitUntilApplicationDeleted,
|
|
2126
|
+
waitForApplicationReady,
|
|
2127
|
+
waitUntilApplicationReady,
|
|
2128
|
+
waitForStreamGroupActive,
|
|
2129
|
+
waitUntilStreamGroupActive,
|
|
2130
|
+
waitForStreamGroupDeleted,
|
|
2131
|
+
waitUntilStreamGroupDeleted,
|
|
2132
|
+
waitForStreamSessionActive,
|
|
2133
|
+
waitUntilStreamSessionActive,
|
|
2134
|
+
AccessDeniedException,
|
|
2135
|
+
StreamGroupLocationStatus,
|
|
2136
|
+
InternalServerException,
|
|
2137
|
+
ResourceNotFoundException,
|
|
2138
|
+
ServiceQuotaExceededException,
|
|
2139
|
+
ThrottlingException,
|
|
2140
|
+
ValidationException,
|
|
2141
|
+
ApplicationStatus,
|
|
2142
|
+
ApplicationStatusReason,
|
|
2143
|
+
ConflictException,
|
|
2144
|
+
RuntimeEnvironmentType,
|
|
2145
|
+
ReplicationStatusType,
|
|
2146
|
+
StreamClass,
|
|
2147
|
+
StreamGroupStatus,
|
|
2148
|
+
StreamGroupStatusReason,
|
|
2149
|
+
ExportFilesStatus,
|
|
2150
|
+
Protocol,
|
|
2151
|
+
StreamSessionStatus,
|
|
2152
|
+
StreamSessionStatusReason,
|
|
2153
|
+
CreateStreamSessionConnectionInputFilterSensitiveLog,
|
|
2154
|
+
CreateStreamSessionConnectionOutputFilterSensitiveLog,
|
|
2155
|
+
GetStreamSessionOutputFilterSensitiveLog,
|
|
2156
|
+
StartStreamSessionInputFilterSensitiveLog,
|
|
2157
|
+
StartStreamSessionOutputFilterSensitiveLog
|
|
2158
|
+
});
|
|
2159
|
+
|