@aws-sdk/client-gameliftstreams 3.1067.0 → 3.1069.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 CHANGED
@@ -1,18 +1,21 @@
1
- 'use strict';
2
-
3
- var client$1 = require('@aws-sdk/core/client');
4
- var core = require('@smithy/core');
5
- var client = require('@smithy/core/client');
6
- var config = require('@smithy/core/config');
7
- var endpoints = require('@smithy/core/endpoints');
8
- var protocols = require('@smithy/core/protocols');
9
- var retry = require('@smithy/core/retry');
10
- var schema = require('@smithy/core/schema');
11
- var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
12
- var runtimeConfig = require('./runtimeConfig');
13
- var schemas_0 = require('./schemas/schemas_0');
14
- var errors = require('./models/errors');
15
- var GameLiftStreamsServiceException = require('./models/GameLiftStreamsServiceException');
1
+ var __exportStar = (m, e) => { Object.assign(e, m); };
2
+ const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
+ const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
+ const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
5
+ exports.$Command = Command;
6
+ exports.__Client = Client;
7
+ const { resolveRegionConfig } = require("@smithy/core/config");
8
+ const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
+ const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
+ const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
+ const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
+ const { resolveHttpAuthSchemeConfig, defaultGameLiftStreamsHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
+ const { getRuntimeConfig } = require("./runtimeConfig");
14
+ const { AddStreamGroupLocations$, AssociateApplications$, CreateApplication$, CreateStreamGroup$, CreateStreamSessionConnection$, DeleteApplication$, DeleteStreamGroup$, DisassociateApplications$, ExportStreamSessionFiles$, GetApplication$, GetStreamGroup$, GetStreamSession$, ListApplications$, ListStreamGroups$, ListStreamSessionsByAccount$, ListStreamSessions$, ListTagsForResource$, RemoveStreamGroupLocations$, StartStreamSession$, TagResource$, TerminateStreamSession$, UntagResource$, UpdateApplication$, UpdateStreamGroup$ } = require("./schemas/schemas_0");
15
+ __exportStar(require("./schemas/schemas_0"), exports);
16
+ __exportStar(require("./models/errors"), exports);
17
+ const { GameLiftStreamsServiceException } = require("./models/GameLiftStreamsServiceException");
18
+ exports.GameLiftStreamsServiceException = GameLiftStreamsServiceException;
16
19
 
17
20
  const resolveClientEndpointParameters = (options) => {
18
21
  return Object.assign(options, {
@@ -66,377 +69,377 @@ const resolveHttpAuthRuntimeConfig = (config) => {
66
69
  };
67
70
 
68
71
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
69
- const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
72
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
70
73
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
71
- return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
74
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
72
75
  };
73
76
 
74
- class GameLiftStreamsClient extends client.Client {
77
+ class GameLiftStreamsClient extends Client {
75
78
  config;
76
79
  constructor(...[configuration]) {
77
- const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
80
+ const _config_0 = getRuntimeConfig(configuration || {});
78
81
  super(_config_0);
79
82
  this.initConfig = _config_0;
80
83
  const _config_1 = resolveClientEndpointParameters(_config_0);
81
- const _config_2 = client$1.resolveUserAgentConfig(_config_1);
82
- const _config_3 = retry.resolveRetryConfig(_config_2);
83
- const _config_4 = config.resolveRegionConfig(_config_3);
84
- const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
85
- const _config_6 = endpoints.resolveEndpointConfig(_config_5);
86
- const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
84
+ const _config_2 = resolveUserAgentConfig(_config_1);
85
+ const _config_3 = resolveRetryConfig(_config_2);
86
+ const _config_4 = resolveRegionConfig(_config_3);
87
+ const _config_5 = resolveHostHeaderConfig(_config_4);
88
+ const _config_6 = resolveEndpointConfig(_config_5);
89
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
87
90
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
88
91
  this.config = _config_8;
89
- this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
90
- this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
91
- this.middlewareStack.use(retry.getRetryPlugin(this.config));
92
- this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
93
- this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
94
- this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
95
- this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
96
- this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
97
- httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultGameLiftStreamsHttpAuthSchemeParametersProvider,
98
- identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
92
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
93
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
94
+ this.middlewareStack.use(getRetryPlugin(this.config));
95
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
96
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
97
+ this.middlewareStack.use(getLoggerPlugin(this.config));
98
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
99
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
100
+ httpAuthSchemeParametersProvider: defaultGameLiftStreamsHttpAuthSchemeParametersProvider,
101
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
99
102
  "aws.auth#sigv4": config.credentials,
100
103
  }),
101
104
  }));
102
- this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
105
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
103
106
  }
104
107
  destroy() {
105
108
  super.destroy();
106
109
  }
107
110
  }
108
111
 
109
- class AddStreamGroupLocationsCommand extends client.Command
112
+ class AddStreamGroupLocationsCommand extends Command
110
113
  .classBuilder()
111
114
  .ep(commonParams)
112
115
  .m(function (Command, cs, config, o) {
113
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
116
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
114
117
  })
115
118
  .s("GameLiftStreams", "AddStreamGroupLocations", {})
116
119
  .n("GameLiftStreamsClient", "AddStreamGroupLocationsCommand")
117
- .sc(schemas_0.AddStreamGroupLocations$)
120
+ .sc(AddStreamGroupLocations$)
118
121
  .build() {
119
122
  }
120
123
 
121
- class AssociateApplicationsCommand extends client.Command
124
+ class AssociateApplicationsCommand extends Command
122
125
  .classBuilder()
123
126
  .ep(commonParams)
124
127
  .m(function (Command, cs, config, o) {
125
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
128
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
126
129
  })
127
130
  .s("GameLiftStreams", "AssociateApplications", {})
128
131
  .n("GameLiftStreamsClient", "AssociateApplicationsCommand")
129
- .sc(schemas_0.AssociateApplications$)
132
+ .sc(AssociateApplications$)
130
133
  .build() {
131
134
  }
132
135
 
133
- class CreateApplicationCommand extends client.Command
136
+ class CreateApplicationCommand extends Command
134
137
  .classBuilder()
135
138
  .ep(commonParams)
136
139
  .m(function (Command, cs, config, o) {
137
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
140
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
138
141
  })
139
142
  .s("GameLiftStreams", "CreateApplication", {})
140
143
  .n("GameLiftStreamsClient", "CreateApplicationCommand")
141
- .sc(schemas_0.CreateApplication$)
144
+ .sc(CreateApplication$)
142
145
  .build() {
143
146
  }
144
147
 
145
- class CreateStreamGroupCommand extends client.Command
148
+ class CreateStreamGroupCommand extends Command
146
149
  .classBuilder()
147
150
  .ep(commonParams)
148
151
  .m(function (Command, cs, config, o) {
149
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
152
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
150
153
  })
151
154
  .s("GameLiftStreams", "CreateStreamGroup", {})
152
155
  .n("GameLiftStreamsClient", "CreateStreamGroupCommand")
153
- .sc(schemas_0.CreateStreamGroup$)
156
+ .sc(CreateStreamGroup$)
154
157
  .build() {
155
158
  }
156
159
 
157
- class CreateStreamSessionConnectionCommand extends client.Command
160
+ class CreateStreamSessionConnectionCommand extends Command
158
161
  .classBuilder()
159
162
  .ep(commonParams)
160
163
  .m(function (Command, cs, config, o) {
161
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
164
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
162
165
  })
163
166
  .s("GameLiftStreams", "CreateStreamSessionConnection", {})
164
167
  .n("GameLiftStreamsClient", "CreateStreamSessionConnectionCommand")
165
- .sc(schemas_0.CreateStreamSessionConnection$)
168
+ .sc(CreateStreamSessionConnection$)
166
169
  .build() {
167
170
  }
168
171
 
169
- class DeleteApplicationCommand extends client.Command
172
+ class DeleteApplicationCommand extends Command
170
173
  .classBuilder()
171
174
  .ep(commonParams)
172
175
  .m(function (Command, cs, config, o) {
173
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
176
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
174
177
  })
175
178
  .s("GameLiftStreams", "DeleteApplication", {})
176
179
  .n("GameLiftStreamsClient", "DeleteApplicationCommand")
177
- .sc(schemas_0.DeleteApplication$)
180
+ .sc(DeleteApplication$)
178
181
  .build() {
179
182
  }
180
183
 
181
- class DeleteStreamGroupCommand extends client.Command
184
+ class DeleteStreamGroupCommand extends Command
182
185
  .classBuilder()
183
186
  .ep(commonParams)
184
187
  .m(function (Command, cs, config, o) {
185
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
188
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
186
189
  })
187
190
  .s("GameLiftStreams", "DeleteStreamGroup", {})
188
191
  .n("GameLiftStreamsClient", "DeleteStreamGroupCommand")
189
- .sc(schemas_0.DeleteStreamGroup$)
192
+ .sc(DeleteStreamGroup$)
190
193
  .build() {
191
194
  }
192
195
 
193
- class DisassociateApplicationsCommand extends client.Command
196
+ class DisassociateApplicationsCommand extends Command
194
197
  .classBuilder()
195
198
  .ep(commonParams)
196
199
  .m(function (Command, cs, config, o) {
197
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
200
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
198
201
  })
199
202
  .s("GameLiftStreams", "DisassociateApplications", {})
200
203
  .n("GameLiftStreamsClient", "DisassociateApplicationsCommand")
201
- .sc(schemas_0.DisassociateApplications$)
204
+ .sc(DisassociateApplications$)
202
205
  .build() {
203
206
  }
204
207
 
205
- class ExportStreamSessionFilesCommand extends client.Command
208
+ class ExportStreamSessionFilesCommand extends Command
206
209
  .classBuilder()
207
210
  .ep(commonParams)
208
211
  .m(function (Command, cs, config, o) {
209
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
212
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
210
213
  })
211
214
  .s("GameLiftStreams", "ExportStreamSessionFiles", {})
212
215
  .n("GameLiftStreamsClient", "ExportStreamSessionFilesCommand")
213
- .sc(schemas_0.ExportStreamSessionFiles$)
216
+ .sc(ExportStreamSessionFiles$)
214
217
  .build() {
215
218
  }
216
219
 
217
- class GetApplicationCommand extends client.Command
220
+ class GetApplicationCommand extends Command
218
221
  .classBuilder()
219
222
  .ep(commonParams)
220
223
  .m(function (Command, cs, config, o) {
221
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
224
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
222
225
  })
223
226
  .s("GameLiftStreams", "GetApplication", {})
224
227
  .n("GameLiftStreamsClient", "GetApplicationCommand")
225
- .sc(schemas_0.GetApplication$)
228
+ .sc(GetApplication$)
226
229
  .build() {
227
230
  }
228
231
 
229
- class GetStreamGroupCommand extends client.Command
232
+ class GetStreamGroupCommand extends Command
230
233
  .classBuilder()
231
234
  .ep(commonParams)
232
235
  .m(function (Command, cs, config, o) {
233
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
236
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
234
237
  })
235
238
  .s("GameLiftStreams", "GetStreamGroup", {})
236
239
  .n("GameLiftStreamsClient", "GetStreamGroupCommand")
237
- .sc(schemas_0.GetStreamGroup$)
240
+ .sc(GetStreamGroup$)
238
241
  .build() {
239
242
  }
240
243
 
241
- class GetStreamSessionCommand extends client.Command
244
+ class GetStreamSessionCommand extends Command
242
245
  .classBuilder()
243
246
  .ep(commonParams)
244
247
  .m(function (Command, cs, config, o) {
245
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
248
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
246
249
  })
247
250
  .s("GameLiftStreams", "GetStreamSession", {})
248
251
  .n("GameLiftStreamsClient", "GetStreamSessionCommand")
249
- .sc(schemas_0.GetStreamSession$)
252
+ .sc(GetStreamSession$)
250
253
  .build() {
251
254
  }
252
255
 
253
- class ListApplicationsCommand extends client.Command
256
+ class ListApplicationsCommand extends Command
254
257
  .classBuilder()
255
258
  .ep(commonParams)
256
259
  .m(function (Command, cs, config, o) {
257
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
260
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
258
261
  })
259
262
  .s("GameLiftStreams", "ListApplications", {})
260
263
  .n("GameLiftStreamsClient", "ListApplicationsCommand")
261
- .sc(schemas_0.ListApplications$)
264
+ .sc(ListApplications$)
262
265
  .build() {
263
266
  }
264
267
 
265
- class ListStreamGroupsCommand extends client.Command
268
+ class ListStreamGroupsCommand extends Command
266
269
  .classBuilder()
267
270
  .ep(commonParams)
268
271
  .m(function (Command, cs, config, o) {
269
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
272
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
270
273
  })
271
274
  .s("GameLiftStreams", "ListStreamGroups", {})
272
275
  .n("GameLiftStreamsClient", "ListStreamGroupsCommand")
273
- .sc(schemas_0.ListStreamGroups$)
276
+ .sc(ListStreamGroups$)
274
277
  .build() {
275
278
  }
276
279
 
277
- class ListStreamSessionsByAccountCommand extends client.Command
280
+ class ListStreamSessionsByAccountCommand extends Command
278
281
  .classBuilder()
279
282
  .ep(commonParams)
280
283
  .m(function (Command, cs, config, o) {
281
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
284
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
282
285
  })
283
286
  .s("GameLiftStreams", "ListStreamSessionsByAccount", {})
284
287
  .n("GameLiftStreamsClient", "ListStreamSessionsByAccountCommand")
285
- .sc(schemas_0.ListStreamSessionsByAccount$)
288
+ .sc(ListStreamSessionsByAccount$)
286
289
  .build() {
287
290
  }
288
291
 
289
- class ListStreamSessionsCommand extends client.Command
292
+ class ListStreamSessionsCommand extends Command
290
293
  .classBuilder()
291
294
  .ep(commonParams)
292
295
  .m(function (Command, cs, config, o) {
293
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
296
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
294
297
  })
295
298
  .s("GameLiftStreams", "ListStreamSessions", {})
296
299
  .n("GameLiftStreamsClient", "ListStreamSessionsCommand")
297
- .sc(schemas_0.ListStreamSessions$)
300
+ .sc(ListStreamSessions$)
298
301
  .build() {
299
302
  }
300
303
 
301
- class ListTagsForResourceCommand extends client.Command
304
+ class ListTagsForResourceCommand extends Command
302
305
  .classBuilder()
303
306
  .ep(commonParams)
304
307
  .m(function (Command, cs, config, o) {
305
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
308
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
306
309
  })
307
310
  .s("GameLiftStreams", "ListTagsForResource", {})
308
311
  .n("GameLiftStreamsClient", "ListTagsForResourceCommand")
309
- .sc(schemas_0.ListTagsForResource$)
312
+ .sc(ListTagsForResource$)
310
313
  .build() {
311
314
  }
312
315
 
313
- class RemoveStreamGroupLocationsCommand extends client.Command
316
+ class RemoveStreamGroupLocationsCommand extends Command
314
317
  .classBuilder()
315
318
  .ep(commonParams)
316
319
  .m(function (Command, cs, config, o) {
317
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
320
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
318
321
  })
319
322
  .s("GameLiftStreams", "RemoveStreamGroupLocations", {})
320
323
  .n("GameLiftStreamsClient", "RemoveStreamGroupLocationsCommand")
321
- .sc(schemas_0.RemoveStreamGroupLocations$)
324
+ .sc(RemoveStreamGroupLocations$)
322
325
  .build() {
323
326
  }
324
327
 
325
- class StartStreamSessionCommand extends client.Command
328
+ class StartStreamSessionCommand extends Command
326
329
  .classBuilder()
327
330
  .ep(commonParams)
328
331
  .m(function (Command, cs, config, o) {
329
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
332
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
330
333
  })
331
334
  .s("GameLiftStreams", "StartStreamSession", {})
332
335
  .n("GameLiftStreamsClient", "StartStreamSessionCommand")
333
- .sc(schemas_0.StartStreamSession$)
336
+ .sc(StartStreamSession$)
334
337
  .build() {
335
338
  }
336
339
 
337
- class TagResourceCommand extends client.Command
340
+ class TagResourceCommand extends Command
338
341
  .classBuilder()
339
342
  .ep(commonParams)
340
343
  .m(function (Command, cs, config, o) {
341
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
344
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
342
345
  })
343
346
  .s("GameLiftStreams", "TagResource", {})
344
347
  .n("GameLiftStreamsClient", "TagResourceCommand")
345
- .sc(schemas_0.TagResource$)
348
+ .sc(TagResource$)
346
349
  .build() {
347
350
  }
348
351
 
349
- class TerminateStreamSessionCommand extends client.Command
352
+ class TerminateStreamSessionCommand extends Command
350
353
  .classBuilder()
351
354
  .ep(commonParams)
352
355
  .m(function (Command, cs, config, o) {
353
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
356
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
354
357
  })
355
358
  .s("GameLiftStreams", "TerminateStreamSession", {})
356
359
  .n("GameLiftStreamsClient", "TerminateStreamSessionCommand")
357
- .sc(schemas_0.TerminateStreamSession$)
360
+ .sc(TerminateStreamSession$)
358
361
  .build() {
359
362
  }
360
363
 
361
- class UntagResourceCommand extends client.Command
364
+ class UntagResourceCommand extends Command
362
365
  .classBuilder()
363
366
  .ep(commonParams)
364
367
  .m(function (Command, cs, config, o) {
365
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
368
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
366
369
  })
367
370
  .s("GameLiftStreams", "UntagResource", {})
368
371
  .n("GameLiftStreamsClient", "UntagResourceCommand")
369
- .sc(schemas_0.UntagResource$)
372
+ .sc(UntagResource$)
370
373
  .build() {
371
374
  }
372
375
 
373
- class UpdateApplicationCommand extends client.Command
376
+ class UpdateApplicationCommand extends Command
374
377
  .classBuilder()
375
378
  .ep(commonParams)
376
379
  .m(function (Command, cs, config, o) {
377
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
380
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
378
381
  })
379
382
  .s("GameLiftStreams", "UpdateApplication", {})
380
383
  .n("GameLiftStreamsClient", "UpdateApplicationCommand")
381
- .sc(schemas_0.UpdateApplication$)
384
+ .sc(UpdateApplication$)
382
385
  .build() {
383
386
  }
384
387
 
385
- class UpdateStreamGroupCommand extends client.Command
388
+ class UpdateStreamGroupCommand extends Command
386
389
  .classBuilder()
387
390
  .ep(commonParams)
388
391
  .m(function (Command, cs, config, o) {
389
- return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
392
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
390
393
  })
391
394
  .s("GameLiftStreams", "UpdateStreamGroup", {})
392
395
  .n("GameLiftStreamsClient", "UpdateStreamGroupCommand")
393
- .sc(schemas_0.UpdateStreamGroup$)
396
+ .sc(UpdateStreamGroup$)
394
397
  .build() {
395
398
  }
396
399
 
397
- const paginateListApplications = core.createPaginator(GameLiftStreamsClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
400
+ const paginateListApplications = createPaginator(GameLiftStreamsClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
398
401
 
399
- const paginateListStreamGroups = core.createPaginator(GameLiftStreamsClient, ListStreamGroupsCommand, "NextToken", "NextToken", "MaxResults");
402
+ const paginateListStreamGroups = createPaginator(GameLiftStreamsClient, ListStreamGroupsCommand, "NextToken", "NextToken", "MaxResults");
400
403
 
401
- const paginateListStreamSessionsByAccount = core.createPaginator(GameLiftStreamsClient, ListStreamSessionsByAccountCommand, "NextToken", "NextToken", "MaxResults");
404
+ const paginateListStreamSessionsByAccount = createPaginator(GameLiftStreamsClient, ListStreamSessionsByAccountCommand, "NextToken", "NextToken", "MaxResults");
402
405
 
403
- const paginateListStreamSessions = core.createPaginator(GameLiftStreamsClient, ListStreamSessionsCommand, "NextToken", "NextToken", "MaxResults");
406
+ const paginateListStreamSessions = createPaginator(GameLiftStreamsClient, ListStreamSessionsCommand, "NextToken", "NextToken", "MaxResults");
404
407
 
405
- const checkState$4 = async (client$1, input) => {
408
+ const checkState$4 = async (client, input) => {
406
409
  let reason;
407
410
  try {
408
- let result = await client$1.send(new GetApplicationCommand(input));
411
+ let result = await client.send(new GetApplicationCommand(input));
409
412
  reason = result;
410
413
  }
411
414
  catch (exception) {
412
415
  reason = exception;
413
416
  if (exception.name === "ResourceNotFoundException") {
414
- return { state: client.WaiterState.SUCCESS, reason };
417
+ return { state: WaiterState.SUCCESS, reason };
415
418
  }
416
419
  }
417
- return { state: client.WaiterState.RETRY, reason };
420
+ return { state: WaiterState.RETRY, reason };
418
421
  };
419
422
  const waitForApplicationDeleted = async (params, input) => {
420
423
  const serviceDefaults = { minDelay: 2, maxDelay: 120 };
421
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
424
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
422
425
  };
423
426
  const waitUntilApplicationDeleted = async (params, input) => {
424
427
  const serviceDefaults = { minDelay: 2, maxDelay: 120 };
425
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
426
- return client.checkExceptions(result);
428
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$4);
429
+ return checkExceptions(result);
427
430
  };
428
431
 
429
- const checkState$3 = async (client$1, input) => {
432
+ const checkState$3 = async (client, input) => {
430
433
  let reason;
431
434
  try {
432
- let result = await client$1.send(new GetApplicationCommand(input));
435
+ let result = await client.send(new GetApplicationCommand(input));
433
436
  reason = result;
434
437
  try {
435
438
  const returnComparator = () => {
436
439
  return result.Status;
437
440
  };
438
441
  if (returnComparator() === "READY") {
439
- return { state: client.WaiterState.SUCCESS, reason };
442
+ return { state: WaiterState.SUCCESS, reason };
440
443
  }
441
444
  }
442
445
  catch (e) { }
@@ -445,7 +448,7 @@ const checkState$3 = async (client$1, input) => {
445
448
  return result.Status;
446
449
  };
447
450
  if (returnComparator() === "ERROR") {
448
- return { state: client.WaiterState.FAILURE, reason };
451
+ return { state: WaiterState.FAILURE, reason };
449
452
  }
450
453
  }
451
454
  catch (e) { }
@@ -453,29 +456,29 @@ const checkState$3 = async (client$1, input) => {
453
456
  catch (exception) {
454
457
  reason = exception;
455
458
  }
456
- return { state: client.WaiterState.RETRY, reason };
459
+ return { state: WaiterState.RETRY, reason };
457
460
  };
458
461
  const waitForApplicationReady = async (params, input) => {
459
462
  const serviceDefaults = { minDelay: 2, maxDelay: 120 };
460
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
463
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
461
464
  };
462
465
  const waitUntilApplicationReady = async (params, input) => {
463
466
  const serviceDefaults = { minDelay: 2, maxDelay: 120 };
464
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
465
- return client.checkExceptions(result);
467
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$3);
468
+ return checkExceptions(result);
466
469
  };
467
470
 
468
- const checkState$2 = async (client$1, input) => {
471
+ const checkState$2 = async (client, input) => {
469
472
  let reason;
470
473
  try {
471
- let result = await client$1.send(new GetStreamGroupCommand(input));
474
+ let result = await client.send(new GetStreamGroupCommand(input));
472
475
  reason = result;
473
476
  try {
474
477
  const returnComparator = () => {
475
478
  return result.Status;
476
479
  };
477
480
  if (returnComparator() === "ACTIVE") {
478
- return { state: client.WaiterState.SUCCESS, reason };
481
+ return { state: WaiterState.SUCCESS, reason };
479
482
  }
480
483
  }
481
484
  catch (e) { }
@@ -484,7 +487,7 @@ const checkState$2 = async (client$1, input) => {
484
487
  return result.Status;
485
488
  };
486
489
  if (returnComparator() === "ERROR") {
487
- return { state: client.WaiterState.FAILURE, reason };
490
+ return { state: WaiterState.FAILURE, reason };
488
491
  }
489
492
  }
490
493
  catch (e) { }
@@ -493,7 +496,7 @@ const checkState$2 = async (client$1, input) => {
493
496
  return result.Status;
494
497
  };
495
498
  if (returnComparator() === "ACTIVE_WITH_ERRORS") {
496
- return { state: client.WaiterState.FAILURE, reason };
499
+ return { state: WaiterState.FAILURE, reason };
497
500
  }
498
501
  }
499
502
  catch (e) { }
@@ -502,7 +505,7 @@ const checkState$2 = async (client$1, input) => {
502
505
  return result.Status;
503
506
  };
504
507
  if (returnComparator() === "DELETING") {
505
- return { state: client.WaiterState.FAILURE, reason };
508
+ return { state: WaiterState.FAILURE, reason };
506
509
  }
507
510
  }
508
511
  catch (e) { }
@@ -510,53 +513,53 @@ const checkState$2 = async (client$1, input) => {
510
513
  catch (exception) {
511
514
  reason = exception;
512
515
  }
513
- return { state: client.WaiterState.RETRY, reason };
516
+ return { state: WaiterState.RETRY, reason };
514
517
  };
515
518
  const waitForStreamGroupActive = async (params, input) => {
516
519
  const serviceDefaults = { minDelay: 30, maxDelay: 3600 };
517
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
520
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
518
521
  };
519
522
  const waitUntilStreamGroupActive = async (params, input) => {
520
523
  const serviceDefaults = { minDelay: 30, maxDelay: 3600 };
521
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
522
- return client.checkExceptions(result);
524
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$2);
525
+ return checkExceptions(result);
523
526
  };
524
527
 
525
- const checkState$1 = async (client$1, input) => {
528
+ const checkState$1 = async (client, input) => {
526
529
  let reason;
527
530
  try {
528
- let result = await client$1.send(new GetStreamGroupCommand(input));
531
+ let result = await client.send(new GetStreamGroupCommand(input));
529
532
  reason = result;
530
533
  }
531
534
  catch (exception) {
532
535
  reason = exception;
533
536
  if (exception.name === "ResourceNotFoundException") {
534
- return { state: client.WaiterState.SUCCESS, reason };
537
+ return { state: WaiterState.SUCCESS, reason };
535
538
  }
536
539
  }
537
- return { state: client.WaiterState.RETRY, reason };
540
+ return { state: WaiterState.RETRY, reason };
538
541
  };
539
542
  const waitForStreamGroupDeleted = async (params, input) => {
540
543
  const serviceDefaults = { minDelay: 30, maxDelay: 1800 };
541
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
544
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
542
545
  };
543
546
  const waitUntilStreamGroupDeleted = async (params, input) => {
544
547
  const serviceDefaults = { minDelay: 30, maxDelay: 1800 };
545
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
546
- return client.checkExceptions(result);
548
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
549
+ return checkExceptions(result);
547
550
  };
548
551
 
549
- const checkState = async (client$1, input) => {
552
+ const checkState = async (client, input) => {
550
553
  let reason;
551
554
  try {
552
- let result = await client$1.send(new GetStreamSessionCommand(input));
555
+ let result = await client.send(new GetStreamSessionCommand(input));
553
556
  reason = result;
554
557
  try {
555
558
  const returnComparator = () => {
556
559
  return result.Status;
557
560
  };
558
561
  if (returnComparator() === "ACTIVE") {
559
- return { state: client.WaiterState.SUCCESS, reason };
562
+ return { state: WaiterState.SUCCESS, reason };
560
563
  }
561
564
  }
562
565
  catch (e) { }
@@ -565,7 +568,7 @@ const checkState = async (client$1, input) => {
565
568
  return result.Status;
566
569
  };
567
570
  if (returnComparator() === "ERROR") {
568
- return { state: client.WaiterState.FAILURE, reason };
571
+ return { state: WaiterState.FAILURE, reason };
569
572
  }
570
573
  }
571
574
  catch (e) { }
@@ -573,16 +576,16 @@ const checkState = async (client$1, input) => {
573
576
  catch (exception) {
574
577
  reason = exception;
575
578
  }
576
- return { state: client.WaiterState.RETRY, reason };
579
+ return { state: WaiterState.RETRY, reason };
577
580
  };
578
581
  const waitForStreamSessionActive = async (params, input) => {
579
582
  const serviceDefaults = { minDelay: 2, maxDelay: 120 };
580
- return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
583
+ return createWaiter({ ...serviceDefaults, ...params }, input, checkState);
581
584
  };
582
585
  const waitUntilStreamSessionActive = async (params, input) => {
583
586
  const serviceDefaults = { minDelay: 2, maxDelay: 120 };
584
- const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
585
- return client.checkExceptions(result);
587
+ const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState);
588
+ return checkExceptions(result);
586
589
  };
587
590
 
588
591
  const commands = {
@@ -626,7 +629,7 @@ const waiters = {
626
629
  };
627
630
  class GameLiftStreams extends GameLiftStreamsClient {
628
631
  }
629
- client.createAggregatedClient(commands, GameLiftStreams, { paginators, waiters });
632
+ createAggregatedClient(commands, GameLiftStreams, { paginators, waiters });
630
633
 
631
634
  const StreamGroupLocationStatus = {
632
635
  ACTIVATING: "ACTIVATING",
@@ -718,9 +721,6 @@ const StreamSessionStatusReason = {
718
721
  RECONNECTION_TIMEOUT: "reconnectionTimeout",
719
722
  };
720
723
 
721
- exports.$Command = client.Command;
722
- exports.__Client = client.Client;
723
- exports.GameLiftStreamsServiceException = GameLiftStreamsServiceException.GameLiftStreamsServiceException;
724
724
  exports.AddStreamGroupLocationsCommand = AddStreamGroupLocationsCommand;
725
725
  exports.ApplicationStatus = ApplicationStatus;
726
726
  exports.ApplicationStatusReason = ApplicationStatusReason;
@@ -773,23 +773,3 @@ exports.waitUntilApplicationReady = waitUntilApplicationReady;
773
773
  exports.waitUntilStreamGroupActive = waitUntilStreamGroupActive;
774
774
  exports.waitUntilStreamGroupDeleted = waitUntilStreamGroupDeleted;
775
775
  exports.waitUntilStreamSessionActive = waitUntilStreamSessionActive;
776
- Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') &&
777
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
778
- Object.defineProperty(exports, '__proto__', {
779
- enumerable: true,
780
- value: schemas_0['__proto__']
781
- });
782
-
783
- Object.keys(schemas_0).forEach(function (k) {
784
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
785
- });
786
- Object.prototype.hasOwnProperty.call(errors, '__proto__') &&
787
- !Object.prototype.hasOwnProperty.call(exports, '__proto__') &&
788
- Object.defineProperty(exports, '__proto__', {
789
- enumerable: true,
790
- value: errors['__proto__']
791
- });
792
-
793
- Object.keys(errors).forEach(function (k) {
794
- if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
795
- });