aws-sdk-resiliencehub 1.43.0 → 1.45.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehub/client.rb +191 -26
- data/lib/aws-sdk-resiliencehub/client_api.rb +129 -0
- data/lib/aws-sdk-resiliencehub/types.rb +319 -37
- data/lib/aws-sdk-resiliencehub.rb +1 -1
- data/sig/client.rbs +58 -0
- data/sig/types.rbs +77 -0
- metadata +2 -2
@@ -38,8 +38,8 @@ module Aws::ResilienceHub
|
|
38
38
|
# @return [String]
|
39
39
|
#
|
40
40
|
# @!attribute [rw] entries
|
41
|
-
#
|
42
|
-
#
|
41
|
+
# List of resource grouping recommendations you want to include in
|
42
|
+
# your application.
|
43
43
|
# @return [Array<Types::AcceptGroupingRecommendationEntry>]
|
44
44
|
#
|
45
45
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AcceptResourceGroupingRecommendationsRequest AWS API Documentation
|
@@ -64,8 +64,8 @@ module Aws::ResilienceHub
|
|
64
64
|
# @return [String]
|
65
65
|
#
|
66
66
|
# @!attribute [rw] failed_entries
|
67
|
-
#
|
68
|
-
#
|
67
|
+
# List of resource grouping recommendations that could not be included
|
68
|
+
# in your application.
|
69
69
|
# @return [Array<Types::FailedGroupingRecommendationEntry>]
|
70
70
|
#
|
71
71
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AcceptResourceGroupingRecommendationsResponse AWS API Documentation
|
@@ -155,6 +155,29 @@ module Aws::ResilienceHub
|
|
155
155
|
include Aws::Structure
|
156
156
|
end
|
157
157
|
|
158
|
+
# Indicates the Amazon CloudWatch alarm detected while running an
|
159
|
+
# assessment.
|
160
|
+
#
|
161
|
+
# @!attribute [rw] alarm_arn
|
162
|
+
# Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
|
163
|
+
# @return [String]
|
164
|
+
#
|
165
|
+
# @!attribute [rw] source
|
166
|
+
# Indicates the source of the Amazon CloudWatch alarm. That is, it
|
167
|
+
# indicates if the alarm was created using Resilience Hub
|
168
|
+
# recommendation (`AwsResilienceHub`), or if you had created the alarm
|
169
|
+
# in Amazon CloudWatch (`Customer`).
|
170
|
+
# @return [String]
|
171
|
+
#
|
172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/Alarm AWS API Documentation
|
173
|
+
#
|
174
|
+
class Alarm < Struct.new(
|
175
|
+
:alarm_arn,
|
176
|
+
:source)
|
177
|
+
SENSITIVE = []
|
178
|
+
include Aws::Structure
|
179
|
+
end
|
180
|
+
|
158
181
|
# Defines a recommendation for a CloudWatch alarm.
|
159
182
|
#
|
160
183
|
# @!attribute [rw] app_component_name
|
@@ -251,7 +274,7 @@ module Aws::ResilienceHub
|
|
251
274
|
# @return [String]
|
252
275
|
#
|
253
276
|
# @!attribute [rw] creation_time
|
254
|
-
# Date and time when the
|
277
|
+
# Date and time when the application was created.
|
255
278
|
# @return [Time]
|
256
279
|
#
|
257
280
|
# @!attribute [rw] description
|
@@ -846,7 +869,7 @@ module Aws::ResilienceHub
|
|
846
869
|
#
|
847
870
|
# @!attribute [rw] app_components
|
848
871
|
# Indicates the Application Components (AppComponents) that were
|
849
|
-
# assessed as part of the
|
872
|
+
# assessed as part of the assessment and are associated with the
|
850
873
|
# identified risk and recommendation.
|
851
874
|
#
|
852
875
|
# <note markdown="1"> This property is available only in the US East (N. Virginia) Region.
|
@@ -1005,6 +1028,10 @@ module Aws::ResilienceHub
|
|
1005
1028
|
# List of operational recommendations that were successfully included or
|
1006
1029
|
# excluded.
|
1007
1030
|
#
|
1031
|
+
# @!attribute [rw] app_component_id
|
1032
|
+
# Indicates the identifier of an AppComponent.
|
1033
|
+
# @return [String]
|
1034
|
+
#
|
1008
1035
|
# @!attribute [rw] entry_id
|
1009
1036
|
# An identifier for an entry in this batch that is used to communicate
|
1010
1037
|
# the result.
|
@@ -1035,6 +1062,7 @@ module Aws::ResilienceHub
|
|
1035
1062
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/BatchUpdateRecommendationStatusSuccessfulEntry AWS API Documentation
|
1036
1063
|
#
|
1037
1064
|
class BatchUpdateRecommendationStatusSuccessfulEntry < Struct.new(
|
1065
|
+
:app_component_id,
|
1038
1066
|
:entry_id,
|
1039
1067
|
:exclude_reason,
|
1040
1068
|
:excluded,
|
@@ -1141,6 +1169,31 @@ module Aws::ResilienceHub
|
|
1141
1169
|
include Aws::Structure
|
1142
1170
|
end
|
1143
1171
|
|
1172
|
+
# Indicates the condition based on which you want to filter the metrics.
|
1173
|
+
#
|
1174
|
+
# @!attribute [rw] field
|
1175
|
+
# Indicates the field in the metric.
|
1176
|
+
# @return [String]
|
1177
|
+
#
|
1178
|
+
# @!attribute [rw] operator
|
1179
|
+
# Indicates the type of operator or comparison to be used when
|
1180
|
+
# evaluating a condition against the specified field.
|
1181
|
+
# @return [String]
|
1182
|
+
#
|
1183
|
+
# @!attribute [rw] value
|
1184
|
+
# Indicates the value or data against which a condition is evaluated.
|
1185
|
+
# @return [String]
|
1186
|
+
#
|
1187
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/Condition AWS API Documentation
|
1188
|
+
#
|
1189
|
+
class Condition < Struct.new(
|
1190
|
+
:field,
|
1191
|
+
:operator,
|
1192
|
+
:value)
|
1193
|
+
SENSITIVE = []
|
1194
|
+
include Aws::Structure
|
1195
|
+
end
|
1196
|
+
|
1144
1197
|
# Defines a recommendation configuration.
|
1145
1198
|
#
|
1146
1199
|
# @!attribute [rw] app_component_name
|
@@ -1656,11 +1709,11 @@ module Aws::ResilienceHub
|
|
1656
1709
|
# @return [Hash<String,Types::FailurePolicy>]
|
1657
1710
|
#
|
1658
1711
|
# @!attribute [rw] policy_description
|
1659
|
-
#
|
1712
|
+
# Description of the resiliency policy.
|
1660
1713
|
# @return [String]
|
1661
1714
|
#
|
1662
1715
|
# @!attribute [rw] policy_name
|
1663
|
-
#
|
1716
|
+
# Name of the resiliency policy.
|
1664
1717
|
# @return [String]
|
1665
1718
|
#
|
1666
1719
|
# @!attribute [rw] tags
|
@@ -2834,6 +2887,46 @@ module Aws::ResilienceHub
|
|
2834
2887
|
include Aws::Structure
|
2835
2888
|
end
|
2836
2889
|
|
2890
|
+
# @!attribute [rw] metrics_export_id
|
2891
|
+
# Identifier of the metrics export task.
|
2892
|
+
# @return [String]
|
2893
|
+
#
|
2894
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeMetricsExportRequest AWS API Documentation
|
2895
|
+
#
|
2896
|
+
class DescribeMetricsExportRequest < Struct.new(
|
2897
|
+
:metrics_export_id)
|
2898
|
+
SENSITIVE = []
|
2899
|
+
include Aws::Structure
|
2900
|
+
end
|
2901
|
+
|
2902
|
+
# @!attribute [rw] error_message
|
2903
|
+
# Explains the error that occurred while exporting the metrics.
|
2904
|
+
# @return [String]
|
2905
|
+
#
|
2906
|
+
# @!attribute [rw] export_location
|
2907
|
+
# Specifies the name of the Amazon S3 bucket where the exported
|
2908
|
+
# metrics is stored.
|
2909
|
+
# @return [Types::S3Location]
|
2910
|
+
#
|
2911
|
+
# @!attribute [rw] metrics_export_id
|
2912
|
+
# Identifier for the metrics export task.
|
2913
|
+
# @return [String]
|
2914
|
+
#
|
2915
|
+
# @!attribute [rw] status
|
2916
|
+
# Indicates the status of the metrics export task.
|
2917
|
+
# @return [String]
|
2918
|
+
#
|
2919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeMetricsExportResponse AWS API Documentation
|
2920
|
+
#
|
2921
|
+
class DescribeMetricsExportResponse < Struct.new(
|
2922
|
+
:error_message,
|
2923
|
+
:export_location,
|
2924
|
+
:metrics_export_id,
|
2925
|
+
:status)
|
2926
|
+
SENSITIVE = []
|
2927
|
+
include Aws::Structure
|
2928
|
+
end
|
2929
|
+
|
2837
2930
|
# @!attribute [rw] policy_arn
|
2838
2931
|
# Amazon Resource Name (ARN) of the resiliency policy. The format for
|
2839
2932
|
# this ARN is:
|
@@ -2883,7 +2976,7 @@ module Aws::ResilienceHub
|
|
2883
2976
|
# @return [String]
|
2884
2977
|
#
|
2885
2978
|
# @!attribute [rw] grouping_id
|
2886
|
-
#
|
2979
|
+
# Identifier of the grouping recommendation task.
|
2887
2980
|
# @return [String]
|
2888
2981
|
#
|
2889
2982
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResourceGroupingRecommendationTaskRequest AWS API Documentation
|
@@ -2896,12 +2989,11 @@ module Aws::ResilienceHub
|
|
2896
2989
|
end
|
2897
2990
|
|
2898
2991
|
# @!attribute [rw] error_message
|
2899
|
-
#
|
2900
|
-
# recommendation.
|
2992
|
+
# Error that occurred while generating a grouping recommendation.
|
2901
2993
|
# @return [String]
|
2902
2994
|
#
|
2903
2995
|
# @!attribute [rw] grouping_id
|
2904
|
-
#
|
2996
|
+
# Identifier of the grouping recommendation task.
|
2905
2997
|
# @return [String]
|
2906
2998
|
#
|
2907
2999
|
# @!attribute [rw] status
|
@@ -3085,6 +3177,25 @@ module Aws::ResilienceHub
|
|
3085
3177
|
include Aws::Structure
|
3086
3178
|
end
|
3087
3179
|
|
3180
|
+
# Indicates the FIS experiment detected while running an assessment.
|
3181
|
+
#
|
3182
|
+
# @!attribute [rw] experiment_arn
|
3183
|
+
# Amazon Resource Name (ARN) of the FIS experiment.
|
3184
|
+
# @return [String]
|
3185
|
+
#
|
3186
|
+
# @!attribute [rw] experiment_template_id
|
3187
|
+
# Identifier of the FIS experiment template.
|
3188
|
+
# @return [String]
|
3189
|
+
#
|
3190
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/Experiment AWS API Documentation
|
3191
|
+
#
|
3192
|
+
class Experiment < Struct.new(
|
3193
|
+
:experiment_arn,
|
3194
|
+
:experiment_template_id)
|
3195
|
+
SENSITIVE = []
|
3196
|
+
include Aws::Structure
|
3197
|
+
end
|
3198
|
+
|
3088
3199
|
# Indicates the accepted grouping recommendation whose implementation
|
3089
3200
|
# failed.
|
3090
3201
|
#
|
@@ -3125,6 +3236,28 @@ module Aws::ResilienceHub
|
|
3125
3236
|
include Aws::Structure
|
3126
3237
|
end
|
3127
3238
|
|
3239
|
+
# Indicates the field or attribute of a resource or data structure on
|
3240
|
+
# which a condition is being applied or evaluated.
|
3241
|
+
#
|
3242
|
+
# @!attribute [rw] aggregation
|
3243
|
+
# (Optional) Indicates the type of aggregation or summary operation
|
3244
|
+
# (such as Sum, Average, and so on) to be performed on a particular
|
3245
|
+
# field or set of data.
|
3246
|
+
# @return [String]
|
3247
|
+
#
|
3248
|
+
# @!attribute [rw] name
|
3249
|
+
# Name of the field.
|
3250
|
+
# @return [String]
|
3251
|
+
#
|
3252
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/Field AWS API Documentation
|
3253
|
+
#
|
3254
|
+
class Field < Struct.new(
|
3255
|
+
:aggregation,
|
3256
|
+
:name)
|
3257
|
+
SENSITIVE = []
|
3258
|
+
include Aws::Structure
|
3259
|
+
end
|
3260
|
+
|
3128
3261
|
# Creates a new recommended Application Component (AppComponent).
|
3129
3262
|
#
|
3130
3263
|
# @!attribute [rw] app_component_id
|
@@ -3416,7 +3549,7 @@ module Aws::ResilienceHub
|
|
3416
3549
|
# @return [String]
|
3417
3550
|
#
|
3418
3551
|
# @!attribute [rw] max_results
|
3419
|
-
#
|
3552
|
+
# Maximum number of compliance drifts requested.
|
3420
3553
|
# @return [Integer]
|
3421
3554
|
#
|
3422
3555
|
# @!attribute [rw] next_token
|
@@ -3466,10 +3599,10 @@ module Aws::ResilienceHub
|
|
3466
3599
|
# @return [String]
|
3467
3600
|
#
|
3468
3601
|
# @!attribute [rw] max_results
|
3469
|
-
#
|
3470
|
-
#
|
3471
|
-
#
|
3472
|
-
#
|
3602
|
+
# Maximum number of drift results to include in the response. If more
|
3603
|
+
# results exist than the specified `MaxResults` value, a token is
|
3604
|
+
# included in the response so that the remaining results can be
|
3605
|
+
# retrieved.
|
3473
3606
|
# @return [Integer]
|
3474
3607
|
#
|
3475
3608
|
# @!attribute [rw] next_token
|
@@ -4040,8 +4173,8 @@ module Aws::ResilienceHub
|
|
4040
4173
|
# @return [String]
|
4041
4174
|
#
|
4042
4175
|
# @!attribute [rw] from_last_assessment_time
|
4043
|
-
#
|
4044
|
-
#
|
4176
|
+
# Lower limit of the range that is used to filter applications based
|
4177
|
+
# on their last assessment times.
|
4045
4178
|
# @return [Time]
|
4046
4179
|
#
|
4047
4180
|
# @!attribute [rw] max_results
|
@@ -4068,8 +4201,8 @@ module Aws::ResilienceHub
|
|
4068
4201
|
# @return [Boolean]
|
4069
4202
|
#
|
4070
4203
|
# @!attribute [rw] to_last_assessment_time
|
4071
|
-
#
|
4072
|
-
#
|
4204
|
+
# Upper limit of the range that is used to filter the applications
|
4205
|
+
# based on their last assessment times.
|
4073
4206
|
# @return [Time]
|
4074
4207
|
#
|
4075
4208
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppsRequest AWS API Documentation
|
@@ -4105,6 +4238,68 @@ module Aws::ResilienceHub
|
|
4105
4238
|
include Aws::Structure
|
4106
4239
|
end
|
4107
4240
|
|
4241
|
+
# @!attribute [rw] conditions
|
4242
|
+
# Indicates the list of all the conditions that were applied on the
|
4243
|
+
# metrics.
|
4244
|
+
# @return [Array<Types::Condition>]
|
4245
|
+
#
|
4246
|
+
# @!attribute [rw] data_source
|
4247
|
+
# Indicates the data source of the metrics.
|
4248
|
+
# @return [String]
|
4249
|
+
#
|
4250
|
+
# @!attribute [rw] fields
|
4251
|
+
# Indicates the list of fields in the data source.
|
4252
|
+
# @return [Array<Types::Field>]
|
4253
|
+
#
|
4254
|
+
# @!attribute [rw] max_results
|
4255
|
+
# Maximum number of results to include in the response. If more
|
4256
|
+
# results exist than the specified `MaxResults` value, a token is
|
4257
|
+
# included in the response so that the remaining results can be
|
4258
|
+
# retrieved.
|
4259
|
+
# @return [Integer]
|
4260
|
+
#
|
4261
|
+
# @!attribute [rw] next_token
|
4262
|
+
# Null, or the token from a previous call to get the next set of
|
4263
|
+
# results.
|
4264
|
+
# @return [String]
|
4265
|
+
#
|
4266
|
+
# @!attribute [rw] sorts
|
4267
|
+
# (Optional) Indicates the order in which you want to sort the fields
|
4268
|
+
# in the metrics. By default, the fields are sorted in the ascending
|
4269
|
+
# order.
|
4270
|
+
# @return [Array<Types::Sort>]
|
4271
|
+
#
|
4272
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListMetricsRequest AWS API Documentation
|
4273
|
+
#
|
4274
|
+
class ListMetricsRequest < Struct.new(
|
4275
|
+
:conditions,
|
4276
|
+
:data_source,
|
4277
|
+
:fields,
|
4278
|
+
:max_results,
|
4279
|
+
:next_token,
|
4280
|
+
:sorts)
|
4281
|
+
SENSITIVE = []
|
4282
|
+
include Aws::Structure
|
4283
|
+
end
|
4284
|
+
|
4285
|
+
# @!attribute [rw] next_token
|
4286
|
+
# Token for the next set of results, or null if there are no more
|
4287
|
+
# results.
|
4288
|
+
# @return [String]
|
4289
|
+
#
|
4290
|
+
# @!attribute [rw] rows
|
4291
|
+
# Specifies all the list of metric values for each row of metrics.
|
4292
|
+
# @return [Array<Array<String>>]
|
4293
|
+
#
|
4294
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListMetricsResponse AWS API Documentation
|
4295
|
+
#
|
4296
|
+
class ListMetricsResponse < Struct.new(
|
4297
|
+
:next_token,
|
4298
|
+
:rows)
|
4299
|
+
SENSITIVE = []
|
4300
|
+
include Aws::Structure
|
4301
|
+
end
|
4302
|
+
|
4108
4303
|
# @!attribute [rw] assessment_arn
|
4109
4304
|
# Amazon Resource Name (ARN) of the assessment. The format for this
|
4110
4305
|
# ARN is:
|
@@ -4191,7 +4386,7 @@ module Aws::ResilienceHub
|
|
4191
4386
|
# @return [String]
|
4192
4387
|
#
|
4193
4388
|
# @!attribute [rw] policy_name
|
4194
|
-
#
|
4389
|
+
# Name of the resiliency policy.
|
4195
4390
|
# @return [String]
|
4196
4391
|
#
|
4197
4392
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPoliciesRequest AWS API Documentation
|
@@ -4576,6 +4771,11 @@ module Aws::ResilienceHub
|
|
4576
4771
|
# Principle to obtain a read-only access to your application resources
|
4577
4772
|
# while running an assessment.
|
4578
4773
|
#
|
4774
|
+
# If your IAM role includes a path, you must include the path in the
|
4775
|
+
# `invokerRoleName` parameter. For example, if your IAM role's ARN is
|
4776
|
+
# `arn:aws:iam:123456789012:role/my-path/role-name`, you should pass
|
4777
|
+
# `my-path/role-name`.
|
4778
|
+
#
|
4579
4779
|
# <note markdown="1"> * You must have `iam:passRole` permission for this role while
|
4580
4780
|
# creating or updating the application.
|
4581
4781
|
#
|
@@ -5150,6 +5350,11 @@ module Aws::ResilienceHub
|
|
5150
5350
|
# Specifies if the recommendation has already been implemented.
|
5151
5351
|
# @return [Boolean]
|
5152
5352
|
#
|
5353
|
+
# @!attribute [rw] discovered_alarm
|
5354
|
+
# Indicates the previously implemented Amazon CloudWatch alarm
|
5355
|
+
# discovered by Resilience Hub.
|
5356
|
+
# @return [Types::Alarm]
|
5357
|
+
#
|
5153
5358
|
# @!attribute [rw] exclude_reason
|
5154
5359
|
# Indicates the reason for excluding an operational recommendation.
|
5155
5360
|
# @return [String]
|
@@ -5158,6 +5363,11 @@ module Aws::ResilienceHub
|
|
5158
5363
|
# Indicates if an operational recommendation item is excluded.
|
5159
5364
|
# @return [Boolean]
|
5160
5365
|
#
|
5366
|
+
# @!attribute [rw] latest_discovered_experiment
|
5367
|
+
# Indicates the experiment created in FIS that was discovered by
|
5368
|
+
# Resilience Hub, which matches the recommendation.
|
5369
|
+
# @return [Types::Experiment]
|
5370
|
+
#
|
5161
5371
|
# @!attribute [rw] resource_id
|
5162
5372
|
# Identifier of the resource.
|
5163
5373
|
# @return [String]
|
@@ -5174,8 +5384,10 @@ module Aws::ResilienceHub
|
|
5174
5384
|
#
|
5175
5385
|
class RecommendationItem < Struct.new(
|
5176
5386
|
:already_implemented,
|
5387
|
+
:discovered_alarm,
|
5177
5388
|
:exclude_reason,
|
5178
5389
|
:excluded,
|
5390
|
+
:latest_discovered_experiment,
|
5179
5391
|
:resource_id,
|
5180
5392
|
:target_account_id,
|
5181
5393
|
:target_region)
|
@@ -5336,8 +5548,8 @@ module Aws::ResilienceHub
|
|
5336
5548
|
# @return [String]
|
5337
5549
|
#
|
5338
5550
|
# @!attribute [rw] entries
|
5339
|
-
#
|
5340
|
-
#
|
5551
|
+
# List of resource grouping recommendations you have selected to
|
5552
|
+
# exclude from your application.
|
5341
5553
|
# @return [Array<Types::RejectGroupingRecommendationEntry>]
|
5342
5554
|
#
|
5343
5555
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RejectResourceGroupingRecommendationsRequest AWS API Documentation
|
@@ -5362,8 +5574,8 @@ module Aws::ResilienceHub
|
|
5362
5574
|
# @return [String]
|
5363
5575
|
#
|
5364
5576
|
# @!attribute [rw] failed_entries
|
5365
|
-
#
|
5366
|
-
#
|
5577
|
+
# List of resource grouping recommendations that failed to get
|
5578
|
+
# excluded in your application.
|
5367
5579
|
# @return [Array<Types::FailedGroupingRecommendationEntry>]
|
5368
5580
|
#
|
5369
5581
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RejectResourceGroupingRecommendationsResponse AWS API Documentation
|
@@ -5502,7 +5714,7 @@ module Aws::ResilienceHub
|
|
5502
5714
|
# @return [String]
|
5503
5715
|
#
|
5504
5716
|
# @!attribute [rw] policy_description
|
5505
|
-
#
|
5717
|
+
# Description of the resiliency policy.
|
5506
5718
|
# @return [String]
|
5507
5719
|
#
|
5508
5720
|
# @!attribute [rw] policy_name
|
@@ -5955,6 +6167,28 @@ module Aws::ResilienceHub
|
|
5955
6167
|
include Aws::Structure
|
5956
6168
|
end
|
5957
6169
|
|
6170
|
+
# Indicates the sorting order of the fields in the metrics.
|
6171
|
+
#
|
6172
|
+
# @!attribute [rw] ascending
|
6173
|
+
# Indicates the name or identifier of the field or attribute that
|
6174
|
+
# should be used as the basis for sorting the metrics.
|
6175
|
+
# @return [Boolean]
|
6176
|
+
#
|
6177
|
+
# @!attribute [rw] field
|
6178
|
+
# Indicates the order in which you want to sort the metrics. By
|
6179
|
+
# default, the list is sorted in ascending order. To sort the list in
|
6180
|
+
# descending order, set this field to False.
|
6181
|
+
# @return [String]
|
6182
|
+
#
|
6183
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/Sort AWS API Documentation
|
6184
|
+
#
|
6185
|
+
class Sort < Struct.new(
|
6186
|
+
:ascending,
|
6187
|
+
:field)
|
6188
|
+
SENSITIVE = []
|
6189
|
+
include Aws::Structure
|
6190
|
+
end
|
6191
|
+
|
5958
6192
|
# @!attribute [rw] app_arn
|
5959
6193
|
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
5960
6194
|
# format for this ARN is:
|
@@ -6014,6 +6248,46 @@ module Aws::ResilienceHub
|
|
6014
6248
|
include Aws::Structure
|
6015
6249
|
end
|
6016
6250
|
|
6251
|
+
# @!attribute [rw] bucket_name
|
6252
|
+
# (Optional) Specifies the name of the Amazon Simple Storage Service
|
6253
|
+
# bucket where the exported metrics will be stored.
|
6254
|
+
# @return [String]
|
6255
|
+
#
|
6256
|
+
# @!attribute [rw] client_token
|
6257
|
+
# Used for an idempotency token. A client token is a unique,
|
6258
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
6259
|
+
# reuse the same client token for other API requests.
|
6260
|
+
#
|
6261
|
+
# **A suitable default value is auto-generated.** You should normally
|
6262
|
+
# not need to pass this option.
|
6263
|
+
# @return [String]
|
6264
|
+
#
|
6265
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartMetricsExportRequest AWS API Documentation
|
6266
|
+
#
|
6267
|
+
class StartMetricsExportRequest < Struct.new(
|
6268
|
+
:bucket_name,
|
6269
|
+
:client_token)
|
6270
|
+
SENSITIVE = []
|
6271
|
+
include Aws::Structure
|
6272
|
+
end
|
6273
|
+
|
6274
|
+
# @!attribute [rw] metrics_export_id
|
6275
|
+
# Identifier of the metrics export task.
|
6276
|
+
# @return [String]
|
6277
|
+
#
|
6278
|
+
# @!attribute [rw] status
|
6279
|
+
# Indicates the status of the metrics export task.
|
6280
|
+
# @return [String]
|
6281
|
+
#
|
6282
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartMetricsExportResponse AWS API Documentation
|
6283
|
+
#
|
6284
|
+
class StartMetricsExportResponse < Struct.new(
|
6285
|
+
:metrics_export_id,
|
6286
|
+
:status)
|
6287
|
+
SENSITIVE = []
|
6288
|
+
include Aws::Structure
|
6289
|
+
end
|
6290
|
+
|
6017
6291
|
# @!attribute [rw] app_arn
|
6018
6292
|
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
6019
6293
|
# format for this ARN is:
|
@@ -6047,12 +6321,11 @@ module Aws::ResilienceHub
|
|
6047
6321
|
# @return [String]
|
6048
6322
|
#
|
6049
6323
|
# @!attribute [rw] error_message
|
6050
|
-
#
|
6051
|
-
# recommendation task.
|
6324
|
+
# Error that occurred while executing a grouping recommendation task.
|
6052
6325
|
# @return [String]
|
6053
6326
|
#
|
6054
6327
|
# @!attribute [rw] grouping_id
|
6055
|
-
#
|
6328
|
+
# Identifier of the grouping recommendation task.
|
6056
6329
|
# @return [String]
|
6057
6330
|
#
|
6058
6331
|
# @!attribute [rw] status
|
@@ -6108,6 +6381,10 @@ module Aws::ResilienceHub
|
|
6108
6381
|
|
6109
6382
|
# Defines a test recommendation.
|
6110
6383
|
#
|
6384
|
+
# @!attribute [rw] app_component_id
|
6385
|
+
# Indicates the identifier of the AppComponent.
|
6386
|
+
# @return [String]
|
6387
|
+
#
|
6111
6388
|
# @!attribute [rw] app_component_name
|
6112
6389
|
# Name of the Application Component.
|
6113
6390
|
# @return [String]
|
@@ -6160,6 +6437,7 @@ module Aws::ResilienceHub
|
|
6160
6437
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TestRecommendation AWS API Documentation
|
6161
6438
|
#
|
6162
6439
|
class TestRecommendation < Struct.new(
|
6440
|
+
:app_component_id,
|
6163
6441
|
:app_component_name,
|
6164
6442
|
:depends_on_alarms,
|
6165
6443
|
:description,
|
@@ -6615,6 +6893,10 @@ module Aws::ResilienceHub
|
|
6615
6893
|
# Defines the operational recommendation item that is to be included or
|
6616
6894
|
# excluded.
|
6617
6895
|
#
|
6896
|
+
# @!attribute [rw] app_component_id
|
6897
|
+
# Indicates the identifier of the AppComponent.
|
6898
|
+
# @return [String]
|
6899
|
+
#
|
6618
6900
|
# @!attribute [rw] entry_id
|
6619
6901
|
# An identifier for an entry in this batch that is used to communicate
|
6620
6902
|
# the result.
|
@@ -6645,6 +6927,7 @@ module Aws::ResilienceHub
|
|
6645
6927
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateRecommendationStatusRequestEntry AWS API Documentation
|
6646
6928
|
#
|
6647
6929
|
class UpdateRecommendationStatusRequestEntry < Struct.new(
|
6930
|
+
:app_component_id,
|
6648
6931
|
:entry_id,
|
6649
6932
|
:exclude_reason,
|
6650
6933
|
:excluded,
|
@@ -6660,8 +6943,8 @@ module Aws::ResilienceHub
|
|
6660
6943
|
# @return [String]
|
6661
6944
|
#
|
6662
6945
|
# @!attribute [rw] policy
|
6663
|
-
#
|
6664
|
-
#
|
6946
|
+
# Resiliency policy to be created, including the recovery time
|
6947
|
+
# objective (RTO) and recovery point objective (RPO) in seconds.
|
6665
6948
|
# @return [Hash<String,Types::FailurePolicy>]
|
6666
6949
|
#
|
6667
6950
|
# @!attribute [rw] policy_arn
|
@@ -6677,11 +6960,11 @@ module Aws::ResilienceHub
|
|
6677
6960
|
# @return [String]
|
6678
6961
|
#
|
6679
6962
|
# @!attribute [rw] policy_description
|
6680
|
-
#
|
6963
|
+
# Description of the resiliency policy.
|
6681
6964
|
# @return [String]
|
6682
6965
|
#
|
6683
6966
|
# @!attribute [rw] policy_name
|
6684
|
-
#
|
6967
|
+
# Name of the resiliency policy.
|
6685
6968
|
# @return [String]
|
6686
6969
|
#
|
6687
6970
|
# @!attribute [rw] tier
|
@@ -6703,9 +6986,8 @@ module Aws::ResilienceHub
|
|
6703
6986
|
end
|
6704
6987
|
|
6705
6988
|
# @!attribute [rw] policy
|
6706
|
-
# The
|
6707
|
-
#
|
6708
|
-
# seconds.
|
6989
|
+
# The resiliency policy that was updated, including the recovery time
|
6990
|
+
# objective (RTO) and recovery point objective (RPO) in seconds.
|
6709
6991
|
# @return [Types::ResiliencyPolicy]
|
6710
6992
|
#
|
6711
6993
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicyResponse AWS API Documentation
|