CreateTaskRequest
public struct CreateTaskRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The Amazon Resource Name (ARN) of the Amazon CloudWatch log group that is used to monitor and log events in the task.
Declaration
Swift
public let cloudWatchLogGroupArn: String?
-
The Amazon Resource Name (ARN) of an AWS storage resource’s location.
Declaration
Swift
public let destinationLocationArn: String
-
A list of filter rules that determines which files to exclude from a task. The list should contain a single filter string that consists of the patterns to exclude. The patterns are delimited by “|” (that is, a pipe), for example, “/folder1|/folder2”
Declaration
Swift
public let excludes: [FilterRule]?
-
The name of a task. This value is a text reference that is used to identify the task in the console.
Declaration
Swift
public let name: String?
-
The set of configuration options that control the behavior of a single execution of the task that occurs when you call StartTaskExecution. You can configure these options to preserve metadata such as user ID (UID) and group ID (GID), file permissions, data integrity verification, and so on. For each individual task execution, you can override these options by specifying the OverrideOptions before starting the task execution. For more information, see the operation.
Declaration
Swift
public let options: Options?
-
Specifies a schedule used to periodically transfer files from a source to a destination location. The schedule should be specified in UTC time. For more information, see task-scheduling.
Declaration
Swift
public let schedule: TaskSchedule?
-
The Amazon Resource Name (ARN) of the source location for the task.
Declaration
Swift
public let sourceLocationArn: String
-
The key-value pair that represents the tag that you want to add to the resource. The value can be an empty string.
Declaration
Swift
public let tags: [TagListEntry]?
-
init(cloudWatchLogGroupArn:destinationLocationArn:excludes:name:options:schedule:sourceLocationArn:tags:)
Undocumented
Declaration
Swift
public init(cloudWatchLogGroupArn: String? = nil, destinationLocationArn: String, excludes: [FilterRule]? = nil, name: String? = nil, options: Options? = nil, schedule: TaskSchedule? = nil, sourceLocationArn: String, tags: [TagListEntry]? = nil)
-
Declaration
Swift
public func validate(name: String) throws