@aws-sdk/client-wellarchitected 3.350.0 → 3.352.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.
Files changed (104) hide show
  1. package/README.md +104 -0
  2. package/dist-cjs/WellArchitected.js +26 -0
  3. package/dist-cjs/commands/AssociateProfilesCommand.js +46 -0
  4. package/dist-cjs/commands/CreateProfileCommand.js +46 -0
  5. package/dist-cjs/commands/CreateProfileShareCommand.js +46 -0
  6. package/dist-cjs/commands/DeleteProfileCommand.js +46 -0
  7. package/dist-cjs/commands/DeleteProfileShareCommand.js +46 -0
  8. package/dist-cjs/commands/DisassociateProfilesCommand.js +46 -0
  9. package/dist-cjs/commands/GetProfileCommand.js +46 -0
  10. package/dist-cjs/commands/GetProfileTemplateCommand.js +46 -0
  11. package/dist-cjs/commands/ListProfileNotificationsCommand.js +46 -0
  12. package/dist-cjs/commands/ListProfileSharesCommand.js +46 -0
  13. package/dist-cjs/commands/ListProfilesCommand.js +46 -0
  14. package/dist-cjs/commands/UpdateProfileCommand.js +46 -0
  15. package/dist-cjs/commands/UpgradeProfileVersionCommand.js +46 -0
  16. package/dist-cjs/commands/index.js +13 -0
  17. package/dist-cjs/models/models_0.js +18 -1
  18. package/dist-cjs/pagination/ListProfileNotificationsPaginator.js +29 -0
  19. package/dist-cjs/pagination/ListProfileSharesPaginator.js +29 -0
  20. package/dist-cjs/pagination/ListProfilesPaginator.js +29 -0
  21. package/dist-cjs/pagination/index.js +3 -0
  22. package/dist-cjs/protocols/Aws_restJson1.js +991 -40
  23. package/dist-es/WellArchitected.js +26 -0
  24. package/dist-es/commands/AssociateProfilesCommand.js +42 -0
  25. package/dist-es/commands/CreateProfileCommand.js +42 -0
  26. package/dist-es/commands/CreateProfileShareCommand.js +42 -0
  27. package/dist-es/commands/DeleteProfileCommand.js +42 -0
  28. package/dist-es/commands/DeleteProfileShareCommand.js +42 -0
  29. package/dist-es/commands/DisassociateProfilesCommand.js +42 -0
  30. package/dist-es/commands/GetProfileCommand.js +42 -0
  31. package/dist-es/commands/GetProfileTemplateCommand.js +42 -0
  32. package/dist-es/commands/ListProfileNotificationsCommand.js +42 -0
  33. package/dist-es/commands/ListProfileSharesCommand.js +42 -0
  34. package/dist-es/commands/ListProfilesCommand.js +42 -0
  35. package/dist-es/commands/UpdateProfileCommand.js +42 -0
  36. package/dist-es/commands/UpgradeProfileVersionCommand.js +42 -0
  37. package/dist-es/commands/index.js +13 -0
  38. package/dist-es/models/models_0.js +17 -0
  39. package/dist-es/pagination/ListProfileNotificationsPaginator.js +25 -0
  40. package/dist-es/pagination/ListProfileSharesPaginator.js +25 -0
  41. package/dist-es/pagination/ListProfilesPaginator.js +25 -0
  42. package/dist-es/pagination/index.js +3 -0
  43. package/dist-es/protocols/Aws_restJson1.js +960 -36
  44. package/dist-types/WellArchitected.d.ts +91 -0
  45. package/dist-types/WellArchitectedClient.d.ts +15 -2
  46. package/dist-types/commands/AssociateProfilesCommand.d.ts +92 -0
  47. package/dist-types/commands/CreateProfileCommand.d.ts +105 -0
  48. package/dist-types/commands/CreateProfileShareCommand.d.ts +97 -0
  49. package/dist-types/commands/CreateWorkloadCommand.d.ts +3 -0
  50. package/dist-types/commands/DeleteProfileCommand.d.ts +101 -0
  51. package/dist-types/commands/DeleteProfileShareCommand.d.ts +91 -0
  52. package/dist-types/commands/DisassociateProfilesCommand.d.ts +92 -0
  53. package/dist-types/commands/GetLensReviewCommand.d.ts +12 -0
  54. package/dist-types/commands/GetMilestoneCommand.d.ts +9 -0
  55. package/dist-types/commands/GetProfileCommand.d.ts +120 -0
  56. package/dist-types/commands/GetProfileTemplateCommand.d.ts +106 -0
  57. package/dist-types/commands/GetWorkloadCommand.d.ts +9 -0
  58. package/dist-types/commands/ListAnswersCommand.d.ts +2 -0
  59. package/dist-types/commands/ListLensReviewImprovementsCommand.d.ts +1 -0
  60. package/dist-types/commands/ListLensReviewsCommand.d.ts +9 -0
  61. package/dist-types/commands/ListMilestonesCommand.d.ts +9 -0
  62. package/dist-types/commands/ListProfileNotificationsCommand.d.ts +98 -0
  63. package/dist-types/commands/ListProfileSharesCommand.d.ts +100 -0
  64. package/dist-types/commands/ListProfilesCommand.d.ts +99 -0
  65. package/dist-types/commands/ListShareInvitationsCommand.d.ts +5 -2
  66. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  67. package/dist-types/commands/ListWorkloadsCommand.d.ts +9 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  69. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  70. package/dist-types/commands/UpdateLensReviewCommand.d.ts +12 -0
  71. package/dist-types/commands/UpdateProfileCommand.d.ts +131 -0
  72. package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -1
  73. package/dist-types/commands/UpdateWorkloadCommand.d.ts +9 -0
  74. package/dist-types/commands/UpgradeProfileVersionCommand.d.ts +92 -0
  75. package/dist-types/commands/index.d.ts +13 -0
  76. package/dist-types/models/models_0.d.ts +850 -90
  77. package/dist-types/pagination/ListProfileNotificationsPaginator.d.ts +7 -0
  78. package/dist-types/pagination/ListProfileSharesPaginator.d.ts +7 -0
  79. package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
  80. package/dist-types/pagination/index.d.ts +3 -0
  81. package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
  82. package/dist-types/ts3.4/WellArchitected.d.ts +221 -0
  83. package/dist-types/ts3.4/WellArchitectedClient.d.ts +80 -2
  84. package/dist-types/ts3.4/commands/AssociateProfilesCommand.d.ts +33 -0
  85. package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +35 -0
  86. package/dist-types/ts3.4/commands/CreateProfileShareCommand.d.ts +39 -0
  87. package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +33 -0
  88. package/dist-types/ts3.4/commands/DeleteProfileShareCommand.d.ts +34 -0
  89. package/dist-types/ts3.4/commands/DisassociateProfilesCommand.d.ts +37 -0
  90. package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +35 -0
  91. package/dist-types/ts3.4/commands/GetProfileTemplateCommand.d.ts +39 -0
  92. package/dist-types/ts3.4/commands/ListProfileNotificationsCommand.d.ts +42 -0
  93. package/dist-types/ts3.4/commands/ListProfileSharesCommand.d.ts +38 -0
  94. package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +35 -0
  95. package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +35 -0
  96. package/dist-types/ts3.4/commands/UpgradeProfileVersionCommand.d.ts +37 -0
  97. package/dist-types/ts3.4/commands/index.d.ts +13 -0
  98. package/dist-types/ts3.4/models/models_0.d.ts +210 -0
  99. package/dist-types/ts3.4/pagination/ListProfileNotificationsPaginator.d.ts +11 -0
  100. package/dist-types/ts3.4/pagination/ListProfileSharesPaginator.d.ts +11 -0
  101. package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -0
  102. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  103. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
  104. package/package.json +5 -5
@@ -0,0 +1,98 @@
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 { ListProfileNotificationsInput, ListProfileNotificationsOutput } 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 ListProfileNotificationsCommand}.
14
+ */
15
+ export interface ListProfileNotificationsCommandInput extends ListProfileNotificationsInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListProfileNotificationsCommand}.
21
+ */
22
+ export interface ListProfileNotificationsCommandOutput extends ListProfileNotificationsOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List profile notifications.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WellArchitectedClient, ListProfileNotificationsCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
31
+ * // const { WellArchitectedClient, ListProfileNotificationsCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
32
+ * const client = new WellArchitectedClient(config);
33
+ * const input = { // ListProfileNotificationsInput
34
+ * WorkloadId: "STRING_VALUE",
35
+ * NextToken: "STRING_VALUE",
36
+ * MaxResults: Number("int"),
37
+ * };
38
+ * const command = new ListProfileNotificationsCommand(input);
39
+ * const response = await client.send(command);
40
+ * // { // ListProfileNotificationsOutput
41
+ * // NotificationSummaries: [ // ProfileNotificationSummaries
42
+ * // { // ProfileNotificationSummary
43
+ * // CurrentProfileVersion: "STRING_VALUE",
44
+ * // LatestProfileVersion: "STRING_VALUE",
45
+ * // Type: "PROFILE_ANSWERS_UPDATED" || "PROFILE_DELETED",
46
+ * // ProfileArn: "STRING_VALUE",
47
+ * // ProfileName: "STRING_VALUE",
48
+ * // WorkloadId: "STRING_VALUE",
49
+ * // WorkloadName: "STRING_VALUE",
50
+ * // },
51
+ * // ],
52
+ * // NextToken: "STRING_VALUE",
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param ListProfileNotificationsCommandInput - {@link ListProfileNotificationsCommandInput}
58
+ * @returns {@link ListProfileNotificationsCommandOutput}
59
+ * @see {@link ListProfileNotificationsCommandInput} for command's `input` shape.
60
+ * @see {@link ListProfileNotificationsCommandOutput} for command's `response` shape.
61
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>User does not have sufficient access to perform this action.</p>
65
+ *
66
+ * @throws {@link InternalServerException} (server fault)
67
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
68
+ *
69
+ * @throws {@link ThrottlingException} (client fault)
70
+ * <p>Request was denied due to request throttling.</p>
71
+ *
72
+ * @throws {@link ValidationException} (client fault)
73
+ * <p>The user input is not valid.</p>
74
+ *
75
+ * @throws {@link WellArchitectedServiceException}
76
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
77
+ *
78
+ */
79
+ export declare class ListProfileNotificationsCommand extends $Command<ListProfileNotificationsCommandInput, ListProfileNotificationsCommandOutput, WellArchitectedClientResolvedConfig> {
80
+ readonly input: ListProfileNotificationsCommandInput;
81
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
82
+ /**
83
+ * @public
84
+ */
85
+ constructor(input: ListProfileNotificationsCommandInput);
86
+ /**
87
+ * @internal
88
+ */
89
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListProfileNotificationsCommandInput, ListProfileNotificationsCommandOutput>;
90
+ /**
91
+ * @internal
92
+ */
93
+ private serialize;
94
+ /**
95
+ * @internal
96
+ */
97
+ private deserialize;
98
+ }
@@ -0,0 +1,100 @@
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 { ListProfileSharesInput, ListProfileSharesOutput } 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 ListProfileSharesCommand}.
14
+ */
15
+ export interface ListProfileSharesCommandInput extends ListProfileSharesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListProfileSharesCommand}.
21
+ */
22
+ export interface ListProfileSharesCommandOutput extends ListProfileSharesOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List profile shares.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WellArchitectedClient, ListProfileSharesCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
31
+ * // const { WellArchitectedClient, ListProfileSharesCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
32
+ * const client = new WellArchitectedClient(config);
33
+ * const input = { // ListProfileSharesInput
34
+ * ProfileArn: "STRING_VALUE", // required
35
+ * SharedWithPrefix: "STRING_VALUE",
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * Status: "ACCEPTED" || "REJECTED" || "PENDING" || "REVOKED" || "EXPIRED" || "ASSOCIATING" || "ASSOCIATED" || "FAILED",
39
+ * };
40
+ * const command = new ListProfileSharesCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListProfileSharesOutput
43
+ * // ProfileShareSummaries: [ // ProfileShareSummaries
44
+ * // { // ProfileShareSummary
45
+ * // ShareId: "STRING_VALUE",
46
+ * // SharedWith: "STRING_VALUE",
47
+ * // Status: "ACCEPTED" || "REJECTED" || "PENDING" || "REVOKED" || "EXPIRED" || "ASSOCIATING" || "ASSOCIATED" || "FAILED",
48
+ * // StatusMessage: "STRING_VALUE",
49
+ * // },
50
+ * // ],
51
+ * // NextToken: "STRING_VALUE",
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ListProfileSharesCommandInput - {@link ListProfileSharesCommandInput}
57
+ * @returns {@link ListProfileSharesCommandOutput}
58
+ * @see {@link ListProfileSharesCommandInput} for command's `input` shape.
59
+ * @see {@link ListProfileSharesCommandOutput} for command's `response` shape.
60
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
61
+ *
62
+ * @throws {@link AccessDeniedException} (client fault)
63
+ * <p>User does not have sufficient access to perform this action.</p>
64
+ *
65
+ * @throws {@link InternalServerException} (server fault)
66
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
67
+ *
68
+ * @throws {@link ResourceNotFoundException} (client fault)
69
+ * <p>The requested resource was not found.</p>
70
+ *
71
+ * @throws {@link ThrottlingException} (client fault)
72
+ * <p>Request was denied due to request throttling.</p>
73
+ *
74
+ * @throws {@link ValidationException} (client fault)
75
+ * <p>The user input is not valid.</p>
76
+ *
77
+ * @throws {@link WellArchitectedServiceException}
78
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
79
+ *
80
+ */
81
+ export declare class ListProfileSharesCommand extends $Command<ListProfileSharesCommandInput, ListProfileSharesCommandOutput, WellArchitectedClientResolvedConfig> {
82
+ readonly input: ListProfileSharesCommandInput;
83
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
84
+ /**
85
+ * @public
86
+ */
87
+ constructor(input: ListProfileSharesCommandInput);
88
+ /**
89
+ * @internal
90
+ */
91
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListProfileSharesCommandInput, ListProfileSharesCommandOutput>;
92
+ /**
93
+ * @internal
94
+ */
95
+ private serialize;
96
+ /**
97
+ * @internal
98
+ */
99
+ private deserialize;
100
+ }
@@ -0,0 +1,99 @@
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 { ListProfilesInput, ListProfilesOutput } 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 ListProfilesCommand}.
14
+ */
15
+ export interface ListProfilesCommandInput extends ListProfilesInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListProfilesCommand}.
21
+ */
22
+ export interface ListProfilesCommandOutput extends ListProfilesOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>List profiles.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { WellArchitectedClient, ListProfilesCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
31
+ * // const { WellArchitectedClient, ListProfilesCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
32
+ * const client = new WellArchitectedClient(config);
33
+ * const input = { // ListProfilesInput
34
+ * ProfileNamePrefix: "STRING_VALUE",
35
+ * ProfileOwnerType: "SELF" || "SHARED",
36
+ * NextToken: "STRING_VALUE",
37
+ * MaxResults: Number("int"),
38
+ * };
39
+ * const command = new ListProfilesCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // ListProfilesOutput
42
+ * // ProfileSummaries: [ // ProfileSummaries
43
+ * // { // ProfileSummary
44
+ * // ProfileArn: "STRING_VALUE",
45
+ * // ProfileVersion: "STRING_VALUE",
46
+ * // ProfileName: "STRING_VALUE",
47
+ * // ProfileDescription: "STRING_VALUE",
48
+ * // Owner: "STRING_VALUE",
49
+ * // CreatedAt: new Date("TIMESTAMP"),
50
+ * // UpdatedAt: new Date("TIMESTAMP"),
51
+ * // },
52
+ * // ],
53
+ * // NextToken: "STRING_VALUE",
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param ListProfilesCommandInput - {@link ListProfilesCommandInput}
59
+ * @returns {@link ListProfilesCommandOutput}
60
+ * @see {@link ListProfilesCommandInput} for command's `input` shape.
61
+ * @see {@link ListProfilesCommandOutput} 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 InternalServerException} (server fault)
68
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
69
+ *
70
+ * @throws {@link ThrottlingException} (client fault)
71
+ * <p>Request was denied due to request throttling.</p>
72
+ *
73
+ * @throws {@link ValidationException} (client fault)
74
+ * <p>The user input is not valid.</p>
75
+ *
76
+ * @throws {@link WellArchitectedServiceException}
77
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
78
+ *
79
+ */
80
+ export declare class ListProfilesCommand extends $Command<ListProfilesCommandInput, ListProfilesCommandOutput, WellArchitectedClientResolvedConfig> {
81
+ readonly input: ListProfilesCommandInput;
82
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
83
+ /**
84
+ * @public
85
+ */
86
+ constructor(input: ListProfilesCommandInput);
87
+ /**
88
+ * @internal
89
+ */
90
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListProfilesCommandInput, ListProfilesCommandOutput>;
91
+ /**
92
+ * @internal
93
+ */
94
+ private serialize;
95
+ /**
96
+ * @internal
97
+ */
98
+ private deserialize;
99
+ }
@@ -33,9 +33,10 @@ export interface ListShareInvitationsCommandOutput extends ListShareInvitationsO
33
33
  * const input = { // ListShareInvitationsInput
34
34
  * WorkloadNamePrefix: "STRING_VALUE",
35
35
  * LensNamePrefix: "STRING_VALUE",
36
- * ShareResourceType: "WORKLOAD" || "LENS",
36
+ * ShareResourceType: "WORKLOAD" || "LENS" || "PROFILE",
37
37
  * NextToken: "STRING_VALUE",
38
38
  * MaxResults: Number("int"),
39
+ * ProfileNamePrefix: "STRING_VALUE",
39
40
  * };
40
41
  * const command = new ListShareInvitationsCommand(input);
41
42
  * const response = await client.send(command);
@@ -46,11 +47,13 @@ export interface ListShareInvitationsCommandOutput extends ListShareInvitationsO
46
47
  * // SharedBy: "STRING_VALUE",
47
48
  * // SharedWith: "STRING_VALUE",
48
49
  * // PermissionType: "READONLY" || "CONTRIBUTOR",
49
- * // ShareResourceType: "WORKLOAD" || "LENS",
50
+ * // ShareResourceType: "WORKLOAD" || "LENS" || "PROFILE",
50
51
  * // WorkloadName: "STRING_VALUE",
51
52
  * // WorkloadId: "STRING_VALUE",
52
53
  * // LensName: "STRING_VALUE",
53
54
  * // LensArn: "STRING_VALUE",
55
+ * // ProfileName: "STRING_VALUE",
56
+ * // ProfileArn: "STRING_VALUE",
54
57
  * // },
55
58
  * // ],
56
59
  * // NextToken: "STRING_VALUE",
@@ -25,7 +25,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
25
25
  * @public
26
26
  * <p>List the tags for a resource.</p>
27
27
  * <note>
28
- * <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p>
28
+ * <p>The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.</p>
29
29
  * </note>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -52,6 +52,15 @@ export interface ListWorkloadsCommandOutput extends ListWorkloadsOutput, __Metad
52
52
  * // "<keys>": Number("int"),
53
53
  * // },
54
54
  * // ImprovementStatus: "NOT_APPLICABLE" || "NOT_STARTED" || "IN_PROGRESS" || "COMPLETE" || "RISK_ACKNOWLEDGED",
55
+ * // Profiles: [ // WorkloadProfiles
56
+ * // { // WorkloadProfile
57
+ * // ProfileArn: "STRING_VALUE",
58
+ * // ProfileVersion: "STRING_VALUE",
59
+ * // },
60
+ * // ],
61
+ * // PrioritizedRiskCounts: {
62
+ * // "<keys>": Number("int"),
63
+ * // },
55
64
  * // },
56
65
  * // ],
57
66
  * // NextToken: "STRING_VALUE",
@@ -25,7 +25,7 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
25
25
  * @public
26
26
  * <p>Adds one or more tags to the specified resource.</p>
27
27
  * <note>
28
- * <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p>
28
+ * <p>The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.</p>
29
29
  * </note>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -25,7 +25,7 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
25
25
  * @public
26
26
  * <p>Deletes specified tags from a resource.</p>
27
27
  * <note>
28
- * <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p>
28
+ * <p>The WorkloadArn parameter can be a workload ARN, a custom lens ARN, or a profile ARN.</p>
29
29
  * </note>
30
30
  * <p>To specify multiple tags, use separate <b>tagKeys</b> parameters, for example:</p>
31
31
  * <p>
@@ -56,6 +56,9 @@ export interface UpdateLensReviewCommandOutput extends UpdateLensReviewOutput, _
56
56
  * // RiskCounts: { // RiskCounts
57
57
  * // "<keys>": Number("int"),
58
58
  * // },
59
+ * // PrioritizedRiskCounts: {
60
+ * // "<keys>": Number("int"),
61
+ * // },
59
62
  * // },
60
63
  * // ],
61
64
  * // UpdatedAt: new Date("TIMESTAMP"),
@@ -64,6 +67,15 @@ export interface UpdateLensReviewCommandOutput extends UpdateLensReviewOutput, _
64
67
  * // "<keys>": Number("int"),
65
68
  * // },
66
69
  * // NextToken: "STRING_VALUE",
70
+ * // Profiles: [ // WorkloadProfiles
71
+ * // { // WorkloadProfile
72
+ * // ProfileArn: "STRING_VALUE",
73
+ * // ProfileVersion: "STRING_VALUE",
74
+ * // },
75
+ * // ],
76
+ * // PrioritizedRiskCounts: {
77
+ * // "<keys>": Number("int"),
78
+ * // },
67
79
  * // },
68
80
  * // };
69
81
  *
@@ -0,0 +1,131 @@
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 { UpdateProfileInput, UpdateProfileOutput } 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 UpdateProfileCommand}.
14
+ */
15
+ export interface UpdateProfileCommandInput extends UpdateProfileInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateProfileCommand}.
21
+ */
22
+ export interface UpdateProfileCommandOutput extends UpdateProfileOutput, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Update 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, UpdateProfileCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
31
+ * // const { WellArchitectedClient, UpdateProfileCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
32
+ * const client = new WellArchitectedClient(config);
33
+ * const input = { // UpdateProfileInput
34
+ * ProfileArn: "STRING_VALUE", // required
35
+ * ProfileDescription: "STRING_VALUE",
36
+ * ProfileQuestions: [ // ProfileQuestionUpdates
37
+ * { // ProfileQuestionUpdate
38
+ * QuestionId: "STRING_VALUE",
39
+ * SelectedChoiceIds: [ // SelectedProfileChoiceIds
40
+ * "STRING_VALUE",
41
+ * ],
42
+ * },
43
+ * ],
44
+ * };
45
+ * const command = new UpdateProfileCommand(input);
46
+ * const response = await client.send(command);
47
+ * // { // UpdateProfileOutput
48
+ * // Profile: { // Profile
49
+ * // ProfileArn: "STRING_VALUE",
50
+ * // ProfileVersion: "STRING_VALUE",
51
+ * // ProfileName: "STRING_VALUE",
52
+ * // ProfileDescription: "STRING_VALUE",
53
+ * // ProfileQuestions: [ // ProfileQuestions
54
+ * // { // ProfileQuestion
55
+ * // QuestionId: "STRING_VALUE",
56
+ * // QuestionTitle: "STRING_VALUE",
57
+ * // QuestionDescription: "STRING_VALUE",
58
+ * // QuestionChoices: [ // ProfileQuestionChoices
59
+ * // { // ProfileChoice
60
+ * // ChoiceId: "STRING_VALUE",
61
+ * // ChoiceTitle: "STRING_VALUE",
62
+ * // ChoiceDescription: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // SelectedChoiceIds: [ // SelectedChoiceIds
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // MinSelectedChoices: Number("int"),
69
+ * // MaxSelectedChoices: Number("int"),
70
+ * // },
71
+ * // ],
72
+ * // Owner: "STRING_VALUE",
73
+ * // CreatedAt: new Date("TIMESTAMP"),
74
+ * // UpdatedAt: new Date("TIMESTAMP"),
75
+ * // ShareInvitationId: "STRING_VALUE",
76
+ * // Tags: { // TagMap
77
+ * // "<keys>": "STRING_VALUE",
78
+ * // },
79
+ * // },
80
+ * // };
81
+ *
82
+ * ```
83
+ *
84
+ * @param UpdateProfileCommandInput - {@link UpdateProfileCommandInput}
85
+ * @returns {@link UpdateProfileCommandOutput}
86
+ * @see {@link UpdateProfileCommandInput} for command's `input` shape.
87
+ * @see {@link UpdateProfileCommandOutput} for command's `response` shape.
88
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
89
+ *
90
+ * @throws {@link AccessDeniedException} (client fault)
91
+ * <p>User does not have sufficient access to perform this action.</p>
92
+ *
93
+ * @throws {@link ConflictException} (client fault)
94
+ * <p>The resource has already been processed, was deleted, or is too large.</p>
95
+ *
96
+ * @throws {@link InternalServerException} (server fault)
97
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
98
+ *
99
+ * @throws {@link ResourceNotFoundException} (client fault)
100
+ * <p>The requested resource was not found.</p>
101
+ *
102
+ * @throws {@link ThrottlingException} (client fault)
103
+ * <p>Request was denied due to request throttling.</p>
104
+ *
105
+ * @throws {@link ValidationException} (client fault)
106
+ * <p>The user input is not valid.</p>
107
+ *
108
+ * @throws {@link WellArchitectedServiceException}
109
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
110
+ *
111
+ */
112
+ export declare class UpdateProfileCommand extends $Command<UpdateProfileCommandInput, UpdateProfileCommandOutput, WellArchitectedClientResolvedConfig> {
113
+ readonly input: UpdateProfileCommandInput;
114
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
115
+ /**
116
+ * @public
117
+ */
118
+ constructor(input: UpdateProfileCommandInput);
119
+ /**
120
+ * @internal
121
+ */
122
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateProfileCommandInput, UpdateProfileCommandOutput>;
123
+ /**
124
+ * @internal
125
+ */
126
+ private serialize;
127
+ /**
128
+ * @internal
129
+ */
130
+ private deserialize;
131
+ }
@@ -42,10 +42,11 @@ export interface UpdateShareInvitationCommandOutput extends UpdateShareInvitatio
42
42
  * // { // UpdateShareInvitationOutput
43
43
  * // ShareInvitation: { // ShareInvitation
44
44
  * // ShareInvitationId: "STRING_VALUE",
45
- * // ShareResourceType: "WORKLOAD" || "LENS",
45
+ * // ShareResourceType: "WORKLOAD" || "LENS" || "PROFILE",
46
46
  * // WorkloadId: "STRING_VALUE",
47
47
  * // LensAlias: "STRING_VALUE",
48
48
  * // LensArn: "STRING_VALUE",
49
+ * // ProfileArn: "STRING_VALUE",
49
50
  * // },
50
51
  * // };
51
52
  *
@@ -114,6 +114,15 @@ export interface UpdateWorkloadCommandOutput extends UpdateWorkloadOutput, __Met
114
114
  * // Applications: [ // WorkloadApplications
115
115
  * // "STRING_VALUE",
116
116
  * // ],
117
+ * // Profiles: [ // WorkloadProfiles
118
+ * // { // WorkloadProfile
119
+ * // ProfileArn: "STRING_VALUE",
120
+ * // ProfileVersion: "STRING_VALUE",
121
+ * // },
122
+ * // ],
123
+ * // PrioritizedRiskCounts: {
124
+ * // "<keys>": Number("int"),
125
+ * // },
117
126
  * // },
118
127
  * // };
119
128
  *
@@ -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 { UpgradeProfileVersionInput } 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 UpgradeProfileVersionCommand}.
14
+ */
15
+ export interface UpgradeProfileVersionCommandInput extends UpgradeProfileVersionInput {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpgradeProfileVersionCommand}.
21
+ */
22
+ export interface UpgradeProfileVersionCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Upgrade 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, UpgradeProfileVersionCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
31
+ * // const { WellArchitectedClient, UpgradeProfileVersionCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
32
+ * const client = new WellArchitectedClient(config);
33
+ * const input = { // UpgradeProfileVersionInput
34
+ * WorkloadId: "STRING_VALUE", // required
35
+ * ProfileArn: "STRING_VALUE", // required
36
+ * MilestoneName: "STRING_VALUE",
37
+ * ClientRequestToken: "STRING_VALUE",
38
+ * };
39
+ * const command = new UpgradeProfileVersionCommand(input);
40
+ * const response = await client.send(command);
41
+ * // {};
42
+ *
43
+ * ```
44
+ *
45
+ * @param UpgradeProfileVersionCommandInput - {@link UpgradeProfileVersionCommandInput}
46
+ * @returns {@link UpgradeProfileVersionCommandOutput}
47
+ * @see {@link UpgradeProfileVersionCommandInput} for command's `input` shape.
48
+ * @see {@link UpgradeProfileVersionCommandOutput} 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 UpgradeProfileVersionCommand extends $Command<UpgradeProfileVersionCommandInput, UpgradeProfileVersionCommandOutput, WellArchitectedClientResolvedConfig> {
74
+ readonly input: UpgradeProfileVersionCommandInput;
75
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
+ /**
77
+ * @public
78
+ */
79
+ constructor(input: UpgradeProfileVersionCommandInput);
80
+ /**
81
+ * @internal
82
+ */
83
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpgradeProfileVersionCommandInput, UpgradeProfileVersionCommandOutput>;
84
+ /**
85
+ * @internal
86
+ */
87
+ private serialize;
88
+ /**
89
+ * @internal
90
+ */
91
+ private deserialize;
92
+ }