Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AgentListEntry

type AgentListEntry struct {

	// The Amazon Resource Name (ARN) of the agent.
	AgentArn *string

	// The name of the agent.
	Name *string

	// The status of the agent.
	Status AgentStatus
}

    Represents a single entry in a list of agents. AgentListEntry returns an array that contains a list of agents when the ListAgents operation is called.

    type AgentStatus

    type AgentStatus string
    const (
    	AgentStatusOnline  AgentStatus = "ONLINE"
    	AgentStatusOffline AgentStatus = "OFFLINE"
    )

      Enum values for AgentStatus

      func (AgentStatus) Values

      func (AgentStatus) Values() []AgentStatus

        Values returns all known values for AgentStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

        type Atime

        type Atime string
        const (
        	AtimeNone       Atime = "NONE"
        	AtimeBestEffort Atime = "BEST_EFFORT"
        )

          Enum values for Atime

          func (Atime) Values

          func (Atime) Values() []Atime

            Values returns all known values for Atime. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

            type Ec2Config

            type Ec2Config struct {
            
            	// The Amazon Resource Names (ARNs) of the security groups that are configured for
            	// the Amazon EC2 resource.
            	//
            	// This member is required.
            	SecurityGroupArns []string
            
            	// The ARN of the subnet and the security group that DataSync uses to access the
            	// target EFS file system.
            	//
            	// This member is required.
            	SubnetArn *string
            }

              The subnet and the security group that DataSync uses to access target EFS file system. The subnet must have at least one mount target for that file system. The security group that you provide needs to be able to communicate with the security group on the mount target in the subnet specified.

              type EndpointType

              type EndpointType string
              const (
              	EndpointTypePublic      EndpointType = "PUBLIC"
              	EndpointTypePrivateLink EndpointType = "PRIVATE_LINK"
              	EndpointTypeFips        EndpointType = "FIPS"
              )

                Enum values for EndpointType

                func (EndpointType) Values

                func (EndpointType) Values() []EndpointType

                  Values returns all known values for EndpointType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                  type FilterRule

                  type FilterRule struct {
                  
                  	// The type of filter rule to apply. AWS DataSync only supports the SIMPLE_PATTERN
                  	// rule type.
                  	FilterType FilterType
                  
                  	// A single filter string that consists of the patterns to include or exclude. The
                  	// patterns are delimited by "|" (that is, a pipe), for example: /folder1|/folder2
                  	Value *string
                  }

                    Specifies which files, folders and objects to include or exclude when transferring files from source to destination.

                    type FilterType

                    type FilterType string
                    const (
                    	FilterTypeSimplePattern FilterType = "SIMPLE_PATTERN"
                    )

                      Enum values for FilterType

                      func (FilterType) Values

                      func (FilterType) Values() []FilterType

                        Values returns all known values for FilterType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                        type Gid

                        type Gid string
                        const (
                        	GidNone     Gid = "NONE"
                        	GidIntValue Gid = "INT_VALUE"
                        	GidName     Gid = "NAME"
                        	GidBoth     Gid = "BOTH"
                        )

                          Enum values for Gid

                          func (Gid) Values

                          func (Gid) Values() []Gid

                            Values returns all known values for Gid. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                            type InternalException

                            type InternalException struct {
                            	Message *string
                            
                            	ErrorCode_ *string
                            }

                              This exception is thrown when an error occurs in the AWS DataSync service.

                              func (*InternalException) Error

                              func (e *InternalException) Error() string

                              func (*InternalException) ErrorCode

                              func (e *InternalException) ErrorCode() string

                              func (*InternalException) ErrorFault

                              func (e *InternalException) ErrorFault() smithy.ErrorFault

                              func (*InternalException) ErrorMessage

                              func (e *InternalException) ErrorMessage() string

                              type InvalidRequestException

                              type InvalidRequestException struct {
                              	Message *string
                              
                              	ErrorCode_ *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 LocationFilter

                                type LocationFilter struct {
                                
                                	// The name of the filter being used. Each API call supports a list of filters that
                                	// are available for it (for example, LocationType for ListLocations).
                                	//
                                	// This member is required.
                                	Name LocationFilterName
                                
                                	// The operator that is used to compare filter values (for example, Equals or
                                	// Contains). For more about API filtering operators, see query-resources.
                                	//
                                	// This member is required.
                                	Operator Operator
                                
                                	// The values that you want to filter for. For example, you might want to display
                                	// only Amazon S3 locations.
                                	//
                                	// This member is required.
                                	Values []string
                                }

                                  You can use API filters to narrow down the list of resources returned by ListLocations. For example, to retrieve all your Amazon S3 locations, you can use ListLocations with filter name LocationType S3 and Operator Equals.

                                  type LocationFilterName

                                  type LocationFilterName string
                                  const (
                                  	LocationFilterNameLocationUri  LocationFilterName = "LocationUri"
                                  	LocationFilterNameLocationType LocationFilterName = "LocationType"
                                  	LocationFilterNameCreationTime LocationFilterName = "CreationTime"
                                  )

                                    Enum values for LocationFilterName

                                    func (LocationFilterName) Values

                                      Values returns all known values for LocationFilterName. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                      type LocationListEntry

                                      type LocationListEntry struct {
                                      
                                      	// The Amazon Resource Name (ARN) of the location. For Network File System (NFS) or
                                      	// Amazon EFS, the location is the export path. For Amazon S3, the location is the
                                      	// prefix path that you want to mount and use as the root of the location.
                                      	LocationArn *string
                                      
                                      	// Represents a list of URLs of a location. LocationUri returns an array that
                                      	// contains a list of locations when the ListLocations operation is called. Format:
                                      	// TYPE://GLOBAL_ID/SUBDIR. TYPE designates the type of location. Valid values: NFS
                                      	// | EFS | S3. GLOBAL_ID is the globally unique identifier of the resource that
                                      	// backs the location. An example for EFS is us-east-2.fs-abcd1234. An example for
                                      	// Amazon S3 is the bucket name, such as myBucket. An example for NFS is a valid
                                      	// IPv4 address or a host name compliant with Domain Name Service (DNS). SUBDIR is
                                      	// a valid file system path, delimited by forward slashes as is the *nix
                                      	// convention. For NFS and Amazon EFS, it's the export path to mount the location.
                                      	// For Amazon S3, it's the prefix path that you mount to and treat as the root of
                                      	// the location.
                                      	LocationUri *string
                                      }

                                        Represents a single entry in a list of locations. LocationListEntry returns an array that contains a list of locations when the ListLocations operation is called.

                                        type LogLevel

                                        type LogLevel string
                                        const (
                                        	LogLevelOff      LogLevel = "OFF"
                                        	LogLevelBasic    LogLevel = "BASIC"
                                        	LogLevelTransfer LogLevel = "TRANSFER"
                                        )

                                          Enum values for LogLevel

                                          func (LogLevel) Values

                                          func (LogLevel) Values() []LogLevel

                                            Values returns all known values for LogLevel. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                            type Mtime

                                            type Mtime string
                                            const (
                                            	MtimeNone     Mtime = "NONE"
                                            	MtimePreserve Mtime = "PRESERVE"
                                            )

                                              Enum values for Mtime

                                              func (Mtime) Values

                                              func (Mtime) Values() []Mtime

                                                Values returns all known values for Mtime. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                type NfsMountOptions

                                                type NfsMountOptions struct {
                                                
                                                	// The specific NFS version that you want DataSync to use to mount your NFS share.
                                                	// If the server refuses to use the version specified, the sync will fail. If you
                                                	// don't specify a version, DataSync defaults to AUTOMATIC. That is, DataSync
                                                	// automatically selects a version based on negotiation with the NFS server. You
                                                	// can specify the following NFS versions:
                                                	//
                                                	// * NFSv3
                                                	// (https://tools.ietf.org/html/rfc1813) - stateless protocol version that allows
                                                	// for asynchronous writes on the server.
                                                	//
                                                	// * NFSv4.0
                                                	// (https://tools.ietf.org/html/rfc3530) - stateful, firewall-friendly protocol
                                                	// version that supports delegations and pseudo filesystems.
                                                	//
                                                	// * NFSv4.1
                                                	// (https://tools.ietf.org/html/rfc5661) - stateful protocol version that supports
                                                	// sessions, directory delegations, and parallel data processing. Version 4.1 also
                                                	// includes all features available in version 4.0.
                                                	Version NfsVersion
                                                }

                                                  Represents the mount options that are available for DataSync to access an NFS location.

                                                  type NfsVersion

                                                  type NfsVersion string
                                                  const (
                                                  	NfsVersionAutomatic NfsVersion = "AUTOMATIC"
                                                  	NfsVersionNfs3      NfsVersion = "NFS3"
                                                  	NfsVersionNfs40     NfsVersion = "NFS4_0"
                                                  	NfsVersionNfs41     NfsVersion = "NFS4_1"
                                                  )

                                                    Enum values for NfsVersion

                                                    func (NfsVersion) Values

                                                    func (NfsVersion) Values() []NfsVersion

                                                      Values returns all known values for NfsVersion. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                      type ObjectStorageServerProtocol

                                                      type ObjectStorageServerProtocol string
                                                      const (
                                                      	ObjectStorageServerProtocolHttps ObjectStorageServerProtocol = "HTTPS"
                                                      	ObjectStorageServerProtocolHttp  ObjectStorageServerProtocol = "HTTP"
                                                      )

                                                        Enum values for ObjectStorageServerProtocol

                                                        func (ObjectStorageServerProtocol) Values

                                                          Values returns all known values for ObjectStorageServerProtocol. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                          type OnPremConfig

                                                          type OnPremConfig struct {
                                                          
                                                          	// ARNs of the agents to use for an NFS location.
                                                          	//
                                                          	// This member is required.
                                                          	AgentArns []string
                                                          }

                                                            A list of Amazon Resource Names (ARNs) of agents to use for a Network File System (NFS) location.

                                                            type Operator

                                                            type Operator string
                                                            const (
                                                            	OperatorEq          Operator = "Equals"
                                                            	OperatorNe          Operator = "NotEquals"
                                                            	OperatorIn          Operator = "In"
                                                            	OperatorLe          Operator = "LessThanOrEqual"
                                                            	OperatorLt          Operator = "LessThan"
                                                            	OperatorGe          Operator = "GreaterThanOrEqual"
                                                            	OperatorGt          Operator = "GreaterThan"
                                                            	OperatorContains    Operator = "Contains"
                                                            	OperatorNotContains Operator = "NotContains"
                                                            	OperatorBeginsWith  Operator = "BeginsWith"
                                                            )

                                                              Enum values for Operator

                                                              func (Operator) Values

                                                              func (Operator) Values() []Operator

                                                                Values returns all known values for Operator. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                type Options

                                                                type Options struct {
                                                                
                                                                	// A file metadata value that shows the last time a file was accessed (that is,
                                                                	// when the file was read or written to). If you set Atime to BEST_EFFORT, DataSync
                                                                	// attempts to preserve the original Atime attribute on all source files (that is,
                                                                	// the version before the PREPARING phase). However, Atime's behavior is not fully
                                                                	// standard across platforms, so AWS DataSync can only do this on a best-effort
                                                                	// basis. Default value: BEST_EFFORT. BEST_EFFORT: Attempt to preserve the per-file
                                                                	// Atime value (recommended). NONE: Ignore Atime. If Atime is set to BEST_EFFORT,
                                                                	// Mtime must be set to PRESERVE. If Atime is set to NONE, Mtime must also be NONE.
                                                                	Atime Atime
                                                                
                                                                	// A value that limits the bandwidth used by AWS DataSync. For example, if you want
                                                                	// AWS DataSync to use a maximum of 1 MB, set this value to 1048576 (=1024*1024).
                                                                	BytesPerSecond *int64
                                                                
                                                                	// The group ID (GID) of the file's owners. Default value: INT_VALUE. This
                                                                	// preserves the integer value of the ID. INT_VALUE: Preserve the integer value of
                                                                	// user ID (UID) and GID (recommended). NONE: Ignore UID and GID.
                                                                	Gid Gid
                                                                
                                                                	// A value that determines the type of logs that DataSync publishes to a log stream
                                                                	// in the Amazon CloudWatch log group that you provide. For more information about
                                                                	// providing a log group for DataSync, see CloudWatchLogGroupArn
                                                                	// (https://docs.aws.amazon.com/datasync/latest/userguide/API_CreateTask.html#DataSync-CreateTask-request-CloudWatchLogGroupArn).
                                                                	// If set to OFF, no logs are published. BASIC publishes logs on errors for
                                                                	// individual files transferred, and TRANSFER publishes logs for every file or
                                                                	// object that is transferred and integrity checked.
                                                                	LogLevel LogLevel
                                                                
                                                                	// A value that indicates the last time that a file was modified (that is, a file
                                                                	// was written to) before the PREPARING phase. Default value: PRESERVE. PRESERVE:
                                                                	// Preserve original Mtime (recommended) NONE: Ignore Mtime. If Mtime is set to
                                                                	// PRESERVE, Atime must be set to BEST_EFFORT. If Mtime is set to NONE, Atime must
                                                                	// also be set to NONE.
                                                                	Mtime Mtime
                                                                
                                                                	// A value that determines whether files at the destination should be overwritten
                                                                	// or preserved when copying files. If set to NEVER a destination file will not be
                                                                	// replaced by a source file, even if the destination file differs from the source
                                                                	// file. If you modify files in the destination and you sync the files, you can use
                                                                	// this value to protect against overwriting those changes. Some storage classes
                                                                	// have specific behaviors that can affect your S3 storage cost. For detailed
                                                                	// information, see using-storage-classes in the AWS DataSync User Guide.
                                                                	OverwriteMode OverwriteMode
                                                                
                                                                	// A value that determines which users or groups can access a file for a specific
                                                                	// purpose such as reading, writing, or execution of the file. Default value:
                                                                	// PRESERVE. PRESERVE: Preserve POSIX-style permissions (recommended). NONE: Ignore
                                                                	// permissions. AWS DataSync can preserve extant permissions of a source location.
                                                                	PosixPermissions PosixPermissions
                                                                
                                                                	// A value that specifies whether files in the destination that don't exist in the
                                                                	// source file system should be preserved. This option can affect your storage
                                                                	// cost. If your task deletes objects, you might incur minimum storage duration
                                                                	// charges for certain storage classes. For detailed information, see
                                                                	// using-storage-classes in the AWS DataSync User Guide. Default value: PRESERVE.
                                                                	// PRESERVE: Ignore such destination files (recommended). REMOVE: Delete
                                                                	// destination files that aren’t present in the source.
                                                                	PreserveDeletedFiles PreserveDeletedFiles
                                                                
                                                                	// A value that determines whether AWS DataSync should preserve the metadata of
                                                                	// block and character devices in the source file system, and recreate the files
                                                                	// with that device name and metadata on the destination. AWS DataSync can't sync
                                                                	// the actual contents of such devices, because they are nonterminal and don't
                                                                	// return an end-of-file (EOF) marker. Default value: NONE. NONE: Ignore special
                                                                	// devices (recommended). PRESERVE: Preserve character and block device metadata.
                                                                	// This option isn't currently supported for Amazon EFS.
                                                                	PreserveDevices PreserveDevices
                                                                
                                                                	// A value that determines whether tasks should be queued before executing the
                                                                	// tasks. If set to ENABLED, the tasks will be queued. The default is ENABLED. If
                                                                	// you use the same agent to run multiple tasks, you can enable the tasks to run in
                                                                	// series. For more information, see queue-task-execution.
                                                                	TaskQueueing TaskQueueing
                                                                
                                                                	// A value that determines whether DataSync transfers only the data and metadata
                                                                	// that differ between the source and the destination location, or whether DataSync
                                                                	// transfers all the content from the source, without comparing to the destination
                                                                	// location. CHANGED: DataSync copies only data or metadata that is new or
                                                                	// different content from the source location to the destination location. ALL:
                                                                	// DataSync copies all source location content to the destination, without
                                                                	// comparing to existing content on the destination.
                                                                	TransferMode TransferMode
                                                                
                                                                	// The user ID (UID) of the file's owner. Default value: INT_VALUE. This preserves
                                                                	// the integer value of the ID. INT_VALUE: Preserve the integer value of UID and
                                                                	// group ID (GID) (recommended). NONE: Ignore UID and GID.
                                                                	Uid Uid
                                                                
                                                                	// A value that determines whether a data integrity verification should be
                                                                	// performed at the end of a task execution after all data and metadata have been
                                                                	// transferred. For more information, see create-task Default value:
                                                                	// POINT_IN_TIME_CONSISTENT. ONLY_FILES_TRANSFERRED (recommended): Perform
                                                                	// verification only on files that were transferred. POINT_IN_TIME_CONSISTENT: Scan
                                                                	// the entire source and entire destination at the end of the transfer to verify
                                                                	// that source and destination are fully synchronized. This option isn't supported
                                                                	// when transferring to S3 Glacier or S3 Glacier Deep Archive storage classes.
                                                                	// NONE: No additional verification is done at the end of the transfer, but all
                                                                	// data transmissions are integrity-checked with checksum verification during the
                                                                	// transfer.
                                                                	VerifyMode VerifyMode
                                                                }

                                                                  Represents the options that are available to control the behavior of a StartTaskExecution operation. Behavior includes preserving metadata such as user ID (UID), group ID (GID), and file permissions, and also overwriting files in the destination, data integrity verification, and so on. A task has a set of default options associated with it. If you don't specify an option in StartTaskExecution, the default value is used. You can override the defaults options on each task execution by specifying an overriding Options value to StartTaskExecution.

                                                                  type OverwriteMode

                                                                  type OverwriteMode string
                                                                  const (
                                                                  	OverwriteModeAlways OverwriteMode = "ALWAYS"
                                                                  	OverwriteModeNever  OverwriteMode = "NEVER"
                                                                  )

                                                                    Enum values for OverwriteMode

                                                                    func (OverwriteMode) Values

                                                                    func (OverwriteMode) Values() []OverwriteMode

                                                                      Values returns all known values for OverwriteMode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                      type PhaseStatus

                                                                      type PhaseStatus string
                                                                      const (
                                                                      	PhaseStatusPending PhaseStatus = "PENDING"
                                                                      	PhaseStatusSuccess PhaseStatus = "SUCCESS"
                                                                      	PhaseStatusError   PhaseStatus = "ERROR"
                                                                      )

                                                                        Enum values for PhaseStatus

                                                                        func (PhaseStatus) Values

                                                                        func (PhaseStatus) Values() []PhaseStatus

                                                                          Values returns all known values for PhaseStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                          type PosixPermissions

                                                                          type PosixPermissions string
                                                                          const (
                                                                          	PosixPermissionsNone     PosixPermissions = "NONE"
                                                                          	PosixPermissionsPreserve PosixPermissions = "PRESERVE"
                                                                          )

                                                                            Enum values for PosixPermissions

                                                                            func (PosixPermissions) Values

                                                                              Values returns all known values for PosixPermissions. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                              type PreserveDeletedFiles

                                                                              type PreserveDeletedFiles string
                                                                              const (
                                                                              	PreserveDeletedFilesPreserve PreserveDeletedFiles = "PRESERVE"
                                                                              	PreserveDeletedFilesRemove   PreserveDeletedFiles = "REMOVE"
                                                                              )

                                                                                Enum values for PreserveDeletedFiles

                                                                                func (PreserveDeletedFiles) Values

                                                                                  Values returns all known values for PreserveDeletedFiles. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                  type PreserveDevices

                                                                                  type PreserveDevices string
                                                                                  const (
                                                                                  	PreserveDevicesNone     PreserveDevices = "NONE"
                                                                                  	PreserveDevicesPreserve PreserveDevices = "PRESERVE"
                                                                                  )

                                                                                    Enum values for PreserveDevices

                                                                                    func (PreserveDevices) Values

                                                                                    func (PreserveDevices) Values() []PreserveDevices

                                                                                      Values returns all known values for PreserveDevices. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                      type PrivateLinkConfig

                                                                                      type PrivateLinkConfig struct {
                                                                                      
                                                                                      	// The private endpoint that is configured for an agent that has access to IP
                                                                                      	// addresses in a PrivateLink
                                                                                      	// (https://docs.aws.amazon.com/vpc/latest/userguide/endpoint-service.html). An
                                                                                      	// agent that is configured with this endpoint will not be accessible over the
                                                                                      	// public internet.
                                                                                      	PrivateLinkEndpoint *string
                                                                                      
                                                                                      	// The Amazon Resource Names (ARNs) of the security groups that are configured for
                                                                                      	// the EC2 resource that hosts an agent activated in a VPC or an agent that has
                                                                                      	// access to a VPC endpoint.
                                                                                      	SecurityGroupArns []string
                                                                                      
                                                                                      	// The Amazon Resource Names (ARNs) of the subnets that are configured for an agent
                                                                                      	// activated in a VPC or an agent that has access to a VPC endpoint.
                                                                                      	SubnetArns []string
                                                                                      
                                                                                      	// The ID of the VPC endpoint that is configured for an agent. An agent that is
                                                                                      	// configured with a VPC endpoint will not be accessible over the public internet.
                                                                                      	VpcEndpointId *string
                                                                                      }

                                                                                        The VPC endpoint, subnet, and security group that an agent uses to access IP addresses in a VPC (Virtual Private Cloud).

                                                                                        type S3Config

                                                                                        type S3Config struct {
                                                                                        
                                                                                        	// The Amazon S3 bucket to access. This bucket is used as a parameter in the
                                                                                        	// CreateLocationS3 operation.
                                                                                        	//
                                                                                        	// This member is required.
                                                                                        	BucketAccessRoleArn *string
                                                                                        }

                                                                                          The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that is used to access an Amazon S3 bucket. For detailed information about using such a role, see Creating a Location for Amazon S3 in the AWS DataSync User Guide.

                                                                                          type S3StorageClass

                                                                                          type S3StorageClass string
                                                                                          const (
                                                                                          	S3StorageClassStandard           S3StorageClass = "STANDARD"
                                                                                          	S3StorageClassStandardIa         S3StorageClass = "STANDARD_IA"
                                                                                          	S3StorageClassOnezoneIa          S3StorageClass = "ONEZONE_IA"
                                                                                          	S3StorageClassIntelligentTiering S3StorageClass = "INTELLIGENT_TIERING"
                                                                                          	S3StorageClassGlacier            S3StorageClass = "GLACIER"
                                                                                          	S3StorageClassDeepArchive        S3StorageClass = "DEEP_ARCHIVE"
                                                                                          	S3StorageClassOutposts           S3StorageClass = "OUTPOSTS"
                                                                                          )

                                                                                            Enum values for S3StorageClass

                                                                                            func (S3StorageClass) Values

                                                                                            func (S3StorageClass) Values() []S3StorageClass

                                                                                              Values returns all known values for S3StorageClass. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                              type SmbMountOptions

                                                                                              type SmbMountOptions struct {
                                                                                              
                                                                                              	// The specific SMB version that you want DataSync to use to mount your SMB share.
                                                                                              	// If you don't specify a version, DataSync defaults to AUTOMATIC. That is,
                                                                                              	// DataSync automatically selects a version based on negotiation with the SMB
                                                                                              	// server.
                                                                                              	Version SmbVersion
                                                                                              }

                                                                                                Represents the mount options that are available for DataSync to access an SMB location.

                                                                                                type SmbVersion

                                                                                                type SmbVersion string
                                                                                                const (
                                                                                                	SmbVersionAutomatic SmbVersion = "AUTOMATIC"
                                                                                                	SmbVersionSmb2      SmbVersion = "SMB2"
                                                                                                	SmbVersionSmb3      SmbVersion = "SMB3"
                                                                                                )

                                                                                                  Enum values for SmbVersion

                                                                                                  func (SmbVersion) Values

                                                                                                  func (SmbVersion) Values() []SmbVersion

                                                                                                    Values returns all known values for SmbVersion. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                    type TagListEntry

                                                                                                    type TagListEntry struct {
                                                                                                    
                                                                                                    	// The key for an AWS resource tag.
                                                                                                    	//
                                                                                                    	// This member is required.
                                                                                                    	Key *string
                                                                                                    
                                                                                                    	// The value for an AWS resource tag.
                                                                                                    	Value *string
                                                                                                    }

                                                                                                      Represents a single entry in a list of AWS resource tags. TagListEntry returns an array that contains a list of tasks when the ListTagsForResource operation is called.

                                                                                                      type TaskExecutionListEntry

                                                                                                      type TaskExecutionListEntry struct {
                                                                                                      
                                                                                                      	// The status of a task execution.
                                                                                                      	Status TaskExecutionStatus
                                                                                                      
                                                                                                      	// The Amazon Resource Name (ARN) of the task that was executed.
                                                                                                      	TaskExecutionArn *string
                                                                                                      }

                                                                                                        Represents a single entry in a list of task executions. TaskExecutionListEntry returns an array that contains a list of specific invocations of a task when ListTaskExecutions operation is called.

                                                                                                        type TaskExecutionResultDetail

                                                                                                        type TaskExecutionResultDetail struct {
                                                                                                        
                                                                                                        	// Errors that AWS DataSync encountered during execution of the task. You can use
                                                                                                        	// this error code to help troubleshoot issues.
                                                                                                        	ErrorCode *string
                                                                                                        
                                                                                                        	// Detailed description of an error that was encountered during the task execution.
                                                                                                        	// You can use this information to help troubleshoot issues.
                                                                                                        	ErrorDetail *string
                                                                                                        
                                                                                                        	// The total time in milliseconds that AWS DataSync spent in the PREPARING phase.
                                                                                                        	PrepareDuration *int64
                                                                                                        
                                                                                                        	// The status of the PREPARING phase.
                                                                                                        	PrepareStatus PhaseStatus
                                                                                                        
                                                                                                        	// The total time in milliseconds that AWS DataSync took to transfer the file from
                                                                                                        	// the source to the destination location.
                                                                                                        	TotalDuration *int64
                                                                                                        
                                                                                                        	// The total time in milliseconds that AWS DataSync spent in the TRANSFERRING
                                                                                                        	// phase.
                                                                                                        	TransferDuration *int64
                                                                                                        
                                                                                                        	// The status of the TRANSFERRING phase.
                                                                                                        	TransferStatus PhaseStatus
                                                                                                        
                                                                                                        	// The total time in milliseconds that AWS DataSync spent in the VERIFYING phase.
                                                                                                        	VerifyDuration *int64
                                                                                                        
                                                                                                        	// The status of the VERIFYING phase.
                                                                                                        	VerifyStatus PhaseStatus
                                                                                                        }

                                                                                                          Describes the detailed result of a TaskExecution operation. This result includes the time in milliseconds spent in each phase, the status of the task execution, and the errors encountered.

                                                                                                          type TaskExecutionStatus

                                                                                                          type TaskExecutionStatus string
                                                                                                          const (
                                                                                                          	TaskExecutionStatusQueued       TaskExecutionStatus = "QUEUED"
                                                                                                          	TaskExecutionStatusLaunching    TaskExecutionStatus = "LAUNCHING"
                                                                                                          	TaskExecutionStatusPreparing    TaskExecutionStatus = "PREPARING"
                                                                                                          	TaskExecutionStatusTransferring TaskExecutionStatus = "TRANSFERRING"
                                                                                                          	TaskExecutionStatusVerifying    TaskExecutionStatus = "VERIFYING"
                                                                                                          	TaskExecutionStatusSuccess      TaskExecutionStatus = "SUCCESS"
                                                                                                          	TaskExecutionStatusError        TaskExecutionStatus = "ERROR"
                                                                                                          )

                                                                                                            Enum values for TaskExecutionStatus

                                                                                                            func (TaskExecutionStatus) Values

                                                                                                              Values returns all known values for TaskExecutionStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                              type TaskFilter

                                                                                                              type TaskFilter struct {
                                                                                                              
                                                                                                              	// The name of the filter being used. Each API call supports a list of filters that
                                                                                                              	// are available for it. For example, LocationId for ListTasks.
                                                                                                              	//
                                                                                                              	// This member is required.
                                                                                                              	Name TaskFilterName
                                                                                                              
                                                                                                              	// The operator that is used to compare filter values (for example, Equals or
                                                                                                              	// Contains). For more about API filtering operators, see query-resources.
                                                                                                              	//
                                                                                                              	// This member is required.
                                                                                                              	Operator Operator
                                                                                                              
                                                                                                              	// The values that you want to filter for. For example, you might want to display
                                                                                                              	// only tasks for a specific destination location.
                                                                                                              	//
                                                                                                              	// This member is required.
                                                                                                              	Values []string
                                                                                                              }

                                                                                                                You can use API filters to narrow down the list of resources returned by ListTasks. For example, to retrieve all tasks on a source location, you can use ListTasks with filter name LocationId and Operator Equals with the ARN for the location.

                                                                                                                type TaskFilterName

                                                                                                                type TaskFilterName string
                                                                                                                const (
                                                                                                                	TaskFilterNameLocationId   TaskFilterName = "LocationId"
                                                                                                                	TaskFilterNameCreationTime TaskFilterName = "CreationTime"
                                                                                                                )

                                                                                                                  Enum values for TaskFilterName

                                                                                                                  func (TaskFilterName) Values

                                                                                                                  func (TaskFilterName) Values() []TaskFilterName

                                                                                                                    Values returns all known values for TaskFilterName. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                    type TaskListEntry

                                                                                                                    type TaskListEntry struct {
                                                                                                                    
                                                                                                                    	// The name of the task.
                                                                                                                    	Name *string
                                                                                                                    
                                                                                                                    	// The status of the task.
                                                                                                                    	Status TaskStatus
                                                                                                                    
                                                                                                                    	// The Amazon Resource Name (ARN) of the task.
                                                                                                                    	TaskArn *string
                                                                                                                    }

                                                                                                                      Represents a single entry in a list of tasks. TaskListEntry returns an array that contains a list of tasks when the ListTasks operation is called. A task includes the source and destination file systems to sync and the options to use for the tasks.

                                                                                                                      type TaskQueueing

                                                                                                                      type TaskQueueing string
                                                                                                                      const (
                                                                                                                      	TaskQueueingEnabled  TaskQueueing = "ENABLED"
                                                                                                                      	TaskQueueingDisabled TaskQueueing = "DISABLED"
                                                                                                                      )

                                                                                                                        Enum values for TaskQueueing

                                                                                                                        func (TaskQueueing) Values

                                                                                                                        func (TaskQueueing) Values() []TaskQueueing

                                                                                                                          Values returns all known values for TaskQueueing. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                          type TaskSchedule

                                                                                                                          type TaskSchedule struct {
                                                                                                                          
                                                                                                                          	// A cron expression that specifies when AWS DataSync initiates a scheduled
                                                                                                                          	// transfer from a source to a destination location.
                                                                                                                          	//
                                                                                                                          	// This member is required.
                                                                                                                          	ScheduleExpression *string
                                                                                                                          }

                                                                                                                            Specifies the schedule you want your task to use for repeated executions. For more information, see Schedule Expressions for Rules (https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/ScheduledEvents.html).

                                                                                                                            type TaskStatus

                                                                                                                            type TaskStatus string
                                                                                                                            const (
                                                                                                                            	TaskStatusAvailable   TaskStatus = "AVAILABLE"
                                                                                                                            	TaskStatusCreating    TaskStatus = "CREATING"
                                                                                                                            	TaskStatusQueued      TaskStatus = "QUEUED"
                                                                                                                            	TaskStatusRunning     TaskStatus = "RUNNING"
                                                                                                                            	TaskStatusUnavailable TaskStatus = "UNAVAILABLE"
                                                                                                                            )

                                                                                                                              Enum values for TaskStatus

                                                                                                                              func (TaskStatus) Values

                                                                                                                              func (TaskStatus) Values() []TaskStatus

                                                                                                                                Values returns all known values for TaskStatus. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                type TransferMode

                                                                                                                                type TransferMode string
                                                                                                                                const (
                                                                                                                                	TransferModeChanged TransferMode = "CHANGED"
                                                                                                                                	TransferModeAll     TransferMode = "ALL"
                                                                                                                                )

                                                                                                                                  Enum values for TransferMode

                                                                                                                                  func (TransferMode) Values

                                                                                                                                  func (TransferMode) Values() []TransferMode

                                                                                                                                    Values returns all known values for TransferMode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                    type Uid

                                                                                                                                    type Uid string
                                                                                                                                    const (
                                                                                                                                    	UidNone     Uid = "NONE"
                                                                                                                                    	UidIntValue Uid = "INT_VALUE"
                                                                                                                                    	UidName     Uid = "NAME"
                                                                                                                                    	UidBoth     Uid = "BOTH"
                                                                                                                                    )

                                                                                                                                      Enum values for Uid

                                                                                                                                      func (Uid) Values

                                                                                                                                      func (Uid) Values() []Uid

                                                                                                                                        Values returns all known values for Uid. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

                                                                                                                                        type VerifyMode

                                                                                                                                        type VerifyMode string
                                                                                                                                        const (
                                                                                                                                        	VerifyModePointInTimeConsistent VerifyMode = "POINT_IN_TIME_CONSISTENT"
                                                                                                                                        	VerifyModeOnlyFilesTransferred  VerifyMode = "ONLY_FILES_TRANSFERRED"
                                                                                                                                        	VerifyModeNone                  VerifyMode = "NONE"
                                                                                                                                        )

                                                                                                                                          Enum values for VerifyMode

                                                                                                                                          func (VerifyMode) Values

                                                                                                                                          func (VerifyMode) Values() []VerifyMode

                                                                                                                                            Values returns all known values for VerifyMode. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.