@aws-sdk/client-gameliftstreams 3.958.0 → 3.962.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 +13 -13
- package/dist-es/waiters/waitForApplicationDeleted.js +1 -1
- package/dist-es/waiters/waitForApplicationReady.js +3 -3
- package/dist-es/waiters/waitForStreamGroupActive.js +5 -5
- package/dist-es/waiters/waitForStreamGroupDeleted.js +1 -1
- package/dist-es/waiters/waitForStreamSessionActive.js +3 -3
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -1113,10 +1113,10 @@ const paginateListStreamSessionsByAccount = core.createPaginator(GameLiftStreams
|
|
|
1113
1113
|
const checkState$4 = async (client, input) => {
|
|
1114
1114
|
let reason;
|
|
1115
1115
|
try {
|
|
1116
|
-
|
|
1116
|
+
let result = await client.send(new GetApplicationCommand(input));
|
|
1117
1117
|
reason = result;
|
|
1118
1118
|
try {
|
|
1119
|
-
|
|
1119
|
+
const returnComparator = () => {
|
|
1120
1120
|
return result.Status;
|
|
1121
1121
|
};
|
|
1122
1122
|
if (returnComparator() === "READY") {
|
|
@@ -1125,7 +1125,7 @@ const checkState$4 = async (client, input) => {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
catch (e) { }
|
|
1127
1127
|
try {
|
|
1128
|
-
|
|
1128
|
+
const returnComparator = () => {
|
|
1129
1129
|
return result.Status;
|
|
1130
1130
|
};
|
|
1131
1131
|
if (returnComparator() === "ERROR") {
|
|
@@ -1152,7 +1152,7 @@ const waitUntilApplicationReady = async (params, input) => {
|
|
|
1152
1152
|
const checkState$3 = async (client, input) => {
|
|
1153
1153
|
let reason;
|
|
1154
1154
|
try {
|
|
1155
|
-
|
|
1155
|
+
let result = await client.send(new GetApplicationCommand(input));
|
|
1156
1156
|
reason = result;
|
|
1157
1157
|
}
|
|
1158
1158
|
catch (exception) {
|
|
@@ -1176,10 +1176,10 @@ const waitUntilApplicationDeleted = async (params, input) => {
|
|
|
1176
1176
|
const checkState$2 = async (client, input) => {
|
|
1177
1177
|
let reason;
|
|
1178
1178
|
try {
|
|
1179
|
-
|
|
1179
|
+
let result = await client.send(new GetStreamGroupCommand(input));
|
|
1180
1180
|
reason = result;
|
|
1181
1181
|
try {
|
|
1182
|
-
|
|
1182
|
+
const returnComparator = () => {
|
|
1183
1183
|
return result.Status;
|
|
1184
1184
|
};
|
|
1185
1185
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -1188,7 +1188,7 @@ const checkState$2 = async (client, input) => {
|
|
|
1188
1188
|
}
|
|
1189
1189
|
catch (e) { }
|
|
1190
1190
|
try {
|
|
1191
|
-
|
|
1191
|
+
const returnComparator = () => {
|
|
1192
1192
|
return result.Status;
|
|
1193
1193
|
};
|
|
1194
1194
|
if (returnComparator() === "ERROR") {
|
|
@@ -1197,7 +1197,7 @@ const checkState$2 = async (client, input) => {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
catch (e) { }
|
|
1199
1199
|
try {
|
|
1200
|
-
|
|
1200
|
+
const returnComparator = () => {
|
|
1201
1201
|
return result.Status;
|
|
1202
1202
|
};
|
|
1203
1203
|
if (returnComparator() === "ACTIVE_WITH_ERRORS") {
|
|
@@ -1206,7 +1206,7 @@ const checkState$2 = async (client, input) => {
|
|
|
1206
1206
|
}
|
|
1207
1207
|
catch (e) { }
|
|
1208
1208
|
try {
|
|
1209
|
-
|
|
1209
|
+
const returnComparator = () => {
|
|
1210
1210
|
return result.Status;
|
|
1211
1211
|
};
|
|
1212
1212
|
if (returnComparator() === "DELETING") {
|
|
@@ -1233,7 +1233,7 @@ const waitUntilStreamGroupActive = async (params, input) => {
|
|
|
1233
1233
|
const checkState$1 = async (client, input) => {
|
|
1234
1234
|
let reason;
|
|
1235
1235
|
try {
|
|
1236
|
-
|
|
1236
|
+
let result = await client.send(new GetStreamGroupCommand(input));
|
|
1237
1237
|
reason = result;
|
|
1238
1238
|
}
|
|
1239
1239
|
catch (exception) {
|
|
@@ -1257,10 +1257,10 @@ const waitUntilStreamGroupDeleted = async (params, input) => {
|
|
|
1257
1257
|
const checkState = async (client, input) => {
|
|
1258
1258
|
let reason;
|
|
1259
1259
|
try {
|
|
1260
|
-
|
|
1260
|
+
let result = await client.send(new GetStreamSessionCommand(input));
|
|
1261
1261
|
reason = result;
|
|
1262
1262
|
try {
|
|
1263
|
-
|
|
1263
|
+
const returnComparator = () => {
|
|
1264
1264
|
return result.Status;
|
|
1265
1265
|
};
|
|
1266
1266
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -1269,7 +1269,7 @@ const checkState = async (client, input) => {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
catch (e) { }
|
|
1271
1271
|
try {
|
|
1272
|
-
|
|
1272
|
+
const returnComparator = () => {
|
|
1273
1273
|
return result.Status;
|
|
1274
1274
|
};
|
|
1275
1275
|
if (returnComparator() === "ERROR") {
|
|
@@ -3,7 +3,7 @@ import { GetApplicationCommand } from "../commands/GetApplicationCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetApplicationCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
}
|
|
9
9
|
catch (exception) {
|
|
@@ -3,10 +3,10 @@ import { GetApplicationCommand } from "../commands/GetApplicationCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetApplicationCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "READY") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.Status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "ERROR") {
|
|
@@ -3,10 +3,10 @@ import { GetStreamGroupCommand } from "../commands/GetStreamGroupCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetStreamGroupCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.Status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "ERROR") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
const returnComparator = () => {
|
|
28
28
|
return result.Status;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "ACTIVE_WITH_ERRORS") {
|
|
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
|
|
|
33
33
|
}
|
|
34
34
|
catch (e) { }
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
const returnComparator = () => {
|
|
37
37
|
return result.Status;
|
|
38
38
|
};
|
|
39
39
|
if (returnComparator() === "DELETING") {
|
|
@@ -3,7 +3,7 @@ import { GetStreamGroupCommand } from "../commands/GetStreamGroupCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetStreamGroupCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
}
|
|
9
9
|
catch (exception) {
|
|
@@ -3,10 +3,10 @@ import { GetStreamSessionCommand } from "../commands/GetStreamSessionCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new GetStreamSessionCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.Status;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.Status;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "ERROR") {
|
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.962.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-gameliftstreams",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.962.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|