Skip to main content

product_subscriptions

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

Overview

Nameproduct_subscriptions
TypeResource
Idaws.license_manager_user_subscriptions.product_subscriptions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
domainstringThe domain name of the Active Directory that contains the user information for the product subscription.
identity_providerobjectRefers to an identity provider.
productstringThe name of the user-based subscription product.
product_user_arnstringThe Amazon Resource Name (ARN) for this product user. (pattern: <code>arn:[a-z0-9-.]{1,63}:[a-z0-9-.]{1,63}:[a-z0-9-.]{1,63}:[a-z0-9-.]{1,63}:[a-zA-Z0-9-.]{1,510}/[a-zA-Z0-9-.]{1,510}</code>)
statusstringThe status of a product for this user.
status_messagestringThe status message for a product for this user.
subscription_end_datestringThe end date of a subscription.
subscription_start_datestringThe start date of a subscription.
usernamestringThe user name from the identity provider for this product user.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_product_subscriptionsselectregionLists the user-based subscription products available from an identity provider.

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

Lists the user-based subscription products available from an identity provider.

SELECT
domain,
identity_provider,
product,
product_user_arn,
status,
status_message,
subscription_end_date,
subscription_start_date,
username
FROM aws.license_manager_user_subscriptions.product_subscriptions
WHERE region = '{{ region }}' -- required
;