You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::OpsWorks::Types::Command

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

Overview

Describes a command.

Instance Attribute Summary collapse

Instance Attribute Details

#acknowledged_atString

Date and time when the command was acknowledged.

Returns:

  • (String)


1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1040

class Command < Struct.new(
  :command_id,
  :instance_id,
  :deployment_id,
  :created_at,
  :acknowledged_at,
  :completed_at,
  :status,
  :exit_code,
  :log_url,
  :type)
  include Aws::Structure
end

#command_idString

The command ID.

Returns:

  • (String)


1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1040

class Command < Struct.new(
  :command_id,
  :instance_id,
  :deployment_id,
  :created_at,
  :acknowledged_at,
  :completed_at,
  :status,
  :exit_code,
  :log_url,
  :type)
  include Aws::Structure
end

#completed_atString

Date when the command completed.

Returns:

  • (String)


1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1040

class Command < Struct.new(
  :command_id,
  :instance_id,
  :deployment_id,
  :created_at,
  :acknowledged_at,
  :completed_at,
  :status,
  :exit_code,
  :log_url,
  :type)
  include Aws::Structure
end

#created_atString

Date and time when the command was run.

Returns:

  • (String)


1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1040

class Command < Struct.new(
  :command_id,
  :instance_id,
  :deployment_id,
  :created_at,
  :acknowledged_at,
  :completed_at,
  :status,
  :exit_code,
  :log_url,
  :type)
  include Aws::Structure
end

#deployment_idString

The command deployment ID.

Returns:

  • (String)


1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1040

class Command < Struct.new(
  :command_id,
  :instance_id,
  :deployment_id,
  :created_at,
  :acknowledged_at,
  :completed_at,
  :status,
  :exit_code,
  :log_url,
  :type)
  include Aws::Structure
end

#exit_codeInteger

The command exit code.

Returns:

  • (Integer)


1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1040

class Command < Struct.new(
  :command_id,
  :instance_id,
  :deployment_id,
  :created_at,
  :acknowledged_at,
  :completed_at,
  :status,
  :exit_code,
  :log_url,
  :type)
  include Aws::Structure
end

#instance_idString

The ID of the instance where the command was executed.

Returns:

  • (String)


1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1040

class Command < Struct.new(
  :command_id,
  :instance_id,
  :deployment_id,
  :created_at,
  :acknowledged_at,
  :completed_at,
  :status,
  :exit_code,
  :log_url,
  :type)
  include Aws::Structure
end

#log_urlString

The URL of the command log.

Returns:

  • (String)


1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1040

class Command < Struct.new(
  :command_id,
  :instance_id,
  :deployment_id,
  :created_at,
  :acknowledged_at,
  :completed_at,
  :status,
  :exit_code,
  :log_url,
  :type)
  include Aws::Structure
end

#statusString

The command status:

  • failed

  • successful

  • skipped

  • pending

Returns:

  • (String)


1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1040

class Command < Struct.new(
  :command_id,
  :instance_id,
  :deployment_id,
  :created_at,
  :acknowledged_at,
  :completed_at,
  :status,
  :exit_code,
  :log_url,
  :type)
  include Aws::Structure
end

#typeString

The command type:

  • configure

  • deploy

  • execute_recipes

  • install_dependencies

  • restart

  • rollback

  • setup

  • start

  • stop

  • undeploy

  • update_custom_cookbooks

  • update_dependencies

Returns:

  • (String)


1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1040

class Command < Struct.new(
  :command_id,
  :instance_id,
  :deployment_id,
  :created_at,
  :acknowledged_at,
  :completed_at,
  :status,
  :exit_code,
  :log_url,
  :type)
  include Aws::Structure
end