aws-sdk-resiliencehub 1.8.0 → 1.9.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: a8eeb7e68e9a6ea71ee7e64ac2f1177b5058b6dcab0b0209bc50e6c097afd5f5
4
- data.tar.gz: dadc324b3afb552b5f63e75290e203923d4163ba9f7b50da8236cccec20d2992
3
+ metadata.gz: 15d7d8e4aeaf5bbfb754ef63ef6fd9ab557ea9f717d055786603cedf892265b1
4
+ data.tar.gz: 0ecb0874cdac621b60cac5e877a9cf557d7fd6ad6ce20bb88c67713a418d9786
5
5
  SHA512:
6
- metadata.gz: 9ababb501d742247ba8bfc8533840815af85b8af7f5f9e42305fb18f9d983abaf46955ab5af87d552fa3a05767721924f3df64bf7f098d24249da8b4f66e413e
7
- data.tar.gz: f1f42690ea29054b24b0bd00115c425265bc322ce2f542141dcc2a5363e1c30d9fe8c0b5619f7ccb2a263087116544e432ce300b3e3a496454892d9fd3d6055e
6
+ metadata.gz: 75366be842439527dc08c2d283e2dd4c01848bdb0ea1911b431d5b87d8f30d32f2ec96fd2a37b274f0cbe5d9b0629da5fff68ba0192aaa18b85cf5bb34c0a7e2
7
+ data.tar.gz: e1b5a3d1a2f8d4a02c5e7ad7c7aefc4508f3be1534b31f17c9b38ae138470e28e8b2492bfe0b5282d74ce1763d18fd60d1a2e35f18dd2bdbd085f51fb4b4e9e5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.9.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.8.0 (2022-10-25)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.8.0
1
+ 1.9.0
@@ -2801,7 +2801,7 @@ module Aws::ResilienceHub
2801
2801
  params: params,
2802
2802
  config: config)
2803
2803
  context[:gem_name] = 'aws-sdk-resiliencehub'
2804
- context[:gem_version] = '1.8.0'
2804
+ context[:gem_version] = '1.9.0'
2805
2805
  Seahorse::Client::Request.new(handlers, context)
2806
2806
  end
2807
2807
 
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::ResilienceHub
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
+ if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
+ end
22
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
+ end
25
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
+ end
27
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
+ return Aws::Endpoints::Endpoint.new(url: "https://resiliencehub-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
+ end
31
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
+ end
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ return Aws::Endpoints::Endpoint.new(url: "https://resiliencehub-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
+ end
37
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://resiliencehub.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://resiliencehub.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc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ZWFkZXJz
102
- Ijp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwi
103
- ZXJyb3IiOiJEdWFsU3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRp
104
- b24gZG9lcyBub3Qgc3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3Ii
105
- fV19LHsiY29uZGl0aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBz
106
- Oi8vcmVzaWxpZW5jZWh1Yi57UmVnaW9ufS57UGFydGl0aW9uUmVzdWx0I2Ru
107
- c1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBl
108
- IjoiZW5kcG9pbnQifV19XX0=
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -25,29 +25,6 @@ module Aws::ResilienceHub
25
25
  include Aws::Structure
26
26
  end
27
27
 
28
- # @note When making an API call, you may pass AddDraftAppVersionResourceMappingsRequest
29
- # data as a hash:
30
- #
31
- # {
32
- # app_arn: "Arn", # required
33
- # resource_mappings: [ # required
34
- # {
35
- # app_registry_app_name: "EntityName",
36
- # logical_stack_name: "String255",
37
- # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform
38
- # physical_resource_id: { # required
39
- # aws_account_id: "CustomerId",
40
- # aws_region: "AwsRegion",
41
- # identifier: "String255", # required
42
- # type: "Arn", # required, accepts Arn, Native
43
- # },
44
- # resource_group_name: "EntityName",
45
- # resource_name: "EntityName",
46
- # terraform_source_name: "String255",
47
- # },
48
- # ],
49
- # }
50
- #
51
28
  # @!attribute [rw] app_arn
52
29
  # The Amazon Resource Name (ARN) of the application. The format for
53
30
  # this ARN is:
@@ -711,20 +688,6 @@ module Aws::ResilienceHub
711
688
  include Aws::Structure
712
689
  end
713
690
 
714
- # @note When making an API call, you may pass CreateAppRequest
715
- # data as a hash:
716
- #
717
- # {
718
- # assessment_schedule: "Disabled", # accepts Disabled, Daily
719
- # client_token: "ClientToken",
720
- # description: "EntityDescription",
721
- # name: "EntityName", # required
722
- # policy_arn: "Arn",
723
- # tags: {
724
- # "TagKey" => "TagValue",
725
- # },
726
- # }
727
- #
728
691
  # @!attribute [rw] assessment_schedule
729
692
  # Assessment execution schedule with 'Daily' or 'Disabled' values.
730
693
  # @return [String]
@@ -791,22 +754,6 @@ module Aws::ResilienceHub
791
754
  include Aws::Structure
792
755
  end
793
756
 
794
- # @note When making an API call, you may pass CreateRecommendationTemplateRequest
795
- # data as a hash:
796
- #
797
- # {
798
- # assessment_arn: "Arn", # required
799
- # bucket_name: "EntityName",
800
- # client_token: "ClientToken",
801
- # format: "CfnYaml", # accepts CfnYaml, CfnJson
802
- # name: "EntityName", # required
803
- # recommendation_ids: ["Uuid"],
804
- # recommendation_types: ["Alarm"], # accepts Alarm, Sop, Test
805
- # tags: {
806
- # "TagKey" => "TagValue",
807
- # },
808
- # }
809
- #
810
757
  # @!attribute [rw] assessment_arn
811
758
  # The Amazon Resource Name (ARN) of the assessment. The format for
812
759
  # this ARN is:
@@ -906,26 +853,6 @@ module Aws::ResilienceHub
906
853
  include Aws::Structure
907
854
  end
908
855
 
909
- # @note When making an API call, you may pass CreateResiliencyPolicyRequest
910
- # data as a hash:
911
- #
912
- # {
913
- # client_token: "ClientToken",
914
- # data_location_constraint: "AnyLocation", # accepts AnyLocation, SameContinent, SameCountry
915
- # policy: { # required
916
- # "Software" => {
917
- # rpo_in_secs: 1, # required
918
- # rto_in_secs: 1, # required
919
- # },
920
- # },
921
- # policy_description: "EntityDescription",
922
- # policy_name: "EntityName", # required
923
- # tags: {
924
- # "TagKey" => "TagValue",
925
- # },
926
- # tier: "MissionCritical", # required, accepts MissionCritical, Critical, Important, CoreServices, NonCritical
927
- # }
928
- #
929
856
  # @!attribute [rw] client_token
930
857
  # Used for an idempotency token. A client token is a unique,
931
858
  # case-sensitive string of up to 64 ASCII characters. You should not
@@ -992,14 +919,6 @@ module Aws::ResilienceHub
992
919
  include Aws::Structure
993
920
  end
994
921
 
995
- # @note When making an API call, you may pass DeleteAppAssessmentRequest
996
- # data as a hash:
997
- #
998
- # {
999
- # assessment_arn: "Arn", # required
1000
- # client_token: "ClientToken",
1001
- # }
1002
- #
1003
922
  # @!attribute [rw] assessment_arn
1004
923
  # The Amazon Resource Name (ARN) of the assessment. The format for
1005
924
  # this ARN is:
@@ -1055,15 +974,6 @@ module Aws::ResilienceHub
1055
974
  include Aws::Structure
1056
975
  end
1057
976
 
1058
- # @note When making an API call, you may pass DeleteAppRequest
1059
- # data as a hash:
1060
- #
1061
- # {
1062
- # app_arn: "Arn", # required
1063
- # client_token: "ClientToken",
1064
- # force_delete: false,
1065
- # }
1066
- #
1067
977
  # @!attribute [rw] app_arn
1068
978
  # The Amazon Resource Name (ARN) of the application. The format for
1069
979
  # this ARN is:
@@ -1120,14 +1030,6 @@ module Aws::ResilienceHub
1120
1030
  include Aws::Structure
1121
1031
  end
1122
1032
 
1123
- # @note When making an API call, you may pass DeleteRecommendationTemplateRequest
1124
- # data as a hash:
1125
- #
1126
- # {
1127
- # client_token: "ClientToken",
1128
- # recommendation_template_arn: "Arn", # required
1129
- # }
1130
- #
1131
1033
  # @!attribute [rw] client_token
1132
1034
  # Used for an idempotency token. A client token is a unique,
1133
1035
  # case-sensitive string of up to 64 ASCII characters. You should not
@@ -1167,14 +1069,6 @@ module Aws::ResilienceHub
1167
1069
  include Aws::Structure
1168
1070
  end
1169
1071
 
1170
- # @note When making an API call, you may pass DeleteResiliencyPolicyRequest
1171
- # data as a hash:
1172
- #
1173
- # {
1174
- # client_token: "ClientToken",
1175
- # policy_arn: "Arn", # required
1176
- # }
1177
- #
1178
1072
  # @!attribute [rw] client_token
1179
1073
  # Used for an idempotency token. A client token is a unique,
1180
1074
  # case-sensitive string of up to 64 ASCII characters. You should not
@@ -1225,13 +1119,6 @@ module Aws::ResilienceHub
1225
1119
  include Aws::Structure
1226
1120
  end
1227
1121
 
1228
- # @note When making an API call, you may pass DescribeAppAssessmentRequest
1229
- # data as a hash:
1230
- #
1231
- # {
1232
- # assessment_arn: "Arn", # required
1233
- # }
1234
- #
1235
1122
  # @!attribute [rw] assessment_arn
1236
1123
  # The Amazon Resource Name (ARN) of the assessment. The format for
1237
1124
  # this ARN is:
@@ -1267,13 +1154,6 @@ module Aws::ResilienceHub
1267
1154
  include Aws::Structure
1268
1155
  end
1269
1156
 
1270
- # @note When making an API call, you may pass DescribeAppRequest
1271
- # data as a hash:
1272
- #
1273
- # {
1274
- # app_arn: "Arn", # required
1275
- # }
1276
- #
1277
1157
  # @!attribute [rw] app_arn
1278
1158
  # The Amazon Resource Name (ARN) of the application. The format for
1279
1159
  # this ARN is:
@@ -1308,15 +1188,6 @@ module Aws::ResilienceHub
1308
1188
  include Aws::Structure
1309
1189
  end
1310
1190
 
1311
- # @note When making an API call, you may pass DescribeAppVersionResourcesResolutionStatusRequest
1312
- # data as a hash:
1313
- #
1314
- # {
1315
- # app_arn: "Arn", # required
1316
- # app_version: "EntityVersion", # required
1317
- # resolution_id: "String255",
1318
- # }
1319
- #
1320
1191
  # @!attribute [rw] app_arn
1321
1192
  # The Amazon Resource Name (ARN) of the application. The format for
1322
1193
  # this ARN is:
@@ -1387,14 +1258,6 @@ module Aws::ResilienceHub
1387
1258
  include Aws::Structure
1388
1259
  end
1389
1260
 
1390
- # @note When making an API call, you may pass DescribeAppVersionTemplateRequest
1391
- # data as a hash:
1392
- #
1393
- # {
1394
- # app_arn: "Arn", # required
1395
- # app_version: "EntityVersion", # required
1396
- # }
1397
- #
1398
1261
  # @!attribute [rw] app_arn
1399
1262
  # The Amazon Resource Name (ARN) of the application. The format for
1400
1263
  # this ARN is:
@@ -1450,13 +1313,6 @@ module Aws::ResilienceHub
1450
1313
  include Aws::Structure
1451
1314
  end
1452
1315
 
1453
- # @note When making an API call, you may pass DescribeDraftAppVersionResourcesImportStatusRequest
1454
- # data as a hash:
1455
- #
1456
- # {
1457
- # app_arn: "Arn", # required
1458
- # }
1459
- #
1460
1316
  # @!attribute [rw] app_arn
1461
1317
  # The Amazon Resource Name (ARN) of the application. The format for
1462
1318
  # this ARN is:
@@ -1517,13 +1373,6 @@ module Aws::ResilienceHub
1517
1373
  include Aws::Structure
1518
1374
  end
1519
1375
 
1520
- # @note When making an API call, you may pass DescribeResiliencyPolicyRequest
1521
- # data as a hash:
1522
- #
1523
- # {
1524
- # policy_arn: "Arn", # required
1525
- # }
1526
- #
1527
1376
  # @!attribute [rw] policy_arn
1528
1377
  # The Amazon Resource Name (ARN) of the resiliency policy. The format
1529
1378
  # for this ARN is:
@@ -1621,14 +1470,6 @@ module Aws::ResilienceHub
1621
1470
 
1622
1471
  # Defines a failure policy.
1623
1472
  #
1624
- # @note When making an API call, you may pass FailurePolicy
1625
- # data as a hash:
1626
- #
1627
- # {
1628
- # rpo_in_secs: 1, # required
1629
- # rto_in_secs: 1, # required
1630
- # }
1631
- #
1632
1473
  # @!attribute [rw] rpo_in_secs
1633
1474
  # The Recovery Point Objective (RPO), in seconds.
1634
1475
  # @return [Integer]
@@ -1646,19 +1487,6 @@ module Aws::ResilienceHub
1646
1487
  include Aws::Structure
1647
1488
  end
1648
1489
 
1649
- # @note When making an API call, you may pass ImportResourcesToDraftAppVersionRequest
1650
- # data as a hash:
1651
- #
1652
- # {
1653
- # app_arn: "Arn", # required
1654
- # source_arns: ["Arn"],
1655
- # terraform_sources: [
1656
- # {
1657
- # s3_state_file_url: "S3Url", # required
1658
- # },
1659
- # ],
1660
- # }
1661
- #
1662
1490
  # @!attribute [rw] app_arn
1663
1491
  # The Amazon Resource Name (ARN) of the application. The format for
1664
1492
  # this ARN is:
@@ -1745,15 +1573,6 @@ module Aws::ResilienceHub
1745
1573
  include Aws::Structure
1746
1574
  end
1747
1575
 
1748
- # @note When making an API call, you may pass ListAlarmRecommendationsRequest
1749
- # data as a hash:
1750
- #
1751
- # {
1752
- # assessment_arn: "Arn", # required
1753
- # max_results: 1,
1754
- # next_token: "NextToken",
1755
- # }
1756
- #
1757
1576
  # @!attribute [rw] assessment_arn
1758
1577
  # The Amazon Resource Name (ARN) of the assessment. The format for
1759
1578
  # this ARN is:
@@ -1809,20 +1628,6 @@ module Aws::ResilienceHub
1809
1628
  include Aws::Structure
1810
1629
  end
1811
1630
 
1812
- # @note When making an API call, you may pass ListAppAssessmentsRequest
1813
- # data as a hash:
1814
- #
1815
- # {
1816
- # app_arn: "Arn",
1817
- # assessment_name: "EntityName",
1818
- # assessment_status: ["Pending"], # accepts Pending, InProgress, Failed, Success
1819
- # compliance_status: "PolicyBreached", # accepts PolicyBreached, PolicyMet
1820
- # invoker: "User", # accepts User, System
1821
- # max_results: 1,
1822
- # next_token: "NextToken",
1823
- # reverse_order: false,
1824
- # }
1825
- #
1826
1631
  # @!attribute [rw] app_arn
1827
1632
  # The Amazon Resource Name (ARN) of the application. The format for
1828
1633
  # this ARN is:
@@ -1905,15 +1710,6 @@ module Aws::ResilienceHub
1905
1710
  include Aws::Structure
1906
1711
  end
1907
1712
 
1908
- # @note When making an API call, you may pass ListAppComponentCompliancesRequest
1909
- # data as a hash:
1910
- #
1911
- # {
1912
- # assessment_arn: "Arn", # required
1913
- # max_results: 1,
1914
- # next_token: "NextToken",
1915
- # }
1916
- #
1917
1713
  # @!attribute [rw] assessment_arn
1918
1714
  # The Amazon Resource Name (ARN) of the assessment. The format for
1919
1715
  # this ARN is:
@@ -1968,15 +1764,6 @@ module Aws::ResilienceHub
1968
1764
  include Aws::Structure
1969
1765
  end
1970
1766
 
1971
- # @note When making an API call, you may pass ListAppComponentRecommendationsRequest
1972
- # data as a hash:
1973
- #
1974
- # {
1975
- # assessment_arn: "Arn", # required
1976
- # max_results: 1,
1977
- # next_token: "NextToken",
1978
- # }
1979
- #
1980
1767
  # @!attribute [rw] assessment_arn
1981
1768
  # The Amazon Resource Name (ARN) of the assessment. The format for
1982
1769
  # this ARN is:
@@ -2031,16 +1818,6 @@ module Aws::ResilienceHub
2031
1818
  include Aws::Structure
2032
1819
  end
2033
1820
 
2034
- # @note When making an API call, you may pass ListAppVersionResourceMappingsRequest
2035
- # data as a hash:
2036
- #
2037
- # {
2038
- # app_arn: "Arn", # required
2039
- # app_version: "EntityVersion", # required
2040
- # max_results: 1,
2041
- # next_token: "NextToken",
2042
- # }
2043
- #
2044
1821
  # @!attribute [rw] app_arn
2045
1822
  # The Amazon Resource Name (ARN) of the application. The format for
2046
1823
  # this ARN is:
@@ -2103,17 +1880,6 @@ module Aws::ResilienceHub
2103
1880
  include Aws::Structure
2104
1881
  end
2105
1882
 
2106
- # @note When making an API call, you may pass ListAppVersionResourcesRequest
2107
- # data as a hash:
2108
- #
2109
- # {
2110
- # app_arn: "Arn", # required
2111
- # app_version: "EntityVersion", # required
2112
- # max_results: 1,
2113
- # next_token: "NextToken",
2114
- # resolution_id: "String255",
2115
- # }
2116
- #
2117
1883
  # @!attribute [rw] app_arn
2118
1884
  # The Amazon Resource Name (ARN) of the application. The format for
2119
1885
  # this ARN is:
@@ -2181,15 +1947,6 @@ module Aws::ResilienceHub
2181
1947
  include Aws::Structure
2182
1948
  end
2183
1949
 
2184
- # @note When making an API call, you may pass ListAppVersionsRequest
2185
- # data as a hash:
2186
- #
2187
- # {
2188
- # app_arn: "Arn", # required
2189
- # max_results: 1,
2190
- # next_token: "NextToken",
2191
- # }
2192
- #
2193
1950
  # @!attribute [rw] app_arn
2194
1951
  # The Amazon Resource Name (ARN) of the application. The format for
2195
1952
  # this ARN is:
@@ -2242,16 +1999,6 @@ module Aws::ResilienceHub
2242
1999
  include Aws::Structure
2243
2000
  end
2244
2001
 
2245
- # @note When making an API call, you may pass ListAppsRequest
2246
- # data as a hash:
2247
- #
2248
- # {
2249
- # app_arn: "Arn",
2250
- # max_results: 1,
2251
- # name: "EntityName",
2252
- # next_token: "NextToken",
2253
- # }
2254
- #
2255
2002
  # @!attribute [rw] app_arn
2256
2003
  # The Amazon Resource Name (ARN) of the application. The format for
2257
2004
  # this ARN is:
@@ -2309,19 +2056,6 @@ module Aws::ResilienceHub
2309
2056
  include Aws::Structure
2310
2057
  end
2311
2058
 
2312
- # @note When making an API call, you may pass ListRecommendationTemplatesRequest
2313
- # data as a hash:
2314
- #
2315
- # {
2316
- # assessment_arn: "Arn", # required
2317
- # max_results: 1,
2318
- # name: "EntityName",
2319
- # next_token: "NextToken",
2320
- # recommendation_template_arn: "Arn",
2321
- # reverse_order: false,
2322
- # status: ["Pending"], # accepts Pending, InProgress, Failed, Success
2323
- # }
2324
- #
2325
2059
  # @!attribute [rw] assessment_arn
2326
2060
  # The Amazon Resource Name (ARN) of the assessment. The format for
2327
2061
  # this ARN is:
@@ -2395,15 +2129,6 @@ module Aws::ResilienceHub
2395
2129
  include Aws::Structure
2396
2130
  end
2397
2131
 
2398
- # @note When making an API call, you may pass ListResiliencyPoliciesRequest
2399
- # data as a hash:
2400
- #
2401
- # {
2402
- # max_results: 1,
2403
- # next_token: "NextToken",
2404
- # policy_name: "EntityName",
2405
- # }
2406
- #
2407
2132
  # @!attribute [rw] max_results
2408
2133
  # The maximum number of results to include in the response. If more
2409
2134
  # results exist than the specified `MaxResults` value, a token is
@@ -2448,15 +2173,6 @@ module Aws::ResilienceHub
2448
2173
  include Aws::Structure
2449
2174
  end
2450
2175
 
2451
- # @note When making an API call, you may pass ListSopRecommendationsRequest
2452
- # data as a hash:
2453
- #
2454
- # {
2455
- # assessment_arn: "Arn", # required
2456
- # max_results: 1,
2457
- # next_token: "NextToken",
2458
- # }
2459
- #
2460
2176
  # @!attribute [rw] assessment_arn
2461
2177
  # The Amazon Resource Name (ARN) of the assessment. The format for
2462
2178
  # this ARN is:
@@ -2510,14 +2226,6 @@ module Aws::ResilienceHub
2510
2226
  include Aws::Structure
2511
2227
  end
2512
2228
 
2513
- # @note When making an API call, you may pass ListSuggestedResiliencyPoliciesRequest
2514
- # data as a hash:
2515
- #
2516
- # {
2517
- # max_results: 1,
2518
- # next_token: "NextToken",
2519
- # }
2520
- #
2521
2229
  # @!attribute [rw] max_results
2522
2230
  # The maximum number of results to include in the response. If more
2523
2231
  # results exist than the specified `MaxResults` value, a token is
@@ -2558,13 +2266,6 @@ module Aws::ResilienceHub
2558
2266
  include Aws::Structure
2559
2267
  end
2560
2268
 
2561
- # @note When making an API call, you may pass ListTagsForResourceRequest
2562
- # data as a hash:
2563
- #
2564
- # {
2565
- # resource_arn: "Arn", # required
2566
- # }
2567
- #
2568
2269
  # @!attribute [rw] resource_arn
2569
2270
  # The Amazon Resource Name (ARN) for a specific resource in your
2570
2271
  # Resilience Hub application.
@@ -2592,15 +2293,6 @@ module Aws::ResilienceHub
2592
2293
  include Aws::Structure
2593
2294
  end
2594
2295
 
2595
- # @note When making an API call, you may pass ListTestRecommendationsRequest
2596
- # data as a hash:
2597
- #
2598
- # {
2599
- # assessment_arn: "Arn", # required
2600
- # max_results: 1,
2601
- # next_token: "NextToken",
2602
- # }
2603
- #
2604
2296
  # @!attribute [rw] assessment_arn
2605
2297
  # The Amazon Resource Name (ARN) of the assessment. The format for
2606
2298
  # this ARN is:
@@ -2653,17 +2345,6 @@ module Aws::ResilienceHub
2653
2345
  include Aws::Structure
2654
2346
  end
2655
2347
 
2656
- # @note When making an API call, you may pass ListUnsupportedAppVersionResourcesRequest
2657
- # data as a hash:
2658
- #
2659
- # {
2660
- # app_arn: "Arn", # required
2661
- # app_version: "EntityVersion", # required
2662
- # max_results: 1,
2663
- # next_token: "NextToken",
2664
- # resolution_id: "String255",
2665
- # }
2666
- #
2667
2348
  # @!attribute [rw] app_arn
2668
2349
  # The Amazon Resource Name (ARN) of the application. The format for
2669
2350
  # this ARN is:
@@ -2798,16 +2479,6 @@ module Aws::ResilienceHub
2798
2479
 
2799
2480
  # Defines a physical resource identifier.
2800
2481
  #
2801
- # @note When making an API call, you may pass PhysicalResourceId
2802
- # data as a hash:
2803
- #
2804
- # {
2805
- # aws_account_id: "CustomerId",
2806
- # aws_region: "AwsRegion",
2807
- # identifier: "String255", # required
2808
- # type: "Arn", # required, accepts Arn, Native
2809
- # }
2810
- #
2811
2482
  # @!attribute [rw] aws_account_id
2812
2483
  # The Amazon Web Services account that owns the physical resource.
2813
2484
  # @return [String]
@@ -2844,13 +2515,6 @@ module Aws::ResilienceHub
2844
2515
  include Aws::Structure
2845
2516
  end
2846
2517
 
2847
- # @note When making an API call, you may pass PublishAppVersionRequest
2848
- # data as a hash:
2849
- #
2850
- # {
2851
- # app_arn: "Arn", # required
2852
- # }
2853
- #
2854
2518
  # @!attribute [rw] app_arn
2855
2519
  # The Amazon Resource Name (ARN) of the application. The format for
2856
2520
  # this ARN is:
@@ -2896,14 +2560,6 @@ module Aws::ResilienceHub
2896
2560
  include Aws::Structure
2897
2561
  end
2898
2562
 
2899
- # @note When making an API call, you may pass PutDraftAppVersionTemplateRequest
2900
- # data as a hash:
2901
- #
2902
- # {
2903
- # app_arn: "Arn", # required
2904
- # app_template_body: "AppTemplateBody", # required
2905
- # }
2906
- #
2907
2563
  # @!attribute [rw] app_arn
2908
2564
  # The Amazon Resource Name (ARN) of the application. The format for
2909
2565
  # this ARN is:
@@ -3142,18 +2798,6 @@ module Aws::ResilienceHub
3142
2798
  include Aws::Structure
3143
2799
  end
3144
2800
 
3145
- # @note When making an API call, you may pass RemoveDraftAppVersionResourceMappingsRequest
3146
- # data as a hash:
3147
- #
3148
- # {
3149
- # app_arn: "Arn", # required
3150
- # app_registry_app_names: ["EntityName"],
3151
- # logical_stack_names: ["String255"],
3152
- # resource_group_names: ["EntityName"],
3153
- # resource_names: ["EntityName"],
3154
- # terraform_source_names: ["String255"],
3155
- # }
3156
- #
3157
2801
  # @!attribute [rw] app_arn
3158
2802
  # The Amazon Resource Name (ARN) of the application. The format for
3159
2803
  # this ARN is:
@@ -3313,14 +2957,6 @@ module Aws::ResilienceHub
3313
2957
  include Aws::Structure
3314
2958
  end
3315
2959
 
3316
- # @note When making an API call, you may pass ResolveAppVersionResourcesRequest
3317
- # data as a hash:
3318
- #
3319
- # {
3320
- # app_arn: "Arn", # required
3321
- # app_version: "EntityVersion", # required
3322
- # }
3323
- #
3324
2960
  # @!attribute [rw] app_arn
3325
2961
  # The Amazon Resource Name (ARN) of the application. The format for
3326
2962
  # this ARN is:
@@ -3427,24 +3063,6 @@ module Aws::ResilienceHub
3427
3063
 
3428
3064
  # Defines a resource mapping.
3429
3065
  #
3430
- # @note When making an API call, you may pass ResourceMapping
3431
- # data as a hash:
3432
- #
3433
- # {
3434
- # app_registry_app_name: "EntityName",
3435
- # logical_stack_name: "String255",
3436
- # mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform
3437
- # physical_resource_id: { # required
3438
- # aws_account_id: "CustomerId",
3439
- # aws_region: "AwsRegion",
3440
- # identifier: "String255", # required
3441
- # type: "Arn", # required, accepts Arn, Native
3442
- # },
3443
- # resource_group_name: "EntityName",
3444
- # resource_name: "EntityName",
3445
- # terraform_source_name: "String255",
3446
- # }
3447
- #
3448
3066
  # @!attribute [rw] app_registry_app_name
3449
3067
  # The name of the application this resource is mapped to.
3450
3068
  # @return [String]
@@ -3614,19 +3232,6 @@ module Aws::ResilienceHub
3614
3232
  include Aws::Structure
3615
3233
  end
3616
3234
 
3617
- # @note When making an API call, you may pass StartAppAssessmentRequest
3618
- # data as a hash:
3619
- #
3620
- # {
3621
- # app_arn: "Arn", # required
3622
- # app_version: "EntityVersion", # required
3623
- # assessment_name: "EntityName", # required
3624
- # client_token: "ClientToken",
3625
- # tags: {
3626
- # "TagKey" => "TagValue",
3627
- # },
3628
- # }
3629
- #
3630
3235
  # @!attribute [rw] app_arn
3631
3236
  # The Amazon Resource Name (ARN) of the application. The format for
3632
3237
  # this ARN is:
@@ -3686,16 +3291,6 @@ module Aws::ResilienceHub
3686
3291
  include Aws::Structure
3687
3292
  end
3688
3293
 
3689
- # @note When making an API call, you may pass TagResourceRequest
3690
- # data as a hash:
3691
- #
3692
- # {
3693
- # resource_arn: "Arn", # required
3694
- # tags: { # required
3695
- # "TagKey" => "TagValue",
3696
- # },
3697
- # }
3698
- #
3699
3294
  # @!attribute [rw] resource_arn
3700
3295
  # The Amazon Resource Name (ARN) of the resource.
3701
3296
  # @return [String]
@@ -3720,13 +3315,6 @@ module Aws::ResilienceHub
3720
3315
 
3721
3316
  # The Terraform s3 state file you need to import.
3722
3317
  #
3723
- # @note When making an API call, you may pass TerraformSource
3724
- # data as a hash:
3725
- #
3726
- # {
3727
- # s3_state_file_url: "S3Url", # required
3728
- # }
3729
- #
3730
3318
  # @!attribute [rw] s3_state_file_url
3731
3319
  # The Terraform s3 state file you need to import.
3732
3320
  # @return [String]
@@ -3846,14 +3434,6 @@ module Aws::ResilienceHub
3846
3434
  include Aws::Structure
3847
3435
  end
3848
3436
 
3849
- # @note When making an API call, you may pass UntagResourceRequest
3850
- # data as a hash:
3851
- #
3852
- # {
3853
- # resource_arn: "Arn", # required
3854
- # tag_keys: ["TagKey"], # required
3855
- # }
3856
- #
3857
3437
  # @!attribute [rw] resource_arn
3858
3438
  # The Amazon Resource Name (ARN) of the resource.
3859
3439
  # @return [String]
@@ -3875,17 +3455,6 @@ module Aws::ResilienceHub
3875
3455
  #
3876
3456
  class UntagResourceResponse < Aws::EmptyStructure; end
3877
3457
 
3878
- # @note When making an API call, you may pass UpdateAppRequest
3879
- # data as a hash:
3880
- #
3881
- # {
3882
- # app_arn: "Arn", # required
3883
- # assessment_schedule: "Disabled", # accepts Disabled, Daily
3884
- # clear_resiliency_policy_arn: false,
3885
- # description: "EntityDescription",
3886
- # policy_arn: "Arn",
3887
- # }
3888
- #
3889
3458
  # @!attribute [rw] app_arn
3890
3459
  # The Amazon Resource Name (ARN) of the application. The format for
3891
3460
  # this ARN is:
@@ -3948,23 +3517,6 @@ module Aws::ResilienceHub
3948
3517
  include Aws::Structure
3949
3518
  end
3950
3519
 
3951
- # @note When making an API call, you may pass UpdateResiliencyPolicyRequest
3952
- # data as a hash:
3953
- #
3954
- # {
3955
- # data_location_constraint: "AnyLocation", # accepts AnyLocation, SameContinent, SameCountry
3956
- # policy: {
3957
- # "Software" => {
3958
- # rpo_in_secs: 1, # required
3959
- # rto_in_secs: 1, # required
3960
- # },
3961
- # },
3962
- # policy_arn: "Arn", # required
3963
- # policy_description: "EntityDescription",
3964
- # policy_name: "EntityName",
3965
- # tier: "MissionCritical", # accepts MissionCritical, Critical, Important, CoreServices, NonCritical
3966
- # }
3967
- #
3968
3520
  # @!attribute [rw] data_location_constraint
3969
3521
  # Specifies a high-level geographical location constraint for where
3970
3522
  # your resilience policy data can be stored.
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-resiliencehub/customizations'
52
52
  # @!group service
53
53
  module Aws::ResilienceHub
54
54
 
55
- GEM_VERSION = '1.8.0'
55
+ GEM_VERSION = '1.9.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-resiliencehub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core