@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,95 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ListAgentOrganizationalReportsRequest, ListAgentOrganizationalReportsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ListAgentOrganizationalReportsCommand}.
11
+ */
12
+ export interface ListAgentOrganizationalReportsCommandInput extends ListAgentOrganizationalReportsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ListAgentOrganizationalReportsCommand}.
18
+ */
19
+ export interface ListAgentOrganizationalReportsCommandOutput extends ListAgentOrganizationalReportsResponse, __MetadataBearer {
20
+ }
21
+ declare const ListAgentOrganizationalReportsCommand_base: {
22
+ new (input: ListAgentOrganizationalReportsCommandInput): import("@smithy/core/client").CommandImpl<ListAgentOrganizationalReportsCommandInput, ListAgentOrganizationalReportsCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (...[input]: [] | [ListAgentOrganizationalReportsCommandInput]): import("@smithy/core/client").CommandImpl<ListAgentOrganizationalReportsCommandInput, ListAgentOrganizationalReportsCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Lists Organizational Reports owned by the caller's account within the caller's AWS Organization, ordered by most recently created first. Supports pagination and an optional state filter.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, ListAgentOrganizationalReportsCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, ListAgentOrganizationalReportsCommand } = 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 = { // ListAgentOrganizationalReportsRequest
37
+ * maxResults: Number("int"),
38
+ * nextToken: "STRING_VALUE",
39
+ * state: "DISCOVERING" || "SNAPSHOTTING" || "AGGREGATING" || "COMPRESSING" || "COMPLETED" || "FAILED" || "DELETING",
40
+ * };
41
+ * const command = new ListAgentOrganizationalReportsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListAgentOrganizationalReportsResponse
44
+ * // items: [ // OrganizationalReportSummaryList // required
45
+ * // { // OrganizationalReportSummary
46
+ * // reportId: "STRING_VALUE", // required
47
+ * // ownerAccountId: "STRING_VALUE", // required
48
+ * // organizationId: "STRING_VALUE", // required
49
+ * // label: "STRING_VALUE",
50
+ * // state: "DISCOVERING" || "SNAPSHOTTING" || "AGGREGATING" || "COMPRESSING" || "COMPLETED" || "FAILED" || "DELETING", // required
51
+ * // createdAt: new Date("TIMESTAMP"), // required
52
+ * // },
53
+ * // ],
54
+ * // nextToken: "STRING_VALUE",
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListAgentOrganizationalReportsCommandInput - {@link ListAgentOrganizationalReportsCommandInput}
60
+ * @returns {@link ListAgentOrganizationalReportsCommandOutput}
61
+ * @see {@link ListAgentOrganizationalReportsCommandInput} for command's `input` shape.
62
+ * @see {@link ListAgentOrganizationalReportsCommandOutput} for command's `response` shape.
63
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p>User does not have sufficient access to perform this action.</p>
67
+ *
68
+ * @throws {@link InternalServerException} (server fault)
69
+ * <p>There is a problem with the Well-Architected Tool API service.</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
+ * @public
82
+ */
83
+ export declare class ListAgentOrganizationalReportsCommand extends ListAgentOrganizationalReportsCommand_base {
84
+ /** @internal type navigation helper, not in runtime. */
85
+ protected static __types: {
86
+ api: {
87
+ input: ListAgentOrganizationalReportsRequest;
88
+ output: ListAgentOrganizationalReportsResponse;
89
+ };
90
+ sdk: {
91
+ input: ListAgentOrganizationalReportsCommandInput;
92
+ output: ListAgentOrganizationalReportsCommandOutput;
93
+ };
94
+ };
95
+ }
@@ -46,12 +46,13 @@ declare const ListAgentProfilesCommand_base: {
46
46
  * // displayName: "STRING_VALUE",
47
47
  * // description: "STRING_VALUE",
48
48
  * // businessOverview: "STRING_VALUE",
49
- * // pillars: [ // Pillars // required
49
+ * // pillars: [ // Pillars
50
50
  * // "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
51
51
  * // ],
52
52
  * // deletionProtection: true || false,
53
- * // executionRoleArn: "STRING_VALUE", // required
54
- * // aggregationConfiguration: [ // AggregationConfigurations // required
53
+ * // profileType: "STANDARD" || "BASIC" || "ORGANIZATIONAL",
54
+ * // executionRoleArn: "STRING_VALUE",
55
+ * // aggregationConfiguration: [ // AggregationConfigurations
55
56
  * // { // AggregationConfiguration
56
57
  * // accountId: "STRING_VALUE", // required
57
58
  * // regions: [ // Regions // required
@@ -66,16 +67,28 @@ declare const ListAgentProfilesCommand_base: {
66
67
  * // fieldErrors: { // FieldErrors
67
68
  * // "<keys>": "STRING_VALUE",
68
69
  * // },
69
- * // tags: [ // Tags
70
- * // { // Tag
71
- * // key: "STRING_VALUE", // required
72
- * // value: "STRING_VALUE", // required
73
- * // },
74
- * // ],
75
70
  * // createdBy: "STRING_VALUE", // required
76
71
  * // createdAt: new Date("TIMESTAMP"), // required
77
72
  * // lastModifiedBy: "STRING_VALUE",
78
73
  * // lastModifiedAt: new Date("TIMESTAMP"),
74
+ * // organizationalAggregationConfiguration: { // OrganizationalAggregationConfiguration
75
+ * // organizationalUnits: [ // OrganizationalUnitEntryList
76
+ * // { // OrganizationalUnitEntry
77
+ * // organizationalUnitId: "STRING_VALUE", // required
78
+ * // regions: [ // required
79
+ * // "STRING_VALUE",
80
+ * // ],
81
+ * // },
82
+ * // ],
83
+ * // accounts: [ // OrganizationalAccountEntryList
84
+ * // { // OrganizationalAccountEntry
85
+ * // accountId: "STRING_VALUE", // required
86
+ * // regions: [ // required
87
+ * // "STRING_VALUE",
88
+ * // ],
89
+ * // },
90
+ * // ],
91
+ * // },
79
92
  * // },
80
93
  * // ],
81
94
  * // nextToken: "STRING_VALUE",
@@ -24,7 +24,7 @@ declare const ListAgentRecommendationGenerationsCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Lists recommendation generation processes for a specified profile.</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>Lists recommendation generation processes for a specified profile.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -53,6 +53,16 @@ declare const ListAgentRecommendationGenerationsCommand_base: {
53
53
  * // createdAt: new Date("TIMESTAMP"), // required
54
54
  * // lastModifiedBy: "STRING_VALUE",
55
55
  * // lastModifiedAt: new Date("TIMESTAMP"),
56
+ * // generationType: "ONDEMAND" || "SCHEDULED" || "BASIC",
57
+ * // generationRecommendationTypes: [ // GenerationRecommendationTypes
58
+ * // "RESOURCE" || "ARCHITECTURE" || "APPLICATION",
59
+ * // ],
60
+ * // startedAt: new Date("TIMESTAMP"),
61
+ * // endedAt: new Date("TIMESTAMP"),
62
+ * // errorDetails: { // ErrorDetails
63
+ * // code: "STRING_VALUE", // required
64
+ * // message: "STRING_VALUE", // required
65
+ * // },
56
66
  * // },
57
67
  * // ],
58
68
  * // nextToken: "STRING_VALUE",
@@ -24,7 +24,7 @@ declare const ListAgentRecommendationItemsCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Lists recommendation items for a specific recommendation. Recommendation items provide detailed information about individual optimization opportunities.</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>Lists recommendation items for a specific recommendation. Recommendation items provide detailed information about individual optimization opportunities.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -52,6 +52,10 @@ declare const ListAgentRecommendationItemsCommand_base: {
52
52
  * // createdAt: new Date("TIMESTAMP"), // required
53
53
  * // lastModifiedBy: "STRING_VALUE",
54
54
  * // lastModifiedAt: new Date("TIMESTAMP"),
55
+ * // autoRemediation: { // AutoRemediation
56
+ * // deepLink: "STRING_VALUE",
57
+ * // cliCommand: "STRING_VALUE",
58
+ * // },
55
59
  * // },
56
60
  * // ],
57
61
  * // nextToken: "STRING_VALUE",
@@ -24,7 +24,7 @@ declare const ListAgentRecommendationsCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Lists active optimization recommendations for a specified profile with optional filtering by state.</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>Lists active optimization recommendations for a specified profile with optional filtering by state.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -0,0 +1,89 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { PutAgentPreferencesRequest, PutAgentPreferencesResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link PutAgentPreferencesCommand}.
11
+ */
12
+ export interface PutAgentPreferencesCommandInput extends PutAgentPreferencesRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link PutAgentPreferencesCommand}.
18
+ */
19
+ export interface PutAgentPreferencesCommandOutput extends PutAgentPreferencesResponse, __MetadataBearer {
20
+ }
21
+ declare const PutAgentPreferencesCommand_base: {
22
+ new (input: PutAgentPreferencesCommandInput): import("@smithy/core/client").CommandImpl<PutAgentPreferencesCommandInput, PutAgentPreferencesCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutAgentPreferencesCommandInput): import("@smithy/core/client").CommandImpl<PutAgentPreferencesCommandInput, PutAgentPreferencesCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Creates or replaces the caller's Well-Architected Agent preferences. Each supplied update sets the desired state of one preference. Preferences not named in the request are left unchanged. Enabling or disabling is performed synchronously, so a failure to reach the requested state is returned as a modeled exception rather than a FAILED status. On success the operation returns an empty response. Call GetAgentPreferences to read the resulting state. The account the preferences belong to is inferred from the caller's authorization context.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, PutAgentPreferencesCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, PutAgentPreferencesCommand } = 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 = { // PutAgentPreferencesRequest
37
+ * preferences: [ // PreferenceUpdates // required
38
+ * { // PreferenceUpdate
39
+ * key: "ORG_INTEGRATION", // required
40
+ * state: "ENABLED" || "DISABLED", // required
41
+ * },
42
+ * ],
43
+ * };
44
+ * const command = new PutAgentPreferencesCommand(input);
45
+ * const response = await client.send(command);
46
+ * // {};
47
+ *
48
+ * ```
49
+ *
50
+ * @param PutAgentPreferencesCommandInput - {@link PutAgentPreferencesCommandInput}
51
+ * @returns {@link PutAgentPreferencesCommandOutput}
52
+ * @see {@link PutAgentPreferencesCommandInput} for command's `input` shape.
53
+ * @see {@link PutAgentPreferencesCommandOutput} for command's `response` shape.
54
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>User does not have sufficient access to perform this action.</p>
58
+ *
59
+ * @throws {@link ConflictException} (client fault)
60
+ * <p>The resource has already been processed, was deleted, or is too large.</p>
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>Request was denied due to request throttling.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>The user input is not valid.</p>
70
+ *
71
+ * @throws {@link WellArchitectedServiceException}
72
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
73
+ *
74
+ *
75
+ * @public
76
+ */
77
+ export declare class PutAgentPreferencesCommand extends PutAgentPreferencesCommand_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: PutAgentPreferencesRequest;
82
+ output: {};
83
+ };
84
+ sdk: {
85
+ input: PutAgentPreferencesCommandInput;
86
+ output: PutAgentPreferencesCommandOutput;
87
+ };
88
+ };
89
+ }
@@ -0,0 +1,85 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { PutAgentProfilePolicyRequest, PutAgentProfilePolicyResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link PutAgentProfilePolicyCommand}.
11
+ */
12
+ export interface PutAgentProfilePolicyCommandInput extends PutAgentProfilePolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link PutAgentProfilePolicyCommand}.
18
+ */
19
+ export interface PutAgentProfilePolicyCommandOutput extends PutAgentProfilePolicyResponse, __MetadataBearer {
20
+ }
21
+ declare const PutAgentProfilePolicyCommand_base: {
22
+ new (input: PutAgentProfilePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutAgentProfilePolicyCommandInput, PutAgentProfilePolicyCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutAgentProfilePolicyCommandInput): import("@smithy/core/client").CommandImpl<PutAgentProfilePolicyCommandInput, PutAgentProfilePolicyCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Attaches or replaces a resource-based policy on an Agent Profile. The policy controls cross-account access to the profile and its child resources such as recommendations, goals, and contexts. Only the profile owner can call this operation. The policy must be valid IAM JSON with Allow-only statements and no negation condition operators.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, PutAgentProfilePolicyCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, PutAgentProfilePolicyCommand } = 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 = { // PutAgentProfilePolicyRequest
37
+ * profileArn: "STRING_VALUE", // required
38
+ * policy: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new PutAgentProfilePolicyCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param PutAgentProfilePolicyCommandInput - {@link PutAgentProfilePolicyCommandInput}
47
+ * @returns {@link PutAgentProfilePolicyCommandOutput}
48
+ * @see {@link PutAgentProfilePolicyCommandInput} for command's `input` shape.
49
+ * @see {@link PutAgentProfilePolicyCommandOutput} for command's `response` shape.
50
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>User does not have sufficient access to perform this action.</p>
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The requested resource was not found.</p>
60
+ *
61
+ * @throws {@link ThrottlingException} (client fault)
62
+ * <p>Request was denied due to request throttling.</p>
63
+ *
64
+ * @throws {@link ValidationException} (client fault)
65
+ * <p>The user input is not valid.</p>
66
+ *
67
+ * @throws {@link WellArchitectedServiceException}
68
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
69
+ *
70
+ *
71
+ * @public
72
+ */
73
+ export declare class PutAgentProfilePolicyCommand extends PutAgentProfilePolicyCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: PutAgentProfilePolicyRequest;
78
+ output: {};
79
+ };
80
+ sdk: {
81
+ input: PutAgentProfilePolicyCommandInput;
82
+ output: PutAgentProfilePolicyCommandOutput;
83
+ };
84
+ };
85
+ }
@@ -0,0 +1,85 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { PutAgentRecommendationPolicyRequest, PutAgentRecommendationPolicyResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link PutAgentRecommendationPolicyCommand}.
11
+ */
12
+ export interface PutAgentRecommendationPolicyCommandInput extends PutAgentRecommendationPolicyRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link PutAgentRecommendationPolicyCommand}.
18
+ */
19
+ export interface PutAgentRecommendationPolicyCommandOutput extends PutAgentRecommendationPolicyResponse, __MetadataBearer {
20
+ }
21
+ declare const PutAgentRecommendationPolicyCommand_base: {
22
+ new (input: PutAgentRecommendationPolicyCommandInput): import("@smithy/core/client").CommandImpl<PutAgentRecommendationPolicyCommandInput, PutAgentRecommendationPolicyCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: PutAgentRecommendationPolicyCommandInput): import("@smithy/core/client").CommandImpl<PutAgentRecommendationPolicyCommandInput, PutAgentRecommendationPolicyCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Attaches or replaces a resource-based policy on an individual Agent Recommendation. The policy controls cross-account access to the recommendation and its child resources such as items and remediations. The recommendation owner or any principal with profile write access on the parent profile can call this operation. The policy must be valid IAM JSON with Allow-only statements and no negation condition operators.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, PutAgentRecommendationPolicyCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, PutAgentRecommendationPolicyCommand } = 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 = { // PutAgentRecommendationPolicyRequest
37
+ * recommendationArn: "STRING_VALUE", // required
38
+ * policy: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new PutAgentRecommendationPolicyCommand(input);
41
+ * const response = await client.send(command);
42
+ * // {};
43
+ *
44
+ * ```
45
+ *
46
+ * @param PutAgentRecommendationPolicyCommandInput - {@link PutAgentRecommendationPolicyCommandInput}
47
+ * @returns {@link PutAgentRecommendationPolicyCommandOutput}
48
+ * @see {@link PutAgentRecommendationPolicyCommandInput} for command's `input` shape.
49
+ * @see {@link PutAgentRecommendationPolicyCommandOutput} for command's `response` shape.
50
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
51
+ *
52
+ * @throws {@link AccessDeniedException} (client fault)
53
+ * <p>User does not have sufficient access to perform this action.</p>
54
+ *
55
+ * @throws {@link InternalServerException} (server fault)
56
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
57
+ *
58
+ * @throws {@link ResourceNotFoundException} (client fault)
59
+ * <p>The requested resource was not found.</p>
60
+ *
61
+ * @throws {@link ThrottlingException} (client fault)
62
+ * <p>Request was denied due to request throttling.</p>
63
+ *
64
+ * @throws {@link ValidationException} (client fault)
65
+ * <p>The user input is not valid.</p>
66
+ *
67
+ * @throws {@link WellArchitectedServiceException}
68
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
69
+ *
70
+ *
71
+ * @public
72
+ */
73
+ export declare class PutAgentRecommendationPolicyCommand extends PutAgentRecommendationPolicyCommand_base {
74
+ /** @internal type navigation helper, not in runtime. */
75
+ protected static __types: {
76
+ api: {
77
+ input: PutAgentRecommendationPolicyRequest;
78
+ output: {};
79
+ };
80
+ sdk: {
81
+ input: PutAgentRecommendationPolicyCommandInput;
82
+ output: PutAgentRecommendationPolicyCommandOutput;
83
+ };
84
+ };
85
+ }
@@ -0,0 +1,89 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { SendAgentOrganizationalReportDataToS3Request, SendAgentOrganizationalReportDataToS3Response } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link SendAgentOrganizationalReportDataToS3Command}.
11
+ */
12
+ export interface SendAgentOrganizationalReportDataToS3CommandInput extends SendAgentOrganizationalReportDataToS3Request {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link SendAgentOrganizationalReportDataToS3Command}.
18
+ */
19
+ export interface SendAgentOrganizationalReportDataToS3CommandOutput extends SendAgentOrganizationalReportDataToS3Response, __MetadataBearer {
20
+ }
21
+ declare const SendAgentOrganizationalReportDataToS3Command_base: {
22
+ new (input: SendAgentOrganizationalReportDataToS3CommandInput): import("@smithy/core/client").CommandImpl<SendAgentOrganizationalReportDataToS3CommandInput, SendAgentOrganizationalReportDataToS3CommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: SendAgentOrganizationalReportDataToS3CommandInput): import("@smithy/core/client").CommandImpl<SendAgentOrganizationalReportDataToS3CommandInput, SendAgentOrganizationalReportDataToS3CommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Writes the data artifact for a completed Organizational Report directly into a caller-owned S3 bucket. The artifact is written in the requested format to the supplied bucketArn and objectKey, and the resulting S3 location is returned in deliveredTo. This operation creates an S3 object and should not be retried indiscriminately. To download the artifact through a short-lived presigned URL instead, use GetAgentOrganizationalReportData.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { WellArchitectedClient, SendAgentOrganizationalReportDataToS3Command } from "@aws-sdk/client-wellarchitected"; // ES Modules import
32
+ * // const { WellArchitectedClient, SendAgentOrganizationalReportDataToS3Command } = 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 = { // SendAgentOrganizationalReportDataToS3Request
37
+ * reportId: "STRING_VALUE", // required
38
+ * format: "CSV" || "JSON" || "PARQUET", // required
39
+ * bucketArn: "STRING_VALUE", // required
40
+ * objectKey: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new SendAgentOrganizationalReportDataToS3Command(input);
43
+ * const response = await client.send(command);
44
+ * // { // SendAgentOrganizationalReportDataToS3Response
45
+ * // deliveredTo: "STRING_VALUE", // required
46
+ * // };
47
+ *
48
+ * ```
49
+ *
50
+ * @param SendAgentOrganizationalReportDataToS3CommandInput - {@link SendAgentOrganizationalReportDataToS3CommandInput}
51
+ * @returns {@link SendAgentOrganizationalReportDataToS3CommandOutput}
52
+ * @see {@link SendAgentOrganizationalReportDataToS3CommandInput} for command's `input` shape.
53
+ * @see {@link SendAgentOrganizationalReportDataToS3CommandOutput} for command's `response` shape.
54
+ * @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
55
+ *
56
+ * @throws {@link AccessDeniedException} (client fault)
57
+ * <p>User does not have sufficient access to perform this action.</p>
58
+ *
59
+ * @throws {@link InternalServerException} (server fault)
60
+ * <p>There is a problem with the Well-Architected Tool API service.</p>
61
+ *
62
+ * @throws {@link ResourceNotFoundException} (client fault)
63
+ * <p>The requested resource was not found.</p>
64
+ *
65
+ * @throws {@link ThrottlingException} (client fault)
66
+ * <p>Request was denied due to request throttling.</p>
67
+ *
68
+ * @throws {@link ValidationException} (client fault)
69
+ * <p>The user input is not valid.</p>
70
+ *
71
+ * @throws {@link WellArchitectedServiceException}
72
+ * <p>Base exception class for all service exceptions from WellArchitected service.</p>
73
+ *
74
+ *
75
+ * @public
76
+ */
77
+ export declare class SendAgentOrganizationalReportDataToS3Command extends SendAgentOrganizationalReportDataToS3Command_base {
78
+ /** @internal type navigation helper, not in runtime. */
79
+ protected static __types: {
80
+ api: {
81
+ input: SendAgentOrganizationalReportDataToS3Request;
82
+ output: SendAgentOrganizationalReportDataToS3Response;
83
+ };
84
+ sdk: {
85
+ input: SendAgentOrganizationalReportDataToS3CommandInput;
86
+ output: SendAgentOrganizationalReportDataToS3CommandOutput;
87
+ };
88
+ };
89
+ }
@@ -24,7 +24,7 @@ declare const StartAgentRecommendationGenerationCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Initiates a new recommendation generation process for the specified optimization profile. This asynchronous operation analyzes your Amazon Web Services resources and generates optimization recommendations based on the configured pillars and scope. Use GetAgentRecommendationGeneration to check status.</p>
27
+ * <p>Starts a recommendation generation process for the specified agent profile. This asynchronous operation returns immediately. Use <code>GetAgentRecommendationGeneration</code> to check the status of the generation.</p> <p>Currently, only the <code>ARCHITECTURE</code> recommendation type is supported. <code>RESOURCE</code> and <code>APPLICATION</code> recommendations are generated only by the scheduled generation cycle and cannot be started with this operation.</p> <p>For the <code>ARCHITECTURE</code> type, the generation analyzes the infrastructure as code (IaC) template that you specify in <code>additionalContext</code>, and returns updated templates with best practice fixes applied. You must specify <code>scope</code> and <code>additionalContext</code>. You can optionally specify <code>name</code>.</p> <p>Architecture review generations are subject to a daily quota for each profile. For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/agent-quotas.html">Quotas and limits</a> in the Amazon Web Services Well-Architected User Guide.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -57,6 +57,9 @@ declare const UpdateAgentContextCommand_base: {
57
57
  * value: "STRING_VALUE", // required
58
58
  * },
59
59
  * ],
60
+ * organizationalUnitIds: [ // ContextOrganizationalUnitIdList
61
+ * "STRING_VALUE",
62
+ * ],
60
63
  * applicationOverview: "STRING_VALUE",
61
64
  * industry: "STRING_VALUE",
62
65
  * applicationType: "SAS" || "DESKTOP_APPLICATION" || "OTHER",
@@ -92,6 +95,9 @@ declare const UpdateAgentContextCommand_base: {
92
95
  * // value: "STRING_VALUE", // required
93
96
  * // },
94
97
  * // ],
98
+ * // organizationalUnitIds: [ // ContextOrganizationalUnitIdList
99
+ * // "STRING_VALUE",
100
+ * // ],
95
101
  * // applicationOverview: "STRING_VALUE",
96
102
  * // industry: "STRING_VALUE",
97
103
  * // applicationType: "SAS" || "DESKTOP_APPLICATION" || "OTHER",