@aws-sdk/client-wellarchitected 3.109.0 → 3.115.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/models/models_0.js +20 -9
- package/dist-cjs/protocols/Aws_restJson1.js +36 -0
- package/dist-es/models/models_0.js +13 -4
- package/dist-es/protocols/Aws_restJson1.js +36 -0
- package/dist-types/WellArchitected.d.ts +10 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/TagResourceCommand.d.ts +3 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +164 -48
- package/dist-types/ts3.4/models/models_0.d.ts +31 -12
- package/package.json +26 -26
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.115.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.114.0...v3.115.0) (2022-06-21)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-wellarchitected:** Adds support for lens tagging, Adds support for multiple helpful-resource urls and multiple improvement-plan urls. ([7347da1](https://github.com/aws/aws-sdk-js-v3/commit/7347da1d60a5df588c7b9b6f6963eb3c6f886be4))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.112.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.111.0...v3.112.0) (2022-06-16)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-wellarchitected
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.110.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.109.0...v3.110.0) (2022-06-14)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-wellarchitected
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-wellarchitected
|
|
@@ -1,8 +1,8 @@
|
|
|
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 = exports.ListWorkloadSharesOutput = exports.WorkloadShareSummary = exports.ListWorkloadSharesInput = exports.ListWorkloadsOutput = exports.ListWorkloadsInput = exports.ListTagsForResourceOutput = exports.ListTagsForResourceInput = void 0;
|
|
3
|
+
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.ChoiceAnswer = exports.ChoiceStatus = exports.ChoiceReason = exports.AdditionalResources = exports.AdditionalResourceType = exports.ChoiceContent = exports.AccessDeniedException = void 0;
|
|
4
|
+
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 = exports.LensStatus = exports.GetLensReviewInput = 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 = exports.ListShareInvitationsOutput = exports.ShareInvitationSummary = void 0;
|
|
6
6
|
const WellArchitectedServiceException_1 = require("./WellArchitectedServiceException");
|
|
7
7
|
class AccessDeniedException extends WellArchitectedServiceException_1.WellArchitectedServiceException {
|
|
8
8
|
constructor(opts) {
|
|
@@ -18,6 +18,23 @@ class AccessDeniedException extends WellArchitectedServiceException_1.WellArchit
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
exports.AccessDeniedException = AccessDeniedException;
|
|
21
|
+
var ChoiceContent;
|
|
22
|
+
(function (ChoiceContent) {
|
|
23
|
+
ChoiceContent.filterSensitiveLog = (obj) => ({
|
|
24
|
+
...obj,
|
|
25
|
+
});
|
|
26
|
+
})(ChoiceContent = exports.ChoiceContent || (exports.ChoiceContent = {}));
|
|
27
|
+
var AdditionalResourceType;
|
|
28
|
+
(function (AdditionalResourceType) {
|
|
29
|
+
AdditionalResourceType["HELPFUL_RESOURCE"] = "HELPFUL_RESOURCE";
|
|
30
|
+
AdditionalResourceType["IMPROVEMENT_PLAN"] = "IMPROVEMENT_PLAN";
|
|
31
|
+
})(AdditionalResourceType = exports.AdditionalResourceType || (exports.AdditionalResourceType = {}));
|
|
32
|
+
var AdditionalResources;
|
|
33
|
+
(function (AdditionalResources) {
|
|
34
|
+
AdditionalResources.filterSensitiveLog = (obj) => ({
|
|
35
|
+
...obj,
|
|
36
|
+
});
|
|
37
|
+
})(AdditionalResources = exports.AdditionalResources || (exports.AdditionalResources = {}));
|
|
21
38
|
var ChoiceReason;
|
|
22
39
|
(function (ChoiceReason) {
|
|
23
40
|
ChoiceReason["ARCHITECTURE_CONSTRAINTS"] = "ARCHITECTURE_CONSTRAINTS";
|
|
@@ -38,12 +55,6 @@ var ChoiceAnswer;
|
|
|
38
55
|
...obj,
|
|
39
56
|
});
|
|
40
57
|
})(ChoiceAnswer = exports.ChoiceAnswer || (exports.ChoiceAnswer = {}));
|
|
41
|
-
var ChoiceContent;
|
|
42
|
-
(function (ChoiceContent) {
|
|
43
|
-
ChoiceContent.filterSensitiveLog = (obj) => ({
|
|
44
|
-
...obj,
|
|
45
|
-
});
|
|
46
|
-
})(ChoiceContent = exports.ChoiceContent || (exports.ChoiceContent = {}));
|
|
47
58
|
var Choice;
|
|
48
59
|
(function (Choice) {
|
|
49
60
|
Choice.filterSensitiveLog = (obj) => ({
|
|
@@ -3706,6 +3706,25 @@ const serializeAws_restJson1WorkloadPillarPriorities = (input, context) => {
|
|
|
3706
3706
|
return entry;
|
|
3707
3707
|
});
|
|
3708
3708
|
};
|
|
3709
|
+
const deserializeAws_restJson1AdditionalResources = (output, context) => {
|
|
3710
|
+
return {
|
|
3711
|
+
Content: output.Content !== undefined && output.Content !== null
|
|
3712
|
+
? deserializeAws_restJson1Urls(output.Content, context)
|
|
3713
|
+
: undefined,
|
|
3714
|
+
Type: (0, smithy_client_1.expectString)(output.Type),
|
|
3715
|
+
};
|
|
3716
|
+
};
|
|
3717
|
+
const deserializeAws_restJson1AdditionalResourcesList = (output, context) => {
|
|
3718
|
+
const retVal = (output || [])
|
|
3719
|
+
.filter((e) => e != null)
|
|
3720
|
+
.map((entry) => {
|
|
3721
|
+
if (entry === null) {
|
|
3722
|
+
return null;
|
|
3723
|
+
}
|
|
3724
|
+
return deserializeAws_restJson1AdditionalResources(entry, context);
|
|
3725
|
+
});
|
|
3726
|
+
return retVal;
|
|
3727
|
+
};
|
|
3709
3728
|
const deserializeAws_restJson1Answer = (output, context) => {
|
|
3710
3729
|
return {
|
|
3711
3730
|
ChoiceAnswers: output.ChoiceAnswers !== undefined && output.ChoiceAnswers !== null
|
|
@@ -3762,6 +3781,9 @@ const deserializeAws_restJson1AnswerSummary = (output, context) => {
|
|
|
3762
3781
|
};
|
|
3763
3782
|
const deserializeAws_restJson1Choice = (output, context) => {
|
|
3764
3783
|
return {
|
|
3784
|
+
AdditionalResources: output.AdditionalResources !== undefined && output.AdditionalResources !== null
|
|
3785
|
+
? deserializeAws_restJson1AdditionalResourcesList(output.AdditionalResources, context)
|
|
3786
|
+
: undefined,
|
|
3765
3787
|
ChoiceId: (0, smithy_client_1.expectString)(output.ChoiceId),
|
|
3766
3788
|
Description: (0, smithy_client_1.expectString)(output.Description),
|
|
3767
3789
|
HelpfulResource: output.HelpfulResource !== undefined && output.HelpfulResource !== null
|
|
@@ -3876,6 +3898,9 @@ const deserializeAws_restJson1Lens = (output, context) => {
|
|
|
3876
3898
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
3877
3899
|
Owner: (0, smithy_client_1.expectString)(output.Owner),
|
|
3878
3900
|
ShareInvitationId: (0, smithy_client_1.expectString)(output.ShareInvitationId),
|
|
3901
|
+
Tags: output.Tags !== undefined && output.Tags !== null
|
|
3902
|
+
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
3903
|
+
: undefined,
|
|
3879
3904
|
};
|
|
3880
3905
|
};
|
|
3881
3906
|
const deserializeAws_restJson1LensReview = (output, context) => {
|
|
@@ -4168,6 +4193,17 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
4168
4193
|
};
|
|
4169
4194
|
}, {});
|
|
4170
4195
|
};
|
|
4196
|
+
const deserializeAws_restJson1Urls = (output, context) => {
|
|
4197
|
+
const retVal = (output || [])
|
|
4198
|
+
.filter((e) => e != null)
|
|
4199
|
+
.map((entry) => {
|
|
4200
|
+
if (entry === null) {
|
|
4201
|
+
return null;
|
|
4202
|
+
}
|
|
4203
|
+
return deserializeAws_restJson1ChoiceContent(entry, context);
|
|
4204
|
+
});
|
|
4205
|
+
return retVal;
|
|
4206
|
+
};
|
|
4171
4207
|
const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
|
|
4172
4208
|
return {
|
|
4173
4209
|
Message: (0, smithy_client_1.expectString)(output.Message),
|
|
@@ -13,6 +13,19 @@ var AccessDeniedException = (function (_super) {
|
|
|
13
13
|
return AccessDeniedException;
|
|
14
14
|
}(__BaseException));
|
|
15
15
|
export { AccessDeniedException };
|
|
16
|
+
export var ChoiceContent;
|
|
17
|
+
(function (ChoiceContent) {
|
|
18
|
+
ChoiceContent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
19
|
+
})(ChoiceContent || (ChoiceContent = {}));
|
|
20
|
+
export var AdditionalResourceType;
|
|
21
|
+
(function (AdditionalResourceType) {
|
|
22
|
+
AdditionalResourceType["HELPFUL_RESOURCE"] = "HELPFUL_RESOURCE";
|
|
23
|
+
AdditionalResourceType["IMPROVEMENT_PLAN"] = "IMPROVEMENT_PLAN";
|
|
24
|
+
})(AdditionalResourceType || (AdditionalResourceType = {}));
|
|
25
|
+
export var AdditionalResources;
|
|
26
|
+
(function (AdditionalResources) {
|
|
27
|
+
AdditionalResources.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
28
|
+
})(AdditionalResources || (AdditionalResources = {}));
|
|
16
29
|
export var ChoiceReason;
|
|
17
30
|
(function (ChoiceReason) {
|
|
18
31
|
ChoiceReason["ARCHITECTURE_CONSTRAINTS"] = "ARCHITECTURE_CONSTRAINTS";
|
|
@@ -31,10 +44,6 @@ export var ChoiceAnswer;
|
|
|
31
44
|
(function (ChoiceAnswer) {
|
|
32
45
|
ChoiceAnswer.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
46
|
})(ChoiceAnswer || (ChoiceAnswer = {}));
|
|
34
|
-
export var ChoiceContent;
|
|
35
|
-
(function (ChoiceContent) {
|
|
36
|
-
ChoiceContent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
-
})(ChoiceContent || (ChoiceContent = {}));
|
|
38
47
|
export var Choice;
|
|
39
48
|
(function (Choice) {
|
|
40
49
|
Choice.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -4639,6 +4639,25 @@ var serializeAws_restJson1WorkloadPillarPriorities = function (input, context) {
|
|
|
4639
4639
|
return entry;
|
|
4640
4640
|
});
|
|
4641
4641
|
};
|
|
4642
|
+
var deserializeAws_restJson1AdditionalResources = function (output, context) {
|
|
4643
|
+
return {
|
|
4644
|
+
Content: output.Content !== undefined && output.Content !== null
|
|
4645
|
+
? deserializeAws_restJson1Urls(output.Content, context)
|
|
4646
|
+
: undefined,
|
|
4647
|
+
Type: __expectString(output.Type),
|
|
4648
|
+
};
|
|
4649
|
+
};
|
|
4650
|
+
var deserializeAws_restJson1AdditionalResourcesList = function (output, context) {
|
|
4651
|
+
var retVal = (output || [])
|
|
4652
|
+
.filter(function (e) { return e != null; })
|
|
4653
|
+
.map(function (entry) {
|
|
4654
|
+
if (entry === null) {
|
|
4655
|
+
return null;
|
|
4656
|
+
}
|
|
4657
|
+
return deserializeAws_restJson1AdditionalResources(entry, context);
|
|
4658
|
+
});
|
|
4659
|
+
return retVal;
|
|
4660
|
+
};
|
|
4642
4661
|
var deserializeAws_restJson1Answer = function (output, context) {
|
|
4643
4662
|
return {
|
|
4644
4663
|
ChoiceAnswers: output.ChoiceAnswers !== undefined && output.ChoiceAnswers !== null
|
|
@@ -4695,6 +4714,9 @@ var deserializeAws_restJson1AnswerSummary = function (output, context) {
|
|
|
4695
4714
|
};
|
|
4696
4715
|
var deserializeAws_restJson1Choice = function (output, context) {
|
|
4697
4716
|
return {
|
|
4717
|
+
AdditionalResources: output.AdditionalResources !== undefined && output.AdditionalResources !== null
|
|
4718
|
+
? deserializeAws_restJson1AdditionalResourcesList(output.AdditionalResources, context)
|
|
4719
|
+
: undefined,
|
|
4698
4720
|
ChoiceId: __expectString(output.ChoiceId),
|
|
4699
4721
|
Description: __expectString(output.Description),
|
|
4700
4722
|
HelpfulResource: output.HelpfulResource !== undefined && output.HelpfulResource !== null
|
|
@@ -4809,6 +4831,9 @@ var deserializeAws_restJson1Lens = function (output, context) {
|
|
|
4809
4831
|
Name: __expectString(output.Name),
|
|
4810
4832
|
Owner: __expectString(output.Owner),
|
|
4811
4833
|
ShareInvitationId: __expectString(output.ShareInvitationId),
|
|
4834
|
+
Tags: output.Tags !== undefined && output.Tags !== null
|
|
4835
|
+
? deserializeAws_restJson1TagMap(output.Tags, context)
|
|
4836
|
+
: undefined,
|
|
4812
4837
|
};
|
|
4813
4838
|
};
|
|
4814
4839
|
var deserializeAws_restJson1LensReview = function (output, context) {
|
|
@@ -5099,6 +5124,17 @@ var deserializeAws_restJson1TagMap = function (output, context) {
|
|
|
5099
5124
|
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
5100
5125
|
}, {});
|
|
5101
5126
|
};
|
|
5127
|
+
var deserializeAws_restJson1Urls = function (output, context) {
|
|
5128
|
+
var retVal = (output || [])
|
|
5129
|
+
.filter(function (e) { return e != null; })
|
|
5130
|
+
.map(function (entry) {
|
|
5131
|
+
if (entry === null) {
|
|
5132
|
+
return null;
|
|
5133
|
+
}
|
|
5134
|
+
return deserializeAws_restJson1ChoiceContent(entry, context);
|
|
5135
|
+
});
|
|
5136
|
+
return retVal;
|
|
5137
|
+
};
|
|
5102
5138
|
var deserializeAws_restJson1ValidationExceptionField = function (output, context) {
|
|
5103
5139
|
return {
|
|
5104
5140
|
Message: __expectString(output.Message),
|
|
@@ -319,6 +319,9 @@ export declare class WellArchitected extends WellArchitectedClient {
|
|
|
319
319
|
listShareInvitations(args: ListShareInvitationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListShareInvitationsCommandOutput) => void): void;
|
|
320
320
|
/**
|
|
321
321
|
* <p>List the tags for a resource.</p>
|
|
322
|
+
* <note>
|
|
323
|
+
* <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p>
|
|
324
|
+
* </note>
|
|
322
325
|
*/
|
|
323
326
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
324
327
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
@@ -337,12 +340,19 @@ export declare class WellArchitected extends WellArchitectedClient {
|
|
|
337
340
|
listWorkloadShares(args: ListWorkloadSharesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkloadSharesCommandOutput) => void): void;
|
|
338
341
|
/**
|
|
339
342
|
* <p>Adds one or more tags to the specified resource.</p>
|
|
343
|
+
* <note>
|
|
344
|
+
* <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p>
|
|
345
|
+
* </note>
|
|
340
346
|
*/
|
|
341
347
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
342
348
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
343
349
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
344
350
|
/**
|
|
345
351
|
* <p>Deletes specified tags from a resource.</p>
|
|
352
|
+
* <note>
|
|
353
|
+
* <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p>
|
|
354
|
+
* </note>
|
|
355
|
+
*
|
|
346
356
|
* <p>To specify multiple tags, use separate <b>tagKeys</b> parameters, for example:</p>
|
|
347
357
|
* <p>
|
|
348
358
|
* <code>DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2</code>
|
|
@@ -8,6 +8,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>List the tags for a resource.</p>
|
|
11
|
+
* <note>
|
|
12
|
+
* <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p>
|
|
13
|
+
* </note>
|
|
11
14
|
* @example
|
|
12
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
16
|
* ```javascript
|
|
@@ -8,6 +8,9 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Adds one or more tags to the specified resource.</p>
|
|
11
|
+
* <note>
|
|
12
|
+
* <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p>
|
|
13
|
+
* </note>
|
|
11
14
|
* @example
|
|
12
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
16
|
* ```javascript
|
|
@@ -8,6 +8,10 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes specified tags from a resource.</p>
|
|
11
|
+
* <note>
|
|
12
|
+
* <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p>
|
|
13
|
+
* </note>
|
|
14
|
+
*
|
|
11
15
|
* <p>To specify multiple tags, use separate <b>tagKeys</b> parameters, for example:</p>
|
|
12
16
|
* <p>
|
|
13
17
|
* <code>DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2</code>
|
|
@@ -15,6 +15,48 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
15
15
|
*/
|
|
16
16
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
17
17
|
}
|
|
18
|
+
/**
|
|
19
|
+
* <p>The choice content.</p>
|
|
20
|
+
*/
|
|
21
|
+
export interface ChoiceContent {
|
|
22
|
+
/**
|
|
23
|
+
* <p>The display text for the choice content.</p>
|
|
24
|
+
*/
|
|
25
|
+
DisplayText?: string;
|
|
26
|
+
/**
|
|
27
|
+
* <p>The URL for the choice content.</p>
|
|
28
|
+
*/
|
|
29
|
+
Url?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare namespace ChoiceContent {
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
const filterSensitiveLog: (obj: ChoiceContent) => any;
|
|
36
|
+
}
|
|
37
|
+
export declare enum AdditionalResourceType {
|
|
38
|
+
HELPFUL_RESOURCE = "HELPFUL_RESOURCE",
|
|
39
|
+
IMPROVEMENT_PLAN = "IMPROVEMENT_PLAN"
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* <p>The choice level additional resources.</p>
|
|
43
|
+
*/
|
|
44
|
+
export interface AdditionalResources {
|
|
45
|
+
/**
|
|
46
|
+
* <p>Type of additional resource.</p>
|
|
47
|
+
*/
|
|
48
|
+
Type?: AdditionalResourceType | string;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The URLs for additional resources, either helpful resources or improvement plans. Up to five additional URLs can be specified.</p>
|
|
51
|
+
*/
|
|
52
|
+
Content?: ChoiceContent[];
|
|
53
|
+
}
|
|
54
|
+
export declare namespace AdditionalResources {
|
|
55
|
+
/**
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
const filterSensitiveLog: (obj: AdditionalResources) => any;
|
|
59
|
+
}
|
|
18
60
|
export declare enum ChoiceReason {
|
|
19
61
|
ARCHITECTURE_CONSTRAINTS = "ARCHITECTURE_CONSTRAINTS",
|
|
20
62
|
BUSINESS_PRIORITIES = "BUSINESS_PRIORITIES",
|
|
@@ -54,25 +96,6 @@ export declare namespace ChoiceAnswer {
|
|
|
54
96
|
*/
|
|
55
97
|
const filterSensitiveLog: (obj: ChoiceAnswer) => any;
|
|
56
98
|
}
|
|
57
|
-
/**
|
|
58
|
-
* <p>The choice content.</p>
|
|
59
|
-
*/
|
|
60
|
-
export interface ChoiceContent {
|
|
61
|
-
/**
|
|
62
|
-
* <p>The display text for the choice content.</p>
|
|
63
|
-
*/
|
|
64
|
-
DisplayText?: string;
|
|
65
|
-
/**
|
|
66
|
-
* <p>The URL for the choice content.</p>
|
|
67
|
-
*/
|
|
68
|
-
Url?: string;
|
|
69
|
-
}
|
|
70
|
-
export declare namespace ChoiceContent {
|
|
71
|
-
/**
|
|
72
|
-
* @internal
|
|
73
|
-
*/
|
|
74
|
-
const filterSensitiveLog: (obj: ChoiceContent) => any;
|
|
75
|
-
}
|
|
76
99
|
/**
|
|
77
100
|
* <p>A choice available to answer question.</p>
|
|
78
101
|
*/
|
|
@@ -97,6 +120,11 @@ export interface Choice {
|
|
|
97
120
|
* <p>The choice level improvement plan.</p>
|
|
98
121
|
*/
|
|
99
122
|
ImprovementPlan?: ChoiceContent;
|
|
123
|
+
/**
|
|
124
|
+
* <p>The additional resources for a choice. A choice can have up to two additional resources: one of type <code>HELPFUL_RESOURCE</code>,
|
|
125
|
+
* one of type <code>IMPROVEMENT_PLAN</code>, or both.</p>
|
|
126
|
+
*/
|
|
127
|
+
AdditionalResources?: AdditionalResources[];
|
|
100
128
|
}
|
|
101
129
|
export declare namespace Choice {
|
|
102
130
|
/**
|
|
@@ -461,7 +489,10 @@ export declare namespace ChoiceUpdate {
|
|
|
461
489
|
}
|
|
462
490
|
export interface CreateLensShareInput {
|
|
463
491
|
/**
|
|
464
|
-
* <p>The alias of the lens
|
|
492
|
+
* <p>The alias of the lens.</p>
|
|
493
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
494
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
495
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
465
496
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
466
497
|
*/
|
|
467
498
|
LensAlias: string | undefined;
|
|
@@ -534,7 +565,10 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
534
565
|
}
|
|
535
566
|
export interface CreateLensVersionInput {
|
|
536
567
|
/**
|
|
537
|
-
* <p>The alias of the lens
|
|
568
|
+
* <p>The alias of the lens.</p>
|
|
569
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
570
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
571
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
538
572
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
539
573
|
*/
|
|
540
574
|
LensAlias: string | undefined;
|
|
@@ -683,7 +717,7 @@ export interface CreateWorkloadInput {
|
|
|
683
717
|
* <p>The review owner of the workload. The name, email address, or identifier for the
|
|
684
718
|
* primary group or individual that owns the workload review process.</p>
|
|
685
719
|
*/
|
|
686
|
-
ReviewOwner
|
|
720
|
+
ReviewOwner?: string;
|
|
687
721
|
/**
|
|
688
722
|
* <p>The industry type for the workload.</p>
|
|
689
723
|
* <p>If specified, must be one of the following:</p>
|
|
@@ -947,7 +981,10 @@ export declare enum LensStatusType {
|
|
|
947
981
|
}
|
|
948
982
|
export interface DeleteLensInput {
|
|
949
983
|
/**
|
|
950
|
-
* <p>The alias of the lens
|
|
984
|
+
* <p>The alias of the lens.</p>
|
|
985
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
986
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
987
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
951
988
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
952
989
|
*/
|
|
953
990
|
LensAlias: string | undefined;
|
|
@@ -981,7 +1018,10 @@ export interface DeleteLensShareInput {
|
|
|
981
1018
|
*/
|
|
982
1019
|
ShareId: string | undefined;
|
|
983
1020
|
/**
|
|
984
|
-
* <p>The alias of the lens
|
|
1021
|
+
* <p>The alias of the lens.</p>
|
|
1022
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
1023
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
1024
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
985
1025
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
986
1026
|
*/
|
|
987
1027
|
LensAlias: string | undefined;
|
|
@@ -1092,7 +1132,10 @@ export declare namespace DisassociateLensesInput {
|
|
|
1092
1132
|
}
|
|
1093
1133
|
export interface ExportLensInput {
|
|
1094
1134
|
/**
|
|
1095
|
-
* <p>The alias of the lens
|
|
1135
|
+
* <p>The alias of the lens.</p>
|
|
1136
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
1137
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
1138
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
1096
1139
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1097
1140
|
*/
|
|
1098
1141
|
LensAlias: string | undefined;
|
|
@@ -1128,7 +1171,10 @@ export interface GetAnswerInput {
|
|
|
1128
1171
|
*/
|
|
1129
1172
|
WorkloadId: string | undefined;
|
|
1130
1173
|
/**
|
|
1131
|
-
* <p>The alias of the lens
|
|
1174
|
+
* <p>The alias of the lens.</p>
|
|
1175
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
1176
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
1177
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
1132
1178
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1133
1179
|
*/
|
|
1134
1180
|
LensAlias: string | undefined;
|
|
@@ -1162,7 +1208,10 @@ export interface GetAnswerOutput {
|
|
|
1162
1208
|
*/
|
|
1163
1209
|
MilestoneNumber?: number;
|
|
1164
1210
|
/**
|
|
1165
|
-
* <p>The alias of the lens
|
|
1211
|
+
* <p>The alias of the lens.</p>
|
|
1212
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
1213
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
1214
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
1166
1215
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1167
1216
|
*/
|
|
1168
1217
|
LensAlias?: string;
|
|
@@ -1183,7 +1232,10 @@ export declare namespace GetAnswerOutput {
|
|
|
1183
1232
|
}
|
|
1184
1233
|
export interface GetLensInput {
|
|
1185
1234
|
/**
|
|
1186
|
-
* <p>The alias of the lens
|
|
1235
|
+
* <p>The alias of the lens.</p>
|
|
1236
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
1237
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
1238
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
1187
1239
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1188
1240
|
*/
|
|
1189
1241
|
LensAlias: string | undefined;
|
|
@@ -1226,6 +1278,10 @@ export interface Lens {
|
|
|
1226
1278
|
* <p>The ID assigned to the share invitation.</p>
|
|
1227
1279
|
*/
|
|
1228
1280
|
ShareInvitationId?: string;
|
|
1281
|
+
/**
|
|
1282
|
+
* <p>The tags assigned to the lens.</p>
|
|
1283
|
+
*/
|
|
1284
|
+
Tags?: Record<string, string>;
|
|
1229
1285
|
}
|
|
1230
1286
|
export declare namespace Lens {
|
|
1231
1287
|
/**
|
|
@@ -1254,7 +1310,10 @@ export interface GetLensReviewInput {
|
|
|
1254
1310
|
*/
|
|
1255
1311
|
WorkloadId: string | undefined;
|
|
1256
1312
|
/**
|
|
1257
|
-
* <p>The alias of the lens
|
|
1313
|
+
* <p>The alias of the lens.</p>
|
|
1314
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
1315
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
1316
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
1258
1317
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1259
1318
|
*/
|
|
1260
1319
|
LensAlias: string | undefined;
|
|
@@ -1310,7 +1369,10 @@ export declare namespace PillarReviewSummary {
|
|
|
1310
1369
|
*/
|
|
1311
1370
|
export interface LensReview {
|
|
1312
1371
|
/**
|
|
1313
|
-
* <p>The alias of the lens
|
|
1372
|
+
* <p>The alias of the lens.</p>
|
|
1373
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
1374
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
1375
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
1314
1376
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1315
1377
|
*/
|
|
1316
1378
|
LensAlias?: string;
|
|
@@ -1390,7 +1452,10 @@ export interface GetLensReviewReportInput {
|
|
|
1390
1452
|
*/
|
|
1391
1453
|
WorkloadId: string | undefined;
|
|
1392
1454
|
/**
|
|
1393
|
-
* <p>The alias of the lens
|
|
1455
|
+
* <p>The alias of the lens.</p>
|
|
1456
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
1457
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
1458
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
1394
1459
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1395
1460
|
*/
|
|
1396
1461
|
LensAlias: string | undefined;
|
|
@@ -1411,7 +1476,10 @@ export declare namespace GetLensReviewReportInput {
|
|
|
1411
1476
|
*/
|
|
1412
1477
|
export interface LensReviewReport {
|
|
1413
1478
|
/**
|
|
1414
|
-
* <p>The alias of the lens
|
|
1479
|
+
* <p>The alias of the lens.</p>
|
|
1480
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
1481
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
1482
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
1415
1483
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1416
1484
|
*/
|
|
1417
1485
|
LensAlias?: string;
|
|
@@ -1457,7 +1525,10 @@ export declare namespace GetLensReviewReportOutput {
|
|
|
1457
1525
|
}
|
|
1458
1526
|
export interface GetLensVersionDifferenceInput {
|
|
1459
1527
|
/**
|
|
1460
|
-
* <p>The alias of the lens
|
|
1528
|
+
* <p>The alias of the lens.</p>
|
|
1529
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
1530
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
1531
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
1461
1532
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1462
1533
|
*/
|
|
1463
1534
|
LensAlias: string | undefined;
|
|
@@ -1544,7 +1615,10 @@ export declare namespace VersionDifferences {
|
|
|
1544
1615
|
}
|
|
1545
1616
|
export interface GetLensVersionDifferenceOutput {
|
|
1546
1617
|
/**
|
|
1547
|
-
* <p>The alias of the lens
|
|
1618
|
+
* <p>The alias of the lens.</p>
|
|
1619
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
1620
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
1621
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
1548
1622
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1549
1623
|
*/
|
|
1550
1624
|
LensAlias?: string;
|
|
@@ -1932,7 +2006,10 @@ export declare namespace GetWorkloadOutput {
|
|
|
1932
2006
|
}
|
|
1933
2007
|
export interface ImportLensInput {
|
|
1934
2008
|
/**
|
|
1935
|
-
* <p>The alias of the lens
|
|
2009
|
+
* <p>The alias of the lens.</p>
|
|
2010
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
2011
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
2012
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
1936
2013
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
1937
2014
|
*/
|
|
1938
2015
|
LensAlias?: string;
|
|
@@ -2027,7 +2104,10 @@ export declare namespace ImprovementSummary {
|
|
|
2027
2104
|
*/
|
|
2028
2105
|
export interface LensReviewSummary {
|
|
2029
2106
|
/**
|
|
2030
|
-
* <p>The alias of the lens
|
|
2107
|
+
* <p>The alias of the lens.</p>
|
|
2108
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
2109
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
2110
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
2031
2111
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2032
2112
|
*/
|
|
2033
2113
|
LensAlias?: string;
|
|
@@ -2106,7 +2186,10 @@ export interface LensSummary {
|
|
|
2106
2186
|
*/
|
|
2107
2187
|
LensArn?: string;
|
|
2108
2188
|
/**
|
|
2109
|
-
* <p>The alias of the lens
|
|
2189
|
+
* <p>The alias of the lens.</p>
|
|
2190
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
2191
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
2192
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
2110
2193
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2111
2194
|
*/
|
|
2112
2195
|
LensAlias?: string;
|
|
@@ -2164,7 +2247,10 @@ export interface LensUpgradeSummary {
|
|
|
2164
2247
|
*/
|
|
2165
2248
|
WorkloadName?: string;
|
|
2166
2249
|
/**
|
|
2167
|
-
* <p>The alias of the lens
|
|
2250
|
+
* <p>The alias of the lens.</p>
|
|
2251
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
2252
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
2253
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
2168
2254
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2169
2255
|
*/
|
|
2170
2256
|
LensAlias?: string;
|
|
@@ -2196,7 +2282,10 @@ export interface ListAnswersInput {
|
|
|
2196
2282
|
*/
|
|
2197
2283
|
WorkloadId: string | undefined;
|
|
2198
2284
|
/**
|
|
2199
|
-
* <p>The alias of the lens
|
|
2285
|
+
* <p>The alias of the lens.</p>
|
|
2286
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
2287
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
2288
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
2200
2289
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2201
2290
|
*/
|
|
2202
2291
|
LensAlias: string | undefined;
|
|
@@ -2239,7 +2328,10 @@ export interface ListAnswersOutput {
|
|
|
2239
2328
|
*/
|
|
2240
2329
|
MilestoneNumber?: number;
|
|
2241
2330
|
/**
|
|
2242
|
-
* <p>The alias of the lens
|
|
2331
|
+
* <p>The alias of the lens.</p>
|
|
2332
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
2333
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
2334
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
2243
2335
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2244
2336
|
*/
|
|
2245
2337
|
LensAlias?: string;
|
|
@@ -2321,7 +2413,10 @@ export interface ListLensReviewImprovementsInput {
|
|
|
2321
2413
|
*/
|
|
2322
2414
|
WorkloadId: string | undefined;
|
|
2323
2415
|
/**
|
|
2324
|
-
* <p>The alias of the lens
|
|
2416
|
+
* <p>The alias of the lens.</p>
|
|
2417
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
2418
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
2419
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
2325
2420
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2326
2421
|
*/
|
|
2327
2422
|
LensAlias: string | undefined;
|
|
@@ -2364,7 +2459,10 @@ export interface ListLensReviewImprovementsOutput {
|
|
|
2364
2459
|
*/
|
|
2365
2460
|
MilestoneNumber?: number;
|
|
2366
2461
|
/**
|
|
2367
|
-
* <p>The alias of the lens
|
|
2462
|
+
* <p>The alias of the lens.</p>
|
|
2463
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
2464
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
2465
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
2368
2466
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2369
2467
|
*/
|
|
2370
2468
|
LensAlias?: string;
|
|
@@ -2445,7 +2543,10 @@ export declare namespace ListLensReviewsOutput {
|
|
|
2445
2543
|
}
|
|
2446
2544
|
export interface ListLensSharesInput {
|
|
2447
2545
|
/**
|
|
2448
|
-
* <p>The alias of the lens
|
|
2546
|
+
* <p>The alias of the lens.</p>
|
|
2547
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
2548
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
2549
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
2449
2550
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2450
2551
|
*/
|
|
2451
2552
|
LensAlias: string | undefined;
|
|
@@ -2928,7 +3029,10 @@ export interface ShareInvitation {
|
|
|
2928
3029
|
*/
|
|
2929
3030
|
WorkloadId?: string;
|
|
2930
3031
|
/**
|
|
2931
|
-
* <p>The alias of the lens
|
|
3032
|
+
* <p>The alias of the lens.</p>
|
|
3033
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
3034
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
3035
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
2932
3036
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
2933
3037
|
*/
|
|
2934
3038
|
LensAlias?: string;
|
|
@@ -3005,7 +3109,10 @@ export interface UpdateAnswerInput {
|
|
|
3005
3109
|
*/
|
|
3006
3110
|
WorkloadId: string | undefined;
|
|
3007
3111
|
/**
|
|
3008
|
-
* <p>The alias of the lens
|
|
3112
|
+
* <p>The alias of the lens.</p>
|
|
3113
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
3114
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
3115
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
3009
3116
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
3010
3117
|
*/
|
|
3011
3118
|
LensAlias: string | undefined;
|
|
@@ -3051,7 +3158,10 @@ export interface UpdateAnswerOutput {
|
|
|
3051
3158
|
*/
|
|
3052
3159
|
WorkloadId?: string;
|
|
3053
3160
|
/**
|
|
3054
|
-
* <p>The alias of the lens
|
|
3161
|
+
* <p>The alias of the lens.</p>
|
|
3162
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
3163
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
3164
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
3055
3165
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
3056
3166
|
*/
|
|
3057
3167
|
LensAlias?: string;
|
|
@@ -3079,7 +3189,10 @@ export interface UpdateLensReviewInput {
|
|
|
3079
3189
|
*/
|
|
3080
3190
|
WorkloadId: string | undefined;
|
|
3081
3191
|
/**
|
|
3082
|
-
* <p>The alias of the lens
|
|
3192
|
+
* <p>The alias of the lens.</p>
|
|
3193
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
3194
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
3195
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
3083
3196
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
3084
3197
|
*/
|
|
3085
3198
|
LensAlias: string | undefined;
|
|
@@ -3470,7 +3583,10 @@ export interface UpgradeLensReviewInput {
|
|
|
3470
3583
|
*/
|
|
3471
3584
|
WorkloadId: string | undefined;
|
|
3472
3585
|
/**
|
|
3473
|
-
* <p>The alias of the lens
|
|
3586
|
+
* <p>The alias of the lens.</p>
|
|
3587
|
+
* <p>For Amazon Web Services official lenses, this is either the lens alias,
|
|
3588
|
+
* such as <code>serverless</code>, or the lens ARN, such as <code>arn:aws:wellarchitected:us-west-2::lens/serverless</code>.</p>
|
|
3589
|
+
* <p>For custom lenses, this is the lens ARN, such as <code>arn:aws:wellarchitected:us-east-1:123456789012:lens/my-lens</code>. </p>
|
|
3474
3590
|
* <p>Each lens is identified by its <a>LensSummary$LensAlias</a>.</p>
|
|
3475
3591
|
*/
|
|
3476
3592
|
LensAlias: string | undefined;
|
|
@@ -9,6 +9,32 @@ export declare class AccessDeniedException extends __BaseException {
|
|
|
9
9
|
|
|
10
10
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
11
11
|
}
|
|
12
|
+
|
|
13
|
+
export interface ChoiceContent {
|
|
14
|
+
|
|
15
|
+
DisplayText?: string;
|
|
16
|
+
|
|
17
|
+
Url?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace ChoiceContent {
|
|
20
|
+
|
|
21
|
+
const filterSensitiveLog: (obj: ChoiceContent) => any;
|
|
22
|
+
}
|
|
23
|
+
export declare enum AdditionalResourceType {
|
|
24
|
+
HELPFUL_RESOURCE = "HELPFUL_RESOURCE",
|
|
25
|
+
IMPROVEMENT_PLAN = "IMPROVEMENT_PLAN"
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface AdditionalResources {
|
|
29
|
+
|
|
30
|
+
Type?: AdditionalResourceType | string;
|
|
31
|
+
|
|
32
|
+
Content?: ChoiceContent[];
|
|
33
|
+
}
|
|
34
|
+
export declare namespace AdditionalResources {
|
|
35
|
+
|
|
36
|
+
const filterSensitiveLog: (obj: AdditionalResources) => any;
|
|
37
|
+
}
|
|
12
38
|
export declare enum ChoiceReason {
|
|
13
39
|
ARCHITECTURE_CONSTRAINTS = "ARCHITECTURE_CONSTRAINTS",
|
|
14
40
|
BUSINESS_PRIORITIES = "BUSINESS_PRIORITIES",
|
|
@@ -37,17 +63,6 @@ export declare namespace ChoiceAnswer {
|
|
|
37
63
|
const filterSensitiveLog: (obj: ChoiceAnswer) => any;
|
|
38
64
|
}
|
|
39
65
|
|
|
40
|
-
export interface ChoiceContent {
|
|
41
|
-
|
|
42
|
-
DisplayText?: string;
|
|
43
|
-
|
|
44
|
-
Url?: string;
|
|
45
|
-
}
|
|
46
|
-
export declare namespace ChoiceContent {
|
|
47
|
-
|
|
48
|
-
const filterSensitiveLog: (obj: ChoiceContent) => any;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
66
|
export interface Choice {
|
|
52
67
|
|
|
53
68
|
ChoiceId?: string;
|
|
@@ -59,6 +74,8 @@ export interface Choice {
|
|
|
59
74
|
HelpfulResource?: ChoiceContent;
|
|
60
75
|
|
|
61
76
|
ImprovementPlan?: ChoiceContent;
|
|
77
|
+
|
|
78
|
+
AdditionalResources?: AdditionalResources[];
|
|
62
79
|
}
|
|
63
80
|
export declare namespace Choice {
|
|
64
81
|
|
|
@@ -374,7 +391,7 @@ export interface CreateWorkloadInput {
|
|
|
374
391
|
|
|
375
392
|
ArchitecturalDesign?: string;
|
|
376
393
|
|
|
377
|
-
ReviewOwner
|
|
394
|
+
ReviewOwner?: string;
|
|
378
395
|
|
|
379
396
|
IndustryType?: string;
|
|
380
397
|
|
|
@@ -576,6 +593,8 @@ export interface Lens {
|
|
|
576
593
|
Owner?: string;
|
|
577
594
|
|
|
578
595
|
ShareInvitationId?: string;
|
|
596
|
+
|
|
597
|
+
Tags?: Record<string, string>;
|
|
579
598
|
}
|
|
580
599
|
export declare namespace Lens {
|
|
581
600
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-wellarchitected",
|
|
3
3
|
"description": "AWS SDK for JavaScript Wellarchitected Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.115.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
31
|
-
"@aws-sdk/middleware-retry": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.112.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.110.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.112.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.110.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.110.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.110.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.110.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.110.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.110.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.110.0",
|
|
31
|
+
"@aws-sdk/middleware-retry": "3.110.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.110.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.110.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.110.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.110.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.110.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.110.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.110.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.110.0",
|
|
40
|
+
"@aws-sdk/types": "3.110.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.110.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.109.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.55.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.110.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.110.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.110.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.110.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.109.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.109.0",
|
|
52
52
|
"tslib": "^2.3.1",
|