libZSservicesZSamazonka-memorydbZSamazonka-memorydb
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.MemoryDb.DeleteUser

Description

Deletes a user. The user will be removed from all ACLs and in turn removed from all clusters.

Synopsis

Creating a Request

data DeleteUser Source #

See: newDeleteUser smart constructor.

Constructors

DeleteUser' 

Fields

Instances

Instances details
Eq DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

Read DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

Show DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

Generic DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

Associated Types

type Rep DeleteUser :: Type -> Type #

NFData DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

Methods

rnf :: DeleteUser -> () #

Hashable DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

ToJSON DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

AWSRequest DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

Associated Types

type AWSResponse DeleteUser #

ToHeaders DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

Methods

toHeaders :: DeleteUser -> [Header] #

ToPath DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

ToQuery DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

type Rep DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

type Rep DeleteUser = D1 ('MetaData "DeleteUser" "Amazonka.MemoryDb.DeleteUser" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "DeleteUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteUser Source # 
Instance details

Defined in Amazonka.MemoryDb.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:userName:DeleteUser', deleteUser_userName - The name of the user to delete

Request Lenses

deleteUser_userName :: Lens' DeleteUser Text Source #

The name of the user to delete

Destructuring the Response

data DeleteUserResponse Source #

See: newDeleteUserResponse smart constructor.

Constructors

DeleteUserResponse' 

Fields

Instances

Instances details
Eq DeleteUserResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

Read DeleteUserResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

Show DeleteUserResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

Generic DeleteUserResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

Associated Types

type Rep DeleteUserResponse :: Type -> Type #

NFData DeleteUserResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

Methods

rnf :: DeleteUserResponse -> () #

type Rep DeleteUserResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteUser

type Rep DeleteUserResponse = D1 ('MetaData "DeleteUserResponse" "Amazonka.MemoryDb.DeleteUser" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" 'False) (C1 ('MetaCons "DeleteUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe User)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteUserResponse Source #

Create a value of DeleteUserResponse 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:user:DeleteUserResponse', deleteUserResponse_user - The user object that has been deleted.

$sel:httpStatus:DeleteUserResponse', deleteUserResponse_httpStatus - The response's http status code.

Response Lenses

deleteUserResponse_user :: Lens' DeleteUserResponse (Maybe User) Source #

The user object that has been deleted.