@aws-sdk/client-cost-explorer 3.33.0 → 3.34.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.
- package/CHANGELOG.md +11 -0
- package/dist/cjs/package.json +38 -38
- package/dist/es/CostExplorer.js +1 -19
- package/dist/es/CostExplorer.js.map +1 -1
- package/dist/es/CostExplorerClient.js +1 -24
- package/dist/es/CostExplorerClient.js.map +1 -1
- package/dist/es/commands/CreateAnomalyMonitorCommand.js +2 -28
- package/dist/es/commands/CreateAnomalyMonitorCommand.js.map +1 -1
- package/dist/es/commands/CreateAnomalySubscriptionCommand.js +2 -29
- package/dist/es/commands/CreateAnomalySubscriptionCommand.js.map +1 -1
- package/dist/es/commands/CreateCostCategoryDefinitionCommand.js +2 -27
- package/dist/es/commands/CreateCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/DeleteAnomalyMonitorCommand.js +2 -27
- package/dist/es/commands/DeleteAnomalyMonitorCommand.js.map +1 -1
- package/dist/es/commands/DeleteAnomalySubscriptionCommand.js +2 -27
- package/dist/es/commands/DeleteAnomalySubscriptionCommand.js.map +1 -1
- package/dist/es/commands/DeleteCostCategoryDefinitionCommand.js +2 -27
- package/dist/es/commands/DeleteCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/DescribeCostCategoryDefinitionCommand.js +2 -28
- package/dist/es/commands/DescribeCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/es/commands/GetAnomaliesCommand.js +2 -28
- package/dist/es/commands/GetAnomaliesCommand.js.map +1 -1
- package/dist/es/commands/GetAnomalyMonitorsCommand.js +2 -28
- package/dist/es/commands/GetAnomalyMonitorsCommand.js.map +1 -1
- package/dist/es/commands/GetAnomalySubscriptionsCommand.js +2 -28
- package/dist/es/commands/GetAnomalySubscriptionsCommand.js.map +1 -1
- package/dist/es/commands/GetCostAndUsageCommand.js +2 -32
- package/dist/es/commands/GetCostAndUsageCommand.js.map +1 -1
- package/dist/es/commands/GetCostAndUsageWithResourcesCommand.js +2 -34
- package/dist/es/commands/GetCostAndUsageWithResourcesCommand.js.map +1 -1
- package/dist/es/commands/GetCostCategoriesCommand.js +2 -30
- package/dist/es/commands/GetCostCategoriesCommand.js.map +1 -1
- package/dist/es/commands/GetCostForecastCommand.js +2 -27
- package/dist/es/commands/GetCostForecastCommand.js.map +1 -1
- package/dist/es/commands/GetDimensionValuesCommand.js +2 -27
- package/dist/es/commands/GetDimensionValuesCommand.js.map +1 -1
- package/dist/es/commands/GetReservationCoverageCommand.js +2 -68
- package/dist/es/commands/GetReservationCoverageCommand.js.map +1 -1
- package/dist/es/commands/GetReservationPurchaseRecommendationCommand.js +2 -36
- package/dist/es/commands/GetReservationPurchaseRecommendationCommand.js.map +1 -1
- package/dist/es/commands/GetReservationUtilizationCommand.js +2 -29
- package/dist/es/commands/GetReservationUtilizationCommand.js.map +1 -1
- package/dist/es/commands/GetRightsizingRecommendationCommand.js +2 -36
- package/dist/es/commands/GetRightsizingRecommendationCommand.js.map +1 -1
- package/dist/es/commands/GetSavingsPlansCoverageCommand.js +2 -50
- package/dist/es/commands/GetSavingsPlansCoverageCommand.js.map +1 -1
- package/dist/es/commands/GetSavingsPlansPurchaseRecommendationCommand.js +2 -27
- package/dist/es/commands/GetSavingsPlansPurchaseRecommendationCommand.js.map +1 -1
- package/dist/es/commands/GetSavingsPlansUtilizationCommand.js +2 -30
- package/dist/es/commands/GetSavingsPlansUtilizationCommand.js.map +1 -1
- package/dist/es/commands/GetSavingsPlansUtilizationDetailsCommand.js +2 -31
- package/dist/es/commands/GetSavingsPlansUtilizationDetailsCommand.js.map +1 -1
- package/dist/es/commands/GetTagsCommand.js +2 -27
- package/dist/es/commands/GetTagsCommand.js.map +1 -1
- package/dist/es/commands/GetUsageForecastCommand.js +2 -27
- package/dist/es/commands/GetUsageForecastCommand.js.map +1 -1
- package/dist/es/commands/ListCostCategoryDefinitionsCommand.js +2 -27
- package/dist/es/commands/ListCostCategoryDefinitionsCommand.js.map +1 -1
- package/dist/es/commands/ProvideAnomalyFeedbackCommand.js +2 -27
- package/dist/es/commands/ProvideAnomalyFeedbackCommand.js.map +1 -1
- package/dist/es/commands/UpdateAnomalyMonitorCommand.js +2 -28
- package/dist/es/commands/UpdateAnomalyMonitorCommand.js.map +1 -1
- package/dist/es/commands/UpdateAnomalySubscriptionCommand.js +2 -27
- package/dist/es/commands/UpdateAnomalySubscriptionCommand.js.map +1 -1
- package/dist/es/commands/UpdateCostCategoryDefinitionCommand.js +2 -27
- package/dist/es/commands/UpdateCostCategoryDefinitionCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -441
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +38 -38
- package/dist/es/pagination/GetSavingsPlansCoveragePaginator.js +16 -28
- package/dist/es/pagination/GetSavingsPlansCoveragePaginator.js.map +1 -1
- package/dist/es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js +16 -28
- package/dist/es/pagination/GetSavingsPlansUtilizationDetailsPaginator.js.map +1 -1
- package/dist/es/pagination/ListCostCategoryDefinitionsPaginator.js +16 -28
- package/dist/es/pagination/ListCostCategoryDefinitionsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +550 -555
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/package.json +38 -38
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +4 -5
- package/tsconfig.types.json +8 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProvideAnomalyFeedbackCommand.js","sourceRoot":"","sources":["../../../commands/ProvideAnomalyFeedbackCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ProvideAnomalyFeedbackCommand.js","sourceRoot":"","sources":["../../../commands/ProvideAnomalyFeedbackCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAmD,iDAIlD;IAIC,uCAAqB,KAAyC;QAA9D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoC;;IAI9D,CAAC;IAKD,yDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA+C,EAC/C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,oBAAoB,CAAC;QACxC,IAAM,WAAW,GAAG,+BAA+B,CAAC;QACpD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,6BAA6B,CAAC,kBAAkB;YACzE,wBAAwB,EAAE,8BAA8B,CAAC,kBAAkB;SAC5E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,iDAAS,GAAjB,UAAkB,KAAyC,EAAE,OAAuB;QAClF,OAAO,iDAAiD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAEO,mDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,oCAAC;AAAD,CAAC,AAtDD,CAAmD,QAAQ,GAsD1D"}
|
|
@@ -3,39 +3,13 @@ import { UpdateAnomalyMonitorRequest, UpdateAnomalyMonitorResponse } from "../mo
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateAnomalyMonitorCommand, serializeAws_json1_1UpdateAnomalyMonitorCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates an existing cost anomaly monitor. The changes made are applied going forward, and
|
|
8
|
-
* doesn'tt change anomalies detected in the past. </p>
|
|
9
|
-
* @example
|
|
10
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
11
|
-
* ```javascript
|
|
12
|
-
* import { CostExplorerClient, UpdateAnomalyMonitorCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
13
|
-
* // const { CostExplorerClient, UpdateAnomalyMonitorCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
14
|
-
* const client = new CostExplorerClient(config);
|
|
15
|
-
* const command = new UpdateAnomalyMonitorCommand(input);
|
|
16
|
-
* const response = await client.send(command);
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @see {@link UpdateAnomalyMonitorCommandInput} for command's `input` shape.
|
|
20
|
-
* @see {@link UpdateAnomalyMonitorCommandOutput} for command's `response` shape.
|
|
21
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
22
|
-
*
|
|
23
|
-
*/
|
|
24
|
-
var UpdateAnomalyMonitorCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateAnomalyMonitorCommand = (function (_super) {
|
|
25
7
|
__extends(UpdateAnomalyMonitorCommand, _super);
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
8
|
function UpdateAnomalyMonitorCommand(input) {
|
|
29
|
-
var _this =
|
|
30
|
-
// Start section: command_constructor
|
|
31
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
32
10
|
_this.input = input;
|
|
33
11
|
return _this;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
UpdateAnomalyMonitorCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateAnomalyMonitorCommand.js","sourceRoot":"","sources":["../../../commands/UpdateAnomalyMonitorCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,0BAA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CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,+CAAS,GAAjB,UAAkB,KAAuC,EAAE,OAAuB;QAChF,OAAO,+CAA+C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAEO,iDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,iDAAiD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAtDD,CAAiD,QAAQ,GAsDxD"}
|
|
@@ -3,38 +3,13 @@ import { UpdateAnomalySubscriptionRequest, UpdateAnomalySubscriptionResponse } f
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateAnomalySubscriptionCommand, serializeAws_json1_1UpdateAnomalySubscriptionCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates an existing cost anomaly monitor subscription. </p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CostExplorerClient, UpdateAnomalySubscriptionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
12
|
-
* // const { CostExplorerClient, UpdateAnomalySubscriptionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
13
|
-
* const client = new CostExplorerClient(config);
|
|
14
|
-
* const command = new UpdateAnomalySubscriptionCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateAnomalySubscriptionCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateAnomalySubscriptionCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateAnomalySubscriptionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateAnomalySubscriptionCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateAnomalySubscriptionCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateAnomalySubscriptionCommand(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
|
UpdateAnomalySubscriptionCommand.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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateAnomalySubscriptionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateAnomalySubscriptionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,sDAAsD,EACtD,oDAAoD,GACrD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateAnomalySubscriptionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateAnomalySubscriptionCommand.ts"],"names":[],"mappings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AAoD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,sDAAsD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
|
|
@@ -3,38 +3,13 @@ import { UpdateCostCategoryDefinitionRequest, UpdateCostCategoryDefinitionRespon
|
|
|
3
3
|
import { deserializeAws_json1_1UpdateCostCategoryDefinitionCommand, serializeAws_json1_1UpdateCostCategoryDefinitionCommand, } from "../protocols/Aws_json1_1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates an existing Cost Category. Changes made to the Cost Category rules will be used to categorize the current month’s expenses and future expenses. This won’t change categorization for the previous months.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { CostExplorerClient, UpdateCostCategoryDefinitionCommand } from "@aws-sdk/client-cost-explorer"; // ES Modules import
|
|
12
|
-
* // const { CostExplorerClient, UpdateCostCategoryDefinitionCommand } = require("@aws-sdk/client-cost-explorer"); // CommonJS import
|
|
13
|
-
* const client = new CostExplorerClient(config);
|
|
14
|
-
* const command = new UpdateCostCategoryDefinitionCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateCostCategoryDefinitionCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateCostCategoryDefinitionCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link CostExplorerClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateCostCategoryDefinitionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateCostCategoryDefinitionCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateCostCategoryDefinitionCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateCostCategoryDefinitionCommand(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
|
UpdateCostCategoryDefinitionCommand.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);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateCostCategoryDefinitionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateCostCategoryDefinitionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateCostCategoryDefinitionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateCostCategoryDefinitionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,oCAAoC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAA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CAAC;IAIH,0CAAC;AAAD,CAAC,AAzDD,CAAyD,QAAQ,GAyDhE"}
|
package/dist/es/endpoints.js
CHANGED
|
@@ -57,7 +57,7 @@ var partitionHash = {
|
|
|
57
57
|
};
|
|
58
58
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
59
59
|
return __generator(this, function (_a) {
|
|
60
|
-
return [2
|
|
60
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "ce", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
61
61
|
});
|
|
62
62
|
}); };
|
|
63
63
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,eAAe,EAAE;QACf,QAAQ,EAAE,oCAAoC;QAC9C,aAAa,EAAE,gBAAgB;KAChC;IACD,YAAY,EAAE;QACZ,QAAQ,EAAE,4BAA4B;QACtC,aAAa,EAAE,WAAW;KAC3B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;SACZ;QACD,QAAQ,EAAE,YAAY;KACvB;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,CAAC,eAAe,EAAE,YAAY,EAAE,gBAAgB,CAAC;QAC1D,QAAQ,EAAE,eAA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