AWS SDK for C++  1.9.106
AWS SDK for C++
Public Member Functions | List of all members
Aws::Transfer::Model::UpdateUserRequest Class Reference

#include <UpdateUserRequest.h>

+ Inheritance diagram for Aws::Transfer::Model::UpdateUserRequest:

Public Member Functions

 UpdateUserRequest ()
 
virtual const char * GetServiceRequestName () const override
 
Aws::String SerializePayload () const override
 
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders () const override
 
const Aws::StringGetHomeDirectory () const
 
bool HomeDirectoryHasBeenSet () const
 
void SetHomeDirectory (const Aws::String &value)
 
void SetHomeDirectory (Aws::String &&value)
 
void SetHomeDirectory (const char *value)
 
UpdateUserRequestWithHomeDirectory (const Aws::String &value)
 
UpdateUserRequestWithHomeDirectory (Aws::String &&value)
 
UpdateUserRequestWithHomeDirectory (const char *value)
 
const HomeDirectoryTypeGetHomeDirectoryType () const
 
bool HomeDirectoryTypeHasBeenSet () const
 
void SetHomeDirectoryType (const HomeDirectoryType &value)
 
void SetHomeDirectoryType (HomeDirectoryType &&value)
 
UpdateUserRequestWithHomeDirectoryType (const HomeDirectoryType &value)
 
UpdateUserRequestWithHomeDirectoryType (HomeDirectoryType &&value)
 
const Aws::Vector< HomeDirectoryMapEntry > & GetHomeDirectoryMappings () const
 
bool HomeDirectoryMappingsHasBeenSet () const
 
void SetHomeDirectoryMappings (const Aws::Vector< HomeDirectoryMapEntry > &value)
 
void SetHomeDirectoryMappings (Aws::Vector< HomeDirectoryMapEntry > &&value)
 
UpdateUserRequestWithHomeDirectoryMappings (const Aws::Vector< HomeDirectoryMapEntry > &value)
 
UpdateUserRequestWithHomeDirectoryMappings (Aws::Vector< HomeDirectoryMapEntry > &&value)
 
UpdateUserRequestAddHomeDirectoryMappings (const HomeDirectoryMapEntry &value)
 
UpdateUserRequestAddHomeDirectoryMappings (HomeDirectoryMapEntry &&value)
 
const Aws::StringGetPolicy () const
 
bool PolicyHasBeenSet () const
 
void SetPolicy (const Aws::String &value)
 
void SetPolicy (Aws::String &&value)
 
void SetPolicy (const char *value)
 
UpdateUserRequestWithPolicy (const Aws::String &value)
 
UpdateUserRequestWithPolicy (Aws::String &&value)
 
UpdateUserRequestWithPolicy (const char *value)
 
const PosixProfileGetPosixProfile () const
 
bool PosixProfileHasBeenSet () const
 
void SetPosixProfile (const PosixProfile &value)
 
void SetPosixProfile (PosixProfile &&value)
 
UpdateUserRequestWithPosixProfile (const PosixProfile &value)
 
UpdateUserRequestWithPosixProfile (PosixProfile &&value)
 
const Aws::StringGetRole () const
 
bool RoleHasBeenSet () const
 
void SetRole (const Aws::String &value)
 
void SetRole (Aws::String &&value)
 
void SetRole (const char *value)
 
UpdateUserRequestWithRole (const Aws::String &value)
 
UpdateUserRequestWithRole (Aws::String &&value)
 
UpdateUserRequestWithRole (const char *value)
 
const Aws::StringGetServerId () const
 
bool ServerIdHasBeenSet () const
 
void SetServerId (const Aws::String &value)
 
void SetServerId (Aws::String &&value)
 
void SetServerId (const char *value)
 
UpdateUserRequestWithServerId (const Aws::String &value)
 
UpdateUserRequestWithServerId (Aws::String &&value)
 
UpdateUserRequestWithServerId (const char *value)
 
const Aws::StringGetUserName () const
 
bool UserNameHasBeenSet () const
 
void SetUserName (const Aws::String &value)
 
void SetUserName (Aws::String &&value)
 
void SetUserName (const char *value)
 
UpdateUserRequestWithUserName (const Aws::String &value)
 
UpdateUserRequestWithUserName (Aws::String &&value)
 
UpdateUserRequestWithUserName (const char *value)
 
- Public Member Functions inherited from Aws::Transfer::TransferRequest
virtual ~TransferRequest ()
 
void AddParametersToRequest (Aws::Http::HttpRequest &httpRequest) const
 
Aws::Http::HeaderValueCollection GetHeaders () const override
 
- Public Member Functions inherited from Aws::AmazonSerializableWebServiceRequest
 AmazonSerializableWebServiceRequest ()
 
virtual ~AmazonSerializableWebServiceRequest ()
 
std::shared_ptr< Aws::IOStreamGetBody () const override
 
- Public Member Functions inherited from Aws::AmazonWebServiceRequest
 AmazonWebServiceRequest ()
 
virtual ~AmazonWebServiceRequest ()=default
 
virtual void AddQueryStringParameters (Aws::Http::URI &uri) const
 
virtual void PutToPresignedUrl (Aws::Http::URI &uri) const
 
virtual bool IsStreaming () const
 
virtual bool IsEventStreamRequest () const
 
virtual bool SignBody () const
 
virtual bool IsChunked () const
 
virtual void SetRequestSignedHandler (const RequestSignedHandler &handler)
 
virtual const RequestSignedHandlerGetRequestSignedHandler () const
 
const Aws::IOStreamFactoryGetResponseStreamFactory () const
 
void SetResponseStreamFactory (const Aws::IOStreamFactory &factory)
 
virtual void SetDataReceivedEventHandler (const Aws::Http::DataReceivedEventHandler &dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (const Aws::Http::DataSentEventHandler &dataSentEventHandler)
 
virtual void SetContinueRequestHandler (const Aws::Http::ContinueRequestHandler &continueRequestHandler)
 
virtual void SetDataReceivedEventHandler (Aws::Http::DataReceivedEventHandler &&dataReceivedEventHandler)
 
virtual void SetDataSentEventHandler (Aws::Http::DataSentEventHandler &&dataSentEventHandler)
 
virtual void SetContinueRequestHandler (Aws::Http::ContinueRequestHandler &&continueRequestHandler)
 
virtual void SetRequestRetryHandler (const RequestRetryHandler &handler)
 
virtual void SetRequestRetryHandler (RequestRetryHandler &&handler)
 
virtual const Aws::Http::DataReceivedEventHandlerGetDataReceivedEventHandler () const
 
virtual const Aws::Http::DataSentEventHandlerGetDataSentEventHandler () const
 
virtual const Aws::Http::ContinueRequestHandlerGetContinueRequestHandler () const
 
virtual const RequestRetryHandlerGetRequestRetryHandler () const
 
virtual bool ShouldComputeContentMd5 () const
 

Additional Inherited Members

- Protected Member Functions inherited from Aws::AmazonWebServiceRequest
virtual void DumpBodyToUrl (Aws::Http::URI &uri) const
 

Detailed Description

Definition at line 25 of file UpdateUserRequest.h.

Constructor & Destructor Documentation

◆ UpdateUserRequest()

Aws::Transfer::Model::UpdateUserRequest::UpdateUserRequest ( )

Member Function Documentation

◆ AddHomeDirectoryMappings() [1/2]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::AddHomeDirectoryMappings ( const HomeDirectoryMapEntry value)
inline

Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL.

The following is an Entry and Target pair example.

[ { "Entry": "your-personal-report.pdf", "Target": "/bucket3/customized-reports/${transfer:UserName}.pdf" } ]

In most cases, you can use this value instead of the session policy to lock down your user to the designated home directory ("<code>chroot</code>"). To do this, you can set Entry to '/' and set Target to the HomeDirectory parameter value.

The following is an Entry and Target pair example for chroot.

[ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ]

If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object –bucket bucketname –key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.

Definition at line 367 of file UpdateUserRequest.h.

◆ AddHomeDirectoryMappings() [2/2]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::AddHomeDirectoryMappings ( HomeDirectoryMapEntry &&  value)
inline

Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL.

The following is an Entry and Target pair example.

[ { "Entry": "your-personal-report.pdf", "Target": "/bucket3/customized-reports/${transfer:UserName}.pdf" } ]

In most cases, you can use this value instead of the session policy to lock down your user to the designated home directory ("<code>chroot</code>"). To do this, you can set Entry to '/' and set Target to the HomeDirectory parameter value.

The following is an Entry and Target pair example for chroot.

[ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ]

If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object –bucket bucketname –key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.

Definition at line 397 of file UpdateUserRequest.h.

◆ GetHomeDirectory()

const Aws::String& Aws::Transfer::Model::UpdateUserRequest::GetHomeDirectory ( ) const
inline

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.

Definition at line 46 of file UpdateUserRequest.h.

◆ GetHomeDirectoryMappings()

const Aws::Vector<HomeDirectoryMapEntry>& Aws::Transfer::Model::UpdateUserRequest::GetHomeDirectoryMappings ( ) const
inline

Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL.

The following is an Entry and Target pair example.

[ { "Entry": "your-personal-report.pdf", "Target": "/bucket3/customized-reports/${transfer:UserName}.pdf" } ]

In most cases, you can use this value instead of the session policy to lock down your user to the designated home directory ("<code>chroot</code>"). To do this, you can set Entry to '/' and set Target to the HomeDirectory parameter value.

The following is an Entry and Target pair example for chroot.

[ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ]

If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object –bucket bucketname –key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.

Definition at line 187 of file UpdateUserRequest.h.

◆ GetHomeDirectoryType()

const HomeDirectoryType& Aws::Transfer::Model::UpdateUserRequest::GetHomeDirectoryType ( ) const
inline

The type of landing directory (folder) you want your users' home directory to be when they log into 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 EFS paths visible to your users.

Definition at line 106 of file UpdateUserRequest.h.

◆ GetPolicy()

const Aws::String& Aws::Transfer::Model::UpdateUserRequest::GetPolicy ( ) const
inline

A session policy for your user so that you can use the same IAM role across multiple users. This policy scopes down user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include ${Transfer:UserName}, ${Transfer:HomeDirectory}, and ${Transfer:HomeBucket}.

This only applies when the domain of ServerId is S3. EFS does not use session policies.

For session policies, Amazon Web Services Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the Policy argument.

For an example of a session policy, see Creating a session policy.

For more information, see AssumeRole in the Amazon Web Services Security Token Service API Reference.

Definition at line 417 of file UpdateUserRequest.h.

◆ GetPosixProfile()

const PosixProfile& Aws::Transfer::Model::UpdateUserRequest::GetPosixProfile ( ) const
inline

Specifies the full POSIX identity, including user ID (Uid), group ID (Gid), and any secondary groups IDs (SecondaryGids), that controls your users' access to your Amazon Elastic File Systems (Amazon EFS). The POSIX permissions that are set on files and directories in your file system determines the level of access your users get when transferring files into and out of your Amazon EFS file systems.

Definition at line 561 of file UpdateUserRequest.h.

◆ GetRequestSpecificHeaders()

Aws::Http::HeaderValueCollection Aws::Transfer::Model::UpdateUserRequest::GetRequestSpecificHeaders ( ) const
overridevirtual

Reimplemented from Aws::Transfer::TransferRequest.

◆ GetRole()

const Aws::String& Aws::Transfer::Model::UpdateUserRequest::GetRole ( ) const
inline

Specifies the Amazon Resource Name (ARN) of the IAM role that controls your users' access to your Amazon S3 bucket or 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 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.

Definition at line 623 of file UpdateUserRequest.h.

◆ GetServerId()

const Aws::String& Aws::Transfer::Model::UpdateUserRequest::GetServerId ( ) const
inline

A system-assigned unique identifier for a server instance that the user account is assigned to.

Definition at line 707 of file UpdateUserRequest.h.

◆ GetServiceRequestName()

virtual const char* Aws::Transfer::Model::UpdateUserRequest::GetServiceRequestName ( ) const
inlineoverridevirtual

Implements Aws::AmazonWebServiceRequest.

Definition at line 34 of file UpdateUserRequest.h.

◆ GetUserName()

const Aws::String& Aws::Transfer::Model::UpdateUserRequest::GetUserName ( ) const
inline

A unique string that identifies a user and is associated with a server as specified by the ServerId. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.

Definition at line 759 of file UpdateUserRequest.h.

◆ HomeDirectoryHasBeenSet()

bool Aws::Transfer::Model::UpdateUserRequest::HomeDirectoryHasBeenSet ( ) const
inline

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.

Definition at line 53 of file UpdateUserRequest.h.

◆ HomeDirectoryMappingsHasBeenSet()

bool Aws::Transfer::Model::UpdateUserRequest::HomeDirectoryMappingsHasBeenSet ( ) const
inline

Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL.

The following is an Entry and Target pair example.

[ { "Entry": "your-personal-report.pdf", "Target": "/bucket3/customized-reports/${transfer:UserName}.pdf" } ]

In most cases, you can use this value instead of the session policy to lock down your user to the designated home directory ("<code>chroot</code>"). To do this, you can set Entry to '/' and set Target to the HomeDirectory parameter value.

The following is an Entry and Target pair example for chroot.

[ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ]

If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object –bucket bucketname –key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.

Definition at line 217 of file UpdateUserRequest.h.

◆ HomeDirectoryTypeHasBeenSet()

bool Aws::Transfer::Model::UpdateUserRequest::HomeDirectoryTypeHasBeenSet ( ) const
inline

The type of landing directory (folder) you want your users' home directory to be when they log into 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 EFS paths visible to your users.

Definition at line 116 of file UpdateUserRequest.h.

◆ PolicyHasBeenSet()

bool Aws::Transfer::Model::UpdateUserRequest::PolicyHasBeenSet ( ) const
inline

A session policy for your user so that you can use the same IAM role across multiple users. This policy scopes down user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include ${Transfer:UserName}, ${Transfer:HomeDirectory}, and ${Transfer:HomeBucket}.

This only applies when the domain of ServerId is S3. EFS does not use session policies.

For session policies, Amazon Web Services Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the Policy argument.

For an example of a session policy, see Creating a session policy.

For more information, see AssumeRole in the Amazon Web Services Security Token Service API Reference.

Definition at line 436 of file UpdateUserRequest.h.

◆ PosixProfileHasBeenSet()

bool Aws::Transfer::Model::UpdateUserRequest::PosixProfileHasBeenSet ( ) const
inline

Specifies the full POSIX identity, including user ID (Uid), group ID (Gid), and any secondary groups IDs (SecondaryGids), that controls your users' access to your Amazon Elastic File Systems (Amazon EFS). The POSIX permissions that are set on files and directories in your file system determines the level of access your users get when transferring files into and out of your Amazon EFS file systems.

Definition at line 571 of file UpdateUserRequest.h.

◆ RoleHasBeenSet()

bool Aws::Transfer::Model::UpdateUserRequest::RoleHasBeenSet ( ) const
inline

Specifies the Amazon Resource Name (ARN) of the IAM role that controls your users' access to your Amazon S3 bucket or 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 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.

Definition at line 634 of file UpdateUserRequest.h.

◆ SerializePayload()

Aws::String Aws::Transfer::Model::UpdateUserRequest::SerializePayload ( ) const
overridevirtual

Convert payload into String.

Implements Aws::AmazonSerializableWebServiceRequest.

◆ ServerIdHasBeenSet()

bool Aws::Transfer::Model::UpdateUserRequest::ServerIdHasBeenSet ( ) const
inline

A system-assigned unique identifier for a server instance that the user account is assigned to.

Definition at line 713 of file UpdateUserRequest.h.

◆ SetHomeDirectory() [1/3]

void Aws::Transfer::Model::UpdateUserRequest::SetHomeDirectory ( Aws::String &&  value)
inline

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.

Definition at line 67 of file UpdateUserRequest.h.

◆ SetHomeDirectory() [2/3]

void Aws::Transfer::Model::UpdateUserRequest::SetHomeDirectory ( const Aws::String value)
inline

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.

Definition at line 60 of file UpdateUserRequest.h.

◆ SetHomeDirectory() [3/3]

void Aws::Transfer::Model::UpdateUserRequest::SetHomeDirectory ( const char *  value)
inline

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.

Definition at line 74 of file UpdateUserRequest.h.

◆ SetHomeDirectoryMappings() [1/2]

void Aws::Transfer::Model::UpdateUserRequest::SetHomeDirectoryMappings ( Aws::Vector< HomeDirectoryMapEntry > &&  value)
inline

Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL.

The following is an Entry and Target pair example.

[ { "Entry": "your-personal-report.pdf", "Target": "/bucket3/customized-reports/${transfer:UserName}.pdf" } ]

In most cases, you can use this value instead of the session policy to lock down your user to the designated home directory ("<code>chroot</code>"). To do this, you can set Entry to '/' and set Target to the HomeDirectory parameter value.

The following is an Entry and Target pair example for chroot.

[ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ]

If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object –bucket bucketname –key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.

Definition at line 277 of file UpdateUserRequest.h.

◆ SetHomeDirectoryMappings() [2/2]

void Aws::Transfer::Model::UpdateUserRequest::SetHomeDirectoryMappings ( const Aws::Vector< HomeDirectoryMapEntry > &  value)
inline

Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL.

The following is an Entry and Target pair example.

[ { "Entry": "your-personal-report.pdf", "Target": "/bucket3/customized-reports/${transfer:UserName}.pdf" } ]

In most cases, you can use this value instead of the session policy to lock down your user to the designated home directory ("<code>chroot</code>"). To do this, you can set Entry to '/' and set Target to the HomeDirectory parameter value.

The following is an Entry and Target pair example for chroot.

[ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ]

If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object –bucket bucketname –key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.

Definition at line 247 of file UpdateUserRequest.h.

◆ SetHomeDirectoryType() [1/2]

void Aws::Transfer::Model::UpdateUserRequest::SetHomeDirectoryType ( const HomeDirectoryType value)
inline

The type of landing directory (folder) you want your users' home directory to be when they log into 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 EFS paths visible to your users.

Definition at line 126 of file UpdateUserRequest.h.

◆ SetHomeDirectoryType() [2/2]

void Aws::Transfer::Model::UpdateUserRequest::SetHomeDirectoryType ( HomeDirectoryType &&  value)
inline

The type of landing directory (folder) you want your users' home directory to be when they log into 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 EFS paths visible to your users.

Definition at line 136 of file UpdateUserRequest.h.

◆ SetPolicy() [1/3]

void Aws::Transfer::Model::UpdateUserRequest::SetPolicy ( Aws::String &&  value)
inline

A session policy for your user so that you can use the same IAM role across multiple users. This policy scopes down user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include ${Transfer:UserName}, ${Transfer:HomeDirectory}, and ${Transfer:HomeBucket}.

This only applies when the domain of ServerId is S3. EFS does not use session policies.

For session policies, Amazon Web Services Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the Policy argument.

For an example of a session policy, see Creating a session policy.

For more information, see AssumeRole in the Amazon Web Services Security Token Service API Reference.

Definition at line 474 of file UpdateUserRequest.h.

◆ SetPolicy() [2/3]

void Aws::Transfer::Model::UpdateUserRequest::SetPolicy ( const Aws::String value)
inline

A session policy for your user so that you can use the same IAM role across multiple users. This policy scopes down user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include ${Transfer:UserName}, ${Transfer:HomeDirectory}, and ${Transfer:HomeBucket}.

This only applies when the domain of ServerId is S3. EFS does not use session policies.

For session policies, Amazon Web Services Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the Policy argument.

For an example of a session policy, see Creating a session policy.

For more information, see AssumeRole in the Amazon Web Services Security Token Service API Reference.

Definition at line 455 of file UpdateUserRequest.h.

◆ SetPolicy() [3/3]

void Aws::Transfer::Model::UpdateUserRequest::SetPolicy ( const char *  value)
inline

A session policy for your user so that you can use the same IAM role across multiple users. This policy scopes down user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include ${Transfer:UserName}, ${Transfer:HomeDirectory}, and ${Transfer:HomeBucket}.

This only applies when the domain of ServerId is S3. EFS does not use session policies.

For session policies, Amazon Web Services Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the Policy argument.

For an example of a session policy, see Creating a session policy.

For more information, see AssumeRole in the Amazon Web Services Security Token Service API Reference.

Definition at line 493 of file UpdateUserRequest.h.

◆ SetPosixProfile() [1/2]

void Aws::Transfer::Model::UpdateUserRequest::SetPosixProfile ( const PosixProfile value)
inline

Specifies the full POSIX identity, including user ID (Uid), group ID (Gid), and any secondary groups IDs (SecondaryGids), that controls your users' access to your Amazon Elastic File Systems (Amazon EFS). The POSIX permissions that are set on files and directories in your file system determines the level of access your users get when transferring files into and out of your Amazon EFS file systems.

Definition at line 581 of file UpdateUserRequest.h.

◆ SetPosixProfile() [2/2]

void Aws::Transfer::Model::UpdateUserRequest::SetPosixProfile ( PosixProfile &&  value)
inline

Specifies the full POSIX identity, including user ID (Uid), group ID (Gid), and any secondary groups IDs (SecondaryGids), that controls your users' access to your Amazon Elastic File Systems (Amazon EFS). The POSIX permissions that are set on files and directories in your file system determines the level of access your users get when transferring files into and out of your Amazon EFS file systems.

Definition at line 591 of file UpdateUserRequest.h.

◆ SetRole() [1/3]

void Aws::Transfer::Model::UpdateUserRequest::SetRole ( Aws::String &&  value)
inline

Specifies the Amazon Resource Name (ARN) of the IAM role that controls your users' access to your Amazon S3 bucket or 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 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.

Definition at line 656 of file UpdateUserRequest.h.

◆ SetRole() [2/3]

void Aws::Transfer::Model::UpdateUserRequest::SetRole ( const Aws::String value)
inline

Specifies the Amazon Resource Name (ARN) of the IAM role that controls your users' access to your Amazon S3 bucket or 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 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.

Definition at line 645 of file UpdateUserRequest.h.

◆ SetRole() [3/3]

void Aws::Transfer::Model::UpdateUserRequest::SetRole ( const char *  value)
inline

Specifies the Amazon Resource Name (ARN) of the IAM role that controls your users' access to your Amazon S3 bucket or 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 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.

Definition at line 667 of file UpdateUserRequest.h.

◆ SetServerId() [1/3]

void Aws::Transfer::Model::UpdateUserRequest::SetServerId ( Aws::String &&  value)
inline

A system-assigned unique identifier for a server instance that the user account is assigned to.

Definition at line 725 of file UpdateUserRequest.h.

◆ SetServerId() [2/3]

void Aws::Transfer::Model::UpdateUserRequest::SetServerId ( const Aws::String value)
inline

A system-assigned unique identifier for a server instance that the user account is assigned to.

Definition at line 719 of file UpdateUserRequest.h.

◆ SetServerId() [3/3]

void Aws::Transfer::Model::UpdateUserRequest::SetServerId ( const char *  value)
inline

A system-assigned unique identifier for a server instance that the user account is assigned to.

Definition at line 731 of file UpdateUserRequest.h.

◆ SetUserName() [1/3]

void Aws::Transfer::Model::UpdateUserRequest::SetUserName ( Aws::String &&  value)
inline

A unique string that identifies a user and is associated with a server as specified by the ServerId. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.

Definition at line 786 of file UpdateUserRequest.h.

◆ SetUserName() [2/3]

void Aws::Transfer::Model::UpdateUserRequest::SetUserName ( const Aws::String value)
inline

A unique string that identifies a user and is associated with a server as specified by the ServerId. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.

Definition at line 777 of file UpdateUserRequest.h.

◆ SetUserName() [3/3]

void Aws::Transfer::Model::UpdateUserRequest::SetUserName ( const char *  value)
inline

A unique string that identifies a user and is associated with a server as specified by the ServerId. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.

Definition at line 795 of file UpdateUserRequest.h.

◆ UserNameHasBeenSet()

bool Aws::Transfer::Model::UpdateUserRequest::UserNameHasBeenSet ( ) const
inline

A unique string that identifies a user and is associated with a server as specified by the ServerId. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.

Definition at line 768 of file UpdateUserRequest.h.

◆ WithHomeDirectory() [1/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithHomeDirectory ( Aws::String &&  value)
inline

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.

Definition at line 88 of file UpdateUserRequest.h.

◆ WithHomeDirectory() [2/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithHomeDirectory ( const Aws::String value)
inline

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.

Definition at line 81 of file UpdateUserRequest.h.

◆ WithHomeDirectory() [3/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithHomeDirectory ( const char *  value)
inline

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.

Definition at line 95 of file UpdateUserRequest.h.

◆ WithHomeDirectoryMappings() [1/2]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithHomeDirectoryMappings ( Aws::Vector< HomeDirectoryMapEntry > &&  value)
inline

Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL.

The following is an Entry and Target pair example.

[ { "Entry": "your-personal-report.pdf", "Target": "/bucket3/customized-reports/${transfer:UserName}.pdf" } ]

In most cases, you can use this value instead of the session policy to lock down your user to the designated home directory ("<code>chroot</code>"). To do this, you can set Entry to '/' and set Target to the HomeDirectory parameter value.

The following is an Entry and Target pair example for chroot.

[ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ]

If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object –bucket bucketname –key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.

Definition at line 337 of file UpdateUserRequest.h.

◆ WithHomeDirectoryMappings() [2/2]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithHomeDirectoryMappings ( const Aws::Vector< HomeDirectoryMapEntry > &  value)
inline

Logical directory mappings that specify what Amazon S3 or Amazon EFS paths and keys should be visible to your user and how you want to make them visible. You must specify the Entry and Target pair, where Entry shows how the path is made visible and Target is the actual Amazon S3 or Amazon EFS path. If you only specify a target, it is displayed as is. You also must ensure that your Amazon Web Services Identity and Access Management (IAM) role provides access to paths in Target. This value can only be set when HomeDirectoryType is set to LOGICAL.

The following is an Entry and Target pair example.

[ { "Entry": "your-personal-report.pdf", "Target": "/bucket3/customized-reports/${transfer:UserName}.pdf" } ]

In most cases, you can use this value instead of the session policy to lock down your user to the designated home directory ("<code>chroot</code>"). To do this, you can set Entry to '/' and set Target to the HomeDirectory parameter value.

The following is an Entry and Target pair example for chroot.

[ { "Entry:": "/", "Target": "/bucket_name/home/mydirectory" } ]

If the target of a logical directory entry does not exist in Amazon S3 or EFS, the entry is ignored. As a workaround, you can use the Amazon S3 API or EFS API to create 0 byte objects as place holders for your directory. If using the CLI, use the s3api or efsapi call instead of s3 or efs so you can use the put-object operation. For example, you use the following: aws s3api put-object –bucket bucketname –key path/to/folder/. Make sure that the end of the key name ends in a / for it to be considered a folder.

Definition at line 307 of file UpdateUserRequest.h.

◆ WithHomeDirectoryType() [1/2]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithHomeDirectoryType ( const HomeDirectoryType value)
inline

The type of landing directory (folder) you want your users' home directory to be when they log into 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 EFS paths visible to your users.

Definition at line 146 of file UpdateUserRequest.h.

◆ WithHomeDirectoryType() [2/2]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithHomeDirectoryType ( HomeDirectoryType &&  value)
inline

The type of landing directory (folder) you want your users' home directory to be when they log into 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 EFS paths visible to your users.

Definition at line 156 of file UpdateUserRequest.h.

◆ WithPolicy() [1/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithPolicy ( Aws::String &&  value)
inline

A session policy for your user so that you can use the same IAM role across multiple users. This policy scopes down user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include ${Transfer:UserName}, ${Transfer:HomeDirectory}, and ${Transfer:HomeBucket}.

This only applies when the domain of ServerId is S3. EFS does not use session policies.

For session policies, Amazon Web Services Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the Policy argument.

For an example of a session policy, see Creating a session policy.

For more information, see AssumeRole in the Amazon Web Services Security Token Service API Reference.

Definition at line 531 of file UpdateUserRequest.h.

◆ WithPolicy() [2/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithPolicy ( const Aws::String value)
inline

A session policy for your user so that you can use the same IAM role across multiple users. This policy scopes down user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include ${Transfer:UserName}, ${Transfer:HomeDirectory}, and ${Transfer:HomeBucket}.

This only applies when the domain of ServerId is S3. EFS does not use session policies.

For session policies, Amazon Web Services Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the Policy argument.

For an example of a session policy, see Creating a session policy.

For more information, see AssumeRole in the Amazon Web Services Security Token Service API Reference.

Definition at line 512 of file UpdateUserRequest.h.

◆ WithPolicy() [3/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithPolicy ( const char *  value)
inline

A session policy for your user so that you can use the same IAM role across multiple users. This policy scopes down user access to portions of their Amazon S3 bucket. Variables that you can use inside this policy include ${Transfer:UserName}, ${Transfer:HomeDirectory}, and ${Transfer:HomeBucket}.

This only applies when the domain of ServerId is S3. EFS does not use session policies.

For session policies, Amazon Web Services Transfer Family stores the policy as a JSON blob, instead of the Amazon Resource Name (ARN) of the policy. You save the policy as a JSON blob and pass it in the Policy argument.

For an example of a session policy, see Creating a session policy.

For more information, see AssumeRole in the Amazon Web Services Security Token Service API Reference.

Definition at line 550 of file UpdateUserRequest.h.

◆ WithPosixProfile() [1/2]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithPosixProfile ( const PosixProfile value)
inline

Specifies the full POSIX identity, including user ID (Uid), group ID (Gid), and any secondary groups IDs (SecondaryGids), that controls your users' access to your Amazon Elastic File Systems (Amazon EFS). The POSIX permissions that are set on files and directories in your file system determines the level of access your users get when transferring files into and out of your Amazon EFS file systems.

Definition at line 601 of file UpdateUserRequest.h.

◆ WithPosixProfile() [2/2]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithPosixProfile ( PosixProfile &&  value)
inline

Specifies the full POSIX identity, including user ID (Uid), group ID (Gid), and any secondary groups IDs (SecondaryGids), that controls your users' access to your Amazon Elastic File Systems (Amazon EFS). The POSIX permissions that are set on files and directories in your file system determines the level of access your users get when transferring files into and out of your Amazon EFS file systems.

Definition at line 611 of file UpdateUserRequest.h.

◆ WithRole() [1/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithRole ( Aws::String &&  value)
inline

Specifies the Amazon Resource Name (ARN) of the IAM role that controls your users' access to your Amazon S3 bucket or 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 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.

Definition at line 689 of file UpdateUserRequest.h.

◆ WithRole() [2/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithRole ( const Aws::String value)
inline

Specifies the Amazon Resource Name (ARN) of the IAM role that controls your users' access to your Amazon S3 bucket or 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 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.

Definition at line 678 of file UpdateUserRequest.h.

◆ WithRole() [3/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithRole ( const char *  value)
inline

Specifies the Amazon Resource Name (ARN) of the IAM role that controls your users' access to your Amazon S3 bucket or 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 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.

Definition at line 700 of file UpdateUserRequest.h.

◆ WithServerId() [1/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithServerId ( Aws::String &&  value)
inline

A system-assigned unique identifier for a server instance that the user account is assigned to.

Definition at line 743 of file UpdateUserRequest.h.

◆ WithServerId() [2/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithServerId ( const Aws::String value)
inline

A system-assigned unique identifier for a server instance that the user account is assigned to.

Definition at line 737 of file UpdateUserRequest.h.

◆ WithServerId() [3/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithServerId ( const char *  value)
inline

A system-assigned unique identifier for a server instance that the user account is assigned to.

Definition at line 749 of file UpdateUserRequest.h.

◆ WithUserName() [1/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithUserName ( Aws::String &&  value)
inline

A unique string that identifies a user and is associated with a server as specified by the ServerId. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.

Definition at line 813 of file UpdateUserRequest.h.

◆ WithUserName() [2/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithUserName ( const Aws::String value)
inline

A unique string that identifies a user and is associated with a server as specified by the ServerId. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.

Definition at line 804 of file UpdateUserRequest.h.

◆ WithUserName() [3/3]

UpdateUserRequest& Aws::Transfer::Model::UpdateUserRequest::WithUserName ( const char *  value)
inline

A unique string that identifies a user and is associated with a server as specified by the ServerId. This user name must be a minimum of 3 and a maximum of 100 characters long. The following are valid characters: a-z, A-Z, 0-9, underscore '_', hyphen '-', period '.', and at sign '@'. The user name can't start with a hyphen, period, or at sign.

Definition at line 822 of file UpdateUserRequest.h.


The documentation for this class was generated from the following file: