@aws-sdk/client-service-quotas 3.51.0 → 3.54.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.
@@ -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 { AssociateServiceQuotaTemplateCommandInput, AssociateServiceQuotaTemplateCommandOutput } from "./commands/AssociateServiceQuotaTemplateCommand";
10
10
  import { DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput } from "./commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
11
11
  import { DisassociateServiceQuotaTemplateCommandInput, DisassociateServiceQuotaTemplateCommandOutput } from "./commands/DisassociateServiceQuotaTemplateCommand";
@@ -47,7 +47,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
47
47
  * A function that can calculate the length of a request body.
48
48
  * @internal
49
49
  */
50
- bodyLengthChecker?: (body: any) => number | undefined;
50
+ bodyLengthChecker?: __BodyLengthCalculator;
51
51
  /**
52
52
  * A function that converts a stream into an array of bytes.
53
53
  * @internal
@@ -3,3 +3,4 @@ export * from "./ServiceQuotasClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ServiceQuotasServiceException } from "./models/ServiceQuotasServiceException";
@@ -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 ServiceQuotas service.
4
+ */
5
+ export declare class ServiceQuotasServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,16 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ServiceQuotasServiceException as __BaseException } from "./ServiceQuotasServiceException";
2
3
  /**
3
4
  * <p>You do not have sufficient permission to perform this action.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
  Message?: string;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
14
  }
10
15
  export interface AssociateServiceQuotaTemplateRequest {
11
16
  }
@@ -27,59 +32,87 @@ export declare namespace AssociateServiceQuotaTemplateResponse {
27
32
  * <p>The action you attempted is not allowed unless Service Access with Service Quotas is
28
33
  * enabled in your organization.</p>
29
34
  */
30
- export interface AWSServiceAccessNotEnabledException extends __SmithyException, $MetadataBearer {
31
- name: "AWSServiceAccessNotEnabledException";
32
- $fault: "client";
35
+ export declare class AWSServiceAccessNotEnabledException extends __BaseException {
36
+ readonly name: "AWSServiceAccessNotEnabledException";
37
+ readonly $fault: "client";
33
38
  Message?: string;
39
+ /**
40
+ * @internal
41
+ */
42
+ constructor(opts: __ExceptionOptionType<AWSServiceAccessNotEnabledException, __BaseException>);
34
43
  }
35
44
  /**
36
45
  * <p>You can't perform this action because a dependency does not have access.</p>
37
46
  */
38
- export interface DependencyAccessDeniedException extends __SmithyException, $MetadataBearer {
39
- name: "DependencyAccessDeniedException";
40
- $fault: "client";
47
+ export declare class DependencyAccessDeniedException extends __BaseException {
48
+ readonly name: "DependencyAccessDeniedException";
49
+ readonly $fault: "client";
41
50
  Message?: string;
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<DependencyAccessDeniedException, __BaseException>);
42
55
  }
43
56
  /**
44
57
  * <p>The account making this call is not a member of an organization.</p>
45
58
  */
46
- export interface NoAvailableOrganizationException extends __SmithyException, $MetadataBearer {
47
- name: "NoAvailableOrganizationException";
48
- $fault: "client";
59
+ export declare class NoAvailableOrganizationException extends __BaseException {
60
+ readonly name: "NoAvailableOrganizationException";
61
+ readonly $fault: "client";
49
62
  Message?: string;
63
+ /**
64
+ * @internal
65
+ */
66
+ constructor(opts: __ExceptionOptionType<NoAvailableOrganizationException, __BaseException>);
50
67
  }
51
68
  /**
52
69
  * <p>The organization that your account belongs to is not in All Features mode.</p>
53
70
  */
54
- export interface OrganizationNotInAllFeaturesModeException extends __SmithyException, $MetadataBearer {
55
- name: "OrganizationNotInAllFeaturesModeException";
56
- $fault: "client";
71
+ export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
72
+ readonly name: "OrganizationNotInAllFeaturesModeException";
73
+ readonly $fault: "client";
57
74
  Message?: string;
75
+ /**
76
+ * @internal
77
+ */
78
+ constructor(opts: __ExceptionOptionType<OrganizationNotInAllFeaturesModeException, __BaseException>);
58
79
  }
59
80
  /**
60
81
  * <p>Something went wrong.</p>
61
82
  */
62
- export interface ServiceException extends __SmithyException, $MetadataBearer {
63
- name: "ServiceException";
64
- $fault: "server";
83
+ export declare class ServiceException extends __BaseException {
84
+ readonly name: "ServiceException";
85
+ readonly $fault: "server";
65
86
  Message?: string;
87
+ /**
88
+ * @internal
89
+ */
90
+ constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
66
91
  }
67
92
  /**
68
93
  * <p>The Service Quotas template is not available in this AWS Region.</p>
69
94
  */
70
- export interface TemplatesNotAvailableInRegionException extends __SmithyException, $MetadataBearer {
71
- name: "TemplatesNotAvailableInRegionException";
72
- $fault: "client";
95
+ export declare class TemplatesNotAvailableInRegionException extends __BaseException {
96
+ readonly name: "TemplatesNotAvailableInRegionException";
97
+ readonly $fault: "client";
73
98
  Message?: string;
99
+ /**
100
+ * @internal
101
+ */
102
+ constructor(opts: __ExceptionOptionType<TemplatesNotAvailableInRegionException, __BaseException>);
74
103
  }
75
104
  /**
76
105
  * <p>Due to throttling, the request was denied. Slow down the rate of request calls, or request
77
106
  * an increase for this quota.</p>
78
107
  */
79
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
80
- name: "TooManyRequestsException";
81
- $fault: "client";
108
+ export declare class TooManyRequestsException extends __BaseException {
109
+ readonly name: "TooManyRequestsException";
110
+ readonly $fault: "client";
82
111
  Message?: string;
112
+ /**
113
+ * @internal
114
+ */
115
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
83
116
  }
84
117
  export interface DeleteServiceQuotaIncreaseRequestFromTemplateRequest {
85
118
  /**
@@ -112,18 +145,26 @@ export declare namespace DeleteServiceQuotaIncreaseRequestFromTemplateResponse {
112
145
  /**
113
146
  * <p>Invalid input was provided.</p>
114
147
  */
115
- export interface IllegalArgumentException extends __SmithyException, $MetadataBearer {
116
- name: "IllegalArgumentException";
117
- $fault: "client";
148
+ export declare class IllegalArgumentException extends __BaseException {
149
+ readonly name: "IllegalArgumentException";
150
+ readonly $fault: "client";
118
151
  Message?: string;
152
+ /**
153
+ * @internal
154
+ */
155
+ constructor(opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>);
119
156
  }
120
157
  /**
121
158
  * <p>The specified resource does not exist.</p>
122
159
  */
123
- export interface NoSuchResourceException extends __SmithyException, $MetadataBearer {
124
- name: "NoSuchResourceException";
125
- $fault: "client";
160
+ export declare class NoSuchResourceException extends __BaseException {
161
+ readonly name: "NoSuchResourceException";
162
+ readonly $fault: "client";
126
163
  Message?: string;
164
+ /**
165
+ * @internal
166
+ */
167
+ constructor(opts: __ExceptionOptionType<NoSuchResourceException, __BaseException>);
127
168
  }
128
169
  export interface DisassociateServiceQuotaTemplateRequest {
129
170
  }
@@ -144,10 +185,14 @@ export declare namespace DisassociateServiceQuotaTemplateResponse {
144
185
  /**
145
186
  * <p>The quota request template is not associated with your organization.</p>
146
187
  */
147
- export interface ServiceQuotaTemplateNotInUseException extends __SmithyException, $MetadataBearer {
148
- name: "ServiceQuotaTemplateNotInUseException";
149
- $fault: "client";
188
+ export declare class ServiceQuotaTemplateNotInUseException extends __BaseException {
189
+ readonly name: "ServiceQuotaTemplateNotInUseException";
190
+ readonly $fault: "client";
150
191
  Message?: string;
192
+ /**
193
+ * @internal
194
+ */
195
+ constructor(opts: __ExceptionOptionType<ServiceQuotaTemplateNotInUseException, __BaseException>);
151
196
  }
152
197
  export declare enum ErrorCode {
153
198
  DEPENDENCY_ACCESS_DENIED_ERROR = "DEPENDENCY_ACCESS_DENIED_ERROR",
@@ -595,18 +640,26 @@ export declare namespace Tag {
595
640
  /**
596
641
  * <p>Invalid input was provided.</p>
597
642
  */
598
- export interface InvalidPaginationTokenException extends __SmithyException, $MetadataBearer {
599
- name: "InvalidPaginationTokenException";
600
- $fault: "client";
643
+ export declare class InvalidPaginationTokenException extends __BaseException {
644
+ readonly name: "InvalidPaginationTokenException";
645
+ readonly $fault: "client";
601
646
  Message?: string;
647
+ /**
648
+ * @internal
649
+ */
650
+ constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
602
651
  }
603
652
  /**
604
653
  * <p>The resource is in an invalid state.</p>
605
654
  */
606
- export interface InvalidResourceStateException extends __SmithyException, $MetadataBearer {
607
- name: "InvalidResourceStateException";
608
- $fault: "client";
655
+ export declare class InvalidResourceStateException extends __BaseException {
656
+ readonly name: "InvalidResourceStateException";
657
+ readonly $fault: "client";
609
658
  Message?: string;
659
+ /**
660
+ * @internal
661
+ */
662
+ constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
610
663
  }
611
664
  export interface ListAWSDefaultServiceQuotasRequest {
612
665
  /**
@@ -933,10 +986,14 @@ export declare namespace PutServiceQuotaIncreaseRequestIntoTemplateResponse {
933
986
  * <p>You have exceeded your service quota. To perform the requested action, remove some of the
934
987
  * relevant resources, or use Service Quotas to request a service quota increase.</p>
935
988
  */
936
- export interface QuotaExceededException extends __SmithyException, $MetadataBearer {
937
- name: "QuotaExceededException";
938
- $fault: "client";
989
+ export declare class QuotaExceededException extends __BaseException {
990
+ readonly name: "QuotaExceededException";
991
+ readonly $fault: "client";
939
992
  Message?: string;
993
+ /**
994
+ * @internal
995
+ */
996
+ constructor(opts: __ExceptionOptionType<QuotaExceededException, __BaseException>);
940
997
  }
941
998
  export interface RequestServiceQuotaIncreaseRequest {
942
999
  /**
@@ -973,18 +1030,26 @@ export declare namespace RequestServiceQuotaIncreaseResponse {
973
1030
  /**
974
1031
  * <p>The specified resource already exists.</p>
975
1032
  */
976
- export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
977
- name: "ResourceAlreadyExistsException";
978
- $fault: "client";
1033
+ export declare class ResourceAlreadyExistsException extends __BaseException {
1034
+ readonly name: "ResourceAlreadyExistsException";
1035
+ readonly $fault: "client";
979
1036
  Message?: string;
1037
+ /**
1038
+ * @internal
1039
+ */
1040
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
980
1041
  }
981
1042
  /**
982
1043
  * <p>The specified tag is a reserved word and cannot be used.</p>
983
1044
  */
984
- export interface TagPolicyViolationException extends __SmithyException, $MetadataBearer {
985
- name: "TagPolicyViolationException";
986
- $fault: "client";
1045
+ export declare class TagPolicyViolationException extends __BaseException {
1046
+ readonly name: "TagPolicyViolationException";
1047
+ readonly $fault: "client";
987
1048
  Message?: string;
1049
+ /**
1050
+ * @internal
1051
+ */
1052
+ constructor(opts: __ExceptionOptionType<TagPolicyViolationException, __BaseException>);
988
1053
  }
989
1054
  export interface TagResourceRequest {
990
1055
  /**
@@ -1016,10 +1081,14 @@ export declare namespace TagResourceResponse {
1016
1081
  * <a href="https://docs.aws.amazon.com/servicequotas/latest/userguide/sq-tagging.html#sq-tagging-restrictions">Tag
1017
1082
  * restrictions</a> in the <i>Service Quotas User Guide</i>.</p>
1018
1083
  */
1019
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
1020
- name: "TooManyTagsException";
1021
- $fault: "client";
1084
+ export declare class TooManyTagsException extends __BaseException {
1085
+ readonly name: "TooManyTagsException";
1086
+ readonly $fault: "client";
1022
1087
  Message?: string;
1088
+ /**
1089
+ * @internal
1090
+ */
1091
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
1023
1092
  }
1024
1093
  export interface UntagResourceRequest {
1025
1094
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: ServiceQuotasClientConfig) => {
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: ServiceQuotasClientConfig) => {
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: ServiceQuotasClientConfig) => {
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 { AssociateServiceQuotaTemplateCommandInput, AssociateServiceQuotaTemplateCommandOutput } from "./commands/AssociateServiceQuotaTemplateCommand";
10
10
  import { DeleteServiceQuotaIncreaseRequestFromTemplateCommandInput, DeleteServiceQuotaIncreaseRequestFromTemplateCommandOutput } from "./commands/DeleteServiceQuotaIncreaseRequestFromTemplateCommand";
11
11
  import { DisassociateServiceQuotaTemplateCommandInput, DisassociateServiceQuotaTemplateCommandOutput } from "./commands/DisassociateServiceQuotaTemplateCommand";
@@ -35,7 +35,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
35
35
 
36
36
  urlParser?: __UrlParser;
37
37
 
38
- bodyLengthChecker?: (body: any) => number | undefined;
38
+ bodyLengthChecker?: __BodyLengthCalculator;
39
39
 
40
40
  streamCollector?: __StreamCollector;
41
41
 
@@ -3,3 +3,4 @@ export * from "./ServiceQuotasClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ServiceQuotasServiceException } from "./models/ServiceQuotasServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class ServiceQuotasServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,9 +1,12 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ServiceQuotasServiceException as __BaseException } from "./ServiceQuotasServiceException";
2
3
 
3
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
4
- name: "AccessDeniedException";
5
- $fault: "client";
4
+ export declare class AccessDeniedException extends __BaseException {
5
+ readonly name: "AccessDeniedException";
6
+ readonly $fault: "client";
6
7
  Message?: string;
8
+
9
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
7
10
  }
8
11
  export interface AssociateServiceQuotaTemplateRequest {
9
12
  }
@@ -18,46 +21,60 @@ export declare namespace AssociateServiceQuotaTemplateResponse {
18
21
  const filterSensitiveLog: (obj: AssociateServiceQuotaTemplateResponse) => any;
19
22
  }
20
23
 
21
- export interface AWSServiceAccessNotEnabledException extends __SmithyException, $MetadataBearer {
22
- name: "AWSServiceAccessNotEnabledException";
23
- $fault: "client";
24
+ export declare class AWSServiceAccessNotEnabledException extends __BaseException {
25
+ readonly name: "AWSServiceAccessNotEnabledException";
26
+ readonly $fault: "client";
24
27
  Message?: string;
28
+
29
+ constructor(opts: __ExceptionOptionType<AWSServiceAccessNotEnabledException, __BaseException>);
25
30
  }
26
31
 
27
- export interface DependencyAccessDeniedException extends __SmithyException, $MetadataBearer {
28
- name: "DependencyAccessDeniedException";
29
- $fault: "client";
32
+ export declare class DependencyAccessDeniedException extends __BaseException {
33
+ readonly name: "DependencyAccessDeniedException";
34
+ readonly $fault: "client";
30
35
  Message?: string;
36
+
37
+ constructor(opts: __ExceptionOptionType<DependencyAccessDeniedException, __BaseException>);
31
38
  }
32
39
 
33
- export interface NoAvailableOrganizationException extends __SmithyException, $MetadataBearer {
34
- name: "NoAvailableOrganizationException";
35
- $fault: "client";
40
+ export declare class NoAvailableOrganizationException extends __BaseException {
41
+ readonly name: "NoAvailableOrganizationException";
42
+ readonly $fault: "client";
36
43
  Message?: string;
44
+
45
+ constructor(opts: __ExceptionOptionType<NoAvailableOrganizationException, __BaseException>);
37
46
  }
38
47
 
39
- export interface OrganizationNotInAllFeaturesModeException extends __SmithyException, $MetadataBearer {
40
- name: "OrganizationNotInAllFeaturesModeException";
41
- $fault: "client";
48
+ export declare class OrganizationNotInAllFeaturesModeException extends __BaseException {
49
+ readonly name: "OrganizationNotInAllFeaturesModeException";
50
+ readonly $fault: "client";
42
51
  Message?: string;
52
+
53
+ constructor(opts: __ExceptionOptionType<OrganizationNotInAllFeaturesModeException, __BaseException>);
43
54
  }
44
55
 
45
- export interface ServiceException extends __SmithyException, $MetadataBearer {
46
- name: "ServiceException";
47
- $fault: "server";
56
+ export declare class ServiceException extends __BaseException {
57
+ readonly name: "ServiceException";
58
+ readonly $fault: "server";
48
59
  Message?: string;
60
+
61
+ constructor(opts: __ExceptionOptionType<ServiceException, __BaseException>);
49
62
  }
50
63
 
51
- export interface TemplatesNotAvailableInRegionException extends __SmithyException, $MetadataBearer {
52
- name: "TemplatesNotAvailableInRegionException";
53
- $fault: "client";
64
+ export declare class TemplatesNotAvailableInRegionException extends __BaseException {
65
+ readonly name: "TemplatesNotAvailableInRegionException";
66
+ readonly $fault: "client";
54
67
  Message?: string;
68
+
69
+ constructor(opts: __ExceptionOptionType<TemplatesNotAvailableInRegionException, __BaseException>);
55
70
  }
56
71
 
57
- export interface TooManyRequestsException extends __SmithyException, $MetadataBearer {
58
- name: "TooManyRequestsException";
59
- $fault: "client";
72
+ export declare class TooManyRequestsException extends __BaseException {
73
+ readonly name: "TooManyRequestsException";
74
+ readonly $fault: "client";
60
75
  Message?: string;
76
+
77
+ constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
61
78
  }
62
79
  export interface DeleteServiceQuotaIncreaseRequestFromTemplateRequest {
63
80
 
@@ -78,16 +95,20 @@ export declare namespace DeleteServiceQuotaIncreaseRequestFromTemplateResponse {
78
95
  const filterSensitiveLog: (obj: DeleteServiceQuotaIncreaseRequestFromTemplateResponse) => any;
79
96
  }
80
97
 
81
- export interface IllegalArgumentException extends __SmithyException, $MetadataBearer {
82
- name: "IllegalArgumentException";
83
- $fault: "client";
98
+ export declare class IllegalArgumentException extends __BaseException {
99
+ readonly name: "IllegalArgumentException";
100
+ readonly $fault: "client";
84
101
  Message?: string;
102
+
103
+ constructor(opts: __ExceptionOptionType<IllegalArgumentException, __BaseException>);
85
104
  }
86
105
 
87
- export interface NoSuchResourceException extends __SmithyException, $MetadataBearer {
88
- name: "NoSuchResourceException";
89
- $fault: "client";
106
+ export declare class NoSuchResourceException extends __BaseException {
107
+ readonly name: "NoSuchResourceException";
108
+ readonly $fault: "client";
90
109
  Message?: string;
110
+
111
+ constructor(opts: __ExceptionOptionType<NoSuchResourceException, __BaseException>);
91
112
  }
92
113
  export interface DisassociateServiceQuotaTemplateRequest {
93
114
  }
@@ -102,10 +123,12 @@ export declare namespace DisassociateServiceQuotaTemplateResponse {
102
123
  const filterSensitiveLog: (obj: DisassociateServiceQuotaTemplateResponse) => any;
103
124
  }
104
125
 
105
- export interface ServiceQuotaTemplateNotInUseException extends __SmithyException, $MetadataBearer {
106
- name: "ServiceQuotaTemplateNotInUseException";
107
- $fault: "client";
126
+ export declare class ServiceQuotaTemplateNotInUseException extends __BaseException {
127
+ readonly name: "ServiceQuotaTemplateNotInUseException";
128
+ readonly $fault: "client";
108
129
  Message?: string;
130
+
131
+ constructor(opts: __ExceptionOptionType<ServiceQuotaTemplateNotInUseException, __BaseException>);
109
132
  }
110
133
  export declare enum ErrorCode {
111
134
  DEPENDENCY_ACCESS_DENIED_ERROR = "DEPENDENCY_ACCESS_DENIED_ERROR",
@@ -359,16 +382,20 @@ export declare namespace Tag {
359
382
  const filterSensitiveLog: (obj: Tag) => any;
360
383
  }
361
384
 
362
- export interface InvalidPaginationTokenException extends __SmithyException, $MetadataBearer {
363
- name: "InvalidPaginationTokenException";
364
- $fault: "client";
385
+ export declare class InvalidPaginationTokenException extends __BaseException {
386
+ readonly name: "InvalidPaginationTokenException";
387
+ readonly $fault: "client";
365
388
  Message?: string;
389
+
390
+ constructor(opts: __ExceptionOptionType<InvalidPaginationTokenException, __BaseException>);
366
391
  }
367
392
 
368
- export interface InvalidResourceStateException extends __SmithyException, $MetadataBearer {
369
- name: "InvalidResourceStateException";
370
- $fault: "client";
393
+ export declare class InvalidResourceStateException extends __BaseException {
394
+ readonly name: "InvalidResourceStateException";
395
+ readonly $fault: "client";
371
396
  Message?: string;
397
+
398
+ constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
372
399
  }
373
400
  export interface ListAWSDefaultServiceQuotasRequest {
374
401
 
@@ -558,10 +585,12 @@ export declare namespace PutServiceQuotaIncreaseRequestIntoTemplateResponse {
558
585
  const filterSensitiveLog: (obj: PutServiceQuotaIncreaseRequestIntoTemplateResponse) => any;
559
586
  }
560
587
 
561
- export interface QuotaExceededException extends __SmithyException, $MetadataBearer {
562
- name: "QuotaExceededException";
563
- $fault: "client";
588
+ export declare class QuotaExceededException extends __BaseException {
589
+ readonly name: "QuotaExceededException";
590
+ readonly $fault: "client";
564
591
  Message?: string;
592
+
593
+ constructor(opts: __ExceptionOptionType<QuotaExceededException, __BaseException>);
565
594
  }
566
595
  export interface RequestServiceQuotaIncreaseRequest {
567
596
 
@@ -584,16 +613,20 @@ export declare namespace RequestServiceQuotaIncreaseResponse {
584
613
  const filterSensitiveLog: (obj: RequestServiceQuotaIncreaseResponse) => any;
585
614
  }
586
615
 
587
- export interface ResourceAlreadyExistsException extends __SmithyException, $MetadataBearer {
588
- name: "ResourceAlreadyExistsException";
589
- $fault: "client";
616
+ export declare class ResourceAlreadyExistsException extends __BaseException {
617
+ readonly name: "ResourceAlreadyExistsException";
618
+ readonly $fault: "client";
590
619
  Message?: string;
620
+
621
+ constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
591
622
  }
592
623
 
593
- export interface TagPolicyViolationException extends __SmithyException, $MetadataBearer {
594
- name: "TagPolicyViolationException";
595
- $fault: "client";
624
+ export declare class TagPolicyViolationException extends __BaseException {
625
+ readonly name: "TagPolicyViolationException";
626
+ readonly $fault: "client";
596
627
  Message?: string;
628
+
629
+ constructor(opts: __ExceptionOptionType<TagPolicyViolationException, __BaseException>);
597
630
  }
598
631
  export interface TagResourceRequest {
599
632
 
@@ -612,10 +645,12 @@ export declare namespace TagResourceResponse {
612
645
  const filterSensitiveLog: (obj: TagResourceResponse) => any;
613
646
  }
614
647
 
615
- export interface TooManyTagsException extends __SmithyException, $MetadataBearer {
616
- name: "TooManyTagsException";
617
- $fault: "client";
648
+ export declare class TooManyTagsException extends __BaseException {
649
+ readonly name: "TooManyTagsException";
650
+ readonly $fault: "client";
618
651
  Message?: string;
652
+
653
+ constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
619
654
  }
620
655
  export interface UntagResourceRequest {
621
656
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: ServiceQuotasClientConfig) => {
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: ServiceQuotasClientConfig) => {
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: ServiceQuotasClientConfig) => {
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;