Skip to main content

agreement_cancellation_requests

Creates, updates, deletes, gets or lists an agreement_cancellation_requests resource.

Overview

Nameagreement_cancellation_requests
TypeResource
Idaws.marketplace_agreement.agreement_cancellation_requests

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
agreement_cancellation_request_idstringThe unique identifier of the cancellation request. (pattern: <code>acr-[a-zA-Z0-9]+</code>)
agreement_idstringThe unique identifier of the agreement associated with this cancellation request. Use DescribeAgreement to retrieve full agreement details. (pattern: <code>[A-Za-z0-9_/-]+</code>)
created_atstring (date-time)The date and time when the cancellation request was created.
descriptionstringThe detailed description of the cancellation reason, if provided.
reason_codestringThe reason code provided for the cancellation. (INCORRECT_TERMS_ACCEPTED, REPLACING_AGREEMENT, TEST_AGREEMENT, ALTERNATIVE_PROCUREMENT_CHANNEL, PRODUCT_DISCONTINUED, UNINTENDED_RENEWAL, BUYER_DISSATISFACTION, OTHER)
statusstringThe current status of the cancellation request. (PENDING_APPROVAL, APPROVED, REJECTED, CANCELLED, VALIDATION_FAILED)
status_messagestringA message providing additional context about the cancellation request status.
updated_atstring (date-time)The date and time when the cancellation request was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_agreement_cancellation_requestselectregionRetrieves detailed information about a specific agreement cancellation request. Both sellers (proposers) and buyers (acceptors) can use this operation to view cancellation requests associated with their agreements.
list_agreement_cancellation_requestsselectregionLists agreement cancellation requests available to you as a seller or buyer. Both sellers (proposers) and buyers (acceptors) can use this operation to find cancellation requests by specifying their party type and applying optional filters. PartyType is a required parameter. A ValidationException is returned if PartyType is not provided.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves detailed information about a specific agreement cancellation request. Both sellers (proposers) and buyers (acceptors) can use this operation to view cancellation requests associated with their agreements.

SELECT
agreement_cancellation_request_id,
agreement_id,
created_at,
description,
reason_code,
status,
status_message,
updated_at
FROM aws.marketplace_agreement.agreement_cancellation_requests
WHERE region = '{{ region }}' -- required
;