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

Description

Removes the suspension from up to 50 previously suspended users for the specified Amazon Chime EnterpriseLWA account. Only users on EnterpriseLWA accounts can be unsuspended using this action. For more information about different account types, see Managing Your Amazon Chime Accounts in the account types, in the Amazon Chime Administration Guide.

Previously suspended users who are unsuspended using this action are returned to Registered status. Users who are not previously suspended are ignored.

Synopsis

Creating a Request

data BatchUnsuspendUser Source #

See: newBatchUnsuspendUser smart constructor.

Constructors

BatchUnsuspendUser' 

Fields

Instances

Instances details
ToJSON BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

ToHeaders BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

ToPath BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

ToQuery BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

AWSRequest BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Associated Types

type AWSResponse BatchUnsuspendUser #

Generic BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Associated Types

type Rep BatchUnsuspendUser :: Type -> Type #

Read BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Show BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

NFData BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Methods

rnf :: BatchUnsuspendUser -> () #

Eq BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Hashable BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

type AWSResponse BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

type Rep BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

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

newBatchUnsuspendUser Source #

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

BatchUnsuspendUser, batchUnsuspendUser_accountId - The Amazon Chime account ID.

$sel:userIdList:BatchUnsuspendUser', batchUnsuspendUser_userIdList - The request containing the user IDs to unsuspend.

Request Lenses

batchUnsuspendUser_userIdList :: Lens' BatchUnsuspendUser [Text] Source #

The request containing the user IDs to unsuspend.

Destructuring the Response

data BatchUnsuspendUserResponse Source #

See: newBatchUnsuspendUserResponse smart constructor.

Constructors

BatchUnsuspendUserResponse' 

Fields

  • userErrors :: Maybe [UserError]

    If the BatchUnsuspendUser 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 BatchUnsuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Associated Types

type Rep BatchUnsuspendUserResponse :: Type -> Type #

Read BatchUnsuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Show BatchUnsuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

NFData BatchUnsuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Eq BatchUnsuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

type Rep BatchUnsuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

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

newBatchUnsuspendUserResponse Source #

Create a value of BatchUnsuspendUserResponse 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:BatchUnsuspendUserResponse', batchUnsuspendUserResponse_userErrors - If the BatchUnsuspendUser 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:BatchUnsuspendUserResponse', batchUnsuspendUserResponse_httpStatus - The response's http status code.

Response Lenses

batchUnsuspendUserResponse_userErrors :: Lens' BatchUnsuspendUserResponse (Maybe [UserError]) Source #

If the BatchUnsuspendUser 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.