amazonka-quicksight-2.0: Amazon QuickSight SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.QuickSight.DescribeUser

Description

Returns information about a user, given the user name.

Synopsis

Creating a Request

data DescribeUser Source #

See: newDescribeUser smart constructor.

Constructors

DescribeUser' 

Fields

  • userName :: Text

    The name of the user that you want to describe.

  • 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
ToHeaders DescribeUser Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

ToPath DescribeUser Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

ToQuery DescribeUser Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

AWSRequest DescribeUser Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

Associated Types

type AWSResponse DescribeUser #

Generic DescribeUser Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

Associated Types

type Rep DescribeUser :: Type -> Type #

Read DescribeUser Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

Show DescribeUser Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

NFData DescribeUser Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

Methods

rnf :: DescribeUser -> () #

Eq DescribeUser Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

Hashable DescribeUser Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

type AWSResponse DescribeUser Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

type Rep DescribeUser Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

type Rep DescribeUser = D1 ('MetaData "DescribeUser" "Amazonka.QuickSight.DescribeUser" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "DescribeUser'" '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))))

newDescribeUser Source #

Create a value of DescribeUser 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:

DescribeUser, describeUser_userName - The name of the user that you want to describe.

DescribeUser, describeUser_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.

DescribeUser, describeUser_namespace - The namespace. Currently, you should set this to default.

Request Lenses

describeUser_userName :: Lens' DescribeUser Text Source #

The name of the user that you want to describe.

describeUser_awsAccountId :: Lens' DescribeUser 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.

describeUser_namespace :: Lens' DescribeUser Text Source #

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

Destructuring the Response

data DescribeUserResponse Source #

See: newDescribeUserResponse smart constructor.

Constructors

DescribeUserResponse' 

Fields

Instances

Instances details
Generic DescribeUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

Associated Types

type Rep DescribeUserResponse :: Type -> Type #

Read DescribeUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

Show DescribeUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

NFData DescribeUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

Methods

rnf :: DescribeUserResponse -> () #

Eq DescribeUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

type Rep DescribeUserResponse Source # 
Instance details

Defined in Amazonka.QuickSight.DescribeUser

type Rep DescribeUserResponse = D1 ('MetaData "DescribeUserResponse" "Amazonka.QuickSight.DescribeUser" "amazonka-quicksight-2.0-9P6nV9koXl6GTlt8ZjS7C9" 'False) (C1 ('MetaCons "DescribeUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "requestId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe User)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeUserResponse Source #

Create a value of DescribeUserResponse 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:DescribeUserResponse', describeUserResponse_requestId - The Amazon Web Services request ID for this operation.

$sel:user:DescribeUserResponse', describeUserResponse_user - The user name.

DescribeUserResponse, describeUserResponse_status - The HTTP status of the request.

Response Lenses

describeUserResponse_requestId :: Lens' DescribeUserResponse (Maybe Text) Source #

The Amazon Web Services request ID for this operation.