Skip to main content

benefits

Creates, updates, deletes, gets or lists a benefits resource.

Overview​

Namebenefits
TypeResource
Idaws.partnercentral_benefits.benefits

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe Amazon Resource Name (ARN) of the benefit.
benefit_request_schemaobjectThe schema definition that describes the required fields for requesting this benefit.
catalogstringThe catalog identifier that the benefit belongs to. (pattern: <code>[A-Za-z0-9_-]+</code>)
descriptionstringA detailed description of the benefit and its purpose.
fulfillment_typesarrayThe available fulfillment types for this benefit (e.g., credits, access, disbursement).
idstringThe unique identifier of the benefit. (pattern: <code>ben-[0-9a-z]{14}</code>)
namestringThe human-readable name of the benefit.
programsarrayThe AWS partner programs that this benefit is associated with.
statusstringThe current status of the benefit (e.g., active, inactive, deprecated). (ACTIVE, INACTIVE)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_benefitselectregionRetrieves detailed information about a specific benefit available in the partner catalog.
list_benefitsselectregionRetrieves a paginated list of available benefits based on specified filter criteria.
cancel_benefit_applicationexecregion, ClientToken, IdentifierCancels a benefit application that is currently in progress, preventing further processing.
submit_benefit_applicationexecregion, IdentifierSubmits a benefit application for review and processing by AWS.

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 benefit available in the partner catalog.

SELECT
arn,
benefit_request_schema,
catalog,
description,
fulfillment_types,
id,
name,
programs,
status
FROM aws.partnercentral_benefits.benefits
WHERE region = '{{ region }}' -- required
;

Lifecycle Methods​

Cancels a benefit application that is currently in progress, preventing further processing.

EXEC aws.partnercentral_benefits.benefits.cancel_benefit_application
@region='{{ region }}' --required
@@json=
'{
"Catalog": "{{ Catalog }}",
"ClientToken": "{{ ClientToken }}",
"Identifier": "{{ Identifier }}",
"Reason": "{{ Reason }}"
}'
;