@aws-sdk/client-gamelift 3.52.0 → 3.54.1

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.
@@ -1348,7 +1348,7 @@ export declare class GameLift extends GameLiftClient {
1348
1348
  describeBuild(args: DescribeBuildCommandInput, cb: (err: any, data?: DescribeBuildCommandOutput) => void): void;
1349
1349
  describeBuild(args: DescribeBuildCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBuildCommandOutput) => void): void;
1350
1350
  /**
1351
- * <p>The GameLift service limits and current utilization for an Amazon Web Services Region or location.
1351
+ * <p>Retrieves the instance limits and current utilization for an Amazon Web Services Region or location.
1352
1352
  * Instance limits control the number of instances, per instance type, per location, that
1353
1353
  * your Amazon Web Services account can use. Learn more at <a href="http://aws.amazon.com/ec2/instance-types/">Amazon EC2 Instance Types</a>. The information
1354
1354
  * returned includes the maximum number of instances allowed and your account's current
@@ -2133,7 +2133,7 @@ export declare class GameLift extends GameLiftClient {
2133
2133
  * <p>This operation is not designed to be continually called to track matchmaking ticket
2134
2134
  * status. This practice can cause you to exceed your API limit, which results in errors.
2135
2135
  * Instead, as a best practice, set up an Amazon Simple Notification Service to receive notifications, and provide
2136
- * the topic ARN in the matchmaking configuration. Continuously poling ticket status with
2136
+ * the topic ARN in the matchmaking configuration. Continuously polling ticket status with
2137
2137
  * <a>DescribeMatchmaking</a> should only be used for games in development
2138
2138
  * with low matchmaking usage.</p>
2139
2139
  * <p></p>
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptMatchCommandInput, AcceptMatchCommandOutput } from "./commands/AcceptMatchCommand";
10
10
  import { ClaimGameServerCommandInput, ClaimGameServerCommandOutput } from "./commands/ClaimGameServerCommand";
11
11
  import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
@@ -123,7 +123,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
123
123
  * A function that can calculate the length of a request body.
124
124
  * @internal
125
125
  */
126
- bodyLengthChecker?: (body: any) => number | undefined;
126
+ bodyLengthChecker?: __BodyLengthCalculator;
127
127
  /**
128
128
  * A function that converts a stream into an array of bytes.
129
129
  * @internal
@@ -7,7 +7,7 @@ export interface DescribeEC2InstanceLimitsCommandInput extends DescribeEC2Instan
7
7
  export interface DescribeEC2InstanceLimitsCommandOutput extends DescribeEC2InstanceLimitsOutput, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>The GameLift service limits and current utilization for an Amazon Web Services Region or location.
10
+ * <p>Retrieves the instance limits and current utilization for an Amazon Web Services Region or location.
11
11
  * Instance limits control the number of instances, per instance type, per location, that
12
12
  * your Amazon Web Services account can use. Learn more at <a href="http://aws.amazon.com/ec2/instance-types/">Amazon EC2 Instance Types</a>. The information
13
13
  * returned includes the maximum number of instances allowed and your account's current
@@ -16,7 +16,7 @@ export interface DescribeMatchmakingCommandOutput extends DescribeMatchmakingOut
16
16
  * <p>This operation is not designed to be continually called to track matchmaking ticket
17
17
  * status. This practice can cause you to exceed your API limit, which results in errors.
18
18
  * Instead, as a best practice, set up an Amazon Simple Notification Service to receive notifications, and provide
19
- * the topic ARN in the matchmaking configuration. Continuously poling ticket status with
19
+ * the topic ARN in the matchmaking configuration. Continuously polling ticket status with
20
20
  * <a>DescribeMatchmaking</a> should only be used for games in development
21
21
  * with low matchmaking usage.</p>
22
22
  * <p></p>
@@ -3,3 +3,4 @@ export * from "./GameLiftClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { GameLiftServiceException } from "./models/GameLiftServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from GameLift service.
4
+ */
5
+ export declare class GameLiftServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { GameLiftServiceException as __BaseException } from "./GameLiftServiceException";
2
3
  export declare type AcceptanceType = "ACCEPT" | "REJECT";
3
4
  /**
4
5
  * <p>Represents the input for a request operation.</p>
@@ -38,36 +39,52 @@ export declare namespace AcceptMatchOutput {
38
39
  * request. Clients can retry such requests immediately or after a waiting
39
40
  * period.</p>
40
41
  */
41
- export interface InternalServiceException extends __SmithyException, $MetadataBearer {
42
- name: "InternalServiceException";
43
- $fault: "server";
42
+ export declare class InternalServiceException extends __BaseException {
43
+ readonly name: "InternalServiceException";
44
+ readonly $fault: "server";
44
45
  Message?: string;
46
+ /**
47
+ * @internal
48
+ */
49
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
45
50
  }
46
51
  /**
47
52
  * <p>One or more parameter values in the request are invalid. Correct the invalid
48
53
  * parameter values before retrying.</p>
49
54
  */
50
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
51
- name: "InvalidRequestException";
52
- $fault: "client";
55
+ export declare class InvalidRequestException extends __BaseException {
56
+ readonly name: "InvalidRequestException";
57
+ readonly $fault: "client";
53
58
  Message?: string;
59
+ /**
60
+ * @internal
61
+ */
62
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
54
63
  }
55
64
  /**
56
65
  * <p>A service resource associated with the request could not be found. Clients should
57
66
  * not retry such requests.</p>
58
67
  */
59
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
60
- name: "NotFoundException";
61
- $fault: "client";
68
+ export declare class NotFoundException extends __BaseException {
69
+ readonly name: "NotFoundException";
70
+ readonly $fault: "client";
62
71
  Message?: string;
72
+ /**
73
+ * @internal
74
+ */
75
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
63
76
  }
64
77
  /**
65
78
  * <p>The requested operation is not supported in the Region specified.</p>
66
79
  */
67
- export interface UnsupportedRegionException extends __SmithyException, $MetadataBearer {
68
- name: "UnsupportedRegionException";
69
- $fault: "client";
80
+ export declare class UnsupportedRegionException extends __BaseException {
81
+ readonly name: "UnsupportedRegionException";
82
+ readonly $fault: "client";
70
83
  Message?: string;
84
+ /**
85
+ * @internal
86
+ */
87
+ constructor(opts: __ExceptionOptionType<UnsupportedRegionException, __BaseException>);
71
88
  }
72
89
  export declare enum RoutingStrategyType {
73
90
  SIMPLE = "SIMPLE",
@@ -522,10 +539,14 @@ export declare namespace ClaimGameServerOutput {
522
539
  * resource associated with the request. Resolve the conflict before retrying this
523
540
  * request.</p>
524
541
  */
525
- export interface ConflictException extends __SmithyException, $MetadataBearer {
526
- name: "ConflictException";
527
- $fault: "client";
542
+ export declare class ConflictException extends __BaseException {
543
+ readonly name: "ConflictException";
544
+ readonly $fault: "client";
528
545
  Message?: string;
546
+ /**
547
+ * @internal
548
+ */
549
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
529
550
  }
530
551
  /**
531
552
  * <p>The specified game server group has no available game servers to fulfill a
@@ -534,18 +555,26 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
534
555
  *
535
556
  * </p>
536
557
  */
537
- export interface OutOfCapacityException extends __SmithyException, $MetadataBearer {
538
- name: "OutOfCapacityException";
539
- $fault: "client";
558
+ export declare class OutOfCapacityException extends __BaseException {
559
+ readonly name: "OutOfCapacityException";
560
+ readonly $fault: "client";
540
561
  Message?: string;
562
+ /**
563
+ * @internal
564
+ */
565
+ constructor(opts: __ExceptionOptionType<OutOfCapacityException, __BaseException>);
541
566
  }
542
567
  /**
543
568
  * <p>The client failed authentication. Clients should not retry such requests.</p>
544
569
  */
545
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
546
- name: "UnauthorizedException";
547
- $fault: "client";
570
+ export declare class UnauthorizedException extends __BaseException {
571
+ readonly name: "UnauthorizedException";
572
+ readonly $fault: "client";
548
573
  Message?: string;
574
+ /**
575
+ * @internal
576
+ */
577
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
549
578
  }
550
579
  export declare enum ComparisonOperatorType {
551
580
  GreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold",
@@ -652,10 +681,14 @@ export declare namespace CreateAliasOutput {
652
681
  * <p>The requested operation would cause the resource to exceed the allowed service
653
682
  * limit. Resolve the issue before retrying.</p>
654
683
  */
655
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
656
- name: "LimitExceededException";
657
- $fault: "client";
684
+ export declare class LimitExceededException extends __BaseException {
685
+ readonly name: "LimitExceededException";
686
+ readonly $fault: "client";
658
687
  Message?: string;
688
+ /**
689
+ * @internal
690
+ */
691
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
659
692
  }
660
693
  /**
661
694
  * <p>
@@ -663,10 +696,14 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
663
696
  * or the maximum tag limit may have been exceeded. Resolve the issue before retrying.
664
697
  * </p>
665
698
  */
666
- export interface TaggingFailedException extends __SmithyException, $MetadataBearer {
667
- name: "TaggingFailedException";
668
- $fault: "client";
699
+ export declare class TaggingFailedException extends __BaseException {
700
+ readonly name: "TaggingFailedException";
701
+ readonly $fault: "client";
669
702
  Message?: string;
703
+ /**
704
+ * @internal
705
+ */
706
+ constructor(opts: __ExceptionOptionType<TaggingFailedException, __BaseException>);
670
707
  }
671
708
  /**
672
709
  * <p>The location in Amazon S3 where build or script files are stored for access by Amazon Web Services. This
@@ -1447,10 +1484,14 @@ export declare namespace CreateFleetLocationsOutput {
1447
1484
  * associated with the request and/or the fleet. Resolve the conflict before
1448
1485
  * retrying.</p>
1449
1486
  */
1450
- export interface InvalidFleetStatusException extends __SmithyException, $MetadataBearer {
1451
- name: "InvalidFleetStatusException";
1452
- $fault: "client";
1487
+ export declare class InvalidFleetStatusException extends __BaseException {
1488
+ readonly name: "InvalidFleetStatusException";
1489
+ readonly $fault: "client";
1453
1490
  Message?: string;
1491
+ /**
1492
+ * @internal
1493
+ */
1494
+ constructor(opts: __ExceptionOptionType<InvalidFleetStatusException, __BaseException>);
1454
1495
  }
1455
1496
  /**
1456
1497
  * <p>
@@ -2148,19 +2189,27 @@ export declare namespace CreateGameSessionOutput {
2148
2189
  * <code>CreateGameSession</code> request. Clients can retry such requests immediately
2149
2190
  * or after a waiting period.</p>
2150
2191
  */
2151
- export interface FleetCapacityExceededException extends __SmithyException, $MetadataBearer {
2152
- name: "FleetCapacityExceededException";
2153
- $fault: "client";
2192
+ export declare class FleetCapacityExceededException extends __BaseException {
2193
+ readonly name: "FleetCapacityExceededException";
2194
+ readonly $fault: "client";
2154
2195
  Message?: string;
2196
+ /**
2197
+ * @internal
2198
+ */
2199
+ constructor(opts: __ExceptionOptionType<FleetCapacityExceededException, __BaseException>);
2155
2200
  }
2156
2201
  /**
2157
2202
  * <p>A game session with this custom ID string already exists in this fleet. Resolve
2158
2203
  * this conflict before retrying this request.</p>
2159
2204
  */
2160
- export interface IdempotentParameterMismatchException extends __SmithyException, $MetadataBearer {
2161
- name: "IdempotentParameterMismatchException";
2162
- $fault: "client";
2205
+ export declare class IdempotentParameterMismatchException extends __BaseException {
2206
+ readonly name: "IdempotentParameterMismatchException";
2207
+ readonly $fault: "client";
2163
2208
  Message?: string;
2209
+ /**
2210
+ * @internal
2211
+ */
2212
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
2164
2213
  }
2165
2214
  /**
2166
2215
  * <p>The service is unable to resolve the routing for a particular alias because it has
@@ -2169,10 +2218,14 @@ export interface IdempotentParameterMismatchException extends __SmithyException,
2169
2218
  * should only be retried if the routing strategy for the specified alias is modified.
2170
2219
  * </p>
2171
2220
  */
2172
- export interface TerminalRoutingStrategyException extends __SmithyException, $MetadataBearer {
2173
- name: "TerminalRoutingStrategyException";
2174
- $fault: "client";
2221
+ export declare class TerminalRoutingStrategyException extends __BaseException {
2222
+ readonly name: "TerminalRoutingStrategyException";
2223
+ readonly $fault: "client";
2175
2224
  Message?: string;
2225
+ /**
2226
+ * @internal
2227
+ */
2228
+ constructor(opts: __ExceptionOptionType<TerminalRoutingStrategyException, __BaseException>);
2176
2229
  }
2177
2230
  /**
2178
2231
  * <p>A fleet or alias designated in a game session queue. Queues fulfill requests for new
@@ -3009,20 +3062,28 @@ export declare namespace CreatePlayerSessionOutput {
3009
3062
  * <p>The game instance is currently full and cannot allow the requested player(s) to
3010
3063
  * join. Clients can retry such requests immediately or after a waiting period.</p>
3011
3064
  */
3012
- export interface GameSessionFullException extends __SmithyException, $MetadataBearer {
3013
- name: "GameSessionFullException";
3014
- $fault: "client";
3065
+ export declare class GameSessionFullException extends __BaseException {
3066
+ readonly name: "GameSessionFullException";
3067
+ readonly $fault: "client";
3015
3068
  Message?: string;
3069
+ /**
3070
+ * @internal
3071
+ */
3072
+ constructor(opts: __ExceptionOptionType<GameSessionFullException, __BaseException>);
3016
3073
  }
3017
3074
  /**
3018
3075
  * <p>The requested operation would cause a conflict with the current state of a resource
3019
3076
  * associated with the request and/or the game instance. Resolve the conflict before
3020
3077
  * retrying.</p>
3021
3078
  */
3022
- export interface InvalidGameSessionStatusException extends __SmithyException, $MetadataBearer {
3023
- name: "InvalidGameSessionStatusException";
3024
- $fault: "client";
3079
+ export declare class InvalidGameSessionStatusException extends __BaseException {
3080
+ readonly name: "InvalidGameSessionStatusException";
3081
+ readonly $fault: "client";
3025
3082
  Message?: string;
3083
+ /**
3084
+ * @internal
3085
+ */
3086
+ constructor(opts: __ExceptionOptionType<InvalidGameSessionStatusException, __BaseException>);
3026
3087
  }
3027
3088
  /**
3028
3089
  * <p>Represents the input for a request operation.</p>
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: GameLiftClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: GameLiftClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: GameLiftClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AcceptMatchCommandInput, AcceptMatchCommandOutput } from "./commands/AcceptMatchCommand";
10
10
  import { ClaimGameServerCommandInput, ClaimGameServerCommandOutput } from "./commands/ClaimGameServerCommand";
11
11
  import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
@@ -111,7 +111,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
111
111
 
112
112
  urlParser?: __UrlParser;
113
113
 
114
- bodyLengthChecker?: (body: any) => number | undefined;
114
+ bodyLengthChecker?: __BodyLengthCalculator;
115
115
 
116
116
  streamCollector?: __StreamCollector;
117
117
 
@@ -3,3 +3,4 @@ export * from "./GameLiftClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { GameLiftServiceException } from "./models/GameLiftServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class GameLiftServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { GameLiftServiceException as __BaseException } from "./GameLiftServiceException";
2
3
  export declare type AcceptanceType = "ACCEPT" | "REJECT";
3
4
 
4
5
  export interface AcceptMatchInput {
@@ -20,28 +21,36 @@ export declare namespace AcceptMatchOutput {
20
21
  const filterSensitiveLog: (obj: AcceptMatchOutput) => any;
21
22
  }
22
23
 
23
- export interface InternalServiceException extends __SmithyException, $MetadataBearer {
24
- name: "InternalServiceException";
25
- $fault: "server";
24
+ export declare class InternalServiceException extends __BaseException {
25
+ readonly name: "InternalServiceException";
26
+ readonly $fault: "server";
26
27
  Message?: string;
28
+
29
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
27
30
  }
28
31
 
29
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
30
- name: "InvalidRequestException";
31
- $fault: "client";
32
+ export declare class InvalidRequestException extends __BaseException {
33
+ readonly name: "InvalidRequestException";
34
+ readonly $fault: "client";
32
35
  Message?: string;
36
+
37
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
33
38
  }
34
39
 
35
- export interface NotFoundException extends __SmithyException, $MetadataBearer {
36
- name: "NotFoundException";
37
- $fault: "client";
40
+ export declare class NotFoundException extends __BaseException {
41
+ readonly name: "NotFoundException";
42
+ readonly $fault: "client";
38
43
  Message?: string;
44
+
45
+ constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
39
46
  }
40
47
 
41
- export interface UnsupportedRegionException extends __SmithyException, $MetadataBearer {
42
- name: "UnsupportedRegionException";
43
- $fault: "client";
48
+ export declare class UnsupportedRegionException extends __BaseException {
49
+ readonly name: "UnsupportedRegionException";
50
+ readonly $fault: "client";
44
51
  Message?: string;
52
+
53
+ constructor(opts: __ExceptionOptionType<UnsupportedRegionException, __BaseException>);
45
54
  }
46
55
  export declare enum RoutingStrategyType {
47
56
  SIMPLE = "SIMPLE",
@@ -223,22 +232,28 @@ export declare namespace ClaimGameServerOutput {
223
232
  const filterSensitiveLog: (obj: ClaimGameServerOutput) => any;
224
233
  }
225
234
 
226
- export interface ConflictException extends __SmithyException, $MetadataBearer {
227
- name: "ConflictException";
228
- $fault: "client";
235
+ export declare class ConflictException extends __BaseException {
236
+ readonly name: "ConflictException";
237
+ readonly $fault: "client";
229
238
  Message?: string;
239
+
240
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
230
241
  }
231
242
 
232
- export interface OutOfCapacityException extends __SmithyException, $MetadataBearer {
233
- name: "OutOfCapacityException";
234
- $fault: "client";
243
+ export declare class OutOfCapacityException extends __BaseException {
244
+ readonly name: "OutOfCapacityException";
245
+ readonly $fault: "client";
235
246
  Message?: string;
247
+
248
+ constructor(opts: __ExceptionOptionType<OutOfCapacityException, __BaseException>);
236
249
  }
237
250
 
238
- export interface UnauthorizedException extends __SmithyException, $MetadataBearer {
239
- name: "UnauthorizedException";
240
- $fault: "client";
251
+ export declare class UnauthorizedException extends __BaseException {
252
+ readonly name: "UnauthorizedException";
253
+ readonly $fault: "client";
241
254
  Message?: string;
255
+
256
+ constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
242
257
  }
243
258
  export declare enum ComparisonOperatorType {
244
259
  GreaterThanOrEqualToThreshold = "GreaterThanOrEqualToThreshold",
@@ -282,16 +297,20 @@ export declare namespace CreateAliasOutput {
282
297
  const filterSensitiveLog: (obj: CreateAliasOutput) => any;
283
298
  }
284
299
 
285
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
286
- name: "LimitExceededException";
287
- $fault: "client";
300
+ export declare class LimitExceededException extends __BaseException {
301
+ readonly name: "LimitExceededException";
302
+ readonly $fault: "client";
288
303
  Message?: string;
304
+
305
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
289
306
  }
290
307
 
291
- export interface TaggingFailedException extends __SmithyException, $MetadataBearer {
292
- name: "TaggingFailedException";
293
- $fault: "client";
308
+ export declare class TaggingFailedException extends __BaseException {
309
+ readonly name: "TaggingFailedException";
310
+ readonly $fault: "client";
294
311
  Message?: string;
312
+
313
+ constructor(opts: __ExceptionOptionType<TaggingFailedException, __BaseException>);
295
314
  }
296
315
 
297
316
  export interface S3Location {
@@ -573,10 +592,12 @@ export declare namespace CreateFleetLocationsOutput {
573
592
  const filterSensitiveLog: (obj: CreateFleetLocationsOutput) => any;
574
593
  }
575
594
 
576
- export interface InvalidFleetStatusException extends __SmithyException, $MetadataBearer {
577
- name: "InvalidFleetStatusException";
578
- $fault: "client";
595
+ export declare class InvalidFleetStatusException extends __BaseException {
596
+ readonly name: "InvalidFleetStatusException";
597
+ readonly $fault: "client";
579
598
  Message?: string;
599
+
600
+ constructor(opts: __ExceptionOptionType<InvalidFleetStatusException, __BaseException>);
580
601
  }
581
602
 
582
603
  export interface TargetTrackingConfiguration {
@@ -813,22 +834,28 @@ export declare namespace CreateGameSessionOutput {
813
834
  const filterSensitiveLog: (obj: CreateGameSessionOutput) => any;
814
835
  }
815
836
 
816
- export interface FleetCapacityExceededException extends __SmithyException, $MetadataBearer {
817
- name: "FleetCapacityExceededException";
818
- $fault: "client";
837
+ export declare class FleetCapacityExceededException extends __BaseException {
838
+ readonly name: "FleetCapacityExceededException";
839
+ readonly $fault: "client";
819
840
  Message?: string;
841
+
842
+ constructor(opts: __ExceptionOptionType<FleetCapacityExceededException, __BaseException>);
820
843
  }
821
844
 
822
- export interface IdempotentParameterMismatchException extends __SmithyException, $MetadataBearer {
823
- name: "IdempotentParameterMismatchException";
824
- $fault: "client";
845
+ export declare class IdempotentParameterMismatchException extends __BaseException {
846
+ readonly name: "IdempotentParameterMismatchException";
847
+ readonly $fault: "client";
825
848
  Message?: string;
849
+
850
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
826
851
  }
827
852
 
828
- export interface TerminalRoutingStrategyException extends __SmithyException, $MetadataBearer {
829
- name: "TerminalRoutingStrategyException";
830
- $fault: "client";
853
+ export declare class TerminalRoutingStrategyException extends __BaseException {
854
+ readonly name: "TerminalRoutingStrategyException";
855
+ readonly $fault: "client";
831
856
  Message?: string;
857
+
858
+ constructor(opts: __ExceptionOptionType<TerminalRoutingStrategyException, __BaseException>);
832
859
  }
833
860
 
834
861
  export interface GameSessionQueueDestination {
@@ -1123,16 +1150,20 @@ export declare namespace CreatePlayerSessionOutput {
1123
1150
  const filterSensitiveLog: (obj: CreatePlayerSessionOutput) => any;
1124
1151
  }
1125
1152
 
1126
- export interface GameSessionFullException extends __SmithyException, $MetadataBearer {
1127
- name: "GameSessionFullException";
1128
- $fault: "client";
1153
+ export declare class GameSessionFullException extends __BaseException {
1154
+ readonly name: "GameSessionFullException";
1155
+ readonly $fault: "client";
1129
1156
  Message?: string;
1157
+
1158
+ constructor(opts: __ExceptionOptionType<GameSessionFullException, __BaseException>);
1130
1159
  }
1131
1160
 
1132
- export interface InvalidGameSessionStatusException extends __SmithyException, $MetadataBearer {
1133
- name: "InvalidGameSessionStatusException";
1134
- $fault: "client";
1161
+ export declare class InvalidGameSessionStatusException extends __BaseException {
1162
+ readonly name: "InvalidGameSessionStatusException";
1163
+ readonly $fault: "client";
1135
1164
  Message?: string;
1165
+
1166
+ constructor(opts: __ExceptionOptionType<InvalidGameSessionStatusException, __BaseException>);
1136
1167
  }
1137
1168
 
1138
1169
  export interface CreatePlayerSessionsInput {
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: GameLiftClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: GameLiftClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: GameLiftClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;