@aws-sdk/client-pricing 3.35.0 → 3.38.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.
Files changed (116) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/Pricing.js +0 -27
  3. package/dist-cjs/PricingClient.js +0 -32
  4. package/dist-cjs/commands/DescribeServicesCommand.js +0 -31
  5. package/dist-cjs/commands/GetAttributeValuesCommand.js +0 -28
  6. package/dist-cjs/commands/GetProductsCommand.js +0 -25
  7. package/dist-cjs/commands/index.js +6 -0
  8. package/dist-cjs/endpoints.js +1 -2
  9. package/dist-cjs/index.js +4 -10
  10. package/dist-cjs/models/index.js +0 -1
  11. package/dist-cjs/models/models_0.js +0 -43
  12. package/dist-cjs/pagination/DescribeServicesPaginator.js +0 -11
  13. package/dist-cjs/pagination/GetAttributeValuesPaginator.js +0 -11
  14. package/dist-cjs/pagination/GetProductsPaginator.js +0 -11
  15. package/dist-cjs/pagination/Interfaces.js +0 -1
  16. package/dist-cjs/pagination/index.js +7 -0
  17. package/dist-cjs/protocols/Aws_json1_1.js +0 -6
  18. package/dist-cjs/runtimeConfig.browser.js +1 -6
  19. package/dist-cjs/runtimeConfig.js +2 -7
  20. package/dist-cjs/runtimeConfig.native.js +0 -4
  21. package/dist-cjs/runtimeConfig.shared.js +0 -4
  22. package/dist-es/Pricing.js +0 -1
  23. package/dist-es/PricingClient.js +0 -1
  24. package/dist-es/commands/DescribeServicesCommand.js +0 -1
  25. package/dist-es/commands/GetAttributeValuesCommand.js +0 -1
  26. package/dist-es/commands/GetProductsCommand.js +0 -1
  27. package/dist-es/commands/index.js +3 -0
  28. package/dist-es/endpoints.js +1 -2
  29. package/dist-es/index.js +4 -10
  30. package/dist-es/models/index.js +0 -1
  31. package/dist-es/models/models_0.js +0 -1
  32. package/dist-es/pagination/DescribeServicesPaginator.js +0 -1
  33. package/dist-es/pagination/GetAttributeValuesPaginator.js +0 -1
  34. package/dist-es/pagination/GetProductsPaginator.js +0 -1
  35. package/dist-es/pagination/Interfaces.js +0 -1
  36. package/dist-es/pagination/index.js +4 -0
  37. package/dist-es/protocols/Aws_json1_1.js +0 -1
  38. package/dist-es/runtimeConfig.browser.js +1 -2
  39. package/dist-es/runtimeConfig.js +2 -3
  40. package/dist-es/runtimeConfig.native.js +0 -1
  41. package/dist-es/runtimeConfig.shared.js +0 -1
  42. package/dist-types/commands/index.d.ts +3 -0
  43. package/dist-types/index.d.ts +4 -9
  44. package/dist-types/pagination/index.d.ts +4 -0
  45. package/dist-types/ts3.4/Pricing.d.ts +4 -44
  46. package/dist-types/ts3.4/PricingClient.d.ts +24 -112
  47. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +2 -26
  48. package/dist-types/ts3.4/commands/GetAttributeValuesCommand.d.ts +2 -23
  49. package/dist-types/ts3.4/commands/GetProductsCommand.d.ts +2 -20
  50. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  51. package/dist-types/ts3.4/index.d.ts +4 -9
  52. package/dist-types/ts3.4/models/models_0.d.ts +49 -173
  53. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  57. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  58. package/package.json +33 -30
  59. package/dist-cjs/Pricing.js.map +0 -1
  60. package/dist-cjs/PricingClient.js.map +0 -1
  61. package/dist-cjs/commands/DescribeServicesCommand.js.map +0 -1
  62. package/dist-cjs/commands/GetAttributeValuesCommand.js.map +0 -1
  63. package/dist-cjs/commands/GetProductsCommand.js.map +0 -1
  64. package/dist-cjs/endpoints.js.map +0 -1
  65. package/dist-cjs/index.js.map +0 -1
  66. package/dist-cjs/models/index.js.map +0 -1
  67. package/dist-cjs/models/models_0.js.map +0 -1
  68. package/dist-cjs/pagination/DescribeServicesPaginator.js.map +0 -1
  69. package/dist-cjs/pagination/GetAttributeValuesPaginator.js.map +0 -1
  70. package/dist-cjs/pagination/GetProductsPaginator.js.map +0 -1
  71. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  72. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  73. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  74. package/dist-cjs/runtimeConfig.js.map +0 -1
  75. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  76. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  77. package/dist-es/Pricing.js.map +0 -1
  78. package/dist-es/PricingClient.js.map +0 -1
  79. package/dist-es/commands/DescribeServicesCommand.js.map +0 -1
  80. package/dist-es/commands/GetAttributeValuesCommand.js.map +0 -1
  81. package/dist-es/commands/GetProductsCommand.js.map +0 -1
  82. package/dist-es/endpoints.js.map +0 -1
  83. package/dist-es/index.js.map +0 -1
  84. package/dist-es/models/index.js.map +0 -1
  85. package/dist-es/models/models_0.js.map +0 -1
  86. package/dist-es/pagination/DescribeServicesPaginator.js.map +0 -1
  87. package/dist-es/pagination/GetAttributeValuesPaginator.js.map +0 -1
  88. package/dist-es/pagination/GetProductsPaginator.js.map +0 -1
  89. package/dist-es/pagination/Interfaces.js.map +0 -1
  90. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  91. package/dist-es/runtimeConfig.browser.js.map +0 -1
  92. package/dist-es/runtimeConfig.js.map +0 -1
  93. package/dist-es/runtimeConfig.native.js.map +0 -1
  94. package/dist-es/runtimeConfig.shared.js.map +0 -1
  95. package/jest.config.js +0 -4
  96. package/src/Pricing.ts +0 -141
  97. package/src/PricingClient.ts +0 -265
  98. package/src/commands/DescribeServicesCommand.ts +0 -101
  99. package/src/commands/GetAttributeValuesCommand.ts +0 -98
  100. package/src/commands/GetProductsCommand.ts +0 -95
  101. package/src/endpoints.ts +0 -57
  102. package/src/index.ts +0 -10
  103. package/src/models/index.ts +0 -1
  104. package/src/models/models_0.ts +0 -365
  105. package/src/pagination/DescribeServicesPaginator.ts +0 -59
  106. package/src/pagination/GetAttributeValuesPaginator.ts +0 -59
  107. package/src/pagination/GetProductsPaginator.ts +0 -55
  108. package/src/pagination/Interfaces.ts +0 -8
  109. package/src/protocols/Aws_json1_1.ts +0 -675
  110. package/src/runtimeConfig.browser.ts +0 -41
  111. package/src/runtimeConfig.native.ts +0 -17
  112. package/src/runtimeConfig.shared.ts +0 -17
  113. package/src/runtimeConfig.ts +0 -46
  114. package/tsconfig.es.json +0 -10
  115. package/tsconfig.json +0 -33
  116. package/tsconfig.types.json +0 -9
package/CHANGELOG.md CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
7
+
8
+
9
+ ### Features
10
+
11
+ * **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
12
+ * **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
13
+
14
+
15
+
16
+
17
+
18
+ # [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
19
+
20
+
21
+ ### Features
22
+
23
+ * **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
24
+
25
+
26
+
27
+
28
+
29
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
35
+
36
+
37
+
38
+
39
+
40
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
41
+
42
+
43
+ ### Features
44
+
45
+ * publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
46
+ * **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
47
+ * **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
7
54
 
8
55
 
@@ -5,32 +5,6 @@ const DescribeServicesCommand_1 = require("./commands/DescribeServicesCommand");
5
5
  const GetAttributeValuesCommand_1 = require("./commands/GetAttributeValuesCommand");
6
6
  const GetProductsCommand_1 = require("./commands/GetProductsCommand");
7
7
  const PricingClient_1 = require("./PricingClient");
8
- /**
9
- * <p>Amazon Web Services Price List Service API (Amazon Web Services Price List Service) is a centralized and convenient way to
10
- * programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List Service
11
- * uses standardized product attributes such as <code>Location</code>, <code>Storage
12
- * Class</code>, and <code>Operating System</code>, and provides prices at the SKU
13
- * level. You can use the Amazon Web Services Price List Service to build cost control and scenario planning tools, reconcile
14
- * billing data, forecast future spend for budgeting purposes, and provide cost benefit
15
- * analysis that compare your internal workloads with Amazon Web Services.</p>
16
- * <p>Use <code>GetServices</code> without a service code to retrieve the service codes for all AWS services, then
17
- * <code>GetServices</code> with a service code to retreive the attribute names for
18
- * that service. After you have the service code and attribute names, you can use <code>GetAttributeValues</code>
19
- * to see what values are available for an attribute. With the service code and an attribute name and value,
20
- * you can use <code>GetProducts</code> to find specific products that you're interested in, such as
21
- * an <code>AmazonEC2</code> instance, with a <code>Provisioned IOPS</code>
22
- * <code>volumeType</code>.</p>
23
- * <p>Service Endpoint</p>
24
- * <p>Amazon Web Services Price List Service API provides the following two endpoints:</p>
25
- * <ul>
26
- * <li>
27
- * <p>https://api.pricing.us-east-1.amazonaws.com</p>
28
- * </li>
29
- * <li>
30
- * <p>https://api.pricing.ap-south-1.amazonaws.com</p>
31
- * </li>
32
- * </ul>
33
- */
34
8
  class Pricing extends PricingClient_1.PricingClient {
35
9
  describeServices(args, optionsOrCb, cb) {
36
10
  const command = new DescribeServicesCommand_1.DescribeServicesCommand(args);
@@ -76,4 +50,3 @@ class Pricing extends PricingClient_1.PricingClient {
76
50
  }
77
51
  }
78
52
  exports.Pricing = Pricing;
79
- //# sourceMappingURL=Pricing.js.map
@@ -10,32 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <p>Amazon Web Services Price List Service API (Amazon Web Services Price List Service) is a centralized and convenient way to
15
- * programmatically query Amazon Web Services for services, products, and pricing information. The Amazon Web Services Price List Service
16
- * uses standardized product attributes such as <code>Location</code>, <code>Storage
17
- * Class</code>, and <code>Operating System</code>, and provides prices at the SKU
18
- * level. You can use the Amazon Web Services Price List Service to build cost control and scenario planning tools, reconcile
19
- * billing data, forecast future spend for budgeting purposes, and provide cost benefit
20
- * analysis that compare your internal workloads with Amazon Web Services.</p>
21
- * <p>Use <code>GetServices</code> without a service code to retrieve the service codes for all AWS services, then
22
- * <code>GetServices</code> with a service code to retreive the attribute names for
23
- * that service. After you have the service code and attribute names, you can use <code>GetAttributeValues</code>
24
- * to see what values are available for an attribute. With the service code and an attribute name and value,
25
- * you can use <code>GetProducts</code> to find specific products that you're interested in, such as
26
- * an <code>AmazonEC2</code> instance, with a <code>Provisioned IOPS</code>
27
- * <code>volumeType</code>.</p>
28
- * <p>Service Endpoint</p>
29
- * <p>Amazon Web Services Price List Service API provides the following two endpoints:</p>
30
- * <ul>
31
- * <li>
32
- * <p>https://api.pricing.us-east-1.amazonaws.com</p>
33
- * </li>
34
- * <li>
35
- * <p>https://api.pricing.ap-south-1.amazonaws.com</p>
36
- * </li>
37
- * </ul>
38
- */
39
13
  class PricingClient extends smithy_client_1.Client {
40
14
  constructor(configuration) {
41
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -54,14 +28,8 @@ class PricingClient extends smithy_client_1.Client {
54
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
55
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
56
30
  }
57
- /**
58
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
59
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
60
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
61
- */
62
31
  destroy() {
63
32
  super.destroy();
64
33
  }
65
34
  }
66
35
  exports.PricingClient = PricingClient;
67
- //# sourceMappingURL=PricingClient.js.map
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Returns the metadata for one service or a list of the metadata for all services. Use
10
- * this without a service code to get the service codes for all services.
11
- * Use it with a service code, such as <code>AmazonEC2</code>, to get information specific to
12
- * that service, such as the attribute
13
- * names available for that service. For example, some of the attribute names available for EC2 are
14
- * <code>volumeType</code>, <code>maxIopsVolume</code>, <code>operation</code>,
15
- * <code>locationType</code>, and <code>instanceCapacity10xlarge</code>.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { PricingClient, DescribeServicesCommand } from "@aws-sdk/client-pricing"; // ES Modules import
20
- * // const { PricingClient, DescribeServicesCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
21
- * const client = new PricingClient(config);
22
- * const command = new DescribeServicesCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link DescribeServicesCommandInput} for command's `input` shape.
27
- * @see {@link DescribeServicesCommandOutput} for command's `response` shape.
28
- * @see {@link PricingClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class DescribeServicesCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -64,4 +34,3 @@ class DescribeServicesCommand extends smithy_client_1.Command {
64
34
  }
65
35
  }
66
36
  exports.DescribeServicesCommand = DescribeServicesCommand;
67
- //# sourceMappingURL=DescribeServicesCommand.js.map
@@ -5,38 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Returns a list of attribute values. Attibutes are similar to the details
10
- * in a Price List API offer file. For a list of available attributes, see
11
- * <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/reading-an-offer.html#pps-defs">Offer File Definitions</a>
12
- * in the <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-what-is.html">Amazon Web Services Billing and Cost Management User Guide</a>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { PricingClient, GetAttributeValuesCommand } from "@aws-sdk/client-pricing"; // ES Modules import
17
- * // const { PricingClient, GetAttributeValuesCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
18
- * const client = new PricingClient(config);
19
- * const command = new GetAttributeValuesCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link GetAttributeValuesCommandInput} for command's `input` shape.
24
- * @see {@link GetAttributeValuesCommandOutput} for command's `response` shape.
25
- * @see {@link PricingClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class GetAttributeValuesCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -61,4 +34,3 @@ class GetAttributeValuesCommand extends smithy_client_1.Command {
61
34
  }
62
35
  }
63
36
  exports.GetAttributeValuesCommand = GetAttributeValuesCommand;
64
- //# sourceMappingURL=GetAttributeValuesCommand.js.map
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Returns a list of all products that match the filter criteria.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { PricingClient, GetProductsCommand } from "@aws-sdk/client-pricing"; // ES Modules import
14
- * // const { PricingClient, GetProductsCommand } = require("@aws-sdk/client-pricing"); // CommonJS import
15
- * const client = new PricingClient(config);
16
- * const command = new GetProductsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetProductsCommandInput} for command's `input` shape.
21
- * @see {@link GetProductsCommandOutput} for command's `response` shape.
22
- * @see {@link PricingClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetProductsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -58,4 +34,3 @@ class GetProductsCommand extends smithy_client_1.Command {
58
34
  }
59
35
  }
60
36
  exports.GetProductsCommand = GetProductsCommand;
61
- //# sourceMappingURL=GetProductsCommand.js.map
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DescribeServicesCommand"), exports);
5
+ tslib_1.__exportStar(require("./GetAttributeValuesCommand"), exports);
6
+ tslib_1.__exportStar(require("./GetProductsCommand"), exports);
@@ -35,7 +35,7 @@ const partitionHash = {
35
35
  hostname: "api.pricing.{region}.amazonaws.com.cn",
36
36
  },
37
37
  "aws-iso": {
38
- regions: ["us-iso-east-1"],
38
+ regions: ["us-iso-east-1", "us-iso-west-1"],
39
39
  hostname: "api.pricing.{region}.c2s.ic.gov",
40
40
  },
41
41
  "aws-iso-b": {
@@ -54,4 +54,3 @@ const defaultRegionInfoProvider = async (region, options) => config_resolver_1.g
54
54
  partitionHash,
55
55
  });
56
56
  exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
57
- //# sourceMappingURL=endpoints.js.map
package/dist-cjs/index.js CHANGED
@@ -1,14 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./PricingClient"), exports);
5
4
  tslib_1.__exportStar(require("./Pricing"), exports);
6
- tslib_1.__exportStar(require("./commands/DescribeServicesCommand"), exports);
7
- tslib_1.__exportStar(require("./pagination/DescribeServicesPaginator"), exports);
8
- tslib_1.__exportStar(require("./commands/GetAttributeValuesCommand"), exports);
9
- tslib_1.__exportStar(require("./pagination/GetAttributeValuesPaginator"), exports);
10
- tslib_1.__exportStar(require("./commands/GetProductsCommand"), exports);
11
- tslib_1.__exportStar(require("./pagination/GetProductsPaginator"), exports);
12
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
13
- tslib_1.__exportStar(require("./models/index"), exports);
14
- //# sourceMappingURL=index.js.map
5
+ tslib_1.__exportStar(require("./PricingClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);
@@ -2,4 +2,3 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./models_0"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -3,99 +3,66 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetProductsResponse = exports.GetProductsRequest = exports.Filter = exports.FilterType = exports.GetAttributeValuesResponse = exports.GetAttributeValuesRequest = exports.NotFoundException = exports.InvalidParameterException = exports.InvalidNextTokenException = exports.InternalErrorException = exports.ExpiredNextTokenException = exports.DescribeServicesResponse = exports.Service = exports.DescribeServicesRequest = exports.AttributeValue = void 0;
4
4
  var AttributeValue;
5
5
  (function (AttributeValue) {
6
- /**
7
- * @internal
8
- */
9
6
  AttributeValue.filterSensitiveLog = (obj) => ({
10
7
  ...obj,
11
8
  });
12
9
  })(AttributeValue = exports.AttributeValue || (exports.AttributeValue = {}));
13
10
  var DescribeServicesRequest;
14
11
  (function (DescribeServicesRequest) {
15
- /**
16
- * @internal
17
- */
18
12
  DescribeServicesRequest.filterSensitiveLog = (obj) => ({
19
13
  ...obj,
20
14
  });
21
15
  })(DescribeServicesRequest = exports.DescribeServicesRequest || (exports.DescribeServicesRequest = {}));
22
16
  var Service;
23
17
  (function (Service) {
24
- /**
25
- * @internal
26
- */
27
18
  Service.filterSensitiveLog = (obj) => ({
28
19
  ...obj,
29
20
  });
30
21
  })(Service = exports.Service || (exports.Service = {}));
31
22
  var DescribeServicesResponse;
32
23
  (function (DescribeServicesResponse) {
33
- /**
34
- * @internal
35
- */
36
24
  DescribeServicesResponse.filterSensitiveLog = (obj) => ({
37
25
  ...obj,
38
26
  });
39
27
  })(DescribeServicesResponse = exports.DescribeServicesResponse || (exports.DescribeServicesResponse = {}));
40
28
  var ExpiredNextTokenException;
41
29
  (function (ExpiredNextTokenException) {
42
- /**
43
- * @internal
44
- */
45
30
  ExpiredNextTokenException.filterSensitiveLog = (obj) => ({
46
31
  ...obj,
47
32
  });
48
33
  })(ExpiredNextTokenException = exports.ExpiredNextTokenException || (exports.ExpiredNextTokenException = {}));
49
34
  var InternalErrorException;
50
35
  (function (InternalErrorException) {
51
- /**
52
- * @internal
53
- */
54
36
  InternalErrorException.filterSensitiveLog = (obj) => ({
55
37
  ...obj,
56
38
  });
57
39
  })(InternalErrorException = exports.InternalErrorException || (exports.InternalErrorException = {}));
58
40
  var InvalidNextTokenException;
59
41
  (function (InvalidNextTokenException) {
60
- /**
61
- * @internal
62
- */
63
42
  InvalidNextTokenException.filterSensitiveLog = (obj) => ({
64
43
  ...obj,
65
44
  });
66
45
  })(InvalidNextTokenException = exports.InvalidNextTokenException || (exports.InvalidNextTokenException = {}));
67
46
  var InvalidParameterException;
68
47
  (function (InvalidParameterException) {
69
- /**
70
- * @internal
71
- */
72
48
  InvalidParameterException.filterSensitiveLog = (obj) => ({
73
49
  ...obj,
74
50
  });
75
51
  })(InvalidParameterException = exports.InvalidParameterException || (exports.InvalidParameterException = {}));
76
52
  var NotFoundException;
77
53
  (function (NotFoundException) {
78
- /**
79
- * @internal
80
- */
81
54
  NotFoundException.filterSensitiveLog = (obj) => ({
82
55
  ...obj,
83
56
  });
84
57
  })(NotFoundException = exports.NotFoundException || (exports.NotFoundException = {}));
85
58
  var GetAttributeValuesRequest;
86
59
  (function (GetAttributeValuesRequest) {
87
- /**
88
- * @internal
89
- */
90
60
  GetAttributeValuesRequest.filterSensitiveLog = (obj) => ({
91
61
  ...obj,
92
62
  });
93
63
  })(GetAttributeValuesRequest = exports.GetAttributeValuesRequest || (exports.GetAttributeValuesRequest = {}));
94
64
  var GetAttributeValuesResponse;
95
65
  (function (GetAttributeValuesResponse) {
96
- /**
97
- * @internal
98
- */
99
66
  GetAttributeValuesResponse.filterSensitiveLog = (obj) => ({
100
67
  ...obj,
101
68
  });
@@ -106,29 +73,19 @@ var FilterType;
106
73
  })(FilterType = exports.FilterType || (exports.FilterType = {}));
107
74
  var Filter;
108
75
  (function (Filter) {
109
- /**
110
- * @internal
111
- */
112
76
  Filter.filterSensitiveLog = (obj) => ({
113
77
  ...obj,
114
78
  });
115
79
  })(Filter = exports.Filter || (exports.Filter = {}));
116
80
  var GetProductsRequest;
117
81
  (function (GetProductsRequest) {
118
- /**
119
- * @internal
120
- */
121
82
  GetProductsRequest.filterSensitiveLog = (obj) => ({
122
83
  ...obj,
123
84
  });
124
85
  })(GetProductsRequest = exports.GetProductsRequest || (exports.GetProductsRequest = {}));
125
86
  var GetProductsResponse;
126
87
  (function (GetProductsResponse) {
127
- /**
128
- * @internal
129
- */
130
88
  GetProductsResponse.filterSensitiveLog = (obj) => ({
131
89
  ...obj,
132
90
  });
133
91
  })(GetProductsResponse = exports.GetProductsResponse || (exports.GetProductsResponse = {}));
134
- //# sourceMappingURL=models_0.js.map
@@ -4,22 +4,13 @@ exports.paginateDescribeServices = void 0;
4
4
  const DescribeServicesCommand_1 = require("../commands/DescribeServicesCommand");
5
5
  const Pricing_1 = require("../Pricing");
6
6
  const PricingClient_1 = require("../PricingClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new DescribeServicesCommand_1.DescribeServicesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.describeServices(input, ...args);
20
12
  };
21
13
  async function* paginateDescribeServices(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateDescribeServices(config, input, ...additionalArguments)
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateDescribeServices = paginateDescribeServices;
46
- //# sourceMappingURL=DescribeServicesPaginator.js.map
@@ -4,22 +4,13 @@ exports.paginateGetAttributeValues = void 0;
4
4
  const GetAttributeValuesCommand_1 = require("../commands/GetAttributeValuesCommand");
5
5
  const Pricing_1 = require("../Pricing");
6
6
  const PricingClient_1 = require("../PricingClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new GetAttributeValuesCommand_1.GetAttributeValuesCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.getAttributeValues(input, ...args);
20
12
  };
21
13
  async function* paginateGetAttributeValues(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateGetAttributeValues(config, input, ...additionalArguments
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateGetAttributeValues = paginateGetAttributeValues;
46
- //# sourceMappingURL=GetAttributeValuesPaginator.js.map
@@ -4,22 +4,13 @@ exports.paginateGetProducts = void 0;
4
4
  const GetProductsCommand_1 = require("../commands/GetProductsCommand");
5
5
  const Pricing_1 = require("../Pricing");
6
6
  const PricingClient_1 = require("../PricingClient");
7
- /**
8
- * @private
9
- */
10
7
  const makePagedClientRequest = async (client, input, ...args) => {
11
- // @ts-ignore
12
8
  return await client.send(new GetProductsCommand_1.GetProductsCommand(input), ...args);
13
9
  };
14
- /**
15
- * @private
16
- */
17
10
  const makePagedRequest = async (client, input, ...args) => {
18
- // @ts-ignore
19
11
  return await client.getProducts(input, ...args);
20
12
  };
21
13
  async function* paginateGetProducts(config, input, ...additionalArguments) {
22
- // ToDo: replace with actual type instead of typeof input.NextToken
23
14
  let token = config.startingToken || undefined;
24
15
  let hasNext = true;
25
16
  let page;
@@ -39,8 +30,6 @@ async function* paginateGetProducts(config, input, ...additionalArguments) {
39
30
  token = page.NextToken;
40
31
  hasNext = !!token;
41
32
  }
42
- // @ts-ignore
43
33
  return undefined;
44
34
  }
45
35
  exports.paginateGetProducts = paginateGetProducts;
46
- //# sourceMappingURL=GetProductsPaginator.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Interfaces.js.map
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./DescribeServicesPaginator"), exports);
5
+ tslib_1.__exportStar(require("./GetAttributeValuesPaginator"), exports);
6
+ tslib_1.__exportStar(require("./GetProductsPaginator"), exports);
7
+ tslib_1.__exportStar(require("./Interfaces"), exports);
@@ -481,14 +481,12 @@ const deserializeMetadata = (output) => {
481
481
  cfId: output.headers["x-amz-cf-id"],
482
482
  });
483
483
  };
484
- // Collect low-level response body stream to Uint8Array.
485
484
  const collectBody = (streamBody = new Uint8Array(), context) => {
486
485
  if (streamBody instanceof Uint8Array) {
487
486
  return Promise.resolve(streamBody);
488
487
  }
489
488
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
490
489
  };
491
- // Encode Uint8Array data into string with utf-8.
492
490
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
493
491
  const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
494
492
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
@@ -514,9 +512,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
514
512
  }
515
513
  return {};
516
514
  });
517
- /**
518
- * Load an error code for the aws.rest-json-1.1 protocol.
519
- */
520
515
  const loadRestJsonErrorCode = (output, data) => {
521
516
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
522
517
  const sanitizeErrorCode = (rawValue) => {
@@ -541,4 +536,3 @@ const loadRestJsonErrorCode = (output, data) => {
541
536
  }
542
537
  return "";
543
538
  };
544
- //# sourceMappingURL=Aws_json1_1.js.map
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
5
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
6
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
7
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -10,12 +11,7 @@ const util_base64_browser_1 = require("@aws-sdk/util-base64-browser");
10
11
  const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
11
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
12
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
13
- // @ts-ignore: package.json will be imported from dist folders
14
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
15
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
- /**
17
- * @internal
18
- */
19
15
  const getRuntimeConfig = (config) => {
20
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
21
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -39,4 +35,3 @@ const getRuntimeConfig = (config) => {
39
35
  };
40
36
  };
41
37
  exports.getRuntimeConfig = getRuntimeConfig;
42
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
5
6
  const client_sts_1 = require("@aws-sdk/client-sts");
6
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
7
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -9,17 +10,12 @@ const hash_node_1 = require("@aws-sdk/hash-node");
9
10
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
11
  const node_config_provider_1 = require("@aws-sdk/node-config-provider");
11
12
  const node_http_handler_1 = require("@aws-sdk/node-http-handler");
12
- const smithy_client_1 = require("@aws-sdk/smithy-client");
13
13
  const util_base64_node_1 = require("@aws-sdk/util-base64-node");
14
14
  const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
15
15
  const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
- // @ts-ignore: package.json will be imported from dist folders
18
- const package_json_1 = tslib_1.__importDefault(require("../package.json"));
19
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
20
- /**
21
- * @internal
22
- */
18
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
23
19
  const getRuntimeConfig = (config) => {
24
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
25
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -44,4 +40,3 @@ const getRuntimeConfig = (config) => {
44
40
  };
45
41
  };
46
42
  exports.getRuntimeConfig = getRuntimeConfig;
47
- //# sourceMappingURL=runtimeConfig.js.map