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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-amplify/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)


2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 2420

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)


2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 2420

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)


2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 2420

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)


2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 2420

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)


2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 2420

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)


2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 2420

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)


2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 2420

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)


2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb', line 2420

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