@aws-sdk/client-gameliftstreams 3.762.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 (223) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +404 -0
  3. package/dist-cjs/GameLiftStreams.js +59 -0
  4. package/dist-cjs/GameLiftStreamsClient.js +51 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/AddStreamGroupLocationsCommand.js +26 -0
  8. package/dist-cjs/commands/AssociateApplicationsCommand.js +26 -0
  9. package/dist-cjs/commands/CreateApplicationCommand.js +26 -0
  10. package/dist-cjs/commands/CreateStreamGroupCommand.js +26 -0
  11. package/dist-cjs/commands/CreateStreamSessionConnectionCommand.js +27 -0
  12. package/dist-cjs/commands/DeleteApplicationCommand.js +26 -0
  13. package/dist-cjs/commands/DeleteStreamGroupCommand.js +26 -0
  14. package/dist-cjs/commands/DisassociateApplicationsCommand.js +26 -0
  15. package/dist-cjs/commands/ExportStreamSessionFilesCommand.js +26 -0
  16. package/dist-cjs/commands/GetApplicationCommand.js +26 -0
  17. package/dist-cjs/commands/GetStreamGroupCommand.js +26 -0
  18. package/dist-cjs/commands/GetStreamSessionCommand.js +27 -0
  19. package/dist-cjs/commands/ListApplicationsCommand.js +26 -0
  20. package/dist-cjs/commands/ListStreamGroupsCommand.js +26 -0
  21. package/dist-cjs/commands/ListStreamSessionsByAccountCommand.js +26 -0
  22. package/dist-cjs/commands/ListStreamSessionsCommand.js +26 -0
  23. package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
  24. package/dist-cjs/commands/RemoveStreamGroupLocationsCommand.js +26 -0
  25. package/dist-cjs/commands/StartStreamSessionCommand.js +27 -0
  26. package/dist-cjs/commands/TagResourceCommand.js +26 -0
  27. package/dist-cjs/commands/TerminateStreamSessionCommand.js +26 -0
  28. package/dist-cjs/commands/UntagResourceCommand.js +26 -0
  29. package/dist-cjs/commands/UpdateApplicationCommand.js +26 -0
  30. package/dist-cjs/commands/UpdateStreamGroupCommand.js +26 -0
  31. package/dist-cjs/commands/index.js +27 -0
  32. package/dist-cjs/endpoint/EndpointParameters.js +16 -0
  33. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  34. package/dist-cjs/endpoint/ruleset.js +7 -0
  35. package/dist-cjs/extensionConfiguration.js +2 -0
  36. package/dist-cjs/index.js +12 -0
  37. package/dist-cjs/models/GameLiftStreamsServiceException.js +12 -0
  38. package/dist-cjs/models/index.js +4 -0
  39. package/dist-cjs/models/models_0.js +211 -0
  40. package/dist-cjs/pagination/Interfaces.js +2 -0
  41. package/dist-cjs/pagination/ListApplicationsPaginator.js +7 -0
  42. package/dist-cjs/pagination/ListStreamGroupsPaginator.js +7 -0
  43. package/dist-cjs/pagination/ListStreamSessionsByAccountPaginator.js +7 -0
  44. package/dist-cjs/pagination/ListStreamSessionsPaginator.js +7 -0
  45. package/dist-cjs/pagination/index.js +8 -0
  46. package/dist-cjs/protocols/Aws_restJson1.js +1005 -0
  47. package/dist-cjs/runtimeConfig.browser.js +39 -0
  48. package/dist-cjs/runtimeConfig.js +52 -0
  49. package/dist-cjs/runtimeConfig.native.js +15 -0
  50. package/dist-cjs/runtimeConfig.shared.js +34 -0
  51. package/dist-cjs/runtimeExtensions.js +25 -0
  52. package/dist-cjs/waiters/index.js +8 -0
  53. package/dist-cjs/waiters/waitForApplicationDeleted.js +30 -0
  54. package/dist-cjs/waiters/waitForApplicationReady.js +45 -0
  55. package/dist-cjs/waiters/waitForStreamGroupActive.js +63 -0
  56. package/dist-cjs/waiters/waitForStreamGroupDeleted.js +30 -0
  57. package/dist-cjs/waiters/waitForStreamSessionActive.js +45 -0
  58. package/dist-es/GameLiftStreams.js +55 -0
  59. package/dist-es/GameLiftStreamsClient.js +47 -0
  60. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  61. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  62. package/dist-es/commands/AddStreamGroupLocationsCommand.js +22 -0
  63. package/dist-es/commands/AssociateApplicationsCommand.js +22 -0
  64. package/dist-es/commands/CreateApplicationCommand.js +22 -0
  65. package/dist-es/commands/CreateStreamGroupCommand.js +22 -0
  66. package/dist-es/commands/CreateStreamSessionConnectionCommand.js +23 -0
  67. package/dist-es/commands/DeleteApplicationCommand.js +22 -0
  68. package/dist-es/commands/DeleteStreamGroupCommand.js +22 -0
  69. package/dist-es/commands/DisassociateApplicationsCommand.js +22 -0
  70. package/dist-es/commands/ExportStreamSessionFilesCommand.js +22 -0
  71. package/dist-es/commands/GetApplicationCommand.js +22 -0
  72. package/dist-es/commands/GetStreamGroupCommand.js +22 -0
  73. package/dist-es/commands/GetStreamSessionCommand.js +23 -0
  74. package/dist-es/commands/ListApplicationsCommand.js +22 -0
  75. package/dist-es/commands/ListStreamGroupsCommand.js +22 -0
  76. package/dist-es/commands/ListStreamSessionsByAccountCommand.js +22 -0
  77. package/dist-es/commands/ListStreamSessionsCommand.js +22 -0
  78. package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
  79. package/dist-es/commands/RemoveStreamGroupLocationsCommand.js +22 -0
  80. package/dist-es/commands/StartStreamSessionCommand.js +23 -0
  81. package/dist-es/commands/TagResourceCommand.js +22 -0
  82. package/dist-es/commands/TerminateStreamSessionCommand.js +22 -0
  83. package/dist-es/commands/UntagResourceCommand.js +22 -0
  84. package/dist-es/commands/UpdateApplicationCommand.js +22 -0
  85. package/dist-es/commands/UpdateStreamGroupCommand.js +22 -0
  86. package/dist-es/commands/index.js +24 -0
  87. package/dist-es/endpoint/EndpointParameters.js +12 -0
  88. package/dist-es/endpoint/endpointResolver.js +14 -0
  89. package/dist-es/endpoint/ruleset.js +4 -0
  90. package/dist-es/extensionConfiguration.js +1 -0
  91. package/dist-es/index.js +7 -0
  92. package/dist-es/models/GameLiftStreamsServiceException.js +8 -0
  93. package/dist-es/models/index.js +1 -0
  94. package/dist-es/models/models_0.js +196 -0
  95. package/dist-es/pagination/Interfaces.js +1 -0
  96. package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
  97. package/dist-es/pagination/ListStreamGroupsPaginator.js +4 -0
  98. package/dist-es/pagination/ListStreamSessionsByAccountPaginator.js +4 -0
  99. package/dist-es/pagination/ListStreamSessionsPaginator.js +4 -0
  100. package/dist-es/pagination/index.js +5 -0
  101. package/dist-es/protocols/Aws_restJson1.js +954 -0
  102. package/dist-es/runtimeConfig.browser.js +34 -0
  103. package/dist-es/runtimeConfig.js +47 -0
  104. package/dist-es/runtimeConfig.native.js +11 -0
  105. package/dist-es/runtimeConfig.shared.js +30 -0
  106. package/dist-es/runtimeExtensions.js +21 -0
  107. package/dist-es/waiters/index.js +5 -0
  108. package/dist-es/waiters/waitForApplicationDeleted.js +25 -0
  109. package/dist-es/waiters/waitForApplicationReady.js +40 -0
  110. package/dist-es/waiters/waitForStreamGroupActive.js +58 -0
  111. package/dist-es/waiters/waitForStreamGroupDeleted.js +25 -0
  112. package/dist-es/waiters/waitForStreamSessionActive.js +40 -0
  113. package/dist-types/GameLiftStreams.d.ts +187 -0
  114. package/dist-types/GameLiftStreamsClient.d.ts +217 -0
  115. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  116. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  117. package/dist-types/commands/AddStreamGroupLocationsCommand.d.ts +116 -0
  118. package/dist-types/commands/AssociateApplicationsCommand.d.ts +99 -0
  119. package/dist-types/commands/CreateApplicationCommand.d.ts +146 -0
  120. package/dist-types/commands/CreateStreamGroupCommand.d.ts +158 -0
  121. package/dist-types/commands/CreateStreamSessionConnectionCommand.d.ts +114 -0
  122. package/dist-types/commands/DeleteApplicationCommand.d.ts +116 -0
  123. package/dist-types/commands/DeleteStreamGroupCommand.d.ts +93 -0
  124. package/dist-types/commands/DisassociateApplicationsCommand.d.ts +100 -0
  125. package/dist-types/commands/ExportStreamSessionFilesCommand.d.ts +116 -0
  126. package/dist-types/commands/GetApplicationCommand.d.ts +116 -0
  127. package/dist-types/commands/GetStreamGroupCommand.d.ts +116 -0
  128. package/dist-types/commands/GetStreamSessionCommand.d.ts +119 -0
  129. package/dist-types/commands/ListApplicationsCommand.d.ts +103 -0
  130. package/dist-types/commands/ListStreamGroupsCommand.d.ts +104 -0
  131. package/dist-types/commands/ListStreamSessionsByAccountCommand.d.ts +109 -0
  132. package/dist-types/commands/ListStreamSessionsCommand.d.ts +113 -0
  133. package/dist-types/commands/ListTagsForResourceCommand.d.ts +100 -0
  134. package/dist-types/commands/RemoveStreamGroupLocationsCommand.d.ts +95 -0
  135. package/dist-types/commands/StartStreamSessionCommand.d.ts +156 -0
  136. package/dist-types/commands/TagResourceCommand.d.ts +107 -0
  137. package/dist-types/commands/TerminateStreamSessionCommand.d.ts +91 -0
  138. package/dist-types/commands/UntagResourceCommand.d.ts +88 -0
  139. package/dist-types/commands/UpdateApplicationCommand.d.ts +122 -0
  140. package/dist-types/commands/UpdateStreamGroupCommand.d.ts +154 -0
  141. package/dist-types/commands/index.d.ts +24 -0
  142. package/dist-types/endpoint/EndpointParameters.d.ts +34 -0
  143. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  144. package/dist-types/endpoint/ruleset.d.ts +2 -0
  145. package/dist-types/extensionConfiguration.d.ts +9 -0
  146. package/dist-types/index.d.ts +21 -0
  147. package/dist-types/models/GameLiftStreamsServiceException.d.ts +14 -0
  148. package/dist-types/models/index.d.ts +1 -0
  149. package/dist-types/models/models_0.d.ts +3555 -0
  150. package/dist-types/pagination/Interfaces.d.ts +8 -0
  151. package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
  152. package/dist-types/pagination/ListStreamGroupsPaginator.d.ts +7 -0
  153. package/dist-types/pagination/ListStreamSessionsByAccountPaginator.d.ts +7 -0
  154. package/dist-types/pagination/ListStreamSessionsPaginator.d.ts +7 -0
  155. package/dist-types/pagination/index.d.ts +5 -0
  156. package/dist-types/protocols/Aws_restJson1.d.ts +218 -0
  157. package/dist-types/runtimeConfig.browser.d.ts +49 -0
  158. package/dist-types/runtimeConfig.d.ts +49 -0
  159. package/dist-types/runtimeConfig.native.d.ts +48 -0
  160. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  161. package/dist-types/runtimeExtensions.d.ts +17 -0
  162. package/dist-types/ts3.4/GameLiftStreams.d.ts +418 -0
  163. package/dist-types/ts3.4/GameLiftStreamsClient.d.ts +264 -0
  164. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  165. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  166. package/dist-types/ts3.4/commands/AddStreamGroupLocationsCommand.d.ts +51 -0
  167. package/dist-types/ts3.4/commands/AssociateApplicationsCommand.d.ts +51 -0
  168. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +50 -0
  169. package/dist-types/ts3.4/commands/CreateStreamGroupCommand.d.ts +50 -0
  170. package/dist-types/ts3.4/commands/CreateStreamSessionConnectionCommand.d.ts +51 -0
  171. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +45 -0
  172. package/dist-types/ts3.4/commands/DeleteStreamGroupCommand.d.ts +45 -0
  173. package/dist-types/ts3.4/commands/DisassociateApplicationsCommand.d.ts +51 -0
  174. package/dist-types/ts3.4/commands/ExportStreamSessionFilesCommand.d.ts +51 -0
  175. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +47 -0
  176. package/dist-types/ts3.4/commands/GetStreamGroupCommand.d.ts +47 -0
  177. package/dist-types/ts3.4/commands/GetStreamSessionCommand.d.ts +50 -0
  178. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +50 -0
  179. package/dist-types/ts3.4/commands/ListStreamGroupsCommand.d.ts +50 -0
  180. package/dist-types/ts3.4/commands/ListStreamSessionsByAccountCommand.d.ts +51 -0
  181. package/dist-types/ts3.4/commands/ListStreamSessionsCommand.d.ts +51 -0
  182. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  183. package/dist-types/ts3.4/commands/RemoveStreamGroupLocationsCommand.d.ts +47 -0
  184. package/dist-types/ts3.4/commands/StartStreamSessionCommand.d.ts +51 -0
  185. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  186. package/dist-types/ts3.4/commands/TerminateStreamSessionCommand.d.ts +46 -0
  187. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
  188. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +50 -0
  189. package/dist-types/ts3.4/commands/UpdateStreamGroupCommand.d.ts +50 -0
  190. package/dist-types/ts3.4/commands/index.d.ts +24 -0
  191. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  192. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  193. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  194. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  195. package/dist-types/ts3.4/index.d.ts +10 -0
  196. package/dist-types/ts3.4/models/GameLiftStreamsServiceException.d.ts +9 -0
  197. package/dist-types/ts3.4/models/index.d.ts +1 -0
  198. package/dist-types/ts3.4/models/models_0.d.ts +518 -0
  199. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  200. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
  201. package/dist-types/ts3.4/pagination/ListStreamGroupsPaginator.d.ts +11 -0
  202. package/dist-types/ts3.4/pagination/ListStreamSessionsByAccountPaginator.d.ts +11 -0
  203. package/dist-types/ts3.4/pagination/ListStreamSessionsPaginator.d.ts +11 -0
  204. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  205. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +293 -0
  206. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +98 -0
  207. package/dist-types/ts3.4/runtimeConfig.d.ts +99 -0
  208. package/dist-types/ts3.4/runtimeConfig.native.d.ts +102 -0
  209. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  210. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  211. package/dist-types/ts3.4/waiters/index.d.ts +5 -0
  212. package/dist-types/ts3.4/waiters/waitForApplicationDeleted.d.ts +11 -0
  213. package/dist-types/ts3.4/waiters/waitForApplicationReady.d.ts +11 -0
  214. package/dist-types/ts3.4/waiters/waitForStreamGroupActive.d.ts +11 -0
  215. package/dist-types/ts3.4/waiters/waitForStreamGroupDeleted.d.ts +11 -0
  216. package/dist-types/ts3.4/waiters/waitForStreamSessionActive.d.ts +11 -0
  217. package/dist-types/waiters/index.d.ts +5 -0
  218. package/dist-types/waiters/waitForApplicationDeleted.d.ts +14 -0
  219. package/dist-types/waiters/waitForApplicationReady.d.ts +14 -0
  220. package/dist-types/waiters/waitForStreamGroupActive.d.ts +14 -0
  221. package/dist-types/waiters/waitForStreamGroupDeleted.d.ts +14 -0
  222. package/dist-types/waiters/waitForStreamSessionActive.d.ts +14 -0
  223. package/package.json +102 -0
@@ -0,0 +1,156 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftStreamsClient";
4
+ import { StartStreamSessionInput, StartStreamSessionOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link StartStreamSessionCommand}.
14
+ */
15
+ export interface StartStreamSessionCommandInput extends StartStreamSessionInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link StartStreamSessionCommand}.
21
+ */
22
+ export interface StartStreamSessionCommandOutput extends StartStreamSessionOutput, __MetadataBearer {
23
+ }
24
+ declare const StartStreamSessionCommand_base: {
25
+ new (input: StartStreamSessionCommandInput): import("@smithy/smithy-client").CommandImpl<StartStreamSessionCommandInput, StartStreamSessionCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: StartStreamSessionCommandInput): import("@smithy/smithy-client").CommandImpl<StartStreamSessionCommandInput, StartStreamSessionCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p> This action initiates a new stream session and outputs connection information that clients can use to access the stream. A stream
31
+ * session refers to an instance of a stream that Amazon GameLift Streams transmits from the server to the end-user. A stream session runs on a compute
32
+ * resource, or stream capacity, that a stream group has allocated. </p>
33
+ * <p>To start a new stream session, specify a stream group and application ID, along with the transport protocol and signal request settings
34
+ * to use with the stream. You must have associated at least one application to the stream group before starting a stream session, either when
35
+ * creating the stream group, or by using <a>AssociateApplications</a>.</p>
36
+ * <p> For stream groups that have multiple locations, provide a set of locations ordered by priority by setting <code>Locations</code>.
37
+ * Amazon GameLift Streams will start a single stream session in the next available location. An application must be finished replicating in a remote
38
+ * location before the remote location can host a stream. </p>
39
+ * <p> If the request is successful, Amazon GameLift Streams begins to prepare the stream. Amazon GameLift Streams assigns an Amazon Resource Name (ARN) value to the stream
40
+ * session resource and sets the status to <code>ACTIVATING</code>. During the stream preparation process, Amazon GameLift Streams queues the request and
41
+ * searches for available stream capacity to run the stream. This can result to one of the following: </p>
42
+ * <ul>
43
+ * <li>
44
+ * <p> Amazon GameLift Streams identifies an available compute resource to run the application content and start the stream. When the stream is ready,
45
+ * the stream session's status changes to <code>ACTIVE</code> and includes stream connection information. Provide the connection
46
+ * information to the requesting client to join the stream session.</p>
47
+ * </li>
48
+ * <li>
49
+ * <p> Amazon GameLift Streams doesn't identify an available resource within a certain time, set by <code>ClientToken</code>. In this case, Amazon GameLift Streams
50
+ * stops processing the request, and the stream session object status changes to <code>ERROR</code> with status reason
51
+ * <code>placementTimeout</code>.</p>
52
+ * </li>
53
+ * </ul>
54
+ * @example
55
+ * Use a bare-bones client and the command you need to make an API call.
56
+ * ```javascript
57
+ * import { GameLiftStreamsClient, StartStreamSessionCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
58
+ * // const { GameLiftStreamsClient, StartStreamSessionCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
59
+ * const client = new GameLiftStreamsClient(config);
60
+ * const input = { // StartStreamSessionInput
61
+ * ClientToken: "STRING_VALUE",
62
+ * Description: "STRING_VALUE",
63
+ * Identifier: "STRING_VALUE", // required
64
+ * Protocol: "WebRTC", // required
65
+ * SignalRequest: "STRING_VALUE", // required
66
+ * ApplicationIdentifier: "STRING_VALUE", // required
67
+ * UserId: "STRING_VALUE",
68
+ * Locations: [ // LocationList
69
+ * "STRING_VALUE",
70
+ * ],
71
+ * ConnectionTimeoutSeconds: Number("int"),
72
+ * SessionLengthSeconds: Number("int"),
73
+ * AdditionalLaunchArgs: [ // GameLaunchArgList
74
+ * "STRING_VALUE",
75
+ * ],
76
+ * AdditionalEnvironmentVariables: { // EnvironmentVariables
77
+ * "<keys>": "STRING_VALUE",
78
+ * },
79
+ * };
80
+ * const command = new StartStreamSessionCommand(input);
81
+ * const response = await client.send(command);
82
+ * // { // StartStreamSessionOutput
83
+ * // Arn: "STRING_VALUE",
84
+ * // Description: "STRING_VALUE",
85
+ * // StreamGroupId: "STRING_VALUE",
86
+ * // UserId: "STRING_VALUE",
87
+ * // Status: "ACTIVATING" || "ACTIVE" || "CONNECTED" || "PENDING_CLIENT_RECONNECTION" || "RECONNECTING" || "TERMINATING" || "TERMINATED" || "ERROR",
88
+ * // StatusReason: "internalError" || "invalidSignalRequest" || "placementTimeout" || "applicationLogS3DestinationError",
89
+ * // Protocol: "WebRTC",
90
+ * // Location: "STRING_VALUE",
91
+ * // SignalRequest: "STRING_VALUE",
92
+ * // SignalResponse: "STRING_VALUE",
93
+ * // ConnectionTimeoutSeconds: Number("int"),
94
+ * // SessionLengthSeconds: Number("int"),
95
+ * // AdditionalLaunchArgs: [ // GameLaunchArgList
96
+ * // "STRING_VALUE",
97
+ * // ],
98
+ * // AdditionalEnvironmentVariables: { // EnvironmentVariables
99
+ * // "<keys>": "STRING_VALUE",
100
+ * // },
101
+ * // LogFileLocationUri: "STRING_VALUE",
102
+ * // WebSdkProtocolUrl: "STRING_VALUE",
103
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
104
+ * // CreatedAt: new Date("TIMESTAMP"),
105
+ * // ApplicationArn: "STRING_VALUE",
106
+ * // ExportFilesMetadata: { // ExportFilesMetadata
107
+ * // Status: "SUCCEEDED" || "FAILED" || "PENDING",
108
+ * // StatusReason: "STRING_VALUE",
109
+ * // OutputUri: "STRING_VALUE",
110
+ * // },
111
+ * // };
112
+ *
113
+ * ```
114
+ *
115
+ * @param StartStreamSessionCommandInput - {@link StartStreamSessionCommandInput}
116
+ * @returns {@link StartStreamSessionCommandOutput}
117
+ * @see {@link StartStreamSessionCommandInput} for command's `input` shape.
118
+ * @see {@link StartStreamSessionCommandOutput} for command's `response` shape.
119
+ * @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
120
+ *
121
+ * @throws {@link AccessDeniedException} (client fault)
122
+ * <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the
123
+ * permissions before you try again.</p>
124
+ *
125
+ * @throws {@link ConflictException} (client fault)
126
+ * <p>The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.</p>
127
+ *
128
+ * @throws {@link InternalServerException} (server fault)
129
+ * <p>The service encountered an internal error and is unable to complete the request.</p>
130
+ *
131
+ * @throws {@link ThrottlingException} (client fault)
132
+ * <p>The request was denied due to request throttling. Retry the request after the
133
+ * suggested wait time.</p>
134
+ *
135
+ * @throws {@link ValidationException} (client fault)
136
+ * <p>One or more parameter values in the request fail to satisfy the specified constraints.
137
+ * Correct the invalid parameter values before retrying the request.</p>
138
+ *
139
+ * @throws {@link GameLiftStreamsServiceException}
140
+ * <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
141
+ *
142
+ * @public
143
+ */
144
+ export declare class StartStreamSessionCommand extends StartStreamSessionCommand_base {
145
+ /** @internal type navigation helper, not in runtime. */
146
+ protected static __types: {
147
+ api: {
148
+ input: StartStreamSessionInput;
149
+ output: StartStreamSessionOutput;
150
+ };
151
+ sdk: {
152
+ input: StartStreamSessionCommandInput;
153
+ output: StartStreamSessionCommandOutput;
154
+ };
155
+ };
156
+ }
@@ -0,0 +1,107 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftStreamsClient";
4
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TagResourceCommand}.
14
+ */
15
+ export interface TagResourceCommandInput extends TagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TagResourceCommand}.
21
+ */
22
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const TagResourceCommand_base: {
25
+ new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Assigns one or more tags to a Amazon GameLift Streams resource. Use tags to organize Amazon Web Services resources for
31
+ * a range of purposes. You can assign tags to the following Amazon GameLift Streams resource types:</p>
32
+ * <ul>
33
+ * <li>
34
+ * <p>Application</p>
35
+ * </li>
36
+ * <li>
37
+ * <p>StreamGroup</p>
38
+ * </li>
39
+ * </ul>
40
+ * <p>
41
+ * <b>Learn more</b>
42
+ * </p>
43
+ * <p>
44
+ * <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services Resources</a> in the
45
+ * <i>Amazon Web Services General Reference</i>
46
+ * </p>
47
+ * <p>
48
+ * <a href="http://aws.amazon.com/answers/account-management/aws-tagging-strategies/">
49
+ * Amazon Web Services Tagging Strategies</a>
50
+ * </p>
51
+ * @example
52
+ * Use a bare-bones client and the command you need to make an API call.
53
+ * ```javascript
54
+ * import { GameLiftStreamsClient, TagResourceCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
55
+ * // const { GameLiftStreamsClient, TagResourceCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
56
+ * const client = new GameLiftStreamsClient(config);
57
+ * const input = { // TagResourceRequest
58
+ * ResourceArn: "STRING_VALUE", // required
59
+ * Tags: { // Tags // required
60
+ * "<keys>": "STRING_VALUE",
61
+ * },
62
+ * };
63
+ * const command = new TagResourceCommand(input);
64
+ * const response = await client.send(command);
65
+ * // {};
66
+ *
67
+ * ```
68
+ *
69
+ * @param TagResourceCommandInput - {@link TagResourceCommandInput}
70
+ * @returns {@link TagResourceCommandOutput}
71
+ * @see {@link TagResourceCommandInput} for command's `input` shape.
72
+ * @see {@link TagResourceCommandOutput} for command's `response` shape.
73
+ * @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
74
+ *
75
+ * @throws {@link AccessDeniedException} (client fault)
76
+ * <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the
77
+ * permissions before you try again.</p>
78
+ *
79
+ * @throws {@link InternalServerException} (server fault)
80
+ * <p>The service encountered an internal error and is unable to complete the request.</p>
81
+ *
82
+ * @throws {@link ThrottlingException} (client fault)
83
+ * <p>The request was denied due to request throttling. Retry the request after the
84
+ * suggested wait time.</p>
85
+ *
86
+ * @throws {@link ValidationException} (client fault)
87
+ * <p>One or more parameter values in the request fail to satisfy the specified constraints.
88
+ * Correct the invalid parameter values before retrying the request.</p>
89
+ *
90
+ * @throws {@link GameLiftStreamsServiceException}
91
+ * <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
92
+ *
93
+ * @public
94
+ */
95
+ export declare class TagResourceCommand extends TagResourceCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: TagResourceRequest;
100
+ output: {};
101
+ };
102
+ sdk: {
103
+ input: TagResourceCommandInput;
104
+ output: TagResourceCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftStreamsClient";
4
+ import { TerminateStreamSessionInput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link TerminateStreamSessionCommand}.
14
+ */
15
+ export interface TerminateStreamSessionCommandInput extends TerminateStreamSessionInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link TerminateStreamSessionCommand}.
21
+ */
22
+ export interface TerminateStreamSessionCommandOutput extends __MetadataBearer {
23
+ }
24
+ declare const TerminateStreamSessionCommand_base: {
25
+ new (input: TerminateStreamSessionCommandInput): import("@smithy/smithy-client").CommandImpl<TerminateStreamSessionCommandInput, TerminateStreamSessionCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: TerminateStreamSessionCommandInput): import("@smithy/smithy-client").CommandImpl<TerminateStreamSessionCommandInput, TerminateStreamSessionCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Permanently terminates an active stream session. When called, the stream session
31
+ * status changes to <code>TERMINATING</code>. You can terminate a stream session in any
32
+ * status except <code>ACTIVATING</code>. If the stream session is in
33
+ * <code>ACTIVATING</code> status, an exception is thrown.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { GameLiftStreamsClient, TerminateStreamSessionCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
38
+ * // const { GameLiftStreamsClient, TerminateStreamSessionCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
39
+ * const client = new GameLiftStreamsClient(config);
40
+ * const input = { // TerminateStreamSessionInput
41
+ * Identifier: "STRING_VALUE", // required
42
+ * StreamSessionIdentifier: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new TerminateStreamSessionCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param TerminateStreamSessionCommandInput - {@link TerminateStreamSessionCommandInput}
51
+ * @returns {@link TerminateStreamSessionCommandOutput}
52
+ * @see {@link TerminateStreamSessionCommandInput} for command's `input` shape.
53
+ * @see {@link TerminateStreamSessionCommandOutput} for command's `response` shape.
54
+ * @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the
58
+ * permissions before you try again.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>The service encountered an internal error and is unable to complete the request.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The resource specified in the request was not found. Correct the request before you try again.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The request was denied due to request throttling. Retry the request after the
68
+ * suggested wait time.</p>
69
+ *
70
+ * @throws {@link ValidationException} (client fault)
71
+ * <p>One or more parameter values in the request fail to satisfy the specified constraints.
72
+ * Correct the invalid parameter values before retrying the request.</p>
73
+ *
74
+ * @throws {@link GameLiftStreamsServiceException}
75
+ * <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
76
+ *
77
+ * @public
78
+ */
79
+ export declare class TerminateStreamSessionCommand extends TerminateStreamSessionCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: TerminateStreamSessionInput;
84
+ output: {};
85
+ };
86
+ sdk: {
87
+ input: TerminateStreamSessionCommandInput;
88
+ output: TerminateStreamSessionCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftStreamsClient";
4
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UntagResourceCommand}.
14
+ */
15
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UntagResourceCommand}.
21
+ */
22
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
23
+ }
24
+ declare const UntagResourceCommand_base: {
25
+ new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Removes one or more tags from a Amazon GameLift Streams resource. To remove tags, specify the Amazon GameLift Streams resource and a list of
31
+ * one or more tags to remove.</p>
32
+ * @example
33
+ * Use a bare-bones client and the command you need to make an API call.
34
+ * ```javascript
35
+ * import { GameLiftStreamsClient, UntagResourceCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
36
+ * // const { GameLiftStreamsClient, UntagResourceCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
37
+ * const client = new GameLiftStreamsClient(config);
38
+ * const input = { // UntagResourceRequest
39
+ * ResourceArn: "STRING_VALUE", // required
40
+ * TagKeys: [ // TagKeyList // required
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * };
44
+ * const command = new UntagResourceCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
51
+ * @returns {@link UntagResourceCommandOutput}
52
+ * @see {@link UntagResourceCommandInput} for command's `input` shape.
53
+ * @see {@link UntagResourceCommandOutput} for command's `response` shape.
54
+ * @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the
58
+ * permissions before you try again.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>The service encountered an internal error and is unable to complete the request.</p>
62
+ *
63
+ * @throws {@link ThrottlingException} (client fault)
64
+ * <p>The request was denied due to request throttling. Retry the request after the
65
+ * suggested wait time.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>One or more parameter values in the request fail to satisfy the specified constraints.
69
+ * Correct the invalid parameter values before retrying the request.</p>
70
+ *
71
+ * @throws {@link GameLiftStreamsServiceException}
72
+ * <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
73
+ *
74
+ * @public
75
+ */
76
+ export declare class UntagResourceCommand extends UntagResourceCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: UntagResourceRequest;
81
+ output: {};
82
+ };
83
+ sdk: {
84
+ input: UntagResourceCommandInput;
85
+ output: UntagResourceCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,122 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GameLiftStreamsClient";
4
+ import { UpdateApplicationInput, UpdateApplicationOutput } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateApplicationCommand}.
14
+ */
15
+ export interface UpdateApplicationCommandInput extends UpdateApplicationInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateApplicationCommand}.
21
+ */
22
+ export interface UpdateApplicationCommandOutput extends UpdateApplicationOutput, __MetadataBearer {
23
+ }
24
+ declare const UpdateApplicationCommand_base: {
25
+ new (input: UpdateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateApplicationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateApplicationCommandInput, UpdateApplicationCommandOutput, GameLiftStreamsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p> Updates the mutable configuration settings for a Amazon GameLift Streams application resource. You can change the <code>Description</code>,
31
+ * <code>ApplicationLogOutputUri</code>, and <code>ApplicationLogPaths</code>. </p>
32
+ * <p>To update application settings, specify the application ID and provide the new values. If the operation is successful, it returns the
33
+ * complete updated set of settings for the application.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { GameLiftStreamsClient, UpdateApplicationCommand } from "@aws-sdk/client-gameliftstreams"; // ES Modules import
38
+ * // const { GameLiftStreamsClient, UpdateApplicationCommand } = require("@aws-sdk/client-gameliftstreams"); // CommonJS import
39
+ * const client = new GameLiftStreamsClient(config);
40
+ * const input = { // UpdateApplicationInput
41
+ * Identifier: "STRING_VALUE", // required
42
+ * Description: "STRING_VALUE",
43
+ * ApplicationLogPaths: [ // FilePaths
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * ApplicationLogOutputUri: "STRING_VALUE",
47
+ * };
48
+ * const command = new UpdateApplicationCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // UpdateApplicationOutput
51
+ * // Arn: "STRING_VALUE", // required
52
+ * // Description: "STRING_VALUE",
53
+ * // RuntimeEnvironment: { // RuntimeEnvironment
54
+ * // Type: "PROTON" || "WINDOWS" || "UBUNTU", // required
55
+ * // Version: "STRING_VALUE", // required
56
+ * // },
57
+ * // ExecutablePath: "STRING_VALUE",
58
+ * // ApplicationLogPaths: [ // FilePaths
59
+ * // "STRING_VALUE",
60
+ * // ],
61
+ * // ApplicationLogOutputUri: "STRING_VALUE",
62
+ * // ApplicationSourceUri: "STRING_VALUE",
63
+ * // Id: "STRING_VALUE",
64
+ * // Status: "INITIALIZED" || "PROCESSING" || "READY" || "DELETING" || "ERROR",
65
+ * // StatusReason: "internalError" || "accessDenied",
66
+ * // ReplicationStatuses: [ // ReplicationStatuses
67
+ * // { // ReplicationStatus
68
+ * // Location: "STRING_VALUE",
69
+ * // Status: "REPLICATING" || "COMPLETED",
70
+ * // },
71
+ * // ],
72
+ * // CreatedAt: new Date("TIMESTAMP"),
73
+ * // LastUpdatedAt: new Date("TIMESTAMP"),
74
+ * // AssociatedStreamGroups: [ // ArnList
75
+ * // "STRING_VALUE",
76
+ * // ],
77
+ * // };
78
+ *
79
+ * ```
80
+ *
81
+ * @param UpdateApplicationCommandInput - {@link UpdateApplicationCommandInput}
82
+ * @returns {@link UpdateApplicationCommandOutput}
83
+ * @see {@link UpdateApplicationCommandInput} for command's `input` shape.
84
+ * @see {@link UpdateApplicationCommandOutput} for command's `response` shape.
85
+ * @see {@link GameLiftStreamsClientResolvedConfig | config} for GameLiftStreamsClient's `config` shape.
86
+ *
87
+ * @throws {@link AccessDeniedException} (client fault)
88
+ * <p>You don't have the required permissions to access this Amazon GameLift Streams resource. Correct the
89
+ * permissions before you try again.</p>
90
+ *
91
+ * @throws {@link InternalServerException} (server fault)
92
+ * <p>The service encountered an internal error and is unable to complete the request.</p>
93
+ *
94
+ * @throws {@link ResourceNotFoundException} (client fault)
95
+ * <p>The resource specified in the request was not found. Correct the request before you try again.</p>
96
+ *
97
+ * @throws {@link ThrottlingException} (client fault)
98
+ * <p>The request was denied due to request throttling. Retry the request after the
99
+ * suggested wait time.</p>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <p>One or more parameter values in the request fail to satisfy the specified constraints.
103
+ * Correct the invalid parameter values before retrying the request.</p>
104
+ *
105
+ * @throws {@link GameLiftStreamsServiceException}
106
+ * <p>Base exception class for all service exceptions from GameLiftStreams service.</p>
107
+ *
108
+ * @public
109
+ */
110
+ export declare class UpdateApplicationCommand extends UpdateApplicationCommand_base {
111
+ /** @internal type navigation helper, not in runtime. */
112
+ protected static __types: {
113
+ api: {
114
+ input: UpdateApplicationInput;
115
+ output: UpdateApplicationOutput;
116
+ };
117
+ sdk: {
118
+ input: UpdateApplicationCommandInput;
119
+ output: UpdateApplicationCommandOutput;
120
+ };
121
+ };
122
+ }