libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business
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.AlexaBusiness.CreateUser

Description

Creates a user.

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

Read CreateUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

Show CreateUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

Generic CreateUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

Associated Types

type Rep CreateUser :: Type -> Type #

NFData CreateUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

Methods

rnf :: CreateUser -> () #

Hashable CreateUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

ToJSON CreateUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

AWSRequest CreateUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

Associated Types

type AWSResponse CreateUser #

ToHeaders CreateUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

Methods

toHeaders :: CreateUser -> [Header] #

ToPath CreateUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

ToQuery CreateUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

type Rep CreateUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

type Rep CreateUser = D1 ('MetaData "CreateUser" "Amazonka.AlexaBusiness.CreateUser" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "CreateUser'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "email") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "firstName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse CreateUser Source # 
Instance details

Defined in Amazonka.AlexaBusiness.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 email address for the user.

$sel:lastName:CreateUser', createUser_lastName - The last name for the user.

$sel:firstName:CreateUser', createUser_firstName - The first name for the user.

$sel:clientRequestToken:CreateUser', createUser_clientRequestToken - A unique, user-specified identifier for this request that ensures idempotency.

$sel:tags:CreateUser', createUser_tags - The tags for the user.

$sel:userId:CreateUser', createUser_userId - The ARN for the user.

Request Lenses

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

The email address for the user.

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

The last name for the user.

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

The first name for the user.

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

A unique, user-specified identifier for this request that ensures idempotency.

createUser_tags :: Lens' CreateUser (Maybe [Tag]) Source #

The tags for the user.

createUser_userId :: Lens' CreateUser Text Source #

The ARN for the user.

Destructuring the Response

data CreateUserResponse Source #

See: newCreateUserResponse smart constructor.

Constructors

CreateUserResponse' 

Fields

Instances

Instances details
Eq CreateUserResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

Read CreateUserResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

Show CreateUserResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

Generic CreateUserResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

Associated Types

type Rep CreateUserResponse :: Type -> Type #

NFData CreateUserResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

Methods

rnf :: CreateUserResponse -> () #

type Rep CreateUserResponse Source # 
Instance details

Defined in Amazonka.AlexaBusiness.CreateUser

type Rep CreateUserResponse = D1 ('MetaData "CreateUserResponse" "Amazonka.AlexaBusiness.CreateUser" "libZSservicesZSamazonka-alexa-businessZSamazonka-alexa-business" 'False) (C1 ('MetaCons "CreateUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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:userArn:CreateUserResponse', createUserResponse_userArn - The ARN of the newly created user in the response.

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

Response Lenses

createUserResponse_userArn :: Lens' CreateUserResponse (Maybe Text) Source #

The ARN of the newly created user in the response.