Class: Aws::Amplify::Types::StartJobRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-amplify/types.rb

Overview

The request structure for the start job request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#app_idString

The unique ID for an Amplify app.

Returns:

  • (String)


2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
# File 'lib/aws-sdk-amplify/types.rb', line 2406

class StartJobRequest < Struct.new(
  :app_id,
  :branch_name,
  :job_id,
  :job_type,
  :job_reason,
  :commit_id,
  :commit_message,
  :commit_time)
  SENSITIVE = []
  include Aws::Structure
end

#branch_nameString

The name of the branch to use for the job.

Returns:

  • (String)


2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
# File 'lib/aws-sdk-amplify/types.rb', line 2406

class StartJobRequest < Struct.new(
  :app_id,
  :branch_name,
  :job_id,
  :job_type,
  :job_reason,
  :commit_id,
  :commit_message,
  :commit_time)
  SENSITIVE = []
  include Aws::Structure
end

#commit_idString

The commit ID from a third-party repository provider for the job.

Returns:

  • (String)


2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
# File 'lib/aws-sdk-amplify/types.rb', line 2406

class StartJobRequest < Struct.new(
  :app_id,
  :branch_name,
  :job_id,
  :job_type,
  :job_reason,
  :commit_id,
  :commit_message,
  :commit_time)
  SENSITIVE = []
  include Aws::Structure
end

#commit_messageString

The commit message from a third-party repository provider for the job.

Returns:

  • (String)


2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
# File 'lib/aws-sdk-amplify/types.rb', line 2406

class StartJobRequest < Struct.new(
  :app_id,
  :branch_name,
  :job_id,
  :job_type,
  :job_reason,
  :commit_id,
  :commit_message,
  :commit_time)
  SENSITIVE = []
  include Aws::Structure
end

#commit_timeTime

The commit date and time for the job.

Returns:

  • (Time)


2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
# File 'lib/aws-sdk-amplify/types.rb', line 2406

class StartJobRequest < Struct.new(
  :app_id,
  :branch_name,
  :job_id,
  :job_type,
  :job_reason,
  :commit_id,
  :commit_message,
  :commit_time)
  SENSITIVE = []
  include Aws::Structure
end

#job_idString

The unique ID for an existing job. This is required if the value of ‘jobType` is `RETRY`.

Returns:

  • (String)


2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
# File 'lib/aws-sdk-amplify/types.rb', line 2406

class StartJobRequest < Struct.new(
  :app_id,
  :branch_name,
  :job_id,
  :job_type,
  :job_reason,
  :commit_id,
  :commit_message,
  :commit_time)
  SENSITIVE = []
  include Aws::Structure
end

#job_reasonString

A descriptive reason for starting the job.

Returns:

  • (String)


2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
# File 'lib/aws-sdk-amplify/types.rb', line 2406

class StartJobRequest < Struct.new(
  :app_id,
  :branch_name,
  :job_id,
  :job_type,
  :job_reason,
  :commit_id,
  :commit_message,
  :commit_time)
  SENSITIVE = []
  include Aws::Structure
end

#job_typeString

Describes the type for the job. The job type ‘RELEASE` starts a new job with the latest change from the specified branch. This value is available only for apps that are connected to a repository.

The job type ‘RETRY` retries an existing job. If the job type value is `RETRY`, the `jobId` is also required.

Returns:

  • (String)


2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
# File 'lib/aws-sdk-amplify/types.rb', line 2406

class StartJobRequest < Struct.new(
  :app_id,
  :branch_name,
  :job_id,
  :job_type,
  :job_reason,
  :commit_id,
  :commit_message,
  :commit_time)
  SENSITIVE = []
  include Aws::Structure
end