@aws-sdk/client-billingconductor 3.55.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/LICENSE +201 -0
- package/README.md +215 -0
- package/dist-cjs/Billingconductor.js +457 -0
- package/dist-cjs/BillingconductorClient.js +35 -0
- package/dist-cjs/commands/AssociateAccountsCommand.js +36 -0
- package/dist-cjs/commands/AssociatePricingRulesCommand.js +36 -0
- package/dist-cjs/commands/BatchAssociateResourcesToCustomLineItemCommand.js +36 -0
- package/dist-cjs/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +36 -0
- package/dist-cjs/commands/CreateBillingGroupCommand.js +36 -0
- package/dist-cjs/commands/CreateCustomLineItemCommand.js +36 -0
- package/dist-cjs/commands/CreatePricingPlanCommand.js +36 -0
- package/dist-cjs/commands/CreatePricingRuleCommand.js +36 -0
- package/dist-cjs/commands/DeleteBillingGroupCommand.js +36 -0
- package/dist-cjs/commands/DeleteCustomLineItemCommand.js +36 -0
- package/dist-cjs/commands/DeletePricingPlanCommand.js +36 -0
- package/dist-cjs/commands/DeletePricingRuleCommand.js +36 -0
- package/dist-cjs/commands/DisassociateAccountsCommand.js +36 -0
- package/dist-cjs/commands/DisassociatePricingRulesCommand.js +36 -0
- package/dist-cjs/commands/ListAccountAssociationsCommand.js +36 -0
- package/dist-cjs/commands/ListBillingGroupCostReportsCommand.js +36 -0
- package/dist-cjs/commands/ListBillingGroupsCommand.js +36 -0
- package/dist-cjs/commands/ListCustomLineItemsCommand.js +36 -0
- package/dist-cjs/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +36 -0
- package/dist-cjs/commands/ListPricingPlansCommand.js +36 -0
- package/dist-cjs/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +36 -0
- package/dist-cjs/commands/ListPricingRulesCommand.js +36 -0
- package/dist-cjs/commands/ListResourcesAssociatedToCustomLineItemCommand.js +36 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
- package/dist-cjs/commands/TagResourceCommand.js +36 -0
- package/dist-cjs/commands/UntagResourceCommand.js +36 -0
- package/dist-cjs/commands/UpdateBillingGroupCommand.js +36 -0
- package/dist-cjs/commands/UpdateCustomLineItemCommand.js +36 -0
- package/dist-cjs/commands/UpdatePricingPlanCommand.js +36 -0
- package/dist-cjs/commands/UpdatePricingRuleCommand.js +36 -0
- package/dist-cjs/commands/index.js +33 -0
- package/dist-cjs/endpoints.js +131 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/BillingconductorServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +792 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAccountAssociationsPaginator.js +34 -0
- package/dist-cjs/pagination/ListBillingGroupCostReportsPaginator.js +35 -0
- package/dist-cjs/pagination/ListBillingGroupsPaginator.js +35 -0
- package/dist-cjs/pagination/ListCustomLineItemsPaginator.js +35 -0
- package/dist-cjs/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.js +35 -0
- package/dist-cjs/pagination/ListPricingPlansPaginator.js +35 -0
- package/dist-cjs/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.js +35 -0
- package/dist-cjs/pagination/ListPricingRulesPaginator.js +35 -0
- package/dist-cjs/pagination/ListResourcesAssociatedToCustomLineItemPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +3178 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/Billingconductor.js +460 -0
- package/dist-es/BillingconductorClient.js +37 -0
- package/dist-es/commands/AssociateAccountsCommand.js +39 -0
- package/dist-es/commands/AssociatePricingRulesCommand.js +39 -0
- package/dist-es/commands/BatchAssociateResourcesToCustomLineItemCommand.js +39 -0
- package/dist-es/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +39 -0
- package/dist-es/commands/CreateBillingGroupCommand.js +39 -0
- package/dist-es/commands/CreateCustomLineItemCommand.js +39 -0
- package/dist-es/commands/CreatePricingPlanCommand.js +39 -0
- package/dist-es/commands/CreatePricingRuleCommand.js +39 -0
- package/dist-es/commands/DeleteBillingGroupCommand.js +39 -0
- package/dist-es/commands/DeleteCustomLineItemCommand.js +39 -0
- package/dist-es/commands/DeletePricingPlanCommand.js +39 -0
- package/dist-es/commands/DeletePricingRuleCommand.js +39 -0
- package/dist-es/commands/DisassociateAccountsCommand.js +39 -0
- package/dist-es/commands/DisassociatePricingRulesCommand.js +39 -0
- package/dist-es/commands/ListAccountAssociationsCommand.js +39 -0
- package/dist-es/commands/ListBillingGroupCostReportsCommand.js +39 -0
- package/dist-es/commands/ListBillingGroupsCommand.js +39 -0
- package/dist-es/commands/ListCustomLineItemsCommand.js +39 -0
- package/dist-es/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +39 -0
- package/dist-es/commands/ListPricingPlansCommand.js +39 -0
- package/dist-es/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +39 -0
- package/dist-es/commands/ListPricingRulesCommand.js +39 -0
- package/dist-es/commands/ListResourcesAssociatedToCustomLineItemCommand.js +39 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
- package/dist-es/commands/TagResourceCommand.js +39 -0
- package/dist-es/commands/UntagResourceCommand.js +39 -0
- package/dist-es/commands/UpdateBillingGroupCommand.js +39 -0
- package/dist-es/commands/UpdateCustomLineItemCommand.js +39 -0
- package/dist-es/commands/UpdatePricingPlanCommand.js +39 -0
- package/dist-es/commands/UpdatePricingRuleCommand.js +39 -0
- package/dist-es/commands/index.js +30 -0
- package/dist-es/endpoints.js +127 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/BillingconductorServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +560 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAccountAssociationsPaginator.js +73 -0
- package/dist-es/pagination/ListBillingGroupCostReportsPaginator.js +74 -0
- package/dist-es/pagination/ListBillingGroupsPaginator.js +74 -0
- package/dist-es/pagination/ListCustomLineItemsPaginator.js +74 -0
- package/dist-es/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.js +74 -0
- package/dist-es/pagination/ListPricingPlansPaginator.js +74 -0
- package/dist-es/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.js +74 -0
- package/dist-es/pagination/ListPricingRulesPaginator.js +74 -0
- package/dist-es/pagination/ListResourcesAssociatedToCustomLineItemPaginator.js +74 -0
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +3850 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +28 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/Billingconductor.d.ts +283 -0
- package/dist-types/BillingconductorClient.d.ts +186 -0
- package/dist-types/commands/AssociateAccountsCommand.d.ts +38 -0
- package/dist-types/commands/AssociatePricingRulesCommand.d.ts +36 -0
- package/dist-types/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +37 -0
- package/dist-types/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +37 -0
- package/dist-types/commands/CreateBillingGroupCommand.d.ts +37 -0
- package/dist-types/commands/CreateCustomLineItemCommand.d.ts +37 -0
- package/dist-types/commands/CreatePricingPlanCommand.d.ts +36 -0
- package/dist-types/commands/CreatePricingRuleCommand.d.ts +37 -0
- package/dist-types/commands/DeleteBillingGroupCommand.d.ts +37 -0
- package/dist-types/commands/DeleteCustomLineItemCommand.d.ts +37 -0
- package/dist-types/commands/DeletePricingPlanCommand.d.ts +36 -0
- package/dist-types/commands/DeletePricingRuleCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateAccountsCommand.d.ts +35 -0
- package/dist-types/commands/DisassociatePricingRulesCommand.d.ts +37 -0
- package/dist-types/commands/ListAccountAssociationsCommand.d.ts +43 -0
- package/dist-types/commands/ListBillingGroupCostReportsCommand.d.ts +36 -0
- package/dist-types/commands/ListBillingGroupsCommand.d.ts +35 -0
- package/dist-types/commands/ListCustomLineItemsCommand.d.ts +37 -0
- package/dist-types/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +37 -0
- package/dist-types/commands/ListPricingPlansCommand.d.ts +36 -0
- package/dist-types/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +37 -0
- package/dist-types/commands/ListPricingRulesCommand.d.ts +37 -0
- package/dist-types/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/TagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UpdateBillingGroupCommand.d.ts +36 -0
- package/dist-types/commands/UpdateCustomLineItemCommand.d.ts +37 -0
- package/dist-types/commands/UpdatePricingPlanCommand.d.ts +36 -0
- package/dist-types/commands/UpdatePricingRuleCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +30 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/BillingconductorServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2576 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAccountAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListBillingGroupCostReportsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListBillingGroupsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListCustomLineItemsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.d.ts +4 -0
- package/dist-types/pagination/ListPricingPlansPaginator.d.ts +4 -0
- package/dist-types/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.d.ts +4 -0
- package/dist-types/pagination/ListPricingRulesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListResourcesAssociatedToCustomLineItemPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/Billingconductor.d.ts +155 -0
- package/dist-types/ts3.4/BillingconductorClient.d.ts +103 -0
- package/dist-types/ts3.4/commands/AssociateAccountsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/AssociatePricingRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchAssociateResourcesToCustomLineItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchDisassociateResourcesFromCustomLineItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateBillingGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCustomLineItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePricingPlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePricingRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteBillingGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCustomLineItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePricingPlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePricingRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateAccountsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociatePricingRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccountAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBillingGroupCostReportsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBillingGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCustomLineItemsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPricingPlansAssociatedWithPricingRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPricingPlansCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPricingRulesAssociatedToPricingPlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPricingRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResourcesAssociatedToCustomLineItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateBillingGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCustomLineItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePricingPlanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePricingRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +30 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/BillingconductorServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1266 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAccountAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListBillingGroupCostReportsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListBillingGroupsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListCustomLineItemsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPricingPlansAssociatedWithPricingRulePaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPricingPlansPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPricingRulesAssociatedToPricingPlanPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPricingRulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListResourcesAssociatedToCustomLineItemPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +92 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +95 -0
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
2
|
+
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { BillingconductorServiceException as __BaseException } from "./BillingconductorServiceException";
|
|
4
|
+
var AccessDeniedException = (function (_super) {
|
|
5
|
+
__extends(AccessDeniedException, _super);
|
|
6
|
+
function AccessDeniedException(opts) {
|
|
7
|
+
var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
|
|
8
|
+
_this.name = "AccessDeniedException";
|
|
9
|
+
_this.$fault = "client";
|
|
10
|
+
Object.setPrototypeOf(_this, AccessDeniedException.prototype);
|
|
11
|
+
_this.Message = opts.Message;
|
|
12
|
+
return _this;
|
|
13
|
+
}
|
|
14
|
+
return AccessDeniedException;
|
|
15
|
+
}(__BaseException));
|
|
16
|
+
export { AccessDeniedException };
|
|
17
|
+
export var AccountAssociationsListElement;
|
|
18
|
+
(function (AccountAssociationsListElement) {
|
|
19
|
+
AccountAssociationsListElement.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.AccountName && { AccountName: SENSITIVE_STRING })), (obj.AccountEmail && { AccountEmail: SENSITIVE_STRING }))); };
|
|
20
|
+
})(AccountAssociationsListElement || (AccountAssociationsListElement = {}));
|
|
21
|
+
export var AccountGrouping;
|
|
22
|
+
(function (AccountGrouping) {
|
|
23
|
+
AccountGrouping.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
24
|
+
})(AccountGrouping || (AccountGrouping = {}));
|
|
25
|
+
export var AssociateAccountsInput;
|
|
26
|
+
(function (AssociateAccountsInput) {
|
|
27
|
+
AssociateAccountsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
28
|
+
})(AssociateAccountsInput || (AssociateAccountsInput = {}));
|
|
29
|
+
export var AssociateAccountsOutput;
|
|
30
|
+
(function (AssociateAccountsOutput) {
|
|
31
|
+
AssociateAccountsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
32
|
+
})(AssociateAccountsOutput || (AssociateAccountsOutput = {}));
|
|
33
|
+
var ConflictException = (function (_super) {
|
|
34
|
+
__extends(ConflictException, _super);
|
|
35
|
+
function ConflictException(opts) {
|
|
36
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
37
|
+
_this.name = "ConflictException";
|
|
38
|
+
_this.$fault = "client";
|
|
39
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
40
|
+
_this.Message = opts.Message;
|
|
41
|
+
_this.ResourceId = opts.ResourceId;
|
|
42
|
+
_this.ResourceType = opts.ResourceType;
|
|
43
|
+
return _this;
|
|
44
|
+
}
|
|
45
|
+
return ConflictException;
|
|
46
|
+
}(__BaseException));
|
|
47
|
+
export { ConflictException };
|
|
48
|
+
var InternalServerException = (function (_super) {
|
|
49
|
+
__extends(InternalServerException, _super);
|
|
50
|
+
function InternalServerException(opts) {
|
|
51
|
+
var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
|
|
52
|
+
_this.name = "InternalServerException";
|
|
53
|
+
_this.$fault = "server";
|
|
54
|
+
Object.setPrototypeOf(_this, InternalServerException.prototype);
|
|
55
|
+
_this.Message = opts.Message;
|
|
56
|
+
_this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
57
|
+
return _this;
|
|
58
|
+
}
|
|
59
|
+
return InternalServerException;
|
|
60
|
+
}(__BaseException));
|
|
61
|
+
export { InternalServerException };
|
|
62
|
+
var ResourceNotFoundException = (function (_super) {
|
|
63
|
+
__extends(ResourceNotFoundException, _super);
|
|
64
|
+
function ResourceNotFoundException(opts) {
|
|
65
|
+
var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
|
|
66
|
+
_this.name = "ResourceNotFoundException";
|
|
67
|
+
_this.$fault = "client";
|
|
68
|
+
Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
|
|
69
|
+
_this.Message = opts.Message;
|
|
70
|
+
_this.ResourceId = opts.ResourceId;
|
|
71
|
+
_this.ResourceType = opts.ResourceType;
|
|
72
|
+
return _this;
|
|
73
|
+
}
|
|
74
|
+
return ResourceNotFoundException;
|
|
75
|
+
}(__BaseException));
|
|
76
|
+
export { ResourceNotFoundException };
|
|
77
|
+
var ServiceLimitExceededException = (function (_super) {
|
|
78
|
+
__extends(ServiceLimitExceededException, _super);
|
|
79
|
+
function ServiceLimitExceededException(opts) {
|
|
80
|
+
var _this = _super.call(this, __assign({ name: "ServiceLimitExceededException", $fault: "client" }, opts)) || this;
|
|
81
|
+
_this.name = "ServiceLimitExceededException";
|
|
82
|
+
_this.$fault = "client";
|
|
83
|
+
Object.setPrototypeOf(_this, ServiceLimitExceededException.prototype);
|
|
84
|
+
_this.Message = opts.Message;
|
|
85
|
+
_this.ResourceId = opts.ResourceId;
|
|
86
|
+
_this.ResourceType = opts.ResourceType;
|
|
87
|
+
_this.LimitCode = opts.LimitCode;
|
|
88
|
+
_this.ServiceCode = opts.ServiceCode;
|
|
89
|
+
return _this;
|
|
90
|
+
}
|
|
91
|
+
return ServiceLimitExceededException;
|
|
92
|
+
}(__BaseException));
|
|
93
|
+
export { ServiceLimitExceededException };
|
|
94
|
+
var ThrottlingException = (function (_super) {
|
|
95
|
+
__extends(ThrottlingException, _super);
|
|
96
|
+
function ThrottlingException(opts) {
|
|
97
|
+
var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
|
|
98
|
+
_this.name = "ThrottlingException";
|
|
99
|
+
_this.$fault = "client";
|
|
100
|
+
Object.setPrototypeOf(_this, ThrottlingException.prototype);
|
|
101
|
+
_this.Message = opts.Message;
|
|
102
|
+
_this.RetryAfterSeconds = opts.RetryAfterSeconds;
|
|
103
|
+
return _this;
|
|
104
|
+
}
|
|
105
|
+
return ThrottlingException;
|
|
106
|
+
}(__BaseException));
|
|
107
|
+
export { ThrottlingException };
|
|
108
|
+
export var ValidationExceptionField;
|
|
109
|
+
(function (ValidationExceptionField) {
|
|
110
|
+
ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
111
|
+
})(ValidationExceptionField || (ValidationExceptionField = {}));
|
|
112
|
+
export var ValidationExceptionReason;
|
|
113
|
+
(function (ValidationExceptionReason) {
|
|
114
|
+
ValidationExceptionReason["ACCOUNTS_ALREADY_ASSOCIATED"] = "ACCOUNTS_ALREADY_ASSOCIATED";
|
|
115
|
+
ValidationExceptionReason["ACCOUNTS_NOT_ASSOCIATED"] = "ACCOUNTS_NOT_ASSOCIATED";
|
|
116
|
+
ValidationExceptionReason["CANNOT_PARSE"] = "CANNOT_PARSE";
|
|
117
|
+
ValidationExceptionReason["DUPLICATE_ACCOUNT"] = "DUPLICATE_ACCOUNT";
|
|
118
|
+
ValidationExceptionReason["DUPLICATE_PRICINGRULE_ARNS"] = "DUPLICATE_PRICINGRULE_ARNS";
|
|
119
|
+
ValidationExceptionReason["FIELD_VALIDATION_FAILED"] = "FIELD_VALIDATION_FAILED";
|
|
120
|
+
ValidationExceptionReason["ILLEGAL_ACCOUNTS"] = "ILLEGAL_ACCOUNTS";
|
|
121
|
+
ValidationExceptionReason["ILLEGAL_BILLING_PERIOD"] = "ILLEGAL_BILLING_PERIOD";
|
|
122
|
+
ValidationExceptionReason["ILLEGAL_BILLING_PERIOD_RANGE"] = "ILLEGAL_BILLING_PERIOD_RANGE";
|
|
123
|
+
ValidationExceptionReason["ILLEGAL_CHARGE_DETAILS"] = "ILLEGAL_CHARGE_DETAILS";
|
|
124
|
+
ValidationExceptionReason["ILLEGAL_CUSTOMLINEITEM"] = "ILLEGAL_CUSTOMLINEITEM";
|
|
125
|
+
ValidationExceptionReason["ILLEGAL_CUSTOMLINEITEM_MODIFICATION"] = "ILLEGAL_CUSTOMLINEITEM_MODIFICATION";
|
|
126
|
+
ValidationExceptionReason["ILLEGAL_CUSTOMLINEITEM_UPDATE"] = "ILLEGAL_CUSTOMLINEITEM_UPDATE";
|
|
127
|
+
ValidationExceptionReason["ILLEGAL_EXPRESSION"] = "ILLEGAL_EXPRESSION";
|
|
128
|
+
ValidationExceptionReason["ILLEGAL_PRIMARY_ACCOUNT"] = "ILLEGAL_PRIMARY_ACCOUNT";
|
|
129
|
+
ValidationExceptionReason["ILLEGAL_RESOURCE_ARNS"] = "ILLEGAL_RESOURCE_ARNS";
|
|
130
|
+
ValidationExceptionReason["ILLEGAL_SCOPE"] = "ILLEGAL_SCOPE";
|
|
131
|
+
ValidationExceptionReason["ILLEGAL_SERVICE"] = "ILLEGAL_SERVICE";
|
|
132
|
+
ValidationExceptionReason["ILLEGAL_UPDATE_CHARGE_DETAILS"] = "ILLEGAL_UPDATE_CHARGE_DETAILS";
|
|
133
|
+
ValidationExceptionReason["INVALID_ARN"] = "INVALID_ARN";
|
|
134
|
+
ValidationExceptionReason["INVALID_BILLINGVIEW_ARN"] = "INVALID_BILLINGVIEW_ARN";
|
|
135
|
+
ValidationExceptionReason["INVALID_BILLING_GROUP_STATUS"] = "INVALID_BILLING_GROUP_STATUS";
|
|
136
|
+
ValidationExceptionReason["INVALID_TIME_RANGE"] = "INVALID_TIME_RANGE";
|
|
137
|
+
ValidationExceptionReason["MISMATCHED_BILLINGGROUP_ARN"] = "MISMATCHED_BILLINGGROUP_ARN";
|
|
138
|
+
ValidationExceptionReason["MISMATCHED_BILLINGVIEW_ARN"] = "MISMATCHED_BILLINGVIEW_ARN";
|
|
139
|
+
ValidationExceptionReason["MISMATCHED_CUSTOMLINEITEM_ARN"] = "MISMATCHED_CUSTOMLINEITEM_ARN";
|
|
140
|
+
ValidationExceptionReason["MISMATCHED_PRICINGPLAN_ARN"] = "MISMATCHED_PRICINGPLAN_ARN";
|
|
141
|
+
ValidationExceptionReason["MISMATCHED_PRICINGRULE_ARN"] = "MISMATCHED_PRICINGRULE_ARN";
|
|
142
|
+
ValidationExceptionReason["MISSING_BILLINGGROUP"] = "MISSING_BILLINGGROUP";
|
|
143
|
+
ValidationExceptionReason["MISSING_CUSTOMLINEITEM"] = "MISSING_CUSTOMLINEITEM";
|
|
144
|
+
ValidationExceptionReason["MISSING_LINKED_ACCOUNT_IDS"] = "MISSING_LINKED_ACCOUNT_IDS";
|
|
145
|
+
ValidationExceptionReason["MISSING_PRICINGPLAN"] = "MISSING_PRICINGPLAN";
|
|
146
|
+
ValidationExceptionReason["MISSING_PRICING_PLAN_ARN"] = "MISSING_PRICING_PLAN_ARN";
|
|
147
|
+
ValidationExceptionReason["MULTIPLE_LINKED_ACCOUNT_IDS"] = "MULTIPLE_LINKED_ACCOUNT_IDS";
|
|
148
|
+
ValidationExceptionReason["MULTIPLE_PRICING_PLAN_ARN"] = "MULTIPLE_PRICING_PLAN_ARN";
|
|
149
|
+
ValidationExceptionReason["OTHER"] = "OTHER";
|
|
150
|
+
ValidationExceptionReason["PRICINGRULES_ALREADY_ASSOCIATED"] = "PRICINGRULES_ALREADY_ASSOCIATED";
|
|
151
|
+
ValidationExceptionReason["PRICINGRULES_NOT_ASSOCIATED"] = "PRICINGRULES_NOT_ASSOCIATED";
|
|
152
|
+
ValidationExceptionReason["PRICINGRULES_NOT_EXIST"] = "PRICINGRULES_NOT_EXIST";
|
|
153
|
+
ValidationExceptionReason["PRIMARY_CANNOT_DISASSOCIATE"] = "PRIMARY_CANNOT_DISASSOCIATE";
|
|
154
|
+
ValidationExceptionReason["PRIMARY_NOT_ASSOCIATED"] = "PRIMARY_NOT_ASSOCIATED";
|
|
155
|
+
ValidationExceptionReason["TOO_MANY_ACCOUNTS_IN_REQUEST"] = "TOO_MANY_ACCOUNTS_IN_REQUEST";
|
|
156
|
+
ValidationExceptionReason["TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST"] = "TOO_MANY_CUSTOMLINEITEMS_IN_REQUEST";
|
|
157
|
+
ValidationExceptionReason["UNKNOWN_OPERATION"] = "UNKNOWN_OPERATION";
|
|
158
|
+
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
159
|
+
var ValidationException = (function (_super) {
|
|
160
|
+
__extends(ValidationException, _super);
|
|
161
|
+
function ValidationException(opts) {
|
|
162
|
+
var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
|
|
163
|
+
_this.name = "ValidationException";
|
|
164
|
+
_this.$fault = "client";
|
|
165
|
+
Object.setPrototypeOf(_this, ValidationException.prototype);
|
|
166
|
+
_this.Message = opts.Message;
|
|
167
|
+
_this.Reason = opts.Reason;
|
|
168
|
+
_this.Fields = opts.Fields;
|
|
169
|
+
return _this;
|
|
170
|
+
}
|
|
171
|
+
return ValidationException;
|
|
172
|
+
}(__BaseException));
|
|
173
|
+
export { ValidationException };
|
|
174
|
+
export var AssociatePricingRulesInput;
|
|
175
|
+
(function (AssociatePricingRulesInput) {
|
|
176
|
+
AssociatePricingRulesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
177
|
+
})(AssociatePricingRulesInput || (AssociatePricingRulesInput = {}));
|
|
178
|
+
export var AssociatePricingRulesOutput;
|
|
179
|
+
(function (AssociatePricingRulesOutput) {
|
|
180
|
+
AssociatePricingRulesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
+
})(AssociatePricingRulesOutput || (AssociatePricingRulesOutput = {}));
|
|
182
|
+
export var AssociateResourceErrorReason;
|
|
183
|
+
(function (AssociateResourceErrorReason) {
|
|
184
|
+
AssociateResourceErrorReason["ILLEGAL_CUSTOMLINEITEM"] = "ILLEGAL_CUSTOMLINEITEM";
|
|
185
|
+
AssociateResourceErrorReason["INTERNAL_SERVER_EXCEPTION"] = "INTERNAL_SERVER_EXCEPTION";
|
|
186
|
+
AssociateResourceErrorReason["INVALID_ARN"] = "INVALID_ARN";
|
|
187
|
+
AssociateResourceErrorReason["SERVICE_LIMIT_EXCEEDED"] = "SERVICE_LIMIT_EXCEEDED";
|
|
188
|
+
})(AssociateResourceErrorReason || (AssociateResourceErrorReason = {}));
|
|
189
|
+
export var AssociateResourceError;
|
|
190
|
+
(function (AssociateResourceError) {
|
|
191
|
+
AssociateResourceError.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
|
+
})(AssociateResourceError || (AssociateResourceError = {}));
|
|
193
|
+
export var AssociateResourceResponseElement;
|
|
194
|
+
(function (AssociateResourceResponseElement) {
|
|
195
|
+
AssociateResourceResponseElement.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
+
})(AssociateResourceResponseElement || (AssociateResourceResponseElement = {}));
|
|
197
|
+
export var ComputationPreference;
|
|
198
|
+
(function (ComputationPreference) {
|
|
199
|
+
ComputationPreference.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
200
|
+
})(ComputationPreference || (ComputationPreference = {}));
|
|
201
|
+
export var CreateBillingGroupInput;
|
|
202
|
+
(function (CreateBillingGroupInput) {
|
|
203
|
+
CreateBillingGroupInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
204
|
+
})(CreateBillingGroupInput || (CreateBillingGroupInput = {}));
|
|
205
|
+
export var CreateBillingGroupOutput;
|
|
206
|
+
(function (CreateBillingGroupOutput) {
|
|
207
|
+
CreateBillingGroupOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
208
|
+
})(CreateBillingGroupOutput || (CreateBillingGroupOutput = {}));
|
|
209
|
+
export var DeleteBillingGroupInput;
|
|
210
|
+
(function (DeleteBillingGroupInput) {
|
|
211
|
+
DeleteBillingGroupInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
|
+
})(DeleteBillingGroupInput || (DeleteBillingGroupInput = {}));
|
|
213
|
+
export var DeleteBillingGroupOutput;
|
|
214
|
+
(function (DeleteBillingGroupOutput) {
|
|
215
|
+
DeleteBillingGroupOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
+
})(DeleteBillingGroupOutput || (DeleteBillingGroupOutput = {}));
|
|
217
|
+
export var DisassociateAccountsInput;
|
|
218
|
+
(function (DisassociateAccountsInput) {
|
|
219
|
+
DisassociateAccountsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
|
+
})(DisassociateAccountsInput || (DisassociateAccountsInput = {}));
|
|
221
|
+
export var DisassociateAccountsOutput;
|
|
222
|
+
(function (DisassociateAccountsOutput) {
|
|
223
|
+
DisassociateAccountsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
+
})(DisassociateAccountsOutput || (DisassociateAccountsOutput = {}));
|
|
225
|
+
export var ListBillingGroupsFilter;
|
|
226
|
+
(function (ListBillingGroupsFilter) {
|
|
227
|
+
ListBillingGroupsFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
228
|
+
})(ListBillingGroupsFilter || (ListBillingGroupsFilter = {}));
|
|
229
|
+
export var ListBillingGroupsInput;
|
|
230
|
+
(function (ListBillingGroupsInput) {
|
|
231
|
+
ListBillingGroupsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
232
|
+
})(ListBillingGroupsInput || (ListBillingGroupsInput = {}));
|
|
233
|
+
export var BillingGroupStatus;
|
|
234
|
+
(function (BillingGroupStatus) {
|
|
235
|
+
BillingGroupStatus["ACTIVE"] = "ACTIVE";
|
|
236
|
+
BillingGroupStatus["PRIMARY_ACCOUNT_MISSING"] = "PRIMARY_ACCOUNT_MISSING";
|
|
237
|
+
})(BillingGroupStatus || (BillingGroupStatus = {}));
|
|
238
|
+
export var BillingGroupListElement;
|
|
239
|
+
(function (BillingGroupListElement) {
|
|
240
|
+
BillingGroupListElement.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
241
|
+
})(BillingGroupListElement || (BillingGroupListElement = {}));
|
|
242
|
+
export var ListBillingGroupsOutput;
|
|
243
|
+
(function (ListBillingGroupsOutput) {
|
|
244
|
+
ListBillingGroupsOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.BillingGroups && {
|
|
245
|
+
BillingGroups: obj.BillingGroups.map(function (item) { return BillingGroupListElement.filterSensitiveLog(item); }),
|
|
246
|
+
}))); };
|
|
247
|
+
})(ListBillingGroupsOutput || (ListBillingGroupsOutput = {}));
|
|
248
|
+
export var UpdateBillingGroupInput;
|
|
249
|
+
(function (UpdateBillingGroupInput) {
|
|
250
|
+
UpdateBillingGroupInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
251
|
+
})(UpdateBillingGroupInput || (UpdateBillingGroupInput = {}));
|
|
252
|
+
export var UpdateBillingGroupOutput;
|
|
253
|
+
(function (UpdateBillingGroupOutput) {
|
|
254
|
+
UpdateBillingGroupOutput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
255
|
+
})(UpdateBillingGroupOutput || (UpdateBillingGroupOutput = {}));
|
|
256
|
+
export var CustomLineItemBillingPeriodRange;
|
|
257
|
+
(function (CustomLineItemBillingPeriodRange) {
|
|
258
|
+
CustomLineItemBillingPeriodRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
259
|
+
})(CustomLineItemBillingPeriodRange || (CustomLineItemBillingPeriodRange = {}));
|
|
260
|
+
export var BatchAssociateResourcesToCustomLineItemInput;
|
|
261
|
+
(function (BatchAssociateResourcesToCustomLineItemInput) {
|
|
262
|
+
BatchAssociateResourcesToCustomLineItemInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
263
|
+
})(BatchAssociateResourcesToCustomLineItemInput || (BatchAssociateResourcesToCustomLineItemInput = {}));
|
|
264
|
+
export var BatchAssociateResourcesToCustomLineItemOutput;
|
|
265
|
+
(function (BatchAssociateResourcesToCustomLineItemOutput) {
|
|
266
|
+
BatchAssociateResourcesToCustomLineItemOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
267
|
+
})(BatchAssociateResourcesToCustomLineItemOutput || (BatchAssociateResourcesToCustomLineItemOutput = {}));
|
|
268
|
+
export var BatchDisassociateResourcesFromCustomLineItemInput;
|
|
269
|
+
(function (BatchDisassociateResourcesFromCustomLineItemInput) {
|
|
270
|
+
BatchDisassociateResourcesFromCustomLineItemInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
271
|
+
})(BatchDisassociateResourcesFromCustomLineItemInput || (BatchDisassociateResourcesFromCustomLineItemInput = {}));
|
|
272
|
+
export var DisassociateResourceResponseElement;
|
|
273
|
+
(function (DisassociateResourceResponseElement) {
|
|
274
|
+
DisassociateResourceResponseElement.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
275
|
+
})(DisassociateResourceResponseElement || (DisassociateResourceResponseElement = {}));
|
|
276
|
+
export var BatchDisassociateResourcesFromCustomLineItemOutput;
|
|
277
|
+
(function (BatchDisassociateResourcesFromCustomLineItemOutput) {
|
|
278
|
+
BatchDisassociateResourcesFromCustomLineItemOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
279
|
+
})(BatchDisassociateResourcesFromCustomLineItemOutput || (BatchDisassociateResourcesFromCustomLineItemOutput = {}));
|
|
280
|
+
export var CustomLineItemFlatChargeDetails;
|
|
281
|
+
(function (CustomLineItemFlatChargeDetails) {
|
|
282
|
+
CustomLineItemFlatChargeDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
283
|
+
})(CustomLineItemFlatChargeDetails || (CustomLineItemFlatChargeDetails = {}));
|
|
284
|
+
export var CustomLineItemPercentageChargeDetails;
|
|
285
|
+
(function (CustomLineItemPercentageChargeDetails) {
|
|
286
|
+
CustomLineItemPercentageChargeDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
287
|
+
})(CustomLineItemPercentageChargeDetails || (CustomLineItemPercentageChargeDetails = {}));
|
|
288
|
+
export var CustomLineItemType;
|
|
289
|
+
(function (CustomLineItemType) {
|
|
290
|
+
CustomLineItemType["CREDIT"] = "CREDIT";
|
|
291
|
+
CustomLineItemType["FEE"] = "FEE";
|
|
292
|
+
})(CustomLineItemType || (CustomLineItemType = {}));
|
|
293
|
+
export var CustomLineItemChargeDetails;
|
|
294
|
+
(function (CustomLineItemChargeDetails) {
|
|
295
|
+
CustomLineItemChargeDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
296
|
+
})(CustomLineItemChargeDetails || (CustomLineItemChargeDetails = {}));
|
|
297
|
+
export var CreateCustomLineItemInput;
|
|
298
|
+
(function (CreateCustomLineItemInput) {
|
|
299
|
+
CreateCustomLineItemInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
300
|
+
})(CreateCustomLineItemInput || (CreateCustomLineItemInput = {}));
|
|
301
|
+
export var CreateCustomLineItemOutput;
|
|
302
|
+
(function (CreateCustomLineItemOutput) {
|
|
303
|
+
CreateCustomLineItemOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
304
|
+
})(CreateCustomLineItemOutput || (CreateCustomLineItemOutput = {}));
|
|
305
|
+
export var DeleteCustomLineItemInput;
|
|
306
|
+
(function (DeleteCustomLineItemInput) {
|
|
307
|
+
DeleteCustomLineItemInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
308
|
+
})(DeleteCustomLineItemInput || (DeleteCustomLineItemInput = {}));
|
|
309
|
+
export var DeleteCustomLineItemOutput;
|
|
310
|
+
(function (DeleteCustomLineItemOutput) {
|
|
311
|
+
DeleteCustomLineItemOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
312
|
+
})(DeleteCustomLineItemOutput || (DeleteCustomLineItemOutput = {}));
|
|
313
|
+
export var ListCustomLineItemsFilter;
|
|
314
|
+
(function (ListCustomLineItemsFilter) {
|
|
315
|
+
ListCustomLineItemsFilter.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Names && { Names: SENSITIVE_STRING }))); };
|
|
316
|
+
})(ListCustomLineItemsFilter || (ListCustomLineItemsFilter = {}));
|
|
317
|
+
export var ListCustomLineItemsInput;
|
|
318
|
+
(function (ListCustomLineItemsInput) {
|
|
319
|
+
ListCustomLineItemsInput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Filters && { Filters: ListCustomLineItemsFilter.filterSensitiveLog(obj.Filters) }))); };
|
|
320
|
+
})(ListCustomLineItemsInput || (ListCustomLineItemsInput = {}));
|
|
321
|
+
export var ListCustomLineItemFlatChargeDetails;
|
|
322
|
+
(function (ListCustomLineItemFlatChargeDetails) {
|
|
323
|
+
ListCustomLineItemFlatChargeDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
324
|
+
})(ListCustomLineItemFlatChargeDetails || (ListCustomLineItemFlatChargeDetails = {}));
|
|
325
|
+
export var ListCustomLineItemPercentageChargeDetails;
|
|
326
|
+
(function (ListCustomLineItemPercentageChargeDetails) {
|
|
327
|
+
ListCustomLineItemPercentageChargeDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
328
|
+
})(ListCustomLineItemPercentageChargeDetails || (ListCustomLineItemPercentageChargeDetails = {}));
|
|
329
|
+
export var ListCustomLineItemChargeDetails;
|
|
330
|
+
(function (ListCustomLineItemChargeDetails) {
|
|
331
|
+
ListCustomLineItemChargeDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
332
|
+
})(ListCustomLineItemChargeDetails || (ListCustomLineItemChargeDetails = {}));
|
|
333
|
+
export var CurrencyCode;
|
|
334
|
+
(function (CurrencyCode) {
|
|
335
|
+
CurrencyCode["CNY"] = "CNY";
|
|
336
|
+
CurrencyCode["USD"] = "USD";
|
|
337
|
+
})(CurrencyCode || (CurrencyCode = {}));
|
|
338
|
+
export var CustomLineItemListElement;
|
|
339
|
+
(function (CustomLineItemListElement) {
|
|
340
|
+
CustomLineItemListElement.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
341
|
+
})(CustomLineItemListElement || (CustomLineItemListElement = {}));
|
|
342
|
+
export var ListCustomLineItemsOutput;
|
|
343
|
+
(function (ListCustomLineItemsOutput) {
|
|
344
|
+
ListCustomLineItemsOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.CustomLineItems && {
|
|
345
|
+
CustomLineItems: obj.CustomLineItems.map(function (item) { return CustomLineItemListElement.filterSensitiveLog(item); }),
|
|
346
|
+
}))); };
|
|
347
|
+
})(ListCustomLineItemsOutput || (ListCustomLineItemsOutput = {}));
|
|
348
|
+
export var CustomLineItemRelationship;
|
|
349
|
+
(function (CustomLineItemRelationship) {
|
|
350
|
+
CustomLineItemRelationship["CHILD"] = "CHILD";
|
|
351
|
+
CustomLineItemRelationship["PARENT"] = "PARENT";
|
|
352
|
+
})(CustomLineItemRelationship || (CustomLineItemRelationship = {}));
|
|
353
|
+
export var ListResourcesAssociatedToCustomLineItemFilter;
|
|
354
|
+
(function (ListResourcesAssociatedToCustomLineItemFilter) {
|
|
355
|
+
ListResourcesAssociatedToCustomLineItemFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
356
|
+
})(ListResourcesAssociatedToCustomLineItemFilter || (ListResourcesAssociatedToCustomLineItemFilter = {}));
|
|
357
|
+
export var ListResourcesAssociatedToCustomLineItemInput;
|
|
358
|
+
(function (ListResourcesAssociatedToCustomLineItemInput) {
|
|
359
|
+
ListResourcesAssociatedToCustomLineItemInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
360
|
+
})(ListResourcesAssociatedToCustomLineItemInput || (ListResourcesAssociatedToCustomLineItemInput = {}));
|
|
361
|
+
export var ListResourcesAssociatedToCustomLineItemResponseElement;
|
|
362
|
+
(function (ListResourcesAssociatedToCustomLineItemResponseElement) {
|
|
363
|
+
ListResourcesAssociatedToCustomLineItemResponseElement.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
364
|
+
})(ListResourcesAssociatedToCustomLineItemResponseElement || (ListResourcesAssociatedToCustomLineItemResponseElement = {}));
|
|
365
|
+
export var ListResourcesAssociatedToCustomLineItemOutput;
|
|
366
|
+
(function (ListResourcesAssociatedToCustomLineItemOutput) {
|
|
367
|
+
ListResourcesAssociatedToCustomLineItemOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
368
|
+
})(ListResourcesAssociatedToCustomLineItemOutput || (ListResourcesAssociatedToCustomLineItemOutput = {}));
|
|
369
|
+
export var UpdateCustomLineItemFlatChargeDetails;
|
|
370
|
+
(function (UpdateCustomLineItemFlatChargeDetails) {
|
|
371
|
+
UpdateCustomLineItemFlatChargeDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
372
|
+
})(UpdateCustomLineItemFlatChargeDetails || (UpdateCustomLineItemFlatChargeDetails = {}));
|
|
373
|
+
export var UpdateCustomLineItemPercentageChargeDetails;
|
|
374
|
+
(function (UpdateCustomLineItemPercentageChargeDetails) {
|
|
375
|
+
UpdateCustomLineItemPercentageChargeDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
376
|
+
})(UpdateCustomLineItemPercentageChargeDetails || (UpdateCustomLineItemPercentageChargeDetails = {}));
|
|
377
|
+
export var UpdateCustomLineItemChargeDetails;
|
|
378
|
+
(function (UpdateCustomLineItemChargeDetails) {
|
|
379
|
+
UpdateCustomLineItemChargeDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
380
|
+
})(UpdateCustomLineItemChargeDetails || (UpdateCustomLineItemChargeDetails = {}));
|
|
381
|
+
export var UpdateCustomLineItemInput;
|
|
382
|
+
(function (UpdateCustomLineItemInput) {
|
|
383
|
+
UpdateCustomLineItemInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
384
|
+
})(UpdateCustomLineItemInput || (UpdateCustomLineItemInput = {}));
|
|
385
|
+
export var UpdateCustomLineItemOutput;
|
|
386
|
+
(function (UpdateCustomLineItemOutput) {
|
|
387
|
+
UpdateCustomLineItemOutput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
388
|
+
})(UpdateCustomLineItemOutput || (UpdateCustomLineItemOutput = {}));
|
|
389
|
+
export var ListAccountAssociationsFilter;
|
|
390
|
+
(function (ListAccountAssociationsFilter) {
|
|
391
|
+
ListAccountAssociationsFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
392
|
+
})(ListAccountAssociationsFilter || (ListAccountAssociationsFilter = {}));
|
|
393
|
+
export var ListAccountAssociationsInput;
|
|
394
|
+
(function (ListAccountAssociationsInput) {
|
|
395
|
+
ListAccountAssociationsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
396
|
+
})(ListAccountAssociationsInput || (ListAccountAssociationsInput = {}));
|
|
397
|
+
export var ListAccountAssociationsOutput;
|
|
398
|
+
(function (ListAccountAssociationsOutput) {
|
|
399
|
+
ListAccountAssociationsOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.LinkedAccounts && {
|
|
400
|
+
LinkedAccounts: obj.LinkedAccounts.map(function (item) { return AccountAssociationsListElement.filterSensitiveLog(item); }),
|
|
401
|
+
}))); };
|
|
402
|
+
})(ListAccountAssociationsOutput || (ListAccountAssociationsOutput = {}));
|
|
403
|
+
export var ListBillingGroupCostReportsFilter;
|
|
404
|
+
(function (ListBillingGroupCostReportsFilter) {
|
|
405
|
+
ListBillingGroupCostReportsFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
406
|
+
})(ListBillingGroupCostReportsFilter || (ListBillingGroupCostReportsFilter = {}));
|
|
407
|
+
export var ListBillingGroupCostReportsInput;
|
|
408
|
+
(function (ListBillingGroupCostReportsInput) {
|
|
409
|
+
ListBillingGroupCostReportsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
410
|
+
})(ListBillingGroupCostReportsInput || (ListBillingGroupCostReportsInput = {}));
|
|
411
|
+
export var BillingGroupCostReportElement;
|
|
412
|
+
(function (BillingGroupCostReportElement) {
|
|
413
|
+
BillingGroupCostReportElement.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
414
|
+
})(BillingGroupCostReportElement || (BillingGroupCostReportElement = {}));
|
|
415
|
+
export var ListBillingGroupCostReportsOutput;
|
|
416
|
+
(function (ListBillingGroupCostReportsOutput) {
|
|
417
|
+
ListBillingGroupCostReportsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
418
|
+
})(ListBillingGroupCostReportsOutput || (ListBillingGroupCostReportsOutput = {}));
|
|
419
|
+
export var ListTagsForResourceRequest;
|
|
420
|
+
(function (ListTagsForResourceRequest) {
|
|
421
|
+
ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
422
|
+
})(ListTagsForResourceRequest || (ListTagsForResourceRequest = {}));
|
|
423
|
+
export var ListTagsForResourceResponse;
|
|
424
|
+
(function (ListTagsForResourceResponse) {
|
|
425
|
+
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
426
|
+
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
427
|
+
export var CreatePricingPlanInput;
|
|
428
|
+
(function (CreatePricingPlanInput) {
|
|
429
|
+
CreatePricingPlanInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
430
|
+
})(CreatePricingPlanInput || (CreatePricingPlanInput = {}));
|
|
431
|
+
export var CreatePricingPlanOutput;
|
|
432
|
+
(function (CreatePricingPlanOutput) {
|
|
433
|
+
CreatePricingPlanOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
434
|
+
})(CreatePricingPlanOutput || (CreatePricingPlanOutput = {}));
|
|
435
|
+
export var DeletePricingPlanInput;
|
|
436
|
+
(function (DeletePricingPlanInput) {
|
|
437
|
+
DeletePricingPlanInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
438
|
+
})(DeletePricingPlanInput || (DeletePricingPlanInput = {}));
|
|
439
|
+
export var DeletePricingPlanOutput;
|
|
440
|
+
(function (DeletePricingPlanOutput) {
|
|
441
|
+
DeletePricingPlanOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
442
|
+
})(DeletePricingPlanOutput || (DeletePricingPlanOutput = {}));
|
|
443
|
+
export var DisassociatePricingRulesInput;
|
|
444
|
+
(function (DisassociatePricingRulesInput) {
|
|
445
|
+
DisassociatePricingRulesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
446
|
+
})(DisassociatePricingRulesInput || (DisassociatePricingRulesInput = {}));
|
|
447
|
+
export var DisassociatePricingRulesOutput;
|
|
448
|
+
(function (DisassociatePricingRulesOutput) {
|
|
449
|
+
DisassociatePricingRulesOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
450
|
+
})(DisassociatePricingRulesOutput || (DisassociatePricingRulesOutput = {}));
|
|
451
|
+
export var ListPricingPlansFilter;
|
|
452
|
+
(function (ListPricingPlansFilter) {
|
|
453
|
+
ListPricingPlansFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
454
|
+
})(ListPricingPlansFilter || (ListPricingPlansFilter = {}));
|
|
455
|
+
export var ListPricingPlansInput;
|
|
456
|
+
(function (ListPricingPlansInput) {
|
|
457
|
+
ListPricingPlansInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
458
|
+
})(ListPricingPlansInput || (ListPricingPlansInput = {}));
|
|
459
|
+
export var PricingPlanListElement;
|
|
460
|
+
(function (PricingPlanListElement) {
|
|
461
|
+
PricingPlanListElement.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
462
|
+
})(PricingPlanListElement || (PricingPlanListElement = {}));
|
|
463
|
+
export var ListPricingPlansOutput;
|
|
464
|
+
(function (ListPricingPlansOutput) {
|
|
465
|
+
ListPricingPlansOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.PricingPlans && {
|
|
466
|
+
PricingPlans: obj.PricingPlans.map(function (item) { return PricingPlanListElement.filterSensitiveLog(item); }),
|
|
467
|
+
}))); };
|
|
468
|
+
})(ListPricingPlansOutput || (ListPricingPlansOutput = {}));
|
|
469
|
+
export var ListPricingPlansAssociatedWithPricingRuleInput;
|
|
470
|
+
(function (ListPricingPlansAssociatedWithPricingRuleInput) {
|
|
471
|
+
ListPricingPlansAssociatedWithPricingRuleInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
472
|
+
})(ListPricingPlansAssociatedWithPricingRuleInput || (ListPricingPlansAssociatedWithPricingRuleInput = {}));
|
|
473
|
+
export var ListPricingPlansAssociatedWithPricingRuleOutput;
|
|
474
|
+
(function (ListPricingPlansAssociatedWithPricingRuleOutput) {
|
|
475
|
+
ListPricingPlansAssociatedWithPricingRuleOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
476
|
+
})(ListPricingPlansAssociatedWithPricingRuleOutput || (ListPricingPlansAssociatedWithPricingRuleOutput = {}));
|
|
477
|
+
export var UpdatePricingPlanInput;
|
|
478
|
+
(function (UpdatePricingPlanInput) {
|
|
479
|
+
UpdatePricingPlanInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
480
|
+
})(UpdatePricingPlanInput || (UpdatePricingPlanInput = {}));
|
|
481
|
+
export var UpdatePricingPlanOutput;
|
|
482
|
+
(function (UpdatePricingPlanOutput) {
|
|
483
|
+
UpdatePricingPlanOutput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
484
|
+
})(UpdatePricingPlanOutput || (UpdatePricingPlanOutput = {}));
|
|
485
|
+
export var PricingRuleScope;
|
|
486
|
+
(function (PricingRuleScope) {
|
|
487
|
+
PricingRuleScope["GLOBAL"] = "GLOBAL";
|
|
488
|
+
PricingRuleScope["SERVICE"] = "SERVICE";
|
|
489
|
+
})(PricingRuleScope || (PricingRuleScope = {}));
|
|
490
|
+
export var PricingRuleType;
|
|
491
|
+
(function (PricingRuleType) {
|
|
492
|
+
PricingRuleType["DISCOUNT"] = "DISCOUNT";
|
|
493
|
+
PricingRuleType["MARKUP"] = "MARKUP";
|
|
494
|
+
})(PricingRuleType || (PricingRuleType = {}));
|
|
495
|
+
export var CreatePricingRuleInput;
|
|
496
|
+
(function (CreatePricingRuleInput) {
|
|
497
|
+
CreatePricingRuleInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
498
|
+
})(CreatePricingRuleInput || (CreatePricingRuleInput = {}));
|
|
499
|
+
export var CreatePricingRuleOutput;
|
|
500
|
+
(function (CreatePricingRuleOutput) {
|
|
501
|
+
CreatePricingRuleOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
502
|
+
})(CreatePricingRuleOutput || (CreatePricingRuleOutput = {}));
|
|
503
|
+
export var DeletePricingRuleInput;
|
|
504
|
+
(function (DeletePricingRuleInput) {
|
|
505
|
+
DeletePricingRuleInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
506
|
+
})(DeletePricingRuleInput || (DeletePricingRuleInput = {}));
|
|
507
|
+
export var DeletePricingRuleOutput;
|
|
508
|
+
(function (DeletePricingRuleOutput) {
|
|
509
|
+
DeletePricingRuleOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
510
|
+
})(DeletePricingRuleOutput || (DeletePricingRuleOutput = {}));
|
|
511
|
+
export var ListPricingRulesFilter;
|
|
512
|
+
(function (ListPricingRulesFilter) {
|
|
513
|
+
ListPricingRulesFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
514
|
+
})(ListPricingRulesFilter || (ListPricingRulesFilter = {}));
|
|
515
|
+
export var ListPricingRulesInput;
|
|
516
|
+
(function (ListPricingRulesInput) {
|
|
517
|
+
ListPricingRulesInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
518
|
+
})(ListPricingRulesInput || (ListPricingRulesInput = {}));
|
|
519
|
+
export var PricingRuleListElement;
|
|
520
|
+
(function (PricingRuleListElement) {
|
|
521
|
+
PricingRuleListElement.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
522
|
+
})(PricingRuleListElement || (PricingRuleListElement = {}));
|
|
523
|
+
export var ListPricingRulesOutput;
|
|
524
|
+
(function (ListPricingRulesOutput) {
|
|
525
|
+
ListPricingRulesOutput.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.PricingRules && {
|
|
526
|
+
PricingRules: obj.PricingRules.map(function (item) { return PricingRuleListElement.filterSensitiveLog(item); }),
|
|
527
|
+
}))); };
|
|
528
|
+
})(ListPricingRulesOutput || (ListPricingRulesOutput = {}));
|
|
529
|
+
export var ListPricingRulesAssociatedToPricingPlanInput;
|
|
530
|
+
(function (ListPricingRulesAssociatedToPricingPlanInput) {
|
|
531
|
+
ListPricingRulesAssociatedToPricingPlanInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
532
|
+
})(ListPricingRulesAssociatedToPricingPlanInput || (ListPricingRulesAssociatedToPricingPlanInput = {}));
|
|
533
|
+
export var ListPricingRulesAssociatedToPricingPlanOutput;
|
|
534
|
+
(function (ListPricingRulesAssociatedToPricingPlanOutput) {
|
|
535
|
+
ListPricingRulesAssociatedToPricingPlanOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
536
|
+
})(ListPricingRulesAssociatedToPricingPlanOutput || (ListPricingRulesAssociatedToPricingPlanOutput = {}));
|
|
537
|
+
export var UpdatePricingRuleInput;
|
|
538
|
+
(function (UpdatePricingRuleInput) {
|
|
539
|
+
UpdatePricingRuleInput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
540
|
+
})(UpdatePricingRuleInput || (UpdatePricingRuleInput = {}));
|
|
541
|
+
export var UpdatePricingRuleOutput;
|
|
542
|
+
(function (UpdatePricingRuleOutput) {
|
|
543
|
+
UpdatePricingRuleOutput.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.Name && { Name: SENSITIVE_STRING })), (obj.Description && { Description: SENSITIVE_STRING }))); };
|
|
544
|
+
})(UpdatePricingRuleOutput || (UpdatePricingRuleOutput = {}));
|
|
545
|
+
export var TagResourceRequest;
|
|
546
|
+
(function (TagResourceRequest) {
|
|
547
|
+
TagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
548
|
+
})(TagResourceRequest || (TagResourceRequest = {}));
|
|
549
|
+
export var TagResourceResponse;
|
|
550
|
+
(function (TagResourceResponse) {
|
|
551
|
+
TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
552
|
+
})(TagResourceResponse || (TagResourceResponse = {}));
|
|
553
|
+
export var UntagResourceRequest;
|
|
554
|
+
(function (UntagResourceRequest) {
|
|
555
|
+
UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
556
|
+
})(UntagResourceRequest || (UntagResourceRequest = {}));
|
|
557
|
+
export var UntagResourceResponse;
|
|
558
|
+
(function (UntagResourceResponse) {
|
|
559
|
+
UntagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
560
|
+
})(UntagResourceResponse || (UntagResourceResponse = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { Billingconductor } from "../Billingconductor";
|
|
3
|
+
import { BillingconductorClient } from "../BillingconductorClient";
|
|
4
|
+
import { ListAccountAssociationsCommand, } from "../commands/ListAccountAssociationsCommand";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListAccountAssociationsCommand(input)], __read(args), false))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listAccountAssociations.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListAccountAssociations(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListAccountAssociations_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.NextToken = token;
|
|
49
|
+
if (!(config.client instanceof Billingconductor)) return [3, 3];
|
|
50
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
51
|
+
case 2:
|
|
52
|
+
page = _a.sent();
|
|
53
|
+
return [3, 6];
|
|
54
|
+
case 3:
|
|
55
|
+
if (!(config.client instanceof BillingconductorClient)) return [3, 5];
|
|
56
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
57
|
+
case 4:
|
|
58
|
+
page = _a.sent();
|
|
59
|
+
return [3, 6];
|
|
60
|
+
case 5: throw new Error("Invalid client, expected Billingconductor | BillingconductorClient");
|
|
61
|
+
case 6: return [4, __await(page)];
|
|
62
|
+
case 7: return [4, _a.sent()];
|
|
63
|
+
case 8:
|
|
64
|
+
_a.sent();
|
|
65
|
+
token = page.NextToken;
|
|
66
|
+
hasNext = !!token;
|
|
67
|
+
return [3, 1];
|
|
68
|
+
case 9: return [4, __await(undefined)];
|
|
69
|
+
case 10: return [2, _a.sent()];
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
}
|