product_subscriptions
Creates, updates, deletes, gets or lists a product_subscriptions resource.
Overview
| Name | product_subscriptions |
| Type | Resource |
| Id | aws.license_manager_user_subscriptions.product_subscriptions |
Fields
The following fields are returned by SELECT queries:
- list_product_subscriptions
| Name | Datatype | Description |
|---|---|---|
domain | string | The domain name of the Active Directory that contains the user information for the product subscription. |
identity_provider | object | Refers to an identity provider. |
product | string | The name of the user-based subscription product. |
product_user_arn | string | The 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>) |
status | string | The status of a product for this user. |
status_message | string | The status message for a product for this user. |
subscription_end_date | string | The end date of a subscription. |
subscription_start_date | string | The start date of a subscription. |
username | string | The user name from the identity provider for this product user. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_product_subscriptions | select | region | Lists 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_product_subscriptions
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
;