@aws-sdk/client-gameliftstreams 3.1077.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 (100) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +84 -243
  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/schemas/schemas_0.js +28 -1
  34. package/dist-types/GameLiftStreams.d.ts +7 -0
  35. package/dist-types/GameLiftStreamsClient.d.ts +3 -2
  36. package/dist-types/commandBuilder.d.ts +18 -0
  37. package/dist-types/commands/AddStreamGroupLocationsCommand.d.ts +3 -8
  38. package/dist-types/commands/AssociateApplicationsCommand.d.ts +3 -8
  39. package/dist-types/commands/CreateApplicationCommand.d.ts +4 -9
  40. package/dist-types/commands/CreateStreamGroupCommand.d.ts +3 -8
  41. package/dist-types/commands/CreateStreamSessionAdminShellCommand.d.ts +92 -0
  42. package/dist-types/commands/CreateStreamSessionConnectionCommand.d.ts +3 -8
  43. package/dist-types/commands/DeleteApplicationCommand.d.ts +3 -8
  44. package/dist-types/commands/DeleteStreamGroupCommand.d.ts +3 -8
  45. package/dist-types/commands/DisassociateApplicationsCommand.d.ts +3 -8
  46. package/dist-types/commands/ExportStreamSessionFilesCommand.d.ts +3 -8
  47. package/dist-types/commands/GetApplicationCommand.d.ts +3 -8
  48. package/dist-types/commands/GetStreamGroupCommand.d.ts +3 -8
  49. package/dist-types/commands/GetStreamSessionCommand.d.ts +3 -8
  50. package/dist-types/commands/ListApplicationsCommand.d.ts +3 -8
  51. package/dist-types/commands/ListStreamGroupsCommand.d.ts +3 -8
  52. package/dist-types/commands/ListStreamSessionsByAccountCommand.d.ts +3 -8
  53. package/dist-types/commands/ListStreamSessionsCommand.d.ts +3 -8
  54. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  55. package/dist-types/commands/RemoveStreamGroupLocationsCommand.d.ts +3 -8
  56. package/dist-types/commands/StartStreamSessionCommand.d.ts +3 -8
  57. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  58. package/dist-types/commands/TerminateStreamSessionCommand.d.ts +3 -8
  59. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  60. package/dist-types/commands/UpdateApplicationCommand.d.ts +3 -8
  61. package/dist-types/commands/UpdateStreamGroupCommand.d.ts +3 -8
  62. package/dist-types/commands/index.d.ts +1 -0
  63. package/dist-types/index.d.ts +1 -0
  64. package/dist-types/models/errors.d.ts +18 -0
  65. package/dist-types/models/models_0.d.ts +35 -0
  66. package/dist-types/schemas/schemas_0.d.ts +4 -0
  67. package/dist-types/ts3.4/GameLiftStreams.d.ts +17 -0
  68. package/dist-types/ts3.4/GameLiftStreamsClient.d.ts +6 -0
  69. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  70. package/dist-types/ts3.4/commands/AddStreamGroupLocationsCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/AssociateApplicationsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/CreateStreamGroupCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/CreateStreamSessionAdminShellCommand.d.ts +44 -0
  75. package/dist-types/ts3.4/commands/CreateStreamSessionConnectionCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/DeleteStreamGroupCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/DisassociateApplicationsCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/ExportStreamSessionFilesCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/GetStreamGroupCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/GetStreamSessionCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/commands/ListStreamGroupsCommand.d.ts +7 -16
  85. package/dist-types/ts3.4/commands/ListStreamSessionsByAccountCommand.d.ts +7 -16
  86. package/dist-types/ts3.4/commands/ListStreamSessionsCommand.d.ts +7 -16
  87. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  88. package/dist-types/ts3.4/commands/RemoveStreamGroupLocationsCommand.d.ts +7 -16
  89. package/dist-types/ts3.4/commands/StartStreamSessionCommand.d.ts +7 -16
  90. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  91. package/dist-types/ts3.4/commands/TerminateStreamSessionCommand.d.ts +7 -16
  92. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  93. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +7 -16
  94. package/dist-types/ts3.4/commands/UpdateStreamGroupCommand.d.ts +7 -16
  95. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  96. package/dist-types/ts3.4/index.d.ts +1 -0
  97. package/dist-types/ts3.4/models/errors.d.ts +12 -0
  98. package/dist-types/ts3.4/models/models_0.d.ts +9 -0
  99. package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
  100. package/package.json +8 -8
@@ -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 { DisassociateApplications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DisassociateApplicationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "DisassociateApplications", {})
13
- .n("GameLiftStreamsClient", "DisassociateApplicationsCommand")
14
- .sc(DisassociateApplications$)
15
- .build() {
3
+ export class DisassociateApplicationsCommand extends command(_ep0, _mw0, "DisassociateApplications", DisassociateApplications$) {
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 { ExportStreamSessionFiles$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ExportStreamSessionFilesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "ExportStreamSessionFiles", {})
13
- .n("GameLiftStreamsClient", "ExportStreamSessionFilesCommand")
14
- .sc(ExportStreamSessionFiles$)
15
- .build() {
3
+ export class ExportStreamSessionFilesCommand extends command(_ep0, _mw0, "ExportStreamSessionFiles", ExportStreamSessionFiles$) {
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 { GetApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "GetApplication", {})
13
- .n("GameLiftStreamsClient", "GetApplicationCommand")
14
- .sc(GetApplication$)
15
- .build() {
3
+ export class GetApplicationCommand extends command(_ep0, _mw0, "GetApplication", GetApplication$) {
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 { GetStreamGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetStreamGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "GetStreamGroup", {})
13
- .n("GameLiftStreamsClient", "GetStreamGroupCommand")
14
- .sc(GetStreamGroup$)
15
- .build() {
3
+ export class GetStreamGroupCommand extends command(_ep0, _mw0, "GetStreamGroup", GetStreamGroup$) {
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 { GetStreamSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetStreamSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "GetStreamSession", {})
13
- .n("GameLiftStreamsClient", "GetStreamSessionCommand")
14
- .sc(GetStreamSession$)
15
- .build() {
3
+ export class GetStreamSessionCommand extends command(_ep0, _mw0, "GetStreamSession", GetStreamSession$) {
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 { ListApplications$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListApplicationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "ListApplications", {})
13
- .n("GameLiftStreamsClient", "ListApplicationsCommand")
14
- .sc(ListApplications$)
15
- .build() {
3
+ export class ListApplicationsCommand extends command(_ep0, _mw0, "ListApplications", ListApplications$) {
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 { ListStreamGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListStreamGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "ListStreamGroups", {})
13
- .n("GameLiftStreamsClient", "ListStreamGroupsCommand")
14
- .sc(ListStreamGroups$)
15
- .build() {
3
+ export class ListStreamGroupsCommand extends command(_ep0, _mw0, "ListStreamGroups", ListStreamGroups$) {
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 { ListStreamSessionsByAccount$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListStreamSessionsByAccountCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "ListStreamSessionsByAccount", {})
13
- .n("GameLiftStreamsClient", "ListStreamSessionsByAccountCommand")
14
- .sc(ListStreamSessionsByAccount$)
15
- .build() {
3
+ export class ListStreamSessionsByAccountCommand extends command(_ep0, _mw0, "ListStreamSessionsByAccount", ListStreamSessionsByAccount$) {
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 { ListStreamSessions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListStreamSessionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "ListStreamSessions", {})
13
- .n("GameLiftStreamsClient", "ListStreamSessionsCommand")
14
- .sc(ListStreamSessions$)
15
- .build() {
3
+ export class ListStreamSessionsCommand extends command(_ep0, _mw0, "ListStreamSessions", ListStreamSessions$) {
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 { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "ListTagsForResource", {})
13
- .n("GameLiftStreamsClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
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 { RemoveStreamGroupLocations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemoveStreamGroupLocationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "RemoveStreamGroupLocations", {})
13
- .n("GameLiftStreamsClient", "RemoveStreamGroupLocationsCommand")
14
- .sc(RemoveStreamGroupLocations$)
15
- .build() {
3
+ export class RemoveStreamGroupLocationsCommand extends command(_ep0, _mw0, "RemoveStreamGroupLocations", RemoveStreamGroupLocations$) {
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 { StartStreamSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartStreamSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "StartStreamSession", {})
13
- .n("GameLiftStreamsClient", "StartStreamSessionCommand")
14
- .sc(StartStreamSession$)
15
- .build() {
3
+ export class StartStreamSessionCommand extends command(_ep0, _mw0, "StartStreamSession", StartStreamSession$) {
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 { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "TagResource", {})
13
- .n("GameLiftStreamsClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
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 { TerminateStreamSession$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TerminateStreamSessionCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "TerminateStreamSession", {})
13
- .n("GameLiftStreamsClient", "TerminateStreamSessionCommand")
14
- .sc(TerminateStreamSession$)
15
- .build() {
3
+ export class TerminateStreamSessionCommand extends command(_ep0, _mw0, "TerminateStreamSession", TerminateStreamSession$) {
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 { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "UntagResource", {})
13
- .n("GameLiftStreamsClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
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 { UpdateApplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateApplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "UpdateApplication", {})
13
- .n("GameLiftStreamsClient", "UpdateApplicationCommand")
14
- .sc(UpdateApplication$)
15
- .build() {
3
+ export class UpdateApplicationCommand extends command(_ep0, _mw0, "UpdateApplication", UpdateApplication$) {
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 { UpdateStreamGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateStreamGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GameLiftStreams", "UpdateStreamGroup", {})
13
- .n("GameLiftStreamsClient", "UpdateStreamGroupCommand")
14
- .sc(UpdateStreamGroup$)
15
- .build() {
3
+ export class UpdateStreamGroupCommand extends command(_ep0, _mw0, "UpdateStreamGroup", UpdateStreamGroup$) {
16
4
  }
@@ -2,6 +2,7 @@ export * from "./AddStreamGroupLocationsCommand";
2
2
  export * from "./AssociateApplicationsCommand";
3
3
  export * from "./CreateApplicationCommand";
4
4
  export * from "./CreateStreamGroupCommand";
5
+ export * from "./CreateStreamSessionAdminShellCommand";
5
6
  export * from "./CreateStreamSessionConnectionCommand";
6
7
  export * from "./DeleteApplicationCommand";
7
8
  export * from "./DeleteStreamGroupCommand";
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./GameLiftStreamsClient";
2
2
  export * from "./GameLiftStreams";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./waiters";
@@ -101,3 +101,18 @@ export class ConflictException extends __BaseException {
101
101
  this.Message = opts.Message;
102
102
  }
103
103
  }
104
+ export class StreamSessionAccessNotReadyException extends __BaseException {
105
+ name = "StreamSessionAccessNotReadyException";
106
+ $fault = "client";
107
+ $retryable = {};
108
+ Message;
109
+ constructor(opts) {
110
+ super({
111
+ name: "StreamSessionAccessNotReadyException",
112
+ $fault: "client",
113
+ ...opts,
114
+ });
115
+ Object.setPrototypeOf(this, StreamSessionAccessNotReadyException.prototype);
116
+ this.Message = opts.Message;
117
+ }
118
+ }
@@ -29,6 +29,9 @@ const _CE = "ConflictException";
29
29
  const _CSG = "CreateStreamGroup";
30
30
  const _CSGI = "CreateStreamGroupInput";
31
31
  const _CSGO = "CreateStreamGroupOutput";
32
+ const _CSSAS = "CreateStreamSessionAdminShell";
33
+ const _CSSASI = "CreateStreamSessionAdminShellInput";
34
+ const _CSSASO = "CreateStreamSessionAdminShellOutput";
32
35
  const _CSSC = "CreateStreamSessionConnection";
33
36
  const _CSSCI = "CreateStreamSessionConnectionInput";
34
37
  const _CSSCO = "CreateStreamSessionConnectionOutput";
@@ -112,17 +115,20 @@ const _SC = "StreamClass";
112
115
  const _SGI = "StreamGroupId";
113
116
  const _SGS = "StreamGroupSummary";
114
117
  const _SGSL = "StreamGroupSummaryList";
118
+ const _SI = "SessionId";
115
119
  const _SLS = "SessionLengthSeconds";
116
120
  const _SQEE = "ServiceQuotaExceededException";
117
121
  const _SR = "SignalRequest";
118
122
  const _SRi = "SignalResponse";
119
123
  const _SRt = "StatusReason";
124
+ const _SSANRE = "StreamSessionAccessNotReadyException";
120
125
  const _SSI = "StreamSessionIdentifier";
121
126
  const _SSS = "StreamSessionSummary";
122
127
  const _SSSI = "StartStreamSessionInput";
123
128
  const _SSSL = "StreamSessionSummaryList";
124
129
  const _SSSO = "StartStreamSessionOutput";
125
130
  const _SSSt = "StartStreamSession";
131
+ const _SU = "StreamUrl";
126
132
  const _SWC = "SharedWithClient";
127
133
  const _T = "Tags";
128
134
  const _TE = "ThrottlingException";
@@ -135,6 +141,7 @@ const _TRR = "TagResourceRequest";
135
141
  const _TRRa = "TagResourceResponse";
136
142
  const _TSS = "TerminateStreamSession";
137
143
  const _TSSI = "TerminateStreamSessionInput";
144
+ const _TV = "TokenValue";
138
145
  const _Ty = "Type";
139
146
  const _UA = "UpdateApplication";
140
147
  const _UAI = "UpdateApplicationInput";
@@ -163,7 +170,7 @@ const _se = "server";
163
170
  const _tK = "tagKeys";
164
171
  const n0 = "com.amazonaws.gameliftstreams";
165
172
  import { TypeRegistry } from "@smithy/core/schema";
166
- import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
173
+ import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, StreamSessionAccessNotReadyException, ThrottlingException, ValidationException, } from "../models/errors";
167
174
  import { GameLiftStreamsServiceException } from "../models/GameLiftStreamsServiceException";
168
175
  const _s_registry = TypeRegistry.for(_s);
169
176
  export var GameLiftStreamsServiceException$ = [-3, _s, "GameLiftStreamsServiceException", 0, [], []];
@@ -199,6 +206,12 @@ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
199
206
  [0], 1
200
207
  ];
201
208
  n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
209
+ export var StreamSessionAccessNotReadyException$ = [-3, n0, _SSANRE,
210
+ { [_e]: _c, [_hE]: 409 },
211
+ [_M],
212
+ [0], 1
213
+ ];
214
+ n0_registry.registerError(StreamSessionAccessNotReadyException$, StreamSessionAccessNotReadyException);
202
215
  export var ThrottlingException$ = [-3, n0, _TE,
203
216
  { [_e]: _c, [_hE]: 429 },
204
217
  [_M],
@@ -217,6 +230,7 @@ export const errorTypeRegistries = [
217
230
  ];
218
231
  var SignalRequest = [0, n0, _SR, 8, 0];
219
232
  var SignalResponse = [0, n0, _SRi, 8, 0];
233
+ var TokenValue = [0, n0, _TV, 8, 0];
220
234
  export var AddStreamGroupLocationsInput$ = [3, n0, _ASGLI,
221
235
  0,
222
236
  [_I, _LC],
@@ -262,6 +276,16 @@ export var CreateStreamGroupOutput$ = [3, n0, _CSGO,
262
276
  [_A, _D, _DA, _LS, _SC, _Id, _S, _SRt, _LUA, _CA, _EA, _AAs],
263
277
  [0, 0, () => DefaultApplication$, () => LocationStates, 0, 0, 0, 0, 4, 4, 4, 64 | 0], 1
264
278
  ];
279
+ export var CreateStreamSessionAdminShellInput$ = [3, n0, _CSSASI,
280
+ 0,
281
+ [_I, _SSI],
282
+ [[0, 1], [0, 1]], 2
283
+ ];
284
+ export var CreateStreamSessionAdminShellOutput$ = [3, n0, _CSSASO,
285
+ 0,
286
+ [_SI, _SU, _TV],
287
+ [0, 0, [() => TokenValue, 0]]
288
+ ];
265
289
  export var CreateStreamSessionConnectionInput$ = [3, n0, _CSSCI,
266
290
  0,
267
291
  [_I, _SSI, _SR, _CT],
@@ -538,6 +562,9 @@ export var CreateApplication$ = [9, n0, _CAr,
538
562
  export var CreateStreamGroup$ = [9, n0, _CSG,
539
563
  { [_h]: ["POST", "/streamgroups", 201] }, () => CreateStreamGroupInput$, () => CreateStreamGroupOutput$
540
564
  ];
565
+ export var CreateStreamSessionAdminShell$ = [9, n0, _CSSAS,
566
+ { [_h]: ["POST", "/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/access", 200] }, () => CreateStreamSessionAdminShellInput$, () => CreateStreamSessionAdminShellOutput$
567
+ ];
541
568
  export var CreateStreamSessionConnection$ = [9, n0, _CSSC,
542
569
  { [_h]: ["POST", "/streamgroups/{Identifier}/streamsessions/{StreamSessionIdentifier}/connections", 200] }, () => CreateStreamSessionConnectionInput$, () => CreateStreamSessionConnectionOutput$
543
570
  ];
@@ -4,6 +4,7 @@ import { type AddStreamGroupLocationsCommandInput, type AddStreamGroupLocationsC
4
4
  import { type AssociateApplicationsCommandInput, type AssociateApplicationsCommandOutput } from "./commands/AssociateApplicationsCommand";
5
5
  import { type CreateApplicationCommandInput, type CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
6
6
  import { type CreateStreamGroupCommandInput, type CreateStreamGroupCommandOutput } from "./commands/CreateStreamGroupCommand";
7
+ import { type CreateStreamSessionAdminShellCommandInput, type CreateStreamSessionAdminShellCommandOutput } from "./commands/CreateStreamSessionAdminShellCommand";
7
8
  import { type CreateStreamSessionConnectionCommandInput, type CreateStreamSessionConnectionCommandOutput } from "./commands/CreateStreamSessionConnectionCommand";
8
9
  import { type DeleteApplicationCommandInput, type DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
9
10
  import { type DeleteStreamGroupCommandInput, type DeleteStreamGroupCommandOutput } from "./commands/DeleteStreamGroupCommand";
@@ -51,6 +52,12 @@ export interface GameLiftStreams {
51
52
  createStreamGroup(args: CreateStreamGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateStreamGroupCommandOutput>;
52
53
  createStreamGroup(args: CreateStreamGroupCommandInput, cb: (err: any, data?: CreateStreamGroupCommandOutput) => void): void;
53
54
  createStreamGroup(args: CreateStreamGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStreamGroupCommandOutput) => void): void;
55
+ /**
56
+ * @see {@link CreateStreamSessionAdminShellCommand}
57
+ */
58
+ createStreamSessionAdminShell(args: CreateStreamSessionAdminShellCommandInput, options?: __HttpHandlerOptions): Promise<CreateStreamSessionAdminShellCommandOutput>;
59
+ createStreamSessionAdminShell(args: CreateStreamSessionAdminShellCommandInput, cb: (err: any, data?: CreateStreamSessionAdminShellCommandOutput) => void): void;
60
+ createStreamSessionAdminShell(args: CreateStreamSessionAdminShellCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateStreamSessionAdminShellCommandOutput) => void): void;
54
61
  /**
55
62
  * @see {@link CreateStreamSessionConnectionCommand}
56
63
  */
@@ -10,6 +10,7 @@ import type { AddStreamGroupLocationsCommandInput, AddStreamGroupLocationsComman
10
10
  import type { AssociateApplicationsCommandInput, AssociateApplicationsCommandOutput } from "./commands/AssociateApplicationsCommand";
11
11
  import type { CreateApplicationCommandInput, CreateApplicationCommandOutput } from "./commands/CreateApplicationCommand";
12
12
  import type { CreateStreamGroupCommandInput, CreateStreamGroupCommandOutput } from "./commands/CreateStreamGroupCommand";
13
+ import type { CreateStreamSessionAdminShellCommandInput, CreateStreamSessionAdminShellCommandOutput } from "./commands/CreateStreamSessionAdminShellCommand";
13
14
  import type { CreateStreamSessionConnectionCommandInput, CreateStreamSessionConnectionCommandOutput } from "./commands/CreateStreamSessionConnectionCommand";
14
15
  import type { DeleteApplicationCommandInput, DeleteApplicationCommandOutput } from "./commands/DeleteApplicationCommand";
15
16
  import type { DeleteStreamGroupCommandInput, DeleteStreamGroupCommandOutput } from "./commands/DeleteStreamGroupCommand";
@@ -36,11 +37,11 @@ export { __Client };
36
37
  /**
37
38
  * @public
38
39
  */
39
- export type ServiceInputTypes = AddStreamGroupLocationsCommandInput | AssociateApplicationsCommandInput | CreateApplicationCommandInput | CreateStreamGroupCommandInput | CreateStreamSessionConnectionCommandInput | DeleteApplicationCommandInput | DeleteStreamGroupCommandInput | DisassociateApplicationsCommandInput | ExportStreamSessionFilesCommandInput | GetApplicationCommandInput | GetStreamGroupCommandInput | GetStreamSessionCommandInput | ListApplicationsCommandInput | ListStreamGroupsCommandInput | ListStreamSessionsByAccountCommandInput | ListStreamSessionsCommandInput | ListTagsForResourceCommandInput | RemoveStreamGroupLocationsCommandInput | StartStreamSessionCommandInput | TagResourceCommandInput | TerminateStreamSessionCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateStreamGroupCommandInput;
40
+ export type ServiceInputTypes = AddStreamGroupLocationsCommandInput | AssociateApplicationsCommandInput | CreateApplicationCommandInput | CreateStreamGroupCommandInput | CreateStreamSessionAdminShellCommandInput | CreateStreamSessionConnectionCommandInput | DeleteApplicationCommandInput | DeleteStreamGroupCommandInput | DisassociateApplicationsCommandInput | ExportStreamSessionFilesCommandInput | GetApplicationCommandInput | GetStreamGroupCommandInput | GetStreamSessionCommandInput | ListApplicationsCommandInput | ListStreamGroupsCommandInput | ListStreamSessionsByAccountCommandInput | ListStreamSessionsCommandInput | ListTagsForResourceCommandInput | RemoveStreamGroupLocationsCommandInput | StartStreamSessionCommandInput | TagResourceCommandInput | TerminateStreamSessionCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateStreamGroupCommandInput;
40
41
  /**
41
42
  * @public
42
43
  */
43
- export type ServiceOutputTypes = AddStreamGroupLocationsCommandOutput | AssociateApplicationsCommandOutput | CreateApplicationCommandOutput | CreateStreamGroupCommandOutput | CreateStreamSessionConnectionCommandOutput | DeleteApplicationCommandOutput | DeleteStreamGroupCommandOutput | DisassociateApplicationsCommandOutput | ExportStreamSessionFilesCommandOutput | GetApplicationCommandOutput | GetStreamGroupCommandOutput | GetStreamSessionCommandOutput | ListApplicationsCommandOutput | ListStreamGroupsCommandOutput | ListStreamSessionsByAccountCommandOutput | ListStreamSessionsCommandOutput | ListTagsForResourceCommandOutput | RemoveStreamGroupLocationsCommandOutput | StartStreamSessionCommandOutput | TagResourceCommandOutput | TerminateStreamSessionCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateStreamGroupCommandOutput;
44
+ export type ServiceOutputTypes = AddStreamGroupLocationsCommandOutput | AssociateApplicationsCommandOutput | CreateApplicationCommandOutput | CreateStreamGroupCommandOutput | CreateStreamSessionAdminShellCommandOutput | CreateStreamSessionConnectionCommandOutput | DeleteApplicationCommandOutput | DeleteStreamGroupCommandOutput | DisassociateApplicationsCommandOutput | ExportStreamSessionFilesCommandOutput | GetApplicationCommandOutput | GetStreamGroupCommandOutput | GetStreamSessionCommandOutput | ListApplicationsCommandOutput | ListStreamGroupsCommandOutput | ListStreamSessionsByAccountCommandOutput | ListStreamSessionsCommandOutput | ListTagsForResourceCommandOutput | RemoveStreamGroupLocationsCommandOutput | StartStreamSessionCommandOutput | TagResourceCommandOutput | TerminateStreamSessionCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateStreamGroupCommandOutput;
44
45
  /**
45
46
  * @public
46
47
  */
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./GameLiftStreamsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftStreamsClient";
4
2
  import type { AddStreamGroupLocationsInput, AddStreamGroupLocationsOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AddStreamGroupLocationsCommandInput extends AddStreamGroupLocat
22
19
  export interface AddStreamGroupLocationsCommandOutput extends AddStreamGroupLocationsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const AddStreamGroupLocationsCommand_base: {
25
- new (input: AddStreamGroupLocationsCommandInput): import("@smithy/core/client").CommandImpl<AddStreamGroupLocationsCommandInput, AddStreamGroupLocationsCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AddStreamGroupLocationsCommandInput): import("@smithy/core/client").CommandImpl<AddStreamGroupLocationsCommandInput, AddStreamGroupLocationsCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AddStreamGroupLocationsCommandInput): import("@smithy/core/client").CommandImpl<AddStreamGroupLocationsCommandInput, AddStreamGroupLocationsCommandOutput, import("..").GameLiftStreamsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AddStreamGroupLocationsCommandInput): import("@smithy/core/client").CommandImpl<AddStreamGroupLocationsCommandInput, AddStreamGroupLocationsCommandOutput, import("..").GameLiftStreamsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p> Add locations that can host stream sessions. To add a location, the stream group must be in <code>ACTIVE</code> status. You configure locations and their corresponding capacity for each stream group. Creating a stream group in a location that's nearest to your end users can help minimize latency and improve quality. </p> <p> This operation provisions stream capacity at the specified locations. By default, all locations have 1 or 2 capacity, depending on the stream class option: 2 for 'High' and 1 for 'Ultra' and 'Win2022'. This operation also copies the content files of all associated applications to an internal S3 bucket at each location. This allows Amazon GameLift Streams to host performant stream sessions. </p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftStreamsClient";
4
2
  import type { AssociateApplicationsInput, AssociateApplicationsOutput } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AssociateApplicationsCommandInput extends AssociateApplications
22
19
  export interface AssociateApplicationsCommandOutput extends AssociateApplicationsOutput, __MetadataBearer {
23
20
  }
24
21
  declare const AssociateApplicationsCommand_base: {
25
- new (input: AssociateApplicationsCommandInput): import("@smithy/core/client").CommandImpl<AssociateApplicationsCommandInput, AssociateApplicationsCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AssociateApplicationsCommandInput): import("@smithy/core/client").CommandImpl<AssociateApplicationsCommandInput, AssociateApplicationsCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AssociateApplicationsCommandInput): import("@smithy/core/client").CommandImpl<AssociateApplicationsCommandInput, AssociateApplicationsCommandOutput, import("..").GameLiftStreamsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AssociateApplicationsCommandInput): import("@smithy/core/client").CommandImpl<AssociateApplicationsCommandInput, AssociateApplicationsCommandOutput, import("..").GameLiftStreamsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>When you associate, or link, an application with a stream group, then Amazon GameLift Streams can launch the application using the stream group's allocated compute resources. The stream group must be in <code>ACTIVE</code> status. You can reverse this action by using <a href="https://docs.aws.amazon.com/gameliftstreams/latest/apireference/API_DisassociateApplications.html">DisassociateApplications</a>.</p> <p>If a stream group does not already have a linked application, Amazon GameLift Streams will automatically assign the first application provided in <code>ApplicationIdentifiers</code> as the default.</p>