[ aws . marketplace-agreement ]
Provides details about an agreement, such as the proposer, acceptor, start date, and end date.
See also: AWS API Documentation
describe-agreement
--agreement-id <value>
[--cli-input-json | --cli-input-yaml]
[--generate-cli-skeleton <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
[--cli-binary-format <value>]
[--no-cli-pager]
[--cli-auto-prompt]
[--no-cli-auto-prompt]
[--cli-error-format <value>]
--agreement-id (string) [required]
The unique identifier of the agreement.
Constraints:
- min:
1- max:
64- pattern:
[A-Za-z0-9_/-]+
--cli-input-json | --cli-input-yaml (string)
Reads arguments from the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, those values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally. This may not be specified along with --cli-input-yaml.
--generate-cli-skeleton (string)
Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. Similarly, if provided yaml-input it will print a sample input YAML that can be used with --cli-input-yaml. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command. The generated JSON skeleton is not stable between versions of the AWS CLI and there are no backwards compatibility guarantees in the JSON skeleton generated.
--debug (boolean)
Turn on debug logging.
--endpoint-url (string)
Override command’s default URL with the given URL.
--no-verify-ssl (boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate (boolean)
Disable automatic pagination. If automatic pagination is disabled, the AWS CLI will only make one call, for the first page of results.
--output (string)
The formatting style for command output.
--query (string)
A JMESPath query to use in filtering the response data.
--profile (string)
Use a specific profile from your credential file.
--region (string)
The region to use. Overrides config/env settings.
--version (string)
Display the version of this tool.
--color (string)
Turn on/off color output.
--no-sign-request (boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle (string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout (int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout (int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.
--cli-binary-format (string)
The formatting style to be used for binary blobs. The default format is base64. The base64 format expects binary blobs to be provided as a base64 encoded string. The raw-in-base64-out format preserves compatibility with AWS CLI V1 behavior and binary values must be passed literally. When providing contents from a file that map to a binary blob fileb:// will always be treated as binary and use the file contents directly regardless of the cli-binary-format setting. When using file:// the file contents will need to properly formatted for the configured cli-binary-format.
--no-cli-pager (boolean)
Disable cli pager for output.
--cli-auto-prompt (boolean)
Automatically prompt for CLI input parameters.
--no-cli-auto-prompt (boolean)
Disable automatically prompt for CLI input parameters.
--cli-error-format (string)
The formatting style for error output. By default, errors are displayed in enhanced format.
agreementId -> (string)
The unique identifier of the agreement.
Constraints:
- min:
1- max:
64- pattern:
[A-Za-z0-9_/-]+
acceptor -> (structure)
The details of the party accepting the agreement terms. This is commonly the buyer for
PurchaseAgreement.accountId -> (string)
The AWS account ID of the acceptor.
Constraints:
- min:
12- max:
12- pattern:
[0-9]+
proposer -> (structure)
The details of the party proposing the agreement terms. This is commonly the seller for
PurchaseAgreement.accountId -> (string)
The AWS account ID of the proposer.
Constraints:
- min:
12- max:
12- pattern:
[0-9]+
startTime -> (timestamp)
The date and time when the agreement starts.
endTime -> (timestamp)
The date and time when the agreement ends. The field isnullfor pay-as-you-go agreements, which don’t have end dates.
acceptanceTime -> (timestamp)
The date and time the offer was accepted or the agreement was created.
Note
AcceptanceTimeandStartTimecan differ for future dated agreements (FDAs).
agreementType -> (string)
The type of agreement. Values are
PurchaseAgreementorVendorInsightsAgreement.Constraints:
- min:
1- max:
64- pattern:
[A-Za-z]+
estimatedCharges -> (structure)
The estimated cost of the agreement.
currencyCode -> (string)
Defines the currency code for the charge.
Constraints:
- min:
3- max:
3- pattern:
[A-Z]+agreementValue -> (string)
The total known amount customer has to pay across the lifecycle of the agreement.
Note
This is the total contract value if accepted terms contain
ConfigurableUpfrontPricingTermorFixedUpfrontPricingTerm. 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
0if the accepted terms containUsageBasedPricingTermwithoutConfigurableUpfrontPricingTermorRecurringPaymentTerm. This occurs for usage-based pricing (such as SaaS metered or AMI/container hourly or monthly), because the exact usage is not known upfront.Constraints:
- min:
1- max:
4096- pattern:
(.)+
proposalSummary -> (structure)
A summary of the proposal received from the proposer.
resources -> (list)
The list of resources involved in the agreement.
(structure)
The list of resources involved in the agreement.
id -> (string)
The unique identifier of the resource.
Note
We mention the term resource, which is most commonly a product, so aresourceIdis also aproductId.Constraints:
- min:
1- max:
64- pattern:
[A-Za-z0-9_/-]+type -> (string)
Type of the resource, which is the product (for example,
SaaSProduct,AmiProduct,ContainerProduct).Constraints:
- min:
1- max:
64- pattern:
[a-zA-Z]+offerId -> (string)
The unique identifier of the offer in AWS Marketplace.
Constraints:
- min:
1- max:
64- pattern:
\S{1,64}offerSetId -> (string)
A unique identifier for the offer set containing this offer. All agreements created from offers in this set include this identifier as context.
Constraints:
- pattern:
\S{1,50}
status -> (string)
The current status of the agreement.
Statuses include:
ACTIVE– The terms of the agreement are active.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.TERMINATED– The agreement ended before the defined end date because of an AWS termination (for example, a payment failure).Possible values:
ACTIVEARCHIVEDCANCELLEDEXPIREDRENEWEDREPLACEDROLLED_BACKSUPERSEDEDTERMINATED
initialAgreementId -> (string)
The unique identifier of the very first agreement in a chain of related agreements, such as renewals or replacements. It stays the same across all agreements in that chain, which lets you trace an agreement back to the original. When an agreement isn’t derived from another agreement, its
InitialAgreementIdis its ownAgreementId.Constraints:
- min:
1- max:
64- pattern:
[A-Za-z0-9_/-]+
endTimeBehavior -> (structure)
The behavior of the agreement when it reaches its end date. For example, whether the agreement renews, and if it doesn’t, the reason why.
This field is present for every active agreement that has an end date. It is not present for an agreement that has no end date, because such an agreement never reaches an end time. Pay-as-you-go agreements are the most common example. It is also not present for an agreement that is no longer active.
type -> (string) [required]
The behavior of the agreement when it reaches its end date.
Types include:
RENEW– A new agreement is created from the accepted terms of this agreement.REPLACE– A new agreement is created from a different offer than the one this agreement was created from. This happens, for example, when a private offer reaches its end date and the acceptor transitions to the public offer for the product.EXPIRE– The agreement ends and isn’t renewed or replaced.Possible values:
RENEWREPLACEEXPIREreasonCode -> (string)
The reason why the agreement doesn’t renew at its end date. The field is
nullwhen the agreement renews.More than one reason can apply to the same agreement. When that happens, the operation returns only one reason code, and
PROPOSER_RENEW_OPTED_OUTtakes precedence over all others.The
EnableAutoRenewfield reflects only the acceptor’s preference, and doesn’t reflect the other reasons an agreement might not renew.Reason codes include:
PROPOSER_RENEW_OPTED_OUT– The proposer opted out of renewing the agreement.ACCEPTOR_RENEW_OPTED_OUT– The acceptor opted out of renewing the agreement.NO_RENEWAL_TERM– The accepted terms of the agreement don’t include a renewal term, which is required for an agreement to renew.RENEWAL_LIMIT_EXHAUSTED– The agreement reached the maximum number of renewals allowed by its renewal term.Possible values:
PROPOSER_RENEW_OPTED_OUTACCEPTOR_RENEW_OPTED_OUTNO_RENEWAL_TERMRENEWAL_LIMIT_EXHAUSTEDrenewalSummary -> (structure)
The details of the renewal that applies at the end date of the agreement. This field is present when
TypeisRENEW. It is also present whenReasonCodeisPROPOSER_RENEW_OPTED_OUTorACCEPTOR_RENEW_OPTED_OUT. In those cases, it identifies the offer that the agreement would otherwise have renewed from. The field isnullin all other cases.offerId -> (string)
The unique identifier of the offer that provides the terms for the next renewal cycle. For most renewals, this is the same offer that the agreement was created from.
Constraints:
- min:
1- max:
64- pattern:
\S{1,64}