@aws-sdk/client-gameliftstreams 3.1076.0 → 3.1078.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 (112) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +87 -245
  3. package/dist-es/GameLiftStreams.js +2 -0
  4. package/dist-es/commandBuilder.js +6 -0
  5. package/dist-es/commands/AddStreamGroupLocationsCommand.js +2 -14
  6. package/dist-es/commands/AssociateApplicationsCommand.js +2 -14
  7. package/dist-es/commands/CreateApplicationCommand.js +2 -14
  8. package/dist-es/commands/CreateStreamGroupCommand.js +2 -14
  9. package/dist-es/commands/CreateStreamSessionAdminShellCommand.js +4 -0
  10. package/dist-es/commands/CreateStreamSessionConnectionCommand.js +2 -14
  11. package/dist-es/commands/DeleteApplicationCommand.js +2 -14
  12. package/dist-es/commands/DeleteStreamGroupCommand.js +2 -14
  13. package/dist-es/commands/DisassociateApplicationsCommand.js +2 -14
  14. package/dist-es/commands/ExportStreamSessionFilesCommand.js +2 -14
  15. package/dist-es/commands/GetApplicationCommand.js +2 -14
  16. package/dist-es/commands/GetStreamGroupCommand.js +2 -14
  17. package/dist-es/commands/GetStreamSessionCommand.js +2 -14
  18. package/dist-es/commands/ListApplicationsCommand.js +2 -14
  19. package/dist-es/commands/ListStreamGroupsCommand.js +2 -14
  20. package/dist-es/commands/ListStreamSessionsByAccountCommand.js +2 -14
  21. package/dist-es/commands/ListStreamSessionsCommand.js +2 -14
  22. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  23. package/dist-es/commands/RemoveStreamGroupLocationsCommand.js +2 -14
  24. package/dist-es/commands/StartStreamSessionCommand.js +2 -14
  25. package/dist-es/commands/TagResourceCommand.js +2 -14
  26. package/dist-es/commands/TerminateStreamSessionCommand.js +2 -14
  27. package/dist-es/commands/UntagResourceCommand.js +2 -14
  28. package/dist-es/commands/UpdateApplicationCommand.js +2 -14
  29. package/dist-es/commands/UpdateStreamGroupCommand.js +2 -14
  30. package/dist-es/commands/index.js +1 -0
  31. package/dist-es/index.js +1 -0
  32. package/dist-es/models/errors.js +15 -0
  33. package/dist-es/runtimeConfig.browser.js +0 -2
  34. package/dist-es/runtimeConfig.js +1 -2
  35. package/dist-es/runtimeConfig.native.js +0 -2
  36. package/dist-es/runtimeConfig.shared.js +2 -0
  37. package/dist-es/schemas/schemas_0.js +28 -1
  38. package/dist-types/GameLiftStreams.d.ts +7 -0
  39. package/dist-types/GameLiftStreamsClient.d.ts +3 -2
  40. package/dist-types/commandBuilder.d.ts +18 -0
  41. package/dist-types/commands/AddStreamGroupLocationsCommand.d.ts +3 -8
  42. package/dist-types/commands/AssociateApplicationsCommand.d.ts +3 -8
  43. package/dist-types/commands/CreateApplicationCommand.d.ts +4 -9
  44. package/dist-types/commands/CreateStreamGroupCommand.d.ts +3 -8
  45. package/dist-types/commands/CreateStreamSessionAdminShellCommand.d.ts +92 -0
  46. package/dist-types/commands/CreateStreamSessionConnectionCommand.d.ts +3 -8
  47. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
  48. package/dist-types/commands/DeleteStreamGroupCommand.d.ts +3 -8
  49. package/dist-types/commands/DisassociateApplicationsCommand.d.ts +3 -8
  50. package/dist-types/commands/ExportStreamSessionFilesCommand.d.ts +3 -8
  51. package/dist-types/commands/GetApplicationCommand.d.ts +3 -8
  52. package/dist-types/commands/GetStreamGroupCommand.d.ts +3 -8
  53. package/dist-types/commands/GetStreamSessionCommand.d.ts +3 -8
  54. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
  55. package/dist-types/commands/ListStreamGroupsCommand.d.ts +3 -8
  56. package/dist-types/commands/ListStreamSessionsByAccountCommand.d.ts +3 -8
  57. package/dist-types/commands/ListStreamSessionsCommand.d.ts +3 -8
  58. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  59. package/dist-types/commands/RemoveStreamGroupLocationsCommand.d.ts +3 -8
  60. package/dist-types/commands/StartStreamSessionCommand.d.ts +3 -8
  61. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  62. package/dist-types/commands/TerminateStreamSessionCommand.d.ts +3 -8
  63. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  64. package/dist-types/commands/UpdateApplicationCommand.d.ts +3 -8
  65. package/dist-types/commands/UpdateStreamGroupCommand.d.ts +3 -8
  66. package/dist-types/commands/index.d.ts +1 -0
  67. package/dist-types/index.d.ts +1 -0
  68. package/dist-types/models/errors.d.ts +18 -0
  69. package/dist-types/models/models_0.d.ts +35 -0
  70. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  71. package/dist-types/runtimeConfig.d.ts +1 -1
  72. package/dist-types/runtimeConfig.native.d.ts +1 -1
  73. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  74. package/dist-types/schemas/schemas_0.d.ts +4 -0
  75. package/dist-types/ts3.4/GameLiftStreams.d.ts +17 -0
  76. package/dist-types/ts3.4/GameLiftStreamsClient.d.ts +6 -0
  77. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  78. package/dist-types/ts3.4/commands/AddStreamGroupLocationsCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/AssociateApplicationsCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/CreateStreamGroupCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/CreateStreamSessionAdminShellCommand.d.ts +44 -0
  83. package/dist-types/ts3.4/commands/CreateStreamSessionConnectionCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/DeleteStreamGroupCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/DisassociateApplicationsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ExportStreamSessionFilesCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/GetStreamGroupCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/GetStreamSessionCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/ListStreamGroupsCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/ListStreamSessionsByAccountCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/ListStreamSessionsCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  96. package/dist-types/ts3.4/commands/RemoveStreamGroupLocationsCommand.d.ts +7 -16
  97. package/dist-types/ts3.4/commands/StartStreamSessionCommand.d.ts +7 -16
  98. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  99. package/dist-types/ts3.4/commands/TerminateStreamSessionCommand.d.ts +7 -16
  100. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  101. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +7 -16
  102. package/dist-types/ts3.4/commands/UpdateStreamGroupCommand.d.ts +7 -16
  103. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  104. package/dist-types/ts3.4/index.d.ts +1 -0
  105. package/dist-types/ts3.4/models/errors.d.ts +12 -0
  106. package/dist-types/ts3.4/models/models_0.d.ts +9 -0
  107. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  108. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  109. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  110. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  111. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  112. package/package.json +8 -10
package/README.md CHANGED
@@ -209,6 +209,13 @@ CreateStreamGroup
209
209
  </details>
210
210
  <details>
211
211
  <summary>
212
+ CreateStreamSessionAdminShell
213
+ </summary>
214
+
215
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/gameliftstreams/command/CreateStreamSessionAdminShellCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gameliftstreams/Interface/CreateStreamSessionAdminShellCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-gameliftstreams/Interface/CreateStreamSessionAdminShellCommandOutput/)
216
+ </details>
217
+ <details>
218
+ <summary>
212
219
  CreateStreamSessionConnection
213
220
  </summary>
214
221
 
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -10,9 +11,10 @@ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CON
10
11
  const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
12
  const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
13
  const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
- const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
15
  const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
16
  const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
16
18
 
17
19
  const defaultGameLiftStreamsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
20
  return {
@@ -65,7 +67,7 @@ const commonParams = {
65
67
  Region: { type: "builtInParams", name: "region" },
66
68
  };
67
69
 
68
- var version = "3.1075.0";
70
+ var version = "3.1077.0";
69
71
  var packageInfo = {
70
72
  version: version};
71
73
 
@@ -219,6 +221,21 @@ class ConflictException extends GameLiftStreamsServiceException {
219
221
  this.Message = opts.Message;
220
222
  }
221
223
  }
224
+ class StreamSessionAccessNotReadyException extends GameLiftStreamsServiceException {
225
+ name = "StreamSessionAccessNotReadyException";
226
+ $fault = "client";
227
+ $retryable = {};
228
+ Message;
229
+ constructor(opts) {
230
+ super({
231
+ name: "StreamSessionAccessNotReadyException",
232
+ $fault: "client",
233
+ ...opts,
234
+ });
235
+ Object.setPrototypeOf(this, StreamSessionAccessNotReadyException.prototype);
236
+ this.Message = opts.Message;
237
+ }
238
+ }
222
239
 
223
240
  const _A = "Arn";
224
241
  const _AA = "ApplicationArns";
@@ -251,6 +268,9 @@ const _CE = "ConflictException";
251
268
  const _CSG = "CreateStreamGroup";
252
269
  const _CSGI = "CreateStreamGroupInput";
253
270
  const _CSGO = "CreateStreamGroupOutput";
271
+ const _CSSAS = "CreateStreamSessionAdminShell";
272
+ const _CSSASI = "CreateStreamSessionAdminShellInput";
273
+ const _CSSASO = "CreateStreamSessionAdminShellOutput";
254
274
  const _CSSC = "CreateStreamSessionConnection";
255
275
  const _CSSCI = "CreateStreamSessionConnectionInput";
256
276
  const _CSSCO = "CreateStreamSessionConnectionOutput";
@@ -334,17 +354,20 @@ const _SC = "StreamClass";
334
354
  const _SGI = "StreamGroupId";
335
355
  const _SGS = "StreamGroupSummary";
336
356
  const _SGSL = "StreamGroupSummaryList";
357
+ const _SI = "SessionId";
337
358
  const _SLS = "SessionLengthSeconds";
338
359
  const _SQEE = "ServiceQuotaExceededException";
339
360
  const _SR = "SignalRequest";
340
361
  const _SRi = "SignalResponse";
341
362
  const _SRt = "StatusReason";
363
+ const _SSANRE = "StreamSessionAccessNotReadyException";
342
364
  const _SSI = "StreamSessionIdentifier";
343
365
  const _SSS = "StreamSessionSummary";
344
366
  const _SSSI = "StartStreamSessionInput";
345
367
  const _SSSL = "StreamSessionSummaryList";
346
368
  const _SSSO = "StartStreamSessionOutput";
347
369
  const _SSSt = "StartStreamSession";
370
+ const _SU = "StreamUrl";
348
371
  const _SWC = "SharedWithClient";
349
372
  const _T = "Tags";
350
373
  const _TE = "ThrottlingException";
@@ -357,6 +380,7 @@ const _TRR = "TagResourceRequest";
357
380
  const _TRRa = "TagResourceResponse";
358
381
  const _TSS = "TerminateStreamSession";
359
382
  const _TSSI = "TerminateStreamSessionInput";
383
+ const _TV = "TokenValue";
360
384
  const _Ty = "Type";
361
385
  const _UA = "UpdateApplication";
362
386
  const _UAI = "UpdateApplicationInput";
@@ -418,6 +442,12 @@ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
418
442
  [0], 1
419
443
  ];
420
444
  n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
445
+ var StreamSessionAccessNotReadyException$ = [-3, n0, _SSANRE,
446
+ { [_e]: _c, [_hE]: 409 },
447
+ [_M],
448
+ [0], 1
449
+ ];
450
+ n0_registry.registerError(StreamSessionAccessNotReadyException$, StreamSessionAccessNotReadyException);
421
451
  var ThrottlingException$ = [-3, n0, _TE,
422
452
  { [_e]: _c, [_hE]: 429 },
423
453
  [_M],
@@ -436,6 +466,7 @@ const errorTypeRegistries = [
436
466
  ];
437
467
  var SignalRequest = [0, n0, _SR, 8, 0];
438
468
  var SignalResponse = [0, n0, _SRi, 8, 0];
469
+ var TokenValue = [0, n0, _TV, 8, 0];
439
470
  var AddStreamGroupLocationsInput$ = [3, n0, _ASGLI,
440
471
  0,
441
472
  [_I, _LC],
@@ -481,6 +512,16 @@ var CreateStreamGroupOutput$ = [3, n0, _CSGO,
481
512
  [_A, _D, _DA, _LS, _SC, _Id, _S, _SRt, _LUA, _CA, _EA, _AAs],
482
513
  [0, 0, () => DefaultApplication$, () => LocationStates, 0, 0, 0, 0, 4, 4, 4, 64 | 0], 1
483
514
  ];
515
+ var CreateStreamSessionAdminShellInput$ = [3, n0, _CSSASI,
516
+ 0,
517
+ [_I, _SSI],
518
+ [[0, 1], [0, 1]], 2
519
+ ];
520
+ var CreateStreamSessionAdminShellOutput$ = [3, n0, _CSSASO,
521
+ 0,
522
+ [_SI, _SU, _TV],
523
+ [0, 0, [() => TokenValue, 0]]
524
+ ];
484
525
  var CreateStreamSessionConnectionInput$ = [3, n0, _CSSCI,
485
526
  0,
486
527
  [_I, _SSI, _SR, _CT],
@@ -747,6 +788,9 @@ var CreateApplication$ = [9, n0, _CAr,
747
788
  var CreateStreamGroup$ = [9, n0, _CSG,
748
789
  { [_h]: ["POST", "/streamgroups", 201] }, () => CreateStreamGroupInput$, () => CreateStreamGroupOutput$
749
790
  ];
791
+ var CreateStreamSessionAdminShell$ = [9, n0, _CSSAS,
792
+ { [_h]: ["POST", "/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/access", 200] }, () => CreateStreamSessionAdminShellInput$, () => CreateStreamSessionAdminShellOutput$
793
+ ];
750
794
  var CreateStreamSessionConnection$ = [9, n0, _CSSC,
751
795
  { [_h]: ["POST", "/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/connections", 200] }, () => CreateStreamSessionConnectionInput$, () => CreateStreamSessionConnectionOutput$
752
796
  ];
@@ -833,6 +877,7 @@ const getRuntimeConfig$1 = (config) => {
833
877
  serviceTarget: "GameLiftStreams",
834
878
  },
835
879
  serviceId: config?.serviceId ?? "GameLiftStreams",
880
+ sha256: config?.sha256 ?? Sha256,
836
881
  urlParser: config?.urlParser ?? parseUrl,
837
882
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
838
883
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -866,7 +911,6 @@ const getRuntimeConfig = (config) => {
866
911
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
867
912
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
868
913
  }, config),
869
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
870
914
  streamCollector: config?.streamCollector ?? streamCollector,
871
915
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
872
916
  useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -954,292 +998,83 @@ class GameLiftStreamsClient extends Client {
954
998
  }
955
999
  }
956
1000
 
957
- class AddStreamGroupLocationsCommand extends Command
958
- .classBuilder()
959
- .ep(commonParams)
960
- .m(function (Command, cs, config, o) {
961
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
962
- })
963
- .s("GameLiftStreams", "AddStreamGroupLocations", {})
964
- .n("GameLiftStreamsClient", "AddStreamGroupLocationsCommand")
965
- .sc(AddStreamGroupLocations$)
966
- .build() {
1001
+ const command = makeBuilder(commonParams, "GameLiftStreams", "GameLiftStreamsClient", getEndpointPlugin);
1002
+ const _ep0 = {};
1003
+ const _mw0 = (Command, cs, config, o) => [];
1004
+
1005
+ class AddStreamGroupLocationsCommand extends command(_ep0, _mw0, "AddStreamGroupLocations", AddStreamGroupLocations$) {
1006
+ }
1007
+
1008
+ class AssociateApplicationsCommand extends command(_ep0, _mw0, "AssociateApplications", AssociateApplications$) {
967
1009
  }
968
1010
 
969
- class AssociateApplicationsCommand extends Command
970
- .classBuilder()
971
- .ep(commonParams)
972
- .m(function (Command, cs, config, o) {
973
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
974
- })
975
- .s("GameLiftStreams", "AssociateApplications", {})
976
- .n("GameLiftStreamsClient", "AssociateApplicationsCommand")
977
- .sc(AssociateApplications$)
978
- .build() {
1011
+ class CreateApplicationCommand extends command(_ep0, _mw0, "CreateApplication", CreateApplication$) {
979
1012
  }
980
1013
 
981
- class CreateApplicationCommand extends Command
982
- .classBuilder()
983
- .ep(commonParams)
984
- .m(function (Command, cs, config, o) {
985
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
986
- })
987
- .s("GameLiftStreams", "CreateApplication", {})
988
- .n("GameLiftStreamsClient", "CreateApplicationCommand")
989
- .sc(CreateApplication$)
990
- .build() {
1014
+ class CreateStreamGroupCommand extends command(_ep0, _mw0, "CreateStreamGroup", CreateStreamGroup$) {
991
1015
  }
992
1016
 
993
- class CreateStreamGroupCommand extends Command
994
- .classBuilder()
995
- .ep(commonParams)
996
- .m(function (Command, cs, config, o) {
997
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
998
- })
999
- .s("GameLiftStreams", "CreateStreamGroup", {})
1000
- .n("GameLiftStreamsClient", "CreateStreamGroupCommand")
1001
- .sc(CreateStreamGroup$)
1002
- .build() {
1017
+ class CreateStreamSessionAdminShellCommand extends command(_ep0, _mw0, "CreateStreamSessionAdminShell", CreateStreamSessionAdminShell$) {
1003
1018
  }
1004
1019
 
1005
- class CreateStreamSessionConnectionCommand extends Command
1006
- .classBuilder()
1007
- .ep(commonParams)
1008
- .m(function (Command, cs, config, o) {
1009
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1010
- })
1011
- .s("GameLiftStreams", "CreateStreamSessionConnection", {})
1012
- .n("GameLiftStreamsClient", "CreateStreamSessionConnectionCommand")
1013
- .sc(CreateStreamSessionConnection$)
1014
- .build() {
1020
+ class CreateStreamSessionConnectionCommand extends command(_ep0, _mw0, "CreateStreamSessionConnection", CreateStreamSessionConnection$) {
1015
1021
  }
1016
1022
 
1017
- class DeleteApplicationCommand extends Command
1018
- .classBuilder()
1019
- .ep(commonParams)
1020
- .m(function (Command, cs, config, o) {
1021
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1022
- })
1023
- .s("GameLiftStreams", "DeleteApplication", {})
1024
- .n("GameLiftStreamsClient", "DeleteApplicationCommand")
1025
- .sc(DeleteApplication$)
1026
- .build() {
1023
+ class DeleteApplicationCommand extends command(_ep0, _mw0, "DeleteApplication", DeleteApplication$) {
1027
1024
  }
1028
1025
 
1029
- class DeleteStreamGroupCommand extends Command
1030
- .classBuilder()
1031
- .ep(commonParams)
1032
- .m(function (Command, cs, config, o) {
1033
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1034
- })
1035
- .s("GameLiftStreams", "DeleteStreamGroup", {})
1036
- .n("GameLiftStreamsClient", "DeleteStreamGroupCommand")
1037
- .sc(DeleteStreamGroup$)
1038
- .build() {
1026
+ class DeleteStreamGroupCommand extends command(_ep0, _mw0, "DeleteStreamGroup", DeleteStreamGroup$) {
1039
1027
  }
1040
1028
 
1041
- class DisassociateApplicationsCommand extends Command
1042
- .classBuilder()
1043
- .ep(commonParams)
1044
- .m(function (Command, cs, config, o) {
1045
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1046
- })
1047
- .s("GameLiftStreams", "DisassociateApplications", {})
1048
- .n("GameLiftStreamsClient", "DisassociateApplicationsCommand")
1049
- .sc(DisassociateApplications$)
1050
- .build() {
1029
+ class DisassociateApplicationsCommand extends command(_ep0, _mw0, "DisassociateApplications", DisassociateApplications$) {
1051
1030
  }
1052
1031
 
1053
- class ExportStreamSessionFilesCommand extends Command
1054
- .classBuilder()
1055
- .ep(commonParams)
1056
- .m(function (Command, cs, config, o) {
1057
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1058
- })
1059
- .s("GameLiftStreams", "ExportStreamSessionFiles", {})
1060
- .n("GameLiftStreamsClient", "ExportStreamSessionFilesCommand")
1061
- .sc(ExportStreamSessionFiles$)
1062
- .build() {
1032
+ class ExportStreamSessionFilesCommand extends command(_ep0, _mw0, "ExportStreamSessionFiles", ExportStreamSessionFiles$) {
1063
1033
  }
1064
1034
 
1065
- class GetApplicationCommand extends Command
1066
- .classBuilder()
1067
- .ep(commonParams)
1068
- .m(function (Command, cs, config, o) {
1069
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1070
- })
1071
- .s("GameLiftStreams", "GetApplication", {})
1072
- .n("GameLiftStreamsClient", "GetApplicationCommand")
1073
- .sc(GetApplication$)
1074
- .build() {
1035
+ class GetApplicationCommand extends command(_ep0, _mw0, "GetApplication", GetApplication$) {
1075
1036
  }
1076
1037
 
1077
- class GetStreamGroupCommand extends Command
1078
- .classBuilder()
1079
- .ep(commonParams)
1080
- .m(function (Command, cs, config, o) {
1081
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1082
- })
1083
- .s("GameLiftStreams", "GetStreamGroup", {})
1084
- .n("GameLiftStreamsClient", "GetStreamGroupCommand")
1085
- .sc(GetStreamGroup$)
1086
- .build() {
1038
+ class GetStreamGroupCommand extends command(_ep0, _mw0, "GetStreamGroup", GetStreamGroup$) {
1087
1039
  }
1088
1040
 
1089
- class GetStreamSessionCommand extends Command
1090
- .classBuilder()
1091
- .ep(commonParams)
1092
- .m(function (Command, cs, config, o) {
1093
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1094
- })
1095
- .s("GameLiftStreams", "GetStreamSession", {})
1096
- .n("GameLiftStreamsClient", "GetStreamSessionCommand")
1097
- .sc(GetStreamSession$)
1098
- .build() {
1041
+ class GetStreamSessionCommand extends command(_ep0, _mw0, "GetStreamSession", GetStreamSession$) {
1099
1042
  }
1100
1043
 
1101
- class ListApplicationsCommand extends Command
1102
- .classBuilder()
1103
- .ep(commonParams)
1104
- .m(function (Command, cs, config, o) {
1105
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1106
- })
1107
- .s("GameLiftStreams", "ListApplications", {})
1108
- .n("GameLiftStreamsClient", "ListApplicationsCommand")
1109
- .sc(ListApplications$)
1110
- .build() {
1044
+ class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
1111
1045
  }
1112
1046
 
1113
- class ListStreamGroupsCommand extends Command
1114
- .classBuilder()
1115
- .ep(commonParams)
1116
- .m(function (Command, cs, config, o) {
1117
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1118
- })
1119
- .s("GameLiftStreams", "ListStreamGroups", {})
1120
- .n("GameLiftStreamsClient", "ListStreamGroupsCommand")
1121
- .sc(ListStreamGroups$)
1122
- .build() {
1047
+ class ListStreamGroupsCommand extends command(_ep0, _mw0, "ListStreamGroups", ListStreamGroups$) {
1123
1048
  }
1124
1049
 
1125
- class ListStreamSessionsByAccountCommand extends Command
1126
- .classBuilder()
1127
- .ep(commonParams)
1128
- .m(function (Command, cs, config, o) {
1129
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1130
- })
1131
- .s("GameLiftStreams", "ListStreamSessionsByAccount", {})
1132
- .n("GameLiftStreamsClient", "ListStreamSessionsByAccountCommand")
1133
- .sc(ListStreamSessionsByAccount$)
1134
- .build() {
1050
+ class ListStreamSessionsByAccountCommand extends command(_ep0, _mw0, "ListStreamSessionsByAccount", ListStreamSessionsByAccount$) {
1135
1051
  }
1136
1052
 
1137
- class ListStreamSessionsCommand extends Command
1138
- .classBuilder()
1139
- .ep(commonParams)
1140
- .m(function (Command, cs, config, o) {
1141
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1142
- })
1143
- .s("GameLiftStreams", "ListStreamSessions", {})
1144
- .n("GameLiftStreamsClient", "ListStreamSessionsCommand")
1145
- .sc(ListStreamSessions$)
1146
- .build() {
1053
+ class ListStreamSessionsCommand extends command(_ep0, _mw0, "ListStreamSessions", ListStreamSessions$) {
1147
1054
  }
1148
1055
 
1149
- class ListTagsForResourceCommand extends Command
1150
- .classBuilder()
1151
- .ep(commonParams)
1152
- .m(function (Command, cs, config, o) {
1153
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1154
- })
1155
- .s("GameLiftStreams", "ListTagsForResource", {})
1156
- .n("GameLiftStreamsClient", "ListTagsForResourceCommand")
1157
- .sc(ListTagsForResource$)
1158
- .build() {
1056
+ class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
1159
1057
  }
1160
1058
 
1161
- class RemoveStreamGroupLocationsCommand extends Command
1162
- .classBuilder()
1163
- .ep(commonParams)
1164
- .m(function (Command, cs, config, o) {
1165
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1166
- })
1167
- .s("GameLiftStreams", "RemoveStreamGroupLocations", {})
1168
- .n("GameLiftStreamsClient", "RemoveStreamGroupLocationsCommand")
1169
- .sc(RemoveStreamGroupLocations$)
1170
- .build() {
1059
+ class RemoveStreamGroupLocationsCommand extends command(_ep0, _mw0, "RemoveStreamGroupLocations", RemoveStreamGroupLocations$) {
1171
1060
  }
1172
1061
 
1173
- class StartStreamSessionCommand extends Command
1174
- .classBuilder()
1175
- .ep(commonParams)
1176
- .m(function (Command, cs, config, o) {
1177
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1178
- })
1179
- .s("GameLiftStreams", "StartStreamSession", {})
1180
- .n("GameLiftStreamsClient", "StartStreamSessionCommand")
1181
- .sc(StartStreamSession$)
1182
- .build() {
1062
+ class StartStreamSessionCommand extends command(_ep0, _mw0, "StartStreamSession", StartStreamSession$) {
1183
1063
  }
1184
1064
 
1185
- class TagResourceCommand extends Command
1186
- .classBuilder()
1187
- .ep(commonParams)
1188
- .m(function (Command, cs, config, o) {
1189
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1190
- })
1191
- .s("GameLiftStreams", "TagResource", {})
1192
- .n("GameLiftStreamsClient", "TagResourceCommand")
1193
- .sc(TagResource$)
1194
- .build() {
1065
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1195
1066
  }
1196
1067
 
1197
- class TerminateStreamSessionCommand extends Command
1198
- .classBuilder()
1199
- .ep(commonParams)
1200
- .m(function (Command, cs, config, o) {
1201
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1202
- })
1203
- .s("GameLiftStreams", "TerminateStreamSession", {})
1204
- .n("GameLiftStreamsClient", "TerminateStreamSessionCommand")
1205
- .sc(TerminateStreamSession$)
1206
- .build() {
1068
+ class TerminateStreamSessionCommand extends command(_ep0, _mw0, "TerminateStreamSession", TerminateStreamSession$) {
1207
1069
  }
1208
1070
 
1209
- class UntagResourceCommand extends Command
1210
- .classBuilder()
1211
- .ep(commonParams)
1212
- .m(function (Command, cs, config, o) {
1213
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1214
- })
1215
- .s("GameLiftStreams", "UntagResource", {})
1216
- .n("GameLiftStreamsClient", "UntagResourceCommand")
1217
- .sc(UntagResource$)
1218
- .build() {
1071
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1219
1072
  }
1220
1073
 
1221
- class UpdateApplicationCommand extends Command
1222
- .classBuilder()
1223
- .ep(commonParams)
1224
- .m(function (Command, cs, config, o) {
1225
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1226
- })
1227
- .s("GameLiftStreams", "UpdateApplication", {})
1228
- .n("GameLiftStreamsClient", "UpdateApplicationCommand")
1229
- .sc(UpdateApplication$)
1230
- .build() {
1074
+ class UpdateApplicationCommand extends command(_ep0, _mw0, "UpdateApplication", UpdateApplication$) {
1231
1075
  }
1232
1076
 
1233
- class UpdateStreamGroupCommand extends Command
1234
- .classBuilder()
1235
- .ep(commonParams)
1236
- .m(function (Command, cs, config, o) {
1237
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1238
- })
1239
- .s("GameLiftStreams", "UpdateStreamGroup", {})
1240
- .n("GameLiftStreamsClient", "UpdateStreamGroupCommand")
1241
- .sc(UpdateStreamGroup$)
1242
- .build() {
1077
+ class UpdateStreamGroupCommand extends command(_ep0, _mw0, "UpdateStreamGroup", UpdateStreamGroup$) {
1243
1078
  }
1244
1079
 
1245
1080
  const paginateListApplications = createPaginator(GameLiftStreamsClient, ListApplicationsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1438,6 +1273,7 @@ const commands = {
1438
1273
  AssociateApplicationsCommand,
1439
1274
  CreateApplicationCommand,
1440
1275
  CreateStreamGroupCommand,
1276
+ CreateStreamSessionAdminShellCommand,
1441
1277
  CreateStreamSessionConnectionCommand,
1442
1278
  DeleteApplicationCommand,
1443
1279
  DeleteStreamGroupCommand,
@@ -1589,6 +1425,10 @@ exports.CreateStreamGroup$ = CreateStreamGroup$;
1589
1425
  exports.CreateStreamGroupCommand = CreateStreamGroupCommand;
1590
1426
  exports.CreateStreamGroupInput$ = CreateStreamGroupInput$;
1591
1427
  exports.CreateStreamGroupOutput$ = CreateStreamGroupOutput$;
1428
+ exports.CreateStreamSessionAdminShell$ = CreateStreamSessionAdminShell$;
1429
+ exports.CreateStreamSessionAdminShellCommand = CreateStreamSessionAdminShellCommand;
1430
+ exports.CreateStreamSessionAdminShellInput$ = CreateStreamSessionAdminShellInput$;
1431
+ exports.CreateStreamSessionAdminShellOutput$ = CreateStreamSessionAdminShellOutput$;
1592
1432
  exports.CreateStreamSessionConnection$ = CreateStreamSessionConnection$;
1593
1433
  exports.CreateStreamSessionConnectionCommand = CreateStreamSessionConnectionCommand;
1594
1434
  exports.CreateStreamSessionConnectionInput$ = CreateStreamSessionConnectionInput$;
@@ -1672,6 +1512,8 @@ exports.StreamGroupLocationStatus = StreamGroupLocationStatus;
1672
1512
  exports.StreamGroupStatus = StreamGroupStatus;
1673
1513
  exports.StreamGroupStatusReason = StreamGroupStatusReason;
1674
1514
  exports.StreamGroupSummary$ = StreamGroupSummary$;
1515
+ exports.StreamSessionAccessNotReadyException = StreamSessionAccessNotReadyException;
1516
+ exports.StreamSessionAccessNotReadyException$ = StreamSessionAccessNotReadyException$;
1675
1517
  exports.StreamSessionStatus = StreamSessionStatus;
1676
1518
  exports.StreamSessionStatusReason = StreamSessionStatusReason;
1677
1519
  exports.StreamSessionSummary$ = StreamSessionSummary$;
@@ -3,6 +3,7 @@ import { AddStreamGroupLocationsCommand, } from "./commands/AddStreamGroupLocati
3
3
  import { AssociateApplicationsCommand, } from "./commands/AssociateApplicationsCommand";
4
4
  import { CreateApplicationCommand, } from "./commands/CreateApplicationCommand";
5
5
  import { CreateStreamGroupCommand, } from "./commands/CreateStreamGroupCommand";
6
+ import { CreateStreamSessionAdminShellCommand, } from "./commands/CreateStreamSessionAdminShellCommand";
6
7
  import { CreateStreamSessionConnectionCommand, } from "./commands/CreateStreamSessionConnectionCommand";
7
8
  import { DeleteApplicationCommand, } from "./commands/DeleteApplicationCommand";
8
9
  import { DeleteStreamGroupCommand, } from "./commands/DeleteStreamGroupCommand";
@@ -38,6 +39,7 @@ const commands = {
38
39
  AssociateApplicationsCommand,
39
40
  CreateApplicationCommand,
40
41
  CreateStreamGroupCommand,
42
+ CreateStreamSessionAdminShellCommand,
41
43
  CreateStreamSessionConnectionCommand,
42
44
  DeleteApplicationCommand,
43
45
  DeleteStreamGroupCommand,
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "GameLiftStreams", "GameLiftStreamsClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AddStreamGroupLocations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AddStreamGroupLocationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "AddStreamGroupLocations", {})
13
- .n("GameLiftStreamsClient", "AddStreamGroupLocationsCommand")
14
- .sc(AddStreamGroupLocations$)
15
- .build() {
3
+ export class AddStreamGroupLocationsCommand extends command(_ep0, _mw0, "AddStreamGroupLocations", AddStreamGroupLocations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { AssociateApplications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class AssociateApplicationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "AssociateApplications", {})
13
- .n("GameLiftStreamsClient", "AssociateApplicationsCommand")
14
- .sc(AssociateApplications$)
15
- .build() {
3
+ export class AssociateApplicationsCommand extends command(_ep0, _mw0, "AssociateApplications", AssociateApplications$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "CreateApplication", {})
13
- .n("GameLiftStreamsClient", "CreateApplicationCommand")
14
- .sc(CreateApplication$)
15
- .build() {
3
+ export class CreateApplicationCommand extends command(_ep0, _mw0, "CreateApplication", CreateApplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateStreamGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateStreamGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "CreateStreamGroup", {})
13
- .n("GameLiftStreamsClient", "CreateStreamGroupCommand")
14
- .sc(CreateStreamGroup$)
15
- .build() {
3
+ export class CreateStreamGroupCommand extends command(_ep0, _mw0, "CreateStreamGroup", CreateStreamGroup$) {
16
4
  }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateStreamSessionAdminShell$ } from "../schemas/schemas_0";
3
+ export class CreateStreamSessionAdminShellCommand extends command(_ep0, _mw0, "CreateStreamSessionAdminShell", CreateStreamSessionAdminShell$) {
4
+ }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateStreamSessionConnection$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateStreamSessionConnectionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "CreateStreamSessionConnection", {})
13
- .n("GameLiftStreamsClient", "CreateStreamSessionConnectionCommand")
14
- .sc(CreateStreamSessionConnection$)
15
- .build() {
3
+ export class CreateStreamSessionConnectionCommand extends command(_ep0, _mw0, "CreateStreamSessionConnection", CreateStreamSessionConnection$) {
16
4
  }