@aws-sdk/client-wellarchitected 3.1107.0 → 3.1109.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 (131) hide show
  1. package/README.md +162 -6
  2. package/dist-cjs/index.js +1125 -107
  3. package/dist-es/WellArchitected.js +58 -0
  4. package/dist-es/commands/CreateAgentContextCommand.js +4 -0
  5. package/dist-es/commands/CreateAgentGoalCommand.js +4 -0
  6. package/dist-es/commands/CreateAgentProfileCommand.js +4 -0
  7. package/dist-es/commands/DeleteAgentContextCommand.js +4 -0
  8. package/dist-es/commands/DeleteAgentGoalCommand.js +4 -0
  9. package/dist-es/commands/DeleteAgentProfileCommand.js +4 -0
  10. package/dist-es/commands/GetAgentContextCommand.js +4 -0
  11. package/dist-es/commands/GetAgentGoalCommand.js +4 -0
  12. package/dist-es/commands/GetAgentProfileCommand.js +4 -0
  13. package/dist-es/commands/GetAgentRecommendationCommand.js +4 -0
  14. package/dist-es/commands/GetAgentRecommendationGenerationCommand.js +4 -0
  15. package/dist-es/commands/ListAgentContextsCommand.js +4 -0
  16. package/dist-es/commands/ListAgentGoalsCommand.js +4 -0
  17. package/dist-es/commands/ListAgentProfilesCommand.js +4 -0
  18. package/dist-es/commands/ListAgentRecommendationGenerationsCommand.js +4 -0
  19. package/dist-es/commands/ListAgentRecommendationItemsCommand.js +4 -0
  20. package/dist-es/commands/ListAgentRecommendationsCommand.js +4 -0
  21. package/dist-es/commands/PutAgentRecommendationFeedbackCommand.js +4 -0
  22. package/dist-es/commands/StartAgentRecommendationGenerationCommand.js +4 -0
  23. package/dist-es/commands/UpdateAgentContextCommand.js +4 -0
  24. package/dist-es/commands/UpdateAgentGoalCommand.js +4 -0
  25. package/dist-es/commands/UpdateAgentProfileCommand.js +4 -0
  26. package/dist-es/commands/UpdateAgentRecommendationStatusCommand.js +4 -0
  27. package/dist-es/commands/index.js +23 -0
  28. package/dist-es/models/enums.js +92 -0
  29. package/dist-es/pagination/ListAgentContextsPaginator.js +4 -0
  30. package/dist-es/pagination/ListAgentGoalsPaginator.js +4 -0
  31. package/dist-es/pagination/ListAgentProfilesPaginator.js +4 -0
  32. package/dist-es/pagination/ListAgentRecommendationGenerationsPaginator.js +4 -0
  33. package/dist-es/pagination/ListAgentRecommendationItemsPaginator.js +4 -0
  34. package/dist-es/pagination/ListAgentRecommendationsPaginator.js +4 -0
  35. package/dist-es/pagination/index.js +6 -0
  36. package/dist-es/schemas/schemas_0.js +799 -106
  37. package/dist-types/WellArchitected.d.ts +205 -6
  38. package/dist-types/WellArchitectedClient.d.ts +26 -8
  39. package/dist-types/commands/AssociateLensesCommand.d.ts +1 -11
  40. package/dist-types/commands/CreateAgentContextCommand.d.ts +158 -0
  41. package/dist-types/commands/CreateAgentGoalCommand.d.ts +110 -0
  42. package/dist-types/commands/CreateAgentProfileCommand.d.ts +146 -0
  43. package/dist-types/commands/CreateLensShareCommand.d.ts +1 -21
  44. package/dist-types/commands/CreateLensVersionCommand.d.ts +1 -7
  45. package/dist-types/commands/CreateReviewTemplateCommand.d.ts +1 -12
  46. package/dist-types/commands/CreateTemplateShareCommand.d.ts +1 -15
  47. package/dist-types/commands/CreateWorkloadCommand.d.ts +1 -36
  48. package/dist-types/commands/CreateWorkloadShareCommand.d.ts +1 -8
  49. package/dist-types/commands/DeleteAgentContextCommand.d.ts +85 -0
  50. package/dist-types/commands/DeleteAgentGoalCommand.d.ts +85 -0
  51. package/dist-types/commands/DeleteAgentProfileCommand.d.ts +87 -0
  52. package/dist-types/commands/DeleteLensCommand.d.ts +1 -15
  53. package/dist-types/commands/DeleteLensShareCommand.d.ts +1 -15
  54. package/dist-types/commands/DeleteProfileCommand.d.ts +1 -12
  55. package/dist-types/commands/DeleteReviewTemplateCommand.d.ts +1 -5
  56. package/dist-types/commands/DeleteTemplateShareCommand.d.ts +1 -4
  57. package/dist-types/commands/DisassociateLensesCommand.d.ts +1 -6
  58. package/dist-types/commands/ExportLensCommand.d.ts +1 -16
  59. package/dist-types/commands/GetAgentContextCommand.d.ts +124 -0
  60. package/dist-types/commands/GetAgentGoalCommand.d.ts +99 -0
  61. package/dist-types/commands/GetAgentProfileCommand.d.ts +119 -0
  62. package/dist-types/commands/GetAgentRecommendationCommand.d.ts +188 -0
  63. package/dist-types/commands/GetAgentRecommendationGenerationCommand.d.ts +123 -0
  64. package/dist-types/commands/GetConsolidatedReportCommand.d.ts +1 -2
  65. package/dist-types/commands/ImportLensCommand.d.ts +1 -20
  66. package/dist-types/commands/ListAgentContextsCommand.d.ts +125 -0
  67. package/dist-types/commands/ListAgentGoalsCommand.d.ts +100 -0
  68. package/dist-types/commands/ListAgentProfilesCommand.d.ts +122 -0
  69. package/dist-types/commands/ListAgentRecommendationGenerationsCommand.d.ts +102 -0
  70. package/dist-types/commands/ListAgentRecommendationItemsCommand.d.ts +101 -0
  71. package/dist-types/commands/ListAgentRecommendationsCommand.d.ts +124 -0
  72. package/dist-types/commands/ListShareInvitationsCommand.d.ts +1 -5
  73. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -4
  74. package/dist-types/commands/PutAgentRecommendationFeedbackCommand.d.ts +87 -0
  75. package/dist-types/commands/StartAgentRecommendationGenerationCommand.d.ts +118 -0
  76. package/dist-types/commands/TagResourceCommand.d.ts +1 -4
  77. package/dist-types/commands/UntagResourceCommand.d.ts +1 -8
  78. package/dist-types/commands/UpdateAgentContextCommand.d.ts +152 -0
  79. package/dist-types/commands/UpdateAgentGoalCommand.d.ts +105 -0
  80. package/dist-types/commands/UpdateAgentProfileCommand.d.ts +137 -0
  81. package/dist-types/commands/UpdateAgentRecommendationStatusCommand.d.ts +86 -0
  82. package/dist-types/commands/UpdateShareInvitationCommand.d.ts +1 -4
  83. package/dist-types/commands/index.d.ts +23 -0
  84. package/dist-types/index.d.ts +1 -6
  85. package/dist-types/models/enums.d.ts +228 -0
  86. package/dist-types/models/models_0.d.ts +2830 -1786
  87. package/dist-types/pagination/ListAgentContextsPaginator.d.ts +7 -0
  88. package/dist-types/pagination/ListAgentGoalsPaginator.d.ts +7 -0
  89. package/dist-types/pagination/ListAgentProfilesPaginator.d.ts +7 -0
  90. package/dist-types/pagination/ListAgentRecommendationGenerationsPaginator.d.ts +7 -0
  91. package/dist-types/pagination/ListAgentRecommendationItemsPaginator.d.ts +7 -0
  92. package/dist-types/pagination/ListAgentRecommendationsPaginator.d.ts +7 -0
  93. package/dist-types/pagination/index.d.ts +6 -0
  94. package/dist-types/schemas/schemas_0.d.ts +92 -0
  95. package/dist-types/ts3.4/WellArchitected.d.ts +434 -0
  96. package/dist-types/ts3.4/WellArchitectedClient.d.ts +138 -0
  97. package/dist-types/ts3.4/commands/CreateAgentContextCommand.d.ts +39 -0
  98. package/dist-types/ts3.4/commands/CreateAgentGoalCommand.d.ts +38 -0
  99. package/dist-types/ts3.4/commands/CreateAgentProfileCommand.d.ts +39 -0
  100. package/dist-types/ts3.4/commands/DeleteAgentContextCommand.d.ts +39 -0
  101. package/dist-types/ts3.4/commands/DeleteAgentGoalCommand.d.ts +38 -0
  102. package/dist-types/ts3.4/commands/DeleteAgentProfileCommand.d.ts +39 -0
  103. package/dist-types/ts3.4/commands/GetAgentContextCommand.d.ts +38 -0
  104. package/dist-types/ts3.4/commands/GetAgentGoalCommand.d.ts +38 -0
  105. package/dist-types/ts3.4/commands/GetAgentProfileCommand.d.ts +38 -0
  106. package/dist-types/ts3.4/commands/GetAgentRecommendationCommand.d.ts +39 -0
  107. package/dist-types/ts3.4/commands/GetAgentRecommendationGenerationCommand.d.ts +42 -0
  108. package/dist-types/ts3.4/commands/ListAgentContextsCommand.d.ts +39 -0
  109. package/dist-types/ts3.4/commands/ListAgentGoalsCommand.d.ts +38 -0
  110. package/dist-types/ts3.4/commands/ListAgentProfilesCommand.d.ts +39 -0
  111. package/dist-types/ts3.4/commands/ListAgentRecommendationGenerationsCommand.d.ts +42 -0
  112. package/dist-types/ts3.4/commands/ListAgentRecommendationItemsCommand.d.ts +42 -0
  113. package/dist-types/ts3.4/commands/ListAgentRecommendationsCommand.d.ts +42 -0
  114. package/dist-types/ts3.4/commands/PutAgentRecommendationFeedbackCommand.d.ts +42 -0
  115. package/dist-types/ts3.4/commands/StartAgentRecommendationGenerationCommand.d.ts +42 -0
  116. package/dist-types/ts3.4/commands/UpdateAgentContextCommand.d.ts +39 -0
  117. package/dist-types/ts3.4/commands/UpdateAgentGoalCommand.d.ts +38 -0
  118. package/dist-types/ts3.4/commands/UpdateAgentProfileCommand.d.ts +39 -0
  119. package/dist-types/ts3.4/commands/UpdateAgentRecommendationStatusCommand.d.ts +42 -0
  120. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  121. package/dist-types/ts3.4/models/enums.d.ts +111 -0
  122. package/dist-types/ts3.4/models/models_0.d.ts +494 -0
  123. package/dist-types/ts3.4/pagination/ListAgentContextsPaginator.d.ts +11 -0
  124. package/dist-types/ts3.4/pagination/ListAgentGoalsPaginator.d.ts +11 -0
  125. package/dist-types/ts3.4/pagination/ListAgentProfilesPaginator.d.ts +11 -0
  126. package/dist-types/ts3.4/pagination/ListAgentRecommendationGenerationsPaginator.d.ts +11 -0
  127. package/dist-types/ts3.4/pagination/ListAgentRecommendationItemsPaginator.d.ts +11 -0
  128. package/dist-types/ts3.4/pagination/ListAgentRecommendationsPaginator.d.ts +11 -0
  129. package/dist-types/ts3.4/pagination/index.d.ts +6 -0
  130. package/dist-types/ts3.4/schemas/schemas_0.d.ts +92 -0
  131. package/package.json +6 -6
@@ -0,0 +1,122 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListAgentProfilesRequest, ListAgentProfilesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListAgentProfilesCommand}.
11
+ */
12
+ export interface ListAgentProfilesCommandInput extends ListAgentProfilesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListAgentProfilesCommand}.
18
+ */
19
+ export interface ListAgentProfilesCommandOutput extends ListAgentProfilesResponse, __MetadataBearer {
20
+ }
21
+ declare const ListAgentProfilesCommand_base: {
22
+ new (input: ListAgentProfilesCommandInput): import("@smithy/core/client").CommandImpl<ListAgentProfilesCommandInput, ListAgentProfilesCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListAgentProfilesCommandInput]): import("@smithy/core/client").CommandImpl<ListAgentProfilesCommandInput, ListAgentProfilesCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists optimization profiles in your account. Profiles define the scope and configuration for generating optimization recommendations.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, ListAgentProfilesCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, ListAgentProfilesCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
33
+ * // import type { WellArchitectedClientConfig } from "@aws-sdk/client-wellarchitected";
34
+ * const config = {}; // type is WellArchitectedClientConfig
35
+ * const client = new WellArchitectedClient(config);
36
+ * const input = { // ListAgentProfilesRequest
37
+ * maxResults: Number("int"),
38
+ * nextToken: "STRING_VALUE",
39
+ * };
40
+ * const command = new ListAgentProfilesCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // ListAgentProfilesResponse
43
+ * // items: [ // AgentProfileSummaries // required
44
+ * // { // AgentProfileSummary
45
+ * // name: "STRING_VALUE", // required
46
+ * // displayName: "STRING_VALUE",
47
+ * // description: "STRING_VALUE",
48
+ * // businessOverview: "STRING_VALUE",
49
+ * // pillars: [ // Pillars // required
50
+ * // "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
51
+ * // ],
52
+ * // deletionProtection: true || false,
53
+ * // executionRoleArn: "STRING_VALUE", // required
54
+ * // aggregationConfiguration: [ // AggregationConfigurations // required
55
+ * // { // AggregationConfiguration
56
+ * // accountId: "STRING_VALUE", // required
57
+ * // regions: [ // Regions // required
58
+ * // "STRING_VALUE",
59
+ * // ],
60
+ * // accessRoleArn: "STRING_VALUE", // required
61
+ * // },
62
+ * // ],
63
+ * // arn: "STRING_VALUE", // required
64
+ * // eligibleForScheduledGeneration: true || false,
65
+ * // eligibleForArchitectureGeneration: true || false,
66
+ * // fieldErrors: { // FieldErrors
67
+ * // "<keys>": "STRING_VALUE",
68
+ * // },
69
+ * // tags: [ // Tags
70
+ * // { // Tag
71
+ * // key: "STRING_VALUE", // required
72
+ * // value: "STRING_VALUE", // required
73
+ * // },
74
+ * // ],
75
+ * // createdBy: "STRING_VALUE", // required
76
+ * // createdAt: new Date("TIMESTAMP"), // required
77
+ * // lastModifiedBy: "STRING_VALUE",
78
+ * // lastModifiedAt: new Date("TIMESTAMP"),
79
+ * // },
80
+ * // ],
81
+ * // nextToken: "STRING_VALUE",
82
+ * // };
83
+ *
84
+ * ```
85
+ *
86
+ * @param ListAgentProfilesCommandInput - {@link ListAgentProfilesCommandInput}
87
+ * @returns {@link ListAgentProfilesCommandOutput}
88
+ * @see {@link ListAgentProfilesCommandInput} for command's `input` shape.
89
+ * @see {@link ListAgentProfilesCommandOutput} for command's `response` shape.
90
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
91
+ *
92
+ * @throws {@link AccessDeniedException} (client fault)
93
+ * <p>User does not have sufficient access to perform this action.</p>
94
+ *
95
+ * @throws {@link InternalServerException} (server fault)
96
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
97
+ *
98
+ * @throws {@link ThrottlingException} (client fault)
99
+ * <p>Request was denied due to request throttling.</p>
100
+ *
101
+ * @throws {@link ValidationException} (client fault)
102
+ * <p>The user input is not valid.</p>
103
+ *
104
+ * @throws {@link WellArchitectedServiceException}
105
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
106
+ *
107
+ *
108
+ * @public
109
+ */
110
+ export declare class ListAgentProfilesCommand extends ListAgentProfilesCommand_base {
111
+ /** @internal type navigation helper, not in runtime. */
112
+ protected static __types: {
113
+ api: {
114
+ input: ListAgentProfilesRequest;
115
+ output: ListAgentProfilesResponse;
116
+ };
117
+ sdk: {
118
+ input: ListAgentProfilesCommandInput;
119
+ output: ListAgentProfilesCommandOutput;
120
+ };
121
+ };
122
+ }
@@ -0,0 +1,102 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListAgentRecommendationGenerationsRequest, ListAgentRecommendationGenerationsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListAgentRecommendationGenerationsCommand}.
11
+ */
12
+ export interface ListAgentRecommendationGenerationsCommandInput extends ListAgentRecommendationGenerationsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListAgentRecommendationGenerationsCommand}.
18
+ */
19
+ export interface ListAgentRecommendationGenerationsCommandOutput extends ListAgentRecommendationGenerationsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListAgentRecommendationGenerationsCommand_base: {
22
+ new (input: ListAgentRecommendationGenerationsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentRecommendationGenerationsCommandInput, ListAgentRecommendationGenerationsCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListAgentRecommendationGenerationsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentRecommendationGenerationsCommandInput, ListAgentRecommendationGenerationsCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists recommendation generation processes for a specified profile.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, ListAgentRecommendationGenerationsCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, ListAgentRecommendationGenerationsCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
33
+ * // import type { WellArchitectedClientConfig } from "@aws-sdk/client-wellarchitected";
34
+ * const config = {}; // type is WellArchitectedClientConfig
35
+ * const client = new WellArchitectedClient(config);
36
+ * const input = { // ListAgentRecommendationGenerationsRequest
37
+ * profileArn: "STRING_VALUE", // required
38
+ * recommendationType: "RESOURCE" || "ARCHITECTURE" || "APPLICATION",
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListAgentRecommendationGenerationsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListAgentRecommendationGenerationsResponse
45
+ * // items: [ // AgentRecommendationGenerationSummaries // required
46
+ * // { // AgentRecommendationGenerationSummary
47
+ * // id: "STRING_VALUE", // required
48
+ * // profileArn: "STRING_VALUE", // required
49
+ * // name: "STRING_VALUE",
50
+ * // status: "QUEUED" || "IN_PROGRESS" || "COMPLETED" || "ERROR", // required
51
+ * // estimatedCompletionTime: new Date("TIMESTAMP"),
52
+ * // createdBy: "STRING_VALUE", // required
53
+ * // createdAt: new Date("TIMESTAMP"), // required
54
+ * // lastModifiedBy: "STRING_VALUE",
55
+ * // lastModifiedAt: new Date("TIMESTAMP"),
56
+ * // },
57
+ * // ],
58
+ * // nextToken: "STRING_VALUE",
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListAgentRecommendationGenerationsCommandInput - {@link ListAgentRecommendationGenerationsCommandInput}
64
+ * @returns {@link ListAgentRecommendationGenerationsCommandOutput}
65
+ * @see {@link ListAgentRecommendationGenerationsCommandInput} for command's `input` shape.
66
+ * @see {@link ListAgentRecommendationGenerationsCommandOutput} for command's `response` shape.
67
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDeniedException} (client fault)
70
+ * <p>User does not have sufficient access to perform this action.</p>
71
+ *
72
+ * @throws {@link InternalServerException} (server fault)
73
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
74
+ *
75
+ * @throws {@link ResourceNotFoundException} (client fault)
76
+ * <p>The requested resource was not found.</p>
77
+ *
78
+ * @throws {@link ThrottlingException} (client fault)
79
+ * <p>Request was denied due to request throttling.</p>
80
+ *
81
+ * @throws {@link ValidationException} (client fault)
82
+ * <p>The user input is not valid.</p>
83
+ *
84
+ * @throws {@link WellArchitectedServiceException}
85
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
86
+ *
87
+ *
88
+ * @public
89
+ */
90
+ export declare class ListAgentRecommendationGenerationsCommand extends ListAgentRecommendationGenerationsCommand_base {
91
+ /** @internal type navigation helper, not in runtime. */
92
+ protected static __types: {
93
+ api: {
94
+ input: ListAgentRecommendationGenerationsRequest;
95
+ output: ListAgentRecommendationGenerationsResponse;
96
+ };
97
+ sdk: {
98
+ input: ListAgentRecommendationGenerationsCommandInput;
99
+ output: ListAgentRecommendationGenerationsCommandOutput;
100
+ };
101
+ };
102
+ }
@@ -0,0 +1,101 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListAgentRecommendationItemsRequest, ListAgentRecommendationItemsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListAgentRecommendationItemsCommand}.
11
+ */
12
+ export interface ListAgentRecommendationItemsCommandInput extends ListAgentRecommendationItemsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListAgentRecommendationItemsCommand}.
18
+ */
19
+ export interface ListAgentRecommendationItemsCommandOutput extends ListAgentRecommendationItemsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListAgentRecommendationItemsCommand_base: {
22
+ new (input: ListAgentRecommendationItemsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentRecommendationItemsCommandInput, ListAgentRecommendationItemsCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListAgentRecommendationItemsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentRecommendationItemsCommandInput, ListAgentRecommendationItemsCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists recommendation items for a specific recommendation. Recommendation items provide detailed information about individual optimization opportunities.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, ListAgentRecommendationItemsCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, ListAgentRecommendationItemsCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
33
+ * // import type { WellArchitectedClientConfig } from "@aws-sdk/client-wellarchitected";
34
+ * const config = {}; // type is WellArchitectedClientConfig
35
+ * const client = new WellArchitectedClient(config);
36
+ * const input = { // ListAgentRecommendationItemsRequest
37
+ * recommendationArn: "STRING_VALUE", // required
38
+ * type: "AWS_RESOURCE" || "RECOMMENDATION",
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * };
42
+ * const command = new ListAgentRecommendationItemsCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListAgentRecommendationItemsResponse
45
+ * // items: [ // AgentRecommendationItemSummaries // required
46
+ * // { // AgentRecommendationItemSummary
47
+ * // id: "STRING_VALUE", // required
48
+ * // recommendationArn: "STRING_VALUE", // required
49
+ * // type: "AWS_RESOURCE" || "RECOMMENDATION", // required
50
+ * // metadata: "DOCUMENT_VALUE", // required
51
+ * // createdBy: "STRING_VALUE", // required
52
+ * // createdAt: new Date("TIMESTAMP"), // required
53
+ * // lastModifiedBy: "STRING_VALUE",
54
+ * // lastModifiedAt: new Date("TIMESTAMP"),
55
+ * // },
56
+ * // ],
57
+ * // nextToken: "STRING_VALUE",
58
+ * // };
59
+ *
60
+ * ```
61
+ *
62
+ * @param ListAgentRecommendationItemsCommandInput - {@link ListAgentRecommendationItemsCommandInput}
63
+ * @returns {@link ListAgentRecommendationItemsCommandOutput}
64
+ * @see {@link ListAgentRecommendationItemsCommandInput} for command's `input` shape.
65
+ * @see {@link ListAgentRecommendationItemsCommandOutput} for command's `response` shape.
66
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
67
+ *
68
+ * @throws {@link AccessDeniedException} (client fault)
69
+ * <p>User does not have sufficient access to perform this action.</p>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
73
+ *
74
+ * @throws {@link ResourceNotFoundException} (client fault)
75
+ * <p>The requested resource was not found.</p>
76
+ *
77
+ * @throws {@link ThrottlingException} (client fault)
78
+ * <p>Request was denied due to request throttling.</p>
79
+ *
80
+ * @throws {@link ValidationException} (client fault)
81
+ * <p>The user input is not valid.</p>
82
+ *
83
+ * @throws {@link WellArchitectedServiceException}
84
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
85
+ *
86
+ *
87
+ * @public
88
+ */
89
+ export declare class ListAgentRecommendationItemsCommand extends ListAgentRecommendationItemsCommand_base {
90
+ /** @internal type navigation helper, not in runtime. */
91
+ protected static __types: {
92
+ api: {
93
+ input: ListAgentRecommendationItemsRequest;
94
+ output: ListAgentRecommendationItemsResponse;
95
+ };
96
+ sdk: {
97
+ input: ListAgentRecommendationItemsCommandInput;
98
+ output: ListAgentRecommendationItemsCommandOutput;
99
+ };
100
+ };
101
+ }
@@ -0,0 +1,124 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListAgentRecommendationsRequest, ListAgentRecommendationsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListAgentRecommendationsCommand}.
11
+ */
12
+ export interface ListAgentRecommendationsCommandInput extends ListAgentRecommendationsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListAgentRecommendationsCommand}.
18
+ */
19
+ export interface ListAgentRecommendationsCommandOutput extends ListAgentRecommendationsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListAgentRecommendationsCommand_base: {
22
+ new (input: ListAgentRecommendationsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentRecommendationsCommandInput, ListAgentRecommendationsCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ListAgentRecommendationsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentRecommendationsCommandInput, ListAgentRecommendationsCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists active optimization recommendations for a specified profile with optional filtering by state.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, ListAgentRecommendationsCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, ListAgentRecommendationsCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
33
+ * // import type { WellArchitectedClientConfig } from "@aws-sdk/client-wellarchitected";
34
+ * const config = {}; // type is WellArchitectedClientConfig
35
+ * const client = new WellArchitectedClient(config);
36
+ * const input = { // ListAgentRecommendationsRequest
37
+ * profileArn: "STRING_VALUE", // required
38
+ * maxResults: Number("int"),
39
+ * nextToken: "STRING_VALUE",
40
+ * state: "OPEN" || "CLOSED",
41
+ * pillar: "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
42
+ * };
43
+ * const command = new ListAgentRecommendationsCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListAgentRecommendationsResponse
46
+ * // items: [ // AgentRecommendationSummaries // required
47
+ * // { // AgentRecommendationSummary
48
+ * // recommendationArn: "STRING_VALUE", // required
49
+ * // profileArn: "STRING_VALUE", // required
50
+ * // title: "STRING_VALUE", // required
51
+ * // description: "STRING_VALUE", // required
52
+ * // type: "RESOURCE" || "ARCHITECTURE" || "APPLICATION", // required
53
+ * // pillar: "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE", // required
54
+ * // priority: "HIGH" || "MEDIUM" || "LOW", // required
55
+ * // effort: "LARGE" || "MEDIUM" || "SMALL", // required
56
+ * // status: "ACTIVE" || "SUPPRESSED" || "COMPLETED", // required
57
+ * // state: "OPEN" || "CLOSED", // required
58
+ * // updateReason: "STRING_VALUE",
59
+ * // impact: "HIGH" || "MEDIUM" || "LOW", // required
60
+ * // roi: { // Roi
61
+ * // estimate: "STRING_VALUE",
62
+ * // detail: "STRING_VALUE", // required
63
+ * // },
64
+ * // numberOfResources: Number("int"),
65
+ * // awsServices: [ // StringList
66
+ * // "STRING_VALUE",
67
+ * // ],
68
+ * // businessUnits: [
69
+ * // "STRING_VALUE",
70
+ * // ],
71
+ * // applications: [
72
+ * // "STRING_VALUE",
73
+ * // ],
74
+ * // createdBy: "STRING_VALUE", // required
75
+ * // createdAt: new Date("TIMESTAMP"), // required
76
+ * // lastModifiedBy: "STRING_VALUE",
77
+ * // lastModifiedAt: new Date("TIMESTAMP"),
78
+ * // },
79
+ * // ],
80
+ * // nextToken: "STRING_VALUE",
81
+ * // };
82
+ *
83
+ * ```
84
+ *
85
+ * @param ListAgentRecommendationsCommandInput - {@link ListAgentRecommendationsCommandInput}
86
+ * @returns {@link ListAgentRecommendationsCommandOutput}
87
+ * @see {@link ListAgentRecommendationsCommandInput} for command's `input` shape.
88
+ * @see {@link ListAgentRecommendationsCommandOutput} for command's `response` shape.
89
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
90
+ *
91
+ * @throws {@link AccessDeniedException} (client fault)
92
+ * <p>User does not have sufficient access to perform this action.</p>
93
+ *
94
+ * @throws {@link InternalServerException} (server fault)
95
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
96
+ *
97
+ * @throws {@link ResourceNotFoundException} (client fault)
98
+ * <p>The requested resource was not found.</p>
99
+ *
100
+ * @throws {@link ThrottlingException} (client fault)
101
+ * <p>Request was denied due to request throttling.</p>
102
+ *
103
+ * @throws {@link ValidationException} (client fault)
104
+ * <p>The user input is not valid.</p>
105
+ *
106
+ * @throws {@link WellArchitectedServiceException}
107
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
108
+ *
109
+ *
110
+ * @public
111
+ */
112
+ export declare class ListAgentRecommendationsCommand extends ListAgentRecommendationsCommand_base {
113
+ /** @internal type navigation helper, not in runtime. */
114
+ protected static __types: {
115
+ api: {
116
+ input: ListAgentRecommendationsRequest;
117
+ output: ListAgentRecommendationsResponse;
118
+ };
119
+ sdk: {
120
+ input: ListAgentRecommendationsCommandInput;
121
+ output: ListAgentRecommendationsCommandOutput;
122
+ };
123
+ };
124
+ }
@@ -24,11 +24,7 @@ declare const ListShareInvitationsCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>List the share invitations.</p>
28
- * <p>
29
- * <code>WorkloadNamePrefix</code>, <code>LensNamePrefix</code>,
30
- * <code>ProfileNamePrefix</code>, and <code>TemplateNamePrefix</code> are mutually
31
- * exclusive. Use the parameter that matches your <code>ShareResourceType</code>.</p>
27
+ * <p>List the share invitations.</p> <p> <code>WorkloadNamePrefix</code>, <code>LensNamePrefix</code>, <code>ProfileNamePrefix</code>, and <code>TemplateNamePrefix</code> are mutually exclusive. Use the parameter that matches your <code>ShareResourceType</code>.</p>
32
28
  * @example
33
29
  * Use a bare-bones client and the command you need to make an API call.
34
30
  * ```javascript
@@ -24,10 +24,7 @@ declare const ListTagsForResourceCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>List the tags for a resource.</p>
28
- * <note>
29
- * <p>The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.</p>
30
- * </note>
27
+ * <p>List the tags for a resource.</p> <note> <p>The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.</p> </note>
31
28
  * @example
32
29
  * Use a bare-bones client and the command you need to make an API call.
33
30
  * ```javascript
@@ -0,0 +1,87 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { PutAgentRecommendationFeedbackRequest, PutAgentRecommendationFeedbackResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link PutAgentRecommendationFeedbackCommand}.
11
+ */
12
+ export interface PutAgentRecommendationFeedbackCommandInput extends PutAgentRecommendationFeedbackRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link PutAgentRecommendationFeedbackCommand}.
18
+ */
19
+ export interface PutAgentRecommendationFeedbackCommandOutput extends PutAgentRecommendationFeedbackResponse, __MetadataBearer {
20
+ }
21
+ declare const PutAgentRecommendationFeedbackCommand_base: {
22
+ new (input: PutAgentRecommendationFeedbackCommandInput): import("@smithy/core/client").CommandImpl<PutAgentRecommendationFeedbackCommandInput, PutAgentRecommendationFeedbackCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutAgentRecommendationFeedbackCommandInput): import("@smithy/core/client").CommandImpl<PutAgentRecommendationFeedbackCommandInput, PutAgentRecommendationFeedbackCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Submits user feedback on a recommendation to help improve future optimization suggestions and track implementation outcomes.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, PutAgentRecommendationFeedbackCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, PutAgentRecommendationFeedbackCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
33
+ * // import type { WellArchitectedClientConfig } from "@aws-sdk/client-wellarchitected";
34
+ * const config = {}; // type is WellArchitectedClientConfig
35
+ * const client = new WellArchitectedClient(config);
36
+ * const input = { // PutAgentRecommendationFeedbackRequest
37
+ * recommendationArn: "STRING_VALUE", // required
38
+ * type: "USEFUL" || "NOT_USEFUL", // required
39
+ * feedbackCategory: "OTHER" || "RECOMMENDATION_NOT_RELEVANT" || "RESOURCE_NOT_IMPORTANT" || "RESOURCE_TYPE_NOT_IMPORTANT" || "RECOMMENDATION_INCORRECT",
40
+ * comments: "STRING_VALUE",
41
+ * };
42
+ * const command = new PutAgentRecommendationFeedbackCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param PutAgentRecommendationFeedbackCommandInput - {@link PutAgentRecommendationFeedbackCommandInput}
49
+ * @returns {@link PutAgentRecommendationFeedbackCommandOutput}
50
+ * @see {@link PutAgentRecommendationFeedbackCommandInput} for command's `input` shape.
51
+ * @see {@link PutAgentRecommendationFeedbackCommandOutput} for command's `response` shape.
52
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
53
+ *
54
+ * @throws {@link AccessDeniedException} (client fault)
55
+ * <p>User does not have sufficient access to perform this action.</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
+ * @public
74
+ */
75
+ export declare class PutAgentRecommendationFeedbackCommand extends PutAgentRecommendationFeedbackCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: PutAgentRecommendationFeedbackRequest;
80
+ output: {};
81
+ };
82
+ sdk: {
83
+ input: PutAgentRecommendationFeedbackCommandInput;
84
+ output: PutAgentRecommendationFeedbackCommandOutput;
85
+ };
86
+ };
87
+ }