@aws-sdk/client-pricing 3.34.0 → 3.37.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 (142) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/{dist/cjs → dist-cjs}/Pricing.js +1 -28
  3. package/dist-cjs/PricingClient.js +35 -0
  4. package/{dist/cjs → dist-cjs}/commands/DescribeServicesCommand.js +2 -33
  5. package/{dist/cjs → dist-cjs}/commands/GetAttributeValuesCommand.js +2 -30
  6. package/{dist/cjs → dist-cjs}/commands/GetProductsCommand.js +2 -27
  7. package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
  8. package/{dist/cjs → dist-cjs}/index.js +0 -1
  9. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  10. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -43
  11. package/{dist/cjs → dist-cjs}/pagination/DescribeServicesPaginator.js +1 -12
  12. package/{dist/cjs → dist-cjs}/pagination/GetAttributeValuesPaginator.js +1 -12
  13. package/{dist/cjs → dist-cjs}/pagination/GetProductsPaginator.js +1 -12
  14. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  15. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
  16. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
  17. package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
  18. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
  19. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
  20. package/{dist/es → dist-es}/Pricing.js +1 -2
  21. package/{dist/es → dist-es}/PricingClient.js +1 -2
  22. package/{dist/es → dist-es}/commands/DescribeServicesCommand.js +2 -3
  23. package/{dist/es → dist-es}/commands/GetAttributeValuesCommand.js +2 -3
  24. package/{dist/es → dist-es}/commands/GetProductsCommand.js +2 -3
  25. package/{dist/es → dist-es}/endpoints.js +1 -2
  26. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  27. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  28. package/{dist/es → dist-es}/models/models_0.js +0 -1
  29. package/{dist/es → dist-es}/pagination/DescribeServicesPaginator.js +1 -2
  30. package/{dist/es → dist-es}/pagination/GetAttributeValuesPaginator.js +1 -2
  31. package/{dist/es → dist-es}/pagination/GetProductsPaginator.js +1 -2
  32. package/dist-es/pagination/Interfaces.js +1 -0
  33. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +1 -2
  34. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
  35. package/{dist/es → dist-es}/runtimeConfig.js +1 -2
  36. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
  37. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
  38. package/{dist/types → dist-types}/Pricing.d.ts +2 -2
  39. package/{dist/types → dist-types}/PricingClient.d.ts +4 -4
  40. package/{dist/types → dist-types}/commands/DescribeServicesCommand.d.ts +3 -3
  41. package/{dist/types → dist-types}/commands/GetAttributeValuesCommand.d.ts +3 -3
  42. package/{dist/types → dist-types}/commands/GetProductsCommand.d.ts +3 -3
  43. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  44. package/{index.ts → dist-types/index.d.ts} +0 -0
  45. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  46. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  47. package/{dist/types → dist-types}/pagination/DescribeServicesPaginator.d.ts +1 -1
  48. package/{dist/types → dist-types}/pagination/GetAttributeValuesPaginator.d.ts +1 -1
  49. package/{dist/types → dist-types}/pagination/GetProductsPaginator.d.ts +1 -1
  50. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  51. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  52. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
  53. package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
  54. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
  55. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  56. package/dist-types/ts3.4/Pricing.d.ts +20 -0
  57. package/dist-types/ts3.4/PricingClient.d.ts +70 -0
  58. package/dist-types/ts3.4/commands/DescribeServicesCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/GetAttributeValuesCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/GetProductsCommand.d.ts +17 -0
  61. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  62. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  63. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  64. package/dist-types/ts3.4/models/models_0.d.ts +166 -0
  65. package/{dist/types → dist-types}/ts3.4/pagination/DescribeServicesPaginator.d.ts +1 -1
  66. package/{dist/types → dist-types}/ts3.4/pagination/GetAttributeValuesPaginator.d.ts +1 -1
  67. package/{dist/types → dist-types}/ts3.4/pagination/GetProductsPaginator.d.ts +1 -1
  68. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  69. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  70. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
  71. package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
  72. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
  73. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
  74. package/package.json +45 -42
  75. package/Pricing.ts +0 -140
  76. package/PricingClient.ts +0 -264
  77. package/commands/DescribeServicesCommand.ts +0 -100
  78. package/commands/GetAttributeValuesCommand.ts +0 -97
  79. package/commands/GetProductsCommand.ts +0 -94
  80. package/dist/cjs/Pricing.js.map +0 -1
  81. package/dist/cjs/PricingClient.js +0 -67
  82. package/dist/cjs/PricingClient.js.map +0 -1
  83. package/dist/cjs/commands/DescribeServicesCommand.js.map +0 -1
  84. package/dist/cjs/commands/GetAttributeValuesCommand.js.map +0 -1
  85. package/dist/cjs/commands/GetProductsCommand.js.map +0 -1
  86. package/dist/cjs/endpoints.js.map +0 -1
  87. package/dist/cjs/index.js.map +0 -1
  88. package/dist/cjs/models/index.js.map +0 -1
  89. package/dist/cjs/models/models_0.js.map +0 -1
  90. package/dist/cjs/package.json +0 -91
  91. package/dist/cjs/pagination/DescribeServicesPaginator.js.map +0 -1
  92. package/dist/cjs/pagination/GetAttributeValuesPaginator.js.map +0 -1
  93. package/dist/cjs/pagination/GetProductsPaginator.js.map +0 -1
  94. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  95. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  96. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  97. package/dist/cjs/runtimeConfig.js.map +0 -1
  98. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  99. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  100. package/dist/es/Pricing.js.map +0 -1
  101. package/dist/es/PricingClient.js.map +0 -1
  102. package/dist/es/commands/DescribeServicesCommand.js.map +0 -1
  103. package/dist/es/commands/GetAttributeValuesCommand.js.map +0 -1
  104. package/dist/es/commands/GetProductsCommand.js.map +0 -1
  105. package/dist/es/endpoints.js.map +0 -1
  106. package/dist/es/index.js +0 -11
  107. package/dist/es/index.js.map +0 -1
  108. package/dist/es/models/index.js +0 -2
  109. package/dist/es/models/index.js.map +0 -1
  110. package/dist/es/models/models_0.js.map +0 -1
  111. package/dist/es/package.json +0 -91
  112. package/dist/es/pagination/DescribeServicesPaginator.js.map +0 -1
  113. package/dist/es/pagination/GetAttributeValuesPaginator.js.map +0 -1
  114. package/dist/es/pagination/GetProductsPaginator.js.map +0 -1
  115. package/dist/es/pagination/Interfaces.js +0 -2
  116. package/dist/es/pagination/Interfaces.js.map +0 -1
  117. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  118. package/dist/es/runtimeConfig.browser.js.map +0 -1
  119. package/dist/es/runtimeConfig.js.map +0 -1
  120. package/dist/es/runtimeConfig.native.js.map +0 -1
  121. package/dist/es/runtimeConfig.shared.js.map +0 -1
  122. package/dist/types/ts3.4/Pricing.d.ts +0 -60
  123. package/dist/types/ts3.4/PricingClient.d.ts +0 -158
  124. package/dist/types/ts3.4/commands/DescribeServicesCommand.d.ts +0 -41
  125. package/dist/types/ts3.4/commands/GetAttributeValuesCommand.d.ts +0 -38
  126. package/dist/types/ts3.4/commands/GetProductsCommand.d.ts +0 -35
  127. package/dist/types/ts3.4/models/models_0.d.ts +0 -290
  128. package/endpoints.ts +0 -57
  129. package/jest.config.js +0 -4
  130. package/models/models_0.ts +0 -365
  131. package/pagination/DescribeServicesPaginator.ts +0 -58
  132. package/pagination/GetAttributeValuesPaginator.ts +0 -58
  133. package/pagination/GetProductsPaginator.ts +0 -54
  134. package/pagination/Interfaces.ts +0 -7
  135. package/protocols/Aws_json1_1.ts +0 -674
  136. package/runtimeConfig.browser.ts +0 -40
  137. package/runtimeConfig.native.ts +0 -16
  138. package/runtimeConfig.shared.ts +0 -16
  139. package/runtimeConfig.ts +0 -45
  140. package/tsconfig.es.json +0 -10
  141. package/tsconfig.json +0 -31
  142. package/tsconfig.types.json +0 -8
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.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
7
+
8
+
9
+ ### Features
10
+
11
+ * **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))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * **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))
23
+
24
+
25
+
26
+
27
+
28
+ # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
29
+
30
+
31
+ ### Features
32
+
33
+ * 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))
34
+ * **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))
35
+ * **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))
36
+
37
+
38
+
39
+
40
+
41
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
42
+
43
+
44
+ ### Features
45
+
46
+ * **clients:** eslint --fix using esprint ([#2849](https://github.com/aws/aws-sdk-js-v3/issues/2849)) ([94d0a2d](https://github.com/aws/aws-sdk-js-v3/commit/94d0a2d8a0579ee0a742337937ad05735cfbc1ba))
47
+ * **clients:** move source files to 'src' folder ([#2845](https://github.com/aws/aws-sdk-js-v3/issues/2845)) ([e0025cd](https://github.com/aws/aws-sdk-js-v3/commit/e0025cddbba244a41ddf1fd1adb761142e15c22d))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
7
54
 
8
55
 
@@ -1,36 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Pricing = void 0;
4
- const PricingClient_1 = require("./PricingClient");
5
4
  const DescribeServicesCommand_1 = require("./commands/DescribeServicesCommand");
6
5
  const GetAttributeValuesCommand_1 = require("./commands/GetAttributeValuesCommand");
7
6
  const GetProductsCommand_1 = require("./commands/GetProductsCommand");
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
- */
7
+ const PricingClient_1 = require("./PricingClient");
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
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PricingClient = void 0;
4
+ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
+ const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
+ const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
+ const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
+ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
+ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
+ class PricingClient extends smithy_client_1.Client {
14
+ constructor(configuration) {
15
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
16
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
17
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
18
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
19
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
20
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
21
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
22
+ super(_config_6);
23
+ this.config = _config_6;
24
+ this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
25
+ this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
26
+ this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
27
+ this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
28
+ this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
29
+ this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
30
+ }
31
+ destroy() {
32
+ super.destroy();
33
+ }
34
+ }
35
+ exports.PricingClient = PricingClient;
@@ -1,45 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeServicesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
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
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
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
@@ -1,42 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetAttributeValuesCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
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
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
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
@@ -1,39 +1,15 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GetProductsCommand = void 0;
4
- const models_0_1 = require("../models/models_0");
5
- const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
6
4
  const middleware_serde_1 = require("@aws-sdk/middleware-serde");
7
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
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
- */
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
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
@@ -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
@@ -11,4 +11,3 @@ tslib_1.__exportStar(require("./commands/GetProductsCommand"), exports);
11
11
  tslib_1.__exportStar(require("./pagination/GetProductsPaginator"), exports);
12
12
  tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
13
13
  tslib_1.__exportStar(require("./models/index"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -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
@@ -1,25 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeServices = void 0;
4
+ const DescribeServicesCommand_1 = require("../commands/DescribeServicesCommand");
4
5
  const Pricing_1 = require("../Pricing");
5
6
  const PricingClient_1 = require("../PricingClient");
6
- const DescribeServicesCommand_1 = require("../commands/DescribeServicesCommand");
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
@@ -1,25 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetAttributeValues = void 0;
4
+ const GetAttributeValuesCommand_1 = require("../commands/GetAttributeValuesCommand");
4
5
  const Pricing_1 = require("../Pricing");
5
6
  const PricingClient_1 = require("../PricingClient");
6
- const GetAttributeValuesCommand_1 = require("../commands/GetAttributeValuesCommand");
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
@@ -1,25 +1,16 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateGetProducts = void 0;
4
+ const GetProductsCommand_1 = require("../commands/GetProductsCommand");
4
5
  const Pricing_1 = require("../Pricing");
5
6
  const PricingClient_1 = require("../PricingClient");
6
- const GetProductsCommand_1 = require("../commands/GetProductsCommand");
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
@@ -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,7 +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
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
7
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
8
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -12,9 +12,6 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
12
12
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
13
13
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
14
14
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
15
- /**
16
- * @internal
17
- */
18
15
  const getRuntimeConfig = (config) => {
19
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
20
17
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
@@ -38,4 +35,3 @@ const getRuntimeConfig = (config) => {
38
35
  };
39
36
  };
40
37
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +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
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
6
  const client_sts_1 = require("@aws-sdk/client-sts");
7
7
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
8
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -16,9 +16,6 @@ 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
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
- /**
20
- * @internal
21
- */
22
19
  const getRuntimeConfig = (config) => {
23
20
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
24
21
  smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
@@ -43,4 +40,3 @@ const getRuntimeConfig = (config) => {
43
40
  };
44
41
  };
45
42
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a;
11
8
  const browserDefaults = runtimeConfig_browser_1.getRuntimeConfig(config);
@@ -17,4 +14,3 @@ const getRuntimeConfig = (config) => {
17
14
  };
18
15
  };
19
16
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map