@aws-sdk/client-marketplace-agreement 3.1122.0 → 3.1124.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/index.js +106 -9
- package/dist-es/models/enums.js +11 -0
- package/dist-es/schemas/schemas_0.js +84 -8
- package/dist-types/commands/DescribeAgreementCommand.d.ts +8 -0
- package/dist-types/commands/GetAgreementTermsCommand.d.ts +26 -0
- package/dist-types/commands/SearchAgreementsCommand.d.ts +5 -1
- package/dist-types/models/enums.d.ts +27 -0
- package/dist-types/models/models_0.d.ts +238 -9
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/models/enums.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +80 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +2 -2
|
@@ -65,6 +65,32 @@ declare const GetAgreementTermsCommand_base: {
|
|
|
65
65
|
* // configuration: { // RenewalTermConfiguration
|
|
66
66
|
* // enableAutoRenew: true || false, // required
|
|
67
67
|
* // },
|
|
68
|
+
* // lockoutPeriod: "STRING_VALUE",
|
|
69
|
+
* // maxRenewals: Number("int"),
|
|
70
|
+
* // adjustmentDeadline: "STRING_VALUE",
|
|
71
|
+
* // priceIncrease: { // PriceIncrease Union: only one key present
|
|
72
|
+
* // fixedPercentage: { // FixedPercentage
|
|
73
|
+
* // value: "STRING_VALUE",
|
|
74
|
+
* // },
|
|
75
|
+
* // percentageRange: { // PercentageRange
|
|
76
|
+
* // minValue: "STRING_VALUE",
|
|
77
|
+
* // maxValue: "STRING_VALUE",
|
|
78
|
+
* // defaultValue: "STRING_VALUE",
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // termTemplates: [ // TermTemplateList
|
|
82
|
+
* // { // TermTemplate Union: only one key present
|
|
83
|
+
* // paymentScheduleTermTemplate: { // PaymentScheduleTermTemplate
|
|
84
|
+
* // schedule: [ // PaymentScheduleEntryList
|
|
85
|
+
* // { // PaymentScheduleEntry
|
|
86
|
+
* // chargeDateOffset: "STRING_VALUE",
|
|
87
|
+
* // chargePercentage: "STRING_VALUE",
|
|
88
|
+
* // dayOfMonth: Number("int"),
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // },
|
|
93
|
+
* // ],
|
|
68
94
|
* // },
|
|
69
95
|
* // usageBasedPricingTerm: { // UsageBasedPricingTerm
|
|
70
96
|
* // type: "STRING_VALUE",
|
|
@@ -24,7 +24,7 @@ declare const SearchAgreementsCommand_base: {
|
|
|
24
24
|
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* <p>Searches across all agreements that a proposer or an acceptor has in AWS Marketplace. The search returns a list of agreements with basic agreement information.</p>
|
|
27
|
+
* <p>Searches across all agreements that a proposer or an acceptor has in AWS Marketplace. The search returns a list of agreements with basic agreement information.</p>
|
|
28
28
|
* @example
|
|
29
29
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
30
|
* ```javascript
|
|
@@ -59,6 +59,7 @@ declare const SearchAgreementsCommand_base: {
|
|
|
59
59
|
* // acceptanceTime: new Date("TIMESTAMP"),
|
|
60
60
|
* // startTime: new Date("TIMESTAMP"),
|
|
61
61
|
* // endTime: new Date("TIMESTAMP"),
|
|
62
|
+
* // lastUpdateTime: new Date("TIMESTAMP"),
|
|
62
63
|
* // agreementType: "STRING_VALUE",
|
|
63
64
|
* // acceptor: { // Acceptor
|
|
64
65
|
* // accountId: "STRING_VALUE",
|
|
@@ -82,6 +83,9 @@ declare const SearchAgreementsCommand_base: {
|
|
|
82
83
|
* // licenseArn: "STRING_VALUE",
|
|
83
84
|
* // },
|
|
84
85
|
* // ],
|
|
86
|
+
* // initialAgreementId: "STRING_VALUE",
|
|
87
|
+
* // endTimeBehaviorType: "RENEW" || "REPLACE" || "EXPIRE",
|
|
88
|
+
* // endTimeBehaviorReasonCode: "PROPOSER_RENEW_OPTED_OUT" || "ACCEPTOR_RENEW_OPTED_OUT" || "NO_RENEWAL_TERM" || "RENEWAL_LIMIT_EXHAUSTED",
|
|
85
89
|
* // },
|
|
86
90
|
* // ],
|
|
87
91
|
* // nextToken: "STRING_VALUE",
|
|
@@ -249,6 +249,33 @@ export declare const AgreementStatus: {
|
|
|
249
249
|
* @public
|
|
250
250
|
*/
|
|
251
251
|
export type AgreementStatus = (typeof AgreementStatus)[keyof typeof AgreementStatus];
|
|
252
|
+
/**
|
|
253
|
+
* @public
|
|
254
|
+
* @enum
|
|
255
|
+
*/
|
|
256
|
+
export declare const EndTimeBehaviorReasonCode: {
|
|
257
|
+
readonly ACCEPTOR_RENEW_OPTED_OUT: "ACCEPTOR_RENEW_OPTED_OUT";
|
|
258
|
+
readonly NO_RENEWAL_TERM: "NO_RENEWAL_TERM";
|
|
259
|
+
readonly PROPOSER_RENEW_OPTED_OUT: "PROPOSER_RENEW_OPTED_OUT";
|
|
260
|
+
readonly RENEWAL_LIMIT_EXHAUSTED: "RENEWAL_LIMIT_EXHAUSTED";
|
|
261
|
+
};
|
|
262
|
+
/**
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
export type EndTimeBehaviorReasonCode = (typeof EndTimeBehaviorReasonCode)[keyof typeof EndTimeBehaviorReasonCode];
|
|
266
|
+
/**
|
|
267
|
+
* @public
|
|
268
|
+
* @enum
|
|
269
|
+
*/
|
|
270
|
+
export declare const EndTimeBehaviorType: {
|
|
271
|
+
readonly EXPIRE: "EXPIRE";
|
|
272
|
+
readonly RENEW: "RENEW";
|
|
273
|
+
readonly REPLACE: "REPLACE";
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* @public
|
|
277
|
+
*/
|
|
278
|
+
export type EndTimeBehaviorType = (typeof EndTimeBehaviorType)[keyof typeof EndTimeBehaviorType];
|
|
252
279
|
/**
|
|
253
280
|
* @public
|
|
254
281
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AgreementCancellationRequestReasonCode, AgreementCancellationRequestStatus, AgreementEntitlementStatus, AgreementEntitlementStatusReasonCode, AgreementStatus, BillingAdjustmentErrorCode, BillingAdjustmentReasonCode, BillingAdjustmentStatus, Intent, InvoiceType, LineItemGroupBy, PaymentRequestApprovalStrategy, PaymentRequestStatus, SortOrder, TaxEstimation, Timing } from "./enums";
|
|
1
|
+
import type { AgreementCancellationRequestReasonCode, AgreementCancellationRequestStatus, AgreementEntitlementStatus, AgreementEntitlementStatusReasonCode, AgreementStatus, BillingAdjustmentErrorCode, BillingAdjustmentReasonCode, BillingAdjustmentStatus, EndTimeBehaviorReasonCode, EndTimeBehaviorType, Intent, InvoiceType, LineItemGroupBy, PaymentRequestApprovalStrategy, PaymentRequestStatus, SortOrder, TaxEstimation, Timing } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -559,13 +559,155 @@ export interface RecurringPaymentTerm {
|
|
|
559
559
|
*/
|
|
560
560
|
export interface RenewalTermConfiguration {
|
|
561
561
|
/**
|
|
562
|
-
* <p>Defines whether the acceptor has chosen to auto-renew the agreement
|
|
562
|
+
* <p>Defines whether the acceptor has chosen to auto-renew the agreement when it reaches its end date. Can be set to <code>True</code> or <code>False</code>. The acceptor can change this value within the limits set by <code>LockoutPeriod</code> and <code>MaxRenewals</code>.</p>
|
|
563
563
|
* @public
|
|
564
564
|
*/
|
|
565
565
|
enableAutoRenew: boolean | undefined;
|
|
566
566
|
}
|
|
567
567
|
/**
|
|
568
|
-
* <p>
|
|
568
|
+
* <p>A fixed price increase that is applied each time the agreement renews.</p>
|
|
569
|
+
* @public
|
|
570
|
+
*/
|
|
571
|
+
export interface FixedPercentage {
|
|
572
|
+
/**
|
|
573
|
+
* <p>The percentage by which the price increases at each renewal, from <code>0.00</code> to <code>100.00</code> with up to two decimal places. A value of <code>0.00</code> means that the agreement renews at the same price.</p>
|
|
574
|
+
* @public
|
|
575
|
+
*/
|
|
576
|
+
value?: string | undefined;
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
* <p>A range of price increase percentages that the proposer can choose from before the adjustment deadline of the agreement.</p> <p> <code>MinValue</code> will be less than <code>MaxValue</code>, and <code>DefaultValue</code> will fall within the range. When the proposer authorizes a single percentage instead of a range, <code>PriceIncrease</code> is a <code>FixedPercentage</code> rather than a <code>PercentageRange</code>.</p>
|
|
580
|
+
* @public
|
|
581
|
+
*/
|
|
582
|
+
export interface PercentageRange {
|
|
583
|
+
/**
|
|
584
|
+
* <p>The lowest percentage that the proposer can choose, from <code>0.00</code> to <code>100.00</code> with up to two decimal places.</p>
|
|
585
|
+
* @public
|
|
586
|
+
*/
|
|
587
|
+
minValue?: string | undefined;
|
|
588
|
+
/**
|
|
589
|
+
* <p>The highest percentage that the proposer can choose, from <code>0.00</code> to <code>100.00</code> with up to two decimal places.</p>
|
|
590
|
+
* @public
|
|
591
|
+
*/
|
|
592
|
+
maxValue?: string | undefined;
|
|
593
|
+
/**
|
|
594
|
+
* <p>The percentage that is applied if the proposer doesn't choose a value before the adjustment deadline. Valid values range from <code>0.00</code> to <code>100.00</code>, with up to two decimal places.</p>
|
|
595
|
+
* @public
|
|
596
|
+
*/
|
|
597
|
+
defaultValue?: string | undefined;
|
|
598
|
+
}
|
|
599
|
+
/**
|
|
600
|
+
* <p>The price increase that is applied each time the agreement renews. Exactly one of the following fields is set.</p>
|
|
601
|
+
* @public
|
|
602
|
+
*/
|
|
603
|
+
export type PriceIncrease = PriceIncrease.FixedPercentageMember | PriceIncrease.PercentageRangeMember | PriceIncrease.$UnknownMember;
|
|
604
|
+
/**
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
export declare namespace PriceIncrease {
|
|
608
|
+
/**
|
|
609
|
+
* <p>A fixed price increase percentage that is applied at each renewal.</p>
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
interface FixedPercentageMember {
|
|
613
|
+
fixedPercentage: FixedPercentage;
|
|
614
|
+
percentageRange?: never;
|
|
615
|
+
$unknown?: never;
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* <p>A range of price increase percentages that the proposer can choose from before the adjustment deadline of the agreement.</p>
|
|
619
|
+
* @public
|
|
620
|
+
*/
|
|
621
|
+
interface PercentageRangeMember {
|
|
622
|
+
fixedPercentage?: never;
|
|
623
|
+
percentageRange: PercentageRange;
|
|
624
|
+
$unknown?: never;
|
|
625
|
+
}
|
|
626
|
+
/**
|
|
627
|
+
* @public
|
|
628
|
+
*/
|
|
629
|
+
interface $UnknownMember {
|
|
630
|
+
fixedPercentage?: never;
|
|
631
|
+
percentageRange?: never;
|
|
632
|
+
$unknown: [string, any];
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* @deprecated unused in schema-serde mode.
|
|
636
|
+
*
|
|
637
|
+
*/
|
|
638
|
+
interface Visitor<T> {
|
|
639
|
+
fixedPercentage: (value: FixedPercentage) => T;
|
|
640
|
+
percentageRange: (value: PercentageRange) => T;
|
|
641
|
+
_: (name: string, value: any) => T;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* <p>A single installment in a payment schedule template. Because the start date of the renewed agreement isn't known when the offer is created, the charge date of each installment is expressed as an offset from that start date rather than as an absolute date.</p>
|
|
646
|
+
* @public
|
|
647
|
+
*/
|
|
648
|
+
export interface PaymentScheduleEntry {
|
|
649
|
+
/**
|
|
650
|
+
* <p>The time between the start date of the renewed agreement and the date this installment is charged. The duration is represented in the ISO 8601 format in either whole months or whole days (for example, <code>P1M</code> for 1 month or <code>P30D</code> for 30 days). All installments in a schedule use the same unit.</p>
|
|
651
|
+
* @public
|
|
652
|
+
*/
|
|
653
|
+
chargeDateOffset?: string | undefined;
|
|
654
|
+
/**
|
|
655
|
+
* <p>The percentage of the total contract value of the renewed agreement that is charged in this installment. Valid values range from <code>0.01</code> to <code>100.00</code>, with up to two decimal places.</p>
|
|
656
|
+
* @public
|
|
657
|
+
*/
|
|
658
|
+
chargePercentage?: string | undefined;
|
|
659
|
+
/**
|
|
660
|
+
* <p>The day of the month on which this installment is charged, from <code>1</code> to <code>31</code>. Use this field to anchor the charge to a specific calendar day within the month identified by <code>ChargeDateOffset</code>. This field is supported only when <code>ChargeDateOffset</code> is expressed in months.</p>
|
|
661
|
+
* @public
|
|
662
|
+
*/
|
|
663
|
+
dayOfMonth?: number | undefined;
|
|
664
|
+
}
|
|
665
|
+
/**
|
|
666
|
+
* <p>Defines the payment schedule that is applied to the renewed agreement.</p>
|
|
667
|
+
* @public
|
|
668
|
+
*/
|
|
669
|
+
export interface PaymentScheduleTermTemplate {
|
|
670
|
+
/**
|
|
671
|
+
* <p>The installments that make up the payment schedule of the renewed agreement. The <code>ChargePercentage</code> values of all installments add up to <code>100</code>.</p>
|
|
672
|
+
* @public
|
|
673
|
+
*/
|
|
674
|
+
schedule?: PaymentScheduleEntry[] | undefined;
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* <p>Defines how a specific type of term changes each time the agreement renews. Exactly one of the following fields is set.</p>
|
|
678
|
+
* @public
|
|
679
|
+
*/
|
|
680
|
+
export type TermTemplate = TermTemplate.PaymentScheduleTermTemplateMember | TermTemplate.$UnknownMember;
|
|
681
|
+
/**
|
|
682
|
+
* @public
|
|
683
|
+
*/
|
|
684
|
+
export declare namespace TermTemplate {
|
|
685
|
+
/**
|
|
686
|
+
* <p>Defines the payment schedule that is applied to the renewed agreement.</p>
|
|
687
|
+
* @public
|
|
688
|
+
*/
|
|
689
|
+
interface PaymentScheduleTermTemplateMember {
|
|
690
|
+
paymentScheduleTermTemplate: PaymentScheduleTermTemplate;
|
|
691
|
+
$unknown?: never;
|
|
692
|
+
}
|
|
693
|
+
/**
|
|
694
|
+
* @public
|
|
695
|
+
*/
|
|
696
|
+
interface $UnknownMember {
|
|
697
|
+
paymentScheduleTermTemplate?: never;
|
|
698
|
+
$unknown: [string, any];
|
|
699
|
+
}
|
|
700
|
+
/**
|
|
701
|
+
* @deprecated unused in schema-serde mode.
|
|
702
|
+
*
|
|
703
|
+
*/
|
|
704
|
+
interface Visitor<T> {
|
|
705
|
+
paymentScheduleTermTemplate: (value: PaymentScheduleTermTemplate) => T;
|
|
706
|
+
_: (name: string, value: any) => T;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
/**
|
|
710
|
+
* <p>Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end date), a new agreement will be created using the accepted terms on the existing agreement. In other words, the agreement will be renewed. Presence of <code>RenewalTerm</code> in the offer document means that auto-renewal is allowed. The acceptor will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. The acceptor can also change this flag from <code>True</code> to <code>False</code> or <code>False</code> to <code>True</code>, within the limits set by <code>LockoutPeriod</code> and <code>MaxRenewals</code>. Setting the flag to <code>True</code> doesn't by itself guarantee that the agreement renews, because the proposer can also opt out.</p>
|
|
569
711
|
* @public
|
|
570
712
|
*/
|
|
571
713
|
export interface RenewalTerm {
|
|
@@ -584,6 +726,31 @@ export interface RenewalTerm {
|
|
|
584
726
|
* @public
|
|
585
727
|
*/
|
|
586
728
|
configuration?: RenewalTermConfiguration | undefined;
|
|
729
|
+
/**
|
|
730
|
+
* <p>The renewal decision deadline, measured back from the end date of the agreement. This is the last day either party can opt in to or opt out of the renewal. The duration is represented in the ISO 8601 format in whole days (for example, <code>P30D</code> for 30 days or <code>P60D</code> for 60 days).</p> <p>The field is <code>null</code> when no renewal decision deadline is set. In that case, either party can change the auto-renewal decision up to the end date of the agreement.</p>
|
|
731
|
+
* @public
|
|
732
|
+
*/
|
|
733
|
+
lockoutPeriod?: string | undefined;
|
|
734
|
+
/**
|
|
735
|
+
* <p>The maximum number of times the agreement can be renewed. The field is <code>null</code> when the number of renewals is unlimited.</p> <p>After the agreement reaches this limit, it expires on its end date instead of renewing.</p>
|
|
736
|
+
* @public
|
|
737
|
+
*/
|
|
738
|
+
maxRenewals?: number | undefined;
|
|
739
|
+
/**
|
|
740
|
+
* <p>The date by which the proposer must finalize the price increase for the next renewal, measured back from the end date of the agreement. The duration is represented in the ISO 8601 format in whole days (for example, <code>P30D</code> for 30 days or <code>P60D</code> for 60 days).</p> <p>This field applies only when <code>PriceIncrease</code> is a <code>PercentageRange</code>. The field is <code>null</code> when <code>PriceIncrease</code> is a <code>FixedPercentage</code>, because the price increase is already fixed and there is nothing for the proposer to finalize. If the proposer doesn't finalize a value by the adjustment deadline, the <code>DefaultValue</code> of the range applies.</p> <p> <code>AdjustmentDeadline</code> must be greater than <code>LockoutPeriod</code>.</p>
|
|
741
|
+
* @public
|
|
742
|
+
*/
|
|
743
|
+
adjustmentDeadline?: string | undefined;
|
|
744
|
+
/**
|
|
745
|
+
* <p>The price increase that is applied each time the agreement renews. The field is <code>null</code> when the price doesn't change at renewal.</p>
|
|
746
|
+
* @public
|
|
747
|
+
*/
|
|
748
|
+
priceIncrease?: PriceIncrease | undefined;
|
|
749
|
+
/**
|
|
750
|
+
* <p>Defines how specific terms change each time the agreement renews. The field is <code>null</code> when no terms change at renewal.</p>
|
|
751
|
+
* @public
|
|
752
|
+
*/
|
|
753
|
+
termTemplates?: TermTemplate[] | undefined;
|
|
587
754
|
}
|
|
588
755
|
/**
|
|
589
756
|
* <p>Defines the customer support available for the acceptors when they purchase the software.</p>
|
|
@@ -771,7 +938,7 @@ export declare namespace AcceptedTerm {
|
|
|
771
938
|
$unknown?: never;
|
|
772
939
|
}
|
|
773
940
|
/**
|
|
774
|
-
* <p>Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end date), a new agreement will be created using the accepted terms on the existing agreement. In other words, the agreement will be renewed. Presence of <code>RenewalTerm</code> in the offer document means that auto-renewal is allowed.
|
|
941
|
+
* <p>Defines that on graceful expiration of the agreement (when the agreement ends on its pre-defined end date), a new agreement will be created using the accepted terms on the existing agreement. In other words, the agreement will be renewed. Presence of <code>RenewalTerm</code> in the offer document means that auto-renewal is allowed. The acceptor will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. The acceptor can also change this flag from <code>True</code> to <code>False</code> or <code>False</code> to <code>True</code>, within the limits set by <code>LockoutPeriod</code> and <code>MaxRenewals</code>. Setting the flag to <code>True</code> doesn't by itself guarantee that the agreement renews, because the proposer can also opt out.</p>
|
|
775
942
|
* @public
|
|
776
943
|
*/
|
|
777
944
|
interface RenewalTermMember {
|
|
@@ -1301,6 +1468,11 @@ export interface AgreementViewSummary {
|
|
|
1301
1468
|
* @public
|
|
1302
1469
|
*/
|
|
1303
1470
|
endTime?: Date | undefined;
|
|
1471
|
+
/**
|
|
1472
|
+
* <p>The date and time when the agreement was last updated. An agreement is updated when any of its attributes or accepted terms change. Amendments, renewals, and a party changing whether the agreement renews are all examples.</p> <p>Use the <code>BeforeLastUpdateTime</code> and <code>AfterLastUpdateTime</code> filters to search on this value, and <code>LastUpdateTime</code> as the <code>SortBy</code> value to sort by it. Sorting by <code>LastUpdateTime</code> is supported only when <code>PartyType</code> is <code>Proposer</code>.</p>
|
|
1473
|
+
* @public
|
|
1474
|
+
*/
|
|
1475
|
+
lastUpdateTime?: Date | undefined;
|
|
1304
1476
|
/**
|
|
1305
1477
|
* <p>The type of agreement.</p>
|
|
1306
1478
|
* @public
|
|
@@ -1331,6 +1503,21 @@ export interface AgreementViewSummary {
|
|
|
1331
1503
|
* @public
|
|
1332
1504
|
*/
|
|
1333
1505
|
entitlements?: Entitlement[] | undefined;
|
|
1506
|
+
/**
|
|
1507
|
+
* <p>The unique identifier of the very first agreement in a chain of related agreements, such as renewals or replacements. It stays the same across all agreements in that chain, which lets you trace an agreement back to the original. You can also use it as the <code>InitialAgreementId</code> filter value to return every agreement in the same chain.</p>
|
|
1508
|
+
* @public
|
|
1509
|
+
*/
|
|
1510
|
+
initialAgreementId?: string | undefined;
|
|
1511
|
+
/**
|
|
1512
|
+
* <p>The behavior of the agreement when it reaches its end date. The field is <code>null</code> for agreements that have no end date, because those agreements never reach an end time.</p> <p>Types include:</p> <ul> <li> <p> <code>RENEW</code> – A new agreement is created from the accepted terms of this agreement.</p> </li> <li> <p> <code>REPLACE</code> – A new agreement is created from a different offer than the one this agreement was created from. This happens, for example, when a private offer reaches its end date and the acceptor transitions to the public offer for the product.</p> </li> <li> <p> <code>EXPIRE</code> – The agreement ends and isn't renewed or replaced.</p> </li> </ul>
|
|
1513
|
+
* @public
|
|
1514
|
+
*/
|
|
1515
|
+
endTimeBehaviorType?: EndTimeBehaviorType | undefined;
|
|
1516
|
+
/**
|
|
1517
|
+
* <p>The reason why the agreement doesn't renew at its end date. The field is <code>null</code> when the agreement renews.</p> <p>More than one reason can apply to the same agreement. When that happens, the operation returns only one reason code, and <code>PROPOSER_RENEW_OPTED_OUT</code> takes precedence over all others.</p> <p>The <code>EnableAutoRenew</code> field reflects only the acceptor's preference, and doesn't reflect the other reasons an agreement might not renew.</p> <p>Reason codes include:</p> <ul> <li> <p> <code>PROPOSER_RENEW_OPTED_OUT</code> – The proposer opted out of renewing the agreement.</p> </li> <li> <p> <code>ACCEPTOR_RENEW_OPTED_OUT</code> – The acceptor opted out of renewing the agreement.</p> </li> <li> <p> <code>NO_RENEWAL_TERM</code> – The accepted terms of the agreement don't include a renewal term, which is required for an agreement to renew.</p> </li> <li> <p> <code>RENEWAL_LIMIT_EXHAUSTED</code> – The agreement reached the maximum number of renewals allowed by its renewal term.</p> </li> </ul>
|
|
1518
|
+
* @public
|
|
1519
|
+
*/
|
|
1520
|
+
endTimeBehaviorReasonCode?: EndTimeBehaviorReasonCode | undefined;
|
|
1334
1521
|
}
|
|
1335
1522
|
/**
|
|
1336
1523
|
* <p>An individual entry in a batch billing adjustment request, specifying the invoice and adjustment details.</p>
|
|
@@ -1871,6 +2058,38 @@ export interface DescribeAgreementInput {
|
|
|
1871
2058
|
*/
|
|
1872
2059
|
agreementId: string | undefined;
|
|
1873
2060
|
}
|
|
2061
|
+
/**
|
|
2062
|
+
* <p>The details of the renewal that applies at the end date of an agreement.</p>
|
|
2063
|
+
* @public
|
|
2064
|
+
*/
|
|
2065
|
+
export interface RenewalSummary {
|
|
2066
|
+
/**
|
|
2067
|
+
* <p>The unique identifier of the offer that provides the terms for the next renewal cycle. For most renewals, this is the same offer that the agreement was created from.</p>
|
|
2068
|
+
* @public
|
|
2069
|
+
*/
|
|
2070
|
+
offerId?: string | undefined;
|
|
2071
|
+
}
|
|
2072
|
+
/**
|
|
2073
|
+
* <p>The behavior of an agreement when it reaches its end date. For example, whether the agreement renews, and if it doesn't, the reason why.</p>
|
|
2074
|
+
* @public
|
|
2075
|
+
*/
|
|
2076
|
+
export interface EndTimeBehavior {
|
|
2077
|
+
/**
|
|
2078
|
+
* <p>The behavior of the agreement when it reaches its end date.</p> <p>Types include:</p> <ul> <li> <p> <code>RENEW</code> – A new agreement is created from the accepted terms of this agreement.</p> </li> <li> <p> <code>REPLACE</code> – A new agreement is created from a different offer than the one this agreement was created from. This happens, for example, when a private offer reaches its end date and the acceptor transitions to the public offer for the product.</p> </li> <li> <p> <code>EXPIRE</code> – The agreement ends and isn't renewed or replaced.</p> </li> </ul>
|
|
2079
|
+
* @public
|
|
2080
|
+
*/
|
|
2081
|
+
type: EndTimeBehaviorType | undefined;
|
|
2082
|
+
/**
|
|
2083
|
+
* <p>The reason why the agreement doesn't renew at its end date. The field is <code>null</code> when the agreement renews.</p> <p>More than one reason can apply to the same agreement. When that happens, the operation returns only one reason code, and <code>PROPOSER_RENEW_OPTED_OUT</code> takes precedence over all others.</p> <p>The <code>EnableAutoRenew</code> field reflects only the acceptor's preference, and doesn't reflect the other reasons an agreement might not renew.</p> <p>Reason codes include:</p> <ul> <li> <p> <code>PROPOSER_RENEW_OPTED_OUT</code> – The proposer opted out of renewing the agreement.</p> </li> <li> <p> <code>ACCEPTOR_RENEW_OPTED_OUT</code> – The acceptor opted out of renewing the agreement.</p> </li> <li> <p> <code>NO_RENEWAL_TERM</code> – The accepted terms of the agreement don't include a renewal term, which is required for an agreement to renew.</p> </li> <li> <p> <code>RENEWAL_LIMIT_EXHAUSTED</code> – The agreement reached the maximum number of renewals allowed by its renewal term.</p> </li> </ul>
|
|
2084
|
+
* @public
|
|
2085
|
+
*/
|
|
2086
|
+
reasonCode?: EndTimeBehaviorReasonCode | undefined;
|
|
2087
|
+
/**
|
|
2088
|
+
* <p>The details of the renewal that applies at the end date of the agreement. This field is present when <code>Type</code> is <code>RENEW</code>. It is also present when <code>ReasonCode</code> is <code>PROPOSER_RENEW_OPTED_OUT</code> or <code>ACCEPTOR_RENEW_OPTED_OUT</code>. In those cases, it identifies the offer that the agreement would otherwise have renewed from. The field is <code>null</code> in all other cases.</p>
|
|
2089
|
+
* @public
|
|
2090
|
+
*/
|
|
2091
|
+
renewalSummary?: RenewalSummary | undefined;
|
|
2092
|
+
}
|
|
1874
2093
|
/**
|
|
1875
2094
|
* <p>Estimated cost of the agreement.</p>
|
|
1876
2095
|
* @public
|
|
@@ -1937,10 +2156,20 @@ export interface DescribeAgreementOutput {
|
|
|
1937
2156
|
*/
|
|
1938
2157
|
proposalSummary?: ProposalSummary | undefined;
|
|
1939
2158
|
/**
|
|
1940
|
-
* <p>The current status of the agreement.</p> <p>Statuses include:</p> <ul> <li> <p> <code>ACTIVE</code> – The terms of the agreement are active.</p> </li> <li> <p> <code>
|
|
2159
|
+
* <p>The current status of the agreement.</p> <p>Statuses include:</p> <ul> <li> <p> <code>ACTIVE</code> – The terms of the agreement are active.</p> </li> <li> <p> <code>CANCELLED</code> – The acceptor ended the agreement before the defined end date.</p> </li> <li> <p> <code>EXPIRED</code> – The agreement ended on the defined end date.</p> </li> <li> <p> <code>RENEWED</code> – The agreement was renewed into a new agreement (for example, an auto-renewal).</p> </li> <li> <p> <code>REPLACED</code> – The agreement was replaced using an agreement replacement offer.</p> </li> <li> <p> <code>TERMINATED</code> – The agreement ended before the defined end date because of an AWS termination (for example, a payment failure).</p> </li> </ul>
|
|
1941
2160
|
* @public
|
|
1942
2161
|
*/
|
|
1943
2162
|
status?: AgreementStatus | undefined;
|
|
2163
|
+
/**
|
|
2164
|
+
* <p>The unique identifier of the very first agreement in a chain of related agreements, such as renewals or replacements. It stays the same across all agreements in that chain, which lets you trace an agreement back to the original. When an agreement isn't derived from another agreement, its <code>InitialAgreementId</code> is its own <code>AgreementId</code>.</p>
|
|
2165
|
+
* @public
|
|
2166
|
+
*/
|
|
2167
|
+
initialAgreementId?: string | undefined;
|
|
2168
|
+
/**
|
|
2169
|
+
* <p>The behavior of the agreement when it reaches its end date. For example, whether the agreement renews, and if it doesn't, the reason why.</p> <p>This field is present for every active agreement that has an end date. It is not present for an agreement that has no end date, because such an agreement never reaches an end time. Pay-as-you-go agreements are the most common example. It is also not present for an agreement that is no longer active.</p>
|
|
2170
|
+
* @public
|
|
2171
|
+
*/
|
|
2172
|
+
endTimeBehavior?: EndTimeBehavior | undefined;
|
|
1944
2173
|
}
|
|
1945
2174
|
/**
|
|
1946
2175
|
* @public
|
|
@@ -2817,12 +3046,12 @@ export interface Filter {
|
|
|
2817
3046
|
*/
|
|
2818
3047
|
export interface Sort {
|
|
2819
3048
|
/**
|
|
2820
|
-
* <p>The attribute on which the data is grouped, which can be
|
|
3049
|
+
* <p>The attribute on which the data is grouped, which can be <code>EndTime</code>, <code>StartTime</code>, or <code>LastUpdateTime</code>. <code>StartTime</code> and <code>LastUpdateTime</code> are supported only when <code>PartyType</code> is <code>Proposer</code>. The default value is <code>EndTime</code>.</p>
|
|
2821
3050
|
* @public
|
|
2822
3051
|
*/
|
|
2823
3052
|
sortBy?: string | undefined;
|
|
2824
3053
|
/**
|
|
2825
|
-
* <p>The sorting order, which can be <code>ASCENDING</code> or <code>DESCENDING</code>. The default value is <code>
|
|
3054
|
+
* <p>The sorting order, which can be <code>ASCENDING</code> or <code>DESCENDING</code>. The default value is <code>ASCENDING</code>.</p>
|
|
2826
3055
|
* @public
|
|
2827
3056
|
*/
|
|
2828
3057
|
sortOrder?: SortOrder | undefined;
|
|
@@ -2837,12 +3066,12 @@ export interface SearchAgreementsInput {
|
|
|
2837
3066
|
*/
|
|
2838
3067
|
catalog?: string | undefined;
|
|
2839
3068
|
/**
|
|
2840
|
-
* <p>The filter name and value pair used to return a specific list of results.</p> <p>The following filters are supported:</p> <ul> <li> <p> <code>ResourceIdentifier</code> – The unique identifier of the resource.</p> </li> <li> <p> <code>ResourceType</code> – Type of the resource, which is the product (<code>AmiProduct</code>, <code>ContainerProduct</code>, <code>SaaSProduct</code>, <code>ProfessionalServicesProduct</code>, or <code>MachineLearningProduct</code>).</p> </li> <li> <p> <code>PartyType</code> – The party type of the caller. Use <code>Proposer</code> or <code>Acceptor</code>.</p> </li> <li> <p> <code>AcceptorAccountId</code> – The AWS account ID of the party accepting the agreement terms.</p> </li> <li> <p> <code>OfferId</code> – The unique identifier of the offer in which the terms are registered in the agreement token.</p> </li> <li> <p> <code>Status</code> – The current status of the agreement. Values include <code>ACTIVE</code>, <code>
|
|
3069
|
+
* <p>The filter name and value pair used to return a specific list of results.</p> <p>The following filters are supported:</p> <ul> <li> <p> <code>ResourceIdentifier</code> – The unique identifier of the resource.</p> </li> <li> <p> <code>ResourceType</code> – Type of the resource, which is the product (<code>AmiProduct</code>, <code>ContainerProduct</code>, <code>SaaSProduct</code>, <code>ProfessionalServicesProduct</code>, or <code>MachineLearningProduct</code>).</p> </li> <li> <p> <code>PartyType</code> – The party type of the caller. Use <code>Proposer</code> or <code>Acceptor</code>.</p> </li> <li> <p> <code>AcceptorAccountId</code> – The AWS account ID of the party accepting the agreement terms.</p> </li> <li> <p> <code>OfferId</code> – The unique identifier of the offer in which the terms are registered in the agreement token.</p> </li> <li> <p> <code>Status</code> – The current status of the agreement. Values include <code>ACTIVE</code>, <code>CANCELLED</code>, <code>EXPIRED</code>, <code>RENEWED</code>, <code>REPLACED</code>, and <code>TERMINATED</code>.</p> </li> <li> <p> <code>BeforeEndTime</code> – A date used to filter agreements with a date before the <code>endTime</code> of an agreement.</p> </li> <li> <p> <code>AfterEndTime</code> – A date used to filter agreements with a date after the <code>endTime</code> of an agreement.</p> </li> <li> <p> <code>BeforeStartTime</code> – A date used to filter agreements with a date before the <code>startTime</code> of an agreement.</p> </li> <li> <p> <code>AfterStartTime</code> – A date used to filter agreements with a date after the <code>startTime</code> of an agreement.</p> </li> <li> <p> <code>BeforeLastUpdateTime</code> – A date used to filter agreements with a date before the <code>lastUpdateTime</code> of an agreement.</p> </li> <li> <p> <code>AfterLastUpdateTime</code> – A date used to filter agreements with a date after the <code>lastUpdateTime</code> of an agreement.</p> </li> <li> <p> <code>AgreementType</code> – The type of agreement. Supported value includes <code>PurchaseAgreement</code>.</p> </li> <li> <p> <code>OfferSetId</code> – A unique identifier for the offer set containing this offer. All agreements created from offers in this set include this identifier as context.</p> </li> <li> <p> <code>EndTimeBehaviorType</code> – What happens to the agreement when it reaches its end date. Values include <code>RENEW</code>, <code>REPLACE</code>, and <code>EXPIRE</code>.</p> </li> <li> <p> <code>EndTimeBehaviorReasonCode</code> – The reason why the agreement doesn't renew at its end date. Values include <code>PROPOSER_RENEW_OPTED_OUT</code>, <code>ACCEPTOR_RENEW_OPTED_OUT</code>, <code>NO_RENEWAL_TERM</code>, and <code>RENEWAL_LIMIT_EXHAUSTED</code>.</p> </li> <li> <p> <code>InitialAgreementId</code> – The unique identifier of the very first agreement in a chain of related agreements. Use this filter to return every agreement in the same chain.</p> </li> <li> <p> <code>LicenseArn</code> – The Amazon Resource Name (ARN) of the AWS License Manager license associated with an entitlement granted by the agreement.</p> </li> </ul> <p>A proposer can use any combination of the preceding filters along with <code>AgreementType</code>, which is required.</p> <p>The following filter combinations are supported when the <code>PartyType</code> is <code>Acceptor</code>:</p> <ul> <li> <p> <code>AgreementType</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>Status</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceIdentifier</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceIdentifier</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceIdentifier</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceIdentifier</code> + <code>Status</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceType</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>ResourceType</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferId</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferId</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferId</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferId</code> + <code>Status</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferSetId</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferSetId</code> + <code>EndTime</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferSetId</code> + <code>Status</code> </p> </li> <li> <p> <code>AgreementType</code> + <code>OfferSetId</code> + <code>Status</code> + <code>EndTime</code> </p> </li> </ul> <note> <p>To filter by <code>EndTime</code>, you can use <code>BeforeEndTime</code>, <code>AfterEndTime</code>, or both.</p> </note>
|
|
2841
3070
|
* @public
|
|
2842
3071
|
*/
|
|
2843
3072
|
filters?: Filter[] | undefined;
|
|
2844
3073
|
/**
|
|
2845
|
-
* <p>An object that contains the <code>SortBy</code> and <code>SortOrder</code> attributes.
|
|
3074
|
+
* <p>An object that contains the <code>SortBy</code> and <code>SortOrder</code> attributes. For <code>SearchAgreements</code>, <code>SortBy</code> supports <code>EndTime</code> for both party types, and <code>StartTime</code> and <code>LastUpdateTime</code> only when <code>PartyType</code> is <code>Proposer</code>. The default <code>SortBy</code> value is <code>EndTime</code>.</p>
|
|
2846
3075
|
* @public
|
|
2847
3076
|
*/
|
|
2848
3077
|
sort?: Sort | undefined;
|
|
@@ -50,11 +50,13 @@ export declare var DescribeAgreementInput$: StaticStructureSchema;
|
|
|
50
50
|
export declare var DescribeAgreementOutput$: StaticStructureSchema;
|
|
51
51
|
export declare var Dimension$: StaticStructureSchema;
|
|
52
52
|
export declare var DocumentItem$: StaticStructureSchema;
|
|
53
|
+
export declare var EndTimeBehavior$: StaticStructureSchema;
|
|
53
54
|
export declare var Entitlement$: StaticStructureSchema;
|
|
54
55
|
export declare var EstimatedCharges$: StaticStructureSchema;
|
|
55
56
|
export declare var EstimatedTaxes$: StaticStructureSchema;
|
|
56
57
|
export declare var ExpectedCharge$: StaticStructureSchema;
|
|
57
58
|
export declare var Filter$: StaticStructureSchema;
|
|
59
|
+
export declare var FixedPercentage$: StaticStructureSchema;
|
|
58
60
|
export declare var FixedUpfrontPricingTerm$: StaticStructureSchema;
|
|
59
61
|
export declare var FreeTrialPricingTerm$: StaticStructureSchema;
|
|
60
62
|
export declare var GetAgreementCancellationRequestInput$: StaticStructureSchema;
|
|
@@ -84,7 +86,10 @@ export declare var ListBillingAdjustmentRequestsInput$: StaticStructureSchema;
|
|
|
84
86
|
export declare var ListBillingAdjustmentRequestsOutput$: StaticStructureSchema;
|
|
85
87
|
export declare var NetPaymentTerm$: StaticStructureSchema;
|
|
86
88
|
export declare var PaymentRequestSummary$: StaticStructureSchema;
|
|
89
|
+
export declare var PaymentScheduleEntry$: StaticStructureSchema;
|
|
87
90
|
export declare var PaymentScheduleTerm$: StaticStructureSchema;
|
|
91
|
+
export declare var PaymentScheduleTermTemplate$: StaticStructureSchema;
|
|
92
|
+
export declare var PercentageRange$: StaticStructureSchema;
|
|
88
93
|
export declare var PricingCurrencyAmount$: StaticStructureSchema;
|
|
89
94
|
export declare var ProposalSummary$: StaticStructureSchema;
|
|
90
95
|
export declare var Proposer$: StaticStructureSchema;
|
|
@@ -95,6 +100,7 @@ export declare var RejectAgreementCancellationRequestInput$: StaticStructureSche
|
|
|
95
100
|
export declare var RejectAgreementCancellationRequestOutput$: StaticStructureSchema;
|
|
96
101
|
export declare var RejectAgreementPaymentRequestInput$: StaticStructureSchema;
|
|
97
102
|
export declare var RejectAgreementPaymentRequestOutput$: StaticStructureSchema;
|
|
103
|
+
export declare var RenewalSummary$: StaticStructureSchema;
|
|
98
104
|
export declare var RenewalTerm$: StaticStructureSchema;
|
|
99
105
|
export declare var RenewalTermConfiguration$: StaticStructureSchema;
|
|
100
106
|
export declare var RequestedTerm$: StaticStructureSchema;
|
|
@@ -120,7 +126,9 @@ export declare var ValidityTerm$: StaticStructureSchema;
|
|
|
120
126
|
export declare var VariablePaymentTerm$: StaticStructureSchema;
|
|
121
127
|
export declare var VariablePaymentTermConfiguration$: StaticStructureSchema;
|
|
122
128
|
export declare var AcceptedTerm$: StaticUnionSchema;
|
|
129
|
+
export declare var PriceIncrease$: StaticUnionSchema;
|
|
123
130
|
export declare var RequestedTermConfiguration$: StaticUnionSchema;
|
|
131
|
+
export declare var TermTemplate$: StaticUnionSchema;
|
|
124
132
|
export declare var AcceptAgreementCancellationRequest$: StaticOperationSchema;
|
|
125
133
|
export declare var AcceptAgreementPaymentRequest$: StaticOperationSchema;
|
|
126
134
|
export declare var AcceptAgreementRequest$: StaticOperationSchema;
|
|
@@ -179,6 +179,20 @@ export declare const AgreementStatus: {
|
|
|
179
179
|
readonly TERMINATED: "TERMINATED";
|
|
180
180
|
};
|
|
181
181
|
export type AgreementStatus = (typeof AgreementStatus)[keyof typeof AgreementStatus];
|
|
182
|
+
export declare const EndTimeBehaviorReasonCode: {
|
|
183
|
+
readonly ACCEPTOR_RENEW_OPTED_OUT: "ACCEPTOR_RENEW_OPTED_OUT";
|
|
184
|
+
readonly NO_RENEWAL_TERM: "NO_RENEWAL_TERM";
|
|
185
|
+
readonly PROPOSER_RENEW_OPTED_OUT: "PROPOSER_RENEW_OPTED_OUT";
|
|
186
|
+
readonly RENEWAL_LIMIT_EXHAUSTED: "RENEWAL_LIMIT_EXHAUSTED";
|
|
187
|
+
};
|
|
188
|
+
export type EndTimeBehaviorReasonCode =
|
|
189
|
+
(typeof EndTimeBehaviorReasonCode)[keyof typeof EndTimeBehaviorReasonCode];
|
|
190
|
+
export declare const EndTimeBehaviorType: {
|
|
191
|
+
readonly EXPIRE: "EXPIRE";
|
|
192
|
+
readonly RENEW: "RENEW";
|
|
193
|
+
readonly REPLACE: "REPLACE";
|
|
194
|
+
};
|
|
195
|
+
export type EndTimeBehaviorType = (typeof EndTimeBehaviorType)[keyof typeof EndTimeBehaviorType];
|
|
182
196
|
export declare const BillingAdjustmentReasonCode: {
|
|
183
197
|
readonly ALTERNATIVE_PROCUREMENT_CHANNEL: "ALTERNATIVE_PROCUREMENT_CHANNEL";
|
|
184
198
|
readonly BUYER_DISSATISFACTION: "BUYER_DISSATISFACTION";
|