@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,118 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { StartAgentRecommendationGenerationRequest, StartAgentRecommendationGenerationResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link StartAgentRecommendationGenerationCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface StartAgentRecommendationGenerationCommandInput extends StartAgentRecommendationGenerationRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link StartAgentRecommendationGenerationCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface StartAgentRecommendationGenerationCommandOutput extends StartAgentRecommendationGenerationResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const StartAgentRecommendationGenerationCommand_base: {
|
|
22
|
+
new (input: StartAgentRecommendationGenerationCommandInput): import("@smithy/core/client").CommandImpl<StartAgentRecommendationGenerationCommandInput, StartAgentRecommendationGenerationCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: StartAgentRecommendationGenerationCommandInput): import("@smithy/core/client").CommandImpl<StartAgentRecommendationGenerationCommandInput, StartAgentRecommendationGenerationCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
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>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WellArchitectedClient, StartAgentRecommendationGenerationCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, StartAgentRecommendationGenerationCommand } = 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 = { // StartAgentRecommendationGenerationRequest
|
|
37
|
+
* profileArn: "STRING_VALUE", // required
|
|
38
|
+
* types: [ // RecommendationTypes // required
|
|
39
|
+
* "RESOURCE" || "ARCHITECTURE" || "APPLICATION",
|
|
40
|
+
* ],
|
|
41
|
+
* name: "STRING_VALUE",
|
|
42
|
+
* additionalContext: "DOCUMENT_VALUE",
|
|
43
|
+
* scope: { // Scope
|
|
44
|
+
* pillars: [ // Pillars // required
|
|
45
|
+
* "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
|
|
46
|
+
* ],
|
|
47
|
+
* goalIds: [ // GoalIdList
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* items: [ // PillarItems
|
|
51
|
+
* { // PillarItem
|
|
52
|
+
* pillar: "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE", // required
|
|
53
|
+
* ids: [ // ItemIds // required
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* },
|
|
59
|
+
* };
|
|
60
|
+
* const command = new StartAgentRecommendationGenerationCommand(input);
|
|
61
|
+
* const response = await client.send(command);
|
|
62
|
+
* // { // StartAgentRecommendationGenerationResponse
|
|
63
|
+
* // id: "STRING_VALUE", // required
|
|
64
|
+
* // profileArn: "STRING_VALUE", // required
|
|
65
|
+
* // name: "STRING_VALUE",
|
|
66
|
+
* // status: "QUEUED" || "IN_PROGRESS" || "COMPLETED" || "ERROR", // required
|
|
67
|
+
* // estimatedCompletionTime: new Date("TIMESTAMP"),
|
|
68
|
+
* // createdBy: "STRING_VALUE", // required
|
|
69
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
70
|
+
* // lastModifiedBy: "STRING_VALUE",
|
|
71
|
+
* // lastModifiedAt: new Date("TIMESTAMP"),
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param StartAgentRecommendationGenerationCommandInput - {@link StartAgentRecommendationGenerationCommandInput}
|
|
77
|
+
* @returns {@link StartAgentRecommendationGenerationCommandOutput}
|
|
78
|
+
* @see {@link StartAgentRecommendationGenerationCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link StartAgentRecommendationGenerationCommandOutput} for command's `response` shape.
|
|
80
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
83
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ConflictException} (client fault)
|
|
86
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InternalServerException} (server fault)
|
|
89
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
92
|
+
* <p>The user has reached their resource quota.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
95
|
+
* <p>Request was denied due to request throttling.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ValidationException} (client fault)
|
|
98
|
+
* <p>The user input is not valid.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link WellArchitectedServiceException}
|
|
101
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
102
|
+
*
|
|
103
|
+
*
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export declare class StartAgentRecommendationGenerationCommand extends StartAgentRecommendationGenerationCommand_base {
|
|
107
|
+
/** @internal type navigation helper, not in runtime. */
|
|
108
|
+
protected static __types: {
|
|
109
|
+
api: {
|
|
110
|
+
input: StartAgentRecommendationGenerationRequest;
|
|
111
|
+
output: StartAgentRecommendationGenerationResponse;
|
|
112
|
+
};
|
|
113
|
+
sdk: {
|
|
114
|
+
input: StartAgentRecommendationGenerationCommandInput;
|
|
115
|
+
output: StartAgentRecommendationGenerationCommandOutput;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}
|
|
@@ -24,10 +24,7 @@ declare const TagResourceCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Adds one or more tags to the specified resource.</p>
|
|
28
|
-
* <note>
|
|
29
|
-
* <p>The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.</p>
|
|
30
|
-
* </note>
|
|
27
|
+
* <p>Adds one or more tags to the specified resource.</p> <note> <p>The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.</p> </note>
|
|
31
28
|
* @example
|
|
32
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
30
|
* ```javascript
|
|
@@ -24,14 +24,7 @@ declare const UntagResourceCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Deletes specified tags from a resource.</p>
|
|
28
|
-
* <note>
|
|
29
|
-
* <p>The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.</p>
|
|
30
|
-
* </note>
|
|
31
|
-
* <p>To specify multiple tags, use separate <b>tagKeys</b> parameters, for example:</p>
|
|
32
|
-
* <p>
|
|
33
|
-
* <code>DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2</code>
|
|
34
|
-
* </p>
|
|
27
|
+
* <p>Deletes specified tags from a resource.</p> <note> <p>The WorkloadArn parameter can be a workload ARN, a custom lens ARN, a profile ARN, or review template ARN.</p> </note> <p>To specify multiple tags, use separate <b>tagKeys</b> parameters, for example:</p> <p> <code>DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2</code> </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,152 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateAgentContextRequest, UpdateAgentContextResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateAgentContextCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateAgentContextCommandInput extends UpdateAgentContextRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateAgentContextCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateAgentContextCommandOutput extends UpdateAgentContextResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateAgentContextCommand_base: {
|
|
22
|
+
new (input: UpdateAgentContextCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentContextCommandInput, UpdateAgentContextCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateAgentContextCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentContextCommandInput, UpdateAgentContextCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates an existing 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, UpdateAgentContextCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, UpdateAgentContextCommand } = 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 = { // UpdateAgentContextRequest
|
|
37
|
+
* clientToken: "STRING_VALUE",
|
|
38
|
+
* profileArn: "STRING_VALUE", // required
|
|
39
|
+
* id: "STRING_VALUE", // required
|
|
40
|
+
* title: "STRING_VALUE",
|
|
41
|
+
* content: { // ContextContent
|
|
42
|
+
* accountIds: [ // ContextAccountIdList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* regions: [ // ContextRegionList
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* awsServices: [ // ContextAwsServiceList
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* resourceTypes: [ // ContextResourceTypeList
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* resourceTags: [ // ContextResourceTagList
|
|
55
|
+
* { // ContextResourceTag
|
|
56
|
+
* key: "STRING_VALUE", // required
|
|
57
|
+
* value: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* applicationOverview: "STRING_VALUE",
|
|
61
|
+
* industry: "STRING_VALUE",
|
|
62
|
+
* applicationType: "SAS" || "DESKTOP_APPLICATION" || "OTHER",
|
|
63
|
+
* criticality: "MISSION_CRITICAL" || "BUSINESS_CRITICAL" || "NON_CRITICAL" || "TEST_DEVELOPMENT",
|
|
64
|
+
* architectureOverview: "STRING_VALUE",
|
|
65
|
+
* additionalContext: "STRING_VALUE",
|
|
66
|
+
* },
|
|
67
|
+
* };
|
|
68
|
+
* const command = new UpdateAgentContextCommand(input);
|
|
69
|
+
* const response = await client.send(command);
|
|
70
|
+
* // { // UpdateAgentContextResponse
|
|
71
|
+
* // context: { // ContextSummary
|
|
72
|
+
* // id: "STRING_VALUE", // required
|
|
73
|
+
* // profileArn: "STRING_VALUE", // required
|
|
74
|
+
* // title: "STRING_VALUE", // required
|
|
75
|
+
* // contextType: "APPLICATION", // required
|
|
76
|
+
* // content: { // ContextContent
|
|
77
|
+
* // accountIds: [ // ContextAccountIdList
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
80
|
+
* // regions: [ // ContextRegionList
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
83
|
+
* // awsServices: [ // ContextAwsServiceList
|
|
84
|
+
* // "STRING_VALUE",
|
|
85
|
+
* // ],
|
|
86
|
+
* // resourceTypes: [ // ContextResourceTypeList
|
|
87
|
+
* // "STRING_VALUE",
|
|
88
|
+
* // ],
|
|
89
|
+
* // resourceTags: [ // ContextResourceTagList
|
|
90
|
+
* // { // ContextResourceTag
|
|
91
|
+
* // key: "STRING_VALUE", // required
|
|
92
|
+
* // value: "STRING_VALUE", // required
|
|
93
|
+
* // },
|
|
94
|
+
* // ],
|
|
95
|
+
* // applicationOverview: "STRING_VALUE",
|
|
96
|
+
* // industry: "STRING_VALUE",
|
|
97
|
+
* // applicationType: "SAS" || "DESKTOP_APPLICATION" || "OTHER",
|
|
98
|
+
* // criticality: "MISSION_CRITICAL" || "BUSINESS_CRITICAL" || "NON_CRITICAL" || "TEST_DEVELOPMENT",
|
|
99
|
+
* // architectureOverview: "STRING_VALUE",
|
|
100
|
+
* // additionalContext: "STRING_VALUE",
|
|
101
|
+
* // },
|
|
102
|
+
* // applicationType: "SAS" || "DESKTOP_APPLICATION" || "OTHER",
|
|
103
|
+
* // criticality: "MISSION_CRITICAL" || "BUSINESS_CRITICAL" || "NON_CRITICAL" || "TEST_DEVELOPMENT",
|
|
104
|
+
* // createdBy: "STRING_VALUE", // required
|
|
105
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
106
|
+
* // lastModifiedBy: "STRING_VALUE",
|
|
107
|
+
* // lastModifiedAt: new Date("TIMESTAMP"),
|
|
108
|
+
* // },
|
|
109
|
+
* // };
|
|
110
|
+
*
|
|
111
|
+
* ```
|
|
112
|
+
*
|
|
113
|
+
* @param UpdateAgentContextCommandInput - {@link UpdateAgentContextCommandInput}
|
|
114
|
+
* @returns {@link UpdateAgentContextCommandOutput}
|
|
115
|
+
* @see {@link UpdateAgentContextCommandInput} for command's `input` shape.
|
|
116
|
+
* @see {@link UpdateAgentContextCommandOutput} for command's `response` shape.
|
|
117
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
120
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link InternalServerException} (server fault)
|
|
123
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
126
|
+
* <p>The requested resource was not found.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
129
|
+
* <p>Request was denied due to request throttling.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link ValidationException} (client fault)
|
|
132
|
+
* <p>The user input is not valid.</p>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link WellArchitectedServiceException}
|
|
135
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
136
|
+
*
|
|
137
|
+
*
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export declare class UpdateAgentContextCommand extends UpdateAgentContextCommand_base {
|
|
141
|
+
/** @internal type navigation helper, not in runtime. */
|
|
142
|
+
protected static __types: {
|
|
143
|
+
api: {
|
|
144
|
+
input: UpdateAgentContextRequest;
|
|
145
|
+
output: UpdateAgentContextResponse;
|
|
146
|
+
};
|
|
147
|
+
sdk: {
|
|
148
|
+
input: UpdateAgentContextCommandInput;
|
|
149
|
+
output: UpdateAgentContextCommandOutput;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateAgentGoalRequest, UpdateAgentGoalResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateAgentGoalCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateAgentGoalCommandInput extends UpdateAgentGoalRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateAgentGoalCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateAgentGoalCommandOutput extends UpdateAgentGoalResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateAgentGoalCommand_base: {
|
|
22
|
+
new (input: UpdateAgentGoalCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentGoalCommandInput, UpdateAgentGoalCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateAgentGoalCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentGoalCommandInput, UpdateAgentGoalCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates the pillars and title of an existing goal 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, UpdateAgentGoalCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, UpdateAgentGoalCommand } = 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 = { // UpdateAgentGoalRequest
|
|
37
|
+
* clientToken: "STRING_VALUE",
|
|
38
|
+
* profileArn: "STRING_VALUE", // required
|
|
39
|
+
* id: "STRING_VALUE", // required
|
|
40
|
+
* pillars: [ // Pillars
|
|
41
|
+
* "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
|
|
42
|
+
* ],
|
|
43
|
+
* title: "STRING_VALUE",
|
|
44
|
+
* description: "STRING_VALUE",
|
|
45
|
+
* };
|
|
46
|
+
* const command = new UpdateAgentGoalCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // UpdateAgentGoalResponse
|
|
49
|
+
* // goal: { // GoalSummary
|
|
50
|
+
* // id: "STRING_VALUE", // required
|
|
51
|
+
* // profileArn: "STRING_VALUE", // required
|
|
52
|
+
* // pillars: [ // Pillars // required
|
|
53
|
+
* // "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
|
|
54
|
+
* // ],
|
|
55
|
+
* // title: "STRING_VALUE", // required
|
|
56
|
+
* // description: "STRING_VALUE",
|
|
57
|
+
* // createdBy: "STRING_VALUE", // required
|
|
58
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // lastModifiedBy: "STRING_VALUE",
|
|
60
|
+
* // lastModifiedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param UpdateAgentGoalCommandInput - {@link UpdateAgentGoalCommandInput}
|
|
67
|
+
* @returns {@link UpdateAgentGoalCommandOutput}
|
|
68
|
+
* @see {@link UpdateAgentGoalCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link UpdateAgentGoalCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
73
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link InternalServerException} (server fault)
|
|
76
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
79
|
+
* <p>The requested resource was not found.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
82
|
+
* <p>Request was denied due to request throttling.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ValidationException} (client fault)
|
|
85
|
+
* <p>The user input is not valid.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link WellArchitectedServiceException}
|
|
88
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
89
|
+
*
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class UpdateAgentGoalCommand extends UpdateAgentGoalCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: UpdateAgentGoalRequest;
|
|
98
|
+
output: UpdateAgentGoalResponse;
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: UpdateAgentGoalCommandInput;
|
|
102
|
+
output: UpdateAgentGoalCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateAgentProfileRequest, UpdateAgentProfileResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateAgentProfileCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateAgentProfileCommandInput extends UpdateAgentProfileRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateAgentProfileCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateAgentProfileCommandOutput extends UpdateAgentProfileResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateAgentProfileCommand_base: {
|
|
22
|
+
new (input: UpdateAgentProfileCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentProfileCommandInput, UpdateAgentProfileCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateAgentProfileCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentProfileCommandInput, UpdateAgentProfileCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates an existing optimization profile's configuration, including its pillars, execution role, and aggregation settings.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WellArchitectedClient, UpdateAgentProfileCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, UpdateAgentProfileCommand } = 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 = { // UpdateAgentProfileRequest
|
|
37
|
+
* clientToken: "STRING_VALUE",
|
|
38
|
+
* profileArn: "STRING_VALUE", // required
|
|
39
|
+
* displayName: "STRING_VALUE",
|
|
40
|
+
* description: "STRING_VALUE",
|
|
41
|
+
* executionRoleArn: "STRING_VALUE",
|
|
42
|
+
* aggregationConfiguration: [ // AggregationConfigurations
|
|
43
|
+
* { // AggregationConfiguration
|
|
44
|
+
* accountId: "STRING_VALUE", // required
|
|
45
|
+
* regions: [ // Regions // required
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* accessRoleArn: "STRING_VALUE", // required
|
|
49
|
+
* },
|
|
50
|
+
* ],
|
|
51
|
+
* businessOverview: "STRING_VALUE",
|
|
52
|
+
* pillars: [ // Pillars
|
|
53
|
+
* "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
|
|
54
|
+
* ],
|
|
55
|
+
* deletionProtection: true || false,
|
|
56
|
+
* };
|
|
57
|
+
* const command = new UpdateAgentProfileCommand(input);
|
|
58
|
+
* const response = await client.send(command);
|
|
59
|
+
* // { // UpdateAgentProfileResponse
|
|
60
|
+
* // name: "STRING_VALUE", // required
|
|
61
|
+
* // displayName: "STRING_VALUE",
|
|
62
|
+
* // description: "STRING_VALUE",
|
|
63
|
+
* // businessOverview: "STRING_VALUE",
|
|
64
|
+
* // pillars: [ // Pillars // required
|
|
65
|
+
* // "COST_OPTIMIZATION" || "SECURITY" || "RESILIENCE" || "PERFORMANCE" || "OPERATIONAL_EXCELLENCE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // deletionProtection: true || false,
|
|
68
|
+
* // executionRoleArn: "STRING_VALUE", // required
|
|
69
|
+
* // aggregationConfiguration: [ // AggregationConfigurations // required
|
|
70
|
+
* // { // AggregationConfiguration
|
|
71
|
+
* // accountId: "STRING_VALUE", // required
|
|
72
|
+
* // regions: [ // Regions // required
|
|
73
|
+
* // "STRING_VALUE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // accessRoleArn: "STRING_VALUE", // required
|
|
76
|
+
* // },
|
|
77
|
+
* // ],
|
|
78
|
+
* // arn: "STRING_VALUE", // required
|
|
79
|
+
* // eligibleForScheduledGeneration: true || false,
|
|
80
|
+
* // eligibleForArchitectureGeneration: true || false,
|
|
81
|
+
* // fieldErrors: { // FieldErrors
|
|
82
|
+
* // "<keys>": "STRING_VALUE",
|
|
83
|
+
* // },
|
|
84
|
+
* // tags: [ // Tags
|
|
85
|
+
* // { // Tag
|
|
86
|
+
* // key: "STRING_VALUE", // required
|
|
87
|
+
* // value: "STRING_VALUE", // required
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // createdBy: "STRING_VALUE", // required
|
|
91
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
92
|
+
* // lastModifiedBy: "STRING_VALUE",
|
|
93
|
+
* // lastModifiedAt: new Date("TIMESTAMP"),
|
|
94
|
+
* // };
|
|
95
|
+
*
|
|
96
|
+
* ```
|
|
97
|
+
*
|
|
98
|
+
* @param UpdateAgentProfileCommandInput - {@link UpdateAgentProfileCommandInput}
|
|
99
|
+
* @returns {@link UpdateAgentProfileCommandOutput}
|
|
100
|
+
* @see {@link UpdateAgentProfileCommandInput} for command's `input` shape.
|
|
101
|
+
* @see {@link UpdateAgentProfileCommandOutput} for command's `response` shape.
|
|
102
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
105
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link InternalServerException} (server fault)
|
|
108
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
111
|
+
* <p>The requested resource was not found.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
114
|
+
* <p>Request was denied due to request throttling.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ValidationException} (client fault)
|
|
117
|
+
* <p>The user input is not valid.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link WellArchitectedServiceException}
|
|
120
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
121
|
+
*
|
|
122
|
+
*
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export declare class UpdateAgentProfileCommand extends UpdateAgentProfileCommand_base {
|
|
126
|
+
/** @internal type navigation helper, not in runtime. */
|
|
127
|
+
protected static __types: {
|
|
128
|
+
api: {
|
|
129
|
+
input: UpdateAgentProfileRequest;
|
|
130
|
+
output: UpdateAgentProfileResponse;
|
|
131
|
+
};
|
|
132
|
+
sdk: {
|
|
133
|
+
input: UpdateAgentProfileCommandInput;
|
|
134
|
+
output: UpdateAgentProfileCommandOutput;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { UpdateAgentRecommendationStatusRequest, UpdateAgentRecommendationStatusResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link UpdateAgentRecommendationStatusCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface UpdateAgentRecommendationStatusCommandInput extends UpdateAgentRecommendationStatusRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link UpdateAgentRecommendationStatusCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface UpdateAgentRecommendationStatusCommandOutput extends UpdateAgentRecommendationStatusResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const UpdateAgentRecommendationStatusCommand_base: {
|
|
22
|
+
new (input: UpdateAgentRecommendationStatusCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentRecommendationStatusCommandInput, UpdateAgentRecommendationStatusCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: UpdateAgentRecommendationStatusCommandInput): import("@smithy/core/client").CommandImpl<UpdateAgentRecommendationStatusCommandInput, UpdateAgentRecommendationStatusCommandOutput, import("..").WellArchitectedClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Updates the status of a recommendation to track its progress through the implementation lifecycle.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { WellArchitectedClient, UpdateAgentRecommendationStatusCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
32
|
+
* // const { WellArchitectedClient, UpdateAgentRecommendationStatusCommand } = 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 = { // UpdateAgentRecommendationStatusRequest
|
|
37
|
+
* recommendationArn: "STRING_VALUE", // required
|
|
38
|
+
* status: "ACTIVE" || "SUPPRESSED" || "COMPLETED", // required
|
|
39
|
+
* updateReason: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new UpdateAgentRecommendationStatusCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param UpdateAgentRecommendationStatusCommandInput - {@link UpdateAgentRecommendationStatusCommandInput}
|
|
48
|
+
* @returns {@link UpdateAgentRecommendationStatusCommandOutput}
|
|
49
|
+
* @see {@link UpdateAgentRecommendationStatusCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link UpdateAgentRecommendationStatusCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InternalServerException} (server fault)
|
|
57
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
60
|
+
* <p>The requested resource was not found.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
63
|
+
* <p>Request was denied due to request throttling.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ValidationException} (client fault)
|
|
66
|
+
* <p>The user input is not valid.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link WellArchitectedServiceException}
|
|
69
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
70
|
+
*
|
|
71
|
+
*
|
|
72
|
+
* @public
|
|
73
|
+
*/
|
|
74
|
+
export declare class UpdateAgentRecommendationStatusCommand extends UpdateAgentRecommendationStatusCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: UpdateAgentRecommendationStatusRequest;
|
|
79
|
+
output: {};
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: UpdateAgentRecommendationStatusCommandInput;
|
|
83
|
+
output: UpdateAgentRecommendationStatusCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -24,10 +24,7 @@ declare const UpdateShareInvitationCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Update a workload or custom lens share invitation.</p>
|
|
28
|
-
* <note>
|
|
29
|
-
* <p>This API operation can be called independently of any resource. Previous documentation implied that a workload ARN must be specified.</p>
|
|
30
|
-
* </note>
|
|
27
|
+
* <p>Update a workload or custom lens share invitation.</p> <note> <p>This API operation can be called independently of any resource. Previous documentation implied that a workload ARN must be specified.</p> </note>
|
|
31
28
|
* @example
|
|
32
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
30
|
* ```javascript
|