aws-sdk-resiliencehubv2 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 939562c86eda58a8e2041ac0fa94d3d67a77c452475a45a848ec6f460a5886e8
4
- data.tar.gz: 4645a77f62627e2330a759f920952ad4ad07e825fee18b18ff0c9c4d617b687b
3
+ metadata.gz: 6db2dbcebb51ee683f1c8da330ed60d34d21605f1bef77d8e1dc97aabbc9c809
4
+ data.tar.gz: 3a0f51677a22848b52877613c87da65ec2b1bc9447671919312d2d06bd7f0488
5
5
  SHA512:
6
- metadata.gz: 16f7a194fd50634a1780f1e661b7ced5c5dd2075fdccbfca6f889bd154c5912e465dcbf5e92b5e8bdda3cd3505b1c8f9f636aa5c1e0efdc53cea21f2ceb69565
7
- data.tar.gz: 938c4c12f80fd392d6e57c87dae25ed628ac55f01f307b109b35d5eee29d2aa823d2fa4355131f4a23162b9b5fe22d10b3ccb1a94f25b38f6097378b1be24ee7
6
+ metadata.gz: a492936d7f8b53f4c3ab3dd2d777f90eb8ec4ebe8af852a539607a8f88948f5c56514bf41abd5742453e8dff394ae02924d564142258e178f396300a7e6cf3db
7
+ data.tar.gz: 13f4943290be9c50340154ba83b6e726a8871f9e0f61289a18d5859b0daa1af5c38f60cc936ae95bdd03cab071571f07c6526fbada83752422c4642cd33bbff5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2026-09-10)
5
+ ------------------
6
+
7
+ * Feature - This release adds the ListTestRunSourceEvents and ListTestRunDependencies APIs, which return the alarm state changes during a test run and the dependencies the run blocked.
8
+
4
9
  1.4.0 (2026-09-09)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.5.0
@@ -553,6 +553,18 @@ module Aws::Resiliencehubv2
553
553
  # eks: {
554
554
  # cluster_arn: "Arn", # required
555
555
  # namespaces: ["EksNamespace"], # required
556
+ # label_selector: {
557
+ # match_labels: {
558
+ # "EksLabelKey" => "EksLabelValue",
559
+ # },
560
+ # match_expressions: [
561
+ # {
562
+ # key: "EksLabelKey", # required
563
+ # operator: "IN", # required, accepts IN, NOT_IN, EXISTS, DOES_NOT_EXIST
564
+ # values: ["EksLabelValue"],
565
+ # },
566
+ # ],
567
+ # },
556
568
  # },
557
569
  # design_file_s3_url: "S3Url",
558
570
  # },
@@ -1084,7 +1096,7 @@ module Aws::Resiliencehubv2
1084
1096
  # value: "String", # required
1085
1097
  # },
1086
1098
  # ],
1087
- # role_name: "EntityName",
1099
+ # role_name: "IamRoleName",
1088
1100
  # parameters: {
1089
1101
  # "ParameterKey" => ["ParameterValue"],
1090
1102
  # },
@@ -2470,6 +2482,13 @@ module Aws::Resiliencehubv2
2470
2482
  # resp.input_source_summaries[0].eks.cluster_arn #=> String
2471
2483
  # resp.input_source_summaries[0].eks.namespaces #=> Array
2472
2484
  # resp.input_source_summaries[0].eks.namespaces[0] #=> String
2485
+ # resp.input_source_summaries[0].eks.label_selector.match_labels #=> Hash
2486
+ # resp.input_source_summaries[0].eks.label_selector.match_labels["EksLabelKey"] #=> String
2487
+ # resp.input_source_summaries[0].eks.label_selector.match_expressions #=> Array
2488
+ # resp.input_source_summaries[0].eks.label_selector.match_expressions[0].key #=> String
2489
+ # resp.input_source_summaries[0].eks.label_selector.match_expressions[0].operator #=> String, one of "IN", "NOT_IN", "EXISTS", "DOES_NOT_EXIST"
2490
+ # resp.input_source_summaries[0].eks.label_selector.match_expressions[0].values #=> Array
2491
+ # resp.input_source_summaries[0].eks.label_selector.match_expressions[0].values[0] #=> String
2473
2492
  # resp.input_source_summaries[0].design_file_s3_url #=> String
2474
2493
  # resp.input_source_summaries[0].created_at #=> Time
2475
2494
  # resp.next_token #=> String
@@ -3172,6 +3191,62 @@ module Aws::Resiliencehubv2
3172
3191
  req.send_request(options)
3173
3192
  end
3174
3193
 
3194
+ # Lists the dependencies that a test run blocked. Each dependency
3195
+ # reflects the discovered classification captured when the run started,
3196
+ # so results do not change if a dependency is reclassified after the
3197
+ # run.
3198
+ #
3199
+ # @option params [required, String] :test_run_id
3200
+ # The identifier of the test run to list dependencies for.
3201
+ #
3202
+ # @option params [required, String] :service_arn
3203
+ # The ARN of the service the test run belongs to.
3204
+ #
3205
+ # @option params [Integer] :max_results
3206
+ # Pagination page size.
3207
+ #
3208
+ # @option params [String] :next_token
3209
+ # Pagination token.
3210
+ #
3211
+ # @return [Types::ListTestRunDependenciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3212
+ #
3213
+ # * {Types::ListTestRunDependenciesResponse#dependencies #dependencies} => Array<Types::TestRunDependencySummary>
3214
+ # * {Types::ListTestRunDependenciesResponse#next_token #next_token} => String
3215
+ #
3216
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3217
+ #
3218
+ # @example Request syntax with placeholder values
3219
+ #
3220
+ # resp = client.list_test_run_dependencies({
3221
+ # test_run_id: "TestRunId", # required
3222
+ # service_arn: "Arn", # required
3223
+ # max_results: 1,
3224
+ # next_token: "NextToken",
3225
+ # })
3226
+ #
3227
+ # @example Response structure
3228
+ #
3229
+ # resp.dependencies #=> Array
3230
+ # resp.dependencies[0].dependency_id #=> String
3231
+ # resp.dependencies[0].dependency_name #=> String
3232
+ # resp.dependencies[0].dns_name #=> String
3233
+ # resp.dependencies[0].criticality #=> String, one of "HARD", "SOFT", "UNKNOWN"
3234
+ # resp.dependencies[0].source #=> String, one of "DISCOVERED", "MANUAL"
3235
+ # resp.dependencies[0].location #=> String
3236
+ # resp.dependencies[0].source_regions #=> Array
3237
+ # resp.dependencies[0].source_regions[0] #=> String
3238
+ # resp.dependencies[0].provider #=> String
3239
+ # resp.next_token #=> String
3240
+ #
3241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/ListTestRunDependencies AWS API Documentation
3242
+ #
3243
+ # @overload list_test_run_dependencies(params = {})
3244
+ # @param [Hash] params ({})
3245
+ def list_test_run_dependencies(params = {}, options = {})
3246
+ req = build_request(:list_test_run_dependencies, params)
3247
+ req.send_request(options)
3248
+ end
3249
+
3175
3250
  # Lists the events in a test run's timeline.
3176
3251
  #
3177
3252
  # @option params [required, String] :test_run_id
@@ -3230,6 +3305,66 @@ module Aws::Resiliencehubv2
3230
3305
  req.send_request(options)
3231
3306
  end
3232
3307
 
3308
+ # Lists the state-change events observed for a test run monitoring
3309
+ # source. Events are returned for one source per call, in chronological
3310
+ # order.
3311
+ #
3312
+ # @option params [required, String] :test_run_id
3313
+ # The identifier of the test run to list source events for.
3314
+ #
3315
+ # @option params [required, String] :service_arn
3316
+ # The ARN of the service the test run belongs to.
3317
+ #
3318
+ # @option params [required, String] :source_arn
3319
+ # The ARN of the monitoring source to list events for, such as the ARN
3320
+ # of a CloudWatch alarm. If the source was not monitored during the test
3321
+ # run, the response is an empty list.
3322
+ #
3323
+ # @option params [Integer] :max_results
3324
+ # Pagination page size.
3325
+ #
3326
+ # @option params [String] :next_token
3327
+ # Pagination token.
3328
+ #
3329
+ # @return [Types::ListTestRunSourceEventsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3330
+ #
3331
+ # * {Types::ListTestRunSourceEventsResponse#test_run_source_events #test_run_source_events} => Array<Types::TestRunSourceEvent>
3332
+ # * {Types::ListTestRunSourceEventsResponse#next_token #next_token} => String
3333
+ #
3334
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3335
+ #
3336
+ # @example Request syntax with placeholder values
3337
+ #
3338
+ # resp = client.list_test_run_source_events({
3339
+ # test_run_id: "TestRunId", # required
3340
+ # service_arn: "Arn", # required
3341
+ # source_arn: "TestRunSourceArn", # required
3342
+ # max_results: 1,
3343
+ # next_token: "NextToken",
3344
+ # })
3345
+ #
3346
+ # @example Response structure
3347
+ #
3348
+ # resp.test_run_source_events #=> Array
3349
+ # resp.test_run_source_events[0].timestamp #=> Time
3350
+ # resp.test_run_source_events[0].source_arn #=> String
3351
+ # resp.test_run_source_events[0].event_type #=> String, one of "ALARM"
3352
+ # resp.test_run_source_events[0].detail.alarm_state_change.state #=> String, one of "OK", "ALARM", "INSUFFICIENT_DATA"
3353
+ # resp.test_run_source_events[0].detail.alarm_state_change.previous_state #=> String, one of "OK", "ALARM", "INSUFFICIENT_DATA"
3354
+ # resp.test_run_source_events[0].detail.alarm_state_change.reason #=> String
3355
+ # resp.test_run_source_events[0].detail.error.error_code #=> String, one of "ACCESS_DENIED", "INTERNAL_ERROR"
3356
+ # resp.test_run_source_events[0].detail.error.error_message #=> String
3357
+ # resp.next_token #=> String
3358
+ #
3359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/ListTestRunSourceEvents AWS API Documentation
3360
+ #
3361
+ # @overload list_test_run_source_events(params = {})
3362
+ # @param [Hash] params ({})
3363
+ def list_test_run_source_events(params = {}, options = {})
3364
+ req = build_request(:list_test_run_source_events, params)
3365
+ req.send_request(options)
3366
+ end
3367
+
3233
3368
  # Lists the monitoring source snapshots captured for a test run,
3234
3369
  # optionally filtered by type.
3235
3370
  #
@@ -4237,7 +4372,7 @@ module Aws::Resiliencehubv2
4237
4372
  # value: "String", # required
4238
4373
  # },
4239
4374
  # ],
4240
- # role_name: "EntityName",
4375
+ # role_name: "IamRoleName",
4241
4376
  # parameters: {
4242
4377
  # "ParameterKey" => ["ParameterValue"],
4243
4378
  # },
@@ -4343,7 +4478,7 @@ module Aws::Resiliencehubv2
4343
4478
  tracer: tracer
4344
4479
  )
4345
4480
  context[:gem_name] = 'aws-sdk-resiliencehubv2'
4346
- context[:gem_version] = '1.4.0'
4481
+ context[:gem_version] = '1.5.0'
4347
4482
  Seahorse::Client::Request.new(handlers, context)
4348
4483
  end
4349
4484
 
@@ -20,6 +20,9 @@ module Aws::Resiliencehubv2
20
20
  Achievability = Shapes::StructureShape.new(name: 'Achievability')
21
21
  AchievabilityStatus = Shapes::StringShape.new(name: 'AchievabilityStatus')
22
22
  ActorType = Shapes::StringShape.new(name: 'ActorType')
23
+ AlarmState = Shapes::StringShape.new(name: 'AlarmState')
24
+ AlarmStateChangeDetail = Shapes::StructureShape.new(name: 'AlarmStateChangeDetail')
25
+ AlarmStateChangeDetailReasonString = Shapes::StringShape.new(name: 'AlarmStateChangeDetailReasonString')
23
26
  Arn = Shapes::StringShape.new(name: 'Arn')
24
27
  ArnList = Shapes::ListShape.new(name: 'ArnList')
25
28
  Assertion = Shapes::StructureShape.new(name: 'Assertion')
@@ -106,6 +109,14 @@ module Aws::Resiliencehubv2
106
109
  EdgePropertyList = Shapes::ListShape.new(name: 'EdgePropertyList')
107
110
  EdgePropertySummary = Shapes::StructureShape.new(name: 'EdgePropertySummary')
108
111
  EffectivePolicyValues = Shapes::StructureShape.new(name: 'EffectivePolicyValues')
112
+ EksLabelKey = Shapes::StringShape.new(name: 'EksLabelKey')
113
+ EksLabelSelector = Shapes::StructureShape.new(name: 'EksLabelSelector')
114
+ EksLabelSelectorMatchExpressionsList = Shapes::ListShape.new(name: 'EksLabelSelectorMatchExpressionsList')
115
+ EksLabelSelectorMatchLabelsMap = Shapes::MapShape.new(name: 'EksLabelSelectorMatchLabelsMap')
116
+ EksLabelSelectorOperator = Shapes::StringShape.new(name: 'EksLabelSelectorOperator')
117
+ EksLabelSelectorRequirement = Shapes::StructureShape.new(name: 'EksLabelSelectorRequirement')
118
+ EksLabelSelectorRequirementValuesList = Shapes::ListShape.new(name: 'EksLabelSelectorRequirementValuesList')
119
+ EksLabelValue = Shapes::StringShape.new(name: 'EksLabelValue')
109
120
  EksNamespace = Shapes::StringShape.new(name: 'EksNamespace')
110
121
  EksSource = Shapes::StructureShape.new(name: 'EksSource')
111
122
  EksSourceNamespacesList = Shapes::ListShape.new(name: 'EksSourceNamespacesList')
@@ -190,8 +201,12 @@ module Aws::Resiliencehubv2
190
201
  ListSystemsResponse = Shapes::StructureShape.new(name: 'ListSystemsResponse')
191
202
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
192
203
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
204
+ ListTestRunDependenciesRequest = Shapes::StructureShape.new(name: 'ListTestRunDependenciesRequest')
205
+ ListTestRunDependenciesResponse = Shapes::StructureShape.new(name: 'ListTestRunDependenciesResponse')
193
206
  ListTestRunEventsRequest = Shapes::StructureShape.new(name: 'ListTestRunEventsRequest')
194
207
  ListTestRunEventsResponse = Shapes::StructureShape.new(name: 'ListTestRunEventsResponse')
208
+ ListTestRunSourceEventsRequest = Shapes::StructureShape.new(name: 'ListTestRunSourceEventsRequest')
209
+ ListTestRunSourceEventsResponse = Shapes::StructureShape.new(name: 'ListTestRunSourceEventsResponse')
195
210
  ListTestRunSourcesRequest = Shapes::StructureShape.new(name: 'ListTestRunSourcesRequest')
196
211
  ListTestRunSourcesResponse = Shapes::StructureShape.new(name: 'ListTestRunSourcesResponse')
197
212
  ListTestRunsRequest = Shapes::StructureShape.new(name: 'ListTestRunsRequest')
@@ -360,6 +375,13 @@ module Aws::Resiliencehubv2
360
375
  TestId = Shapes::StringShape.new(name: 'TestId')
361
376
  TestParameters = Shapes::MapShape.new(name: 'TestParameters')
362
377
  TestRun = Shapes::StructureShape.new(name: 'TestRun')
378
+ TestRunDependencySource = Shapes::StringShape.new(name: 'TestRunDependencySource')
379
+ TestRunDependencySummary = Shapes::StructureShape.new(name: 'TestRunDependencySummary')
380
+ TestRunDependencySummaryDependencyNameString = Shapes::StringShape.new(name: 'TestRunDependencySummaryDependencyNameString')
381
+ TestRunDependencySummaryDnsNameString = Shapes::StringShape.new(name: 'TestRunDependencySummaryDnsNameString')
382
+ TestRunDependencySummaryList = Shapes::ListShape.new(name: 'TestRunDependencySummaryList')
383
+ TestRunDependencySummaryLocationString = Shapes::StringShape.new(name: 'TestRunDependencySummaryLocationString')
384
+ TestRunDependencySummaryProviderString = Shapes::StringShape.new(name: 'TestRunDependencySummaryProviderString')
363
385
  TestRunEvent = Shapes::StructureShape.new(name: 'TestRunEvent')
364
386
  TestRunEventAttributeKey = Shapes::StringShape.new(name: 'TestRunEventAttributeKey')
365
387
  TestRunEventAttributeValue = Shapes::StringShape.new(name: 'TestRunEventAttributeValue')
@@ -372,6 +394,14 @@ module Aws::Resiliencehubv2
372
394
  TestRunObservabilityAlarmSummary = Shapes::StructureShape.new(name: 'TestRunObservabilityAlarmSummary')
373
395
  TestRunPolicySnapshot = Shapes::StructureShape.new(name: 'TestRunPolicySnapshot')
374
396
  TestRunReportConfiguration = Shapes::StructureShape.new(name: 'TestRunReportConfiguration')
397
+ TestRunSourceArn = Shapes::StringShape.new(name: 'TestRunSourceArn')
398
+ TestRunSourceEvent = Shapes::StructureShape.new(name: 'TestRunSourceEvent')
399
+ TestRunSourceEventDetail = Shapes::UnionShape.new(name: 'TestRunSourceEventDetail')
400
+ TestRunSourceEventError = Shapes::StructureShape.new(name: 'TestRunSourceEventError')
401
+ TestRunSourceEventErrorCode = Shapes::StringShape.new(name: 'TestRunSourceEventErrorCode')
402
+ TestRunSourceEventErrorErrorMessageString = Shapes::StringShape.new(name: 'TestRunSourceEventErrorErrorMessageString')
403
+ TestRunSourceEventList = Shapes::ListShape.new(name: 'TestRunSourceEventList')
404
+ TestRunSourceEventType = Shapes::StringShape.new(name: 'TestRunSourceEventType')
375
405
  TestRunSourceSummary = Shapes::UnionShape.new(name: 'TestRunSourceSummary')
376
406
  TestRunSourceSummaryList = Shapes::ListShape.new(name: 'TestRunSourceSummaryList')
377
407
  TestRunSourceType = Shapes::StringShape.new(name: 'TestRunSourceType')
@@ -440,6 +470,11 @@ module Aws::Resiliencehubv2
440
470
  Achievability.add_member(:data_recovery_time_between_backups, Shapes::ShapeRef.new(shape: AchievabilityStatus, location_name: "dataRecoveryTimeBetweenBackups"))
441
471
  Achievability.struct_class = Types::Achievability
442
472
 
473
+ AlarmStateChangeDetail.add_member(:state, Shapes::ShapeRef.new(shape: AlarmState, required: true, location_name: "state"))
474
+ AlarmStateChangeDetail.add_member(:previous_state, Shapes::ShapeRef.new(shape: AlarmState, location_name: "previousState"))
475
+ AlarmStateChangeDetail.add_member(:reason, Shapes::ShapeRef.new(shape: AlarmStateChangeDetailReasonString, location_name: "reason"))
476
+ AlarmStateChangeDetail.struct_class = Types::AlarmStateChangeDetail
477
+
443
478
  ArnList.member = Shapes::ShapeRef.new(shape: Arn)
444
479
 
445
480
  Assertion.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "serviceArn"))
@@ -589,7 +624,7 @@ module Aws::Resiliencehubv2
589
624
  CreateTestRequest.add_member(:test_template_arn, Shapes::ShapeRef.new(shape: ServiceOwnedArn, required: true, location_name: "testTemplateArn"))
590
625
  CreateTestRequest.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
591
626
  CreateTestRequest.add_member(:stop_conditions, Shapes::ShapeRef.new(shape: StopConditionList, location_name: "stopConditions"))
592
- CreateTestRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "roleName"))
627
+ CreateTestRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: IamRoleName, location_name: "roleName"))
593
628
  CreateTestRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: TestParameters, location_name: "parameters"))
594
629
  CreateTestRequest.struct_class = Types::CreateTestRequest
595
630
 
@@ -728,8 +763,25 @@ module Aws::Resiliencehubv2
728
763
  EffectivePolicyValues.add_member(:data_recovery_time_between_backups, Shapes::ShapeRef.new(shape: TargetSource, location_name: "dataRecoveryTimeBetweenBackups"))
729
764
  EffectivePolicyValues.struct_class = Types::EffectivePolicyValues
730
765
 
766
+ EksLabelSelector.add_member(:match_labels, Shapes::ShapeRef.new(shape: EksLabelSelectorMatchLabelsMap, location_name: "matchLabels"))
767
+ EksLabelSelector.add_member(:match_expressions, Shapes::ShapeRef.new(shape: EksLabelSelectorMatchExpressionsList, location_name: "matchExpressions"))
768
+ EksLabelSelector.struct_class = Types::EksLabelSelector
769
+
770
+ EksLabelSelectorMatchExpressionsList.member = Shapes::ShapeRef.new(shape: EksLabelSelectorRequirement)
771
+
772
+ EksLabelSelectorMatchLabelsMap.key = Shapes::ShapeRef.new(shape: EksLabelKey)
773
+ EksLabelSelectorMatchLabelsMap.value = Shapes::ShapeRef.new(shape: EksLabelValue)
774
+
775
+ EksLabelSelectorRequirement.add_member(:key, Shapes::ShapeRef.new(shape: EksLabelKey, required: true, location_name: "key"))
776
+ EksLabelSelectorRequirement.add_member(:operator, Shapes::ShapeRef.new(shape: EksLabelSelectorOperator, required: true, location_name: "operator"))
777
+ EksLabelSelectorRequirement.add_member(:values, Shapes::ShapeRef.new(shape: EksLabelSelectorRequirementValuesList, location_name: "values"))
778
+ EksLabelSelectorRequirement.struct_class = Types::EksLabelSelectorRequirement
779
+
780
+ EksLabelSelectorRequirementValuesList.member = Shapes::ShapeRef.new(shape: EksLabelValue)
781
+
731
782
  EksSource.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "clusterArn"))
732
783
  EksSource.add_member(:namespaces, Shapes::ShapeRef.new(shape: EksSourceNamespacesList, required: true, location_name: "namespaces"))
784
+ EksSource.add_member(:label_selector, Shapes::ShapeRef.new(shape: EksLabelSelector, location_name: "labelSelector"))
733
785
  EksSource.struct_class = Types::EksSource
734
786
 
735
787
  EksSourceNamespacesList.member = Shapes::ShapeRef.new(shape: EksNamespace)
@@ -1055,6 +1107,16 @@ module Aws::Resiliencehubv2
1055
1107
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
1056
1108
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1057
1109
 
1110
+ ListTestRunDependenciesRequest.add_member(:test_run_id, Shapes::ShapeRef.new(shape: TestRunId, required: true, location: "uri", location_name: "testRunId"))
1111
+ ListTestRunDependenciesRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "serviceArn"))
1112
+ ListTestRunDependenciesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1113
+ ListTestRunDependenciesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1114
+ ListTestRunDependenciesRequest.struct_class = Types::ListTestRunDependenciesRequest
1115
+
1116
+ ListTestRunDependenciesResponse.add_member(:dependencies, Shapes::ShapeRef.new(shape: TestRunDependencySummaryList, required: true, location_name: "dependencies"))
1117
+ ListTestRunDependenciesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1118
+ ListTestRunDependenciesResponse.struct_class = Types::ListTestRunDependenciesResponse
1119
+
1058
1120
  ListTestRunEventsRequest.add_member(:test_run_id, Shapes::ShapeRef.new(shape: TestRunId, required: true, location: "uri", location_name: "testRunId"))
1059
1121
  ListTestRunEventsRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "serviceArn"))
1060
1122
  ListTestRunEventsRequest.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location: "querystring", location_name: "startedAt"))
@@ -1067,6 +1129,17 @@ module Aws::Resiliencehubv2
1067
1129
  ListTestRunEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1068
1130
  ListTestRunEventsResponse.struct_class = Types::ListTestRunEventsResponse
1069
1131
 
1132
+ ListTestRunSourceEventsRequest.add_member(:test_run_id, Shapes::ShapeRef.new(shape: TestRunId, required: true, location: "uri", location_name: "testRunId"))
1133
+ ListTestRunSourceEventsRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "serviceArn"))
1134
+ ListTestRunSourceEventsRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: TestRunSourceArn, required: true, location: "querystring", location_name: "sourceArn"))
1135
+ ListTestRunSourceEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1136
+ ListTestRunSourceEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
1137
+ ListTestRunSourceEventsRequest.struct_class = Types::ListTestRunSourceEventsRequest
1138
+
1139
+ ListTestRunSourceEventsResponse.add_member(:test_run_source_events, Shapes::ShapeRef.new(shape: TestRunSourceEventList, required: true, location_name: "testRunSourceEvents"))
1140
+ ListTestRunSourceEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1141
+ ListTestRunSourceEventsResponse.struct_class = Types::ListTestRunSourceEventsResponse
1142
+
1070
1143
  ListTestRunSourcesRequest.add_member(:test_run_id, Shapes::ShapeRef.new(shape: TestRunId, required: true, location: "uri", location_name: "testRunId"))
1071
1144
  ListTestRunSourcesRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "querystring", location_name: "serviceArn"))
1072
1145
  ListTestRunSourcesRequest.add_member(:type, Shapes::ShapeRef.new(shape: TestRunSourceType, location: "querystring", location_name: "type"))
@@ -1689,7 +1762,7 @@ module Aws::Resiliencehubv2
1689
1762
  Test.add_member(:actions, Shapes::ShapeRef.new(shape: TestActionList, location_name: "actions"))
1690
1763
  Test.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
1691
1764
  Test.add_member(:stop_conditions, Shapes::ShapeRef.new(shape: StopConditionList, location_name: "stopConditions"))
1692
- Test.add_member(:role_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "roleName"))
1765
+ Test.add_member(:role_name, Shapes::ShapeRef.new(shape: IamRoleName, location_name: "roleName"))
1693
1766
  Test.add_member(:parameters, Shapes::ShapeRef.new(shape: TestParameters, location_name: "parameters"))
1694
1767
  Test.add_member(:total_test_runs, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "totalTestRuns"))
1695
1768
  Test.add_member(:successful_test_runs, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "successfulTestRuns"))
@@ -1718,7 +1791,7 @@ module Aws::Resiliencehubv2
1718
1791
  TestRun.add_member(:error_message, Shapes::ShapeRef.new(shape: String, location_name: "errorMessage"))
1719
1792
  TestRun.add_member(:stop_conditions, Shapes::ShapeRef.new(shape: StopConditionList, location_name: "stopConditions"))
1720
1793
  TestRun.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
1721
- TestRun.add_member(:role_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "roleName"))
1794
+ TestRun.add_member(:role_name, Shapes::ShapeRef.new(shape: IamRoleName, location_name: "roleName"))
1722
1795
  TestRun.add_member(:test_template_arn, Shapes::ShapeRef.new(shape: ServiceOwnedArn, required: true, location_name: "testTemplateArn"))
1723
1796
  TestRun.add_member(:report_configuration, Shapes::ShapeRef.new(shape: TestRunReportConfiguration, location_name: "reportConfiguration"))
1724
1797
  TestRun.add_member(:policy, Shapes::ShapeRef.new(shape: TestRunPolicySnapshot, location_name: "policy"))
@@ -1730,6 +1803,18 @@ module Aws::Resiliencehubv2
1730
1803
  TestRun.add_member(:account_targeting, Shapes::ShapeRef.new(shape: AccountTargeting, location_name: "accountTargeting"))
1731
1804
  TestRun.struct_class = Types::TestRun
1732
1805
 
1806
+ TestRunDependencySummary.add_member(:dependency_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "dependencyId"))
1807
+ TestRunDependencySummary.add_member(:dependency_name, Shapes::ShapeRef.new(shape: TestRunDependencySummaryDependencyNameString, required: true, location_name: "dependencyName"))
1808
+ TestRunDependencySummary.add_member(:dns_name, Shapes::ShapeRef.new(shape: TestRunDependencySummaryDnsNameString, required: true, location_name: "dnsName"))
1809
+ TestRunDependencySummary.add_member(:criticality, Shapes::ShapeRef.new(shape: DependencyCriticality, required: true, location_name: "criticality"))
1810
+ TestRunDependencySummary.add_member(:source, Shapes::ShapeRef.new(shape: TestRunDependencySource, required: true, location_name: "source"))
1811
+ TestRunDependencySummary.add_member(:location, Shapes::ShapeRef.new(shape: TestRunDependencySummaryLocationString, location_name: "location"))
1812
+ TestRunDependencySummary.add_member(:source_regions, Shapes::ShapeRef.new(shape: RegionList, location_name: "sourceRegions"))
1813
+ TestRunDependencySummary.add_member(:provider, Shapes::ShapeRef.new(shape: TestRunDependencySummaryProviderString, location_name: "provider"))
1814
+ TestRunDependencySummary.struct_class = Types::TestRunDependencySummary
1815
+
1816
+ TestRunDependencySummaryList.member = Shapes::ShapeRef.new(shape: TestRunDependencySummary)
1817
+
1733
1818
  TestRunEvent.add_member(:event_id, Shapes::ShapeRef.new(shape: TestRunEventEventIdString, required: true, location_name: "eventId"))
1734
1819
  TestRunEvent.add_member(:event_type, Shapes::ShapeRef.new(shape: TestRunEventEventTypeString, required: true, location_name: "eventType"))
1735
1820
  TestRunEvent.add_member(:message, Shapes::ShapeRef.new(shape: TestRunEventMessageString, required: true, location_name: "message"))
@@ -1759,6 +1844,26 @@ module Aws::Resiliencehubv2
1759
1844
  TestRunReportConfiguration.add_member(:report_output, Shapes::ShapeRef.new(shape: ReportOutputConfigurationList, required: true, location_name: "reportOutput"))
1760
1845
  TestRunReportConfiguration.struct_class = Types::TestRunReportConfiguration
1761
1846
 
1847
+ TestRunSourceEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "timestamp"))
1848
+ TestRunSourceEvent.add_member(:source_arn, Shapes::ShapeRef.new(shape: TestRunSourceArn, required: true, location_name: "sourceArn"))
1849
+ TestRunSourceEvent.add_member(:event_type, Shapes::ShapeRef.new(shape: TestRunSourceEventType, required: true, location_name: "eventType"))
1850
+ TestRunSourceEvent.add_member(:detail, Shapes::ShapeRef.new(shape: TestRunSourceEventDetail, required: true, location_name: "detail"))
1851
+ TestRunSourceEvent.struct_class = Types::TestRunSourceEvent
1852
+
1853
+ TestRunSourceEventDetail.add_member(:alarm_state_change, Shapes::ShapeRef.new(shape: AlarmStateChangeDetail, location_name: "alarmStateChange"))
1854
+ TestRunSourceEventDetail.add_member(:error, Shapes::ShapeRef.new(shape: TestRunSourceEventError, location_name: "error"))
1855
+ TestRunSourceEventDetail.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1856
+ TestRunSourceEventDetail.add_member_subclass(:alarm_state_change, Types::TestRunSourceEventDetail::AlarmStateChange)
1857
+ TestRunSourceEventDetail.add_member_subclass(:error, Types::TestRunSourceEventDetail::Error)
1858
+ TestRunSourceEventDetail.add_member_subclass(:unknown, Types::TestRunSourceEventDetail::Unknown)
1859
+ TestRunSourceEventDetail.struct_class = Types::TestRunSourceEventDetail
1860
+
1861
+ TestRunSourceEventError.add_member(:error_code, Shapes::ShapeRef.new(shape: TestRunSourceEventErrorCode, required: true, location_name: "errorCode"))
1862
+ TestRunSourceEventError.add_member(:error_message, Shapes::ShapeRef.new(shape: TestRunSourceEventErrorErrorMessageString, required: true, location_name: "errorMessage"))
1863
+ TestRunSourceEventError.struct_class = Types::TestRunSourceEventError
1864
+
1865
+ TestRunSourceEventList.member = Shapes::ShapeRef.new(shape: TestRunSourceEvent)
1866
+
1762
1867
  TestRunSourceSummary.add_member(:success_criteria_alarm, Shapes::ShapeRef.new(shape: TestRunSuccessCriteriaAlarmSummary, location_name: "successCriteriaAlarm"))
1763
1868
  TestRunSourceSummary.add_member(:observability_alarm, Shapes::ShapeRef.new(shape: TestRunObservabilityAlarmSummary, location_name: "observabilityAlarm"))
1764
1869
  TestRunSourceSummary.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -1936,7 +2041,7 @@ module Aws::Resiliencehubv2
1936
2041
  UpdateTestRequest.add_member(:service_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "serviceArn"))
1937
2042
  UpdateTestRequest.add_member(:logging_configuration, Shapes::ShapeRef.new(shape: LoggingConfiguration, location_name: "loggingConfiguration"))
1938
2043
  UpdateTestRequest.add_member(:stop_conditions, Shapes::ShapeRef.new(shape: StopConditionList, location_name: "stopConditions"))
1939
- UpdateTestRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "roleName"))
2044
+ UpdateTestRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: IamRoleName, location_name: "roleName"))
1940
2045
  UpdateTestRequest.add_member(:parameters, Shapes::ShapeRef.new(shape: TestParameters, location_name: "parameters"))
1941
2046
  UpdateTestRequest.struct_class = Types::UpdateTestRequest
1942
2047
 
@@ -2675,6 +2780,24 @@ module Aws::Resiliencehubv2
2675
2780
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2676
2781
  end)
2677
2782
 
2783
+ api.add_operation(:list_test_run_dependencies, Seahorse::Model::Operation.new.tap do |o|
2784
+ o.name = "ListTestRunDependencies"
2785
+ o.http_method = "GET"
2786
+ o.http_request_uri = "/v2/test-runs/{testRunId}/dependencies"
2787
+ o.input = Shapes::ShapeRef.new(shape: ListTestRunDependenciesRequest)
2788
+ o.output = Shapes::ShapeRef.new(shape: ListTestRunDependenciesResponse)
2789
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2790
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2791
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2792
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2793
+ o[:pager] = Aws::Pager.new(
2794
+ limit_key: "max_results",
2795
+ tokens: {
2796
+ "next_token" => "next_token"
2797
+ }
2798
+ )
2799
+ end)
2800
+
2678
2801
  api.add_operation(:list_test_run_events, Seahorse::Model::Operation.new.tap do |o|
2679
2802
  o.name = "ListTestRunEvents"
2680
2803
  o.http_method = "GET"
@@ -2693,6 +2816,24 @@ module Aws::Resiliencehubv2
2693
2816
  )
2694
2817
  end)
2695
2818
 
2819
+ api.add_operation(:list_test_run_source_events, Seahorse::Model::Operation.new.tap do |o|
2820
+ o.name = "ListTestRunSourceEvents"
2821
+ o.http_method = "GET"
2822
+ o.http_request_uri = "/v2/test-runs/{testRunId}/source-events"
2823
+ o.input = Shapes::ShapeRef.new(shape: ListTestRunSourceEventsRequest)
2824
+ o.output = Shapes::ShapeRef.new(shape: ListTestRunSourceEventsResponse)
2825
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2826
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2827
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2828
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2829
+ o[:pager] = Aws::Pager.new(
2830
+ limit_key: "max_results",
2831
+ tokens: {
2832
+ "next_token" => "next_token"
2833
+ }
2834
+ )
2835
+ end)
2836
+
2696
2837
  api.add_operation(:list_test_run_sources, Seahorse::Model::Operation.new.tap do |o|
2697
2838
  o.name = "ListTestRunSources"
2698
2839
  o.http_method = "GET"
@@ -57,6 +57,33 @@ module Aws::Resiliencehubv2
57
57
  include Aws::Structure
58
58
  end
59
59
 
60
+ # Details about a CloudWatch alarm state change observed during a test
61
+ # run.
62
+ #
63
+ # @!attribute [rw] state
64
+ # The state the alarm transitioned to.
65
+ # @return [String]
66
+ #
67
+ # @!attribute [rw] previous_state
68
+ # The state the alarm transitioned from. Absent on the initial event,
69
+ # which records the alarm's state when collection began.
70
+ # @return [String]
71
+ #
72
+ # @!attribute [rw] reason
73
+ # A human-readable explanation of the state change, as reported by
74
+ # CloudWatch.
75
+ # @return [String]
76
+ #
77
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/AlarmStateChangeDetail AWS API Documentation
78
+ #
79
+ class AlarmStateChangeDetail < Struct.new(
80
+ :state,
81
+ :previous_state,
82
+ :reason)
83
+ SENSITIVE = []
84
+ include Aws::Structure
85
+ end
86
+
60
87
  # Represents a resilience assertion for a service.
61
88
  #
62
89
  # @!attribute [rw] service_arn
@@ -1317,6 +1344,58 @@ module Aws::Resiliencehubv2
1317
1344
  include Aws::Structure
1318
1345
  end
1319
1346
 
1347
+ # A label selector that filters the Kubernetes objects discovered from
1348
+ # an Amazon EKS input source. An object must satisfy both matchLabels
1349
+ # and matchExpressions to match the selector. A selector with neither
1350
+ # matches every object. The selector must render to 2,048 characters or
1351
+ # fewer in Kubernetes label selector syntax.
1352
+ #
1353
+ # @!attribute [rw] match_labels
1354
+ # The label key-value pairs that an object must have. All pairs must
1355
+ # match for the object to be selected.
1356
+ # @return [Hash<String,String>]
1357
+ #
1358
+ # @!attribute [rw] match_expressions
1359
+ # The label requirements that an object must satisfy. All requirements
1360
+ # in the list must match for the object to be selected.
1361
+ # @return [Array<Types::EksLabelSelectorRequirement>]
1362
+ #
1363
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/EksLabelSelector AWS API Documentation
1364
+ #
1365
+ class EksLabelSelector < Struct.new(
1366
+ :match_labels,
1367
+ :match_expressions)
1368
+ SENSITIVE = [:match_labels, :match_expressions]
1369
+ include Aws::Structure
1370
+ end
1371
+
1372
+ # A single label requirement in a label selector, expressed as a key, an
1373
+ # operator, and an optional list of values.
1374
+ #
1375
+ # @!attribute [rw] key
1376
+ # The label key that the requirement applies to.
1377
+ # @return [String]
1378
+ #
1379
+ # @!attribute [rw] operator
1380
+ # The operator that relates the label key to the values.
1381
+ # @return [String]
1382
+ #
1383
+ # @!attribute [rw] values
1384
+ # The label values to compare against. Specify values when the
1385
+ # operator is IN or NOT\_IN. Leave this empty when the operator is
1386
+ # EXISTS or DOES\_NOT\_EXIST.
1387
+ # @return [Array<String>]
1388
+ #
1389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/EksLabelSelectorRequirement AWS API Documentation
1390
+ #
1391
+ class EksLabelSelectorRequirement < Struct.new(
1392
+ :key,
1393
+ :operator,
1394
+ :values)
1395
+ SENSITIVE = []
1396
+ include Aws::Structure
1397
+ end
1398
+
1320
1399
  # Defines an Amazon EKS cluster and its namespaces as an input source
1321
1400
  # for resource discovery.
1322
1401
  #
@@ -1328,11 +1407,18 @@ module Aws::Resiliencehubv2
1328
1407
  # The list of Kubernetes namespaces within the EKS cluster.
1329
1408
  # @return [Array<String>]
1330
1409
  #
1410
+ # @!attribute [rw] label_selector
1411
+ # Filters discovery to the Kubernetes objects whose labels match the
1412
+ # selector. When omitted, all supported objects in the specified
1413
+ # namespaces are discovered.
1414
+ # @return [Types::EksLabelSelector]
1415
+ #
1331
1416
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/EksSource AWS API Documentation
1332
1417
  #
1333
1418
  class EksSource < Struct.new(
1334
1419
  :cluster_arn,
1335
- :namespaces)
1420
+ :namespaces,
1421
+ :label_selector)
1336
1422
  SENSITIVE = []
1337
1423
  include Aws::Structure
1338
1424
  end
@@ -2730,6 +2816,50 @@ module Aws::Resiliencehubv2
2730
2816
  include Aws::Structure
2731
2817
  end
2732
2818
 
2819
+ # @!attribute [rw] test_run_id
2820
+ # The identifier of the test run to list dependencies for.
2821
+ # @return [String]
2822
+ #
2823
+ # @!attribute [rw] service_arn
2824
+ # The ARN of the service the test run belongs to.
2825
+ # @return [String]
2826
+ #
2827
+ # @!attribute [rw] max_results
2828
+ # Pagination page size.
2829
+ # @return [Integer]
2830
+ #
2831
+ # @!attribute [rw] next_token
2832
+ # Pagination token.
2833
+ # @return [String]
2834
+ #
2835
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/ListTestRunDependenciesRequest AWS API Documentation
2836
+ #
2837
+ class ListTestRunDependenciesRequest < Struct.new(
2838
+ :test_run_id,
2839
+ :service_arn,
2840
+ :max_results,
2841
+ :next_token)
2842
+ SENSITIVE = []
2843
+ include Aws::Structure
2844
+ end
2845
+
2846
+ # @!attribute [rw] dependencies
2847
+ # The list of dependencies the test run blocked.
2848
+ # @return [Array<Types::TestRunDependencySummary>]
2849
+ #
2850
+ # @!attribute [rw] next_token
2851
+ # Pagination token.
2852
+ # @return [String]
2853
+ #
2854
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/ListTestRunDependenciesResponse AWS API Documentation
2855
+ #
2856
+ class ListTestRunDependenciesResponse < Struct.new(
2857
+ :dependencies,
2858
+ :next_token)
2859
+ SENSITIVE = []
2860
+ include Aws::Structure
2861
+ end
2862
+
2733
2863
  # @!attribute [rw] test_run_id
2734
2864
  # The identifier of the test run to list events for.
2735
2865
  # @return [String]
@@ -2784,6 +2914,57 @@ module Aws::Resiliencehubv2
2784
2914
  include Aws::Structure
2785
2915
  end
2786
2916
 
2917
+ # @!attribute [rw] test_run_id
2918
+ # The identifier of the test run to list source events for.
2919
+ # @return [String]
2920
+ #
2921
+ # @!attribute [rw] service_arn
2922
+ # The ARN of the service the test run belongs to.
2923
+ # @return [String]
2924
+ #
2925
+ # @!attribute [rw] source_arn
2926
+ # The ARN of the monitoring source to list events for, such as the ARN
2927
+ # of a CloudWatch alarm. If the source was not monitored during the
2928
+ # test run, the response is an empty list.
2929
+ # @return [String]
2930
+ #
2931
+ # @!attribute [rw] max_results
2932
+ # Pagination page size.
2933
+ # @return [Integer]
2934
+ #
2935
+ # @!attribute [rw] next_token
2936
+ # Pagination token.
2937
+ # @return [String]
2938
+ #
2939
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/ListTestRunSourceEventsRequest AWS API Documentation
2940
+ #
2941
+ class ListTestRunSourceEventsRequest < Struct.new(
2942
+ :test_run_id,
2943
+ :service_arn,
2944
+ :source_arn,
2945
+ :max_results,
2946
+ :next_token)
2947
+ SENSITIVE = []
2948
+ include Aws::Structure
2949
+ end
2950
+
2951
+ # @!attribute [rw] test_run_source_events
2952
+ # The list of source events, in chronological order.
2953
+ # @return [Array<Types::TestRunSourceEvent>]
2954
+ #
2955
+ # @!attribute [rw] next_token
2956
+ # Pagination token.
2957
+ # @return [String]
2958
+ #
2959
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/ListTestRunSourceEventsResponse AWS API Documentation
2960
+ #
2961
+ class ListTestRunSourceEventsResponse < Struct.new(
2962
+ :test_run_source_events,
2963
+ :next_token)
2964
+ SENSITIVE = []
2965
+ include Aws::Structure
2966
+ end
2967
+
2787
2968
  # @!attribute [rw] test_run_id
2788
2969
  # The identifier of the test run to list sources for.
2789
2970
  # @return [String]
@@ -5468,8 +5649,8 @@ module Aws::Resiliencehubv2
5468
5649
  # @return [Array<String>]
5469
5650
  #
5470
5651
  # @!attribute [rw] account_targeting
5471
- # Indicates whether this test run targets a single account or multiple
5472
- # accounts.
5652
+ # Indicates whether the test run targets resources in a single AWS
5653
+ # account or across multiple accounts.
5473
5654
  # @return [String]
5474
5655
  #
5475
5656
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/TestRun AWS API Documentation
@@ -5501,6 +5682,61 @@ module Aws::Resiliencehubv2
5501
5682
  include Aws::Structure
5502
5683
  end
5503
5684
 
5685
+ # Contains summary information about a dependency that a test run
5686
+ # blocked, as captured when the run started.
5687
+ #
5688
+ # @!attribute [rw] dependency_id
5689
+ # The unique identifier of the dependency. Absent when the dependency
5690
+ # was entered manually and was not part of dependency discovery.
5691
+ # @return [String]
5692
+ #
5693
+ # @!attribute [rw] dependency_name
5694
+ # The name of the dependency.
5695
+ # @return [String]
5696
+ #
5697
+ # @!attribute [rw] dns_name
5698
+ # The DNS name of the dependency that the test run blocked.
5699
+ # @return [String]
5700
+ #
5701
+ # @!attribute [rw] criticality
5702
+ # The criticality classification of the dependency when the run
5703
+ # started. A dependency that was not discovered has the UNKNOWN
5704
+ # criticality.
5705
+ # @return [String]
5706
+ #
5707
+ # @!attribute [rw] source
5708
+ # The origin of the dependency. A discovered dependency was found by
5709
+ # dependency discovery; a manual dependency was entered when the run
5710
+ # started.
5711
+ # @return [String]
5712
+ #
5713
+ # @!attribute [rw] location
5714
+ # The location of the dependency.
5715
+ # @return [String]
5716
+ #
5717
+ # @!attribute [rw] source_regions
5718
+ # The source Regions from which the dependency was detected.
5719
+ # @return [Array<String>]
5720
+ #
5721
+ # @!attribute [rw] provider
5722
+ # The provider of the dependency.
5723
+ # @return [String]
5724
+ #
5725
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/TestRunDependencySummary AWS API Documentation
5726
+ #
5727
+ class TestRunDependencySummary < Struct.new(
5728
+ :dependency_id,
5729
+ :dependency_name,
5730
+ :dns_name,
5731
+ :criticality,
5732
+ :source,
5733
+ :location,
5734
+ :source_regions,
5735
+ :provider)
5736
+ SENSITIVE = []
5737
+ include Aws::Structure
5738
+ end
5739
+
5504
5740
  # A single event in a test run's timeline.
5505
5741
  #
5506
5742
  # @!attribute [rw] event_id
@@ -5621,6 +5857,84 @@ module Aws::Resiliencehubv2
5621
5857
  include Aws::Structure
5622
5858
  end
5623
5859
 
5860
+ # A state-change event observed for a test run monitoring source.
5861
+ #
5862
+ # @!attribute [rw] timestamp
5863
+ # The timestamp when the event occurred.
5864
+ # @return [Time]
5865
+ #
5866
+ # @!attribute [rw] source_arn
5867
+ # The ARN of the monitoring source the event belongs to.
5868
+ # @return [String]
5869
+ #
5870
+ # @!attribute [rw] event_type
5871
+ # The type of the event. ALARM indicates an event from a CloudWatch
5872
+ # alarm source; the detail member carries either the alarm state
5873
+ # change or a collection error.
5874
+ # @return [String]
5875
+ #
5876
+ # @!attribute [rw] detail
5877
+ # The event payload.
5878
+ # @return [Types::TestRunSourceEventDetail]
5879
+ #
5880
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/TestRunSourceEvent AWS API Documentation
5881
+ #
5882
+ class TestRunSourceEvent < Struct.new(
5883
+ :timestamp,
5884
+ :source_arn,
5885
+ :event_type,
5886
+ :detail)
5887
+ SENSITIVE = []
5888
+ include Aws::Structure
5889
+ end
5890
+
5891
+ # The payload of a test run source event. Exactly one member is set.
5892
+ #
5893
+ # @note TestRunSourceEventDetail is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of TestRunSourceEventDetail corresponding to the set member.
5894
+ #
5895
+ # @!attribute [rw] alarm_state_change
5896
+ # A CloudWatch alarm state change.
5897
+ # @return [Types::AlarmStateChangeDetail]
5898
+ #
5899
+ # @!attribute [rw] error
5900
+ # An error that prevented event collection from the source.
5901
+ # @return [Types::TestRunSourceEventError]
5902
+ #
5903
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/TestRunSourceEventDetail AWS API Documentation
5904
+ #
5905
+ class TestRunSourceEventDetail < Struct.new(
5906
+ :alarm_state_change,
5907
+ :error,
5908
+ :unknown)
5909
+ SENSITIVE = []
5910
+ include Aws::Structure
5911
+ include Aws::Structure::Union
5912
+
5913
+ class AlarmStateChange < TestRunSourceEventDetail; end
5914
+ class Error < TestRunSourceEventDetail; end
5915
+ class Unknown < TestRunSourceEventDetail; end
5916
+ end
5917
+
5918
+ # Describes an error that prevented event collection from a test run
5919
+ # monitoring source.
5920
+ #
5921
+ # @!attribute [rw] error_code
5922
+ # The error code.
5923
+ # @return [String]
5924
+ #
5925
+ # @!attribute [rw] error_message
5926
+ # A human-readable description of the error.
5927
+ # @return [String]
5928
+ #
5929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/TestRunSourceEventError AWS API Documentation
5930
+ #
5931
+ class TestRunSourceEventError < Struct.new(
5932
+ :error_code,
5933
+ :error_message)
5934
+ SENSITIVE = []
5935
+ include Aws::Structure
5936
+ end
5937
+
5624
5938
  # A monitoring-source snapshot captured for a test run. Exactly one
5625
5939
  # member is set.
5626
5940
  #
@@ -5722,8 +6036,8 @@ module Aws::Resiliencehubv2
5722
6036
  # @return [String]
5723
6037
  #
5724
6038
  # @!attribute [rw] account_targeting
5725
- # Indicates whether this test run targets a single account or multiple
5726
- # accounts.
6039
+ # Indicates whether the test run targets resources in a single AWS
6040
+ # account or across multiple accounts.
5727
6041
  # @return [String]
5728
6042
  #
5729
6043
  # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehubv2-2026-02-17/TestRunSummary AWS API Documentation
@@ -55,7 +55,7 @@ module Aws::Resiliencehubv2
55
55
  autoload :EndpointProvider, 'aws-sdk-resiliencehubv2/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-resiliencehubv2/endpoints'
57
57
 
58
- GEM_VERSION = '1.4.0'
58
+ GEM_VERSION = '1.5.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -109,7 +109,17 @@ module Aws
109
109
  tf_state_file_url: ::String?,
110
110
  eks: {
111
111
  cluster_arn: ::String,
112
- namespaces: Array[::String]
112
+ namespaces: Array[::String],
113
+ label_selector: {
114
+ match_labels: Hash[::String, ::String]?,
115
+ match_expressions: Array[
116
+ {
117
+ key: ::String,
118
+ operator: ("IN" | "NOT_IN" | "EXISTS" | "DOES_NOT_EXIST"),
119
+ values: Array[::String]?
120
+ }
121
+ ]?
122
+ }?
113
123
  }?,
114
124
  design_file_s3_url: ::String?
115
125
  },
@@ -747,6 +757,20 @@ module Aws
747
757
  ) -> _ListTagsForResourceResponseSuccess
748
758
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
749
759
 
760
+ interface _ListTestRunDependenciesResponseSuccess
761
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTestRunDependenciesResponse]
762
+ def dependencies: () -> ::Array[Types::TestRunDependencySummary]
763
+ def next_token: () -> ::String
764
+ end
765
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Resiliencehubv2/Client.html#list_test_run_dependencies-instance_method
766
+ def list_test_run_dependencies: (
767
+ test_run_id: ::String,
768
+ service_arn: ::String,
769
+ ?max_results: ::Integer,
770
+ ?next_token: ::String
771
+ ) -> _ListTestRunDependenciesResponseSuccess
772
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTestRunDependenciesResponseSuccess
773
+
750
774
  interface _ListTestRunEventsResponseSuccess
751
775
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTestRunEventsResponse]
752
776
  def events: () -> ::Array[Types::TestRunEvent]
@@ -763,6 +787,21 @@ module Aws
763
787
  ) -> _ListTestRunEventsResponseSuccess
764
788
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTestRunEventsResponseSuccess
765
789
 
790
+ interface _ListTestRunSourceEventsResponseSuccess
791
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTestRunSourceEventsResponse]
792
+ def test_run_source_events: () -> ::Array[Types::TestRunSourceEvent]
793
+ def next_token: () -> ::String
794
+ end
795
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Resiliencehubv2/Client.html#list_test_run_source_events-instance_method
796
+ def list_test_run_source_events: (
797
+ test_run_id: ::String,
798
+ service_arn: ::String,
799
+ source_arn: ::String,
800
+ ?max_results: ::Integer,
801
+ ?next_token: ::String
802
+ ) -> _ListTestRunSourceEventsResponseSuccess
803
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTestRunSourceEventsResponseSuccess
804
+
766
805
  interface _ListTestRunSourcesResponseSuccess
767
806
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTestRunSourcesResponse]
768
807
  def test_run_sources: () -> ::Array[Types::TestRunSourceSummary]
data/sig/types.rbs CHANGED
@@ -21,6 +21,13 @@ module Aws::Resiliencehubv2
21
21
  SENSITIVE: []
22
22
  end
23
23
 
24
+ class AlarmStateChangeDetail
25
+ attr_accessor state: ("OK" | "ALARM" | "INSUFFICIENT_DATA")
26
+ attr_accessor previous_state: ("OK" | "ALARM" | "INSUFFICIENT_DATA")
27
+ attr_accessor reason: ::String
28
+ SENSITIVE: []
29
+ end
30
+
24
31
  class Assertion
25
32
  attr_accessor service_arn: ::String
26
33
  attr_accessor assertion_id: ::String
@@ -404,9 +411,23 @@ module Aws::Resiliencehubv2
404
411
  SENSITIVE: []
405
412
  end
406
413
 
414
+ class EksLabelSelector
415
+ attr_accessor match_labels: ::Hash[::String, ::String]
416
+ attr_accessor match_expressions: ::Array[Types::EksLabelSelectorRequirement]
417
+ SENSITIVE: [:match_labels, :match_expressions]
418
+ end
419
+
420
+ class EksLabelSelectorRequirement
421
+ attr_accessor key: ::String
422
+ attr_accessor operator: ("IN" | "NOT_IN" | "EXISTS" | "DOES_NOT_EXIST")
423
+ attr_accessor values: ::Array[::String]
424
+ SENSITIVE: []
425
+ end
426
+
407
427
  class EksSource
408
428
  attr_accessor cluster_arn: ::String
409
429
  attr_accessor namespaces: ::Array[::String]
430
+ attr_accessor label_selector: Types::EksLabelSelector
410
431
  SENSITIVE: []
411
432
  end
412
433
 
@@ -841,6 +862,20 @@ module Aws::Resiliencehubv2
841
862
  SENSITIVE: [:tags]
842
863
  end
843
864
 
865
+ class ListTestRunDependenciesRequest
866
+ attr_accessor test_run_id: ::String
867
+ attr_accessor service_arn: ::String
868
+ attr_accessor max_results: ::Integer
869
+ attr_accessor next_token: ::String
870
+ SENSITIVE: []
871
+ end
872
+
873
+ class ListTestRunDependenciesResponse
874
+ attr_accessor dependencies: ::Array[Types::TestRunDependencySummary]
875
+ attr_accessor next_token: ::String
876
+ SENSITIVE: []
877
+ end
878
+
844
879
  class ListTestRunEventsRequest
845
880
  attr_accessor test_run_id: ::String
846
881
  attr_accessor service_arn: ::String
@@ -857,6 +892,21 @@ module Aws::Resiliencehubv2
857
892
  SENSITIVE: []
858
893
  end
859
894
 
895
+ class ListTestRunSourceEventsRequest
896
+ attr_accessor test_run_id: ::String
897
+ attr_accessor service_arn: ::String
898
+ attr_accessor source_arn: ::String
899
+ attr_accessor max_results: ::Integer
900
+ attr_accessor next_token: ::String
901
+ SENSITIVE: []
902
+ end
903
+
904
+ class ListTestRunSourceEventsResponse
905
+ attr_accessor test_run_source_events: ::Array[Types::TestRunSourceEvent]
906
+ attr_accessor next_token: ::String
907
+ SENSITIVE: []
908
+ end
909
+
860
910
  class ListTestRunSourcesRequest
861
911
  attr_accessor test_run_id: ::String
862
912
  attr_accessor service_arn: ::String
@@ -1685,6 +1735,18 @@ module Aws::Resiliencehubv2
1685
1735
  SENSITIVE: []
1686
1736
  end
1687
1737
 
1738
+ class TestRunDependencySummary
1739
+ attr_accessor dependency_id: ::String
1740
+ attr_accessor dependency_name: ::String
1741
+ attr_accessor dns_name: ::String
1742
+ attr_accessor criticality: ("HARD" | "SOFT" | "UNKNOWN")
1743
+ attr_accessor source: ("DISCOVERED" | "MANUAL")
1744
+ attr_accessor location: ::String
1745
+ attr_accessor source_regions: ::Array[::String]
1746
+ attr_accessor provider: ::String
1747
+ SENSITIVE: []
1748
+ end
1749
+
1688
1750
  class TestRunEvent
1689
1751
  attr_accessor event_id: ::String
1690
1752
  attr_accessor event_type: ::String
@@ -1717,6 +1779,34 @@ module Aws::Resiliencehubv2
1717
1779
  SENSITIVE: []
1718
1780
  end
1719
1781
 
1782
+ class TestRunSourceEvent
1783
+ attr_accessor timestamp: ::Time
1784
+ attr_accessor source_arn: ::String
1785
+ attr_accessor event_type: ("ALARM")
1786
+ attr_accessor detail: Types::TestRunSourceEventDetail
1787
+ SENSITIVE: []
1788
+ end
1789
+
1790
+ class TestRunSourceEventDetail
1791
+ attr_accessor alarm_state_change: Types::AlarmStateChangeDetail
1792
+ attr_accessor error: Types::TestRunSourceEventError
1793
+ attr_accessor unknown: untyped
1794
+ SENSITIVE: []
1795
+
1796
+ class AlarmStateChange < TestRunSourceEventDetail
1797
+ end
1798
+ class Error < TestRunSourceEventDetail
1799
+ end
1800
+ class Unknown < TestRunSourceEventDetail
1801
+ end
1802
+ end
1803
+
1804
+ class TestRunSourceEventError
1805
+ attr_accessor error_code: ("ACCESS_DENIED" | "INTERNAL_ERROR")
1806
+ attr_accessor error_message: ::String
1807
+ SENSITIVE: []
1808
+ end
1809
+
1720
1810
  class TestRunSourceSummary
1721
1811
  attr_accessor success_criteria_alarm: Types::TestRunSuccessCriteriaAlarmSummary
1722
1812
  attr_accessor observability_alarm: Types::TestRunObservabilityAlarmSummary
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-resiliencehubv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services