@aws-sdk/client-pricing 3.533.0 → 3.535.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,6 +9,7 @@ export interface Pricing {
9
9
  /**
10
10
  * @see {@link DescribeServicesCommand}
11
11
  */
12
+ describeServices(): Promise<DescribeServicesCommandOutput>;
12
13
  describeServices(args: DescribeServicesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeServicesCommandOutput>;
13
14
  describeServices(args: DescribeServicesCommandInput, cb: (err: any, data?: DescribeServicesCommandOutput) => void): void;
14
15
  describeServices(args: DescribeServicesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeServicesCommandOutput) => void): void;
@@ -38,7 +39,6 @@ export interface Pricing {
38
39
  listPriceLists(args: ListPriceListsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPriceListsCommandOutput) => void): void;
39
40
  }
40
41
  /**
41
- * @public
42
42
  * <p>The Amazon Web Services Price List API is a centralized and convenient way to programmatically
43
43
  * query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List uses standardized product attributes such as <code>Location</code>,
44
44
  * <code>Storage Class</code>, and <code>Operating System</code>, and provides prices at
@@ -68,6 +68,7 @@ export interface Pricing {
68
68
  * <p>For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html">Using the
69
69
  * Amazon Web Services Price List API</a> in the <i>Billing User
70
70
  * Guide</i>.</p>
71
+ * @public
71
72
  */
72
73
  export declare class Pricing extends PricingClient implements Pricing {
73
74
  }
@@ -156,7 +156,6 @@ export type PricingClientResolvedConfigType = __SmithyResolvedConfiguration<__Ht
156
156
  export interface PricingClientResolvedConfig extends PricingClientResolvedConfigType {
157
157
  }
158
158
  /**
159
- * @public
160
159
  * <p>The Amazon Web Services Price List API is a centralized and convenient way to programmatically
161
160
  * query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List uses standardized product attributes such as <code>Location</code>,
162
161
  * <code>Storage Class</code>, and <code>Operating System</code>, and provides prices at
@@ -186,6 +185,7 @@ export interface PricingClientResolvedConfig extends PricingClientResolvedConfig
186
185
  * <p>For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/price-changes.html">Using the
187
186
  * Amazon Web Services Price List API</a> in the <i>Billing User
188
187
  * Guide</i>.</p>
188
+ * @public
189
189
  */
190
190
  export declare class PricingClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, PricingClientResolvedConfig> {
191
191
  /**
@@ -22,10 +22,10 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
22
22
  }
23
23
  declare const DescribeServicesCommand_base: {
24
24
  new (input: DescribeServicesCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeServicesCommandInput, DescribeServicesCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (...[input]: [] | [DescribeServicesCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeServicesCommandInput, DescribeServicesCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Returns the metadata for one service or a list of the metadata for all services. Use
30
30
  * this without a service code to get the service codes for all services.
31
31
  * Use it with a service code, such as <code>AmazonEC2</code>, to get information specific to
@@ -90,6 +90,7 @@ declare const DescribeServicesCommand_base: {
90
90
  * @throws {@link PricingServiceException}
91
91
  * <p>Base exception class for all service exceptions from Pricing service.</p>
92
92
  *
93
+ * @public
93
94
  */
94
95
  export declare class DescribeServicesCommand extends DescribeServicesCommand_base {
95
96
  }
@@ -22,10 +22,10 @@ export interface GetAttributeValuesCommandOutput extends GetAttributeValuesRespo
22
22
  }
23
23
  declare const GetAttributeValuesCommand_base: {
24
24
  new (input: GetAttributeValuesCommandInput): import("@smithy/smithy-client").CommandImpl<GetAttributeValuesCommandInput, GetAttributeValuesCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetAttributeValuesCommandInput): import("@smithy/smithy-client").CommandImpl<GetAttributeValuesCommandInput, GetAttributeValuesCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Returns a list of attribute values. Attributes are similar to the details
30
30
  * in a Price List API offer file. For a list of available attributes, see
31
31
  * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#pps-defs">Offer File Definitions</a>
@@ -83,6 +83,7 @@ declare const GetAttributeValuesCommand_base: {
83
83
  * @throws {@link PricingServiceException}
84
84
  * <p>Base exception class for all service exceptions from Pricing service.</p>
85
85
  *
86
+ * @public
86
87
  */
87
88
  export declare class GetAttributeValuesCommand extends GetAttributeValuesCommand_base {
88
89
  }
@@ -22,10 +22,10 @@ export interface GetPriceListFileUrlCommandOutput extends GetPriceListFileUrlRes
22
22
  }
23
23
  declare const GetPriceListFileUrlCommand_base: {
24
24
  new (input: GetPriceListFileUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GetPriceListFileUrlCommandInput, GetPriceListFileUrlCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetPriceListFileUrlCommandInput): import("@smithy/smithy-client").CommandImpl<GetPriceListFileUrlCommandInput, GetPriceListFileUrlCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>
30
30
  * <i>
31
31
  * <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>
@@ -77,6 +77,7 @@ declare const GetPriceListFileUrlCommand_base: {
77
77
  * @throws {@link PricingServiceException}
78
78
  * <p>Base exception class for all service exceptions from Pricing service.</p>
79
79
  *
80
+ * @public
80
81
  */
81
82
  export declare class GetPriceListFileUrlCommand extends GetPriceListFileUrlCommand_base {
82
83
  }
@@ -22,10 +22,10 @@ export interface GetProductsCommandOutput extends GetProductsResponse, __Metadat
22
22
  }
23
23
  declare const GetProductsCommand_base: {
24
24
  new (input: GetProductsCommandInput): import("@smithy/smithy-client").CommandImpl<GetProductsCommandInput, GetProductsCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: GetProductsCommandInput): import("@smithy/smithy-client").CommandImpl<GetProductsCommandInput, GetProductsCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Returns a list of all products that match the filter criteria.</p>
30
30
  * @example
31
31
  * Use a bare-bones client and the command you need to make an API call.
@@ -86,6 +86,7 @@ declare const GetProductsCommand_base: {
86
86
  * @throws {@link PricingServiceException}
87
87
  * <p>Base exception class for all service exceptions from Pricing service.</p>
88
88
  *
89
+ * @public
89
90
  */
90
91
  export declare class GetProductsCommand extends GetProductsCommand_base {
91
92
  }
@@ -22,10 +22,10 @@ export interface ListPriceListsCommandOutput extends ListPriceListsResponse, __M
22
22
  }
23
23
  declare const ListPriceListsCommand_base: {
24
24
  new (input: ListPriceListsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPriceListsCommandInput, ListPriceListsCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ new (__0_0: ListPriceListsCommandInput): import("@smithy/smithy-client").CommandImpl<ListPriceListsCommandInput, ListPriceListsCommandOutput, PricingClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>
30
30
  * <i>
31
31
  * <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>
@@ -101,6 +101,7 @@ declare const ListPriceListsCommand_base: {
101
101
  * @throws {@link PricingServiceException}
102
102
  * <p>Base exception class for all service exceptions from Pricing service.</p>
103
103
  *
104
+ * @public
104
105
  */
105
106
  export declare class ListPriceListsCommand extends ListPriceListsCommand_base {
106
107
  }
@@ -1,8 +1,8 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType, LazyJsonString as __LazyJsonString } from "@smithy/smithy-client";
2
2
  import { PricingServiceException as __BaseException } from "./PricingServiceException";
3
3
  /**
4
- * @public
5
4
  * <p>General authentication failure. The request wasn't signed correctly.</p>
5
+ * @public
6
6
  */
7
7
  export declare class AccessDeniedException extends __BaseException {
8
8
  readonly name: "AccessDeniedException";
@@ -14,15 +14,15 @@ export declare class AccessDeniedException extends __BaseException {
14
14
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
15
  }
16
16
  /**
17
- * @public
18
17
  * <p>The values of a given attribute, such as <code>Throughput Optimized HDD</code> or <code>Provisioned
19
18
  * IOPS</code> for the <code>Amazon EC2</code>
20
19
  * <code>volumeType</code> attribute.</p>
20
+ * @public
21
21
  */
22
22
  export interface AttributeValue {
23
23
  /**
24
- * @public
25
24
  * <p>The specific value of an <code>attributeName</code>.</p>
25
+ * @public
26
26
  */
27
27
  Value?: string;
28
28
  }
@@ -31,44 +31,44 @@ export interface AttributeValue {
31
31
  */
32
32
  export interface DescribeServicesRequest {
33
33
  /**
34
- * @public
35
34
  * <p>The code for the service whose information you want to retrieve, such as <code>AmazonEC2</code>.
36
35
  * You can use
37
36
  * the <code>ServiceCode</code> to filter the results in a <code>GetProducts</code> call.
38
37
  * To retrieve a list of all services, leave this blank.</p>
38
+ * @public
39
39
  */
40
40
  ServiceCode?: string;
41
41
  /**
42
- * @public
43
42
  * <p>The format version that you want the response to be in.</p>
44
43
  * <p>Valid values are: <code>aws_v1</code>
45
44
  * </p>
45
+ * @public
46
46
  */
47
47
  FormatVersion?: string;
48
48
  /**
49
- * @public
50
49
  * <p>The pagination token that indicates the next set of results that you want to retrieve.</p>
50
+ * @public
51
51
  */
52
52
  NextToken?: string;
53
53
  /**
54
- * @public
55
54
  * <p>The maximum number of results that you want returned in the response.</p>
55
+ * @public
56
56
  */
57
57
  MaxResults?: number;
58
58
  }
59
59
  /**
60
- * @public
61
60
  * <p>The metadata for a service, such as the service code and available attribute names.</p>
61
+ * @public
62
62
  */
63
63
  export interface Service {
64
64
  /**
65
- * @public
66
65
  * <p>The code for the Amazon Web Services service.</p>
66
+ * @public
67
67
  */
68
68
  ServiceCode: string | undefined;
69
69
  /**
70
- * @public
71
70
  * <p>The attributes that are available for this service.</p>
71
+ * @public
72
72
  */
73
73
  AttributeNames?: string[];
74
74
  }
@@ -77,24 +77,24 @@ export interface Service {
77
77
  */
78
78
  export interface DescribeServicesResponse {
79
79
  /**
80
- * @public
81
80
  * <p>The service metadata for the service or services in the response.</p>
81
+ * @public
82
82
  */
83
83
  Services?: Service[];
84
84
  /**
85
- * @public
86
85
  * <p>The format version of the response. For example, <code>aws_v1</code>.</p>
86
+ * @public
87
87
  */
88
88
  FormatVersion?: string;
89
89
  /**
90
- * @public
91
90
  * <p>The pagination token for the next set of retrievable results.</p>
91
+ * @public
92
92
  */
93
93
  NextToken?: string;
94
94
  }
95
95
  /**
96
- * @public
97
96
  * <p>The pagination token expired. Try again without a pagination token.</p>
97
+ * @public
98
98
  */
99
99
  export declare class ExpiredNextTokenException extends __BaseException {
100
100
  readonly name: "ExpiredNextTokenException";
@@ -106,8 +106,8 @@ export declare class ExpiredNextTokenException extends __BaseException {
106
106
  constructor(opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>);
107
107
  }
108
108
  /**
109
- * @public
110
109
  * <p>An error on the server occurred during the processing of your request. Try again later.</p>
110
+ * @public
111
111
  */
112
112
  export declare class InternalErrorException extends __BaseException {
113
113
  readonly name: "InternalErrorException";
@@ -120,8 +120,8 @@ export declare class InternalErrorException extends __BaseException {
120
120
  constructor(opts: __ExceptionOptionType<InternalErrorException, __BaseException>);
121
121
  }
122
122
  /**
123
- * @public
124
123
  * <p>The pagination token is invalid. Try again without a pagination token.</p>
124
+ * @public
125
125
  */
126
126
  export declare class InvalidNextTokenException extends __BaseException {
127
127
  readonly name: "InvalidNextTokenException";
@@ -133,8 +133,8 @@ export declare class InvalidNextTokenException extends __BaseException {
133
133
  constructor(opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>);
134
134
  }
135
135
  /**
136
- * @public
137
136
  * <p>One or more parameters had an invalid value.</p>
137
+ * @public
138
138
  */
139
139
  export declare class InvalidParameterException extends __BaseException {
140
140
  readonly name: "InvalidParameterException";
@@ -146,8 +146,8 @@ export declare class InvalidParameterException extends __BaseException {
146
146
  constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
147
147
  }
148
148
  /**
149
- * @public
150
149
  * <p>The requested resource can't be found.</p>
150
+ * @public
151
151
  */
152
152
  export declare class NotFoundException extends __BaseException {
153
153
  readonly name: "NotFoundException";
@@ -159,9 +159,9 @@ export declare class NotFoundException extends __BaseException {
159
159
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
160
160
  }
161
161
  /**
162
- * @public
163
162
  * <p>You've made too many requests exceeding service quotas.
164
163
  * </p>
164
+ * @public
165
165
  */
166
166
  export declare class ThrottlingException extends __BaseException {
167
167
  readonly name: "ThrottlingException";
@@ -180,24 +180,24 @@ export declare class ThrottlingException extends __BaseException {
180
180
  */
181
181
  export interface GetAttributeValuesRequest {
182
182
  /**
183
- * @public
184
183
  * <p>The service code for the service whose attributes you want to retrieve. For example, if you want
185
184
  * the retrieve an EC2 attribute, use <code>AmazonEC2</code>.</p>
185
+ * @public
186
186
  */
187
187
  ServiceCode: string | undefined;
188
188
  /**
189
- * @public
190
189
  * <p>The name of the attribute that you want to retrieve the values for, such as <code>volumeType</code>.</p>
190
+ * @public
191
191
  */
192
192
  AttributeName: string | undefined;
193
193
  /**
194
- * @public
195
194
  * <p>The pagination token that indicates the next set of results that you want to retrieve.</p>
195
+ * @public
196
196
  */
197
197
  NextToken?: string;
198
198
  /**
199
- * @public
200
199
  * <p>The maximum number of results to return in response.</p>
200
+ * @public
201
201
  */
202
202
  MaxResults?: number;
203
203
  }
@@ -206,15 +206,15 @@ export interface GetAttributeValuesRequest {
206
206
  */
207
207
  export interface GetAttributeValuesResponse {
208
208
  /**
209
- * @public
210
209
  * <p>The list of values for an attribute. For example, <code>Throughput Optimized HDD</code> and
211
210
  * <code>Provisioned IOPS</code> are two available values for the <code>AmazonEC2</code>
212
211
  * <code>volumeType</code>.</p>
212
+ * @public
213
213
  */
214
214
  AttributeValues?: AttributeValue[];
215
215
  /**
216
- * @public
217
216
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
217
+ * @public
218
218
  */
219
219
  NextToken?: string;
220
220
  }
@@ -223,15 +223,15 @@ export interface GetAttributeValuesResponse {
223
223
  */
224
224
  export interface GetPriceListFileUrlRequest {
225
225
  /**
226
- * @public
227
226
  * <p>The unique identifier that maps to where your Price List files are located.
228
227
  * <code>PriceListArn</code> can be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">ListPriceLists</a> response. </p>
228
+ * @public
229
229
  */
230
230
  PriceListArn: string | undefined;
231
231
  /**
232
- * @public
233
232
  * <p>The format that you want to retrieve your Price List files in. The
234
233
  * <code>FileFormat</code> can be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">ListPriceLists</a> response. </p>
234
+ * @public
235
235
  */
236
236
  FileFormat: string | undefined;
237
237
  }
@@ -240,8 +240,8 @@ export interface GetPriceListFileUrlRequest {
240
240
  */
241
241
  export interface GetPriceListFileUrlResponse {
242
242
  /**
243
- * @public
244
243
  * <p>The URL to download your Price List file from. </p>
244
+ * @public
245
245
  */
246
246
  Url?: string;
247
247
  }
@@ -257,19 +257,18 @@ export declare const FilterType: {
257
257
  */
258
258
  export type FilterType = (typeof FilterType)[keyof typeof FilterType];
259
259
  /**
260
- * @public
261
260
  * <p>The constraints that you want all returned products to match.</p>
261
+ * @public
262
262
  */
263
263
  export interface Filter {
264
264
  /**
265
- * @public
266
265
  * <p>The type of filter that you want to use.</p>
267
266
  * <p>Valid values are: <code>TERM_MATCH</code>. <code>TERM_MATCH</code> returns only
268
267
  * products that match both the given filter field and the given value.</p>
268
+ * @public
269
269
  */
270
270
  Type: FilterType | undefined;
271
271
  /**
272
- * @public
273
272
  * <p>The product metadata field that you want to filter on. You can filter by just the
274
273
  * service code to see all products for a specific service, filter
275
274
  * by just the attribute name to see a specific attribute for multiple services, or use both a service code
@@ -277,14 +276,15 @@ export interface Filter {
277
276
  * <p>Valid values include: <code>ServiceCode</code>, and all attribute names</p>
278
277
  * <p>For example, you can filter by the <code>AmazonEC2</code> service code and the
279
278
  * <code>volumeType</code> attribute name to get the prices for only Amazon EC2 volumes.</p>
279
+ * @public
280
280
  */
281
281
  Field: string | undefined;
282
282
  /**
283
- * @public
284
283
  * <p>The service code or attribute value that you want to filter by. If you're filtering
285
284
  * by service code this is the actual service code, such as <code>AmazonEC2</code>. If you're
286
285
  * filtering by attribute name, this is the attribute value that you want the returned
287
286
  * products to match, such as a <code>Provisioned IOPS</code> volume.</p>
287
+ * @public
288
288
  */
289
289
  Value: string | undefined;
290
290
  }
@@ -293,31 +293,31 @@ export interface Filter {
293
293
  */
294
294
  export interface GetProductsRequest {
295
295
  /**
296
- * @public
297
296
  * <p>The code for the service whose products you want to retrieve. </p>
297
+ * @public
298
298
  */
299
299
  ServiceCode: string | undefined;
300
300
  /**
301
- * @public
302
301
  * <p>The list of filters that limit the returned products. only products that match all filters
303
302
  * are returned.</p>
303
+ * @public
304
304
  */
305
305
  Filters?: Filter[];
306
306
  /**
307
- * @public
308
307
  * <p>The format version that you want the response to be in.</p>
309
308
  * <p>Valid values are: <code>aws_v1</code>
310
309
  * </p>
310
+ * @public
311
311
  */
312
312
  FormatVersion?: string;
313
313
  /**
314
- * @public
315
314
  * <p>The pagination token that indicates the next set of results that you want to retrieve.</p>
315
+ * @public
316
316
  */
317
317
  NextToken?: string;
318
318
  /**
319
- * @public
320
319
  * <p>The maximum number of results to return in the response.</p>
320
+ * @public
321
321
  */
322
322
  MaxResults?: number;
323
323
  }
@@ -326,19 +326,19 @@ export interface GetProductsRequest {
326
326
  */
327
327
  export interface GetProductsResponse {
328
328
  /**
329
- * @public
330
329
  * <p>The format version of the response. For example, aws_v1.</p>
330
+ * @public
331
331
  */
332
332
  FormatVersion?: string;
333
333
  /**
334
- * @public
335
334
  * <p>The list of products that match your filters. The list contains both the product metadata and
336
335
  * the price information.</p>
336
+ * @public
337
337
  */
338
338
  PriceList?: (__LazyJsonString | string)[];
339
339
  /**
340
- * @public
341
340
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
341
+ * @public
342
342
  */
343
343
  NextToken?: string;
344
344
  }
@@ -347,7 +347,6 @@ export interface GetProductsResponse {
347
347
  */
348
348
  export interface ListPriceListsRequest {
349
349
  /**
350
- * @public
351
350
  * <p>The service code or the Savings Plan service code for the attributes that
352
351
  * you want to retrieve. For example, to get the list of applicable Amazon EC2 price
353
352
  * lists, use <code>AmazonEC2</code>. For a full list of service codes containing On-Demand
@@ -356,79 +355,80 @@ export interface ListPriceListsRequest {
356
355
  * use <code>ComputeSavingsPlans</code>. </p>
357
356
  * <p>To retrieve Machine Learning Savings Plans price lists, use
358
357
  * <code>MachineLearningSavingsPlans</code>. </p>
358
+ * @public
359
359
  */
360
360
  ServiceCode: string | undefined;
361
361
  /**
362
- * @public
363
362
  * <p>The date that the Price List file prices are effective from. </p>
363
+ * @public
364
364
  */
365
365
  EffectiveDate: Date | undefined;
366
366
  /**
367
- * @public
368
367
  * <p>This is used to filter the Price List by Amazon Web Services Region. For example, to get
369
368
  * the price list only for the <code>US East (N. Virginia)</code> Region, use
370
369
  * <code>us-east-1</code>. If nothing is specified, you retrieve price lists for all
371
370
  * 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">GetAttributeValues</a> API.</p>
371
+ * @public
372
372
  */
373
373
  RegionCode?: string;
374
374
  /**
375
- * @public
376
375
  * <p>The three alphabetical character ISO-4217 currency code that the Price List files are
377
376
  * denominated in. </p>
377
+ * @public
378
378
  */
379
379
  CurrencyCode: string | undefined;
380
380
  /**
381
- * @public
382
381
  * <p>The pagination token that indicates the next set of results that you want to retrieve. </p>
382
+ * @public
383
383
  */
384
384
  NextToken?: string;
385
385
  /**
386
- * @public
387
386
  * <p>The maximum number of results to return in the response.
388
387
  * </p>
388
+ * @public
389
389
  */
390
390
  MaxResults?: number;
391
391
  }
392
392
  /**
393
- * @public
394
393
  * <p>
395
394
  * <i>
396
395
  * <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>
397
396
  * </i>
398
397
  * </p>
399
398
  * <p>This is the type of price list references that match your request. </p>
399
+ * @public
400
400
  */
401
401
  export interface PriceList {
402
402
  /**
403
- * @public
404
403
  * <p>The unique identifier that maps to where your Price List files are located.
405
404
  * <code>PriceListArn</code> can be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">
406
405
  * <code>ListPriceList</code>
407
406
  * </a> response. </p>
407
+ * @public
408
408
  */
409
409
  PriceListArn?: string;
410
410
  /**
411
- * @public
412
411
  * <p>This is used to filter the Price List by Amazon Web Services Region. For example, to get
413
412
  * the price list only for the <code>US East (N. Virginia)</code> Region, use
414
413
  * <code>us-east-1</code>. If nothing is specified, you retrieve price lists for all
415
414
  * 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">
416
415
  * <code>GetAttributeValues</code>
417
416
  * </a> API. </p>
417
+ * @public
418
418
  */
419
419
  RegionCode?: string;
420
420
  /**
421
- * @public
422
421
  * <p>The three alphabetical character ISO-4217 currency code the Price List files are
423
422
  * denominated in. </p>
423
+ * @public
424
424
  */
425
425
  CurrencyCode?: string;
426
426
  /**
427
- * @public
428
427
  * <p>The format you want to retrieve your Price List files. The <code>FileFormat</code> can
429
428
  * be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">
430
429
  * <code>ListPriceList</code>
431
430
  * </a> response. </p>
431
+ * @public
432
432
  */
433
433
  FileFormats?: string[];
434
434
  }
@@ -437,13 +437,13 @@ export interface PriceList {
437
437
  */
438
438
  export interface ListPriceListsResponse {
439
439
  /**
440
- * @public
441
440
  * <p>The type of price list references that match your request. </p>
441
+ * @public
442
442
  */
443
443
  PriceLists?: PriceList[];
444
444
  /**
445
- * @public
446
445
  * <p>The pagination token that indicates the next set of results to retrieve. </p>
446
+ * @public
447
447
  */
448
448
  NextToken?: string;
449
449
  }
@@ -21,6 +21,7 @@ import {
21
21
  } from "./commands/ListPriceListsCommand";
22
22
  import { PricingClient } from "./PricingClient";
23
23
  export interface Pricing {
24
+ describeServices(): Promise<DescribeServicesCommandOutput>;
24
25
  describeServices(
25
26
  args: DescribeServicesCommandInput,
26
27
  options?: __HttpHandlerOptions
@@ -24,6 +24,15 @@ declare const DescribeServicesCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ ...[input]: [] | [DescribeServicesCommandInput]
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ DescribeServicesCommandInput,
31
+ DescribeServicesCommandOutput,
32
+ PricingClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class DescribeServicesCommand extends DescribeServicesCommand_base {}
@@ -25,6 +25,15 @@ declare const GetAttributeValuesCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: GetAttributeValuesCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetAttributeValuesCommandInput,
32
+ GetAttributeValuesCommandOutput,
33
+ PricingClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class GetAttributeValuesCommand extends GetAttributeValuesCommand_base {}
@@ -25,6 +25,15 @@ declare const GetPriceListFileUrlCommand_base: {
25
25
  ServiceInputTypes,
26
26
  ServiceOutputTypes
27
27
  >;
28
+ new (
29
+ __0_0: GetPriceListFileUrlCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetPriceListFileUrlCommandInput,
32
+ GetPriceListFileUrlCommandOutput,
33
+ PricingClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
28
37
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
29
38
  };
30
39
  export declare class GetPriceListFileUrlCommand extends GetPriceListFileUrlCommand_base {}
@@ -21,6 +21,15 @@ declare const GetProductsCommand_base: {
21
21
  ServiceInputTypes,
22
22
  ServiceOutputTypes
23
23
  >;
24
+ new (
25
+ __0_0: GetProductsCommandInput
26
+ ): import("@smithy/smithy-client").CommandImpl<
27
+ GetProductsCommandInput,
28
+ GetProductsCommandOutput,
29
+ PricingClientResolvedConfig,
30
+ ServiceInputTypes,
31
+ ServiceOutputTypes
32
+ >;
24
33
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
25
34
  };
26
35
  export declare class GetProductsCommand extends GetProductsCommand_base {}
@@ -24,6 +24,15 @@ declare const ListPriceListsCommand_base: {
24
24
  ServiceInputTypes,
25
25
  ServiceOutputTypes
26
26
  >;
27
+ new (
28
+ __0_0: ListPriceListsCommandInput
29
+ ): import("@smithy/smithy-client").CommandImpl<
30
+ ListPriceListsCommandInput,
31
+ ListPriceListsCommandOutput,
32
+ PricingClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
27
36
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
37
  };
29
38
  export declare class ListPriceListsCommand extends ListPriceListsCommand_base {}
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.533.0",
4
+ "version": "3.535.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-pricing",
@@ -20,47 +20,47 @@
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.533.0",
24
- "@aws-sdk/core": "3.533.0",
25
- "@aws-sdk/credential-provider-node": "3.533.0",
26
- "@aws-sdk/middleware-host-header": "3.533.0",
27
- "@aws-sdk/middleware-logger": "3.533.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.533.0",
29
- "@aws-sdk/middleware-user-agent": "3.533.0",
30
- "@aws-sdk/region-config-resolver": "3.533.0",
31
- "@aws-sdk/types": "3.533.0",
32
- "@aws-sdk/util-endpoints": "3.533.0",
33
- "@aws-sdk/util-user-agent-browser": "3.533.0",
34
- "@aws-sdk/util-user-agent-node": "3.533.0",
35
- "@smithy/config-resolver": "^2.1.5",
36
- "@smithy/core": "^1.3.8",
37
- "@smithy/fetch-http-handler": "^2.4.5",
38
- "@smithy/hash-node": "^2.1.4",
39
- "@smithy/invalid-dependency": "^2.1.4",
40
- "@smithy/middleware-content-length": "^2.1.4",
41
- "@smithy/middleware-endpoint": "^2.4.6",
42
- "@smithy/middleware-retry": "^2.1.7",
43
- "@smithy/middleware-serde": "^2.2.1",
44
- "@smithy/middleware-stack": "^2.1.4",
45
- "@smithy/node-config-provider": "^2.2.5",
46
- "@smithy/node-http-handler": "^2.4.3",
47
- "@smithy/protocol-http": "^3.2.2",
48
- "@smithy/smithy-client": "^2.4.5",
49
- "@smithy/types": "^2.11.0",
50
- "@smithy/url-parser": "^2.1.4",
51
- "@smithy/util-base64": "^2.2.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.2",
54
- "@smithy/util-defaults-mode-browser": "^2.1.7",
55
- "@smithy/util-defaults-mode-node": "^2.2.7",
56
- "@smithy/util-endpoints": "^1.1.5",
57
- "@smithy/util-middleware": "^2.1.4",
58
- "@smithy/util-retry": "^2.1.4",
59
- "@smithy/util-utf8": "^2.2.0",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.535.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.535.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",