@aws-sdk/client-compute-optimizer 3.1086.0 → 3.1088.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 +1 -1
- package/dist-types/ts3.4/ComputeOptimizer.d.ts +90 -140
- package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +5 -15
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
- package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
- package/dist-types/ts3.4/commands/DeleteRecommendationPreferencesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/DescribeRecommendationExportJobsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ExportEBSVolumeRecommendationsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ExportEC2InstanceRecommendationsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ExportECSServiceRecommendationsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ExportIdleRecommendationsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ExportLicenseRecommendationsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ExportRDSDatabaseRecommendationsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetEBSVolumeRecommendationsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetEC2InstanceRecommendationsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetECSServiceRecommendationProjectedMetricsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetECSServiceRecommendationsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetEnrollmentStatusCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetIdleRecommendationsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/GetLambdaFunctionRecommendationsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetLicenseRecommendationsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetRDSDatabaseRecommendationProjectedMetricsCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetRDSDatabaseRecommendationsCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/GetRecommendationPreferencesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/GetRecommendationSummariesCommand.d.ts +3 -5
- package/dist-types/ts3.4/commands/PutRecommendationPreferencesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/UpdateEnrollmentStatusCommand.d.ts +5 -10
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
- package/dist-types/ts3.4/models/enums.d.ts +19 -38
- package/dist-types/ts3.4/models/errors.d.ts +9 -27
- package/dist-types/ts3.4/models/models_0.d.ts +26 -78
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -19
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +10 -25
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
- package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
- package/package.json +39 -39
|
@@ -169,9 +169,7 @@ export interface AutoScalingGroupRecommendationOption {
|
|
|
169
169
|
performanceRisk?: number | undefined;
|
|
170
170
|
rank?: number | undefined;
|
|
171
171
|
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
172
|
-
savingsOpportunityAfterDiscounts?:
|
|
173
|
-
| AutoScalingGroupSavingsOpportunityAfterDiscounts
|
|
174
|
-
| undefined;
|
|
172
|
+
savingsOpportunityAfterDiscounts?: AutoScalingGroupSavingsOpportunityAfterDiscounts | undefined;
|
|
175
173
|
migrationEffort?: MigrationEffort | undefined;
|
|
176
174
|
}
|
|
177
175
|
export interface AutoScalingGroupRecommendation {
|
|
@@ -186,9 +184,7 @@ export interface AutoScalingGroupRecommendation {
|
|
|
186
184
|
recommendationOptions?: AutoScalingGroupRecommendationOption[] | undefined;
|
|
187
185
|
lastRefreshTimestamp?: Date | undefined;
|
|
188
186
|
currentPerformanceRisk?: CurrentPerformanceRisk | undefined;
|
|
189
|
-
effectiveRecommendationPreferences?:
|
|
190
|
-
| EffectiveRecommendationPreferences
|
|
191
|
-
| undefined;
|
|
187
|
+
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences | undefined;
|
|
192
188
|
inferredWorkloadTypes?: InferredWorkloadType[] | undefined;
|
|
193
189
|
}
|
|
194
190
|
export interface Scope {
|
|
@@ -381,9 +377,7 @@ export interface GetRecommendationError {
|
|
|
381
377
|
}
|
|
382
378
|
export interface GetAutoScalingGroupRecommendationsResponse {
|
|
383
379
|
nextToken?: string | undefined;
|
|
384
|
-
autoScalingGroupRecommendations?:
|
|
385
|
-
| AutoScalingGroupRecommendation[]
|
|
386
|
-
| undefined;
|
|
380
|
+
autoScalingGroupRecommendations?: AutoScalingGroupRecommendation[] | undefined;
|
|
387
381
|
errors?: GetRecommendationError[] | undefined;
|
|
388
382
|
}
|
|
389
383
|
export interface GetEBSVolumeRecommendationsRequest {
|
|
@@ -431,9 +425,7 @@ export interface VolumeRecommendationOption {
|
|
|
431
425
|
performanceRisk?: number | undefined;
|
|
432
426
|
rank?: number | undefined;
|
|
433
427
|
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
434
|
-
savingsOpportunityAfterDiscounts?:
|
|
435
|
-
| EBSSavingsOpportunityAfterDiscounts
|
|
436
|
-
| undefined;
|
|
428
|
+
savingsOpportunityAfterDiscounts?: EBSSavingsOpportunityAfterDiscounts | undefined;
|
|
437
429
|
}
|
|
438
430
|
export interface VolumeRecommendation {
|
|
439
431
|
volumeArn?: string | undefined;
|
|
@@ -445,9 +437,7 @@ export interface VolumeRecommendation {
|
|
|
445
437
|
volumeRecommendationOptions?: VolumeRecommendationOption[] | undefined;
|
|
446
438
|
lastRefreshTimestamp?: Date | undefined;
|
|
447
439
|
currentPerformanceRisk?: CurrentPerformanceRisk | undefined;
|
|
448
|
-
effectiveRecommendationPreferences?:
|
|
449
|
-
| EBSEffectiveRecommendationPreferences
|
|
450
|
-
| undefined;
|
|
440
|
+
effectiveRecommendationPreferences?: EBSEffectiveRecommendationPreferences | undefined;
|
|
451
441
|
tags?: Tag[] | undefined;
|
|
452
442
|
}
|
|
453
443
|
export interface GetEBSVolumeRecommendationsResponse {
|
|
@@ -483,9 +473,7 @@ export interface InstanceRecommendationOption {
|
|
|
483
473
|
performanceRisk?: number | undefined;
|
|
484
474
|
rank?: number | undefined;
|
|
485
475
|
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
486
|
-
savingsOpportunityAfterDiscounts?:
|
|
487
|
-
| InstanceSavingsOpportunityAfterDiscounts
|
|
488
|
-
| undefined;
|
|
476
|
+
savingsOpportunityAfterDiscounts?: InstanceSavingsOpportunityAfterDiscounts | undefined;
|
|
489
477
|
migrationEffort?: MigrationEffort | undefined;
|
|
490
478
|
}
|
|
491
479
|
export interface RecommendationSource {
|
|
@@ -505,9 +493,7 @@ export interface InstanceRecommendation {
|
|
|
505
493
|
recommendationSources?: RecommendationSource[] | undefined;
|
|
506
494
|
lastRefreshTimestamp?: Date | undefined;
|
|
507
495
|
currentPerformanceRisk?: CurrentPerformanceRisk | undefined;
|
|
508
|
-
effectiveRecommendationPreferences?:
|
|
509
|
-
| EffectiveRecommendationPreferences
|
|
510
|
-
| undefined;
|
|
496
|
+
effectiveRecommendationPreferences?: EffectiveRecommendationPreferences | undefined;
|
|
511
497
|
inferredWorkloadTypes?: InferredWorkloadType[] | undefined;
|
|
512
498
|
instanceState?: InstanceState | undefined;
|
|
513
499
|
tags?: Tag[] | undefined;
|
|
@@ -539,9 +525,7 @@ export interface RecommendedOptionProjectedMetric {
|
|
|
539
525
|
projectedMetrics?: ProjectedMetric[] | undefined;
|
|
540
526
|
}
|
|
541
527
|
export interface GetEC2RecommendationProjectedMetricsResponse {
|
|
542
|
-
recommendedOptionProjectedMetrics?:
|
|
543
|
-
| RecommendedOptionProjectedMetric[]
|
|
544
|
-
| undefined;
|
|
528
|
+
recommendedOptionProjectedMetrics?: RecommendedOptionProjectedMetric[] | undefined;
|
|
545
529
|
}
|
|
546
530
|
export interface GetECSServiceRecommendationProjectedMetricsRequest {
|
|
547
531
|
serviceArn: string | undefined;
|
|
@@ -562,9 +546,7 @@ export interface ECSServiceRecommendedOptionProjectedMetric {
|
|
|
562
546
|
projectedMetrics?: ECSServiceProjectedMetric[] | undefined;
|
|
563
547
|
}
|
|
564
548
|
export interface GetECSServiceRecommendationProjectedMetricsResponse {
|
|
565
|
-
recommendedOptionProjectedMetrics?:
|
|
566
|
-
| ECSServiceRecommendedOptionProjectedMetric[]
|
|
567
|
-
| undefined;
|
|
549
|
+
recommendedOptionProjectedMetrics?: ECSServiceRecommendedOptionProjectedMetric[] | undefined;
|
|
568
550
|
}
|
|
569
551
|
export interface GetECSServiceRecommendationsRequest {
|
|
570
552
|
serviceArns?: string[] | undefined;
|
|
@@ -619,12 +601,8 @@ export interface ECSServiceRecommendationOption {
|
|
|
619
601
|
memory?: number | undefined;
|
|
620
602
|
cpu?: number | undefined;
|
|
621
603
|
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
622
|
-
savingsOpportunityAfterDiscounts?:
|
|
623
|
-
|
|
624
|
-
| undefined;
|
|
625
|
-
projectedUtilizationMetrics?:
|
|
626
|
-
| ECSServiceProjectedUtilizationMetric[]
|
|
627
|
-
| undefined;
|
|
604
|
+
savingsOpportunityAfterDiscounts?: ECSSavingsOpportunityAfterDiscounts | undefined;
|
|
605
|
+
projectedUtilizationMetrics?: ECSServiceProjectedUtilizationMetric[] | undefined;
|
|
628
606
|
containerRecommendations?: ContainerRecommendation[] | undefined;
|
|
629
607
|
}
|
|
630
608
|
export interface ECSServiceUtilizationMetric {
|
|
@@ -644,9 +622,7 @@ export interface ECSServiceRecommendation {
|
|
|
644
622
|
findingReasonCodes?: ECSServiceRecommendationFindingReasonCode[] | undefined;
|
|
645
623
|
serviceRecommendationOptions?: ECSServiceRecommendationOption[] | undefined;
|
|
646
624
|
currentPerformanceRisk?: CurrentPerformanceRisk | undefined;
|
|
647
|
-
effectiveRecommendationPreferences?:
|
|
648
|
-
| ECSEffectiveRecommendationPreferences
|
|
649
|
-
| undefined;
|
|
625
|
+
effectiveRecommendationPreferences?: ECSEffectiveRecommendationPreferences | undefined;
|
|
650
626
|
tags?: Tag[] | undefined;
|
|
651
627
|
}
|
|
652
628
|
export interface GetECSServiceRecommendationsResponse {
|
|
@@ -733,9 +709,7 @@ export interface IdleRecommendation {
|
|
|
733
709
|
finding?: IdleFinding | undefined;
|
|
734
710
|
findingDescription?: string | undefined;
|
|
735
711
|
savingsOpportunity?: IdleSavingsOpportunity | undefined;
|
|
736
|
-
savingsOpportunityAfterDiscounts?:
|
|
737
|
-
| IdleSavingsOpportunityAfterDiscounts
|
|
738
|
-
| undefined;
|
|
712
|
+
savingsOpportunityAfterDiscounts?: IdleSavingsOpportunityAfterDiscounts | undefined;
|
|
739
713
|
utilizationMetrics?: IdleUtilizationMetric[] | undefined;
|
|
740
714
|
lookBackPeriodInDays?: number | undefined;
|
|
741
715
|
lastRefreshTimestamp?: Date | undefined;
|
|
@@ -775,13 +749,9 @@ export interface LambdaSavingsOpportunityAfterDiscounts {
|
|
|
775
749
|
export interface LambdaFunctionMemoryRecommendationOption {
|
|
776
750
|
rank?: number | undefined;
|
|
777
751
|
memorySize?: number | undefined;
|
|
778
|
-
projectedUtilizationMetrics?:
|
|
779
|
-
| LambdaFunctionMemoryProjectedMetric[]
|
|
780
|
-
| undefined;
|
|
752
|
+
projectedUtilizationMetrics?: LambdaFunctionMemoryProjectedMetric[] | undefined;
|
|
781
753
|
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
782
|
-
savingsOpportunityAfterDiscounts?:
|
|
783
|
-
| LambdaSavingsOpportunityAfterDiscounts
|
|
784
|
-
| undefined;
|
|
754
|
+
savingsOpportunityAfterDiscounts?: LambdaSavingsOpportunityAfterDiscounts | undefined;
|
|
785
755
|
}
|
|
786
756
|
export interface LambdaFunctionUtilizationMetric {
|
|
787
757
|
name?: LambdaFunctionMetricName | undefined;
|
|
@@ -798,16 +768,10 @@ export interface LambdaFunctionRecommendation {
|
|
|
798
768
|
lookbackPeriodInDays?: number | undefined;
|
|
799
769
|
lastRefreshTimestamp?: Date | undefined;
|
|
800
770
|
finding?: LambdaFunctionRecommendationFinding | undefined;
|
|
801
|
-
findingReasonCodes?:
|
|
802
|
-
|
|
803
|
-
| undefined;
|
|
804
|
-
memorySizeRecommendationOptions?:
|
|
805
|
-
| LambdaFunctionMemoryRecommendationOption[]
|
|
806
|
-
| undefined;
|
|
771
|
+
findingReasonCodes?: LambdaFunctionRecommendationFindingReasonCode[] | undefined;
|
|
772
|
+
memorySizeRecommendationOptions?: LambdaFunctionMemoryRecommendationOption[] | undefined;
|
|
807
773
|
currentPerformanceRisk?: CurrentPerformanceRisk | undefined;
|
|
808
|
-
effectiveRecommendationPreferences?:
|
|
809
|
-
| LambdaEffectiveRecommendationPreferences
|
|
810
|
-
| undefined;
|
|
774
|
+
effectiveRecommendationPreferences?: LambdaEffectiveRecommendationPreferences | undefined;
|
|
811
775
|
tags?: Tag[] | undefined;
|
|
812
776
|
}
|
|
813
777
|
export interface GetLambdaFunctionRecommendationsResponse {
|
|
@@ -877,9 +841,7 @@ export interface RDSDatabaseRecommendedOptionProjectedMetric {
|
|
|
877
841
|
projectedMetrics?: RDSDatabaseProjectedMetric[] | undefined;
|
|
878
842
|
}
|
|
879
843
|
export interface GetRDSDatabaseRecommendationProjectedMetricsResponse {
|
|
880
|
-
recommendedOptionProjectedMetrics?:
|
|
881
|
-
| RDSDatabaseRecommendedOptionProjectedMetric[]
|
|
882
|
-
| undefined;
|
|
844
|
+
recommendedOptionProjectedMetrics?: RDSDatabaseRecommendedOptionProjectedMetric[] | undefined;
|
|
883
845
|
}
|
|
884
846
|
export interface GetRDSDatabaseRecommendationsRequest {
|
|
885
847
|
resourceArns?: string[] | undefined;
|
|
@@ -924,9 +886,7 @@ export interface RDSDBInstanceRecommendationOption {
|
|
|
924
886
|
performanceRisk?: number | undefined;
|
|
925
887
|
rank?: number | undefined;
|
|
926
888
|
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
927
|
-
savingsOpportunityAfterDiscounts?:
|
|
928
|
-
| RDSInstanceSavingsOpportunityAfterDiscounts
|
|
929
|
-
| undefined;
|
|
889
|
+
savingsOpportunityAfterDiscounts?: RDSInstanceSavingsOpportunityAfterDiscounts | undefined;
|
|
930
890
|
}
|
|
931
891
|
export interface RDSStorageEstimatedMonthlySavings {
|
|
932
892
|
currency?: Currency | undefined;
|
|
@@ -940,12 +900,8 @@ export interface RDSDBStorageRecommendationOption {
|
|
|
940
900
|
storageConfiguration?: DBStorageConfiguration | undefined;
|
|
941
901
|
rank?: number | undefined;
|
|
942
902
|
savingsOpportunity?: SavingsOpportunity | undefined;
|
|
943
|
-
savingsOpportunityAfterDiscounts?:
|
|
944
|
-
|
|
945
|
-
| undefined;
|
|
946
|
-
estimatedMonthlyVolumeIOPsCostVariation?:
|
|
947
|
-
| RDSEstimatedMonthlyVolumeIOPsCostVariation
|
|
948
|
-
| undefined;
|
|
903
|
+
savingsOpportunityAfterDiscounts?: RDSStorageSavingsOpportunityAfterDiscounts | undefined;
|
|
904
|
+
estimatedMonthlyVolumeIOPsCostVariation?: RDSEstimatedMonthlyVolumeIOPsCostVariation | undefined;
|
|
949
905
|
}
|
|
950
906
|
export interface RDSDBRecommendation {
|
|
951
907
|
resourceArn?: string | undefined;
|
|
@@ -960,21 +916,15 @@ export interface RDSDBRecommendation {
|
|
|
960
916
|
instanceFinding?: RDSInstanceFinding | undefined;
|
|
961
917
|
storageFinding?: RDSStorageFinding | undefined;
|
|
962
918
|
instanceFindingReasonCodes?: RDSInstanceFindingReasonCode[] | undefined;
|
|
963
|
-
currentInstancePerformanceRisk?:
|
|
964
|
-
| RDSCurrentInstancePerformanceRisk
|
|
965
|
-
| undefined;
|
|
919
|
+
currentInstancePerformanceRisk?: RDSCurrentInstancePerformanceRisk | undefined;
|
|
966
920
|
currentStorageEstimatedMonthlyVolumeIOPsCostVariation?:
|
|
967
921
|
| RDSEstimatedMonthlyVolumeIOPsCostVariation
|
|
968
922
|
| undefined;
|
|
969
923
|
storageFindingReasonCodes?: RDSStorageFindingReasonCode[] | undefined;
|
|
970
|
-
instanceRecommendationOptions?:
|
|
971
|
-
| RDSDBInstanceRecommendationOption[]
|
|
972
|
-
| undefined;
|
|
924
|
+
instanceRecommendationOptions?: RDSDBInstanceRecommendationOption[] | undefined;
|
|
973
925
|
storageRecommendationOptions?: RDSDBStorageRecommendationOption[] | undefined;
|
|
974
926
|
utilizationMetrics?: RDSDBUtilizationMetric[] | undefined;
|
|
975
|
-
effectiveRecommendationPreferences?:
|
|
976
|
-
| RDSEffectiveRecommendationPreferences
|
|
977
|
-
| undefined;
|
|
927
|
+
effectiveRecommendationPreferences?: RDSEffectiveRecommendationPreferences | undefined;
|
|
978
928
|
lookbackPeriodInDays?: number | undefined;
|
|
979
929
|
lastRefreshTimestamp?: Date | undefined;
|
|
980
930
|
tags?: Tag[] | undefined;
|
|
@@ -1003,9 +953,7 @@ export interface RecommendationPreferencesDetail {
|
|
|
1003
953
|
}
|
|
1004
954
|
export interface GetRecommendationPreferencesResponse {
|
|
1005
955
|
nextToken?: string | undefined;
|
|
1006
|
-
recommendationPreferencesDetails?:
|
|
1007
|
-
| RecommendationPreferencesDetail[]
|
|
1008
|
-
| undefined;
|
|
956
|
+
recommendationPreferencesDetails?: RecommendationPreferencesDetail[] | undefined;
|
|
1009
957
|
}
|
|
1010
958
|
export interface GetRecommendationSummariesRequest {
|
|
1011
959
|
accountIds?: string[] | undefined;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { ComputeOptimizerClient } from "../ComputeOptimizerClient";
|
|
3
|
-
export interface ComputeOptimizerPaginationConfiguration
|
|
4
|
-
extends PaginationConfiguration {
|
|
3
|
+
export interface ComputeOptimizerPaginationConfiguration extends PaginationConfiguration {
|
|
5
4
|
client: ComputeOptimizerClient;
|
|
6
5
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { ComputeOptimizerClientConfig } from "./ComputeOptimizerClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: ComputeOptimizerClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -10,24 +8,16 @@ export declare const getRuntimeConfig: (
|
|
|
10
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
9
|
credentialDefaultProvider:
|
|
12
10
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
-
| ((
|
|
14
|
-
_: unknown
|
|
15
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
16
12
|
defaultUserAgentProvider: (
|
|
17
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
13
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
18
14
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
15
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
16
|
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
-
requestHandler:
|
|
22
|
-
| import("@smithy/core/protocols").HttpHandler<any>
|
|
23
|
-
| RequestHandler;
|
|
17
|
+
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
24
18
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
19
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
20
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
21
|
) => Promise<Uint8Array>;
|
|
32
22
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
33
23
|
(boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
@@ -55,13 +45,8 @@ export declare const getRuntimeConfig: (
|
|
|
55
45
|
logger: import("@smithy/types").Logger;
|
|
56
46
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
userAgentAppId?:
|
|
59
|
-
|
|
60
|
-
| undefined
|
|
61
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
62
|
-
retryStrategy?:
|
|
63
|
-
| import("@smithy/types").RetryStrategy
|
|
64
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
48
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
49
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
65
50
|
endpoint?:
|
|
66
51
|
| ((
|
|
67
52
|
| string
|
|
@@ -83,7 +68,7 @@ export declare const getRuntimeConfig: (
|
|
|
83
68
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
84
69
|
context?: {
|
|
85
70
|
logger?: import("@smithy/types").Logger;
|
|
86
|
-
}
|
|
71
|
+
},
|
|
87
72
|
) => import("@smithy/types").EndpointV2;
|
|
88
73
|
tls?: boolean;
|
|
89
74
|
serviceConfiguredEndpoint?: never;
|
|
@@ -96,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
96
81
|
signer?:
|
|
97
82
|
| import("@smithy/types").RequestSigner
|
|
98
83
|
| ((
|
|
99
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
100
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
101
86
|
signingEscapePath?: boolean;
|
|
102
87
|
systemClockOffset?: number;
|
|
103
88
|
signingRegion?: string;
|
|
104
89
|
signerConstructor?: new (
|
|
105
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
106
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
107
92
|
) => import("@smithy/types").RequestSigner;
|
|
108
93
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
2
|
import { ComputeOptimizerClientConfig } from "./ComputeOptimizerClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: ComputeOptimizerClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) => {
|
|
6
4
|
runtime: string;
|
|
7
5
|
defaultsMode: import("@smithy/types").Provider<
|
|
8
6
|
import("@smithy/core/client").ResolvedDefaultsMode
|
|
@@ -12,23 +10,17 @@ export declare const getRuntimeConfig: (
|
|
|
12
10
|
credentialDefaultProvider:
|
|
13
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
14
12
|
| ((
|
|
15
|
-
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
13
|
+
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
16
14
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
17
15
|
defaultUserAgentProvider: (
|
|
18
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
19
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
20
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
21
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
22
|
-
requestHandler:
|
|
23
|
-
| RequestHandler
|
|
24
|
-
| import("@smithy/core/protocols").HttpHandler<any>;
|
|
20
|
+
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
25
21
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
22
|
streamCollector: (
|
|
27
|
-
stream:
|
|
28
|
-
| import("stream").Readable
|
|
29
|
-
| import("stream/web").ReadableStream
|
|
30
|
-
| ReadableStream
|
|
31
|
-
| Blob
|
|
23
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
32
24
|
) => Promise<Uint8Array>;
|
|
33
25
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
26
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
@@ -55,9 +47,7 @@ export declare const getRuntimeConfig: (
|
|
|
55
47
|
logger: import("@smithy/types").Logger;
|
|
56
48
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
57
49
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
58
|
-
retryStrategy?:
|
|
59
|
-
| import("@smithy/types").RetryStrategy
|
|
60
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
50
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
61
51
|
endpoint?:
|
|
62
52
|
| ((
|
|
63
53
|
| string
|
|
@@ -79,7 +69,7 @@ export declare const getRuntimeConfig: (
|
|
|
79
69
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
80
70
|
context?: {
|
|
81
71
|
logger?: import("@smithy/types").Logger;
|
|
82
|
-
}
|
|
72
|
+
},
|
|
83
73
|
) => import("@smithy/types").EndpointV2;
|
|
84
74
|
tls?: boolean;
|
|
85
75
|
serviceConfiguredEndpoint?: never;
|
|
@@ -91,13 +81,13 @@ export declare const getRuntimeConfig: (
|
|
|
91
81
|
signer?:
|
|
92
82
|
| import("@smithy/types").RequestSigner
|
|
93
83
|
| ((
|
|
94
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
95
85
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
96
86
|
signingEscapePath?: boolean;
|
|
97
87
|
systemClockOffset?: number;
|
|
98
88
|
signingRegion?: string;
|
|
99
89
|
signerConstructor?: new (
|
|
100
90
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
101
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
91
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
102
92
|
) => import("@smithy/types").RequestSigner;
|
|
103
93
|
};
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { ComputeOptimizerClientConfig } from "./ComputeOptimizerClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: ComputeOptimizerClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) => {
|
|
5
3
|
runtime: string;
|
|
6
4
|
requestHandler:
|
|
7
5
|
| import("@smithy/types").NodeHttpHandlerOptions
|
|
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
|
|
|
23
21
|
urlParser: import("@smithy/types").UrlParser;
|
|
24
22
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
25
23
|
streamCollector: (
|
|
26
|
-
stream:
|
|
27
|
-
| import("stream").Readable
|
|
28
|
-
| import("stream/web").ReadableStream
|
|
29
|
-
| ReadableStream
|
|
30
|
-
| Blob
|
|
24
|
+
stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
|
|
31
25
|
) => Promise<Uint8Array>;
|
|
32
26
|
base64Decoder: import("@smithy/types").Decoder;
|
|
33
27
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -42,30 +36,21 @@ export declare const getRuntimeConfig: (
|
|
|
42
36
|
region: string | import("@smithy/types").Provider<any>;
|
|
43
37
|
profile?: string;
|
|
44
38
|
defaultUserAgentProvider: (
|
|
45
|
-
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
39
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
46
40
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
47
41
|
credentialDefaultProvider:
|
|
48
42
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
49
|
-
| ((
|
|
50
|
-
_: unknown
|
|
51
|
-
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
43
|
+
| ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
52
44
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
53
45
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
54
46
|
logger: import("@smithy/types").Logger;
|
|
55
47
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
56
48
|
defaultsMode:
|
|
57
49
|
| import("@smithy/core/client").DefaultsMode
|
|
58
|
-
| import("@smithy/types").Provider<
|
|
59
|
-
import("@smithy/core/client").DefaultsMode
|
|
60
|
-
>;
|
|
50
|
+
| import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
|
|
61
51
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
62
|
-
userAgentAppId?:
|
|
63
|
-
|
|
64
|
-
| undefined
|
|
65
|
-
| import("@smithy/types").Provider<string | undefined>;
|
|
66
|
-
retryStrategy?:
|
|
67
|
-
| import("@smithy/types").RetryStrategy
|
|
68
|
-
| import("@smithy/types").RetryStrategyV2;
|
|
52
|
+
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
53
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
69
54
|
endpoint?:
|
|
70
55
|
| ((
|
|
71
56
|
| string
|
|
@@ -87,7 +72,7 @@ export declare const getRuntimeConfig: (
|
|
|
87
72
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
88
73
|
context?: {
|
|
89
74
|
logger?: import("@smithy/types").Logger;
|
|
90
|
-
}
|
|
75
|
+
},
|
|
91
76
|
) => import("@smithy/types").EndpointV2;
|
|
92
77
|
tls?: boolean;
|
|
93
78
|
serviceConfiguredEndpoint?: never;
|
|
@@ -100,13 +85,13 @@ export declare const getRuntimeConfig: (
|
|
|
100
85
|
signer?:
|
|
101
86
|
| import("@smithy/types").RequestSigner
|
|
102
87
|
| ((
|
|
103
|
-
authScheme?: import("@smithy/types").AuthScheme
|
|
88
|
+
authScheme?: import("@smithy/types").AuthScheme,
|
|
104
89
|
) => Promise<import("@smithy/types").RequestSigner>);
|
|
105
90
|
signingEscapePath?: boolean;
|
|
106
91
|
systemClockOffset?: number;
|
|
107
92
|
signingRegion?: string;
|
|
108
93
|
signerConstructor?: new (
|
|
109
94
|
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
110
|
-
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
95
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit,
|
|
111
96
|
) => import("@smithy/types").RequestSigner;
|
|
112
97
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
2
2
|
import { ComputeOptimizerClientConfig } from "./ComputeOptimizerClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: ComputeOptimizerClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) => {
|
|
6
4
|
apiVersion: string;
|
|
7
5
|
base64Decoder: import("@smithy/types").Decoder;
|
|
8
6
|
base64Encoder: (_input: Uint8Array | string) => string;
|
|
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
|
|
|
11
9
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
12
10
|
context?: {
|
|
13
11
|
logger?: import("@smithy/types").Logger;
|
|
14
|
-
}
|
|
12
|
+
},
|
|
15
13
|
) => import("@smithy/types").EndpointV2;
|
|
16
14
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
17
15
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").ComputeOptimizerHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { ComputeOptimizerExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: ComputeOptimizerExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: ComputeOptimizerExtensionConfiguration): void;
|
|
6
4
|
}
|
|
7
5
|
export interface RuntimeExtensionsConfig {
|
|
8
6
|
extensions: RuntimeExtension[];
|
|
9
7
|
}
|
|
10
8
|
export declare const resolveRuntimeExtensions: (
|
|
11
9
|
runtimeConfig: any,
|
|
12
|
-
extensions: RuntimeExtension[]
|
|
10
|
+
extensions: RuntimeExtension[],
|
|
13
11
|
) => any;
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
2
|
-
import {
|
|
3
|
-
StaticErrorSchema,
|
|
4
|
-
StaticOperationSchema,
|
|
5
|
-
StaticStructureSchema,
|
|
6
|
-
} from "@smithy/types";
|
|
2
|
+
import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
7
3
|
export declare var ComputeOptimizerServiceException$: StaticErrorSchema;
|
|
8
4
|
export declare var AccessDeniedException$: StaticErrorSchema;
|
|
9
5
|
export declare var InternalServerException$: StaticErrorSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-compute-optimizer",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Compute Optimizer Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-compute-optimizer",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"author": {
|
|
8
|
+
"name": "AWS SDK for JavaScript Team",
|
|
9
|
+
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
14
|
+
"directory": "clients/client-compute-optimizer"
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist-*/**"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"main": "./dist-cjs/index.js",
|
|
21
|
+
"module": "./dist-es/index.js",
|
|
22
|
+
"browser": {
|
|
23
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
24
|
+
},
|
|
25
|
+
"types": "./dist-types/index.d.ts",
|
|
26
|
+
"typesVersions": {
|
|
27
|
+
"<4.5": {
|
|
28
|
+
"dist-types/*": [
|
|
29
|
+
"dist-types/ts3.4/*"
|
|
30
|
+
]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"react-native": {
|
|
34
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
35
|
+
},
|
|
5
36
|
"scripts": {
|
|
6
37
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
38
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -14,18 +45,14 @@
|
|
|
14
45
|
"generate:client": "node ../../scripts/generate-clients/single-service",
|
|
15
46
|
"test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
|
|
16
47
|
},
|
|
17
|
-
"main": "./dist-cjs/index.js",
|
|
18
|
-
"types": "./dist-types/index.d.ts",
|
|
19
|
-
"module": "./dist-es/index.js",
|
|
20
|
-
"sideEffects": false,
|
|
21
48
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.16.
|
|
49
|
+
"@aws-sdk/core": "^3.975.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.69",
|
|
51
|
+
"@aws-sdk/types": "^3.974.2",
|
|
52
|
+
"@smithy/core": "^3.29.4",
|
|
53
|
+
"@smithy/fetch-http-handler": "^5.6.6",
|
|
54
|
+
"@smithy/node-http-handler": "^4.9.6",
|
|
55
|
+
"@smithy/types": "^4.16.1",
|
|
29
56
|
"tslib": "^2.6.2"
|
|
30
57
|
},
|
|
31
58
|
"devDependencies": {
|
|
@@ -38,32 +65,5 @@
|
|
|
38
65
|
},
|
|
39
66
|
"engines": {
|
|
40
67
|
"node": ">=20.0.0"
|
|
41
|
-
},
|
|
42
|
-
"typesVersions": {
|
|
43
|
-
"<4.5": {
|
|
44
|
-
"dist-types/*": [
|
|
45
|
-
"dist-types/ts3.4/*"
|
|
46
|
-
]
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
"files": [
|
|
50
|
-
"dist-*/**"
|
|
51
|
-
],
|
|
52
|
-
"author": {
|
|
53
|
-
"name": "AWS SDK for JavaScript Team",
|
|
54
|
-
"url": "https://aws.amazon.com/sdk-for-javascript/"
|
|
55
|
-
},
|
|
56
|
-
"license": "Apache-2.0",
|
|
57
|
-
"browser": {
|
|
58
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
59
|
-
},
|
|
60
|
-
"react-native": {
|
|
61
|
-
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
62
|
-
},
|
|
63
|
-
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-compute-optimizer",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-compute-optimizer"
|
|
68
68
|
}
|
|
69
69
|
}
|