@aws-sdk/client-pricing 3.281.0 → 3.282.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/README.md +16 -0
- package/dist-cjs/Pricing.js +30 -0
- package/dist-cjs/commands/GetPriceListFileUrlCommand.js +46 -0
- package/dist-cjs/commands/ListPriceListsCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +35 -1
- package/dist-cjs/pagination/ListPriceListsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +184 -1
- package/dist-es/Pricing.js +30 -0
- package/dist-es/commands/GetPriceListFileUrlCommand.js +42 -0
- package/dist-es/commands/ListPriceListsCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +28 -0
- package/dist-es/pagination/ListPriceListsPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +180 -1
- package/dist-types/Pricing.d.ts +34 -0
- package/dist-types/PricingClient.d.ts +4 -2
- package/dist-types/commands/GetPriceListFileUrlCommand.d.ts +51 -0
- package/dist-types/commands/ListPriceListsCommand.d.ts +55 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +146 -5
- package/dist-types/pagination/ListPriceListsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/Pricing.d.ts +34 -0
- package/dist-types/ts3.4/PricingClient.d.ts +14 -2
- package/dist-types/ts3.4/commands/GetPriceListFileUrlCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListPriceListsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +46 -0
- package/dist-types/ts3.4/pagination/ListPriceListsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +17 -17
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { PricingServiceException as __BaseException } from "./PricingServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* <p>General authentication failure. The request wasn't signed correctly.</p>
|
|
5
|
+
*/
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
Message?: string;
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
|
|
14
|
+
}
|
|
3
15
|
/**
|
|
4
16
|
* <p>The values of a given attribute, such as <code>Throughput Optimized HDD</code> or <code>Provisioned
|
|
5
17
|
* IOPS</code> for the <code>Amazon EC2</code>
|
|
@@ -152,6 +164,28 @@ export interface GetAttributeValuesResponse {
|
|
|
152
164
|
*/
|
|
153
165
|
NextToken?: string;
|
|
154
166
|
}
|
|
167
|
+
export interface GetPriceListFileUrlRequest {
|
|
168
|
+
/**
|
|
169
|
+
* <p>The unique identifier that maps to where your Price List files are located.
|
|
170
|
+
* <code>PriceListArn</code> can be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">
|
|
171
|
+
* <code>ListPriceLists</code>
|
|
172
|
+
* </a> response. </p>
|
|
173
|
+
*/
|
|
174
|
+
PriceListArn: string | undefined;
|
|
175
|
+
/**
|
|
176
|
+
* <p>The format that you want to retrieve your Price List files in. The
|
|
177
|
+
* <code>FileFormat</code> can be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">
|
|
178
|
+
* <code>ListPriceLists</code>
|
|
179
|
+
* </a> response. </p>
|
|
180
|
+
*/
|
|
181
|
+
FileFormat: string | undefined;
|
|
182
|
+
}
|
|
183
|
+
export interface GetPriceListFileUrlResponse {
|
|
184
|
+
/**
|
|
185
|
+
* <p>The URL to download your Price List file from. </p>
|
|
186
|
+
*/
|
|
187
|
+
Url?: string;
|
|
188
|
+
}
|
|
155
189
|
export declare enum FilterType {
|
|
156
190
|
TERM_MATCH = "TERM_MATCH"
|
|
157
191
|
}
|
|
@@ -171,16 +205,15 @@ export interface Filter {
|
|
|
171
205
|
* by just the attribute name to see a specific attribute for multiple services, or use both a service code
|
|
172
206
|
* and an attribute name to retrieve only products that match both fields.</p>
|
|
173
207
|
* <p>Valid values include: <code>ServiceCode</code>, and all attribute names</p>
|
|
174
|
-
*
|
|
175
208
|
* <p>For example, you can filter by the <code>AmazonEC2</code> service code and the
|
|
176
209
|
* <code>volumeType</code> attribute name to get the prices for only Amazon EC2 volumes.</p>
|
|
177
210
|
*/
|
|
178
211
|
Field: string | undefined;
|
|
179
212
|
/**
|
|
180
|
-
* <p>The service code or attribute value that you want to filter by. If you
|
|
181
|
-
* service code this is the actual service code, such as <code>AmazonEC2</code>. If you
|
|
182
|
-
* filtering by attribute name, this is the attribute value that you want the returned
|
|
183
|
-
* to match, such as a <code>Provisioned IOPS</code> volume.</p>
|
|
213
|
+
* <p>The service code or attribute value that you want to filter by. If you're filtering
|
|
214
|
+
* by service code this is the actual service code, such as <code>AmazonEC2</code>. If you're
|
|
215
|
+
* filtering by attribute name, this is the attribute value that you want the returned
|
|
216
|
+
* products to match, such as a <code>Provisioned IOPS</code> volume.</p>
|
|
184
217
|
*/
|
|
185
218
|
Value: string | undefined;
|
|
186
219
|
}
|
|
@@ -224,6 +257,94 @@ export interface GetProductsResponse {
|
|
|
224
257
|
*/
|
|
225
258
|
NextToken?: string;
|
|
226
259
|
}
|
|
260
|
+
export interface ListPriceListsRequest {
|
|
261
|
+
/**
|
|
262
|
+
* <p>The service code or the Savings Plan service code for the attributes that
|
|
263
|
+
* you want to retrieve. For example, to get the list of applicable Amazon EC2 price lists, use
|
|
264
|
+
* <code>AmazonEC2</code>. For a full list of service codes containing On-Demand and
|
|
265
|
+
* Reserved Instance (RI) pricing, use the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_DescribeServices.html#awscostmanagement-pricing_DescribeServices-request-FormatVersion">
|
|
266
|
+
* <code>DescribeServices</code>
|
|
267
|
+
* </a> API.</p>
|
|
268
|
+
* <p>To retrieve the Compute Savings Plan price lists, use <code>ComputeSavingsPlans</code>. To retrieve Machine Learning Savings Plans price lists, use <code>MachineLearningSavingsPlans</code>.
|
|
269
|
+
* </p>
|
|
270
|
+
*/
|
|
271
|
+
ServiceCode: string | undefined;
|
|
272
|
+
/**
|
|
273
|
+
* <p>The date that the Price List file prices are effective from. </p>
|
|
274
|
+
*/
|
|
275
|
+
EffectiveDate: Date | undefined;
|
|
276
|
+
/**
|
|
277
|
+
* <p>This is used to filter the Price List by Amazon Web Services Region. For example, to get
|
|
278
|
+
* the price list only for the <code>US East (N. Virginia)</code> Region, use
|
|
279
|
+
* <code>us-east-1</code>. If nothing is specified, you retrieve price lists for all
|
|
280
|
+
* applicable Regions. The available <code>RegionCode</code> list can be retrieved from <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_GetAttributeValues.html">
|
|
281
|
+
* <code>GetAttributeValues</code>
|
|
282
|
+
* </a> API.</p>
|
|
283
|
+
*/
|
|
284
|
+
RegionCode?: string;
|
|
285
|
+
/**
|
|
286
|
+
* <p>The three alphabetical character ISO-4217 currency code that the Price List files are
|
|
287
|
+
* denominated in. </p>
|
|
288
|
+
*/
|
|
289
|
+
CurrencyCode: string | undefined;
|
|
290
|
+
/**
|
|
291
|
+
* <p>The pagination token that indicates the next set of results that you want to retrieve. </p>
|
|
292
|
+
*/
|
|
293
|
+
NextToken?: string;
|
|
294
|
+
/**
|
|
295
|
+
* <p>The maximum number of results to return in the response.
|
|
296
|
+
* </p>
|
|
297
|
+
*/
|
|
298
|
+
MaxResults?: number;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* <p>
|
|
302
|
+
* <i>
|
|
303
|
+
* <b>This feature is in preview release and is subject to change. Your use of Amazon Web Services Price List API is subject to the Beta Service Participation terms of the <a href="https://aws.amazon.com/service-terms/">Amazon Web Services Service Terms</a> (Section 1.10).</b>
|
|
304
|
+
* </i>
|
|
305
|
+
* </p>
|
|
306
|
+
* <p>This is the type of price list references that match your request. </p>
|
|
307
|
+
*/
|
|
308
|
+
export interface PriceList {
|
|
309
|
+
/**
|
|
310
|
+
* <p>The unique identifier that maps to where your Price List files are located.
|
|
311
|
+
* <code>PriceListArn</code> can be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">
|
|
312
|
+
* <code>ListPriceList</code>
|
|
313
|
+
* </a> response. </p>
|
|
314
|
+
*/
|
|
315
|
+
PriceListArn?: string;
|
|
316
|
+
/**
|
|
317
|
+
* <p>This is used to filter the Price List by Amazon Web Services Region. For example, to get
|
|
318
|
+
* the price list only for the <code>US East (N. Virginia)</code> Region, use
|
|
319
|
+
* <code>us-east-1</code>. If nothing is specified, you retrieve price lists for all
|
|
320
|
+
* applicable Regions. The available <code>RegionCode</code> list can be retrieved from <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_GetAttributeValues.html">
|
|
321
|
+
* <code>GetAttributeValues</code>
|
|
322
|
+
* </a> API. </p>
|
|
323
|
+
*/
|
|
324
|
+
RegionCode?: string;
|
|
325
|
+
/**
|
|
326
|
+
* <p>The three alphabetical character ISO-4217 currency code the Price List files are
|
|
327
|
+
* denominated in. </p>
|
|
328
|
+
*/
|
|
329
|
+
CurrencyCode?: string;
|
|
330
|
+
/**
|
|
331
|
+
* <p>The format you want to retrieve your Price List files. The <code>FileFormat</code> can
|
|
332
|
+
* be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">
|
|
333
|
+
* <code>ListPriceList</code>
|
|
334
|
+
* </a> response. </p>
|
|
335
|
+
*/
|
|
336
|
+
FileFormats?: string[];
|
|
337
|
+
}
|
|
338
|
+
export interface ListPriceListsResponse {
|
|
339
|
+
/**
|
|
340
|
+
* <p>The type of price list references that match your request. </p>
|
|
341
|
+
*/
|
|
342
|
+
PriceLists?: PriceList[];
|
|
343
|
+
/**
|
|
344
|
+
* <p>The pagination token that indicates the next set of results to retrieve. </p>
|
|
345
|
+
*/
|
|
346
|
+
NextToken?: string;
|
|
347
|
+
}
|
|
227
348
|
/**
|
|
228
349
|
* @internal
|
|
229
350
|
*/
|
|
@@ -248,6 +369,14 @@ export declare const GetAttributeValuesRequestFilterSensitiveLog: (obj: GetAttri
|
|
|
248
369
|
* @internal
|
|
249
370
|
*/
|
|
250
371
|
export declare const GetAttributeValuesResponseFilterSensitiveLog: (obj: GetAttributeValuesResponse) => any;
|
|
372
|
+
/**
|
|
373
|
+
* @internal
|
|
374
|
+
*/
|
|
375
|
+
export declare const GetPriceListFileUrlRequestFilterSensitiveLog: (obj: GetPriceListFileUrlRequest) => any;
|
|
376
|
+
/**
|
|
377
|
+
* @internal
|
|
378
|
+
*/
|
|
379
|
+
export declare const GetPriceListFileUrlResponseFilterSensitiveLog: (obj: GetPriceListFileUrlResponse) => any;
|
|
251
380
|
/**
|
|
252
381
|
* @internal
|
|
253
382
|
*/
|
|
@@ -260,3 +389,15 @@ export declare const GetProductsRequestFilterSensitiveLog: (obj: GetProductsRequ
|
|
|
260
389
|
* @internal
|
|
261
390
|
*/
|
|
262
391
|
export declare const GetProductsResponseFilterSensitiveLog: (obj: GetProductsResponse) => any;
|
|
392
|
+
/**
|
|
393
|
+
* @internal
|
|
394
|
+
*/
|
|
395
|
+
export declare const ListPriceListsRequestFilterSensitiveLog: (obj: ListPriceListsRequest) => any;
|
|
396
|
+
/**
|
|
397
|
+
* @internal
|
|
398
|
+
*/
|
|
399
|
+
export declare const PriceListFilterSensitiveLog: (obj: PriceList) => any;
|
|
400
|
+
/**
|
|
401
|
+
* @internal
|
|
402
|
+
*/
|
|
403
|
+
export declare const ListPriceListsResponseFilterSensitiveLog: (obj: ListPriceListsResponse) => any;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListPriceListsCommandInput, ListPriceListsCommandOutput } from "../commands/ListPriceListsCommand";
|
|
3
|
+
import { PricingPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListPriceLists(config: PricingPaginationConfiguration, input: ListPriceListsCommandInput, ...additionalArguments: any): Paginator<ListPriceListsCommandOutput>;
|
|
@@ -2,10 +2,16 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@a
|
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
3
3
|
import { DescribeServicesCommandInput, DescribeServicesCommandOutput } from "../commands/DescribeServicesCommand";
|
|
4
4
|
import { GetAttributeValuesCommandInput, GetAttributeValuesCommandOutput } from "../commands/GetAttributeValuesCommand";
|
|
5
|
+
import { GetPriceListFileUrlCommandInput, GetPriceListFileUrlCommandOutput } from "../commands/GetPriceListFileUrlCommand";
|
|
5
6
|
import { GetProductsCommandInput, GetProductsCommandOutput } from "../commands/GetProductsCommand";
|
|
7
|
+
import { ListPriceListsCommandInput, ListPriceListsCommandOutput } from "../commands/ListPriceListsCommand";
|
|
6
8
|
export declare const serializeAws_json1_1DescribeServicesCommand: (input: DescribeServicesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
7
9
|
export declare const serializeAws_json1_1GetAttributeValuesCommand: (input: GetAttributeValuesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
10
|
+
export declare const serializeAws_json1_1GetPriceListFileUrlCommand: (input: GetPriceListFileUrlCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
8
11
|
export declare const serializeAws_json1_1GetProductsCommand: (input: GetProductsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
12
|
+
export declare const serializeAws_json1_1ListPriceListsCommand: (input: ListPriceListsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
9
13
|
export declare const deserializeAws_json1_1DescribeServicesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeServicesCommandOutput>;
|
|
10
14
|
export declare const deserializeAws_json1_1GetAttributeValuesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetAttributeValuesCommandOutput>;
|
|
15
|
+
export declare const deserializeAws_json1_1GetPriceListFileUrlCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetPriceListFileUrlCommandOutput>;
|
|
11
16
|
export declare const deserializeAws_json1_1GetProductsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetProductsCommandOutput>;
|
|
17
|
+
export declare const deserializeAws_json1_1ListPriceListsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPriceListsCommandOutput>;
|
|
@@ -7,10 +7,18 @@ import {
|
|
|
7
7
|
GetAttributeValuesCommandInput,
|
|
8
8
|
GetAttributeValuesCommandOutput,
|
|
9
9
|
} from "./commands/GetAttributeValuesCommand";
|
|
10
|
+
import {
|
|
11
|
+
GetPriceListFileUrlCommandInput,
|
|
12
|
+
GetPriceListFileUrlCommandOutput,
|
|
13
|
+
} from "./commands/GetPriceListFileUrlCommand";
|
|
10
14
|
import {
|
|
11
15
|
GetProductsCommandInput,
|
|
12
16
|
GetProductsCommandOutput,
|
|
13
17
|
} from "./commands/GetProductsCommand";
|
|
18
|
+
import {
|
|
19
|
+
ListPriceListsCommandInput,
|
|
20
|
+
ListPriceListsCommandOutput,
|
|
21
|
+
} from "./commands/ListPriceListsCommand";
|
|
14
22
|
import { PricingClient } from "./PricingClient";
|
|
15
23
|
export declare class Pricing extends PricingClient {
|
|
16
24
|
describeServices(
|
|
@@ -39,6 +47,19 @@ export declare class Pricing extends PricingClient {
|
|
|
39
47
|
options: __HttpHandlerOptions,
|
|
40
48
|
cb: (err: any, data?: GetAttributeValuesCommandOutput) => void
|
|
41
49
|
): void;
|
|
50
|
+
getPriceListFileUrl(
|
|
51
|
+
args: GetPriceListFileUrlCommandInput,
|
|
52
|
+
options?: __HttpHandlerOptions
|
|
53
|
+
): Promise<GetPriceListFileUrlCommandOutput>;
|
|
54
|
+
getPriceListFileUrl(
|
|
55
|
+
args: GetPriceListFileUrlCommandInput,
|
|
56
|
+
cb: (err: any, data?: GetPriceListFileUrlCommandOutput) => void
|
|
57
|
+
): void;
|
|
58
|
+
getPriceListFileUrl(
|
|
59
|
+
args: GetPriceListFileUrlCommandInput,
|
|
60
|
+
options: __HttpHandlerOptions,
|
|
61
|
+
cb: (err: any, data?: GetPriceListFileUrlCommandOutput) => void
|
|
62
|
+
): void;
|
|
42
63
|
getProducts(
|
|
43
64
|
args: GetProductsCommandInput,
|
|
44
65
|
options?: __HttpHandlerOptions
|
|
@@ -52,4 +73,17 @@ export declare class Pricing extends PricingClient {
|
|
|
52
73
|
options: __HttpHandlerOptions,
|
|
53
74
|
cb: (err: any, data?: GetProductsCommandOutput) => void
|
|
54
75
|
): void;
|
|
76
|
+
listPriceLists(
|
|
77
|
+
args: ListPriceListsCommandInput,
|
|
78
|
+
options?: __HttpHandlerOptions
|
|
79
|
+
): Promise<ListPriceListsCommandOutput>;
|
|
80
|
+
listPriceLists(
|
|
81
|
+
args: ListPriceListsCommandInput,
|
|
82
|
+
cb: (err: any, data?: ListPriceListsCommandOutput) => void
|
|
83
|
+
): void;
|
|
84
|
+
listPriceLists(
|
|
85
|
+
args: ListPriceListsCommandInput,
|
|
86
|
+
options: __HttpHandlerOptions,
|
|
87
|
+
cb: (err: any, data?: ListPriceListsCommandOutput) => void
|
|
88
|
+
): void;
|
|
55
89
|
}
|
|
@@ -52,10 +52,18 @@ import {
|
|
|
52
52
|
GetAttributeValuesCommandInput,
|
|
53
53
|
GetAttributeValuesCommandOutput,
|
|
54
54
|
} from "./commands/GetAttributeValuesCommand";
|
|
55
|
+
import {
|
|
56
|
+
GetPriceListFileUrlCommandInput,
|
|
57
|
+
GetPriceListFileUrlCommandOutput,
|
|
58
|
+
} from "./commands/GetPriceListFileUrlCommand";
|
|
55
59
|
import {
|
|
56
60
|
GetProductsCommandInput,
|
|
57
61
|
GetProductsCommandOutput,
|
|
58
62
|
} from "./commands/GetProductsCommand";
|
|
63
|
+
import {
|
|
64
|
+
ListPriceListsCommandInput,
|
|
65
|
+
ListPriceListsCommandOutput,
|
|
66
|
+
} from "./commands/ListPriceListsCommand";
|
|
59
67
|
import {
|
|
60
68
|
ClientInputEndpointParameters,
|
|
61
69
|
ClientResolvedEndpointParameters,
|
|
@@ -64,11 +72,15 @@ import {
|
|
|
64
72
|
export declare type ServiceInputTypes =
|
|
65
73
|
| DescribeServicesCommandInput
|
|
66
74
|
| GetAttributeValuesCommandInput
|
|
67
|
-
|
|
|
75
|
+
| GetPriceListFileUrlCommandInput
|
|
76
|
+
| GetProductsCommandInput
|
|
77
|
+
| ListPriceListsCommandInput;
|
|
68
78
|
export declare type ServiceOutputTypes =
|
|
69
79
|
| DescribeServicesCommandOutput
|
|
70
80
|
| GetAttributeValuesCommandOutput
|
|
71
|
-
|
|
|
81
|
+
| GetPriceListFileUrlCommandOutput
|
|
82
|
+
| GetProductsCommandOutput
|
|
83
|
+
| ListPriceListsCommandOutput;
|
|
72
84
|
export interface ClientDefaults
|
|
73
85
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
74
86
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
GetPriceListFileUrlRequest,
|
|
11
|
+
GetPriceListFileUrlResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
PricingClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../PricingClient";
|
|
18
|
+
export interface GetPriceListFileUrlCommandInput
|
|
19
|
+
extends GetPriceListFileUrlRequest {}
|
|
20
|
+
export interface GetPriceListFileUrlCommandOutput
|
|
21
|
+
extends GetPriceListFileUrlResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class GetPriceListFileUrlCommand extends $Command<
|
|
24
|
+
GetPriceListFileUrlCommandInput,
|
|
25
|
+
GetPriceListFileUrlCommandOutput,
|
|
26
|
+
PricingClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: GetPriceListFileUrlCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetPriceListFileUrlCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: PricingClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<GetPriceListFileUrlCommandInput, GetPriceListFileUrlCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
ListPriceListsRequest,
|
|
11
|
+
ListPriceListsResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
PricingClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../PricingClient";
|
|
18
|
+
export interface ListPriceListsCommandInput extends ListPriceListsRequest {}
|
|
19
|
+
export interface ListPriceListsCommandOutput
|
|
20
|
+
extends ListPriceListsResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class ListPriceListsCommand extends $Command<
|
|
23
|
+
ListPriceListsCommandInput,
|
|
24
|
+
ListPriceListsCommandOutput,
|
|
25
|
+
PricingClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: ListPriceListsCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: ListPriceListsCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: PricingClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<ListPriceListsCommandInput, ListPriceListsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -3,6 +3,14 @@ import {
|
|
|
3
3
|
LazyJsonString as __LazyJsonString,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
5
|
import { PricingServiceException as __BaseException } from "./PricingServiceException";
|
|
6
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
7
|
+
readonly name: "AccessDeniedException";
|
|
8
|
+
readonly $fault: "client";
|
|
9
|
+
Message?: string;
|
|
10
|
+
constructor(
|
|
11
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
12
|
+
);
|
|
13
|
+
}
|
|
6
14
|
export interface AttributeValue {
|
|
7
15
|
Value?: string;
|
|
8
16
|
}
|
|
@@ -69,6 +77,13 @@ export interface GetAttributeValuesResponse {
|
|
|
69
77
|
AttributeValues?: AttributeValue[];
|
|
70
78
|
NextToken?: string;
|
|
71
79
|
}
|
|
80
|
+
export interface GetPriceListFileUrlRequest {
|
|
81
|
+
PriceListArn: string | undefined;
|
|
82
|
+
FileFormat: string | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface GetPriceListFileUrlResponse {
|
|
85
|
+
Url?: string;
|
|
86
|
+
}
|
|
72
87
|
export declare enum FilterType {
|
|
73
88
|
TERM_MATCH = "TERM_MATCH",
|
|
74
89
|
}
|
|
@@ -89,6 +104,24 @@ export interface GetProductsResponse {
|
|
|
89
104
|
PriceList?: (__LazyJsonString | string)[];
|
|
90
105
|
NextToken?: string;
|
|
91
106
|
}
|
|
107
|
+
export interface ListPriceListsRequest {
|
|
108
|
+
ServiceCode: string | undefined;
|
|
109
|
+
EffectiveDate: Date | undefined;
|
|
110
|
+
RegionCode?: string;
|
|
111
|
+
CurrencyCode: string | undefined;
|
|
112
|
+
NextToken?: string;
|
|
113
|
+
MaxResults?: number;
|
|
114
|
+
}
|
|
115
|
+
export interface PriceList {
|
|
116
|
+
PriceListArn?: string;
|
|
117
|
+
RegionCode?: string;
|
|
118
|
+
CurrencyCode?: string;
|
|
119
|
+
FileFormats?: string[];
|
|
120
|
+
}
|
|
121
|
+
export interface ListPriceListsResponse {
|
|
122
|
+
PriceLists?: PriceList[];
|
|
123
|
+
NextToken?: string;
|
|
124
|
+
}
|
|
92
125
|
export declare const AttributeValueFilterSensitiveLog: (
|
|
93
126
|
obj: AttributeValue
|
|
94
127
|
) => any;
|
|
@@ -105,6 +138,12 @@ export declare const GetAttributeValuesRequestFilterSensitiveLog: (
|
|
|
105
138
|
export declare const GetAttributeValuesResponseFilterSensitiveLog: (
|
|
106
139
|
obj: GetAttributeValuesResponse
|
|
107
140
|
) => any;
|
|
141
|
+
export declare const GetPriceListFileUrlRequestFilterSensitiveLog: (
|
|
142
|
+
obj: GetPriceListFileUrlRequest
|
|
143
|
+
) => any;
|
|
144
|
+
export declare const GetPriceListFileUrlResponseFilterSensitiveLog: (
|
|
145
|
+
obj: GetPriceListFileUrlResponse
|
|
146
|
+
) => any;
|
|
108
147
|
export declare const FilterFilterSensitiveLog: (obj: Filter) => any;
|
|
109
148
|
export declare const GetProductsRequestFilterSensitiveLog: (
|
|
110
149
|
obj: GetProductsRequest
|
|
@@ -112,3 +151,10 @@ export declare const GetProductsRequestFilterSensitiveLog: (
|
|
|
112
151
|
export declare const GetProductsResponseFilterSensitiveLog: (
|
|
113
152
|
obj: GetProductsResponse
|
|
114
153
|
) => any;
|
|
154
|
+
export declare const ListPriceListsRequestFilterSensitiveLog: (
|
|
155
|
+
obj: ListPriceListsRequest
|
|
156
|
+
) => any;
|
|
157
|
+
export declare const PriceListFilterSensitiveLog: (obj: PriceList) => any;
|
|
158
|
+
export declare const ListPriceListsResponseFilterSensitiveLog: (
|
|
159
|
+
obj: ListPriceListsResponse
|
|
160
|
+
) => any;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListPriceListsCommandInput,
|
|
4
|
+
ListPriceListsCommandOutput,
|
|
5
|
+
} from "../commands/ListPriceListsCommand";
|
|
6
|
+
import { PricingPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListPriceLists(
|
|
8
|
+
config: PricingPaginationConfiguration,
|
|
9
|
+
input: ListPriceListsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListPriceListsCommandOutput>;
|
|
@@ -11,10 +11,18 @@ import {
|
|
|
11
11
|
GetAttributeValuesCommandInput,
|
|
12
12
|
GetAttributeValuesCommandOutput,
|
|
13
13
|
} from "../commands/GetAttributeValuesCommand";
|
|
14
|
+
import {
|
|
15
|
+
GetPriceListFileUrlCommandInput,
|
|
16
|
+
GetPriceListFileUrlCommandOutput,
|
|
17
|
+
} from "../commands/GetPriceListFileUrlCommand";
|
|
14
18
|
import {
|
|
15
19
|
GetProductsCommandInput,
|
|
16
20
|
GetProductsCommandOutput,
|
|
17
21
|
} from "../commands/GetProductsCommand";
|
|
22
|
+
import {
|
|
23
|
+
ListPriceListsCommandInput,
|
|
24
|
+
ListPriceListsCommandOutput,
|
|
25
|
+
} from "../commands/ListPriceListsCommand";
|
|
18
26
|
export declare const serializeAws_json1_1DescribeServicesCommand: (
|
|
19
27
|
input: DescribeServicesCommandInput,
|
|
20
28
|
context: __SerdeContext
|
|
@@ -23,10 +31,18 @@ export declare const serializeAws_json1_1GetAttributeValuesCommand: (
|
|
|
23
31
|
input: GetAttributeValuesCommandInput,
|
|
24
32
|
context: __SerdeContext
|
|
25
33
|
) => Promise<__HttpRequest>;
|
|
34
|
+
export declare const serializeAws_json1_1GetPriceListFileUrlCommand: (
|
|
35
|
+
input: GetPriceListFileUrlCommandInput,
|
|
36
|
+
context: __SerdeContext
|
|
37
|
+
) => Promise<__HttpRequest>;
|
|
26
38
|
export declare const serializeAws_json1_1GetProductsCommand: (
|
|
27
39
|
input: GetProductsCommandInput,
|
|
28
40
|
context: __SerdeContext
|
|
29
41
|
) => Promise<__HttpRequest>;
|
|
42
|
+
export declare const serializeAws_json1_1ListPriceListsCommand: (
|
|
43
|
+
input: ListPriceListsCommandInput,
|
|
44
|
+
context: __SerdeContext
|
|
45
|
+
) => Promise<__HttpRequest>;
|
|
30
46
|
export declare const deserializeAws_json1_1DescribeServicesCommand: (
|
|
31
47
|
output: __HttpResponse,
|
|
32
48
|
context: __SerdeContext
|
|
@@ -35,7 +51,15 @@ export declare const deserializeAws_json1_1GetAttributeValuesCommand: (
|
|
|
35
51
|
output: __HttpResponse,
|
|
36
52
|
context: __SerdeContext
|
|
37
53
|
) => Promise<GetAttributeValuesCommandOutput>;
|
|
54
|
+
export declare const deserializeAws_json1_1GetPriceListFileUrlCommand: (
|
|
55
|
+
output: __HttpResponse,
|
|
56
|
+
context: __SerdeContext
|
|
57
|
+
) => Promise<GetPriceListFileUrlCommandOutput>;
|
|
38
58
|
export declare const deserializeAws_json1_1GetProductsCommand: (
|
|
39
59
|
output: __HttpResponse,
|
|
40
60
|
context: __SerdeContext
|
|
41
61
|
) => Promise<GetProductsCommandOutput>;
|
|
62
|
+
export declare const deserializeAws_json1_1ListPriceListsCommand: (
|
|
63
|
+
output: __HttpResponse,
|
|
64
|
+
context: __SerdeContext
|
|
65
|
+
) => Promise<ListPriceListsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pricing",
|
|
3
3
|
"description": "AWS SDK for JavaScript Pricing Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.282.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,25 +20,25 @@
|
|
|
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-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.282.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.282.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.282.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.282.0",
|
|
27
27
|
"@aws-sdk/hash-node": "3.272.0",
|
|
28
28
|
"@aws-sdk/invalid-dependency": "3.272.0",
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.282.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.282.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.282.0",
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.272.0",
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.282.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.282.0",
|
|
35
35
|
"@aws-sdk/middleware-serde": "3.272.0",
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.282.0",
|
|
37
37
|
"@aws-sdk/middleware-stack": "3.272.0",
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.282.0",
|
|
39
39
|
"@aws-sdk/node-config-provider": "3.272.0",
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.282.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.282.0",
|
|
42
42
|
"@aws-sdk/smithy-client": "3.279.0",
|
|
43
43
|
"@aws-sdk/types": "3.272.0",
|
|
44
44
|
"@aws-sdk/url-parser": "3.272.0",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-browser": "3.279.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.282.0",
|
|
50
50
|
"@aws-sdk/util-endpoints": "3.272.0",
|
|
51
51
|
"@aws-sdk/util-retry": "3.272.0",
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.282.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.282.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
55
|
"tslib": "^2.3.1"
|
|
56
56
|
},
|