@aws-sdk/client-wellarchitected 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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/WellArchitectedServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +114 -3
- package/dist-cjs/protocols/Aws_restJson1.js +453 -1705
- package/dist-es/index.js +1 -0
- package/dist-es/models/WellArchitectedServiceException.js +12 -0
- package/dist-es/models/models_0.js +105 -1
- package/dist-es/protocols/Aws_restJson1.js +957 -1869
- package/dist-types/WellArchitectedClient.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/WellArchitectedServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -22
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/WellArchitectedServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -22
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-wellarchitected
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-wellarchitected
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-wellarchitected
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WellArchitectedServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./WellArchitected"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./WellArchitectedClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var WellArchitectedServiceException_1 = require("./models/WellArchitectedServiceException");
|
|
11
|
+
Object.defineProperty(exports, "WellArchitectedServiceException", { enumerable: true, get: function () { return WellArchitectedServiceException_1.WellArchitectedServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WellArchitectedServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class WellArchitectedServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, WellArchitectedServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.WellArchitectedServiceException = WellArchitectedServiceException;
|
|
@@ -1,8 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.UpgradeLensReviewInput = exports.UpdateWorkloadShareOutput = exports.WorkloadShare = exports.UpdateWorkloadShareInput = exports.UpdateWorkloadOutput = exports.UpdateWorkloadInput = exports.UpdateShareInvitationOutput = exports.UpdateShareInvitationInput = exports.UpdateLensReviewOutput = exports.UpdateLensReviewInput = exports.UpdateAnswerOutput = exports.UpdateAnswerInput = exports.UntagResourceOutput = exports.UntagResourceInput = exports.TagResourceOutput = exports.TagResourceInput = exports.ShareInvitationAction = exports.ShareInvitation = void 0;
|
|
3
|
+
exports.LensStatus = exports.GetLensReviewInput = exports.GetLensOutput = exports.Lens = exports.GetLensInput = exports.GetAnswerOutput = exports.GetAnswerInput = exports.ExportLensOutput = exports.ExportLensInput = exports.DisassociateLensesInput = exports.DifferenceStatus = exports.DeleteWorkloadShareInput = exports.DeleteWorkloadInput = exports.DeleteLensShareInput = exports.DeleteLensInput = exports.LensStatusType = exports.CreateWorkloadShareOutput = exports.CreateWorkloadShareInput = exports.PermissionType = exports.CreateWorkloadOutput = exports.CreateWorkloadInput = exports.WorkloadEnvironment = exports.CreateMilestoneOutput = exports.CreateMilestoneInput = exports.CreateLensVersionOutput = exports.CreateLensVersionInput = exports.ServiceQuotaExceededException = exports.CreateLensShareOutput = exports.CreateLensShareInput = exports.ChoiceUpdate = exports.ChoiceImprovementPlan = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AssociateLensesInput = exports.AnswerSummary = exports.ChoiceAnswerSummary = exports.Answer = exports.Risk = exports.AnswerReason = exports.Choice = exports.ChoiceContent = exports.ChoiceAnswer = exports.ChoiceStatus = exports.ChoiceReason = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.ListShareInvitationsOutput = exports.ShareInvitationSummary = exports.ListShareInvitationsInput = exports.ShareResourceType = exports.ListNotificationsOutput = exports.NotificationSummary = exports.NotificationType = exports.ListNotificationsInput = exports.ListMilestonesOutput = exports.MilestoneSummary = exports.WorkloadSummary = exports.ListMilestonesInput = exports.ListLensSharesOutput = exports.ListLensSharesInput = exports.ListLensReviewsOutput = exports.ListLensReviewsInput = exports.ListLensReviewImprovementsOutput = exports.ListLensReviewImprovementsInput = exports.ListLensesOutput = exports.ListLensesInput = exports.ListAnswersOutput = exports.ListAnswersInput = exports.LensUpgradeSummary = exports.LensSummary = exports.LensType = exports.LensShareSummary = exports.ShareStatus = exports.LensReviewSummary = exports.ImprovementSummary = exports.ImportLensOutput = exports.ImportLensStatus = exports.ImportLensInput = exports.GetWorkloadOutput = exports.GetWorkloadInput = exports.GetMilestoneOutput = exports.Milestone = exports.Workload = exports.WorkloadImprovementStatus = exports.GetMilestoneInput = exports.GetLensVersionDifferenceOutput = exports.VersionDifferences = exports.PillarDifference = exports.QuestionDifference = exports.GetLensVersionDifferenceInput = exports.GetLensReviewReportOutput = exports.LensReviewReport = exports.GetLensReviewReportInput = exports.GetLensReviewOutput = exports.LensReview = exports.PillarReviewSummary = void 0;
|
|
5
|
+
exports.UpgradeLensReviewInput = exports.UpdateWorkloadShareOutput = exports.WorkloadShare = exports.UpdateWorkloadShareInput = exports.UpdateWorkloadOutput = exports.UpdateWorkloadInput = exports.UpdateShareInvitationOutput = exports.UpdateShareInvitationInput = exports.UpdateLensReviewOutput = exports.UpdateLensReviewInput = exports.UpdateAnswerOutput = exports.UpdateAnswerInput = exports.UntagResourceOutput = exports.UntagResourceInput = exports.TagResourceOutput = exports.TagResourceInput = exports.ShareInvitationAction = exports.ShareInvitation = exports.ListWorkloadSharesOutput = exports.WorkloadShareSummary = exports.ListWorkloadSharesInput = exports.ListWorkloadsOutput = exports.ListWorkloadsInput = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = void 0;
|
|
6
|
+
const WellArchitectedServiceException_1 = require("./WellArchitectedServiceException");
|
|
7
|
+
class AccessDeniedException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
this.name = "AccessDeniedException";
|
|
15
|
+
this.$fault = "client";
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
this.Message = opts.Message;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
6
21
|
var ChoiceReason;
|
|
7
22
|
(function (ChoiceReason) {
|
|
8
23
|
ChoiceReason["ARCHITECTURE_CONSTRAINTS"] = "ARCHITECTURE_CONSTRAINTS";
|
|
@@ -75,6 +90,68 @@ var AssociateLensesInput;
|
|
|
75
90
|
...obj,
|
|
76
91
|
});
|
|
77
92
|
})(AssociateLensesInput = exports.AssociateLensesInput || (exports.AssociateLensesInput = {}));
|
|
93
|
+
class ConflictException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
94
|
+
constructor(opts) {
|
|
95
|
+
super({
|
|
96
|
+
name: "ConflictException",
|
|
97
|
+
$fault: "client",
|
|
98
|
+
...opts,
|
|
99
|
+
});
|
|
100
|
+
this.name = "ConflictException";
|
|
101
|
+
this.$fault = "client";
|
|
102
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
103
|
+
this.Message = opts.Message;
|
|
104
|
+
this.ResourceId = opts.ResourceId;
|
|
105
|
+
this.ResourceType = opts.ResourceType;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.ConflictException = ConflictException;
|
|
109
|
+
class InternalServerException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
110
|
+
constructor(opts) {
|
|
111
|
+
super({
|
|
112
|
+
name: "InternalServerException",
|
|
113
|
+
$fault: "server",
|
|
114
|
+
...opts,
|
|
115
|
+
});
|
|
116
|
+
this.name = "InternalServerException";
|
|
117
|
+
this.$fault = "server";
|
|
118
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
119
|
+
this.Message = opts.Message;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.InternalServerException = InternalServerException;
|
|
123
|
+
class ResourceNotFoundException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
124
|
+
constructor(opts) {
|
|
125
|
+
super({
|
|
126
|
+
name: "ResourceNotFoundException",
|
|
127
|
+
$fault: "client",
|
|
128
|
+
...opts,
|
|
129
|
+
});
|
|
130
|
+
this.name = "ResourceNotFoundException";
|
|
131
|
+
this.$fault = "client";
|
|
132
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
133
|
+
this.Message = opts.Message;
|
|
134
|
+
this.ResourceId = opts.ResourceId;
|
|
135
|
+
this.ResourceType = opts.ResourceType;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
139
|
+
class ThrottlingException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
140
|
+
constructor(opts) {
|
|
141
|
+
super({
|
|
142
|
+
name: "ThrottlingException",
|
|
143
|
+
$fault: "client",
|
|
144
|
+
...opts,
|
|
145
|
+
});
|
|
146
|
+
this.name = "ThrottlingException";
|
|
147
|
+
this.$fault = "client";
|
|
148
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
149
|
+
this.Message = opts.Message;
|
|
150
|
+
this.QuotaCode = opts.QuotaCode;
|
|
151
|
+
this.ServiceCode = opts.ServiceCode;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
exports.ThrottlingException = ThrottlingException;
|
|
78
155
|
var ValidationExceptionField;
|
|
79
156
|
(function (ValidationExceptionField) {
|
|
80
157
|
ValidationExceptionField.filterSensitiveLog = (obj) => ({
|
|
@@ -88,6 +165,22 @@ var ValidationExceptionReason;
|
|
|
88
165
|
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
89
166
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
90
167
|
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
168
|
+
class ValidationException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
169
|
+
constructor(opts) {
|
|
170
|
+
super({
|
|
171
|
+
name: "ValidationException",
|
|
172
|
+
$fault: "client",
|
|
173
|
+
...opts,
|
|
174
|
+
});
|
|
175
|
+
this.name = "ValidationException";
|
|
176
|
+
this.$fault = "client";
|
|
177
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
178
|
+
this.Message = opts.Message;
|
|
179
|
+
this.Reason = opts.Reason;
|
|
180
|
+
this.Fields = opts.Fields;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
exports.ValidationException = ValidationException;
|
|
91
184
|
var ChoiceImprovementPlan;
|
|
92
185
|
(function (ChoiceImprovementPlan) {
|
|
93
186
|
ChoiceImprovementPlan.filterSensitiveLog = (obj) => ({
|
|
@@ -112,6 +205,24 @@ var CreateLensShareOutput;
|
|
|
112
205
|
...obj,
|
|
113
206
|
});
|
|
114
207
|
})(CreateLensShareOutput = exports.CreateLensShareOutput || (exports.CreateLensShareOutput = {}));
|
|
208
|
+
class ServiceQuotaExceededException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
209
|
+
constructor(opts) {
|
|
210
|
+
super({
|
|
211
|
+
name: "ServiceQuotaExceededException",
|
|
212
|
+
$fault: "client",
|
|
213
|
+
...opts,
|
|
214
|
+
});
|
|
215
|
+
this.name = "ServiceQuotaExceededException";
|
|
216
|
+
this.$fault = "client";
|
|
217
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
218
|
+
this.Message = opts.Message;
|
|
219
|
+
this.ResourceId = opts.ResourceId;
|
|
220
|
+
this.ResourceType = opts.ResourceType;
|
|
221
|
+
this.QuotaCode = opts.QuotaCode;
|
|
222
|
+
this.ServiceCode = opts.ServiceCode;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
115
226
|
var CreateLensVersionInput;
|
|
116
227
|
(function (CreateLensVersionInput) {
|
|
117
228
|
CreateLensVersionInput.filterSensitiveLog = (obj) => ({
|