cdk-lambda-subminute 2.0.312 → 2.0.314

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 (54) hide show
  1. package/.jsii +3 -3
  2. package/lib/cdk-lambda-subminute.js +3 -3
  3. package/node_modules/aws-sdk/README.md +1 -1
  4. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.min.json +319 -17
  5. package/node_modules/aws-sdk/apis/arc-zonal-shift-2022-10-30.paginators.json +6 -0
  6. package/node_modules/aws-sdk/apis/cleanrooms-2022-02-17.min.json +1222 -83
  7. package/node_modules/aws-sdk/apis/cleanrooms-2022-02-17.paginators.json +36 -0
  8. package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.examples.json +5 -0
  9. package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.min.json +1226 -0
  10. package/node_modules/aws-sdk/apis/cleanroomsml-2023-09-06.paginators.json +34 -0
  11. package/node_modules/aws-sdk/apis/glue-2017-03-31.min.json +654 -589
  12. package/node_modules/aws-sdk/apis/marketplace-agreement-2020-03-01.examples.json +5 -0
  13. package/node_modules/aws-sdk/apis/marketplace-agreement-2020-03-01.min.json +397 -0
  14. package/node_modules/aws-sdk/apis/marketplace-agreement-2020-03-01.paginators.json +14 -0
  15. package/node_modules/aws-sdk/apis/marketplace-catalog-2018-09-17.min.json +542 -7
  16. package/node_modules/aws-sdk/apis/marketplace-deployment-2023-01-25.examples.json +5 -0
  17. package/node_modules/aws-sdk/apis/marketplace-deployment-2023-01-25.min.json +178 -0
  18. package/node_modules/aws-sdk/apis/marketplace-deployment-2023-01-25.paginators.json +4 -0
  19. package/node_modules/aws-sdk/apis/metadata.json +11 -0
  20. package/node_modules/aws-sdk/apis/opensearch-2021-01-01.min.json +369 -195
  21. package/node_modules/aws-sdk/apis/opensearchserverless-2021-11-01.min.json +49 -46
  22. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.min.json +436 -74
  23. package/node_modules/aws-sdk/apis/redshift-serverless-2021-04-21.paginators.json +12 -0
  24. package/node_modules/aws-sdk/apis/runtime.sagemaker-2017-05-13.min.json +8 -0
  25. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +1955 -1012
  26. package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.paginators.json +18 -0
  27. package/node_modules/aws-sdk/clients/all.d.ts +3 -0
  28. package/node_modules/aws-sdk/clients/all.js +4 -1
  29. package/node_modules/aws-sdk/clients/applicationautoscaling.d.ts +31 -31
  30. package/node_modules/aws-sdk/clients/arczonalshift.d.ts +330 -30
  31. package/node_modules/aws-sdk/clients/cleanrooms.d.ts +1292 -177
  32. package/node_modules/aws-sdk/clients/cleanroomsml.d.ts +1232 -0
  33. package/node_modules/aws-sdk/clients/cleanroomsml.js +18 -0
  34. package/node_modules/aws-sdk/clients/glue.d.ts +83 -2
  35. package/node_modules/aws-sdk/clients/marketplaceagreement.d.ts +602 -0
  36. package/node_modules/aws-sdk/clients/marketplaceagreement.js +18 -0
  37. package/node_modules/aws-sdk/clients/marketplacecatalog.d.ts +883 -2
  38. package/node_modules/aws-sdk/clients/marketplacedeployment.d.ts +172 -0
  39. package/node_modules/aws-sdk/clients/marketplacedeployment.js +18 -0
  40. package/node_modules/aws-sdk/clients/opensearch.d.ts +170 -1
  41. package/node_modules/aws-sdk/clients/opensearchserverless.d.ts +13 -0
  42. package/node_modules/aws-sdk/clients/redshiftserverless.d.ts +463 -6
  43. package/node_modules/aws-sdk/clients/sagemaker.d.ts +1230 -62
  44. package/node_modules/aws-sdk/clients/sagemakerruntime.d.ts +11 -2
  45. package/node_modules/aws-sdk/clients/sts.d.ts +1 -1
  46. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
  47. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +128 -17
  48. package/node_modules/aws-sdk/dist/aws-sdk.js +556 -10
  49. package/node_modules/aws-sdk/dist/aws-sdk.min.js +40 -40
  50. package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +6 -0
  51. package/node_modules/aws-sdk/lib/core.js +1 -1
  52. package/node_modules/aws-sdk/package.json +1 -1
  53. package/package.json +2 -2
  54. package/node_modules/aws-sdk/CHANGELOG.md +0 -9341
@@ -0,0 +1,602 @@
1
+ import {Request} from '../lib/request';
2
+ import {Response} from '../lib/response';
3
+ import {AWSError} from '../lib/error';
4
+ import {Service} from '../lib/service';
5
+ import {ServiceConfigurationOptions} from '../lib/service';
6
+ import {ConfigBase as Config} from '../lib/config-base';
7
+ interface Blob {}
8
+ declare class MarketplaceAgreement extends Service {
9
+ /**
10
+ * Constructs a service object. This object has one method for each API operation.
11
+ */
12
+ constructor(options?: MarketplaceAgreement.Types.ClientConfiguration)
13
+ config: Config & MarketplaceAgreement.Types.ClientConfiguration;
14
+ /**
15
+ * Provides details about an agreement, such as the proposer, acceptor, start date, and end date.
16
+ */
17
+ describeAgreement(params: MarketplaceAgreement.Types.DescribeAgreementInput, callback?: (err: AWSError, data: MarketplaceAgreement.Types.DescribeAgreementOutput) => void): Request<MarketplaceAgreement.Types.DescribeAgreementOutput, AWSError>;
18
+ /**
19
+ * Provides details about an agreement, such as the proposer, acceptor, start date, and end date.
20
+ */
21
+ describeAgreement(callback?: (err: AWSError, data: MarketplaceAgreement.Types.DescribeAgreementOutput) => void): Request<MarketplaceAgreement.Types.DescribeAgreementOutput, AWSError>;
22
+ /**
23
+ * Obtains details about the terms in an agreement that you participated in as proposer or acceptor. The details include: TermType – The type of term, such as LegalTerm, RenewalTerm, or ConfigurableUpfrontPricingTerm. TermID – The ID of the particular term, which is common between offer and agreement. TermPayload – The key information contained in the term, such as the EULA for LegalTerm or pricing and dimensions for various pricing terms, such as ConfigurableUpfrontPricingTerm or UsageBasedPricingTerm. Configuration – The buyer/acceptor's selection at the time of agreement creation, such as the number of units purchased for a dimension or setting the EnableAutoRenew flag.
24
+ */
25
+ getAgreementTerms(params: MarketplaceAgreement.Types.GetAgreementTermsInput, callback?: (err: AWSError, data: MarketplaceAgreement.Types.GetAgreementTermsOutput) => void): Request<MarketplaceAgreement.Types.GetAgreementTermsOutput, AWSError>;
26
+ /**
27
+ * Obtains details about the terms in an agreement that you participated in as proposer or acceptor. The details include: TermType – The type of term, such as LegalTerm, RenewalTerm, or ConfigurableUpfrontPricingTerm. TermID – The ID of the particular term, which is common between offer and agreement. TermPayload – The key information contained in the term, such as the EULA for LegalTerm or pricing and dimensions for various pricing terms, such as ConfigurableUpfrontPricingTerm or UsageBasedPricingTerm. Configuration – The buyer/acceptor's selection at the time of agreement creation, such as the number of units purchased for a dimension or setting the EnableAutoRenew flag.
28
+ */
29
+ getAgreementTerms(callback?: (err: AWSError, data: MarketplaceAgreement.Types.GetAgreementTermsOutput) => void): Request<MarketplaceAgreement.Types.GetAgreementTermsOutput, AWSError>;
30
+ /**
31
+ * 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. The following filter combinations are supported: PartyType as Proposer + AgreementType + ResourceIdentifier PartyType as Proposer + AgreementType + OfferId PartyType as Proposer + AgreementType + AcceptorAccountId PartyType as Proposer + AgreementType + Status PartyType as Proposer + AgreementType + ResourceIdentifier + Status PartyType as Proposer + AgreementType + OfferId + Status PartyType as Proposer + AgreementType + AcceptorAccountId + Status PartyType as Proposer + AgreementType + ResourceType + Status PartyType as Proposer + AgreementType + AcceptorAccountId + ResourceType + Status PartyType as Proposer + AgreementType + AcceptorAccountId + OfferId PartyType as Proposer + AgreementType + AcceptorAccountId + OfferId + Status PartyType as Proposer + AgreementType + AcceptorAccountId + ResourceIdentifier PartyType as Proposer + AgreementType + AcceptorAccountId + ResourceIdentifier + Status PartyType as Proposer + AgreementType + AcceptorAccountId + ResourceType
32
+ */
33
+ searchAgreements(params: MarketplaceAgreement.Types.SearchAgreementsInput, callback?: (err: AWSError, data: MarketplaceAgreement.Types.SearchAgreementsOutput) => void): Request<MarketplaceAgreement.Types.SearchAgreementsOutput, AWSError>;
34
+ /**
35
+ * 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. The following filter combinations are supported: PartyType as Proposer + AgreementType + ResourceIdentifier PartyType as Proposer + AgreementType + OfferId PartyType as Proposer + AgreementType + AcceptorAccountId PartyType as Proposer + AgreementType + Status PartyType as Proposer + AgreementType + ResourceIdentifier + Status PartyType as Proposer + AgreementType + OfferId + Status PartyType as Proposer + AgreementType + AcceptorAccountId + Status PartyType as Proposer + AgreementType + ResourceType + Status PartyType as Proposer + AgreementType + AcceptorAccountId + ResourceType + Status PartyType as Proposer + AgreementType + AcceptorAccountId + OfferId PartyType as Proposer + AgreementType + AcceptorAccountId + OfferId + Status PartyType as Proposer + AgreementType + AcceptorAccountId + ResourceIdentifier PartyType as Proposer + AgreementType + AcceptorAccountId + ResourceIdentifier + Status PartyType as Proposer + AgreementType + AcceptorAccountId + ResourceType
36
+ */
37
+ searchAgreements(callback?: (err: AWSError, data: MarketplaceAgreement.Types.SearchAgreementsOutput) => void): Request<MarketplaceAgreement.Types.SearchAgreementsOutput, AWSError>;
38
+ }
39
+ declare namespace MarketplaceAgreement {
40
+ export type AWSAccountId = string;
41
+ export interface AcceptedTerm {
42
+ /**
43
+ * Enables you and your customers to move your existing agreements to AWS Marketplace. The customer won't be charged for product usage in AWS Marketplace because they already paid for the product outside of AWS Marketplace.
44
+ */
45
+ byolPricingTerm?: ByolPricingTerm;
46
+ /**
47
+ * Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.
48
+ */
49
+ configurableUpfrontPricingTerm?: ConfigurableUpfrontPricingTerm;
50
+ /**
51
+ * Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.
52
+ */
53
+ fixedUpfrontPricingTerm?: FixedUpfrontPricingTerm;
54
+ /**
55
+ * Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.
56
+ */
57
+ freeTrialPricingTerm?: FreeTrialPricingTerm;
58
+ /**
59
+ * Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).
60
+ */
61
+ legalTerm?: LegalTerm;
62
+ /**
63
+ * Defines an installment-based pricing model where customers are charged a fixed price on different dates during the agreement validity period. This is used most commonly for flexible payment schedule pricing.
64
+ */
65
+ paymentScheduleTerm?: PaymentScheduleTerm;
66
+ /**
67
+ * Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.
68
+ */
69
+ recurringPaymentTerm?: RecurringPaymentTerm;
70
+ /**
71
+ * 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 RenewalTerm in the offer document means that auto-renewal is allowed. Buyers will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. Buyers can also change this flag from True to False or False to True at anytime during the agreement's lifecycle.
72
+ */
73
+ renewalTerm?: RenewalTerm;
74
+ /**
75
+ * Defines the customer support available for the acceptors when they purchase the software.
76
+ */
77
+ supportTerm?: SupportTerm;
78
+ /**
79
+ * Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.
80
+ */
81
+ usageBasedPricingTerm?: UsageBasedPricingTerm;
82
+ /**
83
+ * Defines the conditions that will keep an agreement created from this offer valid.
84
+ */
85
+ validityTerm?: ValidityTerm;
86
+ }
87
+ export type AcceptedTermList = AcceptedTerm[];
88
+ export interface Acceptor {
89
+ /**
90
+ * The AWS account ID of the acceptor.
91
+ */
92
+ accountId?: AWSAccountId;
93
+ }
94
+ export type AgreementResourceType = string;
95
+ export type AgreementStatus = "ACTIVE"|"ARCHIVED"|"CANCELLED"|"EXPIRED"|"RENEWED"|"REPLACED"|"ROLLED_BACK"|"SUPERSEDED"|"TERMINATED"|string;
96
+ export type AgreementType = string;
97
+ export interface AgreementViewSummary {
98
+ /**
99
+ * The date and time that the agreement was accepted.
100
+ */
101
+ acceptanceTime?: Timestamp;
102
+ /**
103
+ * Details of the party accepting the agreement terms. This is commonly the buyer for PurchaseAgreement.
104
+ */
105
+ acceptor?: Acceptor;
106
+ /**
107
+ * The unique identifier of the agreement.
108
+ */
109
+ agreementId?: ResourceId;
110
+ /**
111
+ * The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.
112
+ */
113
+ agreementType?: AgreementType;
114
+ /**
115
+ * The date and time when the agreement ends. The field is null for pay-as-you-go agreements, which don’t have end dates.
116
+ */
117
+ endTime?: Timestamp;
118
+ /**
119
+ * A summary of the proposal
120
+ */
121
+ proposalSummary?: ProposalSummary;
122
+ /**
123
+ * Details of the party proposing the agreement terms, most commonly the seller for PurchaseAgreement.
124
+ */
125
+ proposer?: Proposer;
126
+ /**
127
+ * The date and time when the agreement starts.
128
+ */
129
+ startTime?: Timestamp;
130
+ /**
131
+ * The current status of the agreement.
132
+ */
133
+ status?: AgreementStatus;
134
+ }
135
+ export type AgreementViewSummaryList = AgreementViewSummary[];
136
+ export type Boolean = boolean;
137
+ export type BoundedString = string;
138
+ export interface ByolPricingTerm {
139
+ /**
140
+ * Type of the term being updated.
141
+ */
142
+ type?: UnversionedTermType;
143
+ }
144
+ export type Catalog = string;
145
+ export interface ConfigurableUpfrontPricingTerm {
146
+ /**
147
+ * Additional parameters specified by the acceptor while accepting the term.
148
+ */
149
+ configuration?: ConfigurableUpfrontPricingTermConfiguration;
150
+ /**
151
+ * Defines the currency for the prices mentioned in the term.
152
+ */
153
+ currencyCode?: CurrencyCode;
154
+ /**
155
+ * A rate card defines the per unit rates for product dimensions.
156
+ */
157
+ rateCards?: ConfigurableUpfrontRateCardList;
158
+ /**
159
+ * Category of selector.
160
+ */
161
+ type?: UnversionedTermType;
162
+ }
163
+ export interface ConfigurableUpfrontPricingTermConfiguration {
164
+ /**
165
+ * Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.
166
+ */
167
+ dimensions: DimensionList;
168
+ /**
169
+ * Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.
170
+ */
171
+ selectorValue: BoundedString;
172
+ }
173
+ export interface ConfigurableUpfrontRateCardItem {
174
+ /**
175
+ * Defines limits on how the term can be configured by acceptors.
176
+ */
177
+ constraints?: Constraints;
178
+ /**
179
+ * Defines the per unit rates for product dimensions.
180
+ */
181
+ rateCard?: RateCardList;
182
+ /**
183
+ * Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.
184
+ */
185
+ selector?: Selector;
186
+ }
187
+ export type ConfigurableUpfrontRateCardList = ConfigurableUpfrontRateCardItem[];
188
+ export interface Constraints {
189
+ /**
190
+ * Determines if buyers are allowed to select multiple dimensions in the rate card. The possible values are Allowed and Disallowed. The default value is Allowed.
191
+ */
192
+ multipleDimensionSelection?: BoundedString;
193
+ /**
194
+ * Determines if acceptors are allowed to configure quantity for each dimension in rate card. The possible values are Allowed and Disallowed. The default value is Allowed.
195
+ */
196
+ quantityConfiguration?: BoundedString;
197
+ }
198
+ export type CurrencyCode = string;
199
+ export interface DescribeAgreementInput {
200
+ /**
201
+ * The unique identifier of the agreement.
202
+ */
203
+ agreementId: ResourceId;
204
+ }
205
+ export interface DescribeAgreementOutput {
206
+ /**
207
+ * The date and time the offer was accepted or the agreement was created. AcceptanceTime and StartTime can differ for future dated agreements (FDAs).
208
+ */
209
+ acceptanceTime?: Timestamp;
210
+ /**
211
+ * The details of the party accepting the agreement terms. This is commonly the buyer for PurchaseAgreement.
212
+ */
213
+ acceptor?: Acceptor;
214
+ /**
215
+ * The unique identifier of the agreement.
216
+ */
217
+ agreementId?: ResourceId;
218
+ /**
219
+ * The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.
220
+ */
221
+ agreementType?: AgreementType;
222
+ /**
223
+ * The date and time when the agreement ends. The field is null for pay-as-you-go agreements, which don’t have end dates.
224
+ */
225
+ endTime?: Timestamp;
226
+ /**
227
+ * The estimated cost of the agreement.
228
+ */
229
+ estimatedCharges?: EstimatedCharges;
230
+ /**
231
+ * A summary of the proposal received from the proposer.
232
+ */
233
+ proposalSummary?: ProposalSummary;
234
+ /**
235
+ * The details of the party proposing the agreement terms. This is commonly the seller for PurchaseAgreement.
236
+ */
237
+ proposer?: Proposer;
238
+ /**
239
+ * The date and time when the agreement starts.
240
+ */
241
+ startTime?: Timestamp;
242
+ /**
243
+ * The current status of the agreement. Statuses include: ACTIVE – The terms of the agreement are active. ARCHIVED – The agreement ended without a specified reason. CANCELLED – The acceptor ended the agreement before the defined end date. EXPIRED – The agreement ended on the defined end date. RENEWED – The agreement was renewed into a new agreement (for example, an auto-renewal). REPLACED – The agreement was replaced using an agreement replacement offer. ROLLED_BACK (Only applicable to inactive agreement revisions) – The agreement revision has been rolled back because of an error. An earlier revision is now active. SUPERCEDED (Only applicable to inactive agreement revisions) – The agreement revision is no longer active and another agreement revision is now active. TERMINATED – The agreement ended before the defined end date because of an AWS termination (for example, a payment failure).
244
+ */
245
+ status?: AgreementStatus;
246
+ }
247
+ export interface Dimension {
248
+ /**
249
+ * The name of key value of the dimension.
250
+ */
251
+ dimensionKey: BoundedString;
252
+ /**
253
+ * The number of units of the dimension the acceptor has purchased. For Agreements with ConfigurableUpfrontPricingTerm, the RateCard section will define the prices and dimensions defined by the seller (proposer), whereas the Configuration section will define the actual dimensions, prices, and units the buyer has chosen to accept.
254
+ */
255
+ dimensionValue: ZeroValueInteger;
256
+ }
257
+ export type DimensionList = Dimension[];
258
+ export interface DocumentItem {
259
+ /**
260
+ * Category of the document. Document types include: CustomEula – A custom EULA provided by you as seller. A URL for a EULA stored in an accessible Amazon S3 bucket is required for this document type. CustomDsa – A custom Data Subscription Agreement (DSA) provided by you as seller. A URL for a DSA stored in an accessible Amazon S3 bucket is required for this document type. StandardEula – The Standard Contract for AWS Marketplace (SCMP). For more information about SCMP, see the AWS Marketplace Seller Guide. You don’t provide a URL for this type because it’s managed by AWS Marketplace. StandardDsa – DSA for AWS Marketplace. For more information about the DSA, see the AWS Data Exchange User Guide. You don’t provide a URL for this type because it’s managed by AWS Marketplace.
261
+ */
262
+ type?: BoundedString;
263
+ /**
264
+ * A URL to the legal document for buyers to read. Required when Type is CustomEula.
265
+ */
266
+ url?: BoundedString;
267
+ /**
268
+ * Version of standard contracts provided by AWS Marketplace. Required when Type is StandardEula or StandardDsa.
269
+ */
270
+ version?: BoundedString;
271
+ }
272
+ export type DocumentList = DocumentItem[];
273
+ export interface EstimatedCharges {
274
+ /**
275
+ * The total known amount customer has to pay across the lifecycle of the agreement. This is the total contract value if accepted terms contain ConfigurableUpfrontPricingTerm or FixedUpfrontPricingTerm. In the case of pure contract pricing, this will be the total value of the contract. In the case of contracts with consumption pricing, this will only include the committed value and not include any overages that occur. If the accepted terms contain PaymentScheduleTerm, it will be the total payment schedule amount. This occurs when flexible payment schedule is used, and is the sum of all invoice charges in the payment schedule. In case a customer has amended an agreement, by purchasing more units of any dimension, this will include both the original cost as well as the added cost incurred due to addition of new units. This is 0 if the accepted terms contain UsageBasedPricingTerm without ConfigurableUpfrontPricingTerm or RecurringPaymentTerm. This occurs for usage-based pricing (such as SaaS metered or AMI/container hourly or monthly), because the exact usage is not known upfront.
276
+ */
277
+ agreementValue?: BoundedString;
278
+ /**
279
+ * Defines the currency code for the charge.
280
+ */
281
+ currencyCode?: CurrencyCode;
282
+ }
283
+ export interface Filter {
284
+ /**
285
+ * The name of the filter.
286
+ */
287
+ name?: FilterName;
288
+ /**
289
+ * The filter value.
290
+ */
291
+ values?: FilterValueList;
292
+ }
293
+ export type FilterList = Filter[];
294
+ export type FilterName = string;
295
+ export type FilterValue = string;
296
+ export type FilterValueList = FilterValue[];
297
+ export interface FixedUpfrontPricingTerm {
298
+ /**
299
+ * Defines the currency for the prices mentioned in this term.
300
+ */
301
+ currencyCode?: CurrencyCode;
302
+ /**
303
+ * Contract duration for the terms.
304
+ */
305
+ duration?: BoundedString;
306
+ /**
307
+ * Entitlements granted to the acceptor of fixed upfront as part of agreement execution.
308
+ */
309
+ grants?: GrantList;
310
+ /**
311
+ * Fixed amount to be charged to the customer when this term is accepted.
312
+ */
313
+ price?: BoundedString;
314
+ /**
315
+ * Category of the term being updated.
316
+ */
317
+ type?: UnversionedTermType;
318
+ }
319
+ export interface FreeTrialPricingTerm {
320
+ /**
321
+ * Duration of the free trial period (5–31 days).
322
+ */
323
+ duration?: BoundedString;
324
+ /**
325
+ * Entitlements granted to the acceptor of a free trial as part of an agreement execution.
326
+ */
327
+ grants?: GrantList;
328
+ /**
329
+ * Category of the term.
330
+ */
331
+ type?: UnversionedTermType;
332
+ }
333
+ export interface GetAgreementTermsInput {
334
+ /**
335
+ * The unique identifier of the agreement.
336
+ */
337
+ agreementId: ResourceId;
338
+ /**
339
+ * The maximum number of agreements to return in the response.
340
+ */
341
+ maxResults?: MaxResults;
342
+ /**
343
+ * A token to specify where to start pagination
344
+ */
345
+ nextToken?: NextToken;
346
+ }
347
+ export interface GetAgreementTermsOutput {
348
+ /**
349
+ * A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the agreement creation.
350
+ */
351
+ acceptedTerms?: AcceptedTermList;
352
+ /**
353
+ * A token to specify where to start pagination
354
+ */
355
+ nextToken?: NextToken;
356
+ }
357
+ export interface GrantItem {
358
+ /**
359
+ * Unique dimension key defined in the product document. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.
360
+ */
361
+ dimensionKey?: BoundedString;
362
+ /**
363
+ * Maximum amount of capacity that the buyer can be entitled to the given dimension of the product. If MaxQuantity is not provided, the buyer will be able to use an unlimited amount of the given dimension.
364
+ */
365
+ maxQuantity?: PositiveIntegerWithDefaultValueOne;
366
+ }
367
+ export type GrantList = GrantItem[];
368
+ export interface LegalTerm {
369
+ /**
370
+ * List of references to legal resources proposed to the buyers. An example is the EULA.
371
+ */
372
+ documents?: DocumentList;
373
+ /**
374
+ * Category of the term being updated.
375
+ */
376
+ type?: UnversionedTermType;
377
+ }
378
+ export type MaxResults = number;
379
+ export type NextToken = string;
380
+ export type OfferId = string;
381
+ export interface PaymentScheduleTerm {
382
+ /**
383
+ * Defines the currency for the prices mentioned in the term.
384
+ */
385
+ currencyCode?: CurrencyCode;
386
+ /**
387
+ * List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.
388
+ */
389
+ schedule?: ScheduleList;
390
+ /**
391
+ * Type of the term.
392
+ */
393
+ type?: UnversionedTermType;
394
+ }
395
+ export type PositiveIntegerWithDefaultValueOne = number;
396
+ export interface ProposalSummary {
397
+ /**
398
+ * The unique identifier of the offer in AWS Marketplace.
399
+ */
400
+ offerId?: OfferId;
401
+ /**
402
+ * The list of resources involved in the agreement.
403
+ */
404
+ resources?: Resources;
405
+ }
406
+ export interface Proposer {
407
+ /**
408
+ * The AWS account ID of the proposer.
409
+ */
410
+ accountId?: AWSAccountId;
411
+ }
412
+ export interface RateCardItem {
413
+ /**
414
+ * Dimension for which the given entitlement applies. Dimensions represent categories of capacity in a product and are specified when the product is listed in AWS Marketplace.
415
+ */
416
+ dimensionKey?: BoundedString;
417
+ /**
418
+ * Per unit price for the product dimension that’s used for calculating the amount to be charged.
419
+ */
420
+ price?: BoundedString;
421
+ }
422
+ export type RateCardList = RateCardItem[];
423
+ export interface RecurringPaymentTerm {
424
+ /**
425
+ * Defines the recurrence at which buyers are charged.
426
+ */
427
+ billingPeriod?: BoundedString;
428
+ /**
429
+ * Defines the currency for the prices mentioned in this term.
430
+ */
431
+ currencyCode?: CurrencyCode;
432
+ /**
433
+ * Amount charged to the buyer every billing period.
434
+ */
435
+ price?: BoundedString;
436
+ /**
437
+ * Type of the term being updated.
438
+ */
439
+ type?: UnversionedTermType;
440
+ }
441
+ export interface RenewalTerm {
442
+ /**
443
+ * Additional parameters specified by the acceptor while accepting the term.
444
+ */
445
+ configuration?: RenewalTermConfiguration;
446
+ /**
447
+ * Category of the term being updated.
448
+ */
449
+ type?: UnversionedTermType;
450
+ }
451
+ export interface RenewalTermConfiguration {
452
+ /**
453
+ * Defines whether the acceptor has chosen to auto-renew the agreement at the end of its lifecycle. Can be set to True or False.
454
+ */
455
+ enableAutoRenew: Boolean;
456
+ }
457
+ export interface Resource {
458
+ /**
459
+ * The unique identifier of the resource. We mention the term resource, which is most commonly a product, so a resourceId is also a productId.
460
+ */
461
+ id?: ResourceId;
462
+ /**
463
+ * Type of the resource, which is the product. Values include SaaSProduct or AmiProduct.
464
+ */
465
+ type?: AgreementResourceType;
466
+ }
467
+ export type ResourceId = string;
468
+ export type Resources = Resource[];
469
+ export interface ScheduleItem {
470
+ /**
471
+ * The price that the customer would pay on the scheduled date (chargeDate).
472
+ */
473
+ chargeAmount?: BoundedString;
474
+ /**
475
+ * The date that the customer would pay the price defined in this payment schedule term. Invoices are generated on the date provided.
476
+ */
477
+ chargeDate?: Timestamp;
478
+ }
479
+ export type ScheduleList = ScheduleItem[];
480
+ export interface SearchAgreementsInput {
481
+ /**
482
+ * The catalog in which the agreement was created.
483
+ */
484
+ catalog?: Catalog;
485
+ /**
486
+ * The filter name and value pair used to return a specific list of results. The following filters are supported: ResourceIdentifier – The unique identifier of the resource. ResourceType – Type of the resource, which is the product (AmiProduct, ContainerProduct, or SaaSProduct). PartyType – The party type (either Acceptor or Proposer) of the caller. For agreements where the caller is the proposer, use the Proposer filter. For agreements where the caller is the acceptor, use the Acceptor filter. AcceptorAccountId – The AWS account ID of the party accepting the agreement terms. OfferId – The unique identifier of the offer in which the terms are registered in the agreement token. Status – The current status of the agreement. Values include ACTIVE, ARCHIVED, CANCELLED, EXPIRED, RENEWED, REPLACED, and TERMINATED. BeforeEndTime – A date used to filter agreements with a date before the endTime of an agreement. AfterEndTime – A date used to filter agreements with a date after the endTime of an agreement. AgreementType – The type of agreement. Values include PurchaseAgreement or VendorInsightsAgreement.
487
+ */
488
+ filters?: FilterList;
489
+ /**
490
+ * The maximum number of agreements to return in the response.
491
+ */
492
+ maxResults?: MaxResults;
493
+ /**
494
+ * A token to specify where to start pagination.
495
+ */
496
+ nextToken?: NextToken;
497
+ /**
498
+ * An object that contains the SortBy and SortOrder attributes.
499
+ */
500
+ sort?: Sort;
501
+ }
502
+ export interface SearchAgreementsOutput {
503
+ /**
504
+ * A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).
505
+ */
506
+ agreementViewSummaries?: AgreementViewSummaryList;
507
+ /**
508
+ * The token used for pagination. The field is null if there are no more results.
509
+ */
510
+ nextToken?: NextToken;
511
+ }
512
+ export interface Selector {
513
+ /**
514
+ * Category of selector.
515
+ */
516
+ type?: BoundedString;
517
+ /**
518
+ * Contract duration. This field supports the ISO 8601 format.
519
+ */
520
+ value?: BoundedString;
521
+ }
522
+ export interface Sort {
523
+ /**
524
+ * The attribute on which the data is grouped, which can be by StartTime and EndTime. The default value is EndTime.
525
+ */
526
+ sortBy?: SortBy;
527
+ /**
528
+ * The sorting order, which can be ASCENDING or DESCENDING. The default value is DESCENDING.
529
+ */
530
+ sortOrder?: SortOrder;
531
+ }
532
+ export type SortBy = string;
533
+ export type SortOrder = "ASCENDING"|"DESCENDING"|string;
534
+ export interface SupportTerm {
535
+ /**
536
+ * Free-text field about the refund policy description that will be shown to customers as is on the website and console.
537
+ */
538
+ refundPolicy?: BoundedString;
539
+ /**
540
+ * Category of the term being updated.
541
+ */
542
+ type?: UnversionedTermType;
543
+ }
544
+ export type Timestamp = Date;
545
+ export type UnversionedTermType = string;
546
+ export interface UsageBasedPricingTerm {
547
+ /**
548
+ * Defines the currency for the prices mentioned in the term.
549
+ */
550
+ currencyCode?: CurrencyCode;
551
+ /**
552
+ * List of rate cards.
553
+ */
554
+ rateCards?: UsageBasedRateCardList;
555
+ /**
556
+ * Category of the term.
557
+ */
558
+ type?: UnversionedTermType;
559
+ }
560
+ export interface UsageBasedRateCardItem {
561
+ /**
562
+ * Defines the per unit rates for product dimensions.
563
+ */
564
+ rateCard?: RateCardList;
565
+ }
566
+ export type UsageBasedRateCardList = UsageBasedRateCardItem[];
567
+ export interface ValidityTerm {
568
+ /**
569
+ * Defines the duration that the agreement remains active. If AgreementStartDate isn’t provided, the agreement duration is relative to the agreement signature time. The duration is represented in the ISO_8601 format.
570
+ */
571
+ agreementDuration?: BoundedString;
572
+ /**
573
+ * Defines the date when the agreement ends. The agreement ends at 23:59:59.999 UTC on the date provided. If AgreementEndDate isn’t provided, the agreement end date is determined by the validity of individual terms.
574
+ */
575
+ agreementEndDate?: Timestamp;
576
+ /**
577
+ * Defines the date when agreement starts. The agreement starts at 00:00:00.000 UTC on the date provided. If AgreementStartDate isn’t provided, the agreement start date is determined based on agreement signature time.
578
+ */
579
+ agreementStartDate?: Timestamp;
580
+ /**
581
+ * Category of the term being updated.
582
+ */
583
+ type?: UnversionedTermType;
584
+ }
585
+ export type ZeroValueInteger = number;
586
+ /**
587
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
588
+ */
589
+ export type apiVersion = "2020-03-01"|"latest"|string;
590
+ export interface ClientApiVersions {
591
+ /**
592
+ * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
593
+ */
594
+ apiVersion?: apiVersion;
595
+ }
596
+ export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
597
+ /**
598
+ * Contains interfaces for use with the MarketplaceAgreement client.
599
+ */
600
+ export import Types = MarketplaceAgreement;
601
+ }
602
+ export = MarketplaceAgreement;
@@ -0,0 +1,18 @@
1
+ require('../lib/node_loader');
2
+ var AWS = require('../lib/core');
3
+ var Service = AWS.Service;
4
+ var apiLoader = AWS.apiLoader;
5
+
6
+ apiLoader.services['marketplaceagreement'] = {};
7
+ AWS.MarketplaceAgreement = Service.defineService('marketplaceagreement', ['2020-03-01']);
8
+ Object.defineProperty(apiLoader.services['marketplaceagreement'], '2020-03-01', {
9
+ get: function get() {
10
+ var model = require('../apis/marketplace-agreement-2020-03-01.min.json');
11
+ model.paginators = require('../apis/marketplace-agreement-2020-03-01.paginators.json').pagination;
12
+ return model;
13
+ },
14
+ enumerable: true,
15
+ configurable: true
16
+ });
17
+
18
+ module.exports = AWS.MarketplaceAgreement;