DataSync

public struct DataSync

Client object for interacting with AWS DataSync service.

AWS DataSync AWS DataSync is a managed data transfer service that makes it simpler for you to automate moving data between on-premises storage and Amazon Simple Storage Service (Amazon S3) or Amazon Elastic File System (Amazon EFS). This API interface reference for AWS DataSync contains documentation for a programming interface that you can use to manage AWS DataSync.

  • Initialize the DataSync client

    Declaration

    Swift

    public init(accessKeyId: String? = nil, secretAccessKey: String? = nil, sessionToken: String? = nil, region: AWSSDKSwiftCore.Region? = nil, endpoint: String? = nil, middlewares: [AWSServiceMiddleware] = [], eventLoopGroupProvider: AWSClient.EventLoopGroupProvider = .useAWSClientShared)

    Parameters

    accessKeyId

    Public access key provided by AWS

    secretAccessKey

    Private access key provided by AWS

    sessionToken

    Token provided by STS.AssumeRole() which allows access to another AWS account

    region

    Region of server you want to communicate with

    endpoint

    Custom endpoint URL to use instead of standard AWS servers

    middlewares

    Array of middlewares to apply to requests and responses

    eventLoopGroupProvider

    EventLoopGroup to use. Use useAWSClientShared if the client shall manage its own EventLoopGroup.

  • Returns a list of agents owned by an AWS account in the AWS Region specified in the request. The returned list is ordered by agent Amazon Resource Name (ARN). By default, this operation returns a maximum of 100 agents. This operation supports pagination that enables you to optionally reduce the number of agents returned in a response. If you have more agents than are returned in a response (that is, the response returns only a truncated list of your agents), the response contains a marker that you can specify in your next request to fetch the next page of agents.

    Declaration

    Swift

    public func listAgentsPaginator(_ input: ListAgentsRequest, onPage: @escaping (ListAgentsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
  • Returns a list of source and destination locations. If you have more locations than are returned in a response (that is, the response returns only a truncated list of your agents), the response contains a token that you can specify in your next request to fetch the next page of locations.

    Declaration

    Swift

    public func listLocationsPaginator(_ input: ListLocationsRequest, onPage: @escaping (ListLocationsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
  • Returns all the tags associated with a specified resource.

    Declaration

    Swift

    public func listTagsForResourcePaginator(_ input: ListTagsForResourceRequest, onPage: @escaping (ListTagsForResourceResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
  • Returns a list of executed tasks.

    Declaration

    Swift

    public func listTaskExecutionsPaginator(_ input: ListTaskExecutionsRequest, onPage: @escaping (ListTaskExecutionsResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
  • Returns a list of all the tasks.

    Declaration

    Swift

    public func listTasksPaginator(_ input: ListTasksRequest, onPage: @escaping (ListTasksResponse, EventLoop) -> EventLoopFuture<Bool>) -> EventLoopFuture<Void>
  • Undocumented

    See more

    Declaration

    Swift

    public enum AgentStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum Atime : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum EndpointType : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum FilterType : String, CustomStringConvertible, Codable
  • Gid

    Undocumented

    See more

    Declaration

    Swift

    public enum Gid : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum LocationFilterName : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum LogLevel : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum Mtime : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum NfsVersion : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum ObjectStorageServerProtocol : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum Operator : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum OverwriteMode : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum PhaseStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum PosixPermissions : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum PreserveDeletedFiles : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum PreserveDevices : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum S3StorageClass : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum SmbVersion : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TaskExecutionStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TaskFilterName : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TaskQueueing : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TaskStatus : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum TransferMode : String, CustomStringConvertible, Codable
  • Uid

    Undocumented

    See more

    Declaration

    Swift

    public enum Uid : String, CustomStringConvertible, Codable
  • Undocumented

    See more

    Declaration

    Swift

    public enum VerifyMode : String, CustomStringConvertible, Codable