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