@aws-sdk/client-license-manager 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.
@@ -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 { AcceptGrantCommandInput, AcceptGrantCommandOutput } from "./commands/AcceptGrantCommand";
10
10
  import { CheckInLicenseCommandInput, CheckInLicenseCommandOutput } from "./commands/CheckInLicenseCommand";
11
11
  import { CheckoutBorrowLicenseCommandInput, CheckoutBorrowLicenseCommandOutput } from "./commands/CheckoutBorrowLicenseCommand";
@@ -76,7 +76,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
76
76
  * A function that can calculate the length of a request body.
77
77
  * @internal
78
78
  */
79
- bodyLengthChecker?: (body: any) => number | undefined;
79
+ bodyLengthChecker?: __BodyLengthCalculator;
80
80
  /**
81
81
  * A function that converts a stream into an array of bytes.
82
82
  * @internal
@@ -2,3 +2,4 @@ export * from "./LicenseManager";
2
2
  export * from "./LicenseManagerClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { LicenseManagerServiceException } from "./models/LicenseManagerServiceException";
@@ -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 LicenseManager service.
4
+ */
5
+ export declare class LicenseManagerServiceException 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 { LicenseManagerServiceException as __BaseException } from "./LicenseManagerServiceException";
2
3
  export interface AcceptGrantRequest {
3
4
  /**
4
5
  * <p>Amazon Resource Name (ARN) of the grant.</p>
@@ -45,59 +46,87 @@ export declare namespace AcceptGrantResponse {
45
46
  /**
46
47
  * <p>Access to resource denied.</p>
47
48
  */
48
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
49
- name: "AccessDeniedException";
50
- $fault: "client";
49
+ export declare class AccessDeniedException extends __BaseException {
50
+ readonly name: "AccessDeniedException";
51
+ readonly $fault: "client";
51
52
  Message?: string;
53
+ /**
54
+ * @internal
55
+ */
56
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
52
57
  }
53
58
  /**
54
59
  * <p>The Amazon Web Services user account does not have permission to perform the action. Check the IAM
55
60
  * policy associated with this account.</p>
56
61
  */
57
- export interface AuthorizationException extends __SmithyException, $MetadataBearer {
58
- name: "AuthorizationException";
59
- $fault: "client";
62
+ export declare class AuthorizationException extends __BaseException {
63
+ readonly name: "AuthorizationException";
64
+ readonly $fault: "client";
60
65
  Message?: string;
66
+ /**
67
+ * @internal
68
+ */
69
+ constructor(opts: __ExceptionOptionType<AuthorizationException, __BaseException>);
61
70
  }
62
71
  /**
63
72
  * <p>One or more parameter values are not valid.</p>
64
73
  */
65
- export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
66
- name: "InvalidParameterValueException";
67
- $fault: "client";
74
+ export declare class InvalidParameterValueException extends __BaseException {
75
+ readonly name: "InvalidParameterValueException";
76
+ readonly $fault: "client";
68
77
  Message?: string;
78
+ /**
79
+ * @internal
80
+ */
81
+ constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
69
82
  }
70
83
  /**
71
84
  * <p>Too many requests have been submitted. Try again after a brief wait.</p>
72
85
  */
73
- export interface RateLimitExceededException extends __SmithyException, $MetadataBearer {
74
- name: "RateLimitExceededException";
75
- $fault: "client";
86
+ export declare class RateLimitExceededException extends __BaseException {
87
+ readonly name: "RateLimitExceededException";
88
+ readonly $fault: "client";
76
89
  Message?: string;
90
+ /**
91
+ * @internal
92
+ */
93
+ constructor(opts: __ExceptionOptionType<RateLimitExceededException, __BaseException>);
77
94
  }
78
95
  /**
79
96
  * <p>Your resource limits have been exceeded.</p>
80
97
  */
81
- export interface ResourceLimitExceededException extends __SmithyException, $MetadataBearer {
82
- name: "ResourceLimitExceededException";
83
- $fault: "client";
98
+ export declare class ResourceLimitExceededException extends __BaseException {
99
+ readonly name: "ResourceLimitExceededException";
100
+ readonly $fault: "client";
84
101
  Message?: string;
102
+ /**
103
+ * @internal
104
+ */
105
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
85
106
  }
86
107
  /**
87
108
  * <p>The server experienced an internal error. Try again.</p>
88
109
  */
89
- export interface ServerInternalException extends __SmithyException, $MetadataBearer {
90
- name: "ServerInternalException";
91
- $fault: "server";
110
+ export declare class ServerInternalException extends __BaseException {
111
+ readonly name: "ServerInternalException";
112
+ readonly $fault: "server";
92
113
  Message?: string;
114
+ /**
115
+ * @internal
116
+ */
117
+ constructor(opts: __ExceptionOptionType<ServerInternalException, __BaseException>);
93
118
  }
94
119
  /**
95
120
  * <p>The provided input is not valid. Try your request again.</p>
96
121
  */
97
- export interface ValidationException extends __SmithyException, $MetadataBearer {
98
- name: "ValidationException";
99
- $fault: "client";
122
+ export declare class ValidationException extends __BaseException {
123
+ readonly name: "ValidationException";
124
+ readonly $fault: "client";
100
125
  Message?: string;
126
+ /**
127
+ * @internal
128
+ */
129
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
101
130
  }
102
131
  export declare enum AllowedOperation {
103
132
  CHECKOUT_BORROW_LICENSE = "CheckoutBorrowLicense",
@@ -150,18 +179,26 @@ export declare namespace CheckInLicenseResponse {
150
179
  /**
151
180
  * <p>There was a conflict processing the request. Try your request again.</p>
152
181
  */
153
- export interface ConflictException extends __SmithyException, $MetadataBearer {
154
- name: "ConflictException";
155
- $fault: "client";
182
+ export declare class ConflictException extends __BaseException {
183
+ readonly name: "ConflictException";
184
+ readonly $fault: "client";
156
185
  Message?: string;
186
+ /**
187
+ * @internal
188
+ */
189
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
157
190
  }
158
191
  /**
159
192
  * <p>The resource cannot be found.</p>
160
193
  */
161
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
162
- name: "ResourceNotFoundException";
163
- $fault: "client";
194
+ export declare class ResourceNotFoundException extends __BaseException {
195
+ readonly name: "ResourceNotFoundException";
196
+ readonly $fault: "client";
164
197
  Message?: string;
198
+ /**
199
+ * @internal
200
+ */
201
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
165
202
  }
166
203
  /**
167
204
  * <p>Describes key/value pairs.</p>
@@ -313,35 +350,51 @@ export declare namespace CheckoutBorrowLicenseResponse {
313
350
  /**
314
351
  * <p>The entitlement is not allowed.</p>
315
352
  */
316
- export interface EntitlementNotAllowedException extends __SmithyException, $MetadataBearer {
317
- name: "EntitlementNotAllowedException";
318
- $fault: "client";
353
+ export declare class EntitlementNotAllowedException extends __BaseException {
354
+ readonly name: "EntitlementNotAllowedException";
355
+ readonly $fault: "client";
319
356
  Message?: string;
357
+ /**
358
+ * @internal
359
+ */
360
+ constructor(opts: __ExceptionOptionType<EntitlementNotAllowedException, __BaseException>);
320
361
  }
321
362
  /**
322
363
  * <p>There are no entitlements found for this license, or the entitlement maximum count is reached.</p>
323
364
  */
324
- export interface NoEntitlementsAllowedException extends __SmithyException, $MetadataBearer {
325
- name: "NoEntitlementsAllowedException";
326
- $fault: "client";
365
+ export declare class NoEntitlementsAllowedException extends __BaseException {
366
+ readonly name: "NoEntitlementsAllowedException";
367
+ readonly $fault: "client";
327
368
  Message?: string;
369
+ /**
370
+ * @internal
371
+ */
372
+ constructor(opts: __ExceptionOptionType<NoEntitlementsAllowedException, __BaseException>);
328
373
  }
329
374
  /**
330
375
  * <p>This is not the correct Region for the resource. Try again.</p>
331
376
  */
332
- export interface RedirectException extends __SmithyException, $MetadataBearer {
333
- name: "RedirectException";
334
- $fault: "client";
377
+ export declare class RedirectException extends __BaseException {
378
+ readonly name: "RedirectException";
379
+ readonly $fault: "client";
335
380
  Location?: string;
336
381
  Message?: string;
382
+ /**
383
+ * @internal
384
+ */
385
+ constructor(opts: __ExceptionOptionType<RedirectException, __BaseException>);
337
386
  }
338
387
  /**
339
388
  * <p>The digital signature method is unsupported. Try your request again.</p>
340
389
  */
341
- export interface UnsupportedDigitalSignatureMethodException extends __SmithyException, $MetadataBearer {
342
- name: "UnsupportedDigitalSignatureMethodException";
343
- $fault: "client";
390
+ export declare class UnsupportedDigitalSignatureMethodException extends __BaseException {
391
+ readonly name: "UnsupportedDigitalSignatureMethodException";
392
+ readonly $fault: "client";
344
393
  Message?: string;
394
+ /**
395
+ * @internal
396
+ */
397
+ constructor(opts: __ExceptionOptionType<UnsupportedDigitalSignatureMethodException, __BaseException>);
345
398
  }
346
399
  export declare enum CheckoutType {
347
400
  PERPETUAL = "PERPETUAL",
@@ -2107,10 +2160,14 @@ export declare namespace GetServiceSettingsResponse {
2107
2160
  /**
2108
2161
  * <p>The request uses too many filters or too many filter values.</p>
2109
2162
  */
2110
- export interface FilterLimitExceededException extends __SmithyException, $MetadataBearer {
2111
- name: "FilterLimitExceededException";
2112
- $fault: "client";
2163
+ export declare class FilterLimitExceededException extends __BaseException {
2164
+ readonly name: "FilterLimitExceededException";
2165
+ readonly $fault: "client";
2113
2166
  Message?: string;
2167
+ /**
2168
+ * @internal
2169
+ */
2170
+ constructor(opts: __ExceptionOptionType<FilterLimitExceededException, __BaseException>);
2114
2171
  }
2115
2172
  export interface ListAssociationsForLicenseConfigurationRequest {
2116
2173
  /**
@@ -3007,11 +3064,15 @@ export declare namespace ListReceivedLicensesResponse {
3007
3064
  /**
3008
3065
  * <p>A dependency required to run the API is missing.</p>
3009
3066
  */
3010
- export interface FailedDependencyException extends __SmithyException, $MetadataBearer {
3011
- name: "FailedDependencyException";
3012
- $fault: "client";
3067
+ export declare class FailedDependencyException extends __BaseException {
3068
+ readonly name: "FailedDependencyException";
3069
+ readonly $fault: "client";
3013
3070
  Message?: string;
3014
3071
  ErrorCode?: string;
3072
+ /**
3073
+ * @internal
3074
+ */
3075
+ constructor(opts: __ExceptionOptionType<FailedDependencyException, __BaseException>);
3015
3076
  }
3016
3077
  export declare enum InventoryFilterCondition {
3017
3078
  BEGINS_WITH = "BEGINS_WITH",
@@ -3548,18 +3609,26 @@ export declare namespace UpdateLicenseManagerReportGeneratorResponse {
3548
3609
  * <p>For example, you cannot allocate a license to an instance in the process of shutting
3549
3610
  * down.</p>
3550
3611
  */
3551
- export interface InvalidResourceStateException extends __SmithyException, $MetadataBearer {
3552
- name: "InvalidResourceStateException";
3553
- $fault: "client";
3612
+ export declare class InvalidResourceStateException extends __BaseException {
3613
+ readonly name: "InvalidResourceStateException";
3614
+ readonly $fault: "client";
3554
3615
  Message?: string;
3616
+ /**
3617
+ * @internal
3618
+ */
3619
+ constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
3555
3620
  }
3556
3621
  /**
3557
3622
  * <p>You do not have enough licenses available to support a new resource launch.</p>
3558
3623
  */
3559
- export interface LicenseUsageException extends __SmithyException, $MetadataBearer {
3560
- name: "LicenseUsageException";
3561
- $fault: "client";
3624
+ export declare class LicenseUsageException extends __BaseException {
3625
+ readonly name: "LicenseUsageException";
3626
+ readonly $fault: "client";
3562
3627
  Message?: string;
3628
+ /**
3629
+ * @internal
3630
+ */
3631
+ constructor(opts: __ExceptionOptionType<LicenseUsageException, __BaseException>);
3563
3632
  }
3564
3633
  export interface UpdateLicenseSpecificationsForResourceRequest {
3565
3634
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: LicenseManagerClientConfig) => {
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: LicenseManagerClientConfig) => {
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: LicenseManagerClientConfig) => {
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 { AcceptGrantCommandInput, AcceptGrantCommandOutput } from "./commands/AcceptGrantCommand";
10
10
  import { CheckInLicenseCommandInput, CheckInLicenseCommandOutput } from "./commands/CheckInLicenseCommand";
11
11
  import { CheckoutBorrowLicenseCommandInput, CheckoutBorrowLicenseCommandOutput } from "./commands/CheckoutBorrowLicenseCommand";
@@ -64,7 +64,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
64
64
 
65
65
  urlParser?: __UrlParser;
66
66
 
67
- bodyLengthChecker?: (body: any) => number | undefined;
67
+ bodyLengthChecker?: __BodyLengthCalculator;
68
68
 
69
69
  streamCollector?: __StreamCollector;
70
70
 
@@ -2,3 +2,4 @@ export * from "./LicenseManager";
2
2
  export * from "./LicenseManagerClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { LicenseManagerServiceException } from "./models/LicenseManagerServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class LicenseManagerServiceException 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 { LicenseManagerServiceException as __BaseException } from "./LicenseManagerServiceException";
2
3
  export interface AcceptGrantRequest {
3
4
 
4
5
  GrantArn: string | undefined;
@@ -31,46 +32,60 @@ export declare namespace AcceptGrantResponse {
31
32
  const filterSensitiveLog: (obj: AcceptGrantResponse) => any;
32
33
  }
33
34
 
34
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
35
- name: "AccessDeniedException";
36
- $fault: "client";
35
+ export declare class AccessDeniedException extends __BaseException {
36
+ readonly name: "AccessDeniedException";
37
+ readonly $fault: "client";
37
38
  Message?: string;
39
+
40
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
38
41
  }
39
42
 
40
- export interface AuthorizationException extends __SmithyException, $MetadataBearer {
41
- name: "AuthorizationException";
42
- $fault: "client";
43
+ export declare class AuthorizationException extends __BaseException {
44
+ readonly name: "AuthorizationException";
45
+ readonly $fault: "client";
43
46
  Message?: string;
47
+
48
+ constructor(opts: __ExceptionOptionType<AuthorizationException, __BaseException>);
44
49
  }
45
50
 
46
- export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
47
- name: "InvalidParameterValueException";
48
- $fault: "client";
51
+ export declare class InvalidParameterValueException extends __BaseException {
52
+ readonly name: "InvalidParameterValueException";
53
+ readonly $fault: "client";
49
54
  Message?: string;
55
+
56
+ constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
50
57
  }
51
58
 
52
- export interface RateLimitExceededException extends __SmithyException, $MetadataBearer {
53
- name: "RateLimitExceededException";
54
- $fault: "client";
59
+ export declare class RateLimitExceededException extends __BaseException {
60
+ readonly name: "RateLimitExceededException";
61
+ readonly $fault: "client";
55
62
  Message?: string;
63
+
64
+ constructor(opts: __ExceptionOptionType<RateLimitExceededException, __BaseException>);
56
65
  }
57
66
 
58
- export interface ResourceLimitExceededException extends __SmithyException, $MetadataBearer {
59
- name: "ResourceLimitExceededException";
60
- $fault: "client";
67
+ export declare class ResourceLimitExceededException extends __BaseException {
68
+ readonly name: "ResourceLimitExceededException";
69
+ readonly $fault: "client";
61
70
  Message?: string;
71
+
72
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
62
73
  }
63
74
 
64
- export interface ServerInternalException extends __SmithyException, $MetadataBearer {
65
- name: "ServerInternalException";
66
- $fault: "server";
75
+ export declare class ServerInternalException extends __BaseException {
76
+ readonly name: "ServerInternalException";
77
+ readonly $fault: "server";
67
78
  Message?: string;
79
+
80
+ constructor(opts: __ExceptionOptionType<ServerInternalException, __BaseException>);
68
81
  }
69
82
 
70
- export interface ValidationException extends __SmithyException, $MetadataBearer {
71
- name: "ValidationException";
72
- $fault: "client";
83
+ export declare class ValidationException extends __BaseException {
84
+ readonly name: "ValidationException";
85
+ readonly $fault: "client";
73
86
  Message?: string;
87
+
88
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
74
89
  }
75
90
  export declare enum AllowedOperation {
76
91
  CHECKOUT_BORROW_LICENSE = "CheckoutBorrowLicense",
@@ -107,16 +122,20 @@ export declare namespace CheckInLicenseResponse {
107
122
  const filterSensitiveLog: (obj: CheckInLicenseResponse) => any;
108
123
  }
109
124
 
110
- export interface ConflictException extends __SmithyException, $MetadataBearer {
111
- name: "ConflictException";
112
- $fault: "client";
125
+ export declare class ConflictException extends __BaseException {
126
+ readonly name: "ConflictException";
127
+ readonly $fault: "client";
113
128
  Message?: string;
129
+
130
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
114
131
  }
115
132
 
116
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
117
- name: "ResourceNotFoundException";
118
- $fault: "client";
133
+ export declare class ResourceNotFoundException extends __BaseException {
134
+ readonly name: "ResourceNotFoundException";
135
+ readonly $fault: "client";
119
136
  Message?: string;
137
+
138
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
120
139
  }
121
140
 
122
141
  export interface Metadata {
@@ -215,29 +234,37 @@ export declare namespace CheckoutBorrowLicenseResponse {
215
234
  const filterSensitiveLog: (obj: CheckoutBorrowLicenseResponse) => any;
216
235
  }
217
236
 
218
- export interface EntitlementNotAllowedException extends __SmithyException, $MetadataBearer {
219
- name: "EntitlementNotAllowedException";
220
- $fault: "client";
237
+ export declare class EntitlementNotAllowedException extends __BaseException {
238
+ readonly name: "EntitlementNotAllowedException";
239
+ readonly $fault: "client";
221
240
  Message?: string;
241
+
242
+ constructor(opts: __ExceptionOptionType<EntitlementNotAllowedException, __BaseException>);
222
243
  }
223
244
 
224
- export interface NoEntitlementsAllowedException extends __SmithyException, $MetadataBearer {
225
- name: "NoEntitlementsAllowedException";
226
- $fault: "client";
245
+ export declare class NoEntitlementsAllowedException extends __BaseException {
246
+ readonly name: "NoEntitlementsAllowedException";
247
+ readonly $fault: "client";
227
248
  Message?: string;
249
+
250
+ constructor(opts: __ExceptionOptionType<NoEntitlementsAllowedException, __BaseException>);
228
251
  }
229
252
 
230
- export interface RedirectException extends __SmithyException, $MetadataBearer {
231
- name: "RedirectException";
232
- $fault: "client";
253
+ export declare class RedirectException extends __BaseException {
254
+ readonly name: "RedirectException";
255
+ readonly $fault: "client";
233
256
  Location?: string;
234
257
  Message?: string;
258
+
259
+ constructor(opts: __ExceptionOptionType<RedirectException, __BaseException>);
235
260
  }
236
261
 
237
- export interface UnsupportedDigitalSignatureMethodException extends __SmithyException, $MetadataBearer {
238
- name: "UnsupportedDigitalSignatureMethodException";
239
- $fault: "client";
262
+ export declare class UnsupportedDigitalSignatureMethodException extends __BaseException {
263
+ readonly name: "UnsupportedDigitalSignatureMethodException";
264
+ readonly $fault: "client";
240
265
  Message?: string;
266
+
267
+ constructor(opts: __ExceptionOptionType<UnsupportedDigitalSignatureMethodException, __BaseException>);
241
268
  }
242
269
  export declare enum CheckoutType {
243
270
  PERPETUAL = "PERPETUAL",
@@ -1221,10 +1248,12 @@ export declare namespace GetServiceSettingsResponse {
1221
1248
  const filterSensitiveLog: (obj: GetServiceSettingsResponse) => any;
1222
1249
  }
1223
1250
 
1224
- export interface FilterLimitExceededException extends __SmithyException, $MetadataBearer {
1225
- name: "FilterLimitExceededException";
1226
- $fault: "client";
1251
+ export declare class FilterLimitExceededException extends __BaseException {
1252
+ readonly name: "FilterLimitExceededException";
1253
+ readonly $fault: "client";
1227
1254
  Message?: string;
1255
+
1256
+ constructor(opts: __ExceptionOptionType<FilterLimitExceededException, __BaseException>);
1228
1257
  }
1229
1258
  export interface ListAssociationsForLicenseConfigurationRequest {
1230
1259
 
@@ -1665,11 +1694,13 @@ export declare namespace ListReceivedLicensesResponse {
1665
1694
  const filterSensitiveLog: (obj: ListReceivedLicensesResponse) => any;
1666
1695
  }
1667
1696
 
1668
- export interface FailedDependencyException extends __SmithyException, $MetadataBearer {
1669
- name: "FailedDependencyException";
1670
- $fault: "client";
1697
+ export declare class FailedDependencyException extends __BaseException {
1698
+ readonly name: "FailedDependencyException";
1699
+ readonly $fault: "client";
1671
1700
  Message?: string;
1672
1701
  ErrorCode?: string;
1702
+
1703
+ constructor(opts: __ExceptionOptionType<FailedDependencyException, __BaseException>);
1673
1704
  }
1674
1705
  export declare enum InventoryFilterCondition {
1675
1706
  BEGINS_WITH = "BEGINS_WITH",
@@ -1948,16 +1979,20 @@ export declare namespace UpdateLicenseManagerReportGeneratorResponse {
1948
1979
  const filterSensitiveLog: (obj: UpdateLicenseManagerReportGeneratorResponse) => any;
1949
1980
  }
1950
1981
 
1951
- export interface InvalidResourceStateException extends __SmithyException, $MetadataBearer {
1952
- name: "InvalidResourceStateException";
1953
- $fault: "client";
1982
+ export declare class InvalidResourceStateException extends __BaseException {
1983
+ readonly name: "InvalidResourceStateException";
1984
+ readonly $fault: "client";
1954
1985
  Message?: string;
1986
+
1987
+ constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
1955
1988
  }
1956
1989
 
1957
- export interface LicenseUsageException extends __SmithyException, $MetadataBearer {
1958
- name: "LicenseUsageException";
1959
- $fault: "client";
1990
+ export declare class LicenseUsageException extends __BaseException {
1991
+ readonly name: "LicenseUsageException";
1992
+ readonly $fault: "client";
1960
1993
  Message?: string;
1994
+
1995
+ constructor(opts: __ExceptionOptionType<LicenseUsageException, __BaseException>);
1961
1996
  }
1962
1997
  export interface UpdateLicenseSpecificationsForResourceRequest {
1963
1998
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: LicenseManagerClientConfig) => {
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: LicenseManagerClientConfig) => {
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: LicenseManagerClientConfig) => {
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;