libZSservicesZSamazonka-connectZSamazonka-connect
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.Connect.DeleteUser

Description

Deletes a user account from the specified Amazon Connect instance.

For information about what happens to a user's data when their account is deleted, see Delete Users from Your Amazon Connect Instance in the Amazon Connect Administrator Guide.

Synopsis

Creating a Request

data DeleteUser Source #

See: newDeleteUser smart constructor.

Constructors

DeleteUser' 

Fields

  • instanceId :: Text

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

  • userId :: Text

    The identifier of the user.

Instances

Instances details
Eq DeleteUser Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

Read DeleteUser Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

Show DeleteUser Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

Generic DeleteUser Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

Associated Types

type Rep DeleteUser :: Type -> Type #

NFData DeleteUser Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

Methods

rnf :: DeleteUser -> () #

Hashable DeleteUser Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

AWSRequest DeleteUser Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

Associated Types

type AWSResponse DeleteUser #

ToHeaders DeleteUser Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

Methods

toHeaders :: DeleteUser -> [Header] #

ToPath DeleteUser Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

ToQuery DeleteUser Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

type Rep DeleteUser Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

type Rep DeleteUser = D1 ('MetaData "DeleteUser" "Amazonka.Connect.DeleteUser" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "DeleteUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteUser Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

newDeleteUser Source #

Create a value of DeleteUser 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:instanceId:DeleteUser', deleteUser_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

$sel:userId:DeleteUser', deleteUser_userId - The identifier of the user.

Request Lenses

deleteUser_instanceId :: Lens' DeleteUser Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

deleteUser_userId :: Lens' DeleteUser Text Source #

The identifier of the user.

Destructuring the Response

data DeleteUserResponse Source #

See: newDeleteUserResponse smart constructor.

Constructors

DeleteUserResponse' 

Instances

Instances details
Eq DeleteUserResponse Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

Read DeleteUserResponse Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

Show DeleteUserResponse Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

Generic DeleteUserResponse Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

Associated Types

type Rep DeleteUserResponse :: Type -> Type #

NFData DeleteUserResponse Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

Methods

rnf :: DeleteUserResponse -> () #

type Rep DeleteUserResponse Source # 
Instance details

Defined in Amazonka.Connect.DeleteUser

type Rep DeleteUserResponse = D1 ('MetaData "DeleteUserResponse" "Amazonka.Connect.DeleteUser" "libZSservicesZSamazonka-connectZSamazonka-connect" 'False) (C1 ('MetaCons "DeleteUserResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteUserResponse :: DeleteUserResponse Source #

Create a value of DeleteUserResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.