@aws-sdk/client-billingconductor 3.465.0 → 3.466.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.
@@ -115,6 +115,7 @@ exports.ValidationExceptionReason = {
115
115
  DUPLICATE_PRICINGRULE_ARNS: "DUPLICATE_PRICINGRULE_ARNS",
116
116
  FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
117
117
  ILLEGAL_ACCOUNTS: "ILLEGAL_ACCOUNTS",
118
+ ILLEGAL_ACCOUNT_ID: "ILLEGAL_ACCOUNT_ID",
118
119
  ILLEGAL_BILLING_ENTITY: "ILLEGAL_BILLING_ENTITY",
119
120
  ILLEGAL_BILLING_PERIOD: "ILLEGAL_BILLING_PERIOD",
120
121
  ILLEGAL_BILLING_PERIOD_RANGE: "ILLEGAL_BILLING_PERIOD_RANGE",
@@ -134,6 +134,7 @@ const se_CreateCustomLineItemCommand = async (input, context) => {
134
134
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-custom-line-item";
135
135
  let body;
136
136
  body = JSON.stringify((0, smithy_client_1.take)(input, {
137
+ AccountId: [],
137
138
  BillingGroupArn: [],
138
139
  BillingPeriodRange: (_) => (0, smithy_client_1._json)(_),
139
140
  ChargeDetails: (_) => se_CustomLineItemChargeDetails(_, context),
@@ -2410,6 +2411,7 @@ const de_CustomLineItemList = (output, context) => {
2410
2411
  };
2411
2412
  const de_CustomLineItemListElement = (output, context) => {
2412
2413
  return (0, smithy_client_1.take)(output, {
2414
+ AccountId: smithy_client_1.expectString,
2413
2415
  Arn: smithy_client_1.expectString,
2414
2416
  AssociationSize: smithy_client_1.expectLong,
2415
2417
  BillingGroupArn: smithy_client_1.expectString,
@@ -2432,6 +2434,7 @@ const de_CustomLineItemVersionList = (output, context) => {
2432
2434
  };
2433
2435
  const de_CustomLineItemVersionListElement = (output, context) => {
2434
2436
  return (0, smithy_client_1.take)(output, {
2437
+ AccountId: smithy_client_1.expectString,
2435
2438
  Arn: smithy_client_1.expectString,
2436
2439
  AssociationSize: smithy_client_1.expectLong,
2437
2440
  BillingGroupArn: smithy_client_1.expectString,
@@ -106,6 +106,7 @@ export const ValidationExceptionReason = {
106
106
  DUPLICATE_PRICINGRULE_ARNS: "DUPLICATE_PRICINGRULE_ARNS",
107
107
  FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED",
108
108
  ILLEGAL_ACCOUNTS: "ILLEGAL_ACCOUNTS",
109
+ ILLEGAL_ACCOUNT_ID: "ILLEGAL_ACCOUNT_ID",
109
110
  ILLEGAL_BILLING_ENTITY: "ILLEGAL_BILLING_ENTITY",
110
111
  ILLEGAL_BILLING_PERIOD: "ILLEGAL_BILLING_PERIOD",
111
112
  ILLEGAL_BILLING_PERIOD_RANGE: "ILLEGAL_BILLING_PERIOD_RANGE",
@@ -125,6 +125,7 @@ export const se_CreateCustomLineItemCommand = async (input, context) => {
125
125
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/create-custom-line-item";
126
126
  let body;
127
127
  body = JSON.stringify(take(input, {
128
+ AccountId: [],
128
129
  BillingGroupArn: [],
129
130
  BillingPeriodRange: (_) => _json(_),
130
131
  ChargeDetails: (_) => se_CustomLineItemChargeDetails(_, context),
@@ -2344,6 +2345,7 @@ const de_CustomLineItemList = (output, context) => {
2344
2345
  };
2345
2346
  const de_CustomLineItemListElement = (output, context) => {
2346
2347
  return take(output, {
2348
+ AccountId: __expectString,
2347
2349
  Arn: __expectString,
2348
2350
  AssociationSize: __expectLong,
2349
2351
  BillingGroupArn: __expectString,
@@ -2366,6 +2368,7 @@ const de_CustomLineItemVersionList = (output, context) => {
2366
2368
  };
2367
2369
  const de_CustomLineItemVersionListElement = (output, context) => {
2368
2370
  return take(output, {
2371
+ AccountId: __expectString,
2369
2372
  Arn: __expectString,
2370
2373
  AssociationSize: __expectLong,
2371
2374
  BillingGroupArn: __expectString,
@@ -65,6 +65,7 @@ export interface CreateCustomLineItemCommandOutput extends CreateCustomLineItemO
65
65
  * },
66
66
  * ],
67
67
  * },
68
+ * AccountId: "STRING_VALUE",
68
69
  * };
69
70
  * const command = new CreateCustomLineItemCommand(input);
70
71
  * const response = await client.send(command);
@@ -76,6 +76,7 @@ export interface ListCustomLineItemVersionsCommandOutput extends ListCustomLineI
76
76
  * // EndBillingPeriod: "STRING_VALUE",
77
77
  * // Arn: "STRING_VALUE",
78
78
  * // StartTime: Number("long"),
79
+ * // AccountId: "STRING_VALUE",
79
80
  * // },
80
81
  * // ],
81
82
  * // NextToken: "STRING_VALUE",
@@ -46,6 +46,9 @@ export interface ListCustomLineItemsCommandOutput extends ListCustomLineItemsOut
46
46
  * Arns: [ // CustomLineItemArns
47
47
  * "STRING_VALUE",
48
48
  * ],
49
+ * AccountIds: [ // AccountIdList
50
+ * "STRING_VALUE",
51
+ * ],
49
52
  * },
50
53
  * };
51
54
  * const command = new ListCustomLineItemsCommand(input);
@@ -80,6 +83,7 @@ export interface ListCustomLineItemsCommandOutput extends ListCustomLineItemsOut
80
83
  * // CreationTime: Number("long"),
81
84
  * // LastModifiedTime: Number("long"),
82
85
  * // AssociationSize: Number("long"),
86
+ * // AccountId: "STRING_VALUE",
83
87
  * // },
84
88
  * // ],
85
89
  * // NextToken: "STRING_VALUE",
@@ -267,6 +267,7 @@ export declare const ValidationExceptionReason: {
267
267
  readonly DUPLICATE_PRICINGRULE_ARNS: "DUPLICATE_PRICINGRULE_ARNS";
268
268
  readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
269
269
  readonly ILLEGAL_ACCOUNTS: "ILLEGAL_ACCOUNTS";
270
+ readonly ILLEGAL_ACCOUNT_ID: "ILLEGAL_ACCOUNT_ID";
270
271
  readonly ILLEGAL_BILLING_ENTITY: "ILLEGAL_BILLING_ENTITY";
271
272
  readonly ILLEGAL_BILLING_PERIOD: "ILLEGAL_BILLING_PERIOD";
272
273
  readonly ILLEGAL_BILLING_PERIOD_RANGE: "ILLEGAL_BILLING_PERIOD_RANGE";
@@ -1121,6 +1122,11 @@ export interface CreateCustomLineItemInput {
1121
1122
  * </p>
1122
1123
  */
1123
1124
  ChargeDetails: CustomLineItemChargeDetails | undefined;
1125
+ /**
1126
+ * @public
1127
+ * <p>The Amazon Web Services account in which this custom line item will be applied to.</p>
1128
+ */
1129
+ AccountId?: string;
1124
1130
  }
1125
1131
  /**
1126
1132
  * @public
@@ -1181,6 +1187,11 @@ export interface ListCustomLineItemsFilter {
1181
1187
  * <p>A list of custom line item ARNs to retrieve information.</p>
1182
1188
  */
1183
1189
  Arns?: string[];
1190
+ /**
1191
+ * @public
1192
+ * <p>The Amazon Web Services accounts in which this custom line item will be applied to.</p>
1193
+ */
1194
+ AccountIds?: string[];
1184
1195
  }
1185
1196
  /**
1186
1197
  * @public
@@ -1345,6 +1356,11 @@ export interface CustomLineItemListElement {
1345
1356
  * <p>The number of resources that are associated to the custom line item.</p>
1346
1357
  */
1347
1358
  AssociationSize?: number;
1359
+ /**
1360
+ * @public
1361
+ * <p>The Amazon Web Services account in which this custom line item will be applied to.</p>
1362
+ */
1363
+ AccountId?: string;
1348
1364
  }
1349
1365
  /**
1350
1366
  * @public
@@ -1493,6 +1509,11 @@ export interface CustomLineItemVersionListElement {
1493
1509
  * </p>
1494
1510
  */
1495
1511
  StartTime?: number;
1512
+ /**
1513
+ * @public
1514
+ * <p>The Amazon Web Services account in which this custom line item will be applied to.</p>
1515
+ */
1516
+ AccountId?: string;
1496
1517
  }
1497
1518
  /**
1498
1519
  * @public
@@ -97,6 +97,7 @@ export declare const ValidationExceptionReason: {
97
97
  readonly DUPLICATE_PRICINGRULE_ARNS: "DUPLICATE_PRICINGRULE_ARNS";
98
98
  readonly FIELD_VALIDATION_FAILED: "FIELD_VALIDATION_FAILED";
99
99
  readonly ILLEGAL_ACCOUNTS: "ILLEGAL_ACCOUNTS";
100
+ readonly ILLEGAL_ACCOUNT_ID: "ILLEGAL_ACCOUNT_ID";
100
101
  readonly ILLEGAL_BILLING_ENTITY: "ILLEGAL_BILLING_ENTITY";
101
102
  readonly ILLEGAL_BILLING_PERIOD: "ILLEGAL_BILLING_PERIOD";
102
103
  readonly ILLEGAL_BILLING_PERIOD_RANGE: "ILLEGAL_BILLING_PERIOD_RANGE";
@@ -345,6 +346,7 @@ export interface CreateCustomLineItemInput {
345
346
  BillingPeriodRange?: CustomLineItemBillingPeriodRange;
346
347
  Tags?: Record<string, string>;
347
348
  ChargeDetails: CustomLineItemChargeDetails | undefined;
349
+ AccountId?: string;
348
350
  }
349
351
  export interface CreateCustomLineItemOutput {
350
352
  Arn?: string;
@@ -360,6 +362,7 @@ export interface ListCustomLineItemsFilter {
360
362
  Names?: string[];
361
363
  BillingGroups?: string[];
362
364
  Arns?: string[];
365
+ AccountIds?: string[];
363
366
  }
364
367
  export interface ListCustomLineItemsInput {
365
368
  BillingPeriod?: string;
@@ -395,6 +398,7 @@ export interface CustomLineItemListElement {
395
398
  CreationTime?: number;
396
399
  LastModifiedTime?: number;
397
400
  AssociationSize?: number;
401
+ AccountId?: string;
398
402
  }
399
403
  export interface ListCustomLineItemsOutput {
400
404
  CustomLineItems?: CustomLineItemListElement[];
@@ -427,6 +431,7 @@ export interface CustomLineItemVersionListElement {
427
431
  EndBillingPeriod?: string;
428
432
  Arn?: string;
429
433
  StartTime?: number;
434
+ AccountId?: string;
430
435
  }
431
436
  export interface ListCustomLineItemVersionsOutput {
432
437
  CustomLineItemVersions?: CustomLineItemVersionListElement[];
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.465.0",
4
+ "version": "3.466.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",