@aws-sdk/client-cost-and-usage-report-service 3.32.0 → 3.36.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 (127) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/CostAndUsageReportService.js +1 -2
  3. package/{dist/cjs → dist-cjs}/CostAndUsageReportServiceClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/DeleteReportDefinitionCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/DescribeReportDefinitionsCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/ModifyReportDefinitionCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/PutReportDefinitionCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  9. package/{dist/cjs → dist-cjs}/index.js +0 -1
  10. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  11. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  12. package/{dist/cjs → dist-cjs}/pagination/DescribeReportDefinitionsPaginator.js +1 -2
  13. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  14. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  15. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  16. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  17. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  18. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  19. package/{dist/es → dist-es}/CostAndUsageReportService.js +2 -23
  20. package/{dist/es → dist-es}/CostAndUsageReportServiceClient.js +2 -28
  21. package/{dist/es → dist-es}/commands/DeleteReportDefinitionCommand.js +4 -30
  22. package/{dist/es → dist-es}/commands/DescribeReportDefinitionsCommand.js +4 -30
  23. package/{dist/es → dist-es}/commands/ModifyReportDefinitionCommand.js +4 -30
  24. package/{dist/es → dist-es}/commands/PutReportDefinitionCommand.js +4 -30
  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 -40
  29. package/{dist/es → dist-es}/pagination/DescribeReportDefinitionsPaginator.js +17 -30
  30. package/dist-es/pagination/Interfaces.js +1 -0
  31. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +70 -76
  32. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  33. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  34. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  35. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  36. package/{dist/types → dist-types}/CostAndUsageReportService.d.ts +2 -2
  37. package/{dist/types → dist-types}/CostAndUsageReportServiceClient.d.ts +5 -5
  38. package/{dist/types → dist-types}/commands/DeleteReportDefinitionCommand.d.ts +2 -2
  39. package/{dist/types → dist-types}/commands/DescribeReportDefinitionsCommand.d.ts +2 -2
  40. package/{dist/types → dist-types}/commands/ModifyReportDefinitionCommand.d.ts +2 -2
  41. package/{dist/types → dist-types}/commands/PutReportDefinitionCommand.d.ts +2 -2
  42. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  43. package/{index.ts → dist-types/index.d.ts} +0 -0
  44. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  45. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  46. package/{dist/types → dist-types}/pagination/DescribeReportDefinitionsPaginator.d.ts +1 -1
  47. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  48. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  49. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.browser.d.ts +37 -36
  50. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  51. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  52. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  53. package/{dist/types → dist-types}/ts3.4/CostAndUsageReportService.d.ts +2 -2
  54. package/{dist/types → dist-types}/ts3.4/CostAndUsageReportServiceClient.d.ts +5 -5
  55. package/{dist/types → dist-types}/ts3.4/commands/DeleteReportDefinitionCommand.d.ts +2 -2
  56. package/{dist/types → dist-types}/ts3.4/commands/DescribeReportDefinitionsCommand.d.ts +2 -2
  57. package/{dist/types → dist-types}/ts3.4/commands/ModifyReportDefinitionCommand.d.ts +2 -2
  58. package/{dist/types → dist-types}/ts3.4/commands/PutReportDefinitionCommand.d.ts +2 -2
  59. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  60. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  61. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  62. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  63. package/{dist/types → dist-types}/ts3.4/pagination/DescribeReportDefinitionsPaginator.d.ts +1 -1
  64. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  65. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  66. package/{dist/types → dist-types/ts3.4}/runtimeConfig.browser.d.ts +37 -36
  67. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  68. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  69. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  70. package/package.json +52 -49
  71. package/CostAndUsageReportService.ts +0 -172
  72. package/CostAndUsageReportServiceClient.ts +0 -277
  73. package/commands/DeleteReportDefinitionCommand.ts +0 -98
  74. package/commands/DescribeReportDefinitionsCommand.ts +0 -101
  75. package/commands/ModifyReportDefinitionCommand.ts +0 -98
  76. package/commands/PutReportDefinitionCommand.ts +0 -98
  77. package/dist/cjs/CostAndUsageReportService.js.map +0 -1
  78. package/dist/cjs/CostAndUsageReportServiceClient.js.map +0 -1
  79. package/dist/cjs/commands/DeleteReportDefinitionCommand.js.map +0 -1
  80. package/dist/cjs/commands/DescribeReportDefinitionsCommand.js.map +0 -1
  81. package/dist/cjs/commands/ModifyReportDefinitionCommand.js.map +0 -1
  82. package/dist/cjs/commands/PutReportDefinitionCommand.js.map +0 -1
  83. package/dist/cjs/endpoints.js.map +0 -1
  84. package/dist/cjs/index.js.map +0 -1
  85. package/dist/cjs/models/index.js.map +0 -1
  86. package/dist/cjs/models/models_0.js.map +0 -1
  87. package/dist/cjs/package.json +0 -91
  88. package/dist/cjs/pagination/DescribeReportDefinitionsPaginator.js.map +0 -1
  89. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  90. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  91. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  92. package/dist/cjs/runtimeConfig.js.map +0 -1
  93. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  94. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  95. package/dist/es/CostAndUsageReportService.js.map +0 -1
  96. package/dist/es/CostAndUsageReportServiceClient.js.map +0 -1
  97. package/dist/es/commands/DeleteReportDefinitionCommand.js.map +0 -1
  98. package/dist/es/commands/DescribeReportDefinitionsCommand.js.map +0 -1
  99. package/dist/es/commands/ModifyReportDefinitionCommand.js.map +0 -1
  100. package/dist/es/commands/PutReportDefinitionCommand.js.map +0 -1
  101. package/dist/es/endpoints.js.map +0 -1
  102. package/dist/es/index.js +0 -10
  103. package/dist/es/index.js.map +0 -1
  104. package/dist/es/models/index.js +0 -2
  105. package/dist/es/models/index.js.map +0 -1
  106. package/dist/es/models/models_0.js.map +0 -1
  107. package/dist/es/package.json +0 -91
  108. package/dist/es/pagination/DescribeReportDefinitionsPaginator.js.map +0 -1
  109. package/dist/es/pagination/Interfaces.js +0 -2
  110. package/dist/es/pagination/Interfaces.js.map +0 -1
  111. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  112. package/dist/es/runtimeConfig.browser.js.map +0 -1
  113. package/dist/es/runtimeConfig.js.map +0 -1
  114. package/dist/es/runtimeConfig.native.js.map +0 -1
  115. package/dist/es/runtimeConfig.shared.js.map +0 -1
  116. package/endpoints.ts +0 -57
  117. package/jest.config.js +0 -4
  118. package/models/models_0.ts +0 -382
  119. package/pagination/DescribeReportDefinitionsPaginator.ts +0 -58
  120. package/pagination/Interfaces.ts +0 -7
  121. package/protocols/Aws_json1_1.ts +0 -716
  122. package/runtimeConfig.browser.ts +0 -40
  123. package/runtimeConfig.native.ts +0 -16
  124. package/runtimeConfig.shared.ts +0 -16
  125. package/runtimeConfig.ts +0 -45
  126. package/tsconfig.es.json +0 -12
  127. package/tsconfig.json +0 -32
package/CHANGELOG.md CHANGED
@@ -3,6 +3,50 @@
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.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
+
8
+
9
+ ### Features
10
+
11
+ * 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))
12
+ * **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))
13
+ * **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))
14
+
15
+
16
+
17
+
18
+
19
+ # [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
20
+
21
+
22
+ ### Features
23
+
24
+ * **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))
25
+ * **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))
26
+
27
+
28
+
29
+
30
+
31
+ # [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24)
32
+
33
+
34
+ ### Features
35
+
36
+ * **clients:** remove comments from transpiled JS files ([#2817](https://github.com/aws/aws-sdk-js-v3/issues/2817)) ([d01420b](https://github.com/aws/aws-sdk-js-v3/commit/d01420b247966c8ec84c1dd0a1b42512ede10c90))
37
+
38
+
39
+
40
+
41
+
42
+ # [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21)
43
+
44
+ **Note:** Version bump only for package @aws-sdk/client-cost-and-usage-report-service
45
+
46
+
47
+
48
+
49
+
6
50
  # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
51
 
8
52
  **Note:** Version bump only for package @aws-sdk/client-cost-and-usage-report-service
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CostAndUsageReportService = void 0;
4
- const CostAndUsageReportServiceClient_1 = require("./CostAndUsageReportServiceClient");
5
4
  const DeleteReportDefinitionCommand_1 = require("./commands/DeleteReportDefinitionCommand");
6
5
  const DescribeReportDefinitionsCommand_1 = require("./commands/DescribeReportDefinitionsCommand");
7
6
  const ModifyReportDefinitionCommand_1 = require("./commands/ModifyReportDefinitionCommand");
8
7
  const PutReportDefinitionCommand_1 = require("./commands/PutReportDefinitionCommand");
8
+ const CostAndUsageReportServiceClient_1 = require("./CostAndUsageReportServiceClient");
9
9
  /**
10
10
  * <p>The AWS Cost and Usage Report API enables you to programmatically create, query, and delete
11
11
  * AWS Cost and Usage report definitions.</p>
@@ -85,4 +85,3 @@ class CostAndUsageReportService extends CostAndUsageReportServiceClient_1.CostAn
85
85
  }
86
86
  }
87
87
  exports.CostAndUsageReportService = CostAndUsageReportService;
88
- //# sourceMappingURL=CostAndUsageReportService.js.map
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CostAndUsageReportServiceClient = void 0;
4
- const runtimeConfig_1 = require("./runtimeConfig");
5
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
6
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
7
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
@@ -10,6 +9,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
10
9
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
11
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
12
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
+ const runtimeConfig_1 = require("./runtimeConfig");
13
13
  /**
14
14
  * <p>The AWS Cost and Usage Report API enables you to programmatically create, query, and delete
15
15
  * AWS Cost and Usage report definitions.</p>
@@ -32,13 +32,13 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
32
32
  */
33
33
  class CostAndUsageReportServiceClient extends smithy_client_1.Client {
34
34
  constructor(configuration) {
35
- let _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
36
- let _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
37
- let _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
38
- let _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
39
- let _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
40
- let _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
41
- let _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
35
+ const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
36
+ const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
37
+ const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
38
+ const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
39
+ const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
40
+ const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
41
+ const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
42
42
  super(_config_6);
43
43
  this.config = _config_6;
44
44
  this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
@@ -58,4 +58,3 @@ class CostAndUsageReportServiceClient extends smithy_client_1.Client {
58
58
  }
59
59
  }
60
60
  exports.CostAndUsageReportServiceClient = CostAndUsageReportServiceClient;
61
- //# sourceMappingURL=CostAndUsageReportServiceClient.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DeleteReportDefinitionCommand = 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");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>Deletes the specified report.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class DeleteReportDefinitionCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.DeleteReportDefinitionCommand = DeleteReportDefinitionCommand;
61
- //# sourceMappingURL=DeleteReportDefinitionCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.DescribeReportDefinitionsCommand = 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");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>Lists the AWS Cost and Usage reports available to this account.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class DescribeReportDefinitionsCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.DescribeReportDefinitionsCommand = DescribeReportDefinitionsCommand;
61
- //# sourceMappingURL=DescribeReportDefinitionsCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ModifyReportDefinitionCommand = 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");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>Allows you to programatically update your report preferences.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class ModifyReportDefinitionCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.ModifyReportDefinitionCommand = ModifyReportDefinitionCommand;
61
- //# sourceMappingURL=ModifyReportDefinitionCommand.js.map
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PutReportDefinitionCommand = 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");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
8
  /**
9
9
  * <p>Creates a new report using the description that you provide.</p>
10
10
  * @example
@@ -58,4 +58,3 @@ class PutReportDefinitionCommand extends smithy_client_1.Command {
58
58
  }
59
59
  }
60
60
  exports.PutReportDefinitionCommand = PutReportDefinitionCommand;
61
- //# sourceMappingURL=PutReportDefinitionCommand.js.map
@@ -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
@@ -10,4 +10,3 @@ tslib_1.__exportStar(require("./commands/ModifyReportDefinitionCommand"), export
10
10
  tslib_1.__exportStar(require("./commands/PutReportDefinitionCommand"), exports);
11
11
  tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
12
12
  tslib_1.__exportStar(require("./models/index"), exports);
13
- //# 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
@@ -176,4 +176,3 @@ var ReportLimitReachedException;
176
176
  ...obj,
177
177
  });
178
178
  })(ReportLimitReachedException = exports.ReportLimitReachedException || (exports.ReportLimitReachedException = {}));
179
- //# sourceMappingURL=models_0.js.map
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateDescribeReportDefinitions = void 0;
4
+ const DescribeReportDefinitionsCommand_1 = require("../commands/DescribeReportDefinitionsCommand");
4
5
  const CostAndUsageReportService_1 = require("../CostAndUsageReportService");
5
6
  const CostAndUsageReportServiceClient_1 = require("../CostAndUsageReportServiceClient");
6
- const DescribeReportDefinitionsCommand_1 = require("../commands/DescribeReportDefinitionsCommand");
7
7
  /**
8
8
  * @private
9
9
  */
@@ -43,4 +43,3 @@ async function* paginateDescribeReportDefinitions(config, input, ...additionalAr
43
43
  return undefined;
44
44
  }
45
45
  exports.paginateDescribeReportDefinitions = paginateDescribeReportDefinitions;
46
- //# sourceMappingURL=DescribeReportDefinitionsPaginator.js.map
@@ -1,3 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Interfaces.js.map
@@ -546,4 +546,3 @@ const loadRestJsonErrorCode = (output, data) => {
546
546
  }
547
547
  return "";
548
548
  };
549
- //# sourceMappingURL=Aws_json1_1.js.map
@@ -2,7 +2,8 @@
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
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
8
  const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
8
9
  const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
@@ -38,4 +39,3 @@ const getRuntimeConfig = (config) => {
38
39
  };
39
40
  };
40
41
  exports.getRuntimeConfig = getRuntimeConfig;
41
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -2,7 +2,8 @@
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
+ // @ts-ignore: package.json will be imported from dist folders
6
+ const package_json_1 = tslib_1.__importDefault(require("../package.json")); // eslint-disable-line
6
7
  const client_sts_1 = require("@aws-sdk/client-sts");
7
8
  const config_resolver_1 = require("@aws-sdk/config-resolver");
8
9
  const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
@@ -43,4 +44,3 @@ const getRuntimeConfig = (config) => {
43
44
  };
44
45
  };
45
46
  exports.getRuntimeConfig = getRuntimeConfig;
46
- //# sourceMappingURL=runtimeConfig.js.map
@@ -17,4 +17,3 @@ const getRuntimeConfig = (config) => {
17
17
  };
18
18
  };
19
19
  exports.getRuntimeConfig = getRuntimeConfig;
20
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
- const endpoints_1 = require("./endpoints");
5
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
+ const endpoints_1 = require("./endpoints");
6
6
  /**
7
7
  * @internal
8
8
  */
@@ -18,4 +18,3 @@ const getRuntimeConfig = (config) => {
18
18
  });
19
19
  };
20
20
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -1,30 +1,10 @@
1
1
  import { __extends } from "tslib";
2
- import { CostAndUsageReportServiceClient } from "./CostAndUsageReportServiceClient";
3
2
  import { DeleteReportDefinitionCommand, } from "./commands/DeleteReportDefinitionCommand";
4
3
  import { DescribeReportDefinitionsCommand, } from "./commands/DescribeReportDefinitionsCommand";
5
4
  import { ModifyReportDefinitionCommand, } from "./commands/ModifyReportDefinitionCommand";
6
5
  import { PutReportDefinitionCommand, } from "./commands/PutReportDefinitionCommand";
7
- /**
8
- * <p>The AWS Cost and Usage Report API enables you to programmatically create, query, and delete
9
- * AWS Cost and Usage report definitions.</p>
10
- * <p>AWS Cost and Usage reports track the monthly AWS costs and usage
11
- * associated with your AWS account.
12
- *
13
- * The report contains line items for each unique combination of AWS product,
14
- * usage type, and operation that your AWS account uses.
15
- *
16
- * You can configure the AWS Cost and Usage report to show only the data that you want, using the
17
- * AWS Cost and Usage API.</p>
18
- *
19
- * <p>Service Endpoint</p>
20
- * <p>The AWS Cost and Usage Report API provides the following endpoint:</p>
21
- * <ul>
22
- * <li>
23
- * <p>cur.us-east-1.amazonaws.com</p>
24
- * </li>
25
- * </ul>
26
- */
27
- var CostAndUsageReportService = /** @class */ (function (_super) {
6
+ import { CostAndUsageReportServiceClient } from "./CostAndUsageReportServiceClient";
7
+ var CostAndUsageReportService = (function (_super) {
28
8
  __extends(CostAndUsageReportService, _super);
29
9
  function CostAndUsageReportService() {
30
10
  return _super !== null && _super.apply(this, arguments) || this;
@@ -88,4 +68,3 @@ var CostAndUsageReportService = /** @class */ (function (_super) {
88
68
  return CostAndUsageReportService;
89
69
  }(CostAndUsageReportServiceClient));
90
70
  export { CostAndUsageReportService };
91
- //# sourceMappingURL=CostAndUsageReportService.js.map
@@ -1,5 +1,4 @@
1
1
  import { __extends } from "tslib";
2
- import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
3
2
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
4
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
5
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -8,27 +7,8 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
8
7
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
9
8
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
10
9
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
- /**
12
- * <p>The AWS Cost and Usage Report API enables you to programmatically create, query, and delete
13
- * AWS Cost and Usage report definitions.</p>
14
- * <p>AWS Cost and Usage reports track the monthly AWS costs and usage
15
- * associated with your AWS account.
16
- *
17
- * The report contains line items for each unique combination of AWS product,
18
- * usage type, and operation that your AWS account uses.
19
- *
20
- * You can configure the AWS Cost and Usage report to show only the data that you want, using the
21
- * AWS Cost and Usage API.</p>
22
- *
23
- * <p>Service Endpoint</p>
24
- * <p>The AWS Cost and Usage Report API provides the following endpoint:</p>
25
- * <ul>
26
- * <li>
27
- * <p>cur.us-east-1.amazonaws.com</p>
28
- * </li>
29
- * </ul>
30
- */
31
- var CostAndUsageReportServiceClient = /** @class */ (function (_super) {
10
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
+ var CostAndUsageReportServiceClient = (function (_super) {
32
12
  __extends(CostAndUsageReportServiceClient, _super);
33
13
  function CostAndUsageReportServiceClient(configuration) {
34
14
  var _this = this;
@@ -49,15 +29,9 @@ var CostAndUsageReportServiceClient = /** @class */ (function (_super) {
49
29
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
50
30
  return _this;
51
31
  }
52
- /**
53
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
54
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
55
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
56
- */
57
32
  CostAndUsageReportServiceClient.prototype.destroy = function () {
58
33
  _super.prototype.destroy.call(this);
59
34
  };
60
35
  return CostAndUsageReportServiceClient;
61
36
  }(__Client));
62
37
  export { CostAndUsageReportServiceClient };
63
- //# sourceMappingURL=CostAndUsageReportServiceClient.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DeleteReportDefinitionRequest, DeleteReportDefinitionResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DeleteReportDefinitionCommand, serializeAws_json1_1DeleteReportDefinitionCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Deletes the specified report.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { CostAndUsageReportServiceClient, DeleteReportDefinitionCommand } from "@aws-sdk/client-cost-and-usage-report-service"; // ES Modules import
12
- * // const { CostAndUsageReportServiceClient, DeleteReportDefinitionCommand } = require("@aws-sdk/client-cost-and-usage-report-service"); // CommonJS import
13
- * const client = new CostAndUsageReportServiceClient(config);
14
- * const command = new DeleteReportDefinitionCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DeleteReportDefinitionCommandInput} for command's `input` shape.
19
- * @see {@link DeleteReportDefinitionCommandOutput} for command's `response` shape.
20
- * @see {@link CostAndUsageReportServiceClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DeleteReportDefinitionCommand = /** @class */ (function (_super) {
4
+ import { DeleteReportDefinitionRequest, DeleteReportDefinitionResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DeleteReportDefinitionCommand, serializeAws_json1_1DeleteReportDefinitionCommand, } from "../protocols/Aws_json1_1";
6
+ var DeleteReportDefinitionCommand = (function (_super) {
24
7
  __extends(DeleteReportDefinitionCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DeleteReportDefinitionCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DeleteReportDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DeleteReportDefinitionCommand = /** @class */ (function (_super) {
62
37
  return DeleteReportDefinitionCommand;
63
38
  }($Command));
64
39
  export { DeleteReportDefinitionCommand };
65
- //# sourceMappingURL=DeleteReportDefinitionCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { DescribeReportDefinitionsRequest, DescribeReportDefinitionsResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1DescribeReportDefinitionsCommand, serializeAws_json1_1DescribeReportDefinitionsCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Lists the AWS Cost and Usage reports available to this account.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { CostAndUsageReportServiceClient, DescribeReportDefinitionsCommand } from "@aws-sdk/client-cost-and-usage-report-service"; // ES Modules import
12
- * // const { CostAndUsageReportServiceClient, DescribeReportDefinitionsCommand } = require("@aws-sdk/client-cost-and-usage-report-service"); // CommonJS import
13
- * const client = new CostAndUsageReportServiceClient(config);
14
- * const command = new DescribeReportDefinitionsCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link DescribeReportDefinitionsCommandInput} for command's `input` shape.
19
- * @see {@link DescribeReportDefinitionsCommandOutput} for command's `response` shape.
20
- * @see {@link CostAndUsageReportServiceClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var DescribeReportDefinitionsCommand = /** @class */ (function (_super) {
4
+ import { DescribeReportDefinitionsRequest, DescribeReportDefinitionsResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1DescribeReportDefinitionsCommand, serializeAws_json1_1DescribeReportDefinitionsCommand, } from "../protocols/Aws_json1_1";
6
+ var DescribeReportDefinitionsCommand = (function (_super) {
24
7
  __extends(DescribeReportDefinitionsCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function DescribeReportDefinitionsCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  DescribeReportDefinitionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var DescribeReportDefinitionsCommand = /** @class */ (function (_super) {
62
37
  return DescribeReportDefinitionsCommand;
63
38
  }($Command));
64
39
  export { DescribeReportDefinitionsCommand };
65
- //# sourceMappingURL=DescribeReportDefinitionsCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { ModifyReportDefinitionRequest, ModifyReportDefinitionResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1ModifyReportDefinitionCommand, serializeAws_json1_1ModifyReportDefinitionCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Allows you to programatically update your report preferences.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { CostAndUsageReportServiceClient, ModifyReportDefinitionCommand } from "@aws-sdk/client-cost-and-usage-report-service"; // ES Modules import
12
- * // const { CostAndUsageReportServiceClient, ModifyReportDefinitionCommand } = require("@aws-sdk/client-cost-and-usage-report-service"); // CommonJS import
13
- * const client = new CostAndUsageReportServiceClient(config);
14
- * const command = new ModifyReportDefinitionCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link ModifyReportDefinitionCommandInput} for command's `input` shape.
19
- * @see {@link ModifyReportDefinitionCommandOutput} for command's `response` shape.
20
- * @see {@link CostAndUsageReportServiceClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var ModifyReportDefinitionCommand = /** @class */ (function (_super) {
4
+ import { ModifyReportDefinitionRequest, ModifyReportDefinitionResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1ModifyReportDefinitionCommand, serializeAws_json1_1ModifyReportDefinitionCommand, } from "../protocols/Aws_json1_1";
6
+ var ModifyReportDefinitionCommand = (function (_super) {
24
7
  __extends(ModifyReportDefinitionCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function ModifyReportDefinitionCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  ModifyReportDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var ModifyReportDefinitionCommand = /** @class */ (function (_super) {
62
37
  return ModifyReportDefinitionCommand;
63
38
  }($Command));
64
39
  export { ModifyReportDefinitionCommand };
65
- //# sourceMappingURL=ModifyReportDefinitionCommand.js.map
@@ -1,40 +1,15 @@
1
1
  import { __extends } from "tslib";
2
- import { PutReportDefinitionRequest, PutReportDefinitionResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1PutReportDefinitionCommand, serializeAws_json1_1PutReportDefinitionCommand, } from "../protocols/Aws_json1_1";
4
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates a new report using the description that you provide.</p>
8
- * @example
9
- * Use a bare-bones client and the command you need to make an API call.
10
- * ```javascript
11
- * import { CostAndUsageReportServiceClient, PutReportDefinitionCommand } from "@aws-sdk/client-cost-and-usage-report-service"; // ES Modules import
12
- * // const { CostAndUsageReportServiceClient, PutReportDefinitionCommand } = require("@aws-sdk/client-cost-and-usage-report-service"); // CommonJS import
13
- * const client = new CostAndUsageReportServiceClient(config);
14
- * const command = new PutReportDefinitionCommand(input);
15
- * const response = await client.send(command);
16
- * ```
17
- *
18
- * @see {@link PutReportDefinitionCommandInput} for command's `input` shape.
19
- * @see {@link PutReportDefinitionCommandOutput} for command's `response` shape.
20
- * @see {@link CostAndUsageReportServiceClientResolvedConfig | config} for command's `input` shape.
21
- *
22
- */
23
- var PutReportDefinitionCommand = /** @class */ (function (_super) {
4
+ import { PutReportDefinitionRequest, PutReportDefinitionResponse } from "../models/models_0";
5
+ import { deserializeAws_json1_1PutReportDefinitionCommand, serializeAws_json1_1PutReportDefinitionCommand, } from "../protocols/Aws_json1_1";
6
+ var PutReportDefinitionCommand = (function (_super) {
24
7
  __extends(PutReportDefinitionCommand, _super);
25
- // Start section: command_properties
26
- // End section: command_properties
27
8
  function PutReportDefinitionCommand(input) {
28
- var _this =
29
- // Start section: command_constructor
30
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
31
10
  _this.input = input;
32
11
  return _this;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  PutReportDefinitionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
39
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -62,4 +37,3 @@ var PutReportDefinitionCommand = /** @class */ (function (_super) {
62
37
  return PutReportDefinitionCommand;
63
38
  }($Command));
64
39
  export { PutReportDefinitionCommand };
65
- //# sourceMappingURL=PutReportDefinitionCommand.js.map
@@ -47,7 +47,6 @@ var partitionHash = {
47
47
  };
48
48
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
49
49
  return __generator(this, function (_a) {
50
- return [2 /*return*/, getRegionInfo(region, __assign(__assign({}, options), { signingService: "cur", regionHash: regionHash, partitionHash: partitionHash }))];
50
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "cur", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map
File without changes