libZSservicesZSamazonka-chimeZSamazonka-chime
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Chime.GetUser

Description

Retrieves details for the specified user ID, such as primary email address, license type,and personal meeting PIN.

To retrieve user details with an email address instead of a user ID, use the ListUsers action, and then filter by email address.

Synopsis

Creating a Request

data GetUser Source #

See: newGetUser smart constructor.

Constructors

GetUser' 

Fields

Instances

Instances details
Eq GetUser Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Methods

(==) :: GetUser -> GetUser -> Bool #

(/=) :: GetUser -> GetUser -> Bool #

Read GetUser Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Show GetUser Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Generic GetUser Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Associated Types

type Rep GetUser :: Type -> Type #

Methods

from :: GetUser -> Rep GetUser x #

to :: Rep GetUser x -> GetUser #

NFData GetUser Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Methods

rnf :: GetUser -> () #

Hashable GetUser Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Methods

hashWithSalt :: Int -> GetUser -> Int #

hash :: GetUser -> Int #

AWSRequest GetUser Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Associated Types

type AWSResponse GetUser #

ToHeaders GetUser Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Methods

toHeaders :: GetUser -> [Header] #

ToPath GetUser Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Methods

toPath :: GetUser -> ByteString #

ToQuery GetUser Source # 
Instance details

Defined in Amazonka.Chime.GetUser

type Rep GetUser Source # 
Instance details

Defined in Amazonka.Chime.GetUser

type Rep GetUser = D1 ('MetaData "GetUser" "Amazonka.Chime.GetUser" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "GetUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetUser Source # 
Instance details

Defined in Amazonka.Chime.GetUser

newGetUser Source #

Create a value of GetUser with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accountId:GetUser', getUser_accountId - The Amazon Chime account ID.

$sel:userId:GetUser', getUser_userId - The user ID.

Request Lenses

getUser_accountId :: Lens' GetUser Text Source #

The Amazon Chime account ID.

Destructuring the Response

data GetUserResponse Source #

See: newGetUserResponse smart constructor.

Constructors

GetUserResponse' 

Fields

Instances

Instances details
Eq GetUserResponse Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Show GetUserResponse Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Generic GetUserResponse Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Associated Types

type Rep GetUserResponse :: Type -> Type #

NFData GetUserResponse Source # 
Instance details

Defined in Amazonka.Chime.GetUser

Methods

rnf :: GetUserResponse -> () #

type Rep GetUserResponse Source # 
Instance details

Defined in Amazonka.Chime.GetUser

type Rep GetUserResponse = D1 ('MetaData "GetUserResponse" "Amazonka.Chime.GetUser" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "GetUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe User)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetUserResponse Source #

Create a value of GetUserResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:user:GetUserResponse', getUserResponse_user - The user details.

$sel:httpStatus:GetUserResponse', getUserResponse_httpStatus - The response's http status code.

Response Lenses

getUserResponse_httpStatus :: Lens' GetUserResponse Int Source #

The response's http status code.