@aws-sdk/client-wellarchitected 3.1107.0 → 3.1109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +162 -6
- package/dist-cjs/index.js +1125 -107
- package/dist-es/WellArchitected.js +58 -0
- package/dist-es/commands/CreateAgentContextCommand.js +4 -0
- package/dist-es/commands/CreateAgentGoalCommand.js +4 -0
- package/dist-es/commands/CreateAgentProfileCommand.js +4 -0
- package/dist-es/commands/DeleteAgentContextCommand.js +4 -0
- package/dist-es/commands/DeleteAgentGoalCommand.js +4 -0
- package/dist-es/commands/DeleteAgentProfileCommand.js +4 -0
- package/dist-es/commands/GetAgentContextCommand.js +4 -0
- package/dist-es/commands/GetAgentGoalCommand.js +4 -0
- package/dist-es/commands/GetAgentProfileCommand.js +4 -0
- package/dist-es/commands/GetAgentRecommendationCommand.js +4 -0
- package/dist-es/commands/GetAgentRecommendationGenerationCommand.js +4 -0
- package/dist-es/commands/ListAgentContextsCommand.js +4 -0
- package/dist-es/commands/ListAgentGoalsCommand.js +4 -0
- package/dist-es/commands/ListAgentProfilesCommand.js +4 -0
- package/dist-es/commands/ListAgentRecommendationGenerationsCommand.js +4 -0
- package/dist-es/commands/ListAgentRecommendationItemsCommand.js +4 -0
- package/dist-es/commands/ListAgentRecommendationsCommand.js +4 -0
- package/dist-es/commands/PutAgentRecommendationFeedbackCommand.js +4 -0
- package/dist-es/commands/StartAgentRecommendationGenerationCommand.js +4 -0
- package/dist-es/commands/UpdateAgentContextCommand.js +4 -0
- package/dist-es/commands/UpdateAgentGoalCommand.js +4 -0
- package/dist-es/commands/UpdateAgentProfileCommand.js +4 -0
- package/dist-es/commands/UpdateAgentRecommendationStatusCommand.js +4 -0
- package/dist-es/commands/index.js +23 -0
- package/dist-es/models/enums.js +92 -0
- package/dist-es/pagination/ListAgentContextsPaginator.js +4 -0
- package/dist-es/pagination/ListAgentGoalsPaginator.js +4 -0
- package/dist-es/pagination/ListAgentProfilesPaginator.js +4 -0
- package/dist-es/pagination/ListAgentRecommendationGenerationsPaginator.js +4 -0
- package/dist-es/pagination/ListAgentRecommendationItemsPaginator.js +4 -0
- package/dist-es/pagination/ListAgentRecommendationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/schemas/schemas_0.js +799 -106
- package/dist-types/WellArchitected.d.ts +205 -6
- package/dist-types/WellArchitectedClient.d.ts +26 -8
- package/dist-types/commands/AssociateLensesCommand.d.ts +1 -11
- package/dist-types/commands/CreateAgentContextCommand.d.ts +158 -0
- package/dist-types/commands/CreateAgentGoalCommand.d.ts +110 -0
- package/dist-types/commands/CreateAgentProfileCommand.d.ts +146 -0
- package/dist-types/commands/CreateLensShareCommand.d.ts +1 -21
- package/dist-types/commands/CreateLensVersionCommand.d.ts +1 -7
- package/dist-types/commands/CreateReviewTemplateCommand.d.ts +1 -12
- package/dist-types/commands/CreateTemplateShareCommand.d.ts +1 -15
- package/dist-types/commands/CreateWorkloadCommand.d.ts +1 -36
- package/dist-types/commands/CreateWorkloadShareCommand.d.ts +1 -8
- package/dist-types/commands/DeleteAgentContextCommand.d.ts +85 -0
- package/dist-types/commands/DeleteAgentGoalCommand.d.ts +85 -0
- package/dist-types/commands/DeleteAgentProfileCommand.d.ts +87 -0
- package/dist-types/commands/DeleteLensCommand.d.ts +1 -15
- package/dist-types/commands/DeleteLensShareCommand.d.ts +1 -15
- package/dist-types/commands/DeleteProfileCommand.d.ts +1 -12
- package/dist-types/commands/DeleteReviewTemplateCommand.d.ts +1 -5
- package/dist-types/commands/DeleteTemplateShareCommand.d.ts +1 -4
- package/dist-types/commands/DisassociateLensesCommand.d.ts +1 -6
- package/dist-types/commands/ExportLensCommand.d.ts +1 -16
- package/dist-types/commands/GetAgentContextCommand.d.ts +124 -0
- package/dist-types/commands/GetAgentGoalCommand.d.ts +99 -0
- package/dist-types/commands/GetAgentProfileCommand.d.ts +119 -0
- package/dist-types/commands/GetAgentRecommendationCommand.d.ts +188 -0
- package/dist-types/commands/GetAgentRecommendationGenerationCommand.d.ts +123 -0
- package/dist-types/commands/GetConsolidatedReportCommand.d.ts +1 -2
- package/dist-types/commands/ImportLensCommand.d.ts +1 -20
- package/dist-types/commands/ListAgentContextsCommand.d.ts +125 -0
- package/dist-types/commands/ListAgentGoalsCommand.d.ts +100 -0
- package/dist-types/commands/ListAgentProfilesCommand.d.ts +122 -0
- package/dist-types/commands/ListAgentRecommendationGenerationsCommand.d.ts +102 -0
- package/dist-types/commands/ListAgentRecommendationItemsCommand.d.ts +101 -0
- package/dist-types/commands/ListAgentRecommendationsCommand.d.ts +124 -0
- package/dist-types/commands/ListShareInvitationsCommand.d.ts +1 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -4
- package/dist-types/commands/PutAgentRecommendationFeedbackCommand.d.ts +87 -0
- package/dist-types/commands/StartAgentRecommendationGenerationCommand.d.ts +118 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -4
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -8
- package/dist-types/commands/UpdateAgentContextCommand.d.ts +152 -0
- package/dist-types/commands/UpdateAgentGoalCommand.d.ts +105 -0
- package/dist-types/commands/UpdateAgentProfileCommand.d.ts +137 -0
- package/dist-types/commands/UpdateAgentRecommendationStatusCommand.d.ts +86 -0
- package/dist-types/commands/UpdateShareInvitationCommand.d.ts +1 -4
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/index.d.ts +1 -6
- package/dist-types/models/enums.d.ts +228 -0
- package/dist-types/models/models_0.d.ts +2830 -1786
- package/dist-types/pagination/ListAgentContextsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgentGoalsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgentProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgentRecommendationGenerationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgentRecommendationItemsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgentRecommendationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/schemas/schemas_0.d.ts +92 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +434 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +138 -0
- package/dist-types/ts3.4/commands/CreateAgentContextCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateAgentGoalCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateAgentProfileCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteAgentContextCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteAgentGoalCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteAgentProfileCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAgentContextCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAgentGoalCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAgentProfileCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAgentRecommendationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetAgentRecommendationGenerationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAgentContextsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAgentGoalsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAgentProfilesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAgentRecommendationGenerationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAgentRecommendationItemsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAgentRecommendationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutAgentRecommendationFeedbackCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartAgentRecommendationGenerationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateAgentContextCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateAgentGoalCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateAgentProfileCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateAgentRecommendationStatusCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/models/enums.d.ts +111 -0
- package/dist-types/ts3.4/models/models_0.d.ts +494 -0
- package/dist-types/ts3.4/pagination/ListAgentContextsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgentGoalsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgentProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgentRecommendationGenerationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgentRecommendationItemsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgentRecommendationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +92 -0
- package/package.json +6 -6
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateAgentGoalRequest, CreateAgentGoalResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateAgentGoalCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateAgentGoalCommandInput extends CreateAgentGoalRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateAgentGoalCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateAgentGoalCommandOutput extends CreateAgentGoalResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateAgentGoalCommand_base: {
|
|
22
|
+
new (input: CreateAgentGoalCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentGoalCommandInput, CreateAgentGoalCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateAgentGoalCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentGoalCommandInput, CreateAgentGoalCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates an optimization goal associated with a profile. Goals define specific targets and objectives for the optimization process.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WellArchitectedClient, CreateAgentGoalCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, CreateAgentGoalCommand } = 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 = { // CreateAgentGoalRequest
|
|
37
|
+
* clientToken: "STRING_VALUE",
|
|
38
|
+
* profileArn: "STRING_VALUE", // required
|
|
39
|
+
* pillars: [ // Pillars // required
|
|
40
|
+
* "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
|
|
41
|
+
* ],
|
|
42
|
+
* title: "STRING_VALUE", // required
|
|
43
|
+
* description: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new CreateAgentGoalCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // CreateAgentGoalResponse
|
|
48
|
+
* // goal: { // GoalSummary
|
|
49
|
+
* // id: "STRING_VALUE", // required
|
|
50
|
+
* // profileArn: "STRING_VALUE", // required
|
|
51
|
+
* // pillars: [ // Pillars // required
|
|
52
|
+
* // "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
|
|
53
|
+
* // ],
|
|
54
|
+
* // title: "STRING_VALUE", // required
|
|
55
|
+
* // description: "STRING_VALUE",
|
|
56
|
+
* // createdBy: "STRING_VALUE", // required
|
|
57
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // lastModifiedBy: "STRING_VALUE",
|
|
59
|
+
* // lastModifiedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // },
|
|
61
|
+
* // };
|
|
62
|
+
*
|
|
63
|
+
* ```
|
|
64
|
+
*
|
|
65
|
+
* @param CreateAgentGoalCommandInput - {@link CreateAgentGoalCommandInput}
|
|
66
|
+
* @returns {@link CreateAgentGoalCommandOutput}
|
|
67
|
+
* @see {@link CreateAgentGoalCommandInput} for command's `input` shape.
|
|
68
|
+
* @see {@link CreateAgentGoalCommandOutput} for command's `response` shape.
|
|
69
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
72
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ConflictException} (client fault)
|
|
75
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link InternalServerException} (server fault)
|
|
78
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>The requested resource was not found.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
84
|
+
* <p>The user has reached their resource quota.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
87
|
+
* <p>Request was denied due to request throttling.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ValidationException} (client fault)
|
|
90
|
+
* <p>The user input is not valid.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link WellArchitectedServiceException}
|
|
93
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
94
|
+
*
|
|
95
|
+
*
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
export declare class CreateAgentGoalCommand extends CreateAgentGoalCommand_base {
|
|
99
|
+
/** @internal type navigation helper, not in runtime. */
|
|
100
|
+
protected static __types: {
|
|
101
|
+
api: {
|
|
102
|
+
input: CreateAgentGoalRequest;
|
|
103
|
+
output: CreateAgentGoalResponse;
|
|
104
|
+
};
|
|
105
|
+
sdk: {
|
|
106
|
+
input: CreateAgentGoalCommandInput;
|
|
107
|
+
output: CreateAgentGoalCommandOutput;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
}
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateAgentProfileRequest, CreateAgentProfileResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateAgentProfileCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateAgentProfileCommandInput extends CreateAgentProfileRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateAgentProfileCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateAgentProfileCommandOutput extends CreateAgentProfileResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateAgentProfileCommand_base: {
|
|
22
|
+
new (input: CreateAgentProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentProfileCommandInput, CreateAgentProfileCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateAgentProfileCommandInput): import("@smithy/core/client").CommandImpl<CreateAgentProfileCommandInput, CreateAgentProfileCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Creates an optimization profile that defines the scope and configuration for generating recommendations. A profile specifies the execution role, target pillars, and aggregation settings for analyzing your Amazon Web Services resources.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WellArchitectedClient, CreateAgentProfileCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, CreateAgentProfileCommand } = 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 = { // CreateAgentProfileRequest
|
|
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
|
+
* executionRoleArn: "STRING_VALUE", // required
|
|
46
|
+
* aggregationConfiguration: [ // AggregationConfigurations // required
|
|
47
|
+
* { // AggregationConfiguration
|
|
48
|
+
* accountId: "STRING_VALUE", // required
|
|
49
|
+
* regions: [ // Regions // required
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* accessRoleArn: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* clientToken: "STRING_VALUE",
|
|
56
|
+
* tags: [ // Tags
|
|
57
|
+
* { // Tag
|
|
58
|
+
* key: "STRING_VALUE", // required
|
|
59
|
+
* value: "STRING_VALUE", // required
|
|
60
|
+
* },
|
|
61
|
+
* ],
|
|
62
|
+
* };
|
|
63
|
+
* const command = new CreateAgentProfileCommand(input);
|
|
64
|
+
* const response = await client.send(command);
|
|
65
|
+
* // { // CreateAgentProfileResponse
|
|
66
|
+
* // name: "STRING_VALUE", // required
|
|
67
|
+
* // displayName: "STRING_VALUE",
|
|
68
|
+
* // description: "STRING_VALUE",
|
|
69
|
+
* // businessOverview: "STRING_VALUE",
|
|
70
|
+
* // pillars: [ // Pillars // required
|
|
71
|
+
* // "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
|
|
72
|
+
* // ],
|
|
73
|
+
* // deletionProtection: true || false,
|
|
74
|
+
* // executionRoleArn: "STRING_VALUE", // required
|
|
75
|
+
* // aggregationConfiguration: [ // AggregationConfigurations // required
|
|
76
|
+
* // { // AggregationConfiguration
|
|
77
|
+
* // accountId: "STRING_VALUE", // required
|
|
78
|
+
* // regions: [ // Regions // required
|
|
79
|
+
* // "STRING_VALUE",
|
|
80
|
+
* // ],
|
|
81
|
+
* // accessRoleArn: "STRING_VALUE", // required
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // arn: "STRING_VALUE", // required
|
|
85
|
+
* // eligibleForScheduledGeneration: true || false,
|
|
86
|
+
* // eligibleForArchitectureGeneration: true || false,
|
|
87
|
+
* // fieldErrors: { // FieldErrors
|
|
88
|
+
* // "<keys>": "STRING_VALUE",
|
|
89
|
+
* // },
|
|
90
|
+
* // tags: [ // Tags
|
|
91
|
+
* // { // Tag
|
|
92
|
+
* // key: "STRING_VALUE", // required
|
|
93
|
+
* // value: "STRING_VALUE", // required
|
|
94
|
+
* // },
|
|
95
|
+
* // ],
|
|
96
|
+
* // createdBy: "STRING_VALUE", // required
|
|
97
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
98
|
+
* // lastModifiedBy: "STRING_VALUE",
|
|
99
|
+
* // lastModifiedAt: new Date("TIMESTAMP"),
|
|
100
|
+
* // };
|
|
101
|
+
*
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @param CreateAgentProfileCommandInput - {@link CreateAgentProfileCommandInput}
|
|
105
|
+
* @returns {@link CreateAgentProfileCommandOutput}
|
|
106
|
+
* @see {@link CreateAgentProfileCommandInput} for command's `input` shape.
|
|
107
|
+
* @see {@link CreateAgentProfileCommandOutput} for command's `response` shape.
|
|
108
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
111
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ConflictException} (client fault)
|
|
114
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link InternalServerException} (server fault)
|
|
117
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
120
|
+
* <p>The user has reached their resource quota.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
123
|
+
* <p>Request was denied due to request throttling.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ValidationException} (client fault)
|
|
126
|
+
* <p>The user input is not valid.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link WellArchitectedServiceException}
|
|
129
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
130
|
+
*
|
|
131
|
+
*
|
|
132
|
+
* @public
|
|
133
|
+
*/
|
|
134
|
+
export declare class CreateAgentProfileCommand extends CreateAgentProfileCommand_base {
|
|
135
|
+
/** @internal type navigation helper, not in runtime. */
|
|
136
|
+
protected static __types: {
|
|
137
|
+
api: {
|
|
138
|
+
input: CreateAgentProfileRequest;
|
|
139
|
+
output: CreateAgentProfileResponse;
|
|
140
|
+
};
|
|
141
|
+
sdk: {
|
|
142
|
+
input: CreateAgentProfileCommandInput;
|
|
143
|
+
output: CreateAgentProfileCommandOutput;
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
}
|
|
@@ -24,27 +24,7 @@ declare const CreateLensShareCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Create a lens share.</p>
|
|
28
|
-
* <p>The owner of a lens can share it with other Amazon Web Services accounts, users, an organization,
|
|
29
|
-
* and organizational units (OUs) in the same Amazon Web Services Region.
|
|
30
|
-
* Lenses provided by Amazon Web Services (Amazon Web Services Official Content) cannot be shared.</p>
|
|
31
|
-
* <p>
|
|
32
|
-
* Shared access to a lens is not removed until the lens invitation is deleted.</p>
|
|
33
|
-
* <p>If you share a lens with an organization or OU, all accounts in the organization or OU
|
|
34
|
-
* are granted access to the lens.</p>
|
|
35
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/lenses-sharing.html">Sharing a custom lens</a> in the
|
|
36
|
-
* <i>Well-Architected Tool User Guide</i>.</p>
|
|
37
|
-
* <note>
|
|
38
|
-
* <p>
|
|
39
|
-
* <b>Disclaimer</b>
|
|
40
|
-
* </p>
|
|
41
|
-
* <p>By sharing your custom lenses with other Amazon Web Services accounts,
|
|
42
|
-
* you acknowledge that Amazon Web Services will make your custom lenses available to those
|
|
43
|
-
* other accounts. Those other accounts may continue to access and use your
|
|
44
|
-
* shared custom lenses even if you delete the custom lenses
|
|
45
|
-
* from your own Amazon Web Services account or terminate
|
|
46
|
-
* your Amazon Web Services account.</p>
|
|
47
|
-
* </note>
|
|
27
|
+
* <p>Create a lens share.</p> <p>The owner of a lens can share it with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Lenses provided by Amazon Web Services (Amazon Web Services Official Content) cannot be shared.</p> <p> Shared access to a lens is not removed until the lens invitation is deleted.</p> <p>If you share a lens with an organization or OU, all accounts in the organization or OU are granted access to the lens.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/lenses-sharing.html">Sharing a custom lens</a> in the <i>Well-Architected Tool User Guide</i>.</p> <note> <p> <b>Disclaimer</b> </p> <p>By sharing your custom lenses with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your custom lenses available to those other accounts. Those other accounts may continue to access and use your shared custom lenses even if you delete the custom lenses from your own Amazon Web Services account or terminate your Amazon Web Services account.</p> </note>
|
|
48
28
|
* @example
|
|
49
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
50
30
|
* ```javascript
|
|
@@ -24,13 +24,7 @@ declare const CreateLensVersionCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Create a new lens version.</p>
|
|
28
|
-
* <p>A lens can have up to 100 versions.</p>
|
|
29
|
-
* <p>Use this operation to publish a new lens version after you have imported a lens. The <code>LensAlias</code>
|
|
30
|
-
* is used to identify the lens to be published.
|
|
31
|
-
* The owner of a lens can share the lens with other
|
|
32
|
-
* Amazon Web Services accounts and users in the same Amazon Web Services Region. Only the owner of a lens can delete it.
|
|
33
|
-
* </p>
|
|
27
|
+
* <p>Create a new lens version.</p> <p>A lens can have up to 100 versions.</p> <p>Use this operation to publish a new lens version after you have imported a lens. The <code>LensAlias</code> is used to identify the lens to be published. The owner of a lens can share the lens with other Amazon Web Services accounts and users in the same Amazon Web Services Region. Only the owner of a lens can delete it. </p>
|
|
34
28
|
* @example
|
|
35
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
30
|
* ```javascript
|
|
@@ -24,18 +24,7 @@ declare const CreateReviewTemplateCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Create a review template.</p>
|
|
28
|
-
* <note>
|
|
29
|
-
* <p>
|
|
30
|
-
* <b>Disclaimer</b>
|
|
31
|
-
* </p>
|
|
32
|
-
* <p>Do not include or gather personal identifiable information (PII) of end users or
|
|
33
|
-
* other identifiable individuals in or via your review templates. If your review
|
|
34
|
-
* template or those shared with you and used in your account do include or collect PII
|
|
35
|
-
* you are responsible for: ensuring that the included PII is processed in accordance
|
|
36
|
-
* with applicable law, providing adequate privacy notices, and obtaining necessary
|
|
37
|
-
* consents for processing such data.</p>
|
|
38
|
-
* </note>
|
|
27
|
+
* <p>Create a review template.</p> <note> <p> <b>Disclaimer</b> </p> <p>Do not include or gather personal identifiable information (PII) of end users or other identifiable individuals in or via your review templates. If your review template or those shared with you and used in your account do include or collect PII you are responsible for: ensuring that the included PII is processed in accordance with applicable law, providing adequate privacy notices, and obtaining necessary consents for processing such data.</p> </note>
|
|
39
28
|
* @example
|
|
40
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
30
|
* ```javascript
|
|
@@ -24,21 +24,7 @@ declare const CreateTemplateShareCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Create a review template share.</p>
|
|
28
|
-
* <p>The owner of a review template can share it with other Amazon Web Services accounts,
|
|
29
|
-
* users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. </p>
|
|
30
|
-
* <p> Shared access to a review template is not removed until the review template share
|
|
31
|
-
* invitation is deleted.</p>
|
|
32
|
-
* <p>If you share a review template with an organization or OU, all accounts in the
|
|
33
|
-
* organization or OU are granted access to the review template.</p>
|
|
34
|
-
* <note>
|
|
35
|
-
* <p>
|
|
36
|
-
* <b>Disclaimer</b>
|
|
37
|
-
* </p>
|
|
38
|
-
* <p>By sharing your review template with other Amazon Web Services accounts, you
|
|
39
|
-
* acknowledge that Amazon Web Services will make your review template available to
|
|
40
|
-
* those other accounts.</p>
|
|
41
|
-
* </note>
|
|
27
|
+
* <p>Create a review template share.</p> <p>The owner of a review template can share it with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. </p> <p> Shared access to a review template is not removed until the review template share invitation is deleted.</p> <p>If you share a review template with an organization or OU, all accounts in the organization or OU are granted access to the review template.</p> <note> <p> <b>Disclaimer</b> </p> <p>By sharing your review template with other Amazon Web Services accounts, you acknowledge that Amazon Web Services will make your review template available to those other accounts.</p> </note>
|
|
42
28
|
* @example
|
|
43
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
44
30
|
* ```javascript
|
|
@@ -24,42 +24,7 @@ declare const CreateWorkloadCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Create a new workload.</p>
|
|
28
|
-
* <p>The owner of a workload can share the workload with other Amazon Web Services accounts, users,
|
|
29
|
-
* an organization, and organizational units (OUs)
|
|
30
|
-
* in the same Amazon Web Services Region. Only the owner of a workload can delete it.</p>
|
|
31
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/define-workload.html">Defining a Workload</a> in the
|
|
32
|
-
* <i>Well-Architected Tool User Guide</i>.</p>
|
|
33
|
-
* <important>
|
|
34
|
-
* <p>Either <code>AwsRegions</code>, <code>NonAwsRegions</code>, or both must be specified when
|
|
35
|
-
* creating a workload.</p>
|
|
36
|
-
* <p>You also must specify <code>ReviewOwner</code>, even though the
|
|
37
|
-
* parameter is listed as not being required in the following section.
|
|
38
|
-
* </p>
|
|
39
|
-
* </important>
|
|
40
|
-
* <p>When creating a workload using a review template, you must have the following IAM permissions:</p>
|
|
41
|
-
* <ul>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>
|
|
44
|
-
* <code>wellarchitected:GetReviewTemplate</code>
|
|
45
|
-
* </p>
|
|
46
|
-
* </li>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>
|
|
49
|
-
* <code>wellarchitected:GetReviewTemplateAnswer</code>
|
|
50
|
-
* </p>
|
|
51
|
-
* </li>
|
|
52
|
-
* <li>
|
|
53
|
-
* <p>
|
|
54
|
-
* <code>wellarchitected:ListReviewTemplateAnswers</code>
|
|
55
|
-
* </p>
|
|
56
|
-
* </li>
|
|
57
|
-
* <li>
|
|
58
|
-
* <p>
|
|
59
|
-
* <code>wellarchitected:GetReviewTemplateLensReview</code>
|
|
60
|
-
* </p>
|
|
61
|
-
* </li>
|
|
62
|
-
* </ul>
|
|
27
|
+
* <p>Create a new workload.</p> <p>The owner of a workload can share the workload with other Amazon Web Services accounts, users, an organization, and organizational units (OUs) in the same Amazon Web Services Region. Only the owner of a workload can delete it.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/define-workload.html">Defining a Workload</a> in the <i>Well-Architected Tool User Guide</i>.</p> <important> <p>Either <code>AwsRegions</code>, <code>NonAwsRegions</code>, or both must be specified when creating a workload.</p> <p>You also must specify <code>ReviewOwner</code>, even though the parameter is listed as not being required in the following section. </p> </important> <p>When creating a workload using a review template, you must have the following IAM permissions:</p> <ul> <li> <p> <code>wellarchitected:GetReviewTemplate</code> </p> </li> <li> <p> <code>wellarchitected:GetReviewTemplateAnswer</code> </p> </li> <li> <p> <code>wellarchitected:ListReviewTemplateAnswers</code> </p> </li> <li> <p> <code>wellarchitected:GetReviewTemplateLensReview</code> </p> </li> </ul>
|
|
63
28
|
* @example
|
|
64
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
65
30
|
* ```javascript
|
|
@@ -24,14 +24,7 @@ declare const CreateWorkloadShareCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Create a workload share.</p>
|
|
28
|
-
* <p>The owner of a workload can share it with other Amazon Web Services accounts and users in the same
|
|
29
|
-
* Amazon Web Services Region. Shared access to a workload is not removed until the workload invitation is
|
|
30
|
-
* deleted.</p>
|
|
31
|
-
* <p>If you share a workload with an organization or OU, all accounts in the organization or OU
|
|
32
|
-
* are granted access to the workload.</p>
|
|
33
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/workloads-sharing.html">Sharing a workload</a> in the
|
|
34
|
-
* <i>Well-Architected Tool User Guide</i>.</p>
|
|
27
|
+
* <p>Create a workload share.</p> <p>The owner of a workload can share it with other Amazon Web Services accounts and users in the same Amazon Web Services Region. Shared access to a workload is not removed until the workload invitation is deleted.</p> <p>If you share a workload with an organization or OU, all accounts in the organization or OU are granted access to the workload.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/workloads-sharing.html">Sharing a workload</a> in the <i>Well-Architected Tool User Guide</i>.</p>
|
|
35
28
|
* @example
|
|
36
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
37
30
|
* ```javascript
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteAgentContextRequest, DeleteAgentContextResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteAgentContextCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteAgentContextCommandInput extends DeleteAgentContextRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteAgentContextCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteAgentContextCommandOutput extends DeleteAgentContextResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteAgentContextCommand_base: {
|
|
22
|
+
new (input: DeleteAgentContextCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentContextCommandInput, DeleteAgentContextCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteAgentContextCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentContextCommandInput, DeleteAgentContextCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes a context associated with a profile.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WellArchitectedClient, DeleteAgentContextCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, DeleteAgentContextCommand } = 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 = { // DeleteAgentContextRequest
|
|
37
|
+
* profileArn: "STRING_VALUE", // required
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteAgentContextCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteAgentContextCommandInput - {@link DeleteAgentContextCommandInput}
|
|
47
|
+
* @returns {@link DeleteAgentContextCommandOutput}
|
|
48
|
+
* @see {@link DeleteAgentContextCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteAgentContextCommandOutput} 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 DeleteAgentContextCommand extends DeleteAgentContextCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: DeleteAgentContextRequest;
|
|
78
|
+
output: {};
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: DeleteAgentContextCommandInput;
|
|
82
|
+
output: DeleteAgentContextCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteAgentGoalRequest, DeleteAgentGoalResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteAgentGoalCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteAgentGoalCommandInput extends DeleteAgentGoalRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteAgentGoalCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteAgentGoalCommandOutput extends DeleteAgentGoalResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteAgentGoalCommand_base: {
|
|
22
|
+
new (input: DeleteAgentGoalCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentGoalCommandInput, DeleteAgentGoalCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteAgentGoalCommandInput): import("@smithy/core/client").CommandImpl<DeleteAgentGoalCommandInput, DeleteAgentGoalCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Deletes an optimization goal from a profile.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WellArchitectedClient, DeleteAgentGoalCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, DeleteAgentGoalCommand } = 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 = { // DeleteAgentGoalRequest
|
|
37
|
+
* profileArn: "STRING_VALUE", // required
|
|
38
|
+
* id: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteAgentGoalCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteAgentGoalCommandInput - {@link DeleteAgentGoalCommandInput}
|
|
47
|
+
* @returns {@link DeleteAgentGoalCommandOutput}
|
|
48
|
+
* @see {@link DeleteAgentGoalCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteAgentGoalCommandOutput} 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 DeleteAgentGoalCommand extends DeleteAgentGoalCommand_base {
|
|
74
|
+
/** @internal type navigation helper, not in runtime. */
|
|
75
|
+
protected static __types: {
|
|
76
|
+
api: {
|
|
77
|
+
input: DeleteAgentGoalRequest;
|
|
78
|
+
output: {};
|
|
79
|
+
};
|
|
80
|
+
sdk: {
|
|
81
|
+
input: DeleteAgentGoalCommandInput;
|
|
82
|
+
output: DeleteAgentGoalCommandOutput;
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
}
|