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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#acknowledged_atString

Date and time when the command was acknowledged.

Returns:

  • (String)


1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1055

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

#command_idString

The command ID.

Returns:

  • (String)


1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1055

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

#completed_atString

Date when the command completed.

Returns:

  • (String)


1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1055

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

#created_atString

Date and time when the command was run.

Returns:

  • (String)


1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1055

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

#deployment_idString

The command deployment ID.

Returns:

  • (String)


1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1055

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

#exit_codeInteger

The command exit code.

Returns:

  • (Integer)


1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1055

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

#instance_idString

The ID of the instance where the command was executed.

Returns:

  • (String)


1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1055

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

#log_urlString

The URL of the command log.

Returns:

  • (String)


1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1055

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

#statusString

The command status:

  • failed

  • successful

  • skipped

  • pending

Returns:

  • (String)


1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1055

class Command < Struct.new(
  :command_id,
  :instance_id,
  :deployment_id,
  :created_at,
  :acknowledged_at,
  :completed_at,
  :status,
  :exit_code,
  :log_url,
  :type)
  SENSITIVE = []
  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)


1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
# File 'gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/types.rb', line 1055

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