@aws-sdk/client-service-quotas 3.987.0 → 3.989.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServiceQuotasServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class ServiceQuotasServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, ServiceQuotasServiceException.prototype);
10
+ }
11
+ }
12
+ exports.ServiceQuotasServiceException = ServiceQuotasServiceException;
@@ -0,0 +1,259 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TooManyTagsException = exports.TagPolicyViolationException = exports.QuotaExceededException = exports.InvalidPaginationTokenException = exports.ServiceQuotaTemplateNotInUseException = exports.ResourceAlreadyExistsException = exports.NoSuchResourceException = exports.InvalidResourceStateException = exports.IllegalArgumentException = exports.TooManyRequestsException = exports.TemplatesNotAvailableInRegionException = exports.ServiceException = exports.OrganizationNotInAllFeaturesModeException = exports.NoAvailableOrganizationException = exports.DependencyAccessDeniedException = exports.AWSServiceAccessNotEnabledException = exports.AccessDeniedException = void 0;
4
+ const ServiceQuotasServiceException_1 = require("./ServiceQuotasServiceException");
5
+ class AccessDeniedException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "AccessDeniedException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
20
+ class AWSServiceAccessNotEnabledException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
21
+ name = "AWSServiceAccessNotEnabledException";
22
+ $fault = "client";
23
+ Message;
24
+ constructor(opts) {
25
+ super({
26
+ name: "AWSServiceAccessNotEnabledException",
27
+ $fault: "client",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, AWSServiceAccessNotEnabledException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.AWSServiceAccessNotEnabledException = AWSServiceAccessNotEnabledException;
35
+ class DependencyAccessDeniedException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
36
+ name = "DependencyAccessDeniedException";
37
+ $fault = "client";
38
+ Message;
39
+ constructor(opts) {
40
+ super({
41
+ name: "DependencyAccessDeniedException",
42
+ $fault: "client",
43
+ ...opts,
44
+ });
45
+ Object.setPrototypeOf(this, DependencyAccessDeniedException.prototype);
46
+ this.Message = opts.Message;
47
+ }
48
+ }
49
+ exports.DependencyAccessDeniedException = DependencyAccessDeniedException;
50
+ class NoAvailableOrganizationException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
51
+ name = "NoAvailableOrganizationException";
52
+ $fault = "client";
53
+ Message;
54
+ constructor(opts) {
55
+ super({
56
+ name: "NoAvailableOrganizationException",
57
+ $fault: "client",
58
+ ...opts,
59
+ });
60
+ Object.setPrototypeOf(this, NoAvailableOrganizationException.prototype);
61
+ this.Message = opts.Message;
62
+ }
63
+ }
64
+ exports.NoAvailableOrganizationException = NoAvailableOrganizationException;
65
+ class OrganizationNotInAllFeaturesModeException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
66
+ name = "OrganizationNotInAllFeaturesModeException";
67
+ $fault = "client";
68
+ Message;
69
+ constructor(opts) {
70
+ super({
71
+ name: "OrganizationNotInAllFeaturesModeException",
72
+ $fault: "client",
73
+ ...opts,
74
+ });
75
+ Object.setPrototypeOf(this, OrganizationNotInAllFeaturesModeException.prototype);
76
+ this.Message = opts.Message;
77
+ }
78
+ }
79
+ exports.OrganizationNotInAllFeaturesModeException = OrganizationNotInAllFeaturesModeException;
80
+ class ServiceException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
81
+ name = "ServiceException";
82
+ $fault = "server";
83
+ Message;
84
+ constructor(opts) {
85
+ super({
86
+ name: "ServiceException",
87
+ $fault: "server",
88
+ ...opts,
89
+ });
90
+ Object.setPrototypeOf(this, ServiceException.prototype);
91
+ this.Message = opts.Message;
92
+ }
93
+ }
94
+ exports.ServiceException = ServiceException;
95
+ class TemplatesNotAvailableInRegionException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
96
+ name = "TemplatesNotAvailableInRegionException";
97
+ $fault = "client";
98
+ Message;
99
+ constructor(opts) {
100
+ super({
101
+ name: "TemplatesNotAvailableInRegionException",
102
+ $fault: "client",
103
+ ...opts,
104
+ });
105
+ Object.setPrototypeOf(this, TemplatesNotAvailableInRegionException.prototype);
106
+ this.Message = opts.Message;
107
+ }
108
+ }
109
+ exports.TemplatesNotAvailableInRegionException = TemplatesNotAvailableInRegionException;
110
+ class TooManyRequestsException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
111
+ name = "TooManyRequestsException";
112
+ $fault = "client";
113
+ Message;
114
+ constructor(opts) {
115
+ super({
116
+ name: "TooManyRequestsException",
117
+ $fault: "client",
118
+ ...opts,
119
+ });
120
+ Object.setPrototypeOf(this, TooManyRequestsException.prototype);
121
+ this.Message = opts.Message;
122
+ }
123
+ }
124
+ exports.TooManyRequestsException = TooManyRequestsException;
125
+ class IllegalArgumentException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
126
+ name = "IllegalArgumentException";
127
+ $fault = "client";
128
+ Message;
129
+ constructor(opts) {
130
+ super({
131
+ name: "IllegalArgumentException",
132
+ $fault: "client",
133
+ ...opts,
134
+ });
135
+ Object.setPrototypeOf(this, IllegalArgumentException.prototype);
136
+ this.Message = opts.Message;
137
+ }
138
+ }
139
+ exports.IllegalArgumentException = IllegalArgumentException;
140
+ class InvalidResourceStateException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
141
+ name = "InvalidResourceStateException";
142
+ $fault = "client";
143
+ Message;
144
+ constructor(opts) {
145
+ super({
146
+ name: "InvalidResourceStateException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, InvalidResourceStateException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ exports.InvalidResourceStateException = InvalidResourceStateException;
155
+ class NoSuchResourceException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
156
+ name = "NoSuchResourceException";
157
+ $fault = "client";
158
+ Message;
159
+ constructor(opts) {
160
+ super({
161
+ name: "NoSuchResourceException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, NoSuchResourceException.prototype);
166
+ this.Message = opts.Message;
167
+ }
168
+ }
169
+ exports.NoSuchResourceException = NoSuchResourceException;
170
+ class ResourceAlreadyExistsException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
171
+ name = "ResourceAlreadyExistsException";
172
+ $fault = "client";
173
+ Message;
174
+ constructor(opts) {
175
+ super({
176
+ name: "ResourceAlreadyExistsException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
181
+ this.Message = opts.Message;
182
+ }
183
+ }
184
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
185
+ class ServiceQuotaTemplateNotInUseException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
186
+ name = "ServiceQuotaTemplateNotInUseException";
187
+ $fault = "client";
188
+ Message;
189
+ constructor(opts) {
190
+ super({
191
+ name: "ServiceQuotaTemplateNotInUseException",
192
+ $fault: "client",
193
+ ...opts,
194
+ });
195
+ Object.setPrototypeOf(this, ServiceQuotaTemplateNotInUseException.prototype);
196
+ this.Message = opts.Message;
197
+ }
198
+ }
199
+ exports.ServiceQuotaTemplateNotInUseException = ServiceQuotaTemplateNotInUseException;
200
+ class InvalidPaginationTokenException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
201
+ name = "InvalidPaginationTokenException";
202
+ $fault = "client";
203
+ Message;
204
+ constructor(opts) {
205
+ super({
206
+ name: "InvalidPaginationTokenException",
207
+ $fault: "client",
208
+ ...opts,
209
+ });
210
+ Object.setPrototypeOf(this, InvalidPaginationTokenException.prototype);
211
+ this.Message = opts.Message;
212
+ }
213
+ }
214
+ exports.InvalidPaginationTokenException = InvalidPaginationTokenException;
215
+ class QuotaExceededException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
216
+ name = "QuotaExceededException";
217
+ $fault = "client";
218
+ Message;
219
+ constructor(opts) {
220
+ super({
221
+ name: "QuotaExceededException",
222
+ $fault: "client",
223
+ ...opts,
224
+ });
225
+ Object.setPrototypeOf(this, QuotaExceededException.prototype);
226
+ this.Message = opts.Message;
227
+ }
228
+ }
229
+ exports.QuotaExceededException = QuotaExceededException;
230
+ class TagPolicyViolationException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
231
+ name = "TagPolicyViolationException";
232
+ $fault = "client";
233
+ Message;
234
+ constructor(opts) {
235
+ super({
236
+ name: "TagPolicyViolationException",
237
+ $fault: "client",
238
+ ...opts,
239
+ });
240
+ Object.setPrototypeOf(this, TagPolicyViolationException.prototype);
241
+ this.Message = opts.Message;
242
+ }
243
+ }
244
+ exports.TagPolicyViolationException = TagPolicyViolationException;
245
+ class TooManyTagsException extends ServiceQuotasServiceException_1.ServiceQuotasServiceException {
246
+ name = "TooManyTagsException";
247
+ $fault = "client";
248
+ Message;
249
+ constructor(opts) {
250
+ super({
251
+ name: "TooManyTagsException",
252
+ $fault: "client",
253
+ ...opts,
254
+ });
255
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
256
+ this.Message = opts.Message;
257
+ }
258
+ }
259
+ exports.TooManyTagsException = TooManyTagsException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2019-06-24",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.servicequotas",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2019-06-24",
33
35
  serviceTarget: "ServiceQuotasV20190624",
34
36
  },