@aws-sdk/client-cloudcontrol 3.490.0 → 3.496.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.
@@ -1,12 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CloudControlServiceException = 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 CloudControlServiceException extends smithy_client_1.ServiceException {
7
- constructor(options) {
8
- super(options);
9
- Object.setPrototypeOf(this, CloudControlServiceException.prototype);
10
- }
11
- }
12
- exports.CloudControlServiceException = CloudControlServiceException;
1
+ module.exports = require("../index.js");
@@ -1,4 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./models_0"), exports);
1
+ module.exports = require("../index.js");
@@ -1,400 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateResourceOutputFilterSensitiveLog = exports.UpdateResourceInputFilterSensitiveLog = exports.ListResourcesOutputFilterSensitiveLog = exports.ListResourcesInputFilterSensitiveLog = exports.ListResourceRequestsOutputFilterSensitiveLog = exports.GetResourceRequestStatusOutputFilterSensitiveLog = exports.GetResourceOutputFilterSensitiveLog = exports.ResourceDescriptionFilterSensitiveLog = exports.DeleteResourceOutputFilterSensitiveLog = exports.CreateResourceOutputFilterSensitiveLog = exports.CreateResourceInputFilterSensitiveLog = exports.CancelResourceRequestOutputFilterSensitiveLog = exports.ProgressEventFilterSensitiveLog = exports.UnsupportedActionException = exports.TypeNotFoundException = exports.ThrottlingException = exports.ServiceLimitExceededException = exports.ServiceInternalErrorException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PrivateTypeException = exports.NotUpdatableException = exports.NotStabilizedException = exports.NetworkFailureException = exports.InvalidRequestException = exports.InvalidCredentialsException = exports.HandlerInternalFailureException = exports.HandlerFailureException = exports.GeneralServiceException = exports.ConcurrentOperationException = exports.ClientTokenConflictException = exports.RequestTokenNotFoundException = exports.ConcurrentModificationException = exports.OperationStatus = exports.Operation = exports.HandlerErrorCode = exports.AlreadyExistsException = void 0;
4
- const smithy_client_1 = require("@smithy/smithy-client");
5
- const CloudControlServiceException_1 = require("./CloudControlServiceException");
6
- class AlreadyExistsException extends CloudControlServiceException_1.CloudControlServiceException {
7
- constructor(opts) {
8
- super({
9
- name: "AlreadyExistsException",
10
- $fault: "client",
11
- ...opts,
12
- });
13
- this.name = "AlreadyExistsException";
14
- this.$fault = "client";
15
- Object.setPrototypeOf(this, AlreadyExistsException.prototype);
16
- this.Message = opts.Message;
17
- }
18
- }
19
- exports.AlreadyExistsException = AlreadyExistsException;
20
- exports.HandlerErrorCode = {
21
- ACCESS_DENIED: "AccessDenied",
22
- ALREADY_EXISTS: "AlreadyExists",
23
- GENERAL_SERVICE_EXCEPTION: "GeneralServiceException",
24
- INTERNAL_FAILURE: "InternalFailure",
25
- INVALID_CREDENTIALS: "InvalidCredentials",
26
- INVALID_REQUEST: "InvalidRequest",
27
- NETWORK_FAILURE: "NetworkFailure",
28
- NOT_FOUND: "NotFound",
29
- NOT_STABILIZED: "NotStabilized",
30
- NOT_UPDATABLE: "NotUpdatable",
31
- RESOURCE_CONFLICT: "ResourceConflict",
32
- SERVICE_INTERNAL_ERROR: "ServiceInternalError",
33
- SERVICE_LIMIT_EXCEEDED: "ServiceLimitExceeded",
34
- SERVICE_TIMEOUT: "ServiceTimeout",
35
- THROTTLING: "Throttling",
36
- };
37
- exports.Operation = {
38
- CREATE: "CREATE",
39
- DELETE: "DELETE",
40
- UPDATE: "UPDATE",
41
- };
42
- exports.OperationStatus = {
43
- CANCEL_COMPLETE: "CANCEL_COMPLETE",
44
- CANCEL_IN_PROGRESS: "CANCEL_IN_PROGRESS",
45
- FAILED: "FAILED",
46
- IN_PROGRESS: "IN_PROGRESS",
47
- PENDING: "PENDING",
48
- SUCCESS: "SUCCESS",
49
- };
50
- class ConcurrentModificationException extends CloudControlServiceException_1.CloudControlServiceException {
51
- constructor(opts) {
52
- super({
53
- name: "ConcurrentModificationException",
54
- $fault: "server",
55
- ...opts,
56
- });
57
- this.name = "ConcurrentModificationException";
58
- this.$fault = "server";
59
- Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
60
- this.Message = opts.Message;
61
- }
62
- }
63
- exports.ConcurrentModificationException = ConcurrentModificationException;
64
- class RequestTokenNotFoundException extends CloudControlServiceException_1.CloudControlServiceException {
65
- constructor(opts) {
66
- super({
67
- name: "RequestTokenNotFoundException",
68
- $fault: "client",
69
- ...opts,
70
- });
71
- this.name = "RequestTokenNotFoundException";
72
- this.$fault = "client";
73
- Object.setPrototypeOf(this, RequestTokenNotFoundException.prototype);
74
- this.Message = opts.Message;
75
- }
76
- }
77
- exports.RequestTokenNotFoundException = RequestTokenNotFoundException;
78
- class ClientTokenConflictException extends CloudControlServiceException_1.CloudControlServiceException {
79
- constructor(opts) {
80
- super({
81
- name: "ClientTokenConflictException",
82
- $fault: "client",
83
- ...opts,
84
- });
85
- this.name = "ClientTokenConflictException";
86
- this.$fault = "client";
87
- Object.setPrototypeOf(this, ClientTokenConflictException.prototype);
88
- this.Message = opts.Message;
89
- }
90
- }
91
- exports.ClientTokenConflictException = ClientTokenConflictException;
92
- class ConcurrentOperationException extends CloudControlServiceException_1.CloudControlServiceException {
93
- constructor(opts) {
94
- super({
95
- name: "ConcurrentOperationException",
96
- $fault: "client",
97
- ...opts,
98
- });
99
- this.name = "ConcurrentOperationException";
100
- this.$fault = "client";
101
- Object.setPrototypeOf(this, ConcurrentOperationException.prototype);
102
- this.Message = opts.Message;
103
- }
104
- }
105
- exports.ConcurrentOperationException = ConcurrentOperationException;
106
- class GeneralServiceException extends CloudControlServiceException_1.CloudControlServiceException {
107
- constructor(opts) {
108
- super({
109
- name: "GeneralServiceException",
110
- $fault: "client",
111
- ...opts,
112
- });
113
- this.name = "GeneralServiceException";
114
- this.$fault = "client";
115
- Object.setPrototypeOf(this, GeneralServiceException.prototype);
116
- this.Message = opts.Message;
117
- }
118
- }
119
- exports.GeneralServiceException = GeneralServiceException;
120
- class HandlerFailureException extends CloudControlServiceException_1.CloudControlServiceException {
121
- constructor(opts) {
122
- super({
123
- name: "HandlerFailureException",
124
- $fault: "server",
125
- ...opts,
126
- });
127
- this.name = "HandlerFailureException";
128
- this.$fault = "server";
129
- Object.setPrototypeOf(this, HandlerFailureException.prototype);
130
- this.Message = opts.Message;
131
- }
132
- }
133
- exports.HandlerFailureException = HandlerFailureException;
134
- class HandlerInternalFailureException extends CloudControlServiceException_1.CloudControlServiceException {
135
- constructor(opts) {
136
- super({
137
- name: "HandlerInternalFailureException",
138
- $fault: "server",
139
- ...opts,
140
- });
141
- this.name = "HandlerInternalFailureException";
142
- this.$fault = "server";
143
- Object.setPrototypeOf(this, HandlerInternalFailureException.prototype);
144
- this.Message = opts.Message;
145
- }
146
- }
147
- exports.HandlerInternalFailureException = HandlerInternalFailureException;
148
- class InvalidCredentialsException extends CloudControlServiceException_1.CloudControlServiceException {
149
- constructor(opts) {
150
- super({
151
- name: "InvalidCredentialsException",
152
- $fault: "client",
153
- ...opts,
154
- });
155
- this.name = "InvalidCredentialsException";
156
- this.$fault = "client";
157
- Object.setPrototypeOf(this, InvalidCredentialsException.prototype);
158
- this.Message = opts.Message;
159
- }
160
- }
161
- exports.InvalidCredentialsException = InvalidCredentialsException;
162
- class InvalidRequestException extends CloudControlServiceException_1.CloudControlServiceException {
163
- constructor(opts) {
164
- super({
165
- name: "InvalidRequestException",
166
- $fault: "client",
167
- ...opts,
168
- });
169
- this.name = "InvalidRequestException";
170
- this.$fault = "client";
171
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
172
- this.Message = opts.Message;
173
- }
174
- }
175
- exports.InvalidRequestException = InvalidRequestException;
176
- class NetworkFailureException extends CloudControlServiceException_1.CloudControlServiceException {
177
- constructor(opts) {
178
- super({
179
- name: "NetworkFailureException",
180
- $fault: "server",
181
- ...opts,
182
- });
183
- this.name = "NetworkFailureException";
184
- this.$fault = "server";
185
- Object.setPrototypeOf(this, NetworkFailureException.prototype);
186
- this.Message = opts.Message;
187
- }
188
- }
189
- exports.NetworkFailureException = NetworkFailureException;
190
- class NotStabilizedException extends CloudControlServiceException_1.CloudControlServiceException {
191
- constructor(opts) {
192
- super({
193
- name: "NotStabilizedException",
194
- $fault: "client",
195
- ...opts,
196
- });
197
- this.name = "NotStabilizedException";
198
- this.$fault = "client";
199
- Object.setPrototypeOf(this, NotStabilizedException.prototype);
200
- this.Message = opts.Message;
201
- }
202
- }
203
- exports.NotStabilizedException = NotStabilizedException;
204
- class NotUpdatableException extends CloudControlServiceException_1.CloudControlServiceException {
205
- constructor(opts) {
206
- super({
207
- name: "NotUpdatableException",
208
- $fault: "client",
209
- ...opts,
210
- });
211
- this.name = "NotUpdatableException";
212
- this.$fault = "client";
213
- Object.setPrototypeOf(this, NotUpdatableException.prototype);
214
- this.Message = opts.Message;
215
- }
216
- }
217
- exports.NotUpdatableException = NotUpdatableException;
218
- class PrivateTypeException extends CloudControlServiceException_1.CloudControlServiceException {
219
- constructor(opts) {
220
- super({
221
- name: "PrivateTypeException",
222
- $fault: "client",
223
- ...opts,
224
- });
225
- this.name = "PrivateTypeException";
226
- this.$fault = "client";
227
- Object.setPrototypeOf(this, PrivateTypeException.prototype);
228
- this.Message = opts.Message;
229
- }
230
- }
231
- exports.PrivateTypeException = PrivateTypeException;
232
- class ResourceConflictException extends CloudControlServiceException_1.CloudControlServiceException {
233
- constructor(opts) {
234
- super({
235
- name: "ResourceConflictException",
236
- $fault: "client",
237
- ...opts,
238
- });
239
- this.name = "ResourceConflictException";
240
- this.$fault = "client";
241
- Object.setPrototypeOf(this, ResourceConflictException.prototype);
242
- this.Message = opts.Message;
243
- }
244
- }
245
- exports.ResourceConflictException = ResourceConflictException;
246
- class ResourceNotFoundException extends CloudControlServiceException_1.CloudControlServiceException {
247
- constructor(opts) {
248
- super({
249
- name: "ResourceNotFoundException",
250
- $fault: "client",
251
- ...opts,
252
- });
253
- this.name = "ResourceNotFoundException";
254
- this.$fault = "client";
255
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
256
- this.Message = opts.Message;
257
- }
258
- }
259
- exports.ResourceNotFoundException = ResourceNotFoundException;
260
- class ServiceInternalErrorException extends CloudControlServiceException_1.CloudControlServiceException {
261
- constructor(opts) {
262
- super({
263
- name: "ServiceInternalErrorException",
264
- $fault: "server",
265
- ...opts,
266
- });
267
- this.name = "ServiceInternalErrorException";
268
- this.$fault = "server";
269
- Object.setPrototypeOf(this, ServiceInternalErrorException.prototype);
270
- this.Message = opts.Message;
271
- }
272
- }
273
- exports.ServiceInternalErrorException = ServiceInternalErrorException;
274
- class ServiceLimitExceededException extends CloudControlServiceException_1.CloudControlServiceException {
275
- constructor(opts) {
276
- super({
277
- name: "ServiceLimitExceededException",
278
- $fault: "client",
279
- ...opts,
280
- });
281
- this.name = "ServiceLimitExceededException";
282
- this.$fault = "client";
283
- Object.setPrototypeOf(this, ServiceLimitExceededException.prototype);
284
- this.Message = opts.Message;
285
- }
286
- }
287
- exports.ServiceLimitExceededException = ServiceLimitExceededException;
288
- class ThrottlingException extends CloudControlServiceException_1.CloudControlServiceException {
289
- constructor(opts) {
290
- super({
291
- name: "ThrottlingException",
292
- $fault: "client",
293
- ...opts,
294
- });
295
- this.name = "ThrottlingException";
296
- this.$fault = "client";
297
- Object.setPrototypeOf(this, ThrottlingException.prototype);
298
- this.Message = opts.Message;
299
- }
300
- }
301
- exports.ThrottlingException = ThrottlingException;
302
- class TypeNotFoundException extends CloudControlServiceException_1.CloudControlServiceException {
303
- constructor(opts) {
304
- super({
305
- name: "TypeNotFoundException",
306
- $fault: "client",
307
- ...opts,
308
- });
309
- this.name = "TypeNotFoundException";
310
- this.$fault = "client";
311
- Object.setPrototypeOf(this, TypeNotFoundException.prototype);
312
- this.Message = opts.Message;
313
- }
314
- }
315
- exports.TypeNotFoundException = TypeNotFoundException;
316
- class UnsupportedActionException extends CloudControlServiceException_1.CloudControlServiceException {
317
- constructor(opts) {
318
- super({
319
- name: "UnsupportedActionException",
320
- $fault: "client",
321
- ...opts,
322
- });
323
- this.name = "UnsupportedActionException";
324
- this.$fault = "client";
325
- Object.setPrototypeOf(this, UnsupportedActionException.prototype);
326
- this.Message = opts.Message;
327
- }
328
- }
329
- exports.UnsupportedActionException = UnsupportedActionException;
330
- const ProgressEventFilterSensitiveLog = (obj) => ({
331
- ...obj,
332
- ...(obj.ResourceModel && { ResourceModel: smithy_client_1.SENSITIVE_STRING }),
333
- });
334
- exports.ProgressEventFilterSensitiveLog = ProgressEventFilterSensitiveLog;
335
- const CancelResourceRequestOutputFilterSensitiveLog = (obj) => ({
336
- ...obj,
337
- ...(obj.ProgressEvent && { ProgressEvent: (0, exports.ProgressEventFilterSensitiveLog)(obj.ProgressEvent) }),
338
- });
339
- exports.CancelResourceRequestOutputFilterSensitiveLog = CancelResourceRequestOutputFilterSensitiveLog;
340
- const CreateResourceInputFilterSensitiveLog = (obj) => ({
341
- ...obj,
342
- ...(obj.DesiredState && { DesiredState: smithy_client_1.SENSITIVE_STRING }),
343
- });
344
- exports.CreateResourceInputFilterSensitiveLog = CreateResourceInputFilterSensitiveLog;
345
- const CreateResourceOutputFilterSensitiveLog = (obj) => ({
346
- ...obj,
347
- ...(obj.ProgressEvent && { ProgressEvent: (0, exports.ProgressEventFilterSensitiveLog)(obj.ProgressEvent) }),
348
- });
349
- exports.CreateResourceOutputFilterSensitiveLog = CreateResourceOutputFilterSensitiveLog;
350
- const DeleteResourceOutputFilterSensitiveLog = (obj) => ({
351
- ...obj,
352
- ...(obj.ProgressEvent && { ProgressEvent: (0, exports.ProgressEventFilterSensitiveLog)(obj.ProgressEvent) }),
353
- });
354
- exports.DeleteResourceOutputFilterSensitiveLog = DeleteResourceOutputFilterSensitiveLog;
355
- const ResourceDescriptionFilterSensitiveLog = (obj) => ({
356
- ...obj,
357
- ...(obj.Properties && { Properties: smithy_client_1.SENSITIVE_STRING }),
358
- });
359
- exports.ResourceDescriptionFilterSensitiveLog = ResourceDescriptionFilterSensitiveLog;
360
- const GetResourceOutputFilterSensitiveLog = (obj) => ({
361
- ...obj,
362
- ...(obj.ResourceDescription && {
363
- ResourceDescription: (0, exports.ResourceDescriptionFilterSensitiveLog)(obj.ResourceDescription),
364
- }),
365
- });
366
- exports.GetResourceOutputFilterSensitiveLog = GetResourceOutputFilterSensitiveLog;
367
- const GetResourceRequestStatusOutputFilterSensitiveLog = (obj) => ({
368
- ...obj,
369
- ...(obj.ProgressEvent && { ProgressEvent: (0, exports.ProgressEventFilterSensitiveLog)(obj.ProgressEvent) }),
370
- });
371
- exports.GetResourceRequestStatusOutputFilterSensitiveLog = GetResourceRequestStatusOutputFilterSensitiveLog;
372
- const ListResourceRequestsOutputFilterSensitiveLog = (obj) => ({
373
- ...obj,
374
- ...(obj.ResourceRequestStatusSummaries && {
375
- ResourceRequestStatusSummaries: obj.ResourceRequestStatusSummaries.map((item) => (0, exports.ProgressEventFilterSensitiveLog)(item)),
376
- }),
377
- });
378
- exports.ListResourceRequestsOutputFilterSensitiveLog = ListResourceRequestsOutputFilterSensitiveLog;
379
- const ListResourcesInputFilterSensitiveLog = (obj) => ({
380
- ...obj,
381
- ...(obj.ResourceModel && { ResourceModel: smithy_client_1.SENSITIVE_STRING }),
382
- });
383
- exports.ListResourcesInputFilterSensitiveLog = ListResourcesInputFilterSensitiveLog;
384
- const ListResourcesOutputFilterSensitiveLog = (obj) => ({
385
- ...obj,
386
- ...(obj.ResourceDescriptions && {
387
- ResourceDescriptions: obj.ResourceDescriptions.map((item) => (0, exports.ResourceDescriptionFilterSensitiveLog)(item)),
388
- }),
389
- });
390
- exports.ListResourcesOutputFilterSensitiveLog = ListResourcesOutputFilterSensitiveLog;
391
- const UpdateResourceInputFilterSensitiveLog = (obj) => ({
392
- ...obj,
393
- ...(obj.PatchDocument && { PatchDocument: smithy_client_1.SENSITIVE_STRING }),
394
- });
395
- exports.UpdateResourceInputFilterSensitiveLog = UpdateResourceInputFilterSensitiveLog;
396
- const UpdateResourceOutputFilterSensitiveLog = (obj) => ({
397
- ...obj,
398
- ...(obj.ProgressEvent && { ProgressEvent: (0, exports.ProgressEventFilterSensitiveLog)(obj.ProgressEvent) }),
399
- });
400
- exports.UpdateResourceOutputFilterSensitiveLog = UpdateResourceOutputFilterSensitiveLog;
1
+ module.exports = require("../index.js");
@@ -1,2 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListResourceRequests = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CloudControlClient_1 = require("../CloudControlClient");
6
- const ListResourceRequestsCommand_1 = require("../commands/ListResourceRequestsCommand");
7
- exports.paginateListResourceRequests = (0, core_1.createPaginator)(CloudControlClient_1.CloudControlClient, ListResourceRequestsCommand_1.ListResourceRequestsCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,7 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.paginateListResources = void 0;
4
- const core_1 = require("@smithy/core");
5
- const CloudControlClient_1 = require("../CloudControlClient");
6
- const ListResourcesCommand_1 = require("../commands/ListResourcesCommand");
7
- exports.paginateListResources = (0, core_1.createPaginator)(CloudControlClient_1.CloudControlClient, ListResourcesCommand_1.ListResourcesCommand, "NextToken", "NextToken", "MaxResults");
1
+ module.exports = require("../index.js");
@@ -1,6 +1 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./Interfaces"), exports);
5
- tslib_1.__exportStar(require("./ListResourceRequestsPaginator"), exports);
6
- tslib_1.__exportStar(require("./ListResourcesPaginator"), exports);
1
+ module.exports = require("../index.js");