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.Types.ListedUser

Description

 
Synopsis

Documentation

data ListedUser Source #

Returns properties of the user that you specify.

See: newListedUser smart constructor.

Constructors

ListedUser' 

Fields

  • homeDirectory :: Maybe Text

    The landing directory (folder) for a user when they log in to the server using the client.

    A HomeDirectory example is /bucket_name/home/mydirectory.

  • homeDirectoryType :: Maybe HomeDirectoryType

    The type of landing directory (folder) that you want your users' home directory to be when they log in to the server. If you set it to PATH, the user will see the absolute Amazon S3 bucket or EFS paths as is in their file transfer protocol clients. If you set it LOGICAL, you need to provide mappings in the HomeDirectoryMappings for how you want to make Amazon S3 or Amazon EFS paths visible to your users.

  • role' :: Maybe Text

    The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.

    The IAM role that controls your users' access to your Amazon S3 bucket for servers with Domain=S3, or your EFS file system for servers with Domain=EFS.

    The policies attached to this role determine the level of access you want to provide your users when transferring files into and out of your S3 buckets or EFS file systems.

  • sshPublicKeyCount :: Maybe Int

    Specifies the number of SSH public keys stored for the user you specified.

  • userName :: Maybe Text

    Specifies the name of the user whose ARN was specified. User names are used for authentication purposes.

  • arn :: Text

    Provides the unique Amazon Resource Name (ARN) for the user that you want to learn about.

Instances

Instances details
FromJSON ListedUser Source # 
Instance details

Defined in Amazonka.Transfer.Types.ListedUser

Generic ListedUser Source # 
Instance details

Defined in Amazonka.Transfer.Types.ListedUser

Associated Types

type Rep ListedUser :: Type -> Type #

Read ListedUser Source # 
Instance details

Defined in Amazonka.Transfer.Types.ListedUser

Show ListedUser Source # 
Instance details

Defined in Amazonka.Transfer.Types.ListedUser

NFData ListedUser Source # 
Instance details

Defined in Amazonka.Transfer.Types.ListedUser

Methods

rnf :: ListedUser -> () #

Eq ListedUser Source # 
Instance details

Defined in Amazonka.Transfer.Types.ListedUser

Hashable ListedUser Source # 
Instance details

Defined in Amazonka.Transfer.Types.ListedUser

type Rep ListedUser Source # 
Instance details

Defined in Amazonka.Transfer.Types.ListedUser

type Rep ListedUser = D1 ('MetaData "ListedUser" "Amazonka.Transfer.Types.ListedUser" "amazonka-transfer-2.0-JiqKYJwOo427yDlzvkXGLY" 'False) (C1 ('MetaCons "ListedUser'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "homeDirectory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "homeDirectoryType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HomeDirectoryType)) :*: S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "sshPublicKeyCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "userName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newListedUser Source #

Create a value of ListedUser 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:homeDirectory:ListedUser', listedUser_homeDirectory - The landing directory (folder) for a user when they log in to the server using the client.

A HomeDirectory example is /bucket_name/home/mydirectory.

$sel:homeDirectoryType:ListedUser', listedUser_homeDirectoryType - The type of landing directory (folder) that you want your users' home directory to be when they log in to the server. If you set it to PATH, the user will see the absolute Amazon S3 bucket or EFS paths as is in their file transfer protocol clients. If you set it LOGICAL, you need to provide mappings in the HomeDirectoryMappings for how you want to make Amazon S3 or Amazon EFS paths visible to your users.

$sel:role':ListedUser', listedUser_role - The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.

The IAM role that controls your users' access to your Amazon S3 bucket for servers with Domain=S3, or your EFS file system for servers with Domain=EFS.

The policies attached to this role determine the level of access you want to provide your users when transferring files into and out of your S3 buckets or EFS file systems.

$sel:sshPublicKeyCount:ListedUser', listedUser_sshPublicKeyCount - Specifies the number of SSH public keys stored for the user you specified.

$sel:userName:ListedUser', listedUser_userName - Specifies the name of the user whose ARN was specified. User names are used for authentication purposes.

$sel:arn:ListedUser', listedUser_arn - Provides the unique Amazon Resource Name (ARN) for the user that you want to learn about.

listedUser_homeDirectory :: Lens' ListedUser (Maybe Text) Source #

The landing directory (folder) for a user when they log in to the server using the client.

A HomeDirectory example is /bucket_name/home/mydirectory.

listedUser_homeDirectoryType :: Lens' ListedUser (Maybe HomeDirectoryType) Source #

The type of landing directory (folder) that you want your users' home directory to be when they log in to the server. If you set it to PATH, the user will see the absolute Amazon S3 bucket or EFS paths as is in their file transfer protocol clients. If you set it LOGICAL, you need to provide mappings in the HomeDirectoryMappings for how you want to make Amazon S3 or Amazon EFS paths visible to your users.

listedUser_role :: Lens' ListedUser (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that controls your users' access to your Amazon S3 bucket or Amazon EFS file system. The policies attached to this role determine the level of access that you want to provide your users when transferring files into and out of your Amazon S3 bucket or Amazon EFS file system. The IAM role should also contain a trust relationship that allows the server to access your resources when servicing your users' transfer requests.

The IAM role that controls your users' access to your Amazon S3 bucket for servers with Domain=S3, or your EFS file system for servers with Domain=EFS.

The policies attached to this role determine the level of access you want to provide your users when transferring files into and out of your S3 buckets or EFS file systems.

listedUser_sshPublicKeyCount :: Lens' ListedUser (Maybe Int) Source #

Specifies the number of SSH public keys stored for the user you specified.

listedUser_userName :: Lens' ListedUser (Maybe Text) Source #

Specifies the name of the user whose ARN was specified. User names are used for authentication purposes.

listedUser_arn :: Lens' ListedUser Text Source #

Provides the unique Amazon Resource Name (ARN) for the user that you want to learn about.