@aws-sdk/client-cost-optimization-hub 3.588.0 → 3.592.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 +0 -7
- package/dist-types/CostOptimizationHubClient.d.ts +4 -4
- 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/index.d.ts +2 -2
- package/dist-types/models/CostOptimizationHubServiceException.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/CostOptimizationHubClient.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPreferencesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetRecommendationCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListEnrollmentStatusesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListRecommendationSummariesCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListRecommendationsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateEnrollmentStatusCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdatePreferencesCommand.d.ts +2 -1
- package/dist-types/ts3.4/models/CostOptimizationHubServiceException.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -203,7 +203,6 @@ var CostOptimizationHubClient = _CostOptimizationHubClient;
|
|
|
203
203
|
|
|
204
204
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
205
205
|
|
|
206
|
-
var import_types = require("@smithy/types");
|
|
207
206
|
|
|
208
207
|
// src/protocols/Aws_json1_0.ts
|
|
209
208
|
var import_core2 = require("@aws-sdk/core");
|
|
@@ -1012,7 +1011,6 @@ var GetPreferencesCommand = _GetPreferencesCommand;
|
|
|
1012
1011
|
|
|
1013
1012
|
|
|
1014
1013
|
|
|
1015
|
-
|
|
1016
1014
|
var _GetRecommendationCommand = class _GetRecommendationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1017
1015
|
...commonParams
|
|
1018
1016
|
}).m(function(Command, cs, config, o) {
|
|
@@ -1029,7 +1027,6 @@ var GetRecommendationCommand = _GetRecommendationCommand;
|
|
|
1029
1027
|
|
|
1030
1028
|
|
|
1031
1029
|
|
|
1032
|
-
|
|
1033
1030
|
var _ListEnrollmentStatusesCommand = class _ListEnrollmentStatusesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1034
1031
|
...commonParams
|
|
1035
1032
|
}).m(function(Command, cs, config, o) {
|
|
@@ -1046,7 +1043,6 @@ var ListEnrollmentStatusesCommand = _ListEnrollmentStatusesCommand;
|
|
|
1046
1043
|
|
|
1047
1044
|
|
|
1048
1045
|
|
|
1049
|
-
|
|
1050
1046
|
var _ListRecommendationsCommand = class _ListRecommendationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1051
1047
|
...commonParams
|
|
1052
1048
|
}).m(function(Command, cs, config, o) {
|
|
@@ -1063,7 +1059,6 @@ var ListRecommendationsCommand = _ListRecommendationsCommand;
|
|
|
1063
1059
|
|
|
1064
1060
|
|
|
1065
1061
|
|
|
1066
|
-
|
|
1067
1062
|
var _ListRecommendationSummariesCommand = class _ListRecommendationSummariesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1068
1063
|
...commonParams
|
|
1069
1064
|
}).m(function(Command, cs, config, o) {
|
|
@@ -1080,7 +1075,6 @@ var ListRecommendationSummariesCommand = _ListRecommendationSummariesCommand;
|
|
|
1080
1075
|
|
|
1081
1076
|
|
|
1082
1077
|
|
|
1083
|
-
|
|
1084
1078
|
var _UpdateEnrollmentStatusCommand = class _UpdateEnrollmentStatusCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1085
1079
|
...commonParams
|
|
1086
1080
|
}).m(function(Command, cs, config, o) {
|
|
@@ -1097,7 +1091,6 @@ var UpdateEnrollmentStatusCommand = _UpdateEnrollmentStatusCommand;
|
|
|
1097
1091
|
|
|
1098
1092
|
|
|
1099
1093
|
|
|
1100
|
-
|
|
1101
1094
|
var _UpdatePreferencesCommand = class _UpdatePreferencesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1102
1095
|
...commonParams
|
|
1103
1096
|
}).m(function(Command, cs, config, o) {
|
|
@@ -97,15 +97,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
97
97
|
* Enables FIPS compatible endpoints.
|
|
98
98
|
*/
|
|
99
99
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
100
|
+
/**
|
|
101
|
+
* The AWS region to which this client will send requests
|
|
102
|
+
*/
|
|
103
|
+
region?: string | __Provider<string>;
|
|
100
104
|
/**
|
|
101
105
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
102
106
|
* @internal
|
|
103
107
|
*/
|
|
104
108
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
105
|
-
/**
|
|
106
|
-
* The AWS region to which this client will send requests
|
|
107
|
-
*/
|
|
108
|
-
region?: string | __Provider<string>;
|
|
109
109
|
/**
|
|
110
110
|
* Default credentials provider; Not available in browser runtime.
|
|
111
111
|
* @deprecated
|
package/dist-types/index.d.ts
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
export * from "./CostOptimizationHubClient";
|
|
14
14
|
export * from "./CostOptimizationHub";
|
|
15
15
|
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
16
|
-
export { RuntimeExtension } from "./runtimeExtensions";
|
|
17
|
-
export { CostOptimizationHubExtensionConfiguration } from "./extensionConfiguration";
|
|
16
|
+
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
17
|
+
export type { CostOptimizationHubExtensionConfiguration } from "./extensionConfiguration";
|
|
18
18
|
export * from "./commands";
|
|
19
19
|
export * from "./pagination";
|
|
20
20
|
export * from "./models";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
|
|
2
|
-
export {
|
|
2
|
+
export type { __ServiceExceptionOptions };
|
|
3
|
+
export { __ServiceException };
|
|
3
4
|
/**
|
|
4
5
|
* @public
|
|
5
6
|
*
|
|
@@ -18,8 +18,8 @@ export declare const getRuntimeConfig: (config: CostOptimizationHubClientConfig)
|
|
|
18
18
|
serviceId: string;
|
|
19
19
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
|
-
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
22
21
|
region: string | import("@smithy/types").Provider<any>;
|
|
22
|
+
defaultUserAgentProvider: import("@smithy/types").Provider<import("@smithy/types").UserAgent>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
24
24
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -112,8 +112,8 @@ export interface ClientDefaults
|
|
|
112
112
|
serviceId?: string;
|
|
113
113
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
114
114
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
115
|
-
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
116
115
|
region?: string | __Provider<string>;
|
|
116
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
117
117
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
118
118
|
maxAttempts?: number | __Provider<number>;
|
|
119
119
|
retryMode?: string | __Provider<string>;
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
GetPreferencesRequest,
|
|
10
10
|
GetPreferencesResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface GetPreferencesCommandInput extends GetPreferencesRequest {}
|
|
14
15
|
export interface GetPreferencesCommandOutput
|
|
15
16
|
extends GetPreferencesResponse,
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
GetRecommendationRequest,
|
|
10
10
|
GetRecommendationResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface GetRecommendationCommandInput
|
|
14
15
|
extends GetRecommendationRequest {}
|
|
15
16
|
export interface GetRecommendationCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ListEnrollmentStatusesRequest,
|
|
10
10
|
ListEnrollmentStatusesResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface ListEnrollmentStatusesCommandInput
|
|
14
15
|
extends ListEnrollmentStatusesRequest {}
|
|
15
16
|
export interface ListEnrollmentStatusesCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ListRecommendationSummariesRequest,
|
|
10
10
|
ListRecommendationSummariesResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface ListRecommendationSummariesCommandInput
|
|
14
15
|
extends ListRecommendationSummariesRequest {}
|
|
15
16
|
export interface ListRecommendationSummariesCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
ListRecommendationsRequest,
|
|
10
10
|
ListRecommendationsResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface ListRecommendationsCommandInput
|
|
14
15
|
extends ListRecommendationsRequest {}
|
|
15
16
|
export interface ListRecommendationsCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
UpdateEnrollmentStatusRequest,
|
|
10
10
|
UpdateEnrollmentStatusResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface UpdateEnrollmentStatusCommandInput
|
|
14
15
|
extends UpdateEnrollmentStatusRequest {}
|
|
15
16
|
export interface UpdateEnrollmentStatusCommandOutput
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
UpdatePreferencesRequest,
|
|
10
10
|
UpdatePreferencesResponse,
|
|
11
11
|
} from "../models/models_0";
|
|
12
|
-
export { __MetadataBearer
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
13
14
|
export interface UpdatePreferencesCommandInput
|
|
14
15
|
extends UpdatePreferencesRequest {}
|
|
15
16
|
export interface UpdatePreferencesCommandOutput
|
|
@@ -2,7 +2,8 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@smithy/smithy-client";
|
|
5
|
-
export {
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
6
7
|
export declare class CostOptimizationHubServiceException extends __ServiceException {
|
|
7
8
|
constructor(options: __ServiceExceptionOptions);
|
|
8
9
|
}
|
|
@@ -22,10 +22,10 @@ export declare const getRuntimeConfig: (
|
|
|
22
22
|
serviceId: string;
|
|
23
23
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
25
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
25
26
|
defaultUserAgentProvider: import("@smithy/types").Provider<
|
|
26
27
|
import("@smithy/types").UserAgent
|
|
27
28
|
>;
|
|
28
|
-
region: string | import("@smithy/types").Provider<any>;
|
|
29
29
|
credentialDefaultProvider: (
|
|
30
30
|
input: any
|
|
31
31
|
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cost-optimization-hub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cost Optimization Hub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.592.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cost-optimization-hub",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.592.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.592.0",
|
|
25
|
+
"@aws-sdk/core": "3.592.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.592.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.1",
|
|
37
|
-
"@smithy/core": "^2.
|
|
37
|
+
"@smithy/core": "^2.2.0",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.0.1",
|
|
39
39
|
"@smithy/hash-node": "^3.0.0",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.0",
|