@aws-sdk/client-compute-optimizer 3.194.0 → 3.195.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 +11 -0
- package/dist-cjs/ComputeOptimizerClient.js +11 -8
- package/dist-cjs/commands/DeleteRecommendationPreferencesCommand.js +10 -0
- package/dist-cjs/commands/DescribeRecommendationExportJobsCommand.js +10 -0
- package/dist-cjs/commands/ExportAutoScalingGroupRecommendationsCommand.js +10 -0
- package/dist-cjs/commands/ExportEBSVolumeRecommendationsCommand.js +10 -0
- package/dist-cjs/commands/ExportEC2InstanceRecommendationsCommand.js +10 -0
- package/dist-cjs/commands/ExportLambdaFunctionRecommendationsCommand.js +10 -0
- package/dist-cjs/commands/GetAutoScalingGroupRecommendationsCommand.js +10 -0
- package/dist-cjs/commands/GetEBSVolumeRecommendationsCommand.js +10 -0
- package/dist-cjs/commands/GetEC2InstanceRecommendationsCommand.js +10 -0
- package/dist-cjs/commands/GetEC2RecommendationProjectedMetricsCommand.js +10 -0
- package/dist-cjs/commands/GetEffectiveRecommendationPreferencesCommand.js +10 -0
- package/dist-cjs/commands/GetEnrollmentStatusCommand.js +10 -0
- package/dist-cjs/commands/GetEnrollmentStatusesForOrganizationCommand.js +10 -0
- package/dist-cjs/commands/GetLambdaFunctionRecommendationsCommand.js +10 -0
- package/dist-cjs/commands/GetRecommendationPreferencesCommand.js +10 -0
- package/dist-cjs/commands/GetRecommendationSummariesCommand.js +10 -0
- package/dist-cjs/commands/PutRecommendationPreferencesCommand.js +10 -0
- package/dist-cjs/commands/UpdateEnrollmentStatusCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/ComputeOptimizerClient.js +12 -9
- package/dist-es/commands/DeleteRecommendationPreferencesCommand.js +10 -0
- package/dist-es/commands/DescribeRecommendationExportJobsCommand.js +10 -0
- package/dist-es/commands/ExportAutoScalingGroupRecommendationsCommand.js +10 -0
- package/dist-es/commands/ExportEBSVolumeRecommendationsCommand.js +10 -0
- package/dist-es/commands/ExportEC2InstanceRecommendationsCommand.js +10 -0
- package/dist-es/commands/ExportLambdaFunctionRecommendationsCommand.js +10 -0
- package/dist-es/commands/GetAutoScalingGroupRecommendationsCommand.js +10 -0
- package/dist-es/commands/GetEBSVolumeRecommendationsCommand.js +10 -0
- package/dist-es/commands/GetEC2InstanceRecommendationsCommand.js +10 -0
- package/dist-es/commands/GetEC2RecommendationProjectedMetricsCommand.js +10 -0
- package/dist-es/commands/GetEffectiveRecommendationPreferencesCommand.js +10 -0
- package/dist-es/commands/GetEnrollmentStatusCommand.js +10 -0
- package/dist-es/commands/GetEnrollmentStatusesForOrganizationCommand.js +10 -0
- package/dist-es/commands/GetLambdaFunctionRecommendationsCommand.js +10 -0
- package/dist-es/commands/GetRecommendationPreferencesCommand.js +10 -0
- package/dist-es/commands/GetRecommendationSummariesCommand.js +10 -0
- package/dist-es/commands/PutRecommendationPreferencesCommand.js +10 -0
- package/dist-es/commands/UpdateEnrollmentStatusCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/ComputeOptimizerClient.d.ts +6 -9
- package/dist-types/commands/DeleteRecommendationPreferencesCommand.d.ts +2 -0
- package/dist-types/commands/DescribeRecommendationExportJobsCommand.d.ts +2 -0
- package/dist-types/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/ExportEBSVolumeRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/ExportEC2InstanceRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetEBSVolumeRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetEC2InstanceRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +2 -0
- package/dist-types/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +2 -0
- package/dist-types/commands/GetEnrollmentStatusCommand.d.ts +2 -0
- package/dist-types/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +2 -0
- package/dist-types/commands/GetLambdaFunctionRecommendationsCommand.d.ts +2 -0
- package/dist-types/commands/GetRecommendationPreferencesCommand.d.ts +2 -0
- package/dist-types/commands/GetRecommendationSummariesCommand.d.ts +2 -0
- package/dist-types/commands/PutRecommendationPreferencesCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/ComputeOptimizerClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/DeleteRecommendationPreferencesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeRecommendationExportJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ExportAutoScalingGroupRecommendationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ExportEBSVolumeRecommendationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ExportEC2InstanceRecommendationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ExportLambdaFunctionRecommendationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAutoScalingGroupRecommendationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEBSVolumeRecommendationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEC2InstanceRecommendationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEC2RecommendationProjectedMetricsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEffectiveRecommendationPreferencesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEnrollmentStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEnrollmentStatusesForOrganizationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetLambdaFunctionRecommendationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRecommendationPreferencesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetRecommendationSummariesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutRecommendationPreferencesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateEnrollmentStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +3 -1
- package/dist-cjs/endpoints.js +0 -340
- package/dist-es/endpoints.js +0 -336
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
@@ -29,6 +30,7 @@ export interface GetEBSVolumeRecommendationsCommandOutput extends GetEBSVolumeRe
|
|
|
29
30
|
*/
|
|
30
31
|
export declare class GetEBSVolumeRecommendationsCommand extends $Command<GetEBSVolumeRecommendationsCommandInput, GetEBSVolumeRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
31
32
|
readonly input: GetEBSVolumeRecommendationsCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
34
|
constructor(input: GetEBSVolumeRecommendationsCommandInput);
|
|
33
35
|
/**
|
|
34
36
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
@@ -29,6 +30,7 @@ export interface GetEC2InstanceRecommendationsCommandOutput extends GetEC2Instan
|
|
|
29
30
|
*/
|
|
30
31
|
export declare class GetEC2InstanceRecommendationsCommand extends $Command<GetEC2InstanceRecommendationsCommandInput, GetEC2InstanceRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
31
32
|
readonly input: GetEC2InstanceRecommendationsCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
34
|
constructor(input: GetEC2InstanceRecommendationsCommandInput);
|
|
33
35
|
/**
|
|
34
36
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
@@ -32,6 +33,7 @@ export interface GetEC2RecommendationProjectedMetricsCommandOutput extends GetEC
|
|
|
32
33
|
*/
|
|
33
34
|
export declare class GetEC2RecommendationProjectedMetricsCommand extends $Command<GetEC2RecommendationProjectedMetricsCommandInput, GetEC2RecommendationProjectedMetricsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
34
35
|
readonly input: GetEC2RecommendationProjectedMetricsCommandInput;
|
|
36
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
37
|
constructor(input: GetEC2RecommendationProjectedMetricsCommandInput);
|
|
36
38
|
/**
|
|
37
39
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
@@ -30,6 +31,7 @@ export interface GetEffectiveRecommendationPreferencesCommandOutput extends GetE
|
|
|
30
31
|
*/
|
|
31
32
|
export declare class GetEffectiveRecommendationPreferencesCommand extends $Command<GetEffectiveRecommendationPreferencesCommandInput, GetEffectiveRecommendationPreferencesCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
32
33
|
readonly input: GetEffectiveRecommendationPreferencesCommandInput;
|
|
34
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
35
|
constructor(input: GetEffectiveRecommendationPreferencesCommandInput);
|
|
34
36
|
/**
|
|
35
37
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
@@ -29,6 +30,7 @@ export interface GetEnrollmentStatusCommandOutput extends GetEnrollmentStatusRes
|
|
|
29
30
|
*/
|
|
30
31
|
export declare class GetEnrollmentStatusCommand extends $Command<GetEnrollmentStatusCommandInput, GetEnrollmentStatusCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
31
32
|
readonly input: GetEnrollmentStatusCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
34
|
constructor(input: GetEnrollmentStatusCommandInput);
|
|
33
35
|
/**
|
|
34
36
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
@@ -27,6 +28,7 @@ export interface GetEnrollmentStatusesForOrganizationCommandOutput extends GetEn
|
|
|
27
28
|
*/
|
|
28
29
|
export declare class GetEnrollmentStatusesForOrganizationCommand extends $Command<GetEnrollmentStatusesForOrganizationCommandInput, GetEnrollmentStatusesForOrganizationCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
29
30
|
readonly input: GetEnrollmentStatusesForOrganizationCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
32
|
constructor(input: GetEnrollmentStatusesForOrganizationCommandInput);
|
|
31
33
|
/**
|
|
32
34
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
@@ -29,6 +30,7 @@ export interface GetLambdaFunctionRecommendationsCommandOutput extends GetLambda
|
|
|
29
30
|
*/
|
|
30
31
|
export declare class GetLambdaFunctionRecommendationsCommand extends $Command<GetLambdaFunctionRecommendationsCommandInput, GetLambdaFunctionRecommendationsCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
31
32
|
readonly input: GetLambdaFunctionRecommendationsCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
34
|
constructor(input: GetLambdaFunctionRecommendationsCommandInput);
|
|
33
35
|
/**
|
|
34
36
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
@@ -32,6 +33,7 @@ export interface GetRecommendationPreferencesCommandOutput extends GetRecommenda
|
|
|
32
33
|
*/
|
|
33
34
|
export declare class GetRecommendationPreferencesCommand extends $Command<GetRecommendationPreferencesCommandInput, GetRecommendationPreferencesCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
34
35
|
readonly input: GetRecommendationPreferencesCommandInput;
|
|
36
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
37
|
constructor(input: GetRecommendationPreferencesCommandInput);
|
|
36
38
|
/**
|
|
37
39
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
@@ -45,6 +46,7 @@ export interface GetRecommendationSummariesCommandOutput extends GetRecommendati
|
|
|
45
46
|
*/
|
|
46
47
|
export declare class GetRecommendationSummariesCommand extends $Command<GetRecommendationSummariesCommandInput, GetRecommendationSummariesCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
47
48
|
readonly input: GetRecommendationSummariesCommandInput;
|
|
49
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
48
50
|
constructor(input: GetRecommendationSummariesCommandInput);
|
|
49
51
|
/**
|
|
50
52
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
@@ -29,6 +30,7 @@ export interface PutRecommendationPreferencesCommandOutput extends PutRecommenda
|
|
|
29
30
|
*/
|
|
30
31
|
export declare class PutRecommendationPreferencesCommand extends $Command<PutRecommendationPreferencesCommandInput, PutRecommendationPreferencesCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
31
32
|
readonly input: PutRecommendationPreferencesCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
34
|
constructor(input: PutRecommendationPreferencesCommandInput);
|
|
33
35
|
/**
|
|
34
36
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { ComputeOptimizerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ComputeOptimizerClient";
|
|
@@ -32,6 +33,7 @@ export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentSta
|
|
|
32
33
|
*/
|
|
33
34
|
export declare class UpdateEnrollmentStatusCommand extends $Command<UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput, ComputeOptimizerClientResolvedConfig> {
|
|
34
35
|
readonly input: UpdateEnrollmentStatusCommandInput;
|
|
36
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
37
|
constructor(input: UpdateEnrollmentStatusCommandInput);
|
|
36
38
|
/**
|
|
37
39
|
* @internal
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
|
|
2
|
+
export interface ClientInputEndpointParameters {
|
|
3
|
+
region?: string | Provider<string>;
|
|
4
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
5
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
endpoint?: string | Provider<string>;
|
|
7
|
+
}
|
|
8
|
+
export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
|
+
defaultSigningName: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
+
Region?: string;
|
|
16
|
+
UseDualStack?: boolean;
|
|
17
|
+
UseFIPS?: boolean;
|
|
18
|
+
Endpoint?: string;
|
|
19
|
+
}
|
|
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) =>
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
|
|
30
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
31
33
|
tls?: boolean | undefined;
|
|
32
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -26,8 +26,10 @@ export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) =>
|
|
|
26
26
|
disableHostPrefix: boolean;
|
|
27
27
|
logger: import("@aws-sdk/types").Logger;
|
|
28
28
|
serviceId: string;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
|
|
30
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
31
33
|
tls?: boolean | undefined;
|
|
32
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -23,10 +23,12 @@ export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) =>
|
|
|
23
23
|
serviceId: string;
|
|
24
24
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
26
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
27
|
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint
|
|
28
|
+
endpoint?: string | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Endpoint & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").EndpointV2 & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@aws-sdk/types").Provider<string>) | undefined;
|
|
29
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
30
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
31
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
30
32
|
tls?: boolean | undefined;
|
|
31
33
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
32
34
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -6,8 +6,10 @@ import { ComputeOptimizerClientConfig } from "./ComputeOptimizerClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: ComputeOptimizerClientConfig) => {
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
disableHostPrefix: boolean;
|
|
9
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
10
|
+
logger?: __Logger | undefined;
|
|
11
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
9
12
|
logger: __Logger;
|
|
10
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
11
13
|
serviceId: string;
|
|
12
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
13
15
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
2
|
RegionInputConfig,
|
|
5
3
|
RegionResolvedConfig,
|
|
6
4
|
} from "@aws-sdk/config-resolver";
|
|
5
|
+
import {
|
|
6
|
+
EndpointInputConfig,
|
|
7
|
+
EndpointResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-endpoint";
|
|
7
9
|
import {
|
|
8
10
|
HostHeaderInputConfig,
|
|
9
11
|
HostHeaderResolvedConfig,
|
|
@@ -37,7 +39,6 @@ import {
|
|
|
37
39
|
Logger as __Logger,
|
|
38
40
|
Provider as __Provider,
|
|
39
41
|
Provider,
|
|
40
|
-
RegionInfoProvider,
|
|
41
42
|
StreamCollector as __StreamCollector,
|
|
42
43
|
UrlParser as __UrlParser,
|
|
43
44
|
UserAgent as __UserAgent,
|
|
@@ -114,6 +115,11 @@ import {
|
|
|
114
115
|
UpdateEnrollmentStatusCommandInput,
|
|
115
116
|
UpdateEnrollmentStatusCommandOutput,
|
|
116
117
|
} from "./commands/UpdateEnrollmentStatusCommand";
|
|
118
|
+
import {
|
|
119
|
+
ClientInputEndpointParameters,
|
|
120
|
+
ClientResolvedEndpointParameters,
|
|
121
|
+
EndpointParameters,
|
|
122
|
+
} from "./endpoint/EndpointParameters";
|
|
117
123
|
export declare type ServiceInputTypes =
|
|
118
124
|
| DeleteRecommendationPreferencesCommandInput
|
|
119
125
|
| DescribeRecommendationExportJobsCommandInput
|
|
@@ -173,7 +179,6 @@ export interface ClientDefaults
|
|
|
173
179
|
serviceId?: string;
|
|
174
180
|
region?: string | __Provider<string>;
|
|
175
181
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
176
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
177
182
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
178
183
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
179
184
|
}
|
|
@@ -182,22 +187,24 @@ declare type ComputeOptimizerClientConfigType = Partial<
|
|
|
182
187
|
> &
|
|
183
188
|
ClientDefaults &
|
|
184
189
|
RegionInputConfig &
|
|
185
|
-
|
|
190
|
+
EndpointInputConfig<EndpointParameters> &
|
|
186
191
|
RetryInputConfig &
|
|
187
192
|
HostHeaderInputConfig &
|
|
188
193
|
AwsAuthInputConfig &
|
|
189
|
-
UserAgentInputConfig
|
|
194
|
+
UserAgentInputConfig &
|
|
195
|
+
ClientInputEndpointParameters;
|
|
190
196
|
export interface ComputeOptimizerClientConfig
|
|
191
197
|
extends ComputeOptimizerClientConfigType {}
|
|
192
198
|
declare type ComputeOptimizerClientResolvedConfigType =
|
|
193
199
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
194
200
|
Required<ClientDefaults> &
|
|
195
201
|
RegionResolvedConfig &
|
|
196
|
-
|
|
202
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
197
203
|
RetryResolvedConfig &
|
|
198
204
|
HostHeaderResolvedConfig &
|
|
199
205
|
AwsAuthResolvedConfig &
|
|
200
|
-
UserAgentResolvedConfig
|
|
206
|
+
UserAgentResolvedConfig &
|
|
207
|
+
ClientResolvedEndpointParameters;
|
|
201
208
|
export interface ComputeOptimizerClientResolvedConfig
|
|
202
209
|
extends ComputeOptimizerClientResolvedConfigType {}
|
|
203
210
|
export declare class ComputeOptimizerClient extends __Client<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class DeleteRecommendationPreferencesCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: DeleteRecommendationPreferencesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DeleteRecommendationPreferencesCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class DescribeRecommendationExportJobsCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: DescribeRecommendationExportJobsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DescribeRecommendationExportJobsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class ExportAutoScalingGroupRecommendationsCommand extends $Comma
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: ExportAutoScalingGroupRecommendationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ExportAutoScalingGroupRecommendationsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class ExportEBSVolumeRecommendationsCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: ExportEBSVolumeRecommendationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ExportEBSVolumeRecommendationsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class ExportEC2InstanceRecommendationsCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: ExportEC2InstanceRecommendationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ExportEC2InstanceRecommendationsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class ExportLambdaFunctionRecommendationsCommand extends $Command
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: ExportLambdaFunctionRecommendationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ExportLambdaFunctionRecommendationsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetAutoScalingGroupRecommendationsCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetAutoScalingGroupRecommendationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetAutoScalingGroupRecommendationsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetEBSVolumeRecommendationsCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetEBSVolumeRecommendationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetEBSVolumeRecommendationsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetEC2InstanceRecommendationsCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetEC2InstanceRecommendationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetEC2InstanceRecommendationsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetEC2RecommendationProjectedMetricsCommand extends $Comman
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetEC2RecommendationProjectedMetricsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetEC2RecommendationProjectedMetricsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetEffectiveRecommendationPreferencesCommand extends $Comma
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetEffectiveRecommendationPreferencesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetEffectiveRecommendationPreferencesCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetEnrollmentStatusCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetEnrollmentStatusCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetEnrollmentStatusCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetEnrollmentStatusesForOrganizationCommand extends $Comman
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetEnrollmentStatusesForOrganizationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetEnrollmentStatusesForOrganizationCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetLambdaFunctionRecommendationsCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetLambdaFunctionRecommendationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetLambdaFunctionRecommendationsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetRecommendationPreferencesCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetRecommendationPreferencesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetRecommendationPreferencesCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class GetRecommendationSummariesCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: GetRecommendationSummariesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: GetRecommendationSummariesCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class PutRecommendationPreferencesCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: PutRecommendationPreferencesCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: PutRecommendationPreferencesCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class UpdateEnrollmentStatusCommand extends $Command<
|
|
|
25
26
|
ComputeOptimizerClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: UpdateEnrollmentStatusCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: UpdateEnrollmentStatusCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EndpointParameters as __EndpointParameters,
|
|
3
|
+
Provider,
|
|
4
|
+
} from "@aws-sdk/types";
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string>;
|
|
10
|
+
}
|
|
11
|
+
export declare type ClientResolvedEndpointParameters =
|
|
12
|
+
ClientInputEndpointParameters & {
|
|
13
|
+
defaultSigningName: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
16
|
+
options: T & ClientInputEndpointParameters
|
|
17
|
+
) => T &
|
|
18
|
+
ClientInputEndpointParameters & {
|
|
19
|
+
defaultSigningName: string;
|
|
20
|
+
};
|
|
21
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
22
|
+
Region?: string;
|
|
23
|
+
UseDualStack?: boolean;
|
|
24
|
+
UseFIPS?: boolean;
|
|
25
|
+
Endpoint?: string;
|
|
26
|
+
}
|