aws-sdk-resiliencehub 1.19.0 → 1.21.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: c0475a8494b1961d6a341e079f393dc308430f077a7b3df4c7ea57780b1ddf6b
4
- data.tar.gz: 47903a61191f7c28f4200ce5502c343520b9d6b9e89ce6bef243a457b6a8ce70
3
+ metadata.gz: '0814f3fccd7816b2986290749fecfe05f8db804e20f5ecf78644bdce2c1e1633'
4
+ data.tar.gz: fbaaf6b466df8673f9c81a84a8f3338ab1d3254ebc1076554d5001796890a9ed
5
5
  SHA512:
6
- metadata.gz: 7fb9d628cc576424e39beeb0f8426949e64c47590130511762e9b78282fd95020e777d8e22f5cff0c75e05a40cda17bfbb4cae54d40e8cc983c42615be921d9d
7
- data.tar.gz: 1ad20b2b99ff250ad84ec11bc4a74e536b067d310583094199de107dae18cc6229d52a687be2cd6bcb0e5c451295dff754e822d755ac21249d1f3edf72aab5fe
6
+ metadata.gz: c88c93ee2ee560a9ac5152676aef66e2bb045383a9673db5c944ddd118ed8fdcfcc6ec4bc8d8144e52d44b782b5aff9f19460047f5f0d62cef264aa6c9a17f7d
7
+ data.tar.gz: a9b937e67ff1741f29150f6a3a90ed0061a1909fc0d9b7494fbe2c3bc21f992d1ca8077da8e5d844459d82ffa182d3d761eeaec6df25bcfc1d7eeae58d0a8e22
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2023-10-30)
5
+ ------------------
6
+
7
+ * Feature - Introduced the ability to filter applications by their last assessment date and time and have included metrics for the application's estimated workload Recovery Time Objective (RTO) and estimated workload Recovery Point Objective (RPO).
8
+
9
+ 1.20.0 (2023-09-27)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.19.0 (2023-08-02)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.19.0
1
+ 1.21.0
@@ -388,15 +388,24 @@ module Aws::ResilienceHub
388
388
 
389
389
  # @!group API Operations
390
390
 
391
- # Adds the resource mapping for the draft application version. You can
392
- # also update an existing resource mapping to a new physical resource.
391
+ # Adds the source of resource-maps to the draft version of an
392
+ # application. During assessment, Resilience Hub will use these
393
+ # resource-maps to resolve the latest physical ID for each resource in
394
+ # the application template. For more information about different types
395
+ # of resources suported by Resilience Hub and how to add them in your
396
+ # application, see [Step 2: How is your application managed?][1] in the
397
+ # Resilience Hub User Guide.
398
+ #
399
+ #
400
+ #
401
+ # [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/how-app-manage.html
393
402
  #
394
403
  # @option params [required, String] :app_arn
395
404
  # Amazon Resource Name (ARN) of the Resilience Hub application. The
396
405
  # format for this ARN is:
397
406
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
398
407
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
399
- # the *AWS General Reference* guide.
408
+ # the *Amazon Web Services General Reference* guide.
400
409
  #
401
410
  #
402
411
  #
@@ -473,7 +482,7 @@ module Aws::ResilienceHub
473
482
  # format for this ARN is:
474
483
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
475
484
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
476
- # the *AWS General Reference* guide.
485
+ # the *Amazon Web Services General Reference* guide.
477
486
  #
478
487
  #
479
488
  #
@@ -586,7 +595,7 @@ module Aws::ResilienceHub
586
595
  # this ARN is:
587
596
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
588
597
  # For more information about ARNs, see [ Amazon Resource Names
589
- # (ARNs)][1] in the *AWS General Reference* guide.
598
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
590
599
  #
591
600
  #
592
601
  #
@@ -647,6 +656,8 @@ module Aws::ResilienceHub
647
656
  # resp.app.permission_model.type #=> String, one of "LegacyIAMUser", "RoleBased"
648
657
  # resp.app.policy_arn #=> String
649
658
  # resp.app.resiliency_score #=> Float
659
+ # resp.app.rpo_in_secs #=> Integer
660
+ # resp.app.rto_in_secs #=> Integer
650
661
  # resp.app.status #=> String, one of "Active", "Deleting"
651
662
  # resp.app.tags #=> Hash
652
663
  # resp.app.tags["TagKey"] #=> String
@@ -677,7 +688,7 @@ module Aws::ResilienceHub
677
688
  # format for this ARN is:
678
689
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
679
690
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
680
- # the *AWS General Reference* guide.
691
+ # the *Amazon Web Services General Reference* guide.
681
692
  #
682
693
  #
683
694
  #
@@ -769,7 +780,7 @@ module Aws::ResilienceHub
769
780
  # format for this ARN is:
770
781
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
771
782
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
772
- # the *AWS General Reference* guide.
783
+ # the *Amazon Web Services General Reference* guide.
773
784
  #
774
785
  #
775
786
  #
@@ -881,7 +892,7 @@ module Aws::ResilienceHub
881
892
  # is:
882
893
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
883
894
  # For more information about ARNs, see [ Amazon Resource Names
884
- # (ARNs)][1] in the *AWS General Reference* guide.
895
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
885
896
  #
886
897
  #
887
898
  #
@@ -988,6 +999,16 @@ module Aws::ResilienceHub
988
999
 
989
1000
  # Creates a resiliency policy for an application.
990
1001
  #
1002
+ # <note markdown="1"> Resilience Hub allows you to provide a value of zero for `rtoInSecs`
1003
+ # and `rpoInSecs` of your resiliency policy. But, while assessing your
1004
+ # application, the lowest possible assessment result is near zero.
1005
+ # Hence, if you provide value zero for `rtoInSecs` and `rpoInSecs`, the
1006
+ # estimated workload RTO and estimated workload RPO result will be near
1007
+ # zero and the **Compliance status** for your application will be set to
1008
+ # **Policy breached**.
1009
+ #
1010
+ # </note>
1011
+ #
991
1012
  # @option params [String] :client_token
992
1013
  # Used for an idempotency token. A client token is a unique,
993
1014
  # case-sensitive string of up to 64 ASCII characters. You should not
@@ -1073,7 +1094,7 @@ module Aws::ResilienceHub
1073
1094
  # format for this ARN is:
1074
1095
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1075
1096
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1076
- # the *AWS General Reference* guide.
1097
+ # the *Amazon Web Services General Reference* guide.
1077
1098
  #
1078
1099
  #
1079
1100
  #
@@ -1124,7 +1145,7 @@ module Aws::ResilienceHub
1124
1145
  # is:
1125
1146
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
1126
1147
  # For more information about ARNs, see [ Amazon Resource Names
1127
- # (ARNs)][1] in the *AWS General Reference* guide.
1148
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
1128
1149
  #
1129
1150
  #
1130
1151
  #
@@ -1172,7 +1193,7 @@ module Aws::ResilienceHub
1172
1193
  # format for this ARN is:
1173
1194
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1174
1195
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1175
- # the *AWS General Reference* guide.
1196
+ # the *Amazon Web Services General Reference* guide.
1176
1197
  #
1177
1198
  #
1178
1199
  #
@@ -1193,8 +1214,8 @@ module Aws::ResilienceHub
1193
1214
  # @option params [String] :source_arn
1194
1215
  # The Amazon Resource Name (ARN) of the imported resource you want to
1195
1216
  # remove from the Resilience Hub application. For more information about
1196
- # ARNs, see [ Amazon Resource Names (ARNs)][1] in the *AWS General
1197
- # Reference* guide.
1217
+ # ARNs, see [ Amazon Resource Names (ARNs)][1] in the *Amazon Web
1218
+ # Services General Reference* guide.
1198
1219
  #
1199
1220
  #
1200
1221
  #
@@ -1261,7 +1282,7 @@ module Aws::ResilienceHub
1261
1282
  # format for this ARN is:
1262
1283
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1263
1284
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1264
- # the *AWS General Reference* guide.
1285
+ # the *Amazon Web Services General Reference* guide.
1265
1286
  #
1266
1287
  #
1267
1288
  #
@@ -1332,7 +1353,7 @@ module Aws::ResilienceHub
1332
1353
  # format for this ARN is:
1333
1354
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1334
1355
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1335
- # the *AWS General Reference* guide.
1356
+ # the *Amazon Web Services General Reference* guide.
1336
1357
  #
1337
1358
  #
1338
1359
  #
@@ -1479,7 +1500,7 @@ module Aws::ResilienceHub
1479
1500
  # this ARN is:
1480
1501
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
1481
1502
  # For more information about ARNs, see [ Amazon Resource Names
1482
- # (ARNs)][1] in the *AWS General Reference* guide.
1503
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
1483
1504
  #
1484
1505
  #
1485
1506
  #
@@ -1516,7 +1537,7 @@ module Aws::ResilienceHub
1516
1537
  # format for this ARN is:
1517
1538
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1518
1539
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1519
- # the *AWS General Reference* guide.
1540
+ # the *Amazon Web Services General Reference* guide.
1520
1541
  #
1521
1542
  #
1522
1543
  #
@@ -1554,6 +1575,8 @@ module Aws::ResilienceHub
1554
1575
  # resp.app.permission_model.type #=> String, one of "LegacyIAMUser", "RoleBased"
1555
1576
  # resp.app.policy_arn #=> String
1556
1577
  # resp.app.resiliency_score #=> Float
1578
+ # resp.app.rpo_in_secs #=> Integer
1579
+ # resp.app.rto_in_secs #=> Integer
1557
1580
  # resp.app.status #=> String, one of "Active", "Deleting"
1558
1581
  # resp.app.tags #=> Hash
1559
1582
  # resp.app.tags["TagKey"] #=> String
@@ -1574,7 +1597,7 @@ module Aws::ResilienceHub
1574
1597
  # is:
1575
1598
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
1576
1599
  # For more information about ARNs, see [ Amazon Resource Names
1577
- # (ARNs)][1] in the *AWS General Reference* guide.
1600
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
1578
1601
  #
1579
1602
  #
1580
1603
  #
@@ -1657,7 +1680,7 @@ module Aws::ResilienceHub
1657
1680
  # format for this ARN is:
1658
1681
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1659
1682
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1660
- # the *AWS General Reference* guide.
1683
+ # the *Amazon Web Services General Reference* guide.
1661
1684
  #
1662
1685
  #
1663
1686
  #
@@ -1703,7 +1726,7 @@ module Aws::ResilienceHub
1703
1726
  # format for this ARN is:
1704
1727
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1705
1728
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1706
- # the *AWS General Reference* guide.
1729
+ # the *Amazon Web Services General Reference* guide.
1707
1730
  #
1708
1731
  #
1709
1732
  #
@@ -1768,7 +1791,7 @@ module Aws::ResilienceHub
1768
1791
  # format for this ARN is:
1769
1792
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1770
1793
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1771
- # the *AWS General Reference* guide.
1794
+ # the *Amazon Web Services General Reference* guide.
1772
1795
  #
1773
1796
  #
1774
1797
  #
@@ -1863,7 +1886,7 @@ module Aws::ResilienceHub
1863
1886
  # format for this ARN is:
1864
1887
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1865
1888
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1866
- # the *AWS General Reference* guide.
1889
+ # the *Amazon Web Services General Reference* guide.
1867
1890
  #
1868
1891
  #
1869
1892
  #
@@ -1915,7 +1938,7 @@ module Aws::ResilienceHub
1915
1938
  # format for this ARN is:
1916
1939
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1917
1940
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1918
- # the *AWS General Reference* guide.
1941
+ # the *Amazon Web Services General Reference* guide.
1919
1942
  #
1920
1943
  #
1921
1944
  #
@@ -1967,7 +1990,7 @@ module Aws::ResilienceHub
1967
1990
  # format for this ARN is:
1968
1991
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
1969
1992
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
1970
- # the *AWS General Reference* guide.
1993
+ # the *Amazon Web Services General Reference* guide.
1971
1994
  #
1972
1995
  #
1973
1996
  #
@@ -2014,7 +2037,7 @@ module Aws::ResilienceHub
2014
2037
  # this ARN is:
2015
2038
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
2016
2039
  # For more information about ARNs, see [ Amazon Resource Names
2017
- # (ARNs)][1] in the *AWS General Reference* guide.
2040
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
2018
2041
  #
2019
2042
  #
2020
2043
  #
@@ -2068,7 +2091,7 @@ module Aws::ResilienceHub
2068
2091
  # format for this ARN is:
2069
2092
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2070
2093
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2071
- # the *AWS General Reference* guide.
2094
+ # the *Amazon Web Services General Reference* guide.
2072
2095
  #
2073
2096
  #
2074
2097
  #
@@ -2146,7 +2169,7 @@ module Aws::ResilienceHub
2146
2169
  # is:
2147
2170
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2148
2171
  # For more information about ARNs, see [ Amazon Resource Names
2149
- # (ARNs)][1] in the *AWS General Reference* guide.
2172
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
2150
2173
  #
2151
2174
  #
2152
2175
  #
@@ -2214,7 +2237,7 @@ module Aws::ResilienceHub
2214
2237
  # is:
2215
2238
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2216
2239
  # For more information about ARNs, see [ Amazon Resource Names
2217
- # (ARNs)][1] in the *AWS General Reference* guide.
2240
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
2218
2241
  #
2219
2242
  #
2220
2243
  #
@@ -2295,7 +2318,7 @@ module Aws::ResilienceHub
2295
2318
  # format for this ARN is:
2296
2319
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2297
2320
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2298
- # the *AWS General Reference* guide.
2321
+ # the *Amazon Web Services General Reference* guide.
2299
2322
  #
2300
2323
  #
2301
2324
  #
@@ -2384,7 +2407,7 @@ module Aws::ResilienceHub
2384
2407
  # is:
2385
2408
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2386
2409
  # For more information about ARNs, see [ Amazon Resource Names
2387
- # (ARNs)][1] in the *AWS General Reference* guide.
2410
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
2388
2411
  #
2389
2412
  #
2390
2413
  #
@@ -2455,7 +2478,7 @@ module Aws::ResilienceHub
2455
2478
  # is:
2456
2479
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2457
2480
  # For more information about ARNs, see [ Amazon Resource Names
2458
- # (ARNs)][1] in the *AWS General Reference* guide.
2481
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
2459
2482
  #
2460
2483
  #
2461
2484
  #
@@ -2544,7 +2567,7 @@ module Aws::ResilienceHub
2544
2567
  # format for this ARN is:
2545
2568
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2546
2569
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2547
- # the *AWS General Reference* guide.
2570
+ # the *Amazon Web Services General Reference* guide.
2548
2571
  #
2549
2572
  #
2550
2573
  #
@@ -2606,7 +2629,7 @@ module Aws::ResilienceHub
2606
2629
  # format for this ARN is:
2607
2630
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2608
2631
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2609
- # the *AWS General Reference* guide.
2632
+ # the *Amazon Web Services General Reference* guide.
2610
2633
  #
2611
2634
  #
2612
2635
  #
@@ -2672,7 +2695,7 @@ module Aws::ResilienceHub
2672
2695
  # format for this ARN is:
2673
2696
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2674
2697
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2675
- # the *AWS General Reference* guide.
2698
+ # the *Amazon Web Services General Reference* guide.
2676
2699
  #
2677
2700
  #
2678
2701
  #
@@ -2738,7 +2761,7 @@ module Aws::ResilienceHub
2738
2761
  # format for this ARN is:
2739
2762
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2740
2763
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2741
- # the *AWS General Reference* guide.
2764
+ # the *Amazon Web Services General Reference* guide.
2742
2765
  #
2743
2766
  #
2744
2767
  #
@@ -2823,7 +2846,7 @@ module Aws::ResilienceHub
2823
2846
  # format for this ARN is:
2824
2847
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2825
2848
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2826
- # the *AWS General Reference* guide.
2849
+ # the *Amazon Web Services General Reference* guide.
2827
2850
  #
2828
2851
  #
2829
2852
  #
@@ -2895,12 +2918,16 @@ module Aws::ResilienceHub
2895
2918
  # format for this ARN is:
2896
2919
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
2897
2920
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
2898
- # the *AWS General Reference* guide.
2921
+ # the *Amazon Web Services General Reference* guide.
2899
2922
  #
2900
2923
  #
2901
2924
  #
2902
2925
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
2903
2926
  #
2927
+ # @option params [Time,DateTime,Date,Integer,String] :from_last_assessment_time
2928
+ # Indicates the lower limit of the range that is used to filter
2929
+ # applications based on their last assessment times.
2930
+ #
2904
2931
  # @option params [Integer] :max_results
2905
2932
  # Maximum number of results to include in the response. If more results
2906
2933
  # exist than the specified `MaxResults` value, a token is included in
@@ -2913,6 +2940,16 @@ module Aws::ResilienceHub
2913
2940
  # Null, or the token from a previous call to get the next set of
2914
2941
  # results.
2915
2942
  #
2943
+ # @option params [Boolean] :reverse_order
2944
+ # The application list is sorted based on the values of
2945
+ # `lastAppComplianceEvaluationTime` field. By default, application list
2946
+ # is sorted in ascending order. To sort the appliation list in
2947
+ # descending order, set this field to `True`.
2948
+ #
2949
+ # @option params [Time,DateTime,Date,Integer,String] :to_last_assessment_time
2950
+ # Indicates the upper limit of the range that is used to filter the
2951
+ # applications based on their last assessment times.
2952
+ #
2916
2953
  # @return [Types::ListAppsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2917
2954
  #
2918
2955
  # * {Types::ListAppsResponse#app_summaries #app_summaries} => Array&lt;Types::AppSummary&gt;
@@ -2924,9 +2961,12 @@ module Aws::ResilienceHub
2924
2961
  #
2925
2962
  # resp = client.list_apps({
2926
2963
  # app_arn: "Arn",
2964
+ # from_last_assessment_time: Time.now,
2927
2965
  # max_results: 1,
2928
2966
  # name: "EntityName",
2929
2967
  # next_token: "NextToken",
2968
+ # reverse_order: false,
2969
+ # to_last_assessment_time: Time.now,
2930
2970
  # })
2931
2971
  #
2932
2972
  # @example Response structure
@@ -2938,8 +2978,11 @@ module Aws::ResilienceHub
2938
2978
  # resp.app_summaries[0].creation_time #=> Time
2939
2979
  # resp.app_summaries[0].description #=> String
2940
2980
  # resp.app_summaries[0].drift_status #=> String, one of "NotChecked", "NotDetected", "Detected"
2981
+ # resp.app_summaries[0].last_app_compliance_evaluation_time #=> Time
2941
2982
  # resp.app_summaries[0].name #=> String
2942
2983
  # resp.app_summaries[0].resiliency_score #=> Float
2984
+ # resp.app_summaries[0].rpo_in_secs #=> Integer
2985
+ # resp.app_summaries[0].rto_in_secs #=> Integer
2943
2986
  # resp.app_summaries[0].status #=> String, one of "Active", "Deleting"
2944
2987
  # resp.next_token #=> String
2945
2988
  #
@@ -2960,7 +3003,7 @@ module Aws::ResilienceHub
2960
3003
  # is:
2961
3004
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
2962
3005
  # For more information about ARNs, see [ Amazon Resource Names
2963
- # (ARNs)][1] in the *AWS General Reference* guide.
3006
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
2964
3007
  #
2965
3008
  #
2966
3009
  #
@@ -3102,7 +3145,7 @@ module Aws::ResilienceHub
3102
3145
  # is:
3103
3146
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
3104
3147
  # For more information about ARNs, see [ Amazon Resource Names
3105
- # (ARNs)][1] in the *AWS General Reference* guide.
3148
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
3106
3149
  #
3107
3150
  #
3108
3151
  #
@@ -3249,7 +3292,7 @@ module Aws::ResilienceHub
3249
3292
  # is:
3250
3293
  # arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
3251
3294
  # For more information about ARNs, see [ Amazon Resource Names
3252
- # (ARNs)][1] in the *AWS General Reference* guide.
3295
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
3253
3296
  #
3254
3297
  #
3255
3298
  #
@@ -3321,7 +3364,7 @@ module Aws::ResilienceHub
3321
3364
  # format for this ARN is:
3322
3365
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3323
3366
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3324
- # the *AWS General Reference* guide.
3367
+ # the *Amazon Web Services General Reference* guide.
3325
3368
  #
3326
3369
  #
3327
3370
  #
@@ -3393,7 +3436,7 @@ module Aws::ResilienceHub
3393
3436
  # format for this ARN is:
3394
3437
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3395
3438
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3396
- # the *AWS General Reference* guide.
3439
+ # the *Amazon Web Services General Reference* guide.
3397
3440
  #
3398
3441
  #
3399
3442
  #
@@ -3440,7 +3483,7 @@ module Aws::ResilienceHub
3440
3483
  # format for this ARN is:
3441
3484
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3442
3485
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3443
- # the *AWS General Reference* guide.
3486
+ # the *Amazon Web Services General Reference* guide.
3444
3487
  #
3445
3488
  #
3446
3489
  #
@@ -3717,7 +3760,7 @@ module Aws::ResilienceHub
3717
3760
  # format for this ARN is:
3718
3761
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3719
3762
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3720
- # the *AWS General Reference* guide.
3763
+ # the *Amazon Web Services General Reference* guide.
3721
3764
  #
3722
3765
  #
3723
3766
  #
@@ -3789,7 +3832,7 @@ module Aws::ResilienceHub
3789
3832
  # format for this ARN is:
3790
3833
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3791
3834
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3792
- # the *AWS General Reference* guide.
3835
+ # the *Amazon Web Services General Reference* guide.
3793
3836
  #
3794
3837
  #
3795
3838
  #
@@ -3835,7 +3878,7 @@ module Aws::ResilienceHub
3835
3878
  # format for this ARN is:
3836
3879
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3837
3880
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
3838
- # the *AWS General Reference* guide.
3881
+ # the *Amazon Web Services General Reference* guide.
3839
3882
  #
3840
3883
  #
3841
3884
  #
@@ -3997,7 +4040,7 @@ module Aws::ResilienceHub
3997
4040
  # format for this ARN is:
3998
4041
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
3999
4042
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
4000
- # the *AWS General Reference* guide.
4043
+ # the *Amazon Web Services General Reference* guide.
4001
4044
  #
4002
4045
  #
4003
4046
  #
@@ -4027,7 +4070,7 @@ module Aws::ResilienceHub
4027
4070
  # this ARN is:
4028
4071
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
4029
4072
  # For more information about ARNs, see [ Amazon Resource Names
4030
- # (ARNs)][1] in the *AWS General Reference* guide.
4073
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
4031
4074
  #
4032
4075
  #
4033
4076
  #
@@ -4081,6 +4124,8 @@ module Aws::ResilienceHub
4081
4124
  # resp.app.permission_model.type #=> String, one of "LegacyIAMUser", "RoleBased"
4082
4125
  # resp.app.policy_arn #=> String
4083
4126
  # resp.app.resiliency_score #=> Float
4127
+ # resp.app.rpo_in_secs #=> Integer
4128
+ # resp.app.rto_in_secs #=> Integer
4084
4129
  # resp.app.status #=> String, one of "Active", "Deleting"
4085
4130
  # resp.app.tags #=> Hash
4086
4131
  # resp.app.tags["TagKey"] #=> String
@@ -4127,7 +4172,7 @@ module Aws::ResilienceHub
4127
4172
  # format for this ARN is:
4128
4173
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
4129
4174
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
4130
- # the *AWS General Reference* guide.
4175
+ # the *Amazon Web Services General Reference* guide.
4131
4176
  #
4132
4177
  #
4133
4178
  #
@@ -4183,7 +4228,7 @@ module Aws::ResilienceHub
4183
4228
  # format for this ARN is:
4184
4229
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
4185
4230
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
4186
- # the *AWS General Reference* guide.
4231
+ # the *Amazon Web Services General Reference* guide.
4187
4232
  #
4188
4233
  #
4189
4234
  #
@@ -4263,7 +4308,7 @@ module Aws::ResilienceHub
4263
4308
  # format for this ARN is:
4264
4309
  # arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
4265
4310
  # more information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
4266
- # the *AWS General Reference* guide.
4311
+ # the *Amazon Web Services General Reference* guide.
4267
4312
  #
4268
4313
  #
4269
4314
  #
@@ -4370,6 +4415,16 @@ module Aws::ResilienceHub
4370
4415
 
4371
4416
  # Updates a resiliency policy.
4372
4417
  #
4418
+ # <note markdown="1"> Resilience Hub allows you to provide a value of zero for `rtoInSecs`
4419
+ # and `rpoInSecs` of your resiliency policy. But, while assessing your
4420
+ # application, the lowest possible assessment result is near zero.
4421
+ # Hence, if you provide value zero for `rtoInSecs` and `rpoInSecs`, the
4422
+ # estimated workload RTO and estimated workload RPO result will be near
4423
+ # zero and the **Compliance status** for your application will be set to
4424
+ # **Policy breached**.
4425
+ #
4426
+ # </note>
4427
+ #
4373
4428
  # @option params [String] :data_location_constraint
4374
4429
  # Specifies a high-level geographical location constraint for where your
4375
4430
  # resilience policy data can be stored.
@@ -4383,7 +4438,7 @@ module Aws::ResilienceHub
4383
4438
  # this ARN is:
4384
4439
  # arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
4385
4440
  # For more information about ARNs, see [ Amazon Resource Names
4386
- # (ARNs)][1] in the *AWS General Reference* guide.
4441
+ # (ARNs)][1] in the *Amazon Web Services General Reference* guide.
4387
4442
  #
4388
4443
  #
4389
4444
  #
@@ -4456,7 +4511,7 @@ module Aws::ResilienceHub
4456
4511
  params: params,
4457
4512
  config: config)
4458
4513
  context[:gem_name] = 'aws-sdk-resiliencehub'
4459
- context[:gem_version] = '1.19.0'
4514
+ context[:gem_version] = '1.21.0'
4460
4515
  Seahorse::Client::Request.new(handlers, context)
4461
4516
  end
4462
4517
 
@@ -146,6 +146,7 @@ module Aws::ResilienceHub
146
146
  ImportResourcesToDraftAppVersionRequest = Shapes::StructureShape.new(name: 'ImportResourcesToDraftAppVersionRequest')
147
147
  ImportResourcesToDraftAppVersionResponse = Shapes::StructureShape.new(name: 'ImportResourcesToDraftAppVersionResponse')
148
148
  Integer = Shapes::IntegerShape.new(name: 'Integer')
149
+ IntegerOptional = Shapes::IntegerShape.new(name: 'IntegerOptional')
149
150
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
150
151
  ListAlarmRecommendationsRequest = Shapes::StructureShape.new(name: 'ListAlarmRecommendationsRequest')
151
152
  ListAlarmRecommendationsResponse = Shapes::StructureShape.new(name: 'ListAlarmRecommendationsResponse')
@@ -329,6 +330,8 @@ module Aws::ResilienceHub
329
330
  App.add_member(:permission_model, Shapes::ShapeRef.new(shape: PermissionModel, location_name: "permissionModel"))
330
331
  App.add_member(:policy_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "policyArn"))
331
332
  App.add_member(:resiliency_score, Shapes::ShapeRef.new(shape: Double, location_name: "resiliencyScore"))
333
+ App.add_member(:rpo_in_secs, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "rpoInSecs"))
334
+ App.add_member(:rto_in_secs, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "rtoInSecs"))
332
335
  App.add_member(:status, Shapes::ShapeRef.new(shape: AppStatusType, location_name: "status"))
333
336
  App.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
334
337
  App.struct_class = Types::App
@@ -405,8 +408,11 @@ module Aws::ResilienceHub
405
408
  AppSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "creationTime"))
406
409
  AppSummary.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
407
410
  AppSummary.add_member(:drift_status, Shapes::ShapeRef.new(shape: AppDriftStatusType, location_name: "driftStatus"))
411
+ AppSummary.add_member(:last_app_compliance_evaluation_time, Shapes::ShapeRef.new(shape: TimeStamp, location_name: "lastAppComplianceEvaluationTime"))
408
412
  AppSummary.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, required: true, location_name: "name"))
409
413
  AppSummary.add_member(:resiliency_score, Shapes::ShapeRef.new(shape: Double, location_name: "resiliencyScore"))
414
+ AppSummary.add_member(:rpo_in_secs, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "rpoInSecs"))
415
+ AppSummary.add_member(:rto_in_secs, Shapes::ShapeRef.new(shape: IntegerOptional, location_name: "rtoInSecs"))
410
416
  AppSummary.add_member(:status, Shapes::ShapeRef.new(shape: AppStatusType, location_name: "status"))
411
417
  AppSummary.struct_class = Types::AppSummary
412
418
 
@@ -883,9 +889,12 @@ module Aws::ResilienceHub
883
889
  ListAppVersionsResponse.struct_class = Types::ListAppVersionsResponse
884
890
 
885
891
  ListAppsRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "appArn"))
892
+ ListAppsRequest.add_member(:from_last_assessment_time, Shapes::ShapeRef.new(shape: TimeStamp, location: "querystring", location_name: "fromLastAssessmentTime"))
886
893
  ListAppsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
887
894
  ListAppsRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, location: "querystring", location_name: "name"))
888
895
  ListAppsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
896
+ ListAppsRequest.add_member(:reverse_order, Shapes::ShapeRef.new(shape: BooleanOptional, location: "querystring", location_name: "reverseOrder"))
897
+ ListAppsRequest.add_member(:to_last_assessment_time, Shapes::ShapeRef.new(shape: TimeStamp, location: "querystring", location_name: "toLastAssessmentTime"))
889
898
  ListAppsRequest.struct_class = Types::ListAppsRequest
890
899
 
891
900
  ListAppsResponse.add_member(:app_summaries, Shapes::ShapeRef.new(shape: AppSummaryList, required: true, location_name: "appSummaries"))
@@ -32,7 +32,7 @@ module Aws::ResilienceHub
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://resiliencehub-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"