@aws-sdk/client-pricing 3.687.0 → 3.692.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.
@@ -7,7 +7,7 @@ import { PricingServiceException as __BaseException } from "./PricingServiceExce
7
7
  export declare class AccessDeniedException extends __BaseException {
8
8
  readonly name: "AccessDeniedException";
9
9
  readonly $fault: "client";
10
- Message?: string;
10
+ Message?: string | undefined;
11
11
  /**
12
12
  * @internal
13
13
  */
@@ -24,7 +24,7 @@ export interface AttributeValue {
24
24
  * <p>The specific value of an <code>attributeName</code>.</p>
25
25
  * @public
26
26
  */
27
- Value?: string;
27
+ Value?: string | undefined;
28
28
  }
29
29
  /**
30
30
  * @public
@@ -37,24 +37,24 @@ export interface DescribeServicesRequest {
37
37
  * To retrieve a list of all services, leave this blank.</p>
38
38
  * @public
39
39
  */
40
- ServiceCode?: string;
40
+ ServiceCode?: string | undefined;
41
41
  /**
42
42
  * <p>The format version that you want the response to be in.</p>
43
43
  * <p>Valid values are: <code>aws_v1</code>
44
44
  * </p>
45
45
  * @public
46
46
  */
47
- FormatVersion?: string;
47
+ FormatVersion?: string | undefined;
48
48
  /**
49
49
  * <p>The pagination token that indicates the next set of results that you want to retrieve.</p>
50
50
  * @public
51
51
  */
52
- NextToken?: string;
52
+ NextToken?: string | undefined;
53
53
  /**
54
54
  * <p>The maximum number of results that you want returned in the response.</p>
55
55
  * @public
56
56
  */
57
- MaxResults?: number;
57
+ MaxResults?: number | undefined;
58
58
  }
59
59
  /**
60
60
  * <p>The metadata for a service, such as the service code and available attribute names.</p>
@@ -70,7 +70,7 @@ export interface Service {
70
70
  * <p>The attributes that are available for this service.</p>
71
71
  * @public
72
72
  */
73
- AttributeNames?: string[];
73
+ AttributeNames?: string[] | undefined;
74
74
  }
75
75
  /**
76
76
  * @public
@@ -80,17 +80,17 @@ export interface DescribeServicesResponse {
80
80
  * <p>The service metadata for the service or services in the response.</p>
81
81
  * @public
82
82
  */
83
- Services?: Service[];
83
+ Services?: Service[] | undefined;
84
84
  /**
85
85
  * <p>The format version of the response. For example, <code>aws_v1</code>.</p>
86
86
  * @public
87
87
  */
88
- FormatVersion?: string;
88
+ FormatVersion?: string | undefined;
89
89
  /**
90
90
  * <p>The pagination token for the next set of retrievable results.</p>
91
91
  * @public
92
92
  */
93
- NextToken?: string;
93
+ NextToken?: string | undefined;
94
94
  }
95
95
  /**
96
96
  * <p>The pagination token expired. Try again without a pagination token.</p>
@@ -99,7 +99,7 @@ export interface DescribeServicesResponse {
99
99
  export declare class ExpiredNextTokenException extends __BaseException {
100
100
  readonly name: "ExpiredNextTokenException";
101
101
  readonly $fault: "client";
102
- Message?: string;
102
+ Message?: string | undefined;
103
103
  /**
104
104
  * @internal
105
105
  */
@@ -113,7 +113,7 @@ export declare class InternalErrorException extends __BaseException {
113
113
  readonly name: "InternalErrorException";
114
114
  readonly $fault: "server";
115
115
  $retryable: {};
116
- Message?: string;
116
+ Message?: string | undefined;
117
117
  /**
118
118
  * @internal
119
119
  */
@@ -126,7 +126,7 @@ export declare class InternalErrorException extends __BaseException {
126
126
  export declare class InvalidNextTokenException extends __BaseException {
127
127
  readonly name: "InvalidNextTokenException";
128
128
  readonly $fault: "client";
129
- Message?: string;
129
+ Message?: string | undefined;
130
130
  /**
131
131
  * @internal
132
132
  */
@@ -139,7 +139,7 @@ export declare class InvalidNextTokenException extends __BaseException {
139
139
  export declare class InvalidParameterException extends __BaseException {
140
140
  readonly name: "InvalidParameterException";
141
141
  readonly $fault: "client";
142
- Message?: string;
142
+ Message?: string | undefined;
143
143
  /**
144
144
  * @internal
145
145
  */
@@ -152,7 +152,7 @@ export declare class InvalidParameterException extends __BaseException {
152
152
  export declare class NotFoundException extends __BaseException {
153
153
  readonly name: "NotFoundException";
154
154
  readonly $fault: "client";
155
- Message?: string;
155
+ Message?: string | undefined;
156
156
  /**
157
157
  * @internal
158
158
  */
@@ -169,7 +169,7 @@ export declare class ThrottlingException extends __BaseException {
169
169
  $retryable: {
170
170
  throttling: boolean;
171
171
  };
172
- Message?: string;
172
+ Message?: string | undefined;
173
173
  /**
174
174
  * @internal
175
175
  */
@@ -194,12 +194,12 @@ export interface GetAttributeValuesRequest {
194
194
  * <p>The pagination token that indicates the next set of results that you want to retrieve.</p>
195
195
  * @public
196
196
  */
197
- NextToken?: string;
197
+ NextToken?: string | undefined;
198
198
  /**
199
199
  * <p>The maximum number of results to return in response.</p>
200
200
  * @public
201
201
  */
202
- MaxResults?: number;
202
+ MaxResults?: number | undefined;
203
203
  }
204
204
  /**
205
205
  * @public
@@ -211,12 +211,12 @@ export interface GetAttributeValuesResponse {
211
211
  * <code>volumeType</code>.</p>
212
212
  * @public
213
213
  */
214
- AttributeValues?: AttributeValue[];
214
+ AttributeValues?: AttributeValue[] | undefined;
215
215
  /**
216
216
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
217
217
  * @public
218
218
  */
219
- NextToken?: string;
219
+ NextToken?: string | undefined;
220
220
  }
221
221
  /**
222
222
  * @public
@@ -243,7 +243,7 @@ export interface GetPriceListFileUrlResponse {
243
243
  * <p>The URL to download your Price List file from. </p>
244
244
  * @public
245
245
  */
246
- Url?: string;
246
+ Url?: string | undefined;
247
247
  }
248
248
  /**
249
249
  * <p>The requested resource can't be found.</p>
@@ -252,7 +252,7 @@ export interface GetPriceListFileUrlResponse {
252
252
  export declare class ResourceNotFoundException extends __BaseException {
253
253
  readonly name: "ResourceNotFoundException";
254
254
  readonly $fault: "client";
255
- Message?: string;
255
+ Message?: string | undefined;
256
256
  /**
257
257
  * @internal
258
258
  */
@@ -315,24 +315,24 @@ export interface GetProductsRequest {
315
315
  * are returned.</p>
316
316
  * @public
317
317
  */
318
- Filters?: Filter[];
318
+ Filters?: Filter[] | undefined;
319
319
  /**
320
320
  * <p>The format version that you want the response to be in.</p>
321
321
  * <p>Valid values are: <code>aws_v1</code>
322
322
  * </p>
323
323
  * @public
324
324
  */
325
- FormatVersion?: string;
325
+ FormatVersion?: string | undefined;
326
326
  /**
327
327
  * <p>The pagination token that indicates the next set of results that you want to retrieve.</p>
328
328
  * @public
329
329
  */
330
- NextToken?: string;
330
+ NextToken?: string | undefined;
331
331
  /**
332
332
  * <p>The maximum number of results to return in the response.</p>
333
333
  * @public
334
334
  */
335
- MaxResults?: number;
335
+ MaxResults?: number | undefined;
336
336
  }
337
337
  /**
338
338
  * @public
@@ -342,18 +342,18 @@ export interface GetProductsResponse {
342
342
  * <p>The format version of the response. For example, aws_v1.</p>
343
343
  * @public
344
344
  */
345
- FormatVersion?: string;
345
+ FormatVersion?: string | undefined;
346
346
  /**
347
347
  * <p>The list of products that match your filters. The list contains both the product metadata and
348
348
  * the price information.</p>
349
349
  * @public
350
350
  */
351
- PriceList?: (__LazyJsonString | string)[];
351
+ PriceList?: (__LazyJsonString | string)[] | undefined;
352
352
  /**
353
353
  * <p>The pagination token that indicates the next set of results to retrieve.</p>
354
354
  * @public
355
355
  */
356
- NextToken?: string;
356
+ NextToken?: string | undefined;
357
357
  }
358
358
  /**
359
359
  * @public
@@ -383,7 +383,7 @@ export interface ListPriceListsRequest {
383
383
  * 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>
384
384
  * @public
385
385
  */
386
- RegionCode?: string;
386
+ RegionCode?: string | undefined;
387
387
  /**
388
388
  * <p>The three alphabetical character ISO-4217 currency code that the Price List files are
389
389
  * denominated in. </p>
@@ -394,13 +394,13 @@ export interface ListPriceListsRequest {
394
394
  * <p>The pagination token that indicates the next set of results that you want to retrieve. </p>
395
395
  * @public
396
396
  */
397
- NextToken?: string;
397
+ NextToken?: string | undefined;
398
398
  /**
399
399
  * <p>The maximum number of results to return in the response.
400
400
  * </p>
401
401
  * @public
402
402
  */
403
- MaxResults?: number;
403
+ MaxResults?: number | undefined;
404
404
  }
405
405
  /**
406
406
  * <p>
@@ -419,7 +419,7 @@ export interface PriceList {
419
419
  * </a> response. </p>
420
420
  * @public
421
421
  */
422
- PriceListArn?: string;
422
+ PriceListArn?: string | undefined;
423
423
  /**
424
424
  * <p>This is used to filter the Price List by Amazon Web Services Region. For example, to get
425
425
  * the price list only for the <code>US East (N. Virginia)</code> Region, use
@@ -429,13 +429,13 @@ export interface PriceList {
429
429
  * </a> API. </p>
430
430
  * @public
431
431
  */
432
- RegionCode?: string;
432
+ RegionCode?: string | undefined;
433
433
  /**
434
434
  * <p>The three alphabetical character ISO-4217 currency code the Price List files are
435
435
  * denominated in. </p>
436
436
  * @public
437
437
  */
438
- CurrencyCode?: string;
438
+ CurrencyCode?: string | undefined;
439
439
  /**
440
440
  * <p>The format you want to retrieve your Price List files. The <code>FileFormat</code> can
441
441
  * be obtained from the <a href="https://docs.aws.amazon.com/aws-cost-management/latest/APIReference/API_pricing_ListPriceLists.html">
@@ -443,7 +443,7 @@ export interface PriceList {
443
443
  * </a> response. </p>
444
444
  * @public
445
445
  */
446
- FileFormats?: string[];
446
+ FileFormats?: string[] | undefined;
447
447
  }
448
448
  /**
449
449
  * @public
@@ -453,10 +453,10 @@ export interface ListPriceListsResponse {
453
453
  * <p>The type of price list references that match your request. </p>
454
454
  * @public
455
455
  */
456
- PriceLists?: PriceList[];
456
+ PriceLists?: PriceList[] | undefined;
457
457
  /**
458
458
  * <p>The pagination token that indicates the next set of results to retrieve. </p>
459
459
  * @public
460
460
  */
461
- NextToken?: string;
461
+ NextToken?: string | undefined;
462
462
  }
@@ -6,33 +6,33 @@ import { PricingServiceException as __BaseException } from "./PricingServiceExce
6
6
  export declare class AccessDeniedException extends __BaseException {
7
7
  readonly name: "AccessDeniedException";
8
8
  readonly $fault: "client";
9
- Message?: string;
9
+ Message?: string | undefined;
10
10
  constructor(
11
11
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
12
12
  );
13
13
  }
14
14
  export interface AttributeValue {
15
- Value?: string;
15
+ Value?: string | undefined;
16
16
  }
17
17
  export interface DescribeServicesRequest {
18
- ServiceCode?: string;
19
- FormatVersion?: string;
20
- NextToken?: string;
21
- MaxResults?: number;
18
+ ServiceCode?: string | undefined;
19
+ FormatVersion?: string | undefined;
20
+ NextToken?: string | undefined;
21
+ MaxResults?: number | undefined;
22
22
  }
23
23
  export interface Service {
24
24
  ServiceCode: string | undefined;
25
- AttributeNames?: string[];
25
+ AttributeNames?: string[] | undefined;
26
26
  }
27
27
  export interface DescribeServicesResponse {
28
- Services?: Service[];
29
- FormatVersion?: string;
30
- NextToken?: string;
28
+ Services?: Service[] | undefined;
29
+ FormatVersion?: string | undefined;
30
+ NextToken?: string | undefined;
31
31
  }
32
32
  export declare class ExpiredNextTokenException extends __BaseException {
33
33
  readonly name: "ExpiredNextTokenException";
34
34
  readonly $fault: "client";
35
- Message?: string;
35
+ Message?: string | undefined;
36
36
  constructor(
37
37
  opts: __ExceptionOptionType<ExpiredNextTokenException, __BaseException>
38
38
  );
@@ -41,7 +41,7 @@ export declare class InternalErrorException extends __BaseException {
41
41
  readonly name: "InternalErrorException";
42
42
  readonly $fault: "server";
43
43
  $retryable: {};
44
- Message?: string;
44
+ Message?: string | undefined;
45
45
  constructor(
46
46
  opts: __ExceptionOptionType<InternalErrorException, __BaseException>
47
47
  );
@@ -49,7 +49,7 @@ export declare class InternalErrorException extends __BaseException {
49
49
  export declare class InvalidNextTokenException extends __BaseException {
50
50
  readonly name: "InvalidNextTokenException";
51
51
  readonly $fault: "client";
52
- Message?: string;
52
+ Message?: string | undefined;
53
53
  constructor(
54
54
  opts: __ExceptionOptionType<InvalidNextTokenException, __BaseException>
55
55
  );
@@ -57,7 +57,7 @@ export declare class InvalidNextTokenException extends __BaseException {
57
57
  export declare class InvalidParameterException extends __BaseException {
58
58
  readonly name: "InvalidParameterException";
59
59
  readonly $fault: "client";
60
- Message?: string;
60
+ Message?: string | undefined;
61
61
  constructor(
62
62
  opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
63
63
  );
@@ -65,7 +65,7 @@ export declare class InvalidParameterException extends __BaseException {
65
65
  export declare class NotFoundException extends __BaseException {
66
66
  readonly name: "NotFoundException";
67
67
  readonly $fault: "client";
68
- Message?: string;
68
+ Message?: string | undefined;
69
69
  constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
70
70
  }
71
71
  export declare class ThrottlingException extends __BaseException {
@@ -74,7 +74,7 @@ export declare class ThrottlingException extends __BaseException {
74
74
  $retryable: {
75
75
  throttling: boolean;
76
76
  };
77
- Message?: string;
77
+ Message?: string | undefined;
78
78
  constructor(
79
79
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
80
80
  );
@@ -82,24 +82,24 @@ export declare class ThrottlingException extends __BaseException {
82
82
  export interface GetAttributeValuesRequest {
83
83
  ServiceCode: string | undefined;
84
84
  AttributeName: string | undefined;
85
- NextToken?: string;
86
- MaxResults?: number;
85
+ NextToken?: string | undefined;
86
+ MaxResults?: number | undefined;
87
87
  }
88
88
  export interface GetAttributeValuesResponse {
89
- AttributeValues?: AttributeValue[];
90
- NextToken?: string;
89
+ AttributeValues?: AttributeValue[] | undefined;
90
+ NextToken?: string | undefined;
91
91
  }
92
92
  export interface GetPriceListFileUrlRequest {
93
93
  PriceListArn: string | undefined;
94
94
  FileFormat: string | undefined;
95
95
  }
96
96
  export interface GetPriceListFileUrlResponse {
97
- Url?: string;
97
+ Url?: string | undefined;
98
98
  }
99
99
  export declare class ResourceNotFoundException extends __BaseException {
100
100
  readonly name: "ResourceNotFoundException";
101
101
  readonly $fault: "client";
102
- Message?: string;
102
+ Message?: string | undefined;
103
103
  constructor(
104
104
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
105
105
  );
@@ -115,31 +115,31 @@ export interface Filter {
115
115
  }
116
116
  export interface GetProductsRequest {
117
117
  ServiceCode: string | undefined;
118
- Filters?: Filter[];
119
- FormatVersion?: string;
120
- NextToken?: string;
121
- MaxResults?: number;
118
+ Filters?: Filter[] | undefined;
119
+ FormatVersion?: string | undefined;
120
+ NextToken?: string | undefined;
121
+ MaxResults?: number | undefined;
122
122
  }
123
123
  export interface GetProductsResponse {
124
- FormatVersion?: string;
125
- PriceList?: (__LazyJsonString | string)[];
126
- NextToken?: string;
124
+ FormatVersion?: string | undefined;
125
+ PriceList?: (__LazyJsonString | string)[] | undefined;
126
+ NextToken?: string | undefined;
127
127
  }
128
128
  export interface ListPriceListsRequest {
129
129
  ServiceCode: string | undefined;
130
130
  EffectiveDate: Date | undefined;
131
- RegionCode?: string;
131
+ RegionCode?: string | undefined;
132
132
  CurrencyCode: string | undefined;
133
- NextToken?: string;
134
- MaxResults?: number;
133
+ NextToken?: string | undefined;
134
+ MaxResults?: number | undefined;
135
135
  }
136
136
  export interface PriceList {
137
- PriceListArn?: string;
138
- RegionCode?: string;
139
- CurrencyCode?: string;
140
- FileFormats?: string[];
137
+ PriceListArn?: string | undefined;
138
+ RegionCode?: string | undefined;
139
+ CurrencyCode?: string | undefined;
140
+ FileFormats?: string[] | undefined;
141
141
  }
142
142
  export interface ListPriceListsResponse {
143
- PriceLists?: PriceList[];
144
- NextToken?: string;
143
+ PriceLists?: PriceList[] | undefined;
144
+ NextToken?: string | undefined;
145
145
  }
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.687.0",
4
+ "version": "3.692.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,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/middleware-host-header": "3.686.0",
28
- "@aws-sdk/middleware-logger": "3.686.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
- "@aws-sdk/region-config-resolver": "3.686.0",
32
- "@aws-sdk/types": "3.686.0",
33
- "@aws-sdk/util-endpoints": "3.686.0",
34
- "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
- "@smithy/config-resolver": "^3.0.10",
37
- "@smithy/core": "^2.5.1",
38
- "@smithy/fetch-http-handler": "^4.0.0",
39
- "@smithy/hash-node": "^3.0.8",
40
- "@smithy/invalid-dependency": "^3.0.8",
41
- "@smithy/middleware-content-length": "^3.0.10",
42
- "@smithy/middleware-endpoint": "^3.2.1",
43
- "@smithy/middleware-retry": "^3.0.25",
44
- "@smithy/middleware-serde": "^3.0.8",
45
- "@smithy/middleware-stack": "^3.0.8",
46
- "@smithy/node-config-provider": "^3.1.9",
47
- "@smithy/node-http-handler": "^3.2.5",
48
- "@smithy/protocol-http": "^4.1.5",
49
- "@smithy/smithy-client": "^3.4.2",
50
- "@smithy/types": "^3.6.0",
51
- "@smithy/url-parser": "^3.0.8",
23
+ "@aws-sdk/client-sso-oidc": "3.692.0",
24
+ "@aws-sdk/client-sts": "3.692.0",
25
+ "@aws-sdk/core": "3.692.0",
26
+ "@aws-sdk/credential-provider-node": "3.692.0",
27
+ "@aws-sdk/middleware-host-header": "3.692.0",
28
+ "@aws-sdk/middleware-logger": "3.692.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
+ "@aws-sdk/middleware-user-agent": "3.692.0",
31
+ "@aws-sdk/region-config-resolver": "3.692.0",
32
+ "@aws-sdk/types": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.692.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
35
+ "@aws-sdk/util-user-agent-node": "3.692.0",
36
+ "@smithy/config-resolver": "^3.0.11",
37
+ "@smithy/core": "^2.5.2",
38
+ "@smithy/fetch-http-handler": "^4.1.0",
39
+ "@smithy/hash-node": "^3.0.9",
40
+ "@smithy/invalid-dependency": "^3.0.9",
41
+ "@smithy/middleware-content-length": "^3.0.11",
42
+ "@smithy/middleware-endpoint": "^3.2.2",
43
+ "@smithy/middleware-retry": "^3.0.26",
44
+ "@smithy/middleware-serde": "^3.0.9",
45
+ "@smithy/middleware-stack": "^3.0.9",
46
+ "@smithy/node-config-provider": "^3.1.10",
47
+ "@smithy/node-http-handler": "^3.3.0",
48
+ "@smithy/protocol-http": "^4.1.6",
49
+ "@smithy/smithy-client": "^3.4.3",
50
+ "@smithy/types": "^3.7.0",
51
+ "@smithy/url-parser": "^3.0.9",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.25",
56
- "@smithy/util-defaults-mode-node": "^3.0.25",
57
- "@smithy/util-endpoints": "^2.1.4",
58
- "@smithy/util-middleware": "^3.0.8",
59
- "@smithy/util-retry": "^3.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
56
+ "@smithy/util-defaults-mode-node": "^3.0.26",
57
+ "@smithy/util-endpoints": "^2.1.5",
58
+ "@smithy/util-middleware": "^3.0.9",
59
+ "@smithy/util-retry": "^3.0.9",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },