@aws-sdk/client-cost-optimization-hub 3.478.0 → 3.481.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/commands/GetPreferencesCommand.js +18 -41
- package/dist-cjs/commands/GetRecommendationCommand.js +18 -41
- package/dist-cjs/commands/ListEnrollmentStatusesCommand.js +18 -41
- package/dist-cjs/commands/ListRecommendationSummariesCommand.js +18 -41
- package/dist-cjs/commands/ListRecommendationsCommand.js +18 -41
- package/dist-cjs/commands/UpdateEnrollmentStatusCommand.js +18 -41
- package/dist-cjs/commands/UpdatePreferencesCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-es/commands/GetPreferencesCommand.js +18 -41
- package/dist-es/commands/GetRecommendationCommand.js +18 -41
- package/dist-es/commands/ListEnrollmentStatusesCommand.js +18 -41
- package/dist-es/commands/ListRecommendationSummariesCommand.js +18 -41
- package/dist-es/commands/ListRecommendationsCommand.js +18 -41
- package/dist-es/commands/UpdateEnrollmentStatusCommand.js +18 -41
- package/dist-es/commands/UpdatePreferencesCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-types/commands/GetPreferencesCommand.d.ts +6 -21
- package/dist-types/commands/GetRecommendationCommand.d.ts +6 -21
- package/dist-types/commands/ListEnrollmentStatusesCommand.d.ts +6 -21
- package/dist-types/commands/ListRecommendationSummariesCommand.d.ts +6 -21
- package/dist-types/commands/ListRecommendationsCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +6 -21
- package/dist-types/commands/UpdatePreferencesCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/commands/GetPreferencesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEnrollmentStatusesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRecommendationSummariesCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateEnrollmentStatusCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdatePreferencesCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/package.json +9 -9
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListEnrollmentStatusesCommand, se_ListEnrollmentStatusesCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListEnrollmentStatusesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CostOptimizationHubClient";
|
|
26
|
-
const commandName = "ListEnrollmentStatusesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CostOptimizationHubService",
|
|
35
|
-
operation: "ListEnrollmentStatuses",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListEnrollmentStatusesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListEnrollmentStatusesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListEnrollmentStatusesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CostOptimizationHubService", "ListEnrollmentStatuses", {})
|
|
19
|
+
.n("CostOptimizationHubClient", "ListEnrollmentStatusesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListEnrollmentStatusesCommand)
|
|
22
|
+
.de(de_ListEnrollmentStatusesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListRecommendationSummariesCommand, se_ListRecommendationSummariesCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListRecommendationSummariesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CostOptimizationHubClient";
|
|
26
|
-
const commandName = "ListRecommendationSummariesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CostOptimizationHubService",
|
|
35
|
-
operation: "ListRecommendationSummaries",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListRecommendationSummariesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListRecommendationSummariesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListRecommendationSummariesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CostOptimizationHubService", "ListRecommendationSummaries", {})
|
|
19
|
+
.n("CostOptimizationHubClient", "ListRecommendationSummariesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListRecommendationSummariesCommand)
|
|
22
|
+
.de(de_ListRecommendationSummariesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_ListRecommendationsCommand, se_ListRecommendationsCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class ListRecommendationsCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CostOptimizationHubClient";
|
|
26
|
-
const commandName = "ListRecommendationsCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CostOptimizationHubService",
|
|
35
|
-
operation: "ListRecommendations",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_ListRecommendationsCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_ListRecommendationsCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class ListRecommendationsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CostOptimizationHubService", "ListRecommendations", {})
|
|
19
|
+
.n("CostOptimizationHubClient", "ListRecommendationsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_ListRecommendationsCommand)
|
|
22
|
+
.de(de_ListRecommendationsCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateEnrollmentStatusCommand, se_UpdateEnrollmentStatusCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateEnrollmentStatusCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CostOptimizationHubClient";
|
|
26
|
-
const commandName = "UpdateEnrollmentStatusCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CostOptimizationHubService",
|
|
35
|
-
operation: "UpdateEnrollmentStatus",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateEnrollmentStatusCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateEnrollmentStatusCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateEnrollmentStatusCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CostOptimizationHubService", "UpdateEnrollmentStatus", {})
|
|
19
|
+
.n("CostOptimizationHubClient", "UpdateEnrollmentStatusCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateEnrollmentStatusCommand)
|
|
22
|
+
.de(de_UpdateEnrollmentStatusCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdatePreferencesCommand, se_UpdatePreferencesCommand } from "../protocols/Aws_json1_0";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdatePreferencesCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CostOptimizationHubClient";
|
|
26
|
-
const commandName = "UpdatePreferencesCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CostOptimizationHubService",
|
|
35
|
-
operation: "UpdatePreferences",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdatePreferencesCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdatePreferencesCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdatePreferencesCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CostOptimizationHubService", "UpdatePreferences", {})
|
|
19
|
+
.n("CostOptimizationHubClient", "UpdatePreferencesCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdatePreferencesCommand)
|
|
22
|
+
.de(de_UpdatePreferencesCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "cost-optimization-hub",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostOptimizationHubClient";
|
|
5
4
|
import { GetPreferencesRequest, GetPreferencesResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface GetPreferencesCommandInput extends GetPreferencesRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface GetPreferencesCommandOutput extends GetPreferencesResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const GetPreferencesCommand_base: {
|
|
24
|
+
new (input: GetPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns a set of preferences for an account in order to add account-specific preferences
|
|
@@ -67,23 +70,5 @@ export interface GetPreferencesCommandOutput extends GetPreferencesResponse, __M
|
|
|
67
70
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
68
71
|
*
|
|
69
72
|
*/
|
|
70
|
-
export declare class GetPreferencesCommand extends
|
|
71
|
-
readonly input: GetPreferencesCommandInput;
|
|
72
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
-
/**
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
constructor(input: GetPreferencesCommandInput);
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostOptimizationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetPreferencesCommandInput, GetPreferencesCommandOutput>;
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
private serialize;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
private deserialize;
|
|
73
|
+
export declare class GetPreferencesCommand extends GetPreferencesCommand_base {
|
|
89
74
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostOptimizationHubClient";
|
|
5
4
|
import { GetRecommendationRequest, GetRecommendationResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface GetRecommendationCommandInput extends GetRecommendationRequest
|
|
|
21
20
|
*/
|
|
22
21
|
export interface GetRecommendationCommandOutput extends GetRecommendationResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const GetRecommendationCommand_base: {
|
|
24
|
+
new (input: GetRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns both the current and recommended resource configuration and the estimated cost
|
|
@@ -625,23 +628,5 @@ export interface GetRecommendationCommandOutput extends GetRecommendationRespons
|
|
|
625
628
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
626
629
|
*
|
|
627
630
|
*/
|
|
628
|
-
export declare class GetRecommendationCommand extends
|
|
629
|
-
readonly input: GetRecommendationCommandInput;
|
|
630
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
631
|
-
/**
|
|
632
|
-
* @public
|
|
633
|
-
*/
|
|
634
|
-
constructor(input: GetRecommendationCommandInput);
|
|
635
|
-
/**
|
|
636
|
-
* @internal
|
|
637
|
-
*/
|
|
638
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostOptimizationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetRecommendationCommandInput, GetRecommendationCommandOutput>;
|
|
639
|
-
/**
|
|
640
|
-
* @internal
|
|
641
|
-
*/
|
|
642
|
-
private serialize;
|
|
643
|
-
/**
|
|
644
|
-
* @internal
|
|
645
|
-
*/
|
|
646
|
-
private deserialize;
|
|
631
|
+
export declare class GetRecommendationCommand extends GetRecommendationCommand_base {
|
|
647
632
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostOptimizationHubClient";
|
|
5
4
|
import { ListEnrollmentStatusesRequest, ListEnrollmentStatusesResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ListEnrollmentStatusesCommandInput extends ListEnrollmentStatus
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ListEnrollmentStatusesCommandOutput extends ListEnrollmentStatusesResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ListEnrollmentStatusesCommand_base: {
|
|
24
|
+
new (input: ListEnrollmentStatusesCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnrollmentStatusesCommandInput, ListEnrollmentStatusesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Retrieves the enrollment status for an account. It can also return the list of accounts
|
|
@@ -77,23 +80,5 @@ export interface ListEnrollmentStatusesCommandOutput extends ListEnrollmentStatu
|
|
|
77
80
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
78
81
|
*
|
|
79
82
|
*/
|
|
80
|
-
export declare class ListEnrollmentStatusesCommand extends
|
|
81
|
-
readonly input: ListEnrollmentStatusesCommandInput;
|
|
82
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
83
|
-
/**
|
|
84
|
-
* @public
|
|
85
|
-
*/
|
|
86
|
-
constructor(input: ListEnrollmentStatusesCommandInput);
|
|
87
|
-
/**
|
|
88
|
-
* @internal
|
|
89
|
-
*/
|
|
90
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostOptimizationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListEnrollmentStatusesCommandInput, ListEnrollmentStatusesCommandOutput>;
|
|
91
|
-
/**
|
|
92
|
-
* @internal
|
|
93
|
-
*/
|
|
94
|
-
private serialize;
|
|
95
|
-
/**
|
|
96
|
-
* @internal
|
|
97
|
-
*/
|
|
98
|
-
private deserialize;
|
|
83
|
+
export declare class ListEnrollmentStatusesCommand extends ListEnrollmentStatusesCommand_base {
|
|
99
84
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostOptimizationHubClient";
|
|
5
4
|
import { ListRecommendationSummariesRequest, ListRecommendationSummariesResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ListRecommendationSummariesCommandInput extends ListRecommendat
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ListRecommendationSummariesCommandOutput extends ListRecommendationSummariesResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ListRecommendationSummariesCommand_base: {
|
|
24
|
+
new (input: ListRecommendationSummariesCommandInput): import("@smithy/smithy-client").CommandImpl<ListRecommendationSummariesCommandInput, ListRecommendationSummariesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns a concise representation of savings estimates for resources. Also returns de-duped
|
|
@@ -116,23 +119,5 @@ export interface ListRecommendationSummariesCommandOutput extends ListRecommenda
|
|
|
116
119
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
117
120
|
*
|
|
118
121
|
*/
|
|
119
|
-
export declare class ListRecommendationSummariesCommand extends
|
|
120
|
-
readonly input: ListRecommendationSummariesCommandInput;
|
|
121
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
122
|
-
/**
|
|
123
|
-
* @public
|
|
124
|
-
*/
|
|
125
|
-
constructor(input: ListRecommendationSummariesCommandInput);
|
|
126
|
-
/**
|
|
127
|
-
* @internal
|
|
128
|
-
*/
|
|
129
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostOptimizationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRecommendationSummariesCommandInput, ListRecommendationSummariesCommandOutput>;
|
|
130
|
-
/**
|
|
131
|
-
* @internal
|
|
132
|
-
*/
|
|
133
|
-
private serialize;
|
|
134
|
-
/**
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
private deserialize;
|
|
122
|
+
export declare class ListRecommendationSummariesCommand extends ListRecommendationSummariesCommand_base {
|
|
138
123
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostOptimizationHubClient";
|
|
5
4
|
import { ListRecommendationsRequest, ListRecommendationsResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ListRecommendationsCommandInput extends ListRecommendationsRequ
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ListRecommendationsCommandOutput extends ListRecommendationsResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ListRecommendationsCommand_base: {
|
|
24
|
+
new (input: ListRecommendationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRecommendationsCommandInput, ListRecommendationsCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Returns a list of recommendations.</p>
|
|
@@ -135,23 +138,5 @@ export interface ListRecommendationsCommandOutput extends ListRecommendationsRes
|
|
|
135
138
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
136
139
|
*
|
|
137
140
|
*/
|
|
138
|
-
export declare class ListRecommendationsCommand extends
|
|
139
|
-
readonly input: ListRecommendationsCommandInput;
|
|
140
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
141
|
-
/**
|
|
142
|
-
* @public
|
|
143
|
-
*/
|
|
144
|
-
constructor(input: ListRecommendationsCommandInput);
|
|
145
|
-
/**
|
|
146
|
-
* @internal
|
|
147
|
-
*/
|
|
148
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostOptimizationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListRecommendationsCommandInput, ListRecommendationsCommandOutput>;
|
|
149
|
-
/**
|
|
150
|
-
* @internal
|
|
151
|
-
*/
|
|
152
|
-
private serialize;
|
|
153
|
-
/**
|
|
154
|
-
* @internal
|
|
155
|
-
*/
|
|
156
|
-
private deserialize;
|
|
141
|
+
export declare class ListRecommendationsCommand extends ListRecommendationsCommand_base {
|
|
157
142
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CostOptimizationHubClient";
|
|
5
4
|
import { UpdateEnrollmentStatusRequest, UpdateEnrollmentStatusResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface UpdateEnrollmentStatusCommandInput extends UpdateEnrollmentStat
|
|
|
21
20
|
*/
|
|
22
21
|
export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentStatusResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const UpdateEnrollmentStatusCommand_base: {
|
|
24
|
+
new (input: UpdateEnrollmentStatusCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization
|
|
@@ -72,23 +75,5 @@ export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentSta
|
|
|
72
75
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
73
76
|
*
|
|
74
77
|
*/
|
|
75
|
-
export declare class UpdateEnrollmentStatusCommand extends
|
|
76
|
-
readonly input: UpdateEnrollmentStatusCommandInput;
|
|
77
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
-
/**
|
|
79
|
-
* @public
|
|
80
|
-
*/
|
|
81
|
-
constructor(input: UpdateEnrollmentStatusCommandInput);
|
|
82
|
-
/**
|
|
83
|
-
* @internal
|
|
84
|
-
*/
|
|
85
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CostOptimizationHubClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput>;
|
|
86
|
-
/**
|
|
87
|
-
* @internal
|
|
88
|
-
*/
|
|
89
|
-
private serialize;
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
private deserialize;
|
|
78
|
+
export declare class UpdateEnrollmentStatusCommand extends UpdateEnrollmentStatusCommand_base {
|
|
94
79
|
}
|