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

Defined in Amazonka.Chime.BatchUnsuspendUser

Read BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Show BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Generic BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Associated Types

type Rep BatchUnsuspendUser :: Type -> Type #

NFData BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Methods

rnf :: BatchUnsuspendUser -> () #

Hashable BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

ToJSON BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

AWSRequest BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Associated Types

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

type Rep BatchUnsuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

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

Defined in Amazonka.Chime.BatchUnsuspendUser

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:

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

Defined in Amazonka.Chime.BatchUnsuspendUser

Read BatchUnsuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Show BatchUnsuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Generic BatchUnsuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchUnsuspendUser

Associated Types

type Rep BatchUnsuspendUserResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-chimeZSamazonka-chime" '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.