aws-sdk-resiliencehub 1.43.0 → 1.45.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9621ddca7b5db13ce2c1bd8f441b81952a243ed5e723dbad8bf6b38659431d50
4
- data.tar.gz: a0d99ba526bedebf0e801fdf88a5f30e254cea4e03af941c76d8d0f56212359e
3
+ metadata.gz: 7b34dd1335eca25fd3e9d586150557e4584c62192e63e92d7659fe56c0b190d9
4
+ data.tar.gz: 185bcba37bf1e2e6445f128d29e66e33e17e388182e3d2ba2c05a7f0af22ae58
5
5
  SHA512:
6
- metadata.gz: a60790c408a9aa71ee0717238988d9a4dfddc774275417e7f1c22461d1302b3c1e5c6f4a5d219f5e8e612fbd449d45ec213fe7e6f7d64aa6b27d14218378c820
7
- data.tar.gz: 2905f36cd94d87ebe0409b8803245abfb2083c86f3eff050e88f8a75d4ed2deab9594345a3f010a65919e3e13967ba19068d2c9e78d0e166336afcaaac9676c3
6
+ metadata.gz: ee2771ba100ad6058e5a6950dba57791729fec92fe28870e8e55b74274f03ac631c8bb927422f32825e539e2a6fd7640837ed525ae001aec004932728ad3deab
7
+ data.tar.gz: 3125bba8a859fe40ed6a89c799fdad62a91cdebcb873388e82dca75db7918ad4beb867fcb859aa21e56befcbb171a2df587111c619738a7c461add88a755ecbb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2024-12-18)
5
+ ------------------
6
+
7
+ * Feature - AWS Resilience Hub now automatically detects already configured CloudWatch alarms and FIS experiments as part of the assessment process and returns the discovered resources in the corresponding list API responses. It also allows you to include or exclude test recommendations for an AppComponent.
8
+
9
+ 1.44.0 (2024-11-21)
10
+ ------------------
11
+
12
+ * Feature - AWS Resilience Hub's new summary view visually represents applications' resilience through charts, enabling efficient resilience management. It provides a consolidated view of the app portfolio's resilience state and allows data export for custom stakeholder reporting.
13
+
4
14
  1.43.0 (2024-11-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.45.0
@@ -462,8 +462,8 @@ module Aws::ResilienceHub
462
462
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
463
463
  #
464
464
  # @option params [required, Array<Types::AcceptGroupingRecommendationEntry>] :entries
465
- # Indicates the list of resource grouping recommendations you want to
466
- # include in your application.
465
+ # List of resource grouping recommendations you want to include in your
466
+ # application.
467
467
  #
468
468
  # @return [Types::AcceptResourceGroupingRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
469
469
  #
@@ -613,6 +613,7 @@ module Aws::ResilienceHub
613
613
  # app_arn: "Arn", # required
614
614
  # request_entries: [ # required
615
615
  # {
616
+ # app_component_id: "EntityName255",
616
617
  # entry_id: "String255", # required
617
618
  # exclude_reason: "AlreadyImplemented", # accepts AlreadyImplemented, NotRelevant, ComplexityOfImplementation
618
619
  # excluded: false, # required
@@ -633,6 +634,7 @@ module Aws::ResilienceHub
633
634
  # resp.failed_entries[0].entry_id #=> String
634
635
  # resp.failed_entries[0].error_message #=> String
635
636
  # resp.successful_entries #=> Array
637
+ # resp.successful_entries[0].app_component_id #=> String
636
638
  # resp.successful_entries[0].entry_id #=> String
637
639
  # resp.successful_entries[0].exclude_reason #=> String, one of "AlreadyImplemented", "NotRelevant", "ComplexityOfImplementation"
638
640
  # resp.successful_entries[0].excluded #=> Boolean
@@ -1147,10 +1149,10 @@ module Aws::ResilienceHub
1147
1149
  # time objective (RTO) and recovery point objective (RPO) in seconds.
1148
1150
  #
1149
1151
  # @option params [String] :policy_description
1150
- # The description for the policy.
1152
+ # Description of the resiliency policy.
1151
1153
  #
1152
1154
  # @option params [required, String] :policy_name
1153
- # The name of the policy
1155
+ # Name of the resiliency policy.
1154
1156
  #
1155
1157
  # @option params [Hash<String,String>] :tags
1156
1158
  # Tags assigned to the resource. A tag is a label that you assign to an
@@ -2163,6 +2165,41 @@ module Aws::ResilienceHub
2163
2165
  req.send_request(options)
2164
2166
  end
2165
2167
 
2168
+ # Describes the metrics of the application configuration being exported.
2169
+ #
2170
+ # @option params [required, String] :metrics_export_id
2171
+ # Identifier of the metrics export task.
2172
+ #
2173
+ # @return [Types::DescribeMetricsExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2174
+ #
2175
+ # * {Types::DescribeMetricsExportResponse#error_message #error_message} => String
2176
+ # * {Types::DescribeMetricsExportResponse#export_location #export_location} => Types::S3Location
2177
+ # * {Types::DescribeMetricsExportResponse#metrics_export_id #metrics_export_id} => String
2178
+ # * {Types::DescribeMetricsExportResponse#status #status} => String
2179
+ #
2180
+ # @example Request syntax with placeholder values
2181
+ #
2182
+ # resp = client.describe_metrics_export({
2183
+ # metrics_export_id: "String255", # required
2184
+ # })
2185
+ #
2186
+ # @example Response structure
2187
+ #
2188
+ # resp.error_message #=> String
2189
+ # resp.export_location.bucket #=> String
2190
+ # resp.export_location.prefix #=> String
2191
+ # resp.metrics_export_id #=> String
2192
+ # resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
2193
+ #
2194
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeMetricsExport AWS API Documentation
2195
+ #
2196
+ # @overload describe_metrics_export(params = {})
2197
+ # @param [Hash] params ({})
2198
+ def describe_metrics_export(params = {}, options = {})
2199
+ req = build_request(:describe_metrics_export, params)
2200
+ req.send_request(options)
2201
+ end
2202
+
2166
2203
  # Describes a specified resiliency policy for an Resilience Hub
2167
2204
  # application. The returned policy object includes creation time, data
2168
2205
  # location constraints, the Amazon Resource Name (ARN) for the policy,
@@ -2228,7 +2265,7 @@ module Aws::ResilienceHub
2228
2265
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2229
2266
  #
2230
2267
  # @option params [String] :grouping_id
2231
- # Indicates the identifier of the grouping recommendation task.
2268
+ # Identifier of the grouping recommendation task.
2232
2269
  #
2233
2270
  # @return [Types::DescribeResourceGroupingRecommendationTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2234
2271
  #
@@ -2389,8 +2426,12 @@ module Aws::ResilienceHub
2389
2426
  # resp.alarm_recommendations[0].description #=> String
2390
2427
  # resp.alarm_recommendations[0].items #=> Array
2391
2428
  # resp.alarm_recommendations[0].items[0].already_implemented #=> Boolean
2429
+ # resp.alarm_recommendations[0].items[0].discovered_alarm.alarm_arn #=> String
2430
+ # resp.alarm_recommendations[0].items[0].discovered_alarm.source #=> String
2392
2431
  # resp.alarm_recommendations[0].items[0].exclude_reason #=> String, one of "AlreadyImplemented", "NotRelevant", "ComplexityOfImplementation"
2393
2432
  # resp.alarm_recommendations[0].items[0].excluded #=> Boolean
2433
+ # resp.alarm_recommendations[0].items[0].latest_discovered_experiment.experiment_arn #=> String
2434
+ # resp.alarm_recommendations[0].items[0].latest_discovered_experiment.experiment_template_id #=> String
2394
2435
  # resp.alarm_recommendations[0].items[0].resource_id #=> String
2395
2436
  # resp.alarm_recommendations[0].items[0].target_account_id #=> String
2396
2437
  # resp.alarm_recommendations[0].items[0].target_region #=> String
@@ -2411,8 +2452,8 @@ module Aws::ResilienceHub
2411
2452
  req.send_request(options)
2412
2453
  end
2413
2454
 
2414
- # Indicates the list of compliance drifts that were detected while
2415
- # running an assessment.
2455
+ # List of compliance drifts that were detected while running an
2456
+ # assessment.
2416
2457
  #
2417
2458
  # @option params [required, String] :assessment_arn
2418
2459
  # Amazon Resource Name (ARN) of the assessment. The format for this ARN
@@ -2426,7 +2467,7 @@ module Aws::ResilienceHub
2426
2467
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2427
2468
  #
2428
2469
  # @option params [Integer] :max_results
2429
- # Indicates the maximum number of compliance drifts requested.
2470
+ # Maximum number of compliance drifts requested.
2430
2471
  #
2431
2472
  # @option params [String] :next_token
2432
2473
  # Null, or the token from a previous call to get the next set of
@@ -2491,8 +2532,8 @@ module Aws::ResilienceHub
2491
2532
  req.send_request(options)
2492
2533
  end
2493
2534
 
2494
- # Indicates the list of resource drifts that were detected while running
2495
- # an assessment.
2535
+ # List of resource drifts that were detected while running an
2536
+ # assessment.
2496
2537
  #
2497
2538
  # @option params [required, String] :assessment_arn
2498
2539
  # Amazon Resource Name (ARN) of the assessment. The format for this ARN
@@ -2506,10 +2547,10 @@ module Aws::ResilienceHub
2506
2547
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2507
2548
  #
2508
2549
  # @option params [Integer] :max_results
2509
- # Indicates the maximum number of drift results to include in the
2510
- # response. If more results exist than the specified `MaxResults` value,
2511
- # a token is included in the response so that the remaining results can
2512
- # be retrieved.
2550
+ # Maximum number of drift results to include in the response. If more
2551
+ # results exist than the specified `MaxResults` value, a token is
2552
+ # included in the response so that the remaining results can be
2553
+ # retrieved.
2513
2554
  #
2514
2555
  # @option params [String] :next_token
2515
2556
  # Null, or the token from a previous call to get the next set of
@@ -3184,8 +3225,8 @@ module Aws::ResilienceHub
3184
3225
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3185
3226
  #
3186
3227
  # @option params [Time,DateTime,Date,Integer,String] :from_last_assessment_time
3187
- # Indicates the lower limit of the range that is used to filter
3188
- # applications based on their last assessment times.
3228
+ # Lower limit of the range that is used to filter applications based on
3229
+ # their last assessment times.
3189
3230
  #
3190
3231
  # @option params [Integer] :max_results
3191
3232
  # Maximum number of results to include in the response. If more results
@@ -3206,8 +3247,8 @@ module Aws::ResilienceHub
3206
3247
  # descending order, set this field to `True`.
3207
3248
  #
3208
3249
  # @option params [Time,DateTime,Date,Integer,String] :to_last_assessment_time
3209
- # Indicates the upper limit of the range that is used to filter the
3210
- # applications based on their last assessment times.
3250
+ # Upper limit of the range that is used to filter the applications based
3251
+ # on their last assessment times.
3211
3252
  #
3212
3253
  # @return [Types::ListAppsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3213
3254
  #
@@ -3256,6 +3297,81 @@ module Aws::ResilienceHub
3256
3297
  req.send_request(options)
3257
3298
  end
3258
3299
 
3300
+ # Lists the metrics that can be exported.
3301
+ #
3302
+ # @option params [Array<Types::Condition>] :conditions
3303
+ # Indicates the list of all the conditions that were applied on the
3304
+ # metrics.
3305
+ #
3306
+ # @option params [String] :data_source
3307
+ # Indicates the data source of the metrics.
3308
+ #
3309
+ # @option params [Array<Types::Field>] :fields
3310
+ # Indicates the list of fields in the data source.
3311
+ #
3312
+ # @option params [Integer] :max_results
3313
+ # Maximum number of results to include in the response. If more results
3314
+ # exist than the specified `MaxResults` value, a token is included in
3315
+ # the response so that the remaining results can be retrieved.
3316
+ #
3317
+ # @option params [String] :next_token
3318
+ # Null, or the token from a previous call to get the next set of
3319
+ # results.
3320
+ #
3321
+ # @option params [Array<Types::Sort>] :sorts
3322
+ # (Optional) Indicates the order in which you want to sort the fields in
3323
+ # the metrics. By default, the fields are sorted in the ascending order.
3324
+ #
3325
+ # @return [Types::ListMetricsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3326
+ #
3327
+ # * {Types::ListMetricsResponse#next_token #next_token} => String
3328
+ # * {Types::ListMetricsResponse#rows #rows} => Array&lt;Array&lt;String&gt;&gt;
3329
+ #
3330
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3331
+ #
3332
+ # @example Request syntax with placeholder values
3333
+ #
3334
+ # resp = client.list_metrics({
3335
+ # conditions: [
3336
+ # {
3337
+ # field: "String255", # required
3338
+ # operator: "Equals", # required, accepts Equals, NotEquals, GreaterThen, GreaterOrEquals, LessThen, LessOrEquals
3339
+ # value: "String255",
3340
+ # },
3341
+ # ],
3342
+ # data_source: "String255",
3343
+ # fields: [
3344
+ # {
3345
+ # aggregation: "Min", # accepts Min, Max, Sum, Avg, Count
3346
+ # name: "String255", # required
3347
+ # },
3348
+ # ],
3349
+ # max_results: 1,
3350
+ # next_token: "NextToken",
3351
+ # sorts: [
3352
+ # {
3353
+ # ascending: false,
3354
+ # field: "String255", # required
3355
+ # },
3356
+ # ],
3357
+ # })
3358
+ #
3359
+ # @example Response structure
3360
+ #
3361
+ # resp.next_token #=> String
3362
+ # resp.rows #=> Array
3363
+ # resp.rows[0] #=> Array
3364
+ # resp.rows[0][0] #=> String
3365
+ #
3366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListMetrics AWS API Documentation
3367
+ #
3368
+ # @overload list_metrics(params = {})
3369
+ # @param [Hash] params ({})
3370
+ def list_metrics(params = {}, options = {})
3371
+ req = build_request(:list_metrics, params)
3372
+ req.send_request(options)
3373
+ end
3374
+
3259
3375
  # Lists the recommendation templates for the Resilience Hub
3260
3376
  # applications.
3261
3377
  #
@@ -3355,7 +3471,7 @@ module Aws::ResilienceHub
3355
3471
  # results.
3356
3472
  #
3357
3473
  # @option params [String] :policy_name
3358
- # The name of the policy
3474
+ # Name of the resiliency policy.
3359
3475
  #
3360
3476
  # @return [Types::ListResiliencyPoliciesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3361
3477
  #
@@ -3520,8 +3636,12 @@ module Aws::ResilienceHub
3520
3636
  # resp.sop_recommendations[0].description #=> String
3521
3637
  # resp.sop_recommendations[0].items #=> Array
3522
3638
  # resp.sop_recommendations[0].items[0].already_implemented #=> Boolean
3639
+ # resp.sop_recommendations[0].items[0].discovered_alarm.alarm_arn #=> String
3640
+ # resp.sop_recommendations[0].items[0].discovered_alarm.source #=> String
3523
3641
  # resp.sop_recommendations[0].items[0].exclude_reason #=> String, one of "AlreadyImplemented", "NotRelevant", "ComplexityOfImplementation"
3524
3642
  # resp.sop_recommendations[0].items[0].excluded #=> Boolean
3643
+ # resp.sop_recommendations[0].items[0].latest_discovered_experiment.experiment_arn #=> String
3644
+ # resp.sop_recommendations[0].items[0].latest_discovered_experiment.experiment_template_id #=> String
3525
3645
  # resp.sop_recommendations[0].items[0].resource_id #=> String
3526
3646
  # resp.sop_recommendations[0].items[0].target_account_id #=> String
3527
3647
  # resp.sop_recommendations[0].items[0].target_region #=> String
@@ -3664,6 +3784,7 @@ module Aws::ResilienceHub
3664
3784
  #
3665
3785
  # resp.next_token #=> String
3666
3786
  # resp.test_recommendations #=> Array
3787
+ # resp.test_recommendations[0].app_component_id #=> String
3667
3788
  # resp.test_recommendations[0].app_component_name #=> String
3668
3789
  # resp.test_recommendations[0].depends_on_alarms #=> Array
3669
3790
  # resp.test_recommendations[0].depends_on_alarms[0] #=> String
@@ -3671,8 +3792,12 @@ module Aws::ResilienceHub
3671
3792
  # resp.test_recommendations[0].intent #=> String
3672
3793
  # resp.test_recommendations[0].items #=> Array
3673
3794
  # resp.test_recommendations[0].items[0].already_implemented #=> Boolean
3795
+ # resp.test_recommendations[0].items[0].discovered_alarm.alarm_arn #=> String
3796
+ # resp.test_recommendations[0].items[0].discovered_alarm.source #=> String
3674
3797
  # resp.test_recommendations[0].items[0].exclude_reason #=> String, one of "AlreadyImplemented", "NotRelevant", "ComplexityOfImplementation"
3675
3798
  # resp.test_recommendations[0].items[0].excluded #=> Boolean
3799
+ # resp.test_recommendations[0].items[0].latest_discovered_experiment.experiment_arn #=> String
3800
+ # resp.test_recommendations[0].items[0].latest_discovered_experiment.experiment_template_id #=> String
3676
3801
  # resp.test_recommendations[0].items[0].resource_id #=> String
3677
3802
  # resp.test_recommendations[0].items[0].target_account_id #=> String
3678
3803
  # resp.test_recommendations[0].items[0].target_region #=> String
@@ -4102,8 +4227,8 @@ module Aws::ResilienceHub
4102
4227
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
4103
4228
  #
4104
4229
  # @option params [required, Array<Types::RejectGroupingRecommendationEntry>] :entries
4105
- # Indicates the list of resource grouping recommendations you have
4106
- # selected to exclude from your application.
4230
+ # List of resource grouping recommendations you have selected to exclude
4231
+ # from your application.
4107
4232
  #
4108
4233
  # @return [Types::RejectResourceGroupingRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4109
4234
  #
@@ -4374,6 +4499,46 @@ module Aws::ResilienceHub
4374
4499
  req.send_request(options)
4375
4500
  end
4376
4501
 
4502
+ # Initiates the export task of metrics.
4503
+ #
4504
+ # @option params [String] :bucket_name
4505
+ # (Optional) Specifies the name of the Amazon Simple Storage Service
4506
+ # bucket where the exported metrics will be stored.
4507
+ #
4508
+ # @option params [String] :client_token
4509
+ # Used for an idempotency token. A client token is a unique,
4510
+ # case-sensitive string of up to 64 ASCII characters. You should not
4511
+ # reuse the same client token for other API requests.
4512
+ #
4513
+ # **A suitable default value is auto-generated.** You should normally
4514
+ # not need to pass this option.**
4515
+ #
4516
+ # @return [Types::StartMetricsExportResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4517
+ #
4518
+ # * {Types::StartMetricsExportResponse#metrics_export_id #metrics_export_id} => String
4519
+ # * {Types::StartMetricsExportResponse#status #status} => String
4520
+ #
4521
+ # @example Request syntax with placeholder values
4522
+ #
4523
+ # resp = client.start_metrics_export({
4524
+ # bucket_name: "EntityName",
4525
+ # client_token: "ClientToken",
4526
+ # })
4527
+ #
4528
+ # @example Response structure
4529
+ #
4530
+ # resp.metrics_export_id #=> String
4531
+ # resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
4532
+ #
4533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartMetricsExport AWS API Documentation
4534
+ #
4535
+ # @overload start_metrics_export(params = {})
4536
+ # @param [Hash] params ({})
4537
+ def start_metrics_export(params = {}, options = {})
4538
+ req = build_request(:start_metrics_export, params)
4539
+ req.send_request(options)
4540
+ end
4541
+
4377
4542
  # Starts grouping recommendation task.
4378
4543
  #
4379
4544
  # @option params [required, String] :app_arn
@@ -4868,8 +5033,8 @@ module Aws::ResilienceHub
4868
5033
  # resilience policy data can be stored.
4869
5034
  #
4870
5035
  # @option params [Hash<String,Types::FailurePolicy>] :policy
4871
- # The type of resiliency policy to be created, including the recovery
4872
- # time objective (RTO) and recovery point objective (RPO) in seconds.
5036
+ # Resiliency policy to be created, including the recovery time objective
5037
+ # (RTO) and recovery point objective (RPO) in seconds.
4873
5038
  #
4874
5039
  # @option params [required, String] :policy_arn
4875
5040
  # Amazon Resource Name (ARN) of the resiliency policy. The format for
@@ -4883,10 +5048,10 @@ module Aws::ResilienceHub
4883
5048
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
4884
5049
  #
4885
5050
  # @option params [String] :policy_description
4886
- # The description for the policy.
5051
+ # Description of the resiliency policy.
4887
5052
  #
4888
5053
  # @option params [String] :policy_name
4889
- # The name of the policy
5054
+ # Name of the resiliency policy.
4890
5055
  #
4891
5056
  # @option params [String] :tier
4892
5057
  # The tier for this resiliency policy, ranging from the highest severity
@@ -4954,7 +5119,7 @@ module Aws::ResilienceHub
4954
5119
  tracer: tracer
4955
5120
  )
4956
5121
  context[:gem_name] = 'aws-sdk-resiliencehub'
4957
- context[:gem_version] = '1.43.0'
5122
+ context[:gem_version] = '1.45.0'
4958
5123
  Seahorse::Client::Request.new(handlers, context)
4959
5124
  end
4960
5125