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

Description

Updates user details for a specified user ID. Currently, only LicenseType updates are supported for this action.

Synopsis

Creating a Request

data UpdateUser Source #

See: newUpdateUser smart constructor.

Constructors

UpdateUser' 

Fields

Instances

Instances details
Eq UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Show UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Generic UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Associated Types

type Rep UpdateUser :: Type -> Type #

NFData UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Methods

rnf :: UpdateUser -> () #

Hashable UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

ToJSON UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

AWSRequest UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Associated Types

type AWSResponse UpdateUser #

ToHeaders UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Methods

toHeaders :: UpdateUser -> [Header] #

ToPath UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

ToQuery UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

type Rep UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

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

Defined in Amazonka.Chime.UpdateUser

newUpdateUser Source #

Create a value of UpdateUser 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:licenseType:UpdateUser', updateUser_licenseType - The user license type to update. This must be a supported license type for the Amazon Chime account that the user belongs to.

$sel:userType:UpdateUser', updateUser_userType - The user type.

$sel:alexaForBusinessMetadata:UpdateUser', updateUser_alexaForBusinessMetadata - The Alexa for Business metadata.

$sel:accountId:UpdateUser', updateUser_accountId - The Amazon Chime account ID.

$sel:userId:UpdateUser', updateUser_userId - The user ID.

Request Lenses

updateUser_licenseType :: Lens' UpdateUser (Maybe License) Source #

The user license type to update. This must be a supported license type for the Amazon Chime account that the user belongs to.

updateUser_accountId :: Lens' UpdateUser Text Source #

The Amazon Chime account ID.

Destructuring the Response

data UpdateUserResponse Source #

See: newUpdateUserResponse smart constructor.

Constructors

UpdateUserResponse' 

Fields

Instances

Instances details
Eq UpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Show UpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Generic UpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Associated Types

type Rep UpdateUserResponse :: Type -> Type #

NFData UpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Methods

rnf :: UpdateUserResponse -> () #

type Rep UpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

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

newUpdateUserResponse Source #

Create a value of UpdateUserResponse 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:UpdateUserResponse', updateUserResponse_user - The updated user details.

$sel:httpStatus:UpdateUserResponse', updateUserResponse_httpStatus - The response's http status code.

Response Lenses