@aws-sdk/client-gameliftstreams 3.914.0 → 3.917.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +6 -0
- package/dist-es/models/models_0.js +6 -0
- package/dist-types/commands/GetStreamSessionCommand.d.ts +1 -1
- package/dist-types/commands/StartStreamSessionCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +8 -2
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -284,10 +284,16 @@ const StreamSessionStatus = {
|
|
|
284
284
|
TERMINATING: "TERMINATING",
|
|
285
285
|
};
|
|
286
286
|
const StreamSessionStatusReason = {
|
|
287
|
+
API_TERMINATED: "apiTerminated",
|
|
288
|
+
APPLICATION_EXIT: "applicationExit",
|
|
287
289
|
APP_LOG_S3_DESTINATION_ERROR: "applicationLogS3DestinationError",
|
|
290
|
+
CONNECTION_TIMEOUT: "connectionTimeout",
|
|
291
|
+
IDLE_TIMEOUT: "idleTimeout",
|
|
288
292
|
INTERNAL_ERROR: "internalError",
|
|
289
293
|
INVALID_SIGNAL_REQUEST: "invalidSignalRequest",
|
|
294
|
+
MAX_SESSION_LENGTH_TIMEOUT: "maxSessionLengthTimeout",
|
|
290
295
|
PLACEMENT_TIMEOUT: "placementTimeout",
|
|
296
|
+
RECONNECTION_TIMEOUT: "reconnectionTimeout",
|
|
291
297
|
};
|
|
292
298
|
const CreateStreamSessionConnectionInputFilterSensitiveLog = (obj) => ({
|
|
293
299
|
...obj,
|
|
@@ -167,10 +167,16 @@ export const StreamSessionStatus = {
|
|
|
167
167
|
TERMINATING: "TERMINATING",
|
|
168
168
|
};
|
|
169
169
|
export const StreamSessionStatusReason = {
|
|
170
|
+
API_TERMINATED: "apiTerminated",
|
|
171
|
+
APPLICATION_EXIT: "applicationExit",
|
|
170
172
|
APP_LOG_S3_DESTINATION_ERROR: "applicationLogS3DestinationError",
|
|
173
|
+
CONNECTION_TIMEOUT: "connectionTimeout",
|
|
174
|
+
IDLE_TIMEOUT: "idleTimeout",
|
|
171
175
|
INTERNAL_ERROR: "internalError",
|
|
172
176
|
INVALID_SIGNAL_REQUEST: "invalidSignalRequest",
|
|
177
|
+
MAX_SESSION_LENGTH_TIMEOUT: "maxSessionLengthTimeout",
|
|
173
178
|
PLACEMENT_TIMEOUT: "placementTimeout",
|
|
179
|
+
RECONNECTION_TIMEOUT: "reconnectionTimeout",
|
|
174
180
|
};
|
|
175
181
|
export const CreateStreamSessionConnectionInputFilterSensitiveLog = (obj) => ({
|
|
176
182
|
...obj,
|
|
@@ -48,7 +48,7 @@ declare const GetStreamSessionCommand_base: {
|
|
|
48
48
|
* // StreamGroupId: "STRING_VALUE",
|
|
49
49
|
* // UserId: "STRING_VALUE",
|
|
50
50
|
* // Status: "ACTIVATING" || "ACTIVE" || "CONNECTED" || "PENDING_CLIENT_RECONNECTION" || "RECONNECTING" || "TERMINATING" || "TERMINATED" || "ERROR",
|
|
51
|
-
* // StatusReason: "internalError" || "invalidSignalRequest" || "placementTimeout" || "applicationLogS3DestinationError",
|
|
51
|
+
* // StatusReason: "internalError" || "invalidSignalRequest" || "placementTimeout" || "applicationLogS3DestinationError" || "applicationExit" || "connectionTimeout" || "reconnectionTimeout" || "maxSessionLengthTimeout" || "idleTimeout" || "apiTerminated",
|
|
52
52
|
* // Protocol: "WebRTC",
|
|
53
53
|
* // Location: "STRING_VALUE",
|
|
54
54
|
* // SignalRequest: "STRING_VALUE",
|
|
@@ -64,7 +64,7 @@ declare const StartStreamSessionCommand_base: {
|
|
|
64
64
|
* // StreamGroupId: "STRING_VALUE",
|
|
65
65
|
* // UserId: "STRING_VALUE",
|
|
66
66
|
* // Status: "ACTIVATING" || "ACTIVE" || "CONNECTED" || "PENDING_CLIENT_RECONNECTION" || "RECONNECTING" || "TERMINATING" || "TERMINATED" || "ERROR",
|
|
67
|
-
* // StatusReason: "internalError" || "invalidSignalRequest" || "placementTimeout" || "applicationLogS3DestinationError",
|
|
67
|
+
* // StatusReason: "internalError" || "invalidSignalRequest" || "placementTimeout" || "applicationLogS3DestinationError" || "applicationExit" || "connectionTimeout" || "reconnectionTimeout" || "maxSessionLengthTimeout" || "idleTimeout" || "apiTerminated",
|
|
68
68
|
* // Protocol: "WebRTC",
|
|
69
69
|
* // Location: "STRING_VALUE",
|
|
70
70
|
* // SignalRequest: "STRING_VALUE",
|
|
@@ -1067,10 +1067,16 @@ export type StreamSessionStatus = (typeof StreamSessionStatus)[keyof typeof Stre
|
|
|
1067
1067
|
* @enum
|
|
1068
1068
|
*/
|
|
1069
1069
|
export declare const StreamSessionStatusReason: {
|
|
1070
|
+
readonly API_TERMINATED: "apiTerminated";
|
|
1071
|
+
readonly APPLICATION_EXIT: "applicationExit";
|
|
1070
1072
|
readonly APP_LOG_S3_DESTINATION_ERROR: "applicationLogS3DestinationError";
|
|
1073
|
+
readonly CONNECTION_TIMEOUT: "connectionTimeout";
|
|
1074
|
+
readonly IDLE_TIMEOUT: "idleTimeout";
|
|
1071
1075
|
readonly INTERNAL_ERROR: "internalError";
|
|
1072
1076
|
readonly INVALID_SIGNAL_REQUEST: "invalidSignalRequest";
|
|
1077
|
+
readonly MAX_SESSION_LENGTH_TIMEOUT: "maxSessionLengthTimeout";
|
|
1073
1078
|
readonly PLACEMENT_TIMEOUT: "placementTimeout";
|
|
1079
|
+
readonly RECONNECTION_TIMEOUT: "reconnectionTimeout";
|
|
1074
1080
|
};
|
|
1075
1081
|
/**
|
|
1076
1082
|
* @public
|
|
@@ -1106,7 +1112,7 @@ export interface GetStreamSessionOutput {
|
|
|
1106
1112
|
*/
|
|
1107
1113
|
Status?: StreamSessionStatus | undefined;
|
|
1108
1114
|
/**
|
|
1109
|
-
* <p>A short description of the reason the stream session is in <code>ERROR</code> status.</p> <ul> <li> <p> <code>internalError</code>: An internal service error occurred. Start a new stream session to continue streaming.</p> </li> <li> <p> <code>invalidSignalRequest</code>: The WebRTC signal request that was sent is not valid. When starting or reconnecting to a stream session, use <code>generateSignalRequest</code> in the Amazon GameLift Streams Web SDK to generate a new signal request.</p> </li> <li> <p> <code>placementTimeout</code>: Amazon GameLift Streams could not find available stream capacity to start a stream session. Increase the stream capacity in the stream group or wait until capacity becomes available.</p> </li> <li> <p> <code>
|
|
1115
|
+
* <p>A short description of the reason the stream session is in <code>ERROR</code> status or <code>TERMINATED</code> status.</p> <p> <code>ERROR</code> status reasons:</p> <ul> <li> <p> <code>applicationLogS3DestinationError</code>: Could not write the application log to the Amazon S3 bucket that is configured for the streaming application. Make sure the bucket still exists.</p> </li> <li> <p> <code>internalError</code>: An internal service error occurred. Start a new stream session to continue streaming.</p> </li> <li> <p> <code>invalidSignalRequest</code>: The WebRTC signal request that was sent is not valid. When starting or reconnecting to a stream session, use <code>generateSignalRequest</code> in the Amazon GameLift Streams Web SDK to generate a new signal request.</p> </li> <li> <p> <code>placementTimeout</code>: Amazon GameLift Streams could not find available stream capacity to start a stream session. Increase the stream capacity in the stream group or wait until capacity becomes available.</p> </li> </ul> <p> <code>TERMINATED</code> status reasons:</p> <ul> <li> <p> <code>apiTerminated</code>: The stream session was terminated by an API call to <a href="https://docs.aws.amazon.com/gameliftstreams/latest/apireference/API_TerminateStreamSession.html">TerminateStreamSession</a>.</p> </li> <li> <p> <code>applicationExit</code>: The streaming application exited or crashed. The stream session was terminated because the application is no longer running.</p> </li> <li> <p> <code>connectionTimeout</code>: The stream session was terminated because the client failed to connect within the connection timeout period specified by <code>ConnectionTimeoutSeconds</code>.</p> </li> <li> <p> <code>idleTimeout</code>: The stream session was terminated because it exceeded the idle timeout period of 60 minutes with no user input activity.</p> </li> <li> <p> <code>maxSessionLengthTimeout</code>: The stream session was terminated because it exceeded the maximum session length timeout period specified by <code>SessionLengthSeconds</code>.</p> </li> <li> <p> <code>reconnectionTimeout</code>: The stream session was terminated because the client failed to reconnect within the reconnection timeout period specified by <code>ConnectionTimeoutSeconds</code> after losing connection.</p> </li> </ul>
|
|
1110
1116
|
* @public
|
|
1111
1117
|
*/
|
|
1112
1118
|
StatusReason?: StreamSessionStatusReason | undefined;
|
|
@@ -1447,7 +1453,7 @@ export interface StartStreamSessionOutput {
|
|
|
1447
1453
|
*/
|
|
1448
1454
|
Status?: StreamSessionStatus | undefined;
|
|
1449
1455
|
/**
|
|
1450
|
-
* <p>A short description of the reason the stream session is in <code>ERROR</code> status.</p> <ul> <li> <p> <code>internalError</code>: An internal service error occurred. Start a new stream session to continue streaming.</p> </li> <li> <p> <code>invalidSignalRequest</code>: The WebRTC signal request that was sent is not valid. When starting or reconnecting to a stream session, use <code>generateSignalRequest</code> in the Amazon GameLift Streams Web SDK to generate a new signal request.</p> </li> <li> <p> <code>placementTimeout</code>: Amazon GameLift Streams could not find available stream capacity to start a stream session. Increase the stream capacity in the stream group or wait until capacity becomes available.</p> </li> <li> <p> <code>
|
|
1456
|
+
* <p>A short description of the reason the stream session is in <code>ERROR</code> status or <code>TERMINATED</code> status.</p> <p> <code>ERROR</code> status reasons:</p> <ul> <li> <p> <code>applicationLogS3DestinationError</code>: Could not write the application log to the Amazon S3 bucket that is configured for the streaming application. Make sure the bucket still exists.</p> </li> <li> <p> <code>internalError</code>: An internal service error occurred. Start a new stream session to continue streaming.</p> </li> <li> <p> <code>invalidSignalRequest</code>: The WebRTC signal request that was sent is not valid. When starting or reconnecting to a stream session, use <code>generateSignalRequest</code> in the Amazon GameLift Streams Web SDK to generate a new signal request.</p> </li> <li> <p> <code>placementTimeout</code>: Amazon GameLift Streams could not find available stream capacity to start a stream session. Increase the stream capacity in the stream group or wait until capacity becomes available.</p> </li> </ul> <p> <code>TERMINATED</code> status reasons:</p> <ul> <li> <p> <code>apiTerminated</code>: The stream session was terminated by an API call to <a href="https://docs.aws.amazon.com/gameliftstreams/latest/apireference/API_TerminateStreamSession.html">TerminateStreamSession</a>.</p> </li> <li> <p> <code>applicationExit</code>: The streaming application exited or crashed. The stream session was terminated because the application is no longer running.</p> </li> <li> <p> <code>connectionTimeout</code>: The stream session was terminated because the client failed to connect within the connection timeout period specified by <code>ConnectionTimeoutSeconds</code>.</p> </li> <li> <p> <code>idleTimeout</code>: The stream session was terminated because it exceeded the idle timeout period of 60 minutes with no user input activity.</p> </li> <li> <p> <code>maxSessionLengthTimeout</code>: The stream session was terminated because it exceeded the maximum session length timeout period specified by <code>SessionLengthSeconds</code>.</p> </li> <li> <p> <code>reconnectionTimeout</code>: The stream session was terminated because the client failed to reconnect within the reconnection timeout period specified by <code>ConnectionTimeoutSeconds</code> after losing connection.</p> </li> </ul>
|
|
1451
1457
|
* @public
|
|
1452
1458
|
*/
|
|
1453
1459
|
StatusReason?: StreamSessionStatusReason | undefined;
|
|
@@ -328,10 +328,16 @@ export declare const StreamSessionStatus: {
|
|
|
328
328
|
export type StreamSessionStatus =
|
|
329
329
|
(typeof StreamSessionStatus)[keyof typeof StreamSessionStatus];
|
|
330
330
|
export declare const StreamSessionStatusReason: {
|
|
331
|
+
readonly API_TERMINATED: "apiTerminated";
|
|
332
|
+
readonly APPLICATION_EXIT: "applicationExit";
|
|
331
333
|
readonly APP_LOG_S3_DESTINATION_ERROR: "applicationLogS3DestinationError";
|
|
334
|
+
readonly CONNECTION_TIMEOUT: "connectionTimeout";
|
|
335
|
+
readonly IDLE_TIMEOUT: "idleTimeout";
|
|
332
336
|
readonly INTERNAL_ERROR: "internalError";
|
|
333
337
|
readonly INVALID_SIGNAL_REQUEST: "invalidSignalRequest";
|
|
338
|
+
readonly MAX_SESSION_LENGTH_TIMEOUT: "maxSessionLengthTimeout";
|
|
334
339
|
readonly PLACEMENT_TIMEOUT: "placementTimeout";
|
|
340
|
+
readonly RECONNECTION_TIMEOUT: "reconnectionTimeout";
|
|
335
341
|
};
|
|
336
342
|
export type StreamSessionStatusReason =
|
|
337
343
|
(typeof StreamSessionStatusReason)[keyof typeof StreamSessionStatusReason];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-gameliftstreams",
|
|
3
3
|
"description": "AWS SDK for JavaScript Gameliftstreams Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.917.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-gameliftstreams",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.916.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.917.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.914.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.914.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.914.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.916.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.914.0",
|
|
30
30
|
"@aws-sdk/types": "3.914.0",
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.916.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.914.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.916.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.0",
|
|
35
|
-
"@smithy/core": "^3.17.
|
|
35
|
+
"@smithy/core": "^3.17.1",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.4",
|
|
37
37
|
"@smithy/hash-node": "^4.2.3",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.2.3",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.2.3",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.3.
|
|
41
|
-
"@smithy/middleware-retry": "^4.4.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.3.5",
|
|
41
|
+
"@smithy/middleware-retry": "^4.4.5",
|
|
42
42
|
"@smithy/middleware-serde": "^4.2.3",
|
|
43
43
|
"@smithy/middleware-stack": "^4.2.3",
|
|
44
44
|
"@smithy/node-config-provider": "^4.3.3",
|
|
45
|
-
"@smithy/node-http-handler": "^4.4.
|
|
45
|
+
"@smithy/node-http-handler": "^4.4.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.3.3",
|
|
47
|
-
"@smithy/smithy-client": "^4.9.
|
|
47
|
+
"@smithy/smithy-client": "^4.9.1",
|
|
48
48
|
"@smithy/types": "^4.8.0",
|
|
49
49
|
"@smithy/url-parser": "^4.2.3",
|
|
50
50
|
"@smithy/util-base64": "^4.3.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.3.4",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.2.6",
|
|
55
55
|
"@smithy/util-endpoints": "^3.2.3",
|
|
56
56
|
"@smithy/util-middleware": "^4.2.3",
|
|
57
57
|
"@smithy/util-retry": "^4.2.3",
|