@aws-sdk/client-wellarchitected 3.193.0 → 3.196.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/CHANGELOG.md +19 -0
- package/dist-cjs/WellArchitectedClient.js +11 -8
- package/dist-cjs/commands/AssociateLensesCommand.js +10 -0
- package/dist-cjs/commands/CreateLensShareCommand.js +10 -0
- package/dist-cjs/commands/CreateLensVersionCommand.js +10 -0
- package/dist-cjs/commands/CreateMilestoneCommand.js +10 -0
- package/dist-cjs/commands/CreateWorkloadCommand.js +10 -0
- package/dist-cjs/commands/CreateWorkloadShareCommand.js +10 -0
- package/dist-cjs/commands/DeleteLensCommand.js +10 -0
- package/dist-cjs/commands/DeleteLensShareCommand.js +10 -0
- package/dist-cjs/commands/DeleteWorkloadCommand.js +10 -0
- package/dist-cjs/commands/DeleteWorkloadShareCommand.js +10 -0
- package/dist-cjs/commands/DisassociateLensesCommand.js +10 -0
- package/dist-cjs/commands/ExportLensCommand.js +10 -0
- package/dist-cjs/commands/GetAnswerCommand.js +10 -0
- package/dist-cjs/commands/GetLensCommand.js +10 -0
- package/dist-cjs/commands/GetLensReviewCommand.js +10 -0
- package/dist-cjs/commands/GetLensReviewReportCommand.js +10 -0
- package/dist-cjs/commands/GetLensVersionDifferenceCommand.js +10 -0
- package/dist-cjs/commands/GetMilestoneCommand.js +10 -0
- package/dist-cjs/commands/GetWorkloadCommand.js +10 -0
- package/dist-cjs/commands/ImportLensCommand.js +10 -0
- package/dist-cjs/commands/ListAnswersCommand.js +10 -0
- package/dist-cjs/commands/ListLensReviewImprovementsCommand.js +10 -0
- package/dist-cjs/commands/ListLensReviewsCommand.js +10 -0
- package/dist-cjs/commands/ListLensSharesCommand.js +10 -0
- package/dist-cjs/commands/ListLensesCommand.js +10 -0
- package/dist-cjs/commands/ListMilestonesCommand.js +10 -0
- package/dist-cjs/commands/ListNotificationsCommand.js +10 -0
- package/dist-cjs/commands/ListShareInvitationsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/ListWorkloadSharesCommand.js +10 -0
- package/dist-cjs/commands/ListWorkloadsCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateAnswerCommand.js +10 -0
- package/dist-cjs/commands/UpdateGlobalSettingsCommand.js +10 -0
- package/dist-cjs/commands/UpdateLensReviewCommand.js +10 -0
- package/dist-cjs/commands/UpdateShareInvitationCommand.js +10 -0
- package/dist-cjs/commands/UpdateWorkloadCommand.js +10 -0
- package/dist-cjs/commands/UpdateWorkloadShareCommand.js +10 -0
- package/dist-cjs/commands/UpgradeLensReviewCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/WellArchitectedClient.js +12 -9
- package/dist-es/commands/AssociateLensesCommand.js +10 -0
- package/dist-es/commands/CreateLensShareCommand.js +10 -0
- package/dist-es/commands/CreateLensVersionCommand.js +10 -0
- package/dist-es/commands/CreateMilestoneCommand.js +10 -0
- package/dist-es/commands/CreateWorkloadCommand.js +10 -0
- package/dist-es/commands/CreateWorkloadShareCommand.js +10 -0
- package/dist-es/commands/DeleteLensCommand.js +10 -0
- package/dist-es/commands/DeleteLensShareCommand.js +10 -0
- package/dist-es/commands/DeleteWorkloadCommand.js +10 -0
- package/dist-es/commands/DeleteWorkloadShareCommand.js +10 -0
- package/dist-es/commands/DisassociateLensesCommand.js +10 -0
- package/dist-es/commands/ExportLensCommand.js +10 -0
- package/dist-es/commands/GetAnswerCommand.js +10 -0
- package/dist-es/commands/GetLensCommand.js +10 -0
- package/dist-es/commands/GetLensReviewCommand.js +10 -0
- package/dist-es/commands/GetLensReviewReportCommand.js +10 -0
- package/dist-es/commands/GetLensVersionDifferenceCommand.js +10 -0
- package/dist-es/commands/GetMilestoneCommand.js +10 -0
- package/dist-es/commands/GetWorkloadCommand.js +10 -0
- package/dist-es/commands/ImportLensCommand.js +10 -0
- package/dist-es/commands/ListAnswersCommand.js +10 -0
- package/dist-es/commands/ListLensReviewImprovementsCommand.js +10 -0
- package/dist-es/commands/ListLensReviewsCommand.js +10 -0
- package/dist-es/commands/ListLensSharesCommand.js +10 -0
- package/dist-es/commands/ListLensesCommand.js +10 -0
- package/dist-es/commands/ListMilestonesCommand.js +10 -0
- package/dist-es/commands/ListNotificationsCommand.js +10 -0
- package/dist-es/commands/ListShareInvitationsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/ListWorkloadSharesCommand.js +10 -0
- package/dist-es/commands/ListWorkloadsCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateAnswerCommand.js +10 -0
- package/dist-es/commands/UpdateGlobalSettingsCommand.js +10 -0
- package/dist-es/commands/UpdateLensReviewCommand.js +10 -0
- package/dist-es/commands/UpdateShareInvitationCommand.js +10 -0
- package/dist-es/commands/UpdateWorkloadCommand.js +10 -0
- package/dist-es/commands/UpdateWorkloadShareCommand.js +10 -0
- package/dist-es/commands/UpgradeLensReviewCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/WellArchitectedClient.d.ts +6 -9
- package/dist-types/commands/AssociateLensesCommand.d.ts +2 -0
- package/dist-types/commands/CreateLensShareCommand.d.ts +2 -0
- package/dist-types/commands/CreateLensVersionCommand.d.ts +2 -0
- package/dist-types/commands/CreateMilestoneCommand.d.ts +2 -0
- package/dist-types/commands/CreateWorkloadCommand.d.ts +2 -0
- package/dist-types/commands/CreateWorkloadShareCommand.d.ts +2 -0
- package/dist-types/commands/DeleteLensCommand.d.ts +2 -0
- package/dist-types/commands/DeleteLensShareCommand.d.ts +2 -0
- package/dist-types/commands/DeleteWorkloadCommand.d.ts +2 -0
- package/dist-types/commands/DeleteWorkloadShareCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateLensesCommand.d.ts +2 -0
- package/dist-types/commands/ExportLensCommand.d.ts +2 -0
- package/dist-types/commands/GetAnswerCommand.d.ts +2 -0
- package/dist-types/commands/GetLensCommand.d.ts +2 -0
- package/dist-types/commands/GetLensReviewCommand.d.ts +2 -0
- package/dist-types/commands/GetLensReviewReportCommand.d.ts +2 -0
- package/dist-types/commands/GetLensVersionDifferenceCommand.d.ts +2 -0
- package/dist-types/commands/GetMilestoneCommand.d.ts +2 -0
- package/dist-types/commands/GetWorkloadCommand.d.ts +2 -0
- package/dist-types/commands/ImportLensCommand.d.ts +2 -0
- package/dist-types/commands/ListAnswersCommand.d.ts +2 -0
- package/dist-types/commands/ListLensReviewImprovementsCommand.d.ts +2 -0
- package/dist-types/commands/ListLensReviewsCommand.d.ts +2 -0
- package/dist-types/commands/ListLensSharesCommand.d.ts +2 -0
- package/dist-types/commands/ListLensesCommand.d.ts +2 -0
- package/dist-types/commands/ListMilestonesCommand.d.ts +2 -0
- package/dist-types/commands/ListNotificationsCommand.d.ts +2 -0
- package/dist-types/commands/ListShareInvitationsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/ListWorkloadSharesCommand.d.ts +2 -0
- package/dist-types/commands/ListWorkloadsCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateAnswerCommand.d.ts +2 -0
- package/dist-types/commands/UpdateGlobalSettingsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateLensReviewCommand.d.ts +2 -0
- package/dist-types/commands/UpdateShareInvitationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateWorkloadCommand.d.ts +2 -0
- package/dist-types/commands/UpdateWorkloadShareCommand.d.ts +2 -0
- package/dist-types/commands/UpgradeLensReviewCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/WellArchitectedClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AssociateLensesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateLensShareCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateLensVersionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateMilestoneCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateWorkloadCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateWorkloadShareCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteLensCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteLensShareCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteWorkloadCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteWorkloadShareCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateLensesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ExportLensCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAnswerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetLensCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetLensReviewCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetLensReviewReportCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetLensVersionDifferenceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetMilestoneCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetWorkloadCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ImportLensCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAnswersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListLensReviewImprovementsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListLensReviewsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListLensSharesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListLensesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListMilestonesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListNotificationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListShareInvitationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListWorkloadSharesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListWorkloadsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateAnswerCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateGlobalSettingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateLensReviewCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateShareInvitationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateWorkloadCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateWorkloadShareCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpgradeLensReviewCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -132
- package/dist-es/endpoints.js +0 -128
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpgradeLensReviewInputFilterSensitiveLog } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class UpgradeLensReviewCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpgradeLensReviewCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "WellArchitectedClient";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { resolveEndpoint } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { ruleSet } from "./ruleset";
|
|
3
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
4
|
+
return resolveEndpoint(ruleSet, {
|
|
5
|
+
endpointParams: endpointParams,
|
|
6
|
+
logger: context.logger,
|
|
7
|
+
});
|
|
8
|
+
};
|
|
@@ -0,0 +1,315 @@
|
|
|
1
|
+
export const ruleSet = {
|
|
2
|
+
version: "1.0",
|
|
3
|
+
parameters: {
|
|
4
|
+
Region: {
|
|
5
|
+
builtIn: "AWS::Region",
|
|
6
|
+
required: false,
|
|
7
|
+
documentation: "The AWS region used to dispatch the request.",
|
|
8
|
+
type: "String",
|
|
9
|
+
},
|
|
10
|
+
UseDualStack: {
|
|
11
|
+
builtIn: "AWS::UseDualStack",
|
|
12
|
+
required: true,
|
|
13
|
+
default: false,
|
|
14
|
+
documentation: "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
|
|
15
|
+
type: "Boolean",
|
|
16
|
+
},
|
|
17
|
+
UseFIPS: {
|
|
18
|
+
builtIn: "AWS::UseFIPS",
|
|
19
|
+
required: true,
|
|
20
|
+
default: false,
|
|
21
|
+
documentation: "When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.",
|
|
22
|
+
type: "Boolean",
|
|
23
|
+
},
|
|
24
|
+
Endpoint: {
|
|
25
|
+
builtIn: "SDK::Endpoint",
|
|
26
|
+
required: false,
|
|
27
|
+
documentation: "Override the endpoint used to send this request",
|
|
28
|
+
type: "String",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
rules: [
|
|
32
|
+
{
|
|
33
|
+
conditions: [
|
|
34
|
+
{
|
|
35
|
+
fn: "aws.partition",
|
|
36
|
+
argv: [
|
|
37
|
+
{
|
|
38
|
+
ref: "Region",
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
assign: "PartitionResult",
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
type: "tree",
|
|
45
|
+
rules: [
|
|
46
|
+
{
|
|
47
|
+
conditions: [
|
|
48
|
+
{
|
|
49
|
+
fn: "isSet",
|
|
50
|
+
argv: [
|
|
51
|
+
{
|
|
52
|
+
ref: "Endpoint",
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
fn: "parseURL",
|
|
58
|
+
argv: [
|
|
59
|
+
{
|
|
60
|
+
ref: "Endpoint",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
assign: "url",
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
type: "tree",
|
|
67
|
+
rules: [
|
|
68
|
+
{
|
|
69
|
+
conditions: [
|
|
70
|
+
{
|
|
71
|
+
fn: "booleanEquals",
|
|
72
|
+
argv: [
|
|
73
|
+
{
|
|
74
|
+
ref: "UseFIPS",
|
|
75
|
+
},
|
|
76
|
+
true,
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
],
|
|
80
|
+
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
81
|
+
type: "error",
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
conditions: [],
|
|
85
|
+
type: "tree",
|
|
86
|
+
rules: [
|
|
87
|
+
{
|
|
88
|
+
conditions: [
|
|
89
|
+
{
|
|
90
|
+
fn: "booleanEquals",
|
|
91
|
+
argv: [
|
|
92
|
+
{
|
|
93
|
+
ref: "UseDualStack",
|
|
94
|
+
},
|
|
95
|
+
true,
|
|
96
|
+
],
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
100
|
+
type: "error",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
conditions: [],
|
|
104
|
+
endpoint: {
|
|
105
|
+
url: {
|
|
106
|
+
ref: "Endpoint",
|
|
107
|
+
},
|
|
108
|
+
properties: {},
|
|
109
|
+
headers: {},
|
|
110
|
+
},
|
|
111
|
+
type: "endpoint",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
conditions: [
|
|
119
|
+
{
|
|
120
|
+
fn: "booleanEquals",
|
|
121
|
+
argv: [
|
|
122
|
+
{
|
|
123
|
+
ref: "UseFIPS",
|
|
124
|
+
},
|
|
125
|
+
true,
|
|
126
|
+
],
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
fn: "booleanEquals",
|
|
130
|
+
argv: [
|
|
131
|
+
{
|
|
132
|
+
ref: "UseDualStack",
|
|
133
|
+
},
|
|
134
|
+
true,
|
|
135
|
+
],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
type: "tree",
|
|
139
|
+
rules: [
|
|
140
|
+
{
|
|
141
|
+
conditions: [
|
|
142
|
+
{
|
|
143
|
+
fn: "booleanEquals",
|
|
144
|
+
argv: [
|
|
145
|
+
true,
|
|
146
|
+
{
|
|
147
|
+
fn: "getAttr",
|
|
148
|
+
argv: [
|
|
149
|
+
{
|
|
150
|
+
ref: "PartitionResult",
|
|
151
|
+
},
|
|
152
|
+
"supportsFIPS",
|
|
153
|
+
],
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
fn: "booleanEquals",
|
|
159
|
+
argv: [
|
|
160
|
+
true,
|
|
161
|
+
{
|
|
162
|
+
fn: "getAttr",
|
|
163
|
+
argv: [
|
|
164
|
+
{
|
|
165
|
+
ref: "PartitionResult",
|
|
166
|
+
},
|
|
167
|
+
"supportsDualStack",
|
|
168
|
+
],
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
},
|
|
172
|
+
],
|
|
173
|
+
type: "tree",
|
|
174
|
+
rules: [
|
|
175
|
+
{
|
|
176
|
+
conditions: [],
|
|
177
|
+
endpoint: {
|
|
178
|
+
url: "https://wellarchitected-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
179
|
+
properties: {},
|
|
180
|
+
headers: {},
|
|
181
|
+
},
|
|
182
|
+
type: "endpoint",
|
|
183
|
+
},
|
|
184
|
+
],
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
conditions: [],
|
|
188
|
+
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
189
|
+
type: "error",
|
|
190
|
+
},
|
|
191
|
+
],
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
conditions: [
|
|
195
|
+
{
|
|
196
|
+
fn: "booleanEquals",
|
|
197
|
+
argv: [
|
|
198
|
+
{
|
|
199
|
+
ref: "UseFIPS",
|
|
200
|
+
},
|
|
201
|
+
true,
|
|
202
|
+
],
|
|
203
|
+
},
|
|
204
|
+
],
|
|
205
|
+
type: "tree",
|
|
206
|
+
rules: [
|
|
207
|
+
{
|
|
208
|
+
conditions: [
|
|
209
|
+
{
|
|
210
|
+
fn: "booleanEquals",
|
|
211
|
+
argv: [
|
|
212
|
+
true,
|
|
213
|
+
{
|
|
214
|
+
fn: "getAttr",
|
|
215
|
+
argv: [
|
|
216
|
+
{
|
|
217
|
+
ref: "PartitionResult",
|
|
218
|
+
},
|
|
219
|
+
"supportsFIPS",
|
|
220
|
+
],
|
|
221
|
+
},
|
|
222
|
+
],
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
type: "tree",
|
|
226
|
+
rules: [
|
|
227
|
+
{
|
|
228
|
+
conditions: [],
|
|
229
|
+
type: "tree",
|
|
230
|
+
rules: [
|
|
231
|
+
{
|
|
232
|
+
conditions: [],
|
|
233
|
+
endpoint: {
|
|
234
|
+
url: "https://wellarchitected-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
235
|
+
properties: {},
|
|
236
|
+
headers: {},
|
|
237
|
+
},
|
|
238
|
+
type: "endpoint",
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
},
|
|
242
|
+
],
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
conditions: [],
|
|
246
|
+
error: "FIPS is enabled but this partition does not support FIPS",
|
|
247
|
+
type: "error",
|
|
248
|
+
},
|
|
249
|
+
],
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
conditions: [
|
|
253
|
+
{
|
|
254
|
+
fn: "booleanEquals",
|
|
255
|
+
argv: [
|
|
256
|
+
{
|
|
257
|
+
ref: "UseDualStack",
|
|
258
|
+
},
|
|
259
|
+
true,
|
|
260
|
+
],
|
|
261
|
+
},
|
|
262
|
+
],
|
|
263
|
+
type: "tree",
|
|
264
|
+
rules: [
|
|
265
|
+
{
|
|
266
|
+
conditions: [
|
|
267
|
+
{
|
|
268
|
+
fn: "booleanEquals",
|
|
269
|
+
argv: [
|
|
270
|
+
true,
|
|
271
|
+
{
|
|
272
|
+
fn: "getAttr",
|
|
273
|
+
argv: [
|
|
274
|
+
{
|
|
275
|
+
ref: "PartitionResult",
|
|
276
|
+
},
|
|
277
|
+
"supportsDualStack",
|
|
278
|
+
],
|
|
279
|
+
},
|
|
280
|
+
],
|
|
281
|
+
},
|
|
282
|
+
],
|
|
283
|
+
type: "tree",
|
|
284
|
+
rules: [
|
|
285
|
+
{
|
|
286
|
+
conditions: [],
|
|
287
|
+
endpoint: {
|
|
288
|
+
url: "https://wellarchitected.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
289
|
+
properties: {},
|
|
290
|
+
headers: {},
|
|
291
|
+
},
|
|
292
|
+
type: "endpoint",
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
conditions: [],
|
|
298
|
+
error: "DualStack is enabled but this partition does not support DualStack",
|
|
299
|
+
type: "error",
|
|
300
|
+
},
|
|
301
|
+
],
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
conditions: [],
|
|
305
|
+
endpoint: {
|
|
306
|
+
url: "https://wellarchitected.{Region}.{PartitionResult#dnsSuffix}",
|
|
307
|
+
properties: {},
|
|
308
|
+
headers: {},
|
|
309
|
+
},
|
|
310
|
+
type: "endpoint",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
},
|
|
314
|
+
],
|
|
315
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
2
|
-
import {
|
|
2
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
3
3
|
export const getRuntimeConfig = (config) => ({
|
|
4
4
|
apiVersion: "2020-03-31",
|
|
5
5
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
6
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
6
7
|
logger: config?.logger ?? {},
|
|
7
|
-
regionInfoProvider: config?.regionInfoProvider ?? defaultRegionInfoProvider,
|
|
8
8
|
serviceId: config?.serviceId ?? "WellArchitected",
|
|
9
9
|
urlParser: config?.urlParser ?? parseUrl,
|
|
10
10
|
});
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
2
3
|
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
3
4
|
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
4
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
8
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider,
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
10
|
import { AssociateLensesCommandInput, AssociateLensesCommandOutput } from "./commands/AssociateLensesCommand";
|
|
10
11
|
import { CreateLensShareCommandInput, CreateLensShareCommandOutput } from "./commands/CreateLensShareCommand";
|
|
11
12
|
import { CreateLensVersionCommandInput, CreateLensVersionCommandOutput } from "./commands/CreateLensVersionCommand";
|
|
@@ -46,6 +47,7 @@ import { UpdateShareInvitationCommandInput, UpdateShareInvitationCommandOutput }
|
|
|
46
47
|
import { UpdateWorkloadCommandInput, UpdateWorkloadCommandOutput } from "./commands/UpdateWorkloadCommand";
|
|
47
48
|
import { UpdateWorkloadShareCommandInput, UpdateWorkloadShareCommandOutput } from "./commands/UpdateWorkloadShareCommand";
|
|
48
49
|
import { UpgradeLensReviewCommandInput, UpgradeLensReviewCommandOutput } from "./commands/UpgradeLensReviewCommand";
|
|
50
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
49
51
|
export declare type ServiceInputTypes = AssociateLensesCommandInput | CreateLensShareCommandInput | CreateLensVersionCommandInput | CreateMilestoneCommandInput | CreateWorkloadCommandInput | CreateWorkloadShareCommandInput | DeleteLensCommandInput | DeleteLensShareCommandInput | DeleteWorkloadCommandInput | DeleteWorkloadShareCommandInput | DisassociateLensesCommandInput | ExportLensCommandInput | GetAnswerCommandInput | GetLensCommandInput | GetLensReviewCommandInput | GetLensReviewReportCommandInput | GetLensVersionDifferenceCommandInput | GetMilestoneCommandInput | GetWorkloadCommandInput | ImportLensCommandInput | ListAnswersCommandInput | ListLensReviewImprovementsCommandInput | ListLensReviewsCommandInput | ListLensSharesCommandInput | ListLensesCommandInput | ListMilestonesCommandInput | ListNotificationsCommandInput | ListShareInvitationsCommandInput | ListTagsForResourceCommandInput | ListWorkloadSharesCommandInput | ListWorkloadsCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAnswerCommandInput | UpdateGlobalSettingsCommandInput | UpdateLensReviewCommandInput | UpdateShareInvitationCommandInput | UpdateWorkloadCommandInput | UpdateWorkloadShareCommandInput | UpgradeLensReviewCommandInput;
|
|
50
52
|
export declare type ServiceOutputTypes = AssociateLensesCommandOutput | CreateLensShareCommandOutput | CreateLensVersionCommandOutput | CreateMilestoneCommandOutput | CreateWorkloadCommandOutput | CreateWorkloadShareCommandOutput | DeleteLensCommandOutput | DeleteLensShareCommandOutput | DeleteWorkloadCommandOutput | DeleteWorkloadShareCommandOutput | DisassociateLensesCommandOutput | ExportLensCommandOutput | GetAnswerCommandOutput | GetLensCommandOutput | GetLensReviewCommandOutput | GetLensReviewReportCommandOutput | GetLensVersionDifferenceCommandOutput | GetMilestoneCommandOutput | GetWorkloadCommandOutput | ImportLensCommandOutput | ListAnswersCommandOutput | ListLensReviewImprovementsCommandOutput | ListLensReviewsCommandOutput | ListLensSharesCommandOutput | ListLensesCommandOutput | ListMilestonesCommandOutput | ListNotificationsCommandOutput | ListShareInvitationsCommandOutput | ListTagsForResourceCommandOutput | ListWorkloadSharesCommandOutput | ListWorkloadsCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAnswerCommandOutput | UpdateGlobalSettingsCommandOutput | UpdateLensReviewCommandOutput | UpdateShareInvitationCommandOutput | UpdateWorkloadCommandOutput | UpdateWorkloadShareCommandOutput | UpgradeLensReviewCommandOutput;
|
|
51
53
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
@@ -138,11 +140,6 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
138
140
|
* @internal
|
|
139
141
|
*/
|
|
140
142
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
141
|
-
/**
|
|
142
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
143
|
-
* @internal
|
|
144
|
-
*/
|
|
145
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
146
143
|
/**
|
|
147
144
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
148
145
|
* @internal
|
|
@@ -153,13 +150,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
153
150
|
*/
|
|
154
151
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
155
152
|
}
|
|
156
|
-
declare type WellArchitectedClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig &
|
|
153
|
+
declare type WellArchitectedClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
157
154
|
/**
|
|
158
155
|
* The configuration interface of WellArchitectedClient class constructor that set the region, credentials and other options.
|
|
159
156
|
*/
|
|
160
157
|
export interface WellArchitectedClientConfig extends WellArchitectedClientConfigType {
|
|
161
158
|
}
|
|
162
|
-
declare type WellArchitectedClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig &
|
|
159
|
+
declare type WellArchitectedClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
163
160
|
/**
|
|
164
161
|
* The resolved configuration interface of WellArchitectedClient class. This is resolved and normalized from the {@link WellArchitectedClientConfig | constructor configuration interface}.
|
|
165
162
|
*/
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { AssociateLensesInput } from "../models/models_0";
|
|
@@ -35,6 +36,7 @@ export interface AssociateLensesCommandOutput extends __MetadataBearer {
|
|
|
35
36
|
*/
|
|
36
37
|
export declare class AssociateLensesCommand extends $Command<AssociateLensesCommandInput, AssociateLensesCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
37
38
|
readonly input: AssociateLensesCommandInput;
|
|
39
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
38
40
|
constructor(input: AssociateLensesCommandInput);
|
|
39
41
|
/**
|
|
40
42
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateLensShareInput, CreateLensShareOutput } from "../models/models_0";
|
|
@@ -38,6 +39,7 @@ export interface CreateLensShareCommandOutput extends CreateLensShareOutput, __M
|
|
|
38
39
|
*/
|
|
39
40
|
export declare class CreateLensShareCommand extends $Command<CreateLensShareCommandInput, CreateLensShareCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
40
41
|
readonly input: CreateLensShareCommandInput;
|
|
42
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
41
43
|
constructor(input: CreateLensShareCommandInput);
|
|
42
44
|
/**
|
|
43
45
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateLensVersionInput, CreateLensVersionOutput } from "../models/models_0";
|
|
@@ -29,6 +30,7 @@ export interface CreateLensVersionCommandOutput extends CreateLensVersionOutput,
|
|
|
29
30
|
*/
|
|
30
31
|
export declare class CreateLensVersionCommand extends $Command<CreateLensVersionCommandInput, CreateLensVersionCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
31
32
|
readonly input: CreateLensVersionCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
34
|
constructor(input: CreateLensVersionCommandInput);
|
|
33
35
|
/**
|
|
34
36
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateMilestoneInput, CreateMilestoneOutput } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface CreateMilestoneCommandOutput extends CreateMilestoneOutput, __M
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class CreateMilestoneCommand extends $Command<CreateMilestoneCommandInput, CreateMilestoneCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
27
28
|
readonly input: CreateMilestoneCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: CreateMilestoneCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateWorkloadInput, CreateWorkloadOutput } from "../models/models_0";
|
|
@@ -29,6 +30,7 @@ export interface CreateWorkloadCommandOutput extends CreateWorkloadOutput, __Met
|
|
|
29
30
|
*/
|
|
30
31
|
export declare class CreateWorkloadCommand extends $Command<CreateWorkloadCommandInput, CreateWorkloadCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
31
32
|
readonly input: CreateWorkloadCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
34
|
constructor(input: CreateWorkloadCommandInput);
|
|
33
35
|
/**
|
|
34
36
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { CreateWorkloadShareInput, CreateWorkloadShareOutput } from "../models/models_0";
|
|
@@ -30,6 +31,7 @@ export interface CreateWorkloadShareCommandOutput extends CreateWorkloadShareOut
|
|
|
30
31
|
*/
|
|
31
32
|
export declare class CreateWorkloadShareCommand extends $Command<CreateWorkloadShareCommandInput, CreateWorkloadShareCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
32
33
|
readonly input: CreateWorkloadShareCommandInput;
|
|
34
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
35
|
constructor(input: CreateWorkloadShareCommandInput);
|
|
34
36
|
/**
|
|
35
37
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { DeleteLensInput } from "../models/models_0";
|
|
@@ -39,6 +40,7 @@ export interface DeleteLensCommandOutput extends __MetadataBearer {
|
|
|
39
40
|
*/
|
|
40
41
|
export declare class DeleteLensCommand extends $Command<DeleteLensCommandInput, DeleteLensCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
41
42
|
readonly input: DeleteLensCommandInput;
|
|
43
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
42
44
|
constructor(input: DeleteLensCommandInput);
|
|
43
45
|
/**
|
|
44
46
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { DeleteLensShareInput } from "../models/models_0";
|
|
@@ -38,6 +39,7 @@ export interface DeleteLensShareCommandOutput extends __MetadataBearer {
|
|
|
38
39
|
*/
|
|
39
40
|
export declare class DeleteLensShareCommand extends $Command<DeleteLensShareCommandInput, DeleteLensShareCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
40
41
|
readonly input: DeleteLensShareCommandInput;
|
|
42
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
41
43
|
constructor(input: DeleteLensShareCommandInput);
|
|
42
44
|
/**
|
|
43
45
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { DeleteWorkloadInput } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface DeleteWorkloadCommandOutput extends __MetadataBearer {
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class DeleteWorkloadCommand extends $Command<DeleteWorkloadCommandInput, DeleteWorkloadCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
27
28
|
readonly input: DeleteWorkloadCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DeleteWorkloadCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { DeleteWorkloadShareInput } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface DeleteWorkloadShareCommandOutput extends __MetadataBearer {
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class DeleteWorkloadShareCommand extends $Command<DeleteWorkloadShareCommandInput, DeleteWorkloadShareCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
27
28
|
readonly input: DeleteWorkloadShareCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DeleteWorkloadShareCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { DisassociateLensesInput } from "../models/models_0";
|
|
@@ -30,6 +31,7 @@ export interface DisassociateLensesCommandOutput extends __MetadataBearer {
|
|
|
30
31
|
*/
|
|
31
32
|
export declare class DisassociateLensesCommand extends $Command<DisassociateLensesCommandInput, DisassociateLensesCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
32
33
|
readonly input: DisassociateLensesCommandInput;
|
|
34
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
35
|
constructor(input: DisassociateLensesCommandInput);
|
|
34
36
|
/**
|
|
35
37
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ExportLensInput, ExportLensOutput } from "../models/models_0";
|
|
@@ -39,6 +40,7 @@ export interface ExportLensCommandOutput extends ExportLensOutput, __MetadataBea
|
|
|
39
40
|
*/
|
|
40
41
|
export declare class ExportLensCommand extends $Command<ExportLensCommandInput, ExportLensCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
41
42
|
readonly input: ExportLensCommandInput;
|
|
43
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
42
44
|
constructor(input: ExportLensCommandInput);
|
|
43
45
|
/**
|
|
44
46
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetAnswerInput, GetAnswerOutput } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface GetAnswerCommandOutput extends GetAnswerOutput, __MetadataBeare
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetAnswerCommand extends $Command<GetAnswerCommandInput, GetAnswerCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
27
28
|
readonly input: GetAnswerCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetAnswerCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetLensInput, GetLensOutput } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface GetLensCommandOutput extends GetLensOutput, __MetadataBearer {
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetLensCommand extends $Command<GetLensCommandInput, GetLensCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
27
28
|
readonly input: GetLensCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetLensCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetLensReviewInput, GetLensReviewOutput } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface GetLensReviewCommandOutput extends GetLensReviewOutput, __Metad
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetLensReviewCommand extends $Command<GetLensReviewCommandInput, GetLensReviewCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
27
28
|
readonly input: GetLensReviewCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetLensReviewCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { GetLensReviewReportInput, GetLensReviewReportOutput } from "../models/models_0";
|
|
@@ -25,6 +26,7 @@ export interface GetLensReviewReportCommandOutput extends GetLensReviewReportOut
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class GetLensReviewReportCommand extends $Command<GetLensReviewReportCommandInput, GetLensReviewReportCommandOutput, WellArchitectedClientResolvedConfig> {
|
|
27
28
|
readonly input: GetLensReviewReportCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetLensReviewReportCommandInput);
|
|
29
31
|
/**
|
|
30
32
|
* @internal
|