@aws-sdk/client-wellarchitected 3.423.0 → 3.424.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/README.md +112 -0
- package/dist-cjs/WellArchitected.js +28 -0
- package/dist-cjs/commands/CreateReviewTemplateCommand.js +51 -0
- package/dist-cjs/commands/CreateTemplateShareCommand.js +51 -0
- package/dist-cjs/commands/DeleteReviewTemplateCommand.js +51 -0
- package/dist-cjs/commands/DeleteTemplateShareCommand.js +51 -0
- package/dist-cjs/commands/GetReviewTemplateAnswerCommand.js +51 -0
- package/dist-cjs/commands/GetReviewTemplateCommand.js +51 -0
- package/dist-cjs/commands/GetReviewTemplateLensReviewCommand.js +51 -0
- package/dist-cjs/commands/ListReviewTemplateAnswersCommand.js +51 -0
- package/dist-cjs/commands/ListReviewTemplatesCommand.js +51 -0
- package/dist-cjs/commands/ListTemplateSharesCommand.js +51 -0
- package/dist-cjs/commands/UpdateReviewTemplateAnswerCommand.js +51 -0
- package/dist-cjs/commands/UpdateReviewTemplateCommand.js +51 -0
- package/dist-cjs/commands/UpdateReviewTemplateLensReviewCommand.js +51 -0
- package/dist-cjs/commands/UpgradeReviewTemplateLensReviewCommand.js +51 -0
- package/dist-cjs/commands/index.js +14 -0
- package/dist-cjs/models/models_0.js +14 -1
- package/dist-cjs/pagination/ListReviewTemplateAnswersPaginator.js +29 -0
- package/dist-cjs/pagination/ListReviewTemplatesPaginator.js +29 -0
- package/dist-cjs/pagination/ListTemplateSharesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1098 -53
- package/dist-es/WellArchitected.js +28 -0
- package/dist-es/commands/CreateReviewTemplateCommand.js +47 -0
- package/dist-es/commands/CreateTemplateShareCommand.js +47 -0
- package/dist-es/commands/DeleteReviewTemplateCommand.js +47 -0
- package/dist-es/commands/DeleteTemplateShareCommand.js +47 -0
- package/dist-es/commands/GetReviewTemplateAnswerCommand.js +47 -0
- package/dist-es/commands/GetReviewTemplateCommand.js +47 -0
- package/dist-es/commands/GetReviewTemplateLensReviewCommand.js +47 -0
- package/dist-es/commands/ListReviewTemplateAnswersCommand.js +47 -0
- package/dist-es/commands/ListReviewTemplatesCommand.js +47 -0
- package/dist-es/commands/ListTemplateSharesCommand.js +47 -0
- package/dist-es/commands/UpdateReviewTemplateAnswerCommand.js +47 -0
- package/dist-es/commands/UpdateReviewTemplateCommand.js +47 -0
- package/dist-es/commands/UpdateReviewTemplateLensReviewCommand.js +47 -0
- package/dist-es/commands/UpgradeReviewTemplateLensReviewCommand.js +47 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/pagination/ListReviewTemplateAnswersPaginator.js +25 -0
- package/dist-es/pagination/ListReviewTemplatesPaginator.js +25 -0
- package/dist-es/pagination/ListTemplateSharesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1065 -48
- package/dist-types/WellArchitected.d.ts +98 -0
- package/dist-types/WellArchitectedClient.d.ts +16 -2
- package/dist-types/commands/CreateReviewTemplateCommand.d.ts +114 -0
- package/dist-types/commands/CreateTemplateShareCommand.d.ts +111 -0
- package/dist-types/commands/CreateWorkloadCommand.d.ts +26 -0
- package/dist-types/commands/DeleteReviewTemplateCommand.d.ts +94 -0
- package/dist-types/commands/DeleteTemplateShareCommand.d.ts +94 -0
- package/dist-types/commands/GetReviewTemplateAnswerCommand.d.ts +141 -0
- package/dist-types/commands/GetReviewTemplateCommand.d.ts +106 -0
- package/dist-types/commands/GetReviewTemplateLensReviewCommand.d.ts +112 -0
- package/dist-types/commands/ListNotificationsCommand.d.ts +3 -0
- package/dist-types/commands/ListReviewTemplateAnswersCommand.d.ts +141 -0
- package/dist-types/commands/ListReviewTemplatesCommand.d.ts +99 -0
- package/dist-types/commands/ListShareInvitationsCommand.d.ts +10 -3
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListTemplateSharesCommand.d.ts +101 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateReviewTemplateAnswerCommand.d.ts +157 -0
- package/dist-types/commands/UpdateReviewTemplateCommand.d.ts +118 -0
- package/dist-types/commands/UpdateReviewTemplateLensReviewCommand.d.ts +119 -0
- package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -1
- package/dist-types/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +91 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +1206 -103
- package/dist-types/pagination/ListReviewTemplateAnswersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListReviewTemplatesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListTemplateSharesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +238 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +86 -2
- package/dist-types/ts3.4/commands/CreateReviewTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateTemplateShareCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteReviewTemplateCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DeleteTemplateShareCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/GetReviewTemplateAnswerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetReviewTemplateCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetReviewTemplateLensReviewCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListReviewTemplateAnswersCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListReviewTemplatesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListTemplateSharesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateReviewTemplateAnswerCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateReviewTemplateCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateReviewTemplateLensReviewCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +227 -0
- package/dist-types/ts3.4/pagination/ListReviewTemplateAnswersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListReviewTemplatesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTemplateSharesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
- package/package.json +1 -1
|
@@ -42,11 +42,12 @@ export interface UpdateShareInvitationCommandOutput extends UpdateShareInvitatio
|
|
|
42
42
|
* // { // UpdateShareInvitationOutput
|
|
43
43
|
* // ShareInvitation: { // ShareInvitation
|
|
44
44
|
* // ShareInvitationId: "STRING_VALUE",
|
|
45
|
-
* // ShareResourceType: "WORKLOAD" || "LENS" || "PROFILE",
|
|
45
|
+
* // ShareResourceType: "WORKLOAD" || "LENS" || "PROFILE" || "TEMPLATE",
|
|
46
46
|
* // WorkloadId: "STRING_VALUE",
|
|
47
47
|
* // LensAlias: "STRING_VALUE",
|
|
48
48
|
* // LensArn: "STRING_VALUE",
|
|
49
49
|
* // ProfileArn: "STRING_VALUE",
|
|
50
|
+
* // TemplateArn: "STRING_VALUE",
|
|
50
51
|
* // },
|
|
51
52
|
* // };
|
|
52
53
|
*
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { UpgradeReviewTemplateLensReviewInput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpgradeReviewTemplateLensReviewCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpgradeReviewTemplateLensReviewCommandInput extends UpgradeReviewTemplateLensReviewInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpgradeReviewTemplateLensReviewCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpgradeReviewTemplateLensReviewCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Upgrade the lens review of a review template.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WellArchitectedClient, UpgradeReviewTemplateLensReviewCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
31
|
+
* // const { WellArchitectedClient, UpgradeReviewTemplateLensReviewCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
|
|
32
|
+
* const client = new WellArchitectedClient(config);
|
|
33
|
+
* const input = { // UpgradeReviewTemplateLensReviewInput
|
|
34
|
+
* TemplateArn: "STRING_VALUE", // required
|
|
35
|
+
* LensAlias: "STRING_VALUE", // required
|
|
36
|
+
* ClientRequestToken: "STRING_VALUE",
|
|
37
|
+
* };
|
|
38
|
+
* const command = new UpgradeReviewTemplateLensReviewCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param UpgradeReviewTemplateLensReviewCommandInput - {@link UpgradeReviewTemplateLensReviewCommandInput}
|
|
45
|
+
* @returns {@link UpgradeReviewTemplateLensReviewCommandOutput}
|
|
46
|
+
* @see {@link UpgradeReviewTemplateLensReviewCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link UpgradeReviewTemplateLensReviewCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
51
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ConflictException} (client fault)
|
|
54
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServerException} (server fault)
|
|
57
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* <p>The requested resource was not found.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
63
|
+
* <p>Request was denied due to request throttling.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>The user input is not valid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link WellArchitectedServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
export declare class UpgradeReviewTemplateLensReviewCommand extends $Command<UpgradeReviewTemplateLensReviewCommandInput, UpgradeReviewTemplateLensReviewCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
73
|
+
readonly input: UpgradeReviewTemplateLensReviewCommandInput;
|
|
74
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
constructor(input: UpgradeReviewTemplateLensReviewCommandInput);
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpgradeReviewTemplateLensReviewCommandInput, UpgradeReviewTemplateLensReviewCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private serialize;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private deserialize;
|
|
91
|
+
}
|
|
@@ -5,12 +5,16 @@ export * from "./CreateLensVersionCommand";
|
|
|
5
5
|
export * from "./CreateMilestoneCommand";
|
|
6
6
|
export * from "./CreateProfileCommand";
|
|
7
7
|
export * from "./CreateProfileShareCommand";
|
|
8
|
+
export * from "./CreateReviewTemplateCommand";
|
|
9
|
+
export * from "./CreateTemplateShareCommand";
|
|
8
10
|
export * from "./CreateWorkloadCommand";
|
|
9
11
|
export * from "./CreateWorkloadShareCommand";
|
|
10
12
|
export * from "./DeleteLensCommand";
|
|
11
13
|
export * from "./DeleteLensShareCommand";
|
|
12
14
|
export * from "./DeleteProfileCommand";
|
|
13
15
|
export * from "./DeleteProfileShareCommand";
|
|
16
|
+
export * from "./DeleteReviewTemplateCommand";
|
|
17
|
+
export * from "./DeleteTemplateShareCommand";
|
|
14
18
|
export * from "./DeleteWorkloadCommand";
|
|
15
19
|
export * from "./DeleteWorkloadShareCommand";
|
|
16
20
|
export * from "./DisassociateLensesCommand";
|
|
@@ -25,6 +29,9 @@ export * from "./GetLensVersionDifferenceCommand";
|
|
|
25
29
|
export * from "./GetMilestoneCommand";
|
|
26
30
|
export * from "./GetProfileCommand";
|
|
27
31
|
export * from "./GetProfileTemplateCommand";
|
|
32
|
+
export * from "./GetReviewTemplateAnswerCommand";
|
|
33
|
+
export * from "./GetReviewTemplateCommand";
|
|
34
|
+
export * from "./GetReviewTemplateLensReviewCommand";
|
|
28
35
|
export * from "./GetWorkloadCommand";
|
|
29
36
|
export * from "./ImportLensCommand";
|
|
30
37
|
export * from "./ListAnswersCommand";
|
|
@@ -39,8 +46,11 @@ export * from "./ListNotificationsCommand";
|
|
|
39
46
|
export * from "./ListProfileNotificationsCommand";
|
|
40
47
|
export * from "./ListProfileSharesCommand";
|
|
41
48
|
export * from "./ListProfilesCommand";
|
|
49
|
+
export * from "./ListReviewTemplateAnswersCommand";
|
|
50
|
+
export * from "./ListReviewTemplatesCommand";
|
|
42
51
|
export * from "./ListShareInvitationsCommand";
|
|
43
52
|
export * from "./ListTagsForResourceCommand";
|
|
53
|
+
export * from "./ListTemplateSharesCommand";
|
|
44
54
|
export * from "./ListWorkloadSharesCommand";
|
|
45
55
|
export * from "./ListWorkloadsCommand";
|
|
46
56
|
export * from "./TagResourceCommand";
|
|
@@ -49,8 +59,12 @@ export * from "./UpdateAnswerCommand";
|
|
|
49
59
|
export * from "./UpdateGlobalSettingsCommand";
|
|
50
60
|
export * from "./UpdateLensReviewCommand";
|
|
51
61
|
export * from "./UpdateProfileCommand";
|
|
62
|
+
export * from "./UpdateReviewTemplateAnswerCommand";
|
|
63
|
+
export * from "./UpdateReviewTemplateCommand";
|
|
64
|
+
export * from "./UpdateReviewTemplateLensReviewCommand";
|
|
52
65
|
export * from "./UpdateShareInvitationCommand";
|
|
53
66
|
export * from "./UpdateWorkloadCommand";
|
|
54
67
|
export * from "./UpdateWorkloadShareCommand";
|
|
55
68
|
export * from "./UpgradeLensReviewCommand";
|
|
56
69
|
export * from "./UpgradeProfileVersionCommand";
|
|
70
|
+
export * from "./UpgradeReviewTemplateLensReviewCommand";
|