libZSservicesZSamazonka-quicksightZSamazonka-quicksight
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.QuickSight.DeleteUser

Description

Deletes the Amazon QuickSight user that is associated with the identity of the Identity and Access Management (IAM) user or role that's making the call. The IAM user isn't deleted as a result of this call.

Synopsis

Creating a Request

data DeleteUser Source #

See: newDeleteUser smart constructor.

Constructors

DeleteUser' 

Fields

  • userName :: Text

    The name of the user that you want to delete.

  • awsAccountId :: Text

    The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

  • namespace :: Text

    The namespace. Currently, you should set this to default.

Instances

Instances details
Eq DeleteUser Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

Read DeleteUser Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

Show DeleteUser Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

Generic DeleteUser Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

Associated Types

type Rep DeleteUser :: Type -> Type #

NFData DeleteUser Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

Methods

rnf :: DeleteUser -> () #

Hashable DeleteUser Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

AWSRequest DeleteUser Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

Associated Types

type AWSResponse DeleteUser #

ToHeaders DeleteUser Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

Methods

toHeaders :: DeleteUser -> [Header] #

ToPath DeleteUser Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

ToQuery DeleteUser Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

type Rep DeleteUser Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

type Rep DeleteUser = D1 ('MetaData "DeleteUser" "Amazonka.QuickSight.DeleteUser" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "DeleteUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "awsAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteUser Source # 
Instance details

Defined in Amazonka.QuickSight.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 that you want to delete.

$sel:awsAccountId:DeleteUser', deleteUser_awsAccountId - The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

$sel:namespace:DeleteUser', deleteUser_namespace - The namespace. Currently, you should set this to default.

Request Lenses

deleteUser_userName :: Lens' DeleteUser Text Source #

The name of the user that you want to delete.

deleteUser_awsAccountId :: Lens' DeleteUser Text Source #

The ID for the Amazon Web Services account that the user is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.

deleteUser_namespace :: Lens' DeleteUser Text Source #

The namespace. Currently, you should set this to default.

Destructuring the Response

data DeleteUserResponse Source #

See: newDeleteUserResponse smart constructor.

Constructors

DeleteUserResponse' 

Fields

Instances

Instances details
Eq DeleteUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

Read DeleteUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

Show DeleteUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

Generic DeleteUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

Associated Types

type Rep DeleteUserResponse :: Type -> Type #

NFData DeleteUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

Methods

rnf :: DeleteUserResponse -> () #

type Rep DeleteUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DeleteUser

type Rep DeleteUserResponse = D1 ('MetaData "DeleteUserResponse" "Amazonka.QuickSight.DeleteUser" "libZSservicesZSamazonka-quicksightZSamazonka-quicksight" 'False) (C1 ('MetaCons "DeleteUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") '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:requestId:DeleteUserResponse', deleteUserResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:status:DeleteUserResponse', deleteUserResponse_status - The HTTP status of the request.

Response Lenses

deleteUserResponse_requestId :: Lens' DeleteUserResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.

deleteUserResponse_status :: Lens' DeleteUserResponse Int Source #

The HTTP status of the request.