aws-sdk-resiliencehub 1.0.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 +7 -0
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-resiliencehub/client.rb +2725 -0
- data/lib/aws-sdk-resiliencehub/client_api.rb +1503 -0
- data/lib/aws-sdk-resiliencehub/customizations.rb +0 -0
- data/lib/aws-sdk-resiliencehub/errors.rb +175 -0
- data/lib/aws-sdk-resiliencehub/resource.rb +26 -0
- data/lib/aws-sdk-resiliencehub/types.rb +3907 -0
- data/lib/aws-sdk-resiliencehub.rb +53 -0
- metadata +90 -0
@@ -0,0 +1,3907 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::ResilienceHub
|
11
|
+
module Types
|
12
|
+
|
13
|
+
# You don't have permissions to perform the requested operation. The
|
14
|
+
# user or role that is making the request must have at least one IAM
|
15
|
+
# permissions policy attached that grants the required permissions.
|
16
|
+
#
|
17
|
+
# @!attribute [rw] message
|
18
|
+
# @return [String]
|
19
|
+
#
|
20
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AccessDeniedException AWS API Documentation
|
21
|
+
#
|
22
|
+
class AccessDeniedException < Struct.new(
|
23
|
+
:message)
|
24
|
+
SENSITIVE = []
|
25
|
+
include Aws::Structure
|
26
|
+
end
|
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
|
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
|
+
# },
|
47
|
+
# ],
|
48
|
+
# }
|
49
|
+
#
|
50
|
+
# @!attribute [rw] app_arn
|
51
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
52
|
+
# this ARN is:
|
53
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
54
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
55
|
+
# the *AWS General Reference*.
|
56
|
+
#
|
57
|
+
#
|
58
|
+
#
|
59
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
60
|
+
# @return [String]
|
61
|
+
#
|
62
|
+
# @!attribute [rw] resource_mappings
|
63
|
+
# Mappings used to map logical resources from the template to physical
|
64
|
+
# resources. You can use the mapping type `CFN_STACK` if the
|
65
|
+
# application template uses a logical stack name. Or you can map
|
66
|
+
# individual resources by using the mapping type `RESOURCE`. We
|
67
|
+
# recommend using the mapping type `CFN_STACK` if the application is
|
68
|
+
# backed by a CloudFormation stack.
|
69
|
+
# @return [Array<Types::ResourceMapping>]
|
70
|
+
#
|
71
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AddDraftAppVersionResourceMappingsRequest AWS API Documentation
|
72
|
+
#
|
73
|
+
class AddDraftAppVersionResourceMappingsRequest < Struct.new(
|
74
|
+
:app_arn,
|
75
|
+
:resource_mappings)
|
76
|
+
SENSITIVE = []
|
77
|
+
include Aws::Structure
|
78
|
+
end
|
79
|
+
|
80
|
+
# @!attribute [rw] app_arn
|
81
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
82
|
+
# this ARN is:
|
83
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
84
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
85
|
+
# the *AWS General Reference*.
|
86
|
+
#
|
87
|
+
#
|
88
|
+
#
|
89
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
90
|
+
# @return [String]
|
91
|
+
#
|
92
|
+
# @!attribute [rw] app_version
|
93
|
+
# The version of the application.
|
94
|
+
# @return [String]
|
95
|
+
#
|
96
|
+
# @!attribute [rw] resource_mappings
|
97
|
+
# Mappings used to map logical resources from the template to physical
|
98
|
+
# resources. You can use the mapping type `CFN_STACK` if the
|
99
|
+
# application template uses a logical stack name. Or you can map
|
100
|
+
# individual resources by using the mapping type `RESOURCE`. We
|
101
|
+
# recommend using the mapping type `CFN_STACK` if the application is
|
102
|
+
# backed by a CloudFormation stack.
|
103
|
+
# @return [Array<Types::ResourceMapping>]
|
104
|
+
#
|
105
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AddDraftAppVersionResourceMappingsResponse AWS API Documentation
|
106
|
+
#
|
107
|
+
class AddDraftAppVersionResourceMappingsResponse < Struct.new(
|
108
|
+
:app_arn,
|
109
|
+
:app_version,
|
110
|
+
:resource_mappings)
|
111
|
+
SENSITIVE = []
|
112
|
+
include Aws::Structure
|
113
|
+
end
|
114
|
+
|
115
|
+
# Defines a recommendation for a CloudWatch alarm.
|
116
|
+
#
|
117
|
+
# @!attribute [rw] app_component_name
|
118
|
+
# The application component for the CloudWatch alarm recommendation.
|
119
|
+
# @return [String]
|
120
|
+
#
|
121
|
+
# @!attribute [rw] description
|
122
|
+
# The description of the recommendation.
|
123
|
+
# @return [String]
|
124
|
+
#
|
125
|
+
# @!attribute [rw] items
|
126
|
+
# The list of CloudWatch alarm recommendations.
|
127
|
+
# @return [Array<Types::RecommendationItem>]
|
128
|
+
#
|
129
|
+
# @!attribute [rw] name
|
130
|
+
# The name of the alarm recommendation.
|
131
|
+
# @return [String]
|
132
|
+
#
|
133
|
+
# @!attribute [rw] prerequisite
|
134
|
+
# The prerequisite for the alarm recommendation.
|
135
|
+
# @return [String]
|
136
|
+
#
|
137
|
+
# @!attribute [rw] recommendation_id
|
138
|
+
# The identifier of the alarm recommendation.
|
139
|
+
# @return [String]
|
140
|
+
#
|
141
|
+
# @!attribute [rw] reference_id
|
142
|
+
# The reference identifier of the alarm recommendation.
|
143
|
+
# @return [String]
|
144
|
+
#
|
145
|
+
# @!attribute [rw] type
|
146
|
+
# The type of alarm recommendation.
|
147
|
+
# @return [String]
|
148
|
+
#
|
149
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AlarmRecommendation AWS API Documentation
|
150
|
+
#
|
151
|
+
class AlarmRecommendation < Struct.new(
|
152
|
+
:app_component_name,
|
153
|
+
:description,
|
154
|
+
:items,
|
155
|
+
:name,
|
156
|
+
:prerequisite,
|
157
|
+
:recommendation_id,
|
158
|
+
:reference_id,
|
159
|
+
:type)
|
160
|
+
SENSITIVE = []
|
161
|
+
include Aws::Structure
|
162
|
+
end
|
163
|
+
|
164
|
+
# Defines a Resilience Hub application.
|
165
|
+
#
|
166
|
+
# @!attribute [rw] app_arn
|
167
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
168
|
+
# this ARN is:
|
169
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
170
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
171
|
+
# the *AWS General Reference*.
|
172
|
+
#
|
173
|
+
#
|
174
|
+
#
|
175
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
176
|
+
# @return [String]
|
177
|
+
#
|
178
|
+
# @!attribute [rw] compliance_status
|
179
|
+
# The current status of compliance for the resiliency policy.
|
180
|
+
# @return [String]
|
181
|
+
#
|
182
|
+
# @!attribute [rw] creation_time
|
183
|
+
# The timestamp for when the app was created.
|
184
|
+
# @return [Time]
|
185
|
+
#
|
186
|
+
# @!attribute [rw] description
|
187
|
+
# The optional description for an app.
|
188
|
+
# @return [String]
|
189
|
+
#
|
190
|
+
# @!attribute [rw] last_app_compliance_evaluation_time
|
191
|
+
# The timestamp for the most recent compliance evaluation.
|
192
|
+
# @return [Time]
|
193
|
+
#
|
194
|
+
# @!attribute [rw] last_resiliency_score_evaluation_time
|
195
|
+
# The timestamp for the most recent resiliency score evaluation.
|
196
|
+
# @return [Time]
|
197
|
+
#
|
198
|
+
# @!attribute [rw] name
|
199
|
+
# The name for the application.
|
200
|
+
# @return [String]
|
201
|
+
#
|
202
|
+
# @!attribute [rw] policy_arn
|
203
|
+
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
204
|
+
# for this ARN is:
|
205
|
+
# arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
|
206
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
207
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
208
|
+
#
|
209
|
+
#
|
210
|
+
#
|
211
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
212
|
+
# @return [String]
|
213
|
+
#
|
214
|
+
# @!attribute [rw] resiliency_score
|
215
|
+
# The current resiliency score for the application.
|
216
|
+
# @return [Float]
|
217
|
+
#
|
218
|
+
# @!attribute [rw] status
|
219
|
+
# The status of the action.
|
220
|
+
# @return [String]
|
221
|
+
#
|
222
|
+
# @!attribute [rw] tags
|
223
|
+
# The tags assigned to the resource. A tag is a label that you assign
|
224
|
+
# to an Amazon Web Services resource. Each tag consists of a key/value
|
225
|
+
# pair.
|
226
|
+
# @return [Hash<String,String>]
|
227
|
+
#
|
228
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/App AWS API Documentation
|
229
|
+
#
|
230
|
+
class App < Struct.new(
|
231
|
+
:app_arn,
|
232
|
+
:compliance_status,
|
233
|
+
:creation_time,
|
234
|
+
:description,
|
235
|
+
:last_app_compliance_evaluation_time,
|
236
|
+
:last_resiliency_score_evaluation_time,
|
237
|
+
:name,
|
238
|
+
:policy_arn,
|
239
|
+
:resiliency_score,
|
240
|
+
:status,
|
241
|
+
:tags)
|
242
|
+
SENSITIVE = [:tags]
|
243
|
+
include Aws::Structure
|
244
|
+
end
|
245
|
+
|
246
|
+
# Defines an application assessment.
|
247
|
+
#
|
248
|
+
# @!attribute [rw] app_arn
|
249
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
250
|
+
# this ARN is:
|
251
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
252
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
253
|
+
# the *AWS General Reference*.
|
254
|
+
#
|
255
|
+
#
|
256
|
+
#
|
257
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
258
|
+
# @return [String]
|
259
|
+
#
|
260
|
+
# @!attribute [rw] app_version
|
261
|
+
# The version of the application.
|
262
|
+
# @return [String]
|
263
|
+
#
|
264
|
+
# @!attribute [rw] assessment_arn
|
265
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
266
|
+
# this ARN is:
|
267
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
268
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
269
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
270
|
+
#
|
271
|
+
#
|
272
|
+
#
|
273
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
274
|
+
# @return [String]
|
275
|
+
#
|
276
|
+
# @!attribute [rw] assessment_name
|
277
|
+
# The name of the assessment.
|
278
|
+
# @return [String]
|
279
|
+
#
|
280
|
+
# @!attribute [rw] assessment_status
|
281
|
+
# The current status of the assessment for the resiliency policy.
|
282
|
+
# @return [String]
|
283
|
+
#
|
284
|
+
# @!attribute [rw] compliance
|
285
|
+
# The application compliance against the resiliency policy.
|
286
|
+
# @return [Hash<String,Types::DisruptionCompliance>]
|
287
|
+
#
|
288
|
+
# @!attribute [rw] compliance_status
|
289
|
+
# The current status of the compliance for the resiliency policy.
|
290
|
+
# @return [String]
|
291
|
+
#
|
292
|
+
# @!attribute [rw] cost
|
293
|
+
# The cost for the application.
|
294
|
+
# @return [Types::Cost]
|
295
|
+
#
|
296
|
+
# @!attribute [rw] end_time
|
297
|
+
# The end time for the action.
|
298
|
+
# @return [Time]
|
299
|
+
#
|
300
|
+
# @!attribute [rw] invoker
|
301
|
+
# The entity that invoked the assessment.
|
302
|
+
# @return [String]
|
303
|
+
#
|
304
|
+
# @!attribute [rw] message
|
305
|
+
# Error or warning message from the assessment execution
|
306
|
+
# @return [String]
|
307
|
+
#
|
308
|
+
# @!attribute [rw] policy
|
309
|
+
# The resiliency policy.
|
310
|
+
# @return [Types::ResiliencyPolicy]
|
311
|
+
#
|
312
|
+
# @!attribute [rw] resiliency_score
|
313
|
+
# The current resiliency score for the application.
|
314
|
+
# @return [Types::ResiliencyScore]
|
315
|
+
#
|
316
|
+
# @!attribute [rw] start_time
|
317
|
+
# The starting time for the action.
|
318
|
+
# @return [Time]
|
319
|
+
#
|
320
|
+
# @!attribute [rw] tags
|
321
|
+
# The tags assigned to the resource. A tag is a label that you assign
|
322
|
+
# to an Amazon Web Services resource. Each tag consists of a key/value
|
323
|
+
# pair.
|
324
|
+
# @return [Hash<String,String>]
|
325
|
+
#
|
326
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AppAssessment AWS API Documentation
|
327
|
+
#
|
328
|
+
class AppAssessment < Struct.new(
|
329
|
+
:app_arn,
|
330
|
+
:app_version,
|
331
|
+
:assessment_arn,
|
332
|
+
:assessment_name,
|
333
|
+
:assessment_status,
|
334
|
+
:compliance,
|
335
|
+
:compliance_status,
|
336
|
+
:cost,
|
337
|
+
:end_time,
|
338
|
+
:invoker,
|
339
|
+
:message,
|
340
|
+
:policy,
|
341
|
+
:resiliency_score,
|
342
|
+
:start_time,
|
343
|
+
:tags)
|
344
|
+
SENSITIVE = [:tags]
|
345
|
+
include Aws::Structure
|
346
|
+
end
|
347
|
+
|
348
|
+
# Defines an application assessment summary.
|
349
|
+
#
|
350
|
+
# @!attribute [rw] app_arn
|
351
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
352
|
+
# this ARN is:
|
353
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
354
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
355
|
+
# the *AWS General Reference*.
|
356
|
+
#
|
357
|
+
#
|
358
|
+
#
|
359
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
360
|
+
# @return [String]
|
361
|
+
#
|
362
|
+
# @!attribute [rw] app_version
|
363
|
+
# The version of the application.
|
364
|
+
# @return [String]
|
365
|
+
#
|
366
|
+
# @!attribute [rw] assessment_arn
|
367
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
368
|
+
# this ARN is:
|
369
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
370
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
371
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
372
|
+
#
|
373
|
+
#
|
374
|
+
#
|
375
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
376
|
+
# @return [String]
|
377
|
+
#
|
378
|
+
# @!attribute [rw] assessment_name
|
379
|
+
# The name of the assessment.
|
380
|
+
# @return [String]
|
381
|
+
#
|
382
|
+
# @!attribute [rw] assessment_status
|
383
|
+
# The current status of the assessment for the resiliency policy.
|
384
|
+
# @return [String]
|
385
|
+
#
|
386
|
+
# @!attribute [rw] compliance_status
|
387
|
+
# The current status of compliance for the resiliency policy.
|
388
|
+
# @return [String]
|
389
|
+
#
|
390
|
+
# @!attribute [rw] cost
|
391
|
+
# The cost for the application.
|
392
|
+
# @return [Types::Cost]
|
393
|
+
#
|
394
|
+
# @!attribute [rw] end_time
|
395
|
+
# The end time for the action.
|
396
|
+
# @return [Time]
|
397
|
+
#
|
398
|
+
# @!attribute [rw] invoker
|
399
|
+
# The entity that invoked the assessment.
|
400
|
+
# @return [String]
|
401
|
+
#
|
402
|
+
# @!attribute [rw] message
|
403
|
+
# The message from the assessment run.
|
404
|
+
# @return [String]
|
405
|
+
#
|
406
|
+
# @!attribute [rw] resiliency_score
|
407
|
+
# The current resiliency score for the application.
|
408
|
+
# @return [Float]
|
409
|
+
#
|
410
|
+
# @!attribute [rw] start_time
|
411
|
+
# The starting time for the action.
|
412
|
+
# @return [Time]
|
413
|
+
#
|
414
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AppAssessmentSummary AWS API Documentation
|
415
|
+
#
|
416
|
+
class AppAssessmentSummary < Struct.new(
|
417
|
+
:app_arn,
|
418
|
+
:app_version,
|
419
|
+
:assessment_arn,
|
420
|
+
:assessment_name,
|
421
|
+
:assessment_status,
|
422
|
+
:compliance_status,
|
423
|
+
:cost,
|
424
|
+
:end_time,
|
425
|
+
:invoker,
|
426
|
+
:message,
|
427
|
+
:resiliency_score,
|
428
|
+
:start_time)
|
429
|
+
SENSITIVE = []
|
430
|
+
include Aws::Structure
|
431
|
+
end
|
432
|
+
|
433
|
+
# Defines an application component.
|
434
|
+
#
|
435
|
+
# @!attribute [rw] name
|
436
|
+
# The name of the application component.
|
437
|
+
# @return [String]
|
438
|
+
#
|
439
|
+
# @!attribute [rw] type
|
440
|
+
# The type of application component.
|
441
|
+
# @return [String]
|
442
|
+
#
|
443
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AppComponent AWS API Documentation
|
444
|
+
#
|
445
|
+
class AppComponent < Struct.new(
|
446
|
+
:name,
|
447
|
+
:type)
|
448
|
+
SENSITIVE = []
|
449
|
+
include Aws::Structure
|
450
|
+
end
|
451
|
+
|
452
|
+
# Defines the compliance of an application component against the
|
453
|
+
# resiliency policy.
|
454
|
+
#
|
455
|
+
# @!attribute [rw] app_component_name
|
456
|
+
# The name of the application component.
|
457
|
+
# @return [String]
|
458
|
+
#
|
459
|
+
# @!attribute [rw] compliance
|
460
|
+
# The compliance of the application component against the resiliency
|
461
|
+
# policy.
|
462
|
+
# @return [Hash<String,Types::DisruptionCompliance>]
|
463
|
+
#
|
464
|
+
# @!attribute [rw] cost
|
465
|
+
# The cost for the application.
|
466
|
+
# @return [Types::Cost]
|
467
|
+
#
|
468
|
+
# @!attribute [rw] message
|
469
|
+
# The compliance message.
|
470
|
+
# @return [String]
|
471
|
+
#
|
472
|
+
# @!attribute [rw] resiliency_score
|
473
|
+
# The current resiliency score for the application.
|
474
|
+
# @return [Types::ResiliencyScore]
|
475
|
+
#
|
476
|
+
# @!attribute [rw] status
|
477
|
+
# The status of the action.
|
478
|
+
# @return [String]
|
479
|
+
#
|
480
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AppComponentCompliance AWS API Documentation
|
481
|
+
#
|
482
|
+
class AppComponentCompliance < Struct.new(
|
483
|
+
:app_component_name,
|
484
|
+
:compliance,
|
485
|
+
:cost,
|
486
|
+
:message,
|
487
|
+
:resiliency_score,
|
488
|
+
:status)
|
489
|
+
SENSITIVE = []
|
490
|
+
include Aws::Structure
|
491
|
+
end
|
492
|
+
|
493
|
+
# Defines an application summary.
|
494
|
+
#
|
495
|
+
# @!attribute [rw] app_arn
|
496
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
497
|
+
# this ARN is:
|
498
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
499
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
500
|
+
# the *AWS General Reference*.
|
501
|
+
#
|
502
|
+
#
|
503
|
+
#
|
504
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
505
|
+
# @return [String]
|
506
|
+
#
|
507
|
+
# @!attribute [rw] compliance_status
|
508
|
+
# The current status of compliance for the resiliency policy.
|
509
|
+
# @return [String]
|
510
|
+
#
|
511
|
+
# @!attribute [rw] creation_time
|
512
|
+
# The timestamp for when the app was created.
|
513
|
+
# @return [Time]
|
514
|
+
#
|
515
|
+
# @!attribute [rw] description
|
516
|
+
# The optional description for an app.
|
517
|
+
# @return [String]
|
518
|
+
#
|
519
|
+
# @!attribute [rw] name
|
520
|
+
# The name of the application.
|
521
|
+
# @return [String]
|
522
|
+
#
|
523
|
+
# @!attribute [rw] resiliency_score
|
524
|
+
# The current resiliency score for the application.
|
525
|
+
# @return [Float]
|
526
|
+
#
|
527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AppSummary AWS API Documentation
|
528
|
+
#
|
529
|
+
class AppSummary < Struct.new(
|
530
|
+
:app_arn,
|
531
|
+
:compliance_status,
|
532
|
+
:creation_time,
|
533
|
+
:description,
|
534
|
+
:name,
|
535
|
+
:resiliency_score)
|
536
|
+
SENSITIVE = []
|
537
|
+
include Aws::Structure
|
538
|
+
end
|
539
|
+
|
540
|
+
# The version of the application.
|
541
|
+
#
|
542
|
+
# @!attribute [rw] app_version
|
543
|
+
# The version of the application.
|
544
|
+
# @return [String]
|
545
|
+
#
|
546
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AppVersionSummary AWS API Documentation
|
547
|
+
#
|
548
|
+
class AppVersionSummary < Struct.new(
|
549
|
+
:app_version)
|
550
|
+
SENSITIVE = []
|
551
|
+
include Aws::Structure
|
552
|
+
end
|
553
|
+
|
554
|
+
# Defines recommendations for a Resilience Hub application component,
|
555
|
+
# returned as an object. This object contains component names,
|
556
|
+
# configuration recommendations, and recommendation statuses.
|
557
|
+
#
|
558
|
+
# @!attribute [rw] app_component_name
|
559
|
+
# The name of the application component.
|
560
|
+
# @return [String]
|
561
|
+
#
|
562
|
+
# @!attribute [rw] config_recommendations
|
563
|
+
# The list of recommendations.
|
564
|
+
# @return [Array<Types::ConfigRecommendation>]
|
565
|
+
#
|
566
|
+
# @!attribute [rw] recommendation_status
|
567
|
+
# The recommendation status.
|
568
|
+
# @return [String]
|
569
|
+
#
|
570
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ComponentRecommendation AWS API Documentation
|
571
|
+
#
|
572
|
+
class ComponentRecommendation < Struct.new(
|
573
|
+
:app_component_name,
|
574
|
+
:config_recommendations,
|
575
|
+
:recommendation_status)
|
576
|
+
SENSITIVE = []
|
577
|
+
include Aws::Structure
|
578
|
+
end
|
579
|
+
|
580
|
+
# Defines a configuration recommendation.
|
581
|
+
#
|
582
|
+
# @!attribute [rw] app_component_name
|
583
|
+
# The application component name.
|
584
|
+
# @return [String]
|
585
|
+
#
|
586
|
+
# @!attribute [rw] compliance
|
587
|
+
# The current compliance against the resiliency policy before applying
|
588
|
+
# the configuration change.
|
589
|
+
# @return [Hash<String,Types::DisruptionCompliance>]
|
590
|
+
#
|
591
|
+
# @!attribute [rw] cost
|
592
|
+
# The cost for the application.
|
593
|
+
# @return [Types::Cost]
|
594
|
+
#
|
595
|
+
# @!attribute [rw] description
|
596
|
+
# The optional description for an app.
|
597
|
+
# @return [String]
|
598
|
+
#
|
599
|
+
# @!attribute [rw] ha_architecture
|
600
|
+
# The architecture type.
|
601
|
+
# @return [String]
|
602
|
+
#
|
603
|
+
# @!attribute [rw] name
|
604
|
+
# The name of the recommendation configuration.
|
605
|
+
# @return [String]
|
606
|
+
#
|
607
|
+
# @!attribute [rw] optimization_type
|
608
|
+
# The type of optimization.
|
609
|
+
# @return [String]
|
610
|
+
#
|
611
|
+
# @!attribute [rw] recommendation_compliance
|
612
|
+
# The expected compliance against the resiliency policy after applying
|
613
|
+
# the configuration change.
|
614
|
+
# @return [Hash<String,Types::RecommendationDisruptionCompliance>]
|
615
|
+
#
|
616
|
+
# @!attribute [rw] reference_id
|
617
|
+
# The reference identifier for the recommendation configuration.
|
618
|
+
# @return [String]
|
619
|
+
#
|
620
|
+
# @!attribute [rw] suggested_changes
|
621
|
+
# List of the suggested configuration changes.
|
622
|
+
# @return [Array<String>]
|
623
|
+
#
|
624
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ConfigRecommendation AWS API Documentation
|
625
|
+
#
|
626
|
+
class ConfigRecommendation < Struct.new(
|
627
|
+
:app_component_name,
|
628
|
+
:compliance,
|
629
|
+
:cost,
|
630
|
+
:description,
|
631
|
+
:ha_architecture,
|
632
|
+
:name,
|
633
|
+
:optimization_type,
|
634
|
+
:recommendation_compliance,
|
635
|
+
:reference_id,
|
636
|
+
:suggested_changes)
|
637
|
+
SENSITIVE = []
|
638
|
+
include Aws::Structure
|
639
|
+
end
|
640
|
+
|
641
|
+
# Occurs when a conflict with a previous successful write is detected.
|
642
|
+
# This generally occurs when the previous write did not have time to
|
643
|
+
# propagate to the host serving the current request. A retry (with
|
644
|
+
# appropriate backoff logic) is the recommended response to this
|
645
|
+
# exception.
|
646
|
+
#
|
647
|
+
# @!attribute [rw] message
|
648
|
+
# @return [String]
|
649
|
+
#
|
650
|
+
# @!attribute [rw] resource_id
|
651
|
+
# The identifier of the resource that the exception applies to.
|
652
|
+
# @return [String]
|
653
|
+
#
|
654
|
+
# @!attribute [rw] resource_type
|
655
|
+
# The type of the resource that the exception applies to.
|
656
|
+
# @return [String]
|
657
|
+
#
|
658
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ConflictException AWS API Documentation
|
659
|
+
#
|
660
|
+
class ConflictException < Struct.new(
|
661
|
+
:message,
|
662
|
+
:resource_id,
|
663
|
+
:resource_type)
|
664
|
+
SENSITIVE = []
|
665
|
+
include Aws::Structure
|
666
|
+
end
|
667
|
+
|
668
|
+
# Defines a cost object.
|
669
|
+
#
|
670
|
+
# @!attribute [rw] amount
|
671
|
+
# The cost amount.
|
672
|
+
# @return [Float]
|
673
|
+
#
|
674
|
+
# @!attribute [rw] currency
|
675
|
+
# The cost currency, for example `USD`.
|
676
|
+
# @return [String]
|
677
|
+
#
|
678
|
+
# @!attribute [rw] frequency
|
679
|
+
# The cost frequency.
|
680
|
+
# @return [String]
|
681
|
+
#
|
682
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/Cost AWS API Documentation
|
683
|
+
#
|
684
|
+
class Cost < Struct.new(
|
685
|
+
:amount,
|
686
|
+
:currency,
|
687
|
+
:frequency)
|
688
|
+
SENSITIVE = []
|
689
|
+
include Aws::Structure
|
690
|
+
end
|
691
|
+
|
692
|
+
# @note When making an API call, you may pass CreateAppRequest
|
693
|
+
# data as a hash:
|
694
|
+
#
|
695
|
+
# {
|
696
|
+
# client_token: "ClientToken",
|
697
|
+
# description: "EntityDescription",
|
698
|
+
# name: "EntityName", # required
|
699
|
+
# policy_arn: "Arn",
|
700
|
+
# tags: {
|
701
|
+
# "TagKey" => "TagValue",
|
702
|
+
# },
|
703
|
+
# }
|
704
|
+
#
|
705
|
+
# @!attribute [rw] client_token
|
706
|
+
# Used for an idempotency token. A client token is a unique,
|
707
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
708
|
+
# reuse the same client token for other API requests.
|
709
|
+
#
|
710
|
+
# **A suitable default value is auto-generated.** You should normally
|
711
|
+
# not need to pass this option.
|
712
|
+
# @return [String]
|
713
|
+
#
|
714
|
+
# @!attribute [rw] description
|
715
|
+
# The optional description for an app.
|
716
|
+
# @return [String]
|
717
|
+
#
|
718
|
+
# @!attribute [rw] name
|
719
|
+
# The name for the application.
|
720
|
+
# @return [String]
|
721
|
+
#
|
722
|
+
# @!attribute [rw] policy_arn
|
723
|
+
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
724
|
+
# for this ARN is:
|
725
|
+
# arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
|
726
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
727
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
728
|
+
#
|
729
|
+
#
|
730
|
+
#
|
731
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
732
|
+
# @return [String]
|
733
|
+
#
|
734
|
+
# @!attribute [rw] tags
|
735
|
+
# The tags assigned to the resource. A tag is a label that you assign
|
736
|
+
# to an Amazon Web Services resource. Each tag consists of a key/value
|
737
|
+
# pair.
|
738
|
+
# @return [Hash<String,String>]
|
739
|
+
#
|
740
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppRequest AWS API Documentation
|
741
|
+
#
|
742
|
+
class CreateAppRequest < Struct.new(
|
743
|
+
:client_token,
|
744
|
+
:description,
|
745
|
+
:name,
|
746
|
+
:policy_arn,
|
747
|
+
:tags)
|
748
|
+
SENSITIVE = [:tags]
|
749
|
+
include Aws::Structure
|
750
|
+
end
|
751
|
+
|
752
|
+
# @!attribute [rw] app
|
753
|
+
# The created application returned as an object with details including
|
754
|
+
# compliance status, creation time, description, resiliency score, and
|
755
|
+
# more.
|
756
|
+
# @return [Types::App]
|
757
|
+
#
|
758
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppResponse AWS API Documentation
|
759
|
+
#
|
760
|
+
class CreateAppResponse < Struct.new(
|
761
|
+
:app)
|
762
|
+
SENSITIVE = []
|
763
|
+
include Aws::Structure
|
764
|
+
end
|
765
|
+
|
766
|
+
# @note When making an API call, you may pass CreateRecommendationTemplateRequest
|
767
|
+
# data as a hash:
|
768
|
+
#
|
769
|
+
# {
|
770
|
+
# assessment_arn: "Arn", # required
|
771
|
+
# bucket_name: "EntityName",
|
772
|
+
# client_token: "ClientToken",
|
773
|
+
# format: "CfnYaml", # accepts CfnYaml, CfnJson
|
774
|
+
# name: "EntityName", # required
|
775
|
+
# recommendation_ids: ["Uuid"],
|
776
|
+
# recommendation_types: ["Alarm"], # accepts Alarm, Sop, Test
|
777
|
+
# tags: {
|
778
|
+
# "TagKey" => "TagValue",
|
779
|
+
# },
|
780
|
+
# }
|
781
|
+
#
|
782
|
+
# @!attribute [rw] assessment_arn
|
783
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
784
|
+
# this ARN is:
|
785
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
786
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
787
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
788
|
+
#
|
789
|
+
#
|
790
|
+
#
|
791
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
792
|
+
# @return [String]
|
793
|
+
#
|
794
|
+
# @!attribute [rw] bucket_name
|
795
|
+
# The name of the Amazon S3 bucket that will contain the
|
796
|
+
# recommendation template.
|
797
|
+
# @return [String]
|
798
|
+
#
|
799
|
+
# @!attribute [rw] client_token
|
800
|
+
# Used for an idempotency token. A client token is a unique,
|
801
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
802
|
+
# reuse the same client token for other API requests.
|
803
|
+
#
|
804
|
+
# **A suitable default value is auto-generated.** You should normally
|
805
|
+
# not need to pass this option.
|
806
|
+
# @return [String]
|
807
|
+
#
|
808
|
+
# @!attribute [rw] format
|
809
|
+
# The format for the recommendation template.
|
810
|
+
#
|
811
|
+
# CfnJson
|
812
|
+
#
|
813
|
+
# : The template is CloudFormation JSON.
|
814
|
+
#
|
815
|
+
# CfnYaml
|
816
|
+
#
|
817
|
+
# : The template is CloudFormation YAML.
|
818
|
+
# @return [String]
|
819
|
+
#
|
820
|
+
# @!attribute [rw] name
|
821
|
+
# The name for the recommendation template.
|
822
|
+
# @return [String]
|
823
|
+
#
|
824
|
+
# @!attribute [rw] recommendation_ids
|
825
|
+
# Identifiers for the recommendations used to create a recommendation
|
826
|
+
# template.
|
827
|
+
# @return [Array<String>]
|
828
|
+
#
|
829
|
+
# @!attribute [rw] recommendation_types
|
830
|
+
# An array of strings that specify the recommendation template type or
|
831
|
+
# types.
|
832
|
+
#
|
833
|
+
# Alarm
|
834
|
+
#
|
835
|
+
# : The template is an AlarmRecommendation template.
|
836
|
+
#
|
837
|
+
# Sop
|
838
|
+
#
|
839
|
+
# : The template is a SopRecommendation template.
|
840
|
+
#
|
841
|
+
# Test
|
842
|
+
#
|
843
|
+
# : The template is a TestRecommendation template.
|
844
|
+
# @return [Array<String>]
|
845
|
+
#
|
846
|
+
# @!attribute [rw] tags
|
847
|
+
# The tags assigned to the resource. A tag is a label that you assign
|
848
|
+
# to an Amazon Web Services resource. Each tag consists of a key/value
|
849
|
+
# pair.
|
850
|
+
# @return [Hash<String,String>]
|
851
|
+
#
|
852
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateRecommendationTemplateRequest AWS API Documentation
|
853
|
+
#
|
854
|
+
class CreateRecommendationTemplateRequest < Struct.new(
|
855
|
+
:assessment_arn,
|
856
|
+
:bucket_name,
|
857
|
+
:client_token,
|
858
|
+
:format,
|
859
|
+
:name,
|
860
|
+
:recommendation_ids,
|
861
|
+
:recommendation_types,
|
862
|
+
:tags)
|
863
|
+
SENSITIVE = [:tags]
|
864
|
+
include Aws::Structure
|
865
|
+
end
|
866
|
+
|
867
|
+
# @!attribute [rw] recommendation_template
|
868
|
+
# The newly created recommendation template, returned as an object.
|
869
|
+
# This object includes the template's name, format, status, tags,
|
870
|
+
# Amazon S3 bucket location, and more.
|
871
|
+
# @return [Types::RecommendationTemplate]
|
872
|
+
#
|
873
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateRecommendationTemplateResponse AWS API Documentation
|
874
|
+
#
|
875
|
+
class CreateRecommendationTemplateResponse < Struct.new(
|
876
|
+
:recommendation_template)
|
877
|
+
SENSITIVE = []
|
878
|
+
include Aws::Structure
|
879
|
+
end
|
880
|
+
|
881
|
+
# @note When making an API call, you may pass CreateResiliencyPolicyRequest
|
882
|
+
# data as a hash:
|
883
|
+
#
|
884
|
+
# {
|
885
|
+
# client_token: "ClientToken",
|
886
|
+
# data_location_constraint: "AnyLocation", # accepts AnyLocation, SameContinent, SameCountry
|
887
|
+
# policy: { # required
|
888
|
+
# "Software" => {
|
889
|
+
# rpo_in_secs: 1, # required
|
890
|
+
# rto_in_secs: 1, # required
|
891
|
+
# },
|
892
|
+
# },
|
893
|
+
# policy_description: "EntityDescription",
|
894
|
+
# policy_name: "EntityName", # required
|
895
|
+
# tags: {
|
896
|
+
# "TagKey" => "TagValue",
|
897
|
+
# },
|
898
|
+
# tier: "MissionCritical", # required, accepts MissionCritical, Critical, Important, CoreServices, NonCritical
|
899
|
+
# }
|
900
|
+
#
|
901
|
+
# @!attribute [rw] client_token
|
902
|
+
# Used for an idempotency token. A client token is a unique,
|
903
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
904
|
+
# reuse the same client token for other API requests.
|
905
|
+
#
|
906
|
+
# **A suitable default value is auto-generated.** You should normally
|
907
|
+
# not need to pass this option.
|
908
|
+
# @return [String]
|
909
|
+
#
|
910
|
+
# @!attribute [rw] data_location_constraint
|
911
|
+
# Specifies a high-level geographical location constraint for where
|
912
|
+
# your resilience policy data can be stored.
|
913
|
+
# @return [String]
|
914
|
+
#
|
915
|
+
# @!attribute [rw] policy
|
916
|
+
# The type of resiliency policy to be created, including the recovery
|
917
|
+
# time objective (RTO) and recovery point objective (RPO) in seconds.
|
918
|
+
# @return [Hash<String,Types::FailurePolicy>]
|
919
|
+
#
|
920
|
+
# @!attribute [rw] policy_description
|
921
|
+
# The description for the policy.
|
922
|
+
# @return [String]
|
923
|
+
#
|
924
|
+
# @!attribute [rw] policy_name
|
925
|
+
# The name of the policy
|
926
|
+
# @return [String]
|
927
|
+
#
|
928
|
+
# @!attribute [rw] tags
|
929
|
+
# The tags assigned to the resource. A tag is a label that you assign
|
930
|
+
# to an Amazon Web Services resource. Each tag consists of a key/value
|
931
|
+
# pair.
|
932
|
+
# @return [Hash<String,String>]
|
933
|
+
#
|
934
|
+
# @!attribute [rw] tier
|
935
|
+
# The tier for this resiliency policy, ranging from the highest
|
936
|
+
# severity (`MissionCritical`) to lowest (`NonCritical`).
|
937
|
+
# @return [String]
|
938
|
+
#
|
939
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateResiliencyPolicyRequest AWS API Documentation
|
940
|
+
#
|
941
|
+
class CreateResiliencyPolicyRequest < Struct.new(
|
942
|
+
:client_token,
|
943
|
+
:data_location_constraint,
|
944
|
+
:policy,
|
945
|
+
:policy_description,
|
946
|
+
:policy_name,
|
947
|
+
:tags,
|
948
|
+
:tier)
|
949
|
+
SENSITIVE = [:tags]
|
950
|
+
include Aws::Structure
|
951
|
+
end
|
952
|
+
|
953
|
+
# @!attribute [rw] policy
|
954
|
+
# The type of resiliency policy that was created, including the
|
955
|
+
# recovery time objective (RTO) and recovery point objective (RPO) in
|
956
|
+
# seconds.
|
957
|
+
# @return [Types::ResiliencyPolicy]
|
958
|
+
#
|
959
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateResiliencyPolicyResponse AWS API Documentation
|
960
|
+
#
|
961
|
+
class CreateResiliencyPolicyResponse < Struct.new(
|
962
|
+
:policy)
|
963
|
+
SENSITIVE = []
|
964
|
+
include Aws::Structure
|
965
|
+
end
|
966
|
+
|
967
|
+
# @note When making an API call, you may pass DeleteAppAssessmentRequest
|
968
|
+
# data as a hash:
|
969
|
+
#
|
970
|
+
# {
|
971
|
+
# assessment_arn: "Arn", # required
|
972
|
+
# client_token: "ClientToken",
|
973
|
+
# }
|
974
|
+
#
|
975
|
+
# @!attribute [rw] assessment_arn
|
976
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
977
|
+
# this ARN is:
|
978
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
979
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
980
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
981
|
+
#
|
982
|
+
#
|
983
|
+
#
|
984
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
985
|
+
# @return [String]
|
986
|
+
#
|
987
|
+
# @!attribute [rw] client_token
|
988
|
+
# Used for an idempotency token. A client token is a unique,
|
989
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
990
|
+
# reuse the same client token for other API requests.
|
991
|
+
#
|
992
|
+
# **A suitable default value is auto-generated.** You should normally
|
993
|
+
# not need to pass this option.
|
994
|
+
# @return [String]
|
995
|
+
#
|
996
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppAssessmentRequest AWS API Documentation
|
997
|
+
#
|
998
|
+
class DeleteAppAssessmentRequest < Struct.new(
|
999
|
+
:assessment_arn,
|
1000
|
+
:client_token)
|
1001
|
+
SENSITIVE = []
|
1002
|
+
include Aws::Structure
|
1003
|
+
end
|
1004
|
+
|
1005
|
+
# @!attribute [rw] assessment_arn
|
1006
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1007
|
+
# this ARN is:
|
1008
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
1009
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1010
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
1011
|
+
#
|
1012
|
+
#
|
1013
|
+
#
|
1014
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1015
|
+
# @return [String]
|
1016
|
+
#
|
1017
|
+
# @!attribute [rw] assessment_status
|
1018
|
+
# The current status of the assessment for the resiliency policy.
|
1019
|
+
# @return [String]
|
1020
|
+
#
|
1021
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppAssessmentResponse AWS API Documentation
|
1022
|
+
#
|
1023
|
+
class DeleteAppAssessmentResponse < Struct.new(
|
1024
|
+
:assessment_arn,
|
1025
|
+
:assessment_status)
|
1026
|
+
SENSITIVE = []
|
1027
|
+
include Aws::Structure
|
1028
|
+
end
|
1029
|
+
|
1030
|
+
# @note When making an API call, you may pass DeleteAppRequest
|
1031
|
+
# data as a hash:
|
1032
|
+
#
|
1033
|
+
# {
|
1034
|
+
# app_arn: "Arn", # required
|
1035
|
+
# client_token: "ClientToken",
|
1036
|
+
# force_delete: false,
|
1037
|
+
# }
|
1038
|
+
#
|
1039
|
+
# @!attribute [rw] app_arn
|
1040
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
1041
|
+
# this ARN is:
|
1042
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
1043
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1044
|
+
# the *AWS General Reference*.
|
1045
|
+
#
|
1046
|
+
#
|
1047
|
+
#
|
1048
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1049
|
+
# @return [String]
|
1050
|
+
#
|
1051
|
+
# @!attribute [rw] client_token
|
1052
|
+
# Used for an idempotency token. A client token is a unique,
|
1053
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
1054
|
+
# reuse the same client token for other API requests.
|
1055
|
+
#
|
1056
|
+
# **A suitable default value is auto-generated.** You should normally
|
1057
|
+
# not need to pass this option.
|
1058
|
+
# @return [String]
|
1059
|
+
#
|
1060
|
+
# @!attribute [rw] force_delete
|
1061
|
+
# A boolean option to force the deletion of a Resilience Hub
|
1062
|
+
# application.
|
1063
|
+
# @return [Boolean]
|
1064
|
+
#
|
1065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppRequest AWS API Documentation
|
1066
|
+
#
|
1067
|
+
class DeleteAppRequest < Struct.new(
|
1068
|
+
:app_arn,
|
1069
|
+
:client_token,
|
1070
|
+
:force_delete)
|
1071
|
+
SENSITIVE = []
|
1072
|
+
include Aws::Structure
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
# @!attribute [rw] app_arn
|
1076
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
1077
|
+
# this ARN is:
|
1078
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
1079
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1080
|
+
# the *AWS General Reference*.
|
1081
|
+
#
|
1082
|
+
#
|
1083
|
+
#
|
1084
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1085
|
+
# @return [String]
|
1086
|
+
#
|
1087
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppResponse AWS API Documentation
|
1088
|
+
#
|
1089
|
+
class DeleteAppResponse < Struct.new(
|
1090
|
+
:app_arn)
|
1091
|
+
SENSITIVE = []
|
1092
|
+
include Aws::Structure
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
# @note When making an API call, you may pass DeleteRecommendationTemplateRequest
|
1096
|
+
# data as a hash:
|
1097
|
+
#
|
1098
|
+
# {
|
1099
|
+
# client_token: "ClientToken",
|
1100
|
+
# recommendation_template_arn: "Arn", # required
|
1101
|
+
# }
|
1102
|
+
#
|
1103
|
+
# @!attribute [rw] client_token
|
1104
|
+
# Used for an idempotency token. A client token is a unique,
|
1105
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
1106
|
+
# reuse the same client token for other API requests.
|
1107
|
+
#
|
1108
|
+
# **A suitable default value is auto-generated.** You should normally
|
1109
|
+
# not need to pass this option.
|
1110
|
+
# @return [String]
|
1111
|
+
#
|
1112
|
+
# @!attribute [rw] recommendation_template_arn
|
1113
|
+
# The Amazon Resource Name (ARN) for a recommendation template.
|
1114
|
+
# @return [String]
|
1115
|
+
#
|
1116
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplateRequest AWS API Documentation
|
1117
|
+
#
|
1118
|
+
class DeleteRecommendationTemplateRequest < Struct.new(
|
1119
|
+
:client_token,
|
1120
|
+
:recommendation_template_arn)
|
1121
|
+
SENSITIVE = []
|
1122
|
+
include Aws::Structure
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
# @!attribute [rw] recommendation_template_arn
|
1126
|
+
# The Amazon Resource Name (ARN) for a recommendation template.
|
1127
|
+
# @return [String]
|
1128
|
+
#
|
1129
|
+
# @!attribute [rw] status
|
1130
|
+
# The status of the action.
|
1131
|
+
# @return [String]
|
1132
|
+
#
|
1133
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplateResponse AWS API Documentation
|
1134
|
+
#
|
1135
|
+
class DeleteRecommendationTemplateResponse < Struct.new(
|
1136
|
+
:recommendation_template_arn,
|
1137
|
+
:status)
|
1138
|
+
SENSITIVE = []
|
1139
|
+
include Aws::Structure
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
# @note When making an API call, you may pass DeleteResiliencyPolicyRequest
|
1143
|
+
# data as a hash:
|
1144
|
+
#
|
1145
|
+
# {
|
1146
|
+
# client_token: "ClientToken",
|
1147
|
+
# policy_arn: "Arn", # required
|
1148
|
+
# }
|
1149
|
+
#
|
1150
|
+
# @!attribute [rw] client_token
|
1151
|
+
# Used for an idempotency token. A client token is a unique,
|
1152
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
1153
|
+
# reuse the same client token for other API requests.
|
1154
|
+
#
|
1155
|
+
# **A suitable default value is auto-generated.** You should normally
|
1156
|
+
# not need to pass this option.
|
1157
|
+
# @return [String]
|
1158
|
+
#
|
1159
|
+
# @!attribute [rw] policy_arn
|
1160
|
+
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1161
|
+
# for this ARN is:
|
1162
|
+
# arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
|
1163
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1164
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
1165
|
+
#
|
1166
|
+
#
|
1167
|
+
#
|
1168
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1169
|
+
# @return [String]
|
1170
|
+
#
|
1171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicyRequest AWS API Documentation
|
1172
|
+
#
|
1173
|
+
class DeleteResiliencyPolicyRequest < Struct.new(
|
1174
|
+
:client_token,
|
1175
|
+
:policy_arn)
|
1176
|
+
SENSITIVE = []
|
1177
|
+
include Aws::Structure
|
1178
|
+
end
|
1179
|
+
|
1180
|
+
# @!attribute [rw] policy_arn
|
1181
|
+
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1182
|
+
# for this ARN is:
|
1183
|
+
# arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
|
1184
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1185
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
1186
|
+
#
|
1187
|
+
#
|
1188
|
+
#
|
1189
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1190
|
+
# @return [String]
|
1191
|
+
#
|
1192
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicyResponse AWS API Documentation
|
1193
|
+
#
|
1194
|
+
class DeleteResiliencyPolicyResponse < Struct.new(
|
1195
|
+
:policy_arn)
|
1196
|
+
SENSITIVE = []
|
1197
|
+
include Aws::Structure
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
# @note When making an API call, you may pass DescribeAppAssessmentRequest
|
1201
|
+
# data as a hash:
|
1202
|
+
#
|
1203
|
+
# {
|
1204
|
+
# assessment_arn: "Arn", # required
|
1205
|
+
# }
|
1206
|
+
#
|
1207
|
+
# @!attribute [rw] assessment_arn
|
1208
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1209
|
+
# this ARN is:
|
1210
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
1211
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1212
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
1213
|
+
#
|
1214
|
+
#
|
1215
|
+
#
|
1216
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1217
|
+
# @return [String]
|
1218
|
+
#
|
1219
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppAssessmentRequest AWS API Documentation
|
1220
|
+
#
|
1221
|
+
class DescribeAppAssessmentRequest < Struct.new(
|
1222
|
+
:assessment_arn)
|
1223
|
+
SENSITIVE = []
|
1224
|
+
include Aws::Structure
|
1225
|
+
end
|
1226
|
+
|
1227
|
+
# @!attribute [rw] assessment
|
1228
|
+
# The assessment for an AWS Resilience Hub application, returned as an
|
1229
|
+
# object. This object includes Amazon Resource Names (ARNs),
|
1230
|
+
# compliance information, compliance status, cost, messages,
|
1231
|
+
# resiliency scores, and more.
|
1232
|
+
# @return [Types::AppAssessment]
|
1233
|
+
#
|
1234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppAssessmentResponse AWS API Documentation
|
1235
|
+
#
|
1236
|
+
class DescribeAppAssessmentResponse < Struct.new(
|
1237
|
+
:assessment)
|
1238
|
+
SENSITIVE = []
|
1239
|
+
include Aws::Structure
|
1240
|
+
end
|
1241
|
+
|
1242
|
+
# @note When making an API call, you may pass DescribeAppRequest
|
1243
|
+
# data as a hash:
|
1244
|
+
#
|
1245
|
+
# {
|
1246
|
+
# app_arn: "Arn", # required
|
1247
|
+
# }
|
1248
|
+
#
|
1249
|
+
# @!attribute [rw] app_arn
|
1250
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
1251
|
+
# this ARN is:
|
1252
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
1253
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1254
|
+
# the *AWS General Reference*.
|
1255
|
+
#
|
1256
|
+
#
|
1257
|
+
#
|
1258
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1259
|
+
# @return [String]
|
1260
|
+
#
|
1261
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppRequest AWS API Documentation
|
1262
|
+
#
|
1263
|
+
class DescribeAppRequest < Struct.new(
|
1264
|
+
:app_arn)
|
1265
|
+
SENSITIVE = []
|
1266
|
+
include Aws::Structure
|
1267
|
+
end
|
1268
|
+
|
1269
|
+
# @!attribute [rw] app
|
1270
|
+
# The specified application, returned as an object with details
|
1271
|
+
# including compliance status, creation time, description, resiliency
|
1272
|
+
# score, and more.
|
1273
|
+
# @return [Types::App]
|
1274
|
+
#
|
1275
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppResponse AWS API Documentation
|
1276
|
+
#
|
1277
|
+
class DescribeAppResponse < Struct.new(
|
1278
|
+
:app)
|
1279
|
+
SENSITIVE = []
|
1280
|
+
include Aws::Structure
|
1281
|
+
end
|
1282
|
+
|
1283
|
+
# @note When making an API call, you may pass DescribeAppVersionResourcesResolutionStatusRequest
|
1284
|
+
# data as a hash:
|
1285
|
+
#
|
1286
|
+
# {
|
1287
|
+
# app_arn: "Arn", # required
|
1288
|
+
# app_version: "EntityVersion", # required
|
1289
|
+
# resolution_id: "String255",
|
1290
|
+
# }
|
1291
|
+
#
|
1292
|
+
# @!attribute [rw] app_arn
|
1293
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
1294
|
+
# this ARN is:
|
1295
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
1296
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1297
|
+
# the *AWS General Reference*.
|
1298
|
+
#
|
1299
|
+
#
|
1300
|
+
#
|
1301
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1302
|
+
# @return [String]
|
1303
|
+
#
|
1304
|
+
# @!attribute [rw] app_version
|
1305
|
+
# The version of the application.
|
1306
|
+
# @return [String]
|
1307
|
+
#
|
1308
|
+
# @!attribute [rw] resolution_id
|
1309
|
+
# The identifier for a specific resolution.
|
1310
|
+
# @return [String]
|
1311
|
+
#
|
1312
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourcesResolutionStatusRequest AWS API Documentation
|
1313
|
+
#
|
1314
|
+
class DescribeAppVersionResourcesResolutionStatusRequest < Struct.new(
|
1315
|
+
:app_arn,
|
1316
|
+
:app_version,
|
1317
|
+
:resolution_id)
|
1318
|
+
SENSITIVE = []
|
1319
|
+
include Aws::Structure
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
# @!attribute [rw] app_arn
|
1323
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
1324
|
+
# this ARN is:
|
1325
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
1326
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1327
|
+
# the *AWS General Reference*.
|
1328
|
+
#
|
1329
|
+
#
|
1330
|
+
#
|
1331
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1332
|
+
# @return [String]
|
1333
|
+
#
|
1334
|
+
# @!attribute [rw] app_version
|
1335
|
+
# The version of the application.
|
1336
|
+
# @return [String]
|
1337
|
+
#
|
1338
|
+
# @!attribute [rw] error_message
|
1339
|
+
# The returned error message for the request.
|
1340
|
+
# @return [String]
|
1341
|
+
#
|
1342
|
+
# @!attribute [rw] resolution_id
|
1343
|
+
# The identifier for a specific resolution.
|
1344
|
+
# @return [String]
|
1345
|
+
#
|
1346
|
+
# @!attribute [rw] status
|
1347
|
+
# The status of the action.
|
1348
|
+
# @return [String]
|
1349
|
+
#
|
1350
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourcesResolutionStatusResponse AWS API Documentation
|
1351
|
+
#
|
1352
|
+
class DescribeAppVersionResourcesResolutionStatusResponse < Struct.new(
|
1353
|
+
:app_arn,
|
1354
|
+
:app_version,
|
1355
|
+
:error_message,
|
1356
|
+
:resolution_id,
|
1357
|
+
:status)
|
1358
|
+
SENSITIVE = []
|
1359
|
+
include Aws::Structure
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
# @note When making an API call, you may pass DescribeAppVersionTemplateRequest
|
1363
|
+
# data as a hash:
|
1364
|
+
#
|
1365
|
+
# {
|
1366
|
+
# app_arn: "Arn", # required
|
1367
|
+
# app_version: "EntityVersion", # required
|
1368
|
+
# }
|
1369
|
+
#
|
1370
|
+
# @!attribute [rw] app_arn
|
1371
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
1372
|
+
# this ARN is:
|
1373
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
1374
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1375
|
+
# the *AWS General Reference*.
|
1376
|
+
#
|
1377
|
+
#
|
1378
|
+
#
|
1379
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1380
|
+
# @return [String]
|
1381
|
+
#
|
1382
|
+
# @!attribute [rw] app_version
|
1383
|
+
# The version of the application.
|
1384
|
+
# @return [String]
|
1385
|
+
#
|
1386
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionTemplateRequest AWS API Documentation
|
1387
|
+
#
|
1388
|
+
class DescribeAppVersionTemplateRequest < Struct.new(
|
1389
|
+
:app_arn,
|
1390
|
+
:app_version)
|
1391
|
+
SENSITIVE = []
|
1392
|
+
include Aws::Structure
|
1393
|
+
end
|
1394
|
+
|
1395
|
+
# @!attribute [rw] app_arn
|
1396
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
1397
|
+
# this ARN is:
|
1398
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
1399
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1400
|
+
# the *AWS General Reference*.
|
1401
|
+
#
|
1402
|
+
#
|
1403
|
+
#
|
1404
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1405
|
+
# @return [String]
|
1406
|
+
#
|
1407
|
+
# @!attribute [rw] app_template_body
|
1408
|
+
# The body of the template.
|
1409
|
+
# @return [String]
|
1410
|
+
#
|
1411
|
+
# @!attribute [rw] app_version
|
1412
|
+
# The version of the application.
|
1413
|
+
# @return [String]
|
1414
|
+
#
|
1415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionTemplateResponse AWS API Documentation
|
1416
|
+
#
|
1417
|
+
class DescribeAppVersionTemplateResponse < Struct.new(
|
1418
|
+
:app_arn,
|
1419
|
+
:app_template_body,
|
1420
|
+
:app_version)
|
1421
|
+
SENSITIVE = []
|
1422
|
+
include Aws::Structure
|
1423
|
+
end
|
1424
|
+
|
1425
|
+
# @note When making an API call, you may pass DescribeDraftAppVersionResourcesImportStatusRequest
|
1426
|
+
# data as a hash:
|
1427
|
+
#
|
1428
|
+
# {
|
1429
|
+
# app_arn: "Arn", # required
|
1430
|
+
# }
|
1431
|
+
#
|
1432
|
+
# @!attribute [rw] app_arn
|
1433
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
1434
|
+
# this ARN is:
|
1435
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
1436
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1437
|
+
# the *AWS General Reference*.
|
1438
|
+
#
|
1439
|
+
#
|
1440
|
+
#
|
1441
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1442
|
+
# @return [String]
|
1443
|
+
#
|
1444
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeDraftAppVersionResourcesImportStatusRequest AWS API Documentation
|
1445
|
+
#
|
1446
|
+
class DescribeDraftAppVersionResourcesImportStatusRequest < Struct.new(
|
1447
|
+
:app_arn)
|
1448
|
+
SENSITIVE = []
|
1449
|
+
include Aws::Structure
|
1450
|
+
end
|
1451
|
+
|
1452
|
+
# @!attribute [rw] app_arn
|
1453
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
1454
|
+
# this ARN is:
|
1455
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
1456
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1457
|
+
# the *AWS General Reference*.
|
1458
|
+
#
|
1459
|
+
#
|
1460
|
+
#
|
1461
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1462
|
+
# @return [String]
|
1463
|
+
#
|
1464
|
+
# @!attribute [rw] app_version
|
1465
|
+
# The version of the application.
|
1466
|
+
# @return [String]
|
1467
|
+
#
|
1468
|
+
# @!attribute [rw] error_message
|
1469
|
+
# The returned error message for the request.
|
1470
|
+
# @return [String]
|
1471
|
+
#
|
1472
|
+
# @!attribute [rw] status
|
1473
|
+
# The status of the action.
|
1474
|
+
# @return [String]
|
1475
|
+
#
|
1476
|
+
# @!attribute [rw] status_change_time
|
1477
|
+
# The timestamp for when the status last changed.
|
1478
|
+
# @return [Time]
|
1479
|
+
#
|
1480
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeDraftAppVersionResourcesImportStatusResponse AWS API Documentation
|
1481
|
+
#
|
1482
|
+
class DescribeDraftAppVersionResourcesImportStatusResponse < Struct.new(
|
1483
|
+
:app_arn,
|
1484
|
+
:app_version,
|
1485
|
+
:error_message,
|
1486
|
+
:status,
|
1487
|
+
:status_change_time)
|
1488
|
+
SENSITIVE = []
|
1489
|
+
include Aws::Structure
|
1490
|
+
end
|
1491
|
+
|
1492
|
+
# @note When making an API call, you may pass DescribeResiliencyPolicyRequest
|
1493
|
+
# data as a hash:
|
1494
|
+
#
|
1495
|
+
# {
|
1496
|
+
# policy_arn: "Arn", # required
|
1497
|
+
# }
|
1498
|
+
#
|
1499
|
+
# @!attribute [rw] policy_arn
|
1500
|
+
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1501
|
+
# for this ARN is:
|
1502
|
+
# arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
|
1503
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1504
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
1505
|
+
#
|
1506
|
+
#
|
1507
|
+
#
|
1508
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1509
|
+
# @return [String]
|
1510
|
+
#
|
1511
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResiliencyPolicyRequest AWS API Documentation
|
1512
|
+
#
|
1513
|
+
class DescribeResiliencyPolicyRequest < Struct.new(
|
1514
|
+
:policy_arn)
|
1515
|
+
SENSITIVE = []
|
1516
|
+
include Aws::Structure
|
1517
|
+
end
|
1518
|
+
|
1519
|
+
# @!attribute [rw] policy
|
1520
|
+
# Information about the specific resiliency policy, returned as an
|
1521
|
+
# object. This object includes creation time, data location
|
1522
|
+
# constraints, its name, description, tags, the recovery time
|
1523
|
+
# objective (RTO) and recovery point objective (RPO) in seconds, and
|
1524
|
+
# more.
|
1525
|
+
# @return [Types::ResiliencyPolicy]
|
1526
|
+
#
|
1527
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResiliencyPolicyResponse AWS API Documentation
|
1528
|
+
#
|
1529
|
+
class DescribeResiliencyPolicyResponse < Struct.new(
|
1530
|
+
:policy)
|
1531
|
+
SENSITIVE = []
|
1532
|
+
include Aws::Structure
|
1533
|
+
end
|
1534
|
+
|
1535
|
+
# Defines the compliance against the resiliency policy for a disruption.
|
1536
|
+
#
|
1537
|
+
# @!attribute [rw] achievable_rpo_in_secs
|
1538
|
+
# The Recovery Point Objective (RPO) that is achievable, in seconds.
|
1539
|
+
# @return [Integer]
|
1540
|
+
#
|
1541
|
+
# @!attribute [rw] achievable_rto_in_secs
|
1542
|
+
# The Recovery Time Objective (RTO) that is achievable, in seconds
|
1543
|
+
# @return [Integer]
|
1544
|
+
#
|
1545
|
+
# @!attribute [rw] compliance_status
|
1546
|
+
# The current status of compliance for the resiliency policy.
|
1547
|
+
# @return [String]
|
1548
|
+
#
|
1549
|
+
# @!attribute [rw] current_rpo_in_secs
|
1550
|
+
# The current RPO, in seconds.
|
1551
|
+
# @return [Integer]
|
1552
|
+
#
|
1553
|
+
# @!attribute [rw] current_rto_in_secs
|
1554
|
+
# The current RTO, in seconds.
|
1555
|
+
# @return [Integer]
|
1556
|
+
#
|
1557
|
+
# @!attribute [rw] message
|
1558
|
+
# The disruption compliance message.
|
1559
|
+
# @return [String]
|
1560
|
+
#
|
1561
|
+
# @!attribute [rw] rpo_description
|
1562
|
+
# The RPO description.
|
1563
|
+
# @return [String]
|
1564
|
+
#
|
1565
|
+
# @!attribute [rw] rpo_reference_id
|
1566
|
+
# The RPO reference identifier.
|
1567
|
+
# @return [String]
|
1568
|
+
#
|
1569
|
+
# @!attribute [rw] rto_description
|
1570
|
+
# The RTO description.
|
1571
|
+
# @return [String]
|
1572
|
+
#
|
1573
|
+
# @!attribute [rw] rto_reference_id
|
1574
|
+
# The RTO reference identifier.
|
1575
|
+
# @return [String]
|
1576
|
+
#
|
1577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DisruptionCompliance AWS API Documentation
|
1578
|
+
#
|
1579
|
+
class DisruptionCompliance < Struct.new(
|
1580
|
+
:achievable_rpo_in_secs,
|
1581
|
+
:achievable_rto_in_secs,
|
1582
|
+
:compliance_status,
|
1583
|
+
:current_rpo_in_secs,
|
1584
|
+
:current_rto_in_secs,
|
1585
|
+
:message,
|
1586
|
+
:rpo_description,
|
1587
|
+
:rpo_reference_id,
|
1588
|
+
:rto_description,
|
1589
|
+
:rto_reference_id)
|
1590
|
+
SENSITIVE = []
|
1591
|
+
include Aws::Structure
|
1592
|
+
end
|
1593
|
+
|
1594
|
+
# Defines a failure policy.
|
1595
|
+
#
|
1596
|
+
# @note When making an API call, you may pass FailurePolicy
|
1597
|
+
# data as a hash:
|
1598
|
+
#
|
1599
|
+
# {
|
1600
|
+
# rpo_in_secs: 1, # required
|
1601
|
+
# rto_in_secs: 1, # required
|
1602
|
+
# }
|
1603
|
+
#
|
1604
|
+
# @!attribute [rw] rpo_in_secs
|
1605
|
+
# The Recovery Point Objective (RPO), in seconds.
|
1606
|
+
# @return [Integer]
|
1607
|
+
#
|
1608
|
+
# @!attribute [rw] rto_in_secs
|
1609
|
+
# The Recovery Time Objective (RTO), in seconds.
|
1610
|
+
# @return [Integer]
|
1611
|
+
#
|
1612
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/FailurePolicy AWS API Documentation
|
1613
|
+
#
|
1614
|
+
class FailurePolicy < Struct.new(
|
1615
|
+
:rpo_in_secs,
|
1616
|
+
:rto_in_secs)
|
1617
|
+
SENSITIVE = []
|
1618
|
+
include Aws::Structure
|
1619
|
+
end
|
1620
|
+
|
1621
|
+
# @note When making an API call, you may pass ImportResourcesToDraftAppVersionRequest
|
1622
|
+
# data as a hash:
|
1623
|
+
#
|
1624
|
+
# {
|
1625
|
+
# app_arn: "Arn", # required
|
1626
|
+
# source_arns: ["Arn"], # required
|
1627
|
+
# }
|
1628
|
+
#
|
1629
|
+
# @!attribute [rw] app_arn
|
1630
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
1631
|
+
# this ARN is:
|
1632
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
1633
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1634
|
+
# the *AWS General Reference*.
|
1635
|
+
#
|
1636
|
+
#
|
1637
|
+
#
|
1638
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1639
|
+
# @return [String]
|
1640
|
+
#
|
1641
|
+
# @!attribute [rw] source_arns
|
1642
|
+
# The Amazon Resource Names (ARNs) for the resources that you want to
|
1643
|
+
# import.
|
1644
|
+
# @return [Array<String>]
|
1645
|
+
#
|
1646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersionRequest AWS API Documentation
|
1647
|
+
#
|
1648
|
+
class ImportResourcesToDraftAppVersionRequest < Struct.new(
|
1649
|
+
:app_arn,
|
1650
|
+
:source_arns)
|
1651
|
+
SENSITIVE = []
|
1652
|
+
include Aws::Structure
|
1653
|
+
end
|
1654
|
+
|
1655
|
+
# @!attribute [rw] app_arn
|
1656
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
1657
|
+
# this ARN is:
|
1658
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
1659
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1660
|
+
# the *AWS General Reference*.
|
1661
|
+
#
|
1662
|
+
#
|
1663
|
+
#
|
1664
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1665
|
+
# @return [String]
|
1666
|
+
#
|
1667
|
+
# @!attribute [rw] app_version
|
1668
|
+
# The version of the application.
|
1669
|
+
# @return [String]
|
1670
|
+
#
|
1671
|
+
# @!attribute [rw] source_arns
|
1672
|
+
# The Amazon Resource Names (ARNs) for the resources that you
|
1673
|
+
# imported.
|
1674
|
+
# @return [Array<String>]
|
1675
|
+
#
|
1676
|
+
# @!attribute [rw] status
|
1677
|
+
# The status of the action.
|
1678
|
+
# @return [String]
|
1679
|
+
#
|
1680
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersionResponse AWS API Documentation
|
1681
|
+
#
|
1682
|
+
class ImportResourcesToDraftAppVersionResponse < Struct.new(
|
1683
|
+
:app_arn,
|
1684
|
+
:app_version,
|
1685
|
+
:source_arns,
|
1686
|
+
:status)
|
1687
|
+
SENSITIVE = []
|
1688
|
+
include Aws::Structure
|
1689
|
+
end
|
1690
|
+
|
1691
|
+
# This exception occurs when there is an internal failure in the AWS
|
1692
|
+
# Resilience Hub service.
|
1693
|
+
#
|
1694
|
+
# @!attribute [rw] message
|
1695
|
+
# @return [String]
|
1696
|
+
#
|
1697
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/InternalServerException AWS API Documentation
|
1698
|
+
#
|
1699
|
+
class InternalServerException < Struct.new(
|
1700
|
+
:message)
|
1701
|
+
SENSITIVE = []
|
1702
|
+
include Aws::Structure
|
1703
|
+
end
|
1704
|
+
|
1705
|
+
# @note When making an API call, you may pass ListAlarmRecommendationsRequest
|
1706
|
+
# data as a hash:
|
1707
|
+
#
|
1708
|
+
# {
|
1709
|
+
# assessment_arn: "Arn", # required
|
1710
|
+
# max_results: 1,
|
1711
|
+
# next_token: "NextToken",
|
1712
|
+
# }
|
1713
|
+
#
|
1714
|
+
# @!attribute [rw] assessment_arn
|
1715
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1716
|
+
# this ARN is:
|
1717
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
1718
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1719
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
1720
|
+
#
|
1721
|
+
#
|
1722
|
+
#
|
1723
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1724
|
+
# @return [String]
|
1725
|
+
#
|
1726
|
+
# @!attribute [rw] max_results
|
1727
|
+
# The maximum number of results to include in the response. If more
|
1728
|
+
# results exist than the specified `MaxResults` value, a token is
|
1729
|
+
# included in the response so that the remaining results can be
|
1730
|
+
# retrieved.
|
1731
|
+
# @return [Integer]
|
1732
|
+
#
|
1733
|
+
# @!attribute [rw] next_token
|
1734
|
+
# Null, or the token from a previous call to get the next set of
|
1735
|
+
# results.
|
1736
|
+
# @return [String]
|
1737
|
+
#
|
1738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAlarmRecommendationsRequest AWS API Documentation
|
1739
|
+
#
|
1740
|
+
class ListAlarmRecommendationsRequest < Struct.new(
|
1741
|
+
:assessment_arn,
|
1742
|
+
:max_results,
|
1743
|
+
:next_token)
|
1744
|
+
SENSITIVE = []
|
1745
|
+
include Aws::Structure
|
1746
|
+
end
|
1747
|
+
|
1748
|
+
# @!attribute [rw] alarm_recommendations
|
1749
|
+
# The alarm recommendations for an AWS Resilience Hub application,
|
1750
|
+
# returned as an object. This object includes application component
|
1751
|
+
# names, descriptions, information about whether a recommendation has
|
1752
|
+
# already been implemented or not, prerequisites, and more.
|
1753
|
+
# @return [Array<Types::AlarmRecommendation>]
|
1754
|
+
#
|
1755
|
+
# @!attribute [rw] next_token
|
1756
|
+
# The token for the next set of results, or null if there are no more
|
1757
|
+
# results.
|
1758
|
+
# @return [String]
|
1759
|
+
#
|
1760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAlarmRecommendationsResponse AWS API Documentation
|
1761
|
+
#
|
1762
|
+
class ListAlarmRecommendationsResponse < Struct.new(
|
1763
|
+
:alarm_recommendations,
|
1764
|
+
:next_token)
|
1765
|
+
SENSITIVE = []
|
1766
|
+
include Aws::Structure
|
1767
|
+
end
|
1768
|
+
|
1769
|
+
# @note When making an API call, you may pass ListAppAssessmentsRequest
|
1770
|
+
# data as a hash:
|
1771
|
+
#
|
1772
|
+
# {
|
1773
|
+
# app_arn: "Arn",
|
1774
|
+
# assessment_name: "EntityName",
|
1775
|
+
# assessment_status: ["Pending"], # accepts Pending, InProgress, Failed, Success
|
1776
|
+
# compliance_status: "PolicyBreached", # accepts PolicyBreached, PolicyMet
|
1777
|
+
# invoker: "User", # accepts User, System
|
1778
|
+
# max_results: 1,
|
1779
|
+
# next_token: "NextToken",
|
1780
|
+
# reverse_order: false,
|
1781
|
+
# }
|
1782
|
+
#
|
1783
|
+
# @!attribute [rw] app_arn
|
1784
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
1785
|
+
# this ARN is:
|
1786
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
1787
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
1788
|
+
# the *AWS General Reference*.
|
1789
|
+
#
|
1790
|
+
#
|
1791
|
+
#
|
1792
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1793
|
+
# @return [String]
|
1794
|
+
#
|
1795
|
+
# @!attribute [rw] assessment_name
|
1796
|
+
# The name for the assessment.
|
1797
|
+
# @return [String]
|
1798
|
+
#
|
1799
|
+
# @!attribute [rw] assessment_status
|
1800
|
+
# The current status of the assessment for the resiliency policy.
|
1801
|
+
# @return [Array<String>]
|
1802
|
+
#
|
1803
|
+
# @!attribute [rw] compliance_status
|
1804
|
+
# The current status of compliance for the resiliency policy.
|
1805
|
+
# @return [String]
|
1806
|
+
#
|
1807
|
+
# @!attribute [rw] invoker
|
1808
|
+
# Specifies the entity that invoked a specific assessment, either a
|
1809
|
+
# `User` or the `System`.
|
1810
|
+
# @return [String]
|
1811
|
+
#
|
1812
|
+
# @!attribute [rw] max_results
|
1813
|
+
# The maximum number of results to include in the response. If more
|
1814
|
+
# results exist than the specified `MaxResults` value, a token is
|
1815
|
+
# included in the response so that the remaining results can be
|
1816
|
+
# retrieved.
|
1817
|
+
# @return [Integer]
|
1818
|
+
#
|
1819
|
+
# @!attribute [rw] next_token
|
1820
|
+
# Null, or the token from a previous call to get the next set of
|
1821
|
+
# results.
|
1822
|
+
# @return [String]
|
1823
|
+
#
|
1824
|
+
# @!attribute [rw] reverse_order
|
1825
|
+
# The default is to sort by ascending **startTime**. To sort by
|
1826
|
+
# descending **startTime**, set reverseOrder to `true`.
|
1827
|
+
# @return [Boolean]
|
1828
|
+
#
|
1829
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessmentsRequest AWS API Documentation
|
1830
|
+
#
|
1831
|
+
class ListAppAssessmentsRequest < Struct.new(
|
1832
|
+
:app_arn,
|
1833
|
+
:assessment_name,
|
1834
|
+
:assessment_status,
|
1835
|
+
:compliance_status,
|
1836
|
+
:invoker,
|
1837
|
+
:max_results,
|
1838
|
+
:next_token,
|
1839
|
+
:reverse_order)
|
1840
|
+
SENSITIVE = []
|
1841
|
+
include Aws::Structure
|
1842
|
+
end
|
1843
|
+
|
1844
|
+
# @!attribute [rw] assessment_summaries
|
1845
|
+
# The summaries for the specified assessments, returned as an object.
|
1846
|
+
# This object includes application versions, associated Amazon
|
1847
|
+
# Resource Numbers (ARNs), cost, messages, resiliency scores, and
|
1848
|
+
# more.
|
1849
|
+
# @return [Array<Types::AppAssessmentSummary>]
|
1850
|
+
#
|
1851
|
+
# @!attribute [rw] next_token
|
1852
|
+
# The token for the next set of results, or null if there are no more
|
1853
|
+
# results.
|
1854
|
+
# @return [String]
|
1855
|
+
#
|
1856
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessmentsResponse AWS API Documentation
|
1857
|
+
#
|
1858
|
+
class ListAppAssessmentsResponse < Struct.new(
|
1859
|
+
:assessment_summaries,
|
1860
|
+
:next_token)
|
1861
|
+
SENSITIVE = []
|
1862
|
+
include Aws::Structure
|
1863
|
+
end
|
1864
|
+
|
1865
|
+
# @note When making an API call, you may pass ListAppComponentCompliancesRequest
|
1866
|
+
# data as a hash:
|
1867
|
+
#
|
1868
|
+
# {
|
1869
|
+
# assessment_arn: "Arn", # required
|
1870
|
+
# max_results: 1,
|
1871
|
+
# next_token: "NextToken",
|
1872
|
+
# }
|
1873
|
+
#
|
1874
|
+
# @!attribute [rw] assessment_arn
|
1875
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1876
|
+
# this ARN is:
|
1877
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
1878
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1879
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
1880
|
+
#
|
1881
|
+
#
|
1882
|
+
#
|
1883
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1884
|
+
# @return [String]
|
1885
|
+
#
|
1886
|
+
# @!attribute [rw] max_results
|
1887
|
+
# The maximum number of results to include in the response. If more
|
1888
|
+
# results exist than the specified `MaxResults` value, a token is
|
1889
|
+
# included in the response so that the remaining results can be
|
1890
|
+
# retrieved.
|
1891
|
+
# @return [Integer]
|
1892
|
+
#
|
1893
|
+
# @!attribute [rw] next_token
|
1894
|
+
# Null, or the token from a previous call to get the next set of
|
1895
|
+
# results.
|
1896
|
+
# @return [String]
|
1897
|
+
#
|
1898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliancesRequest AWS API Documentation
|
1899
|
+
#
|
1900
|
+
class ListAppComponentCompliancesRequest < Struct.new(
|
1901
|
+
:assessment_arn,
|
1902
|
+
:max_results,
|
1903
|
+
:next_token)
|
1904
|
+
SENSITIVE = []
|
1905
|
+
include Aws::Structure
|
1906
|
+
end
|
1907
|
+
|
1908
|
+
# @!attribute [rw] component_compliances
|
1909
|
+
# The compliances for an AWS Resilience Hub application component,
|
1910
|
+
# returned as an object. This object contains component names,
|
1911
|
+
# compliances, costs, resiliency scores, outage scores, and more.
|
1912
|
+
# @return [Array<Types::AppComponentCompliance>]
|
1913
|
+
#
|
1914
|
+
# @!attribute [rw] next_token
|
1915
|
+
# The token for the next set of results, or null if there are no more
|
1916
|
+
# results.
|
1917
|
+
# @return [String]
|
1918
|
+
#
|
1919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliancesResponse AWS API Documentation
|
1920
|
+
#
|
1921
|
+
class ListAppComponentCompliancesResponse < Struct.new(
|
1922
|
+
:component_compliances,
|
1923
|
+
:next_token)
|
1924
|
+
SENSITIVE = []
|
1925
|
+
include Aws::Structure
|
1926
|
+
end
|
1927
|
+
|
1928
|
+
# @note When making an API call, you may pass ListAppComponentRecommendationsRequest
|
1929
|
+
# data as a hash:
|
1930
|
+
#
|
1931
|
+
# {
|
1932
|
+
# assessment_arn: "Arn", # required
|
1933
|
+
# max_results: 1,
|
1934
|
+
# next_token: "NextToken",
|
1935
|
+
# }
|
1936
|
+
#
|
1937
|
+
# @!attribute [rw] assessment_arn
|
1938
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1939
|
+
# this ARN is:
|
1940
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
1941
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1942
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
1943
|
+
#
|
1944
|
+
#
|
1945
|
+
#
|
1946
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1947
|
+
# @return [String]
|
1948
|
+
#
|
1949
|
+
# @!attribute [rw] max_results
|
1950
|
+
# The maximum number of results to include in the response. If more
|
1951
|
+
# results exist than the specified `MaxResults` value, a token is
|
1952
|
+
# included in the response so that the remaining results can be
|
1953
|
+
# retrieved.
|
1954
|
+
# @return [Integer]
|
1955
|
+
#
|
1956
|
+
# @!attribute [rw] next_token
|
1957
|
+
# Null, or the token from a previous call to get the next set of
|
1958
|
+
# results.
|
1959
|
+
# @return [String]
|
1960
|
+
#
|
1961
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendationsRequest AWS API Documentation
|
1962
|
+
#
|
1963
|
+
class ListAppComponentRecommendationsRequest < Struct.new(
|
1964
|
+
:assessment_arn,
|
1965
|
+
:max_results,
|
1966
|
+
:next_token)
|
1967
|
+
SENSITIVE = []
|
1968
|
+
include Aws::Structure
|
1969
|
+
end
|
1970
|
+
|
1971
|
+
# @!attribute [rw] component_recommendations
|
1972
|
+
# The recommendations for an Resilience Hub application component,
|
1973
|
+
# returned as an object. This object contains component names,
|
1974
|
+
# configuration recommendations, and recommendation statuses.
|
1975
|
+
# @return [Array<Types::ComponentRecommendation>]
|
1976
|
+
#
|
1977
|
+
# @!attribute [rw] next_token
|
1978
|
+
# The token for the next set of results, or null if there are no more
|
1979
|
+
# results.
|
1980
|
+
# @return [String]
|
1981
|
+
#
|
1982
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendationsResponse AWS API Documentation
|
1983
|
+
#
|
1984
|
+
class ListAppComponentRecommendationsResponse < Struct.new(
|
1985
|
+
:component_recommendations,
|
1986
|
+
:next_token)
|
1987
|
+
SENSITIVE = []
|
1988
|
+
include Aws::Structure
|
1989
|
+
end
|
1990
|
+
|
1991
|
+
# @note When making an API call, you may pass ListAppVersionResourceMappingsRequest
|
1992
|
+
# data as a hash:
|
1993
|
+
#
|
1994
|
+
# {
|
1995
|
+
# app_arn: "Arn", # required
|
1996
|
+
# app_version: "EntityVersion", # required
|
1997
|
+
# max_results: 1,
|
1998
|
+
# next_token: "NextToken",
|
1999
|
+
# }
|
2000
|
+
#
|
2001
|
+
# @!attribute [rw] app_arn
|
2002
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
2003
|
+
# this ARN is:
|
2004
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
2005
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2006
|
+
# the *AWS General Reference*.
|
2007
|
+
#
|
2008
|
+
#
|
2009
|
+
#
|
2010
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2011
|
+
# @return [String]
|
2012
|
+
#
|
2013
|
+
# @!attribute [rw] app_version
|
2014
|
+
# The version of the application.
|
2015
|
+
# @return [String]
|
2016
|
+
#
|
2017
|
+
# @!attribute [rw] max_results
|
2018
|
+
# The maximum number of results to include in the response. If more
|
2019
|
+
# results exist than the specified `MaxResults` value, a token is
|
2020
|
+
# included in the response so that the remaining results can be
|
2021
|
+
# retrieved.
|
2022
|
+
# @return [Integer]
|
2023
|
+
#
|
2024
|
+
# @!attribute [rw] next_token
|
2025
|
+
# Null, or the token from a previous call to get the next set of
|
2026
|
+
# results.
|
2027
|
+
# @return [String]
|
2028
|
+
#
|
2029
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappingsRequest AWS API Documentation
|
2030
|
+
#
|
2031
|
+
class ListAppVersionResourceMappingsRequest < Struct.new(
|
2032
|
+
:app_arn,
|
2033
|
+
:app_version,
|
2034
|
+
:max_results,
|
2035
|
+
:next_token)
|
2036
|
+
SENSITIVE = []
|
2037
|
+
include Aws::Structure
|
2038
|
+
end
|
2039
|
+
|
2040
|
+
# @!attribute [rw] next_token
|
2041
|
+
# The token for the next set of results, or null if there are no more
|
2042
|
+
# results.
|
2043
|
+
# @return [String]
|
2044
|
+
#
|
2045
|
+
# @!attribute [rw] resource_mappings
|
2046
|
+
# Mappings used to map logical resources from the template to physical
|
2047
|
+
# resources. You can use the mapping type `CFN_STACK` if the
|
2048
|
+
# application template uses a logical stack name. Or you can map
|
2049
|
+
# individual resources by using the mapping type `RESOURCE`. We
|
2050
|
+
# recommend using the mapping type `CFN_STACK` if the application is
|
2051
|
+
# backed by a CloudFormation stack.
|
2052
|
+
# @return [Array<Types::ResourceMapping>]
|
2053
|
+
#
|
2054
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourceMappingsResponse AWS API Documentation
|
2055
|
+
#
|
2056
|
+
class ListAppVersionResourceMappingsResponse < Struct.new(
|
2057
|
+
:next_token,
|
2058
|
+
:resource_mappings)
|
2059
|
+
SENSITIVE = []
|
2060
|
+
include Aws::Structure
|
2061
|
+
end
|
2062
|
+
|
2063
|
+
# @note When making an API call, you may pass ListAppVersionResourcesRequest
|
2064
|
+
# data as a hash:
|
2065
|
+
#
|
2066
|
+
# {
|
2067
|
+
# app_arn: "Arn", # required
|
2068
|
+
# app_version: "EntityVersion", # required
|
2069
|
+
# max_results: 1,
|
2070
|
+
# next_token: "NextToken",
|
2071
|
+
# resolution_id: "String255",
|
2072
|
+
# }
|
2073
|
+
#
|
2074
|
+
# @!attribute [rw] app_arn
|
2075
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
2076
|
+
# this ARN is:
|
2077
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
2078
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2079
|
+
# the *AWS General Reference*.
|
2080
|
+
#
|
2081
|
+
#
|
2082
|
+
#
|
2083
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2084
|
+
# @return [String]
|
2085
|
+
#
|
2086
|
+
# @!attribute [rw] app_version
|
2087
|
+
# The version of the application.
|
2088
|
+
# @return [String]
|
2089
|
+
#
|
2090
|
+
# @!attribute [rw] max_results
|
2091
|
+
# The maximum number of results to include in the response. If more
|
2092
|
+
# results exist than the specified `MaxResults` value, a token is
|
2093
|
+
# included in the response so that the remaining results can be
|
2094
|
+
# retrieved.
|
2095
|
+
# @return [Integer]
|
2096
|
+
#
|
2097
|
+
# @!attribute [rw] next_token
|
2098
|
+
# Null, or the token from a previous call to get the next set of
|
2099
|
+
# results.
|
2100
|
+
# @return [String]
|
2101
|
+
#
|
2102
|
+
# @!attribute [rw] resolution_id
|
2103
|
+
# The identifier for a specific resolution.
|
2104
|
+
# @return [String]
|
2105
|
+
#
|
2106
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourcesRequest AWS API Documentation
|
2107
|
+
#
|
2108
|
+
class ListAppVersionResourcesRequest < Struct.new(
|
2109
|
+
:app_arn,
|
2110
|
+
:app_version,
|
2111
|
+
:max_results,
|
2112
|
+
:next_token,
|
2113
|
+
:resolution_id)
|
2114
|
+
SENSITIVE = []
|
2115
|
+
include Aws::Structure
|
2116
|
+
end
|
2117
|
+
|
2118
|
+
# @!attribute [rw] next_token
|
2119
|
+
# The token for the next set of results, or null if there are no more
|
2120
|
+
# results.
|
2121
|
+
# @return [String]
|
2122
|
+
#
|
2123
|
+
# @!attribute [rw] physical_resources
|
2124
|
+
# The physical resources in the application version.
|
2125
|
+
# @return [Array<Types::PhysicalResource>]
|
2126
|
+
#
|
2127
|
+
# @!attribute [rw] resolution_id
|
2128
|
+
# The identifier for a specific resolution.
|
2129
|
+
# @return [String]
|
2130
|
+
#
|
2131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourcesResponse AWS API Documentation
|
2132
|
+
#
|
2133
|
+
class ListAppVersionResourcesResponse < Struct.new(
|
2134
|
+
:next_token,
|
2135
|
+
:physical_resources,
|
2136
|
+
:resolution_id)
|
2137
|
+
SENSITIVE = []
|
2138
|
+
include Aws::Structure
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
# @note When making an API call, you may pass ListAppVersionsRequest
|
2142
|
+
# data as a hash:
|
2143
|
+
#
|
2144
|
+
# {
|
2145
|
+
# app_arn: "Arn", # required
|
2146
|
+
# max_results: 1,
|
2147
|
+
# next_token: "NextToken",
|
2148
|
+
# }
|
2149
|
+
#
|
2150
|
+
# @!attribute [rw] app_arn
|
2151
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
2152
|
+
# this ARN is:
|
2153
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
2154
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2155
|
+
# the *AWS General Reference*.
|
2156
|
+
#
|
2157
|
+
#
|
2158
|
+
#
|
2159
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2160
|
+
# @return [String]
|
2161
|
+
#
|
2162
|
+
# @!attribute [rw] max_results
|
2163
|
+
# The maximum number of results to include in the response. If more
|
2164
|
+
# results exist than the specified `MaxResults` value, a token is
|
2165
|
+
# included in the response so that the remaining results can be
|
2166
|
+
# retrieved.
|
2167
|
+
# @return [Integer]
|
2168
|
+
#
|
2169
|
+
# @!attribute [rw] next_token
|
2170
|
+
# Null, or the token from a previous call to get the next set of
|
2171
|
+
# results.
|
2172
|
+
# @return [String]
|
2173
|
+
#
|
2174
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionsRequest AWS API Documentation
|
2175
|
+
#
|
2176
|
+
class ListAppVersionsRequest < Struct.new(
|
2177
|
+
:app_arn,
|
2178
|
+
:max_results,
|
2179
|
+
:next_token)
|
2180
|
+
SENSITIVE = []
|
2181
|
+
include Aws::Structure
|
2182
|
+
end
|
2183
|
+
|
2184
|
+
# @!attribute [rw] app_versions
|
2185
|
+
# The version of the application.
|
2186
|
+
# @return [Array<Types::AppVersionSummary>]
|
2187
|
+
#
|
2188
|
+
# @!attribute [rw] next_token
|
2189
|
+
# The token for the next set of results, or null if there are no more
|
2190
|
+
# results.
|
2191
|
+
# @return [String]
|
2192
|
+
#
|
2193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionsResponse AWS API Documentation
|
2194
|
+
#
|
2195
|
+
class ListAppVersionsResponse < Struct.new(
|
2196
|
+
:app_versions,
|
2197
|
+
:next_token)
|
2198
|
+
SENSITIVE = []
|
2199
|
+
include Aws::Structure
|
2200
|
+
end
|
2201
|
+
|
2202
|
+
# @note When making an API call, you may pass ListAppsRequest
|
2203
|
+
# data as a hash:
|
2204
|
+
#
|
2205
|
+
# {
|
2206
|
+
# app_arn: "Arn",
|
2207
|
+
# max_results: 1,
|
2208
|
+
# name: "EntityName",
|
2209
|
+
# next_token: "NextToken",
|
2210
|
+
# }
|
2211
|
+
#
|
2212
|
+
# @!attribute [rw] app_arn
|
2213
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
2214
|
+
# this ARN is:
|
2215
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
2216
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2217
|
+
# the *AWS General Reference*.
|
2218
|
+
#
|
2219
|
+
#
|
2220
|
+
#
|
2221
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2222
|
+
# @return [String]
|
2223
|
+
#
|
2224
|
+
# @!attribute [rw] max_results
|
2225
|
+
# The maximum number of results to include in the response. If more
|
2226
|
+
# results exist than the specified `MaxResults` value, a token is
|
2227
|
+
# included in the response so that the remaining results can be
|
2228
|
+
# retrieved.
|
2229
|
+
# @return [Integer]
|
2230
|
+
#
|
2231
|
+
# @!attribute [rw] name
|
2232
|
+
# The name for the one of the listed applications.
|
2233
|
+
# @return [String]
|
2234
|
+
#
|
2235
|
+
# @!attribute [rw] next_token
|
2236
|
+
# Null, or the token from a previous call to get the next set of
|
2237
|
+
# results.
|
2238
|
+
# @return [String]
|
2239
|
+
#
|
2240
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppsRequest AWS API Documentation
|
2241
|
+
#
|
2242
|
+
class ListAppsRequest < Struct.new(
|
2243
|
+
:app_arn,
|
2244
|
+
:max_results,
|
2245
|
+
:name,
|
2246
|
+
:next_token)
|
2247
|
+
SENSITIVE = []
|
2248
|
+
include Aws::Structure
|
2249
|
+
end
|
2250
|
+
|
2251
|
+
# @!attribute [rw] app_summaries
|
2252
|
+
# Summaries for the Resilience Hub application.
|
2253
|
+
# @return [Array<Types::AppSummary>]
|
2254
|
+
#
|
2255
|
+
# @!attribute [rw] next_token
|
2256
|
+
# The token for the next set of results, or null if there are no more
|
2257
|
+
# results.
|
2258
|
+
# @return [String]
|
2259
|
+
#
|
2260
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppsResponse AWS API Documentation
|
2261
|
+
#
|
2262
|
+
class ListAppsResponse < Struct.new(
|
2263
|
+
:app_summaries,
|
2264
|
+
:next_token)
|
2265
|
+
SENSITIVE = []
|
2266
|
+
include Aws::Structure
|
2267
|
+
end
|
2268
|
+
|
2269
|
+
# @note When making an API call, you may pass ListRecommendationTemplatesRequest
|
2270
|
+
# data as a hash:
|
2271
|
+
#
|
2272
|
+
# {
|
2273
|
+
# assessment_arn: "Arn", # required
|
2274
|
+
# max_results: 1,
|
2275
|
+
# name: "EntityName",
|
2276
|
+
# next_token: "NextToken",
|
2277
|
+
# recommendation_template_arn: "Arn",
|
2278
|
+
# reverse_order: false,
|
2279
|
+
# status: ["Pending"], # accepts Pending, InProgress, Failed, Success
|
2280
|
+
# }
|
2281
|
+
#
|
2282
|
+
# @!attribute [rw] assessment_arn
|
2283
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2284
|
+
# this ARN is:
|
2285
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
2286
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
2287
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
2288
|
+
#
|
2289
|
+
#
|
2290
|
+
#
|
2291
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2292
|
+
# @return [String]
|
2293
|
+
#
|
2294
|
+
# @!attribute [rw] max_results
|
2295
|
+
# The maximum number of results to include in the response. If more
|
2296
|
+
# results exist than the specified `MaxResults` value, a token is
|
2297
|
+
# included in the response so that the remaining results can be
|
2298
|
+
# retrieved.
|
2299
|
+
# @return [Integer]
|
2300
|
+
#
|
2301
|
+
# @!attribute [rw] name
|
2302
|
+
# The name for one of the listed recommendation templates.
|
2303
|
+
# @return [String]
|
2304
|
+
#
|
2305
|
+
# @!attribute [rw] next_token
|
2306
|
+
# Null, or the token from a previous call to get the next set of
|
2307
|
+
# results.
|
2308
|
+
# @return [String]
|
2309
|
+
#
|
2310
|
+
# @!attribute [rw] recommendation_template_arn
|
2311
|
+
# The Amazon Resource Name (ARN) for a recommendation template.
|
2312
|
+
# @return [String]
|
2313
|
+
#
|
2314
|
+
# @!attribute [rw] reverse_order
|
2315
|
+
# The default is to sort by ascending **startTime**. To sort by
|
2316
|
+
# descending **startTime**, set reverseOrder to `true`.
|
2317
|
+
# @return [Boolean]
|
2318
|
+
#
|
2319
|
+
# @!attribute [rw] status
|
2320
|
+
# The status of the action.
|
2321
|
+
# @return [Array<String>]
|
2322
|
+
#
|
2323
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListRecommendationTemplatesRequest AWS API Documentation
|
2324
|
+
#
|
2325
|
+
class ListRecommendationTemplatesRequest < Struct.new(
|
2326
|
+
:assessment_arn,
|
2327
|
+
:max_results,
|
2328
|
+
:name,
|
2329
|
+
:next_token,
|
2330
|
+
:recommendation_template_arn,
|
2331
|
+
:reverse_order,
|
2332
|
+
:status)
|
2333
|
+
SENSITIVE = []
|
2334
|
+
include Aws::Structure
|
2335
|
+
end
|
2336
|
+
|
2337
|
+
# @!attribute [rw] next_token
|
2338
|
+
# The token for the next set of results, or null if there are no more
|
2339
|
+
# results.
|
2340
|
+
# @return [String]
|
2341
|
+
#
|
2342
|
+
# @!attribute [rw] recommendation_templates
|
2343
|
+
# The recommendation templates for the Resilience Hub applications.
|
2344
|
+
# @return [Array<Types::RecommendationTemplate>]
|
2345
|
+
#
|
2346
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListRecommendationTemplatesResponse AWS API Documentation
|
2347
|
+
#
|
2348
|
+
class ListRecommendationTemplatesResponse < Struct.new(
|
2349
|
+
:next_token,
|
2350
|
+
:recommendation_templates)
|
2351
|
+
SENSITIVE = []
|
2352
|
+
include Aws::Structure
|
2353
|
+
end
|
2354
|
+
|
2355
|
+
# @note When making an API call, you may pass ListResiliencyPoliciesRequest
|
2356
|
+
# data as a hash:
|
2357
|
+
#
|
2358
|
+
# {
|
2359
|
+
# max_results: 1,
|
2360
|
+
# next_token: "NextToken",
|
2361
|
+
# policy_name: "EntityName",
|
2362
|
+
# }
|
2363
|
+
#
|
2364
|
+
# @!attribute [rw] max_results
|
2365
|
+
# The maximum number of results to include in the response. If more
|
2366
|
+
# results exist than the specified `MaxResults` value, a token is
|
2367
|
+
# included in the response so that the remaining results can be
|
2368
|
+
# retrieved.
|
2369
|
+
# @return [Integer]
|
2370
|
+
#
|
2371
|
+
# @!attribute [rw] next_token
|
2372
|
+
# Null, or the token from a previous call to get the next set of
|
2373
|
+
# results.
|
2374
|
+
# @return [String]
|
2375
|
+
#
|
2376
|
+
# @!attribute [rw] policy_name
|
2377
|
+
# The name of the policy
|
2378
|
+
# @return [String]
|
2379
|
+
#
|
2380
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPoliciesRequest AWS API Documentation
|
2381
|
+
#
|
2382
|
+
class ListResiliencyPoliciesRequest < Struct.new(
|
2383
|
+
:max_results,
|
2384
|
+
:next_token,
|
2385
|
+
:policy_name)
|
2386
|
+
SENSITIVE = []
|
2387
|
+
include Aws::Structure
|
2388
|
+
end
|
2389
|
+
|
2390
|
+
# @!attribute [rw] next_token
|
2391
|
+
# The token for the next set of results, or null if there are no more
|
2392
|
+
# results.
|
2393
|
+
# @return [String]
|
2394
|
+
#
|
2395
|
+
# @!attribute [rw] resiliency_policies
|
2396
|
+
# The resiliency policies for the Resilience Hub applications.
|
2397
|
+
# @return [Array<Types::ResiliencyPolicy>]
|
2398
|
+
#
|
2399
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPoliciesResponse AWS API Documentation
|
2400
|
+
#
|
2401
|
+
class ListResiliencyPoliciesResponse < Struct.new(
|
2402
|
+
:next_token,
|
2403
|
+
:resiliency_policies)
|
2404
|
+
SENSITIVE = []
|
2405
|
+
include Aws::Structure
|
2406
|
+
end
|
2407
|
+
|
2408
|
+
# @note When making an API call, you may pass ListSopRecommendationsRequest
|
2409
|
+
# data as a hash:
|
2410
|
+
#
|
2411
|
+
# {
|
2412
|
+
# assessment_arn: "Arn", # required
|
2413
|
+
# max_results: 1,
|
2414
|
+
# next_token: "NextToken",
|
2415
|
+
# }
|
2416
|
+
#
|
2417
|
+
# @!attribute [rw] assessment_arn
|
2418
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2419
|
+
# this ARN is:
|
2420
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
2421
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
2422
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
2423
|
+
#
|
2424
|
+
#
|
2425
|
+
#
|
2426
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2427
|
+
# @return [String]
|
2428
|
+
#
|
2429
|
+
# @!attribute [rw] max_results
|
2430
|
+
# The maximum number of results to include in the response. If more
|
2431
|
+
# results exist than the specified `MaxResults` value, a token is
|
2432
|
+
# included in the response so that the remaining results can be
|
2433
|
+
# retrieved.
|
2434
|
+
# @return [Integer]
|
2435
|
+
#
|
2436
|
+
# @!attribute [rw] next_token
|
2437
|
+
# Null, or the token from a previous call to get the next set of
|
2438
|
+
# results.
|
2439
|
+
# @return [String]
|
2440
|
+
#
|
2441
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSopRecommendationsRequest AWS API Documentation
|
2442
|
+
#
|
2443
|
+
class ListSopRecommendationsRequest < Struct.new(
|
2444
|
+
:assessment_arn,
|
2445
|
+
:max_results,
|
2446
|
+
:next_token)
|
2447
|
+
SENSITIVE = []
|
2448
|
+
include Aws::Structure
|
2449
|
+
end
|
2450
|
+
|
2451
|
+
# @!attribute [rw] next_token
|
2452
|
+
# The token for the next set of results, or null if there are no more
|
2453
|
+
# results.
|
2454
|
+
# @return [String]
|
2455
|
+
#
|
2456
|
+
# @!attribute [rw] sop_recommendations
|
2457
|
+
# The standard operating procedure (SOP) recommendations for the
|
2458
|
+
# Resilience Hub applications.
|
2459
|
+
# @return [Array<Types::SopRecommendation>]
|
2460
|
+
#
|
2461
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSopRecommendationsResponse AWS API Documentation
|
2462
|
+
#
|
2463
|
+
class ListSopRecommendationsResponse < Struct.new(
|
2464
|
+
:next_token,
|
2465
|
+
:sop_recommendations)
|
2466
|
+
SENSITIVE = []
|
2467
|
+
include Aws::Structure
|
2468
|
+
end
|
2469
|
+
|
2470
|
+
# @note When making an API call, you may pass ListSuggestedResiliencyPoliciesRequest
|
2471
|
+
# data as a hash:
|
2472
|
+
#
|
2473
|
+
# {
|
2474
|
+
# max_results: 1,
|
2475
|
+
# next_token: "NextToken",
|
2476
|
+
# }
|
2477
|
+
#
|
2478
|
+
# @!attribute [rw] max_results
|
2479
|
+
# The maximum number of results to include in the response. If more
|
2480
|
+
# results exist than the specified `MaxResults` value, a token is
|
2481
|
+
# included in the response so that the remaining results can be
|
2482
|
+
# retrieved.
|
2483
|
+
# @return [Integer]
|
2484
|
+
#
|
2485
|
+
# @!attribute [rw] next_token
|
2486
|
+
# Null, or the token from a previous call to get the next set of
|
2487
|
+
# results.
|
2488
|
+
# @return [String]
|
2489
|
+
#
|
2490
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSuggestedResiliencyPoliciesRequest AWS API Documentation
|
2491
|
+
#
|
2492
|
+
class ListSuggestedResiliencyPoliciesRequest < Struct.new(
|
2493
|
+
:max_results,
|
2494
|
+
:next_token)
|
2495
|
+
SENSITIVE = []
|
2496
|
+
include Aws::Structure
|
2497
|
+
end
|
2498
|
+
|
2499
|
+
# @!attribute [rw] next_token
|
2500
|
+
# The token for the next set of results, or null if there are no more
|
2501
|
+
# results.
|
2502
|
+
# @return [String]
|
2503
|
+
#
|
2504
|
+
# @!attribute [rw] resiliency_policies
|
2505
|
+
# The suggested resiliency policies for the Resilience Hub
|
2506
|
+
# applications.
|
2507
|
+
# @return [Array<Types::ResiliencyPolicy>]
|
2508
|
+
#
|
2509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListSuggestedResiliencyPoliciesResponse AWS API Documentation
|
2510
|
+
#
|
2511
|
+
class ListSuggestedResiliencyPoliciesResponse < Struct.new(
|
2512
|
+
:next_token,
|
2513
|
+
:resiliency_policies)
|
2514
|
+
SENSITIVE = []
|
2515
|
+
include Aws::Structure
|
2516
|
+
end
|
2517
|
+
|
2518
|
+
# @note When making an API call, you may pass ListTagsForResourceRequest
|
2519
|
+
# data as a hash:
|
2520
|
+
#
|
2521
|
+
# {
|
2522
|
+
# resource_arn: "Arn", # required
|
2523
|
+
# }
|
2524
|
+
#
|
2525
|
+
# @!attribute [rw] resource_arn
|
2526
|
+
# The Amazon Resource Name (ARN) for a specific resource in your
|
2527
|
+
# Resilience Hub application.
|
2528
|
+
# @return [String]
|
2529
|
+
#
|
2530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTagsForResourceRequest AWS API Documentation
|
2531
|
+
#
|
2532
|
+
class ListTagsForResourceRequest < Struct.new(
|
2533
|
+
:resource_arn)
|
2534
|
+
SENSITIVE = []
|
2535
|
+
include Aws::Structure
|
2536
|
+
end
|
2537
|
+
|
2538
|
+
# @!attribute [rw] tags
|
2539
|
+
# The tags assigned to the resource. A tag is a label that you assign
|
2540
|
+
# to an Amazon Web Services resource. Each tag consists of a key/value
|
2541
|
+
# pair.
|
2542
|
+
# @return [Hash<String,String>]
|
2543
|
+
#
|
2544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTagsForResourceResponse AWS API Documentation
|
2545
|
+
#
|
2546
|
+
class ListTagsForResourceResponse < Struct.new(
|
2547
|
+
:tags)
|
2548
|
+
SENSITIVE = [:tags]
|
2549
|
+
include Aws::Structure
|
2550
|
+
end
|
2551
|
+
|
2552
|
+
# @note When making an API call, you may pass ListTestRecommendationsRequest
|
2553
|
+
# data as a hash:
|
2554
|
+
#
|
2555
|
+
# {
|
2556
|
+
# assessment_arn: "Arn", # required
|
2557
|
+
# max_results: 1,
|
2558
|
+
# next_token: "NextToken",
|
2559
|
+
# }
|
2560
|
+
#
|
2561
|
+
# @!attribute [rw] assessment_arn
|
2562
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2563
|
+
# this ARN is:
|
2564
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
2565
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
2566
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
2567
|
+
#
|
2568
|
+
#
|
2569
|
+
#
|
2570
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2571
|
+
# @return [String]
|
2572
|
+
#
|
2573
|
+
# @!attribute [rw] max_results
|
2574
|
+
# The maximum number of results to include in the response. If more
|
2575
|
+
# results exist than the specified `MaxResults` value, a token is
|
2576
|
+
# included in the response so that the remaining results can be
|
2577
|
+
# retrieved.
|
2578
|
+
# @return [Integer]
|
2579
|
+
#
|
2580
|
+
# @!attribute [rw] next_token
|
2581
|
+
# Null, or the token from a previous call to get the next set of
|
2582
|
+
# results.
|
2583
|
+
# @return [String]
|
2584
|
+
#
|
2585
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTestRecommendationsRequest AWS API Documentation
|
2586
|
+
#
|
2587
|
+
class ListTestRecommendationsRequest < Struct.new(
|
2588
|
+
:assessment_arn,
|
2589
|
+
:max_results,
|
2590
|
+
:next_token)
|
2591
|
+
SENSITIVE = []
|
2592
|
+
include Aws::Structure
|
2593
|
+
end
|
2594
|
+
|
2595
|
+
# @!attribute [rw] next_token
|
2596
|
+
# The token for the next set of results, or null if there are no more
|
2597
|
+
# results.
|
2598
|
+
# @return [String]
|
2599
|
+
#
|
2600
|
+
# @!attribute [rw] test_recommendations
|
2601
|
+
# The test recommendations for the Resilience Hub application.
|
2602
|
+
# @return [Array<Types::TestRecommendation>]
|
2603
|
+
#
|
2604
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTestRecommendationsResponse AWS API Documentation
|
2605
|
+
#
|
2606
|
+
class ListTestRecommendationsResponse < Struct.new(
|
2607
|
+
:next_token,
|
2608
|
+
:test_recommendations)
|
2609
|
+
SENSITIVE = []
|
2610
|
+
include Aws::Structure
|
2611
|
+
end
|
2612
|
+
|
2613
|
+
# @note When making an API call, you may pass ListUnsupportedAppVersionResourcesRequest
|
2614
|
+
# data as a hash:
|
2615
|
+
#
|
2616
|
+
# {
|
2617
|
+
# app_arn: "Arn", # required
|
2618
|
+
# app_version: "EntityVersion", # required
|
2619
|
+
# max_results: 1,
|
2620
|
+
# next_token: "NextToken",
|
2621
|
+
# resolution_id: "String255",
|
2622
|
+
# }
|
2623
|
+
#
|
2624
|
+
# @!attribute [rw] app_arn
|
2625
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
2626
|
+
# this ARN is:
|
2627
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
2628
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2629
|
+
# the *AWS General Reference*.
|
2630
|
+
#
|
2631
|
+
#
|
2632
|
+
#
|
2633
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2634
|
+
# @return [String]
|
2635
|
+
#
|
2636
|
+
# @!attribute [rw] app_version
|
2637
|
+
# The version of the application.
|
2638
|
+
# @return [String]
|
2639
|
+
#
|
2640
|
+
# @!attribute [rw] max_results
|
2641
|
+
# The maximum number of results to include in the response. If more
|
2642
|
+
# results exist than the specified `MaxResults` value, a token is
|
2643
|
+
# included in the response so that the remaining results can be
|
2644
|
+
# retrieved.
|
2645
|
+
# @return [Integer]
|
2646
|
+
#
|
2647
|
+
# @!attribute [rw] next_token
|
2648
|
+
# Null, or the token from a previous call to get the next set of
|
2649
|
+
# results.
|
2650
|
+
# @return [String]
|
2651
|
+
#
|
2652
|
+
# @!attribute [rw] resolution_id
|
2653
|
+
# The identifier for a specific resolution.
|
2654
|
+
# @return [String]
|
2655
|
+
#
|
2656
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListUnsupportedAppVersionResourcesRequest AWS API Documentation
|
2657
|
+
#
|
2658
|
+
class ListUnsupportedAppVersionResourcesRequest < Struct.new(
|
2659
|
+
:app_arn,
|
2660
|
+
:app_version,
|
2661
|
+
:max_results,
|
2662
|
+
:next_token,
|
2663
|
+
:resolution_id)
|
2664
|
+
SENSITIVE = []
|
2665
|
+
include Aws::Structure
|
2666
|
+
end
|
2667
|
+
|
2668
|
+
# @!attribute [rw] next_token
|
2669
|
+
# The token for the next set of results, or null if there are no more
|
2670
|
+
# results.
|
2671
|
+
# @return [String]
|
2672
|
+
#
|
2673
|
+
# @!attribute [rw] resolution_id
|
2674
|
+
# The identifier for a specific resolution.
|
2675
|
+
# @return [String]
|
2676
|
+
#
|
2677
|
+
# @!attribute [rw] unsupported_resources
|
2678
|
+
# The unsupported resources for the application.
|
2679
|
+
# @return [Array<Types::UnsupportedResource>]
|
2680
|
+
#
|
2681
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListUnsupportedAppVersionResourcesResponse AWS API Documentation
|
2682
|
+
#
|
2683
|
+
class ListUnsupportedAppVersionResourcesResponse < Struct.new(
|
2684
|
+
:next_token,
|
2685
|
+
:resolution_id,
|
2686
|
+
:unsupported_resources)
|
2687
|
+
SENSITIVE = []
|
2688
|
+
include Aws::Structure
|
2689
|
+
end
|
2690
|
+
|
2691
|
+
# Defines a logical resource identifier.
|
2692
|
+
#
|
2693
|
+
# @!attribute [rw] identifier
|
2694
|
+
# The identifier of the resource.
|
2695
|
+
# @return [String]
|
2696
|
+
#
|
2697
|
+
# @!attribute [rw] logical_stack_name
|
2698
|
+
# The name of the CloudFormation stack this resource belongs to.
|
2699
|
+
# @return [String]
|
2700
|
+
#
|
2701
|
+
# @!attribute [rw] resource_group_name
|
2702
|
+
# The name of the resource group that this resource belongs to.
|
2703
|
+
# @return [String]
|
2704
|
+
#
|
2705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/LogicalResourceId AWS API Documentation
|
2706
|
+
#
|
2707
|
+
class LogicalResourceId < Struct.new(
|
2708
|
+
:identifier,
|
2709
|
+
:logical_stack_name,
|
2710
|
+
:resource_group_name)
|
2711
|
+
SENSITIVE = []
|
2712
|
+
include Aws::Structure
|
2713
|
+
end
|
2714
|
+
|
2715
|
+
# Defines a physical resource. A physical resource is a resource that
|
2716
|
+
# exists in your account. It can be identified using an Amazon Resource
|
2717
|
+
# Name (ARN) or a Resilience Hub-native identifier.
|
2718
|
+
#
|
2719
|
+
# @!attribute [rw] app_components
|
2720
|
+
# The application components that belong to this resource.
|
2721
|
+
# @return [Array<Types::AppComponent>]
|
2722
|
+
#
|
2723
|
+
# @!attribute [rw] logical_resource_id
|
2724
|
+
# The logical identifier of the resource.
|
2725
|
+
# @return [Types::LogicalResourceId]
|
2726
|
+
#
|
2727
|
+
# @!attribute [rw] physical_resource_id
|
2728
|
+
# The physical identifier of the resource.
|
2729
|
+
# @return [Types::PhysicalResourceId]
|
2730
|
+
#
|
2731
|
+
# @!attribute [rw] resource_name
|
2732
|
+
# The name of the resource.
|
2733
|
+
# @return [String]
|
2734
|
+
#
|
2735
|
+
# @!attribute [rw] resource_type
|
2736
|
+
# The type of resource.
|
2737
|
+
# @return [String]
|
2738
|
+
#
|
2739
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PhysicalResource AWS API Documentation
|
2740
|
+
#
|
2741
|
+
class PhysicalResource < Struct.new(
|
2742
|
+
:app_components,
|
2743
|
+
:logical_resource_id,
|
2744
|
+
:physical_resource_id,
|
2745
|
+
:resource_name,
|
2746
|
+
:resource_type)
|
2747
|
+
SENSITIVE = []
|
2748
|
+
include Aws::Structure
|
2749
|
+
end
|
2750
|
+
|
2751
|
+
# Defines a physical resource identifier.
|
2752
|
+
#
|
2753
|
+
# @note When making an API call, you may pass PhysicalResourceId
|
2754
|
+
# data as a hash:
|
2755
|
+
#
|
2756
|
+
# {
|
2757
|
+
# aws_account_id: "CustomerId",
|
2758
|
+
# aws_region: "AwsRegion",
|
2759
|
+
# identifier: "String255", # required
|
2760
|
+
# type: "Arn", # required, accepts Arn, Native
|
2761
|
+
# }
|
2762
|
+
#
|
2763
|
+
# @!attribute [rw] aws_account_id
|
2764
|
+
# The Amazon Web Services account that owns the physical resource.
|
2765
|
+
# @return [String]
|
2766
|
+
#
|
2767
|
+
# @!attribute [rw] aws_region
|
2768
|
+
# The Amazon Web Services Region that the physical resource is located
|
2769
|
+
# in.
|
2770
|
+
# @return [String]
|
2771
|
+
#
|
2772
|
+
# @!attribute [rw] identifier
|
2773
|
+
# The identifier of the physical resource.
|
2774
|
+
# @return [String]
|
2775
|
+
#
|
2776
|
+
# @!attribute [rw] type
|
2777
|
+
# Specifies the type of physical resource identifier.
|
2778
|
+
#
|
2779
|
+
# Arn
|
2780
|
+
#
|
2781
|
+
# : The resource identifier is an Amazon Resource Name (ARN) .
|
2782
|
+
#
|
2783
|
+
# Native
|
2784
|
+
#
|
2785
|
+
# : The resource identifier is a Resilience Hub-native identifier.
|
2786
|
+
# @return [String]
|
2787
|
+
#
|
2788
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PhysicalResourceId AWS API Documentation
|
2789
|
+
#
|
2790
|
+
class PhysicalResourceId < Struct.new(
|
2791
|
+
:aws_account_id,
|
2792
|
+
:aws_region,
|
2793
|
+
:identifier,
|
2794
|
+
:type)
|
2795
|
+
SENSITIVE = []
|
2796
|
+
include Aws::Structure
|
2797
|
+
end
|
2798
|
+
|
2799
|
+
# @note When making an API call, you may pass PublishAppVersionRequest
|
2800
|
+
# data as a hash:
|
2801
|
+
#
|
2802
|
+
# {
|
2803
|
+
# app_arn: "Arn", # required
|
2804
|
+
# }
|
2805
|
+
#
|
2806
|
+
# @!attribute [rw] app_arn
|
2807
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
2808
|
+
# this ARN is:
|
2809
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
2810
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2811
|
+
# the *AWS General Reference*.
|
2812
|
+
#
|
2813
|
+
#
|
2814
|
+
#
|
2815
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2816
|
+
# @return [String]
|
2817
|
+
#
|
2818
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersionRequest AWS API Documentation
|
2819
|
+
#
|
2820
|
+
class PublishAppVersionRequest < Struct.new(
|
2821
|
+
:app_arn)
|
2822
|
+
SENSITIVE = []
|
2823
|
+
include Aws::Structure
|
2824
|
+
end
|
2825
|
+
|
2826
|
+
# @!attribute [rw] app_arn
|
2827
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
2828
|
+
# this ARN is:
|
2829
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
2830
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2831
|
+
# the *AWS General Reference*.
|
2832
|
+
#
|
2833
|
+
#
|
2834
|
+
#
|
2835
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2836
|
+
# @return [String]
|
2837
|
+
#
|
2838
|
+
# @!attribute [rw] app_version
|
2839
|
+
# The version of the application.
|
2840
|
+
# @return [String]
|
2841
|
+
#
|
2842
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersionResponse AWS API Documentation
|
2843
|
+
#
|
2844
|
+
class PublishAppVersionResponse < Struct.new(
|
2845
|
+
:app_arn,
|
2846
|
+
:app_version)
|
2847
|
+
SENSITIVE = []
|
2848
|
+
include Aws::Structure
|
2849
|
+
end
|
2850
|
+
|
2851
|
+
# @note When making an API call, you may pass PutDraftAppVersionTemplateRequest
|
2852
|
+
# data as a hash:
|
2853
|
+
#
|
2854
|
+
# {
|
2855
|
+
# app_arn: "Arn", # required
|
2856
|
+
# app_template_body: "AppTemplateBody", # required
|
2857
|
+
# }
|
2858
|
+
#
|
2859
|
+
# @!attribute [rw] app_arn
|
2860
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
2861
|
+
# this ARN is:
|
2862
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
2863
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2864
|
+
# the *AWS General Reference*.
|
2865
|
+
#
|
2866
|
+
#
|
2867
|
+
#
|
2868
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2869
|
+
# @return [String]
|
2870
|
+
#
|
2871
|
+
# @!attribute [rw] app_template_body
|
2872
|
+
# A JSON string that contains the body of the app template.
|
2873
|
+
# @return [String]
|
2874
|
+
#
|
2875
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PutDraftAppVersionTemplateRequest AWS API Documentation
|
2876
|
+
#
|
2877
|
+
class PutDraftAppVersionTemplateRequest < Struct.new(
|
2878
|
+
:app_arn,
|
2879
|
+
:app_template_body)
|
2880
|
+
SENSITIVE = []
|
2881
|
+
include Aws::Structure
|
2882
|
+
end
|
2883
|
+
|
2884
|
+
# @!attribute [rw] app_arn
|
2885
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
2886
|
+
# this ARN is:
|
2887
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
2888
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2889
|
+
# the *AWS General Reference*.
|
2890
|
+
#
|
2891
|
+
#
|
2892
|
+
#
|
2893
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2894
|
+
# @return [String]
|
2895
|
+
#
|
2896
|
+
# @!attribute [rw] app_version
|
2897
|
+
# The version of the application.
|
2898
|
+
# @return [String]
|
2899
|
+
#
|
2900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PutDraftAppVersionTemplateResponse AWS API Documentation
|
2901
|
+
#
|
2902
|
+
class PutDraftAppVersionTemplateResponse < Struct.new(
|
2903
|
+
:app_arn,
|
2904
|
+
:app_version)
|
2905
|
+
SENSITIVE = []
|
2906
|
+
include Aws::Structure
|
2907
|
+
end
|
2908
|
+
|
2909
|
+
# Defines a disruption compliance recommendation.
|
2910
|
+
#
|
2911
|
+
# @!attribute [rw] expected_compliance_status
|
2912
|
+
# The expected compliance status after applying the recommended
|
2913
|
+
# configuration change.
|
2914
|
+
# @return [String]
|
2915
|
+
#
|
2916
|
+
# @!attribute [rw] expected_rpo_description
|
2917
|
+
# The expected Recovery Point Objective (RPO) description after
|
2918
|
+
# applying the recommended configuration change.
|
2919
|
+
# @return [String]
|
2920
|
+
#
|
2921
|
+
# @!attribute [rw] expected_rpo_in_secs
|
2922
|
+
# The expected RPO after applying the recommended configuration
|
2923
|
+
# change.
|
2924
|
+
# @return [Integer]
|
2925
|
+
#
|
2926
|
+
# @!attribute [rw] expected_rto_description
|
2927
|
+
# The expected Recovery Time Objective (RTO) description after
|
2928
|
+
# applying the recommended configuration change.
|
2929
|
+
# @return [String]
|
2930
|
+
#
|
2931
|
+
# @!attribute [rw] expected_rto_in_secs
|
2932
|
+
# The expected RTO after applying the recommended configuration
|
2933
|
+
# change.
|
2934
|
+
# @return [Integer]
|
2935
|
+
#
|
2936
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RecommendationDisruptionCompliance AWS API Documentation
|
2937
|
+
#
|
2938
|
+
class RecommendationDisruptionCompliance < Struct.new(
|
2939
|
+
:expected_compliance_status,
|
2940
|
+
:expected_rpo_description,
|
2941
|
+
:expected_rpo_in_secs,
|
2942
|
+
:expected_rto_description,
|
2943
|
+
:expected_rto_in_secs)
|
2944
|
+
SENSITIVE = []
|
2945
|
+
include Aws::Structure
|
2946
|
+
end
|
2947
|
+
|
2948
|
+
# Defines a recommendation.
|
2949
|
+
#
|
2950
|
+
# @!attribute [rw] already_implemented
|
2951
|
+
# Specifies if the recommendation has already been implemented.
|
2952
|
+
# @return [Boolean]
|
2953
|
+
#
|
2954
|
+
# @!attribute [rw] resource_id
|
2955
|
+
# The resource identifier.
|
2956
|
+
# @return [String]
|
2957
|
+
#
|
2958
|
+
# @!attribute [rw] target_account_id
|
2959
|
+
# The target account identifier.
|
2960
|
+
# @return [String]
|
2961
|
+
#
|
2962
|
+
# @!attribute [rw] target_region
|
2963
|
+
# The target region.
|
2964
|
+
# @return [String]
|
2965
|
+
#
|
2966
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RecommendationItem AWS API Documentation
|
2967
|
+
#
|
2968
|
+
class RecommendationItem < Struct.new(
|
2969
|
+
:already_implemented,
|
2970
|
+
:resource_id,
|
2971
|
+
:target_account_id,
|
2972
|
+
:target_region)
|
2973
|
+
SENSITIVE = []
|
2974
|
+
include Aws::Structure
|
2975
|
+
end
|
2976
|
+
|
2977
|
+
# Defines a recommendation template created with the
|
2978
|
+
# CreateRecommendationTemplate action.
|
2979
|
+
#
|
2980
|
+
# @!attribute [rw] app_arn
|
2981
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
2982
|
+
# this ARN is:
|
2983
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
2984
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2985
|
+
# the *AWS General Reference*.
|
2986
|
+
#
|
2987
|
+
#
|
2988
|
+
#
|
2989
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2990
|
+
# @return [String]
|
2991
|
+
#
|
2992
|
+
# @!attribute [rw] assessment_arn
|
2993
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2994
|
+
# this ARN is:
|
2995
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app-assessment/`app-id`.
|
2996
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
2997
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
2998
|
+
#
|
2999
|
+
#
|
3000
|
+
#
|
3001
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3002
|
+
# @return [String]
|
3003
|
+
#
|
3004
|
+
# @!attribute [rw] end_time
|
3005
|
+
# The end time for the action.
|
3006
|
+
# @return [Time]
|
3007
|
+
#
|
3008
|
+
# @!attribute [rw] format
|
3009
|
+
# The format of the recommendation template.
|
3010
|
+
#
|
3011
|
+
# CfnJson
|
3012
|
+
#
|
3013
|
+
# : The template is CloudFormation JSON.
|
3014
|
+
#
|
3015
|
+
# CfnYaml
|
3016
|
+
#
|
3017
|
+
# : The template is CloudFormation YAML.
|
3018
|
+
# @return [String]
|
3019
|
+
#
|
3020
|
+
# @!attribute [rw] message
|
3021
|
+
# The message for the recommendation template.
|
3022
|
+
# @return [String]
|
3023
|
+
#
|
3024
|
+
# @!attribute [rw] name
|
3025
|
+
# The name for the recommendation template.
|
3026
|
+
# @return [String]
|
3027
|
+
#
|
3028
|
+
# @!attribute [rw] needs_replacements
|
3029
|
+
# Indicates if replacements are needed.
|
3030
|
+
# @return [Boolean]
|
3031
|
+
#
|
3032
|
+
# @!attribute [rw] recommendation_ids
|
3033
|
+
# Identifiers for the recommendations used in the recommendation
|
3034
|
+
# template.
|
3035
|
+
# @return [Array<String>]
|
3036
|
+
#
|
3037
|
+
# @!attribute [rw] recommendation_template_arn
|
3038
|
+
# The Amazon Resource Name (ARN) for the recommendation template.
|
3039
|
+
# @return [String]
|
3040
|
+
#
|
3041
|
+
# @!attribute [rw] recommendation_types
|
3042
|
+
# An array of strings that specify the recommendation template type or
|
3043
|
+
# types.
|
3044
|
+
#
|
3045
|
+
# Alarm
|
3046
|
+
#
|
3047
|
+
# : The template is an AlarmRecommendation template.
|
3048
|
+
#
|
3049
|
+
# Sop
|
3050
|
+
#
|
3051
|
+
# : The template is a SopRecommendation template.
|
3052
|
+
#
|
3053
|
+
# Test
|
3054
|
+
#
|
3055
|
+
# : The template is a TestRecommendation template.
|
3056
|
+
# @return [Array<String>]
|
3057
|
+
#
|
3058
|
+
# @!attribute [rw] start_time
|
3059
|
+
# The start time for the action.
|
3060
|
+
# @return [Time]
|
3061
|
+
#
|
3062
|
+
# @!attribute [rw] status
|
3063
|
+
# The status of the action.
|
3064
|
+
# @return [String]
|
3065
|
+
#
|
3066
|
+
# @!attribute [rw] tags
|
3067
|
+
# The tags assigned to the resource. A tag is a label that you assign
|
3068
|
+
# to an Amazon Web Services resource. Each tag consists of a key/value
|
3069
|
+
# pair.
|
3070
|
+
# @return [Hash<String,String>]
|
3071
|
+
#
|
3072
|
+
# @!attribute [rw] templates_location
|
3073
|
+
# The file location of the template.
|
3074
|
+
# @return [Types::S3Location]
|
3075
|
+
#
|
3076
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RecommendationTemplate AWS API Documentation
|
3077
|
+
#
|
3078
|
+
class RecommendationTemplate < Struct.new(
|
3079
|
+
:app_arn,
|
3080
|
+
:assessment_arn,
|
3081
|
+
:end_time,
|
3082
|
+
:format,
|
3083
|
+
:message,
|
3084
|
+
:name,
|
3085
|
+
:needs_replacements,
|
3086
|
+
:recommendation_ids,
|
3087
|
+
:recommendation_template_arn,
|
3088
|
+
:recommendation_types,
|
3089
|
+
:start_time,
|
3090
|
+
:status,
|
3091
|
+
:tags,
|
3092
|
+
:templates_location)
|
3093
|
+
SENSITIVE = [:tags]
|
3094
|
+
include Aws::Structure
|
3095
|
+
end
|
3096
|
+
|
3097
|
+
# @note When making an API call, you may pass RemoveDraftAppVersionResourceMappingsRequest
|
3098
|
+
# data as a hash:
|
3099
|
+
#
|
3100
|
+
# {
|
3101
|
+
# app_arn: "Arn", # required
|
3102
|
+
# app_registry_app_names: ["EntityName"],
|
3103
|
+
# logical_stack_names: ["String255"],
|
3104
|
+
# resource_group_names: ["EntityName"],
|
3105
|
+
# resource_names: ["EntityName"],
|
3106
|
+
# }
|
3107
|
+
#
|
3108
|
+
# @!attribute [rw] app_arn
|
3109
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
3110
|
+
# this ARN is:
|
3111
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
3112
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3113
|
+
# the *AWS General Reference*.
|
3114
|
+
#
|
3115
|
+
#
|
3116
|
+
#
|
3117
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3118
|
+
# @return [String]
|
3119
|
+
#
|
3120
|
+
# @!attribute [rw] app_registry_app_names
|
3121
|
+
# The names of the registered applications to remove from the resource
|
3122
|
+
# mappings.
|
3123
|
+
# @return [Array<String>]
|
3124
|
+
#
|
3125
|
+
# @!attribute [rw] logical_stack_names
|
3126
|
+
# The names of the CloudFormation stacks to remove from the resource
|
3127
|
+
# mappings.
|
3128
|
+
# @return [Array<String>]
|
3129
|
+
#
|
3130
|
+
# @!attribute [rw] resource_group_names
|
3131
|
+
# The names of the resource groups to remove from the resource
|
3132
|
+
# mappings.
|
3133
|
+
# @return [Array<String>]
|
3134
|
+
#
|
3135
|
+
# @!attribute [rw] resource_names
|
3136
|
+
# The names of the resources to remove from the resource mappings.
|
3137
|
+
# @return [Array<String>]
|
3138
|
+
#
|
3139
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappingsRequest AWS API Documentation
|
3140
|
+
#
|
3141
|
+
class RemoveDraftAppVersionResourceMappingsRequest < Struct.new(
|
3142
|
+
:app_arn,
|
3143
|
+
:app_registry_app_names,
|
3144
|
+
:logical_stack_names,
|
3145
|
+
:resource_group_names,
|
3146
|
+
:resource_names)
|
3147
|
+
SENSITIVE = []
|
3148
|
+
include Aws::Structure
|
3149
|
+
end
|
3150
|
+
|
3151
|
+
# @!attribute [rw] app_arn
|
3152
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
3153
|
+
# this ARN is:
|
3154
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
3155
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3156
|
+
# the *AWS General Reference*.
|
3157
|
+
#
|
3158
|
+
#
|
3159
|
+
#
|
3160
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3161
|
+
# @return [String]
|
3162
|
+
#
|
3163
|
+
# @!attribute [rw] app_version
|
3164
|
+
# The version of the application.
|
3165
|
+
# @return [String]
|
3166
|
+
#
|
3167
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappingsResponse AWS API Documentation
|
3168
|
+
#
|
3169
|
+
class RemoveDraftAppVersionResourceMappingsResponse < Struct.new(
|
3170
|
+
:app_arn,
|
3171
|
+
:app_version)
|
3172
|
+
SENSITIVE = []
|
3173
|
+
include Aws::Structure
|
3174
|
+
end
|
3175
|
+
|
3176
|
+
# Defines a resiliency policy.
|
3177
|
+
#
|
3178
|
+
# @!attribute [rw] creation_time
|
3179
|
+
# The timestamp for when the resiliency policy was created.
|
3180
|
+
# @return [Time]
|
3181
|
+
#
|
3182
|
+
# @!attribute [rw] data_location_constraint
|
3183
|
+
# Specifies a high-level geographical location constraint for where
|
3184
|
+
# your resilience policy data can be stored.
|
3185
|
+
# @return [String]
|
3186
|
+
#
|
3187
|
+
# @!attribute [rw] estimated_cost_tier
|
3188
|
+
# Specifies the estimated cost tier of the resiliency policy.
|
3189
|
+
# @return [String]
|
3190
|
+
#
|
3191
|
+
# @!attribute [rw] policy
|
3192
|
+
# The resiliency policy.
|
3193
|
+
# @return [Hash<String,Types::FailurePolicy>]
|
3194
|
+
#
|
3195
|
+
# @!attribute [rw] policy_arn
|
3196
|
+
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
3197
|
+
# for this ARN is:
|
3198
|
+
# arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
|
3199
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
3200
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
3201
|
+
#
|
3202
|
+
#
|
3203
|
+
#
|
3204
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3205
|
+
# @return [String]
|
3206
|
+
#
|
3207
|
+
# @!attribute [rw] policy_description
|
3208
|
+
# The description for the policy.
|
3209
|
+
# @return [String]
|
3210
|
+
#
|
3211
|
+
# @!attribute [rw] policy_name
|
3212
|
+
# The name of the policy
|
3213
|
+
# @return [String]
|
3214
|
+
#
|
3215
|
+
# @!attribute [rw] tags
|
3216
|
+
# The tags assigned to the resource. A tag is a label that you assign
|
3217
|
+
# to an Amazon Web Services resource. Each tag consists of a key/value
|
3218
|
+
# pair.
|
3219
|
+
# @return [Hash<String,String>]
|
3220
|
+
#
|
3221
|
+
# @!attribute [rw] tier
|
3222
|
+
# The tier for this resiliency policy, ranging from the highest
|
3223
|
+
# severity (`MissionCritical`) to lowest (`NonCritical`).
|
3224
|
+
# @return [String]
|
3225
|
+
#
|
3226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResiliencyPolicy AWS API Documentation
|
3227
|
+
#
|
3228
|
+
class ResiliencyPolicy < Struct.new(
|
3229
|
+
:creation_time,
|
3230
|
+
:data_location_constraint,
|
3231
|
+
:estimated_cost_tier,
|
3232
|
+
:policy,
|
3233
|
+
:policy_arn,
|
3234
|
+
:policy_description,
|
3235
|
+
:policy_name,
|
3236
|
+
:tags,
|
3237
|
+
:tier)
|
3238
|
+
SENSITIVE = [:tags]
|
3239
|
+
include Aws::Structure
|
3240
|
+
end
|
3241
|
+
|
3242
|
+
# The overall resiliency score, returned as an object that includes the
|
3243
|
+
# disruption score and outage score.
|
3244
|
+
#
|
3245
|
+
# @!attribute [rw] disruption_score
|
3246
|
+
# The disruption score for a valid key.
|
3247
|
+
# @return [Hash<String,Float>]
|
3248
|
+
#
|
3249
|
+
# @!attribute [rw] score
|
3250
|
+
# The outage score for a valid key.
|
3251
|
+
# @return [Float]
|
3252
|
+
#
|
3253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResiliencyScore AWS API Documentation
|
3254
|
+
#
|
3255
|
+
class ResiliencyScore < Struct.new(
|
3256
|
+
:disruption_score,
|
3257
|
+
:score)
|
3258
|
+
SENSITIVE = []
|
3259
|
+
include Aws::Structure
|
3260
|
+
end
|
3261
|
+
|
3262
|
+
# @note When making an API call, you may pass ResolveAppVersionResourcesRequest
|
3263
|
+
# data as a hash:
|
3264
|
+
#
|
3265
|
+
# {
|
3266
|
+
# app_arn: "Arn", # required
|
3267
|
+
# app_version: "EntityVersion", # required
|
3268
|
+
# }
|
3269
|
+
#
|
3270
|
+
# @!attribute [rw] app_arn
|
3271
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
3272
|
+
# this ARN is:
|
3273
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
3274
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3275
|
+
# the *AWS General Reference*.
|
3276
|
+
#
|
3277
|
+
#
|
3278
|
+
#
|
3279
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3280
|
+
# @return [String]
|
3281
|
+
#
|
3282
|
+
# @!attribute [rw] app_version
|
3283
|
+
# The version of the application.
|
3284
|
+
# @return [String]
|
3285
|
+
#
|
3286
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResolveAppVersionResourcesRequest AWS API Documentation
|
3287
|
+
#
|
3288
|
+
class ResolveAppVersionResourcesRequest < Struct.new(
|
3289
|
+
:app_arn,
|
3290
|
+
:app_version)
|
3291
|
+
SENSITIVE = []
|
3292
|
+
include Aws::Structure
|
3293
|
+
end
|
3294
|
+
|
3295
|
+
# @!attribute [rw] app_arn
|
3296
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
3297
|
+
# this ARN is:
|
3298
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
3299
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3300
|
+
# the *AWS General Reference*.
|
3301
|
+
#
|
3302
|
+
#
|
3303
|
+
#
|
3304
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3305
|
+
# @return [String]
|
3306
|
+
#
|
3307
|
+
# @!attribute [rw] app_version
|
3308
|
+
# The version of the application.
|
3309
|
+
# @return [String]
|
3310
|
+
#
|
3311
|
+
# @!attribute [rw] resolution_id
|
3312
|
+
# The identifier for a specific resolution.
|
3313
|
+
# @return [String]
|
3314
|
+
#
|
3315
|
+
# @!attribute [rw] status
|
3316
|
+
# The status of the action.
|
3317
|
+
# @return [String]
|
3318
|
+
#
|
3319
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResolveAppVersionResourcesResponse AWS API Documentation
|
3320
|
+
#
|
3321
|
+
class ResolveAppVersionResourcesResponse < Struct.new(
|
3322
|
+
:app_arn,
|
3323
|
+
:app_version,
|
3324
|
+
:resolution_id,
|
3325
|
+
:status)
|
3326
|
+
SENSITIVE = []
|
3327
|
+
include Aws::Structure
|
3328
|
+
end
|
3329
|
+
|
3330
|
+
# Defines a resource mapping.
|
3331
|
+
#
|
3332
|
+
# @note When making an API call, you may pass ResourceMapping
|
3333
|
+
# data as a hash:
|
3334
|
+
#
|
3335
|
+
# {
|
3336
|
+
# app_registry_app_name: "EntityName",
|
3337
|
+
# logical_stack_name: "String255",
|
3338
|
+
# mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup
|
3339
|
+
# physical_resource_id: { # required
|
3340
|
+
# aws_account_id: "CustomerId",
|
3341
|
+
# aws_region: "AwsRegion",
|
3342
|
+
# identifier: "String255", # required
|
3343
|
+
# type: "Arn", # required, accepts Arn, Native
|
3344
|
+
# },
|
3345
|
+
# resource_group_name: "EntityName",
|
3346
|
+
# resource_name: "EntityName",
|
3347
|
+
# }
|
3348
|
+
#
|
3349
|
+
# @!attribute [rw] app_registry_app_name
|
3350
|
+
# The name of the application this resource is mapped to.
|
3351
|
+
# @return [String]
|
3352
|
+
#
|
3353
|
+
# @!attribute [rw] logical_stack_name
|
3354
|
+
# The name of the CloudFormation stack this resource is mapped to.
|
3355
|
+
# @return [String]
|
3356
|
+
#
|
3357
|
+
# @!attribute [rw] mapping_type
|
3358
|
+
# Specifies the type of resource mapping.
|
3359
|
+
#
|
3360
|
+
# AppRegistryApp
|
3361
|
+
#
|
3362
|
+
# : The resource is mapped to another application. The name of the
|
3363
|
+
# application is contained in the `appRegistryAppName` property.
|
3364
|
+
#
|
3365
|
+
# CfnStack
|
3366
|
+
#
|
3367
|
+
# : The resource is mapped to a CloudFormation stack. The name of the
|
3368
|
+
# CloudFormation stack is contained in the `logicalStackName`
|
3369
|
+
# property.
|
3370
|
+
#
|
3371
|
+
# Resource
|
3372
|
+
#
|
3373
|
+
# : The resource is mapped to another resource. The name of the
|
3374
|
+
# resource is contained in the `resourceName` property.
|
3375
|
+
#
|
3376
|
+
# ResourceGroup
|
3377
|
+
#
|
3378
|
+
# : The resource is mapped to a resource group. The name of the
|
3379
|
+
# resource group is contained in the `resourceGroupName` property.
|
3380
|
+
# @return [String]
|
3381
|
+
#
|
3382
|
+
# @!attribute [rw] physical_resource_id
|
3383
|
+
# The identifier of this resource.
|
3384
|
+
# @return [Types::PhysicalResourceId]
|
3385
|
+
#
|
3386
|
+
# @!attribute [rw] resource_group_name
|
3387
|
+
# The name of the resource group this resource is mapped to.
|
3388
|
+
# @return [String]
|
3389
|
+
#
|
3390
|
+
# @!attribute [rw] resource_name
|
3391
|
+
# The name of the resource this resource is mapped to.
|
3392
|
+
# @return [String]
|
3393
|
+
#
|
3394
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResourceMapping AWS API Documentation
|
3395
|
+
#
|
3396
|
+
class ResourceMapping < Struct.new(
|
3397
|
+
:app_registry_app_name,
|
3398
|
+
:logical_stack_name,
|
3399
|
+
:mapping_type,
|
3400
|
+
:physical_resource_id,
|
3401
|
+
:resource_group_name,
|
3402
|
+
:resource_name)
|
3403
|
+
SENSITIVE = []
|
3404
|
+
include Aws::Structure
|
3405
|
+
end
|
3406
|
+
|
3407
|
+
# The specified resource could not be found.
|
3408
|
+
#
|
3409
|
+
# @!attribute [rw] message
|
3410
|
+
# @return [String]
|
3411
|
+
#
|
3412
|
+
# @!attribute [rw] resource_id
|
3413
|
+
# The identifier of the resource that the exception applies to.
|
3414
|
+
# @return [String]
|
3415
|
+
#
|
3416
|
+
# @!attribute [rw] resource_type
|
3417
|
+
# The type of the resource that the exception applies to.
|
3418
|
+
# @return [String]
|
3419
|
+
#
|
3420
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ResourceNotFoundException AWS API Documentation
|
3421
|
+
#
|
3422
|
+
class ResourceNotFoundException < Struct.new(
|
3423
|
+
:message,
|
3424
|
+
:resource_id,
|
3425
|
+
:resource_type)
|
3426
|
+
SENSITIVE = []
|
3427
|
+
include Aws::Structure
|
3428
|
+
end
|
3429
|
+
|
3430
|
+
# The location of the Amazon S3 bucket.
|
3431
|
+
#
|
3432
|
+
# @!attribute [rw] bucket
|
3433
|
+
# The name of the Amazon S3 bucket.
|
3434
|
+
# @return [String]
|
3435
|
+
#
|
3436
|
+
# @!attribute [rw] prefix
|
3437
|
+
# The prefix for the Amazon S3 bucket.
|
3438
|
+
# @return [String]
|
3439
|
+
#
|
3440
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/S3Location AWS API Documentation
|
3441
|
+
#
|
3442
|
+
class S3Location < Struct.new(
|
3443
|
+
:bucket,
|
3444
|
+
:prefix)
|
3445
|
+
SENSITIVE = []
|
3446
|
+
include Aws::Structure
|
3447
|
+
end
|
3448
|
+
|
3449
|
+
# You have exceeded your service quota. To perform the requested action,
|
3450
|
+
# remove some of the relevant resources, or use Service Quotas to
|
3451
|
+
# request a service quota increase.
|
3452
|
+
#
|
3453
|
+
# @!attribute [rw] message
|
3454
|
+
# @return [String]
|
3455
|
+
#
|
3456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ServiceQuotaExceededException AWS API Documentation
|
3457
|
+
#
|
3458
|
+
class ServiceQuotaExceededException < Struct.new(
|
3459
|
+
:message)
|
3460
|
+
SENSITIVE = []
|
3461
|
+
include Aws::Structure
|
3462
|
+
end
|
3463
|
+
|
3464
|
+
# Defines a standard operating procedure (SOP) recommendation.
|
3465
|
+
#
|
3466
|
+
# @!attribute [rw] app_component_name
|
3467
|
+
# The application component name.
|
3468
|
+
# @return [String]
|
3469
|
+
#
|
3470
|
+
# @!attribute [rw] description
|
3471
|
+
# The description of the SOP recommendation.
|
3472
|
+
# @return [String]
|
3473
|
+
#
|
3474
|
+
# @!attribute [rw] items
|
3475
|
+
# The recommendation items.
|
3476
|
+
# @return [Array<Types::RecommendationItem>]
|
3477
|
+
#
|
3478
|
+
# @!attribute [rw] name
|
3479
|
+
# The name of the SOP recommendation.
|
3480
|
+
# @return [String]
|
3481
|
+
#
|
3482
|
+
# @!attribute [rw] prerequisite
|
3483
|
+
# The prerequisite for the SOP recommendation.
|
3484
|
+
# @return [String]
|
3485
|
+
#
|
3486
|
+
# @!attribute [rw] recommendation_id
|
3487
|
+
# Identifier for the SOP recommendation.
|
3488
|
+
# @return [String]
|
3489
|
+
#
|
3490
|
+
# @!attribute [rw] reference_id
|
3491
|
+
# The reference identifier for the SOP recommendation.
|
3492
|
+
# @return [String]
|
3493
|
+
#
|
3494
|
+
# @!attribute [rw] service_type
|
3495
|
+
# The service type.
|
3496
|
+
# @return [String]
|
3497
|
+
#
|
3498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/SopRecommendation AWS API Documentation
|
3499
|
+
#
|
3500
|
+
class SopRecommendation < Struct.new(
|
3501
|
+
:app_component_name,
|
3502
|
+
:description,
|
3503
|
+
:items,
|
3504
|
+
:name,
|
3505
|
+
:prerequisite,
|
3506
|
+
:recommendation_id,
|
3507
|
+
:reference_id,
|
3508
|
+
:service_type)
|
3509
|
+
SENSITIVE = []
|
3510
|
+
include Aws::Structure
|
3511
|
+
end
|
3512
|
+
|
3513
|
+
# @note When making an API call, you may pass StartAppAssessmentRequest
|
3514
|
+
# data as a hash:
|
3515
|
+
#
|
3516
|
+
# {
|
3517
|
+
# app_arn: "Arn", # required
|
3518
|
+
# app_version: "EntityVersion", # required
|
3519
|
+
# assessment_name: "EntityName", # required
|
3520
|
+
# client_token: "ClientToken",
|
3521
|
+
# tags: {
|
3522
|
+
# "TagKey" => "TagValue",
|
3523
|
+
# },
|
3524
|
+
# }
|
3525
|
+
#
|
3526
|
+
# @!attribute [rw] app_arn
|
3527
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
3528
|
+
# this ARN is:
|
3529
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
3530
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3531
|
+
# the *AWS General Reference*.
|
3532
|
+
#
|
3533
|
+
#
|
3534
|
+
#
|
3535
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3536
|
+
# @return [String]
|
3537
|
+
#
|
3538
|
+
# @!attribute [rw] app_version
|
3539
|
+
# The version of the application.
|
3540
|
+
# @return [String]
|
3541
|
+
#
|
3542
|
+
# @!attribute [rw] assessment_name
|
3543
|
+
# The name for the assessment.
|
3544
|
+
# @return [String]
|
3545
|
+
#
|
3546
|
+
# @!attribute [rw] client_token
|
3547
|
+
# Used for an idempotency token. A client token is a unique,
|
3548
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
3549
|
+
# reuse the same client token for other API requests.
|
3550
|
+
#
|
3551
|
+
# **A suitable default value is auto-generated.** You should normally
|
3552
|
+
# not need to pass this option.
|
3553
|
+
# @return [String]
|
3554
|
+
#
|
3555
|
+
# @!attribute [rw] tags
|
3556
|
+
# The tags assigned to the resource. A tag is a label that you assign
|
3557
|
+
# to an Amazon Web Services resource. Each tag consists of a key/value
|
3558
|
+
# pair.
|
3559
|
+
# @return [Hash<String,String>]
|
3560
|
+
#
|
3561
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartAppAssessmentRequest AWS API Documentation
|
3562
|
+
#
|
3563
|
+
class StartAppAssessmentRequest < Struct.new(
|
3564
|
+
:app_arn,
|
3565
|
+
:app_version,
|
3566
|
+
:assessment_name,
|
3567
|
+
:client_token,
|
3568
|
+
:tags)
|
3569
|
+
SENSITIVE = [:tags]
|
3570
|
+
include Aws::Structure
|
3571
|
+
end
|
3572
|
+
|
3573
|
+
# @!attribute [rw] assessment
|
3574
|
+
# The assessment created.
|
3575
|
+
# @return [Types::AppAssessment]
|
3576
|
+
#
|
3577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartAppAssessmentResponse AWS API Documentation
|
3578
|
+
#
|
3579
|
+
class StartAppAssessmentResponse < Struct.new(
|
3580
|
+
:assessment)
|
3581
|
+
SENSITIVE = []
|
3582
|
+
include Aws::Structure
|
3583
|
+
end
|
3584
|
+
|
3585
|
+
# @note When making an API call, you may pass TagResourceRequest
|
3586
|
+
# data as a hash:
|
3587
|
+
#
|
3588
|
+
# {
|
3589
|
+
# resource_arn: "Arn", # required
|
3590
|
+
# tags: { # required
|
3591
|
+
# "TagKey" => "TagValue",
|
3592
|
+
# },
|
3593
|
+
# }
|
3594
|
+
#
|
3595
|
+
# @!attribute [rw] resource_arn
|
3596
|
+
# The Amazon Resource Name (ARN) of the resource.
|
3597
|
+
# @return [String]
|
3598
|
+
#
|
3599
|
+
# @!attribute [rw] tags
|
3600
|
+
# The tags to assign to the resource. Each tag consists of a key/value
|
3601
|
+
# pair.
|
3602
|
+
# @return [Hash<String,String>]
|
3603
|
+
#
|
3604
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TagResourceRequest AWS API Documentation
|
3605
|
+
#
|
3606
|
+
class TagResourceRequest < Struct.new(
|
3607
|
+
:resource_arn,
|
3608
|
+
:tags)
|
3609
|
+
SENSITIVE = [:tags]
|
3610
|
+
include Aws::Structure
|
3611
|
+
end
|
3612
|
+
|
3613
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TagResourceResponse AWS API Documentation
|
3614
|
+
#
|
3615
|
+
class TagResourceResponse < Aws::EmptyStructure; end
|
3616
|
+
|
3617
|
+
# Defines a test recommendation.
|
3618
|
+
#
|
3619
|
+
# @!attribute [rw] app_component_name
|
3620
|
+
# The name of the application component.
|
3621
|
+
# @return [String]
|
3622
|
+
#
|
3623
|
+
# @!attribute [rw] description
|
3624
|
+
# The description for the test recommendation.
|
3625
|
+
# @return [String]
|
3626
|
+
#
|
3627
|
+
# @!attribute [rw] intent
|
3628
|
+
# The intent of the test recommendation.
|
3629
|
+
# @return [String]
|
3630
|
+
#
|
3631
|
+
# @!attribute [rw] items
|
3632
|
+
# The test recommendation items.
|
3633
|
+
# @return [Array<Types::RecommendationItem>]
|
3634
|
+
#
|
3635
|
+
# @!attribute [rw] name
|
3636
|
+
# The name of the test recommendation.
|
3637
|
+
# @return [String]
|
3638
|
+
#
|
3639
|
+
# @!attribute [rw] prerequisite
|
3640
|
+
# The prerequisite of the test recommendation.
|
3641
|
+
# @return [String]
|
3642
|
+
#
|
3643
|
+
# @!attribute [rw] recommendation_id
|
3644
|
+
# Identifier for the test recommendation.
|
3645
|
+
# @return [String]
|
3646
|
+
#
|
3647
|
+
# @!attribute [rw] reference_id
|
3648
|
+
# The reference identifier for the test recommendation.
|
3649
|
+
# @return [String]
|
3650
|
+
#
|
3651
|
+
# @!attribute [rw] risk
|
3652
|
+
# The level of risk for this test recommendation.
|
3653
|
+
# @return [String]
|
3654
|
+
#
|
3655
|
+
# @!attribute [rw] type
|
3656
|
+
# The type of test recommendation.
|
3657
|
+
# @return [String]
|
3658
|
+
#
|
3659
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TestRecommendation AWS API Documentation
|
3660
|
+
#
|
3661
|
+
class TestRecommendation < Struct.new(
|
3662
|
+
:app_component_name,
|
3663
|
+
:description,
|
3664
|
+
:intent,
|
3665
|
+
:items,
|
3666
|
+
:name,
|
3667
|
+
:prerequisite,
|
3668
|
+
:recommendation_id,
|
3669
|
+
:reference_id,
|
3670
|
+
:risk,
|
3671
|
+
:type)
|
3672
|
+
SENSITIVE = []
|
3673
|
+
include Aws::Structure
|
3674
|
+
end
|
3675
|
+
|
3676
|
+
# The limit on the number of requests per second was exceeded.
|
3677
|
+
#
|
3678
|
+
# @!attribute [rw] message
|
3679
|
+
# @return [String]
|
3680
|
+
#
|
3681
|
+
# @!attribute [rw] retry_after_seconds
|
3682
|
+
# The number of seconds to wait before retrying the operation.
|
3683
|
+
# @return [Integer]
|
3684
|
+
#
|
3685
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ThrottlingException AWS API Documentation
|
3686
|
+
#
|
3687
|
+
class ThrottlingException < Struct.new(
|
3688
|
+
:message,
|
3689
|
+
:retry_after_seconds)
|
3690
|
+
SENSITIVE = []
|
3691
|
+
include Aws::Structure
|
3692
|
+
end
|
3693
|
+
|
3694
|
+
# Defines a resource that is not supported by Resilience Hub.
|
3695
|
+
#
|
3696
|
+
# @!attribute [rw] logical_resource_id
|
3697
|
+
# The logical resource identifier for the unsupported resource.
|
3698
|
+
# @return [Types::LogicalResourceId]
|
3699
|
+
#
|
3700
|
+
# @!attribute [rw] physical_resource_id
|
3701
|
+
# The physical resource identifier for the unsupported resource.
|
3702
|
+
# @return [Types::PhysicalResourceId]
|
3703
|
+
#
|
3704
|
+
# @!attribute [rw] resource_type
|
3705
|
+
# The type of resource.
|
3706
|
+
# @return [String]
|
3707
|
+
#
|
3708
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UnsupportedResource AWS API Documentation
|
3709
|
+
#
|
3710
|
+
class UnsupportedResource < Struct.new(
|
3711
|
+
:logical_resource_id,
|
3712
|
+
:physical_resource_id,
|
3713
|
+
:resource_type)
|
3714
|
+
SENSITIVE = []
|
3715
|
+
include Aws::Structure
|
3716
|
+
end
|
3717
|
+
|
3718
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
3719
|
+
# data as a hash:
|
3720
|
+
#
|
3721
|
+
# {
|
3722
|
+
# resource_arn: "Arn", # required
|
3723
|
+
# tag_keys: ["TagKey"], # required
|
3724
|
+
# }
|
3725
|
+
#
|
3726
|
+
# @!attribute [rw] resource_arn
|
3727
|
+
# The Amazon Resource Name (ARN) of the resource.
|
3728
|
+
# @return [String]
|
3729
|
+
#
|
3730
|
+
# @!attribute [rw] tag_keys
|
3731
|
+
# The keys of the tags to remove.
|
3732
|
+
# @return [Array<String>]
|
3733
|
+
#
|
3734
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UntagResourceRequest AWS API Documentation
|
3735
|
+
#
|
3736
|
+
class UntagResourceRequest < Struct.new(
|
3737
|
+
:resource_arn,
|
3738
|
+
:tag_keys)
|
3739
|
+
SENSITIVE = [:tag_keys]
|
3740
|
+
include Aws::Structure
|
3741
|
+
end
|
3742
|
+
|
3743
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UntagResourceResponse AWS API Documentation
|
3744
|
+
#
|
3745
|
+
class UntagResourceResponse < Aws::EmptyStructure; end
|
3746
|
+
|
3747
|
+
# @note When making an API call, you may pass UpdateAppRequest
|
3748
|
+
# data as a hash:
|
3749
|
+
#
|
3750
|
+
# {
|
3751
|
+
# app_arn: "Arn", # required
|
3752
|
+
# clear_resiliency_policy_arn: false,
|
3753
|
+
# description: "EntityDescription",
|
3754
|
+
# policy_arn: "Arn",
|
3755
|
+
# }
|
3756
|
+
#
|
3757
|
+
# @!attribute [rw] app_arn
|
3758
|
+
# The Amazon Resource Name (ARN) of the application. The format for
|
3759
|
+
# this ARN is:
|
3760
|
+
# arn:`partition`\:dcps:`region`\:`account`\:app/`app-id`. For more
|
3761
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
3762
|
+
# the *AWS General Reference*.
|
3763
|
+
#
|
3764
|
+
#
|
3765
|
+
#
|
3766
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3767
|
+
# @return [String]
|
3768
|
+
#
|
3769
|
+
# @!attribute [rw] clear_resiliency_policy_arn
|
3770
|
+
# Specifies if the resiliency policy ARN should be cleared.
|
3771
|
+
# @return [Boolean]
|
3772
|
+
#
|
3773
|
+
# @!attribute [rw] description
|
3774
|
+
# The optional description for an app.
|
3775
|
+
# @return [String]
|
3776
|
+
#
|
3777
|
+
# @!attribute [rw] policy_arn
|
3778
|
+
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
3779
|
+
# for this ARN is:
|
3780
|
+
# arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
|
3781
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
3782
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
3783
|
+
#
|
3784
|
+
#
|
3785
|
+
#
|
3786
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3787
|
+
# @return [String]
|
3788
|
+
#
|
3789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppRequest AWS API Documentation
|
3790
|
+
#
|
3791
|
+
class UpdateAppRequest < Struct.new(
|
3792
|
+
:app_arn,
|
3793
|
+
:clear_resiliency_policy_arn,
|
3794
|
+
:description,
|
3795
|
+
:policy_arn)
|
3796
|
+
SENSITIVE = []
|
3797
|
+
include Aws::Structure
|
3798
|
+
end
|
3799
|
+
|
3800
|
+
# @!attribute [rw] app
|
3801
|
+
# The specified application, returned as an object with details
|
3802
|
+
# including compliance status, creation time, description, resiliency
|
3803
|
+
# score, and more.
|
3804
|
+
# @return [Types::App]
|
3805
|
+
#
|
3806
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppResponse AWS API Documentation
|
3807
|
+
#
|
3808
|
+
class UpdateAppResponse < Struct.new(
|
3809
|
+
:app)
|
3810
|
+
SENSITIVE = []
|
3811
|
+
include Aws::Structure
|
3812
|
+
end
|
3813
|
+
|
3814
|
+
# @note When making an API call, you may pass UpdateResiliencyPolicyRequest
|
3815
|
+
# data as a hash:
|
3816
|
+
#
|
3817
|
+
# {
|
3818
|
+
# data_location_constraint: "AnyLocation", # accepts AnyLocation, SameContinent, SameCountry
|
3819
|
+
# policy: {
|
3820
|
+
# "Software" => {
|
3821
|
+
# rpo_in_secs: 1, # required
|
3822
|
+
# rto_in_secs: 1, # required
|
3823
|
+
# },
|
3824
|
+
# },
|
3825
|
+
# policy_arn: "Arn", # required
|
3826
|
+
# policy_description: "EntityDescription",
|
3827
|
+
# policy_name: "EntityName",
|
3828
|
+
# tier: "MissionCritical", # accepts MissionCritical, Critical, Important, CoreServices, NonCritical
|
3829
|
+
# }
|
3830
|
+
#
|
3831
|
+
# @!attribute [rw] data_location_constraint
|
3832
|
+
# Specifies a high-level geographical location constraint for where
|
3833
|
+
# your resilience policy data can be stored.
|
3834
|
+
# @return [String]
|
3835
|
+
#
|
3836
|
+
# @!attribute [rw] policy
|
3837
|
+
# The type of resiliency policy to be created, including the recovery
|
3838
|
+
# time objective (RTO) and recovery point objective (RPO) in seconds.
|
3839
|
+
# @return [Hash<String,Types::FailurePolicy>]
|
3840
|
+
#
|
3841
|
+
# @!attribute [rw] policy_arn
|
3842
|
+
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
3843
|
+
# for this ARN is:
|
3844
|
+
# arn:`partition`\:dcps:`region`\:`account`\:resiliency-policy/`policy-id`.
|
3845
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
3846
|
+
# (ARNs)][1] in the *AWS General Reference*.
|
3847
|
+
#
|
3848
|
+
#
|
3849
|
+
#
|
3850
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3851
|
+
# @return [String]
|
3852
|
+
#
|
3853
|
+
# @!attribute [rw] policy_description
|
3854
|
+
# The description for the policy.
|
3855
|
+
# @return [String]
|
3856
|
+
#
|
3857
|
+
# @!attribute [rw] policy_name
|
3858
|
+
# The name of the policy
|
3859
|
+
# @return [String]
|
3860
|
+
#
|
3861
|
+
# @!attribute [rw] tier
|
3862
|
+
# The tier for this resiliency policy, ranging from the highest
|
3863
|
+
# severity (`MissionCritical`) to lowest (`NonCritical`).
|
3864
|
+
# @return [String]
|
3865
|
+
#
|
3866
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicyRequest AWS API Documentation
|
3867
|
+
#
|
3868
|
+
class UpdateResiliencyPolicyRequest < Struct.new(
|
3869
|
+
:data_location_constraint,
|
3870
|
+
:policy,
|
3871
|
+
:policy_arn,
|
3872
|
+
:policy_description,
|
3873
|
+
:policy_name,
|
3874
|
+
:tier)
|
3875
|
+
SENSITIVE = []
|
3876
|
+
include Aws::Structure
|
3877
|
+
end
|
3878
|
+
|
3879
|
+
# @!attribute [rw] policy
|
3880
|
+
# The type of resiliency policy that was updated, including the
|
3881
|
+
# recovery time objective (RTO) and recovery point objective (RPO) in
|
3882
|
+
# seconds.
|
3883
|
+
# @return [Types::ResiliencyPolicy]
|
3884
|
+
#
|
3885
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateResiliencyPolicyResponse AWS API Documentation
|
3886
|
+
#
|
3887
|
+
class UpdateResiliencyPolicyResponse < Struct.new(
|
3888
|
+
:policy)
|
3889
|
+
SENSITIVE = []
|
3890
|
+
include Aws::Structure
|
3891
|
+
end
|
3892
|
+
|
3893
|
+
# Indicates that a request was not valid.
|
3894
|
+
#
|
3895
|
+
# @!attribute [rw] message
|
3896
|
+
# @return [String]
|
3897
|
+
#
|
3898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ValidationException AWS API Documentation
|
3899
|
+
#
|
3900
|
+
class ValidationException < Struct.new(
|
3901
|
+
:message)
|
3902
|
+
SENSITIVE = []
|
3903
|
+
include Aws::Structure
|
3904
|
+
end
|
3905
|
+
|
3906
|
+
end
|
3907
|
+
end
|