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.ListAccesses

Description

Lists the details for all the accesses you have on your server.

Synopsis

Creating a Request

data ListAccesses Source #

See: newListAccesses smart constructor.

Constructors

ListAccesses' 

Fields

  • nextToken :: Maybe Text

    When you can get additional results from the ListAccesses 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 accesses.

  • maxResults :: Maybe Natural

    Specifies the maximum number of access SIDs to return.

  • serverId :: Text

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

Instances

Instances details
Eq ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

Read ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

Show ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

Generic ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

Associated Types

type Rep ListAccesses :: Type -> Type #

NFData ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

Methods

rnf :: ListAccesses -> () #

Hashable ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

ToJSON ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

AWSRequest ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

Associated Types

type AWSResponse ListAccesses #

ToHeaders ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

ToPath ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

ToQuery ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

type Rep ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

type Rep ListAccesses = D1 ('MetaData "ListAccesses" "Amazonka.Transfer.ListAccesses" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "ListAccesses'" '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 ListAccesses Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

newListAccesses Source #

Create a value of ListAccesses 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:ListAccesses', listAccesses_nextToken - When you can get additional results from the ListAccesses 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 accesses.

$sel:maxResults:ListAccesses', listAccesses_maxResults - Specifies the maximum number of access SIDs to return.

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

Request Lenses

listAccesses_nextToken :: Lens' ListAccesses (Maybe Text) Source #

When you can get additional results from the ListAccesses 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 accesses.

listAccesses_maxResults :: Lens' ListAccesses (Maybe Natural) Source #

Specifies the maximum number of access SIDs to return.

listAccesses_serverId :: Lens' ListAccesses Text Source #

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

Destructuring the Response

data ListAccessesResponse Source #

See: newListAccessesResponse smart constructor.

Constructors

ListAccessesResponse' 

Fields

  • nextToken :: Maybe Text

    When you can get additional results from the ListAccesses 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 accesses.

  • httpStatus :: Int

    The response's http status code.

  • serverId :: Text

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

  • accesses :: [ListedAccess]

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

Instances

Instances details
Eq ListAccessesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

Read ListAccessesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

Show ListAccessesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

Generic ListAccessesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

Associated Types

type Rep ListAccessesResponse :: Type -> Type #

NFData ListAccessesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

Methods

rnf :: ListAccessesResponse -> () #

type Rep ListAccessesResponse Source # 
Instance details

Defined in Amazonka.Transfer.ListAccesses

type Rep ListAccessesResponse = D1 ('MetaData "ListAccessesResponse" "Amazonka.Transfer.ListAccesses" "libZSservicesZSamazonka-transferZSamazonka-transfer" 'False) (C1 ('MetaCons "ListAccessesResponse'" '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 "accesses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ListedAccess]))))

newListAccessesResponse Source #

Create a value of ListAccessesResponse 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:ListAccesses', listAccessesResponse_nextToken - When you can get additional results from the ListAccesses 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 accesses.

$sel:httpStatus:ListAccessesResponse', listAccessesResponse_httpStatus - The response's http status code.

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

$sel:accesses:ListAccessesResponse', listAccessesResponse_accesses - Returns the accesses and their properties for the ServerId value that you specify.

Response Lenses

listAccessesResponse_nextToken :: Lens' ListAccessesResponse (Maybe Text) Source #

When you can get additional results from the ListAccesses 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 accesses.

listAccessesResponse_serverId :: Lens' ListAccessesResponse Text Source #

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

listAccessesResponse_accesses :: Lens' ListAccessesResponse [ListedAccess] Source #

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