@aws-sdk/client-wellarchitected 3.350.0 → 3.353.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 +104 -0
- package/dist-cjs/WellArchitected.js +26 -0
- package/dist-cjs/commands/AssociateProfilesCommand.js +46 -0
- package/dist-cjs/commands/CreateProfileCommand.js +46 -0
- package/dist-cjs/commands/CreateProfileShareCommand.js +46 -0
- package/dist-cjs/commands/DeleteProfileCommand.js +46 -0
- package/dist-cjs/commands/DeleteProfileShareCommand.js +46 -0
- package/dist-cjs/commands/DisassociateProfilesCommand.js +46 -0
- package/dist-cjs/commands/GetProfileCommand.js +46 -0
- package/dist-cjs/commands/GetProfileTemplateCommand.js +46 -0
- package/dist-cjs/commands/ListProfileNotificationsCommand.js +46 -0
- package/dist-cjs/commands/ListProfileSharesCommand.js +46 -0
- package/dist-cjs/commands/ListProfilesCommand.js +46 -0
- package/dist-cjs/commands/UpdateProfileCommand.js +46 -0
- package/dist-cjs/commands/UpgradeProfileVersionCommand.js +46 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +18 -1
- package/dist-cjs/pagination/ListProfileNotificationsPaginator.js +29 -0
- package/dist-cjs/pagination/ListProfileSharesPaginator.js +29 -0
- package/dist-cjs/pagination/ListProfilesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +991 -40
- package/dist-es/WellArchitected.js +26 -0
- package/dist-es/commands/AssociateProfilesCommand.js +42 -0
- package/dist-es/commands/CreateProfileCommand.js +42 -0
- package/dist-es/commands/CreateProfileShareCommand.js +42 -0
- package/dist-es/commands/DeleteProfileCommand.js +42 -0
- package/dist-es/commands/DeleteProfileShareCommand.js +42 -0
- package/dist-es/commands/DisassociateProfilesCommand.js +42 -0
- package/dist-es/commands/GetProfileCommand.js +42 -0
- package/dist-es/commands/GetProfileTemplateCommand.js +42 -0
- package/dist-es/commands/ListProfileNotificationsCommand.js +42 -0
- package/dist-es/commands/ListProfileSharesCommand.js +42 -0
- package/dist-es/commands/ListProfilesCommand.js +42 -0
- package/dist-es/commands/UpdateProfileCommand.js +42 -0
- package/dist-es/commands/UpgradeProfileVersionCommand.js +42 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +17 -0
- package/dist-es/pagination/ListProfileNotificationsPaginator.js +25 -0
- package/dist-es/pagination/ListProfileSharesPaginator.js +25 -0
- package/dist-es/pagination/ListProfilesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +960 -36
- package/dist-types/WellArchitected.d.ts +91 -0
- package/dist-types/WellArchitectedClient.d.ts +15 -2
- package/dist-types/commands/AssociateProfilesCommand.d.ts +92 -0
- package/dist-types/commands/CreateProfileCommand.d.ts +105 -0
- package/dist-types/commands/CreateProfileShareCommand.d.ts +97 -0
- package/dist-types/commands/CreateWorkloadCommand.d.ts +3 -0
- package/dist-types/commands/DeleteProfileCommand.d.ts +101 -0
- package/dist-types/commands/DeleteProfileShareCommand.d.ts +91 -0
- package/dist-types/commands/DisassociateProfilesCommand.d.ts +92 -0
- package/dist-types/commands/GetLensReviewCommand.d.ts +12 -0
- package/dist-types/commands/GetMilestoneCommand.d.ts +9 -0
- package/dist-types/commands/GetProfileCommand.d.ts +120 -0
- package/dist-types/commands/GetProfileTemplateCommand.d.ts +106 -0
- package/dist-types/commands/GetWorkloadCommand.d.ts +9 -0
- package/dist-types/commands/ListAnswersCommand.d.ts +2 -0
- package/dist-types/commands/ListLensReviewImprovementsCommand.d.ts +1 -0
- package/dist-types/commands/ListLensReviewsCommand.d.ts +9 -0
- package/dist-types/commands/ListMilestonesCommand.d.ts +9 -0
- package/dist-types/commands/ListProfileNotificationsCommand.d.ts +98 -0
- package/dist-types/commands/ListProfileSharesCommand.d.ts +100 -0
- package/dist-types/commands/ListProfilesCommand.d.ts +99 -0
- package/dist-types/commands/ListShareInvitationsCommand.d.ts +5 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkloadsCommand.d.ts +9 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLensReviewCommand.d.ts +12 -0
- package/dist-types/commands/UpdateProfileCommand.d.ts +131 -0
- package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -1
- package/dist-types/commands/UpdateWorkloadCommand.d.ts +9 -0
- package/dist-types/commands/UpgradeProfileVersionCommand.d.ts +92 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +850 -90
- package/dist-types/pagination/ListProfileNotificationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfileSharesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProfilesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +221 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +80 -2
- package/dist-types/ts3.4/commands/AssociateProfilesCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/CreateProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/CreateProfileShareCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteProfileCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/DeleteProfileShareCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DisassociateProfilesCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetProfileTemplateCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListProfileNotificationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListProfileSharesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListProfilesCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpdateProfileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/UpgradeProfileVersionCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +210 -0
- package/dist-types/ts3.4/pagination/ListProfileNotificationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfileSharesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProfilesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +13 -13
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DeleteProfileInput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteProfileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteProfileCommandInput extends DeleteProfileInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteProfileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteProfileCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Delete a profile.</p>
|
|
27
|
+
* <note>
|
|
28
|
+
* <p>
|
|
29
|
+
* <b>Disclaimer</b>
|
|
30
|
+
* </p>
|
|
31
|
+
* <p>By sharing your profile with other Amazon Web Services accounts,
|
|
32
|
+
* you acknowledge that Amazon Web Services will make your profile available to those
|
|
33
|
+
* other accounts. Those other accounts may continue to access and use your
|
|
34
|
+
* shared profile even if you delete the profile
|
|
35
|
+
* from your own Amazon Web Services account or terminate
|
|
36
|
+
* your Amazon Web Services account.</p>
|
|
37
|
+
* </note>
|
|
38
|
+
* @example
|
|
39
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
+
* ```javascript
|
|
41
|
+
* import { WellArchitectedClient, DeleteProfileCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
42
|
+
* // const { WellArchitectedClient, DeleteProfileCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
|
|
43
|
+
* const client = new WellArchitectedClient(config);
|
|
44
|
+
* const input = { // DeleteProfileInput
|
|
45
|
+
* ProfileArn: "STRING_VALUE", // required
|
|
46
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
47
|
+
* };
|
|
48
|
+
* const command = new DeleteProfileCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // {};
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param DeleteProfileCommandInput - {@link DeleteProfileCommandInput}
|
|
55
|
+
* @returns {@link DeleteProfileCommandOutput}
|
|
56
|
+
* @see {@link DeleteProfileCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link DeleteProfileCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
61
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ConflictException} (client fault)
|
|
64
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link InternalServerException} (server fault)
|
|
67
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The requested resource was not found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
73
|
+
* <p>Request was denied due to request throttling.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ValidationException} (client fault)
|
|
76
|
+
* <p>The user input is not valid.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link WellArchitectedServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
80
|
+
*
|
|
81
|
+
*/
|
|
82
|
+
export declare class DeleteProfileCommand extends $Command<DeleteProfileCommandInput, DeleteProfileCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
83
|
+
readonly input: DeleteProfileCommandInput;
|
|
84
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
constructor(input: DeleteProfileCommandInput);
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
*/
|
|
92
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteProfileCommandInput, DeleteProfileCommandOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* @internal
|
|
95
|
+
*/
|
|
96
|
+
private serialize;
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
private deserialize;
|
|
101
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DeleteProfileShareInput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteProfileShareCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteProfileShareCommandInput extends DeleteProfileShareInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteProfileShareCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteProfileShareCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Delete a profile share.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WellArchitectedClient, DeleteProfileShareCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
31
|
+
* // const { WellArchitectedClient, DeleteProfileShareCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
|
|
32
|
+
* const client = new WellArchitectedClient(config);
|
|
33
|
+
* const input = { // DeleteProfileShareInput
|
|
34
|
+
* ShareId: "STRING_VALUE", // required
|
|
35
|
+
* ProfileArn: "STRING_VALUE", // required
|
|
36
|
+
* ClientRequestToken: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new DeleteProfileShareCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // {};
|
|
41
|
+
*
|
|
42
|
+
* ```
|
|
43
|
+
*
|
|
44
|
+
* @param DeleteProfileShareCommandInput - {@link DeleteProfileShareCommandInput}
|
|
45
|
+
* @returns {@link DeleteProfileShareCommandOutput}
|
|
46
|
+
* @see {@link DeleteProfileShareCommandInput} for command's `input` shape.
|
|
47
|
+
* @see {@link DeleteProfileShareCommandOutput} for command's `response` shape.
|
|
48
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
51
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link ConflictException} (client fault)
|
|
54
|
+
* <p>The resource has already been processed, was deleted, or is too large.</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
|
+
export declare class DeleteProfileShareCommand extends $Command<DeleteProfileShareCommandInput, DeleteProfileShareCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
73
|
+
readonly input: DeleteProfileShareCommandInput;
|
|
74
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
constructor(input: DeleteProfileShareCommandInput);
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteProfileShareCommandInput, DeleteProfileShareCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
private serialize;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
private deserialize;
|
|
91
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DisassociateProfilesInput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisassociateProfilesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisassociateProfilesCommandInput extends DisassociateProfilesInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisassociateProfilesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisassociateProfilesCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Disassociate a profile from a workload.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WellArchitectedClient, DisassociateProfilesCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
31
|
+
* // const { WellArchitectedClient, DisassociateProfilesCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
|
|
32
|
+
* const client = new WellArchitectedClient(config);
|
|
33
|
+
* const input = { // DisassociateProfilesInput
|
|
34
|
+
* WorkloadId: "STRING_VALUE", // required
|
|
35
|
+
* ProfileArns: [ // ProfileArns // required
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DisassociateProfilesCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DisassociateProfilesCommandInput - {@link DisassociateProfilesCommandInput}
|
|
46
|
+
* @returns {@link DisassociateProfilesCommandOutput}
|
|
47
|
+
* @see {@link DisassociateProfilesCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DisassociateProfilesCommandOutput} 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 ConflictException} (client fault)
|
|
55
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
61
|
+
* <p>The requested resource was not found.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
64
|
+
* <p>Request was denied due to request throttling.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ValidationException} (client fault)
|
|
67
|
+
* <p>The user input is not valid.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link WellArchitectedServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class DisassociateProfilesCommand extends $Command<DisassociateProfilesCommandInput, DisassociateProfilesCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
74
|
+
readonly input: DisassociateProfilesCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: DisassociateProfilesCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisassociateProfilesCommandInput, DisassociateProfilesCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -54,6 +54,9 @@ export interface GetLensReviewCommandOutput extends GetLensReviewOutput, __Metad
|
|
|
54
54
|
* // RiskCounts: { // RiskCounts
|
|
55
55
|
* // "<keys>": Number("int"),
|
|
56
56
|
* // },
|
|
57
|
+
* // PrioritizedRiskCounts: {
|
|
58
|
+
* // "<keys>": Number("int"),
|
|
59
|
+
* // },
|
|
57
60
|
* // },
|
|
58
61
|
* // ],
|
|
59
62
|
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
@@ -62,6 +65,15 @@ export interface GetLensReviewCommandOutput extends GetLensReviewOutput, __Metad
|
|
|
62
65
|
* // "<keys>": Number("int"),
|
|
63
66
|
* // },
|
|
64
67
|
* // NextToken: "STRING_VALUE",
|
|
68
|
+
* // Profiles: [ // WorkloadProfiles
|
|
69
|
+
* // { // WorkloadProfile
|
|
70
|
+
* // ProfileArn: "STRING_VALUE",
|
|
71
|
+
* // ProfileVersion: "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // ],
|
|
74
|
+
* // PrioritizedRiskCounts: {
|
|
75
|
+
* // "<keys>": Number("int"),
|
|
76
|
+
* // },
|
|
65
77
|
* // },
|
|
66
78
|
* // };
|
|
67
79
|
*
|
|
@@ -89,6 +89,15 @@ export interface GetMilestoneCommandOutput extends GetMilestoneOutput, __Metadat
|
|
|
89
89
|
* // Applications: [ // WorkloadApplications
|
|
90
90
|
* // "STRING_VALUE",
|
|
91
91
|
* // ],
|
|
92
|
+
* // Profiles: [ // WorkloadProfiles
|
|
93
|
+
* // { // WorkloadProfile
|
|
94
|
+
* // ProfileArn: "STRING_VALUE",
|
|
95
|
+
* // ProfileVersion: "STRING_VALUE",
|
|
96
|
+
* // },
|
|
97
|
+
* // ],
|
|
98
|
+
* // PrioritizedRiskCounts: {
|
|
99
|
+
* // "<keys>": Number("int"),
|
|
100
|
+
* // },
|
|
92
101
|
* // },
|
|
93
102
|
* // },
|
|
94
103
|
* // };
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { GetProfileInput, GetProfileOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetProfileCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetProfileCommandInput extends GetProfileInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetProfileCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetProfileCommandOutput extends GetProfileOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Get profile information.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WellArchitectedClient, GetProfileCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
31
|
+
* // const { WellArchitectedClient, GetProfileCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
|
|
32
|
+
* const client = new WellArchitectedClient(config);
|
|
33
|
+
* const input = { // GetProfileInput
|
|
34
|
+
* ProfileArn: "STRING_VALUE", // required
|
|
35
|
+
* ProfileVersion: "STRING_VALUE",
|
|
36
|
+
* };
|
|
37
|
+
* const command = new GetProfileCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // { // GetProfileOutput
|
|
40
|
+
* // Profile: { // Profile
|
|
41
|
+
* // ProfileArn: "STRING_VALUE",
|
|
42
|
+
* // ProfileVersion: "STRING_VALUE",
|
|
43
|
+
* // ProfileName: "STRING_VALUE",
|
|
44
|
+
* // ProfileDescription: "STRING_VALUE",
|
|
45
|
+
* // ProfileQuestions: [ // ProfileQuestions
|
|
46
|
+
* // { // ProfileQuestion
|
|
47
|
+
* // QuestionId: "STRING_VALUE",
|
|
48
|
+
* // QuestionTitle: "STRING_VALUE",
|
|
49
|
+
* // QuestionDescription: "STRING_VALUE",
|
|
50
|
+
* // QuestionChoices: [ // ProfileQuestionChoices
|
|
51
|
+
* // { // ProfileChoice
|
|
52
|
+
* // ChoiceId: "STRING_VALUE",
|
|
53
|
+
* // ChoiceTitle: "STRING_VALUE",
|
|
54
|
+
* // ChoiceDescription: "STRING_VALUE",
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // SelectedChoiceIds: [ // SelectedChoiceIds
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // MinSelectedChoices: Number("int"),
|
|
61
|
+
* // MaxSelectedChoices: Number("int"),
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // Owner: "STRING_VALUE",
|
|
65
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
66
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
67
|
+
* // ShareInvitationId: "STRING_VALUE",
|
|
68
|
+
* // Tags: { // TagMap
|
|
69
|
+
* // "<keys>": "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // };
|
|
73
|
+
*
|
|
74
|
+
* ```
|
|
75
|
+
*
|
|
76
|
+
* @param GetProfileCommandInput - {@link GetProfileCommandInput}
|
|
77
|
+
* @returns {@link GetProfileCommandOutput}
|
|
78
|
+
* @see {@link GetProfileCommandInput} for command's `input` shape.
|
|
79
|
+
* @see {@link GetProfileCommandOutput} 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 InternalServerException} (server fault)
|
|
86
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
89
|
+
* <p>The requested resource was not found.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
92
|
+
* <p>Request was denied due to request throttling.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ValidationException} (client fault)
|
|
95
|
+
* <p>The user input is not valid.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link WellArchitectedServiceException}
|
|
98
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
99
|
+
*
|
|
100
|
+
*/
|
|
101
|
+
export declare class GetProfileCommand extends $Command<GetProfileCommandInput, GetProfileCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
102
|
+
readonly input: GetProfileCommandInput;
|
|
103
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
*/
|
|
107
|
+
constructor(input: GetProfileCommandInput);
|
|
108
|
+
/**
|
|
109
|
+
* @internal
|
|
110
|
+
*/
|
|
111
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetProfileCommandInput, GetProfileCommandOutput>;
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
*/
|
|
115
|
+
private serialize;
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
*/
|
|
119
|
+
private deserialize;
|
|
120
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { GetProfileTemplateInput, GetProfileTemplateOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetProfileTemplateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetProfileTemplateCommandInput extends GetProfileTemplateInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetProfileTemplateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetProfileTemplateCommandOutput extends GetProfileTemplateOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Get profile template.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { WellArchitectedClient, GetProfileTemplateCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
31
|
+
* // const { WellArchitectedClient, GetProfileTemplateCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
|
|
32
|
+
* const client = new WellArchitectedClient(config);
|
|
33
|
+
* const input = {};
|
|
34
|
+
* const command = new GetProfileTemplateCommand(input);
|
|
35
|
+
* const response = await client.send(command);
|
|
36
|
+
* // { // GetProfileTemplateOutput
|
|
37
|
+
* // ProfileTemplate: { // ProfileTemplate
|
|
38
|
+
* // TemplateName: "STRING_VALUE",
|
|
39
|
+
* // TemplateQuestions: [ // TemplateQuestions
|
|
40
|
+
* // { // ProfileTemplateQuestion
|
|
41
|
+
* // QuestionId: "STRING_VALUE",
|
|
42
|
+
* // QuestionTitle: "STRING_VALUE",
|
|
43
|
+
* // QuestionDescription: "STRING_VALUE",
|
|
44
|
+
* // QuestionChoices: [ // ProfileTemplateQuestionChoices
|
|
45
|
+
* // { // ProfileTemplateChoice
|
|
46
|
+
* // ChoiceId: "STRING_VALUE",
|
|
47
|
+
* // ChoiceTitle: "STRING_VALUE",
|
|
48
|
+
* // ChoiceDescription: "STRING_VALUE",
|
|
49
|
+
* // },
|
|
50
|
+
* // ],
|
|
51
|
+
* // MinSelectedChoices: Number("int"),
|
|
52
|
+
* // MaxSelectedChoices: Number("int"),
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
55
|
+
* // CreatedAt: new Date("TIMESTAMP"),
|
|
56
|
+
* // UpdatedAt: new Date("TIMESTAMP"),
|
|
57
|
+
* // },
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param GetProfileTemplateCommandInput - {@link GetProfileTemplateCommandInput}
|
|
63
|
+
* @returns {@link GetProfileTemplateCommandOutput}
|
|
64
|
+
* @see {@link GetProfileTemplateCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link GetProfileTemplateCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* <p>The requested resource was not found.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* <p>Request was denied due to request throttling.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* <p>The user input is not valid.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link WellArchitectedServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from WellArchitected service.</p>
|
|
85
|
+
*
|
|
86
|
+
*/
|
|
87
|
+
export declare class GetProfileTemplateCommand extends $Command<GetProfileTemplateCommandInput, GetProfileTemplateCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
88
|
+
readonly input: GetProfileTemplateCommandInput;
|
|
89
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
constructor(input: GetProfileTemplateCommandInput);
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetProfileTemplateCommandInput, GetProfileTemplateCommandOutput>;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
private serialize;
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
*/
|
|
105
|
+
private deserialize;
|
|
106
|
+
}
|
|
@@ -83,6 +83,15 @@ export interface GetWorkloadCommandOutput extends GetWorkloadOutput, __MetadataB
|
|
|
83
83
|
* // Applications: [ // WorkloadApplications
|
|
84
84
|
* // "STRING_VALUE",
|
|
85
85
|
* // ],
|
|
86
|
+
* // Profiles: [ // WorkloadProfiles
|
|
87
|
+
* // { // WorkloadProfile
|
|
88
|
+
* // ProfileArn: "STRING_VALUE",
|
|
89
|
+
* // ProfileVersion: "STRING_VALUE",
|
|
90
|
+
* // },
|
|
91
|
+
* // ],
|
|
92
|
+
* // PrioritizedRiskCounts: {
|
|
93
|
+
* // "<keys>": Number("int"),
|
|
94
|
+
* // },
|
|
86
95
|
* // },
|
|
87
96
|
* // };
|
|
88
97
|
*
|
|
@@ -37,6 +37,7 @@ export interface ListAnswersCommandOutput extends ListAnswersOutput, __MetadataB
|
|
|
37
37
|
* MilestoneNumber: Number("int"),
|
|
38
38
|
* NextToken: "STRING_VALUE",
|
|
39
39
|
* MaxResults: Number("int"),
|
|
40
|
+
* QuestionPriority: "PRIORITIZED" || "NONE",
|
|
40
41
|
* };
|
|
41
42
|
* const command = new ListAnswersCommand(input);
|
|
42
43
|
* const response = await client.send(command);
|
|
@@ -89,6 +90,7 @@ export interface ListAnswersCommandOutput extends ListAnswersOutput, __MetadataB
|
|
|
89
90
|
* // IsApplicable: true || false,
|
|
90
91
|
* // Risk: "UNANSWERED" || "HIGH" || "MEDIUM" || "NONE" || "NOT_APPLICABLE",
|
|
91
92
|
* // Reason: "OUT_OF_SCOPE" || "BUSINESS_PRIORITIES" || "ARCHITECTURE_CONSTRAINTS" || "OTHER" || "NONE",
|
|
93
|
+
* // QuestionType: "PRIORITIZED" || "NON_PRIORITIZED",
|
|
92
94
|
* // },
|
|
93
95
|
* // ],
|
|
94
96
|
* // NextToken: "STRING_VALUE",
|
|
@@ -37,6 +37,7 @@ export interface ListLensReviewImprovementsCommandOutput extends ListLensReviewI
|
|
|
37
37
|
* MilestoneNumber: Number("int"),
|
|
38
38
|
* NextToken: "STRING_VALUE",
|
|
39
39
|
* MaxResults: Number("int"),
|
|
40
|
+
* QuestionPriority: "PRIORITIZED" || "NONE",
|
|
40
41
|
* };
|
|
41
42
|
* const command = new ListLensReviewImprovementsCommand(input);
|
|
42
43
|
* const response = await client.send(command);
|
|
@@ -52,6 +52,15 @@ export interface ListLensReviewsCommandOutput extends ListLensReviewsOutput, __M
|
|
|
52
52
|
* // RiskCounts: { // RiskCounts
|
|
53
53
|
* // "<keys>": Number("int"),
|
|
54
54
|
* // },
|
|
55
|
+
* // Profiles: [ // WorkloadProfiles
|
|
56
|
+
* // { // WorkloadProfile
|
|
57
|
+
* // ProfileArn: "STRING_VALUE",
|
|
58
|
+
* // ProfileVersion: "STRING_VALUE",
|
|
59
|
+
* // },
|
|
60
|
+
* // ],
|
|
61
|
+
* // PrioritizedRiskCounts: {
|
|
62
|
+
* // "<keys>": Number("int"),
|
|
63
|
+
* // },
|
|
55
64
|
* // },
|
|
56
65
|
* // ],
|
|
57
66
|
* // NextToken: "STRING_VALUE",
|
|
@@ -57,6 +57,15 @@ export interface ListMilestonesCommandOutput extends ListMilestonesOutput, __Met
|
|
|
57
57
|
* // "<keys>": Number("int"),
|
|
58
58
|
* // },
|
|
59
59
|
* // ImprovementStatus: "NOT_APPLICABLE" || "NOT_STARTED" || "IN_PROGRESS" || "COMPLETE" || "RISK_ACKNOWLEDGED",
|
|
60
|
+
* // Profiles: [ // WorkloadProfiles
|
|
61
|
+
* // { // WorkloadProfile
|
|
62
|
+
* // ProfileArn: "STRING_VALUE",
|
|
63
|
+
* // ProfileVersion: "STRING_VALUE",
|
|
64
|
+
* // },
|
|
65
|
+
* // ],
|
|
66
|
+
* // PrioritizedRiskCounts: {
|
|
67
|
+
* // "<keys>": Number("int"),
|
|
68
|
+
* // },
|
|
60
69
|
* // },
|
|
61
70
|
* // },
|
|
62
71
|
* // ],
|