Skip to main content

user_details

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

Overview

Nameuser_details
TypeResource
Idaws.codecatalyst.user_details

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
display_namestringThe friendly name displayed for the user in Amazon CodeCatalyst.
primary_emailobjectThe email address provided by the user when they signed up.
user_idstringThe system-generated unique ID of the user.
user_namestringThe name of the user as displayed in Amazon CodeCatalyst.
versionstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_user_detailsselectregionid, userNameReturns information about a user.

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)
idstringThe system-generated unique ID of the user.
userNamestringThe name of the user as displayed in Amazon CodeCatalyst.

SELECT examples

Returns information about a user.

SELECT
display_name,
primary_email,
user_id,
user_name,
version
FROM aws.codecatalyst.user_details
WHERE region = '{{ region }}' -- required
AND id = '{{ id }}'
AND userName = '{{ userName }}'
;