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

Description

Suspends up to 50 users from a Team or EnterpriseLWA Amazon Chime account. For more information about different account types, see Managing Your Amazon Chime Accounts in the Amazon Chime Administration Guide.

Users suspended from a Team account are disassociated from the account,but they can continue to use Amazon Chime as free users. To remove the suspension from suspended Team account users, invite them to the Team account again. You can use the InviteUsers action to do so.

Users suspended from an EnterpriseLWA account are immediately signed out of Amazon Chime and can no longer sign in. To remove the suspension from suspended EnterpriseLWA account users, use the BatchUnsuspendUser action.

To sign out users without suspending them, use the LogoutUser action.

Synopsis

Creating a Request

data BatchSuspendUser Source #

See: newBatchSuspendUser smart constructor.

Constructors

BatchSuspendUser' 

Fields

Instances

Instances details
Eq BatchSuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

Read BatchSuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

Show BatchSuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

Generic BatchSuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

Associated Types

type Rep BatchSuspendUser :: Type -> Type #

NFData BatchSuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

Methods

rnf :: BatchSuspendUser -> () #

Hashable BatchSuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

ToJSON BatchSuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

AWSRequest BatchSuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

Associated Types

type AWSResponse BatchSuspendUser #

ToHeaders BatchSuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

ToPath BatchSuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

ToQuery BatchSuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

type Rep BatchSuspendUser Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

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

Defined in Amazonka.Chime.BatchSuspendUser

newBatchSuspendUser Source #

Create a value of BatchSuspendUser 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:BatchSuspendUser', batchSuspendUser_accountId - The Amazon Chime account ID.

$sel:userIdList:BatchSuspendUser', batchSuspendUser_userIdList - The request containing the user IDs to suspend.

Request Lenses

batchSuspendUser_userIdList :: Lens' BatchSuspendUser [Text] Source #

The request containing the user IDs to suspend.

Destructuring the Response

data BatchSuspendUserResponse Source #

See: newBatchSuspendUserResponse smart constructor.

Constructors

BatchSuspendUserResponse' 

Fields

  • userErrors :: Maybe [UserError]

    If the BatchSuspendUser 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 BatchSuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

Read BatchSuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

Show BatchSuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

Generic BatchSuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

Associated Types

type Rep BatchSuspendUserResponse :: Type -> Type #

NFData BatchSuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

type Rep BatchSuspendUserResponse Source # 
Instance details

Defined in Amazonka.Chime.BatchSuspendUser

type Rep BatchSuspendUserResponse = D1 ('MetaData "BatchSuspendUserResponse" "Amazonka.Chime.BatchSuspendUser" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "BatchSuspendUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userErrors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [UserError])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newBatchSuspendUserResponse Source #

Create a value of BatchSuspendUserResponse 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:BatchSuspendUserResponse', batchSuspendUserResponse_userErrors - If the BatchSuspendUser 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:BatchSuspendUserResponse', batchSuspendUserResponse_httpStatus - The response's http status code.

Response Lenses

batchSuspendUserResponse_userErrors :: Lens' BatchSuspendUserResponse (Maybe [UserError]) Source #

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