@aws-sdk/client-wellarchitected 3.118.1 → 3.128.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 +28 -0
- package/dist-cjs/WellArchitected.js +15 -0
- package/dist-cjs/commands/UpdateGlobalSettingsCommand.js +36 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +15 -1
- package/dist-cjs/protocols/Aws_restJson1.js +377 -332
- package/dist-es/WellArchitected.js +15 -0
- package/dist-es/commands/UpdateGlobalSettingsCommand.js +39 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/protocols/Aws_restJson1.js +361 -294
- package/dist-types/WellArchitected.d.ts +7 -0
- package/dist-types/WellArchitectedClient.d.ts +3 -2
- package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +35 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +5 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +3 -2
- package/dist-types/ts3.4/commands/UpdateGlobalSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
- package/package.json +26 -26
|
@@ -33,6 +33,7 @@ import { ListWorkloadSharesCommand, } from "./commands/ListWorkloadSharesCommand
|
|
|
33
33
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
34
34
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
35
35
|
import { UpdateAnswerCommand, } from "./commands/UpdateAnswerCommand";
|
|
36
|
+
import { UpdateGlobalSettingsCommand, } from "./commands/UpdateGlobalSettingsCommand";
|
|
36
37
|
import { UpdateLensReviewCommand, } from "./commands/UpdateLensReviewCommand";
|
|
37
38
|
import { UpdateShareInvitationCommand, } from "./commands/UpdateShareInvitationCommand";
|
|
38
39
|
import { UpdateWorkloadCommand, } from "./commands/UpdateWorkloadCommand";
|
|
@@ -520,6 +521,20 @@ var WellArchitected = (function (_super) {
|
|
|
520
521
|
return this.send(command, optionsOrCb);
|
|
521
522
|
}
|
|
522
523
|
};
|
|
524
|
+
WellArchitected.prototype.updateGlobalSettings = function (args, optionsOrCb, cb) {
|
|
525
|
+
var command = new UpdateGlobalSettingsCommand(args);
|
|
526
|
+
if (typeof optionsOrCb === "function") {
|
|
527
|
+
this.send(command, optionsOrCb);
|
|
528
|
+
}
|
|
529
|
+
else if (typeof cb === "function") {
|
|
530
|
+
if (typeof optionsOrCb !== "object")
|
|
531
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
532
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
533
|
+
}
|
|
534
|
+
else {
|
|
535
|
+
return this.send(command, optionsOrCb);
|
|
536
|
+
}
|
|
537
|
+
};
|
|
523
538
|
WellArchitected.prototype.updateLensReview = function (args, optionsOrCb, cb) {
|
|
524
539
|
var command = new UpdateLensReviewCommand(args);
|
|
525
540
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateGlobalSettingsInput } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateGlobalSettingsCommand, serializeAws_restJson1UpdateGlobalSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var UpdateGlobalSettingsCommand = (function (_super) {
|
|
7
|
+
__extends(UpdateGlobalSettingsCommand, _super);
|
|
8
|
+
function UpdateGlobalSettingsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
UpdateGlobalSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "WellArchitectedClient";
|
|
18
|
+
var commandName = "UpdateGlobalSettingsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: UpdateGlobalSettingsInput.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: function (output) { return output; },
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
UpdateGlobalSettingsCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1UpdateGlobalSettingsCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
UpdateGlobalSettingsCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1UpdateGlobalSettingsCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return UpdateGlobalSettingsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { UpdateGlobalSettingsCommand };
|
|
@@ -32,6 +32,7 @@ export * from "./ListWorkloadsCommand";
|
|
|
32
32
|
export * from "./TagResourceCommand";
|
|
33
33
|
export * from "./UntagResourceCommand";
|
|
34
34
|
export * from "./UpdateAnswerCommand";
|
|
35
|
+
export * from "./UpdateGlobalSettingsCommand";
|
|
35
36
|
export * from "./UpdateLensReviewCommand";
|
|
36
37
|
export * from "./UpdateShareInvitationCommand";
|
|
37
38
|
export * from "./UpdateWorkloadCommand";
|
|
@@ -412,7 +412,10 @@ export var LensReviewSummary;
|
|
|
412
412
|
export var ShareStatus;
|
|
413
413
|
(function (ShareStatus) {
|
|
414
414
|
ShareStatus["ACCEPTED"] = "ACCEPTED";
|
|
415
|
+
ShareStatus["ASSOCIATED"] = "ASSOCIATED";
|
|
416
|
+
ShareStatus["ASSOCIATING"] = "ASSOCIATING";
|
|
415
417
|
ShareStatus["EXPIRED"] = "EXPIRED";
|
|
418
|
+
ShareStatus["FAILED"] = "FAILED";
|
|
416
419
|
ShareStatus["PENDING"] = "PENDING";
|
|
417
420
|
ShareStatus["REJECTED"] = "REJECTED";
|
|
418
421
|
ShareStatus["REVOKED"] = "REVOKED";
|
|
@@ -553,6 +556,11 @@ export var ListWorkloadSharesOutput;
|
|
|
553
556
|
(function (ListWorkloadSharesOutput) {
|
|
554
557
|
ListWorkloadSharesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
555
558
|
})(ListWorkloadSharesOutput || (ListWorkloadSharesOutput = {}));
|
|
559
|
+
export var OrganizationSharingStatus;
|
|
560
|
+
(function (OrganizationSharingStatus) {
|
|
561
|
+
OrganizationSharingStatus["DISABLED"] = "DISABLED";
|
|
562
|
+
OrganizationSharingStatus["ENABLED"] = "ENABLED";
|
|
563
|
+
})(OrganizationSharingStatus || (OrganizationSharingStatus = {}));
|
|
556
564
|
export var ShareInvitation;
|
|
557
565
|
(function (ShareInvitation) {
|
|
558
566
|
ShareInvitation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -586,6 +594,10 @@ export var UpdateAnswerOutput;
|
|
|
586
594
|
(function (UpdateAnswerOutput) {
|
|
587
595
|
UpdateAnswerOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
588
596
|
})(UpdateAnswerOutput || (UpdateAnswerOutput = {}));
|
|
597
|
+
export var UpdateGlobalSettingsInput;
|
|
598
|
+
(function (UpdateGlobalSettingsInput) {
|
|
599
|
+
UpdateGlobalSettingsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
600
|
+
})(UpdateGlobalSettingsInput || (UpdateGlobalSettingsInput = {}));
|
|
589
601
|
export var UpdateLensReviewInput;
|
|
590
602
|
(function (UpdateLensReviewInput) {
|
|
591
603
|
UpdateLensReviewInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|