amazonka-chime-2.0: Amazon Chime SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.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

AWSRequest UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Associated Types

type AWSResponse UpdateUser #

Generic UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Associated Types

type Rep UpdateUser :: Type -> Type #

Show UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

NFData UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Methods

rnf :: UpdateUser -> () #

Eq UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Hashable UpdateUser Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

type AWSResponse 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" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "UpdateUser'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "alexaForBusinessMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AlexaForBusinessMetadata)) :*: S1 ('MetaSel ('Just "licenseType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe License))) :*: (S1 ('MetaSel ('Just "userType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe UserType)) :*: (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

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:

UpdateUser, updateUser_alexaForBusinessMetadata - The Alexa for Business metadata.

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.

UpdateUser, updateUser_userType - The user type.

UpdateUser, updateUser_accountId - The Amazon Chime account ID.

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
Generic UpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Associated Types

type Rep UpdateUserResponse :: Type -> Type #

Show UpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

NFData UpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

Methods

rnf :: UpdateUserResponse -> () #

Eq UpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

type Rep UpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.UpdateUser

type Rep UpdateUserResponse = D1 ('MetaData "UpdateUserResponse" "Amazonka.Chime.UpdateUser" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" '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