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

Description

Updates user details within the UpdateUserRequestItem object for up to 20 users for the specified Amazon Chime account. Currently, only LicenseType updates are supported for this action.

Synopsis

Creating a Request

data BatchUpdateUser Source #

See: newBatchUpdateUser smart constructor.

Constructors

BatchUpdateUser' 

Fields

Instances

Instances details
ToJSON BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

ToHeaders BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

ToPath BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

ToQuery BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

AWSRequest BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Associated Types

type AWSResponse BatchUpdateUser #

Generic BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Associated Types

type Rep BatchUpdateUser :: Type -> Type #

Show BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

NFData BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Methods

rnf :: BatchUpdateUser -> () #

Eq BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Hashable BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

type AWSResponse BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

type Rep BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

type Rep BatchUpdateUser = D1 ('MetaData "BatchUpdateUser" "Amazonka.Chime.BatchUpdateUser" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "BatchUpdateUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateUserRequestItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [UpdateUserRequestItem])))

newBatchUpdateUser Source #

Create a value of BatchUpdateUser 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:

BatchUpdateUser, batchUpdateUser_accountId - The Amazon Chime account ID.

$sel:updateUserRequestItems:BatchUpdateUser', batchUpdateUser_updateUserRequestItems - The request containing the user IDs and details to update.

Request Lenses

batchUpdateUser_updateUserRequestItems :: Lens' BatchUpdateUser [UpdateUserRequestItem] Source #

The request containing the user IDs and details to update.

Destructuring the Response

data BatchUpdateUserResponse Source #

See: newBatchUpdateUserResponse smart constructor.

Constructors

BatchUpdateUserResponse' 

Fields

  • userErrors :: Maybe [UserError]

    If the BatchUpdateUser action fails for one or more of the user IDs in the request, a list of the user IDs is returned, along with error codes and error messages.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic BatchUpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Associated Types

type Rep BatchUpdateUserResponse :: Type -> Type #

Read BatchUpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Show BatchUpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

NFData BatchUpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Methods

rnf :: BatchUpdateUserResponse -> () #

Eq BatchUpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

type Rep BatchUpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

type Rep BatchUpdateUserResponse = D1 ('MetaData "BatchUpdateUserResponse" "Amazonka.Chime.BatchUpdateUser" "amazonka-chime-2.0-AQIuSSkHccQ9VXokPBc5Nb" 'False) (C1 ('MetaCons "BatchUpdateUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserError])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchUpdateUserResponse Source #

Create a value of BatchUpdateUserResponse 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:userErrors:BatchUpdateUserResponse', batchUpdateUserResponse_userErrors - If the BatchUpdateUser action fails for one or more of the user IDs in the request, a list of the user IDs is returned, along with error codes and error messages.

$sel:httpStatus:BatchUpdateUserResponse', batchUpdateUserResponse_httpStatus - The response's http status code.

Response Lenses

batchUpdateUserResponse_userErrors :: Lens' BatchUpdateUserResponse (Maybe [UserError]) Source #

If the BatchUpdateUser action fails for one or more of the user IDs in the request, a list of the user IDs is returned, along with error codes and error messages.