• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  "version":"2.0",
3  "metadata":{
4    "apiVersion":"2020-03-01",
5    "endpointPrefix":"agreement-marketplace",
6    "jsonVersion":"1.0",
7    "protocol":"json",
8    "serviceAbbreviation":"Agreement Service",
9    "serviceFullName":"AWS Marketplace Agreement Service",
10    "serviceId":"Marketplace Agreement",
11    "signatureVersion":"v4",
12    "signingName":"aws-marketplace",
13    "targetPrefix":"AWSMPCommerceService_v20200301",
14    "uid":"marketplace-agreement-2020-03-01"
15  },
16  "operations":{
17    "DescribeAgreement":{
18      "name":"DescribeAgreement",
19      "http":{
20        "method":"POST",
21        "requestUri":"/"
22      },
23      "input":{"shape":"DescribeAgreementInput"},
24      "output":{"shape":"DescribeAgreementOutput"},
25      "errors":[
26        {"shape":"ValidationException"},
27        {"shape":"AccessDeniedException"},
28        {"shape":"ThrottlingException"},
29        {"shape":"ResourceNotFoundException"},
30        {"shape":"InternalServerException"}
31      ],
32      "documentation":"<p>Provides details about an agreement, such as the proposer, acceptor, start date, and end date.</p>"
33    },
34    "GetAgreementTerms":{
35      "name":"GetAgreementTerms",
36      "http":{
37        "method":"POST",
38        "requestUri":"/"
39      },
40      "input":{"shape":"GetAgreementTermsInput"},
41      "output":{"shape":"GetAgreementTermsOutput"},
42      "errors":[
43        {"shape":"ValidationException"},
44        {"shape":"AccessDeniedException"},
45        {"shape":"ThrottlingException"},
46        {"shape":"ResourceNotFoundException"},
47        {"shape":"InternalServerException"}
48      ],
49      "documentation":"<p>Obtains details about the terms in an agreement that you participated in as proposer or acceptor.</p> <p>The details include:</p> <ul> <li> <p> <code>TermType</code> – The type of term, such as <code>LegalTerm</code>, <code>RenewalTerm</code>, or <code>ConfigurableUpfrontPricingTerm</code>.</p> </li> <li> <p> <code>TermID</code> – The ID of the particular term, which is common between offer and agreement.</p> </li> <li> <p> <code>TermPayload</code> – The key information contained in the term, such as the EULA for <code>LegalTerm</code> or pricing and dimensions for various pricing terms, such as <code>ConfigurableUpfrontPricingTerm</code> or <code>UsageBasedPricingTerm</code>.</p> </li> </ul> <ul> <li> <p> <code>Configuration</code> – The buyer/acceptor's selection at the time of agreement creation, such as the number of units purchased for a dimension or setting the <code>EnableAutoRenew</code> flag.</p> </li> </ul>"
50    },
51    "SearchAgreements":{
52      "name":"SearchAgreements",
53      "http":{
54        "method":"POST",
55        "requestUri":"/"
56      },
57      "input":{"shape":"SearchAgreementsInput"},
58      "output":{"shape":"SearchAgreementsOutput"},
59      "errors":[
60        {"shape":"ValidationException"},
61        {"shape":"AccessDeniedException"},
62        {"shape":"ThrottlingException"},
63        {"shape":"InternalServerException"}
64      ],
65      "documentation":"<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> <p>The following filter combinations are supported:</p> <ul> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>ResourceIdentifier</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>OfferId</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>AcceptorAccountId</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>Status</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>ResourceIdentifier</code> + <code>Status</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>OfferId</code> + <code>Status</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>Status</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>ResourceType</code> + <code>Status</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>ResourceType</code> + <code>Status</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>OfferId</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>OfferId</code> + <code>Status</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>ResourceIdentifier</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>ResourceIdentifier</code> + <code>Status</code> </p> </li> <li> <p> <code>PartyType</code> as <code>Proposer</code> + <code>AgreementType</code> + <code>AcceptorAccountId</code> + <code>ResourceType</code> </p> </li> </ul>"
66    }
67  },
68  "shapes":{
69    "AWSAccountId":{
70      "type":"string",
71      "max":32,
72      "min":1,
73      "pattern":"^[0-9]+$"
74    },
75    "AcceptedTerm":{
76      "type":"structure",
77      "members":{
78        "byolPricingTerm":{
79          "shape":"ByolPricingTerm",
80          "documentation":"<p>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.</p>"
81        },
82        "configurableUpfrontPricingTerm":{
83          "shape":"ConfigurableUpfrontPricingTerm",
84          "documentation":"<p>Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.</p>"
85        },
86        "fixedUpfrontPricingTerm":{
87          "shape":"FixedUpfrontPricingTerm",
88          "documentation":"<p>Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.</p>"
89        },
90        "freeTrialPricingTerm":{
91          "shape":"FreeTrialPricingTerm",
92          "documentation":"<p>Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.</p>"
93        },
94        "legalTerm":{
95          "shape":"LegalTerm",
96          "documentation":"<p>Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).</p>"
97        },
98        "paymentScheduleTerm":{
99          "shape":"PaymentScheduleTerm",
100          "documentation":"<p>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.</p>"
101        },
102        "recurringPaymentTerm":{
103          "shape":"RecurringPaymentTerm",
104          "documentation":"<p>Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.</p>"
105        },
106        "renewalTerm":{
107          "shape":"RenewalTerm",
108          "documentation":"<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. Buyers will have the option to accept or decline auto-renewal at the offer acceptance/agreement creation. Buyers can also change this flag from <code>True</code> to <code>False</code> or <code>False</code> to <code>True</code> at anytime during the agreement's lifecycle.</p>"
109        },
110        "supportTerm":{
111          "shape":"SupportTerm",
112          "documentation":"<p>Defines the customer support available for the acceptors when they purchase the software.</p>"
113        },
114        "usageBasedPricingTerm":{
115          "shape":"UsageBasedPricingTerm",
116          "documentation":"<p>Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.</p>"
117        },
118        "validityTerm":{
119          "shape":"ValidityTerm",
120          "documentation":"<p>Defines the conditions that will keep an agreement created from this offer valid.</p>"
121        }
122      },
123      "documentation":"<p>A subset of terms proposed by the proposer, which have been accepted by the acceptor as part of agreement creation.</p>",
124      "union":true
125    },
126    "AcceptedTermList":{
127      "type":"list",
128      "member":{"shape":"AcceptedTerm"}
129    },
130    "Acceptor":{
131      "type":"structure",
132      "members":{
133        "accountId":{
134          "shape":"AWSAccountId",
135          "documentation":"<p>The AWS account ID of the acceptor.</p>"
136        }
137      },
138      "documentation":"<p>The details of the party accepting the agreement terms. This is commonly the buyer for <code>PurchaseAgreement</code>.</p>"
139    },
140    "AccessDeniedException":{
141      "type":"structure",
142      "members":{
143        "message":{"shape":"ExceptionMessage"},
144        "requestId":{
145          "shape":"RequestId",
146          "documentation":"<p>The unique identifier for the error.</p>"
147        }
148      },
149      "documentation":"<p>User does not have sufficient access to perform this action.</p>",
150      "exception":true
151    },
152    "AgreementResourceType":{
153      "type":"string",
154      "max":64,
155      "min":1,
156      "pattern":"^[a-zA-Z]+$"
157    },
158    "AgreementStatus":{
159      "type":"string",
160      "enum":[
161        "ACTIVE",
162        "ARCHIVED",
163        "CANCELLED",
164        "EXPIRED",
165        "RENEWED",
166        "REPLACED",
167        "ROLLED_BACK",
168        "SUPERSEDED",
169        "TERMINATED"
170      ]
171    },
172    "AgreementType":{
173      "type":"string",
174      "max":64,
175      "min":1,
176      "pattern":"^[A-Za-z]+$"
177    },
178    "AgreementViewSummary":{
179      "type":"structure",
180      "members":{
181        "acceptanceTime":{
182          "shape":"Timestamp",
183          "documentation":"<p>The date and time that the agreement was accepted.</p>"
184        },
185        "acceptor":{
186          "shape":"Acceptor",
187          "documentation":"<p>Details of the party accepting the agreement terms. This is commonly the buyer for <code>PurchaseAgreement.</code> </p>"
188        },
189        "agreementId":{
190          "shape":"ResourceId",
191          "documentation":"<p>The unique identifier of the agreement.</p>"
192        },
193        "agreementType":{
194          "shape":"AgreementType",
195          "documentation":"<p>The type of agreement. Values are <code>PurchaseAgreement</code> or <code>VendorInsightsAgreement</code>.</p>"
196        },
197        "endTime":{
198          "shape":"Timestamp",
199          "documentation":"<p>The date and time when the agreement ends. The field is <code>null</code> for pay-as-you-go agreements, which don’t have end dates.</p>"
200        },
201        "proposalSummary":{
202          "shape":"ProposalSummary",
203          "documentation":"<p>A summary of the proposal</p>"
204        },
205        "proposer":{
206          "shape":"Proposer",
207          "documentation":"<p>Details of the party proposing the agreement terms, most commonly the seller for <code>PurchaseAgreement</code>.</p>"
208        },
209        "startTime":{
210          "shape":"Timestamp",
211          "documentation":"<p>The date and time when the agreement starts.</p>"
212        },
213        "status":{
214          "shape":"AgreementStatus",
215          "documentation":"<p>The current status of the agreement. </p>"
216        }
217      },
218      "documentation":"<p>A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).</p>"
219    },
220    "AgreementViewSummaryList":{
221      "type":"list",
222      "member":{"shape":"AgreementViewSummary"}
223    },
224    "Boolean":{
225      "type":"boolean",
226      "box":true
227    },
228    "BoundedString":{
229      "type":"string",
230      "max":4096,
231      "min":1,
232      "pattern":"^(.)+$"
233    },
234    "ByolPricingTerm":{
235      "type":"structure",
236      "members":{
237        "type":{
238          "shape":"UnversionedTermType",
239          "documentation":"<p>Type of the term being updated.</p>"
240        }
241      },
242      "documentation":"<p>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.</p>"
243    },
244    "Catalog":{
245      "type":"string",
246      "max":64,
247      "min":1,
248      "pattern":"^[a-zA-Z]+$"
249    },
250    "ConfigurableUpfrontPricingTerm":{
251      "type":"structure",
252      "members":{
253        "configuration":{
254          "shape":"ConfigurableUpfrontPricingTermConfiguration",
255          "documentation":"<p>Additional parameters specified by the acceptor while accepting the term.</p>"
256        },
257        "currencyCode":{
258          "shape":"CurrencyCode",
259          "documentation":"<p>Defines the currency for the prices mentioned in the term.</p>"
260        },
261        "rateCards":{
262          "shape":"ConfigurableUpfrontRateCardList",
263          "documentation":"<p>A rate card defines the per unit rates for product dimensions.</p>"
264        },
265        "type":{
266          "shape":"UnversionedTermType",
267          "documentation":"<p>Category of selector.</p>"
268        }
269      },
270      "documentation":"<p>Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.</p>"
271    },
272    "ConfigurableUpfrontPricingTermConfiguration":{
273      "type":"structure",
274      "required":[
275        "dimensions",
276        "selectorValue"
277      ],
278      "members":{
279        "dimensions":{
280          "shape":"DimensionList",
281          "documentation":"<p>Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.</p>"
282        },
283        "selectorValue":{
284          "shape":"BoundedString",
285          "documentation":"<p>Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.</p>"
286        }
287      },
288      "documentation":"<p>Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.</p>"
289    },
290    "ConfigurableUpfrontRateCardItem":{
291      "type":"structure",
292      "members":{
293        "constraints":{
294          "shape":"Constraints",
295          "documentation":"<p>Defines limits on how the term can be configured by acceptors.</p>"
296        },
297        "rateCard":{
298          "shape":"RateCardList",
299          "documentation":"<p>Defines the per unit rates for product dimensions.</p>"
300        },
301        "selector":{
302          "shape":"Selector",
303          "documentation":"<p>Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.</p>"
304        }
305      },
306      "documentation":"<p>Within the prepaid payment model defined under <code>ConfigurableUpfrontPricingTerm</code>, the <code>RateCardItem</code> defines all the various rate cards (including pricing and dimensions) that have been proposed.</p>"
307    },
308    "ConfigurableUpfrontRateCardList":{
309      "type":"list",
310      "member":{"shape":"ConfigurableUpfrontRateCardItem"}
311    },
312    "Constraints":{
313      "type":"structure",
314      "members":{
315        "multipleDimensionSelection":{
316          "shape":"BoundedString",
317          "documentation":"<p>Determines if buyers are allowed to select multiple dimensions in the rate card. The possible values are <code>Allowed</code> and <code>Disallowed</code>. The default value is <code>Allowed</code>.</p>"
318        },
319        "quantityConfiguration":{
320          "shape":"BoundedString",
321          "documentation":"<p>Determines if acceptors are allowed to configure quantity for each dimension in rate card. The possible values are <code>Allowed</code> and <code>Disallowed</code>. The default value is <code>Allowed</code>.</p>"
322        }
323      },
324      "documentation":"<p>Defines limits on how the term can be configured by acceptors. </p>"
325    },
326    "CurrencyCode":{
327      "type":"string",
328      "max":3,
329      "min":3,
330      "pattern":"^[A-Z]+$"
331    },
332    "DescribeAgreementInput":{
333      "type":"structure",
334      "required":["agreementId"],
335      "members":{
336        "agreementId":{
337          "shape":"ResourceId",
338          "documentation":"<p>The unique identifier of the agreement.</p>"
339        }
340      }
341    },
342    "DescribeAgreementOutput":{
343      "type":"structure",
344      "members":{
345        "acceptanceTime":{
346          "shape":"Timestamp",
347          "documentation":"<p>The date and time the offer was accepted or the agreement was created.</p> <note> <p> <code>AcceptanceTime</code> and <code>StartTime</code> can differ for future dated agreements (FDAs).</p> </note>"
348        },
349        "acceptor":{
350          "shape":"Acceptor",
351          "documentation":"<p>The details of the party accepting the agreement terms. This is commonly the buyer for <code>PurchaseAgreement</code>.</p>"
352        },
353        "agreementId":{
354          "shape":"ResourceId",
355          "documentation":"<p>The unique identifier of the agreement.</p>"
356        },
357        "agreementType":{
358          "shape":"AgreementType",
359          "documentation":"<p>The type of agreement. Values are <code>PurchaseAgreement</code> or <code>VendorInsightsAgreement</code>.</p>"
360        },
361        "endTime":{
362          "shape":"Timestamp",
363          "documentation":"<p>The date and time when the agreement ends. The field is <code>null</code> for pay-as-you-go agreements, which don’t have end dates.</p>"
364        },
365        "estimatedCharges":{
366          "shape":"EstimatedCharges",
367          "documentation":"<p>The estimated cost of the agreement.</p>"
368        },
369        "proposalSummary":{
370          "shape":"ProposalSummary",
371          "documentation":"<p>A summary of the proposal received from the proposer.</p>"
372        },
373        "proposer":{
374          "shape":"Proposer",
375          "documentation":"<p>The details of the party proposing the agreement terms. This is commonly the seller for <code>PurchaseAgreement</code>.</p>"
376        },
377        "startTime":{
378          "shape":"Timestamp",
379          "documentation":"<p>The date and time when the agreement starts.</p>"
380        },
381        "status":{
382          "shape":"AgreementStatus",
383          "documentation":"<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>ARCHIVED</code> – The agreement ended without a specified reason.</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>ROLLED_BACK</code> (Only applicable to inactive agreement revisions) – The agreement revision has been rolled back because of an error. An earlier revision is now active.</p> </li> <li> <p> <code>SUPERCEDED</code> (Only applicable to inactive agreement revisions) – The agreement revision is no longer active and another agreement revision is now active.</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>"
384        }
385      }
386    },
387    "Dimension":{
388      "type":"structure",
389      "required":[
390        "dimensionKey",
391        "dimensionValue"
392      ],
393      "members":{
394        "dimensionKey":{
395          "shape":"BoundedString",
396          "documentation":"<p>The name of key value of the dimension.</p>"
397        },
398        "dimensionValue":{
399          "shape":"ZeroValueInteger",
400          "documentation":"<p>The number of units of the dimension the acceptor has purchased.</p> <note> <p>For Agreements with <code>ConfigurableUpfrontPricingTerm</code>, the <code>RateCard</code> section will define the prices and dimensions defined by the seller (proposer), whereas the <code>Configuration</code> section will define the actual dimensions, prices, and units the buyer has chosen to accept.</p> </note>"
401        }
402      },
403      "documentation":"<p>Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.</p>"
404    },
405    "DimensionList":{
406      "type":"list",
407      "member":{"shape":"Dimension"},
408      "min":1
409    },
410    "DocumentItem":{
411      "type":"structure",
412      "members":{
413        "type":{
414          "shape":"BoundedString",
415          "documentation":"<p>Category of the document. Document types include:</p> <ul> <li> <p> <code>CustomEula</code> – 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.</p> </li> <li> <p> <code>CustomDsa</code> – 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.</p> </li> <li> <p> <code>StandardEula</code> – 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.</p> </li> <li> <p> <code>StandardDsa</code> – 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.</p> </li> </ul>"
416        },
417        "url":{
418          "shape":"BoundedString",
419          "documentation":"<p>A URL to the legal document for buyers to read. Required when <code>Type</code> is <code>CustomEula</code>.</p>"
420        },
421        "version":{
422          "shape":"BoundedString",
423          "documentation":"<p>Version of standard contracts provided by AWS Marketplace. Required when Type is <code>StandardEula</code> or <code>StandardDsa</code>. </p>"
424        }
425      },
426      "documentation":"<p>Includes the list of references to legal resources proposed by the proposer to the acceptor. Each <code>DocumentItem</code> refers to an individual reference.</p>"
427    },
428    "DocumentList":{
429      "type":"list",
430      "member":{"shape":"DocumentItem"}
431    },
432    "EstimatedCharges":{
433      "type":"structure",
434      "members":{
435        "agreementValue":{
436          "shape":"BoundedString",
437          "documentation":"<p>The total known amount customer has to pay across the lifecycle of the agreement.</p> <note> <p>This is the total contract value if accepted terms contain <code>ConfigurableUpfrontPricingTerm</code> or <code>FixedUpfrontPricingTerm</code>. 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.</p> <p>If the accepted terms contain <code>PaymentScheduleTerm</code>, 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.</p> <p>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. </p> <p>This is <code>0</code> if the accepted terms contain <code>UsageBasedPricingTerm</code> without <code>ConfigurableUpfrontPricingTerm</code> or <code>RecurringPaymentTerm</code>. This occurs for usage-based pricing (such as SaaS metered or AMI/container hourly or monthly), because the exact usage is not known upfront.</p> </note>"
438        },
439        "currencyCode":{
440          "shape":"CurrencyCode",
441          "documentation":"<p>Defines the currency code for the charge.</p>"
442        }
443      },
444      "documentation":"<p>Estimated cost of the agreement.</p>"
445    },
446    "ExceptionMessage":{
447      "type":"string",
448      "max":1024,
449      "min":1
450    },
451    "Filter":{
452      "type":"structure",
453      "members":{
454        "name":{
455          "shape":"FilterName",
456          "documentation":"<p>The name of the filter.</p>"
457        },
458        "values":{
459          "shape":"FilterValueList",
460          "documentation":"<p>The filter value.</p>"
461        }
462      },
463      "documentation":"<p>The filter name and value pair that is used to return a more specific list of results. Filters can be used to match a set of resources by various criteria, such as <code>offerId</code> or <code>productId</code>.</p>"
464    },
465    "FilterList":{
466      "type":"list",
467      "member":{"shape":"Filter"},
468      "max":10,
469      "min":1
470    },
471    "FilterName":{
472      "type":"string",
473      "max":32,
474      "min":1,
475      "pattern":"^[A-Za-z_]+$"
476    },
477    "FilterValue":{
478      "type":"string",
479      "max":64,
480      "min":1,
481      "pattern":"^[A-Za-z0-9+:_-]+$"
482    },
483    "FilterValueList":{
484      "type":"list",
485      "member":{"shape":"FilterValue"},
486      "max":1,
487      "min":1
488    },
489    "FixedUpfrontPricingTerm":{
490      "type":"structure",
491      "members":{
492        "currencyCode":{
493          "shape":"CurrencyCode",
494          "documentation":"<p>Defines the currency for the prices mentioned in this term. </p>"
495        },
496        "duration":{
497          "shape":"BoundedString",
498          "documentation":"<p>Contract duration for the terms.</p>"
499        },
500        "grants":{
501          "shape":"GrantList",
502          "documentation":"<p>Entitlements granted to the acceptor of fixed upfront as part of agreement execution.</p>"
503        },
504        "price":{
505          "shape":"BoundedString",
506          "documentation":"<p>Fixed amount to be charged to the customer when this term is accepted.</p>"
507        },
508        "type":{
509          "shape":"UnversionedTermType",
510          "documentation":"<p>Category of the term being updated.</p>"
511        }
512      },
513      "documentation":"<p>Defines a prepaid pricing model where the customers are charged a fixed upfront amount.</p>"
514    },
515    "FreeTrialPricingTerm":{
516      "type":"structure",
517      "members":{
518        "duration":{
519          "shape":"BoundedString",
520          "documentation":"<p>Duration of the free trial period (5–31 days). </p>"
521        },
522        "grants":{
523          "shape":"GrantList",
524          "documentation":"<p>Entitlements granted to the acceptor of a free trial as part of an agreement execution.</p>"
525        },
526        "type":{
527          "shape":"UnversionedTermType",
528          "documentation":"<p>Category of the term.</p>"
529        }
530      },
531      "documentation":"<p>Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.</p>"
532    },
533    "GetAgreementTermsInput":{
534      "type":"structure",
535      "required":["agreementId"],
536      "members":{
537        "agreementId":{
538          "shape":"ResourceId",
539          "documentation":"<p>The unique identifier of the agreement.</p>"
540        },
541        "maxResults":{
542          "shape":"MaxResults",
543          "documentation":"<p>The maximum number of agreements to return in the response.</p>"
544        },
545        "nextToken":{
546          "shape":"NextToken",
547          "documentation":"<p>A token to specify where to start pagination</p>"
548        }
549      }
550    },
551    "GetAgreementTermsOutput":{
552      "type":"structure",
553      "members":{
554        "acceptedTerms":{
555          "shape":"AcceptedTermList",
556          "documentation":"<p>A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the agreement creation.</p>"
557        },
558        "nextToken":{
559          "shape":"NextToken",
560          "documentation":"<p>A token to specify where to start pagination</p>"
561        }
562      }
563    },
564    "GrantItem":{
565      "type":"structure",
566      "members":{
567        "dimensionKey":{
568          "shape":"BoundedString",
569          "documentation":"<p>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. </p>"
570        },
571        "maxQuantity":{
572          "shape":"PositiveIntegerWithDefaultValueOne",
573          "documentation":"<p>Maximum amount of capacity that the buyer can be entitled to the given dimension of the product. If <code>MaxQuantity</code> is not provided, the buyer will be able to use an unlimited amount of the given dimension. </p>"
574        }
575      },
576      "documentation":"<p>Entitlements granted to the acceptor of fixed upfront as part of agreement execution.</p>"
577    },
578    "GrantList":{
579      "type":"list",
580      "member":{"shape":"GrantItem"}
581    },
582    "InternalServerException":{
583      "type":"structure",
584      "members":{
585        "message":{"shape":"ExceptionMessage"},
586        "requestId":{
587          "shape":"RequestId",
588          "documentation":"<p>The unique identifier for the error.</p>"
589        }
590      },
591      "documentation":"<p>Unexpected error during processing of request.</p>",
592      "exception":true,
593      "fault":true
594    },
595    "LegalTerm":{
596      "type":"structure",
597      "members":{
598        "documents":{
599          "shape":"DocumentList",
600          "documentation":"<p>List of references to legal resources proposed to the buyers. An example is the EULA.</p>"
601        },
602        "type":{
603          "shape":"UnversionedTermType",
604          "documentation":"<p>Category of the term being updated.</p>"
605        }
606      },
607      "documentation":"<p>Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).</p>"
608    },
609    "MaxResults":{
610      "type":"integer",
611      "box":true,
612      "max":50,
613      "min":1
614    },
615    "NextToken":{
616      "type":"string",
617      "max":8192,
618      "min":0,
619      "pattern":"^[a-zA-Z0-9+/=]+$"
620    },
621    "OfferId":{
622      "type":"string",
623      "max":64,
624      "min":1,
625      "pattern":"^\\S{1,64}$"
626    },
627    "PaymentScheduleTerm":{
628      "type":"structure",
629      "members":{
630        "currencyCode":{
631          "shape":"CurrencyCode",
632          "documentation":"<p>Defines the currency for the prices mentioned in the term. </p>"
633        },
634        "schedule":{
635          "shape":"ScheduleList",
636          "documentation":"<p>List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.</p>"
637        },
638        "type":{
639          "shape":"UnversionedTermType",
640          "documentation":"<p>Type of the term.</p>"
641        }
642      },
643      "documentation":"<p>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.</p>"
644    },
645    "PositiveIntegerWithDefaultValueOne":{
646      "type":"integer",
647      "box":true,
648      "min":1
649    },
650    "ProposalSummary":{
651      "type":"structure",
652      "members":{
653        "offerId":{
654          "shape":"OfferId",
655          "documentation":"<p>The unique identifier of the offer in AWS Marketplace.</p>"
656        },
657        "resources":{
658          "shape":"Resources",
659          "documentation":"<p>The list of resources involved in the agreement.</p>"
660        }
661      },
662      "documentation":"<p>A summary of the proposal received from the proposer.</p>"
663    },
664    "Proposer":{
665      "type":"structure",
666      "members":{
667        "accountId":{
668          "shape":"AWSAccountId",
669          "documentation":"<p>The AWS account ID of the proposer.</p>"
670        }
671      },
672      "documentation":"<p>Details of the party proposing the agreement terms,. This is commonly the seller for <code>PurchaseAgreement</code>. </p>"
673    },
674    "RateCardItem":{
675      "type":"structure",
676      "members":{
677        "dimensionKey":{
678          "shape":"BoundedString",
679          "documentation":"<p>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.</p>"
680        },
681        "price":{
682          "shape":"BoundedString",
683          "documentation":"<p>Per unit price for the product dimension that’s used for calculating the amount to be charged.</p>"
684        }
685      },
686      "documentation":"<p>Defines the per unit rates for each individual product dimension.</p>"
687    },
688    "RateCardList":{
689      "type":"list",
690      "member":{"shape":"RateCardItem"}
691    },
692    "RecurringPaymentTerm":{
693      "type":"structure",
694      "members":{
695        "billingPeriod":{
696          "shape":"BoundedString",
697          "documentation":"<p>Defines the recurrence at which buyers are charged.</p>"
698        },
699        "currencyCode":{
700          "shape":"CurrencyCode",
701          "documentation":"<p>Defines the currency for the prices mentioned in this term. </p>"
702        },
703        "price":{
704          "shape":"BoundedString",
705          "documentation":"<p>Amount charged to the buyer every billing period.</p>"
706        },
707        "type":{
708          "shape":"UnversionedTermType",
709          "documentation":"<p>Type of the term being updated.</p>"
710        }
711      },
712      "documentation":"<p>Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.</p>"
713    },
714    "RenewalTerm":{
715      "type":"structure",
716      "members":{
717        "configuration":{
718          "shape":"RenewalTermConfiguration",
719          "documentation":"<p>Additional parameters specified by the acceptor while accepting the term.</p>"
720        },
721        "type":{
722          "shape":"UnversionedTermType",
723          "documentation":"<p>Category of the term being updated. </p>"
724        }
725      },
726      "documentation":"<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. The presence of <code>RenewalTerm</code> 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 <code>True</code> to <code>False</code> or <code>False</code> to <code>True</code> at anytime during the agreement's lifecycle.</p>"
727    },
728    "RenewalTermConfiguration":{
729      "type":"structure",
730      "required":["enableAutoRenew"],
731      "members":{
732        "enableAutoRenew":{
733          "shape":"Boolean",
734          "documentation":"<p>Defines whether the acceptor has chosen to auto-renew the agreement at the end of its lifecycle. Can be set to <code>True</code> or <code>False</code>.</p>"
735        }
736      },
737      "documentation":"<p>Additional parameters specified by the acceptor while accepting the term.</p>"
738    },
739    "RequestId":{
740      "type":"string",
741      "max":128,
742      "min":1,
743      "pattern":"^[A-Za-z0-9-]+$"
744    },
745    "Resource":{
746      "type":"structure",
747      "members":{
748        "id":{
749          "shape":"ResourceId",
750          "documentation":"<p>The unique identifier of the resource.</p> <note> <p>We mention the term resource, which is most commonly a product, so a <code>resourceId</code> is also a <code>productId</code>.</p> </note>"
751        },
752        "type":{
753          "shape":"AgreementResourceType",
754          "documentation":"<p>Type of the resource, which is the product. Values include <code>SaaSProduct</code> or <code>AmiProduct</code>.</p>"
755        }
756      },
757      "documentation":"<p>The list of resources involved in the agreement.</p>"
758    },
759    "ResourceId":{
760      "type":"string",
761      "max":64,
762      "min":1,
763      "pattern":"^[A-Za-z0-9_/-]+$"
764    },
765    "ResourceNotFoundException":{
766      "type":"structure",
767      "members":{
768        "message":{"shape":"ExceptionMessage"},
769        "requestId":{
770          "shape":"RequestId",
771          "documentation":"<p>The unique identifier for the error.</p>"
772        },
773        "resourceId":{
774          "shape":"ResourceId",
775          "documentation":"<p>The unique identifier for the resource.</p>"
776        },
777        "resourceType":{
778          "shape":"ResourceType",
779          "documentation":"<p>The type of resource.</p>"
780        }
781      },
782      "documentation":"<p>Request references a resource which does not exist.</p>",
783      "exception":true
784    },
785    "ResourceType":{
786      "type":"string",
787      "enum":["Agreement"]
788    },
789    "Resources":{
790      "type":"list",
791      "member":{"shape":"Resource"}
792    },
793    "ScheduleItem":{
794      "type":"structure",
795      "members":{
796        "chargeAmount":{
797          "shape":"BoundedString",
798          "documentation":"<p>The price that the customer would pay on the scheduled date (chargeDate).</p>"
799        },
800        "chargeDate":{
801          "shape":"Timestamp",
802          "documentation":"<p>The date that the customer would pay the price defined in this payment schedule term. Invoices are generated on the date provided.</p>"
803        }
804      },
805      "documentation":"<p>An individual installment of the payment that includes the date and amount of the charge.</p>"
806    },
807    "ScheduleList":{
808      "type":"list",
809      "member":{"shape":"ScheduleItem"}
810    },
811    "SearchAgreementsInput":{
812      "type":"structure",
813      "members":{
814        "catalog":{
815          "shape":"Catalog",
816          "documentation":"<p>The catalog in which the agreement was created.</p>"
817        },
818        "filters":{
819          "shape":"FilterList",
820          "documentation":"<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>, or <code>SaaSProduct</code>).</p> </li> <li> <p> <code>PartyType</code> – The party type (either <code>Acceptor</code> or <code>Proposer</code>) of the caller. For agreements where the caller is the proposer, use the <code>Proposer</code> filter. For agreements where the caller is the acceptor, use the <code>Acceptor</code> filter.</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>ARCHIVED</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>AgreementType</code> – The type of agreement. Values include <code>PurchaseAgreement</code> or <code>VendorInsightsAgreement</code>.</p> </li> </ul>"
821        },
822        "maxResults":{
823          "shape":"MaxResults",
824          "documentation":"<p>The maximum number of agreements to return in the response.</p>"
825        },
826        "nextToken":{
827          "shape":"NextToken",
828          "documentation":"<p>A token to specify where to start pagination.</p>"
829        },
830        "sort":{
831          "shape":"Sort",
832          "documentation":"<p>An object that contains the <code>SortBy</code> and <code>SortOrder</code> attributes.</p>"
833        }
834      }
835    },
836    "SearchAgreementsOutput":{
837      "type":"structure",
838      "members":{
839        "agreementViewSummaries":{
840          "shape":"AgreementViewSummaryList",
841          "documentation":"<p>A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).</p>"
842        },
843        "nextToken":{
844          "shape":"NextToken",
845          "documentation":"<p>The token used for pagination. The field is <code>null</code> if there are no more results.</p>"
846        }
847      }
848    },
849    "Selector":{
850      "type":"structure",
851      "members":{
852        "type":{
853          "shape":"BoundedString",
854          "documentation":"<p>Category of selector.</p>"
855        },
856        "value":{
857          "shape":"BoundedString",
858          "documentation":"<p>Contract duration. This field supports the ISO 8601 format. </p>"
859        }
860      },
861      "documentation":"<p>Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.</p>"
862    },
863    "Sort":{
864      "type":"structure",
865      "members":{
866        "sortBy":{
867          "shape":"SortBy",
868          "documentation":"<p>The attribute on which the data is grouped, which can be by <code>StartTime</code> and <code>EndTime</code>. The default value is <code>EndTime</code>.</p>"
869        },
870        "sortOrder":{
871          "shape":"SortOrder",
872          "documentation":"<p>The sorting order, which can be <code>ASCENDING</code> or <code>DESCENDING</code>. The default value is <code>DESCENDING</code>.</p>"
873        }
874      },
875      "documentation":"<p>An object that contains the <code>SortBy</code> and <code>SortOrder</code> attributes.</p>"
876    },
877    "SortBy":{
878      "type":"string",
879      "max":255,
880      "min":1,
881      "pattern":"^[A-Za-z_]+$"
882    },
883    "SortOrder":{
884      "type":"string",
885      "enum":[
886        "ASCENDING",
887        "DESCENDING"
888      ]
889    },
890    "SupportTerm":{
891      "type":"structure",
892      "members":{
893        "refundPolicy":{
894          "shape":"BoundedString",
895          "documentation":"<p>Free-text field about the refund policy description that will be shown to customers as is on the website and console.</p>"
896        },
897        "type":{
898          "shape":"UnversionedTermType",
899          "documentation":"<p>Category of the term being updated.</p>"
900        }
901      },
902      "documentation":"<p>Defines the customer support available for the acceptors when they purchase the software.</p>"
903    },
904    "ThrottlingException":{
905      "type":"structure",
906      "members":{
907        "message":{"shape":"ExceptionMessage"},
908        "requestId":{
909          "shape":"RequestId",
910          "documentation":"<p>The unique identifier for the error.</p>"
911        }
912      },
913      "documentation":"<p>Request was denied due to request throttling.</p>",
914      "exception":true
915    },
916    "Timestamp":{"type":"timestamp"},
917    "UnversionedTermType":{
918      "type":"string",
919      "max":4096,
920      "min":1,
921      "pattern":"^[A-Za-z]+$"
922    },
923    "UsageBasedPricingTerm":{
924      "type":"structure",
925      "members":{
926        "currencyCode":{
927          "shape":"CurrencyCode",
928          "documentation":"<p>Defines the currency for the prices mentioned in the term. </p>"
929        },
930        "rateCards":{
931          "shape":"UsageBasedRateCardList",
932          "documentation":"<p>List of rate cards.</p>"
933        },
934        "type":{
935          "shape":"UnversionedTermType",
936          "documentation":"<p>Category of the term.</p>"
937        }
938      },
939      "documentation":"<p>Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.</p>"
940    },
941    "UsageBasedRateCardItem":{
942      "type":"structure",
943      "members":{
944        "rateCard":{
945          "shape":"RateCardList",
946          "documentation":"<p>Defines the per unit rates for product dimensions.</p>"
947        }
948      },
949      "documentation":"<p>Within the pay-as-you-go model defined under <code>UsageBasedPricingTerm</code>, the <code>UsageBasedRateCardItem</code> defines an individual rate for a product dimension.</p>"
950    },
951    "UsageBasedRateCardList":{
952      "type":"list",
953      "member":{"shape":"UsageBasedRateCardItem"}
954    },
955    "ValidationException":{
956      "type":"structure",
957      "members":{
958        "fields":{
959          "shape":"ValidationExceptionFieldList",
960          "documentation":"<p>The fields associated with the error.</p>"
961        },
962        "message":{"shape":"ExceptionMessage"},
963        "reason":{
964          "shape":"ValidationExceptionReason",
965          "documentation":"<p>The reason associated with the error.</p>"
966        },
967        "requestId":{
968          "shape":"RequestId",
969          "documentation":"<p>The unique identifier associated with the error.</p>"
970        }
971      },
972      "documentation":"<p>The input fails to satisfy the constraints specified by the service.</p>",
973      "exception":true
974    },
975    "ValidationExceptionField":{
976      "type":"structure",
977      "required":[
978        "message",
979        "name"
980      ],
981      "members":{
982        "message":{
983          "shape":"BoundedString",
984          "documentation":"<p>See applicable actions.</p>"
985        },
986        "name":{
987          "shape":"BoundedString",
988          "documentation":"<p>The name of the field associated with the error.</p>"
989        }
990      },
991      "documentation":"<p>The input fails to satisfy the constraints specified by the service.</p>"
992    },
993    "ValidationExceptionFieldList":{
994      "type":"list",
995      "member":{"shape":"ValidationExceptionField"}
996    },
997    "ValidationExceptionReason":{
998      "type":"string",
999      "enum":[
1000        "INVALID_AGREEMENT_ID",
1001        "MISSING_AGREEMENT_ID",
1002        "INVALID_CATALOG",
1003        "INVALID_FILTER_NAME",
1004        "INVALID_FILTER_VALUES",
1005        "INVALID_SORT_BY",
1006        "INVALID_SORT_ORDER",
1007        "INVALID_NEXT_TOKEN",
1008        "INVALID_MAX_RESULTS",
1009        "UNSUPPORTED_FILTERS",
1010        "OTHER"
1011      ]
1012    },
1013    "ValidityTerm":{
1014      "type":"structure",
1015      "members":{
1016        "agreementDuration":{
1017          "shape":"BoundedString",
1018          "documentation":"<p>Defines the duration that the agreement remains active. If <code>AgreementStartDate</code> isn’t provided, the agreement duration is relative to the agreement signature time. The duration is represented in the ISO_8601 format.</p>"
1019        },
1020        "agreementEndDate":{
1021          "shape":"Timestamp",
1022          "documentation":"<p>Defines the date when the agreement ends. The agreement ends at 23:59:59.999 UTC on the date provided. If <code>AgreementEndDate</code> isn’t provided, the agreement end date is determined by the validity of individual terms.</p>"
1023        },
1024        "agreementStartDate":{
1025          "shape":"Timestamp",
1026          "documentation":"<p>Defines the date when agreement starts. The agreement starts at 00:00:00.000 UTC on the date provided. If <code>AgreementStartDate</code> isn’t provided, the agreement start date is determined based on agreement signature time.</p>"
1027        },
1028        "type":{
1029          "shape":"UnversionedTermType",
1030          "documentation":"<p>Category of the term being updated. </p>"
1031        }
1032      },
1033      "documentation":"<p>Defines the conditions that will keep an agreement created from this offer valid. </p>"
1034    },
1035    "ZeroValueInteger":{
1036      "type":"integer",
1037      "min":0
1038    }
1039  },
1040  "documentation":"<p>AWS Marketplace is a curated digital catalog that customers can use to find, buy, deploy, and manage third-party software, data, and services to build solutions and run their businesses. The AWS Marketplace Agreement Service provides an API interface that helps AWS Marketplace sellers manage their product-related agreements, including listing, searching, and filtering agreements.</p> <p>To manage agreements in AWS Marketplace, you must ensure that your AWS Identity and Access Management (IAM) policies and roles are set up. The user must have the required policies/permissions that allow them to carry out the actions in AWS:</p> <ul> <li> <p> <code>DescribeAgreement</code> – Grants permission to users to obtain detailed meta data about any of their agreements.</p> </li> <li> <p> <code>GetAgreementTerms</code> – Grants permission to users to obtain details about the terms of an agreement.</p> </li> <li> <p> <code>SearchAgreements</code> – Grants permission to users to search through all their agreements.</p> </li> </ul>"
1041}
1042