@aws-sdk/client-wellarchitected 3.350.0 → 3.353.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 +104 -0
- package/dist-cjs/WellArchitected.js +26 -0
- package/dist-cjs/commands/AssociateProfilesCommand.js +46 -0
- package/dist-cjs/commands/CreateProfileCommand.js +46 -0
- package/dist-cjs/commands/CreateProfileShareCommand.js +46 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +46 -0
- package/dist-cjs/commands/DeleteProfileShareCommand.js +46 -0
- package/dist-cjs/commands/DisassociateProfilesCommand.js +46 -0
- package/dist-cjs/commands/GetProfileCommand.js +46 -0
- package/dist-cjs/commands/GetProfileTemplateCommand.js +46 -0
- package/dist-cjs/commands/ListProfileNotificationsCommand.js +46 -0
- package/dist-cjs/commands/ListProfileSharesCommand.js +46 -0
- package/dist-cjs/commands/ListProfilesCommand.js +46 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +46 -0
- package/dist-cjs/commands/UpgradeProfileVersionCommand.js +46 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +18 -1
- package/dist-cjs/pagination/ListProfileNotificationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListProfileSharesPaginator.js +29 -0
- package/dist-cjs/pagination/ListProfilesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +991 -40
- package/dist-es/WellArchitected.js +26 -0
- package/dist-es/commands/AssociateProfilesCommand.js +42 -0
- package/dist-es/commands/CreateProfileCommand.js +42 -0
- package/dist-es/commands/CreateProfileShareCommand.js +42 -0
- package/dist-es/commands/DeleteProfileCommand.js +42 -0
- package/dist-es/commands/DeleteProfileShareCommand.js +42 -0
- package/dist-es/commands/DisassociateProfilesCommand.js +42 -0
- package/dist-es/commands/GetProfileCommand.js +42 -0
- package/dist-es/commands/GetProfileTemplateCommand.js +42 -0
- package/dist-es/commands/ListProfileNotificationsCommand.js +42 -0
- package/dist-es/commands/ListProfileSharesCommand.js +42 -0
- package/dist-es/commands/ListProfilesCommand.js +42 -0
- package/dist-es/commands/UpdateProfileCommand.js +42 -0
- package/dist-es/commands/UpgradeProfileVersionCommand.js +42 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +17 -0
- package/dist-es/pagination/ListProfileNotificationsPaginator.js +25 -0
- package/dist-es/pagination/ListProfileSharesPaginator.js +25 -0
- package/dist-es/pagination/ListProfilesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +960 -36
- package/dist-types/WellArchitected.d.ts +91 -0
- package/dist-types/WellArchitectedClient.d.ts +15 -2
- package/dist-types/commands/AssociateProfilesCommand.d.ts +92 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +105 -0
- package/dist-types/commands/CreateProfileShareCommand.d.ts +97 -0
- package/dist-types/commands/CreateWorkloadCommand.d.ts +3 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +101 -0
- package/dist-types/commands/DeleteProfileShareCommand.d.ts +91 -0
- package/dist-types/commands/DisassociateProfilesCommand.d.ts +92 -0
- package/dist-types/commands/GetLensReviewCommand.d.ts +12 -0
- package/dist-types/commands/GetMilestoneCommand.d.ts +9 -0
- package/dist-types/commands/GetProfileCommand.d.ts +120 -0
- package/dist-types/commands/GetProfileTemplateCommand.d.ts +106 -0
- package/dist-types/commands/GetWorkloadCommand.d.ts +9 -0
- package/dist-types/commands/ListAnswersCommand.d.ts +2 -0
- package/dist-types/commands/ListLensReviewImprovementsCommand.d.ts +1 -0
- package/dist-types/commands/ListLensReviewsCommand.d.ts +9 -0
- package/dist-types/commands/ListMilestonesCommand.d.ts +9 -0
- package/dist-types/commands/ListProfileNotificationsCommand.d.ts +98 -0
- package/dist-types/commands/ListProfileSharesCommand.d.ts +100 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +99 -0
- package/dist-types/commands/ListShareInvitationsCommand.d.ts +5 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkloadsCommand.d.ts +9 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLensReviewCommand.d.ts +12 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +131 -0
- package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -1
- package/dist-types/commands/UpdateWorkloadCommand.d.ts +9 -0
- package/dist-types/commands/UpgradeProfileVersionCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +850 -90
- package/dist-types/pagination/ListProfileNotificationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfileSharesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +221 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +80 -2
- package/dist-types/ts3.4/commands/AssociateProfilesCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateProfileShareCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteProfileShareCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DisassociateProfilesCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetProfileTemplateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListProfileNotificationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListProfileSharesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpgradeProfileVersionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +210 -0
- package/dist-types/ts3.4/pagination/ListProfileNotificationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfileSharesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.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 +156 -0
- package/package.json +13 -13
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
2
|
import { AssociateLensesCommandInput, AssociateLensesCommandOutput } from "./commands/AssociateLensesCommand";
|
|
3
|
+
import { AssociateProfilesCommandInput, AssociateProfilesCommandOutput } from "./commands/AssociateProfilesCommand";
|
|
3
4
|
import { CreateLensShareCommandInput, CreateLensShareCommandOutput } from "./commands/CreateLensShareCommand";
|
|
4
5
|
import { CreateLensVersionCommandInput, CreateLensVersionCommandOutput } from "./commands/CreateLensVersionCommand";
|
|
5
6
|
import { CreateMilestoneCommandInput, CreateMilestoneCommandOutput } from "./commands/CreateMilestoneCommand";
|
|
7
|
+
import { CreateProfileCommandInput, CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
|
|
8
|
+
import { CreateProfileShareCommandInput, CreateProfileShareCommandOutput } from "./commands/CreateProfileShareCommand";
|
|
6
9
|
import { CreateWorkloadCommandInput, CreateWorkloadCommandOutput } from "./commands/CreateWorkloadCommand";
|
|
7
10
|
import { CreateWorkloadShareCommandInput, CreateWorkloadShareCommandOutput } from "./commands/CreateWorkloadShareCommand";
|
|
8
11
|
import { DeleteLensCommandInput, DeleteLensCommandOutput } from "./commands/DeleteLensCommand";
|
|
9
12
|
import { DeleteLensShareCommandInput, DeleteLensShareCommandOutput } from "./commands/DeleteLensShareCommand";
|
|
13
|
+
import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
|
|
14
|
+
import { DeleteProfileShareCommandInput, DeleteProfileShareCommandOutput } from "./commands/DeleteProfileShareCommand";
|
|
10
15
|
import { DeleteWorkloadCommandInput, DeleteWorkloadCommandOutput } from "./commands/DeleteWorkloadCommand";
|
|
11
16
|
import { DeleteWorkloadShareCommandInput, DeleteWorkloadShareCommandOutput } from "./commands/DeleteWorkloadShareCommand";
|
|
12
17
|
import { DisassociateLensesCommandInput, DisassociateLensesCommandOutput } from "./commands/DisassociateLensesCommand";
|
|
18
|
+
import { DisassociateProfilesCommandInput, DisassociateProfilesCommandOutput } from "./commands/DisassociateProfilesCommand";
|
|
13
19
|
import { ExportLensCommandInput, ExportLensCommandOutput } from "./commands/ExportLensCommand";
|
|
14
20
|
import { GetAnswerCommandInput, GetAnswerCommandOutput } from "./commands/GetAnswerCommand";
|
|
15
21
|
import { GetConsolidatedReportCommandInput, GetConsolidatedReportCommandOutput } from "./commands/GetConsolidatedReportCommand";
|
|
@@ -18,6 +24,8 @@ import { GetLensReviewCommandInput, GetLensReviewCommandOutput } from "./command
|
|
|
18
24
|
import { GetLensReviewReportCommandInput, GetLensReviewReportCommandOutput } from "./commands/GetLensReviewReportCommand";
|
|
19
25
|
import { GetLensVersionDifferenceCommandInput, GetLensVersionDifferenceCommandOutput } from "./commands/GetLensVersionDifferenceCommand";
|
|
20
26
|
import { GetMilestoneCommandInput, GetMilestoneCommandOutput } from "./commands/GetMilestoneCommand";
|
|
27
|
+
import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
|
|
28
|
+
import { GetProfileTemplateCommandInput, GetProfileTemplateCommandOutput } from "./commands/GetProfileTemplateCommand";
|
|
21
29
|
import { GetWorkloadCommandInput, GetWorkloadCommandOutput } from "./commands/GetWorkloadCommand";
|
|
22
30
|
import { ImportLensCommandInput, ImportLensCommandOutput } from "./commands/ImportLensCommand";
|
|
23
31
|
import { ListAnswersCommandInput, ListAnswersCommandOutput } from "./commands/ListAnswersCommand";
|
|
@@ -29,6 +37,9 @@ import { ListLensReviewsCommandInput, ListLensReviewsCommandOutput } from "./com
|
|
|
29
37
|
import { ListLensSharesCommandInput, ListLensSharesCommandOutput } from "./commands/ListLensSharesCommand";
|
|
30
38
|
import { ListMilestonesCommandInput, ListMilestonesCommandOutput } from "./commands/ListMilestonesCommand";
|
|
31
39
|
import { ListNotificationsCommandInput, ListNotificationsCommandOutput } from "./commands/ListNotificationsCommand";
|
|
40
|
+
import { ListProfileNotificationsCommandInput, ListProfileNotificationsCommandOutput } from "./commands/ListProfileNotificationsCommand";
|
|
41
|
+
import { ListProfilesCommandInput, ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
|
|
42
|
+
import { ListProfileSharesCommandInput, ListProfileSharesCommandOutput } from "./commands/ListProfileSharesCommand";
|
|
32
43
|
import { ListShareInvitationsCommandInput, ListShareInvitationsCommandOutput } from "./commands/ListShareInvitationsCommand";
|
|
33
44
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
34
45
|
import { ListWorkloadsCommandInput, ListWorkloadsCommandOutput } from "./commands/ListWorkloadsCommand";
|
|
@@ -38,10 +49,12 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
38
49
|
import { UpdateAnswerCommandInput, UpdateAnswerCommandOutput } from "./commands/UpdateAnswerCommand";
|
|
39
50
|
import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "./commands/UpdateGlobalSettingsCommand";
|
|
40
51
|
import { UpdateLensReviewCommandInput, UpdateLensReviewCommandOutput } from "./commands/UpdateLensReviewCommand";
|
|
52
|
+
import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
|
|
41
53
|
import { UpdateShareInvitationCommandInput, UpdateShareInvitationCommandOutput } from "./commands/UpdateShareInvitationCommand";
|
|
42
54
|
import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "./commands/UpdateWorkloadCommand";
|
|
43
55
|
import { UpdateWorkloadShareCommandInput, UpdateWorkloadShareCommandOutput } from "./commands/UpdateWorkloadShareCommand";
|
|
44
56
|
import { UpgradeLensReviewCommandInput, UpgradeLensReviewCommandOutput } from "./commands/UpgradeLensReviewCommand";
|
|
57
|
+
import { UpgradeProfileVersionCommandInput, UpgradeProfileVersionCommandOutput } from "./commands/UpgradeProfileVersionCommand";
|
|
45
58
|
import { WellArchitectedClient } from "./WellArchitectedClient";
|
|
46
59
|
export interface WellArchitected {
|
|
47
60
|
/**
|
|
@@ -50,6 +63,12 @@ export interface WellArchitected {
|
|
|
50
63
|
associateLenses(args: AssociateLensesCommandInput, options?: __HttpHandlerOptions): Promise<AssociateLensesCommandOutput>;
|
|
51
64
|
associateLenses(args: AssociateLensesCommandInput, cb: (err: any, data?: AssociateLensesCommandOutput) => void): void;
|
|
52
65
|
associateLenses(args: AssociateLensesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateLensesCommandOutput) => void): void;
|
|
66
|
+
/**
|
|
67
|
+
* @see {@link AssociateProfilesCommand}
|
|
68
|
+
*/
|
|
69
|
+
associateProfiles(args: AssociateProfilesCommandInput, options?: __HttpHandlerOptions): Promise<AssociateProfilesCommandOutput>;
|
|
70
|
+
associateProfiles(args: AssociateProfilesCommandInput, cb: (err: any, data?: AssociateProfilesCommandOutput) => void): void;
|
|
71
|
+
associateProfiles(args: AssociateProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateProfilesCommandOutput) => void): void;
|
|
53
72
|
/**
|
|
54
73
|
* @see {@link CreateLensShareCommand}
|
|
55
74
|
*/
|
|
@@ -68,6 +87,18 @@ export interface WellArchitected {
|
|
|
68
87
|
createMilestone(args: CreateMilestoneCommandInput, options?: __HttpHandlerOptions): Promise<CreateMilestoneCommandOutput>;
|
|
69
88
|
createMilestone(args: CreateMilestoneCommandInput, cb: (err: any, data?: CreateMilestoneCommandOutput) => void): void;
|
|
70
89
|
createMilestone(args: CreateMilestoneCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMilestoneCommandOutput) => void): void;
|
|
90
|
+
/**
|
|
91
|
+
* @see {@link CreateProfileCommand}
|
|
92
|
+
*/
|
|
93
|
+
createProfile(args: CreateProfileCommandInput, options?: __HttpHandlerOptions): Promise<CreateProfileCommandOutput>;
|
|
94
|
+
createProfile(args: CreateProfileCommandInput, cb: (err: any, data?: CreateProfileCommandOutput) => void): void;
|
|
95
|
+
createProfile(args: CreateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProfileCommandOutput) => void): void;
|
|
96
|
+
/**
|
|
97
|
+
* @see {@link CreateProfileShareCommand}
|
|
98
|
+
*/
|
|
99
|
+
createProfileShare(args: CreateProfileShareCommandInput, options?: __HttpHandlerOptions): Promise<CreateProfileShareCommandOutput>;
|
|
100
|
+
createProfileShare(args: CreateProfileShareCommandInput, cb: (err: any, data?: CreateProfileShareCommandOutput) => void): void;
|
|
101
|
+
createProfileShare(args: CreateProfileShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateProfileShareCommandOutput) => void): void;
|
|
71
102
|
/**
|
|
72
103
|
* @see {@link CreateWorkloadCommand}
|
|
73
104
|
*/
|
|
@@ -92,6 +123,18 @@ export interface WellArchitected {
|
|
|
92
123
|
deleteLensShare(args: DeleteLensShareCommandInput, options?: __HttpHandlerOptions): Promise<DeleteLensShareCommandOutput>;
|
|
93
124
|
deleteLensShare(args: DeleteLensShareCommandInput, cb: (err: any, data?: DeleteLensShareCommandOutput) => void): void;
|
|
94
125
|
deleteLensShare(args: DeleteLensShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLensShareCommandOutput) => void): void;
|
|
126
|
+
/**
|
|
127
|
+
* @see {@link DeleteProfileCommand}
|
|
128
|
+
*/
|
|
129
|
+
deleteProfile(args: DeleteProfileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProfileCommandOutput>;
|
|
130
|
+
deleteProfile(args: DeleteProfileCommandInput, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void;
|
|
131
|
+
deleteProfile(args: DeleteProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfileCommandOutput) => void): void;
|
|
132
|
+
/**
|
|
133
|
+
* @see {@link DeleteProfileShareCommand}
|
|
134
|
+
*/
|
|
135
|
+
deleteProfileShare(args: DeleteProfileShareCommandInput, options?: __HttpHandlerOptions): Promise<DeleteProfileShareCommandOutput>;
|
|
136
|
+
deleteProfileShare(args: DeleteProfileShareCommandInput, cb: (err: any, data?: DeleteProfileShareCommandOutput) => void): void;
|
|
137
|
+
deleteProfileShare(args: DeleteProfileShareCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProfileShareCommandOutput) => void): void;
|
|
95
138
|
/**
|
|
96
139
|
* @see {@link DeleteWorkloadCommand}
|
|
97
140
|
*/
|
|
@@ -110,6 +153,12 @@ export interface WellArchitected {
|
|
|
110
153
|
disassociateLenses(args: DisassociateLensesCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateLensesCommandOutput>;
|
|
111
154
|
disassociateLenses(args: DisassociateLensesCommandInput, cb: (err: any, data?: DisassociateLensesCommandOutput) => void): void;
|
|
112
155
|
disassociateLenses(args: DisassociateLensesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateLensesCommandOutput) => void): void;
|
|
156
|
+
/**
|
|
157
|
+
* @see {@link DisassociateProfilesCommand}
|
|
158
|
+
*/
|
|
159
|
+
disassociateProfiles(args: DisassociateProfilesCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateProfilesCommandOutput>;
|
|
160
|
+
disassociateProfiles(args: DisassociateProfilesCommandInput, cb: (err: any, data?: DisassociateProfilesCommandOutput) => void): void;
|
|
161
|
+
disassociateProfiles(args: DisassociateProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateProfilesCommandOutput) => void): void;
|
|
113
162
|
/**
|
|
114
163
|
* @see {@link ExportLensCommand}
|
|
115
164
|
*/
|
|
@@ -158,6 +207,18 @@ export interface WellArchitected {
|
|
|
158
207
|
getMilestone(args: GetMilestoneCommandInput, options?: __HttpHandlerOptions): Promise<GetMilestoneCommandOutput>;
|
|
159
208
|
getMilestone(args: GetMilestoneCommandInput, cb: (err: any, data?: GetMilestoneCommandOutput) => void): void;
|
|
160
209
|
getMilestone(args: GetMilestoneCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMilestoneCommandOutput) => void): void;
|
|
210
|
+
/**
|
|
211
|
+
* @see {@link GetProfileCommand}
|
|
212
|
+
*/
|
|
213
|
+
getProfile(args: GetProfileCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileCommandOutput>;
|
|
214
|
+
getProfile(args: GetProfileCommandInput, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
|
|
215
|
+
getProfile(args: GetProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileCommandOutput) => void): void;
|
|
216
|
+
/**
|
|
217
|
+
* @see {@link GetProfileTemplateCommand}
|
|
218
|
+
*/
|
|
219
|
+
getProfileTemplate(args: GetProfileTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetProfileTemplateCommandOutput>;
|
|
220
|
+
getProfileTemplate(args: GetProfileTemplateCommandInput, cb: (err: any, data?: GetProfileTemplateCommandOutput) => void): void;
|
|
221
|
+
getProfileTemplate(args: GetProfileTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProfileTemplateCommandOutput) => void): void;
|
|
161
222
|
/**
|
|
162
223
|
* @see {@link GetWorkloadCommand}
|
|
163
224
|
*/
|
|
@@ -224,6 +285,24 @@ export interface WellArchitected {
|
|
|
224
285
|
listNotifications(args: ListNotificationsCommandInput, options?: __HttpHandlerOptions): Promise<ListNotificationsCommandOutput>;
|
|
225
286
|
listNotifications(args: ListNotificationsCommandInput, cb: (err: any, data?: ListNotificationsCommandOutput) => void): void;
|
|
226
287
|
listNotifications(args: ListNotificationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListNotificationsCommandOutput) => void): void;
|
|
288
|
+
/**
|
|
289
|
+
* @see {@link ListProfileNotificationsCommand}
|
|
290
|
+
*/
|
|
291
|
+
listProfileNotifications(args: ListProfileNotificationsCommandInput, options?: __HttpHandlerOptions): Promise<ListProfileNotificationsCommandOutput>;
|
|
292
|
+
listProfileNotifications(args: ListProfileNotificationsCommandInput, cb: (err: any, data?: ListProfileNotificationsCommandOutput) => void): void;
|
|
293
|
+
listProfileNotifications(args: ListProfileNotificationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfileNotificationsCommandOutput) => void): void;
|
|
294
|
+
/**
|
|
295
|
+
* @see {@link ListProfilesCommand}
|
|
296
|
+
*/
|
|
297
|
+
listProfiles(args: ListProfilesCommandInput, options?: __HttpHandlerOptions): Promise<ListProfilesCommandOutput>;
|
|
298
|
+
listProfiles(args: ListProfilesCommandInput, cb: (err: any, data?: ListProfilesCommandOutput) => void): void;
|
|
299
|
+
listProfiles(args: ListProfilesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfilesCommandOutput) => void): void;
|
|
300
|
+
/**
|
|
301
|
+
* @see {@link ListProfileSharesCommand}
|
|
302
|
+
*/
|
|
303
|
+
listProfileShares(args: ListProfileSharesCommandInput, options?: __HttpHandlerOptions): Promise<ListProfileSharesCommandOutput>;
|
|
304
|
+
listProfileShares(args: ListProfileSharesCommandInput, cb: (err: any, data?: ListProfileSharesCommandOutput) => void): void;
|
|
305
|
+
listProfileShares(args: ListProfileSharesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProfileSharesCommandOutput) => void): void;
|
|
227
306
|
/**
|
|
228
307
|
* @see {@link ListShareInvitationsCommand}
|
|
229
308
|
*/
|
|
@@ -278,6 +357,12 @@ export interface WellArchitected {
|
|
|
278
357
|
updateLensReview(args: UpdateLensReviewCommandInput, options?: __HttpHandlerOptions): Promise<UpdateLensReviewCommandOutput>;
|
|
279
358
|
updateLensReview(args: UpdateLensReviewCommandInput, cb: (err: any, data?: UpdateLensReviewCommandOutput) => void): void;
|
|
280
359
|
updateLensReview(args: UpdateLensReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateLensReviewCommandOutput) => void): void;
|
|
360
|
+
/**
|
|
361
|
+
* @see {@link UpdateProfileCommand}
|
|
362
|
+
*/
|
|
363
|
+
updateProfile(args: UpdateProfileCommandInput, options?: __HttpHandlerOptions): Promise<UpdateProfileCommandOutput>;
|
|
364
|
+
updateProfile(args: UpdateProfileCommandInput, cb: (err: any, data?: UpdateProfileCommandOutput) => void): void;
|
|
365
|
+
updateProfile(args: UpdateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateProfileCommandOutput) => void): void;
|
|
281
366
|
/**
|
|
282
367
|
* @see {@link UpdateShareInvitationCommand}
|
|
283
368
|
*/
|
|
@@ -302,6 +387,12 @@ export interface WellArchitected {
|
|
|
302
387
|
upgradeLensReview(args: UpgradeLensReviewCommandInput, options?: __HttpHandlerOptions): Promise<UpgradeLensReviewCommandOutput>;
|
|
303
388
|
upgradeLensReview(args: UpgradeLensReviewCommandInput, cb: (err: any, data?: UpgradeLensReviewCommandOutput) => void): void;
|
|
304
389
|
upgradeLensReview(args: UpgradeLensReviewCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpgradeLensReviewCommandOutput) => void): void;
|
|
390
|
+
/**
|
|
391
|
+
* @see {@link UpgradeProfileVersionCommand}
|
|
392
|
+
*/
|
|
393
|
+
upgradeProfileVersion(args: UpgradeProfileVersionCommandInput, options?: __HttpHandlerOptions): Promise<UpgradeProfileVersionCommandOutput>;
|
|
394
|
+
upgradeProfileVersion(args: UpgradeProfileVersionCommandInput, cb: (err: any, data?: UpgradeProfileVersionCommandOutput) => void): void;
|
|
395
|
+
upgradeProfileVersion(args: UpgradeProfileVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpgradeProfileVersionCommandOutput) => void): void;
|
|
305
396
|
}
|
|
306
397
|
/**
|
|
307
398
|
* @public
|
|
@@ -9,16 +9,22 @@ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as
|
|
|
9
9
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
10
10
|
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
11
11
|
import { AssociateLensesCommandInput, AssociateLensesCommandOutput } from "./commands/AssociateLensesCommand";
|
|
12
|
+
import { AssociateProfilesCommandInput, AssociateProfilesCommandOutput } from "./commands/AssociateProfilesCommand";
|
|
12
13
|
import { CreateLensShareCommandInput, CreateLensShareCommandOutput } from "./commands/CreateLensShareCommand";
|
|
13
14
|
import { CreateLensVersionCommandInput, CreateLensVersionCommandOutput } from "./commands/CreateLensVersionCommand";
|
|
14
15
|
import { CreateMilestoneCommandInput, CreateMilestoneCommandOutput } from "./commands/CreateMilestoneCommand";
|
|
16
|
+
import { CreateProfileCommandInput, CreateProfileCommandOutput } from "./commands/CreateProfileCommand";
|
|
17
|
+
import { CreateProfileShareCommandInput, CreateProfileShareCommandOutput } from "./commands/CreateProfileShareCommand";
|
|
15
18
|
import { CreateWorkloadCommandInput, CreateWorkloadCommandOutput } from "./commands/CreateWorkloadCommand";
|
|
16
19
|
import { CreateWorkloadShareCommandInput, CreateWorkloadShareCommandOutput } from "./commands/CreateWorkloadShareCommand";
|
|
17
20
|
import { DeleteLensCommandInput, DeleteLensCommandOutput } from "./commands/DeleteLensCommand";
|
|
18
21
|
import { DeleteLensShareCommandInput, DeleteLensShareCommandOutput } from "./commands/DeleteLensShareCommand";
|
|
22
|
+
import { DeleteProfileCommandInput, DeleteProfileCommandOutput } from "./commands/DeleteProfileCommand";
|
|
23
|
+
import { DeleteProfileShareCommandInput, DeleteProfileShareCommandOutput } from "./commands/DeleteProfileShareCommand";
|
|
19
24
|
import { DeleteWorkloadCommandInput, DeleteWorkloadCommandOutput } from "./commands/DeleteWorkloadCommand";
|
|
20
25
|
import { DeleteWorkloadShareCommandInput, DeleteWorkloadShareCommandOutput } from "./commands/DeleteWorkloadShareCommand";
|
|
21
26
|
import { DisassociateLensesCommandInput, DisassociateLensesCommandOutput } from "./commands/DisassociateLensesCommand";
|
|
27
|
+
import { DisassociateProfilesCommandInput, DisassociateProfilesCommandOutput } from "./commands/DisassociateProfilesCommand";
|
|
22
28
|
import { ExportLensCommandInput, ExportLensCommandOutput } from "./commands/ExportLensCommand";
|
|
23
29
|
import { GetAnswerCommandInput, GetAnswerCommandOutput } from "./commands/GetAnswerCommand";
|
|
24
30
|
import { GetConsolidatedReportCommandInput, GetConsolidatedReportCommandOutput } from "./commands/GetConsolidatedReportCommand";
|
|
@@ -27,6 +33,8 @@ import { GetLensReviewCommandInput, GetLensReviewCommandOutput } from "./command
|
|
|
27
33
|
import { GetLensReviewReportCommandInput, GetLensReviewReportCommandOutput } from "./commands/GetLensReviewReportCommand";
|
|
28
34
|
import { GetLensVersionDifferenceCommandInput, GetLensVersionDifferenceCommandOutput } from "./commands/GetLensVersionDifferenceCommand";
|
|
29
35
|
import { GetMilestoneCommandInput, GetMilestoneCommandOutput } from "./commands/GetMilestoneCommand";
|
|
36
|
+
import { GetProfileCommandInput, GetProfileCommandOutput } from "./commands/GetProfileCommand";
|
|
37
|
+
import { GetProfileTemplateCommandInput, GetProfileTemplateCommandOutput } from "./commands/GetProfileTemplateCommand";
|
|
30
38
|
import { GetWorkloadCommandInput, GetWorkloadCommandOutput } from "./commands/GetWorkloadCommand";
|
|
31
39
|
import { ImportLensCommandInput, ImportLensCommandOutput } from "./commands/ImportLensCommand";
|
|
32
40
|
import { ListAnswersCommandInput, ListAnswersCommandOutput } from "./commands/ListAnswersCommand";
|
|
@@ -38,6 +46,9 @@ import { ListLensReviewsCommandInput, ListLensReviewsCommandOutput } from "./com
|
|
|
38
46
|
import { ListLensSharesCommandInput, ListLensSharesCommandOutput } from "./commands/ListLensSharesCommand";
|
|
39
47
|
import { ListMilestonesCommandInput, ListMilestonesCommandOutput } from "./commands/ListMilestonesCommand";
|
|
40
48
|
import { ListNotificationsCommandInput, ListNotificationsCommandOutput } from "./commands/ListNotificationsCommand";
|
|
49
|
+
import { ListProfileNotificationsCommandInput, ListProfileNotificationsCommandOutput } from "./commands/ListProfileNotificationsCommand";
|
|
50
|
+
import { ListProfilesCommandInput, ListProfilesCommandOutput } from "./commands/ListProfilesCommand";
|
|
51
|
+
import { ListProfileSharesCommandInput, ListProfileSharesCommandOutput } from "./commands/ListProfileSharesCommand";
|
|
41
52
|
import { ListShareInvitationsCommandInput, ListShareInvitationsCommandOutput } from "./commands/ListShareInvitationsCommand";
|
|
42
53
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
43
54
|
import { ListWorkloadsCommandInput, ListWorkloadsCommandOutput } from "./commands/ListWorkloadsCommand";
|
|
@@ -47,20 +58,22 @@ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./command
|
|
|
47
58
|
import { UpdateAnswerCommandInput, UpdateAnswerCommandOutput } from "./commands/UpdateAnswerCommand";
|
|
48
59
|
import { UpdateGlobalSettingsCommandInput, UpdateGlobalSettingsCommandOutput } from "./commands/UpdateGlobalSettingsCommand";
|
|
49
60
|
import { UpdateLensReviewCommandInput, UpdateLensReviewCommandOutput } from "./commands/UpdateLensReviewCommand";
|
|
61
|
+
import { UpdateProfileCommandInput, UpdateProfileCommandOutput } from "./commands/UpdateProfileCommand";
|
|
50
62
|
import { UpdateShareInvitationCommandInput, UpdateShareInvitationCommandOutput } from "./commands/UpdateShareInvitationCommand";
|
|
51
63
|
import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "./commands/UpdateWorkloadCommand";
|
|
52
64
|
import { UpdateWorkloadShareCommandInput, UpdateWorkloadShareCommandOutput } from "./commands/UpdateWorkloadShareCommand";
|
|
53
65
|
import { UpgradeLensReviewCommandInput, UpgradeLensReviewCommandOutput } from "./commands/UpgradeLensReviewCommand";
|
|
66
|
+
import { UpgradeProfileVersionCommandInput, UpgradeProfileVersionCommandOutput } from "./commands/UpgradeProfileVersionCommand";
|
|
54
67
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
55
68
|
export { __Client };
|
|
56
69
|
/**
|
|
57
70
|
* @public
|
|
58
71
|
*/
|
|
59
|
-
export type ServiceInputTypes = AssociateLensesCommandInput | CreateLensShareCommandInput | CreateLensVersionCommandInput | CreateMilestoneCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteLensCommandInput | DeleteLensShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | ExportLensCommandInput | GetAnswerCommandInput | GetConsolidatedReportCommandInput | GetLensCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetWorkloadCommandInput | ImportLensCommandInput | ListAnswersCommandInput | ListCheckDetailsCommandInput | ListCheckSummariesCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensSharesCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateGlobalSettingsCommandInput | UpdateLensReviewCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput;
|
|
72
|
+
export type ServiceInputTypes = AssociateLensesCommandInput | AssociateProfilesCommandInput | CreateLensShareCommandInput | CreateLensVersionCommandInput | CreateMilestoneCommandInput | CreateProfileCommandInput | CreateProfileShareCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteLensCommandInput | DeleteLensShareCommandInput | DeleteProfileCommandInput | DeleteProfileShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | DisassociateProfilesCommandInput | ExportLensCommandInput | GetAnswerCommandInput | GetConsolidatedReportCommandInput | GetLensCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetProfileCommandInput | GetProfileTemplateCommandInput | GetWorkloadCommandInput | ImportLensCommandInput | ListAnswersCommandInput | ListCheckDetailsCommandInput | ListCheckSummariesCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensSharesCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListProfileNotificationsCommandInput | ListProfileSharesCommandInput | ListProfilesCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateGlobalSettingsCommandInput | UpdateLensReviewCommandInput | UpdateProfileCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput | UpgradeProfileVersionCommandInput;
|
|
60
73
|
/**
|
|
61
74
|
* @public
|
|
62
75
|
*/
|
|
63
|
-
export type ServiceOutputTypes = AssociateLensesCommandOutput | CreateLensShareCommandOutput | CreateLensVersionCommandOutput | CreateMilestoneCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteLensCommandOutput | DeleteLensShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | ExportLensCommandOutput | GetAnswerCommandOutput | GetConsolidatedReportCommandOutput | GetLensCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetWorkloadCommandOutput | ImportLensCommandOutput | ListAnswersCommandOutput | ListCheckDetailsCommandOutput | ListCheckSummariesCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensSharesCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateLensReviewCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput;
|
|
76
|
+
export type ServiceOutputTypes = AssociateLensesCommandOutput | AssociateProfilesCommandOutput | CreateLensShareCommandOutput | CreateLensVersionCommandOutput | CreateMilestoneCommandOutput | CreateProfileCommandOutput | CreateProfileShareCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteLensCommandOutput | DeleteLensShareCommandOutput | DeleteProfileCommandOutput | DeleteProfileShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | DisassociateProfilesCommandOutput | ExportLensCommandOutput | GetAnswerCommandOutput | GetConsolidatedReportCommandOutput | GetLensCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetProfileCommandOutput | GetProfileTemplateCommandOutput | GetWorkloadCommandOutput | ImportLensCommandOutput | ListAnswersCommandOutput | ListCheckDetailsCommandOutput | ListCheckSummariesCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensSharesCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListProfileNotificationsCommandOutput | ListProfileSharesCommandOutput | ListProfilesCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateLensReviewCommandOutput | UpdateProfileCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput | UpgradeProfileVersionCommandOutput;
|
|
64
77
|
/**
|
|
65
78
|
* @public
|
|
66
79
|
*/
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AssociateProfilesInput } 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 AssociateProfilesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateProfilesCommandInput extends AssociateProfilesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateProfilesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateProfilesCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Associate a profile with a workload.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WellArchitectedClient, AssociateProfilesCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
31
|
+
* // const { WellArchitectedClient, AssociateProfilesCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
|
|
32
|
+
* const client = new WellArchitectedClient(config);
|
|
33
|
+
* const input = { // AssociateProfilesInput
|
|
34
|
+
* WorkloadId: "STRING_VALUE", // required
|
|
35
|
+
* ProfileArns: [ // ProfileArns // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
39
|
+
* const command = new AssociateProfilesCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param AssociateProfilesCommandInput - {@link AssociateProfilesCommandInput}
|
|
46
|
+
* @returns {@link AssociateProfilesCommandOutput}
|
|
47
|
+
* @see {@link AssociateProfilesCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link AssociateProfilesCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The requested resource was not found.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>Request was denied due to request throttling.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The user input is not valid.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link WellArchitectedServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class AssociateProfilesCommand extends $Command<AssociateProfilesCommandInput, AssociateProfilesCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
74
|
+
readonly input: AssociateProfilesCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: AssociateProfilesCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateProfilesCommandInput, AssociateProfilesCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CreateProfileInput, CreateProfileOutput } 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 CreateProfileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateProfileCommandInput extends CreateProfileInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateProfileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateProfileCommandOutput extends CreateProfileOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Create a profile.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WellArchitectedClient, CreateProfileCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
31
|
+
* // const { WellArchitectedClient, CreateProfileCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
|
|
32
|
+
* const client = new WellArchitectedClient(config);
|
|
33
|
+
* const input = { // CreateProfileInput
|
|
34
|
+
* ProfileName: "STRING_VALUE", // required
|
|
35
|
+
* ProfileDescription: "STRING_VALUE", // required
|
|
36
|
+
* ProfileQuestions: [ // ProfileQuestionUpdates // required
|
|
37
|
+
* { // ProfileQuestionUpdate
|
|
38
|
+
* QuestionId: "STRING_VALUE",
|
|
39
|
+
* SelectedChoiceIds: [ // SelectedProfileChoiceIds
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* },
|
|
43
|
+
* ],
|
|
44
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
45
|
+
* Tags: { // TagMap
|
|
46
|
+
* "<keys>": "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* };
|
|
49
|
+
* const command = new CreateProfileCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // CreateProfileOutput
|
|
52
|
+
* // ProfileArn: "STRING_VALUE",
|
|
53
|
+
* // ProfileVersion: "STRING_VALUE",
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param CreateProfileCommandInput - {@link CreateProfileCommandInput}
|
|
59
|
+
* @returns {@link CreateProfileCommandOutput}
|
|
60
|
+
* @see {@link CreateProfileCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link CreateProfileCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
65
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ConflictException} (client fault)
|
|
68
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link InternalServerException} (server fault)
|
|
71
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
74
|
+
* <p>The user has reached their resource quota.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
77
|
+
* <p>Request was denied due to request throttling.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ValidationException} (client fault)
|
|
80
|
+
* <p>The user input is not valid.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link WellArchitectedServiceException}
|
|
83
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
export declare class CreateProfileCommand extends $Command<CreateProfileCommandInput, CreateProfileCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
87
|
+
readonly input: CreateProfileCommandInput;
|
|
88
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
constructor(input: CreateProfileCommandInput);
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateProfileCommandInput, CreateProfileCommandOutput>;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private serialize;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
private deserialize;
|
|
105
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CreateProfileShareInput, CreateProfileShareOutput } 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 CreateProfileShareCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateProfileShareCommandInput extends CreateProfileShareInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateProfileShareCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateProfileShareCommandOutput extends CreateProfileShareOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Create a profile share.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WellArchitectedClient, CreateProfileShareCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
31
|
+
* // const { WellArchitectedClient, CreateProfileShareCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
|
|
32
|
+
* const client = new WellArchitectedClient(config);
|
|
33
|
+
* const input = { // CreateProfileShareInput
|
|
34
|
+
* ProfileArn: "STRING_VALUE", // required
|
|
35
|
+
* SharedWith: "STRING_VALUE", // required
|
|
36
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new CreateProfileShareCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // CreateProfileShareOutput
|
|
41
|
+
* // ShareId: "STRING_VALUE",
|
|
42
|
+
* // ProfileArn: "STRING_VALUE",
|
|
43
|
+
* // };
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param CreateProfileShareCommandInput - {@link CreateProfileShareCommandInput}
|
|
48
|
+
* @returns {@link CreateProfileShareCommandOutput}
|
|
49
|
+
* @see {@link CreateProfileShareCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link CreateProfileShareCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>The requested resource was not found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
66
|
+
* <p>The user has reached their resource quota.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
69
|
+
* <p>Request was denied due to request throttling.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ValidationException} (client fault)
|
|
72
|
+
* <p>The user input is not valid.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link WellArchitectedServiceException}
|
|
75
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
export declare class CreateProfileShareCommand extends $Command<CreateProfileShareCommandInput, CreateProfileShareCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
79
|
+
readonly input: CreateProfileShareCommandInput;
|
|
80
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
81
|
+
/**
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
constructor(input: CreateProfileShareCommandInput);
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
*/
|
|
88
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateProfileShareCommandInput, CreateProfileShareCommandOutput>;
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
private serialize;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private deserialize;
|
|
97
|
+
}
|
|
@@ -79,6 +79,9 @@ export interface CreateWorkloadCommandOutput extends CreateWorkloadOutput, __Met
|
|
|
79
79
|
* Applications: [ // WorkloadApplications
|
|
80
80
|
* "STRING_VALUE",
|
|
81
81
|
* ],
|
|
82
|
+
* ProfileArns: [ // WorkloadProfileArns
|
|
83
|
+
* "STRING_VALUE",
|
|
84
|
+
* ],
|
|
82
85
|
* };
|
|
83
86
|
* const command = new CreateWorkloadCommand(input);
|
|
84
87
|
* const response = await client.send(command);
|