@aws-sdk/client-applicationcostprofiler 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 (125) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/ApplicationCostProfiler.js +0 -9
  3. package/dist-cjs/ApplicationCostProfilerClient.js +0 -14
  4. package/dist-cjs/commands/DeleteReportDefinitionCommand.js +0 -26
  5. package/dist-cjs/commands/GetReportDefinitionCommand.js +0 -25
  6. package/dist-cjs/commands/ImportApplicationUsageCommand.js +0 -28
  7. package/dist-cjs/commands/ListReportDefinitionsCommand.js +0 -26
  8. package/dist-cjs/commands/PutReportDefinitionCommand.js +0 -25
  9. package/dist-cjs/commands/UpdateReportDefinitionCommand.js +0 -25
  10. package/dist-cjs/commands/index.js +9 -0
  11. package/dist-cjs/endpoints.js +1 -2
  12. package/dist-cjs/index.js +4 -11
  13. package/dist-cjs/models/index.js +0 -1
  14. package/dist-cjs/models/models_0.js +0 -61
  15. package/dist-cjs/pagination/Interfaces.js +0 -1
  16. package/dist-cjs/pagination/ListReportDefinitionsPaginator.js +0 -11
  17. package/dist-cjs/pagination/index.js +5 -0
  18. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  19. package/dist-cjs/runtimeConfig.browser.js +1 -6
  20. package/dist-cjs/runtimeConfig.js +2 -7
  21. package/dist-cjs/runtimeConfig.native.js +0 -4
  22. package/dist-cjs/runtimeConfig.shared.js +0 -4
  23. package/dist-es/ApplicationCostProfiler.js +0 -1
  24. package/dist-es/ApplicationCostProfilerClient.js +0 -1
  25. package/dist-es/commands/DeleteReportDefinitionCommand.js +0 -1
  26. package/dist-es/commands/GetReportDefinitionCommand.js +0 -1
  27. package/dist-es/commands/ImportApplicationUsageCommand.js +0 -1
  28. package/dist-es/commands/ListReportDefinitionsCommand.js +0 -1
  29. package/dist-es/commands/PutReportDefinitionCommand.js +0 -1
  30. package/dist-es/commands/UpdateReportDefinitionCommand.js +0 -1
  31. package/dist-es/commands/index.js +6 -0
  32. package/dist-es/endpoints.js +1 -2
  33. package/dist-es/index.js +4 -11
  34. package/dist-es/models/index.js +0 -1
  35. package/dist-es/models/models_0.js +0 -1
  36. package/dist-es/pagination/Interfaces.js +0 -1
  37. package/dist-es/pagination/ListReportDefinitionsPaginator.js +0 -1
  38. package/dist-es/pagination/index.js +2 -0
  39. package/dist-es/protocols/Aws_restJson1.js +0 -1
  40. package/dist-es/runtimeConfig.browser.js +1 -2
  41. package/dist-es/runtimeConfig.js +2 -3
  42. package/dist-es/runtimeConfig.native.js +0 -1
  43. package/dist-es/runtimeConfig.shared.js +0 -1
  44. package/dist-types/commands/index.d.ts +6 -0
  45. package/dist-types/index.d.ts +4 -10
  46. package/dist-types/pagination/index.d.ts +2 -0
  47. package/dist-types/runtimeConfig.browser.d.ts +3 -0
  48. package/dist-types/ts3.4/ApplicationCostProfiler.d.ts +7 -31
  49. package/dist-types/ts3.4/ApplicationCostProfilerClient.d.ts +24 -94
  50. package/dist-types/ts3.4/commands/DeleteReportDefinitionCommand.d.ts +2 -21
  51. package/dist-types/ts3.4/commands/GetReportDefinitionCommand.d.ts +2 -20
  52. package/dist-types/ts3.4/commands/ImportApplicationUsageCommand.d.ts +2 -23
  53. package/dist-types/ts3.4/commands/ListReportDefinitionsCommand.d.ts +2 -21
  54. package/dist-types/ts3.4/commands/PutReportDefinitionCommand.d.ts +2 -20
  55. package/dist-types/ts3.4/commands/UpdateReportDefinitionCommand.d.ts +2 -20
  56. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  57. package/dist-types/ts3.4/index.d.ts +4 -10
  58. package/dist-types/ts3.4/models/models_0.d.ts +68 -211
  59. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -3
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  64. package/package.json +33 -30
  65. package/dist-cjs/ApplicationCostProfiler.js.map +0 -1
  66. package/dist-cjs/ApplicationCostProfilerClient.js.map +0 -1
  67. package/dist-cjs/commands/DeleteReportDefinitionCommand.js.map +0 -1
  68. package/dist-cjs/commands/GetReportDefinitionCommand.js.map +0 -1
  69. package/dist-cjs/commands/ImportApplicationUsageCommand.js.map +0 -1
  70. package/dist-cjs/commands/ListReportDefinitionsCommand.js.map +0 -1
  71. package/dist-cjs/commands/PutReportDefinitionCommand.js.map +0 -1
  72. package/dist-cjs/commands/UpdateReportDefinitionCommand.js.map +0 -1
  73. package/dist-cjs/endpoints.js.map +0 -1
  74. package/dist-cjs/index.js.map +0 -1
  75. package/dist-cjs/models/index.js.map +0 -1
  76. package/dist-cjs/models/models_0.js.map +0 -1
  77. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  78. package/dist-cjs/pagination/ListReportDefinitionsPaginator.js.map +0 -1
  79. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  80. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  81. package/dist-cjs/runtimeConfig.js.map +0 -1
  82. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  83. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  84. package/dist-es/ApplicationCostProfiler.js.map +0 -1
  85. package/dist-es/ApplicationCostProfilerClient.js.map +0 -1
  86. package/dist-es/commands/DeleteReportDefinitionCommand.js.map +0 -1
  87. package/dist-es/commands/GetReportDefinitionCommand.js.map +0 -1
  88. package/dist-es/commands/ImportApplicationUsageCommand.js.map +0 -1
  89. package/dist-es/commands/ListReportDefinitionsCommand.js.map +0 -1
  90. package/dist-es/commands/PutReportDefinitionCommand.js.map +0 -1
  91. package/dist-es/commands/UpdateReportDefinitionCommand.js.map +0 -1
  92. package/dist-es/endpoints.js.map +0 -1
  93. package/dist-es/index.js.map +0 -1
  94. package/dist-es/models/index.js.map +0 -1
  95. package/dist-es/models/models_0.js.map +0 -1
  96. package/dist-es/pagination/Interfaces.js.map +0 -1
  97. package/dist-es/pagination/ListReportDefinitionsPaginator.js.map +0 -1
  98. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  99. package/dist-es/runtimeConfig.browser.js.map +0 -1
  100. package/dist-es/runtimeConfig.js.map +0 -1
  101. package/dist-es/runtimeConfig.native.js.map +0 -1
  102. package/dist-es/runtimeConfig.shared.js.map +0 -1
  103. package/jest.config.js +0 -4
  104. package/src/ApplicationCostProfiler.ts +0 -240
  105. package/src/ApplicationCostProfilerClient.ts +0 -277
  106. package/src/commands/DeleteReportDefinitionCommand.ts +0 -100
  107. package/src/commands/GetReportDefinitionCommand.ts +0 -99
  108. package/src/commands/ImportApplicationUsageCommand.ts +0 -102
  109. package/src/commands/ListReportDefinitionsCommand.ts +0 -100
  110. package/src/commands/PutReportDefinitionCommand.ts +0 -99
  111. package/src/commands/UpdateReportDefinitionCommand.ts +0 -99
  112. package/src/endpoints.ts +0 -57
  113. package/src/index.ts +0 -11
  114. package/src/models/index.ts +0 -1
  115. package/src/models/models_0.ts +0 -490
  116. package/src/pagination/Interfaces.ts +0 -8
  117. package/src/pagination/ListReportDefinitionsPaginator.ts +0 -59
  118. package/src/protocols/Aws_restJson1.ts +0 -952
  119. package/src/runtimeConfig.browser.ts +0 -41
  120. package/src/runtimeConfig.native.ts +0 -17
  121. package/src/runtimeConfig.shared.ts +0 -17
  122. package/src/runtimeConfig.ts +0 -46
  123. package/tsconfig.es.json +0 -10
  124. package/tsconfig.json +0 -33
  125. package/tsconfig.types.json +0 -9
@@ -757,14 +757,12 @@ const deserializeMetadata = (output) => {
757
757
  cfId: output.headers["x-amz-cf-id"],
758
758
  });
759
759
  };
760
- // Collect low-level response body stream to Uint8Array.
761
760
  const collectBody = (streamBody = new Uint8Array(), context) => {
762
761
  if (streamBody instanceof Uint8Array) {
763
762
  return Promise.resolve(streamBody);
764
763
  }
765
764
  return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
766
765
  };
767
- // Encode Uint8Array data into string with utf-8.
768
766
  const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
769
767
  const isSerializableHeaderValue = (value) => value !== undefined &&
770
768
  value !== null &&
@@ -777,9 +775,6 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
777
775
  }
778
776
  return {};
779
777
  });
780
- /**
781
- * Load an error code for the aws.rest-json-1.1 protocol.
782
- */
783
778
  const loadRestJsonErrorCode = (output, data) => {
784
779
  const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());
785
780
  const sanitizeErrorCode = (rawValue) => {
@@ -804,4 +799,3 @@ const loadRestJsonErrorCode = (output, data) => {
804
799
  }
805
800
  return "";
806
801
  };
807
- //# sourceMappingURL=Aws_restJson1.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
@@ -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
@@ -3,9 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpoints_1 = require("./endpoints");
6
- /**
7
- * @internal
8
- */
9
6
  const getRuntimeConfig = (config) => {
10
7
  var _a, _b, _c, _d, _e;
11
8
  return ({
@@ -18,4 +15,3 @@ const getRuntimeConfig = (config) => {
18
15
  });
19
16
  };
20
17
  exports.getRuntimeConfig = getRuntimeConfig;
21
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -98,4 +98,3 @@ var ApplicationCostProfiler = (function (_super) {
98
98
  return ApplicationCostProfiler;
99
99
  }(ApplicationCostProfilerClient));
100
100
  export { ApplicationCostProfiler };
101
- //# sourceMappingURL=ApplicationCostProfiler.js.map
@@ -35,4 +35,3 @@ var ApplicationCostProfilerClient = (function (_super) {
35
35
  return ApplicationCostProfilerClient;
36
36
  }(__Client));
37
37
  export { ApplicationCostProfilerClient };
38
- //# sourceMappingURL=ApplicationCostProfilerClient.js.map
@@ -37,4 +37,3 @@ var DeleteReportDefinitionCommand = (function (_super) {
37
37
  return DeleteReportDefinitionCommand;
38
38
  }($Command));
39
39
  export { DeleteReportDefinitionCommand };
40
- //# sourceMappingURL=DeleteReportDefinitionCommand.js.map
@@ -37,4 +37,3 @@ var GetReportDefinitionCommand = (function (_super) {
37
37
  return GetReportDefinitionCommand;
38
38
  }($Command));
39
39
  export { GetReportDefinitionCommand };
40
- //# sourceMappingURL=GetReportDefinitionCommand.js.map
@@ -37,4 +37,3 @@ var ImportApplicationUsageCommand = (function (_super) {
37
37
  return ImportApplicationUsageCommand;
38
38
  }($Command));
39
39
  export { ImportApplicationUsageCommand };
40
- //# sourceMappingURL=ImportApplicationUsageCommand.js.map
@@ -37,4 +37,3 @@ var ListReportDefinitionsCommand = (function (_super) {
37
37
  return ListReportDefinitionsCommand;
38
38
  }($Command));
39
39
  export { ListReportDefinitionsCommand };
40
- //# sourceMappingURL=ListReportDefinitionsCommand.js.map
@@ -37,4 +37,3 @@ var PutReportDefinitionCommand = (function (_super) {
37
37
  return PutReportDefinitionCommand;
38
38
  }($Command));
39
39
  export { PutReportDefinitionCommand };
40
- //# sourceMappingURL=PutReportDefinitionCommand.js.map
@@ -37,4 +37,3 @@ var UpdateReportDefinitionCommand = (function (_super) {
37
37
  return UpdateReportDefinitionCommand;
38
38
  }($Command));
39
39
  export { UpdateReportDefinitionCommand };
40
- //# sourceMappingURL=UpdateReportDefinitionCommand.js.map
@@ -0,0 +1,6 @@
1
+ export * from "./DeleteReportDefinitionCommand";
2
+ export * from "./GetReportDefinitionCommand";
3
+ export * from "./ImportApplicationUsageCommand";
4
+ export * from "./ListReportDefinitionsCommand";
5
+ export * from "./PutReportDefinitionCommand";
6
+ export * from "./UpdateReportDefinitionCommand";
@@ -33,7 +33,7 @@ var partitionHash = {
33
33
  hostname: "application-cost-profiler.{region}.amazonaws.com.cn",
34
34
  },
35
35
  "aws-iso": {
36
- regions: ["us-iso-east-1"],
36
+ regions: ["us-iso-east-1", "us-iso-west-1"],
37
37
  hostname: "application-cost-profiler.{region}.c2s.ic.gov",
38
38
  },
39
39
  "aws-iso-b": {
@@ -50,4 +50,3 @@ export var defaultRegionInfoProvider = function (region, options) { return __awa
50
50
  return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "application-cost-profiler", regionHash: regionHash, partitionHash: partitionHash }))];
51
51
  });
52
52
  }); };
53
- //# sourceMappingURL=endpoints.js.map
package/dist-es/index.js CHANGED
@@ -1,12 +1,5 @@
1
- export * from "./ApplicationCostProfilerClient";
2
1
  export * from "./ApplicationCostProfiler";
3
- export * from "./commands/DeleteReportDefinitionCommand";
4
- export * from "./commands/GetReportDefinitionCommand";
5
- export * from "./commands/ImportApplicationUsageCommand";
6
- export * from "./commands/ListReportDefinitionsCommand";
7
- export * from "./pagination/ListReportDefinitionsPaginator";
8
- export * from "./commands/PutReportDefinitionCommand";
9
- export * from "./commands/UpdateReportDefinitionCommand";
10
- export * from "./pagination/Interfaces";
11
- export * from "./models/index";
12
- //# sourceMappingURL=index.js.map
2
+ export * from "./ApplicationCostProfilerClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -1,2 +1 @@
1
1
  export * from "./models_0";
2
- //# sourceMappingURL=index.js.map
@@ -97,4 +97,3 @@ export var UpdateReportDefinitionResult;
97
97
  (function (UpdateReportDefinitionResult) {
98
98
  UpdateReportDefinitionResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
99
99
  })(UpdateReportDefinitionResult || (UpdateReportDefinitionResult = {}));
100
- //# sourceMappingURL=models_0.js.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=Interfaces.js.map
@@ -72,4 +72,3 @@ export function paginateListReportDefinitions(config, input) {
72
72
  });
73
73
  });
74
74
  }
75
- //# sourceMappingURL=ListReportDefinitionsPaginator.js.map
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListReportDefinitionsPaginator";
@@ -910,4 +910,3 @@ var loadRestJsonErrorCode = function (output, data) {
910
910
  }
911
911
  return "";
912
912
  };
913
- //# sourceMappingURL=Aws_restJson1.js.map
@@ -1,4 +1,5 @@
1
1
  import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
2
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
3
4
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
4
5
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
@@ -7,11 +8,9 @@ import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
7
8
  import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
8
9
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
9
10
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
10
- import packageInfo from "../package.json";
11
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
12
  export var getRuntimeConfig = function (config) {
13
13
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
14
14
  var clientSharedValues = getSharedRuntimeConfig(config);
15
15
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
16
  };
17
- //# sourceMappingURL=runtimeConfig.browser.js.map
@@ -1,4 +1,5 @@
1
1
  import { __assign } from "tslib";
2
+ import packageInfo from "../package.json";
2
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
3
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
4
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
@@ -6,17 +7,15 @@ import { Hash } from "@aws-sdk/hash-node";
6
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
8
9
  import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
- import packageInfo from "../package.json";
15
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
+ import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
16
  export var getRuntimeConfig = function (config) {
17
17
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
20
  return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
21
21
  };
22
- //# sourceMappingURL=runtimeConfig.js.map
@@ -6,4 +6,3 @@ export var getRuntimeConfig = function (config) {
6
6
  var browserDefaults = getBrowserRuntimeConfig(config);
7
7
  return __assign(__assign(__assign({}, browserDefaults), config), { runtime: "react-native", sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : Sha256 });
8
8
  };
9
- //# sourceMappingURL=runtimeConfig.native.js.map
@@ -11,4 +11,3 @@ export var getRuntimeConfig = function (config) {
11
11
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : parseUrl,
12
12
  });
13
13
  };
14
- //# sourceMappingURL=runtimeConfig.shared.js.map
@@ -0,0 +1,6 @@
1
+ export * from "./DeleteReportDefinitionCommand";
2
+ export * from "./GetReportDefinitionCommand";
3
+ export * from "./ImportApplicationUsageCommand";
4
+ export * from "./ListReportDefinitionsCommand";
5
+ export * from "./PutReportDefinitionCommand";
6
+ export * from "./UpdateReportDefinitionCommand";
@@ -1,11 +1,5 @@
1
- export * from "./ApplicationCostProfilerClient";
2
1
  export * from "./ApplicationCostProfiler";
3
- export * from "./commands/DeleteReportDefinitionCommand";
4
- export * from "./commands/GetReportDefinitionCommand";
5
- export * from "./commands/ImportApplicationUsageCommand";
6
- export * from "./commands/ListReportDefinitionsCommand";
7
- export * from "./pagination/ListReportDefinitionsPaginator";
8
- export * from "./commands/PutReportDefinitionCommand";
9
- export * from "./commands/UpdateReportDefinitionCommand";
10
- export * from "./pagination/Interfaces";
11
- export * from "./models/index";
2
+ export * from "./ApplicationCostProfilerClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
@@ -0,0 +1,2 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListReportDefinitionsPaginator";
@@ -32,6 +32,9 @@ export declare const getRuntimeConfig: (config: ApplicationCostProfilerClientCon
32
32
  signingEscapePath?: boolean | undefined;
33
33
  systemClockOffset?: number | undefined;
34
34
  signingRegion?: string | undefined;
35
+ /**
36
+ * @internal
37
+ */
35
38
  signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
36
39
  customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
37
40
  };
@@ -6,53 +6,29 @@ import { ImportApplicationUsageCommandInput, ImportApplicationUsageCommandOutput
6
6
  import { ListReportDefinitionsCommandInput, ListReportDefinitionsCommandOutput } from "./commands/ListReportDefinitionsCommand";
7
7
  import { PutReportDefinitionCommandInput, PutReportDefinitionCommandOutput } from "./commands/PutReportDefinitionCommand";
8
8
  import { UpdateReportDefinitionCommandInput, UpdateReportDefinitionCommandOutput } from "./commands/UpdateReportDefinitionCommand";
9
- /**
10
- * <p>This reference provides descriptions of the AWS Application Cost Profiler API.</p>
11
- * <p>The AWS Application Cost Profiler API provides programmatic access to view, create, update, and delete
12
- * application cost report definitions, as well as to import your usage data into the Application Cost Profiler
13
- * service.</p>
14
- * <p>For more information about using this service, see the <a href="https://docs.aws.amazon.com/application-cost-profiler/latest/userguide/introduction.html">AWS Application Cost
15
- * Profiler User Guide</a>.</p>
16
- */
9
+
17
10
  export declare class ApplicationCostProfiler extends ApplicationCostProfilerClient {
18
- /**
19
- * <p>Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being
20
- * generated.</p>
21
- */
11
+
22
12
  deleteReportDefinition(args: DeleteReportDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteReportDefinitionCommandOutput>;
23
13
  deleteReportDefinition(args: DeleteReportDefinitionCommandInput, cb: (err: any, data?: DeleteReportDefinitionCommandOutput) => void): void;
24
14
  deleteReportDefinition(args: DeleteReportDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteReportDefinitionCommandOutput) => void): void;
25
- /**
26
- * <p>Retrieves the definition of a report already configured in AWS Application Cost Profiler.</p>
27
- */
15
+
28
16
  getReportDefinition(args: GetReportDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<GetReportDefinitionCommandOutput>;
29
17
  getReportDefinition(args: GetReportDefinitionCommandInput, cb: (err: any, data?: GetReportDefinitionCommandOutput) => void): void;
30
18
  getReportDefinition(args: GetReportDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetReportDefinitionCommandOutput) => void): void;
31
- /**
32
- * <p>Ingests application usage data from Amazon Simple Storage Service (Amazon S3).</p>
33
- * <p>The data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler
34
- * copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing
35
- * asynchronously.</p>
36
- */
19
+
37
20
  importApplicationUsage(args: ImportApplicationUsageCommandInput, options?: __HttpHandlerOptions): Promise<ImportApplicationUsageCommandOutput>;
38
21
  importApplicationUsage(args: ImportApplicationUsageCommandInput, cb: (err: any, data?: ImportApplicationUsageCommandOutput) => void): void;
39
22
  importApplicationUsage(args: ImportApplicationUsageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ImportApplicationUsageCommandOutput) => void): void;
40
- /**
41
- * <p>Retrieves a list of all reports and their configurations for your AWS account.</p>
42
- * <p>The maximum number of reports is one.</p>
43
- */
23
+
44
24
  listReportDefinitions(args: ListReportDefinitionsCommandInput, options?: __HttpHandlerOptions): Promise<ListReportDefinitionsCommandOutput>;
45
25
  listReportDefinitions(args: ListReportDefinitionsCommandInput, cb: (err: any, data?: ListReportDefinitionsCommandOutput) => void): void;
46
26
  listReportDefinitions(args: ListReportDefinitionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListReportDefinitionsCommandOutput) => void): void;
47
- /**
48
- * <p>Creates the report definition for a report in Application Cost Profiler.</p>
49
- */
27
+
50
28
  putReportDefinition(args: PutReportDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<PutReportDefinitionCommandOutput>;
51
29
  putReportDefinition(args: PutReportDefinitionCommandInput, cb: (err: any, data?: PutReportDefinitionCommandOutput) => void): void;
52
30
  putReportDefinition(args: PutReportDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutReportDefinitionCommandOutput) => void): void;
53
- /**
54
- * <p>Updates existing report in AWS Application Cost Profiler.</p>
55
- */
31
+
56
32
  updateReportDefinition(args: UpdateReportDefinitionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateReportDefinitionCommandOutput>;
57
33
  updateReportDefinition(args: UpdateReportDefinitionCommandInput, cb: (err: any, data?: UpdateReportDefinitionCommandOutput) => void): void;
58
34
  updateReportDefinition(args: UpdateReportDefinitionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateReportDefinitionCommandOutput) => void): void;
@@ -15,129 +15,59 @@ import { UpdateReportDefinitionCommandInput, UpdateReportDefinitionCommandOutput
15
15
  export declare type ServiceInputTypes = DeleteReportDefinitionCommandInput | GetReportDefinitionCommandInput | ImportApplicationUsageCommandInput | ListReportDefinitionsCommandInput | PutReportDefinitionCommandInput | UpdateReportDefinitionCommandInput;
16
16
  export declare type ServiceOutputTypes = DeleteReportDefinitionCommandOutput | GetReportDefinitionCommandOutput | ImportApplicationUsageCommandOutput | ListReportDefinitionsCommandOutput | PutReportDefinitionCommandOutput | UpdateReportDefinitionCommandOutput;
17
17
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
18
- /**
19
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
20
- */
18
+
21
19
  requestHandler?: __HttpHandler;
22
- /**
23
- * A constructor for a class implementing the {@link __Hash} interface
24
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
25
- * @internal
26
- */
20
+
27
21
  sha256?: __HashConstructor;
28
- /**
29
- * The function that will be used to convert strings into HTTP endpoints.
30
- * @internal
31
- */
22
+
32
23
  urlParser?: __UrlParser;
33
- /**
34
- * A function that can calculate the length of a request body.
35
- * @internal
36
- */
24
+
37
25
  bodyLengthChecker?: (body: any) => number | undefined;
38
- /**
39
- * A function that converts a stream into an array of bytes.
40
- * @internal
41
- */
26
+
42
27
  streamCollector?: __StreamCollector;
43
- /**
44
- * The function that will be used to convert a base64-encoded string to a byte array.
45
- * @internal
46
- */
28
+
47
29
  base64Decoder?: __Decoder;
48
- /**
49
- * The function that will be used to convert binary data to a base64-encoded string.
50
- * @internal
51
- */
30
+
52
31
  base64Encoder?: __Encoder;
53
- /**
54
- * The function that will be used to convert a UTF8-encoded string to a byte array.
55
- * @internal
56
- */
32
+
57
33
  utf8Decoder?: __Decoder;
58
- /**
59
- * The function that will be used to convert binary data to a UTF-8 encoded string.
60
- * @internal
61
- */
34
+
62
35
  utf8Encoder?: __Encoder;
63
- /**
64
- * The runtime environment.
65
- * @internal
66
- */
36
+
67
37
  runtime?: string;
68
- /**
69
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
70
- * trait of an operation.
71
- */
38
+
72
39
  disableHostPrefix?: boolean;
73
- /**
74
- * Value for how many times a request will be made at most in case of retry.
75
- */
40
+
76
41
  maxAttempts?: number | __Provider<number>;
77
- /**
78
- * Specifies which retry algorithm to use.
79
- */
42
+
80
43
  retryMode?: string | __Provider<string>;
81
- /**
82
- * Optional logger for logging debug/info/warn/error.
83
- */
44
+
84
45
  logger?: __Logger;
85
- /**
86
- * Unique service identifier.
87
- * @internal
88
- */
46
+
89
47
  serviceId?: string;
90
- /**
91
- * The AWS region to which this client will send requests
92
- */
48
+
93
49
  region?: string | __Provider<string>;
94
- /**
95
- * Default credentials provider; Not available in browser runtime.
96
- * @internal
97
- */
50
+
98
51
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
99
- /**
100
- * Fetch related hostname, signing name or signing region with given region.
101
- * @internal
102
- */
52
+
103
53
  regionInfoProvider?: RegionInfoProvider;
104
- /**
105
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
106
- * @internal
107
- */
54
+
108
55
  defaultUserAgentProvider?: Provider<__UserAgent>;
109
56
  }
110
57
  declare type ApplicationCostProfilerClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
111
- /**
112
- * The configuration interface of ApplicationCostProfilerClient class constructor that set the region, credentials and other options.
113
- */
58
+
114
59
  export interface ApplicationCostProfilerClientConfig extends ApplicationCostProfilerClientConfigType {
115
60
  }
116
61
  declare type ApplicationCostProfilerClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
117
- /**
118
- * The resolved configuration interface of ApplicationCostProfilerClient class. This is resolved and normalized from the {@link ApplicationCostProfilerClientConfig | constructor configuration interface}.
119
- */
62
+
120
63
  export interface ApplicationCostProfilerClientResolvedConfig extends ApplicationCostProfilerClientResolvedConfigType {
121
64
  }
122
- /**
123
- * <p>This reference provides descriptions of the AWS Application Cost Profiler API.</p>
124
- * <p>The AWS Application Cost Profiler API provides programmatic access to view, create, update, and delete
125
- * application cost report definitions, as well as to import your usage data into the Application Cost Profiler
126
- * service.</p>
127
- * <p>For more information about using this service, see the <a href="https://docs.aws.amazon.com/application-cost-profiler/latest/userguide/introduction.html">AWS Application Cost
128
- * Profiler User Guide</a>.</p>
129
- */
65
+
130
66
  export declare class ApplicationCostProfilerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, ApplicationCostProfilerClientResolvedConfig> {
131
- /**
132
- * The resolved configuration of ApplicationCostProfilerClient class. This is resolved and normalized from the {@link ApplicationCostProfilerClientConfig | constructor configuration interface}.
133
- */
67
+
134
68
  readonly config: ApplicationCostProfilerClientResolvedConfig;
135
69
  constructor(configuration: ApplicationCostProfilerClientConfig);
136
- /**
137
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
138
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
139
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
140
- */
70
+
141
71
  destroy(): void;
142
72
  }
143
73
  export {};
@@ -6,30 +6,11 @@ export interface DeleteReportDefinitionCommandInput extends DeleteReportDefiniti
6
6
  }
7
7
  export interface DeleteReportDefinitionCommandOutput extends DeleteReportDefinitionResult, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being
11
- * generated.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { ApplicationCostProfilerClient, DeleteReportDefinitionCommand } from "@aws-sdk/client-applicationcostprofiler"; // ES Modules import
16
- * // const { ApplicationCostProfilerClient, DeleteReportDefinitionCommand } = require("@aws-sdk/client-applicationcostprofiler"); // CommonJS import
17
- * const client = new ApplicationCostProfilerClient(config);
18
- * const command = new DeleteReportDefinitionCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link DeleteReportDefinitionCommandInput} for command's `input` shape.
23
- * @see {@link DeleteReportDefinitionCommandOutput} for command's `response` shape.
24
- * @see {@link ApplicationCostProfilerClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class DeleteReportDefinitionCommand extends $Command<DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
28
11
  readonly input: DeleteReportDefinitionCommandInput;
29
12
  constructor(input: DeleteReportDefinitionCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteReportDefinitionCommandInput, DeleteReportDefinitionCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface GetReportDefinitionCommandInput extends GetReportDefinitionRequ
6
6
  }
7
7
  export interface GetReportDefinitionCommandOutput extends GetReportDefinitionResult, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Retrieves the definition of a report already configured in AWS Application Cost Profiler.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { ApplicationCostProfilerClient, GetReportDefinitionCommand } from "@aws-sdk/client-applicationcostprofiler"; // ES Modules import
15
- * // const { ApplicationCostProfilerClient, GetReportDefinitionCommand } = require("@aws-sdk/client-applicationcostprofiler"); // CommonJS import
16
- * const client = new ApplicationCostProfilerClient(config);
17
- * const command = new GetReportDefinitionCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link GetReportDefinitionCommandInput} for command's `input` shape.
22
- * @see {@link GetReportDefinitionCommandOutput} for command's `response` shape.
23
- * @see {@link ApplicationCostProfilerClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class GetReportDefinitionCommand extends $Command<GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput, ApplicationCostProfilerClientResolvedConfig> {
27
11
  readonly input: GetReportDefinitionCommandInput;
28
12
  constructor(input: GetReportDefinitionCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ApplicationCostProfilerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetReportDefinitionCommandInput, GetReportDefinitionCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;