Skip to main content

benefit_allocations

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

Overview

Namebenefit_allocations
TypeResource
Idaws.partnercentral_benefits.benefit_allocations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
applicable_benefit_idsarrayA list of benefit identifiers that this allocation can be applied to.
arnstringThe Amazon Resource Name (ARN) of the benefit allocation. (pattern: <code>(arn:.+benalloc-[0-9a-z]{14})</code>)
benefit_application_idstringThe identifier of the benefit application that resulted in this allocation. (pattern: <code>benappl-[0-9a-z]{14}</code>)
benefit_idstringThe identifier of the benefit that this allocation is based on. (pattern: <code>(arn:.+|ben-[0-9a-z]{14})</code>)
catalogstringThe catalog identifier that the benefit allocation belongs to. (pattern: <code>[A-Za-z0-9_-]+</code>)
created_atstring (date-time)The timestamp when the benefit allocation was created.
descriptionstringA detailed description of the benefit allocation.
expires_atstring (date-time)The timestamp when the benefit allocation expires and is no longer usable.
fulfillment_detailobjectDetailed information about how the benefit allocation is fulfilled.
fulfillment_typestringThe fulfillment type used for this benefit allocation. (CREDITS, CASH, ACCESS)
idstringThe unique identifier of the benefit allocation. (pattern: <code>benalloc-[0-9a-z]{14}</code>)
namestringThe human-readable name of the benefit allocation.
starts_atstring (date-time)The timestamp when the benefit allocation becomes active and usable.
statusstringThe current status of the benefit allocation (e.g., active, expired, consumed). (ACTIVE, INACTIVE, FULFILLED)
status_reasonstringAdditional information explaining the current status of the benefit allocation.
updated_atstring (date-time)The timestamp when the benefit allocation was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_benefit_allocationselectregionRetrieves detailed information about a specific benefit allocation that has been granted to a partner.
list_benefit_allocationsselectregionRetrieves a paginated list of benefit allocations based on specified filter criteria.

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 allocation that has been granted to a partner.

SELECT
applicable_benefit_ids,
arn,
benefit_application_id,
benefit_id,
catalog,
created_at,
description,
expires_at,
fulfillment_detail,
fulfillment_type,
id,
name,
starts_at,
status,
status_reason,
updated_at
FROM aws.partnercentral_benefits.benefit_allocations
WHERE region = '{{ region }}' -- required
;