Skip to main content

users

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

Overview

Nameusers
TypeResource
Idaws.license_manager_user_subscriptions.users

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
associate_userupdateregion, Username, InstanceId, IdentityProviderAssociates the user to an EC2 instance to utilize user-based subscriptions. Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide.
disassociate_userupdateregionDisassociates the user from an EC2 instance providing user-based subscriptions.

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)

UPDATE examples

Associates the user to an EC2 instance to utilize user-based subscriptions. Your estimated bill for charges on the number of users and related costs will take 48 hours to appear for billing periods that haven't closed (marked as Pending billing status) in Amazon Web Services Billing. For more information, see Viewing your monthly charges in the Amazon Web Services Billing User Guide.

UPDATE aws.license_manager_user_subscriptions.users
SET
Username = '{{ Username }}',
InstanceId = '{{ InstanceId }}',
IdentityProvider = '{{ IdentityProvider }}',
Domain = '{{ Domain }}',
Tags = '{{ Tags }}'
WHERE
region = '{{ region }}' --required
AND Username = '{{ Username }}' --required
AND InstanceId = '{{ InstanceId }}' --required
AND IdentityProvider = '{{ IdentityProvider }}' --required
RETURNING
instance_user_summary;