@aws-sdk/client-cost-optimization-hub 3.529.1 → 3.535.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-types/CostOptimizationHub.d.ts +5 -1
- package/dist-types/CostOptimizationHubClient.d.ts +1 -1
- package/dist-types/commands/GetPreferencesCommand.d.ts +2 -1
- package/dist-types/commands/GetRecommendationCommand.d.ts +2 -1
- package/dist-types/commands/ListEnrollmentStatusesCommand.d.ts +2 -1
- package/dist-types/commands/ListRecommendationSummariesCommand.d.ts +2 -1
- package/dist-types/commands/ListRecommendationsCommand.d.ts +2 -1
- package/dist-types/commands/UpdateEnrollmentStatusCommand.d.ts +2 -1
- package/dist-types/commands/UpdatePreferencesCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +319 -319
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/ts3.4/CostOptimizationHub.d.ts +4 -0
- package/dist-types/ts3.4/commands/GetPreferencesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListEnrollmentStatusesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRecommendationSummariesCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdateEnrollmentStatusCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/UpdatePreferencesCommand.d.ts +9 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -2
- package/package.json +40 -40
|
@@ -11,6 +11,7 @@ export interface CostOptimizationHub {
|
|
|
11
11
|
/**
|
|
12
12
|
* @see {@link GetPreferencesCommand}
|
|
13
13
|
*/
|
|
14
|
+
getPreferences(): Promise<GetPreferencesCommandOutput>;
|
|
14
15
|
getPreferences(args: GetPreferencesCommandInput, options?: __HttpHandlerOptions): Promise<GetPreferencesCommandOutput>;
|
|
15
16
|
getPreferences(args: GetPreferencesCommandInput, cb: (err: any, data?: GetPreferencesCommandOutput) => void): void;
|
|
16
17
|
getPreferences(args: GetPreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPreferencesCommandOutput) => void): void;
|
|
@@ -23,12 +24,14 @@ export interface CostOptimizationHub {
|
|
|
23
24
|
/**
|
|
24
25
|
* @see {@link ListEnrollmentStatusesCommand}
|
|
25
26
|
*/
|
|
27
|
+
listEnrollmentStatuses(): Promise<ListEnrollmentStatusesCommandOutput>;
|
|
26
28
|
listEnrollmentStatuses(args: ListEnrollmentStatusesCommandInput, options?: __HttpHandlerOptions): Promise<ListEnrollmentStatusesCommandOutput>;
|
|
27
29
|
listEnrollmentStatuses(args: ListEnrollmentStatusesCommandInput, cb: (err: any, data?: ListEnrollmentStatusesCommandOutput) => void): void;
|
|
28
30
|
listEnrollmentStatuses(args: ListEnrollmentStatusesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEnrollmentStatusesCommandOutput) => void): void;
|
|
29
31
|
/**
|
|
30
32
|
* @see {@link ListRecommendationsCommand}
|
|
31
33
|
*/
|
|
34
|
+
listRecommendations(): Promise<ListRecommendationsCommandOutput>;
|
|
32
35
|
listRecommendations(args: ListRecommendationsCommandInput, options?: __HttpHandlerOptions): Promise<ListRecommendationsCommandOutput>;
|
|
33
36
|
listRecommendations(args: ListRecommendationsCommandInput, cb: (err: any, data?: ListRecommendationsCommandOutput) => void): void;
|
|
34
37
|
listRecommendations(args: ListRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecommendationsCommandOutput) => void): void;
|
|
@@ -47,12 +50,12 @@ export interface CostOptimizationHub {
|
|
|
47
50
|
/**
|
|
48
51
|
* @see {@link UpdatePreferencesCommand}
|
|
49
52
|
*/
|
|
53
|
+
updatePreferences(): Promise<UpdatePreferencesCommandOutput>;
|
|
50
54
|
updatePreferences(args: UpdatePreferencesCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePreferencesCommandOutput>;
|
|
51
55
|
updatePreferences(args: UpdatePreferencesCommandInput, cb: (err: any, data?: UpdatePreferencesCommandOutput) => void): void;
|
|
52
56
|
updatePreferences(args: UpdatePreferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePreferencesCommandOutput) => void): void;
|
|
53
57
|
}
|
|
54
58
|
/**
|
|
55
|
-
* @public
|
|
56
59
|
* <p>You can use the Cost Optimization Hub API to programmatically identify, filter, aggregate,
|
|
57
60
|
* and quantify savings for your cost optimization recommendations across multiple Amazon Web Services Regions and Amazon Web Services accounts in your organization.</p>
|
|
58
61
|
* <p>The Cost Optimization Hub API provides the following endpoint:</p>
|
|
@@ -61,6 +64,7 @@ export interface CostOptimizationHub {
|
|
|
61
64
|
* <p> https://cost-optimization-hub.us-east-1.amazonaws.com </p>
|
|
62
65
|
* </li>
|
|
63
66
|
* </ul>
|
|
67
|
+
* @public
|
|
64
68
|
*/
|
|
65
69
|
export declare class CostOptimizationHub extends CostOptimizationHubClient implements CostOptimizationHub {
|
|
66
70
|
}
|
|
@@ -158,7 +158,6 @@ export type CostOptimizationHubClientResolvedConfigType = __SmithyResolvedConfig
|
|
|
158
158
|
export interface CostOptimizationHubClientResolvedConfig extends CostOptimizationHubClientResolvedConfigType {
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
161
|
-
* @public
|
|
162
161
|
* <p>You can use the Cost Optimization Hub API to programmatically identify, filter, aggregate,
|
|
163
162
|
* and quantify savings for your cost optimization recommendations across multiple Amazon Web Services Regions and Amazon Web Services accounts in your organization.</p>
|
|
164
163
|
* <p>The Cost Optimization Hub API provides the following endpoint:</p>
|
|
@@ -167,6 +166,7 @@ export interface CostOptimizationHubClientResolvedConfig extends CostOptimizatio
|
|
|
167
166
|
* <p> https://cost-optimization-hub.us-east-1.amazonaws.com </p>
|
|
168
167
|
* </li>
|
|
169
168
|
* </ul>
|
|
169
|
+
* @public
|
|
170
170
|
*/
|
|
171
171
|
export declare class CostOptimizationHubClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CostOptimizationHubClientResolvedConfig> {
|
|
172
172
|
/**
|
|
@@ -22,10 +22,10 @@ export interface GetPreferencesCommandOutput extends GetPreferencesResponse, __M
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetPreferencesCommand_base: {
|
|
24
24
|
new (input: GetPreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [GetPreferencesCommandInput]): import("@smithy/smithy-client").CommandImpl<GetPreferencesCommandInput, GetPreferencesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns a set of preferences for an account in order to add account-specific preferences
|
|
30
30
|
* into the service. These preferences impact how the savings associated with recommendations are
|
|
31
31
|
* presented—estimated savings after discounts or estimated savings before discounts, for
|
|
@@ -69,6 +69,7 @@ declare const GetPreferencesCommand_base: {
|
|
|
69
69
|
* @throws {@link CostOptimizationHubServiceException}
|
|
70
70
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
71
71
|
*
|
|
72
|
+
* @public
|
|
72
73
|
*/
|
|
73
74
|
export declare class GetPreferencesCommand extends GetPreferencesCommand_base {
|
|
74
75
|
}
|
|
@@ -22,10 +22,10 @@ export interface GetRecommendationCommandOutput extends GetRecommendationRespons
|
|
|
22
22
|
}
|
|
23
23
|
declare const GetRecommendationCommand_base: {
|
|
24
24
|
new (input: GetRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: GetRecommendationCommandInput): import("@smithy/smithy-client").CommandImpl<GetRecommendationCommandInput, GetRecommendationCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns both the current and recommended resource configuration and the estimated cost
|
|
30
30
|
* impact for a recommendation.</p>
|
|
31
31
|
* <p>The <code>recommendationId</code> is only valid for up to a maximum of 24 hours as
|
|
@@ -627,6 +627,7 @@ declare const GetRecommendationCommand_base: {
|
|
|
627
627
|
* @throws {@link CostOptimizationHubServiceException}
|
|
628
628
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
629
629
|
*
|
|
630
|
+
* @public
|
|
630
631
|
*/
|
|
631
632
|
export declare class GetRecommendationCommand extends GetRecommendationCommand_base {
|
|
632
633
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListEnrollmentStatusesCommandOutput extends ListEnrollmentStatu
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListEnrollmentStatusesCommand_base: {
|
|
24
24
|
new (input: ListEnrollmentStatusesCommandInput): import("@smithy/smithy-client").CommandImpl<ListEnrollmentStatusesCommandInput, ListEnrollmentStatusesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListEnrollmentStatusesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListEnrollmentStatusesCommandInput, ListEnrollmentStatusesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Retrieves the enrollment status for an account. It can also return the list of accounts
|
|
30
30
|
* that are enrolled under the organization.</p>
|
|
31
31
|
* @example
|
|
@@ -80,6 +80,7 @@ declare const ListEnrollmentStatusesCommand_base: {
|
|
|
80
80
|
* @throws {@link CostOptimizationHubServiceException}
|
|
81
81
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
82
82
|
*
|
|
83
|
+
* @public
|
|
83
84
|
*/
|
|
84
85
|
export declare class ListEnrollmentStatusesCommand extends ListEnrollmentStatusesCommand_base {
|
|
85
86
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListRecommendationSummariesCommandOutput extends ListRecommenda
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListRecommendationSummariesCommand_base: {
|
|
24
24
|
new (input: ListRecommendationSummariesCommandInput): import("@smithy/smithy-client").CommandImpl<ListRecommendationSummariesCommandInput, ListRecommendationSummariesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: ListRecommendationSummariesCommandInput): import("@smithy/smithy-client").CommandImpl<ListRecommendationSummariesCommandInput, ListRecommendationSummariesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns a concise representation of savings estimates for resources. Also returns de-duped
|
|
30
30
|
* savings across different types of recommendations.</p>
|
|
31
31
|
* <note>
|
|
@@ -118,6 +118,7 @@ declare const ListRecommendationSummariesCommand_base: {
|
|
|
118
118
|
* @throws {@link CostOptimizationHubServiceException}
|
|
119
119
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
120
120
|
*
|
|
121
|
+
* @public
|
|
121
122
|
*/
|
|
122
123
|
export declare class ListRecommendationSummariesCommand extends ListRecommendationSummariesCommand_base {
|
|
123
124
|
}
|
|
@@ -22,10 +22,10 @@ export interface ListRecommendationsCommandOutput extends ListRecommendationsRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const ListRecommendationsCommand_base: {
|
|
24
24
|
new (input: ListRecommendationsCommandInput): import("@smithy/smithy-client").CommandImpl<ListRecommendationsCommandInput, ListRecommendationsCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [ListRecommendationsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListRecommendationsCommandInput, ListRecommendationsCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Returns a list of recommendations.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -137,6 +137,7 @@ declare const ListRecommendationsCommand_base: {
|
|
|
137
137
|
* @throws {@link CostOptimizationHubServiceException}
|
|
138
138
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
139
139
|
*
|
|
140
|
+
* @public
|
|
140
141
|
*/
|
|
141
142
|
export declare class ListRecommendationsCommand extends ListRecommendationsCommand_base {
|
|
142
143
|
}
|
|
@@ -22,10 +22,10 @@ export interface UpdateEnrollmentStatusCommandOutput extends UpdateEnrollmentSta
|
|
|
22
22
|
}
|
|
23
23
|
declare const UpdateEnrollmentStatusCommand_base: {
|
|
24
24
|
new (input: UpdateEnrollmentStatusCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: UpdateEnrollmentStatusCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateEnrollmentStatusCommandInput, UpdateEnrollmentStatusCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Updates the enrollment (opt in and opt out) status of an account to the Cost Optimization
|
|
30
30
|
* Hub service.</p>
|
|
31
31
|
* <p>If the account is a management account of an organization, this action can also be used to
|
|
@@ -74,6 +74,7 @@ declare const UpdateEnrollmentStatusCommand_base: {
|
|
|
74
74
|
* @throws {@link CostOptimizationHubServiceException}
|
|
75
75
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
76
76
|
*
|
|
77
|
+
* @public
|
|
77
78
|
*/
|
|
78
79
|
export declare class UpdateEnrollmentStatusCommand extends UpdateEnrollmentStatusCommand_base {
|
|
79
80
|
}
|
|
@@ -22,10 +22,10 @@ export interface UpdatePreferencesCommandOutput extends UpdatePreferencesRespons
|
|
|
22
22
|
}
|
|
23
23
|
declare const UpdatePreferencesCommand_base: {
|
|
24
24
|
new (input: UpdatePreferencesCommandInput): import("@smithy/smithy-client").CommandImpl<UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (...[input]: [] | [UpdatePreferencesCommandInput]): import("@smithy/smithy-client").CommandImpl<UpdatePreferencesCommandInput, UpdatePreferencesCommandOutput, CostOptimizationHubClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Updates a set of preferences for an account in order to add account-specific preferences
|
|
30
30
|
* into the service. These preferences impact how the savings associated with recommendations are
|
|
31
31
|
* presented.</p>
|
|
@@ -71,6 +71,7 @@ declare const UpdatePreferencesCommand_base: {
|
|
|
71
71
|
* @throws {@link CostOptimizationHubServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from CostOptimizationHub service.</p>
|
|
73
73
|
*
|
|
74
|
+
* @public
|
|
74
75
|
*/
|
|
75
76
|
export declare class UpdatePreferencesCommand extends UpdatePreferencesCommand_base {
|
|
76
77
|
}
|