@aws-sdk/client-wellarchitected 3.301.0 → 3.303.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 +8 -0
- package/dist-cjs/WellArchitected.js +15 -0
- package/dist-cjs/commands/GetConsolidatedReportCommand.js +45 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +132 -148
- package/dist-cjs/pagination/GetConsolidatedReportPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +177 -2
- package/dist-es/WellArchitected.js +15 -0
- package/dist-es/commands/GetConsolidatedReportCommand.js +41 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +131 -147
- package/dist-es/pagination/GetConsolidatedReportPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +173 -0
- package/dist-types/WellArchitected.d.ts +69 -43
- package/dist-types/WellArchitectedClient.d.ts +3 -3
- package/dist-types/commands/AssociateLensesCommand.d.ts +3 -3
- package/dist-types/commands/CreateLensShareCommand.d.ts +9 -3
- package/dist-types/commands/CreateLensVersionCommand.d.ts +6 -4
- package/dist-types/commands/CreateMilestoneCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkloadCommand.d.ts +13 -3
- package/dist-types/commands/CreateWorkloadShareCommand.d.ts +5 -3
- package/dist-types/commands/DeleteLensCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLensShareCommand.d.ts +3 -3
- package/dist-types/commands/DeleteWorkloadCommand.d.ts +1 -1
- package/dist-types/commands/DeleteWorkloadShareCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateLensesCommand.d.ts +4 -4
- package/dist-types/commands/ExportLensCommand.d.ts +5 -4
- package/dist-types/commands/GetConsolidatedReportCommand.d.ts +82 -0
- package/dist-types/commands/ImportLensCommand.d.ts +10 -9
- package/dist-types/commands/ListAnswersCommand.d.ts +1 -1
- package/dist-types/commands/ListLensReviewsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkloadsCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +3 -4
- package/dist-types/commands/UpdateAnswerCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLensReviewCommand.d.ts +2 -2
- package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateWorkloadCommand.d.ts +1 -1
- package/dist-types/commands/UpdateWorkloadShareCommand.d.ts +1 -1
- package/dist-types/commands/UpgradeLensReviewCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +833 -445
- package/dist-types/pagination/GetConsolidatedReportPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/WellArchitected.d.ts +17 -0
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetConsolidatedReportCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +210 -124
- package/dist-types/ts3.4/pagination/GetConsolidatedReportPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +34 -34
|
@@ -0,0 +1,82 @@
|
|
|
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 { GetConsolidatedReportInput, GetConsolidatedReportOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, WellArchitectedClientResolvedConfig } from "../WellArchitectedClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetConsolidatedReportCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetConsolidatedReportCommandInput extends GetConsolidatedReportInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetConsolidatedReportCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetConsolidatedReportCommandOutput extends GetConsolidatedReportOutput, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Get a consolidated report of your workloads.</p>
|
|
23
|
+
* <p>You can optionally choose to include workloads that have been shared with you.</p>
|
|
24
|
+
* @example
|
|
25
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
+
* ```javascript
|
|
27
|
+
* import { WellArchitectedClient, GetConsolidatedReportCommand } from "@aws-sdk/client-wellarchitected"; // ES Modules import
|
|
28
|
+
* // const { WellArchitectedClient, GetConsolidatedReportCommand } = require("@aws-sdk/client-wellarchitected"); // CommonJS import
|
|
29
|
+
* const client = new WellArchitectedClient(config);
|
|
30
|
+
* const input = { // GetConsolidatedReportInput
|
|
31
|
+
* Format: "PDF" || "JSON", // required
|
|
32
|
+
* IncludeSharedResources: true || false,
|
|
33
|
+
* NextToken: "STRING_VALUE",
|
|
34
|
+
* MaxResults: Number("int"),
|
|
35
|
+
* };
|
|
36
|
+
* const command = new GetConsolidatedReportCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @param GetConsolidatedReportCommandInput - {@link GetConsolidatedReportCommandInput}
|
|
41
|
+
* @returns {@link GetConsolidatedReportCommandOutput}
|
|
42
|
+
* @see {@link GetConsolidatedReportCommandInput} for command's `input` shape.
|
|
43
|
+
* @see {@link GetConsolidatedReportCommandOutput} for command's `response` shape.
|
|
44
|
+
* @see {@link WellArchitectedClientResolvedConfig | config} for WellArchitectedClient's `config` shape.
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
47
|
+
* <p>User does not have sufficient access to perform this action.</p>
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link ConflictException} (client fault)
|
|
50
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link InternalServerException} (server fault)
|
|
53
|
+
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
56
|
+
* <p>Request was denied due to request throttling.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ValidationException} (client fault)
|
|
59
|
+
* <p>The user input is not valid.</p>
|
|
60
|
+
*
|
|
61
|
+
*
|
|
62
|
+
*/
|
|
63
|
+
export declare class GetConsolidatedReportCommand extends $Command<GetConsolidatedReportCommandInput, GetConsolidatedReportCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
64
|
+
readonly input: GetConsolidatedReportCommandInput;
|
|
65
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
constructor(input: GetConsolidatedReportCommandInput);
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: WellArchitectedClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetConsolidatedReportCommandInput, GetConsolidatedReportCommandOutput>;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
private serialize;
|
|
78
|
+
/**
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
private deserialize;
|
|
82
|
+
}
|
|
@@ -19,15 +19,16 @@ export interface ImportLensCommandOutput extends ImportLensOutput, __MetadataBea
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Import a new lens.</p>
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
22
|
+
* <p>Import a new custom lens or update an existing custom lens.</p>
|
|
23
|
+
* <p>To update an existing custom lens, specify its ARN as the <code>LensAlias</code>. If
|
|
24
|
+
* no ARN is specified, a new custom lens is created.</p>
|
|
25
|
+
* <p>The new or updated lens will have a status of <code>DRAFT</code>. The lens cannot be
|
|
26
|
+
* applied to workloads or shared with other Amazon Web Services accounts until it's
|
|
27
|
+
* published with <a>CreateLensVersion</a>.</p>
|
|
28
|
+
* <p>Lenses are defined in JSON. For more information, see <a href="https://docs.aws.amazon.com/wellarchitected/latest/userguide/lenses-format-specification.html">JSON format specification</a>
|
|
27
29
|
* in the <i>Well-Architected Tool User Guide</i>.</p>
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* <note>
|
|
30
|
+
* <p>A custom lens cannot exceed 500 KB in size.</p>
|
|
31
|
+
* <note>
|
|
31
32
|
* <p>
|
|
32
33
|
* <b>Disclaimer</b>
|
|
33
34
|
* </p>
|
|
@@ -66,7 +67,7 @@ export interface ImportLensCommandOutput extends ImportLensOutput, __MetadataBea
|
|
|
66
67
|
* <p>User does not have sufficient access to perform this action.</p>
|
|
67
68
|
*
|
|
68
69
|
* @throws {@link ConflictException} (client fault)
|
|
69
|
-
* <p>The resource already
|
|
70
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
70
71
|
*
|
|
71
72
|
* @throws {@link InternalServerException} (server fault)
|
|
72
73
|
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
@@ -19,7 +19,7 @@ export interface ListAnswersCommandOutput extends ListAnswersOutput, __MetadataB
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>List of answers.</p>
|
|
22
|
+
* <p>List of answers for a particular workload and lens.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
@@ -19,7 +19,7 @@ export interface ListLensReviewsCommandOutput extends ListLensReviewsOutput, __M
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>List lens reviews.</p>
|
|
22
|
+
* <p>List lens reviews for a particular workload.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
@@ -20,7 +20,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>List the tags for a resource.</p>
|
|
23
|
-
*
|
|
23
|
+
* <note>
|
|
24
24
|
* <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p>
|
|
25
25
|
* </note>
|
|
26
26
|
* @example
|
|
@@ -19,7 +19,7 @@ export interface ListWorkloadsCommandOutput extends ListWorkloadsOutput, __Metad
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>
|
|
22
|
+
* <p>Paginated list of workloads.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
@@ -20,7 +20,7 @@ export interface TagResourceCommandOutput extends TagResourceOutput, __MetadataB
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Adds one or more tags to the specified resource.</p>
|
|
23
|
-
*
|
|
23
|
+
* <note>
|
|
24
24
|
* <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p>
|
|
25
25
|
* </note>
|
|
26
26
|
* @example
|
|
@@ -20,12 +20,11 @@ export interface UntagResourceCommandOutput extends UntagResourceOutput, __Metad
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Deletes specified tags from a resource.</p>
|
|
23
|
-
*
|
|
23
|
+
* <note>
|
|
24
24
|
* <p>The WorkloadArn parameter can be either a workload ARN or a custom lens ARN.</p>
|
|
25
25
|
* </note>
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* <p>
|
|
26
|
+
* <p>To specify multiple tags, use separate <b>tagKeys</b> parameters, for example:</p>
|
|
27
|
+
* <p>
|
|
29
28
|
* <code>DELETE /tags/WorkloadArn?tagKeys=key1&tagKeys=key2</code>
|
|
30
29
|
* </p>
|
|
31
30
|
* @example
|
|
@@ -58,7 +58,7 @@ export interface UpdateAnswerCommandOutput extends UpdateAnswerOutput, __Metadat
|
|
|
58
58
|
* <p>User does not have sufficient access to perform this action.</p>
|
|
59
59
|
*
|
|
60
60
|
* @throws {@link ConflictException} (client fault)
|
|
61
|
-
* <p>The resource already
|
|
61
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link InternalServerException} (server fault)
|
|
64
64
|
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
@@ -43,7 +43,7 @@ export interface UpdateGlobalSettingsCommandOutput extends __MetadataBearer {
|
|
|
43
43
|
* <p>User does not have sufficient access to perform this action.</p>
|
|
44
44
|
*
|
|
45
45
|
* @throws {@link ConflictException} (client fault)
|
|
46
|
-
* <p>The resource already
|
|
46
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
47
47
|
*
|
|
48
48
|
* @throws {@link InternalServerException} (server fault)
|
|
49
49
|
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
@@ -19,7 +19,7 @@ export interface UpdateLensReviewCommandOutput extends UpdateLensReviewOutput, _
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Update lens review.</p>
|
|
22
|
+
* <p>Update lens review for a particular workload.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
@@ -48,7 +48,7 @@ export interface UpdateLensReviewCommandOutput extends UpdateLensReviewOutput, _
|
|
|
48
48
|
* <p>User does not have sufficient access to perform this action.</p>
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link ConflictException} (client fault)
|
|
51
|
-
* <p>The resource already
|
|
51
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
52
52
|
*
|
|
53
53
|
* @throws {@link InternalServerException} (server fault)
|
|
54
54
|
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
@@ -20,7 +20,7 @@ export interface UpdateShareInvitationCommandOutput extends UpdateShareInvitatio
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
* <p>Update a workload or custom lens share invitation.</p>
|
|
23
|
-
*
|
|
23
|
+
* <note>
|
|
24
24
|
* <p>This API operation can be called independently of any resource. Previous documentation implied that a workload ARN must be specified.</p>
|
|
25
25
|
* </note>
|
|
26
26
|
* @example
|
|
@@ -47,7 +47,7 @@ export interface UpdateShareInvitationCommandOutput extends UpdateShareInvitatio
|
|
|
47
47
|
* <p>User does not have sufficient access to perform this action.</p>
|
|
48
48
|
*
|
|
49
49
|
* @throws {@link ConflictException} (client fault)
|
|
50
|
-
* <p>The resource already
|
|
50
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
51
51
|
*
|
|
52
52
|
* @throws {@link InternalServerException} (server fault)
|
|
53
53
|
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
@@ -71,7 +71,7 @@ export interface UpdateWorkloadCommandOutput extends UpdateWorkloadOutput, __Met
|
|
|
71
71
|
* <p>User does not have sufficient access to perform this action.</p>
|
|
72
72
|
*
|
|
73
73
|
* @throws {@link ConflictException} (client fault)
|
|
74
|
-
* <p>The resource already
|
|
74
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link InternalServerException} (server fault)
|
|
77
77
|
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
@@ -45,7 +45,7 @@ export interface UpdateWorkloadShareCommandOutput extends UpdateWorkloadShareOut
|
|
|
45
45
|
* <p>User does not have sufficient access to perform this action.</p>
|
|
46
46
|
*
|
|
47
47
|
* @throws {@link ConflictException} (client fault)
|
|
48
|
-
* <p>The resource already
|
|
48
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link InternalServerException} (server fault)
|
|
51
51
|
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
@@ -19,7 +19,7 @@ export interface UpgradeLensReviewCommandOutput extends __MetadataBearer {
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Upgrade lens review.</p>
|
|
22
|
+
* <p>Upgrade lens review for a particular workload.</p>
|
|
23
23
|
* @example
|
|
24
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
25
25
|
* ```javascript
|
|
@@ -46,7 +46,7 @@ export interface UpgradeLensReviewCommandOutput extends __MetadataBearer {
|
|
|
46
46
|
* <p>User does not have sufficient access to perform this action.</p>
|
|
47
47
|
*
|
|
48
48
|
* @throws {@link ConflictException} (client fault)
|
|
49
|
-
* <p>The resource already
|
|
49
|
+
* <p>The resource has already been processed, was deleted, or is too large.</p>
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link InternalServerException} (server fault)
|
|
52
52
|
* <p>There is a problem with the Well-Architected Tool API service.</p>
|
|
@@ -11,6 +11,7 @@ export * from "./DeleteWorkloadShareCommand";
|
|
|
11
11
|
export * from "./DisassociateLensesCommand";
|
|
12
12
|
export * from "./ExportLensCommand";
|
|
13
13
|
export * from "./GetAnswerCommand";
|
|
14
|
+
export * from "./GetConsolidatedReportCommand";
|
|
14
15
|
export * from "./GetLensCommand";
|
|
15
16
|
export * from "./GetLensReviewCommand";
|
|
16
17
|
export * from "./GetLensReviewReportCommand";
|