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.CreateUser

Description

Creates a user under the specified Amazon Chime account.

Synopsis

Creating a Request

data CreateUser Source #

See: newCreateUser smart constructor.

Constructors

CreateUser' 

Fields

Instances

Instances details
Eq CreateUser Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

Show CreateUser Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

Generic CreateUser Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

Associated Types

type Rep CreateUser :: Type -> Type #

NFData CreateUser Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

Methods

rnf :: CreateUser -> () #

Hashable CreateUser Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

ToJSON CreateUser Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

AWSRequest CreateUser Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

Associated Types

type AWSResponse CreateUser #

ToHeaders CreateUser Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

Methods

toHeaders :: CreateUser -> [Header] #

ToPath CreateUser Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

ToQuery CreateUser Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

type Rep CreateUser Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

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

Defined in Amazonka.Chime.CreateUser

newCreateUser Source #

Create a value of CreateUser 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:email:CreateUser', createUser_email - The user's email address.

$sel:username:CreateUser', createUser_username - The user name.

$sel:userType:CreateUser', createUser_userType - The user type.

$sel:accountId:CreateUser', createUser_accountId - The Amazon Chime account ID.

Request Lenses

createUser_email :: Lens' CreateUser (Maybe Text) Source #

The user's email address.

createUser_accountId :: Lens' CreateUser Text Source #

The Amazon Chime account ID.

Destructuring the Response

data CreateUserResponse Source #

See: newCreateUserResponse smart constructor.

Constructors

CreateUserResponse' 

Fields

Instances

Instances details
Eq CreateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

Show CreateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

Generic CreateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

Associated Types

type Rep CreateUserResponse :: Type -> Type #

NFData CreateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

Methods

rnf :: CreateUserResponse -> () #

type Rep CreateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateUser

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

newCreateUserResponse Source #

Create a value of CreateUserResponse 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:CreateUserResponse', createUserResponse_user - Undocumented member.

$sel:httpStatus:CreateUserResponse', createUserResponse_httpStatus - The response's http status code.

Response Lenses