@aws-sdk/client-wellarchitected 3.1168.0 → 3.1170.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 (111) hide show
  1. package/README.md +120 -1
  2. package/dist-cjs/index.js +732 -44
  3. package/dist-es/WellArchitected.js +41 -1
  4. package/dist-es/commands/CreateAgentBasicProfileCommand.js +4 -0
  5. package/dist-es/commands/CreateAgentOrganizationalProfileCommand.js +4 -0
  6. package/dist-es/commands/CreateAgentOrganizationalReportCommand.js +4 -0
  7. package/dist-es/commands/DeleteAgentOrganizationalReportCommand.js +4 -0
  8. package/dist-es/commands/DeleteAgentProfilePolicyCommand.js +4 -0
  9. package/dist-es/commands/DeleteAgentRecommendationPolicyCommand.js +4 -0
  10. package/dist-es/commands/GetAgentOrganizationalReportCommand.js +4 -0
  11. package/dist-es/commands/GetAgentOrganizationalReportDataCommand.js +4 -0
  12. package/dist-es/commands/GetAgentPreferencesCommand.js +4 -0
  13. package/dist-es/commands/GetAgentProfilePolicyCommand.js +4 -0
  14. package/dist-es/commands/GetAgentRecommendationPolicyCommand.js +4 -0
  15. package/dist-es/commands/ListAgentOrganizationalReportsCommand.js +4 -0
  16. package/dist-es/commands/PutAgentPreferencesCommand.js +4 -0
  17. package/dist-es/commands/PutAgentProfilePolicyCommand.js +4 -0
  18. package/dist-es/commands/PutAgentRecommendationPolicyCommand.js +4 -0
  19. package/dist-es/commands/SendAgentOrganizationalReportDataToS3Command.js +4 -0
  20. package/dist-es/commands/UpdateAgentOrganizationalProfileCommand.js +4 -0
  21. package/dist-es/commands/index.js +17 -0
  22. package/dist-es/index.js +2 -0
  23. package/dist-es/models/enums.js +41 -5
  24. package/dist-es/models/models_1.js +1 -0
  25. package/dist-es/pagination/ListAgentOrganizationalReportsPaginator.js +4 -0
  26. package/dist-es/pagination/index.js +1 -0
  27. package/dist-es/schemas/schemas_0.js +482 -36
  28. package/dist-es/waiters/index.js +1 -0
  29. package/dist-es/waiters/waitForAgentOrganizationalReportCompleted.js +49 -0
  30. package/dist-types/WellArchitected.d.ts +139 -2
  31. package/dist-types/WellArchitectedClient.d.ts +20 -3
  32. package/dist-types/commands/CreateAgentBasicProfileCommand.d.ts +98 -0
  33. package/dist-types/commands/CreateAgentContextCommand.d.ts +6 -0
  34. package/dist-types/commands/CreateAgentOrganizationalProfileCommand.d.ts +166 -0
  35. package/dist-types/commands/CreateAgentOrganizationalReportCommand.d.ts +119 -0
  36. package/dist-types/commands/DeleteAgentOrganizationalReportCommand.d.ts +84 -0
  37. package/dist-types/commands/DeleteAgentProfilePolicyCommand.d.ts +84 -0
  38. package/dist-types/commands/DeleteAgentRecommendationPolicyCommand.d.ts +84 -0
  39. package/dist-types/commands/GetAgentContextCommand.d.ts +3 -0
  40. package/dist-types/commands/GetAgentOrganizationalReportCommand.d.ts +151 -0
  41. package/dist-types/commands/GetAgentOrganizationalReportDataCommand.d.ts +88 -0
  42. package/dist-types/commands/GetAgentPreferencesCommand.d.ts +87 -0
  43. package/dist-types/commands/GetAgentProfileCommand.d.ts +22 -3
  44. package/dist-types/commands/GetAgentProfilePolicyCommand.d.ts +87 -0
  45. package/dist-types/commands/GetAgentRecommendationCommand.d.ts +1 -1
  46. package/dist-types/commands/GetAgentRecommendationGenerationCommand.d.ts +11 -7
  47. package/dist-types/commands/GetAgentRecommendationPolicyCommand.d.ts +87 -0
  48. package/dist-types/commands/ListAgentContextsCommand.d.ts +3 -0
  49. package/dist-types/commands/ListAgentOrganizationalReportsCommand.d.ts +95 -0
  50. package/dist-types/commands/ListAgentProfilesCommand.d.ts +22 -9
  51. package/dist-types/commands/ListAgentRecommendationGenerationsCommand.d.ts +11 -1
  52. package/dist-types/commands/ListAgentRecommendationItemsCommand.d.ts +5 -1
  53. package/dist-types/commands/ListAgentRecommendationsCommand.d.ts +1 -1
  54. package/dist-types/commands/PutAgentPreferencesCommand.d.ts +89 -0
  55. package/dist-types/commands/PutAgentProfilePolicyCommand.d.ts +85 -0
  56. package/dist-types/commands/PutAgentRecommendationPolicyCommand.d.ts +85 -0
  57. package/dist-types/commands/SendAgentOrganizationalReportDataToS3Command.d.ts +89 -0
  58. package/dist-types/commands/StartAgentRecommendationGenerationCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateAgentContextCommand.d.ts +6 -0
  60. package/dist-types/commands/UpdateAgentOrganizationalProfileCommand.d.ts +148 -0
  61. package/dist-types/commands/UpdateAgentProfileCommand.d.ts +4 -7
  62. package/dist-types/commands/UpdateWorkloadCommand.d.ts +2 -1
  63. package/dist-types/commands/UpdateWorkloadShareCommand.d.ts +1 -1
  64. package/dist-types/commands/UpgradeLensReviewCommand.d.ts +1 -1
  65. package/dist-types/commands/UpgradeProfileVersionCommand.d.ts +1 -1
  66. package/dist-types/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +1 -1
  67. package/dist-types/commands/index.d.ts +17 -0
  68. package/dist-types/index.d.ts +3 -1
  69. package/dist-types/models/enums.d.ts +129 -13
  70. package/dist-types/models/models_0.d.ts +1154 -274
  71. package/dist-types/models/models_1.d.ts +161 -0
  72. package/dist-types/pagination/ListAgentOrganizationalReportsPaginator.d.ts +7 -0
  73. package/dist-types/pagination/index.d.ts +1 -0
  74. package/dist-types/schemas/schemas_0.d.ts +65 -0
  75. package/dist-types/ts3.4/WellArchitected.d.ts +311 -0
  76. package/dist-types/ts3.4/WellArchitectedClient.d.ts +102 -0
  77. package/dist-types/ts3.4/commands/CreateAgentBasicProfileCommand.d.ts +42 -0
  78. package/dist-types/ts3.4/commands/CreateAgentOrganizationalProfileCommand.d.ts +42 -0
  79. package/dist-types/ts3.4/commands/CreateAgentOrganizationalReportCommand.d.ts +42 -0
  80. package/dist-types/ts3.4/commands/DeleteAgentOrganizationalReportCommand.d.ts +42 -0
  81. package/dist-types/ts3.4/commands/DeleteAgentProfilePolicyCommand.d.ts +42 -0
  82. package/dist-types/ts3.4/commands/DeleteAgentRecommendationPolicyCommand.d.ts +42 -0
  83. package/dist-types/ts3.4/commands/GetAgentOrganizationalReportCommand.d.ts +42 -0
  84. package/dist-types/ts3.4/commands/GetAgentOrganizationalReportDataCommand.d.ts +42 -0
  85. package/dist-types/ts3.4/commands/GetAgentPreferencesCommand.d.ts +39 -0
  86. package/dist-types/ts3.4/commands/GetAgentProfilePolicyCommand.d.ts +39 -0
  87. package/dist-types/ts3.4/commands/GetAgentRecommendationPolicyCommand.d.ts +42 -0
  88. package/dist-types/ts3.4/commands/ListAgentOrganizationalReportsCommand.d.ts +42 -0
  89. package/dist-types/ts3.4/commands/PutAgentPreferencesCommand.d.ts +39 -0
  90. package/dist-types/ts3.4/commands/PutAgentProfilePolicyCommand.d.ts +39 -0
  91. package/dist-types/ts3.4/commands/PutAgentRecommendationPolicyCommand.d.ts +42 -0
  92. package/dist-types/ts3.4/commands/SendAgentOrganizationalReportDataToS3Command.d.ts +42 -0
  93. package/dist-types/ts3.4/commands/UpdateAgentOrganizationalProfileCommand.d.ts +42 -0
  94. package/dist-types/ts3.4/commands/UpdateWorkloadCommand.d.ts +2 -1
  95. package/dist-types/ts3.4/commands/UpdateWorkloadShareCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/UpgradeLensReviewCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/UpgradeProfileVersionCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/index.d.ts +17 -0
  100. package/dist-types/ts3.4/index.d.ts +2 -0
  101. package/dist-types/ts3.4/models/enums.d.ts +51 -6
  102. package/dist-types/ts3.4/models/models_0.d.ts +272 -57
  103. package/dist-types/ts3.4/models/models_1.d.ts +40 -0
  104. package/dist-types/ts3.4/pagination/ListAgentOrganizationalReportsPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  106. package/dist-types/ts3.4/schemas/schemas_0.d.ts +65 -0
  107. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  108. package/dist-types/ts3.4/waiters/waitForAgentOrganizationalReportCompleted.d.ts +17 -0
  109. package/dist-types/waiters/index.d.ts +1 -0
  110. package/dist-types/waiters/waitForAgentOrganizationalReportCompleted.d.ts +15 -0
  111. package/package.json +1 -1
@@ -0,0 +1,151 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetAgentOrganizationalReportRequest, GetAgentOrganizationalReportResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetAgentOrganizationalReportCommand}.
11
+ */
12
+ export interface GetAgentOrganizationalReportCommandInput extends GetAgentOrganizationalReportRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetAgentOrganizationalReportCommand}.
18
+ */
19
+ export interface GetAgentOrganizationalReportCommandOutput extends GetAgentOrganizationalReportResponse, __MetadataBearer {
20
+ }
21
+ declare const GetAgentOrganizationalReportCommand_base: {
22
+ new (input: GetAgentOrganizationalReportCommandInput): import("@smithy/core/client").CommandImpl<GetAgentOrganizationalReportCommandInput, GetAgentOrganizationalReportCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetAgentOrganizationalReportCommandInput): import("@smithy/core/client").CommandImpl<GetAgentOrganizationalReportCommandInput, GetAgentOrganizationalReportCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves metadata and current state for a single Organizational Report. The coverageSummary is populated once the report reaches COMPLETED and is absent for reports still in progress or in a failed 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, GetAgentOrganizationalReportCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, GetAgentOrganizationalReportCommand } = 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 = { // GetAgentOrganizationalReportRequest
37
+ * reportId: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetAgentOrganizationalReportCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetAgentOrganizationalReportResponse
42
+ * // reportId: "STRING_VALUE", // required
43
+ * // ownerAccountId: "STRING_VALUE", // required
44
+ * // organizationId: "STRING_VALUE", // required
45
+ * // label: "STRING_VALUE",
46
+ * // state: "DISCOVERING" || "SNAPSHOTTING" || "AGGREGATING" || "COMPRESSING" || "COMPLETED" || "FAILED" || "DELETING", // required
47
+ * // createdAt: new Date("TIMESTAMP"), // required
48
+ * // filters: { // OrganizationalReportFilters
49
+ * // accountIds: [ // OrganizationalReportAccountIdList
50
+ * // "STRING_VALUE",
51
+ * // ],
52
+ * // organizationalUnitIds: [ // OrganizationalUnitIdList
53
+ * // "STRING_VALUE",
54
+ * // ],
55
+ * // pillars: [ // PillarList
56
+ * // "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
57
+ * // ],
58
+ * // recommendationTypes: [ // RecommendationTypeList
59
+ * // "RESOURCE" || "ARCHITECTURE" || "APPLICATION",
60
+ * // ],
61
+ * // statuses: [ // RecommendationStatusList
62
+ * // "ACTIVE" || "SUPPRESSED" || "COMPLETED",
63
+ * // ],
64
+ * // priorities: [ // PriorityList
65
+ * // "HIGH" || "MEDIUM" || "LOW",
66
+ * // ],
67
+ * // createdAtRange: { // TimeWindow
68
+ * // from: new Date("TIMESTAMP"),
69
+ * // to: new Date("TIMESTAMP"),
70
+ * // },
71
+ * // updatedAtRange: {
72
+ * // from: new Date("TIMESTAMP"),
73
+ * // to: new Date("TIMESTAMP"),
74
+ * // },
75
+ * // },
76
+ * // coverageSummary: { // CoverageSummary
77
+ * // totalAccountsInScope: Number("long"), // required
78
+ * // accountsWithProfile: Number("long"), // required
79
+ * // accountsWithoutProfile: Number("long"), // required
80
+ * // failedAccountCount: Number("long"), // required
81
+ * // totalProfiles: Number("long"), // required
82
+ * // totalRecommendations: Number("long"), // required
83
+ * // recommendationCountByPillar: [ // PillarCountList
84
+ * // { // PillarCount
85
+ * // pillar: "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE", // required
86
+ * // count: Number("long"), // required
87
+ * // },
88
+ * // ],
89
+ * // recommendationCountByPriority: [ // PriorityCountList
90
+ * // { // PriorityCount
91
+ * // priority: "HIGH" || "MEDIUM" || "LOW", // required
92
+ * // count: Number("long"), // required
93
+ * // },
94
+ * // ],
95
+ * // failedAccounts: [ // FailedAccountList
96
+ * // { // FailedAccount
97
+ * // accountId: "STRING_VALUE", // required
98
+ * // reason: "STRING_VALUE", // required
99
+ * // },
100
+ * // ],
101
+ * // failedOrganizationalUnits: [ // FailedOrganizationalUnitList
102
+ * // { // FailedOrganizationalUnit
103
+ * // organizationalUnitId: "STRING_VALUE", // required
104
+ * // reason: "STRING_VALUE", // required
105
+ * // },
106
+ * // ],
107
+ * // },
108
+ * // };
109
+ *
110
+ * ```
111
+ *
112
+ * @param GetAgentOrganizationalReportCommandInput - {@link GetAgentOrganizationalReportCommandInput}
113
+ * @returns {@link GetAgentOrganizationalReportCommandOutput}
114
+ * @see {@link GetAgentOrganizationalReportCommandInput} for command's `input` shape.
115
+ * @see {@link GetAgentOrganizationalReportCommandOutput} for command's `response` shape.
116
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
117
+ *
118
+ * @throws {@link AccessDeniedException} (client fault)
119
+ * <p>User does not have sufficient access to perform this action.</p>
120
+ *
121
+ * @throws {@link InternalServerException} (server fault)
122
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
123
+ *
124
+ * @throws {@link ResourceNotFoundException} (client fault)
125
+ * <p>The requested resource was not found.</p>
126
+ *
127
+ * @throws {@link ThrottlingException} (client fault)
128
+ * <p>Request was denied due to request throttling.</p>
129
+ *
130
+ * @throws {@link ValidationException} (client fault)
131
+ * <p>The user input is not valid.</p>
132
+ *
133
+ * @throws {@link WellArchitectedServiceException}
134
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
135
+ *
136
+ *
137
+ * @public
138
+ */
139
+ export declare class GetAgentOrganizationalReportCommand extends GetAgentOrganizationalReportCommand_base {
140
+ /** @internal type navigation helper, not in runtime. */
141
+ protected static __types: {
142
+ api: {
143
+ input: GetAgentOrganizationalReportRequest;
144
+ output: GetAgentOrganizationalReportResponse;
145
+ };
146
+ sdk: {
147
+ input: GetAgentOrganizationalReportCommandInput;
148
+ output: GetAgentOrganizationalReportCommandOutput;
149
+ };
150
+ };
151
+ }
@@ -0,0 +1,88 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetAgentOrganizationalReportDataRequest, GetAgentOrganizationalReportDataResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetAgentOrganizationalReportDataCommand}.
11
+ */
12
+ export interface GetAgentOrganizationalReportDataCommandInput extends GetAgentOrganizationalReportDataRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetAgentOrganizationalReportDataCommand}.
18
+ */
19
+ export interface GetAgentOrganizationalReportDataCommandOutput extends GetAgentOrganizationalReportDataResponse, __MetadataBearer {
20
+ }
21
+ declare const GetAgentOrganizationalReportDataCommand_base: {
22
+ new (input: GetAgentOrganizationalReportDataCommandInput): import("@smithy/core/client").CommandImpl<GetAgentOrganizationalReportDataCommandInput, GetAgentOrganizationalReportDataCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetAgentOrganizationalReportDataCommandInput): import("@smithy/core/client").CommandImpl<GetAgentOrganizationalReportDataCommandInput, GetAgentOrganizationalReportDataCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves the data artifact for a completed Organizational Report as a short-lived presigned S3 URL. The response contains the URL in downloadUrl and its expiration in expiresAt. To have the service write the artifact directly into a caller-owned bucket instead, use SendAgentOrganizationalReportDataToS3.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, GetAgentOrganizationalReportDataCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, GetAgentOrganizationalReportDataCommand } = 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 = { // GetAgentOrganizationalReportDataRequest
37
+ * reportId: "STRING_VALUE", // required
38
+ * format: "CSV" || "JSON" || "PARQUET", // required
39
+ * };
40
+ * const command = new GetAgentOrganizationalReportDataCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetAgentOrganizationalReportDataResponse
43
+ * // downloadUrl: "STRING_VALUE", // required
44
+ * // expiresAt: new Date("TIMESTAMP"), // required
45
+ * // };
46
+ *
47
+ * ```
48
+ *
49
+ * @param GetAgentOrganizationalReportDataCommandInput - {@link GetAgentOrganizationalReportDataCommandInput}
50
+ * @returns {@link GetAgentOrganizationalReportDataCommandOutput}
51
+ * @see {@link GetAgentOrganizationalReportDataCommandInput} for command's `input` shape.
52
+ * @see {@link GetAgentOrganizationalReportDataCommandOutput} for command's `response` shape.
53
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
54
+ *
55
+ * @throws {@link AccessDeniedException} (client fault)
56
+ * <p>User does not have sufficient access to perform this action.</p>
57
+ *
58
+ * @throws {@link InternalServerException} (server fault)
59
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
60
+ *
61
+ * @throws {@link ResourceNotFoundException} (client fault)
62
+ * <p>The requested resource was not found.</p>
63
+ *
64
+ * @throws {@link ThrottlingException} (client fault)
65
+ * <p>Request was denied due to request throttling.</p>
66
+ *
67
+ * @throws {@link ValidationException} (client fault)
68
+ * <p>The user input is not valid.</p>
69
+ *
70
+ * @throws {@link WellArchitectedServiceException}
71
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
72
+ *
73
+ *
74
+ * @public
75
+ */
76
+ export declare class GetAgentOrganizationalReportDataCommand extends GetAgentOrganizationalReportDataCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: GetAgentOrganizationalReportDataRequest;
81
+ output: GetAgentOrganizationalReportDataResponse;
82
+ };
83
+ sdk: {
84
+ input: GetAgentOrganizationalReportDataCommandInput;
85
+ output: GetAgentOrganizationalReportDataCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,87 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetAgentPreferencesRequest, GetAgentPreferencesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetAgentPreferencesCommand}.
11
+ */
12
+ export interface GetAgentPreferencesCommandInput extends GetAgentPreferencesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetAgentPreferencesCommand}.
18
+ */
19
+ export interface GetAgentPreferencesCommandOutput extends GetAgentPreferencesResponse, __MetadataBearer {
20
+ }
21
+ declare const GetAgentPreferencesCommand_base: {
22
+ new (input: GetAgentPreferencesCommandInput): import("@smithy/core/client").CommandImpl<GetAgentPreferencesCommandInput, GetAgentPreferencesCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [GetAgentPreferencesCommandInput]): import("@smithy/core/client").CommandImpl<GetAgentPreferencesCommandInput, GetAgentPreferencesCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Returns the caller's complete set of Well-Architected Agent preferences with their current states.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, GetAgentPreferencesCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, GetAgentPreferencesCommand } = 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 = {};
37
+ * const command = new GetAgentPreferencesCommand(input);
38
+ * const response = await client.send(command);
39
+ * // { // GetAgentPreferencesResponse
40
+ * // preferences: [ // PreferenceEntries // required
41
+ * // { // PreferenceEntry
42
+ * // key: "ORG_INTEGRATION", // required
43
+ * // status: "ENABLED" || "DISABLED" || "FAILED", // required
44
+ * // detail: "STRING_VALUE",
45
+ * // },
46
+ * // ],
47
+ * // };
48
+ *
49
+ * ```
50
+ *
51
+ * @param GetAgentPreferencesCommandInput - {@link GetAgentPreferencesCommandInput}
52
+ * @returns {@link GetAgentPreferencesCommandOutput}
53
+ * @see {@link GetAgentPreferencesCommandInput} for command's `input` shape.
54
+ * @see {@link GetAgentPreferencesCommandOutput} for command's `response` shape.
55
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
56
+ *
57
+ * @throws {@link AccessDeniedException} (client fault)
58
+ * <p>User does not have sufficient access to perform this action.</p>
59
+ *
60
+ * @throws {@link InternalServerException} (server fault)
61
+ * <p>There is a problem with the Well-Architected Tool API service.</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 GetAgentPreferencesCommand extends GetAgentPreferencesCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: {};
80
+ output: GetAgentPreferencesResponse;
81
+ };
82
+ sdk: {
83
+ input: GetAgentPreferencesCommandInput;
84
+ output: GetAgentPreferencesCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -43,12 +43,13 @@ declare const GetAgentProfileCommand_base: {
43
43
  * // displayName: "STRING_VALUE",
44
44
  * // description: "STRING_VALUE",
45
45
  * // businessOverview: "STRING_VALUE",
46
- * // pillars: [ // Pillars // required
46
+ * // pillars: [ // Pillars
47
47
  * // "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
48
48
  * // ],
49
49
  * // deletionProtection: true || false,
50
- * // executionRoleArn: "STRING_VALUE", // required
51
- * // aggregationConfiguration: [ // AggregationConfigurations // required
50
+ * // profileType: "STANDARD" || "BASIC" || "ORGANIZATIONAL",
51
+ * // executionRoleArn: "STRING_VALUE",
52
+ * // aggregationConfiguration: [ // AggregationConfigurations
52
53
  * // { // AggregationConfiguration
53
54
  * // accountId: "STRING_VALUE", // required
54
55
  * // regions: [ // Regions // required
@@ -73,6 +74,24 @@ declare const GetAgentProfileCommand_base: {
73
74
  * // createdAt: new Date("TIMESTAMP"), // required
74
75
  * // lastModifiedBy: "STRING_VALUE",
75
76
  * // lastModifiedAt: new Date("TIMESTAMP"),
77
+ * // organizationalAggregationConfiguration: { // OrganizationalAggregationConfiguration
78
+ * // organizationalUnits: [ // OrganizationalUnitEntryList
79
+ * // { // OrganizationalUnitEntry
80
+ * // organizationalUnitId: "STRING_VALUE", // required
81
+ * // regions: [ // required
82
+ * // "STRING_VALUE",
83
+ * // ],
84
+ * // },
85
+ * // ],
86
+ * // accounts: [ // OrganizationalAccountEntryList
87
+ * // { // OrganizationalAccountEntry
88
+ * // accountId: "STRING_VALUE", // required
89
+ * // regions: [ // required
90
+ * // "STRING_VALUE",
91
+ * // ],
92
+ * // },
93
+ * // ],
94
+ * // },
76
95
  * // };
77
96
  *
78
97
  * ```
@@ -0,0 +1,87 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetAgentProfilePolicyRequest, GetAgentProfilePolicyResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetAgentProfilePolicyCommand}.
11
+ */
12
+ export interface GetAgentProfilePolicyCommandInput extends GetAgentProfilePolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetAgentProfilePolicyCommand}.
18
+ */
19
+ export interface GetAgentProfilePolicyCommandOutput extends GetAgentProfilePolicyResponse, __MetadataBearer {
20
+ }
21
+ declare const GetAgentProfilePolicyCommand_base: {
22
+ new (input: GetAgentProfilePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetAgentProfilePolicyCommandInput, GetAgentProfilePolicyCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetAgentProfilePolicyCommandInput): import("@smithy/core/client").CommandImpl<GetAgentProfilePolicyCommandInput, GetAgentProfilePolicyCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves the resource-based policy attached to an Agent Profile. Only the profile owner can call this operation.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, GetAgentProfilePolicyCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, GetAgentProfilePolicyCommand } = 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 = { // GetAgentProfilePolicyRequest
37
+ * profileArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetAgentProfilePolicyCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetAgentProfilePolicyResponse
42
+ * // profileArn: "STRING_VALUE", // required
43
+ * // policy: "STRING_VALUE", // required
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param GetAgentProfilePolicyCommandInput - {@link GetAgentProfilePolicyCommandInput}
49
+ * @returns {@link GetAgentProfilePolicyCommandOutput}
50
+ * @see {@link GetAgentProfilePolicyCommandInput} for command's `input` shape.
51
+ * @see {@link GetAgentProfilePolicyCommandOutput} 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 GetAgentProfilePolicyCommand extends GetAgentProfilePolicyCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: GetAgentProfilePolicyRequest;
80
+ output: GetAgentProfilePolicyResponse;
81
+ };
82
+ sdk: {
83
+ input: GetAgentProfilePolicyCommandInput;
84
+ output: GetAgentProfilePolicyCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -24,7 +24,7 @@ declare const GetAgentRecommendationCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Retrieves detailed information about a specific optimization recommendation, including its impact analysis, content, and implementation guidance.</p>
27
+ * <important> <p>Application-level recommendations are a new recommendation format currently in beta. We are actively seeking customer feedback to improve their quality and relevance. As with any AI-generated content, please thoroughly review each recommendation before taking any action based on it.</p> </important> <p>Retrieves detailed information about a specific optimization recommendation, including its impact analysis, content, and implementation guidance.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -24,7 +24,7 @@ declare const GetAgentRecommendationGenerationCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Retrieves information about a recommendation generation process, including its status, progress, and results. Recommendation generation is asynchronous: poll this operation until status reaches a terminal value of COMPLETED (results are ready) or ERROR (see errorDetails). Intermediate values are QUEUED and IN_PROGRESS.</p>
27
+ * <important> <p>Application-level recommendations are a new recommendation format currently in beta. We are actively seeking customer feedback to improve their quality and relevance. As with any AI-generated content, please thoroughly review each recommendation before taking any action based on it.</p> </important> <p>Retrieves information about a recommendation generation process, including its status, progress, and results. Recommendation generation is asynchronous: poll this operation until status reaches a terminal value of COMPLETED (results are ready) or ERROR (see errorDetails). Intermediate values are QUEUED and IN_PROGRESS.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -49,6 +49,16 @@ declare const GetAgentRecommendationGenerationCommand_base: {
49
49
  * // createdAt: new Date("TIMESTAMP"), // required
50
50
  * // lastModifiedBy: "STRING_VALUE",
51
51
  * // lastModifiedAt: new Date("TIMESTAMP"),
52
+ * // generationType: "ONDEMAND" || "SCHEDULED" || "BASIC",
53
+ * // generationRecommendationTypes: [ // GenerationRecommendationTypes
54
+ * // "RESOURCE" || "ARCHITECTURE" || "APPLICATION",
55
+ * // ],
56
+ * // startedAt: new Date("TIMESTAMP"),
57
+ * // endedAt: new Date("TIMESTAMP"),
58
+ * // errorDetails: { // ErrorDetails
59
+ * // code: "STRING_VALUE", // required
60
+ * // message: "STRING_VALUE", // required
61
+ * // },
52
62
  * // additionalContext: "DOCUMENT_VALUE",
53
63
  * // scope: { // Scope
54
64
  * // pillars: [ // Pillars // required
@@ -66,17 +76,11 @@ declare const GetAgentRecommendationGenerationCommand_base: {
66
76
  * // },
67
77
  * // ],
68
78
  * // },
69
- * // startedAt: new Date("TIMESTAMP"),
70
- * // endedAt: new Date("TIMESTAMP"),
71
79
  * // progress: { // Progress
72
80
  * // stepsCompleted: Number("int"), // required
73
81
  * // totalSteps: Number("int"), // required
74
82
  * // completionPercentage: Number("double"), // required
75
83
  * // },
76
- * // errorDetails: { // ErrorDetails
77
- * // code: "STRING_VALUE", // required
78
- * // message: "STRING_VALUE", // required
79
- * // },
80
84
  * // };
81
85
  *
82
86
  * ```
@@ -0,0 +1,87 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetAgentRecommendationPolicyRequest, GetAgentRecommendationPolicyResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetAgentRecommendationPolicyCommand}.
11
+ */
12
+ export interface GetAgentRecommendationPolicyCommandInput extends GetAgentRecommendationPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetAgentRecommendationPolicyCommand}.
18
+ */
19
+ export interface GetAgentRecommendationPolicyCommandOutput extends GetAgentRecommendationPolicyResponse, __MetadataBearer {
20
+ }
21
+ declare const GetAgentRecommendationPolicyCommand_base: {
22
+ new (input: GetAgentRecommendationPolicyCommandInput): import("@smithy/core/client").CommandImpl<GetAgentRecommendationPolicyCommandInput, GetAgentRecommendationPolicyCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetAgentRecommendationPolicyCommandInput): import("@smithy/core/client").CommandImpl<GetAgentRecommendationPolicyCommandInput, GetAgentRecommendationPolicyCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Retrieves the resource-based policy attached to an individual Agent Recommendation. The recommendation owner or any principal with profile write access on the parent profile can call this operation.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, GetAgentRecommendationPolicyCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, GetAgentRecommendationPolicyCommand } = 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 = { // GetAgentRecommendationPolicyRequest
37
+ * recommendationArn: "STRING_VALUE", // required
38
+ * };
39
+ * const command = new GetAgentRecommendationPolicyCommand(input);
40
+ * const response = await client.send(command);
41
+ * // { // GetAgentRecommendationPolicyResponse
42
+ * // recommendationArn: "STRING_VALUE", // required
43
+ * // policy: "STRING_VALUE", // required
44
+ * // };
45
+ *
46
+ * ```
47
+ *
48
+ * @param GetAgentRecommendationPolicyCommandInput - {@link GetAgentRecommendationPolicyCommandInput}
49
+ * @returns {@link GetAgentRecommendationPolicyCommandOutput}
50
+ * @see {@link GetAgentRecommendationPolicyCommandInput} for command's `input` shape.
51
+ * @see {@link GetAgentRecommendationPolicyCommandOutput} 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 GetAgentRecommendationPolicyCommand extends GetAgentRecommendationPolicyCommand_base {
76
+ /** @internal type navigation helper, not in runtime. */
77
+ protected static __types: {
78
+ api: {
79
+ input: GetAgentRecommendationPolicyRequest;
80
+ output: GetAgentRecommendationPolicyResponse;
81
+ };
82
+ sdk: {
83
+ input: GetAgentRecommendationPolicyCommandInput;
84
+ output: GetAgentRecommendationPolicyCommandOutput;
85
+ };
86
+ };
87
+ }
@@ -66,6 +66,9 @@ declare const ListAgentContextsCommand_base: {
66
66
  * // value: "STRING_VALUE", // required
67
67
  * // },
68
68
  * // ],
69
+ * // organizationalUnitIds: [ // ContextOrganizationalUnitIdList
70
+ * // "STRING_VALUE",
71
+ * // ],
69
72
  * // applicationOverview: "STRING_VALUE",
70
73
  * // industry: "STRING_VALUE",
71
74
  * // applicationType: "SAS" || "DESKTOP_APPLICATION" || "OTHER",