@aws-sdk/client-billingconductor 3.428.0 → 3.430.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.
@@ -127,7 +127,7 @@ export declare class ConflictException extends __BaseException {
127
127
  * <p>Reason for the inconsistent state.
128
128
  * </p>
129
129
  */
130
- Reason?: ConflictExceptionReason | string;
130
+ Reason?: ConflictExceptionReason;
131
131
  /**
132
132
  * @internal
133
133
  */
@@ -335,7 +335,7 @@ export declare class ValidationException extends __BaseException {
335
335
  * <p>The reason the request's validation failed.
336
336
  * </p>
337
337
  */
338
- Reason?: ValidationExceptionReason | string;
338
+ Reason?: ValidationExceptionReason;
339
339
  /**
340
340
  * @public
341
341
  * <p>The fields that caused the error, if applicable.
@@ -407,7 +407,7 @@ export interface AssociateResourceError {
407
407
  * @public
408
408
  * <p>A static error code that's used to classify the type of failure.</p>
409
409
  */
410
- Reason?: AssociateResourceErrorReason | string;
410
+ Reason?: AssociateResourceErrorReason;
411
411
  }
412
412
  /**
413
413
  * @public
@@ -576,7 +576,7 @@ export interface ListBillingGroupsFilter {
576
576
  * A list of billing groups to retrieve their current status for a specific time range
577
577
  * </p>
578
578
  */
579
- Statuses?: (BillingGroupStatus | string)[];
579
+ Statuses?: BillingGroupStatus[];
580
580
  /**
581
581
  * @public
582
582
  * <p>Specifies if this billing group will automatically associate newly added
@@ -675,7 +675,7 @@ export interface BillingGroupListElement {
675
675
  * @public
676
676
  * <p>The billing group status. Only one of the valid values can be used.</p>
677
677
  */
678
- Status?: BillingGroupStatus | string;
678
+ Status?: BillingGroupStatus;
679
679
  /**
680
680
  * @public
681
681
  * <p>The reason why the billing group is in its current status.</p>
@@ -738,7 +738,7 @@ export interface UpdateBillingGroupInput {
738
738
  * <p>The status of the billing group. Only one of the valid values can be used.
739
739
  * </p>
740
740
  */
741
- Status?: BillingGroupStatus | string;
741
+ Status?: BillingGroupStatus;
742
742
  /**
743
743
  * @public
744
744
  * <p>
@@ -815,7 +815,7 @@ export interface UpdateBillingGroupOutput {
815
815
  * The status of the billing group. Only one of the valid values can be used.
816
816
  * </p>
817
817
  */
818
- Status?: BillingGroupStatus | string;
818
+ Status?: BillingGroupStatus;
819
819
  /**
820
820
  * @public
821
821
  * <p>
@@ -1005,17 +1005,17 @@ export interface LineItemFilter {
1005
1005
  * <p>The attribute of the line item filter. This specifies what attribute that you can filter
1006
1006
  * on.</p>
1007
1007
  */
1008
- Attribute: LineItemFilterAttributeName | string | undefined;
1008
+ Attribute: LineItemFilterAttributeName | undefined;
1009
1009
  /**
1010
1010
  * @public
1011
1011
  * <p>The match criteria of the line item filter. This parameter specifies whether not to include the resource value from the billing group total cost.</p>
1012
1012
  */
1013
- MatchOption: MatchOption | string | undefined;
1013
+ MatchOption: MatchOption | undefined;
1014
1014
  /**
1015
1015
  * @public
1016
1016
  * <p>The values of the line item filter. This specifies the values to filter on. Currently, you can only exclude Savings Plan discounts.</p>
1017
1017
  */
1018
- Values: (LineItemFilterValue | string)[] | undefined;
1018
+ Values: LineItemFilterValue[] | undefined;
1019
1019
  }
1020
1020
  /**
1021
1021
  * @public
@@ -1066,7 +1066,7 @@ export interface CustomLineItemChargeDetails {
1066
1066
  * @public
1067
1067
  * <p>The type of the custom line item that indicates whether the charge is a fee or credit.</p>
1068
1068
  */
1069
- Type: CustomLineItemType | string | undefined;
1069
+ Type: CustomLineItemType | undefined;
1070
1070
  /**
1071
1071
  * @public
1072
1072
  * <p>A representation of the line item filter.</p>
@@ -1271,7 +1271,7 @@ export interface ListCustomLineItemChargeDetails {
1271
1271
  * The type of the custom line item that indicates whether the charge is a <code>fee</code> or <code>credit</code>.
1272
1272
  * </p>
1273
1273
  */
1274
- Type: CustomLineItemType | string | undefined;
1274
+ Type: CustomLineItemType | undefined;
1275
1275
  /**
1276
1276
  * @public
1277
1277
  * <p>A representation of the line item filter.</p>
@@ -1314,7 +1314,7 @@ export interface CustomLineItemListElement {
1314
1314
  * @public
1315
1315
  * <p>The custom line item's charge value currency. Only one of the valid values can be used.</p>
1316
1316
  */
1317
- CurrencyCode?: CurrencyCode | string;
1317
+ CurrencyCode?: CurrencyCode;
1318
1318
  /**
1319
1319
  * @public
1320
1320
  * <p>The custom line item's description. This is shown on the Bills page in association with the charge value.</p>
@@ -1438,7 +1438,7 @@ export interface CustomLineItemVersionListElement {
1438
1438
  * @public
1439
1439
  * <p>The charge value currency of the custom line item.</p>
1440
1440
  */
1441
- CurrencyCode?: CurrencyCode | string;
1441
+ CurrencyCode?: CurrencyCode;
1442
1442
  /**
1443
1443
  * @public
1444
1444
  * <p>The description of the custom line item.</p>
@@ -1534,7 +1534,7 @@ export interface ListResourcesAssociatedToCustomLineItemFilter {
1534
1534
  * The type of relationship between the custom line item and the associated resource.
1535
1535
  * </p>
1536
1536
  */
1537
- Relationship?: CustomLineItemRelationship | string;
1537
+ Relationship?: CustomLineItemRelationship;
1538
1538
  }
1539
1539
  /**
1540
1540
  * @public
@@ -1594,7 +1594,7 @@ export interface ListResourcesAssociatedToCustomLineItemResponseElement {
1594
1594
  * The type of relationship between the custom line item and the associated resource.
1595
1595
  * </p>
1596
1596
  */
1597
- Relationship?: CustomLineItemRelationship | string;
1597
+ Relationship?: CustomLineItemRelationship;
1598
1598
  /**
1599
1599
  * @public
1600
1600
  * <p>The end billing period of the associated resource.</p>
@@ -2369,14 +2369,14 @@ export interface CreatePricingRuleInput {
2369
2369
  * <p> The scope of pricing rule that indicates if it's globally applicable, or it's
2370
2370
  * service-specific. </p>
2371
2371
  */
2372
- Scope: PricingRuleScope | string | undefined;
2372
+ Scope: PricingRuleScope | undefined;
2373
2373
  /**
2374
2374
  * @public
2375
2375
  * <p>
2376
2376
  * The type of pricing rule.
2377
2377
  * </p>
2378
2378
  */
2379
- Type: PricingRuleType | string | undefined;
2379
+ Type: PricingRuleType | undefined;
2380
2380
  /**
2381
2381
  * @public
2382
2382
  * <p> A percentage modifier that's applied on the public pricing rates. </p>
@@ -2555,12 +2555,12 @@ export interface PricingRuleListElement {
2555
2555
  * @public
2556
2556
  * <p>The scope of pricing rule that indicates if it is globally applicable, or if it is service-specific.</p>
2557
2557
  */
2558
- Scope?: PricingRuleScope | string;
2558
+ Scope?: PricingRuleScope;
2559
2559
  /**
2560
2560
  * @public
2561
2561
  * <p>The type of pricing rule.</p>
2562
2562
  */
2563
- Type?: PricingRuleType | string;
2563
+ Type?: PricingRuleType;
2564
2564
  /**
2565
2565
  * @public
2566
2566
  * <p>A percentage modifier applied on the public pricing rates.</p>
@@ -2765,7 +2765,7 @@ export interface UpdatePricingRuleInput {
2765
2765
  * The new pricing rule type.
2766
2766
  * </p>
2767
2767
  */
2768
- Type?: PricingRuleType | string;
2768
+ Type?: PricingRuleType;
2769
2769
  /**
2770
2770
  * @public
2771
2771
  * <p>
@@ -2809,14 +2809,14 @@ export interface UpdatePricingRuleOutput {
2809
2809
  * <p> The scope of pricing rule that indicates if it's globally applicable, or it's
2810
2810
  * service-specific. </p>
2811
2811
  */
2812
- Scope?: PricingRuleScope | string;
2812
+ Scope?: PricingRuleScope;
2813
2813
  /**
2814
2814
  * @public
2815
2815
  * <p>
2816
2816
  * The new pricing rule type.
2817
2817
  * </p>
2818
2818
  */
2819
- Type?: PricingRuleType | string;
2819
+ Type?: PricingRuleType;
2820
2820
  /**
2821
2821
  * @public
2822
2822
  * <p>
@@ -40,7 +40,7 @@ export declare class ConflictException extends __BaseException {
40
40
  Message: string | undefined;
41
41
  ResourceId: string | undefined;
42
42
  ResourceType: string | undefined;
43
- Reason?: ConflictExceptionReason | string;
43
+ Reason?: ConflictExceptionReason;
44
44
  constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
45
45
  }
46
46
  export declare class InternalServerException extends __BaseException {
@@ -154,7 +154,7 @@ export declare class ValidationException extends __BaseException {
154
154
  readonly name: "ValidationException";
155
155
  readonly $fault: "client";
156
156
  Message: string | undefined;
157
- Reason?: ValidationExceptionReason | string;
157
+ Reason?: ValidationExceptionReason;
158
158
  Fields?: ValidationExceptionField[];
159
159
  constructor(
160
160
  opts: __ExceptionOptionType<ValidationException, __BaseException>
@@ -178,7 +178,7 @@ export type AssociateResourceErrorReason =
178
178
  (typeof AssociateResourceErrorReason)[keyof typeof AssociateResourceErrorReason];
179
179
  export interface AssociateResourceError {
180
180
  Message?: string;
181
- Reason?: AssociateResourceErrorReason | string;
181
+ Reason?: AssociateResourceErrorReason;
182
182
  }
183
183
  export interface AssociateResourceResponseElement {
184
184
  Arn?: string;
@@ -221,7 +221,7 @@ export type BillingGroupStatus =
221
221
  export interface ListBillingGroupsFilter {
222
222
  Arns?: string[];
223
223
  PricingPlan?: string;
224
- Statuses?: (BillingGroupStatus | string)[];
224
+ Statuses?: BillingGroupStatus[];
225
225
  AutoAssociate?: boolean;
226
226
  }
227
227
  export interface ListBillingGroupsInput {
@@ -242,7 +242,7 @@ export interface BillingGroupListElement {
242
242
  Size?: number;
243
243
  CreationTime?: number;
244
244
  LastModifiedTime?: number;
245
- Status?: BillingGroupStatus | string;
245
+ Status?: BillingGroupStatus;
246
246
  StatusReason?: string;
247
247
  AccountGrouping?: ListBillingGroupAccountGrouping;
248
248
  }
@@ -256,7 +256,7 @@ export interface UpdateBillingGroupAccountGrouping {
256
256
  export interface UpdateBillingGroupInput {
257
257
  Arn: string | undefined;
258
258
  Name?: string;
259
- Status?: BillingGroupStatus | string;
259
+ Status?: BillingGroupStatus;
260
260
  ComputationPreference?: ComputationPreference;
261
261
  Description?: string;
262
262
  AccountGrouping?: UpdateBillingGroupAccountGrouping;
@@ -269,7 +269,7 @@ export interface UpdateBillingGroupOutput {
269
269
  PricingPlanArn?: string;
270
270
  Size?: number;
271
271
  LastModifiedTime?: number;
272
- Status?: BillingGroupStatus | string;
272
+ Status?: BillingGroupStatus;
273
273
  StatusReason?: string;
274
274
  AccountGrouping?: UpdateBillingGroupAccountGrouping;
275
275
  }
@@ -317,9 +317,9 @@ export declare const LineItemFilterValue: {
317
317
  export type LineItemFilterValue =
318
318
  (typeof LineItemFilterValue)[keyof typeof LineItemFilterValue];
319
319
  export interface LineItemFilter {
320
- Attribute: LineItemFilterAttributeName | string | undefined;
321
- MatchOption: MatchOption | string | undefined;
322
- Values: (LineItemFilterValue | string)[] | undefined;
320
+ Attribute: LineItemFilterAttributeName | undefined;
321
+ MatchOption: MatchOption | undefined;
322
+ Values: LineItemFilterValue[] | undefined;
323
323
  }
324
324
  export interface CustomLineItemPercentageChargeDetails {
325
325
  PercentageValue: number | undefined;
@@ -334,7 +334,7 @@ export type CustomLineItemType =
334
334
  export interface CustomLineItemChargeDetails {
335
335
  Flat?: CustomLineItemFlatChargeDetails;
336
336
  Percentage?: CustomLineItemPercentageChargeDetails;
337
- Type: CustomLineItemType | string | undefined;
337
+ Type: CustomLineItemType | undefined;
338
338
  LineItemFilters?: LineItemFilter[];
339
339
  }
340
340
  export interface CreateCustomLineItemInput {
@@ -376,7 +376,7 @@ export interface ListCustomLineItemPercentageChargeDetails {
376
376
  export interface ListCustomLineItemChargeDetails {
377
377
  Flat?: ListCustomLineItemFlatChargeDetails;
378
378
  Percentage?: ListCustomLineItemPercentageChargeDetails;
379
- Type: CustomLineItemType | string | undefined;
379
+ Type: CustomLineItemType | undefined;
380
380
  LineItemFilters?: LineItemFilter[];
381
381
  }
382
382
  export declare const CurrencyCode: {
@@ -388,7 +388,7 @@ export interface CustomLineItemListElement {
388
388
  Arn?: string;
389
389
  Name?: string;
390
390
  ChargeDetails?: ListCustomLineItemChargeDetails;
391
- CurrencyCode?: CurrencyCode | string;
391
+ CurrencyCode?: CurrencyCode;
392
392
  Description?: string;
393
393
  ProductCode?: string;
394
394
  BillingGroupArn?: string;
@@ -416,7 +416,7 @@ export interface ListCustomLineItemVersionsInput {
416
416
  export interface CustomLineItemVersionListElement {
417
417
  Name?: string;
418
418
  ChargeDetails?: ListCustomLineItemChargeDetails;
419
- CurrencyCode?: CurrencyCode | string;
419
+ CurrencyCode?: CurrencyCode;
420
420
  Description?: string;
421
421
  ProductCode?: string;
422
422
  BillingGroupArn?: string;
@@ -439,7 +439,7 @@ export declare const CustomLineItemRelationship: {
439
439
  export type CustomLineItemRelationship =
440
440
  (typeof CustomLineItemRelationship)[keyof typeof CustomLineItemRelationship];
441
441
  export interface ListResourcesAssociatedToCustomLineItemFilter {
442
- Relationship?: CustomLineItemRelationship | string;
442
+ Relationship?: CustomLineItemRelationship;
443
443
  }
444
444
  export interface ListResourcesAssociatedToCustomLineItemInput {
445
445
  BillingPeriod?: string;
@@ -450,7 +450,7 @@ export interface ListResourcesAssociatedToCustomLineItemInput {
450
450
  }
451
451
  export interface ListResourcesAssociatedToCustomLineItemResponseElement {
452
452
  Arn?: string;
453
- Relationship?: CustomLineItemRelationship | string;
453
+ Relationship?: CustomLineItemRelationship;
454
454
  EndBillingPeriod?: string;
455
455
  }
456
456
  export interface ListResourcesAssociatedToCustomLineItemOutput {
@@ -620,8 +620,8 @@ export interface CreatePricingRuleInput {
620
620
  ClientToken?: string;
621
621
  Name: string | undefined;
622
622
  Description?: string;
623
- Scope: PricingRuleScope | string | undefined;
624
- Type: PricingRuleType | string | undefined;
623
+ Scope: PricingRuleScope | undefined;
624
+ Type: PricingRuleType | undefined;
625
625
  ModifierPercentage?: number;
626
626
  Service?: string;
627
627
  Tags?: Record<string, string>;
@@ -658,8 +658,8 @@ export interface PricingRuleListElement {
658
658
  Name?: string;
659
659
  Arn?: string;
660
660
  Description?: string;
661
- Scope?: PricingRuleScope | string;
662
- Type?: PricingRuleType | string;
661
+ Scope?: PricingRuleScope;
662
+ Type?: PricingRuleType;
663
663
  ModifierPercentage?: number;
664
664
  Service?: string;
665
665
  AssociatedPricingPlanCount?: number;
@@ -697,7 +697,7 @@ export interface UpdatePricingRuleInput {
697
697
  Arn: string | undefined;
698
698
  Name?: string;
699
699
  Description?: string;
700
- Type?: PricingRuleType | string;
700
+ Type?: PricingRuleType;
701
701
  ModifierPercentage?: number;
702
702
  Tiering?: UpdateTieringInput;
703
703
  }
@@ -705,8 +705,8 @@ export interface UpdatePricingRuleOutput {
705
705
  Arn?: string;
706
706
  Name?: string;
707
707
  Description?: string;
708
- Scope?: PricingRuleScope | string;
709
- Type?: PricingRuleType | string;
708
+ Scope?: PricingRuleScope;
709
+ Type?: PricingRuleType;
710
710
  ModifierPercentage?: number;
711
711
  Service?: string;
712
712
  AssociatedPricingPlanCount?: number;
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.428.0",
4
+ "version": "3.430.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",
@@ -21,28 +21,28 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
36
- "@smithy/config-resolver": "^2.0.14",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
+ "@smithy/config-resolver": "^2.0.15",
37
37
  "@smithy/fetch-http-handler": "^2.2.3",
38
38
  "@smithy/hash-node": "^2.0.11",
39
39
  "@smithy/invalid-dependency": "^2.0.11",
40
40
  "@smithy/middleware-content-length": "^2.0.13",
41
- "@smithy/middleware-endpoint": "^2.1.0",
42
- "@smithy/middleware-retry": "^2.0.16",
41
+ "@smithy/middleware-endpoint": "^2.1.2",
42
+ "@smithy/middleware-retry": "^2.0.17",
43
43
  "@smithy/middleware-serde": "^2.0.11",
44
44
  "@smithy/middleware-stack": "^2.0.5",
45
- "@smithy/node-config-provider": "^2.1.1",
45
+ "@smithy/node-config-provider": "^2.1.2",
46
46
  "@smithy/node-http-handler": "^2.1.7",
47
47
  "@smithy/protocol-http": "^3.0.7",
48
48
  "@smithy/smithy-client": "^2.1.11",
@@ -52,7 +52,7 @@
52
52
  "@smithy/util-body-length-browser": "^2.0.0",
53
53
  "@smithy/util-body-length-node": "^2.1.0",
54
54
  "@smithy/util-defaults-mode-browser": "^2.0.15",
55
- "@smithy/util-defaults-mode-node": "^2.0.19",
55
+ "@smithy/util-defaults-mode-node": "^2.0.20",
56
56
  "@smithy/util-retry": "^2.0.4",
57
57
  "@smithy/util-utf8": "^2.0.0",
58
58
  "tslib": "^2.5.0",