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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


906
907
908
909
910
911
912
913
914
915
916
917
918
919
# File 'lib/aws-sdk-opsworks/types.rb', line 906

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)


906
907
908
909
910
911
912
913
914
915
916
917
918
919
# File 'lib/aws-sdk-opsworks/types.rb', line 906

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)


906
907
908
909
910
911
912
913
914
915
916
917
918
919
# File 'lib/aws-sdk-opsworks/types.rb', line 906

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)


906
907
908
909
910
911
912
913
914
915
916
917
918
919
# File 'lib/aws-sdk-opsworks/types.rb', line 906

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)


906
907
908
909
910
911
912
913
914
915
916
917
918
919
# File 'lib/aws-sdk-opsworks/types.rb', line 906

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)


906
907
908
909
910
911
912
913
914
915
916
917
918
919
# File 'lib/aws-sdk-opsworks/types.rb', line 906

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)


906
907
908
909
910
911
912
913
914
915
916
917
918
919
# File 'lib/aws-sdk-opsworks/types.rb', line 906

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)


906
907
908
909
910
911
912
913
914
915
916
917
918
919
# File 'lib/aws-sdk-opsworks/types.rb', line 906

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)


906
907
908
909
910
911
912
913
914
915
916
917
918
919
# File 'lib/aws-sdk-opsworks/types.rb', line 906

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)


906
907
908
909
910
911
912
913
914
915
916
917
918
919
# File 'lib/aws-sdk-opsworks/types.rb', line 906

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