Class: Aws::CodeBuild::Types::CommandExecution

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb

Overview

Contains command execution information.

Constant Summary collapse

SENSITIVE =
[:command, :standard_output_content, :standard_err_content]

Instance Attribute Summary collapse

Instance Attribute Details

#command ⇒ String

The command that needs to be executed.

Returns:

  • (String)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end

#end_time ⇒ Time

When the command execution process ended, expressed in Unix time format.

Returns:

  • (Time)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end

#exit_code ⇒ String

The exit code to return upon completion.

Returns:

  • (String)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end

#id ⇒ String

The ID of the command execution.

Returns:

  • (String)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end

#logs ⇒ Types::LogsLocation

Information about build logs in CloudWatch Logs.

Returns:



1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end

#sandbox_arn ⇒ String

A sandboxArn.

Returns:

  • (String)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end

#sandbox_id ⇒ String

A sandboxId.

Returns:

  • (String)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end

#standard_err_content ⇒ String

The text written by the command to stderr.

Returns:

  • (String)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end

#standard_output_content ⇒ String

The text written by the command to stdout.

Returns:

  • (String)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end

#start_time ⇒ Time

When the command execution process started, expressed in Unix time format.

Returns:

  • (Time)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end

#status ⇒ String

The status of the command execution.

Returns:

  • (String)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end

#submit_time ⇒ Time

When the command execution process was initially submitted, expressed in Unix time format.

Returns:

  • (Time)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end

#type ⇒ String

The command type.

Returns:

  • (String)


1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
# File 'gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb', line 1588

class CommandExecution < Struct.new(
  :id,
  :sandbox_id,
  :submit_time,
  :start_time,
  :end_time,
  :status,
  :command,
  :type,
  :exit_code,
  :standard_output_content,
  :standard_err_content,
  :logs,
  :sandbox_arn)
  SENSITIVE = [:command, :standard_output_content, :standard_err_content]
  include Aws::Structure
end