@aws-sdk/client-cost-optimization-hub 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/CostOptimizationHub.d.ts +28 -28
- package/dist-types/ts3.4/CostOptimizationHubClient.d.ts +5 -15
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -10
- 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/GetPreferencesCommand.d.ts +3 -8
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListEfficiencyMetricsCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/ListEnrollmentStatusesCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/ListRecommendationSummariesCommand.d.ts +4 -6
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +4 -9
- package/dist-types/ts3.4/commands/UpdateEnrollmentStatusCommand.d.ts +5 -10
- package/dist-types/ts3.4/commands/UpdatePreferencesCommand.d.ts +4 -9
- 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 +5 -10
- package/dist-types/ts3.4/models/errors.d.ts +5 -15
- 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/package.json +39 -39
package/dist-cjs/index.js
CHANGED
|
@@ -40,138 +40,138 @@ export interface CostOptimizationHub {
|
|
|
40
40
|
getPreferences(): Promise<GetPreferencesCommandOutput>;
|
|
41
41
|
getPreferences(
|
|
42
42
|
args: GetPreferencesCommandInput,
|
|
43
|
-
options?: __HttpHandlerOptions
|
|
43
|
+
options?: __HttpHandlerOptions,
|
|
44
44
|
): Promise<GetPreferencesCommandOutput>;
|
|
45
45
|
getPreferences(
|
|
46
46
|
args: GetPreferencesCommandInput,
|
|
47
|
-
cb: (err: any, data?: GetPreferencesCommandOutput) => void
|
|
47
|
+
cb: (err: any, data?: GetPreferencesCommandOutput) => void,
|
|
48
48
|
): void;
|
|
49
49
|
getPreferences(
|
|
50
50
|
args: GetPreferencesCommandInput,
|
|
51
51
|
options: __HttpHandlerOptions,
|
|
52
|
-
cb: (err: any, data?: GetPreferencesCommandOutput) => void
|
|
52
|
+
cb: (err: any, data?: GetPreferencesCommandOutput) => void,
|
|
53
53
|
): void;
|
|
54
54
|
getRecommendation(
|
|
55
55
|
args: GetRecommendationCommandInput,
|
|
56
|
-
options?: __HttpHandlerOptions
|
|
56
|
+
options?: __HttpHandlerOptions,
|
|
57
57
|
): Promise<GetRecommendationCommandOutput>;
|
|
58
58
|
getRecommendation(
|
|
59
59
|
args: GetRecommendationCommandInput,
|
|
60
|
-
cb: (err: any, data?: GetRecommendationCommandOutput) => void
|
|
60
|
+
cb: (err: any, data?: GetRecommendationCommandOutput) => void,
|
|
61
61
|
): void;
|
|
62
62
|
getRecommendation(
|
|
63
63
|
args: GetRecommendationCommandInput,
|
|
64
64
|
options: __HttpHandlerOptions,
|
|
65
|
-
cb: (err: any, data?: GetRecommendationCommandOutput) => void
|
|
65
|
+
cb: (err: any, data?: GetRecommendationCommandOutput) => void,
|
|
66
66
|
): void;
|
|
67
67
|
listEfficiencyMetrics(
|
|
68
68
|
args: ListEfficiencyMetricsCommandInput,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
69
|
+
options?: __HttpHandlerOptions,
|
|
70
70
|
): Promise<ListEfficiencyMetricsCommandOutput>;
|
|
71
71
|
listEfficiencyMetrics(
|
|
72
72
|
args: ListEfficiencyMetricsCommandInput,
|
|
73
|
-
cb: (err: any, data?: ListEfficiencyMetricsCommandOutput) => void
|
|
73
|
+
cb: (err: any, data?: ListEfficiencyMetricsCommandOutput) => void,
|
|
74
74
|
): void;
|
|
75
75
|
listEfficiencyMetrics(
|
|
76
76
|
args: ListEfficiencyMetricsCommandInput,
|
|
77
77
|
options: __HttpHandlerOptions,
|
|
78
|
-
cb: (err: any, data?: ListEfficiencyMetricsCommandOutput) => void
|
|
78
|
+
cb: (err: any, data?: ListEfficiencyMetricsCommandOutput) => void,
|
|
79
79
|
): void;
|
|
80
80
|
listEnrollmentStatuses(): Promise<ListEnrollmentStatusesCommandOutput>;
|
|
81
81
|
listEnrollmentStatuses(
|
|
82
82
|
args: ListEnrollmentStatusesCommandInput,
|
|
83
|
-
options?: __HttpHandlerOptions
|
|
83
|
+
options?: __HttpHandlerOptions,
|
|
84
84
|
): Promise<ListEnrollmentStatusesCommandOutput>;
|
|
85
85
|
listEnrollmentStatuses(
|
|
86
86
|
args: ListEnrollmentStatusesCommandInput,
|
|
87
|
-
cb: (err: any, data?: ListEnrollmentStatusesCommandOutput) => void
|
|
87
|
+
cb: (err: any, data?: ListEnrollmentStatusesCommandOutput) => void,
|
|
88
88
|
): void;
|
|
89
89
|
listEnrollmentStatuses(
|
|
90
90
|
args: ListEnrollmentStatusesCommandInput,
|
|
91
91
|
options: __HttpHandlerOptions,
|
|
92
|
-
cb: (err: any, data?: ListEnrollmentStatusesCommandOutput) => void
|
|
92
|
+
cb: (err: any, data?: ListEnrollmentStatusesCommandOutput) => void,
|
|
93
93
|
): void;
|
|
94
94
|
listRecommendations(): Promise<ListRecommendationsCommandOutput>;
|
|
95
95
|
listRecommendations(
|
|
96
96
|
args: ListRecommendationsCommandInput,
|
|
97
|
-
options?: __HttpHandlerOptions
|
|
97
|
+
options?: __HttpHandlerOptions,
|
|
98
98
|
): Promise<ListRecommendationsCommandOutput>;
|
|
99
99
|
listRecommendations(
|
|
100
100
|
args: ListRecommendationsCommandInput,
|
|
101
|
-
cb: (err: any, data?: ListRecommendationsCommandOutput) => void
|
|
101
|
+
cb: (err: any, data?: ListRecommendationsCommandOutput) => void,
|
|
102
102
|
): void;
|
|
103
103
|
listRecommendations(
|
|
104
104
|
args: ListRecommendationsCommandInput,
|
|
105
105
|
options: __HttpHandlerOptions,
|
|
106
|
-
cb: (err: any, data?: ListRecommendationsCommandOutput) => void
|
|
106
|
+
cb: (err: any, data?: ListRecommendationsCommandOutput) => void,
|
|
107
107
|
): void;
|
|
108
108
|
listRecommendationSummaries(
|
|
109
109
|
args: ListRecommendationSummariesCommandInput,
|
|
110
|
-
options?: __HttpHandlerOptions
|
|
110
|
+
options?: __HttpHandlerOptions,
|
|
111
111
|
): Promise<ListRecommendationSummariesCommandOutput>;
|
|
112
112
|
listRecommendationSummaries(
|
|
113
113
|
args: ListRecommendationSummariesCommandInput,
|
|
114
|
-
cb: (err: any, data?: ListRecommendationSummariesCommandOutput) => void
|
|
114
|
+
cb: (err: any, data?: ListRecommendationSummariesCommandOutput) => void,
|
|
115
115
|
): void;
|
|
116
116
|
listRecommendationSummaries(
|
|
117
117
|
args: ListRecommendationSummariesCommandInput,
|
|
118
118
|
options: __HttpHandlerOptions,
|
|
119
|
-
cb: (err: any, data?: ListRecommendationSummariesCommandOutput) => void
|
|
119
|
+
cb: (err: any, data?: ListRecommendationSummariesCommandOutput) => void,
|
|
120
120
|
): void;
|
|
121
121
|
updateEnrollmentStatus(
|
|
122
122
|
args: UpdateEnrollmentStatusCommandInput,
|
|
123
|
-
options?: __HttpHandlerOptions
|
|
123
|
+
options?: __HttpHandlerOptions,
|
|
124
124
|
): Promise<UpdateEnrollmentStatusCommandOutput>;
|
|
125
125
|
updateEnrollmentStatus(
|
|
126
126
|
args: UpdateEnrollmentStatusCommandInput,
|
|
127
|
-
cb: (err: any, data?: UpdateEnrollmentStatusCommandOutput) => void
|
|
127
|
+
cb: (err: any, data?: UpdateEnrollmentStatusCommandOutput) => void,
|
|
128
128
|
): void;
|
|
129
129
|
updateEnrollmentStatus(
|
|
130
130
|
args: UpdateEnrollmentStatusCommandInput,
|
|
131
131
|
options: __HttpHandlerOptions,
|
|
132
|
-
cb: (err: any, data?: UpdateEnrollmentStatusCommandOutput) => void
|
|
132
|
+
cb: (err: any, data?: UpdateEnrollmentStatusCommandOutput) => void,
|
|
133
133
|
): void;
|
|
134
134
|
updatePreferences(): Promise<UpdatePreferencesCommandOutput>;
|
|
135
135
|
updatePreferences(
|
|
136
136
|
args: UpdatePreferencesCommandInput,
|
|
137
|
-
options?: __HttpHandlerOptions
|
|
137
|
+
options?: __HttpHandlerOptions,
|
|
138
138
|
): Promise<UpdatePreferencesCommandOutput>;
|
|
139
139
|
updatePreferences(
|
|
140
140
|
args: UpdatePreferencesCommandInput,
|
|
141
|
-
cb: (err: any, data?: UpdatePreferencesCommandOutput) => void
|
|
141
|
+
cb: (err: any, data?: UpdatePreferencesCommandOutput) => void,
|
|
142
142
|
): void;
|
|
143
143
|
updatePreferences(
|
|
144
144
|
args: UpdatePreferencesCommandInput,
|
|
145
145
|
options: __HttpHandlerOptions,
|
|
146
|
-
cb: (err: any, data?: UpdatePreferencesCommandOutput) => void
|
|
146
|
+
cb: (err: any, data?: UpdatePreferencesCommandOutput) => void,
|
|
147
147
|
): void;
|
|
148
148
|
paginateListEfficiencyMetrics(
|
|
149
149
|
args: ListEfficiencyMetricsCommandInput,
|
|
150
150
|
paginationConfig?: Pick<
|
|
151
151
|
PaginationConfiguration,
|
|
152
152
|
Exclude<keyof PaginationConfiguration, "client">
|
|
153
|
-
|
|
153
|
+
>,
|
|
154
154
|
): Paginator<ListEfficiencyMetricsCommandOutput>;
|
|
155
155
|
paginateListEnrollmentStatuses(
|
|
156
156
|
args?: ListEnrollmentStatusesCommandInput,
|
|
157
157
|
paginationConfig?: Pick<
|
|
158
158
|
PaginationConfiguration,
|
|
159
159
|
Exclude<keyof PaginationConfiguration, "client">
|
|
160
|
-
|
|
160
|
+
>,
|
|
161
161
|
): Paginator<ListEnrollmentStatusesCommandOutput>;
|
|
162
162
|
paginateListRecommendations(
|
|
163
163
|
args?: ListRecommendationsCommandInput,
|
|
164
164
|
paginationConfig?: Pick<
|
|
165
165
|
PaginationConfiguration,
|
|
166
166
|
Exclude<keyof PaginationConfiguration, "client">
|
|
167
|
-
|
|
167
|
+
>,
|
|
168
168
|
): Paginator<ListRecommendationsCommandOutput>;
|
|
169
169
|
paginateListRecommendationSummaries(
|
|
170
170
|
args: ListRecommendationSummariesCommandInput,
|
|
171
171
|
paginationConfig?: Pick<
|
|
172
172
|
PaginationConfiguration,
|
|
173
173
|
Exclude<keyof PaginationConfiguration, "client">
|
|
174
|
-
|
|
174
|
+
>,
|
|
175
175
|
): Paginator<ListRecommendationSummariesCommandOutput>;
|
|
176
176
|
}
|
|
177
177
|
export declare class CostOptimizationHub
|
|
@@ -11,10 +11,7 @@ import {
|
|
|
11
11
|
Client as __Client,
|
|
12
12
|
} from "@smithy/core/client";
|
|
13
13
|
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
|
|
14
|
-
import {
|
|
15
|
-
EndpointInputConfig,
|
|
16
|
-
EndpointResolvedConfig,
|
|
17
|
-
} from "@smithy/core/endpoints";
|
|
14
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
18
15
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
|
|
19
16
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
|
|
20
17
|
import {
|
|
@@ -93,8 +90,7 @@ export type ServiceOutputTypes =
|
|
|
93
90
|
| ListRecommendationsCommandOutput
|
|
94
91
|
| UpdateEnrollmentStatusCommandOutput
|
|
95
92
|
| UpdatePreferencesCommandOutput;
|
|
96
|
-
export interface ClientDefaults
|
|
97
|
-
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
93
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
98
94
|
requestHandler?: __HttpHandlerUserInput;
|
|
99
95
|
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
100
96
|
urlParser?: __UrlParser;
|
|
@@ -130,8 +126,7 @@ export type CostOptimizationHubClientConfigType = Partial<
|
|
|
130
126
|
EndpointInputConfig<EndpointParameters> &
|
|
131
127
|
HttpAuthSchemeInputConfig &
|
|
132
128
|
ClientInputEndpointParameters;
|
|
133
|
-
export interface CostOptimizationHubClientConfig
|
|
134
|
-
extends CostOptimizationHubClientConfigType {}
|
|
129
|
+
export interface CostOptimizationHubClientConfig extends CostOptimizationHubClientConfigType {}
|
|
135
130
|
export type CostOptimizationHubClientResolvedConfigType =
|
|
136
131
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
137
132
|
Required<ClientDefaults> &
|
|
@@ -143,8 +138,7 @@ export type CostOptimizationHubClientResolvedConfigType =
|
|
|
143
138
|
EndpointResolvedConfig<EndpointParameters> &
|
|
144
139
|
HttpAuthSchemeResolvedConfig &
|
|
145
140
|
ClientResolvedEndpointParameters;
|
|
146
|
-
export interface CostOptimizationHubClientResolvedConfig
|
|
147
|
-
extends CostOptimizationHubClientResolvedConfigType {}
|
|
141
|
+
export interface CostOptimizationHubClientResolvedConfig extends CostOptimizationHubClientResolvedConfigType {}
|
|
148
142
|
export declare class CostOptimizationHubClient extends __Client<
|
|
149
143
|
__HttpHandlerOptions,
|
|
150
144
|
ServiceInputTypes,
|
|
@@ -152,10 +146,6 @@ export declare class CostOptimizationHubClient extends __Client<
|
|
|
152
146
|
CostOptimizationHubClientResolvedConfig
|
|
153
147
|
> {
|
|
154
148
|
readonly config: CostOptimizationHubClientResolvedConfig;
|
|
155
|
-
constructor(
|
|
156
|
-
...[
|
|
157
|
-
configuration,
|
|
158
|
-
]: __CheckOptionalClientConfig<CostOptimizationHubClientConfig>
|
|
159
|
-
);
|
|
149
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<CostOptimizationHubClientConfig>);
|
|
160
150
|
destroy(): void;
|
|
161
151
|
}
|
|
@@ -8,16 +8,11 @@ export interface HttpAuthExtensionConfiguration {
|
|
|
8
8
|
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
9
|
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
10
|
setHttpAuthSchemeProvider(
|
|
11
|
-
httpAuthSchemeProvider: CostOptimizationHubHttpAuthSchemeProvider
|
|
11
|
+
httpAuthSchemeProvider: CostOptimizationHubHttpAuthSchemeProvider,
|
|
12
12
|
): void;
|
|
13
13
|
httpAuthSchemeProvider(): CostOptimizationHubHttpAuthSchemeProvider;
|
|
14
|
-
setCredentials(
|
|
15
|
-
|
|
16
|
-
): void;
|
|
17
|
-
credentials():
|
|
18
|
-
| AwsCredentialIdentity
|
|
19
|
-
| AwsCredentialIdentityProvider
|
|
20
|
-
| undefined;
|
|
14
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
15
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
21
16
|
}
|
|
22
17
|
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
18
|
httpAuthSchemes: HttpAuthScheme[];
|
|
@@ -25,8 +20,8 @@ export type HttpAuthRuntimeConfig = Partial<{
|
|
|
25
20
|
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
21
|
}>;
|
|
27
22
|
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
-
runtimeConfig: HttpAuthRuntimeConfig
|
|
23
|
+
runtimeConfig: HttpAuthRuntimeConfig,
|
|
29
24
|
) => HttpAuthExtensionConfiguration;
|
|
30
25
|
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
-
config: HttpAuthExtensionConfiguration
|
|
26
|
+
config: HttpAuthExtensionConfiguration,
|
|
32
27
|
) => HttpAuthRuntimeConfig;
|
|
@@ -12,36 +12,32 @@ import {
|
|
|
12
12
|
Provider,
|
|
13
13
|
} from "@smithy/types";
|
|
14
14
|
import { CostOptimizationHubClientResolvedConfig } from "../CostOptimizationHubClient";
|
|
15
|
-
export interface CostOptimizationHubHttpAuthSchemeParameters
|
|
16
|
-
extends HttpAuthSchemeParameters {
|
|
15
|
+
export interface CostOptimizationHubHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
17
16
|
region?: string;
|
|
18
17
|
}
|
|
19
|
-
export interface CostOptimizationHubHttpAuthSchemeParametersProvider
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
> {}
|
|
18
|
+
export interface CostOptimizationHubHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
|
|
19
|
+
CostOptimizationHubClientResolvedConfig,
|
|
20
|
+
HandlerExecutionContext,
|
|
21
|
+
CostOptimizationHubHttpAuthSchemeParameters,
|
|
22
|
+
object
|
|
23
|
+
> {}
|
|
26
24
|
export declare const defaultCostOptimizationHubHttpAuthSchemeParametersProvider: (
|
|
27
25
|
config: CostOptimizationHubClientResolvedConfig,
|
|
28
26
|
context: HandlerExecutionContext,
|
|
29
|
-
input: object
|
|
27
|
+
input: object,
|
|
30
28
|
) => Promise<CostOptimizationHubHttpAuthSchemeParameters>;
|
|
31
|
-
export interface CostOptimizationHubHttpAuthSchemeProvider
|
|
32
|
-
extends HttpAuthSchemeProvider<CostOptimizationHubHttpAuthSchemeParameters> {}
|
|
29
|
+
export interface CostOptimizationHubHttpAuthSchemeProvider extends HttpAuthSchemeProvider<CostOptimizationHubHttpAuthSchemeParameters> {}
|
|
33
30
|
export declare const defaultCostOptimizationHubHttpAuthSchemeProvider: CostOptimizationHubHttpAuthSchemeProvider;
|
|
34
31
|
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
35
32
|
authSchemePreference?: string[] | Provider<string[]>;
|
|
36
33
|
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
34
|
httpAuthSchemeProvider?: CostOptimizationHubHttpAuthSchemeProvider;
|
|
38
35
|
}
|
|
39
|
-
export interface HttpAuthSchemeResolvedConfig
|
|
40
|
-
extends AwsSdkSigV4AuthResolvedConfig {
|
|
36
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
41
37
|
readonly authSchemePreference: Provider<string[]>;
|
|
42
38
|
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
43
39
|
readonly httpAuthSchemeProvider: CostOptimizationHubHttpAuthSchemeProvider;
|
|
44
40
|
}
|
|
45
41
|
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
46
|
-
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
42
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
|
|
47
43
|
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -4,22 +4,21 @@ import {
|
|
|
4
4
|
ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes,
|
|
6
6
|
} from "./CostOptimizationHubClient";
|
|
7
|
-
export declare const command: <
|
|
8
|
-
I extends ServiceInputTypes,
|
|
9
|
-
O extends ServiceOutputTypes
|
|
10
|
-
>(
|
|
7
|
+
export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(
|
|
11
8
|
added: EndpointParameterInstructions,
|
|
12
9
|
plugins: (
|
|
13
10
|
CommandCtor: any,
|
|
14
11
|
clientStack: any,
|
|
15
12
|
config: any,
|
|
16
|
-
options: any
|
|
13
|
+
options: any,
|
|
17
14
|
) => import("@smithy/types").Pluggable<any, any>[],
|
|
18
15
|
op: string,
|
|
19
16
|
$: import("@smithy/types").StaticOperationSchema,
|
|
20
|
-
smithyContext?: Record<string, unknown
|
|
17
|
+
smithyContext?: Record<string, unknown>,
|
|
21
18
|
) => {
|
|
22
|
-
new (
|
|
19
|
+
new (
|
|
20
|
+
input: I,
|
|
21
|
+
): import("@smithy/core/client").CommandImpl<
|
|
23
22
|
I,
|
|
24
23
|
O,
|
|
25
24
|
CostOptimizationHubClientResolvedConfig,
|
|
@@ -38,9 +37,4 @@ export declare const command: <
|
|
|
38
37
|
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
38
|
};
|
|
40
39
|
export declare const _ep0: EndpointParameterInstructions;
|
|
41
|
-
export declare const _mw0: (
|
|
42
|
-
Command: any,
|
|
43
|
-
cs: any,
|
|
44
|
-
config: any,
|
|
45
|
-
o: any
|
|
46
|
-
) => never[];
|
|
40
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetPreferencesRequest,
|
|
4
|
-
GetPreferencesResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { GetPreferencesRequest, GetPreferencesResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
4
|
export interface GetPreferencesCommandInput extends GetPreferencesRequest {}
|
|
8
|
-
export interface GetPreferencesCommandOutput
|
|
9
|
-
extends GetPreferencesResponse,
|
|
10
|
-
__MetadataBearer {}
|
|
5
|
+
export interface GetPreferencesCommandOutput extends GetPreferencesResponse, __MetadataBearer {}
|
|
11
6
|
declare const GetPreferencesCommand_base: {
|
|
12
7
|
new (
|
|
13
|
-
input: GetPreferencesCommandInput
|
|
8
|
+
input: GetPreferencesCommandInput,
|
|
14
9
|
): import("@smithy/core/client").CommandImpl<
|
|
15
10
|
GetPreferencesCommandInput,
|
|
16
11
|
GetPreferencesCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
GetRecommendationRequest,
|
|
4
|
-
GetRecommendationResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { GetRecommendationRequest, GetRecommendationResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface GetRecommendationCommandInput
|
|
8
|
-
extends GetRecommendationRequest {}
|
|
4
|
+
export interface GetRecommendationCommandInput extends GetRecommendationRequest {}
|
|
9
5
|
export interface GetRecommendationCommandOutput
|
|
10
|
-
extends GetRecommendationResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends GetRecommendationResponse, __MetadataBearer {}
|
|
12
7
|
declare const GetRecommendationCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: GetRecommendationCommandInput
|
|
9
|
+
input: GetRecommendationCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
GetRecommendationCommandInput,
|
|
17
12
|
GetRecommendationCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const GetRecommendationCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: GetRecommendationCommandInput
|
|
18
|
+
input: GetRecommendationCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
GetRecommendationCommandInput,
|
|
26
21
|
GetRecommendationCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListEfficiencyMetricsRequest,
|
|
4
|
-
ListEfficiencyMetricsResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ListEfficiencyMetricsRequest, ListEfficiencyMetricsResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface ListEfficiencyMetricsCommandInput
|
|
8
|
-
extends ListEfficiencyMetricsRequest {}
|
|
4
|
+
export interface ListEfficiencyMetricsCommandInput extends ListEfficiencyMetricsRequest {}
|
|
9
5
|
export interface ListEfficiencyMetricsCommandOutput
|
|
10
|
-
extends ListEfficiencyMetricsResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends ListEfficiencyMetricsResponse, __MetadataBearer {}
|
|
12
7
|
declare const ListEfficiencyMetricsCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: ListEfficiencyMetricsCommandInput
|
|
9
|
+
input: ListEfficiencyMetricsCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
ListEfficiencyMetricsCommandInput,
|
|
17
12
|
ListEfficiencyMetricsCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const ListEfficiencyMetricsCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: ListEfficiencyMetricsCommandInput
|
|
18
|
+
input: ListEfficiencyMetricsCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
ListEfficiencyMetricsCommandInput,
|
|
26
21
|
ListEfficiencyMetricsCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListEnrollmentStatusesRequest,
|
|
4
|
-
ListEnrollmentStatusesResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ListEnrollmentStatusesRequest, ListEnrollmentStatusesResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface ListEnrollmentStatusesCommandInput
|
|
8
|
-
extends ListEnrollmentStatusesRequest {}
|
|
4
|
+
export interface ListEnrollmentStatusesCommandInput extends ListEnrollmentStatusesRequest {}
|
|
9
5
|
export interface ListEnrollmentStatusesCommandOutput
|
|
10
|
-
extends ListEnrollmentStatusesResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends ListEnrollmentStatusesResponse, __MetadataBearer {}
|
|
12
7
|
declare const ListEnrollmentStatusesCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: ListEnrollmentStatusesCommandInput
|
|
9
|
+
input: ListEnrollmentStatusesCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
ListEnrollmentStatusesCommandInput,
|
|
17
12
|
ListEnrollmentStatusesCommandOutput,
|
|
@@ -4,14 +4,12 @@ import {
|
|
|
4
4
|
ListRecommendationSummariesResponse,
|
|
5
5
|
} from "../models/models_0";
|
|
6
6
|
export { __MetadataBearer };
|
|
7
|
-
export interface ListRecommendationSummariesCommandInput
|
|
8
|
-
extends ListRecommendationSummariesRequest {}
|
|
7
|
+
export interface ListRecommendationSummariesCommandInput extends ListRecommendationSummariesRequest {}
|
|
9
8
|
export interface ListRecommendationSummariesCommandOutput
|
|
10
|
-
extends ListRecommendationSummariesResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
9
|
+
extends ListRecommendationSummariesResponse, __MetadataBearer {}
|
|
12
10
|
declare const ListRecommendationSummariesCommand_base: {
|
|
13
11
|
new (
|
|
14
|
-
input: ListRecommendationSummariesCommandInput
|
|
12
|
+
input: ListRecommendationSummariesCommandInput,
|
|
15
13
|
): import("@smithy/core/client").CommandImpl<
|
|
16
14
|
ListRecommendationSummariesCommandInput,
|
|
17
15
|
ListRecommendationSummariesCommandOutput,
|
|
@@ -20,7 +18,7 @@ declare const ListRecommendationSummariesCommand_base: {
|
|
|
20
18
|
import("..").ServiceOutputTypes
|
|
21
19
|
>;
|
|
22
20
|
new (
|
|
23
|
-
input: ListRecommendationSummariesCommandInput
|
|
21
|
+
input: ListRecommendationSummariesCommandInput,
|
|
24
22
|
): import("@smithy/core/client").CommandImpl<
|
|
25
23
|
ListRecommendationSummariesCommandInput,
|
|
26
24
|
ListRecommendationSummariesCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
ListRecommendationsRequest,
|
|
4
|
-
ListRecommendationsResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { ListRecommendationsRequest, ListRecommendationsResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface ListRecommendationsCommandInput
|
|
8
|
-
extends ListRecommendationsRequest {}
|
|
4
|
+
export interface ListRecommendationsCommandInput extends ListRecommendationsRequest {}
|
|
9
5
|
export interface ListRecommendationsCommandOutput
|
|
10
|
-
extends ListRecommendationsResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends ListRecommendationsResponse, __MetadataBearer {}
|
|
12
7
|
declare const ListRecommendationsCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: ListRecommendationsCommandInput
|
|
9
|
+
input: ListRecommendationsCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
ListRecommendationsCommandInput,
|
|
17
12
|
ListRecommendationsCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
UpdateEnrollmentStatusRequest,
|
|
4
|
-
UpdateEnrollmentStatusResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { UpdateEnrollmentStatusRequest, UpdateEnrollmentStatusResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface UpdateEnrollmentStatusCommandInput
|
|
8
|
-
extends UpdateEnrollmentStatusRequest {}
|
|
4
|
+
export interface UpdateEnrollmentStatusCommandInput extends UpdateEnrollmentStatusRequest {}
|
|
9
5
|
export interface UpdateEnrollmentStatusCommandOutput
|
|
10
|
-
extends UpdateEnrollmentStatusResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends UpdateEnrollmentStatusResponse, __MetadataBearer {}
|
|
12
7
|
declare const UpdateEnrollmentStatusCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: UpdateEnrollmentStatusCommandInput
|
|
9
|
+
input: UpdateEnrollmentStatusCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
UpdateEnrollmentStatusCommandInput,
|
|
17
12
|
UpdateEnrollmentStatusCommandOutput,
|
|
@@ -20,7 +15,7 @@ declare const UpdateEnrollmentStatusCommand_base: {
|
|
|
20
15
|
import("..").ServiceOutputTypes
|
|
21
16
|
>;
|
|
22
17
|
new (
|
|
23
|
-
input: UpdateEnrollmentStatusCommandInput
|
|
18
|
+
input: UpdateEnrollmentStatusCommandInput,
|
|
24
19
|
): import("@smithy/core/client").CommandImpl<
|
|
25
20
|
UpdateEnrollmentStatusCommandInput,
|
|
26
21
|
UpdateEnrollmentStatusCommandOutput,
|
|
@@ -1,17 +1,12 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import {
|
|
3
|
-
UpdatePreferencesRequest,
|
|
4
|
-
UpdatePreferencesResponse,
|
|
5
|
-
} from "../models/models_0";
|
|
2
|
+
import { UpdatePreferencesRequest, UpdatePreferencesResponse } from "../models/models_0";
|
|
6
3
|
export { __MetadataBearer };
|
|
7
|
-
export interface UpdatePreferencesCommandInput
|
|
8
|
-
extends UpdatePreferencesRequest {}
|
|
4
|
+
export interface UpdatePreferencesCommandInput extends UpdatePreferencesRequest {}
|
|
9
5
|
export interface UpdatePreferencesCommandOutput
|
|
10
|
-
extends UpdatePreferencesResponse,
|
|
11
|
-
__MetadataBearer {}
|
|
6
|
+
extends UpdatePreferencesResponse, __MetadataBearer {}
|
|
12
7
|
declare const UpdatePreferencesCommand_base: {
|
|
13
8
|
new (
|
|
14
|
-
input: UpdatePreferencesCommandInput
|
|
9
|
+
input: UpdatePreferencesCommandInput,
|
|
15
10
|
): import("@smithy/core/client").CommandImpl<
|
|
16
11
|
UpdatePreferencesCommandInput,
|
|
17
12
|
UpdatePreferencesCommandOutput,
|
|
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
|
|
|
23
23
|
defaultSigningName: string;
|
|
24
24
|
};
|
|
25
25
|
export declare const resolveClientEndpointParameters: <T>(
|
|
26
|
-
options: T & ClientInputEndpointParameters
|
|
26
|
+
options: T & ClientInputEndpointParameters,
|
|
27
27
|
) => T & ClientResolvedEndpointParameters;
|
|
28
28
|
export declare const commonParams: {
|
|
29
29
|
readonly UseFIPS: {
|
|
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
|
|
|
3
3
|
import { DefaultExtensionConfiguration } from "@smithy/types";
|
|
4
4
|
import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
|
|
5
5
|
export interface CostOptimizationHubExtensionConfiguration
|
|
6
|
-
extends
|
|
6
|
+
extends
|
|
7
|
+
HttpHandlerExtensionConfiguration,
|
|
7
8
|
DefaultExtensionConfiguration,
|
|
8
9
|
AwsRegionExtensionConfiguration,
|
|
9
10
|
HttpAuthExtensionConfiguration {}
|
|
@@ -2,8 +2,7 @@ export declare const EnrollmentStatus: {
|
|
|
2
2
|
readonly ACTIVE: "Active";
|
|
3
3
|
readonly INACTIVE: "Inactive";
|
|
4
4
|
};
|
|
5
|
-
export type EnrollmentStatus =
|
|
6
|
-
(typeof EnrollmentStatus)[keyof typeof EnrollmentStatus];
|
|
5
|
+
export type EnrollmentStatus = (typeof EnrollmentStatus)[keyof typeof EnrollmentStatus];
|
|
7
6
|
export declare const ActionType: {
|
|
8
7
|
readonly DELETE: "Delete";
|
|
9
8
|
readonly MIGRATE_TO_GRAVITON: "MigrateToGraviton";
|
|
@@ -19,8 +18,7 @@ export declare const AllocationStrategy: {
|
|
|
19
18
|
readonly LOWEST_PRICE: "LowestPrice";
|
|
20
19
|
readonly PRIORITIZED: "Prioritized";
|
|
21
20
|
};
|
|
22
|
-
export type AllocationStrategy =
|
|
23
|
-
(typeof AllocationStrategy)[keyof typeof AllocationStrategy];
|
|
21
|
+
export type AllocationStrategy = (typeof AllocationStrategy)[keyof typeof AllocationStrategy];
|
|
24
22
|
export declare const MemberAccountDiscountVisibility: {
|
|
25
23
|
readonly ALL: "All";
|
|
26
24
|
readonly NONE: "None";
|
|
@@ -91,8 +89,7 @@ export declare const ImplementationEffort: {
|
|
|
91
89
|
readonly VERY_HIGH: "VeryHigh";
|
|
92
90
|
readonly VERY_LOW: "VeryLow";
|
|
93
91
|
};
|
|
94
|
-
export type ImplementationEffort =
|
|
95
|
-
(typeof ImplementationEffort)[keyof typeof ImplementationEffort];
|
|
92
|
+
export type ImplementationEffort = (typeof ImplementationEffort)[keyof typeof ImplementationEffort];
|
|
96
93
|
export declare const Source: {
|
|
97
94
|
readonly COMPUTE_OPTIMIZER: "ComputeOptimizer";
|
|
98
95
|
readonly COST_EXPLORER: "CostExplorer";
|
|
@@ -102,8 +99,7 @@ export declare const GranularityType: {
|
|
|
102
99
|
readonly DAILY: "Daily";
|
|
103
100
|
readonly MONTHLY: "Monthly";
|
|
104
101
|
};
|
|
105
|
-
export type GranularityType =
|
|
106
|
-
(typeof GranularityType)[keyof typeof GranularityType];
|
|
102
|
+
export type GranularityType = (typeof GranularityType)[keyof typeof GranularityType];
|
|
107
103
|
export declare const Order: {
|
|
108
104
|
readonly ASC: "Asc";
|
|
109
105
|
readonly DESC: "Desc";
|
|
@@ -112,5 +108,4 @@ export type Order = (typeof Order)[keyof typeof Order];
|
|
|
112
108
|
export declare const SummaryMetrics: {
|
|
113
109
|
readonly SAVINGS_PERCENTAGE: "SavingsPercentage";
|
|
114
110
|
};
|
|
115
|
-
export type SummaryMetrics =
|
|
116
|
-
(typeof SummaryMetrics)[keyof typeof SummaryMetrics];
|
|
111
|
+
export type SummaryMetrics = (typeof SummaryMetrics)[keyof typeof SummaryMetrics];
|
|
@@ -5,38 +5,28 @@ import { ValidationExceptionDetail } from "./models_0";
|
|
|
5
5
|
export declare class AccessDeniedException extends __BaseException {
|
|
6
6
|
readonly name: "AccessDeniedException";
|
|
7
7
|
readonly $fault: "client";
|
|
8
|
-
constructor(
|
|
9
|
-
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
10
|
-
);
|
|
8
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
11
9
|
}
|
|
12
10
|
export declare class InternalServerException extends __BaseException {
|
|
13
11
|
readonly name: "InternalServerException";
|
|
14
12
|
readonly $fault: "server";
|
|
15
|
-
constructor(
|
|
16
|
-
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
17
|
-
);
|
|
13
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
18
14
|
}
|
|
19
15
|
export declare class ThrottlingException extends __BaseException {
|
|
20
16
|
readonly name: "ThrottlingException";
|
|
21
17
|
readonly $fault: "client";
|
|
22
|
-
constructor(
|
|
23
|
-
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
24
|
-
);
|
|
18
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
25
19
|
}
|
|
26
20
|
export declare class ValidationException extends __BaseException {
|
|
27
21
|
readonly name: "ValidationException";
|
|
28
22
|
readonly $fault: "client";
|
|
29
23
|
reason?: ValidationExceptionReason | undefined;
|
|
30
24
|
fields?: ValidationExceptionDetail[] | undefined;
|
|
31
|
-
constructor(
|
|
32
|
-
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
33
|
-
);
|
|
25
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
34
26
|
}
|
|
35
27
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
36
28
|
readonly name: "ResourceNotFoundException";
|
|
37
29
|
readonly $fault: "client";
|
|
38
30
|
resourceId: string | undefined;
|
|
39
|
-
constructor(
|
|
40
|
-
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
41
|
-
);
|
|
31
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
42
32
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { CostOptimizationHubClient } from "../CostOptimizationHubClient";
|
|
3
|
-
export interface CostOptimizationHubPaginationConfiguration
|
|
4
|
-
extends PaginationConfiguration {
|
|
3
|
+
export interface CostOptimizationHubPaginationConfiguration extends PaginationConfiguration {
|
|
5
4
|
client: CostOptimizationHubClient;
|
|
6
5
|
}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
2
|
import { CostOptimizationHubClientConfig } from "./CostOptimizationHubClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: CostOptimizationHubClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: CostOptimizationHubClientConfig) => {
|
|
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 { CostOptimizationHubClientConfig } from "./CostOptimizationHubClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: CostOptimizationHubClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: CostOptimizationHubClientConfig) => {
|
|
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 { CostOptimizationHubClientConfig } from "./CostOptimizationHubClient";
|
|
2
|
-
export declare const getRuntimeConfig: (
|
|
3
|
-
config: CostOptimizationHubClientConfig
|
|
4
|
-
) => {
|
|
2
|
+
export declare const getRuntimeConfig: (config: CostOptimizationHubClientConfig) => {
|
|
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 { CostOptimizationHubClientConfig } from "./CostOptimizationHubClient";
|
|
3
|
-
export declare const getRuntimeConfig: (
|
|
4
|
-
config: CostOptimizationHubClientConfig
|
|
5
|
-
) => {
|
|
3
|
+
export declare const getRuntimeConfig: (config: CostOptimizationHubClientConfig) => {
|
|
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").CostOptimizationHubHttpAuthSchemeProvider;
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { CostOptimizationHubExtensionConfiguration } from "./extensionConfiguration";
|
|
2
2
|
export interface RuntimeExtension {
|
|
3
|
-
configure(
|
|
4
|
-
extensionConfiguration: CostOptimizationHubExtensionConfiguration
|
|
5
|
-
): void;
|
|
3
|
+
configure(extensionConfiguration: CostOptimizationHubExtensionConfiguration): 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;
|
package/package.json
CHANGED
|
@@ -1,7 +1,38 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cost-optimization-hub",
|
|
3
|
+
"version": "3.1088.0",
|
|
3
4
|
"description": "AWS SDK for JavaScript Cost Optimization Hub Client for Node.js, Browser and React Native",
|
|
4
|
-
"
|
|
5
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cost-optimization-hub",
|
|
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-cost-optimization-hub"
|
|
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-cost-optimization-hub",
|
|
64
|
-
"repository": {
|
|
65
|
-
"type": "git",
|
|
66
|
-
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
67
|
-
"directory": "clients/client-cost-optimization-hub"
|
|
68
68
|
}
|
|
69
69
|
}
|