@aws-sdk/client-pricing 3.927.0 → 3.928.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 +293 -324
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/PricingClient.js +2 -0
- package/dist-es/commands/DescribeServicesCommand.js +3 -9
- package/dist-es/commands/GetAttributeValuesCommand.js +3 -9
- package/dist-es/commands/GetPriceListFileUrlCommand.js +3 -9
- package/dist-es/commands/GetProductsCommand.js +3 -9
- package/dist-es/commands/ListPriceListsCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +260 -0
- package/dist-types/PricingClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +38 -0
- package/dist-types/ts3.4/PricingClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +44 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -269
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -47
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -65
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_1Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.pricing",
|
|
32
|
+
serviceTarget: "AWSPriceListService",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "Pricing",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
package/dist-es/PricingClient.js
CHANGED
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class PricingClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeServices } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeServicesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSPriceListService", "DescribeServices", {})
|
|
17
13
|
.n("PricingClient", "DescribeServicesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeServicesCommand)
|
|
20
|
-
.de(de_DescribeServicesCommand)
|
|
14
|
+
.sc(DescribeServices)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetAttributeValues } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetAttributeValuesCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSPriceListService", "GetAttributeValues", {})
|
|
17
13
|
.n("PricingClient", "GetAttributeValuesCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetAttributeValuesCommand)
|
|
20
|
-
.de(de_GetAttributeValuesCommand)
|
|
14
|
+
.sc(GetAttributeValues)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetPriceListFileUrl } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetPriceListFileUrlCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSPriceListService", "GetPriceListFileUrl", {})
|
|
17
13
|
.n("PricingClient", "GetPriceListFileUrlCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetPriceListFileUrlCommand)
|
|
20
|
-
.de(de_GetPriceListFileUrlCommand)
|
|
14
|
+
.sc(GetPriceListFileUrl)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetProducts } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetProductsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSPriceListService", "GetProducts", {})
|
|
17
13
|
.n("PricingClient", "GetProductsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetProductsCommand)
|
|
20
|
-
.de(de_GetProductsCommand)
|
|
14
|
+
.sc(GetProducts)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListPriceLists } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListPriceListsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("AWSPriceListService", "ListPriceLists", {})
|
|
17
13
|
.n("PricingClient", "ListPriceListsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListPriceListsCommand)
|
|
20
|
-
.de(de_ListPriceListsCommand)
|
|
14
|
+
.sc(ListPriceLists)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_1Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.pricing",
|
|
29
|
+
serviceTarget: "AWSPriceListService",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "Pricing",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
const _ADE = "AccessDeniedException";
|
|
2
|
+
const _AN = "AttributeName";
|
|
3
|
+
const _ANt = "AttributeNames";
|
|
4
|
+
const _AV = "AttributeValue";
|
|
5
|
+
const _AVL = "AttributeValueList";
|
|
6
|
+
const _AVt = "AttributeValues";
|
|
7
|
+
const _CC = "CurrencyCode";
|
|
8
|
+
const _DS = "DescribeServices";
|
|
9
|
+
const _DSR = "DescribeServicesRequest";
|
|
10
|
+
const _DSRe = "DescribeServicesResponse";
|
|
11
|
+
const _ED = "EffectiveDate";
|
|
12
|
+
const _ENTE = "ExpiredNextTokenException";
|
|
13
|
+
const _F = "Filter";
|
|
14
|
+
const _FF = "FileFormat";
|
|
15
|
+
const _FFi = "FileFormats";
|
|
16
|
+
const _FV = "FormatVersion";
|
|
17
|
+
const _Fi = "Field";
|
|
18
|
+
const _Fil = "Filters";
|
|
19
|
+
const _GAV = "GetAttributeValues";
|
|
20
|
+
const _GAVR = "GetAttributeValuesRequest";
|
|
21
|
+
const _GAVRe = "GetAttributeValuesResponse";
|
|
22
|
+
const _GP = "GetProducts";
|
|
23
|
+
const _GPLFU = "GetPriceListFileUrl";
|
|
24
|
+
const _GPLFUR = "GetPriceListFileUrlRequest";
|
|
25
|
+
const _GPLFURe = "GetPriceListFileUrlResponse";
|
|
26
|
+
const _GPR = "GetProductsRequest";
|
|
27
|
+
const _GPRe = "GetProductsResponse";
|
|
28
|
+
const _IEE = "InternalErrorException";
|
|
29
|
+
const _INTE = "InvalidNextTokenException";
|
|
30
|
+
const _IPE = "InvalidParameterException";
|
|
31
|
+
const _LPL = "ListPriceLists";
|
|
32
|
+
const _LPLR = "ListPriceListsRequest";
|
|
33
|
+
const _LPLRi = "ListPriceListsResponse";
|
|
34
|
+
const _M = "Message";
|
|
35
|
+
const _MR = "MaxResults";
|
|
36
|
+
const _NFE = "NotFoundException";
|
|
37
|
+
const _NT = "NextToken";
|
|
38
|
+
const _PL = "PriceList";
|
|
39
|
+
const _PLA = "PriceListArn";
|
|
40
|
+
const _PLJI = "PriceListJsonItems";
|
|
41
|
+
const _PLr = "PriceLists";
|
|
42
|
+
const _RC = "RegionCode";
|
|
43
|
+
const _RNFE = "ResourceNotFoundException";
|
|
44
|
+
const _S = "Services";
|
|
45
|
+
const _SC = "ServiceCode";
|
|
46
|
+
const _SJPLJI = "SynthesizedJsonPriceListJsonItem";
|
|
47
|
+
const _SL = "ServiceList";
|
|
48
|
+
const _Se = "Service";
|
|
49
|
+
const _T = "Type";
|
|
50
|
+
const _TE = "ThrottlingException";
|
|
51
|
+
const _U = "Url";
|
|
52
|
+
const _V = "Value";
|
|
53
|
+
const _a = "application/json";
|
|
54
|
+
const _c = "client";
|
|
55
|
+
const _e = "error";
|
|
56
|
+
const _hE = "httpError";
|
|
57
|
+
const _mT = "mediaType";
|
|
58
|
+
const _s = "server";
|
|
59
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.pricing";
|
|
60
|
+
const n0 = "com.amazonaws.pricing";
|
|
61
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
62
|
+
import { AccessDeniedException as __AccessDeniedException, ExpiredNextTokenException as __ExpiredNextTokenException, InternalErrorException as __InternalErrorException, InvalidNextTokenException as __InvalidNextTokenException, InvalidParameterException as __InvalidParameterException, NotFoundException as __NotFoundException, ResourceNotFoundException as __ResourceNotFoundException, ThrottlingException as __ThrottlingException, } from "../models/index";
|
|
63
|
+
import { PricingServiceException as __PricingServiceException } from "../models/PricingServiceException";
|
|
64
|
+
export var SynthesizedJsonPriceListJsonItem = [
|
|
65
|
+
0,
|
|
66
|
+
n0,
|
|
67
|
+
_SJPLJI,
|
|
68
|
+
{
|
|
69
|
+
[_mT]: _a,
|
|
70
|
+
},
|
|
71
|
+
0,
|
|
72
|
+
];
|
|
73
|
+
export var AccessDeniedException = [
|
|
74
|
+
-3,
|
|
75
|
+
n0,
|
|
76
|
+
_ADE,
|
|
77
|
+
{
|
|
78
|
+
[_e]: _c,
|
|
79
|
+
[_hE]: 401,
|
|
80
|
+
},
|
|
81
|
+
[_M],
|
|
82
|
+
[0],
|
|
83
|
+
];
|
|
84
|
+
TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
|
|
85
|
+
export var AttributeValue = [3, n0, _AV, 0, [_V], [0]];
|
|
86
|
+
export var DescribeServicesRequest = [3, n0, _DSR, 0, [_SC, _FV, _NT, _MR], [0, 0, 0, 1]];
|
|
87
|
+
export var DescribeServicesResponse = [
|
|
88
|
+
3,
|
|
89
|
+
n0,
|
|
90
|
+
_DSRe,
|
|
91
|
+
0,
|
|
92
|
+
[_S, _FV, _NT],
|
|
93
|
+
[() => ServiceList, 0, 0],
|
|
94
|
+
];
|
|
95
|
+
export var ExpiredNextTokenException = [
|
|
96
|
+
-3,
|
|
97
|
+
n0,
|
|
98
|
+
_ENTE,
|
|
99
|
+
{
|
|
100
|
+
[_e]: _c,
|
|
101
|
+
[_hE]: 400,
|
|
102
|
+
},
|
|
103
|
+
[_M],
|
|
104
|
+
[0],
|
|
105
|
+
];
|
|
106
|
+
TypeRegistry.for(n0).registerError(ExpiredNextTokenException, __ExpiredNextTokenException);
|
|
107
|
+
export var Filter = [3, n0, _F, 0, [_T, _Fi, _V], [0, 0, 0]];
|
|
108
|
+
export var GetAttributeValuesRequest = [3, n0, _GAVR, 0, [_SC, _AN, _NT, _MR], [0, 0, 0, 1]];
|
|
109
|
+
export var GetAttributeValuesResponse = [
|
|
110
|
+
3,
|
|
111
|
+
n0,
|
|
112
|
+
_GAVRe,
|
|
113
|
+
0,
|
|
114
|
+
[_AVt, _NT],
|
|
115
|
+
[() => AttributeValueList, 0],
|
|
116
|
+
];
|
|
117
|
+
export var GetPriceListFileUrlRequest = [3, n0, _GPLFUR, 0, [_PLA, _FF], [0, 0]];
|
|
118
|
+
export var GetPriceListFileUrlResponse = [3, n0, _GPLFURe, 0, [_U], [0]];
|
|
119
|
+
export var GetProductsRequest = [
|
|
120
|
+
3,
|
|
121
|
+
n0,
|
|
122
|
+
_GPR,
|
|
123
|
+
0,
|
|
124
|
+
[_SC, _Fil, _FV, _NT, _MR],
|
|
125
|
+
[0, () => Filters, 0, 0, 1],
|
|
126
|
+
];
|
|
127
|
+
export var GetProductsResponse = [
|
|
128
|
+
3,
|
|
129
|
+
n0,
|
|
130
|
+
_GPRe,
|
|
131
|
+
0,
|
|
132
|
+
[_FV, _PL, _NT],
|
|
133
|
+
[0, [() => PriceListJsonItems, 0], 0],
|
|
134
|
+
];
|
|
135
|
+
export var InternalErrorException = [
|
|
136
|
+
-3,
|
|
137
|
+
n0,
|
|
138
|
+
_IEE,
|
|
139
|
+
{
|
|
140
|
+
[_e]: _s,
|
|
141
|
+
[_hE]: 500,
|
|
142
|
+
},
|
|
143
|
+
[_M],
|
|
144
|
+
[0],
|
|
145
|
+
];
|
|
146
|
+
TypeRegistry.for(n0).registerError(InternalErrorException, __InternalErrorException);
|
|
147
|
+
export var InvalidNextTokenException = [
|
|
148
|
+
-3,
|
|
149
|
+
n0,
|
|
150
|
+
_INTE,
|
|
151
|
+
{
|
|
152
|
+
[_e]: _c,
|
|
153
|
+
[_hE]: 400,
|
|
154
|
+
},
|
|
155
|
+
[_M],
|
|
156
|
+
[0],
|
|
157
|
+
];
|
|
158
|
+
TypeRegistry.for(n0).registerError(InvalidNextTokenException, __InvalidNextTokenException);
|
|
159
|
+
export var InvalidParameterException = [
|
|
160
|
+
-3,
|
|
161
|
+
n0,
|
|
162
|
+
_IPE,
|
|
163
|
+
{
|
|
164
|
+
[_e]: _c,
|
|
165
|
+
[_hE]: 400,
|
|
166
|
+
},
|
|
167
|
+
[_M],
|
|
168
|
+
[0],
|
|
169
|
+
];
|
|
170
|
+
TypeRegistry.for(n0).registerError(InvalidParameterException, __InvalidParameterException);
|
|
171
|
+
export var ListPriceListsRequest = [
|
|
172
|
+
3,
|
|
173
|
+
n0,
|
|
174
|
+
_LPLR,
|
|
175
|
+
0,
|
|
176
|
+
[_SC, _ED, _RC, _CC, _NT, _MR],
|
|
177
|
+
[0, 4, 0, 0, 0, 1],
|
|
178
|
+
];
|
|
179
|
+
export var ListPriceListsResponse = [3, n0, _LPLRi, 0, [_PLr, _NT], [() => PriceLists, 0]];
|
|
180
|
+
export var NotFoundException = [
|
|
181
|
+
-3,
|
|
182
|
+
n0,
|
|
183
|
+
_NFE,
|
|
184
|
+
{
|
|
185
|
+
[_e]: _c,
|
|
186
|
+
[_hE]: 400,
|
|
187
|
+
},
|
|
188
|
+
[_M],
|
|
189
|
+
[0],
|
|
190
|
+
];
|
|
191
|
+
TypeRegistry.for(n0).registerError(NotFoundException, __NotFoundException);
|
|
192
|
+
export var PriceList = [3, n0, _PL, 0, [_PLA, _RC, _CC, _FFi], [0, 0, 0, 64 | 0]];
|
|
193
|
+
export var ResourceNotFoundException = [
|
|
194
|
+
-3,
|
|
195
|
+
n0,
|
|
196
|
+
_RNFE,
|
|
197
|
+
{
|
|
198
|
+
[_e]: _c,
|
|
199
|
+
[_hE]: 404,
|
|
200
|
+
},
|
|
201
|
+
[_M],
|
|
202
|
+
[0],
|
|
203
|
+
];
|
|
204
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
205
|
+
export var Service = [3, n0, _Se, 0, [_SC, _ANt], [0, 64 | 0]];
|
|
206
|
+
export var ThrottlingException = [
|
|
207
|
+
-3,
|
|
208
|
+
n0,
|
|
209
|
+
_TE,
|
|
210
|
+
{
|
|
211
|
+
[_e]: _c,
|
|
212
|
+
[_hE]: 429,
|
|
213
|
+
},
|
|
214
|
+
[_M],
|
|
215
|
+
[0],
|
|
216
|
+
];
|
|
217
|
+
TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
|
|
218
|
+
export var __Unit = "unit";
|
|
219
|
+
export var PricingServiceException = [-3, _sm, "PricingServiceException", 0, [], []];
|
|
220
|
+
TypeRegistry.for(_sm).registerError(PricingServiceException, __PricingServiceException);
|
|
221
|
+
export var AttributeNameList = 64 | 0;
|
|
222
|
+
export var AttributeValueList = [1, n0, _AVL, 0, () => AttributeValue];
|
|
223
|
+
export var FileFormats = 64 | 0;
|
|
224
|
+
export var Filters = [1, n0, _Fil, 0, () => Filter];
|
|
225
|
+
export var PriceListJsonItems = [1, n0, _PLJI, 0, [() => SynthesizedJsonPriceListJsonItem, 0]];
|
|
226
|
+
export var PriceLists = [1, n0, _PLr, 0, () => PriceList];
|
|
227
|
+
export var ServiceList = [1, n0, _SL, 0, () => Service];
|
|
228
|
+
export var DescribeServices = [
|
|
229
|
+
9,
|
|
230
|
+
n0,
|
|
231
|
+
_DS,
|
|
232
|
+
0,
|
|
233
|
+
() => DescribeServicesRequest,
|
|
234
|
+
() => DescribeServicesResponse,
|
|
235
|
+
];
|
|
236
|
+
export var GetAttributeValues = [
|
|
237
|
+
9,
|
|
238
|
+
n0,
|
|
239
|
+
_GAV,
|
|
240
|
+
0,
|
|
241
|
+
() => GetAttributeValuesRequest,
|
|
242
|
+
() => GetAttributeValuesResponse,
|
|
243
|
+
];
|
|
244
|
+
export var GetPriceListFileUrl = [
|
|
245
|
+
9,
|
|
246
|
+
n0,
|
|
247
|
+
_GPLFU,
|
|
248
|
+
0,
|
|
249
|
+
() => GetPriceListFileUrlRequest,
|
|
250
|
+
() => GetPriceListFileUrlResponse,
|
|
251
|
+
];
|
|
252
|
+
export var GetProducts = [9, n0, _GP, 0, () => GetProductsRequest, () => GetProductsResponse];
|
|
253
|
+
export var ListPriceLists = [
|
|
254
|
+
9,
|
|
255
|
+
n0,
|
|
256
|
+
_LPL,
|
|
257
|
+
0,
|
|
258
|
+
() => ListPriceListsRequest,
|
|
259
|
+
() => ListPriceListsResponse,
|
|
260
|
+
];
|
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { DescribeServicesCommandInput, DescribeServicesCommandOutput } from "./commands/DescribeServicesCommand";
|
|
11
11
|
import { GetAttributeValuesCommandInput, GetAttributeValuesCommandOutput } from "./commands/GetAttributeValuesCommand";
|
|
@@ -146,6 +146,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
146
146
|
* Optional extensions
|
|
147
147
|
*/
|
|
148
148
|
extensions?: RuntimeExtension[];
|
|
149
|
+
/**
|
|
150
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
151
|
+
* may be overridden. A default will always be set by the client.
|
|
152
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
153
|
+
* the client.
|
|
154
|
+
* @alpha
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
149
158
|
/**
|
|
150
159
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
151
160
|
*/
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
|
|
|
31
31
|
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
34
35
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
36
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
37
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
|
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
30
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PricingHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
17
18
|
serviceId: string;
|
|
18
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
20
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var SynthesizedJsonPriceListJsonItem: StaticSimpleSchema;
|
|
3
|
+
export declare var AccessDeniedException: StaticErrorSchema;
|
|
4
|
+
export declare var AttributeValue: StaticStructureSchema;
|
|
5
|
+
export declare var DescribeServicesRequest: StaticStructureSchema;
|
|
6
|
+
export declare var DescribeServicesResponse: StaticStructureSchema;
|
|
7
|
+
export declare var ExpiredNextTokenException: StaticErrorSchema;
|
|
8
|
+
export declare var Filter: StaticStructureSchema;
|
|
9
|
+
export declare var GetAttributeValuesRequest: StaticStructureSchema;
|
|
10
|
+
export declare var GetAttributeValuesResponse: StaticStructureSchema;
|
|
11
|
+
export declare var GetPriceListFileUrlRequest: StaticStructureSchema;
|
|
12
|
+
export declare var GetPriceListFileUrlResponse: StaticStructureSchema;
|
|
13
|
+
export declare var GetProductsRequest: StaticStructureSchema;
|
|
14
|
+
export declare var GetProductsResponse: StaticStructureSchema;
|
|
15
|
+
export declare var InternalErrorException: StaticErrorSchema;
|
|
16
|
+
export declare var InvalidNextTokenException: StaticErrorSchema;
|
|
17
|
+
export declare var InvalidParameterException: StaticErrorSchema;
|
|
18
|
+
export declare var ListPriceListsRequest: StaticStructureSchema;
|
|
19
|
+
export declare var ListPriceListsResponse: StaticStructureSchema;
|
|
20
|
+
export declare var NotFoundException: StaticErrorSchema;
|
|
21
|
+
export declare var PriceList: StaticStructureSchema;
|
|
22
|
+
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
23
|
+
export declare var Service: StaticStructureSchema;
|
|
24
|
+
export declare var ThrottlingException: StaticErrorSchema;
|
|
25
|
+
export declare var __Unit: "unit";
|
|
26
|
+
export declare var PricingServiceException: StaticErrorSchema;
|
|
27
|
+
export declare var AttributeNameList: number;
|
|
28
|
+
export declare var AttributeValueList: StaticListSchema;
|
|
29
|
+
export declare var FileFormats: number;
|
|
30
|
+
export declare var Filters: StaticListSchema;
|
|
31
|
+
export declare var PriceListJsonItems: StaticListSchema;
|
|
32
|
+
export declare var PriceLists: StaticListSchema;
|
|
33
|
+
export declare var ServiceList: StaticListSchema;
|
|
34
|
+
export declare var DescribeServices: StaticOperationSchema;
|
|
35
|
+
export declare var GetAttributeValues: StaticOperationSchema;
|
|
36
|
+
export declare var GetPriceListFileUrl: StaticOperationSchema;
|
|
37
|
+
export declare var GetProducts: StaticOperationSchema;
|
|
38
|
+
export declare var ListPriceLists: StaticOperationSchema;
|
|
@@ -30,10 +30,13 @@ import {
|
|
|
30
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
ClientProtocol,
|
|
33
34
|
Decoder as __Decoder,
|
|
34
35
|
Encoder as __Encoder,
|
|
35
36
|
HashConstructor as __HashConstructor,
|
|
36
37
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
38
|
+
HttpRequest,
|
|
39
|
+
HttpResponse,
|
|
37
40
|
Logger as __Logger,
|
|
38
41
|
Provider as __Provider,
|
|
39
42
|
Provider,
|
|
@@ -108,6 +111,7 @@ export interface ClientDefaults
|
|
|
108
111
|
retryMode?: string | __Provider<string>;
|
|
109
112
|
logger?: __Logger;
|
|
110
113
|
extensions?: RuntimeExtension[];
|
|
114
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
111
115
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
112
116
|
}
|
|
113
117
|
export type PricingClientConfigType = Partial<
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
userAgentAppId?:
|
|
43
47
|
| string
|
|
@@ -38,6 +38,10 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
|
|
|
38
38
|
profile?: string;
|
|
39
39
|
logger: import("@smithy/types").Logger;
|
|
40
40
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
41
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
42
|
+
import("@smithy/types").HttpRequest,
|
|
43
|
+
import("@smithy/types").HttpResponse
|
|
44
|
+
>;
|
|
41
45
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
42
46
|
retryStrategy?:
|
|
43
47
|
| import("@smithy/types").RetryStrategy
|
|
@@ -37,6 +37,10 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
|
|
|
37
37
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
38
|
logger: import("@smithy/types").Logger;
|
|
39
39
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
41
|
+
import("@smithy/types").HttpRequest,
|
|
42
|
+
import("@smithy/types").HttpResponse
|
|
43
|
+
>;
|
|
40
44
|
defaultsMode:
|
|
41
45
|
| import("@smithy/smithy-client").DefaultsMode
|
|
42
46
|
| import("@smithy/types").Provider<
|
|
@@ -14,6 +14,10 @@ export declare const getRuntimeConfig: (config: PricingClientConfig) => {
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").PricingHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
18
|
+
import("@smithy/types").HttpRequest,
|
|
19
|
+
import("@smithy/types").HttpResponse
|
|
20
|
+
>;
|
|
17
21
|
serviceId: string;
|
|
18
22
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
23
|
utf8Decoder: import("@smithy/types").Decoder;
|