@aws-sdk/client-cloudcontrol 3.131.0 → 3.142.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.
- package/CHANGELOG.md +33 -0
- package/README.md +1 -1
- package/dist-cjs/commands/CancelResourceRequestCommand.js +2 -2
- package/dist-cjs/commands/CreateResourceCommand.js +2 -2
- package/dist-cjs/commands/DeleteResourceCommand.js +2 -2
- package/dist-cjs/commands/GetResourceCommand.js +2 -2
- package/dist-cjs/commands/GetResourceRequestStatusCommand.js +2 -2
- package/dist-cjs/commands/ListResourceRequestsCommand.js +2 -2
- package/dist-cjs/commands/ListResourcesCommand.js +2 -2
- package/dist-cjs/commands/UpdateResourceCommand.js +2 -2
- package/dist-cjs/models/models_0.js +96 -134
- package/dist-cjs/protocols/Aws_json1_0.js +42 -75
- package/dist-es/commands/CancelResourceRequestCommand.js +3 -3
- package/dist-es/commands/CreateResourceCommand.js +3 -3
- package/dist-es/commands/DeleteResourceCommand.js +3 -3
- package/dist-es/commands/GetResourceCommand.js +3 -3
- package/dist-es/commands/GetResourceRequestStatusCommand.js +3 -3
- package/dist-es/commands/ListResourceRequestsCommand.js +3 -3
- package/dist-es/commands/ListResourcesCommand.js +3 -3
- package/dist-es/commands/UpdateResourceCommand.js +3 -3
- package/dist-es/models/models_0.js +27 -84
- package/dist-es/protocols/Aws_json1_0.js +65 -76
- package/dist-types/models/models_0.d.ts +76 -114
- package/dist-types/ts3.4/models/models_0.d.ts +38 -76
- package/package.json +6 -6
|
@@ -105,7 +105,6 @@ const deserializeAws_json1_0CancelResourceRequestCommandError = async (output, c
|
|
|
105
105
|
...output,
|
|
106
106
|
body: await parseBody(output.body, context),
|
|
107
107
|
};
|
|
108
|
-
let response;
|
|
109
108
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
110
109
|
switch (errorCode) {
|
|
111
110
|
case "ConcurrentModificationException":
|
|
@@ -116,14 +115,12 @@ const deserializeAws_json1_0CancelResourceRequestCommandError = async (output, c
|
|
|
116
115
|
throw await deserializeAws_json1_0RequestTokenNotFoundExceptionResponse(parsedOutput, context);
|
|
117
116
|
default:
|
|
118
117
|
const parsedBody = parsedOutput.body;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
$metadata,
|
|
118
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
119
|
+
output,
|
|
120
|
+
parsedBody,
|
|
121
|
+
exceptionCtor: CloudControlServiceException_1.CloudControlServiceException,
|
|
122
|
+
errorCode,
|
|
125
123
|
});
|
|
126
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
127
124
|
}
|
|
128
125
|
};
|
|
129
126
|
const deserializeAws_json1_0CreateResourceCommand = async (output, context) => {
|
|
@@ -145,7 +142,6 @@ const deserializeAws_json1_0CreateResourceCommandError = async (output, context)
|
|
|
145
142
|
...output,
|
|
146
143
|
body: await parseBody(output.body, context),
|
|
147
144
|
};
|
|
148
|
-
let response;
|
|
149
145
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
150
146
|
switch (errorCode) {
|
|
151
147
|
case "AlreadyExistsException":
|
|
@@ -207,14 +203,12 @@ const deserializeAws_json1_0CreateResourceCommandError = async (output, context)
|
|
|
207
203
|
throw await deserializeAws_json1_0UnsupportedActionExceptionResponse(parsedOutput, context);
|
|
208
204
|
default:
|
|
209
205
|
const parsedBody = parsedOutput.body;
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
$metadata,
|
|
206
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
207
|
+
output,
|
|
208
|
+
parsedBody,
|
|
209
|
+
exceptionCtor: CloudControlServiceException_1.CloudControlServiceException,
|
|
210
|
+
errorCode,
|
|
216
211
|
});
|
|
217
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
218
212
|
}
|
|
219
213
|
};
|
|
220
214
|
const deserializeAws_json1_0DeleteResourceCommand = async (output, context) => {
|
|
@@ -236,7 +230,6 @@ const deserializeAws_json1_0DeleteResourceCommandError = async (output, context)
|
|
|
236
230
|
...output,
|
|
237
231
|
body: await parseBody(output.body, context),
|
|
238
232
|
};
|
|
239
|
-
let response;
|
|
240
233
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
241
234
|
switch (errorCode) {
|
|
242
235
|
case "AlreadyExistsException":
|
|
@@ -298,14 +291,12 @@ const deserializeAws_json1_0DeleteResourceCommandError = async (output, context)
|
|
|
298
291
|
throw await deserializeAws_json1_0UnsupportedActionExceptionResponse(parsedOutput, context);
|
|
299
292
|
default:
|
|
300
293
|
const parsedBody = parsedOutput.body;
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
$metadata,
|
|
294
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
295
|
+
output,
|
|
296
|
+
parsedBody,
|
|
297
|
+
exceptionCtor: CloudControlServiceException_1.CloudControlServiceException,
|
|
298
|
+
errorCode,
|
|
307
299
|
});
|
|
308
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
309
300
|
}
|
|
310
301
|
};
|
|
311
302
|
const deserializeAws_json1_0GetResourceCommand = async (output, context) => {
|
|
@@ -327,7 +318,6 @@ const deserializeAws_json1_0GetResourceCommandError = async (output, context) =>
|
|
|
327
318
|
...output,
|
|
328
319
|
body: await parseBody(output.body, context),
|
|
329
320
|
};
|
|
330
|
-
let response;
|
|
331
321
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
332
322
|
switch (errorCode) {
|
|
333
323
|
case "AlreadyExistsException":
|
|
@@ -383,14 +373,12 @@ const deserializeAws_json1_0GetResourceCommandError = async (output, context) =>
|
|
|
383
373
|
throw await deserializeAws_json1_0UnsupportedActionExceptionResponse(parsedOutput, context);
|
|
384
374
|
default:
|
|
385
375
|
const parsedBody = parsedOutput.body;
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
$metadata,
|
|
376
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
377
|
+
output,
|
|
378
|
+
parsedBody,
|
|
379
|
+
exceptionCtor: CloudControlServiceException_1.CloudControlServiceException,
|
|
380
|
+
errorCode,
|
|
392
381
|
});
|
|
393
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
394
382
|
}
|
|
395
383
|
};
|
|
396
384
|
const deserializeAws_json1_0GetResourceRequestStatusCommand = async (output, context) => {
|
|
@@ -412,7 +400,6 @@ const deserializeAws_json1_0GetResourceRequestStatusCommandError = async (output
|
|
|
412
400
|
...output,
|
|
413
401
|
body: await parseBody(output.body, context),
|
|
414
402
|
};
|
|
415
|
-
let response;
|
|
416
403
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
417
404
|
switch (errorCode) {
|
|
418
405
|
case "RequestTokenNotFoundException":
|
|
@@ -420,14 +407,12 @@ const deserializeAws_json1_0GetResourceRequestStatusCommandError = async (output
|
|
|
420
407
|
throw await deserializeAws_json1_0RequestTokenNotFoundExceptionResponse(parsedOutput, context);
|
|
421
408
|
default:
|
|
422
409
|
const parsedBody = parsedOutput.body;
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
$metadata,
|
|
410
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
411
|
+
output,
|
|
412
|
+
parsedBody,
|
|
413
|
+
exceptionCtor: CloudControlServiceException_1.CloudControlServiceException,
|
|
414
|
+
errorCode,
|
|
429
415
|
});
|
|
430
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
431
416
|
}
|
|
432
417
|
};
|
|
433
418
|
const deserializeAws_json1_0ListResourceRequestsCommand = async (output, context) => {
|
|
@@ -449,20 +434,14 @@ const deserializeAws_json1_0ListResourceRequestsCommandError = async (output, co
|
|
|
449
434
|
...output,
|
|
450
435
|
body: await parseBody(output.body, context),
|
|
451
436
|
};
|
|
452
|
-
let response;
|
|
453
437
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
$fault: "client",
|
|
462
|
-
$metadata,
|
|
463
|
-
});
|
|
464
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
465
|
-
}
|
|
438
|
+
const parsedBody = parsedOutput.body;
|
|
439
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
440
|
+
output,
|
|
441
|
+
parsedBody,
|
|
442
|
+
exceptionCtor: CloudControlServiceException_1.CloudControlServiceException,
|
|
443
|
+
errorCode,
|
|
444
|
+
});
|
|
466
445
|
};
|
|
467
446
|
const deserializeAws_json1_0ListResourcesCommand = async (output, context) => {
|
|
468
447
|
if (output.statusCode >= 300) {
|
|
@@ -483,7 +462,6 @@ const deserializeAws_json1_0ListResourcesCommandError = async (output, context)
|
|
|
483
462
|
...output,
|
|
484
463
|
body: await parseBody(output.body, context),
|
|
485
464
|
};
|
|
486
|
-
let response;
|
|
487
465
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
488
466
|
switch (errorCode) {
|
|
489
467
|
case "AlreadyExistsException":
|
|
@@ -539,14 +517,12 @@ const deserializeAws_json1_0ListResourcesCommandError = async (output, context)
|
|
|
539
517
|
throw await deserializeAws_json1_0UnsupportedActionExceptionResponse(parsedOutput, context);
|
|
540
518
|
default:
|
|
541
519
|
const parsedBody = parsedOutput.body;
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
$metadata,
|
|
520
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
521
|
+
output,
|
|
522
|
+
parsedBody,
|
|
523
|
+
exceptionCtor: CloudControlServiceException_1.CloudControlServiceException,
|
|
524
|
+
errorCode,
|
|
548
525
|
});
|
|
549
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
550
526
|
}
|
|
551
527
|
};
|
|
552
528
|
const deserializeAws_json1_0UpdateResourceCommand = async (output, context) => {
|
|
@@ -568,7 +544,6 @@ const deserializeAws_json1_0UpdateResourceCommandError = async (output, context)
|
|
|
568
544
|
...output,
|
|
569
545
|
body: await parseBody(output.body, context),
|
|
570
546
|
};
|
|
571
|
-
let response;
|
|
572
547
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
573
548
|
switch (errorCode) {
|
|
574
549
|
case "AlreadyExistsException":
|
|
@@ -630,14 +605,12 @@ const deserializeAws_json1_0UpdateResourceCommandError = async (output, context)
|
|
|
630
605
|
throw await deserializeAws_json1_0UnsupportedActionExceptionResponse(parsedOutput, context);
|
|
631
606
|
default:
|
|
632
607
|
const parsedBody = parsedOutput.body;
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
$metadata,
|
|
608
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
609
|
+
output,
|
|
610
|
+
parsedBody,
|
|
611
|
+
exceptionCtor: CloudControlServiceException_1.CloudControlServiceException,
|
|
612
|
+
errorCode,
|
|
639
613
|
});
|
|
640
|
-
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
641
614
|
}
|
|
642
615
|
};
|
|
643
616
|
const deserializeAws_json1_0AlreadyExistsExceptionResponse = async (parsedOutput, context) => {
|
|
@@ -890,9 +863,6 @@ const serializeAws_json1_0Operations = (input, context) => {
|
|
|
890
863
|
return input
|
|
891
864
|
.filter((e) => e != null)
|
|
892
865
|
.map((entry) => {
|
|
893
|
-
if (entry === null) {
|
|
894
|
-
return null;
|
|
895
|
-
}
|
|
896
866
|
return entry;
|
|
897
867
|
});
|
|
898
868
|
};
|
|
@@ -900,9 +870,6 @@ const serializeAws_json1_0OperationStatuses = (input, context) => {
|
|
|
900
870
|
return input
|
|
901
871
|
.filter((e) => e != null)
|
|
902
872
|
.map((entry) => {
|
|
903
|
-
if (entry === null) {
|
|
904
|
-
return null;
|
|
905
|
-
}
|
|
906
873
|
return entry;
|
|
907
874
|
});
|
|
908
875
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CancelResourceRequestInputFilterSensitiveLog, CancelResourceRequestOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0CancelResourceRequestCommand, serializeAws_json1_0CancelResourceRequestCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
var CancelResourceRequestCommand = (function (_super) {
|
|
7
7
|
__extends(CancelResourceRequestCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CancelResourceRequestCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CancelResourceRequestInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CancelResourceRequestOutputFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { CreateResourceInputFilterSensitiveLog, CreateResourceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0CreateResourceCommand, serializeAws_json1_0CreateResourceCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
var CreateResourceCommand = (function (_super) {
|
|
7
7
|
__extends(CreateResourceCommand, _super);
|
|
@@ -20,8 +20,8 @@ var CreateResourceCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: CreateResourceInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: CreateResourceOutputFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteResourceInputFilterSensitiveLog, DeleteResourceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0DeleteResourceCommand, serializeAws_json1_0DeleteResourceCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
var DeleteResourceCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteResourceCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteResourceCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteResourceInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteResourceOutputFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetResourceInputFilterSensitiveLog, GetResourceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0GetResourceCommand, serializeAws_json1_0GetResourceCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
var GetResourceCommand = (function (_super) {
|
|
7
7
|
__extends(GetResourceCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetResourceCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetResourceInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetResourceOutputFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetResourceRequestStatusInputFilterSensitiveLog, GetResourceRequestStatusOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0GetResourceRequestStatusCommand, serializeAws_json1_0GetResourceRequestStatusCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
var GetResourceRequestStatusCommand = (function (_super) {
|
|
7
7
|
__extends(GetResourceRequestStatusCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetResourceRequestStatusCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetResourceRequestStatusInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetResourceRequestStatusOutputFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListResourceRequestsInputFilterSensitiveLog, ListResourceRequestsOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0ListResourceRequestsCommand, serializeAws_json1_0ListResourceRequestsCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
var ListResourceRequestsCommand = (function (_super) {
|
|
7
7
|
__extends(ListResourceRequestsCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListResourceRequestsCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListResourceRequestsInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListResourceRequestsOutputFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { ListResourcesInputFilterSensitiveLog, ListResourcesOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0ListResourcesCommand, serializeAws_json1_0ListResourcesCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
var ListResourcesCommand = (function (_super) {
|
|
7
7
|
__extends(ListResourcesCommand, _super);
|
|
@@ -20,8 +20,8 @@ var ListResourcesCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: ListResourcesInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: ListResourcesOutputFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { UpdateResourceInputFilterSensitiveLog, UpdateResourceOutputFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_json1_0UpdateResourceCommand, serializeAws_json1_0UpdateResourceCommand, } from "../protocols/Aws_json1_0";
|
|
6
6
|
var UpdateResourceCommand = (function (_super) {
|
|
7
7
|
__extends(UpdateResourceCommand, _super);
|
|
@@ -20,8 +20,8 @@ var UpdateResourceCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: UpdateResourceInputFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: UpdateResourceOutputFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -14,10 +14,6 @@ var AlreadyExistsException = (function (_super) {
|
|
|
14
14
|
return AlreadyExistsException;
|
|
15
15
|
}(__BaseException));
|
|
16
16
|
export { AlreadyExistsException };
|
|
17
|
-
export var CancelResourceRequestInput;
|
|
18
|
-
(function (CancelResourceRequestInput) {
|
|
19
|
-
CancelResourceRequestInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
20
|
-
})(CancelResourceRequestInput || (CancelResourceRequestInput = {}));
|
|
21
17
|
export var HandlerErrorCode;
|
|
22
18
|
(function (HandlerErrorCode) {
|
|
23
19
|
HandlerErrorCode["ACCESS_DENIED"] = "AccessDenied";
|
|
@@ -51,14 +47,6 @@ export var OperationStatus;
|
|
|
51
47
|
OperationStatus["PENDING"] = "PENDING";
|
|
52
48
|
OperationStatus["SUCCESS"] = "SUCCESS";
|
|
53
49
|
})(OperationStatus || (OperationStatus = {}));
|
|
54
|
-
export var ProgressEvent;
|
|
55
|
-
(function (ProgressEvent) {
|
|
56
|
-
ProgressEvent.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceModel && { ResourceModel: SENSITIVE_STRING }))); };
|
|
57
|
-
})(ProgressEvent || (ProgressEvent = {}));
|
|
58
|
-
export var CancelResourceRequestOutput;
|
|
59
|
-
(function (CancelResourceRequestOutput) {
|
|
60
|
-
CancelResourceRequestOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEvent.filterSensitiveLog(obj.ProgressEvent) }))); };
|
|
61
|
-
})(CancelResourceRequestOutput || (CancelResourceRequestOutput = {}));
|
|
62
50
|
var ConcurrentModificationException = (function (_super) {
|
|
63
51
|
__extends(ConcurrentModificationException, _super);
|
|
64
52
|
function ConcurrentModificationException(opts) {
|
|
@@ -111,14 +99,6 @@ var ConcurrentOperationException = (function (_super) {
|
|
|
111
99
|
return ConcurrentOperationException;
|
|
112
100
|
}(__BaseException));
|
|
113
101
|
export { ConcurrentOperationException };
|
|
114
|
-
export var CreateResourceInput;
|
|
115
|
-
(function (CreateResourceInput) {
|
|
116
|
-
CreateResourceInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.DesiredState && { DesiredState: SENSITIVE_STRING }))); };
|
|
117
|
-
})(CreateResourceInput || (CreateResourceInput = {}));
|
|
118
|
-
export var CreateResourceOutput;
|
|
119
|
-
(function (CreateResourceOutput) {
|
|
120
|
-
CreateResourceOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEvent.filterSensitiveLog(obj.ProgressEvent) }))); };
|
|
121
|
-
})(CreateResourceOutput || (CreateResourceOutput = {}));
|
|
122
102
|
var GeneralServiceException = (function (_super) {
|
|
123
103
|
__extends(GeneralServiceException, _super);
|
|
124
104
|
function GeneralServiceException(opts) {
|
|
@@ -327,67 +307,30 @@ var UnsupportedActionException = (function (_super) {
|
|
|
327
307
|
return UnsupportedActionException;
|
|
328
308
|
}(__BaseException));
|
|
329
309
|
export { UnsupportedActionException };
|
|
330
|
-
export var
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
export var
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
export var
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
})
|
|
342
|
-
export var
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
export var
|
|
347
|
-
(function (
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
export var
|
|
353
|
-
(function (
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
export var
|
|
357
|
-
(function (GetResourceRequestStatusOutput) {
|
|
358
|
-
GetResourceRequestStatusOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEvent.filterSensitiveLog(obj.ProgressEvent) }))); };
|
|
359
|
-
})(GetResourceRequestStatusOutput || (GetResourceRequestStatusOutput = {}));
|
|
360
|
-
export var ResourceRequestStatusFilter;
|
|
361
|
-
(function (ResourceRequestStatusFilter) {
|
|
362
|
-
ResourceRequestStatusFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
363
|
-
})(ResourceRequestStatusFilter || (ResourceRequestStatusFilter = {}));
|
|
364
|
-
export var ListResourceRequestsInput;
|
|
365
|
-
(function (ListResourceRequestsInput) {
|
|
366
|
-
ListResourceRequestsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
367
|
-
})(ListResourceRequestsInput || (ListResourceRequestsInput = {}));
|
|
368
|
-
export var ListResourceRequestsOutput;
|
|
369
|
-
(function (ListResourceRequestsOutput) {
|
|
370
|
-
ListResourceRequestsOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceRequestStatusSummaries && {
|
|
371
|
-
ResourceRequestStatusSummaries: obj.ResourceRequestStatusSummaries.map(function (item) {
|
|
372
|
-
return ProgressEvent.filterSensitiveLog(item);
|
|
373
|
-
}),
|
|
374
|
-
}))); };
|
|
375
|
-
})(ListResourceRequestsOutput || (ListResourceRequestsOutput = {}));
|
|
376
|
-
export var ListResourcesInput;
|
|
377
|
-
(function (ListResourcesInput) {
|
|
378
|
-
ListResourcesInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceModel && { ResourceModel: SENSITIVE_STRING }))); };
|
|
379
|
-
})(ListResourcesInput || (ListResourcesInput = {}));
|
|
380
|
-
export var ListResourcesOutput;
|
|
381
|
-
(function (ListResourcesOutput) {
|
|
382
|
-
ListResourcesOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceDescriptions && {
|
|
383
|
-
ResourceDescriptions: obj.ResourceDescriptions.map(function (item) { return ResourceDescription.filterSensitiveLog(item); }),
|
|
384
|
-
}))); };
|
|
385
|
-
})(ListResourcesOutput || (ListResourcesOutput = {}));
|
|
386
|
-
export var UpdateResourceInput;
|
|
387
|
-
(function (UpdateResourceInput) {
|
|
388
|
-
UpdateResourceInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.PatchDocument && { PatchDocument: SENSITIVE_STRING }))); };
|
|
389
|
-
})(UpdateResourceInput || (UpdateResourceInput = {}));
|
|
390
|
-
export var UpdateResourceOutput;
|
|
391
|
-
(function (UpdateResourceOutput) {
|
|
392
|
-
UpdateResourceOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEvent.filterSensitiveLog(obj.ProgressEvent) }))); };
|
|
393
|
-
})(UpdateResourceOutput || (UpdateResourceOutput = {}));
|
|
310
|
+
export var CancelResourceRequestInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
311
|
+
export var ProgressEventFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceModel && { ResourceModel: SENSITIVE_STRING }))); };
|
|
312
|
+
export var CancelResourceRequestOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }))); };
|
|
313
|
+
export var CreateResourceInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.DesiredState && { DesiredState: SENSITIVE_STRING }))); };
|
|
314
|
+
export var CreateResourceOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }))); };
|
|
315
|
+
export var DeleteResourceInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
316
|
+
export var DeleteResourceOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }))); };
|
|
317
|
+
export var GetResourceInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
318
|
+
export var ResourceDescriptionFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Properties && { Properties: SENSITIVE_STRING }))); };
|
|
319
|
+
export var GetResourceOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceDescription && {
|
|
320
|
+
ResourceDescription: ResourceDescriptionFilterSensitiveLog(obj.ResourceDescription),
|
|
321
|
+
}))); };
|
|
322
|
+
export var GetResourceRequestStatusInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
323
|
+
export var GetResourceRequestStatusOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }))); };
|
|
324
|
+
export var ResourceRequestStatusFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
325
|
+
export var ListResourceRequestsInputFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
326
|
+
export var ListResourceRequestsOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceRequestStatusSummaries && {
|
|
327
|
+
ResourceRequestStatusSummaries: obj.ResourceRequestStatusSummaries.map(function (item) {
|
|
328
|
+
return ProgressEventFilterSensitiveLog(item);
|
|
329
|
+
}),
|
|
330
|
+
}))); };
|
|
331
|
+
export var ListResourcesInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceModel && { ResourceModel: SENSITIVE_STRING }))); };
|
|
332
|
+
export var ListResourcesOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ResourceDescriptions && {
|
|
333
|
+
ResourceDescriptions: obj.ResourceDescriptions.map(function (item) { return ResourceDescriptionFilterSensitiveLog(item); }),
|
|
334
|
+
}))); };
|
|
335
|
+
export var UpdateResourceInputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.PatchDocument && { PatchDocument: SENSITIVE_STRING }))); };
|
|
336
|
+
export var UpdateResourceOutputFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.ProgressEvent && { ProgressEvent: ProgressEventFilterSensitiveLog(obj.ProgressEvent) }))); };
|