amazonka-transfer-2.0: Amazon Transfer Family 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.Transfer.DescribeUser

Description

Describes the user assigned to the specific file transfer protocol-enabled server, as identified by its ServerId property.

The response from this call returns the properties of the user associated with the ServerId value that was specified.

Synopsis

Creating a Request

data DescribeUser Source #

See: newDescribeUser smart constructor.

Constructors

DescribeUser' 

Fields

  • serverId :: Text

    A system-assigned unique identifier for a server that has this user assigned.

  • userName :: Text

    The name of the user assigned to one or more servers. User names are part of the sign-in credentials to use the Transfer Family service and perform file transfer tasks.

Instances

Instances details
ToJSON DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

ToHeaders DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

ToPath DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

ToQuery DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

AWSRequest DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

Associated Types

type AWSResponse DescribeUser #

Generic DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

Associated Types

type Rep DescribeUser :: Type -> Type #

Read DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

Show DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

NFData DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

Methods

rnf :: DescribeUser -> () #

Eq DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

Hashable DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

type AWSResponse DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

type Rep DescribeUser Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

type Rep DescribeUser = D1 ('MetaData "DescribeUser" "Amazonka.Transfer.DescribeUser" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "DescribeUser'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serverId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "userName") '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_serverId - A system-assigned unique identifier for a server that has this user assigned.

DescribeUser, describeUser_userName - The name of the user assigned to one or more servers. User names are part of the sign-in credentials to use the Transfer Family service and perform file transfer tasks.

Request Lenses

describeUser_serverId :: Lens' DescribeUser Text Source #

A system-assigned unique identifier for a server that has this user assigned.

describeUser_userName :: Lens' DescribeUser Text Source #

The name of the user assigned to one or more servers. User names are part of the sign-in credentials to use the Transfer Family service and perform file transfer tasks.

Destructuring the Response

data DescribeUserResponse Source #

See: newDescribeUserResponse smart constructor.

Constructors

DescribeUserResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • serverId :: Text

    A system-assigned unique identifier for a server that has this user assigned.

  • user :: DescribedUser

    An array containing the properties of the user account for the ServerID value that you specified.

Instances

Instances details
Generic DescribeUserResponse Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

Associated Types

type Rep DescribeUserResponse :: Type -> Type #

Read DescribeUserResponse Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

Show DescribeUserResponse Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

NFData DescribeUserResponse Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

Methods

rnf :: DescribeUserResponse -> () #

Eq DescribeUserResponse Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

type Rep DescribeUserResponse Source # 
Instance details

Defined in Amazonka.Transfer.DescribeUser

type Rep DescribeUserResponse = D1 ('MetaData "DescribeUserResponse" "Amazonka.Transfer.DescribeUser" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "DescribeUserResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "serverId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "user") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DescribedUser))))

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:httpStatus:DescribeUserResponse', describeUserResponse_httpStatus - The response's http status code.

DescribeUser, describeUserResponse_serverId - A system-assigned unique identifier for a server that has this user assigned.

$sel:user:DescribeUserResponse', describeUserResponse_user - An array containing the properties of the user account for the ServerID value that you specified.

Response Lenses

describeUserResponse_serverId :: Lens' DescribeUserResponse Text Source #

A system-assigned unique identifier for a server that has this user assigned.

describeUserResponse_user :: Lens' DescribeUserResponse DescribedUser Source #

An array containing the properties of the user account for the ServerID value that you specified.