libZSservicesZSamazonka-transferZSamazonka-transfer
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.Transfer.ListUsers

Description

Lists the users for a file transfer protocol-enabled server that you specify by passing the ServerId parameter.

Synopsis

Creating a Request

data ListUsers Source #

See: newListUsers smart constructor.

Constructors

ListUsers' 

Fields

  • nextToken :: Maybe Text

    When you can get additional results from the ListUsers call, a NextToken parameter is returned in the output. You can then pass in a subsequent command to the NextToken parameter to continue listing additional users.

  • maxResults :: Maybe Natural

    Specifies the number of users to return as a response to the ListUsers request.

  • serverId :: Text

    A system-assigned unique identifier for a server that has users assigned to it.

Instances

Instances details
Eq ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

Read ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

Show ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

Generic ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

Associated Types

type Rep ListUsers :: Type -> Type #

NFData ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

Methods

rnf :: ListUsers -> () #

Hashable ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

ToJSON ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

AWSRequest ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

Associated Types

type AWSResponse ListUsers #

ToHeaders ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

Methods

toHeaders :: ListUsers -> [Header] #

ToPath ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

ToQuery ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

type Rep ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

type Rep ListUsers = D1 ('MetaData "ListUsers" "Amazonka.Transfer.ListUsers" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "ListUsers'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "serverId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListUsers Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

newListUsers Source #

Create a value of ListUsers 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:nextToken:ListUsers', listUsers_nextToken - When you can get additional results from the ListUsers call, a NextToken parameter is returned in the output. You can then pass in a subsequent command to the NextToken parameter to continue listing additional users.

$sel:maxResults:ListUsers', listUsers_maxResults - Specifies the number of users to return as a response to the ListUsers request.

$sel:serverId:ListUsers', listUsers_serverId - A system-assigned unique identifier for a server that has users assigned to it.

Request Lenses

listUsers_nextToken :: Lens' ListUsers (Maybe Text) Source #

When you can get additional results from the ListUsers call, a NextToken parameter is returned in the output. You can then pass in a subsequent command to the NextToken parameter to continue listing additional users.

listUsers_maxResults :: Lens' ListUsers (Maybe Natural) Source #

Specifies the number of users to return as a response to the ListUsers request.

listUsers_serverId :: Lens' ListUsers Text Source #

A system-assigned unique identifier for a server that has users assigned to it.

Destructuring the Response

data ListUsersResponse Source #

See: newListUsersResponse smart constructor.

Constructors

ListUsersResponse' 

Fields

  • nextToken :: Maybe Text

    When you can get additional results from the ListUsers call, a NextToken parameter is returned in the output. You can then pass in a subsequent command to the NextToken parameter to continue listing additional users.

  • httpStatus :: Int

    The response's http status code.

  • serverId :: Text

    A system-assigned unique identifier for a server that the users are assigned to.

  • users :: [ListedUser]

    Returns the user accounts and their properties for the ServerId value that you specify.

Instances

Instances details
Eq ListUsersResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

Read ListUsersResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

Show ListUsersResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

Generic ListUsersResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

Associated Types

type Rep ListUsersResponse :: Type -> Type #

NFData ListUsersResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

Methods

rnf :: ListUsersResponse -> () #

type Rep ListUsersResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListUsers

type Rep ListUsersResponse = D1 ('MetaData "ListUsersResponse" "Amazonka.Transfer.ListUsers" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "ListUsersResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "serverId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "users") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ListedUser]))))

newListUsersResponse Source #

Create a value of ListUsersResponse 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:nextToken:ListUsers', listUsersResponse_nextToken - When you can get additional results from the ListUsers call, a NextToken parameter is returned in the output. You can then pass in a subsequent command to the NextToken parameter to continue listing additional users.

$sel:httpStatus:ListUsersResponse', listUsersResponse_httpStatus - The response's http status code.

$sel:serverId:ListUsers', listUsersResponse_serverId - A system-assigned unique identifier for a server that the users are assigned to.

$sel:users:ListUsersResponse', listUsersResponse_users - Returns the user accounts and their properties for the ServerId value that you specify.

Response Lenses

listUsersResponse_nextToken :: Lens' ListUsersResponse (Maybe Text) Source #

When you can get additional results from the ListUsers call, a NextToken parameter is returned in the output. You can then pass in a subsequent command to the NextToken parameter to continue listing additional users.

listUsersResponse_httpStatus :: Lens' ListUsersResponse Int Source #

The response's http status code.

listUsersResponse_serverId :: Lens' ListUsersResponse Text Source #

A system-assigned unique identifier for a server that the users are assigned to.

listUsersResponse_users :: Lens' ListUsersResponse [ListedUser] Source #

Returns the user accounts and their properties for the ServerId value that you specify.