@aws-sdk/client-billingconductor 3.293.0 → 3.295.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/dist-cjs/commands/AssociateAccountsCommand.js +4 -4
- package/dist-cjs/commands/AssociatePricingRulesCommand.js +4 -4
- package/dist-cjs/commands/BatchAssociateResourcesToCustomLineItemCommand.js +4 -4
- package/dist-cjs/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +4 -4
- package/dist-cjs/commands/CreateBillingGroupCommand.js +4 -4
- package/dist-cjs/commands/CreateCustomLineItemCommand.js +4 -4
- package/dist-cjs/commands/CreatePricingPlanCommand.js +4 -4
- package/dist-cjs/commands/CreatePricingRuleCommand.js +4 -4
- package/dist-cjs/commands/DeleteBillingGroupCommand.js +4 -4
- package/dist-cjs/commands/DeleteCustomLineItemCommand.js +4 -4
- package/dist-cjs/commands/DeletePricingPlanCommand.js +4 -4
- package/dist-cjs/commands/DeletePricingRuleCommand.js +4 -4
- package/dist-cjs/commands/DisassociateAccountsCommand.js +4 -4
- package/dist-cjs/commands/DisassociatePricingRulesCommand.js +4 -4
- package/dist-cjs/commands/ListAccountAssociationsCommand.js +4 -4
- package/dist-cjs/commands/ListBillingGroupCostReportsCommand.js +4 -4
- package/dist-cjs/commands/ListBillingGroupsCommand.js +4 -4
- package/dist-cjs/commands/ListCustomLineItemVersionsCommand.js +4 -4
- package/dist-cjs/commands/ListCustomLineItemsCommand.js +4 -4
- package/dist-cjs/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +4 -4
- package/dist-cjs/commands/ListPricingPlansCommand.js +4 -4
- package/dist-cjs/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +4 -4
- package/dist-cjs/commands/ListPricingRulesCommand.js +4 -4
- package/dist-cjs/commands/ListResourcesAssociatedToCustomLineItemCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/UpdateBillingGroupCommand.js +4 -4
- package/dist-cjs/commands/UpdateCustomLineItemCommand.js +4 -4
- package/dist-cjs/commands/UpdatePricingPlanCommand.js +4 -4
- package/dist-cjs/commands/UpdatePricingRuleCommand.js +4 -4
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +5 -0
- package/dist-cjs/protocols/Aws_restJson1.js +22 -0
- package/dist-es/commands/AssociateAccountsCommand.js +4 -4
- package/dist-es/commands/AssociatePricingRulesCommand.js +4 -4
- package/dist-es/commands/BatchAssociateResourcesToCustomLineItemCommand.js +4 -4
- package/dist-es/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +4 -4
- package/dist-es/commands/CreateBillingGroupCommand.js +4 -4
- package/dist-es/commands/CreateCustomLineItemCommand.js +4 -4
- package/dist-es/commands/CreatePricingPlanCommand.js +4 -4
- package/dist-es/commands/CreatePricingRuleCommand.js +4 -4
- package/dist-es/commands/DeleteBillingGroupCommand.js +4 -4
- package/dist-es/commands/DeleteCustomLineItemCommand.js +4 -4
- package/dist-es/commands/DeletePricingPlanCommand.js +4 -4
- package/dist-es/commands/DeletePricingRuleCommand.js +4 -4
- package/dist-es/commands/DisassociateAccountsCommand.js +4 -4
- package/dist-es/commands/DisassociatePricingRulesCommand.js +4 -4
- package/dist-es/commands/ListAccountAssociationsCommand.js +4 -4
- package/dist-es/commands/ListBillingGroupCostReportsCommand.js +4 -4
- package/dist-es/commands/ListBillingGroupsCommand.js +4 -4
- package/dist-es/commands/ListCustomLineItemVersionsCommand.js +4 -4
- package/dist-es/commands/ListCustomLineItemsCommand.js +4 -4
- package/dist-es/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +4 -4
- package/dist-es/commands/ListPricingPlansCommand.js +4 -4
- package/dist-es/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +4 -4
- package/dist-es/commands/ListPricingRulesCommand.js +4 -4
- package/dist-es/commands/ListResourcesAssociatedToCustomLineItemCommand.js +4 -4
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-es/commands/TagResourceCommand.js +4 -4
- package/dist-es/commands/UntagResourceCommand.js +4 -4
- package/dist-es/commands/UpdateBillingGroupCommand.js +4 -4
- package/dist-es/commands/UpdateCustomLineItemCommand.js +4 -4
- package/dist-es/commands/UpdatePricingPlanCommand.js +4 -4
- package/dist-es/commands/UpdatePricingRuleCommand.js +4 -4
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +22 -0
- package/dist-types/BillingconductorClient.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +49 -5
- package/dist-types/ts3.4/BillingconductorClient.d.ts +4 -4
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -5
- package/dist-types/ts3.4/models/models_0.d.ts +15 -4
- package/package.json +36 -36
|
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
|
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
19
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
20
|
+
defaultSigningName: string;
|
|
21
|
+
};
|
|
23
22
|
export declare const resolveClientEndpointParameters: <T>(
|
|
24
23
|
options: T & ClientInputEndpointParameters
|
|
25
24
|
) => T &
|
|
@@ -27,7 +26,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
26
|
defaultSigningName: string;
|
|
28
27
|
};
|
|
29
28
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
29
|
+
Region?: string;
|
|
31
30
|
UseDualStack?: boolean;
|
|
32
31
|
UseFIPS?: boolean;
|
|
33
32
|
Endpoint?: string;
|
|
@@ -104,6 +104,7 @@ export declare enum ValidationExceptionReason {
|
|
|
104
104
|
ILLEGAL_ENDED_BILLINGGROUP = "ILLEGAL_ENDED_BILLINGGROUP",
|
|
105
105
|
ILLEGAL_EXPRESSION = "ILLEGAL_EXPRESSION",
|
|
106
106
|
ILLEGAL_MODIFIER_PERCENTAGE = "ILLEGAL_MODIFIER_PERCENTAGE",
|
|
107
|
+
ILLEGAL_OPERATION = "ILLEGAL_OPERATION",
|
|
107
108
|
ILLEGAL_PRIMARY_ACCOUNT = "ILLEGAL_PRIMARY_ACCOUNT",
|
|
108
109
|
ILLEGAL_RESOURCE_ARNS = "ILLEGAL_RESOURCE_ARNS",
|
|
109
110
|
ILLEGAL_SCOPE = "ILLEGAL_SCOPE",
|
|
@@ -111,11 +112,14 @@ export declare enum ValidationExceptionReason {
|
|
|
111
112
|
ILLEGAL_TIERING_INPUT = "ILLEGAL_TIERING_INPUT",
|
|
112
113
|
ILLEGAL_TYPE = "ILLEGAL_TYPE",
|
|
113
114
|
ILLEGAL_UPDATE_CHARGE_DETAILS = "ILLEGAL_UPDATE_CHARGE_DETAILS",
|
|
115
|
+
ILLEGAL_USAGE_TYPE = "ILLEGAL_USAGE_TYPE",
|
|
114
116
|
INVALID_ARN = "INVALID_ARN",
|
|
115
117
|
INVALID_BILLINGVIEW_ARN = "INVALID_BILLINGVIEW_ARN",
|
|
116
118
|
INVALID_BILLING_GROUP = "INVALID_BILLING_GROUP",
|
|
117
119
|
INVALID_BILLING_GROUP_STATUS = "INVALID_BILLING_GROUP_STATUS",
|
|
118
120
|
INVALID_BILLING_PERIOD_FOR_OPERATION = "INVALID_BILLING_PERIOD_FOR_OPERATION",
|
|
121
|
+
INVALID_FILTER = "INVALID_FILTER",
|
|
122
|
+
INVALID_SKU_COMBO = "INVALID_SKU_COMBO",
|
|
119
123
|
INVALID_TIME_RANGE = "INVALID_TIME_RANGE",
|
|
120
124
|
MISMATCHED_BILLINGGROUP_ARN = "MISMATCHED_BILLINGGROUP_ARN",
|
|
121
125
|
MISMATCHED_BILLINGVIEW_ARN = "MISMATCHED_BILLINGVIEW_ARN",
|
|
@@ -199,9 +203,14 @@ export interface DisassociateAccountsInput {
|
|
|
199
203
|
export interface DisassociateAccountsOutput {
|
|
200
204
|
Arn?: string;
|
|
201
205
|
}
|
|
206
|
+
export declare enum BillingGroupStatus {
|
|
207
|
+
ACTIVE = "ACTIVE",
|
|
208
|
+
PRIMARY_ACCOUNT_MISSING = "PRIMARY_ACCOUNT_MISSING",
|
|
209
|
+
}
|
|
202
210
|
export interface ListBillingGroupsFilter {
|
|
203
211
|
Arns?: string[];
|
|
204
212
|
PricingPlan?: string;
|
|
213
|
+
Statuses?: (BillingGroupStatus | string)[];
|
|
205
214
|
}
|
|
206
215
|
export interface ListBillingGroupsInput {
|
|
207
216
|
BillingPeriod?: string;
|
|
@@ -209,10 +218,6 @@ export interface ListBillingGroupsInput {
|
|
|
209
218
|
NextToken?: string;
|
|
210
219
|
Filters?: ListBillingGroupsFilter;
|
|
211
220
|
}
|
|
212
|
-
export declare enum BillingGroupStatus {
|
|
213
|
-
ACTIVE = "ACTIVE",
|
|
214
|
-
PRIMARY_ACCOUNT_MISSING = "PRIMARY_ACCOUNT_MISSING",
|
|
215
|
-
}
|
|
216
221
|
export interface BillingGroupListElement {
|
|
217
222
|
Name?: string;
|
|
218
223
|
Arn?: string;
|
|
@@ -375,6 +380,8 @@ export interface CustomLineItemVersionListElement {
|
|
|
375
380
|
AssociationSize?: number;
|
|
376
381
|
StartBillingPeriod?: string;
|
|
377
382
|
EndBillingPeriod?: string;
|
|
383
|
+
Arn?: string;
|
|
384
|
+
StartTime?: number;
|
|
378
385
|
}
|
|
379
386
|
export interface ListCustomLineItemVersionsOutput {
|
|
380
387
|
CustomLineItemVersions?: CustomLineItemVersionListElement[];
|
|
@@ -433,6 +440,7 @@ export interface UpdateCustomLineItemOutput {
|
|
|
433
440
|
export interface ListAccountAssociationsFilter {
|
|
434
441
|
Association?: string;
|
|
435
442
|
AccountId?: string;
|
|
443
|
+
AccountIds?: string[];
|
|
436
444
|
}
|
|
437
445
|
export interface ListAccountAssociationsInput {
|
|
438
446
|
BillingPeriod?: string;
|
|
@@ -543,6 +551,7 @@ export declare enum PricingRuleScope {
|
|
|
543
551
|
BILLING_ENTITY = "BILLING_ENTITY",
|
|
544
552
|
GLOBAL = "GLOBAL",
|
|
545
553
|
SERVICE = "SERVICE",
|
|
554
|
+
SKU = "SKU",
|
|
546
555
|
}
|
|
547
556
|
export interface CreateFreeTierConfig {
|
|
548
557
|
Activated: boolean | undefined;
|
|
@@ -606,6 +615,8 @@ export interface PricingRuleListElement {
|
|
|
606
615
|
LastModifiedTime?: number;
|
|
607
616
|
BillingEntity?: string;
|
|
608
617
|
Tiering?: Tiering;
|
|
618
|
+
UsageType?: string;
|
|
619
|
+
Operation?: string;
|
|
609
620
|
}
|
|
610
621
|
export interface ListPricingRulesOutput {
|
|
611
622
|
BillingPeriod?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-billingconductor",
|
|
3
3
|
"description": "AWS SDK for JavaScript Billingconductor Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.295.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
-
"@aws-sdk/util-utf8": "3.
|
|
55
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.295.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.295.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.295.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.295.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.295.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.295.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.295.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.295.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.295.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.295.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.295.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.295.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.295.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.295.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.295.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.295.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.295.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.295.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.295.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.295.0",
|
|
43
|
+
"@aws-sdk/types": "3.295.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.295.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.295.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.295.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.295.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.295.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.295.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.295.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.295.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
|
+
"tslib": "^2.5.0",
|
|
56
56
|
"uuid": "^8.3.2"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.295.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"@types/uuid": "^8.3.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"downlevel-dts": "0.10.1",
|
|
65
65
|
"rimraf": "3.0.2",
|
|
66
66
|
"typedoc": "0.23.23",
|
|
67
|
-
"typescript": "~4.
|
|
67
|
+
"typescript": "~4.9.5"
|
|
68
68
|
},
|
|
69
69
|
"engines": {
|
|
70
70
|
"node": ">=14.0.0"
|