@aws-sdk/client-gamelift 3.987.0 → 3.988.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GameLiftServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class GameLiftServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, GameLiftServiceException.prototype);
10
+ }
11
+ }
12
+ exports.GameLiftServiceException = GameLiftServiceException;
@@ -0,0 +1,244 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.InvalidGameSessionStatusException = exports.GameSessionFullException = exports.TerminalRoutingStrategyException = exports.IdempotentParameterMismatchException = exports.FleetCapacityExceededException = exports.InvalidFleetStatusException = exports.NotReadyException = exports.TaggingFailedException = exports.LimitExceededException = exports.UnauthorizedException = exports.OutOfCapacityException = exports.ConflictException = exports.UnsupportedRegionException = exports.NotFoundException = exports.InvalidRequestException = exports.InternalServiceException = void 0;
4
+ const GameLiftServiceException_1 = require("./GameLiftServiceException");
5
+ class InternalServiceException extends GameLiftServiceException_1.GameLiftServiceException {
6
+ name = "InternalServiceException";
7
+ $fault = "server";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "InternalServiceException",
12
+ $fault: "server",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, InternalServiceException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.InternalServiceException = InternalServiceException;
20
+ class InvalidRequestException extends GameLiftServiceException_1.GameLiftServiceException {
21
+ name = "InvalidRequestException";
22
+ $fault = "client";
23
+ Message;
24
+ constructor(opts) {
25
+ super({
26
+ name: "InvalidRequestException",
27
+ $fault: "client",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.InvalidRequestException = InvalidRequestException;
35
+ class NotFoundException extends GameLiftServiceException_1.GameLiftServiceException {
36
+ name = "NotFoundException";
37
+ $fault = "client";
38
+ Message;
39
+ constructor(opts) {
40
+ super({
41
+ name: "NotFoundException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, NotFoundException.prototype);
46
+ this.Message = opts.Message;
47
+ }
48
+ }
49
+ exports.NotFoundException = NotFoundException;
50
+ class UnsupportedRegionException extends GameLiftServiceException_1.GameLiftServiceException {
51
+ name = "UnsupportedRegionException";
52
+ $fault = "client";
53
+ Message;
54
+ constructor(opts) {
55
+ super({
56
+ name: "UnsupportedRegionException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, UnsupportedRegionException.prototype);
61
+ this.Message = opts.Message;
62
+ }
63
+ }
64
+ exports.UnsupportedRegionException = UnsupportedRegionException;
65
+ class ConflictException extends GameLiftServiceException_1.GameLiftServiceException {
66
+ name = "ConflictException";
67
+ $fault = "client";
68
+ Message;
69
+ constructor(opts) {
70
+ super({
71
+ name: "ConflictException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, ConflictException.prototype);
76
+ this.Message = opts.Message;
77
+ }
78
+ }
79
+ exports.ConflictException = ConflictException;
80
+ class OutOfCapacityException extends GameLiftServiceException_1.GameLiftServiceException {
81
+ name = "OutOfCapacityException";
82
+ $fault = "client";
83
+ Message;
84
+ constructor(opts) {
85
+ super({
86
+ name: "OutOfCapacityException",
87
+ $fault: "client",
88
+ ...opts,
89
+ });
90
+ Object.setPrototypeOf(this, OutOfCapacityException.prototype);
91
+ this.Message = opts.Message;
92
+ }
93
+ }
94
+ exports.OutOfCapacityException = OutOfCapacityException;
95
+ class UnauthorizedException extends GameLiftServiceException_1.GameLiftServiceException {
96
+ name = "UnauthorizedException";
97
+ $fault = "client";
98
+ Message;
99
+ constructor(opts) {
100
+ super({
101
+ name: "UnauthorizedException",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
106
+ this.Message = opts.Message;
107
+ }
108
+ }
109
+ exports.UnauthorizedException = UnauthorizedException;
110
+ class LimitExceededException extends GameLiftServiceException_1.GameLiftServiceException {
111
+ name = "LimitExceededException";
112
+ $fault = "client";
113
+ Message;
114
+ constructor(opts) {
115
+ super({
116
+ name: "LimitExceededException",
117
+ $fault: "client",
118
+ ...opts,
119
+ });
120
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
121
+ this.Message = opts.Message;
122
+ }
123
+ }
124
+ exports.LimitExceededException = LimitExceededException;
125
+ class TaggingFailedException extends GameLiftServiceException_1.GameLiftServiceException {
126
+ name = "TaggingFailedException";
127
+ $fault = "client";
128
+ Message;
129
+ constructor(opts) {
130
+ super({
131
+ name: "TaggingFailedException",
132
+ $fault: "client",
133
+ ...opts,
134
+ });
135
+ Object.setPrototypeOf(this, TaggingFailedException.prototype);
136
+ this.Message = opts.Message;
137
+ }
138
+ }
139
+ exports.TaggingFailedException = TaggingFailedException;
140
+ class NotReadyException extends GameLiftServiceException_1.GameLiftServiceException {
141
+ name = "NotReadyException";
142
+ $fault = "client";
143
+ Message;
144
+ constructor(opts) {
145
+ super({
146
+ name: "NotReadyException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, NotReadyException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ exports.NotReadyException = NotReadyException;
155
+ class InvalidFleetStatusException extends GameLiftServiceException_1.GameLiftServiceException {
156
+ name = "InvalidFleetStatusException";
157
+ $fault = "client";
158
+ Message;
159
+ constructor(opts) {
160
+ super({
161
+ name: "InvalidFleetStatusException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, InvalidFleetStatusException.prototype);
166
+ this.Message = opts.Message;
167
+ }
168
+ }
169
+ exports.InvalidFleetStatusException = InvalidFleetStatusException;
170
+ class FleetCapacityExceededException extends GameLiftServiceException_1.GameLiftServiceException {
171
+ name = "FleetCapacityExceededException";
172
+ $fault = "client";
173
+ Message;
174
+ constructor(opts) {
175
+ super({
176
+ name: "FleetCapacityExceededException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ Object.setPrototypeOf(this, FleetCapacityExceededException.prototype);
181
+ this.Message = opts.Message;
182
+ }
183
+ }
184
+ exports.FleetCapacityExceededException = FleetCapacityExceededException;
185
+ class IdempotentParameterMismatchException extends GameLiftServiceException_1.GameLiftServiceException {
186
+ name = "IdempotentParameterMismatchException";
187
+ $fault = "client";
188
+ Message;
189
+ constructor(opts) {
190
+ super({
191
+ name: "IdempotentParameterMismatchException",
192
+ $fault: "client",
193
+ ...opts,
194
+ });
195
+ Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
196
+ this.Message = opts.Message;
197
+ }
198
+ }
199
+ exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
200
+ class TerminalRoutingStrategyException extends GameLiftServiceException_1.GameLiftServiceException {
201
+ name = "TerminalRoutingStrategyException";
202
+ $fault = "client";
203
+ Message;
204
+ constructor(opts) {
205
+ super({
206
+ name: "TerminalRoutingStrategyException",
207
+ $fault: "client",
208
+ ...opts,
209
+ });
210
+ Object.setPrototypeOf(this, TerminalRoutingStrategyException.prototype);
211
+ this.Message = opts.Message;
212
+ }
213
+ }
214
+ exports.TerminalRoutingStrategyException = TerminalRoutingStrategyException;
215
+ class GameSessionFullException extends GameLiftServiceException_1.GameLiftServiceException {
216
+ name = "GameSessionFullException";
217
+ $fault = "client";
218
+ Message;
219
+ constructor(opts) {
220
+ super({
221
+ name: "GameSessionFullException",
222
+ $fault: "client",
223
+ ...opts,
224
+ });
225
+ Object.setPrototypeOf(this, GameSessionFullException.prototype);
226
+ this.Message = opts.Message;
227
+ }
228
+ }
229
+ exports.GameSessionFullException = GameSessionFullException;
230
+ class InvalidGameSessionStatusException extends GameLiftServiceException_1.GameLiftServiceException {
231
+ name = "InvalidGameSessionStatusException";
232
+ $fault = "client";
233
+ Message;
234
+ constructor(opts) {
235
+ super({
236
+ name: "InvalidGameSessionStatusException",
237
+ $fault: "client",
238
+ ...opts,
239
+ });
240
+ Object.setPrototypeOf(this, InvalidGameSessionStatusException.prototype);
241
+ this.Message = opts.Message;
242
+ }
243
+ }
244
+ exports.InvalidGameSessionStatusException = InvalidGameSessionStatusException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2015-10-01",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.gamelift",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  xmlNamespace: "http://gamelift.amazonaws.com/doc/",
33
35
  version: "2015-10-01",
34
36
  serviceTarget: "GameLift",