@aws-sdk/client-gameliftstreams 3.933.0 → 3.935.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 CHANGED
@@ -130,12 +130,6 @@ let AccessDeniedException$1 = class AccessDeniedException extends GameLiftStream
130
130
  this.Message = opts.Message;
131
131
  }
132
132
  };
133
- const StreamGroupLocationStatus = {
134
- ACTIVATING: "ACTIVATING",
135
- ACTIVE: "ACTIVE",
136
- ERROR: "ERROR",
137
- REMOVING: "REMOVING",
138
- };
139
133
  let InternalServerException$1 = class InternalServerException extends GameLiftStreamsServiceException$1 {
140
134
  name = "InternalServerException";
141
135
  $fault = "server";
@@ -210,17 +204,6 @@ let ValidationException$1 = class ValidationException extends GameLiftStreamsSer
210
204
  this.Message = opts.Message;
211
205
  }
212
206
  };
213
- const ApplicationStatus = {
214
- DELETING: "DELETING",
215
- ERROR: "ERROR",
216
- INITIALIZED: "INITIALIZED",
217
- PROCESSING: "PROCESSING",
218
- READY: "READY",
219
- };
220
- const ApplicationStatusReason = {
221
- ACCESS_DENIED: "accessDenied",
222
- INTERNAL_ERROR: "internalError",
223
- };
224
207
  let ConflictException$1 = class ConflictException extends GameLiftStreamsServiceException$1 {
225
208
  name = "ConflictException";
226
209
  $fault = "client";
@@ -235,66 +218,6 @@ let ConflictException$1 = class ConflictException extends GameLiftStreamsService
235
218
  this.Message = opts.Message;
236
219
  }
237
220
  };
238
- const RuntimeEnvironmentType = {
239
- PROTON: "PROTON",
240
- UBUNTU: "UBUNTU",
241
- WINDOWS: "WINDOWS",
242
- };
243
- const ReplicationStatusType = {
244
- COMPLETED: "COMPLETED",
245
- REPLICATING: "REPLICATING",
246
- };
247
- const StreamClass = {
248
- gen4n_high: "gen4n_high",
249
- gen4n_ultra: "gen4n_ultra",
250
- gen4n_win2022: "gen4n_win2022",
251
- gen5n_high: "gen5n_high",
252
- gen5n_ultra: "gen5n_ultra",
253
- gen5n_win2022: "gen5n_win2022",
254
- };
255
- const StreamGroupStatus = {
256
- ACTIVATING: "ACTIVATING",
257
- ACTIVE: "ACTIVE",
258
- ACTIVE_WITH_ERRORS: "ACTIVE_WITH_ERRORS",
259
- DELETING: "DELETING",
260
- ERROR: "ERROR",
261
- EXPIRED: "EXPIRED",
262
- UPDATING_LOCATIONS: "UPDATING_LOCATIONS",
263
- };
264
- const StreamGroupStatusReason = {
265
- INTERNAL_ERROR: "internalError",
266
- NO_AVAILABLE_INSTANCES: "noAvailableInstances",
267
- };
268
- const ExportFilesStatus = {
269
- FAILED: "FAILED",
270
- PENDING: "PENDING",
271
- SUCCEEDED: "SUCCEEDED",
272
- };
273
- const Protocol = {
274
- WEBRTC: "WebRTC",
275
- };
276
- const StreamSessionStatus = {
277
- ACTIVATING: "ACTIVATING",
278
- ACTIVE: "ACTIVE",
279
- CONNECTED: "CONNECTED",
280
- ERROR: "ERROR",
281
- PENDING_CLIENT_RECONNECTION: "PENDING_CLIENT_RECONNECTION",
282
- RECONNECTING: "RECONNECTING",
283
- TERMINATED: "TERMINATED",
284
- TERMINATING: "TERMINATING",
285
- };
286
- const StreamSessionStatusReason = {
287
- API_TERMINATED: "apiTerminated",
288
- APPLICATION_EXIT: "applicationExit",
289
- APP_LOG_S3_DESTINATION_ERROR: "applicationLogS3DestinationError",
290
- CONNECTION_TIMEOUT: "connectionTimeout",
291
- IDLE_TIMEOUT: "idleTimeout",
292
- INTERNAL_ERROR: "internalError",
293
- INVALID_SIGNAL_REQUEST: "invalidSignalRequest",
294
- MAX_SESSION_LENGTH_TIMEOUT: "maxSessionLengthTimeout",
295
- PLACEMENT_TIMEOUT: "placementTimeout",
296
- RECONNECTION_TIMEOUT: "reconnectionTimeout",
297
- };
298
221
 
299
222
  const _A = "Arn";
300
223
  const _AA = "ApplicationArns";
@@ -1731,6 +1654,84 @@ const waitUntilStreamSessionActive = async (params, input) => {
1731
1654
  return utilWaiter.checkExceptions(result);
1732
1655
  };
1733
1656
 
1657
+ const StreamGroupLocationStatus = {
1658
+ ACTIVATING: "ACTIVATING",
1659
+ ACTIVE: "ACTIVE",
1660
+ ERROR: "ERROR",
1661
+ REMOVING: "REMOVING",
1662
+ };
1663
+ const ApplicationStatus = {
1664
+ DELETING: "DELETING",
1665
+ ERROR: "ERROR",
1666
+ INITIALIZED: "INITIALIZED",
1667
+ PROCESSING: "PROCESSING",
1668
+ READY: "READY",
1669
+ };
1670
+ const ApplicationStatusReason = {
1671
+ ACCESS_DENIED: "accessDenied",
1672
+ INTERNAL_ERROR: "internalError",
1673
+ };
1674
+ const RuntimeEnvironmentType = {
1675
+ PROTON: "PROTON",
1676
+ UBUNTU: "UBUNTU",
1677
+ WINDOWS: "WINDOWS",
1678
+ };
1679
+ const ReplicationStatusType = {
1680
+ COMPLETED: "COMPLETED",
1681
+ REPLICATING: "REPLICATING",
1682
+ };
1683
+ const StreamClass = {
1684
+ gen4n_high: "gen4n_high",
1685
+ gen4n_ultra: "gen4n_ultra",
1686
+ gen4n_win2022: "gen4n_win2022",
1687
+ gen5n_high: "gen5n_high",
1688
+ gen5n_ultra: "gen5n_ultra",
1689
+ gen5n_win2022: "gen5n_win2022",
1690
+ };
1691
+ const StreamGroupStatus = {
1692
+ ACTIVATING: "ACTIVATING",
1693
+ ACTIVE: "ACTIVE",
1694
+ ACTIVE_WITH_ERRORS: "ACTIVE_WITH_ERRORS",
1695
+ DELETING: "DELETING",
1696
+ ERROR: "ERROR",
1697
+ EXPIRED: "EXPIRED",
1698
+ UPDATING_LOCATIONS: "UPDATING_LOCATIONS",
1699
+ };
1700
+ const StreamGroupStatusReason = {
1701
+ INTERNAL_ERROR: "internalError",
1702
+ NO_AVAILABLE_INSTANCES: "noAvailableInstances",
1703
+ };
1704
+ const ExportFilesStatus = {
1705
+ FAILED: "FAILED",
1706
+ PENDING: "PENDING",
1707
+ SUCCEEDED: "SUCCEEDED",
1708
+ };
1709
+ const Protocol = {
1710
+ WEBRTC: "WebRTC",
1711
+ };
1712
+ const StreamSessionStatus = {
1713
+ ACTIVATING: "ACTIVATING",
1714
+ ACTIVE: "ACTIVE",
1715
+ CONNECTED: "CONNECTED",
1716
+ ERROR: "ERROR",
1717
+ PENDING_CLIENT_RECONNECTION: "PENDING_CLIENT_RECONNECTION",
1718
+ RECONNECTING: "RECONNECTING",
1719
+ TERMINATED: "TERMINATED",
1720
+ TERMINATING: "TERMINATING",
1721
+ };
1722
+ const StreamSessionStatusReason = {
1723
+ API_TERMINATED: "apiTerminated",
1724
+ APPLICATION_EXIT: "applicationExit",
1725
+ APP_LOG_S3_DESTINATION_ERROR: "applicationLogS3DestinationError",
1726
+ CONNECTION_TIMEOUT: "connectionTimeout",
1727
+ IDLE_TIMEOUT: "idleTimeout",
1728
+ INTERNAL_ERROR: "internalError",
1729
+ INVALID_SIGNAL_REQUEST: "invalidSignalRequest",
1730
+ MAX_SESSION_LENGTH_TIMEOUT: "maxSessionLengthTimeout",
1731
+ PLACEMENT_TIMEOUT: "placementTimeout",
1732
+ RECONNECTION_TIMEOUT: "reconnectionTimeout",
1733
+ };
1734
+
1734
1735
  Object.defineProperty(exports, "$Command", {
1735
1736
  enumerable: true,
1736
1737
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -3,5 +3,6 @@ export * from "./GameLiftStreams";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
5
  export * from "./waiters";
6
- export * from "./models";
6
+ export * from "./models/enums";
7
+ export * from "./models/errors";
7
8
  export { GameLiftStreamsServiceException } from "./models/GameLiftStreamsServiceException";
@@ -0,0 +1,77 @@
1
+ export const StreamGroupLocationStatus = {
2
+ ACTIVATING: "ACTIVATING",
3
+ ACTIVE: "ACTIVE",
4
+ ERROR: "ERROR",
5
+ REMOVING: "REMOVING",
6
+ };
7
+ export const ApplicationStatus = {
8
+ DELETING: "DELETING",
9
+ ERROR: "ERROR",
10
+ INITIALIZED: "INITIALIZED",
11
+ PROCESSING: "PROCESSING",
12
+ READY: "READY",
13
+ };
14
+ export const ApplicationStatusReason = {
15
+ ACCESS_DENIED: "accessDenied",
16
+ INTERNAL_ERROR: "internalError",
17
+ };
18
+ export const RuntimeEnvironmentType = {
19
+ PROTON: "PROTON",
20
+ UBUNTU: "UBUNTU",
21
+ WINDOWS: "WINDOWS",
22
+ };
23
+ export const ReplicationStatusType = {
24
+ COMPLETED: "COMPLETED",
25
+ REPLICATING: "REPLICATING",
26
+ };
27
+ export const StreamClass = {
28
+ gen4n_high: "gen4n_high",
29
+ gen4n_ultra: "gen4n_ultra",
30
+ gen4n_win2022: "gen4n_win2022",
31
+ gen5n_high: "gen5n_high",
32
+ gen5n_ultra: "gen5n_ultra",
33
+ gen5n_win2022: "gen5n_win2022",
34
+ };
35
+ export const StreamGroupStatus = {
36
+ ACTIVATING: "ACTIVATING",
37
+ ACTIVE: "ACTIVE",
38
+ ACTIVE_WITH_ERRORS: "ACTIVE_WITH_ERRORS",
39
+ DELETING: "DELETING",
40
+ ERROR: "ERROR",
41
+ EXPIRED: "EXPIRED",
42
+ UPDATING_LOCATIONS: "UPDATING_LOCATIONS",
43
+ };
44
+ export const StreamGroupStatusReason = {
45
+ INTERNAL_ERROR: "internalError",
46
+ NO_AVAILABLE_INSTANCES: "noAvailableInstances",
47
+ };
48
+ export const ExportFilesStatus = {
49
+ FAILED: "FAILED",
50
+ PENDING: "PENDING",
51
+ SUCCEEDED: "SUCCEEDED",
52
+ };
53
+ export const Protocol = {
54
+ WEBRTC: "WebRTC",
55
+ };
56
+ export const StreamSessionStatus = {
57
+ ACTIVATING: "ACTIVATING",
58
+ ACTIVE: "ACTIVE",
59
+ CONNECTED: "CONNECTED",
60
+ ERROR: "ERROR",
61
+ PENDING_CLIENT_RECONNECTION: "PENDING_CLIENT_RECONNECTION",
62
+ RECONNECTING: "RECONNECTING",
63
+ TERMINATED: "TERMINATED",
64
+ TERMINATING: "TERMINATING",
65
+ };
66
+ export const StreamSessionStatusReason = {
67
+ API_TERMINATED: "apiTerminated",
68
+ APPLICATION_EXIT: "applicationExit",
69
+ APP_LOG_S3_DESTINATION_ERROR: "applicationLogS3DestinationError",
70
+ CONNECTION_TIMEOUT: "connectionTimeout",
71
+ IDLE_TIMEOUT: "idleTimeout",
72
+ INTERNAL_ERROR: "internalError",
73
+ INVALID_SIGNAL_REQUEST: "invalidSignalRequest",
74
+ MAX_SESSION_LENGTH_TIMEOUT: "maxSessionLengthTimeout",
75
+ PLACEMENT_TIMEOUT: "placementTimeout",
76
+ RECONNECTION_TIMEOUT: "reconnectionTimeout",
77
+ };
@@ -0,0 +1,103 @@
1
+ import { GameLiftStreamsServiceException as __BaseException } from "./GameLiftStreamsServiceException";
2
+ export class AccessDeniedException extends __BaseException {
3
+ name = "AccessDeniedException";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "AccessDeniedException",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class InternalServerException extends __BaseException {
17
+ name = "InternalServerException";
18
+ $fault = "server";
19
+ $retryable = {};
20
+ Message;
21
+ constructor(opts) {
22
+ super({
23
+ name: "InternalServerException",
24
+ $fault: "server",
25
+ ...opts,
26
+ });
27
+ Object.setPrototypeOf(this, InternalServerException.prototype);
28
+ this.Message = opts.Message;
29
+ }
30
+ }
31
+ export class ResourceNotFoundException extends __BaseException {
32
+ name = "ResourceNotFoundException";
33
+ $fault = "client";
34
+ Message;
35
+ constructor(opts) {
36
+ super({
37
+ name: "ResourceNotFoundException",
38
+ $fault: "client",
39
+ ...opts,
40
+ });
41
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
42
+ this.Message = opts.Message;
43
+ }
44
+ }
45
+ export class ServiceQuotaExceededException extends __BaseException {
46
+ name = "ServiceQuotaExceededException";
47
+ $fault = "client";
48
+ Message;
49
+ constructor(opts) {
50
+ super({
51
+ name: "ServiceQuotaExceededException",
52
+ $fault: "client",
53
+ ...opts,
54
+ });
55
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
56
+ this.Message = opts.Message;
57
+ }
58
+ }
59
+ export class ThrottlingException extends __BaseException {
60
+ name = "ThrottlingException";
61
+ $fault = "client";
62
+ $retryable = {
63
+ throttling: true,
64
+ };
65
+ Message;
66
+ constructor(opts) {
67
+ super({
68
+ name: "ThrottlingException",
69
+ $fault: "client",
70
+ ...opts,
71
+ });
72
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
73
+ this.Message = opts.Message;
74
+ }
75
+ }
76
+ export class ValidationException extends __BaseException {
77
+ name = "ValidationException";
78
+ $fault = "client";
79
+ Message;
80
+ constructor(opts) {
81
+ super({
82
+ name: "ValidationException",
83
+ $fault: "client",
84
+ ...opts,
85
+ });
86
+ Object.setPrototypeOf(this, ValidationException.prototype);
87
+ this.Message = opts.Message;
88
+ }
89
+ }
90
+ export class ConflictException extends __BaseException {
91
+ name = "ConflictException";
92
+ $fault = "client";
93
+ Message;
94
+ constructor(opts) {
95
+ super({
96
+ name: "ConflictException",
97
+ $fault: "client",
98
+ ...opts,
99
+ });
100
+ Object.setPrototypeOf(this, ConflictException.prototype);
101
+ this.Message = opts.Message;
102
+ }
103
+ }
@@ -1,180 +1 @@
1
- import { GameLiftStreamsServiceException as __BaseException } from "./GameLiftStreamsServiceException";
2
- export class AccessDeniedException extends __BaseException {
3
- name = "AccessDeniedException";
4
- $fault = "client";
5
- Message;
6
- constructor(opts) {
7
- super({
8
- name: "AccessDeniedException",
9
- $fault: "client",
10
- ...opts,
11
- });
12
- Object.setPrototypeOf(this, AccessDeniedException.prototype);
13
- this.Message = opts.Message;
14
- }
15
- }
16
- export const StreamGroupLocationStatus = {
17
- ACTIVATING: "ACTIVATING",
18
- ACTIVE: "ACTIVE",
19
- ERROR: "ERROR",
20
- REMOVING: "REMOVING",
21
- };
22
- export class InternalServerException extends __BaseException {
23
- name = "InternalServerException";
24
- $fault = "server";
25
- $retryable = {};
26
- Message;
27
- constructor(opts) {
28
- super({
29
- name: "InternalServerException",
30
- $fault: "server",
31
- ...opts,
32
- });
33
- Object.setPrototypeOf(this, InternalServerException.prototype);
34
- this.Message = opts.Message;
35
- }
36
- }
37
- export class ResourceNotFoundException extends __BaseException {
38
- name = "ResourceNotFoundException";
39
- $fault = "client";
40
- Message;
41
- constructor(opts) {
42
- super({
43
- name: "ResourceNotFoundException",
44
- $fault: "client",
45
- ...opts,
46
- });
47
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
48
- this.Message = opts.Message;
49
- }
50
- }
51
- export class ServiceQuotaExceededException extends __BaseException {
52
- name = "ServiceQuotaExceededException";
53
- $fault = "client";
54
- Message;
55
- constructor(opts) {
56
- super({
57
- name: "ServiceQuotaExceededException",
58
- $fault: "client",
59
- ...opts,
60
- });
61
- Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
62
- this.Message = opts.Message;
63
- }
64
- }
65
- export class ThrottlingException extends __BaseException {
66
- name = "ThrottlingException";
67
- $fault = "client";
68
- $retryable = {
69
- throttling: true,
70
- };
71
- Message;
72
- constructor(opts) {
73
- super({
74
- name: "ThrottlingException",
75
- $fault: "client",
76
- ...opts,
77
- });
78
- Object.setPrototypeOf(this, ThrottlingException.prototype);
79
- this.Message = opts.Message;
80
- }
81
- }
82
- export class ValidationException extends __BaseException {
83
- name = "ValidationException";
84
- $fault = "client";
85
- Message;
86
- constructor(opts) {
87
- super({
88
- name: "ValidationException",
89
- $fault: "client",
90
- ...opts,
91
- });
92
- Object.setPrototypeOf(this, ValidationException.prototype);
93
- this.Message = opts.Message;
94
- }
95
- }
96
- export const ApplicationStatus = {
97
- DELETING: "DELETING",
98
- ERROR: "ERROR",
99
- INITIALIZED: "INITIALIZED",
100
- PROCESSING: "PROCESSING",
101
- READY: "READY",
102
- };
103
- export const ApplicationStatusReason = {
104
- ACCESS_DENIED: "accessDenied",
105
- INTERNAL_ERROR: "internalError",
106
- };
107
- export class ConflictException extends __BaseException {
108
- name = "ConflictException";
109
- $fault = "client";
110
- Message;
111
- constructor(opts) {
112
- super({
113
- name: "ConflictException",
114
- $fault: "client",
115
- ...opts,
116
- });
117
- Object.setPrototypeOf(this, ConflictException.prototype);
118
- this.Message = opts.Message;
119
- }
120
- }
121
- export const RuntimeEnvironmentType = {
122
- PROTON: "PROTON",
123
- UBUNTU: "UBUNTU",
124
- WINDOWS: "WINDOWS",
125
- };
126
- export const ReplicationStatusType = {
127
- COMPLETED: "COMPLETED",
128
- REPLICATING: "REPLICATING",
129
- };
130
- export const StreamClass = {
131
- gen4n_high: "gen4n_high",
132
- gen4n_ultra: "gen4n_ultra",
133
- gen4n_win2022: "gen4n_win2022",
134
- gen5n_high: "gen5n_high",
135
- gen5n_ultra: "gen5n_ultra",
136
- gen5n_win2022: "gen5n_win2022",
137
- };
138
- export const StreamGroupStatus = {
139
- ACTIVATING: "ACTIVATING",
140
- ACTIVE: "ACTIVE",
141
- ACTIVE_WITH_ERRORS: "ACTIVE_WITH_ERRORS",
142
- DELETING: "DELETING",
143
- ERROR: "ERROR",
144
- EXPIRED: "EXPIRED",
145
- UPDATING_LOCATIONS: "UPDATING_LOCATIONS",
146
- };
147
- export const StreamGroupStatusReason = {
148
- INTERNAL_ERROR: "internalError",
149
- NO_AVAILABLE_INSTANCES: "noAvailableInstances",
150
- };
151
- export const ExportFilesStatus = {
152
- FAILED: "FAILED",
153
- PENDING: "PENDING",
154
- SUCCEEDED: "SUCCEEDED",
155
- };
156
- export const Protocol = {
157
- WEBRTC: "WebRTC",
158
- };
159
- export const StreamSessionStatus = {
160
- ACTIVATING: "ACTIVATING",
161
- ACTIVE: "ACTIVE",
162
- CONNECTED: "CONNECTED",
163
- ERROR: "ERROR",
164
- PENDING_CLIENT_RECONNECTION: "PENDING_CLIENT_RECONNECTION",
165
- RECONNECTING: "RECONNECTING",
166
- TERMINATED: "TERMINATED",
167
- TERMINATING: "TERMINATING",
168
- };
169
- export const StreamSessionStatusReason = {
170
- API_TERMINATED: "apiTerminated",
171
- APPLICATION_EXIT: "applicationExit",
172
- APP_LOG_S3_DESTINATION_ERROR: "applicationLogS3DestinationError",
173
- CONNECTION_TIMEOUT: "connectionTimeout",
174
- IDLE_TIMEOUT: "idleTimeout",
175
- INTERNAL_ERROR: "internalError",
176
- INVALID_SIGNAL_REQUEST: "invalidSignalRequest",
177
- MAX_SESSION_LENGTH_TIMEOUT: "maxSessionLengthTimeout",
178
- PLACEMENT_TIMEOUT: "placementTimeout",
179
- RECONNECTION_TIMEOUT: "reconnectionTimeout",
180
- };
1
+ export {};
@@ -152,8 +152,8 @@ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.gameliftstreams";
152
152
  const _tK = "tagKeys";
153
153
  const n0 = "com.amazonaws.gameliftstreams";
154
154
  import { TypeRegistry } from "@smithy/core/schema";
155
+ import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
155
156
  import { GameLiftStreamsServiceException as __GameLiftStreamsServiceException } from "../models/GameLiftStreamsServiceException";
156
- import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
157
157
  export var SignalRequest = [0, n0, _SR, 8, 0];
158
158
  export var SignalResponse = [0, n0, _SRi, 8, 0];
159
159
  export var AccessDeniedException = [
@@ -11,5 +11,7 @@ export type { GameLiftStreamsExtensionConfiguration } from "./extensionConfigura
11
11
  export * from "./commands";
12
12
  export * from "./pagination";
13
13
  export * from "./waiters";
14
- export * from "./models";
14
+ export * from "./models/enums";
15
+ export * from "./models/errors";
16
+ export type * from "./models/models_0";
15
17
  export { GameLiftStreamsServiceException } from "./models/GameLiftStreamsServiceException";