SDK for PHP 3.x

Client: Aws\MarketplaceAgreement\MarketplaceAgreementClient
Service ID: marketplace-agreement
Version: 2020-03-01

This page describes the parameters and results for the operations of the AWS Marketplace Agreement Service (2020-03-01), and shows how to use the Aws\MarketplaceAgreement\MarketplaceAgreementClient object to call the described operations. This documentation is specific to the 2020-03-01 API version of the service.

Operation Summary

Each of the following operations can be created from a client using $client->getCommand('CommandName'), where "CommandName" is the name of one of the following operations. Note: a command is a value that encapsulates an operation and the parameters used to create an HTTP request.

You can also create and send a command immediately using the magic methods available on a client object: $client->commandName(/* parameters */). You can send the command asynchronously (returning a promise) by appending the word "Async" to the operation name: $client->commandNameAsync(/* parameters */).

DescribeAgreement ( array $params = [] )
Provides details about an agreement, such as the proposer, acceptor, start date, and end date.
GetAgreementTerms ( array $params = [] )
Obtains details about the terms in an agreement that you participated in as proposer or acceptor.
SearchAgreements ( array $params = [] )
Searches across all agreements that a proposer or an acceptor has in AWS Marketplace.

Paginators

Paginators handle automatically iterating over paginated API results. Paginators are associated with specific API operations, and they accept the parameters that the corresponding API operation accepts. You can get a paginator from a client class using getPaginator($paginatorName, $operationParameters). This client supports the following paginators:

GetAgreementTerms
SearchAgreements

Operations

DescribeAgreement

$result = $client->describeAgreement([/* ... */]);
$promise = $client->describeAgreementAsync([/* ... */]);

Provides details about an agreement, such as the proposer, acceptor, start date, and end date.

Parameter Syntax

$result = $client->describeAgreement([
    'agreementId' => '<string>', // REQUIRED
]);

Parameter Details

Members
agreementId
Required: Yes
Type: string

The unique identifier of the agreement.

Result Syntax

[
    'acceptanceTime' => <DateTime>,
    'acceptor' => [
        'accountId' => '<string>',
    ],
    'agreementId' => '<string>',
    'agreementType' => '<string>',
    'endTime' => <DateTime>,
    'estimatedCharges' => [
        'agreementValue' => '<string>',
        'currencyCode' => '<string>',
    ],
    'proposalSummary' => [
        'offerId' => '<string>',
        'resources' => [
            [
                'id' => '<string>',
                'type' => '<string>',
            ],
            // ...
        ],
    ],
    'proposer' => [
        'accountId' => '<string>',
    ],
    'startTime' => <DateTime>,
    'status' => 'ACTIVE|ARCHIVED|CANCELLED|EXPIRED|RENEWED|REPLACED|ROLLED_BACK|SUPERSEDED|TERMINATED',
]

Result Details

Members
acceptanceTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time the offer was accepted or the agreement was created.

AcceptanceTime and StartTime can differ for future dated agreements (FDAs).

acceptor
Type: Acceptor structure

The details of the party accepting the agreement terms. This is commonly the buyer for PurchaseAgreement.

agreementId
Type: string

The unique identifier of the agreement.

agreementType
Type: string

The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.

endTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time when the agreement ends. The field is null for pay-as-you-go agreements, which don’t have end dates.

estimatedCharges
Type: EstimatedCharges structure

The estimated cost of the agreement.

proposalSummary
Type: ProposalSummary structure

A summary of the proposal received from the proposer.

proposer
Type: Proposer structure

The details of the party proposing the agreement terms. This is commonly the seller for PurchaseAgreement.

startTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time when the agreement starts.

status
Type: string

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).

Errors

ValidationException:

The input fails to satisfy the constraints specified by the service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ResourceNotFoundException:

Request references a resource which does not exist.

InternalServerException:

Unexpected error during processing of request.

GetAgreementTerms

$result = $client->getAgreementTerms([/* ... */]);
$promise = $client->getAgreementTermsAsync([/* ... */]);

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.

Parameter Syntax

$result = $client->getAgreementTerms([
    'agreementId' => '<string>', // REQUIRED
    'maxResults' => <integer>,
    'nextToken' => '<string>',
]);

Parameter Details

Members
agreementId
Required: Yes
Type: string

The unique identifier of the agreement.

maxResults
Type: int

The maximum number of agreements to return in the response.

nextToken
Type: string

A token to specify where to start pagination

Result Syntax

[
    'acceptedTerms' => [
        [
            'byolPricingTerm' => [
                'type' => '<string>',
            ],
            'configurableUpfrontPricingTerm' => [
                'configuration' => [
                    'dimensions' => [
                        [
                            'dimensionKey' => '<string>',
                            'dimensionValue' => <integer>,
                        ],
                        // ...
                    ],
                    'selectorValue' => '<string>',
                ],
                'currencyCode' => '<string>',
                'rateCards' => [
                    [
                        'constraints' => [
                            'multipleDimensionSelection' => '<string>',
                            'quantityConfiguration' => '<string>',
                        ],
                        'rateCard' => [
                            [
                                'dimensionKey' => '<string>',
                                'price' => '<string>',
                            ],
                            // ...
                        ],
                        'selector' => [
                            'type' => '<string>',
                            'value' => '<string>',
                        ],
                    ],
                    // ...
                ],
                'type' => '<string>',
            ],
            'fixedUpfrontPricingTerm' => [
                'currencyCode' => '<string>',
                'duration' => '<string>',
                'grants' => [
                    [
                        'dimensionKey' => '<string>',
                        'maxQuantity' => <integer>,
                    ],
                    // ...
                ],
                'price' => '<string>',
                'type' => '<string>',
            ],
            'freeTrialPricingTerm' => [
                'duration' => '<string>',
                'grants' => [
                    [
                        'dimensionKey' => '<string>',
                        'maxQuantity' => <integer>,
                    ],
                    // ...
                ],
                'type' => '<string>',
            ],
            'legalTerm' => [
                'documents' => [
                    [
                        'type' => '<string>',
                        'url' => '<string>',
                        'version' => '<string>',
                    ],
                    // ...
                ],
                'type' => '<string>',
            ],
            'paymentScheduleTerm' => [
                'currencyCode' => '<string>',
                'schedule' => [
                    [
                        'chargeAmount' => '<string>',
                        'chargeDate' => <DateTime>,
                    ],
                    // ...
                ],
                'type' => '<string>',
            ],
            'recurringPaymentTerm' => [
                'billingPeriod' => '<string>',
                'currencyCode' => '<string>',
                'price' => '<string>',
                'type' => '<string>',
            ],
            'renewalTerm' => [
                'configuration' => [
                    'enableAutoRenew' => true || false,
                ],
                'type' => '<string>',
            ],
            'supportTerm' => [
                'refundPolicy' => '<string>',
                'type' => '<string>',
            ],
            'usageBasedPricingTerm' => [
                'currencyCode' => '<string>',
                'rateCards' => [
                    [
                        'rateCard' => [
                            [
                                'dimensionKey' => '<string>',
                                'price' => '<string>',
                            ],
                            // ...
                        ],
                    ],
                    // ...
                ],
                'type' => '<string>',
            ],
            'validityTerm' => [
                'agreementDuration' => '<string>',
                'agreementEndDate' => <DateTime>,
                'agreementStartDate' => <DateTime>,
                'type' => '<string>',
            ],
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
acceptedTerms
Type: Array of AcceptedTerm structures

A subset of terms proposed by the proposer that have been accepted by the acceptor as part of the agreement creation.

nextToken
Type: string

A token to specify where to start pagination

Errors

ValidationException:

The input fails to satisfy the constraints specified by the service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

ResourceNotFoundException:

Request references a resource which does not exist.

InternalServerException:

Unexpected error during processing of request.

SearchAgreements

$result = $client->searchAgreements([/* ... */]);
$promise = $client->searchAgreementsAsync([/* ... */]);

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

Parameter Syntax

$result = $client->searchAgreements([
    'catalog' => '<string>',
    'filters' => [
        [
            'name' => '<string>',
            'values' => ['<string>', ...],
        ],
        // ...
    ],
    'maxResults' => <integer>,
    'nextToken' => '<string>',
    'sort' => [
        'sortBy' => '<string>',
        'sortOrder' => 'ASCENDING|DESCENDING',
    ],
]);

Parameter Details

Members
catalog
Type: string

The catalog in which the agreement was created.

filters
Type: Array of Filter structures

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.

maxResults
Type: int

The maximum number of agreements to return in the response.

nextToken
Type: string

A token to specify where to start pagination.

sort
Type: Sort structure

An object that contains the SortBy and SortOrder attributes.

Result Syntax

[
    'agreementViewSummaries' => [
        [
            'acceptanceTime' => <DateTime>,
            'acceptor' => [
                'accountId' => '<string>',
            ],
            'agreementId' => '<string>',
            'agreementType' => '<string>',
            'endTime' => <DateTime>,
            'proposalSummary' => [
                'offerId' => '<string>',
                'resources' => [
                    [
                        'id' => '<string>',
                        'type' => '<string>',
                    ],
                    // ...
                ],
            ],
            'proposer' => [
                'accountId' => '<string>',
            ],
            'startTime' => <DateTime>,
            'status' => 'ACTIVE|ARCHIVED|CANCELLED|EXPIRED|RENEWED|REPLACED|ROLLED_BACK|SUPERSEDED|TERMINATED',
        ],
        // ...
    ],
    'nextToken' => '<string>',
]

Result Details

Members
agreementViewSummaries
Type: Array of AgreementViewSummary structures

A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).

nextToken
Type: string

The token used for pagination. The field is null if there are no more results.

Errors

ValidationException:

The input fails to satisfy the constraints specified by the service.

AccessDeniedException:

User does not have sufficient access to perform this action.

ThrottlingException:

Request was denied due to request throttling.

InternalServerException:

Unexpected error during processing of request.

Shapes

AcceptedTerm

Description

A subset of terms proposed by the proposer, which have been accepted by the acceptor as part of agreement creation.

Members
byolPricingTerm
Type: ByolPricingTerm structure

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.

configurableUpfrontPricingTerm

Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.

fixedUpfrontPricingTerm
Type: FixedUpfrontPricingTerm structure

Defines a pre-paid pricing model where the customers are charged a fixed upfront amount.

freeTrialPricingTerm
Type: FreeTrialPricingTerm structure

Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.

legalTerm
Type: LegalTerm structure

Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).

paymentScheduleTerm
Type: PaymentScheduleTerm structure

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.

recurringPaymentTerm
Type: RecurringPaymentTerm structure

Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.

renewalTerm
Type: RenewalTerm structure

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.

supportTerm
Type: SupportTerm structure

Defines the customer support available for the acceptors when they purchase the software.

usageBasedPricingTerm
Type: UsageBasedPricingTerm structure

Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.

validityTerm
Type: ValidityTerm structure

Defines the conditions that will keep an agreement created from this offer valid.

Acceptor

Description

The details of the party accepting the agreement terms. This is commonly the buyer for PurchaseAgreement.

Members
accountId
Type: string

The AWS account ID of the acceptor.

AccessDeniedException

Description

User does not have sufficient access to perform this action.

Members
message
Type: string
requestId
Type: string

The unique identifier for the error.

AgreementViewSummary

Description

A summary of the agreement, including top-level attributes (for example, the agreement ID, version, proposer, and acceptor).

Members
acceptanceTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time that the agreement was accepted.

acceptor
Type: Acceptor structure

Details of the party accepting the agreement terms. This is commonly the buyer for PurchaseAgreement.

agreementId
Type: string

The unique identifier of the agreement.

agreementType
Type: string

The type of agreement. Values are PurchaseAgreement or VendorInsightsAgreement.

endTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time when the agreement ends. The field is null for pay-as-you-go agreements, which don’t have end dates.

proposalSummary
Type: ProposalSummary structure

A summary of the proposal

proposer
Type: Proposer structure

Details of the party proposing the agreement terms, most commonly the seller for PurchaseAgreement.

startTime
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date and time when the agreement starts.

status
Type: string

The current status of the agreement.

ByolPricingTerm

Description

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.

Members
type
Type: string

Type of the term being updated.

ConfigurableUpfrontPricingTerm

Description

Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.

Members
configuration

Additional parameters specified by the acceptor while accepting the term.

currencyCode
Type: string

Defines the currency for the prices mentioned in the term.

rateCards
Type: Array of ConfigurableUpfrontRateCardItem structures

A rate card defines the per unit rates for product dimensions.

type
Type: string

Category of selector.

ConfigurableUpfrontPricingTermConfiguration

Description

Defines a prepaid payment model that allows buyers to configure the entitlements they want to purchase and the duration.

Members
dimensions
Required: Yes
Type: Array of Dimension structures

Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.

selectorValue
Required: Yes
Type: string

Defines the length of time for which the particular pricing/dimension is being purchased by the acceptor.

ConfigurableUpfrontRateCardItem

Description

Within the prepaid payment model defined under ConfigurableUpfrontPricingTerm, the RateCardItem defines all the various rate cards (including pricing and dimensions) that have been proposed.

Members
constraints
Type: Constraints structure

Defines limits on how the term can be configured by acceptors.

rateCard
Type: Array of RateCardItem structures

Defines the per unit rates for product dimensions.

selector
Type: Selector structure

Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.

Constraints

Description

Defines limits on how the term can be configured by acceptors.

Members
multipleDimensionSelection
Type: string

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.

quantityConfiguration
Type: string

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.

Dimension

Description

Defines the dimensions that the acceptor has purchased from the overall set of dimensions presented in the rate card.

Members
dimensionKey
Required: Yes
Type: string

The name of key value of the dimension.

dimensionValue
Required: Yes
Type: int

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.

DocumentItem

Description

Includes the list of references to legal resources proposed by the proposer to the acceptor. Each DocumentItem refers to an individual reference.

Members
type
Type: string

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.

url
Type: string

A URL to the legal document for buyers to read. Required when Type is CustomEula.

version
Type: string

Version of standard contracts provided by AWS Marketplace. Required when Type is StandardEula or StandardDsa.

EstimatedCharges

Description

Estimated cost of the agreement.

Members
agreementValue
Type: string

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.

currencyCode
Type: string

Defines the currency code for the charge.

Filter

Description

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 offerId or productId.

Members
name
Type: string

The name of the filter.

values
Type: Array of strings

The filter value.

FixedUpfrontPricingTerm

Description

Defines a prepaid pricing model where the customers are charged a fixed upfront amount.

Members
currencyCode
Type: string

Defines the currency for the prices mentioned in this term.

duration
Type: string

Contract duration for the terms.

grants
Type: Array of GrantItem structures

Entitlements granted to the acceptor of fixed upfront as part of agreement execution.

price
Type: string

Fixed amount to be charged to the customer when this term is accepted.

type
Type: string

Category of the term being updated.

FreeTrialPricingTerm

Description

Defines a short-term free pricing model where the buyers aren’t charged anything within a specified limit.

Members
duration
Type: string

Duration of the free trial period (5–31 days).

grants
Type: Array of GrantItem structures

Entitlements granted to the acceptor of a free trial as part of an agreement execution.

type
Type: string

Category of the term.

GrantItem

Description

Entitlements granted to the acceptor of fixed upfront as part of agreement execution.

Members
dimensionKey
Type: string

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.

maxQuantity
Type: int

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.

InternalServerException

Description

Unexpected error during processing of request.

Members
message
Type: string
requestId
Type: string

The unique identifier for the error.

LegalTerm

Description

Defines the list of text agreements proposed to the acceptors. An example is the end user license agreement (EULA).

Members
documents
Type: Array of DocumentItem structures

List of references to legal resources proposed to the buyers. An example is the EULA.

type
Type: string

Category of the term being updated.

PaymentScheduleTerm

Description

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.

Members
currencyCode
Type: string

Defines the currency for the prices mentioned in the term.

schedule
Type: Array of ScheduleItem structures

List of the payment schedule where each element defines one installment of payment. It contains the information necessary for calculating the price.

type
Type: string

Type of the term.

ProposalSummary

Description

A summary of the proposal received from the proposer.

Members
offerId
Type: string

The unique identifier of the offer in AWS Marketplace.

resources
Type: Array of Resource structures

The list of resources involved in the agreement.

Proposer

Description

Details of the party proposing the agreement terms,. This is commonly the seller for PurchaseAgreement.

Members
accountId
Type: string

The AWS account ID of the proposer.

RateCardItem

Description

Defines the per unit rates for each individual product dimension.

Members
dimensionKey
Type: string

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.

price
Type: string

Per unit price for the product dimension that’s used for calculating the amount to be charged.

RecurringPaymentTerm

Description

Defines a pricing model where customers are charged a fixed recurring price at the end of each billing period.

Members
billingPeriod
Type: string

Defines the recurrence at which buyers are charged.

currencyCode
Type: string

Defines the currency for the prices mentioned in this term.

price
Type: string

Amount charged to the buyer every billing period.

type
Type: string

Type of the term being updated.

RenewalTerm

Description

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 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.

Members
configuration
Type: RenewalTermConfiguration structure

Additional parameters specified by the acceptor while accepting the term.

type
Type: string

Category of the term being updated.

RenewalTermConfiguration

Description

Additional parameters specified by the acceptor while accepting the term.

Members
enableAutoRenew
Required: Yes
Type: boolean

Defines whether the acceptor has chosen to auto-renew the agreement at the end of its lifecycle. Can be set to True or False.

Resource

Description

The list of resources involved in the agreement.

Members
id
Type: string

The unique identifier of the resource.

We mention the term resource, which is most commonly a product, so a resourceId is also a productId.

type
Type: string

Type of the resource, which is the product. Values include SaaSProduct or AmiProduct.

ResourceNotFoundException

Description

Request references a resource which does not exist.

Members
message
Type: string
requestId
Type: string

The unique identifier for the error.

resourceId
Type: string

The unique identifier for the resource.

resourceType
Type: string

The type of resource.

ScheduleItem

Description

An individual installment of the payment that includes the date and amount of the charge.

Members
chargeAmount
Type: string

The price that the customer would pay on the scheduled date (chargeDate).

chargeDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

The date that the customer would pay the price defined in this payment schedule term. Invoices are generated on the date provided.

Selector

Description

Differentiates between the mutually exclusive rate cards in the same pricing term to be selected by the buyer.

Members
type
Type: string

Category of selector.

value
Type: string

Contract duration. This field supports the ISO 8601 format.

Sort

Description

An object that contains the SortBy and SortOrder attributes.

Members
sortBy
Type: string

The attribute on which the data is grouped, which can be by StartTime and EndTime. The default value is EndTime.

sortOrder
Type: string

The sorting order, which can be ASCENDING or DESCENDING. The default value is DESCENDING.

SupportTerm

Description

Defines the customer support available for the acceptors when they purchase the software.

Members
refundPolicy
Type: string

Free-text field about the refund policy description that will be shown to customers as is on the website and console.

type
Type: string

Category of the term being updated.

ThrottlingException

Description

Request was denied due to request throttling.

Members
message
Type: string
requestId
Type: string

The unique identifier for the error.

UsageBasedPricingTerm

Description

Defines a usage-based pricing model (typically, pay-as-you-go pricing), where the customers are charged based on product usage.

Members
currencyCode
Type: string

Defines the currency for the prices mentioned in the term.

rateCards
Type: Array of UsageBasedRateCardItem structures

List of rate cards.

type
Type: string

Category of the term.

UsageBasedRateCardItem

Description

Within the pay-as-you-go model defined under UsageBasedPricingTerm, the UsageBasedRateCardItem defines an individual rate for a product dimension.

Members
rateCard
Type: Array of RateCardItem structures

Defines the per unit rates for product dimensions.

ValidationException

Description

The input fails to satisfy the constraints specified by the service.

Members
fields
Type: Array of ValidationExceptionField structures

The fields associated with the error.

message
Type: string
reason
Type: string

The reason associated with the error.

requestId
Type: string

The unique identifier associated with the error.

ValidationExceptionField

Description

The input fails to satisfy the constraints specified by the service.

Members
message
Required: Yes
Type: string

See applicable actions.

name
Required: Yes
Type: string

The name of the field associated with the error.

ValidityTerm

Description

Defines the conditions that will keep an agreement created from this offer valid.

Members
agreementDuration
Type: string

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.

agreementEndDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

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.

agreementStartDate
Type: timestamp (string|DateTime or anything parsable by strtotime)

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.

type
Type: string

Category of the term being updated.