Documentation

Overview

    Package transfer provides the API client, operations, and parameter types for AWS Transfer Family.

    AWS Transfer Family is a fully managed service that enables the transfer of files over the File Transfer Protocol (FTP), File Transfer Protocol over SSL (FTPS), or Secure Shell (SSH) File Transfer Protocol (SFTP) directly into and out of Amazon Simple Storage Service (Amazon S3). AWS helps you seamlessly migrate your file transfer workflows to AWS Transfer Family by integrating with existing authentication systems, and providing DNS routing with Amazon Route 53 so nothing changes for your customers and partners, or their applications. With your data in Amazon S3, you can use it with AWS services for processing, analytics, machine learning, and archiving. Getting started with AWS Transfer Family is easy since there is no infrastructure to buy and set up.

    Index

    Constants

    View Source
    const ServiceAPIVersion = "2018-11-05"
    View Source
    const ServiceID = "Transfer"

    Variables

    This section is empty.

    Functions

    func NewDefaultEndpointResolver

    func NewDefaultEndpointResolver() *internalendpoints.Resolver

      NewDefaultEndpointResolver constructs a new service endpoint resolver

      func WithAPIOptions

      func WithAPIOptions(optFns ...func(*middleware.Stack) error) func(*Options)

        WithAPIOptions returns a functional option for setting the Client's APIOptions option.

        func WithEndpointResolver

        func WithEndpointResolver(v EndpointResolver) func(*Options)

          WithEndpointResolver returns a functional option for setting the Client's EndpointResolver option.

          Types

          type Client

          type Client struct {
          	// contains filtered or unexported fields
          }

            Client provides the API client to make operations call for AWS Transfer Family.

            func New

            func New(options Options, optFns ...func(*Options)) *Client

              New returns an initialized Client based on the functional options. Provide additional functional options to further configure the behavior of the client, such as changing the client's endpoint or adding custom middleware behavior.

              func NewFromConfig

              func NewFromConfig(cfg aws.Config, optFns ...func(*Options)) *Client

                NewFromConfig returns a new client from the provided config.

                func (*Client) CreateServer

                func (c *Client) CreateServer(ctx context.Context, params *CreateServerInput, optFns ...func(*Options)) (*CreateServerOutput, error)

                  Instantiates an autoscaling virtual server based on the selected file transfer protocol in AWS. When you make updates to your file transfer protocol-enabled server or when you work with users, use the service-generated ServerId property that is assigned to the newly created server.

                  func (*Client) CreateUser

                  func (c *Client) CreateUser(ctx context.Context, params *CreateUserInput, optFns ...func(*Options)) (*CreateUserOutput, error)

                    Creates a user and associates them with an existing file transfer protocol-enabled server. You can only create and associate users with servers that have the IdentityProviderType set to SERVICE_MANAGED. Using parameters for CreateUser, you can specify the user name, set the home directory, store the user's public key, and assign the user's AWS Identity and Access Management (IAM) role. You can also optionally add a scope-down policy, and assign metadata with tags that can be used to group and search for users.

                    func (*Client) DeleteServer

                    func (c *Client) DeleteServer(ctx context.Context, params *DeleteServerInput, optFns ...func(*Options)) (*DeleteServerOutput, error)

                      Deletes the file transfer protocol-enabled server that you specify. No response returns from this operation.

                      func (*Client) DeleteSshPublicKey

                      func (c *Client) DeleteSshPublicKey(ctx context.Context, params *DeleteSshPublicKeyInput, optFns ...func(*Options)) (*DeleteSshPublicKeyOutput, error)

                        Deletes a user's Secure Shell (SSH) public key. No response is returned from this operation.

                        func (*Client) DeleteUser

                        func (c *Client) DeleteUser(ctx context.Context, params *DeleteUserInput, optFns ...func(*Options)) (*DeleteUserOutput, error)

                          Deletes the user belonging to a file transfer protocol-enabled server you specify. No response returns from this operation. When you delete a user from a server, the user's information is lost.

                          func (*Client) DescribeSecurityPolicy

                          func (c *Client) DescribeSecurityPolicy(ctx context.Context, params *DescribeSecurityPolicyInput, optFns ...func(*Options)) (*DescribeSecurityPolicyOutput, error)

                            Describes the security policy that is attached to your file transfer protocol-enabled server. The response contains a description of the security policy's properties. For more information about security policies, see Working with security policies (https://docs.aws.amazon.com/transfer/latest/userguide/security-policies.html).

                            func (*Client) DescribeServer

                            func (c *Client) DescribeServer(ctx context.Context, params *DescribeServerInput, optFns ...func(*Options)) (*DescribeServerOutput, error)

                              Describes a file transfer protocol-enabled server that you specify by passing the ServerId parameter. The response contains a description of a server's properties. When you set EndpointType to VPC, the response will contain the EndpointDetails.

                              func (*Client) DescribeUser

                              func (c *Client) DescribeUser(ctx context.Context, params *DescribeUserInput, optFns ...func(*Options)) (*DescribeUserOutput, error)

                                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.

                                func (*Client) ImportSshPublicKey

                                func (c *Client) ImportSshPublicKey(ctx context.Context, params *ImportSshPublicKeyInput, optFns ...func(*Options)) (*ImportSshPublicKeyOutput, error)

                                  Adds a Secure Shell (SSH) public key to a user account identified by a UserName value assigned to the specific file transfer protocol-enabled server, identified by ServerId. The response returns the UserName value, the ServerId value, and the name of the SshPublicKeyId.

                                  func (*Client) ListSecurityPolicies

                                  func (c *Client) ListSecurityPolicies(ctx context.Context, params *ListSecurityPoliciesInput, optFns ...func(*Options)) (*ListSecurityPoliciesOutput, error)

                                    Lists the security policies that are attached to your file transfer protocol-enabled servers.

                                    func (*Client) ListServers

                                    func (c *Client) ListServers(ctx context.Context, params *ListServersInput, optFns ...func(*Options)) (*ListServersOutput, error)

                                      Lists the file transfer protocol-enabled servers that are associated with your AWS account.

                                      func (*Client) ListTagsForResource

                                      func (c *Client) ListTagsForResource(ctx context.Context, params *ListTagsForResourceInput, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)

                                        Lists all of the tags associated with the Amazon Resource Number (ARN) you specify. The resource can be a user, server, or role.

                                        func (*Client) ListUsers

                                        func (c *Client) ListUsers(ctx context.Context, params *ListUsersInput, optFns ...func(*Options)) (*ListUsersOutput, error)

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

                                          func (*Client) StartServer

                                          func (c *Client) StartServer(ctx context.Context, params *StartServerInput, optFns ...func(*Options)) (*StartServerOutput, error)

                                            Changes the state of a file transfer protocol-enabled server from OFFLINE to ONLINE. It has no impact on a server that is already ONLINE. An ONLINE server can accept and process file transfer jobs. The state of STARTING indicates that the server is in an intermediate state, either not fully able to respond, or not fully online. The values of START_FAILED can indicate an error condition. No response is returned from this call.

                                            func (*Client) StopServer

                                            func (c *Client) StopServer(ctx context.Context, params *StopServerInput, optFns ...func(*Options)) (*StopServerOutput, error)

                                              Changes the state of a file transfer protocol-enabled server from ONLINE to OFFLINE. An OFFLINE server cannot accept and process file transfer jobs. Information tied to your server, such as server and user properties, are not affected by stopping your server. Stopping the server will not reduce or impact your file transfer protocol endpoint billing; you must delete the server to stop being billed. The state of STOPPING indicates that the server is in an intermediate state, either not fully able to respond, or not fully offline. The values of STOP_FAILED can indicate an error condition. No response is returned from this call.

                                              func (*Client) TagResource

                                              func (c *Client) TagResource(ctx context.Context, params *TagResourceInput, optFns ...func(*Options)) (*TagResourceOutput, error)

                                                Attaches a key-value pair to a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities. There is no response returned from this call.

                                                func (*Client) TestIdentityProvider

                                                func (c *Client) TestIdentityProvider(ctx context.Context, params *TestIdentityProviderInput, optFns ...func(*Options)) (*TestIdentityProviderOutput, error)

                                                  If the IdentityProviderType of a file transfer protocol-enabled server is API_Gateway, tests whether your API Gateway is set up successfully. We highly recommend that you call this operation to test your authentication method as soon as you create your server. By doing so, you can troubleshoot issues with the API Gateway integration to ensure that your users can successfully use the service.

                                                  func (*Client) UntagResource

                                                  func (c *Client) UntagResource(ctx context.Context, params *UntagResourceInput, optFns ...func(*Options)) (*UntagResourceOutput, error)

                                                    Detaches a key-value pair from a resource, as identified by its Amazon Resource Name (ARN). Resources are users, servers, roles, and other entities. No response is returned from this call.

                                                    func (*Client) UpdateServer

                                                    func (c *Client) UpdateServer(ctx context.Context, params *UpdateServerInput, optFns ...func(*Options)) (*UpdateServerOutput, error)

                                                      Updates the file transfer protocol-enabled server's properties after that server has been created. The UpdateServer call returns the ServerId of the server you updated.

                                                      func (*Client) UpdateUser

                                                      func (c *Client) UpdateUser(ctx context.Context, params *UpdateUserInput, optFns ...func(*Options)) (*UpdateUserOutput, error)

                                                        Assigns new properties to a user. Parameters you pass modify any or all of the following: the home directory, role, and policy for the UserName and ServerId you specify. The response returns the ServerId and the UserName for the updated user.

                                                        type CreateServerInput

                                                        type CreateServerInput struct {
                                                        
                                                        	// The Amazon Resource Name (ARN) of the AWS Certificate Manager (ACM) certificate.
                                                        	// Required when Protocols is set to FTPS. To request a new public certificate, see
                                                        	// Request a public certificate
                                                        	// (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html) in
                                                        	// the AWS Certificate Manager User Guide. To import an existing certificate into
                                                        	// ACM, see Importing certificates into ACM
                                                        	// (https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in
                                                        	// the AWS Certificate Manager User Guide. To request a private certificate to use
                                                        	// FTPS through private IP addresses, see Request a private certificate
                                                        	// (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html)
                                                        	// in the AWS Certificate Manager User Guide. Certificates with the following
                                                        	// cryptographic algorithms and key sizes are supported:
                                                        	//
                                                        	// * 2048-bit RSA
                                                        	// (RSA_2048)
                                                        	//
                                                        	// * 4096-bit RSA (RSA_4096)
                                                        	//
                                                        	// * Elliptic Prime Curve 256 bit
                                                        	// (EC_prime256v1)
                                                        	//
                                                        	// * Elliptic Prime Curve 384 bit (EC_secp384r1)
                                                        	//
                                                        	// * Elliptic Prime
                                                        	// Curve 521 bit (EC_secp521r1)
                                                        	//
                                                        	// The certificate must be a valid SSL/TLS X.509
                                                        	// version 3 certificate with FQDN or IP address specified and information about
                                                        	// the issuer.
                                                        	Certificate *string
                                                        
                                                        	// The virtual private cloud (VPC) endpoint settings that are configured for your
                                                        	// server. When you host your endpoint within your VPC, you can make it accessible
                                                        	// only to resources within your VPC, or you can attach Elastic IPs and make it
                                                        	// accessible to clients over the internet. Your VPC's default security groups are
                                                        	// automatically assigned to your endpoint.
                                                        	EndpointDetails *types.EndpointDetails
                                                        
                                                        	// The type of VPC endpoint that you want your server to connect to. You can choose
                                                        	// to connect to the public internet or a VPC endpoint. With a VPC endpoint, you
                                                        	// can restrict access to your server and resources only within your VPC. It is
                                                        	// recommended that you use VPC as the EndpointType. With this endpoint type, you
                                                        	// have the option to directly associate up to three Elastic IPv4 addresses (BYO IP
                                                        	// included) with your server's endpoint and use VPC security groups to restrict
                                                        	// traffic by the client's public IP address. This is not possible with
                                                        	// EndpointType set to VPC_ENDPOINT.
                                                        	EndpointType types.EndpointType
                                                        
                                                        	// The RSA private key as generated by the ssh-keygen -N "" -m PEM -f
                                                        	// my-new-server-key command. If you aren't planning to migrate existing users from
                                                        	// an existing SFTP-enabled server to a new server, don't update the host key.
                                                        	// Accidentally changing a server's host key can be disruptive. For more
                                                        	// information, see Change the host key for your SFTP-enabled server
                                                        	// (https://docs.aws.amazon.com/transfer/latest/userguide/edit-server-config.html#configuring-servers-change-host-key)
                                                        	// in the AWS Transfer Family User Guide.
                                                        	HostKey *string
                                                        
                                                        	// Required when IdentityProviderType is set to API_GATEWAY. Accepts an array
                                                        	// containing all of the information required to call a customer-supplied
                                                        	// authentication API, including the API Gateway URL. Not required when
                                                        	// IdentityProviderType is set to SERVICE_MANAGED.
                                                        	IdentityProviderDetails *types.IdentityProviderDetails
                                                        
                                                        	// Specifies the mode of authentication for a server. The default value is
                                                        	// SERVICE_MANAGED, which allows you to store and access user credentials within
                                                        	// the AWS Transfer Family service. Use the API_GATEWAY value to integrate with an
                                                        	// identity provider of your choosing. The API_GATEWAY setting requires you to
                                                        	// provide an API Gateway endpoint URL to call for authentication using the
                                                        	// IdentityProviderDetails parameter.
                                                        	IdentityProviderType types.IdentityProviderType
                                                        
                                                        	// Allows the service to write your users' activity to your Amazon CloudWatch logs
                                                        	// for monitoring and auditing purposes.
                                                        	LoggingRole *string
                                                        
                                                        	// Specifies the file transfer protocol or protocols over which your file transfer
                                                        	// protocol client can connect to your server's endpoint. The available protocols
                                                        	// are:
                                                        	//
                                                        	// * SFTP (Secure Shell (SSH) File Transfer Protocol): File transfer over
                                                        	// SSH
                                                        	//
                                                        	// * FTPS (File Transfer Protocol Secure): File transfer with TLS
                                                        	// encryption
                                                        	//
                                                        	// * FTP (File Transfer Protocol): Unencrypted file transfer
                                                        	//
                                                        	// If you
                                                        	// select FTPS, you must choose a certificate stored in AWS Certificate Manager
                                                        	// (ACM) which will be used to identify your server when clients connect to it over
                                                        	// FTPS. If Protocol includes either FTP or FTPS, then the EndpointType must be VPC
                                                        	// and the IdentityProviderType must be API_GATEWAY. If Protocol includes FTP, then
                                                        	// AddressAllocationIds cannot be associated. If Protocol is set only to SFTP, the
                                                        	// EndpointType can be set to PUBLIC and the IdentityProviderType can be set to
                                                        	// SERVICE_MANAGED.
                                                        	Protocols []types.Protocol
                                                        
                                                        	// Specifies the name of the security policy that is attached to the server.
                                                        	SecurityPolicyName *string
                                                        
                                                        	// Key-value pairs that can be used to group and search for servers.
                                                        	Tags []types.Tag
                                                        }

                                                        type CreateServerOutput

                                                        type CreateServerOutput struct {
                                                        
                                                        	// The service-assigned ID of the server that is created.
                                                        	//
                                                        	// This member is required.
                                                        	ServerId *string
                                                        
                                                        	// Metadata pertaining to the operation's result.
                                                        	ResultMetadata middleware.Metadata
                                                        }

                                                        type CreateUserInput

                                                        type CreateUserInput struct {
                                                        
                                                        	// The IAM role that controls your users' access to your Amazon S3 bucket. The
                                                        	// policies attached to this role will determine the level of access you want to
                                                        	// provide your users when transferring files into and out of your Amazon S3 bucket
                                                        	// or buckets. The IAM role should also contain a trust relationship that allows
                                                        	// the server to access your resources when servicing your users' transfer
                                                        	// requests.
                                                        	//
                                                        	// This member is required.
                                                        	Role *string
                                                        
                                                        	// A system-assigned unique identifier for a server instance. This is the specific
                                                        	// server that you added your user to.
                                                        	//
                                                        	// This member is required.
                                                        	ServerId *string
                                                        
                                                        	// A unique string that identifies a user and is associated with a 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.
                                                        	//
                                                        	// This member is required.
                                                        	UserName *string
                                                        
                                                        	// The landing directory (folder) for a user when they log in to the server using
                                                        	// the client. An example is your-Amazon-S3-bucket-name>/home/username .
                                                        	HomeDirectory *string
                                                        
                                                        	// Logical directory mappings that specify what Amazon S3 paths and keys should be
                                                        	// visible to your user and how you want to make them visible. You will need to
                                                        	// specify the "Entry" and "Target" pair, where Entry shows how the path is made
                                                        	// visible and Target is the actual Amazon S3 path. If you only specify a target,
                                                        	// it will be displayed as is. You will need to also make sure that your IAM role
                                                        	// provides access to paths in Target. The following is an example. '[
                                                        	// "/bucket2/documentation", { "Entry": "your-personal-report.pdf", "Target":
                                                        	// "/bucket3/customized-reports/${transfer:UserName}.pdf" } ]' In most cases, you
                                                        	// can use this value instead of the scope-down policy to lock your user down to
                                                        	// the designated home directory ("chroot"). To do this, you can set Entry to '/'
                                                        	// and set Target to the HomeDirectory parameter value. If the target of a logical
                                                        	// directory entry does not exist in Amazon S3, the entry will be ignored. As a
                                                        	// workaround, you can use the Amazon S3 API to create 0 byte objects as place
                                                        	// holders for your directory. If using the CLI, use the s3api call instead of s3
                                                        	// 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.
                                                        	HomeDirectoryMappings []types.HomeDirectoryMapEntry
                                                        
                                                        	// 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 paths as is in their file transfer protocol clients.
                                                        	// If you set it LOGICAL, you will need to provide mappings in the
                                                        	// HomeDirectoryMappings for how you want to make Amazon S3 paths visible to your
                                                        	// users.
                                                        	HomeDirectoryType types.HomeDirectoryType
                                                        
                                                        	// A scope-down policy for your user so 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}. For
                                                        	// scope-down policies, AWS 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 scope-down
                                                        	// policy, see Creating a scope-down policy
                                                        	// (https://docs.aws.amazon.com/transfer/latest/userguide/users.html#users-policies-scope-down).
                                                        	// For more information, see AssumeRole
                                                        	// (https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html) in the
                                                        	// AWS Security Token Service API Reference.
                                                        	Policy *string
                                                        
                                                        	// The public portion of the Secure Shell (SSH) key used to authenticate the user
                                                        	// to the server.
                                                        	SshPublicKeyBody *string
                                                        
                                                        	// Key-value pairs that can be used to group and search for users. Tags are
                                                        	// metadata attached to users for any purpose.
                                                        	Tags []types.Tag
                                                        }

                                                        type CreateUserOutput

                                                        type CreateUserOutput struct {
                                                        
                                                        	// The ID of the server that the user is attached to.
                                                        	//
                                                        	// This member is required.
                                                        	ServerId *string
                                                        
                                                        	// A unique string that identifies a user account associated with a server.
                                                        	//
                                                        	// This member is required.
                                                        	UserName *string
                                                        
                                                        	// Metadata pertaining to the operation's result.
                                                        	ResultMetadata middleware.Metadata
                                                        }

                                                        type DeleteServerInput

                                                        type DeleteServerInput struct {
                                                        
                                                        	// A unique system-assigned identifier for a server instance.
                                                        	//
                                                        	// This member is required.
                                                        	ServerId *string
                                                        }

                                                        type DeleteServerOutput

                                                        type DeleteServerOutput struct {
                                                        	// Metadata pertaining to the operation's result.
                                                        	ResultMetadata middleware.Metadata
                                                        }

                                                        type DeleteSshPublicKeyInput

                                                        type DeleteSshPublicKeyInput struct {
                                                        
                                                        	// A system-assigned unique identifier for a file transfer protocol-enabled server
                                                        	// instance that has the user assigned to it.
                                                        	//
                                                        	// This member is required.
                                                        	ServerId *string
                                                        
                                                        	// A unique identifier used to reference your user's specific SSH key.
                                                        	//
                                                        	// This member is required.
                                                        	SshPublicKeyId *string
                                                        
                                                        	// A unique string that identifies a user whose public key is being deleted.
                                                        	//
                                                        	// This member is required.
                                                        	UserName *string
                                                        }

                                                        type DeleteSshPublicKeyOutput

                                                        type DeleteSshPublicKeyOutput struct {
                                                        	// Metadata pertaining to the operation's result.
                                                        	ResultMetadata middleware.Metadata
                                                        }

                                                        type DeleteUserInput

                                                        type DeleteUserInput struct {
                                                        
                                                        	// A system-assigned unique identifier for a server instance that has the user
                                                        	// assigned to it.
                                                        	//
                                                        	// This member is required.
                                                        	ServerId *string
                                                        
                                                        	// A unique string that identifies a user that is being deleted from a server.
                                                        	//
                                                        	// This member is required.
                                                        	UserName *string
                                                        }

                                                        type DeleteUserOutput

                                                        type DeleteUserOutput struct {
                                                        	// Metadata pertaining to the operation's result.
                                                        	ResultMetadata middleware.Metadata
                                                        }

                                                        type DescribeSecurityPolicyInput

                                                        type DescribeSecurityPolicyInput struct {
                                                        
                                                        	// Specifies the name of the security policy that is attached to the server.
                                                        	//
                                                        	// This member is required.
                                                        	SecurityPolicyName *string
                                                        }

                                                        type DescribeSecurityPolicyOutput

                                                        type DescribeSecurityPolicyOutput struct {
                                                        
                                                        	// An array containing the properties of the security policy.
                                                        	//
                                                        	// This member is required.
                                                        	SecurityPolicy *types.DescribedSecurityPolicy
                                                        
                                                        	// Metadata pertaining to the operation's result.
                                                        	ResultMetadata middleware.Metadata
                                                        }

                                                        type DescribeServerInput

                                                        type DescribeServerInput struct {
                                                        
                                                        	// A system-assigned unique identifier for a server.
                                                        	//
                                                        	// This member is required.
                                                        	ServerId *string
                                                        }

                                                        type DescribeServerOutput

                                                        type DescribeServerOutput struct {
                                                        
                                                        	// An array containing the properties of a server with the ServerID you specified.
                                                        	//
                                                        	// This member is required.
                                                        	Server *types.DescribedServer
                                                        
                                                        	// Metadata pertaining to the operation's result.
                                                        	ResultMetadata middleware.Metadata
                                                        }

                                                        type DescribeUserInput

                                                        type DescribeUserInput struct {
                                                        
                                                        	// A system-assigned unique identifier for a server that has this user assigned.
                                                        	//
                                                        	// This member is required.
                                                        	ServerId *string
                                                        
                                                        	// The name of the user assigned to one or more servers. User names are part of the
                                                        	// sign-in credentials to use the AWS Transfer Family service and perform file
                                                        	// transfer tasks.
                                                        	//
                                                        	// This member is required.
                                                        	UserName *string
                                                        }

                                                        type DescribeUserOutput

                                                        type DescribeUserOutput struct {
                                                        
                                                        	// A system-assigned unique identifier for a server that has this user assigned.
                                                        	//
                                                        	// This member is required.
                                                        	ServerId *string
                                                        
                                                        	// An array containing the properties of the user account for the ServerID value
                                                        	// that you specified.
                                                        	//
                                                        	// This member is required.
                                                        	User *types.DescribedUser
                                                        
                                                        	// Metadata pertaining to the operation's result.
                                                        	ResultMetadata middleware.Metadata
                                                        }

                                                        type EndpointResolver

                                                        type EndpointResolver interface {
                                                        	ResolveEndpoint(region string, options EndpointResolverOptions) (aws.Endpoint, error)
                                                        }

                                                          EndpointResolver interface for resolving service endpoints.

                                                          func EndpointResolverFromURL

                                                          func EndpointResolverFromURL(url string, optFns ...func(*aws.Endpoint)) EndpointResolver

                                                            EndpointResolverFromURL returns an EndpointResolver configured using the provided endpoint url. By default, the resolved endpoint resolver uses the client region as signing region, and the endpoint source is set to EndpointSourceCustom.You can provide functional options to configure endpoint values for the resolved endpoint.

                                                            type EndpointResolverFunc

                                                            type EndpointResolverFunc func(region string, options EndpointResolverOptions) (aws.Endpoint, error)

                                                              EndpointResolverFunc is a helper utility that wraps a function so it satisfies the EndpointResolver interface. This is useful when you want to add additional endpoint resolving logic, or stub out specific endpoints with custom values.

                                                              func (EndpointResolverFunc) ResolveEndpoint

                                                              func (fn EndpointResolverFunc) ResolveEndpoint(region string, options EndpointResolverOptions) (endpoint aws.Endpoint, err error)

                                                              type EndpointResolverOptions

                                                              type EndpointResolverOptions = internalendpoints.Options

                                                                EndpointResolverOptions is the service endpoint resolver options

                                                                type HTTPClient

                                                                type HTTPClient interface {
                                                                	Do(*http.Request) (*http.Response, error)
                                                                }

                                                                type HTTPSignerV4

                                                                type HTTPSignerV4 interface {
                                                                	SignHTTP(ctx context.Context, credentials aws.Credentials, r *http.Request, payloadHash string, service string, region string, signingTime time.Time, optFns ...func(*v4.SignerOptions)) error
                                                                }

                                                                type ImportSshPublicKeyInput

                                                                type ImportSshPublicKeyInput struct {
                                                                
                                                                	// A system-assigned unique identifier for a server.
                                                                	//
                                                                	// This member is required.
                                                                	ServerId *string
                                                                
                                                                	// The public key portion of an SSH key pair.
                                                                	//
                                                                	// This member is required.
                                                                	SshPublicKeyBody *string
                                                                
                                                                	// The name of the user account that is assigned to one or more servers.
                                                                	//
                                                                	// This member is required.
                                                                	UserName *string
                                                                }

                                                                type ImportSshPublicKeyOutput

                                                                type ImportSshPublicKeyOutput struct {
                                                                
                                                                	// A system-assigned unique identifier for a server.
                                                                	//
                                                                	// This member is required.
                                                                	ServerId *string
                                                                
                                                                	// The name given to a public key by the system that was imported.
                                                                	//
                                                                	// This member is required.
                                                                	SshPublicKeyId *string
                                                                
                                                                	// A user name assigned to the ServerID value that you specified.
                                                                	//
                                                                	// This member is required.
                                                                	UserName *string
                                                                
                                                                	// Metadata pertaining to the operation's result.
                                                                	ResultMetadata middleware.Metadata
                                                                }

                                                                  Identifies the user, the server they belong to, and the identifier of the SSH public key associated with that user. A user can have more than one key on each server that they are associated with.

                                                                  type ListSecurityPoliciesAPIClient

                                                                  type ListSecurityPoliciesAPIClient interface {
                                                                  	ListSecurityPolicies(context.Context, *ListSecurityPoliciesInput, ...func(*Options)) (*ListSecurityPoliciesOutput, error)
                                                                  }

                                                                    ListSecurityPoliciesAPIClient is a client that implements the ListSecurityPolicies operation.

                                                                    type ListSecurityPoliciesInput

                                                                    type ListSecurityPoliciesInput struct {
                                                                    
                                                                    	// Specifies the number of security policies to return as a response to the
                                                                    	// ListSecurityPolicies query.
                                                                    	MaxResults *int32
                                                                    
                                                                    	// When additional results are obtained from the ListSecurityPolicies command, a
                                                                    	// NextToken parameter is returned in the output. You can then pass the NextToken
                                                                    	// parameter in a subsequent command to continue listing additional security
                                                                    	// policies.
                                                                    	NextToken *string
                                                                    }

                                                                    type ListSecurityPoliciesOutput

                                                                    type ListSecurityPoliciesOutput struct {
                                                                    
                                                                    	// An array of security policies that were listed.
                                                                    	//
                                                                    	// This member is required.
                                                                    	SecurityPolicyNames []string
                                                                    
                                                                    	// When you can get additional results from the ListSecurityPolicies operation, a
                                                                    	// NextToken parameter is returned in the output. In a following command, you can
                                                                    	// pass in the NextToken parameter to continue listing security policies.
                                                                    	NextToken *string
                                                                    
                                                                    	// Metadata pertaining to the operation's result.
                                                                    	ResultMetadata middleware.Metadata
                                                                    }

                                                                    type ListSecurityPoliciesPaginator

                                                                    type ListSecurityPoliciesPaginator struct {
                                                                    	// contains filtered or unexported fields
                                                                    }

                                                                      ListSecurityPoliciesPaginator is a paginator for ListSecurityPolicies

                                                                      func NewListSecurityPoliciesPaginator

                                                                        NewListSecurityPoliciesPaginator returns a new ListSecurityPoliciesPaginator

                                                                        func (*ListSecurityPoliciesPaginator) HasMorePages

                                                                        func (p *ListSecurityPoliciesPaginator) HasMorePages() bool

                                                                          HasMorePages returns a boolean indicating whether more pages are available

                                                                          func (*ListSecurityPoliciesPaginator) NextPage

                                                                            NextPage retrieves the next ListSecurityPolicies page.

                                                                            type ListSecurityPoliciesPaginatorOptions

                                                                            type ListSecurityPoliciesPaginatorOptions struct {
                                                                            	// Specifies the number of security policies to return as a response to the
                                                                            	// ListSecurityPolicies query.
                                                                            	Limit int32
                                                                            
                                                                            	// Set to true if pagination should stop if the service returns a pagination token
                                                                            	// that matches the most recent token provided to the service.
                                                                            	StopOnDuplicateToken bool
                                                                            }

                                                                              ListSecurityPoliciesPaginatorOptions is the paginator options for ListSecurityPolicies

                                                                              type ListServersAPIClient

                                                                              type ListServersAPIClient interface {
                                                                              	ListServers(context.Context, *ListServersInput, ...func(*Options)) (*ListServersOutput, error)
                                                                              }

                                                                                ListServersAPIClient is a client that implements the ListServers operation.

                                                                                type ListServersInput

                                                                                type ListServersInput struct {
                                                                                
                                                                                	// Specifies the number of servers to return as a response to the ListServers
                                                                                	// query.
                                                                                	MaxResults *int32
                                                                                
                                                                                	// When additional results are obtained from the ListServers command, a NextToken
                                                                                	// parameter is returned in the output. You can then pass the NextToken parameter
                                                                                	// in a subsequent command to continue listing additional servers.
                                                                                	NextToken *string
                                                                                }

                                                                                type ListServersOutput

                                                                                type ListServersOutput struct {
                                                                                
                                                                                	// An array of servers that were listed.
                                                                                	//
                                                                                	// This member is required.
                                                                                	Servers []types.ListedServer
                                                                                
                                                                                	// When you can get additional results from the ListServers operation, a NextToken
                                                                                	// parameter is returned in the output. In a following command, you can pass in the
                                                                                	// NextToken parameter to continue listing additional servers.
                                                                                	NextToken *string
                                                                                
                                                                                	// Metadata pertaining to the operation's result.
                                                                                	ResultMetadata middleware.Metadata
                                                                                }

                                                                                type ListServersPaginator

                                                                                type ListServersPaginator struct {
                                                                                	// contains filtered or unexported fields
                                                                                }

                                                                                  ListServersPaginator is a paginator for ListServers

                                                                                  func NewListServersPaginator

                                                                                  func NewListServersPaginator(client ListServersAPIClient, params *ListServersInput, optFns ...func(*ListServersPaginatorOptions)) *ListServersPaginator

                                                                                    NewListServersPaginator returns a new ListServersPaginator

                                                                                    func (*ListServersPaginator) HasMorePages

                                                                                    func (p *ListServersPaginator) HasMorePages() bool

                                                                                      HasMorePages returns a boolean indicating whether more pages are available

                                                                                      func (*ListServersPaginator) NextPage

                                                                                      func (p *ListServersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListServersOutput, error)

                                                                                        NextPage retrieves the next ListServers page.

                                                                                        type ListServersPaginatorOptions

                                                                                        type ListServersPaginatorOptions struct {
                                                                                        	// Specifies the number of servers to return as a response to the ListServers
                                                                                        	// query.
                                                                                        	Limit int32
                                                                                        
                                                                                        	// Set to true if pagination should stop if the service returns a pagination token
                                                                                        	// that matches the most recent token provided to the service.
                                                                                        	StopOnDuplicateToken bool
                                                                                        }

                                                                                          ListServersPaginatorOptions is the paginator options for ListServers

                                                                                          type ListTagsForResourceAPIClient

                                                                                          type ListTagsForResourceAPIClient interface {
                                                                                          	ListTagsForResource(context.Context, *ListTagsForResourceInput, ...func(*Options)) (*ListTagsForResourceOutput, error)
                                                                                          }

                                                                                            ListTagsForResourceAPIClient is a client that implements the ListTagsForResource operation.

                                                                                            type ListTagsForResourceInput

                                                                                            type ListTagsForResourceInput struct {
                                                                                            
                                                                                            	// Requests the tags associated with a particular Amazon Resource Name (ARN). An
                                                                                            	// ARN is an identifier for a specific AWS resource, such as a server, user, or
                                                                                            	// role.
                                                                                            	//
                                                                                            	// This member is required.
                                                                                            	Arn *string
                                                                                            
                                                                                            	// Specifies the number of tags to return as a response to the ListTagsForResource
                                                                                            	// request.
                                                                                            	MaxResults *int32
                                                                                            
                                                                                            	// When you request additional results from the ListTagsForResource operation, a
                                                                                            	// NextToken parameter is returned in the input. You can then pass in a subsequent
                                                                                            	// command to the NextToken parameter to continue listing additional tags.
                                                                                            	NextToken *string
                                                                                            }

                                                                                            type ListTagsForResourceOutput

                                                                                            type ListTagsForResourceOutput struct {
                                                                                            
                                                                                            	// The ARN you specified to list the tags of.
                                                                                            	Arn *string
                                                                                            
                                                                                            	// When you can get additional results from the ListTagsForResource 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 tags.
                                                                                            	NextToken *string
                                                                                            
                                                                                            	// Key-value pairs that are assigned to a resource, usually for the purpose of
                                                                                            	// grouping and searching for items. Tags are metadata that you define.
                                                                                            	Tags []types.Tag
                                                                                            
                                                                                            	// Metadata pertaining to the operation's result.
                                                                                            	ResultMetadata middleware.Metadata
                                                                                            }

                                                                                            type ListTagsForResourcePaginator

                                                                                            type ListTagsForResourcePaginator struct {
                                                                                            	// contains filtered or unexported fields
                                                                                            }

                                                                                              ListTagsForResourcePaginator is a paginator for ListTagsForResource

                                                                                              func NewListTagsForResourcePaginator

                                                                                              func NewListTagsForResourcePaginator(client ListTagsForResourceAPIClient, params *ListTagsForResourceInput, optFns ...func(*ListTagsForResourcePaginatorOptions)) *ListTagsForResourcePaginator

                                                                                                NewListTagsForResourcePaginator returns a new ListTagsForResourcePaginator

                                                                                                func (*ListTagsForResourcePaginator) HasMorePages

                                                                                                func (p *ListTagsForResourcePaginator) HasMorePages() bool

                                                                                                  HasMorePages returns a boolean indicating whether more pages are available

                                                                                                  func (*ListTagsForResourcePaginator) NextPage

                                                                                                  func (p *ListTagsForResourcePaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListTagsForResourceOutput, error)

                                                                                                    NextPage retrieves the next ListTagsForResource page.

                                                                                                    type ListTagsForResourcePaginatorOptions

                                                                                                    type ListTagsForResourcePaginatorOptions struct {
                                                                                                    	// Specifies the number of tags to return as a response to the ListTagsForResource
                                                                                                    	// request.
                                                                                                    	Limit int32
                                                                                                    
                                                                                                    	// Set to true if pagination should stop if the service returns a pagination token
                                                                                                    	// that matches the most recent token provided to the service.
                                                                                                    	StopOnDuplicateToken bool
                                                                                                    }

                                                                                                      ListTagsForResourcePaginatorOptions is the paginator options for ListTagsForResource

                                                                                                      type ListUsersAPIClient

                                                                                                      type ListUsersAPIClient interface {
                                                                                                      	ListUsers(context.Context, *ListUsersInput, ...func(*Options)) (*ListUsersOutput, error)
                                                                                                      }

                                                                                                        ListUsersAPIClient is a client that implements the ListUsers operation.

                                                                                                        type ListUsersInput

                                                                                                        type ListUsersInput struct {
                                                                                                        
                                                                                                        	// A system-assigned unique identifier for a server that has users assigned to it.
                                                                                                        	//
                                                                                                        	// This member is required.
                                                                                                        	ServerId *string
                                                                                                        
                                                                                                        	// Specifies the number of users to return as a response to the ListUsers request.
                                                                                                        	MaxResults *int32
                                                                                                        
                                                                                                        	// 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.
                                                                                                        	NextToken *string
                                                                                                        }

                                                                                                        type ListUsersOutput

                                                                                                        type ListUsersOutput struct {
                                                                                                        
                                                                                                        	// A system-assigned unique identifier for a server that the users are assigned to.
                                                                                                        	//
                                                                                                        	// This member is required.
                                                                                                        	ServerId *string
                                                                                                        
                                                                                                        	// Returns the user accounts and their properties for the ServerId value that you
                                                                                                        	// specify.
                                                                                                        	//
                                                                                                        	// This member is required.
                                                                                                        	Users []types.ListedUser
                                                                                                        
                                                                                                        	// 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.
                                                                                                        	NextToken *string
                                                                                                        
                                                                                                        	// Metadata pertaining to the operation's result.
                                                                                                        	ResultMetadata middleware.Metadata
                                                                                                        }

                                                                                                        type ListUsersPaginator

                                                                                                        type ListUsersPaginator struct {
                                                                                                        	// contains filtered or unexported fields
                                                                                                        }

                                                                                                          ListUsersPaginator is a paginator for ListUsers

                                                                                                          func NewListUsersPaginator

                                                                                                          func NewListUsersPaginator(client ListUsersAPIClient, params *ListUsersInput, optFns ...func(*ListUsersPaginatorOptions)) *ListUsersPaginator

                                                                                                            NewListUsersPaginator returns a new ListUsersPaginator

                                                                                                            func (*ListUsersPaginator) HasMorePages

                                                                                                            func (p *ListUsersPaginator) HasMorePages() bool

                                                                                                              HasMorePages returns a boolean indicating whether more pages are available

                                                                                                              func (*ListUsersPaginator) NextPage

                                                                                                              func (p *ListUsersPaginator) NextPage(ctx context.Context, optFns ...func(*Options)) (*ListUsersOutput, error)

                                                                                                                NextPage retrieves the next ListUsers page.

                                                                                                                type ListUsersPaginatorOptions

                                                                                                                type ListUsersPaginatorOptions struct {
                                                                                                                	// Specifies the number of users to return as a response to the ListUsers request.
                                                                                                                	Limit int32
                                                                                                                
                                                                                                                	// Set to true if pagination should stop if the service returns a pagination token
                                                                                                                	// that matches the most recent token provided to the service.
                                                                                                                	StopOnDuplicateToken bool
                                                                                                                }

                                                                                                                  ListUsersPaginatorOptions is the paginator options for ListUsers

                                                                                                                  type Options

                                                                                                                  type Options struct {
                                                                                                                  	// Set of options to modify how an operation is invoked. These apply to all
                                                                                                                  	// operations invoked for this client. Use functional options on operation call to
                                                                                                                  	// modify this list for per operation behavior.
                                                                                                                  	APIOptions []func(*middleware.Stack) error
                                                                                                                  
                                                                                                                  	// Configures the events that will be sent to the configured logger.
                                                                                                                  	ClientLogMode aws.ClientLogMode
                                                                                                                  
                                                                                                                  	// The credentials object to use when signing requests.
                                                                                                                  	Credentials aws.CredentialsProvider
                                                                                                                  
                                                                                                                  	// The endpoint options to be used when attempting to resolve an endpoint.
                                                                                                                  	EndpointOptions EndpointResolverOptions
                                                                                                                  
                                                                                                                  	// The service endpoint resolver.
                                                                                                                  	EndpointResolver EndpointResolver
                                                                                                                  
                                                                                                                  	// Signature Version 4 (SigV4) Signer
                                                                                                                  	HTTPSignerV4 HTTPSignerV4
                                                                                                                  
                                                                                                                  	// The logger writer interface to write logging messages to.
                                                                                                                  	Logger logging.Logger
                                                                                                                  
                                                                                                                  	// The region to send requests to. (Required)
                                                                                                                  	Region string
                                                                                                                  
                                                                                                                  	// Retryer guides how HTTP requests should be retried in case of recoverable
                                                                                                                  	// failures. When nil the API client will use a default retryer.
                                                                                                                  	Retryer aws.Retryer
                                                                                                                  
                                                                                                                  	// The HTTP client to invoke API calls with. Defaults to client's default HTTP
                                                                                                                  	// implementation if nil.
                                                                                                                  	HTTPClient HTTPClient
                                                                                                                  }

                                                                                                                  func (Options) Copy

                                                                                                                  func (o Options) Copy() Options

                                                                                                                    Copy creates a clone where the APIOptions list is deep copied.

                                                                                                                    type ResolveEndpoint

                                                                                                                    type ResolveEndpoint struct {
                                                                                                                    	Resolver EndpointResolver
                                                                                                                    	Options  EndpointResolverOptions
                                                                                                                    }

                                                                                                                    func (*ResolveEndpoint) HandleSerialize

                                                                                                                    func (*ResolveEndpoint) ID

                                                                                                                    func (*ResolveEndpoint) ID() string

                                                                                                                    type StartServerInput

                                                                                                                    type StartServerInput struct {
                                                                                                                    
                                                                                                                    	// A system-assigned unique identifier for a server that you start.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	ServerId *string
                                                                                                                    }

                                                                                                                    type StartServerOutput

                                                                                                                    type StartServerOutput struct {
                                                                                                                    	// Metadata pertaining to the operation's result.
                                                                                                                    	ResultMetadata middleware.Metadata
                                                                                                                    }

                                                                                                                    type StopServerInput

                                                                                                                    type StopServerInput struct {
                                                                                                                    
                                                                                                                    	// A system-assigned unique identifier for a server that you stopped.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	ServerId *string
                                                                                                                    }

                                                                                                                    type StopServerOutput

                                                                                                                    type StopServerOutput struct {
                                                                                                                    	// Metadata pertaining to the operation's result.
                                                                                                                    	ResultMetadata middleware.Metadata
                                                                                                                    }

                                                                                                                    type TagResourceInput

                                                                                                                    type TagResourceInput struct {
                                                                                                                    
                                                                                                                    	// An Amazon Resource Name (ARN) for a specific AWS resource, such as a server,
                                                                                                                    	// user, or role.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	Arn *string
                                                                                                                    
                                                                                                                    	// Key-value pairs assigned to ARNs that you can use to group and search for
                                                                                                                    	// resources by type. You can attach this metadata to user accounts for any
                                                                                                                    	// purpose.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	Tags []types.Tag
                                                                                                                    }

                                                                                                                    type TagResourceOutput

                                                                                                                    type TagResourceOutput struct {
                                                                                                                    	// Metadata pertaining to the operation's result.
                                                                                                                    	ResultMetadata middleware.Metadata
                                                                                                                    }

                                                                                                                    type TestIdentityProviderInput

                                                                                                                    type TestIdentityProviderInput struct {
                                                                                                                    
                                                                                                                    	// A system-assigned identifier for a specific server. That server's user
                                                                                                                    	// authentication method is tested with a user name and password.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	ServerId *string
                                                                                                                    
                                                                                                                    	// The name of the user account to be tested.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	UserName *string
                                                                                                                    
                                                                                                                    	// The type of file transfer protocol to be tested. The available protocols are:
                                                                                                                    	//
                                                                                                                    	// *
                                                                                                                    	// Secure Shell (SSH) File Transfer Protocol (SFTP)
                                                                                                                    	//
                                                                                                                    	// * File Transfer Protocol
                                                                                                                    	// Secure (FTPS)
                                                                                                                    	//
                                                                                                                    	// * File Transfer Protocol (FTP)
                                                                                                                    	ServerProtocol types.Protocol
                                                                                                                    
                                                                                                                    	// The source IP address of the user account to be tested.
                                                                                                                    	SourceIp *string
                                                                                                                    
                                                                                                                    	// The password of the user account to be tested.
                                                                                                                    	UserPassword *string
                                                                                                                    }

                                                                                                                    type TestIdentityProviderOutput

                                                                                                                    type TestIdentityProviderOutput struct {
                                                                                                                    
                                                                                                                    	// The HTTP status code that is the response from your API Gateway.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	StatusCode int32
                                                                                                                    
                                                                                                                    	// The endpoint of the service used to authenticate a user.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	Url *string
                                                                                                                    
                                                                                                                    	// A message that indicates whether the test was successful or not.
                                                                                                                    	Message *string
                                                                                                                    
                                                                                                                    	// The response that is returned from your API Gateway.
                                                                                                                    	Response *string
                                                                                                                    
                                                                                                                    	// Metadata pertaining to the operation's result.
                                                                                                                    	ResultMetadata middleware.Metadata
                                                                                                                    }

                                                                                                                    type UntagResourceInput

                                                                                                                    type UntagResourceInput struct {
                                                                                                                    
                                                                                                                    	// The value of the resource that will have the tag removed. An Amazon Resource
                                                                                                                    	// Name (ARN) is an identifier for a specific AWS resource, such as a server, user,
                                                                                                                    	// or role.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	Arn *string
                                                                                                                    
                                                                                                                    	// TagKeys are key-value pairs assigned to ARNs that can be used to group and
                                                                                                                    	// search for resources by type. This metadata can be attached to resources for any
                                                                                                                    	// purpose.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	TagKeys []string
                                                                                                                    }

                                                                                                                    type UntagResourceOutput

                                                                                                                    type UntagResourceOutput struct {
                                                                                                                    	// Metadata pertaining to the operation's result.
                                                                                                                    	ResultMetadata middleware.Metadata
                                                                                                                    }

                                                                                                                    type UpdateServerInput

                                                                                                                    type UpdateServerInput struct {
                                                                                                                    
                                                                                                                    	// A system-assigned unique identifier for a server instance that the user account
                                                                                                                    	// is assigned to.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	ServerId *string
                                                                                                                    
                                                                                                                    	// The Amazon Resource Name (ARN) of the AWS Certificate Manager (ACM) certificate.
                                                                                                                    	// Required when Protocols is set to FTPS. To request a new public certificate, see
                                                                                                                    	// Request a public certificate
                                                                                                                    	// (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-public.html) in
                                                                                                                    	// the AWS Certificate Manager User Guide. To import an existing certificate into
                                                                                                                    	// ACM, see Importing certificates into ACM
                                                                                                                    	// (https://docs.aws.amazon.com/acm/latest/userguide/import-certificate.html) in
                                                                                                                    	// the AWS Certificate Manager User Guide. To request a private certificate to use
                                                                                                                    	// FTPS through private IP addresses, see Request a private certificate
                                                                                                                    	// (https://docs.aws.amazon.com/acm/latest/userguide/gs-acm-request-private.html)
                                                                                                                    	// in the AWS Certificate Manager User Guide. Certificates with the following
                                                                                                                    	// cryptographic algorithms and key sizes are supported:
                                                                                                                    	//
                                                                                                                    	// * 2048-bit RSA
                                                                                                                    	// (RSA_2048)
                                                                                                                    	//
                                                                                                                    	// * 4096-bit RSA (RSA_4096)
                                                                                                                    	//
                                                                                                                    	// * Elliptic Prime Curve 256 bit
                                                                                                                    	// (EC_prime256v1)
                                                                                                                    	//
                                                                                                                    	// * Elliptic Prime Curve 384 bit (EC_secp384r1)
                                                                                                                    	//
                                                                                                                    	// * Elliptic Prime
                                                                                                                    	// Curve 521 bit (EC_secp521r1)
                                                                                                                    	//
                                                                                                                    	// The certificate must be a valid SSL/TLS X.509
                                                                                                                    	// version 3 certificate with FQDN or IP address specified and information about
                                                                                                                    	// the issuer.
                                                                                                                    	Certificate *string
                                                                                                                    
                                                                                                                    	// The virtual private cloud (VPC) endpoint settings that are configured for your
                                                                                                                    	// server. With a VPC endpoint, you can restrict access to your server to resources
                                                                                                                    	// only within your VPC. To control incoming internet traffic, you will need to
                                                                                                                    	// associate one or more Elastic IP addresses with your server's endpoint.
                                                                                                                    	EndpointDetails *types.EndpointDetails
                                                                                                                    
                                                                                                                    	// The type of endpoint that you want your server to connect to. You can choose to
                                                                                                                    	// connect to the public internet or a VPC endpoint. With a VPC endpoint, you can
                                                                                                                    	// restrict access to your server and resources only within your VPC. It is
                                                                                                                    	// recommended that you use VPC as the EndpointType. With this endpoint type, you
                                                                                                                    	// have the option to directly associate up to three Elastic IPv4 addresses (BYO IP
                                                                                                                    	// included) with your server's endpoint and use VPC security groups to restrict
                                                                                                                    	// traffic by the client's public IP address. This is not possible with
                                                                                                                    	// EndpointType set to VPC_ENDPOINT.
                                                                                                                    	EndpointType types.EndpointType
                                                                                                                    
                                                                                                                    	// The RSA private key as generated by ssh-keygen -N "" -m PEM -f
                                                                                                                    	// my-new-server-key. If you aren't planning to migrate existing users from an
                                                                                                                    	// existing server to a new server, don't update the host key. Accidentally
                                                                                                                    	// changing a server's host key can be disruptive. For more information, see Change
                                                                                                                    	// the host key for your SFTP-enabled server
                                                                                                                    	// (https://docs.aws.amazon.com/transfer/latest/userguide/edit-server-config.html#configuring-servers-change-host-key)
                                                                                                                    	// in the AWS Transfer Family User Guide.
                                                                                                                    	HostKey *string
                                                                                                                    
                                                                                                                    	// An array containing all of the information required to call a customer's
                                                                                                                    	// authentication API method.
                                                                                                                    	IdentityProviderDetails *types.IdentityProviderDetails
                                                                                                                    
                                                                                                                    	// Changes the AWS Identity and Access Management (IAM) role that allows Amazon S3
                                                                                                                    	// events to be logged in Amazon CloudWatch, turning logging on or off.
                                                                                                                    	LoggingRole *string
                                                                                                                    
                                                                                                                    	// Specifies the file transfer protocol or protocols over which your file transfer
                                                                                                                    	// protocol client can connect to your server's endpoint. The available protocols
                                                                                                                    	// are:
                                                                                                                    	//
                                                                                                                    	// * Secure Shell (SSH) File Transfer Protocol (SFTP): File transfer over
                                                                                                                    	// SSH
                                                                                                                    	//
                                                                                                                    	// * File Transfer Protocol Secure (FTPS): File transfer with TLS
                                                                                                                    	// encryption
                                                                                                                    	//
                                                                                                                    	// * File Transfer Protocol (FTP): Unencrypted file transfer
                                                                                                                    	//
                                                                                                                    	// If you
                                                                                                                    	// select FTPS, you must choose a certificate stored in AWS Certificate Manager
                                                                                                                    	// (ACM) which will be used to identify your server when clients connect to it over
                                                                                                                    	// FTPS. If Protocol includes either FTP or FTPS, then the EndpointType must be VPC
                                                                                                                    	// and the IdentityProviderType must be API_GATEWAY. If Protocol includes FTP, then
                                                                                                                    	// AddressAllocationIds cannot be associated. If Protocol is set only to SFTP, the
                                                                                                                    	// EndpointType can be set to PUBLIC and the IdentityProviderType can be set to
                                                                                                                    	// SERVICE_MANAGED.
                                                                                                                    	Protocols []types.Protocol
                                                                                                                    
                                                                                                                    	// Specifies the name of the security policy that is attached to the server.
                                                                                                                    	SecurityPolicyName *string
                                                                                                                    }

                                                                                                                    type UpdateServerOutput

                                                                                                                    type UpdateServerOutput struct {
                                                                                                                    
                                                                                                                    	// A system-assigned unique identifier for a server that the user account is
                                                                                                                    	// assigned to.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	ServerId *string
                                                                                                                    
                                                                                                                    	// Metadata pertaining to the operation's result.
                                                                                                                    	ResultMetadata middleware.Metadata
                                                                                                                    }

                                                                                                                    type UpdateUserInput

                                                                                                                    type UpdateUserInput struct {
                                                                                                                    
                                                                                                                    	// A system-assigned unique identifier for a server instance that the user account
                                                                                                                    	// is assigned to.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	ServerId *string
                                                                                                                    
                                                                                                                    	// 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.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	UserName *string
                                                                                                                    
                                                                                                                    	// Specifies the landing directory (folder) for a user when they log in to the
                                                                                                                    	// server using their file transfer protocol client. An example is
                                                                                                                    	// your-Amazon-S3-bucket-name>/home/username.
                                                                                                                    	HomeDirectory *string
                                                                                                                    
                                                                                                                    	// Logical directory mappings that specify what Amazon S3 paths and keys should be
                                                                                                                    	// visible to your user and how you want to make them visible. You will need to
                                                                                                                    	// specify the "Entry" and "Target" pair, where Entry shows how the path is made
                                                                                                                    	// visible and Target is the actual Amazon S3 path. If you only specify a target,
                                                                                                                    	// it will be displayed as is. You will need to also make sure that your IAM role
                                                                                                                    	// provides access to paths in Target. The following is an example. '[
                                                                                                                    	// "/bucket2/documentation", { "Entry": "your-personal-report.pdf", "Target":
                                                                                                                    	// "/bucket3/customized-reports/${transfer:UserName}.pdf" } ]' In most cases, you
                                                                                                                    	// can use this value instead of the scope-down policy to lock your user down to
                                                                                                                    	// the designated home directory ("chroot"). To do this, you can set Entry to '/'
                                                                                                                    	// and set Target to the HomeDirectory parameter value. If the target of a logical
                                                                                                                    	// directory entry does not exist in Amazon S3, the entry will be ignored. As a
                                                                                                                    	// workaround, you can use the Amazon S3 API to create 0 byte objects as place
                                                                                                                    	// holders for your directory. If using the CLI, use the s3api call instead of s3
                                                                                                                    	// 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.
                                                                                                                    	HomeDirectoryMappings []types.HomeDirectoryMapEntry
                                                                                                                    
                                                                                                                    	// 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 paths as is in their file transfer protocol clients.
                                                                                                                    	// If you set it LOGICAL, you will need to provide mappings in the
                                                                                                                    	// HomeDirectoryMappings for how you want to make Amazon S3 paths visible to your
                                                                                                                    	// users.
                                                                                                                    	HomeDirectoryType types.HomeDirectoryType
                                                                                                                    
                                                                                                                    	// Allows you to supply a scope-down policy for your user so you can use the same
                                                                                                                    	// IAM role across multiple users. The policy scopes down user access to portions
                                                                                                                    	// of your Amazon S3 bucket. Variables you can use inside this policy include
                                                                                                                    	// ${Transfer:UserName}, ${Transfer:HomeDirectory}, and ${Transfer:HomeBucket}. For
                                                                                                                    	// scope-down policies, AWS 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 scope-down
                                                                                                                    	// policy, see Creating a scope-down policy
                                                                                                                    	// (https://docs.aws.amazon.com/transfer/latest/userguide/users.html#users-policies-scope-down).
                                                                                                                    	// For more information, see AssumeRole
                                                                                                                    	// (https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRole.html) in the
                                                                                                                    	// AWS Security Token Service API Reference.
                                                                                                                    	Policy *string
                                                                                                                    
                                                                                                                    	// The IAM role that controls your users' access to your Amazon S3 bucket. The
                                                                                                                    	// policies attached to this role will determine the level of access you want to
                                                                                                                    	// provide your users when transferring files into and out of your Amazon S3 bucket
                                                                                                                    	// or buckets. The IAM role should also contain a trust relationship that allows
                                                                                                                    	// the server to access your resources when servicing your users' transfer
                                                                                                                    	// requests.
                                                                                                                    	Role *string
                                                                                                                    }

                                                                                                                    type UpdateUserOutput

                                                                                                                    type UpdateUserOutput struct {
                                                                                                                    
                                                                                                                    	// A system-assigned unique identifier for a server instance that the user account
                                                                                                                    	// is assigned to.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	ServerId *string
                                                                                                                    
                                                                                                                    	// The unique identifier for a user that is assigned to a server instance that was
                                                                                                                    	// specified in the request.
                                                                                                                    	//
                                                                                                                    	// This member is required.
                                                                                                                    	UserName *string
                                                                                                                    
                                                                                                                    	// Metadata pertaining to the operation's result.
                                                                                                                    	ResultMetadata middleware.Metadata
                                                                                                                    }

                                                                                                                      UpdateUserResponse returns the user name and identifier for the request to update a user's properties.

                                                                                                                      Directories

                                                                                                                      Path Synopsis
                                                                                                                      internal