@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.
- package/README.md +120 -1
- package/dist-cjs/index.js +732 -44
- package/dist-es/WellArchitected.js +41 -1
- package/dist-es/commands/CreateAgentBasicProfileCommand.js +4 -0
- package/dist-es/commands/CreateAgentOrganizationalProfileCommand.js +4 -0
- package/dist-es/commands/CreateAgentOrganizationalReportCommand.js +4 -0
- package/dist-es/commands/DeleteAgentOrganizationalReportCommand.js +4 -0
- package/dist-es/commands/DeleteAgentProfilePolicyCommand.js +4 -0
- package/dist-es/commands/DeleteAgentRecommendationPolicyCommand.js +4 -0
- package/dist-es/commands/GetAgentOrganizationalReportCommand.js +4 -0
- package/dist-es/commands/GetAgentOrganizationalReportDataCommand.js +4 -0
- package/dist-es/commands/GetAgentPreferencesCommand.js +4 -0
- package/dist-es/commands/GetAgentProfilePolicyCommand.js +4 -0
- package/dist-es/commands/GetAgentRecommendationPolicyCommand.js +4 -0
- package/dist-es/commands/ListAgentOrganizationalReportsCommand.js +4 -0
- package/dist-es/commands/PutAgentPreferencesCommand.js +4 -0
- package/dist-es/commands/PutAgentProfilePolicyCommand.js +4 -0
- package/dist-es/commands/PutAgentRecommendationPolicyCommand.js +4 -0
- package/dist-es/commands/SendAgentOrganizationalReportDataToS3Command.js +4 -0
- package/dist-es/commands/UpdateAgentOrganizationalProfileCommand.js +4 -0
- package/dist-es/commands/index.js +17 -0
- package/dist-es/index.js +2 -0
- package/dist-es/models/enums.js +41 -5
- package/dist-es/models/models_1.js +1 -0
- package/dist-es/pagination/ListAgentOrganizationalReportsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +482 -36
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForAgentOrganizationalReportCompleted.js +49 -0
- package/dist-types/WellArchitected.d.ts +139 -2
- package/dist-types/WellArchitectedClient.d.ts +20 -3
- package/dist-types/commands/CreateAgentBasicProfileCommand.d.ts +98 -0
- package/dist-types/commands/CreateAgentContextCommand.d.ts +6 -0
- package/dist-types/commands/CreateAgentOrganizationalProfileCommand.d.ts +166 -0
- package/dist-types/commands/CreateAgentOrganizationalReportCommand.d.ts +119 -0
- package/dist-types/commands/DeleteAgentOrganizationalReportCommand.d.ts +84 -0
- package/dist-types/commands/DeleteAgentProfilePolicyCommand.d.ts +84 -0
- package/dist-types/commands/DeleteAgentRecommendationPolicyCommand.d.ts +84 -0
- package/dist-types/commands/GetAgentContextCommand.d.ts +3 -0
- package/dist-types/commands/GetAgentOrganizationalReportCommand.d.ts +151 -0
- package/dist-types/commands/GetAgentOrganizationalReportDataCommand.d.ts +88 -0
- package/dist-types/commands/GetAgentPreferencesCommand.d.ts +87 -0
- package/dist-types/commands/GetAgentProfileCommand.d.ts +22 -3
- package/dist-types/commands/GetAgentProfilePolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetAgentRecommendationCommand.d.ts +1 -1
- package/dist-types/commands/GetAgentRecommendationGenerationCommand.d.ts +11 -7
- package/dist-types/commands/GetAgentRecommendationPolicyCommand.d.ts +87 -0
- package/dist-types/commands/ListAgentContextsCommand.d.ts +3 -0
- package/dist-types/commands/ListAgentOrganizationalReportsCommand.d.ts +95 -0
- package/dist-types/commands/ListAgentProfilesCommand.d.ts +22 -9
- package/dist-types/commands/ListAgentRecommendationGenerationsCommand.d.ts +11 -1
- package/dist-types/commands/ListAgentRecommendationItemsCommand.d.ts +5 -1
- package/dist-types/commands/ListAgentRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/PutAgentPreferencesCommand.d.ts +89 -0
- package/dist-types/commands/PutAgentProfilePolicyCommand.d.ts +85 -0
- package/dist-types/commands/PutAgentRecommendationPolicyCommand.d.ts +85 -0
- package/dist-types/commands/SendAgentOrganizationalReportDataToS3Command.d.ts +89 -0
- package/dist-types/commands/StartAgentRecommendationGenerationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAgentContextCommand.d.ts +6 -0
- package/dist-types/commands/UpdateAgentOrganizationalProfileCommand.d.ts +148 -0
- package/dist-types/commands/UpdateAgentProfileCommand.d.ts +4 -7
- package/dist-types/commands/UpdateWorkloadCommand.d.ts +2 -1
- package/dist-types/commands/UpdateWorkloadShareCommand.d.ts +1 -1
- package/dist-types/commands/UpgradeLensReviewCommand.d.ts +1 -1
- package/dist-types/commands/UpgradeProfileVersionCommand.d.ts +1 -1
- package/dist-types/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +17 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +129 -13
- package/dist-types/models/models_0.d.ts +1154 -274
- package/dist-types/models/models_1.d.ts +161 -0
- package/dist-types/pagination/ListAgentOrganizationalReportsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +65 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +311 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +102 -0
- package/dist-types/ts3.4/commands/CreateAgentBasicProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAgentOrganizationalProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAgentOrganizationalReportCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAgentOrganizationalReportCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAgentProfilePolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteAgentRecommendationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAgentOrganizationalReportCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAgentOrganizationalReportDataCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetAgentPreferencesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAgentProfilePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAgentRecommendationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAgentOrganizationalReportsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutAgentPreferencesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutAgentProfilePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutAgentRecommendationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/SendAgentOrganizationalReportDataToS3Command.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateAgentOrganizationalProfileCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateWorkloadCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateWorkloadShareCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpgradeLensReviewCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpgradeProfileVersionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpgradeReviewTemplateLensReviewCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +17 -0
- package/dist-types/ts3.4/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +51 -6
- package/dist-types/ts3.4/models/models_0.d.ts +272 -57
- package/dist-types/ts3.4/models/models_1.d.ts +40 -0
- package/dist-types/ts3.4/pagination/ListAgentOrganizationalReportsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +65 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForAgentOrganizationalReportCompleted.d.ts +17 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForAgentOrganizationalReportCompleted.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateAgentOrganizationalProfileRequest, CreateAgentOrganizationalProfileResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateAgentOrganizationalProfileCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateAgentOrganizationalProfileCommandInput extends CreateAgentOrganizationalProfileRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateAgentOrganizationalProfileCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateAgentOrganizationalProfileCommandOutput extends CreateAgentOrganizationalProfileResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateAgentOrganizationalProfileCommand_base: {
|
|
22
|
+
new (input: CreateAgentOrganizationalProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentOrganizationalProfileCommandInput, CreateAgentOrganizationalProfileCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateAgentOrganizationalProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentOrganizationalProfileCommandInput, CreateAgentOrganizationalProfileCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates an Organizational Profile for use with AWS Organizations integration. Organizational Profiles are scoped to an AWS Organization and do not require an execution role or aggregation configuration. The organization is inferred from the caller's identity.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WellArchitectedClient, CreateAgentOrganizationalProfileCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, CreateAgentOrganizationalProfileCommand } = 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 = { // CreateAgentOrganizationalProfileRequest
|
|
37
|
+
* name: "STRING_VALUE", // required
|
|
38
|
+
* displayName: "STRING_VALUE",
|
|
39
|
+
* description: "STRING_VALUE",
|
|
40
|
+
* businessOverview: "STRING_VALUE",
|
|
41
|
+
* pillars: [ // Pillars // required
|
|
42
|
+
* "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
|
|
43
|
+
* ],
|
|
44
|
+
* deletionProtection: true || false,
|
|
45
|
+
* clientToken: "STRING_VALUE",
|
|
46
|
+
* organizationalAggregationConfiguration: { // OrganizationalAggregationConfiguration
|
|
47
|
+
* organizationalUnits: [ // OrganizationalUnitEntryList
|
|
48
|
+
* { // OrganizationalUnitEntry
|
|
49
|
+
* organizationalUnitId: "STRING_VALUE", // required
|
|
50
|
+
* regions: [ // Regions // required
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* accounts: [ // OrganizationalAccountEntryList
|
|
56
|
+
* { // OrganizationalAccountEntry
|
|
57
|
+
* accountId: "STRING_VALUE", // required
|
|
58
|
+
* regions: [ // required
|
|
59
|
+
* "STRING_VALUE",
|
|
60
|
+
* ],
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* },
|
|
64
|
+
* tags: [ // Tags
|
|
65
|
+
* { // Tag
|
|
66
|
+
* key: "STRING_VALUE", // required
|
|
67
|
+
* value: "STRING_VALUE", // required
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* };
|
|
71
|
+
* const command = new CreateAgentOrganizationalProfileCommand(input);
|
|
72
|
+
* const response = await client.send(command);
|
|
73
|
+
* // { // CreateAgentOrganizationalProfileResponse
|
|
74
|
+
* // name: "STRING_VALUE", // required
|
|
75
|
+
* // displayName: "STRING_VALUE",
|
|
76
|
+
* // description: "STRING_VALUE",
|
|
77
|
+
* // businessOverview: "STRING_VALUE",
|
|
78
|
+
* // pillars: [ // Pillars // required
|
|
79
|
+
* // "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
|
|
80
|
+
* // ],
|
|
81
|
+
* // deletionProtection: true || false,
|
|
82
|
+
* // organizationId: "STRING_VALUE", // required
|
|
83
|
+
* // organizationalAggregationConfiguration: { // OrganizationalAggregationConfiguration
|
|
84
|
+
* // organizationalUnits: [ // OrganizationalUnitEntryList
|
|
85
|
+
* // { // OrganizationalUnitEntry
|
|
86
|
+
* // organizationalUnitId: "STRING_VALUE", // required
|
|
87
|
+
* // regions: [ // Regions // required
|
|
88
|
+
* // "STRING_VALUE",
|
|
89
|
+
* // ],
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
92
|
+
* // accounts: [ // OrganizationalAccountEntryList
|
|
93
|
+
* // { // OrganizationalAccountEntry
|
|
94
|
+
* // accountId: "STRING_VALUE", // required
|
|
95
|
+
* // regions: [ // required
|
|
96
|
+
* // "STRING_VALUE",
|
|
97
|
+
* // ],
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // },
|
|
101
|
+
* // arn: "STRING_VALUE", // required
|
|
102
|
+
* // eligibleForScheduledGeneration: true || false,
|
|
103
|
+
* // eligibleForArchitectureGeneration: true || false,
|
|
104
|
+
* // fieldErrors: { // FieldErrors
|
|
105
|
+
* // "<keys>": "STRING_VALUE",
|
|
106
|
+
* // },
|
|
107
|
+
* // tags: [ // Tags
|
|
108
|
+
* // { // Tag
|
|
109
|
+
* // key: "STRING_VALUE", // required
|
|
110
|
+
* // value: "STRING_VALUE", // required
|
|
111
|
+
* // },
|
|
112
|
+
* // ],
|
|
113
|
+
* // createdBy: "STRING_VALUE", // required
|
|
114
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
115
|
+
* // lastModifiedBy: "STRING_VALUE",
|
|
116
|
+
* // lastModifiedAt: new Date("TIMESTAMP"),
|
|
117
|
+
* // };
|
|
118
|
+
*
|
|
119
|
+
* ```
|
|
120
|
+
*
|
|
121
|
+
* @param CreateAgentOrganizationalProfileCommandInput - {@link CreateAgentOrganizationalProfileCommandInput}
|
|
122
|
+
* @returns {@link CreateAgentOrganizationalProfileCommandOutput}
|
|
123
|
+
* @see {@link CreateAgentOrganizationalProfileCommandInput} for command's `input` shape.
|
|
124
|
+
* @see {@link CreateAgentOrganizationalProfileCommandOutput} for command's `response` shape.
|
|
125
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
128
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
129
|
+
*
|
|
130
|
+
* @throws {@link ConflictException} (client fault)
|
|
131
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
132
|
+
*
|
|
133
|
+
* @throws {@link InternalServerException} (server fault)
|
|
134
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
135
|
+
*
|
|
136
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
137
|
+
* <p>The requested resource was not found.</p>
|
|
138
|
+
*
|
|
139
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
140
|
+
* <p>The user has reached their resource quota.</p>
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
143
|
+
* <p>Request was denied due to request throttling.</p>
|
|
144
|
+
*
|
|
145
|
+
* @throws {@link ValidationException} (client fault)
|
|
146
|
+
* <p>The user input is not valid.</p>
|
|
147
|
+
*
|
|
148
|
+
* @throws {@link WellArchitectedServiceException}
|
|
149
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
150
|
+
*
|
|
151
|
+
*
|
|
152
|
+
* @public
|
|
153
|
+
*/
|
|
154
|
+
export declare class CreateAgentOrganizationalProfileCommand extends CreateAgentOrganizationalProfileCommand_base {
|
|
155
|
+
/** @internal type navigation helper, not in runtime. */
|
|
156
|
+
protected static __types: {
|
|
157
|
+
api: {
|
|
158
|
+
input: CreateAgentOrganizationalProfileRequest;
|
|
159
|
+
output: CreateAgentOrganizationalProfileResponse;
|
|
160
|
+
};
|
|
161
|
+
sdk: {
|
|
162
|
+
input: CreateAgentOrganizationalProfileCommandInput;
|
|
163
|
+
output: CreateAgentOrganizationalProfileCommandOutput;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateAgentOrganizationalReportRequest, CreateAgentOrganizationalReportResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateAgentOrganizationalReportCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateAgentOrganizationalReportCommandInput extends CreateAgentOrganizationalReportRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateAgentOrganizationalReportCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateAgentOrganizationalReportCommandOutput extends CreateAgentOrganizationalReportResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateAgentOrganizationalReportCommand_base: {
|
|
22
|
+
new (input: CreateAgentOrganizationalReportCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentOrganizationalReportCommandInput, CreateAgentOrganizationalReportCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [CreateAgentOrganizationalReportCommandInput]): import("@smithy/core/client").CommandImpl<CreateAgentOrganizationalReportCommandInput, CreateAgentOrganizationalReportCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates an Organizational Report, which is an asynchronously-materialized, point-in-time snapshot of recommendations across all Agent Profiles within the caller's AWS Organization. You can optionally narrow the scope with filters. The operation is idempotent on the caller-supplied clientToken. The AWS Organization the report belongs to is inferred from the caller's authorization context. Reports are retained for 90 days from creation, after which they are automatically deleted. Use DeleteAgentOrganizationalReport to delete a report earlier.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WellArchitectedClient, CreateAgentOrganizationalReportCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, CreateAgentOrganizationalReportCommand } = 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 = { // CreateAgentOrganizationalReportRequest
|
|
37
|
+
* clientToken: "STRING_VALUE",
|
|
38
|
+
* label: "STRING_VALUE",
|
|
39
|
+
* filters: { // OrganizationalReportFilters
|
|
40
|
+
* accountIds: [ // OrganizationalReportAccountIdList
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* organizationalUnitIds: [ // OrganizationalUnitIdList
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* pillars: [ // PillarList
|
|
47
|
+
* "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
|
|
48
|
+
* ],
|
|
49
|
+
* recommendationTypes: [ // RecommendationTypeList
|
|
50
|
+
* "RESOURCE" || "ARCHITECTURE" || "APPLICATION",
|
|
51
|
+
* ],
|
|
52
|
+
* statuses: [ // RecommendationStatusList
|
|
53
|
+
* "ACTIVE" || "SUPPRESSED" || "COMPLETED",
|
|
54
|
+
* ],
|
|
55
|
+
* priorities: [ // PriorityList
|
|
56
|
+
* "HIGH" || "MEDIUM" || "LOW",
|
|
57
|
+
* ],
|
|
58
|
+
* createdAtRange: { // TimeWindow
|
|
59
|
+
* from: new Date("TIMESTAMP"),
|
|
60
|
+
* to: new Date("TIMESTAMP"),
|
|
61
|
+
* },
|
|
62
|
+
* updatedAtRange: {
|
|
63
|
+
* from: new Date("TIMESTAMP"),
|
|
64
|
+
* to: new Date("TIMESTAMP"),
|
|
65
|
+
* },
|
|
66
|
+
* },
|
|
67
|
+
* };
|
|
68
|
+
* const command = new CreateAgentOrganizationalReportCommand(input);
|
|
69
|
+
* const response = await client.send(command);
|
|
70
|
+
* // { // CreateAgentOrganizationalReportResponse
|
|
71
|
+
* // reportId: "STRING_VALUE", // required
|
|
72
|
+
* // state: "DISCOVERING" || "SNAPSHOTTING" || "AGGREGATING" || "COMPRESSING" || "COMPLETED" || "FAILED" || "DELETING", // required
|
|
73
|
+
* // };
|
|
74
|
+
*
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
77
|
+
* @param CreateAgentOrganizationalReportCommandInput - {@link CreateAgentOrganizationalReportCommandInput}
|
|
78
|
+
* @returns {@link CreateAgentOrganizationalReportCommandOutput}
|
|
79
|
+
* @see {@link CreateAgentOrganizationalReportCommandInput} for command's `input` shape.
|
|
80
|
+
* @see {@link CreateAgentOrganizationalReportCommandOutput} for command's `response` shape.
|
|
81
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
84
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ConflictException} (client fault)
|
|
87
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link InternalServerException} (server fault)
|
|
90
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
93
|
+
* <p>The user has reached their resource quota.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
96
|
+
* <p>Request was denied due to request throttling.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link ValidationException} (client fault)
|
|
99
|
+
* <p>The user input is not valid.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link WellArchitectedServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
103
|
+
*
|
|
104
|
+
*
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
export declare class CreateAgentOrganizationalReportCommand extends CreateAgentOrganizationalReportCommand_base {
|
|
108
|
+
/** @internal type navigation helper, not in runtime. */
|
|
109
|
+
protected static __types: {
|
|
110
|
+
api: {
|
|
111
|
+
input: CreateAgentOrganizationalReportRequest;
|
|
112
|
+
output: CreateAgentOrganizationalReportResponse;
|
|
113
|
+
};
|
|
114
|
+
sdk: {
|
|
115
|
+
input: CreateAgentOrganizationalReportCommandInput;
|
|
116
|
+
output: CreateAgentOrganizationalReportCommandOutput;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteAgentOrganizationalReportRequest, DeleteAgentOrganizationalReportResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteAgentOrganizationalReportCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteAgentOrganizationalReportCommandInput extends DeleteAgentOrganizationalReportRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteAgentOrganizationalReportCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteAgentOrganizationalReportCommandOutput extends DeleteAgentOrganizationalReportResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteAgentOrganizationalReportCommand_base: {
|
|
22
|
+
new (input: DeleteAgentOrganizationalReportCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentOrganizationalReportCommandInput, DeleteAgentOrganizationalReportCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteAgentOrganizationalReportCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentOrganizationalReportCommandInput, DeleteAgentOrganizationalReportCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes an Organizational Report and its associated artifacts. The operation is idempotent, so repeated calls for a report that has already been deleted return success.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WellArchitectedClient, DeleteAgentOrganizationalReportCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, DeleteAgentOrganizationalReportCommand } = 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 = { // DeleteAgentOrganizationalReportRequest
|
|
37
|
+
* reportId: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteAgentOrganizationalReportCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteAgentOrganizationalReportCommandInput - {@link DeleteAgentOrganizationalReportCommandInput}
|
|
46
|
+
* @returns {@link DeleteAgentOrganizationalReportCommandOutput}
|
|
47
|
+
* @see {@link DeleteAgentOrganizationalReportCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteAgentOrganizationalReportCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServerException} (server fault)
|
|
55
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
|
+
* <p>The requested resource was not found.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
61
|
+
* <p>Request was denied due to request throttling.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
* <p>The user input is not valid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link WellArchitectedServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class DeleteAgentOrganizationalReportCommand extends DeleteAgentOrganizationalReportCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: DeleteAgentOrganizationalReportRequest;
|
|
77
|
+
output: {};
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: DeleteAgentOrganizationalReportCommandInput;
|
|
81
|
+
output: DeleteAgentOrganizationalReportCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteAgentProfilePolicyRequest, DeleteAgentProfilePolicyResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteAgentProfilePolicyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteAgentProfilePolicyCommandInput extends DeleteAgentProfilePolicyRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteAgentProfilePolicyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteAgentProfilePolicyCommandOutput extends DeleteAgentProfilePolicyResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteAgentProfilePolicyCommand_base: {
|
|
22
|
+
new (input: DeleteAgentProfilePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentProfilePolicyCommandInput, DeleteAgentProfilePolicyCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteAgentProfilePolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentProfilePolicyCommandInput, DeleteAgentProfilePolicyCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Removes the resource-based policy from an Agent Profile. This revokes all cross-account access previously granted by the policy. 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, DeleteAgentProfilePolicyCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, DeleteAgentProfilePolicyCommand } = 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 = { // DeleteAgentProfilePolicyRequest
|
|
37
|
+
* profileArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteAgentProfilePolicyCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteAgentProfilePolicyCommandInput - {@link DeleteAgentProfilePolicyCommandInput}
|
|
46
|
+
* @returns {@link DeleteAgentProfilePolicyCommandOutput}
|
|
47
|
+
* @see {@link DeleteAgentProfilePolicyCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteAgentProfilePolicyCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServerException} (server fault)
|
|
55
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
|
+
* <p>The requested resource was not found.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
61
|
+
* <p>Request was denied due to request throttling.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
* <p>The user input is not valid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link WellArchitectedServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class DeleteAgentProfilePolicyCommand extends DeleteAgentProfilePolicyCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: DeleteAgentProfilePolicyRequest;
|
|
77
|
+
output: {};
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: DeleteAgentProfilePolicyCommandInput;
|
|
81
|
+
output: DeleteAgentProfilePolicyCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteAgentRecommendationPolicyRequest, DeleteAgentRecommendationPolicyResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteAgentRecommendationPolicyCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteAgentRecommendationPolicyCommandInput extends DeleteAgentRecommendationPolicyRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteAgentRecommendationPolicyCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteAgentRecommendationPolicyCommandOutput extends DeleteAgentRecommendationPolicyResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteAgentRecommendationPolicyCommand_base: {
|
|
22
|
+
new (input: DeleteAgentRecommendationPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentRecommendationPolicyCommandInput, DeleteAgentRecommendationPolicyCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteAgentRecommendationPolicyCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentRecommendationPolicyCommandInput, DeleteAgentRecommendationPolicyCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Removes the resource-based policy from an individual Agent Recommendation. This revokes all cross-account access previously granted by the policy. 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, DeleteAgentRecommendationPolicyCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, DeleteAgentRecommendationPolicyCommand } = 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 = { // DeleteAgentRecommendationPolicyRequest
|
|
37
|
+
* recommendationArn: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteAgentRecommendationPolicyCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteAgentRecommendationPolicyCommandInput - {@link DeleteAgentRecommendationPolicyCommandInput}
|
|
46
|
+
* @returns {@link DeleteAgentRecommendationPolicyCommandOutput}
|
|
47
|
+
* @see {@link DeleteAgentRecommendationPolicyCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteAgentRecommendationPolicyCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link InternalServerException} (server fault)
|
|
55
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
58
|
+
* <p>The requested resource was not found.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
61
|
+
* <p>Request was denied due to request throttling.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ValidationException} (client fault)
|
|
64
|
+
* <p>The user input is not valid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link WellArchitectedServiceException}
|
|
67
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
68
|
+
*
|
|
69
|
+
*
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class DeleteAgentRecommendationPolicyCommand extends DeleteAgentRecommendationPolicyCommand_base {
|
|
73
|
+
/** @internal type navigation helper, not in runtime. */
|
|
74
|
+
protected static __types: {
|
|
75
|
+
api: {
|
|
76
|
+
input: DeleteAgentRecommendationPolicyRequest;
|
|
77
|
+
output: {};
|
|
78
|
+
};
|
|
79
|
+
sdk: {
|
|
80
|
+
input: DeleteAgentRecommendationPolicyCommandInput;
|
|
81
|
+
output: DeleteAgentRecommendationPolicyCommandOutput;
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -64,6 +64,9 @@ declare const GetAgentContextCommand_base: {
|
|
|
64
64
|
* // value: "STRING_VALUE", // required
|
|
65
65
|
* // },
|
|
66
66
|
* // ],
|
|
67
|
+
* // organizationalUnitIds: [ // ContextOrganizationalUnitIdList
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
67
70
|
* // applicationOverview: "STRING_VALUE",
|
|
68
71
|
* // industry: "STRING_VALUE",
|
|
69
72
|
* // applicationType: "SAS" || "DESKTOP_APPLICATION" || "OTHER",
|