@aws-sdk/client-compute-optimizer 3.46.0 → 3.48.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 +38 -0
- package/dist-cjs/models/models_0.js +33 -57
- package/dist-cjs/protocols/Aws_json1_0.js +22 -0
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/models/models_0.js +30 -36
- package/dist-es/protocols/Aws_json1_0.js +23 -2
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/ComputeOptimizerClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +209 -72
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +43 -38
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +35 -35
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { ComputeOptimizerClientConfig } from "./ComputeOptimizerClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) =>
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
4
4
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
7
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { DeleteRecommendationPreferencesCommandInput, DeleteRecommendationPreferencesCommandOutput } from "./commands/DeleteRecommendationPreferencesCommand";
|
|
10
10
|
import { DescribeRecommendationExportJobsCommandInput, DescribeRecommendationExportJobsCommandOutput } from "./commands/DescribeRecommendationExportJobsCommand";
|
|
@@ -69,6 +69,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
69
69
|
regionInfoProvider?: RegionInfoProvider;
|
|
70
70
|
|
|
71
71
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
72
|
+
|
|
73
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
72
74
|
}
|
|
73
75
|
declare type ComputeOptimizerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
|
|
74
76
|
|
|
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
|
|
|
5
5
|
$fault: "client";
|
|
6
6
|
message?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace AccessDeniedException {
|
|
9
|
-
|
|
10
|
-
const filterSensitiveLog: (obj: AccessDeniedException) => any;
|
|
11
|
-
}
|
|
12
8
|
export declare enum Status {
|
|
13
9
|
ACTIVE = "Active",
|
|
14
10
|
FAILED = "Failed",
|
|
@@ -59,12 +55,18 @@ export declare enum EnhancedInfrastructureMetrics {
|
|
|
59
55
|
ACTIVE = "Active",
|
|
60
56
|
INACTIVE = "Inactive"
|
|
61
57
|
}
|
|
58
|
+
export declare enum InferredWorkloadTypesPreference {
|
|
59
|
+
ACTIVE = "Active",
|
|
60
|
+
INACTIVE = "Inactive"
|
|
61
|
+
}
|
|
62
62
|
|
|
63
63
|
export interface EffectiveRecommendationPreferences {
|
|
64
64
|
|
|
65
65
|
cpuVendorArchitectures?: (CpuVendorArchitecture | string)[];
|
|
66
66
|
|
|
67
67
|
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
68
|
+
|
|
69
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference | string;
|
|
68
70
|
}
|
|
69
71
|
export declare namespace EffectiveRecommendationPreferences {
|
|
70
72
|
|
|
@@ -76,6 +78,21 @@ export declare enum Finding {
|
|
|
76
78
|
OVER_PROVISIONED = "Overprovisioned",
|
|
77
79
|
UNDER_PROVISIONED = "Underprovisioned"
|
|
78
80
|
}
|
|
81
|
+
export declare enum InferredWorkloadType {
|
|
82
|
+
AMAZON_EMR = "AmazonEmr",
|
|
83
|
+
APACHE_CASSANDRA = "ApacheCassandra",
|
|
84
|
+
APACHE_HADOOP = "ApacheHadoop",
|
|
85
|
+
MEMCACHED = "Memcached",
|
|
86
|
+
NGINX = "Nginx",
|
|
87
|
+
POSTGRE_SQL = "PostgreSql",
|
|
88
|
+
REDIS = "Redis"
|
|
89
|
+
}
|
|
90
|
+
export declare enum MigrationEffort {
|
|
91
|
+
HIGH = "High",
|
|
92
|
+
LOW = "Low",
|
|
93
|
+
MEDIUM = "Medium",
|
|
94
|
+
VERY_LOW = "VeryLow"
|
|
95
|
+
}
|
|
79
96
|
export declare enum MetricName {
|
|
80
97
|
CPU = "Cpu",
|
|
81
98
|
DISK_READ_BYTES_PER_SECOND = "DISK_READ_BYTES_PER_SECOND",
|
|
@@ -147,6 +164,8 @@ export interface AutoScalingGroupRecommendationOption {
|
|
|
147
164
|
rank?: number;
|
|
148
165
|
|
|
149
166
|
savingsOpportunity?: SavingsOpportunity;
|
|
167
|
+
|
|
168
|
+
migrationEffort?: MigrationEffort | string;
|
|
150
169
|
}
|
|
151
170
|
export declare namespace AutoScalingGroupRecommendationOption {
|
|
152
171
|
|
|
@@ -176,19 +195,23 @@ export interface AutoScalingGroupRecommendation {
|
|
|
176
195
|
currentPerformanceRisk?: CurrentPerformanceRisk | string;
|
|
177
196
|
|
|
178
197
|
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
|
|
198
|
+
|
|
199
|
+
inferredWorkloadTypes?: (InferredWorkloadType | string)[];
|
|
179
200
|
}
|
|
180
201
|
export declare namespace AutoScalingGroupRecommendation {
|
|
181
202
|
|
|
182
203
|
const filterSensitiveLog: (obj: AutoScalingGroupRecommendation) => any;
|
|
183
204
|
}
|
|
184
205
|
export declare enum RecommendationPreferenceName {
|
|
185
|
-
ENHANCED_INFRASTRUCTURE_METRICS = "EnhancedInfrastructureMetrics"
|
|
206
|
+
ENHANCED_INFRASTRUCTURE_METRICS = "EnhancedInfrastructureMetrics",
|
|
207
|
+
INFERRED_WORKLOAD_TYPES = "InferredWorkloadTypes"
|
|
186
208
|
}
|
|
187
209
|
export declare enum ResourceType {
|
|
188
210
|
AUTO_SCALING_GROUP = "AutoScalingGroup",
|
|
189
211
|
EBS_VOLUME = "EbsVolume",
|
|
190
212
|
EC2_INSTANCE = "Ec2Instance",
|
|
191
|
-
LAMBDA_FUNCTION = "LambdaFunction"
|
|
213
|
+
LAMBDA_FUNCTION = "LambdaFunction",
|
|
214
|
+
NOT_APPLICABLE = "NotApplicable"
|
|
192
215
|
}
|
|
193
216
|
export declare enum ScopeName {
|
|
194
217
|
ACCOUNT_ID = "AccountId",
|
|
@@ -230,70 +253,42 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
230
253
|
$fault: "server";
|
|
231
254
|
message?: string;
|
|
232
255
|
}
|
|
233
|
-
export declare namespace InternalServerException {
|
|
234
|
-
|
|
235
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
236
|
-
}
|
|
237
256
|
|
|
238
257
|
export interface InvalidParameterValueException extends __SmithyException, $MetadataBearer {
|
|
239
258
|
name: "InvalidParameterValueException";
|
|
240
259
|
$fault: "client";
|
|
241
260
|
message?: string;
|
|
242
261
|
}
|
|
243
|
-
export declare namespace InvalidParameterValueException {
|
|
244
|
-
|
|
245
|
-
const filterSensitiveLog: (obj: InvalidParameterValueException) => any;
|
|
246
|
-
}
|
|
247
262
|
|
|
248
263
|
export interface MissingAuthenticationToken extends __SmithyException, $MetadataBearer {
|
|
249
264
|
name: "MissingAuthenticationToken";
|
|
250
265
|
$fault: "client";
|
|
251
266
|
message?: string;
|
|
252
267
|
}
|
|
253
|
-
export declare namespace MissingAuthenticationToken {
|
|
254
|
-
|
|
255
|
-
const filterSensitiveLog: (obj: MissingAuthenticationToken) => any;
|
|
256
|
-
}
|
|
257
268
|
|
|
258
269
|
export interface OptInRequiredException extends __SmithyException, $MetadataBearer {
|
|
259
270
|
name: "OptInRequiredException";
|
|
260
271
|
$fault: "client";
|
|
261
272
|
message?: string;
|
|
262
273
|
}
|
|
263
|
-
export declare namespace OptInRequiredException {
|
|
264
|
-
|
|
265
|
-
const filterSensitiveLog: (obj: OptInRequiredException) => any;
|
|
266
|
-
}
|
|
267
274
|
|
|
268
275
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
269
276
|
name: "ResourceNotFoundException";
|
|
270
277
|
$fault: "client";
|
|
271
278
|
message?: string;
|
|
272
279
|
}
|
|
273
|
-
export declare namespace ResourceNotFoundException {
|
|
274
|
-
|
|
275
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
276
|
-
}
|
|
277
280
|
|
|
278
281
|
export interface ServiceUnavailableException extends __SmithyException, $MetadataBearer {
|
|
279
282
|
name: "ServiceUnavailableException";
|
|
280
283
|
$fault: "server";
|
|
281
284
|
message?: string;
|
|
282
285
|
}
|
|
283
|
-
export declare namespace ServiceUnavailableException {
|
|
284
|
-
|
|
285
|
-
const filterSensitiveLog: (obj: ServiceUnavailableException) => any;
|
|
286
|
-
}
|
|
287
286
|
|
|
288
287
|
export interface ThrottlingException extends __SmithyException, $MetadataBearer {
|
|
289
288
|
name: "ThrottlingException";
|
|
290
289
|
$fault: "client";
|
|
291
290
|
message: string | undefined;
|
|
292
291
|
}
|
|
293
|
-
export declare namespace ThrottlingException {
|
|
294
|
-
|
|
295
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
296
|
-
}
|
|
297
292
|
export declare enum JobFilterName {
|
|
298
293
|
JOB_STATUS = "JobStatus",
|
|
299
294
|
RESOURCE_TYPE = "ResourceType"
|
|
@@ -400,7 +395,9 @@ export declare enum ExportableAutoScalingGroupField {
|
|
|
400
395
|
CURRENT_VCPUS = "CurrentVCpus",
|
|
401
396
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES = "EffectiveRecommendationPreferencesCpuVendorArchitectures",
|
|
402
397
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics",
|
|
398
|
+
EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES = "EffectiveRecommendationPreferencesInferredWorkloadTypes",
|
|
403
399
|
FINDING = "Finding",
|
|
400
|
+
INFERRED_WORKLOAD_TYPES = "InferredWorkloadTypes",
|
|
404
401
|
LAST_REFRESH_TIMESTAMP = "LastRefreshTimestamp",
|
|
405
402
|
LOOKBACK_PERIOD_IN_DAYS = "LookbackPeriodInDays",
|
|
406
403
|
RECOMMENDATION_OPTIONS_CONFIGURATION_DESIRED_CAPACITY = "RecommendationOptionsConfigurationDesiredCapacity",
|
|
@@ -410,6 +407,7 @@ export declare enum ExportableAutoScalingGroupField {
|
|
|
410
407
|
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_CURRENCY = "RecommendationOptionsEstimatedMonthlySavingsCurrency",
|
|
411
408
|
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE = "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
412
409
|
RECOMMENDATION_OPTIONS_MEMORY = "RecommendationOptionsMemory",
|
|
410
|
+
RECOMMENDATION_OPTIONS_MIGRATION_EFFORT = "RecommendationOptionsMigrationEffort",
|
|
413
411
|
RECOMMENDATION_OPTIONS_NETWORK = "RecommendationOptionsNetwork",
|
|
414
412
|
RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE = "RecommendationOptionsOnDemandPrice",
|
|
415
413
|
RECOMMENDATION_OPTIONS_PERFORMANCE_RISK = "RecommendationOptionsPerformanceRisk",
|
|
@@ -510,10 +508,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
510
508
|
$fault: "client";
|
|
511
509
|
message?: string;
|
|
512
510
|
}
|
|
513
|
-
export declare namespace LimitExceededException {
|
|
514
|
-
|
|
515
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
516
|
-
}
|
|
517
511
|
export declare enum ExportableVolumeField {
|
|
518
512
|
ACCOUNT_ID = "AccountId",
|
|
519
513
|
CURRENT_CONFIGURATION_VOLUME_BASELINE_IOPS = "CurrentConfigurationVolumeBaselineIOPS",
|
|
@@ -599,8 +593,10 @@ export declare enum ExportableInstanceField {
|
|
|
599
593
|
CURRENT_VCPUS = "CurrentVCpus",
|
|
600
594
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_CPU_VENDOR_ARCHITECTURES = "EffectiveRecommendationPreferencesCpuVendorArchitectures",
|
|
601
595
|
EFFECTIVE_RECOMMENDATION_PREFERENCES_ENHANCED_INFRASTRUCTURE_METRICS = "EffectiveRecommendationPreferencesEnhancedInfrastructureMetrics",
|
|
596
|
+
EFFECTIVE_RECOMMENDATION_PREFERENCES_INFERRED_WORKLOAD_TYPES = "EffectiveRecommendationPreferencesInferredWorkloadTypes",
|
|
602
597
|
FINDING = "Finding",
|
|
603
598
|
Finding_Reason_Codes = "FindingReasonCodes",
|
|
599
|
+
INFERRED_WORKLOAD_TYPES = "InferredWorkloadTypes",
|
|
604
600
|
INSTANCE_ARN = "InstanceArn",
|
|
605
601
|
INSTANCE_NAME = "InstanceName",
|
|
606
602
|
LAST_REFRESH_TIMESTAMP = "LastRefreshTimestamp",
|
|
@@ -611,6 +607,7 @@ export declare enum ExportableInstanceField {
|
|
|
611
607
|
RECOMMENDATION_OPTIONS_ESTIMATED_MONTHLY_SAVINGS_VALUE = "RecommendationOptionsEstimatedMonthlySavingsValue",
|
|
612
608
|
RECOMMENDATION_OPTIONS_INSTANCE_TYPE = "RecommendationOptionsInstanceType",
|
|
613
609
|
RECOMMENDATION_OPTIONS_MEMORY = "RecommendationOptionsMemory",
|
|
610
|
+
RECOMMENDATION_OPTIONS_MIGRATION_EFFORT = "RecommendationOptionsMigrationEffort",
|
|
614
611
|
RECOMMENDATION_OPTIONS_NETWORK = "RecommendationOptionsNetwork",
|
|
615
612
|
RECOMMENDATION_OPTIONS_ON_DEMAND_PRICE = "RecommendationOptionsOnDemandPrice",
|
|
616
613
|
RECOMMENDATION_OPTIONS_PERFORMANCE_RISK = "RecommendationOptionsPerformanceRisk",
|
|
@@ -949,6 +946,8 @@ export interface InstanceRecommendationOption {
|
|
|
949
946
|
rank?: number;
|
|
950
947
|
|
|
951
948
|
savingsOpportunity?: SavingsOpportunity;
|
|
949
|
+
|
|
950
|
+
migrationEffort?: MigrationEffort | string;
|
|
952
951
|
}
|
|
953
952
|
export declare namespace InstanceRecommendationOption {
|
|
954
953
|
|
|
@@ -999,6 +998,8 @@ export interface InstanceRecommendation {
|
|
|
999
998
|
currentPerformanceRisk?: CurrentPerformanceRisk | string;
|
|
1000
999
|
|
|
1001
1000
|
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences;
|
|
1001
|
+
|
|
1002
|
+
inferredWorkloadTypes?: (InferredWorkloadType | string)[];
|
|
1002
1003
|
}
|
|
1003
1004
|
export declare namespace InstanceRecommendation {
|
|
1004
1005
|
|
|
@@ -1289,6 +1290,8 @@ export interface RecommendationPreferencesDetail {
|
|
|
1289
1290
|
resourceType?: ResourceType | string;
|
|
1290
1291
|
|
|
1291
1292
|
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
1293
|
+
|
|
1294
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference | string;
|
|
1292
1295
|
}
|
|
1293
1296
|
export declare namespace RecommendationPreferencesDetail {
|
|
1294
1297
|
|
|
@@ -1393,6 +1396,8 @@ export interface PutRecommendationPreferencesRequest {
|
|
|
1393
1396
|
scope?: Scope;
|
|
1394
1397
|
|
|
1395
1398
|
enhancedInfrastructureMetrics?: EnhancedInfrastructureMetrics | string;
|
|
1399
|
+
|
|
1400
|
+
inferredWorkloadTypes?: InferredWorkloadTypesPreference | string;
|
|
1396
1401
|
}
|
|
1397
1402
|
export declare namespace PutRecommendationPreferencesRequest {
|
|
1398
1403
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { ComputeOptimizerClientConfig } from "./ComputeOptimizerClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) =>
|
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { ComputeOptimizerClientConfig } from "./ComputeOptimizerClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
12
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
13
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
14
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
14
15
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
15
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
16
17
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) =>
|
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
26
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
27
28
|
tls?: boolean | undefined;
|
|
28
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Compute Optimizer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.48.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,38 +18,40 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
31
|
-
"@aws-sdk/middleware-logger": "3.
|
|
32
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
-
"@aws-sdk/middleware-serde": "3.
|
|
34
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
-
"@aws-sdk/middleware-stack": "3.
|
|
36
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
37
|
-
"@aws-sdk/node-config-provider": "3.
|
|
38
|
-
"@aws-sdk/node-http-handler": "3.
|
|
39
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
-
"@aws-sdk/smithy-client": "3.
|
|
41
|
-
"@aws-sdk/types": "3.
|
|
42
|
-
"@aws-sdk/url-parser": "3.
|
|
43
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
44
|
-
"@aws-sdk/util-base64-node": "3.
|
|
45
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
47
|
-
"@aws-sdk/util-
|
|
48
|
-
"@aws-sdk/util-
|
|
49
|
-
"@aws-sdk/util-
|
|
50
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.48.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.2",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.48.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.47.2",
|
|
25
|
+
"@aws-sdk/hash-node": "3.47.2",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.47.2",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.47.2",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.47.2",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.47.2",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.47.2",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.47.2",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.47.2",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.47.2",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.47.2",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.47.2",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.47.2",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.47.2",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.47.2",
|
|
39
|
+
"@aws-sdk/types": "3.47.1",
|
|
40
|
+
"@aws-sdk/url-parser": "3.47.2",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.47.2",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.2",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.2",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.47.2",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.47.2",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.47.2",
|
|
51
51
|
"tslib": "^2.3.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
55
55
|
"@types/node": "^12.7.5"
|
|
56
56
|
},
|
|
57
57
|
"engines": {
|