@aws-sdk/client-compute-optimizer-automation 3.1075.0 → 3.1077.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/dist-cjs/index.js +1267 -15
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeConfig.native.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
- package/package.json +8 -10
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -46
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/ComputeOptimizerAutomationServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -145
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -38
- package/dist-cjs/schemas/schemas_0.js +0 -909
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,58 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
const {
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
const { Sha256 } = require("@smithy/core/checksum");
|
|
17
|
+
|
|
18
|
+
const defaultComputeOptimizerAutomationHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
19
|
+
return {
|
|
20
|
+
operation: getSmithyContext(context).operation,
|
|
21
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
22
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
23
|
+
})(),
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
27
|
+
return {
|
|
28
|
+
schemeId: "aws.auth#sigv4",
|
|
29
|
+
signingProperties: {
|
|
30
|
+
name: "aco-automation",
|
|
31
|
+
region: authParameters.region,
|
|
32
|
+
},
|
|
33
|
+
propertiesExtractor: (config, context) => ({
|
|
34
|
+
signingProperties: {
|
|
35
|
+
config,
|
|
36
|
+
context,
|
|
37
|
+
},
|
|
38
|
+
}),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
const defaultComputeOptimizerAutomationHttpAuthSchemeProvider = (authParameters) => {
|
|
42
|
+
const options = [];
|
|
43
|
+
switch (authParameters.operation) {
|
|
44
|
+
default: {
|
|
45
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
return options;
|
|
49
|
+
};
|
|
50
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
51
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
52
|
+
return Object.assign(config_0, {
|
|
53
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
54
|
+
});
|
|
55
|
+
};
|
|
19
56
|
|
|
20
57
|
const resolveClientEndpointParameters = (options) => {
|
|
21
58
|
return Object.assign(options, {
|
|
@@ -31,6 +68,1095 @@ const commonParams = {
|
|
|
31
68
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
69
|
};
|
|
33
70
|
|
|
71
|
+
var version = "3.1076.0";
|
|
72
|
+
var packageInfo = {
|
|
73
|
+
version: version};
|
|
74
|
+
|
|
75
|
+
const k = "ref";
|
|
76
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
77
|
+
const _data = {
|
|
78
|
+
conditions: [
|
|
79
|
+
[c, [g]],
|
|
80
|
+
[c, j],
|
|
81
|
+
["aws.partition", j, d],
|
|
82
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
83
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
85
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
|
|
86
|
+
],
|
|
87
|
+
results: [
|
|
88
|
+
[a],
|
|
89
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
90
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
91
|
+
[g, i],
|
|
92
|
+
["https://aco-automation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
93
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
94
|
+
["https://aco-automation-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
95
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
96
|
+
["https://aco-automation.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
97
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
98
|
+
["https://aco-automation.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
99
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
100
|
+
]
|
|
101
|
+
};
|
|
102
|
+
const root = 2;
|
|
103
|
+
const r = 100_000_000;
|
|
104
|
+
const nodes = new Int32Array([
|
|
105
|
+
-1, 1, -1,
|
|
106
|
+
0, 12, 3,
|
|
107
|
+
1, 4, r + 11,
|
|
108
|
+
2, 5, r + 11,
|
|
109
|
+
3, 8, 6,
|
|
110
|
+
4, 7, r + 10,
|
|
111
|
+
5, r + 8, r + 9,
|
|
112
|
+
4, 10, 9,
|
|
113
|
+
6, r + 6, r + 7,
|
|
114
|
+
5, 11, r + 5,
|
|
115
|
+
6, r + 4, r + 5,
|
|
116
|
+
3, r + 1, 13,
|
|
117
|
+
4, r + 2, r + 3,
|
|
118
|
+
]);
|
|
119
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
120
|
+
|
|
121
|
+
const cache = new EndpointCache({
|
|
122
|
+
size: 50,
|
|
123
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
124
|
+
});
|
|
125
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
126
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
127
|
+
endpointParams: endpointParams,
|
|
128
|
+
logger: context.logger,
|
|
129
|
+
}));
|
|
130
|
+
};
|
|
131
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
132
|
+
|
|
133
|
+
class ComputeOptimizerAutomationServiceException extends ServiceException {
|
|
134
|
+
constructor(options) {
|
|
135
|
+
super(options);
|
|
136
|
+
Object.setPrototypeOf(this, ComputeOptimizerAutomationServiceException.prototype);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
class AccessDeniedException extends ComputeOptimizerAutomationServiceException {
|
|
141
|
+
name = "AccessDeniedException";
|
|
142
|
+
$fault = "client";
|
|
143
|
+
constructor(opts) {
|
|
144
|
+
super({
|
|
145
|
+
name: "AccessDeniedException",
|
|
146
|
+
$fault: "client",
|
|
147
|
+
...opts,
|
|
148
|
+
});
|
|
149
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
class ForbiddenException extends ComputeOptimizerAutomationServiceException {
|
|
153
|
+
name = "ForbiddenException";
|
|
154
|
+
$fault = "client";
|
|
155
|
+
constructor(opts) {
|
|
156
|
+
super({
|
|
157
|
+
name: "ForbiddenException",
|
|
158
|
+
$fault: "client",
|
|
159
|
+
...opts,
|
|
160
|
+
});
|
|
161
|
+
Object.setPrototypeOf(this, ForbiddenException.prototype);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
class IdempotencyTokenInUseException extends ComputeOptimizerAutomationServiceException {
|
|
165
|
+
name = "IdempotencyTokenInUseException";
|
|
166
|
+
$fault = "client";
|
|
167
|
+
constructor(opts) {
|
|
168
|
+
super({
|
|
169
|
+
name: "IdempotencyTokenInUseException",
|
|
170
|
+
$fault: "client",
|
|
171
|
+
...opts,
|
|
172
|
+
});
|
|
173
|
+
Object.setPrototypeOf(this, IdempotencyTokenInUseException.prototype);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
class IdempotentParameterMismatchException extends ComputeOptimizerAutomationServiceException {
|
|
177
|
+
name = "IdempotentParameterMismatchException";
|
|
178
|
+
$fault = "client";
|
|
179
|
+
constructor(opts) {
|
|
180
|
+
super({
|
|
181
|
+
name: "IdempotentParameterMismatchException",
|
|
182
|
+
$fault: "client",
|
|
183
|
+
...opts,
|
|
184
|
+
});
|
|
185
|
+
Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
class InternalServerException extends ComputeOptimizerAutomationServiceException {
|
|
189
|
+
name = "InternalServerException";
|
|
190
|
+
$fault = "server";
|
|
191
|
+
constructor(opts) {
|
|
192
|
+
super({
|
|
193
|
+
name: "InternalServerException",
|
|
194
|
+
$fault: "server",
|
|
195
|
+
...opts,
|
|
196
|
+
});
|
|
197
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
class InvalidParameterValueException extends ComputeOptimizerAutomationServiceException {
|
|
201
|
+
name = "InvalidParameterValueException";
|
|
202
|
+
$fault = "client";
|
|
203
|
+
constructor(opts) {
|
|
204
|
+
super({
|
|
205
|
+
name: "InvalidParameterValueException",
|
|
206
|
+
$fault: "client",
|
|
207
|
+
...opts,
|
|
208
|
+
});
|
|
209
|
+
Object.setPrototypeOf(this, InvalidParameterValueException.prototype);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
class NotManagementAccountException extends ComputeOptimizerAutomationServiceException {
|
|
213
|
+
name = "NotManagementAccountException";
|
|
214
|
+
$fault = "client";
|
|
215
|
+
constructor(opts) {
|
|
216
|
+
super({
|
|
217
|
+
name: "NotManagementAccountException",
|
|
218
|
+
$fault: "client",
|
|
219
|
+
...opts,
|
|
220
|
+
});
|
|
221
|
+
Object.setPrototypeOf(this, NotManagementAccountException.prototype);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
class OptInRequiredException extends ComputeOptimizerAutomationServiceException {
|
|
225
|
+
name = "OptInRequiredException";
|
|
226
|
+
$fault = "client";
|
|
227
|
+
constructor(opts) {
|
|
228
|
+
super({
|
|
229
|
+
name: "OptInRequiredException",
|
|
230
|
+
$fault: "client",
|
|
231
|
+
...opts,
|
|
232
|
+
});
|
|
233
|
+
Object.setPrototypeOf(this, OptInRequiredException.prototype);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
class ServiceUnavailableException extends ComputeOptimizerAutomationServiceException {
|
|
237
|
+
name = "ServiceUnavailableException";
|
|
238
|
+
$fault = "server";
|
|
239
|
+
constructor(opts) {
|
|
240
|
+
super({
|
|
241
|
+
name: "ServiceUnavailableException",
|
|
242
|
+
$fault: "server",
|
|
243
|
+
...opts,
|
|
244
|
+
});
|
|
245
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
class ThrottlingException extends ComputeOptimizerAutomationServiceException {
|
|
249
|
+
name = "ThrottlingException";
|
|
250
|
+
$fault = "client";
|
|
251
|
+
constructor(opts) {
|
|
252
|
+
super({
|
|
253
|
+
name: "ThrottlingException",
|
|
254
|
+
$fault: "client",
|
|
255
|
+
...opts,
|
|
256
|
+
});
|
|
257
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
class ResourceNotFoundException extends ComputeOptimizerAutomationServiceException {
|
|
261
|
+
name = "ResourceNotFoundException";
|
|
262
|
+
$fault = "client";
|
|
263
|
+
constructor(opts) {
|
|
264
|
+
super({
|
|
265
|
+
name: "ResourceNotFoundException",
|
|
266
|
+
$fault: "client",
|
|
267
|
+
...opts,
|
|
268
|
+
});
|
|
269
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
class ServiceQuotaExceededException extends ComputeOptimizerAutomationServiceException {
|
|
273
|
+
name = "ServiceQuotaExceededException";
|
|
274
|
+
$fault = "client";
|
|
275
|
+
constructor(opts) {
|
|
276
|
+
super({
|
|
277
|
+
name: "ServiceQuotaExceededException",
|
|
278
|
+
$fault: "client",
|
|
279
|
+
...opts,
|
|
280
|
+
});
|
|
281
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
const _AA = "AssociateAccounts";
|
|
286
|
+
const _AAR = "AssociateAccountsRequest";
|
|
287
|
+
const _AARs = "AssociateAccountsResponse";
|
|
288
|
+
const _ADE = "AccessDeniedException";
|
|
289
|
+
const _AE = "AutomationEvent";
|
|
290
|
+
const _AEF = "AutomationEventFilter";
|
|
291
|
+
const _AEFL = "AutomationEventFilterList";
|
|
292
|
+
const _AES = "AutomationEventStep";
|
|
293
|
+
const _AESL = "AutomationEventSummaryList";
|
|
294
|
+
const _AESu = "AutomationEventSummary";
|
|
295
|
+
const _AESut = "AutomationEventSteps";
|
|
296
|
+
const _AEu = "AutomationEvents";
|
|
297
|
+
const _AI = "AccountInfo";
|
|
298
|
+
const _AIL = "AccountInfoList";
|
|
299
|
+
const _AR = "AutomationRule";
|
|
300
|
+
const _ARu = "AutomationRules";
|
|
301
|
+
const _C = "Criteria";
|
|
302
|
+
const _CAR = "CreateAutomationRule";
|
|
303
|
+
const _CARR = "CreateAutomationRuleRequest";
|
|
304
|
+
const _CARRr = "CreateAutomationRuleResponse";
|
|
305
|
+
const _DA = "DisassociateAccounts";
|
|
306
|
+
const _DAR = "DisassociateAccountsRequest";
|
|
307
|
+
const _DARR = "DeleteAutomationRuleRequest";
|
|
308
|
+
const _DARRe = "DeleteAutomationRuleResponse";
|
|
309
|
+
const _DARe = "DeleteAutomationRule";
|
|
310
|
+
const _DARi = "DisassociateAccountsResponse";
|
|
311
|
+
const _DCC = "DoubleCriteriaCondition";
|
|
312
|
+
const _DCCL = "DoubleCriteriaConditionList";
|
|
313
|
+
const _EMS = "EstimatedMonthlySavings";
|
|
314
|
+
const _EV = "EbsVolume";
|
|
315
|
+
const _EVC = "EbsVolumeConfiguration";
|
|
316
|
+
const _F = "Filter";
|
|
317
|
+
const _FE = "ForbiddenException";
|
|
318
|
+
const _FL = "FilterList";
|
|
319
|
+
const _GAE = "GetAutomationEvent";
|
|
320
|
+
const _GAER = "GetAutomationEventRequest";
|
|
321
|
+
const _GAERe = "GetAutomationEventResponse";
|
|
322
|
+
const _GAR = "GetAutomationRule";
|
|
323
|
+
const _GARR = "GetAutomationRuleRequest";
|
|
324
|
+
const _GARRe = "GetAutomationRuleResponse";
|
|
325
|
+
const _GEC = "GetEnrollmentConfiguration";
|
|
326
|
+
const _GECR = "GetEnrollmentConfigurationRequest";
|
|
327
|
+
const _GECRe = "GetEnrollmentConfigurationResponse";
|
|
328
|
+
const _ICC = "IntegerCriteriaCondition";
|
|
329
|
+
const _ICCL = "IntegerCriteriaConditionList";
|
|
330
|
+
const _IPME = "IdempotentParameterMismatchException";
|
|
331
|
+
const _IPVE = "InvalidParameterValueException";
|
|
332
|
+
const _ISE = "InternalServerException";
|
|
333
|
+
const _ITIUE = "IdempotencyTokenInUseException";
|
|
334
|
+
const _LA = "ListAccounts";
|
|
335
|
+
const _LAE = "ListAutomationEvents";
|
|
336
|
+
const _LAER = "ListAutomationEventsRequest";
|
|
337
|
+
const _LAERi = "ListAutomationEventsResponse";
|
|
338
|
+
const _LAES = "ListAutomationEventSteps";
|
|
339
|
+
const _LAESR = "ListAutomationEventStepsRequest";
|
|
340
|
+
const _LAESRi = "ListAutomationEventStepsResponse";
|
|
341
|
+
const _LAESRis = "ListAutomationEventSummariesRequest";
|
|
342
|
+
const _LAESRist = "ListAutomationEventSummariesResponse";
|
|
343
|
+
const _LAESi = "ListAutomationEventSummaries";
|
|
344
|
+
const _LAR = "ListAccountsRequest";
|
|
345
|
+
const _LARP = "ListAutomationRulePreview";
|
|
346
|
+
const _LARPR = "ListAutomationRulePreviewRequest";
|
|
347
|
+
const _LARPRi = "ListAutomationRulePreviewResponse";
|
|
348
|
+
const _LARPS = "ListAutomationRulePreviewSummaries";
|
|
349
|
+
const _LARPSR = "ListAutomationRulePreviewSummariesRequest";
|
|
350
|
+
const _LARPSRi = "ListAutomationRulePreviewSummariesResponse";
|
|
351
|
+
const _LARR = "ListAutomationRulesRequest";
|
|
352
|
+
const _LARRi = "ListAutomationRulesResponse";
|
|
353
|
+
const _LARi = "ListAccountsResponse";
|
|
354
|
+
const _LARis = "ListAutomationRules";
|
|
355
|
+
const _LRA = "ListRecommendedActions";
|
|
356
|
+
const _LRAR = "ListRecommendedActionsRequest";
|
|
357
|
+
const _LRARi = "ListRecommendedActionsResponse";
|
|
358
|
+
const _LRAS = "ListRecommendedActionSummaries";
|
|
359
|
+
const _LRASR = "ListRecommendedActionSummariesRequest";
|
|
360
|
+
const _LRASRi = "ListRecommendedActionSummariesResponse";
|
|
361
|
+
const _LTFR = "ListTagsForResource";
|
|
362
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
363
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
364
|
+
const _NMAE = "NotManagementAccountException";
|
|
365
|
+
const _OC = "OrganizationConfiguration";
|
|
366
|
+
const _OIRE = "OptInRequiredException";
|
|
367
|
+
const _OS = "OrganizationScope";
|
|
368
|
+
const _PR = "PreviewResult";
|
|
369
|
+
const _PRS = "PreviewResultSummary";
|
|
370
|
+
const _PRSr = "PreviewResultSummaries";
|
|
371
|
+
const _PRr = "PreviewResults";
|
|
372
|
+
const _RA = "RecommendedAction";
|
|
373
|
+
const _RAE = "RollbackAutomationEvent";
|
|
374
|
+
const _RAER = "RollbackAutomationEventRequest";
|
|
375
|
+
const _RAERo = "RollbackAutomationEventResponse";
|
|
376
|
+
const _RAF = "RecommendedActionFilter";
|
|
377
|
+
const _RAFL = "RecommendedActionFilterList";
|
|
378
|
+
const _RAS = "RecommendedActionSummary";
|
|
379
|
+
const _RASe = "RecommendedActionSummaries";
|
|
380
|
+
const _RAT = "RecommendedActionTotal";
|
|
381
|
+
const _RAe = "RecommendedActions";
|
|
382
|
+
const _RD = "ResourceDetails";
|
|
383
|
+
const _RNFE = "ResourceNotFoundException";
|
|
384
|
+
const _RPT = "RulePreviewTotal";
|
|
385
|
+
const _RTCC = "ResourceTagsCriteriaCondition";
|
|
386
|
+
const _RTCCL = "ResourceTagsCriteriaConditionList";
|
|
387
|
+
const _S = "Schedule";
|
|
388
|
+
const _SAE = "StartAutomationEvent";
|
|
389
|
+
const _SAER = "StartAutomationEventRequest";
|
|
390
|
+
const _SAERt = "StartAutomationEventResponse";
|
|
391
|
+
const _SCC = "StringCriteriaCondition";
|
|
392
|
+
const _SCCL = "StringCriteriaConditionList";
|
|
393
|
+
const _SD = "SummaryDimension";
|
|
394
|
+
const _SDu = "SummaryDimensions";
|
|
395
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
396
|
+
const _ST = "SummaryTotals";
|
|
397
|
+
const _SUE = "ServiceUnavailableException";
|
|
398
|
+
const _T = "Tag";
|
|
399
|
+
const _TE = "ThrottlingException";
|
|
400
|
+
const _TL = "TagList";
|
|
401
|
+
const _TP = "TimePeriod";
|
|
402
|
+
const _TR = "TagResource";
|
|
403
|
+
const _TRR = "TagResourceRequest";
|
|
404
|
+
const _TRRa = "TagResourceResponse";
|
|
405
|
+
const _UAR = "UpdateAutomationRule";
|
|
406
|
+
const _UARR = "UpdateAutomationRuleRequest";
|
|
407
|
+
const _UARRp = "UpdateAutomationRuleResponse";
|
|
408
|
+
const _UEC = "UpdateEnrollmentConfiguration";
|
|
409
|
+
const _UECR = "UpdateEnrollmentConfigurationRequest";
|
|
410
|
+
const _UECRp = "UpdateEnrollmentConfigurationResponse";
|
|
411
|
+
const _UR = "UntagResource";
|
|
412
|
+
const _URR = "UntagResourceRequest";
|
|
413
|
+
const _URRn = "UntagResourceResponse";
|
|
414
|
+
const _a = "accounts";
|
|
415
|
+
const _aDS = "afterDiscountSavings";
|
|
416
|
+
const _aE = "automationEvents";
|
|
417
|
+
const _aEC = "automationEventCount";
|
|
418
|
+
const _aES = "automationEventSteps";
|
|
419
|
+
const _aESu = "automationEventSummaries";
|
|
420
|
+
const _aI = "accountId";
|
|
421
|
+
const _aIc = "accountIds";
|
|
422
|
+
const _aR = "automationRules";
|
|
423
|
+
const _bDS = "beforeDiscountSavings";
|
|
424
|
+
const _c = "client";
|
|
425
|
+
const _cRD = "currentResourceDetails";
|
|
426
|
+
const _cRS = "currentResourceSummary";
|
|
427
|
+
const _cT = "clientToken";
|
|
428
|
+
const _cTo = "completedTimestamp";
|
|
429
|
+
const _cTr = "createdTimestamp";
|
|
430
|
+
const _co = "comparison";
|
|
431
|
+
const _con = "configuration";
|
|
432
|
+
const _cr = "criteria";
|
|
433
|
+
const _cu = "currency";
|
|
434
|
+
const _d = "dimensions";
|
|
435
|
+
const _de = "description";
|
|
436
|
+
const _e = "error";
|
|
437
|
+
const _eD = "eventDescription";
|
|
438
|
+
const _eDE = "endDateExclusive";
|
|
439
|
+
const _eI = "eventId";
|
|
440
|
+
const _eMS = "estimatedMonthlySavings";
|
|
441
|
+
const _eS = "eventStatus";
|
|
442
|
+
const _eSR = "eventStatusReason";
|
|
443
|
+
const _eT = "eventType";
|
|
444
|
+
const _eTE = "endTimeExclusive";
|
|
445
|
+
const _eV = "ebsVolume";
|
|
446
|
+
const _eVSIG = "ebsVolumeSizeInGib";
|
|
447
|
+
const _eVT = "ebsVolumeType";
|
|
448
|
+
const _eWIM = "executionWindowInMinutes";
|
|
449
|
+
const _er = "errors";
|
|
450
|
+
const _f = "filters";
|
|
451
|
+
const _hE = "httpError";
|
|
452
|
+
const _i = "iops";
|
|
453
|
+
const _k = "key";
|
|
454
|
+
const _lBPID = "lookBackPeriodInDays";
|
|
455
|
+
const _lUT = "lastUpdatedTimestamp";
|
|
456
|
+
const _m = "message";
|
|
457
|
+
const _mR = "maxResults";
|
|
458
|
+
const _n = "name";
|
|
459
|
+
const _nT = "nextToken";
|
|
460
|
+
const _oC = "organizationConfiguration";
|
|
461
|
+
const _oRM = "organizationRuleMode";
|
|
462
|
+
const _oS = "organizationScope";
|
|
463
|
+
const _p = "priority";
|
|
464
|
+
const _pR = "previewResults";
|
|
465
|
+
const _pRS = "previewResultSummaries";
|
|
466
|
+
const _r = "region";
|
|
467
|
+
const _rA = "resourceArn";
|
|
468
|
+
const _rAC = "recommendedActionCount";
|
|
469
|
+
const _rAI = "recommendedActionId";
|
|
470
|
+
const _rAO = "ruleApplyOrder";
|
|
471
|
+
const _rAS = "recommendedActionSummaries";
|
|
472
|
+
const _rAT = "recommendedActionTypes";
|
|
473
|
+
const _rATe = "recommendedActionType";
|
|
474
|
+
const _rAe = "recommendedActions";
|
|
475
|
+
const _rAu = "ruleArn";
|
|
476
|
+
const _rI = "resourceId";
|
|
477
|
+
const _rIu = "ruleId";
|
|
478
|
+
const _rN = "restartNeeded";
|
|
479
|
+
const _rR = "ruleRevision";
|
|
480
|
+
const _rRD = "recommendedResourceDetails";
|
|
481
|
+
const _rRS = "recommendedResourceSummary";
|
|
482
|
+
const _rT = "resourceType";
|
|
483
|
+
const _rTe = "resourceTag";
|
|
484
|
+
const _rTes = "resourceTags";
|
|
485
|
+
const _rTu = "ruleType";
|
|
486
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.computeoptimizerautomation";
|
|
487
|
+
const _sDI = "startDateInclusive";
|
|
488
|
+
const _sE = "scheduleExpression";
|
|
489
|
+
const _sEM = "savingsEstimationMode";
|
|
490
|
+
const _sET = "scheduleExpressionTimezone";
|
|
491
|
+
const _sI = "stepId";
|
|
492
|
+
const _sIG = "sizeInGib";
|
|
493
|
+
const _sR = "statusReason";
|
|
494
|
+
const _sS = "stepStatus";
|
|
495
|
+
const _sT = "stepType";
|
|
496
|
+
const _sTI = "startTimeInclusive";
|
|
497
|
+
const _sTt = "startTimestamp";
|
|
498
|
+
const _sc = "schedule";
|
|
499
|
+
const _se = "server";
|
|
500
|
+
const _st = "status";
|
|
501
|
+
const _t = "total";
|
|
502
|
+
const _tK = "tagKeys";
|
|
503
|
+
const _tP = "timePeriod";
|
|
504
|
+
const _ta = "tags";
|
|
505
|
+
const _th = "throughput";
|
|
506
|
+
const _ty = "type";
|
|
507
|
+
const _v = "values";
|
|
508
|
+
const _va = "value";
|
|
509
|
+
const n0 = "com.amazonaws.computeoptimizerautomation";
|
|
510
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
511
|
+
var ComputeOptimizerAutomationServiceException$ = [-3, _s, "ComputeOptimizerAutomationServiceException", 0, [], []];
|
|
512
|
+
_s_registry.registerError(ComputeOptimizerAutomationServiceException$, ComputeOptimizerAutomationServiceException);
|
|
513
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
514
|
+
var AccessDeniedException$ = [-3, n0, _ADE,
|
|
515
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
516
|
+
[_m],
|
|
517
|
+
[0]
|
|
518
|
+
];
|
|
519
|
+
n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
|
|
520
|
+
var ForbiddenException$ = [-3, n0, _FE,
|
|
521
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
522
|
+
[_m],
|
|
523
|
+
[0]
|
|
524
|
+
];
|
|
525
|
+
n0_registry.registerError(ForbiddenException$, ForbiddenException);
|
|
526
|
+
var IdempotencyTokenInUseException$ = [-3, n0, _ITIUE,
|
|
527
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
528
|
+
[_m],
|
|
529
|
+
[0]
|
|
530
|
+
];
|
|
531
|
+
n0_registry.registerError(IdempotencyTokenInUseException$, IdempotencyTokenInUseException);
|
|
532
|
+
var IdempotentParameterMismatchException$ = [-3, n0, _IPME,
|
|
533
|
+
{ [_e]: _c, [_hE]: 409 },
|
|
534
|
+
[_m],
|
|
535
|
+
[0]
|
|
536
|
+
];
|
|
537
|
+
n0_registry.registerError(IdempotentParameterMismatchException$, IdempotentParameterMismatchException);
|
|
538
|
+
var InternalServerException$ = [-3, n0, _ISE,
|
|
539
|
+
{ [_e]: _se, [_hE]: 500 },
|
|
540
|
+
[_m],
|
|
541
|
+
[0]
|
|
542
|
+
];
|
|
543
|
+
n0_registry.registerError(InternalServerException$, InternalServerException);
|
|
544
|
+
var InvalidParameterValueException$ = [-3, n0, _IPVE,
|
|
545
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
546
|
+
[_m],
|
|
547
|
+
[0]
|
|
548
|
+
];
|
|
549
|
+
n0_registry.registerError(InvalidParameterValueException$, InvalidParameterValueException);
|
|
550
|
+
var NotManagementAccountException$ = [-3, n0, _NMAE,
|
|
551
|
+
{ [_e]: _c, [_hE]: 400 },
|
|
552
|
+
[_m],
|
|
553
|
+
[0]
|
|
554
|
+
];
|
|
555
|
+
n0_registry.registerError(NotManagementAccountException$, NotManagementAccountException);
|
|
556
|
+
var OptInRequiredException$ = [-3, n0, _OIRE,
|
|
557
|
+
{ [_e]: _c, [_hE]: 403 },
|
|
558
|
+
[_m],
|
|
559
|
+
[0]
|
|
560
|
+
];
|
|
561
|
+
n0_registry.registerError(OptInRequiredException$, OptInRequiredException);
|
|
562
|
+
var ResourceNotFoundException$ = [-3, n0, _RNFE,
|
|
563
|
+
{ [_e]: _c, [_hE]: 404 },
|
|
564
|
+
[_m],
|
|
565
|
+
[0]
|
|
566
|
+
];
|
|
567
|
+
n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
|
|
568
|
+
var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
|
|
569
|
+
{ [_e]: _c, [_hE]: 402 },
|
|
570
|
+
[_m],
|
|
571
|
+
[0]
|
|
572
|
+
];
|
|
573
|
+
n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
|
|
574
|
+
var ServiceUnavailableException$ = [-3, n0, _SUE,
|
|
575
|
+
{ [_e]: _se, [_hE]: 503 },
|
|
576
|
+
[_m],
|
|
577
|
+
[0]
|
|
578
|
+
];
|
|
579
|
+
n0_registry.registerError(ServiceUnavailableException$, ServiceUnavailableException);
|
|
580
|
+
var ThrottlingException$ = [-3, n0, _TE,
|
|
581
|
+
{ [_e]: _c, [_hE]: 429 },
|
|
582
|
+
[_m],
|
|
583
|
+
[0]
|
|
584
|
+
];
|
|
585
|
+
n0_registry.registerError(ThrottlingException$, ThrottlingException);
|
|
586
|
+
const errorTypeRegistries = [
|
|
587
|
+
_s_registry,
|
|
588
|
+
n0_registry,
|
|
589
|
+
];
|
|
590
|
+
var AccountInfo$ = [3, n0, _AI,
|
|
591
|
+
0,
|
|
592
|
+
[_aI, _st, _oRM, _lUT, _sR],
|
|
593
|
+
[0, 0, 0, 4, 0], 4
|
|
594
|
+
];
|
|
595
|
+
var AssociateAccountsRequest$ = [3, n0, _AAR,
|
|
596
|
+
0,
|
|
597
|
+
[_aIc, _cT],
|
|
598
|
+
[64 | 0, [0, 4]], 1
|
|
599
|
+
];
|
|
600
|
+
var AssociateAccountsResponse$ = [3, n0, _AARs,
|
|
601
|
+
0,
|
|
602
|
+
[_aIc, _er],
|
|
603
|
+
[64 | 0, 64 | 0]
|
|
604
|
+
];
|
|
605
|
+
var AutomationEvent$ = [3, n0, _AE,
|
|
606
|
+
0,
|
|
607
|
+
[_eI, _eD, _eT, _eS, _eSR, _rA, _rI, _rAI, _aI, _r, _rIu, _rT, _cTr, _cTo, _eMS],
|
|
608
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, () => EstimatedMonthlySavings$]
|
|
609
|
+
];
|
|
610
|
+
var AutomationEventFilter$ = [3, n0, _AEF,
|
|
611
|
+
0,
|
|
612
|
+
[_n, _v],
|
|
613
|
+
[0, 64 | 0], 2
|
|
614
|
+
];
|
|
615
|
+
var AutomationEventStep$ = [3, n0, _AES,
|
|
616
|
+
0,
|
|
617
|
+
[_eI, _sI, _sT, _sS, _rI, _sTt, _cTo, _eMS],
|
|
618
|
+
[0, 0, 0, 0, 0, 4, 4, () => EstimatedMonthlySavings$]
|
|
619
|
+
];
|
|
620
|
+
var AutomationEventSummary$ = [3, n0, _AESu,
|
|
621
|
+
0,
|
|
622
|
+
[_k, _d, _tP, _t],
|
|
623
|
+
[0, () => SummaryDimensions, () => TimePeriod$, () => SummaryTotals$]
|
|
624
|
+
];
|
|
625
|
+
var AutomationRule$ = [3, n0, _AR,
|
|
626
|
+
0,
|
|
627
|
+
[_rAu, _rIu, _n, _de, _rTu, _rR, _aI, _oC, _p, _rAT, _sc, _st, _cTr, _lUT],
|
|
628
|
+
[0, 0, 0, 0, 0, 1, 0, () => OrganizationConfiguration$, 0, 64 | 0, () => Schedule$, 0, 4, 4]
|
|
629
|
+
];
|
|
630
|
+
var CreateAutomationRuleRequest$ = [3, n0, _CARR,
|
|
631
|
+
0,
|
|
632
|
+
[_n, _rTu, _rAT, _sc, _st, _de, _oC, _p, _cr, _ta, _cT],
|
|
633
|
+
[0, 0, 64 | 0, () => Schedule$, 0, 0, () => OrganizationConfiguration$, 0, () => Criteria$, () => TagList, [0, 4]], 5
|
|
634
|
+
];
|
|
635
|
+
var CreateAutomationRuleResponse$ = [3, n0, _CARRr,
|
|
636
|
+
0,
|
|
637
|
+
[_rAu, _rIu, _n, _de, _rTu, _rR, _oC, _p, _rAT, _cr, _sc, _st, _ta, _cTr],
|
|
638
|
+
[0, 0, 0, 0, 0, 1, () => OrganizationConfiguration$, 0, 64 | 0, () => Criteria$, () => Schedule$, 0, () => TagList, 4]
|
|
639
|
+
];
|
|
640
|
+
var Criteria$ = [3, n0, _C,
|
|
641
|
+
0,
|
|
642
|
+
[_r, _rA, _eVT, _eVSIG, _eMS, _rTe, _lBPID, _rN],
|
|
643
|
+
[() => StringCriteriaConditionList, () => StringCriteriaConditionList, () => StringCriteriaConditionList, () => IntegerCriteriaConditionList, () => DoubleCriteriaConditionList, () => ResourceTagsCriteriaConditionList, () => IntegerCriteriaConditionList, () => StringCriteriaConditionList]
|
|
644
|
+
];
|
|
645
|
+
var DeleteAutomationRuleRequest$ = [3, n0, _DARR,
|
|
646
|
+
0,
|
|
647
|
+
[_rAu, _rR, _cT],
|
|
648
|
+
[0, 1, [0, 4]], 2
|
|
649
|
+
];
|
|
650
|
+
var DeleteAutomationRuleResponse$ = [3, n0, _DARRe,
|
|
651
|
+
0,
|
|
652
|
+
[],
|
|
653
|
+
[]
|
|
654
|
+
];
|
|
655
|
+
var DisassociateAccountsRequest$ = [3, n0, _DAR,
|
|
656
|
+
0,
|
|
657
|
+
[_aIc, _cT],
|
|
658
|
+
[64 | 0, [0, 4]], 1
|
|
659
|
+
];
|
|
660
|
+
var DisassociateAccountsResponse$ = [3, n0, _DARi,
|
|
661
|
+
0,
|
|
662
|
+
[_aIc, _er],
|
|
663
|
+
[64 | 0, 64 | 0]
|
|
664
|
+
];
|
|
665
|
+
var DoubleCriteriaCondition$ = [3, n0, _DCC,
|
|
666
|
+
0,
|
|
667
|
+
[_co, _v],
|
|
668
|
+
[0, 64 | 1]
|
|
669
|
+
];
|
|
670
|
+
var EbsVolume$ = [3, n0, _EV,
|
|
671
|
+
0,
|
|
672
|
+
[_con],
|
|
673
|
+
[() => EbsVolumeConfiguration$]
|
|
674
|
+
];
|
|
675
|
+
var EbsVolumeConfiguration$ = [3, n0, _EVC,
|
|
676
|
+
0,
|
|
677
|
+
[_ty, _sIG, _i, _th],
|
|
678
|
+
[0, 1, 1, 1]
|
|
679
|
+
];
|
|
680
|
+
var EstimatedMonthlySavings$ = [3, n0, _EMS,
|
|
681
|
+
0,
|
|
682
|
+
[_cu, _bDS, _aDS, _sEM],
|
|
683
|
+
[0, 1, 1, 0], 4
|
|
684
|
+
];
|
|
685
|
+
var Filter$ = [3, n0, _F,
|
|
686
|
+
0,
|
|
687
|
+
[_n, _v],
|
|
688
|
+
[0, 64 | 0], 2
|
|
689
|
+
];
|
|
690
|
+
var GetAutomationEventRequest$ = [3, n0, _GAER,
|
|
691
|
+
0,
|
|
692
|
+
[_eI],
|
|
693
|
+
[0], 1
|
|
694
|
+
];
|
|
695
|
+
var GetAutomationEventResponse$ = [3, n0, _GAERe,
|
|
696
|
+
0,
|
|
697
|
+
[_eI, _eD, _eT, _eS, _eSR, _rA, _rI, _rAI, _aI, _r, _rIu, _rT, _cTr, _cTo, _eMS],
|
|
698
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, () => EstimatedMonthlySavings$]
|
|
699
|
+
];
|
|
700
|
+
var GetAutomationRuleRequest$ = [3, n0, _GARR,
|
|
701
|
+
0,
|
|
702
|
+
[_rAu],
|
|
703
|
+
[0], 1
|
|
704
|
+
];
|
|
705
|
+
var GetAutomationRuleResponse$ = [3, n0, _GARRe,
|
|
706
|
+
0,
|
|
707
|
+
[_rAu, _rIu, _n, _de, _rTu, _rR, _aI, _oC, _p, _rAT, _cr, _sc, _st, _ta, _cTr, _lUT],
|
|
708
|
+
[0, 0, 0, 0, 0, 1, 0, () => OrganizationConfiguration$, 0, 64 | 0, () => Criteria$, () => Schedule$, 0, () => TagList, 4, 4]
|
|
709
|
+
];
|
|
710
|
+
var GetEnrollmentConfigurationRequest$ = [3, n0, _GECR,
|
|
711
|
+
0,
|
|
712
|
+
[],
|
|
713
|
+
[]
|
|
714
|
+
];
|
|
715
|
+
var GetEnrollmentConfigurationResponse$ = [3, n0, _GECRe,
|
|
716
|
+
0,
|
|
717
|
+
[_st, _sR, _oRM, _lUT],
|
|
718
|
+
[0, 0, 0, 4], 1
|
|
719
|
+
];
|
|
720
|
+
var IntegerCriteriaCondition$ = [3, n0, _ICC,
|
|
721
|
+
0,
|
|
722
|
+
[_co, _v],
|
|
723
|
+
[0, 64 | 1]
|
|
724
|
+
];
|
|
725
|
+
var ListAccountsRequest$ = [3, n0, _LAR,
|
|
726
|
+
0,
|
|
727
|
+
[_mR, _nT],
|
|
728
|
+
[1, 0]
|
|
729
|
+
];
|
|
730
|
+
var ListAccountsResponse$ = [3, n0, _LARi,
|
|
731
|
+
0,
|
|
732
|
+
[_a, _nT],
|
|
733
|
+
[() => AccountInfoList, 0], 1
|
|
734
|
+
];
|
|
735
|
+
var ListAutomationEventsRequest$ = [3, n0, _LAER,
|
|
736
|
+
0,
|
|
737
|
+
[_f, _sTI, _eTE, _mR, _nT],
|
|
738
|
+
[() => AutomationEventFilterList, 4, 4, 1, 0]
|
|
739
|
+
];
|
|
740
|
+
var ListAutomationEventsResponse$ = [3, n0, _LAERi,
|
|
741
|
+
0,
|
|
742
|
+
[_aE, _nT],
|
|
743
|
+
[() => AutomationEvents, 0]
|
|
744
|
+
];
|
|
745
|
+
var ListAutomationEventStepsRequest$ = [3, n0, _LAESR,
|
|
746
|
+
0,
|
|
747
|
+
[_eI, _mR, _nT],
|
|
748
|
+
[0, 1, 0], 1
|
|
749
|
+
];
|
|
750
|
+
var ListAutomationEventStepsResponse$ = [3, n0, _LAESRi,
|
|
751
|
+
0,
|
|
752
|
+
[_aES, _nT],
|
|
753
|
+
[() => AutomationEventSteps, 0]
|
|
754
|
+
];
|
|
755
|
+
var ListAutomationEventSummariesRequest$ = [3, n0, _LAESRis,
|
|
756
|
+
0,
|
|
757
|
+
[_f, _sDI, _eDE, _mR, _nT],
|
|
758
|
+
[() => AutomationEventFilterList, 0, 0, 1, 0]
|
|
759
|
+
];
|
|
760
|
+
var ListAutomationEventSummariesResponse$ = [3, n0, _LAESRist,
|
|
761
|
+
0,
|
|
762
|
+
[_aESu, _nT],
|
|
763
|
+
[() => AutomationEventSummaryList, 0]
|
|
764
|
+
];
|
|
765
|
+
var ListAutomationRulePreviewRequest$ = [3, n0, _LARPR,
|
|
766
|
+
0,
|
|
767
|
+
[_rTu, _rAT, _oS, _cr, _mR, _nT],
|
|
768
|
+
[0, 64 | 0, () => OrganizationScope$, () => Criteria$, 1, 0], 2
|
|
769
|
+
];
|
|
770
|
+
var ListAutomationRulePreviewResponse$ = [3, n0, _LARPRi,
|
|
771
|
+
0,
|
|
772
|
+
[_pR, _nT],
|
|
773
|
+
[() => PreviewResults, 0]
|
|
774
|
+
];
|
|
775
|
+
var ListAutomationRulePreviewSummariesRequest$ = [3, n0, _LARPSR,
|
|
776
|
+
0,
|
|
777
|
+
[_rTu, _rAT, _oS, _cr, _mR, _nT],
|
|
778
|
+
[0, 64 | 0, () => OrganizationScope$, () => Criteria$, 1, 0], 2
|
|
779
|
+
];
|
|
780
|
+
var ListAutomationRulePreviewSummariesResponse$ = [3, n0, _LARPSRi,
|
|
781
|
+
0,
|
|
782
|
+
[_pRS, _nT],
|
|
783
|
+
[() => PreviewResultSummaries, 0]
|
|
784
|
+
];
|
|
785
|
+
var ListAutomationRulesRequest$ = [3, n0, _LARR,
|
|
786
|
+
0,
|
|
787
|
+
[_f, _mR, _nT],
|
|
788
|
+
[() => FilterList, 1, 0]
|
|
789
|
+
];
|
|
790
|
+
var ListAutomationRulesResponse$ = [3, n0, _LARRi,
|
|
791
|
+
0,
|
|
792
|
+
[_aR, _nT],
|
|
793
|
+
[() => AutomationRules, 0]
|
|
794
|
+
];
|
|
795
|
+
var ListRecommendedActionsRequest$ = [3, n0, _LRAR,
|
|
796
|
+
0,
|
|
797
|
+
[_f, _mR, _nT],
|
|
798
|
+
[() => RecommendedActionFilterList, 1, 0]
|
|
799
|
+
];
|
|
800
|
+
var ListRecommendedActionsResponse$ = [3, n0, _LRARi,
|
|
801
|
+
0,
|
|
802
|
+
[_rAe, _nT],
|
|
803
|
+
[() => RecommendedActions, 0]
|
|
804
|
+
];
|
|
805
|
+
var ListRecommendedActionSummariesRequest$ = [3, n0, _LRASR,
|
|
806
|
+
0,
|
|
807
|
+
[_f, _mR, _nT],
|
|
808
|
+
[() => RecommendedActionFilterList, 1, 0]
|
|
809
|
+
];
|
|
810
|
+
var ListRecommendedActionSummariesResponse$ = [3, n0, _LRASRi,
|
|
811
|
+
0,
|
|
812
|
+
[_rAS, _nT],
|
|
813
|
+
[() => RecommendedActionSummaries, 0]
|
|
814
|
+
];
|
|
815
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
816
|
+
0,
|
|
817
|
+
[_rA],
|
|
818
|
+
[0], 1
|
|
819
|
+
];
|
|
820
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
821
|
+
0,
|
|
822
|
+
[_ta],
|
|
823
|
+
[() => TagList]
|
|
824
|
+
];
|
|
825
|
+
var OrganizationConfiguration$ = [3, n0, _OC,
|
|
826
|
+
0,
|
|
827
|
+
[_rAO, _aIc],
|
|
828
|
+
[0, 64 | 0]
|
|
829
|
+
];
|
|
830
|
+
var OrganizationScope$ = [3, n0, _OS,
|
|
831
|
+
0,
|
|
832
|
+
[_aIc],
|
|
833
|
+
[64 | 0]
|
|
834
|
+
];
|
|
835
|
+
var PreviewResult$ = [3, n0, _PR,
|
|
836
|
+
0,
|
|
837
|
+
[_rAI, _rA, _rI, _aI, _r, _rT, _lBPID, _rATe, _cRS, _cRD, _rRS, _rRD, _rN, _eMS, _rTes],
|
|
838
|
+
[0, 0, 0, 0, 0, 0, 1, 0, 0, () => ResourceDetails$, 0, () => ResourceDetails$, 2, () => EstimatedMonthlySavings$, () => TagList]
|
|
839
|
+
];
|
|
840
|
+
var PreviewResultSummary$ = [3, n0, _PRS,
|
|
841
|
+
0,
|
|
842
|
+
[_k, _t],
|
|
843
|
+
[0, () => RulePreviewTotal$], 2
|
|
844
|
+
];
|
|
845
|
+
var RecommendedAction$ = [3, n0, _RA,
|
|
846
|
+
0,
|
|
847
|
+
[_rAI, _rA, _rI, _aI, _r, _rT, _lBPID, _rATe, _cRS, _cRD, _rRS, _rRD, _rN, _eMS, _rTes],
|
|
848
|
+
[0, 0, 0, 0, 0, 0, 1, 0, 0, () => ResourceDetails$, 0, () => ResourceDetails$, 2, () => EstimatedMonthlySavings$, () => TagList]
|
|
849
|
+
];
|
|
850
|
+
var RecommendedActionFilter$ = [3, n0, _RAF,
|
|
851
|
+
0,
|
|
852
|
+
[_n, _v],
|
|
853
|
+
[0, 64 | 0], 2
|
|
854
|
+
];
|
|
855
|
+
var RecommendedActionSummary$ = [3, n0, _RAS,
|
|
856
|
+
0,
|
|
857
|
+
[_k, _t],
|
|
858
|
+
[0, () => RecommendedActionTotal$], 2
|
|
859
|
+
];
|
|
860
|
+
var RecommendedActionTotal$ = [3, n0, _RAT,
|
|
861
|
+
0,
|
|
862
|
+
[_rAC, _eMS],
|
|
863
|
+
[1, () => EstimatedMonthlySavings$], 2
|
|
864
|
+
];
|
|
865
|
+
var ResourceTagsCriteriaCondition$ = [3, n0, _RTCC,
|
|
866
|
+
0,
|
|
867
|
+
[_co, _k, _v],
|
|
868
|
+
[0, 0, 64 | 0]
|
|
869
|
+
];
|
|
870
|
+
var RollbackAutomationEventRequest$ = [3, n0, _RAER,
|
|
871
|
+
0,
|
|
872
|
+
[_eI, _cT],
|
|
873
|
+
[0, [0, 4]], 1
|
|
874
|
+
];
|
|
875
|
+
var RollbackAutomationEventResponse$ = [3, n0, _RAERo,
|
|
876
|
+
0,
|
|
877
|
+
[_eI, _eS],
|
|
878
|
+
[0, 0]
|
|
879
|
+
];
|
|
880
|
+
var RulePreviewTotal$ = [3, n0, _RPT,
|
|
881
|
+
0,
|
|
882
|
+
[_rAC, _eMS],
|
|
883
|
+
[1, () => EstimatedMonthlySavings$], 2
|
|
884
|
+
];
|
|
885
|
+
var Schedule$ = [3, n0, _S,
|
|
886
|
+
0,
|
|
887
|
+
[_sE, _sET, _eWIM],
|
|
888
|
+
[0, 0, 1]
|
|
889
|
+
];
|
|
890
|
+
var StartAutomationEventRequest$ = [3, n0, _SAER,
|
|
891
|
+
0,
|
|
892
|
+
[_rAI, _cT],
|
|
893
|
+
[0, [0, 4]], 1
|
|
894
|
+
];
|
|
895
|
+
var StartAutomationEventResponse$ = [3, n0, _SAERt,
|
|
896
|
+
0,
|
|
897
|
+
[_rAI, _eI, _eS],
|
|
898
|
+
[0, 0, 0]
|
|
899
|
+
];
|
|
900
|
+
var StringCriteriaCondition$ = [3, n0, _SCC,
|
|
901
|
+
0,
|
|
902
|
+
[_co, _v],
|
|
903
|
+
[0, 64 | 0]
|
|
904
|
+
];
|
|
905
|
+
var SummaryDimension$ = [3, n0, _SD,
|
|
906
|
+
0,
|
|
907
|
+
[_k, _va],
|
|
908
|
+
[0, 0], 2
|
|
909
|
+
];
|
|
910
|
+
var SummaryTotals$ = [3, n0, _ST,
|
|
911
|
+
0,
|
|
912
|
+
[_aEC, _eMS],
|
|
913
|
+
[1, () => EstimatedMonthlySavings$]
|
|
914
|
+
];
|
|
915
|
+
var Tag$ = [3, n0, _T,
|
|
916
|
+
0,
|
|
917
|
+
[_k, _va],
|
|
918
|
+
[0, 0], 2
|
|
919
|
+
];
|
|
920
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
921
|
+
0,
|
|
922
|
+
[_rA, _rR, _ta, _cT],
|
|
923
|
+
[0, 1, () => TagList, [0, 4]], 3
|
|
924
|
+
];
|
|
925
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
926
|
+
0,
|
|
927
|
+
[],
|
|
928
|
+
[]
|
|
929
|
+
];
|
|
930
|
+
var TimePeriod$ = [3, n0, _TP,
|
|
931
|
+
0,
|
|
932
|
+
[_sTI, _eTE],
|
|
933
|
+
[4, 4]
|
|
934
|
+
];
|
|
935
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
936
|
+
0,
|
|
937
|
+
[_rA, _rR, _tK, _cT],
|
|
938
|
+
[0, 1, 64 | 0, [0, 4]], 3
|
|
939
|
+
];
|
|
940
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
941
|
+
0,
|
|
942
|
+
[],
|
|
943
|
+
[]
|
|
944
|
+
];
|
|
945
|
+
var UpdateAutomationRuleRequest$ = [3, n0, _UARR,
|
|
946
|
+
0,
|
|
947
|
+
[_rAu, _rR, _n, _de, _rTu, _oC, _p, _rAT, _cr, _sc, _st, _cT],
|
|
948
|
+
[0, 1, 0, 0, 0, () => OrganizationConfiguration$, 0, 64 | 0, () => Criteria$, () => Schedule$, 0, [0, 4]], 2
|
|
949
|
+
];
|
|
950
|
+
var UpdateAutomationRuleResponse$ = [3, n0, _UARRp,
|
|
951
|
+
0,
|
|
952
|
+
[_rAu, _rR, _n, _de, _rTu, _oC, _p, _rAT, _cr, _sc, _st, _cTr, _lUT],
|
|
953
|
+
[0, 1, 0, 0, 0, () => OrganizationConfiguration$, 0, 64 | 0, () => Criteria$, () => Schedule$, 0, 4, 4]
|
|
954
|
+
];
|
|
955
|
+
var UpdateEnrollmentConfigurationRequest$ = [3, n0, _UECR,
|
|
956
|
+
0,
|
|
957
|
+
[_st, _cT],
|
|
958
|
+
[0, [0, 4]], 1
|
|
959
|
+
];
|
|
960
|
+
var UpdateEnrollmentConfigurationResponse$ = [3, n0, _UECRp,
|
|
961
|
+
0,
|
|
962
|
+
[_st, _lUT, _sR],
|
|
963
|
+
[0, 4, 0], 2
|
|
964
|
+
];
|
|
965
|
+
var AccountInfoList = [1, n0, _AIL,
|
|
966
|
+
0, () => AccountInfo$
|
|
967
|
+
];
|
|
968
|
+
var AutomationEventFilterList = [1, n0, _AEFL,
|
|
969
|
+
0, () => AutomationEventFilter$
|
|
970
|
+
];
|
|
971
|
+
var AutomationEvents = [1, n0, _AEu,
|
|
972
|
+
0, () => AutomationEvent$
|
|
973
|
+
];
|
|
974
|
+
var AutomationEventSteps = [1, n0, _AESut,
|
|
975
|
+
0, () => AutomationEventStep$
|
|
976
|
+
];
|
|
977
|
+
var AutomationEventSummaryList = [1, n0, _AESL,
|
|
978
|
+
0, () => AutomationEventSummary$
|
|
979
|
+
];
|
|
980
|
+
var AutomationRules = [1, n0, _ARu,
|
|
981
|
+
0, () => AutomationRule$
|
|
982
|
+
];
|
|
983
|
+
var DoubleCriteriaConditionList = [1, n0, _DCCL,
|
|
984
|
+
0, () => DoubleCriteriaCondition$
|
|
985
|
+
];
|
|
986
|
+
var FilterList = [1, n0, _FL,
|
|
987
|
+
0, () => Filter$
|
|
988
|
+
];
|
|
989
|
+
var IntegerCriteriaConditionList = [1, n0, _ICCL,
|
|
990
|
+
0, () => IntegerCriteriaCondition$
|
|
991
|
+
];
|
|
992
|
+
var PreviewResults = [1, n0, _PRr,
|
|
993
|
+
0, () => PreviewResult$
|
|
994
|
+
];
|
|
995
|
+
var PreviewResultSummaries = [1, n0, _PRSr,
|
|
996
|
+
0, () => PreviewResultSummary$
|
|
997
|
+
];
|
|
998
|
+
var RecommendedActionFilterList = [1, n0, _RAFL,
|
|
999
|
+
0, () => RecommendedActionFilter$
|
|
1000
|
+
];
|
|
1001
|
+
var RecommendedActions = [1, n0, _RAe,
|
|
1002
|
+
0, () => RecommendedAction$
|
|
1003
|
+
];
|
|
1004
|
+
var RecommendedActionSummaries = [1, n0, _RASe,
|
|
1005
|
+
0, () => RecommendedActionSummary$
|
|
1006
|
+
];
|
|
1007
|
+
var ResourceTagsCriteriaConditionList = [1, n0, _RTCCL,
|
|
1008
|
+
0, () => ResourceTagsCriteriaCondition$
|
|
1009
|
+
];
|
|
1010
|
+
var StringCriteriaConditionList = [1, n0, _SCCL,
|
|
1011
|
+
0, () => StringCriteriaCondition$
|
|
1012
|
+
];
|
|
1013
|
+
var SummaryDimensions = [1, n0, _SDu,
|
|
1014
|
+
0, () => SummaryDimension$
|
|
1015
|
+
];
|
|
1016
|
+
var TagList = [1, n0, _TL,
|
|
1017
|
+
0, () => Tag$
|
|
1018
|
+
];
|
|
1019
|
+
var ResourceDetails$ = [4, n0, _RD,
|
|
1020
|
+
0,
|
|
1021
|
+
[_eV],
|
|
1022
|
+
[() => EbsVolume$]
|
|
1023
|
+
];
|
|
1024
|
+
var AssociateAccounts$ = [9, n0, _AA,
|
|
1025
|
+
2, () => AssociateAccountsRequest$, () => AssociateAccountsResponse$
|
|
1026
|
+
];
|
|
1027
|
+
var CreateAutomationRule$ = [9, n0, _CAR,
|
|
1028
|
+
2, () => CreateAutomationRuleRequest$, () => CreateAutomationRuleResponse$
|
|
1029
|
+
];
|
|
1030
|
+
var DeleteAutomationRule$ = [9, n0, _DARe,
|
|
1031
|
+
2, () => DeleteAutomationRuleRequest$, () => DeleteAutomationRuleResponse$
|
|
1032
|
+
];
|
|
1033
|
+
var DisassociateAccounts$ = [9, n0, _DA,
|
|
1034
|
+
2, () => DisassociateAccountsRequest$, () => DisassociateAccountsResponse$
|
|
1035
|
+
];
|
|
1036
|
+
var GetAutomationEvent$ = [9, n0, _GAE,
|
|
1037
|
+
0, () => GetAutomationEventRequest$, () => GetAutomationEventResponse$
|
|
1038
|
+
];
|
|
1039
|
+
var GetAutomationRule$ = [9, n0, _GAR,
|
|
1040
|
+
0, () => GetAutomationRuleRequest$, () => GetAutomationRuleResponse$
|
|
1041
|
+
];
|
|
1042
|
+
var GetEnrollmentConfiguration$ = [9, n0, _GEC,
|
|
1043
|
+
0, () => GetEnrollmentConfigurationRequest$, () => GetEnrollmentConfigurationResponse$
|
|
1044
|
+
];
|
|
1045
|
+
var ListAccounts$ = [9, n0, _LA,
|
|
1046
|
+
0, () => ListAccountsRequest$, () => ListAccountsResponse$
|
|
1047
|
+
];
|
|
1048
|
+
var ListAutomationEvents$ = [9, n0, _LAE,
|
|
1049
|
+
0, () => ListAutomationEventsRequest$, () => ListAutomationEventsResponse$
|
|
1050
|
+
];
|
|
1051
|
+
var ListAutomationEventSteps$ = [9, n0, _LAES,
|
|
1052
|
+
0, () => ListAutomationEventStepsRequest$, () => ListAutomationEventStepsResponse$
|
|
1053
|
+
];
|
|
1054
|
+
var ListAutomationEventSummaries$ = [9, n0, _LAESi,
|
|
1055
|
+
0, () => ListAutomationEventSummariesRequest$, () => ListAutomationEventSummariesResponse$
|
|
1056
|
+
];
|
|
1057
|
+
var ListAutomationRulePreview$ = [9, n0, _LARP,
|
|
1058
|
+
0, () => ListAutomationRulePreviewRequest$, () => ListAutomationRulePreviewResponse$
|
|
1059
|
+
];
|
|
1060
|
+
var ListAutomationRulePreviewSummaries$ = [9, n0, _LARPS,
|
|
1061
|
+
0, () => ListAutomationRulePreviewSummariesRequest$, () => ListAutomationRulePreviewSummariesResponse$
|
|
1062
|
+
];
|
|
1063
|
+
var ListAutomationRules$ = [9, n0, _LARis,
|
|
1064
|
+
0, () => ListAutomationRulesRequest$, () => ListAutomationRulesResponse$
|
|
1065
|
+
];
|
|
1066
|
+
var ListRecommendedActions$ = [9, n0, _LRA,
|
|
1067
|
+
0, () => ListRecommendedActionsRequest$, () => ListRecommendedActionsResponse$
|
|
1068
|
+
];
|
|
1069
|
+
var ListRecommendedActionSummaries$ = [9, n0, _LRAS,
|
|
1070
|
+
0, () => ListRecommendedActionSummariesRequest$, () => ListRecommendedActionSummariesResponse$
|
|
1071
|
+
];
|
|
1072
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
1073
|
+
0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
1074
|
+
];
|
|
1075
|
+
var RollbackAutomationEvent$ = [9, n0, _RAE,
|
|
1076
|
+
2, () => RollbackAutomationEventRequest$, () => RollbackAutomationEventResponse$
|
|
1077
|
+
];
|
|
1078
|
+
var StartAutomationEvent$ = [9, n0, _SAE,
|
|
1079
|
+
2, () => StartAutomationEventRequest$, () => StartAutomationEventResponse$
|
|
1080
|
+
];
|
|
1081
|
+
var TagResource$ = [9, n0, _TR,
|
|
1082
|
+
2, () => TagResourceRequest$, () => TagResourceResponse$
|
|
1083
|
+
];
|
|
1084
|
+
var UntagResource$ = [9, n0, _UR,
|
|
1085
|
+
2, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
1086
|
+
];
|
|
1087
|
+
var UpdateAutomationRule$ = [9, n0, _UAR,
|
|
1088
|
+
2, () => UpdateAutomationRuleRequest$, () => UpdateAutomationRuleResponse$
|
|
1089
|
+
];
|
|
1090
|
+
var UpdateEnrollmentConfiguration$ = [9, n0, _UEC,
|
|
1091
|
+
2, () => UpdateEnrollmentConfigurationRequest$, () => UpdateEnrollmentConfigurationResponse$
|
|
1092
|
+
];
|
|
1093
|
+
|
|
1094
|
+
const getRuntimeConfig$1 = (config) => {
|
|
1095
|
+
return {
|
|
1096
|
+
apiVersion: "2025-09-22",
|
|
1097
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
1098
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
1099
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
1100
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
1101
|
+
extensions: config?.extensions ?? [],
|
|
1102
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultComputeOptimizerAutomationHttpAuthSchemeProvider,
|
|
1103
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
1104
|
+
{
|
|
1105
|
+
schemeId: "aws.auth#sigv4",
|
|
1106
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
1107
|
+
signer: new AwsSdkSigV4Signer(),
|
|
1108
|
+
},
|
|
1109
|
+
],
|
|
1110
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
1111
|
+
protocol: config?.protocol ?? AwsJson1_0Protocol,
|
|
1112
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
1113
|
+
defaultNamespace: "com.amazonaws.computeoptimizerautomation",
|
|
1114
|
+
errorTypeRegistries,
|
|
1115
|
+
version: "2025-09-22",
|
|
1116
|
+
serviceTarget: "ComputeOptimizerAutomationService",
|
|
1117
|
+
},
|
|
1118
|
+
serviceId: config?.serviceId ?? "Compute Optimizer Automation",
|
|
1119
|
+
sha256: config?.sha256 ?? Sha256,
|
|
1120
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
1121
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1122
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
1123
|
+
};
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
const getRuntimeConfig = (config) => {
|
|
1127
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
1128
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
1129
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
1130
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
1131
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
1132
|
+
const loaderConfig = {
|
|
1133
|
+
profile: config?.profile,
|
|
1134
|
+
logger: clientSharedValues.logger,
|
|
1135
|
+
};
|
|
1136
|
+
return {
|
|
1137
|
+
...clientSharedValues,
|
|
1138
|
+
...config,
|
|
1139
|
+
runtime: "node",
|
|
1140
|
+
defaultsMode,
|
|
1141
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
1142
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
1143
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
1144
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
1145
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1146
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
1147
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1148
|
+
retryMode: config?.retryMode ??
|
|
1149
|
+
loadConfig({
|
|
1150
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1151
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1152
|
+
}, config),
|
|
1153
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1154
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1155
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1156
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
1157
|
+
};
|
|
1158
|
+
};
|
|
1159
|
+
|
|
34
1160
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
1161
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
1162
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -560,48 +1686,174 @@ const RecommendedActionFilterName = {
|
|
|
560
1686
|
RESTART_NEEDED: "RestartNeeded",
|
|
561
1687
|
};
|
|
562
1688
|
|
|
1689
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
1690
|
+
exports.AccessDeniedException$ = AccessDeniedException$;
|
|
1691
|
+
exports.AccountInfo$ = AccountInfo$;
|
|
1692
|
+
exports.AssociateAccounts$ = AssociateAccounts$;
|
|
563
1693
|
exports.AssociateAccountsCommand = AssociateAccountsCommand;
|
|
1694
|
+
exports.AssociateAccountsRequest$ = AssociateAccountsRequest$;
|
|
1695
|
+
exports.AssociateAccountsResponse$ = AssociateAccountsResponse$;
|
|
1696
|
+
exports.AutomationEvent$ = AutomationEvent$;
|
|
1697
|
+
exports.AutomationEventFilter$ = AutomationEventFilter$;
|
|
564
1698
|
exports.AutomationEventFilterName = AutomationEventFilterName;
|
|
1699
|
+
exports.AutomationEventStep$ = AutomationEventStep$;
|
|
1700
|
+
exports.AutomationEventSummary$ = AutomationEventSummary$;
|
|
1701
|
+
exports.AutomationRule$ = AutomationRule$;
|
|
565
1702
|
exports.AutomationRuleFilterName = AutomationRuleFilterName;
|
|
566
1703
|
exports.ComparisonOperator = ComparisonOperator;
|
|
567
1704
|
exports.ComputeOptimizerAutomation = ComputeOptimizerAutomation;
|
|
568
1705
|
exports.ComputeOptimizerAutomationClient = ComputeOptimizerAutomationClient;
|
|
1706
|
+
exports.ComputeOptimizerAutomationServiceException = ComputeOptimizerAutomationServiceException;
|
|
1707
|
+
exports.ComputeOptimizerAutomationServiceException$ = ComputeOptimizerAutomationServiceException$;
|
|
1708
|
+
exports.CreateAutomationRule$ = CreateAutomationRule$;
|
|
569
1709
|
exports.CreateAutomationRuleCommand = CreateAutomationRuleCommand;
|
|
1710
|
+
exports.CreateAutomationRuleRequest$ = CreateAutomationRuleRequest$;
|
|
1711
|
+
exports.CreateAutomationRuleResponse$ = CreateAutomationRuleResponse$;
|
|
1712
|
+
exports.Criteria$ = Criteria$;
|
|
1713
|
+
exports.DeleteAutomationRule$ = DeleteAutomationRule$;
|
|
570
1714
|
exports.DeleteAutomationRuleCommand = DeleteAutomationRuleCommand;
|
|
1715
|
+
exports.DeleteAutomationRuleRequest$ = DeleteAutomationRuleRequest$;
|
|
1716
|
+
exports.DeleteAutomationRuleResponse$ = DeleteAutomationRuleResponse$;
|
|
1717
|
+
exports.DisassociateAccounts$ = DisassociateAccounts$;
|
|
571
1718
|
exports.DisassociateAccountsCommand = DisassociateAccountsCommand;
|
|
1719
|
+
exports.DisassociateAccountsRequest$ = DisassociateAccountsRequest$;
|
|
1720
|
+
exports.DisassociateAccountsResponse$ = DisassociateAccountsResponse$;
|
|
1721
|
+
exports.DoubleCriteriaCondition$ = DoubleCriteriaCondition$;
|
|
1722
|
+
exports.EbsVolume$ = EbsVolume$;
|
|
1723
|
+
exports.EbsVolumeConfiguration$ = EbsVolumeConfiguration$;
|
|
572
1724
|
exports.EnrollmentStatus = EnrollmentStatus;
|
|
1725
|
+
exports.EstimatedMonthlySavings$ = EstimatedMonthlySavings$;
|
|
573
1726
|
exports.EventStatus = EventStatus;
|
|
574
1727
|
exports.EventType = EventType;
|
|
1728
|
+
exports.Filter$ = Filter$;
|
|
1729
|
+
exports.ForbiddenException = ForbiddenException;
|
|
1730
|
+
exports.ForbiddenException$ = ForbiddenException$;
|
|
1731
|
+
exports.GetAutomationEvent$ = GetAutomationEvent$;
|
|
575
1732
|
exports.GetAutomationEventCommand = GetAutomationEventCommand;
|
|
1733
|
+
exports.GetAutomationEventRequest$ = GetAutomationEventRequest$;
|
|
1734
|
+
exports.GetAutomationEventResponse$ = GetAutomationEventResponse$;
|
|
1735
|
+
exports.GetAutomationRule$ = GetAutomationRule$;
|
|
576
1736
|
exports.GetAutomationRuleCommand = GetAutomationRuleCommand;
|
|
1737
|
+
exports.GetAutomationRuleRequest$ = GetAutomationRuleRequest$;
|
|
1738
|
+
exports.GetAutomationRuleResponse$ = GetAutomationRuleResponse$;
|
|
1739
|
+
exports.GetEnrollmentConfiguration$ = GetEnrollmentConfiguration$;
|
|
577
1740
|
exports.GetEnrollmentConfigurationCommand = GetEnrollmentConfigurationCommand;
|
|
1741
|
+
exports.GetEnrollmentConfigurationRequest$ = GetEnrollmentConfigurationRequest$;
|
|
1742
|
+
exports.GetEnrollmentConfigurationResponse$ = GetEnrollmentConfigurationResponse$;
|
|
1743
|
+
exports.IdempotencyTokenInUseException = IdempotencyTokenInUseException;
|
|
1744
|
+
exports.IdempotencyTokenInUseException$ = IdempotencyTokenInUseException$;
|
|
1745
|
+
exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
|
|
1746
|
+
exports.IdempotentParameterMismatchException$ = IdempotentParameterMismatchException$;
|
|
1747
|
+
exports.IntegerCriteriaCondition$ = IntegerCriteriaCondition$;
|
|
1748
|
+
exports.InternalServerException = InternalServerException;
|
|
1749
|
+
exports.InternalServerException$ = InternalServerException$;
|
|
1750
|
+
exports.InvalidParameterValueException = InvalidParameterValueException;
|
|
1751
|
+
exports.InvalidParameterValueException$ = InvalidParameterValueException$;
|
|
1752
|
+
exports.ListAccounts$ = ListAccounts$;
|
|
578
1753
|
exports.ListAccountsCommand = ListAccountsCommand;
|
|
1754
|
+
exports.ListAccountsRequest$ = ListAccountsRequest$;
|
|
1755
|
+
exports.ListAccountsResponse$ = ListAccountsResponse$;
|
|
1756
|
+
exports.ListAutomationEventSteps$ = ListAutomationEventSteps$;
|
|
579
1757
|
exports.ListAutomationEventStepsCommand = ListAutomationEventStepsCommand;
|
|
1758
|
+
exports.ListAutomationEventStepsRequest$ = ListAutomationEventStepsRequest$;
|
|
1759
|
+
exports.ListAutomationEventStepsResponse$ = ListAutomationEventStepsResponse$;
|
|
1760
|
+
exports.ListAutomationEventSummaries$ = ListAutomationEventSummaries$;
|
|
580
1761
|
exports.ListAutomationEventSummariesCommand = ListAutomationEventSummariesCommand;
|
|
1762
|
+
exports.ListAutomationEventSummariesRequest$ = ListAutomationEventSummariesRequest$;
|
|
1763
|
+
exports.ListAutomationEventSummariesResponse$ = ListAutomationEventSummariesResponse$;
|
|
1764
|
+
exports.ListAutomationEvents$ = ListAutomationEvents$;
|
|
581
1765
|
exports.ListAutomationEventsCommand = ListAutomationEventsCommand;
|
|
1766
|
+
exports.ListAutomationEventsRequest$ = ListAutomationEventsRequest$;
|
|
1767
|
+
exports.ListAutomationEventsResponse$ = ListAutomationEventsResponse$;
|
|
1768
|
+
exports.ListAutomationRulePreview$ = ListAutomationRulePreview$;
|
|
582
1769
|
exports.ListAutomationRulePreviewCommand = ListAutomationRulePreviewCommand;
|
|
1770
|
+
exports.ListAutomationRulePreviewRequest$ = ListAutomationRulePreviewRequest$;
|
|
1771
|
+
exports.ListAutomationRulePreviewResponse$ = ListAutomationRulePreviewResponse$;
|
|
1772
|
+
exports.ListAutomationRulePreviewSummaries$ = ListAutomationRulePreviewSummaries$;
|
|
583
1773
|
exports.ListAutomationRulePreviewSummariesCommand = ListAutomationRulePreviewSummariesCommand;
|
|
1774
|
+
exports.ListAutomationRulePreviewSummariesRequest$ = ListAutomationRulePreviewSummariesRequest$;
|
|
1775
|
+
exports.ListAutomationRulePreviewSummariesResponse$ = ListAutomationRulePreviewSummariesResponse$;
|
|
1776
|
+
exports.ListAutomationRules$ = ListAutomationRules$;
|
|
584
1777
|
exports.ListAutomationRulesCommand = ListAutomationRulesCommand;
|
|
1778
|
+
exports.ListAutomationRulesRequest$ = ListAutomationRulesRequest$;
|
|
1779
|
+
exports.ListAutomationRulesResponse$ = ListAutomationRulesResponse$;
|
|
1780
|
+
exports.ListRecommendedActionSummaries$ = ListRecommendedActionSummaries$;
|
|
585
1781
|
exports.ListRecommendedActionSummariesCommand = ListRecommendedActionSummariesCommand;
|
|
1782
|
+
exports.ListRecommendedActionSummariesRequest$ = ListRecommendedActionSummariesRequest$;
|
|
1783
|
+
exports.ListRecommendedActionSummariesResponse$ = ListRecommendedActionSummariesResponse$;
|
|
1784
|
+
exports.ListRecommendedActions$ = ListRecommendedActions$;
|
|
586
1785
|
exports.ListRecommendedActionsCommand = ListRecommendedActionsCommand;
|
|
1786
|
+
exports.ListRecommendedActionsRequest$ = ListRecommendedActionsRequest$;
|
|
1787
|
+
exports.ListRecommendedActionsResponse$ = ListRecommendedActionsResponse$;
|
|
1788
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
587
1789
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1790
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1791
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1792
|
+
exports.NotManagementAccountException = NotManagementAccountException;
|
|
1793
|
+
exports.NotManagementAccountException$ = NotManagementAccountException$;
|
|
1794
|
+
exports.OptInRequiredException = OptInRequiredException;
|
|
1795
|
+
exports.OptInRequiredException$ = OptInRequiredException$;
|
|
1796
|
+
exports.OrganizationConfiguration$ = OrganizationConfiguration$;
|
|
588
1797
|
exports.OrganizationRuleMode = OrganizationRuleMode;
|
|
1798
|
+
exports.OrganizationScope$ = OrganizationScope$;
|
|
1799
|
+
exports.PreviewResult$ = PreviewResult$;
|
|
1800
|
+
exports.PreviewResultSummary$ = PreviewResultSummary$;
|
|
1801
|
+
exports.RecommendedAction$ = RecommendedAction$;
|
|
1802
|
+
exports.RecommendedActionFilter$ = RecommendedActionFilter$;
|
|
589
1803
|
exports.RecommendedActionFilterName = RecommendedActionFilterName;
|
|
1804
|
+
exports.RecommendedActionSummary$ = RecommendedActionSummary$;
|
|
1805
|
+
exports.RecommendedActionTotal$ = RecommendedActionTotal$;
|
|
590
1806
|
exports.RecommendedActionType = RecommendedActionType;
|
|
1807
|
+
exports.ResourceDetails$ = ResourceDetails$;
|
|
1808
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1809
|
+
exports.ResourceNotFoundException$ = ResourceNotFoundException$;
|
|
1810
|
+
exports.ResourceTagsCriteriaCondition$ = ResourceTagsCriteriaCondition$;
|
|
591
1811
|
exports.ResourceType = ResourceType;
|
|
1812
|
+
exports.RollbackAutomationEvent$ = RollbackAutomationEvent$;
|
|
592
1813
|
exports.RollbackAutomationEventCommand = RollbackAutomationEventCommand;
|
|
1814
|
+
exports.RollbackAutomationEventRequest$ = RollbackAutomationEventRequest$;
|
|
1815
|
+
exports.RollbackAutomationEventResponse$ = RollbackAutomationEventResponse$;
|
|
593
1816
|
exports.RuleApplyOrder = RuleApplyOrder;
|
|
1817
|
+
exports.RulePreviewTotal$ = RulePreviewTotal$;
|
|
594
1818
|
exports.RuleStatus = RuleStatus;
|
|
595
1819
|
exports.RuleType = RuleType;
|
|
596
1820
|
exports.SavingsEstimationMode = SavingsEstimationMode;
|
|
1821
|
+
exports.Schedule$ = Schedule$;
|
|
1822
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1823
|
+
exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
|
|
1824
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
1825
|
+
exports.ServiceUnavailableException$ = ServiceUnavailableException$;
|
|
1826
|
+
exports.StartAutomationEvent$ = StartAutomationEvent$;
|
|
597
1827
|
exports.StartAutomationEventCommand = StartAutomationEventCommand;
|
|
1828
|
+
exports.StartAutomationEventRequest$ = StartAutomationEventRequest$;
|
|
1829
|
+
exports.StartAutomationEventResponse$ = StartAutomationEventResponse$;
|
|
598
1830
|
exports.StepStatus = StepStatus;
|
|
599
1831
|
exports.StepType = StepType;
|
|
1832
|
+
exports.StringCriteriaCondition$ = StringCriteriaCondition$;
|
|
1833
|
+
exports.SummaryDimension$ = SummaryDimension$;
|
|
600
1834
|
exports.SummaryDimensionKey = SummaryDimensionKey;
|
|
1835
|
+
exports.SummaryTotals$ = SummaryTotals$;
|
|
1836
|
+
exports.Tag$ = Tag$;
|
|
1837
|
+
exports.TagResource$ = TagResource$;
|
|
601
1838
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1839
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1840
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
1841
|
+
exports.ThrottlingException = ThrottlingException;
|
|
1842
|
+
exports.ThrottlingException$ = ThrottlingException$;
|
|
1843
|
+
exports.TimePeriod$ = TimePeriod$;
|
|
1844
|
+
exports.UntagResource$ = UntagResource$;
|
|
602
1845
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1846
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1847
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1848
|
+
exports.UpdateAutomationRule$ = UpdateAutomationRule$;
|
|
603
1849
|
exports.UpdateAutomationRuleCommand = UpdateAutomationRuleCommand;
|
|
1850
|
+
exports.UpdateAutomationRuleRequest$ = UpdateAutomationRuleRequest$;
|
|
1851
|
+
exports.UpdateAutomationRuleResponse$ = UpdateAutomationRuleResponse$;
|
|
1852
|
+
exports.UpdateEnrollmentConfiguration$ = UpdateEnrollmentConfiguration$;
|
|
604
1853
|
exports.UpdateEnrollmentConfigurationCommand = UpdateEnrollmentConfigurationCommand;
|
|
1854
|
+
exports.UpdateEnrollmentConfigurationRequest$ = UpdateEnrollmentConfigurationRequest$;
|
|
1855
|
+
exports.UpdateEnrollmentConfigurationResponse$ = UpdateEnrollmentConfigurationResponse$;
|
|
1856
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
605
1857
|
exports.paginateListAccounts = paginateListAccounts;
|
|
606
1858
|
exports.paginateListAutomationEventSteps = paginateListAutomationEventSteps;
|
|
607
1859
|
exports.paginateListAutomationEventSummaries = paginateListAutomationEventSummaries;
|