package types
import "github.com/aws/aws-sdk-go-v2/service/transfer/types"
Index ¶
- type AccessDeniedException
- func (e *AccessDeniedException) Error() string
- func (e *AccessDeniedException) ErrorCode() string
- func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
- func (e *AccessDeniedException) ErrorMessage() string
- type ConflictException
- func (e *ConflictException) Error() string
- func (e *ConflictException) ErrorCode() string
- func (e *ConflictException) ErrorFault() smithy.ErrorFault
- func (e *ConflictException) ErrorMessage() string
- type DescribedServer
- type DescribedUser
- type EndpointDetails
- type EndpointType
- type HomeDirectoryMapEntry
- type HomeDirectoryType
- type IdentityProviderDetails
- type IdentityProviderType
- type InternalServiceError
- func (e *InternalServiceError) Error() string
- func (e *InternalServiceError) ErrorCode() string
- func (e *InternalServiceError) ErrorFault() smithy.ErrorFault
- func (e *InternalServiceError) ErrorMessage() string
- type InvalidNextTokenException
- func (e *InvalidNextTokenException) Error() string
- func (e *InvalidNextTokenException) ErrorCode() string
- func (e *InvalidNextTokenException) ErrorFault() smithy.ErrorFault
- func (e *InvalidNextTokenException) ErrorMessage() string
- type InvalidRequestException
- func (e *InvalidRequestException) Error() string
- func (e *InvalidRequestException) ErrorCode() string
- func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault
- func (e *InvalidRequestException) ErrorMessage() string
- type ListedServer
- type ListedUser
- type Protocol
- type ResourceExistsException
- func (e *ResourceExistsException) Error() string
- func (e *ResourceExistsException) ErrorCode() string
- func (e *ResourceExistsException) ErrorFault() smithy.ErrorFault
- func (e *ResourceExistsException) ErrorMessage() string
- type ResourceNotFoundException
- func (e *ResourceNotFoundException) Error() string
- func (e *ResourceNotFoundException) ErrorCode() string
- func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
- func (e *ResourceNotFoundException) ErrorMessage() string
- type ServiceUnavailableException
- func (e *ServiceUnavailableException) Error() string
- func (e *ServiceUnavailableException) ErrorCode() string
- func (e *ServiceUnavailableException) ErrorFault() smithy.ErrorFault
- func (e *ServiceUnavailableException) ErrorMessage() string
- type SshPublicKey
- type State
- type Tag
- type ThrottlingException
Types ¶
type AccessDeniedException ¶
type AccessDeniedException struct { Message *string }
You do not have sufficient access to perform this action.
func (*AccessDeniedException) Error ¶
func (e *AccessDeniedException) Error() string
func (*AccessDeniedException) ErrorCode ¶
func (e *AccessDeniedException) ErrorCode() string
func (*AccessDeniedException) ErrorFault ¶
func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault
func (*AccessDeniedException) ErrorMessage ¶
func (e *AccessDeniedException) ErrorMessage() string
type ConflictException ¶
type ConflictException struct { Message *string }
This exception is thrown when the UpdatServer is called for a file transfer protocol-enabled server that has VPC as the endpoint type and the server's VpcEndpointID is not in the available state.
func (*ConflictException) Error ¶
func (e *ConflictException) Error() string
func (*ConflictException) ErrorCode ¶
func (e *ConflictException) ErrorCode() string
func (*ConflictException) ErrorFault ¶
func (e *ConflictException) ErrorFault() smithy.ErrorFault
func (*ConflictException) ErrorMessage ¶
func (e *ConflictException) ErrorMessage() string
type DescribedServer ¶
type DescribedServer struct { // Specifies the unique Amazon Resource Name (ARN) for a file transfer // protocol-enabled server to be described. // // This member is required. Arn *string // Specifies the ARN of the AWS Certificate Manager (ACM) certificate. Required // when Protocols is set to FTPS. Certificate *string // Specifies the virtual private cloud (VPC) endpoint settings that you configured // for your file transfer protocol-enabled server. EndpointDetails *EndpointDetails // Defines the type of endpoint that your file transfer protocol-enabled server is // connected to. If your server is connected to a VPC endpoint, your server isn't // accessible over the public internet. EndpointType EndpointType // Specifies the Base64-encoded SHA256 fingerprint of the server's host key. This // value is equivalent to the output of the ssh-keygen -l -f my-new-server-key // command. HostKeyFingerprint *string // Specifies information to call a customer-supplied authentication API. This field // is not populated when the IdentityProviderType of a file transfer // protocol-enabled server is SERVICE_MANAGED. IdentityProviderDetails *IdentityProviderDetails // Specifies the mode of authentication method enabled for this service. A value of // SERVICE_MANAGED means that you are using this file transfer protocol-enabled // server to store and access user credentials within the service. A value of // API_GATEWAY indicates that you have integrated an API Gateway endpoint that will // be invoked for authenticating your user into the service. IdentityProviderType IdentityProviderType // Specifies the AWS Identity and Access Management (IAM) role that allows a file // transfer protocol-enabled server to turn on Amazon CloudWatch logging for Amazon // S3 events. When set, user activity can be viewed in your CloudWatch logs. 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 Protocols []Protocol // Specifies the unique system-assigned identifier for a file transfer // protocol-enabled server that you instantiate. ServerId *string // Specifies the condition of a file transfer protocol-enabled server for the // server that was described. A value of ONLINE indicates that the server can // accept jobs and transfer files. A State value of OFFLINE means that the server // cannot perform file transfer operations. The states of STARTING and STOPPING // indicate that the server is in an intermediate state, either not fully able to // respond, or not fully offline. The values of START_FAILED or STOP_FAILED can // indicate an error condition. State State // Specifies the key-value pairs that you can use to search for and group file // transfer protocol-enabled servers that were assigned to the server that was // described. Tags []*Tag // Specifies the number of users that are assigned to a file transfer // protocol-enabled server you specified with the ServerId. UserCount *int32 }
Describes the properties of a file transfer protocol-enabled server that was specified. Information returned includes the following: the server Amazon Resource Name (ARN), the certificate ARN (if the FTPS protocol was selected), the endpoint type and details, the authentication configuration and type, the logging role, the file transfer protocol or protocols, the server ID and state, and assigned tags or metadata.
type DescribedUser ¶
type DescribedUser struct { // Specifies the unique Amazon Resource Name (ARN) for the user that was requested // to be described. // // This member is required. Arn *string // Specifies the landing directory (or folder), which is the location that files // are written to or read from in an Amazon S3 bucket, for the described user. An // example is your-Amazon-S3-bucket-name>/home/username . HomeDirectory *string // Specifies the 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 AWS Identity and Access Management (IAM) role provides access to paths // in Target. 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. HomeDirectoryMappings []*HomeDirectoryMapEntry // Specifies the type of landing directory (folder) you mapped for your users to // see when they log into the file transfer protocol-enabled 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 HomeDirectoryType // Specifies the name of the policy in use for the described user. Policy *string // Specifies 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 a file transfer protocol-enabled server to access your // resources when servicing your users' transfer requests. Role *string // Specifies the public key portion of the Secure Shell (SSH) keys stored for the // described user. SshPublicKeys []*SshPublicKey // Specifies the key-value pairs for the user requested. Tag can be used to search // for and group users for a variety of purposes. Tags []*Tag // Specifies the name of the user that was requested to be described. User names // are used for authentication purposes. This is the string that will be used by // your user when they log in to your file transfer protocol-enabled server. UserName *string }
Returns properties of the user that you want to describe.
type EndpointDetails ¶
type EndpointDetails struct { // A list of address allocation IDs that are required to attach an Elastic IP // address to your file transfer protocol-enabled server's endpoint. This is only // valid in the UpdateServer API. This property can only be use when EndpointType // is set to VPC. AddressAllocationIds []*string // A list of subnet IDs that are required to host your file transfer // protocol-enabled server endpoint in your VPC. This property can only be used // when EndpointType is set to VPC. SubnetIds []*string // The ID of the VPC endpoint. This property can only be used when EndpointType is // set to VPC_ENDPOINT. VpcEndpointId *string // The VPC ID of the VPC in which a file transfer protocol-enabled server's // endpoint will be hosted. This property can only be used when EndpointType is set // to VPC. VpcId *string }
The virtual private cloud (VPC) endpoint settings that are configured for your file transfer protocol-enabled server. With a VPC endpoint, you can restrict access to your server and resources only within your VPC. To control incoming internet traffic, invoke the UpdateServer API and attach an Elastic IP to your server's endpoint.
type EndpointType ¶
type EndpointType string
const ( EndpointTypePublic EndpointType = "PUBLIC" EndpointTypeVpc EndpointType = "VPC" EndpointTypeVpc_endpoint EndpointType = "VPC_ENDPOINT" )
Enum values for EndpointType
type HomeDirectoryMapEntry ¶
type HomeDirectoryMapEntry struct { // Represents an entry and a target for HomeDirectoryMappings. // // This member is required. Entry *string // Represents the map target that is used in a HomeDirectorymapEntry. // // This member is required. Target *string }
Represents an object that contains entries and a targets for HomeDirectoryMappings.
type HomeDirectoryType ¶
type HomeDirectoryType string
const ( HomeDirectoryTypePath HomeDirectoryType = "PATH" HomeDirectoryTypeLogical HomeDirectoryType = "LOGICAL" )
Enum values for HomeDirectoryType
type IdentityProviderDetails ¶
type IdentityProviderDetails struct { // Provides the type of InvocationRole used to authenticate the user account. InvocationRole *string // Provides the location of the service endpoint used to authenticate users. Url *string }
Returns information related to the type of user authentication that is in use for a file transfer protocol-enabled server's users. A server can have only one method of authentication.
type IdentityProviderType ¶
type IdentityProviderType string
const ( IdentityProviderTypeService_managed IdentityProviderType = "SERVICE_MANAGED" IdentityProviderTypeApi_gateway IdentityProviderType = "API_GATEWAY" )
Enum values for IdentityProviderType
type InternalServiceError ¶
type InternalServiceError struct { Message *string }
This exception is thrown when an error occurs in the AWS Transfer Family service.
func (*InternalServiceError) Error ¶
func (e *InternalServiceError) Error() string
func (*InternalServiceError) ErrorCode ¶
func (e *InternalServiceError) ErrorCode() string
func (*InternalServiceError) ErrorFault ¶
func (e *InternalServiceError) ErrorFault() smithy.ErrorFault
func (*InternalServiceError) ErrorMessage ¶
func (e *InternalServiceError) ErrorMessage() string
type InvalidNextTokenException ¶
type InvalidNextTokenException struct { Message *string }
The NextToken parameter that was passed is invalid.
func (*InvalidNextTokenException) Error ¶
func (e *InvalidNextTokenException) Error() string
func (*InvalidNextTokenException) ErrorCode ¶
func (e *InvalidNextTokenException) ErrorCode() string
func (*InvalidNextTokenException) ErrorFault ¶
func (e *InvalidNextTokenException) ErrorFault() smithy.ErrorFault
func (*InvalidNextTokenException) ErrorMessage ¶
func (e *InvalidNextTokenException) ErrorMessage() string
type InvalidRequestException ¶
type InvalidRequestException struct { Message *string }
This exception is thrown when the client submits a malformed request.
func (*InvalidRequestException) Error ¶
func (e *InvalidRequestException) Error() string
func (*InvalidRequestException) ErrorCode ¶
func (e *InvalidRequestException) ErrorCode() string
func (*InvalidRequestException) ErrorFault ¶
func (e *InvalidRequestException) ErrorFault() smithy.ErrorFault
func (*InvalidRequestException) ErrorMessage ¶
func (e *InvalidRequestException) ErrorMessage() string
type ListedServer ¶
type ListedServer struct { // Specifies the unique Amazon Resource Name (ARN) for a file transfer // protocol-enabled server to be listed. // // This member is required. Arn *string // Specifies the type of VPC endpoint that your file transfer protocol-enabled // server is connected to. If your server is connected to a VPC endpoint, your // server isn't accessible over the public internet. EndpointType EndpointType // Specifies the authentication method used to validate a user for a file transfer // protocol-enabled server that was specified. This can include Secure Shell (SSH), // user name and password combinations, or your own custom authentication method. // Valid values include SERVICE_MANAGED or API_GATEWAY. IdentityProviderType IdentityProviderType // Specifies the AWS Identity and Access Management (IAM) role that allows a file // transfer protocol-enabled server to turn on Amazon CloudWatch logging. LoggingRole *string // Specifies the unique system assigned identifier for a file transfer // protocol-enabled servers that were listed. ServerId *string // Specifies the condition of a file transfer protocol-enabled server for the // server that was described. A value of ONLINE indicates that the server can // accept jobs and transfer files. A State value of OFFLINE means that the server // cannot perform file transfer operations. The states of STARTING and STOPPING // indicate that the server is in an intermediate state, either not fully able to // respond, or not fully offline. The values of START_FAILED or STOP_FAILED can // indicate an error condition. State State // Specifies the number of users that are assigned to a file transfer // protocol-enabled server you specified with the ServerId. UserCount *int32 }
Returns properties of a file transfer protocol-enabled server that was specified.
type ListedUser ¶
type ListedUser struct { // Provides the unique Amazon Resource Name (ARN) for the user that you want to // learn about. // // This member is required. Arn *string // Specifies the location that files are written to or read from an Amazon S3 // bucket for the user you specify by their ARN. HomeDirectory *string // Specifies the type of landing directory (folder) you mapped for your users' home // directory. 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 HomeDirectoryType // Specifies the role that is in use by this user. A role is an AWS Identity and // Access Management (IAM) entity that, in this case, allows a file transfer // protocol-enabled server to act on a user's behalf. It allows the server to // inherit the trust relationship that enables that user to perform file operations // to their Amazon S3 bucket. Role *string // Specifies the number of SSH public keys stored for the user you specified. SshPublicKeyCount *int32 // Specifies the name of the user whose ARN was specified. User names are used for // authentication purposes. UserName *string }
Returns properties of the user that you specify.
type Protocol ¶
type Protocol string
const ( ProtocolSftp Protocol = "SFTP" ProtocolFtp Protocol = "FTP" ProtocolFtps Protocol = "FTPS" )
Enum values for Protocol
type ResourceExistsException ¶
The requested resource does not exist.
func (*ResourceExistsException) Error ¶
func (e *ResourceExistsException) Error() string
func (*ResourceExistsException) ErrorCode ¶
func (e *ResourceExistsException) ErrorCode() string
func (*ResourceExistsException) ErrorFault ¶
func (e *ResourceExistsException) ErrorFault() smithy.ErrorFault
func (*ResourceExistsException) ErrorMessage ¶
func (e *ResourceExistsException) ErrorMessage() string
type ResourceNotFoundException ¶
This exception is thrown when a resource is not found by the AWS Transfer Family service.
func (*ResourceNotFoundException) Error ¶
func (e *ResourceNotFoundException) Error() string
func (*ResourceNotFoundException) ErrorCode ¶
func (e *ResourceNotFoundException) ErrorCode() string
func (*ResourceNotFoundException) ErrorFault ¶
func (e *ResourceNotFoundException) ErrorFault() smithy.ErrorFault
func (*ResourceNotFoundException) ErrorMessage ¶
func (e *ResourceNotFoundException) ErrorMessage() string
type ServiceUnavailableException ¶
type ServiceUnavailableException struct { string }*
The request has failed because the AWS Transfer Family service is not available.
func (*ServiceUnavailableException) Error ¶
func (e *ServiceUnavailableException) Error() string
func (*ServiceUnavailableException) ErrorCode ¶
func (e *ServiceUnavailableException) ErrorCode() string
func (*ServiceUnavailableException) ErrorFault ¶
func (e *ServiceUnavailableException) ErrorFault() smithy.ErrorFault
func (*ServiceUnavailableException) ErrorMessage ¶
func (e *ServiceUnavailableException) ErrorMessage() string
type SshPublicKey ¶
type SshPublicKey struct { // Specifies the date that the public key was added to the user account. // // This member is required. DateImported *time.Time // Specifies the content of the SSH public key as specified by the PublicKeyId. // // This member is required. SshPublicKeyBody *string // Specifies the SshPublicKeyId parameter contains the identifier of the public // key. // // This member is required. SshPublicKeyId *string }
Provides information about the public Secure Shell (SSH) key that is associated with a user account for the specific file transfer protocol-enabled server (as identified by ServerId). The information returned includes the date the key was imported, the public key contents, and the public key ID. A user can store more than one SSH public key associated with their user name on a specific server.
type State ¶
type State string
const ( StateOffline State = "OFFLINE" StateOnline State = "ONLINE" StateStarting State = "STARTING" StateStopping State = "STOPPING" StateStart_failed State = "START_FAILED" StateStop_failed State = "STOP_FAILED" )
Enum values for State
type Tag ¶
type Tag struct { // The name assigned to the tag that you create. // // This member is required. Key *string // Contains one or more values that you assigned to the key name you create. // // This member is required. Value *string }
Creates a key-value pair for a specific resource. Tags are metadata that you can use to search for and group a resource for various purposes. You can apply tags to servers, users, and roles. A tag key can take more than one value. For example, to group servers for accounting purposes, you might create a tag called Group and assign the values Research and Accounting to that group.
type ThrottlingException ¶
The request was denied due to request throttling. HTTP Status Code: 400
func (*ThrottlingException) Error ¶
func (e *ThrottlingException) Error() string
func (*ThrottlingException) ErrorCode ¶
func (e *ThrottlingException) ErrorCode() string
func (*ThrottlingException) ErrorFault ¶
func (e *ThrottlingException) ErrorFault() smithy.ErrorFault
func (*ThrottlingException) ErrorMessage ¶
func (e *ThrottlingException) ErrorMessage() string
Source Files ¶
- Version
- v0.27.0
- Published
- Oct 17, 2020
- Platform
- windows/amd64
- Imports
- 3 packages
- Last checked
- 2 weeks ago –
Tools for package owners.