Class: Aws::Resiliencehubv2::Types::TestRun

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

Overview

Represents a single run of a test. Configuration is snapshotted from the test and service at the time the run is started.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_targeting ⇒ String

Indicates whether the test run targets resources in a single AWS account or across multiple accounts.

Returns:

  • (String)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#dev_ops_agent_investigation ⇒ Types::DevOpsAgentInvestigation

The DevOps Agent investigation result for the test run, present when the integration is enabled for the service.



6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#ended_at ⇒ Time

The timestamp when the test run ended.

Returns:

  • (Time)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#error_message ⇒ String

A human-readable reason for test run failure. Only present when the status is FAILED or ERROR.

Returns:

  • (String)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#event_count ⇒ Integer

The number of events recorded for the test run. Use ListTestRunEvents to retrieve the details.

Returns:

  • (Integer)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#experiments ⇒ Array<Types::ExperimentDetails>

The AWS Fault Injection Service (AWS FIS) experiments run as part of the test run.

Returns:



6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#logging_configuration ⇒ Types::LoggingConfiguration

The logging configuration snapshotted from the test when the run was started.



6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#parameters ⇒ Hash<String,Array<String>>

The parameter values used for the test run.

Returns:

  • (Hash<String,Array<String>>)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#permission_model ⇒ Types::PermissionModel

The permission model snapshotted from the service when the run was started.



6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#policy ⇒ Types::TestRunPolicySnapshot

The resilience policy snapshotted from the service when the run was started.



6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#region_switch_execution_id ⇒ String

The identifier of the ARC Region switch execution detected during the test run.

Returns:

  • (String)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#region_switch_plan_arn ⇒ String

The ARN of the ARC Region switch plan associated with the test run.

Returns:

  • (String)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#regions ⇒ Array<String>

The Regions snapshotted from the service when the run was started.

Returns:

  • (Array<String>)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#report_configuration ⇒ Types::TestRunReportConfiguration

The report configuration snapshotted from the service when the run was started.



6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#report_output ⇒ Types::ReportGenerationResult

The report generation result for the test run. Present after report generation completes or fails.



6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#role_name ⇒ String

The IAM execution role name snapshotted from the test when the run was started.

Returns:

  • (String)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#service_arn ⇒ String

The ARN of the service the test run belongs to.

Returns:

  • (String)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#started_at ⇒ Time

The timestamp when the test run started.

Returns:

  • (Time)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#status ⇒ String

The current status of the test run.

Returns:

  • (String)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#stop_conditions ⇒ Array<Types::StopCondition>

The stop conditions snapshotted from the test when the run was started.

Returns:



6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#test_id ⇒ String

The identifier of the test that was run.

Returns:

  • (String)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#test_run_id ⇒ String

The unique identifier of the test run.

Returns:

  • (String)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end

#test_template_arn ⇒ String

The ARN of the test template snapshotted from the test when the run was started.

Returns:

  • (String)


6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
# File 'gems/aws-sdk-resiliencehubv2/lib/aws-sdk-resiliencehubv2/types.rb', line 6329

class TestRun < Struct.new(
  :test_run_id,
  :test_id,
  :status,
  :service_arn,
  :started_at,
  :ended_at,
  :experiments,
  :event_count,
  :parameters,
  :error_message,
  :stop_conditions,
  :logging_configuration,
  :role_name,
  :test_template_arn,
  :report_configuration,
  :policy,
  :report_output,
  :region_switch_plan_arn,
  :region_switch_execution_id,
  :permission_model,
  :regions,
  :account_targeting,
  :dev_ops_agent_investigation)
  SENSITIVE = []
  include Aws::Structure
end