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.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
Eq BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Show BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Generic BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Associated Types

type Rep BatchUpdateUser :: Type -> Type #

NFData BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Methods

rnf :: BatchUpdateUser -> () #

Hashable BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

ToJSON BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

AWSRequest BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Associated Types

type AWSResponse 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

type Rep BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

type Rep BatchUpdateUser = D1 ('MetaData "BatchUpdateUser" "Amazonka.Chime.BatchUpdateUser" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "BatchUpdateUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updateUserRequestItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [UpdateUserRequestItem])))
type AWSResponse BatchUpdateUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

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:

$sel:accountId: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
Eq BatchUpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Read BatchUpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Show BatchUpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Generic BatchUpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Associated Types

type Rep BatchUpdateUserResponse :: Type -> Type #

NFData BatchUpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

Methods

rnf :: BatchUpdateUserResponse -> () #

type Rep BatchUpdateUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUpdateUser

type Rep BatchUpdateUserResponse = D1 ('MetaData "BatchUpdateUserResponse" "Amazonka.Chime.BatchUpdateUser" "libZSservicesZSamazonka-chimeZSamazonka-chime" '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.