@aws-sdk/client-pricing 3.300.0 → 3.303.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.
@@ -86,7 +86,6 @@ class NotFoundException extends PricingServiceException_1.PricingServiceExceptio
86
86
  }
87
87
  }
88
88
  exports.NotFoundException = NotFoundException;
89
- var FilterType;
90
- (function (FilterType) {
91
- FilterType["TERM_MATCH"] = "TERM_MATCH";
92
- })(FilterType = exports.FilterType || (exports.FilterType = {}));
89
+ exports.FilterType = {
90
+ TERM_MATCH: "TERM_MATCH",
91
+ };
@@ -77,7 +77,6 @@ export class NotFoundException extends __BaseException {
77
77
  this.Message = opts.Message;
78
78
  }
79
79
  }
80
- export var FilterType;
81
- (function (FilterType) {
82
- FilterType["TERM_MATCH"] = "TERM_MATCH";
83
- })(FilterType || (FilterType = {}));
80
+ export const FilterType = {
81
+ TERM_MATCH: "TERM_MATCH",
82
+ };
@@ -32,7 +32,7 @@ export interface DescribeServicesCommandOutput extends DescribeServicesResponse,
32
32
  * import { PricingClient, DescribeServicesCommand } from "@aws-sdk/client-pricing"; // ES Modules import
33
33
  * // const { PricingClient, DescribeServicesCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
34
34
  * const client = new PricingClient(config);
35
- * const input = {
35
+ * const input = { // DescribeServicesRequest
36
36
  * ServiceCode: "STRING_VALUE",
37
37
  * FormatVersion: "STRING_VALUE",
38
38
  * NextToken: "STRING_VALUE",
@@ -29,7 +29,7 @@ export interface GetAttributeValuesCommandOutput extends GetAttributeValuesRespo
29
29
  * import { PricingClient, GetAttributeValuesCommand } from "@aws-sdk/client-pricing"; // ES Modules import
30
30
  * // const { PricingClient, GetAttributeValuesCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
31
31
  * const client = new PricingClient(config);
32
- * const input = {
32
+ * const input = { // GetAttributeValuesRequest
33
33
  * ServiceCode: "STRING_VALUE", // required
34
34
  * AttributeName: "STRING_VALUE", // required
35
35
  * NextToken: "STRING_VALUE",
@@ -34,7 +34,7 @@ export interface GetPriceListFileUrlCommandOutput extends GetPriceListFileUrlRes
34
34
  * import { PricingClient, GetPriceListFileUrlCommand } from "@aws-sdk/client-pricing"; // ES Modules import
35
35
  * // const { PricingClient, GetPriceListFileUrlCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
36
36
  * const client = new PricingClient(config);
37
- * const input = {
37
+ * const input = { // GetPriceListFileUrlRequest
38
38
  * PriceListArn: "STRING_VALUE", // required
39
39
  * FileFormat: "STRING_VALUE", // required
40
40
  * };
@@ -26,10 +26,10 @@ export interface GetProductsCommandOutput extends GetProductsResponse, __Metadat
26
26
  * import { PricingClient, GetProductsCommand } from "@aws-sdk/client-pricing"; // ES Modules import
27
27
  * // const { PricingClient, GetProductsCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
28
28
  * const client = new PricingClient(config);
29
- * const input = {
29
+ * const input = { // GetProductsRequest
30
30
  * ServiceCode: "STRING_VALUE", // required
31
- * Filters: [
32
- * {
31
+ * Filters: [ // Filters
32
+ * { // Filter
33
33
  * Type: "TERM_MATCH", // required
34
34
  * Field: "STRING_VALUE", // required
35
35
  * Value: "STRING_VALUE", // required
@@ -38,7 +38,7 @@ export interface ListPriceListsCommandOutput extends ListPriceListsResponse, __M
38
38
  * import { PricingClient, ListPriceListsCommand } from "@aws-sdk/client-pricing"; // ES Modules import
39
39
  * // const { PricingClient, ListPriceListsCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
40
40
  * const client = new PricingClient(config);
41
- * const input = {
41
+ * const input = { // ListPriceListsRequest
42
42
  * ServiceCode: "STRING_VALUE", // required
43
43
  * EffectiveDate: new Date("TIMESTAMP"), // required
44
44
  * RegionCode: "STRING_VALUE",
@@ -214,10 +214,15 @@ export interface GetPriceListFileUrlResponse {
214
214
  }
215
215
  /**
216
216
  * @public
217
+ * @enum
217
218
  */
218
- export declare enum FilterType {
219
- TERM_MATCH = "TERM_MATCH"
220
- }
219
+ export declare const FilterType: {
220
+ readonly TERM_MATCH: "TERM_MATCH";
221
+ };
222
+ /**
223
+ * @public
224
+ */
225
+ export type FilterType = (typeof FilterType)[keyof typeof FilterType];
221
226
  /**
222
227
  * @public
223
228
  * <p>The constraints that you want all returned products to match.</p>
@@ -84,9 +84,10 @@ export interface GetPriceListFileUrlRequest {
84
84
  export interface GetPriceListFileUrlResponse {
85
85
  Url?: string;
86
86
  }
87
- export declare enum FilterType {
88
- TERM_MATCH = "TERM_MATCH",
89
- }
87
+ export declare const FilterType: {
88
+ readonly TERM_MATCH: "TERM_MATCH";
89
+ };
90
+ export type FilterType = (typeof FilterType)[keyof typeof FilterType];
90
91
  export interface Filter {
91
92
  Type: FilterType | string | undefined;
92
93
  Field: string | undefined;
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.300.0",
4
+ "version": "3.303.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",
@@ -21,42 +21,42 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.300.0",
25
- "@aws-sdk/config-resolver": "3.300.0",
26
- "@aws-sdk/credential-provider-node": "3.300.0",
27
- "@aws-sdk/fetch-http-handler": "3.296.0",
28
- "@aws-sdk/hash-node": "3.296.0",
29
- "@aws-sdk/invalid-dependency": "3.296.0",
30
- "@aws-sdk/middleware-content-length": "3.296.0",
31
- "@aws-sdk/middleware-endpoint": "3.299.0",
32
- "@aws-sdk/middleware-host-header": "3.296.0",
33
- "@aws-sdk/middleware-logger": "3.296.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.296.0",
35
- "@aws-sdk/middleware-retry": "3.300.0",
36
- "@aws-sdk/middleware-serde": "3.296.0",
37
- "@aws-sdk/middleware-signing": "3.299.0",
38
- "@aws-sdk/middleware-stack": "3.296.0",
39
- "@aws-sdk/middleware-user-agent": "3.299.0",
40
- "@aws-sdk/node-config-provider": "3.300.0",
41
- "@aws-sdk/node-http-handler": "3.296.0",
42
- "@aws-sdk/protocol-http": "3.296.0",
43
- "@aws-sdk/smithy-client": "3.296.0",
44
- "@aws-sdk/types": "3.296.0",
45
- "@aws-sdk/url-parser": "3.296.0",
46
- "@aws-sdk/util-base64": "3.295.0",
47
- "@aws-sdk/util-body-length-browser": "3.295.0",
48
- "@aws-sdk/util-body-length-node": "3.295.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.296.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.300.0",
51
- "@aws-sdk/util-endpoints": "3.296.0",
52
- "@aws-sdk/util-retry": "3.296.0",
53
- "@aws-sdk/util-user-agent-browser": "3.299.0",
54
- "@aws-sdk/util-user-agent-node": "3.300.0",
55
- "@aws-sdk/util-utf8": "3.295.0",
24
+ "@aws-sdk/client-sts": "3.303.0",
25
+ "@aws-sdk/config-resolver": "3.303.0",
26
+ "@aws-sdk/credential-provider-node": "3.303.0",
27
+ "@aws-sdk/fetch-http-handler": "3.303.0",
28
+ "@aws-sdk/hash-node": "3.303.0",
29
+ "@aws-sdk/invalid-dependency": "3.303.0",
30
+ "@aws-sdk/middleware-content-length": "3.303.0",
31
+ "@aws-sdk/middleware-endpoint": "3.303.0",
32
+ "@aws-sdk/middleware-host-header": "3.303.0",
33
+ "@aws-sdk/middleware-logger": "3.303.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.303.0",
35
+ "@aws-sdk/middleware-retry": "3.303.0",
36
+ "@aws-sdk/middleware-serde": "3.303.0",
37
+ "@aws-sdk/middleware-signing": "3.303.0",
38
+ "@aws-sdk/middleware-stack": "3.303.0",
39
+ "@aws-sdk/middleware-user-agent": "3.303.0",
40
+ "@aws-sdk/node-config-provider": "3.303.0",
41
+ "@aws-sdk/node-http-handler": "3.303.0",
42
+ "@aws-sdk/protocol-http": "3.303.0",
43
+ "@aws-sdk/smithy-client": "3.303.0",
44
+ "@aws-sdk/types": "3.303.0",
45
+ "@aws-sdk/url-parser": "3.303.0",
46
+ "@aws-sdk/util-base64": "3.303.0",
47
+ "@aws-sdk/util-body-length-browser": "3.303.0",
48
+ "@aws-sdk/util-body-length-node": "3.303.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.303.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.303.0",
51
+ "@aws-sdk/util-endpoints": "3.303.0",
52
+ "@aws-sdk/util-retry": "3.303.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.303.0",
54
+ "@aws-sdk/util-user-agent-node": "3.303.0",
55
+ "@aws-sdk/util-utf8": "3.303.0",
56
56
  "tslib": "^2.5.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
+ "@aws-sdk/service-client-documentation-generator": "3.303.0",
60
60
  "@tsconfig/node14": "1.0.3",
61
61
  "@types/node": "^14.14.31",
62
62
  "concurrently": "7.0.0",