@aws-sdk/client-pricing 3.844.0 → 3.845.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 CHANGED
@@ -381,6 +381,10 @@ var ResourceNotFoundException = class _ResourceNotFoundException extends Pricing
381
381
  }
382
382
  };
383
383
  var FilterType = {
384
+ ANY_OF: "ANY_OF",
385
+ CONTAINS: "CONTAINS",
386
+ EQUALS: "EQUALS",
387
+ NONE_OF: "NONE_OF",
384
388
  TERM_MATCH: "TERM_MATCH"
385
389
  };
386
390
 
@@ -116,5 +116,9 @@ export class ResourceNotFoundException extends __BaseException {
116
116
  }
117
117
  }
118
118
  export const FilterType = {
119
+ ANY_OF: "ANY_OF",
120
+ CONTAINS: "CONTAINS",
121
+ EQUALS: "EQUALS",
122
+ NONE_OF: "NONE_OF",
119
123
  TERM_MATCH: "TERM_MATCH",
120
124
  };
@@ -38,7 +38,7 @@ declare const GetProductsCommand_base: {
38
38
  * ServiceCode: "STRING_VALUE", // required
39
39
  * Filters: [ // Filters
40
40
  * { // Filter
41
- * Type: "TERM_MATCH", // required
41
+ * Type: "TERM_MATCH" || "EQUALS" || "CONTAINS" || "ANY_OF" || "NONE_OF", // required
42
42
  * Field: "STRING_VALUE", // required
43
43
  * Value: "STRING_VALUE", // required
44
44
  * },
@@ -263,6 +263,10 @@ export declare class ResourceNotFoundException extends __BaseException {
263
263
  * @enum
264
264
  */
265
265
  export declare const FilterType: {
266
+ readonly ANY_OF: "ANY_OF";
267
+ readonly CONTAINS: "CONTAINS";
268
+ readonly EQUALS: "EQUALS";
269
+ readonly NONE_OF: "NONE_OF";
266
270
  readonly TERM_MATCH: "TERM_MATCH";
267
271
  };
268
272
  /**
@@ -276,8 +280,30 @@ export type FilterType = (typeof FilterType)[keyof typeof FilterType];
276
280
  export interface Filter {
277
281
  /**
278
282
  * <p>The type of filter that you want to use.</p>
279
- * <p>Valid values are: <code>TERM_MATCH</code>. <code>TERM_MATCH</code> returns only
280
- * products that match both the given filter field and the given value.</p>
283
+ * <p>Valid values are:</p>
284
+ * <ul>
285
+ * <li>
286
+ * <p>
287
+ * <code>TERM_MATCH</code>: Returns only
288
+ * products that match both the given filter field and the given value.</p>
289
+ * </li>
290
+ * <li>
291
+ * <p>
292
+ * <code>EQUALS</code>: Returns products that have a field value exactly matching the provided value.</p>
293
+ * </li>
294
+ * <li>
295
+ * <p>
296
+ * <code>CONTAINS</code>: Returns products where the field value contains the provided value as a substring.</p>
297
+ * </li>
298
+ * <li>
299
+ * <p>
300
+ * <code>ANY_OF</code>: Returns products where the field value is any of the provided values.</p>
301
+ * </li>
302
+ * <li>
303
+ * <p>
304
+ * <code>NONE_OF</code>: Returns products where the field value is not any of the provided values.</p>
305
+ * </li>
306
+ * </ul>
281
307
  * @public
282
308
  */
283
309
  Type: FilterType | undefined;
@@ -297,6 +323,7 @@ export interface Filter {
297
323
  * by service code this is the actual service code, such as <code>AmazonEC2</code>. If you're
298
324
  * filtering by attribute name, this is the attribute value that you want the returned
299
325
  * products to match, such as a <code>Provisioned IOPS</code> volume.</p>
326
+ * <p>For <code>ANY_OF</code> and <code>NONE_OF</code> filter types, you can provide multiple values as a comma-separated string. For example, <code>t2.micro,t2.small,t2.medium</code> or <code>Compute optimized, GPU instance, Micro instances</code>.</p>
300
327
  * @public
301
328
  */
302
329
  Value: string | undefined;
@@ -105,6 +105,10 @@ export declare class ResourceNotFoundException extends __BaseException {
105
105
  );
106
106
  }
107
107
  export declare const FilterType: {
108
+ readonly ANY_OF: "ANY_OF";
109
+ readonly CONTAINS: "CONTAINS";
110
+ readonly EQUALS: "EQUALS";
111
+ readonly NONE_OF: "NONE_OF";
108
112
  readonly TERM_MATCH: "TERM_MATCH";
109
113
  };
110
114
  export type FilterType = (typeof FilterType)[keyof typeof FilterType];
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.844.0",
4
+ "version": "3.845.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,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.844.0",
24
- "@aws-sdk/credential-provider-node": "3.844.0",
23
+ "@aws-sdk/core": "3.845.0",
24
+ "@aws-sdk/credential-provider-node": "3.845.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.844.0",
28
+ "@aws-sdk/middleware-user-agent": "3.845.0",
29
29
  "@aws-sdk/region-config-resolver": "3.840.0",
30
30
  "@aws-sdk/types": "3.840.0",
31
- "@aws-sdk/util-endpoints": "3.844.0",
31
+ "@aws-sdk/util-endpoints": "3.845.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.844.0",
33
+ "@aws-sdk/util-user-agent-node": "3.845.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.7.0",
36
36
  "@smithy/fetch-http-handler": "^5.1.0",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.14",
41
- "@smithy/middleware-retry": "^4.1.15",
40
+ "@smithy/middleware-endpoint": "^4.1.15",
41
+ "@smithy/middleware-retry": "^4.1.16",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.1.0",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.6",
47
+ "@smithy/smithy-client": "^4.4.7",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.22",
54
- "@smithy/util-defaults-mode-node": "^4.0.22",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.23",
54
+ "@smithy/util-defaults-mode-node": "^4.0.23",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.6",