@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.
Files changed (75) hide show
  1. package/dist-cjs/commands/AssociateAccountsCommand.js +4 -4
  2. package/dist-cjs/commands/AssociatePricingRulesCommand.js +4 -4
  3. package/dist-cjs/commands/BatchAssociateResourcesToCustomLineItemCommand.js +4 -4
  4. package/dist-cjs/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +4 -4
  5. package/dist-cjs/commands/CreateBillingGroupCommand.js +4 -4
  6. package/dist-cjs/commands/CreateCustomLineItemCommand.js +4 -4
  7. package/dist-cjs/commands/CreatePricingPlanCommand.js +4 -4
  8. package/dist-cjs/commands/CreatePricingRuleCommand.js +4 -4
  9. package/dist-cjs/commands/DeleteBillingGroupCommand.js +4 -4
  10. package/dist-cjs/commands/DeleteCustomLineItemCommand.js +4 -4
  11. package/dist-cjs/commands/DeletePricingPlanCommand.js +4 -4
  12. package/dist-cjs/commands/DeletePricingRuleCommand.js +4 -4
  13. package/dist-cjs/commands/DisassociateAccountsCommand.js +4 -4
  14. package/dist-cjs/commands/DisassociatePricingRulesCommand.js +4 -4
  15. package/dist-cjs/commands/ListAccountAssociationsCommand.js +4 -4
  16. package/dist-cjs/commands/ListBillingGroupCostReportsCommand.js +4 -4
  17. package/dist-cjs/commands/ListBillingGroupsCommand.js +4 -4
  18. package/dist-cjs/commands/ListCustomLineItemVersionsCommand.js +4 -4
  19. package/dist-cjs/commands/ListCustomLineItemsCommand.js +4 -4
  20. package/dist-cjs/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +4 -4
  21. package/dist-cjs/commands/ListPricingPlansCommand.js +4 -4
  22. package/dist-cjs/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +4 -4
  23. package/dist-cjs/commands/ListPricingRulesCommand.js +4 -4
  24. package/dist-cjs/commands/ListResourcesAssociatedToCustomLineItemCommand.js +4 -4
  25. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  26. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  27. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  28. package/dist-cjs/commands/UpdateBillingGroupCommand.js +4 -4
  29. package/dist-cjs/commands/UpdateCustomLineItemCommand.js +4 -4
  30. package/dist-cjs/commands/UpdatePricingPlanCommand.js +4 -4
  31. package/dist-cjs/commands/UpdatePricingRuleCommand.js +4 -4
  32. package/dist-cjs/endpoint/ruleset.js +3 -3
  33. package/dist-cjs/models/models_0.js +5 -0
  34. package/dist-cjs/protocols/Aws_restJson1.js +22 -0
  35. package/dist-es/commands/AssociateAccountsCommand.js +4 -4
  36. package/dist-es/commands/AssociatePricingRulesCommand.js +4 -4
  37. package/dist-es/commands/BatchAssociateResourcesToCustomLineItemCommand.js +4 -4
  38. package/dist-es/commands/BatchDisassociateResourcesFromCustomLineItemCommand.js +4 -4
  39. package/dist-es/commands/CreateBillingGroupCommand.js +4 -4
  40. package/dist-es/commands/CreateCustomLineItemCommand.js +4 -4
  41. package/dist-es/commands/CreatePricingPlanCommand.js +4 -4
  42. package/dist-es/commands/CreatePricingRuleCommand.js +4 -4
  43. package/dist-es/commands/DeleteBillingGroupCommand.js +4 -4
  44. package/dist-es/commands/DeleteCustomLineItemCommand.js +4 -4
  45. package/dist-es/commands/DeletePricingPlanCommand.js +4 -4
  46. package/dist-es/commands/DeletePricingRuleCommand.js +4 -4
  47. package/dist-es/commands/DisassociateAccountsCommand.js +4 -4
  48. package/dist-es/commands/DisassociatePricingRulesCommand.js +4 -4
  49. package/dist-es/commands/ListAccountAssociationsCommand.js +4 -4
  50. package/dist-es/commands/ListBillingGroupCostReportsCommand.js +4 -4
  51. package/dist-es/commands/ListBillingGroupsCommand.js +4 -4
  52. package/dist-es/commands/ListCustomLineItemVersionsCommand.js +4 -4
  53. package/dist-es/commands/ListCustomLineItemsCommand.js +4 -4
  54. package/dist-es/commands/ListPricingPlansAssociatedWithPricingRuleCommand.js +4 -4
  55. package/dist-es/commands/ListPricingPlansCommand.js +4 -4
  56. package/dist-es/commands/ListPricingRulesAssociatedToPricingPlanCommand.js +4 -4
  57. package/dist-es/commands/ListPricingRulesCommand.js +4 -4
  58. package/dist-es/commands/ListResourcesAssociatedToCustomLineItemCommand.js +4 -4
  59. package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
  60. package/dist-es/commands/TagResourceCommand.js +4 -4
  61. package/dist-es/commands/UntagResourceCommand.js +4 -4
  62. package/dist-es/commands/UpdateBillingGroupCommand.js +4 -4
  63. package/dist-es/commands/UpdateCustomLineItemCommand.js +4 -4
  64. package/dist-es/commands/UpdatePricingPlanCommand.js +4 -4
  65. package/dist-es/commands/UpdatePricingRuleCommand.js +4 -4
  66. package/dist-es/endpoint/ruleset.js +3 -3
  67. package/dist-es/models/models_0.js +5 -0
  68. package/dist-es/protocols/Aws_restJson1.js +22 -0
  69. package/dist-types/BillingconductorClient.d.ts +4 -4
  70. package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
  71. package/dist-types/models/models_0.d.ts +49 -5
  72. package/dist-types/ts3.4/BillingconductorClient.d.ts +4 -4
  73. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +4 -5
  74. package/dist-types/ts3.4/models/models_0.d.ts +15 -4
  75. package/package.json +36 -36
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export declare type ClientResolvedEndpointParameters =
20
- ClientInputEndpointParameters & {
21
- defaultSigningName: string;
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: string;
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.293.0",
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.293.0",
24
- "@aws-sdk/config-resolver": "3.292.0",
25
- "@aws-sdk/credential-provider-node": "3.293.0",
26
- "@aws-sdk/fetch-http-handler": "3.292.0",
27
- "@aws-sdk/hash-node": "3.292.0",
28
- "@aws-sdk/invalid-dependency": "3.292.0",
29
- "@aws-sdk/middleware-content-length": "3.292.0",
30
- "@aws-sdk/middleware-endpoint": "3.292.0",
31
- "@aws-sdk/middleware-host-header": "3.292.0",
32
- "@aws-sdk/middleware-logger": "3.292.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
- "@aws-sdk/middleware-retry": "3.293.0",
35
- "@aws-sdk/middleware-serde": "3.292.0",
36
- "@aws-sdk/middleware-signing": "3.292.0",
37
- "@aws-sdk/middleware-stack": "3.292.0",
38
- "@aws-sdk/middleware-user-agent": "3.293.0",
39
- "@aws-sdk/node-config-provider": "3.292.0",
40
- "@aws-sdk/node-http-handler": "3.292.0",
41
- "@aws-sdk/protocol-http": "3.292.0",
42
- "@aws-sdk/smithy-client": "3.292.0",
43
- "@aws-sdk/types": "3.292.0",
44
- "@aws-sdk/url-parser": "3.292.0",
45
- "@aws-sdk/util-base64": "3.292.0",
46
- "@aws-sdk/util-body-length-browser": "3.292.0",
47
- "@aws-sdk/util-body-length-node": "3.292.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
- "@aws-sdk/util-endpoints": "3.293.0",
51
- "@aws-sdk/util-retry": "3.292.0",
52
- "@aws-sdk/util-user-agent-browser": "3.292.0",
53
- "@aws-sdk/util-user-agent-node": "3.292.0",
54
- "@aws-sdk/util-utf8": "3.292.0",
55
- "tslib": "^2.3.1",
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.293.0",
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.6.2"
67
+ "typescript": "~4.9.5"
68
68
  },
69
69
  "engines": {
70
70
  "node": ">=14.0.0"