CreateJobRequest

public struct CreateJobRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • Undocumented

    Declaration

    Swift

    public let accountId: String
  • An idempotency token to ensure that you don’t accidentally submit the same request twice. You can use any string up to the maximum length.

    Declaration

    Swift

    public let clientRequestToken: String
  • Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.

    Declaration

    Swift

    public let confirmationRequired: Bool?
  • A description for this job. You can use any string within the permitted length. Descriptions don’t need to be unique and can be used for multiple jobs.

    Declaration

    Swift

    public let description: String?
  • Configuration parameters for the manifest.

    Declaration

    Swift

    public let manifest: JobManifest
  • The operation that you want this job to perform on each object listed in the manifest. For more information about the available operations, see Available Operations in the Amazon Simple Storage Service Developer Guide.

    Declaration

    Swift

    public let operation: JobOperation
  • The numerical priority for this job. Higher numbers indicate higher priority.

    Declaration

    Swift

    public let priority: Int
  • Configuration parameters for the optional job-completion report.

    Declaration

    Swift

    public let report: JobReport
  • The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that Batch Operations will use to execute this job’s operation on each object in the manifest.

    Declaration

    Swift

    public let roleArn: String
  • A set of tags to associate with the Amazon S3 Batch Operations job. This is an optional parameter.

    Declaration

    Swift

    public let tags: [S3Tag]?
  • Undocumented

    Declaration

    Swift

    public init(accountId: String, clientRequestToken: String = CreateJobRequest.idempotencyToken(), confirmationRequired: Bool? = nil, description: String? = nil, manifest: JobManifest, operation: JobOperation, priority: Int, report: JobReport, roleArn: String, tags: [S3Tag]? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws