aws-sdk-resiliencehub 1.8.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehub/client.rb +1421 -154
- data/lib/aws-sdk-resiliencehub/client_api.rb +410 -0
- data/lib/aws-sdk-resiliencehub/endpoint_provider.rb +38 -96
- data/lib/aws-sdk-resiliencehub/endpoints.rb +182 -0
- data/lib/aws-sdk-resiliencehub/plugins/endpoints.rb +26 -0
- data/lib/aws-sdk-resiliencehub/types.rb +1735 -748
- data/lib/aws-sdk-resiliencehub.rb +1 -1
- metadata +2 -2
@@ -25,35 +25,12 @@ module Aws::ResilienceHub
|
|
25
25
|
include Aws::Structure
|
26
26
|
end
|
27
27
|
|
28
|
-
# @note When making an API call, you may pass AddDraftAppVersionResourceMappingsRequest
|
29
|
-
# data as a hash:
|
30
|
-
#
|
31
|
-
# {
|
32
|
-
# app_arn: "Arn", # required
|
33
|
-
# resource_mappings: [ # required
|
34
|
-
# {
|
35
|
-
# app_registry_app_name: "EntityName",
|
36
|
-
# logical_stack_name: "String255",
|
37
|
-
# mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform
|
38
|
-
# physical_resource_id: { # required
|
39
|
-
# aws_account_id: "CustomerId",
|
40
|
-
# aws_region: "AwsRegion",
|
41
|
-
# identifier: "String255", # required
|
42
|
-
# type: "Arn", # required, accepts Arn, Native
|
43
|
-
# },
|
44
|
-
# resource_group_name: "EntityName",
|
45
|
-
# resource_name: "EntityName",
|
46
|
-
# terraform_source_name: "String255",
|
47
|
-
# },
|
48
|
-
# ],
|
49
|
-
# }
|
50
|
-
#
|
51
28
|
# @!attribute [rw] app_arn
|
52
|
-
# The Amazon Resource Name (ARN) of the
|
53
|
-
# this ARN is:
|
29
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
30
|
+
# application. The format for this ARN is:
|
54
31
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
55
32
|
# For more information about ARNs, see [ Amazon Resource Names
|
56
|
-
# (ARNs)][1] in the *AWS General Reference
|
33
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
57
34
|
#
|
58
35
|
#
|
59
36
|
#
|
@@ -79,11 +56,11 @@ module Aws::ResilienceHub
|
|
79
56
|
end
|
80
57
|
|
81
58
|
# @!attribute [rw] app_arn
|
82
|
-
# The Amazon Resource Name (ARN) of the
|
83
|
-
# this ARN is:
|
59
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
60
|
+
# application. The format for this ARN is:
|
84
61
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
85
62
|
# For more information about ARNs, see [ Amazon Resource Names
|
86
|
-
# (ARNs)][1] in the *AWS General Reference
|
63
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
87
64
|
#
|
88
65
|
#
|
89
66
|
#
|
@@ -116,7 +93,7 @@ module Aws::ResilienceHub
|
|
116
93
|
# Defines a recommendation for a CloudWatch alarm.
|
117
94
|
#
|
118
95
|
# @!attribute [rw] app_component_name
|
119
|
-
# The
|
96
|
+
# The Application Component for the CloudWatch alarm recommendation.
|
120
97
|
# @return [String]
|
121
98
|
#
|
122
99
|
# @!attribute [rw] description
|
@@ -162,14 +139,14 @@ module Aws::ResilienceHub
|
|
162
139
|
include Aws::Structure
|
163
140
|
end
|
164
141
|
|
165
|
-
# Defines
|
142
|
+
# Defines an AWS Resilience Hub application.
|
166
143
|
#
|
167
144
|
# @!attribute [rw] app_arn
|
168
|
-
# The Amazon Resource Name (ARN) of the
|
169
|
-
# this ARN is:
|
145
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
146
|
+
# application. The format for this ARN is:
|
170
147
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
171
148
|
# For more information about ARNs, see [ Amazon Resource Names
|
172
|
-
# (ARNs)][1] in the *AWS General Reference
|
149
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
173
150
|
#
|
174
151
|
#
|
175
152
|
#
|
@@ -209,7 +186,7 @@ module Aws::ResilienceHub
|
|
209
186
|
# for this ARN is:
|
210
187
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
211
188
|
# For more information about ARNs, see [ Amazon Resource Names
|
212
|
-
# (ARNs)][1] in the *AWS General Reference
|
189
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
213
190
|
#
|
214
191
|
#
|
215
192
|
#
|
@@ -252,11 +229,11 @@ module Aws::ResilienceHub
|
|
252
229
|
# Defines an application assessment.
|
253
230
|
#
|
254
231
|
# @!attribute [rw] app_arn
|
255
|
-
# The Amazon Resource Name (ARN) of the
|
256
|
-
# this ARN is:
|
232
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
233
|
+
# application. The format for this ARN is:
|
257
234
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
258
235
|
# For more information about ARNs, see [ Amazon Resource Names
|
259
|
-
# (ARNs)][1] in the *AWS General Reference
|
236
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
260
237
|
#
|
261
238
|
#
|
262
239
|
#
|
@@ -272,7 +249,7 @@ module Aws::ResilienceHub
|
|
272
249
|
# this ARN is:
|
273
250
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
274
251
|
# For more information about ARNs, see [ Amazon Resource Names
|
275
|
-
# (ARNs)][1] in the *AWS General Reference
|
252
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
276
253
|
#
|
277
254
|
#
|
278
255
|
#
|
@@ -360,11 +337,11 @@ module Aws::ResilienceHub
|
|
360
337
|
# Defines an application assessment summary.
|
361
338
|
#
|
362
339
|
# @!attribute [rw] app_arn
|
363
|
-
# The Amazon Resource Name (ARN) of the
|
364
|
-
# this ARN is:
|
340
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
341
|
+
# application. The format for this ARN is:
|
365
342
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
366
343
|
# For more information about ARNs, see [ Amazon Resource Names
|
367
|
-
# (ARNs)][1] in the *AWS General Reference
|
344
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
368
345
|
#
|
369
346
|
#
|
370
347
|
#
|
@@ -380,7 +357,7 @@ module Aws::ResilienceHub
|
|
380
357
|
# this ARN is:
|
381
358
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
382
359
|
# For more information about ARNs, see [ Amazon Resource Names
|
383
|
-
# (ARNs)][1] in the *AWS General Reference
|
360
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
384
361
|
#
|
385
362
|
#
|
386
363
|
#
|
@@ -442,34 +419,55 @@ module Aws::ResilienceHub
|
|
442
419
|
include Aws::Structure
|
443
420
|
end
|
444
421
|
|
445
|
-
# Defines an
|
422
|
+
# Defines an Application Component.
|
423
|
+
#
|
424
|
+
# @!attribute [rw] additional_info
|
425
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
426
|
+
# application.
|
427
|
+
#
|
428
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
|
429
|
+
# format) of only one failover region and one associated account.
|
430
|
+
#
|
431
|
+
# Key: `"failover-regions"`
|
432
|
+
#
|
433
|
+
# Value: `"[\{"region":"<REGION>",
|
434
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
435
|
+
#
|
436
|
+
# </note>
|
437
|
+
# @return [Hash<String,Array<String>>]
|
438
|
+
#
|
439
|
+
# @!attribute [rw] id
|
440
|
+
# Unique identifier of the Application Component.
|
441
|
+
# @return [String]
|
446
442
|
#
|
447
443
|
# @!attribute [rw] name
|
448
|
-
# The name of the
|
444
|
+
# The name of the Application Component.
|
449
445
|
# @return [String]
|
450
446
|
#
|
451
447
|
# @!attribute [rw] type
|
452
|
-
# The type of
|
448
|
+
# The type of Application Component.
|
453
449
|
# @return [String]
|
454
450
|
#
|
455
451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AppComponent AWS API Documentation
|
456
452
|
#
|
457
453
|
class AppComponent < Struct.new(
|
454
|
+
:additional_info,
|
455
|
+
:id,
|
458
456
|
:name,
|
459
457
|
:type)
|
460
458
|
SENSITIVE = []
|
461
459
|
include Aws::Structure
|
462
460
|
end
|
463
461
|
|
464
|
-
# Defines the compliance of an
|
462
|
+
# Defines the compliance of an Application Component against the
|
465
463
|
# resiliency policy.
|
466
464
|
#
|
467
465
|
# @!attribute [rw] app_component_name
|
468
|
-
# The name of the
|
466
|
+
# The name of the Application Component.
|
469
467
|
# @return [String]
|
470
468
|
#
|
471
469
|
# @!attribute [rw] compliance
|
472
|
-
# The compliance of the
|
470
|
+
# The compliance of the Application Component against the resiliency
|
473
471
|
# policy.
|
474
472
|
# @return [Hash<String,Types::DisruptionCompliance>]
|
475
473
|
#
|
@@ -502,14 +500,54 @@ module Aws::ResilienceHub
|
|
502
500
|
include Aws::Structure
|
503
501
|
end
|
504
502
|
|
503
|
+
# The list of AWS Resilience Hub application input sources.
|
504
|
+
#
|
505
|
+
# @!attribute [rw] import_type
|
506
|
+
# The resource type of the input source.
|
507
|
+
# @return [String]
|
508
|
+
#
|
509
|
+
# @!attribute [rw] resource_count
|
510
|
+
# The number of resources that were imported.
|
511
|
+
# @return [Integer]
|
512
|
+
#
|
513
|
+
# @!attribute [rw] source_arn
|
514
|
+
# The Amazon Resource Name (ARN) of the input source. For more
|
515
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
516
|
+
# the *AWS General Reference* guide.
|
517
|
+
#
|
518
|
+
#
|
519
|
+
#
|
520
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
521
|
+
# @return [String]
|
522
|
+
#
|
523
|
+
# @!attribute [rw] source_name
|
524
|
+
# The name of the input source.
|
525
|
+
# @return [String]
|
526
|
+
#
|
527
|
+
# @!attribute [rw] terraform_source
|
528
|
+
# The name of the Terraform s3 state file.
|
529
|
+
# @return [Types::TerraformSource]
|
530
|
+
#
|
531
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AppInputSource AWS API Documentation
|
532
|
+
#
|
533
|
+
class AppInputSource < Struct.new(
|
534
|
+
:import_type,
|
535
|
+
:resource_count,
|
536
|
+
:source_arn,
|
537
|
+
:source_name,
|
538
|
+
:terraform_source)
|
539
|
+
SENSITIVE = []
|
540
|
+
include Aws::Structure
|
541
|
+
end
|
542
|
+
|
505
543
|
# Defines an application summary.
|
506
544
|
#
|
507
545
|
# @!attribute [rw] app_arn
|
508
|
-
# The Amazon Resource Name (ARN) of the
|
509
|
-
# this ARN is:
|
546
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
547
|
+
# application. The format for this ARN is:
|
510
548
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
511
549
|
# For more information about ARNs, see [ Amazon Resource Names
|
512
|
-
# (ARNs)][1] in the *AWS General Reference
|
550
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
513
551
|
#
|
514
552
|
#
|
515
553
|
#
|
@@ -573,12 +611,12 @@ module Aws::ResilienceHub
|
|
573
611
|
include Aws::Structure
|
574
612
|
end
|
575
613
|
|
576
|
-
# Defines recommendations for
|
577
|
-
# returned as an object. This object contains component
|
578
|
-
# configuration recommendations, and recommendation statuses.
|
614
|
+
# Defines recommendations for an AWS Resilience Hub Application
|
615
|
+
# Component, returned as an object. This object contains component
|
616
|
+
# names, configuration recommendations, and recommendation statuses.
|
579
617
|
#
|
580
618
|
# @!attribute [rw] app_component_name
|
581
|
-
# The name of the
|
619
|
+
# The name of the Application Component.
|
582
620
|
# @return [String]
|
583
621
|
#
|
584
622
|
# @!attribute [rw] config_recommendations
|
@@ -602,7 +640,7 @@ module Aws::ResilienceHub
|
|
602
640
|
# Defines a configuration recommendation.
|
603
641
|
#
|
604
642
|
# @!attribute [rw] app_component_name
|
605
|
-
# The
|
643
|
+
# The name of the Application Component.
|
606
644
|
# @return [String]
|
607
645
|
#
|
608
646
|
# @!attribute [rw] compliance
|
@@ -660,11 +698,11 @@ module Aws::ResilienceHub
|
|
660
698
|
include Aws::Structure
|
661
699
|
end
|
662
700
|
|
663
|
-
#
|
664
|
-
# This generally occurs when the previous write did not
|
665
|
-
# propagate to the host serving the current request. A
|
666
|
-
# appropriate backoff logic) is the recommended response to
|
667
|
-
# exception.
|
701
|
+
# This exception occurs when a conflict with a previous successful write
|
702
|
+
# is detected. This generally occurs when the previous write did not
|
703
|
+
# have time to propagate to the host serving the current request. A
|
704
|
+
# retry (with appropriate backoff logic) is the recommended response to
|
705
|
+
# this exception.
|
668
706
|
#
|
669
707
|
# @!attribute [rw] message
|
670
708
|
# @return [String]
|
@@ -711,20 +749,6 @@ module Aws::ResilienceHub
|
|
711
749
|
include Aws::Structure
|
712
750
|
end
|
713
751
|
|
714
|
-
# @note When making an API call, you may pass CreateAppRequest
|
715
|
-
# data as a hash:
|
716
|
-
#
|
717
|
-
# {
|
718
|
-
# assessment_schedule: "Disabled", # accepts Disabled, Daily
|
719
|
-
# client_token: "ClientToken",
|
720
|
-
# description: "EntityDescription",
|
721
|
-
# name: "EntityName", # required
|
722
|
-
# policy_arn: "Arn",
|
723
|
-
# tags: {
|
724
|
-
# "TagKey" => "TagValue",
|
725
|
-
# },
|
726
|
-
# }
|
727
|
-
#
|
728
752
|
# @!attribute [rw] assessment_schedule
|
729
753
|
# Assessment execution schedule with 'Daily' or 'Disabled' values.
|
730
754
|
# @return [String]
|
@@ -751,7 +775,7 @@ module Aws::ResilienceHub
|
|
751
775
|
# for this ARN is:
|
752
776
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
753
777
|
# For more information about ARNs, see [ Amazon Resource Names
|
754
|
-
# (ARNs)][1] in the *AWS General Reference
|
778
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
755
779
|
#
|
756
780
|
#
|
757
781
|
#
|
@@ -791,28 +815,204 @@ module Aws::ResilienceHub
|
|
791
815
|
include Aws::Structure
|
792
816
|
end
|
793
817
|
|
794
|
-
#
|
795
|
-
#
|
818
|
+
# @!attribute [rw] additional_info
|
819
|
+
# Currently, there is no supported additional information for
|
820
|
+
# Application Components.
|
821
|
+
# @return [Hash<String,Array<String>>]
|
822
|
+
#
|
823
|
+
# @!attribute [rw] app_arn
|
824
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
825
|
+
# application. The format for this ARN is:
|
826
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
827
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
828
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
829
|
+
#
|
830
|
+
#
|
831
|
+
#
|
832
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
833
|
+
# @return [String]
|
834
|
+
#
|
835
|
+
# @!attribute [rw] client_token
|
836
|
+
# Used for an idempotency token. A client token is a unique,
|
837
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
838
|
+
# reuse the same client token for other API requests.
|
839
|
+
#
|
840
|
+
# **A suitable default value is auto-generated.** You should normally
|
841
|
+
# not need to pass this option.
|
842
|
+
# @return [String]
|
843
|
+
#
|
844
|
+
# @!attribute [rw] id
|
845
|
+
# The identifier of the Application Component.
|
846
|
+
# @return [String]
|
847
|
+
#
|
848
|
+
# @!attribute [rw] name
|
849
|
+
# The name of the Application Component.
|
850
|
+
# @return [String]
|
851
|
+
#
|
852
|
+
# @!attribute [rw] type
|
853
|
+
# The type of Application Component. For more information about the
|
854
|
+
# types of Application Component, see [Grouping resources in an
|
855
|
+
# AppComponent][1].
|
856
|
+
#
|
857
|
+
#
|
858
|
+
#
|
859
|
+
# [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
|
860
|
+
# @return [String]
|
861
|
+
#
|
862
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionAppComponentRequest AWS API Documentation
|
863
|
+
#
|
864
|
+
class CreateAppVersionAppComponentRequest < Struct.new(
|
865
|
+
:additional_info,
|
866
|
+
:app_arn,
|
867
|
+
:client_token,
|
868
|
+
:id,
|
869
|
+
:name,
|
870
|
+
:type)
|
871
|
+
SENSITIVE = []
|
872
|
+
include Aws::Structure
|
873
|
+
end
|
874
|
+
|
875
|
+
# @!attribute [rw] app_arn
|
876
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
877
|
+
# application. The format for this ARN is:
|
878
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
879
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
880
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
881
|
+
#
|
882
|
+
#
|
883
|
+
#
|
884
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
885
|
+
# @return [String]
|
886
|
+
#
|
887
|
+
# @!attribute [rw] app_component
|
888
|
+
# Defines an Application Component.
|
889
|
+
# @return [Types::AppComponent]
|
890
|
+
#
|
891
|
+
# @!attribute [rw] app_version
|
892
|
+
# The AWS Resilience Hub application version.
|
893
|
+
# @return [String]
|
894
|
+
#
|
895
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionAppComponentResponse AWS API Documentation
|
896
|
+
#
|
897
|
+
class CreateAppVersionAppComponentResponse < Struct.new(
|
898
|
+
:app_arn,
|
899
|
+
:app_component,
|
900
|
+
:app_version)
|
901
|
+
SENSITIVE = []
|
902
|
+
include Aws::Structure
|
903
|
+
end
|
904
|
+
|
905
|
+
# @!attribute [rw] additional_info
|
906
|
+
# Currently, there is no supported additional information for
|
907
|
+
# resources.
|
908
|
+
# @return [Hash<String,Array<String>>]
|
909
|
+
#
|
910
|
+
# @!attribute [rw] app_arn
|
911
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
912
|
+
# application. The format for this ARN is:
|
913
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
914
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
915
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
916
|
+
#
|
917
|
+
#
|
918
|
+
#
|
919
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
920
|
+
# @return [String]
|
921
|
+
#
|
922
|
+
# @!attribute [rw] app_components
|
923
|
+
# The list of Application Components that this resource belongs to. If
|
924
|
+
# an Application Component is not part of the AWS Resilience Hub
|
925
|
+
# application, it will be added.
|
926
|
+
# @return [Array<String>]
|
927
|
+
#
|
928
|
+
# @!attribute [rw] aws_account_id
|
929
|
+
# The Amazon Web Services account that owns the physical resource.
|
930
|
+
# @return [String]
|
931
|
+
#
|
932
|
+
# @!attribute [rw] aws_region
|
933
|
+
# The Amazon Web Services region that owns the physical resource.
|
934
|
+
# @return [String]
|
935
|
+
#
|
936
|
+
# @!attribute [rw] client_token
|
937
|
+
# Used for an idempotency token. A client token is a unique,
|
938
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
939
|
+
# reuse the same client token for other API requests.
|
940
|
+
#
|
941
|
+
# **A suitable default value is auto-generated.** You should normally
|
942
|
+
# not need to pass this option.
|
943
|
+
# @return [String]
|
944
|
+
#
|
945
|
+
# @!attribute [rw] logical_resource_id
|
946
|
+
# The logical identifier of the resource.
|
947
|
+
# @return [Types::LogicalResourceId]
|
948
|
+
#
|
949
|
+
# @!attribute [rw] physical_resource_id
|
950
|
+
# The physical identifier of the resource.
|
951
|
+
# @return [String]
|
952
|
+
#
|
953
|
+
# @!attribute [rw] resource_name
|
954
|
+
# The name of the resource.
|
955
|
+
# @return [String]
|
956
|
+
#
|
957
|
+
# @!attribute [rw] resource_type
|
958
|
+
# The type of resource.
|
959
|
+
# @return [String]
|
960
|
+
#
|
961
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionResourceRequest AWS API Documentation
|
962
|
+
#
|
963
|
+
class CreateAppVersionResourceRequest < Struct.new(
|
964
|
+
:additional_info,
|
965
|
+
:app_arn,
|
966
|
+
:app_components,
|
967
|
+
:aws_account_id,
|
968
|
+
:aws_region,
|
969
|
+
:client_token,
|
970
|
+
:logical_resource_id,
|
971
|
+
:physical_resource_id,
|
972
|
+
:resource_name,
|
973
|
+
:resource_type)
|
974
|
+
SENSITIVE = []
|
975
|
+
include Aws::Structure
|
976
|
+
end
|
977
|
+
|
978
|
+
# @!attribute [rw] app_arn
|
979
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
980
|
+
# application. The format for this ARN is:
|
981
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
982
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
983
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
984
|
+
#
|
985
|
+
#
|
986
|
+
#
|
987
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
988
|
+
# @return [String]
|
989
|
+
#
|
990
|
+
# @!attribute [rw] app_version
|
991
|
+
# The AWS Resilience Hub application version.
|
992
|
+
# @return [String]
|
993
|
+
#
|
994
|
+
# @!attribute [rw] physical_resource
|
995
|
+
# Defines a physical resource. A physical resource is a resource that
|
996
|
+
# exists in your account. It can be identified using an Amazon
|
997
|
+
# Resource Name (ARN) or a Resilience Hub-native identifier.
|
998
|
+
# @return [Types::PhysicalResource]
|
796
999
|
#
|
797
|
-
#
|
798
|
-
# assessment_arn: "Arn", # required
|
799
|
-
# bucket_name: "EntityName",
|
800
|
-
# client_token: "ClientToken",
|
801
|
-
# format: "CfnYaml", # accepts CfnYaml, CfnJson
|
802
|
-
# name: "EntityName", # required
|
803
|
-
# recommendation_ids: ["Uuid"],
|
804
|
-
# recommendation_types: ["Alarm"], # accepts Alarm, Sop, Test
|
805
|
-
# tags: {
|
806
|
-
# "TagKey" => "TagValue",
|
807
|
-
# },
|
808
|
-
# }
|
1000
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionResourceResponse AWS API Documentation
|
809
1001
|
#
|
1002
|
+
class CreateAppVersionResourceResponse < Struct.new(
|
1003
|
+
:app_arn,
|
1004
|
+
:app_version,
|
1005
|
+
:physical_resource)
|
1006
|
+
SENSITIVE = []
|
1007
|
+
include Aws::Structure
|
1008
|
+
end
|
1009
|
+
|
810
1010
|
# @!attribute [rw] assessment_arn
|
811
1011
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
812
1012
|
# this ARN is:
|
813
1013
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
814
1014
|
# For more information about ARNs, see [ Amazon Resource Names
|
815
|
-
# (ARNs)][1] in the *AWS General Reference
|
1015
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
816
1016
|
#
|
817
1017
|
#
|
818
1018
|
#
|
@@ -906,26 +1106,6 @@ module Aws::ResilienceHub
|
|
906
1106
|
include Aws::Structure
|
907
1107
|
end
|
908
1108
|
|
909
|
-
# @note When making an API call, you may pass CreateResiliencyPolicyRequest
|
910
|
-
# data as a hash:
|
911
|
-
#
|
912
|
-
# {
|
913
|
-
# client_token: "ClientToken",
|
914
|
-
# data_location_constraint: "AnyLocation", # accepts AnyLocation, SameContinent, SameCountry
|
915
|
-
# policy: { # required
|
916
|
-
# "Software" => {
|
917
|
-
# rpo_in_secs: 1, # required
|
918
|
-
# rto_in_secs: 1, # required
|
919
|
-
# },
|
920
|
-
# },
|
921
|
-
# policy_description: "EntityDescription",
|
922
|
-
# policy_name: "EntityName", # required
|
923
|
-
# tags: {
|
924
|
-
# "TagKey" => "TagValue",
|
925
|
-
# },
|
926
|
-
# tier: "MissionCritical", # required, accepts MissionCritical, Critical, Important, CoreServices, NonCritical
|
927
|
-
# }
|
928
|
-
#
|
929
1109
|
# @!attribute [rw] client_token
|
930
1110
|
# Used for an idempotency token. A client token is a unique,
|
931
1111
|
# case-sensitive string of up to 64 ASCII characters. You should not
|
@@ -992,20 +1172,12 @@ module Aws::ResilienceHub
|
|
992
1172
|
include Aws::Structure
|
993
1173
|
end
|
994
1174
|
|
995
|
-
# @note When making an API call, you may pass DeleteAppAssessmentRequest
|
996
|
-
# data as a hash:
|
997
|
-
#
|
998
|
-
# {
|
999
|
-
# assessment_arn: "Arn", # required
|
1000
|
-
# client_token: "ClientToken",
|
1001
|
-
# }
|
1002
|
-
#
|
1003
1175
|
# @!attribute [rw] assessment_arn
|
1004
1176
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1005
1177
|
# this ARN is:
|
1006
1178
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1007
1179
|
# For more information about ARNs, see [ Amazon Resource Names
|
1008
|
-
# (ARNs)][1] in the *AWS General Reference
|
1180
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1009
1181
|
#
|
1010
1182
|
#
|
1011
1183
|
#
|
@@ -1035,7 +1207,7 @@ module Aws::ResilienceHub
|
|
1035
1207
|
# this ARN is:
|
1036
1208
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1037
1209
|
# For more information about ARNs, see [ Amazon Resource Names
|
1038
|
-
# (ARNs)][1] in the *AWS General Reference
|
1210
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1039
1211
|
#
|
1040
1212
|
#
|
1041
1213
|
#
|
@@ -1055,21 +1227,12 @@ module Aws::ResilienceHub
|
|
1055
1227
|
include Aws::Structure
|
1056
1228
|
end
|
1057
1229
|
|
1058
|
-
# @note When making an API call, you may pass DeleteAppRequest
|
1059
|
-
# data as a hash:
|
1060
|
-
#
|
1061
|
-
# {
|
1062
|
-
# app_arn: "Arn", # required
|
1063
|
-
# client_token: "ClientToken",
|
1064
|
-
# force_delete: false,
|
1065
|
-
# }
|
1066
|
-
#
|
1067
1230
|
# @!attribute [rw] app_arn
|
1068
|
-
# The Amazon Resource Name (ARN) of the
|
1069
|
-
# this ARN is:
|
1231
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1232
|
+
# application. The format for this ARN is:
|
1070
1233
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1071
1234
|
# For more information about ARNs, see [ Amazon Resource Names
|
1072
|
-
# (ARNs)][1] in the *AWS General Reference
|
1235
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1073
1236
|
#
|
1074
1237
|
#
|
1075
1238
|
#
|
@@ -1085,48 +1248,70 @@ module Aws::ResilienceHub
|
|
1085
1248
|
# not need to pass this option.
|
1086
1249
|
# @return [String]
|
1087
1250
|
#
|
1088
|
-
# @!attribute [rw]
|
1089
|
-
#
|
1090
|
-
# application.
|
1091
|
-
#
|
1251
|
+
# @!attribute [rw] source_arn
|
1252
|
+
# The Amazon Resource Name (ARN) of the imported resource you want to
|
1253
|
+
# remove from the AWS Resilience Hub application. For more information
|
1254
|
+
# about ARNs, see [ Amazon Resource Names (ARNs)][1] in the *AWS
|
1255
|
+
# General Reference* guide.
|
1092
1256
|
#
|
1093
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppRequest AWS API Documentation
|
1094
1257
|
#
|
1095
|
-
|
1258
|
+
#
|
1259
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1260
|
+
# @return [String]
|
1261
|
+
#
|
1262
|
+
# @!attribute [rw] terraform_source
|
1263
|
+
# The imported Terraform s3 state file you want to remove from the AWS
|
1264
|
+
# Resilience Hub application.
|
1265
|
+
# @return [Types::TerraformSource]
|
1266
|
+
#
|
1267
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppInputSourceRequest AWS API Documentation
|
1268
|
+
#
|
1269
|
+
class DeleteAppInputSourceRequest < Struct.new(
|
1096
1270
|
:app_arn,
|
1097
1271
|
:client_token,
|
1098
|
-
:
|
1272
|
+
:source_arn,
|
1273
|
+
:terraform_source)
|
1099
1274
|
SENSITIVE = []
|
1100
1275
|
include Aws::Structure
|
1101
1276
|
end
|
1102
1277
|
|
1103
1278
|
# @!attribute [rw] app_arn
|
1104
|
-
# The Amazon Resource Name (ARN) of the
|
1105
|
-
# this ARN is:
|
1279
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1280
|
+
# application. The format for this ARN is:
|
1106
1281
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1107
1282
|
# For more information about ARNs, see [ Amazon Resource Names
|
1108
|
-
# (ARNs)][1] in the *AWS General Reference
|
1283
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1109
1284
|
#
|
1110
1285
|
#
|
1111
1286
|
#
|
1112
1287
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1113
1288
|
# @return [String]
|
1114
1289
|
#
|
1115
|
-
#
|
1290
|
+
# @!attribute [rw] app_input_source
|
1291
|
+
# The name of the input source from where the application resource is
|
1292
|
+
# imported from.
|
1293
|
+
# @return [Types::AppInputSource]
|
1116
1294
|
#
|
1117
|
-
|
1118
|
-
|
1295
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppInputSourceResponse AWS API Documentation
|
1296
|
+
#
|
1297
|
+
class DeleteAppInputSourceResponse < Struct.new(
|
1298
|
+
:app_arn,
|
1299
|
+
:app_input_source)
|
1119
1300
|
SENSITIVE = []
|
1120
1301
|
include Aws::Structure
|
1121
1302
|
end
|
1122
1303
|
|
1123
|
-
#
|
1124
|
-
#
|
1304
|
+
# @!attribute [rw] app_arn
|
1305
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1306
|
+
# application. The format for this ARN is:
|
1307
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1308
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1309
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1310
|
+
#
|
1125
1311
|
#
|
1126
|
-
#
|
1127
|
-
#
|
1128
|
-
#
|
1129
|
-
# }
|
1312
|
+
#
|
1313
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1314
|
+
# @return [String]
|
1130
1315
|
#
|
1131
1316
|
# @!attribute [rw] client_token
|
1132
1317
|
# Used for an idempotency token. A client token is a unique,
|
@@ -1137,43 +1322,52 @@ module Aws::ResilienceHub
|
|
1137
1322
|
# not need to pass this option.
|
1138
1323
|
# @return [String]
|
1139
1324
|
#
|
1140
|
-
# @!attribute [rw]
|
1141
|
-
#
|
1142
|
-
#
|
1325
|
+
# @!attribute [rw] force_delete
|
1326
|
+
# A boolean option to force the deletion of an AWS Resilience Hub
|
1327
|
+
# application.
|
1328
|
+
# @return [Boolean]
|
1143
1329
|
#
|
1144
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/
|
1330
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppRequest AWS API Documentation
|
1145
1331
|
#
|
1146
|
-
class
|
1332
|
+
class DeleteAppRequest < Struct.new(
|
1333
|
+
:app_arn,
|
1147
1334
|
:client_token,
|
1148
|
-
:
|
1335
|
+
:force_delete)
|
1149
1336
|
SENSITIVE = []
|
1150
1337
|
include Aws::Structure
|
1151
1338
|
end
|
1152
1339
|
|
1153
|
-
# @!attribute [rw]
|
1154
|
-
# The Amazon Resource Name (ARN)
|
1155
|
-
#
|
1340
|
+
# @!attribute [rw] app_arn
|
1341
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1342
|
+
# application. The format for this ARN is:
|
1343
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1344
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1345
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1156
1346
|
#
|
1157
|
-
#
|
1158
|
-
#
|
1347
|
+
#
|
1348
|
+
#
|
1349
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1159
1350
|
# @return [String]
|
1160
1351
|
#
|
1161
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/
|
1352
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppResponse AWS API Documentation
|
1162
1353
|
#
|
1163
|
-
class
|
1164
|
-
:
|
1165
|
-
:status)
|
1354
|
+
class DeleteAppResponse < Struct.new(
|
1355
|
+
:app_arn)
|
1166
1356
|
SENSITIVE = []
|
1167
1357
|
include Aws::Structure
|
1168
1358
|
end
|
1169
1359
|
|
1170
|
-
#
|
1171
|
-
#
|
1360
|
+
# @!attribute [rw] app_arn
|
1361
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1362
|
+
# application. The format for this ARN is:
|
1363
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1364
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1365
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1366
|
+
#
|
1172
1367
|
#
|
1173
|
-
#
|
1174
|
-
#
|
1175
|
-
#
|
1176
|
-
# }
|
1368
|
+
#
|
1369
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1370
|
+
# @return [String]
|
1177
1371
|
#
|
1178
1372
|
# @!attribute [rw] client_token
|
1179
1373
|
# Used for an idempotency token. A client token is a unique,
|
@@ -1184,60 +1378,232 @@ module Aws::ResilienceHub
|
|
1184
1378
|
# not need to pass this option.
|
1185
1379
|
# @return [String]
|
1186
1380
|
#
|
1187
|
-
# @!attribute [rw]
|
1188
|
-
# The
|
1189
|
-
# for this ARN is:
|
1190
|
-
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
1191
|
-
# For more information about ARNs, see [ Amazon Resource Names
|
1192
|
-
# (ARNs)][1] in the *AWS General Reference*.
|
1193
|
-
#
|
1194
|
-
#
|
1195
|
-
#
|
1196
|
-
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1381
|
+
# @!attribute [rw] id
|
1382
|
+
# The identifier of the Application Component.
|
1197
1383
|
# @return [String]
|
1198
1384
|
#
|
1199
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/
|
1385
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionAppComponentRequest AWS API Documentation
|
1200
1386
|
#
|
1201
|
-
class
|
1387
|
+
class DeleteAppVersionAppComponentRequest < Struct.new(
|
1388
|
+
:app_arn,
|
1202
1389
|
:client_token,
|
1203
|
-
:
|
1390
|
+
:id)
|
1204
1391
|
SENSITIVE = []
|
1205
1392
|
include Aws::Structure
|
1206
1393
|
end
|
1207
1394
|
|
1395
|
+
# @!attribute [rw] app_arn
|
1396
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1397
|
+
# application. The format for this ARN is:
|
1398
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1399
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1400
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
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_component
|
1408
|
+
# Defines an Application Component.
|
1409
|
+
# @return [Types::AppComponent]
|
1410
|
+
#
|
1411
|
+
# @!attribute [rw] app_version
|
1412
|
+
# The AWS Resilience Hub application version.
|
1413
|
+
# @return [String]
|
1414
|
+
#
|
1415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionAppComponentResponse AWS API Documentation
|
1416
|
+
#
|
1417
|
+
class DeleteAppVersionAppComponentResponse < Struct.new(
|
1418
|
+
:app_arn,
|
1419
|
+
:app_component,
|
1420
|
+
:app_version)
|
1421
|
+
SENSITIVE = []
|
1422
|
+
include Aws::Structure
|
1423
|
+
end
|
1424
|
+
|
1425
|
+
# @!attribute [rw] app_arn
|
1426
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1427
|
+
# application. The format for this ARN is:
|
1428
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1429
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1430
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1431
|
+
#
|
1432
|
+
#
|
1433
|
+
#
|
1434
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1435
|
+
# @return [String]
|
1436
|
+
#
|
1437
|
+
# @!attribute [rw] aws_account_id
|
1438
|
+
# The Amazon Web Services account that owns the physical resource.
|
1439
|
+
# @return [String]
|
1440
|
+
#
|
1441
|
+
# @!attribute [rw] aws_region
|
1442
|
+
# The Amazon Web Services region that owns the physical resource.
|
1443
|
+
# @return [String]
|
1444
|
+
#
|
1445
|
+
# @!attribute [rw] client_token
|
1446
|
+
# Used for an idempotency token. A client token is a unique,
|
1447
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
1448
|
+
# reuse the same client token for other API requests.
|
1449
|
+
#
|
1450
|
+
# **A suitable default value is auto-generated.** You should normally
|
1451
|
+
# not need to pass this option.
|
1452
|
+
# @return [String]
|
1453
|
+
#
|
1454
|
+
# @!attribute [rw] logical_resource_id
|
1455
|
+
# The logical identifier of the resource.
|
1456
|
+
# @return [Types::LogicalResourceId]
|
1457
|
+
#
|
1458
|
+
# @!attribute [rw] physical_resource_id
|
1459
|
+
# The physical identifier of the resource.
|
1460
|
+
# @return [String]
|
1461
|
+
#
|
1462
|
+
# @!attribute [rw] resource_name
|
1463
|
+
# The name of the resource.
|
1464
|
+
# @return [String]
|
1465
|
+
#
|
1466
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionResourceRequest AWS API Documentation
|
1467
|
+
#
|
1468
|
+
class DeleteAppVersionResourceRequest < Struct.new(
|
1469
|
+
:app_arn,
|
1470
|
+
:aws_account_id,
|
1471
|
+
:aws_region,
|
1472
|
+
:client_token,
|
1473
|
+
:logical_resource_id,
|
1474
|
+
:physical_resource_id,
|
1475
|
+
:resource_name)
|
1476
|
+
SENSITIVE = []
|
1477
|
+
include Aws::Structure
|
1478
|
+
end
|
1479
|
+
|
1480
|
+
# @!attribute [rw] app_arn
|
1481
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1482
|
+
# application. The format for this ARN is:
|
1483
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1484
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1485
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1486
|
+
#
|
1487
|
+
#
|
1488
|
+
#
|
1489
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1490
|
+
# @return [String]
|
1491
|
+
#
|
1492
|
+
# @!attribute [rw] app_version
|
1493
|
+
# The AWS Resilience Hub application version.
|
1494
|
+
# @return [String]
|
1495
|
+
#
|
1496
|
+
# @!attribute [rw] physical_resource
|
1497
|
+
# Defines a physical resource. A physical resource is a resource that
|
1498
|
+
# exists in your account. It can be identified using an Amazon
|
1499
|
+
# Resource Name (ARN) or a Resilience Hub-native identifier.
|
1500
|
+
# @return [Types::PhysicalResource]
|
1501
|
+
#
|
1502
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionResourceResponse AWS API Documentation
|
1503
|
+
#
|
1504
|
+
class DeleteAppVersionResourceResponse < Struct.new(
|
1505
|
+
:app_arn,
|
1506
|
+
:app_version,
|
1507
|
+
:physical_resource)
|
1508
|
+
SENSITIVE = []
|
1509
|
+
include Aws::Structure
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
# @!attribute [rw] client_token
|
1513
|
+
# Used for an idempotency token. A client token is a unique,
|
1514
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
1515
|
+
# reuse the same client token for other API requests.
|
1516
|
+
#
|
1517
|
+
# **A suitable default value is auto-generated.** You should normally
|
1518
|
+
# not need to pass this option.
|
1519
|
+
# @return [String]
|
1520
|
+
#
|
1521
|
+
# @!attribute [rw] recommendation_template_arn
|
1522
|
+
# The Amazon Resource Name (ARN) for a recommendation template.
|
1523
|
+
# @return [String]
|
1524
|
+
#
|
1525
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplateRequest AWS API Documentation
|
1526
|
+
#
|
1527
|
+
class DeleteRecommendationTemplateRequest < Struct.new(
|
1528
|
+
:client_token,
|
1529
|
+
:recommendation_template_arn)
|
1530
|
+
SENSITIVE = []
|
1531
|
+
include Aws::Structure
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
# @!attribute [rw] recommendation_template_arn
|
1535
|
+
# The Amazon Resource Name (ARN) for a recommendation template.
|
1536
|
+
# @return [String]
|
1537
|
+
#
|
1538
|
+
# @!attribute [rw] status
|
1539
|
+
# The status of the action.
|
1540
|
+
# @return [String]
|
1541
|
+
#
|
1542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplateResponse AWS API Documentation
|
1543
|
+
#
|
1544
|
+
class DeleteRecommendationTemplateResponse < Struct.new(
|
1545
|
+
:recommendation_template_arn,
|
1546
|
+
:status)
|
1547
|
+
SENSITIVE = []
|
1548
|
+
include Aws::Structure
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
# @!attribute [rw] client_token
|
1552
|
+
# Used for an idempotency token. A client token is a unique,
|
1553
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
1554
|
+
# reuse the same client token for other API requests.
|
1555
|
+
#
|
1556
|
+
# **A suitable default value is auto-generated.** You should normally
|
1557
|
+
# not need to pass this option.
|
1558
|
+
# @return [String]
|
1559
|
+
#
|
1208
1560
|
# @!attribute [rw] policy_arn
|
1209
1561
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1210
1562
|
# for this ARN is:
|
1211
1563
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
1212
1564
|
# For more information about ARNs, see [ Amazon Resource Names
|
1213
|
-
# (ARNs)][1] in the *AWS General Reference
|
1565
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1214
1566
|
#
|
1215
1567
|
#
|
1216
1568
|
#
|
1217
1569
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1218
1570
|
# @return [String]
|
1219
1571
|
#
|
1220
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/
|
1572
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicyRequest AWS API Documentation
|
1221
1573
|
#
|
1222
|
-
class
|
1574
|
+
class DeleteResiliencyPolicyRequest < Struct.new(
|
1575
|
+
:client_token,
|
1223
1576
|
:policy_arn)
|
1224
1577
|
SENSITIVE = []
|
1225
1578
|
include Aws::Structure
|
1226
1579
|
end
|
1227
1580
|
|
1228
|
-
#
|
1229
|
-
#
|
1581
|
+
# @!attribute [rw] policy_arn
|
1582
|
+
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1583
|
+
# for this ARN is:
|
1584
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
1585
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1586
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1587
|
+
#
|
1588
|
+
#
|
1589
|
+
#
|
1590
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1591
|
+
# @return [String]
|
1230
1592
|
#
|
1231
|
-
#
|
1232
|
-
# assessment_arn: "Arn", # required
|
1233
|
-
# }
|
1593
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicyResponse AWS API Documentation
|
1234
1594
|
#
|
1595
|
+
class DeleteResiliencyPolicyResponse < Struct.new(
|
1596
|
+
:policy_arn)
|
1597
|
+
SENSITIVE = []
|
1598
|
+
include Aws::Structure
|
1599
|
+
end
|
1600
|
+
|
1235
1601
|
# @!attribute [rw] assessment_arn
|
1236
1602
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1237
1603
|
# this ARN is:
|
1238
1604
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1239
1605
|
# For more information about ARNs, see [ Amazon Resource Names
|
1240
|
-
# (ARNs)][1] in the *AWS General Reference
|
1606
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1241
1607
|
#
|
1242
1608
|
#
|
1243
1609
|
#
|
@@ -1267,19 +1633,12 @@ module Aws::ResilienceHub
|
|
1267
1633
|
include Aws::Structure
|
1268
1634
|
end
|
1269
1635
|
|
1270
|
-
# @note When making an API call, you may pass DescribeAppRequest
|
1271
|
-
# data as a hash:
|
1272
|
-
#
|
1273
|
-
# {
|
1274
|
-
# app_arn: "Arn", # required
|
1275
|
-
# }
|
1276
|
-
#
|
1277
1636
|
# @!attribute [rw] app_arn
|
1278
|
-
# The Amazon Resource Name (ARN) of the
|
1279
|
-
# this ARN is:
|
1637
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1638
|
+
# application. The format for this ARN is:
|
1280
1639
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1281
1640
|
# For more information about ARNs, see [ Amazon Resource Names
|
1282
|
-
# (ARNs)][1] in the *AWS General Reference
|
1641
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1283
1642
|
#
|
1284
1643
|
#
|
1285
1644
|
#
|
@@ -1308,21 +1667,179 @@ module Aws::ResilienceHub
|
|
1308
1667
|
include Aws::Structure
|
1309
1668
|
end
|
1310
1669
|
|
1311
|
-
#
|
1312
|
-
#
|
1670
|
+
# @!attribute [rw] app_arn
|
1671
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1672
|
+
# application. The format for this ARN is:
|
1673
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1674
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1675
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1676
|
+
#
|
1677
|
+
#
|
1678
|
+
#
|
1679
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1680
|
+
# @return [String]
|
1681
|
+
#
|
1682
|
+
# @!attribute [rw] app_version
|
1683
|
+
# The AWS Resilience Hub application version.
|
1684
|
+
# @return [String]
|
1685
|
+
#
|
1686
|
+
# @!attribute [rw] id
|
1687
|
+
# The identifier of the Application Component.
|
1688
|
+
# @return [String]
|
1313
1689
|
#
|
1314
|
-
#
|
1315
|
-
# app_arn: "Arn", # required
|
1316
|
-
# app_version: "EntityVersion", # required
|
1317
|
-
# resolution_id: "String255",
|
1318
|
-
# }
|
1690
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionAppComponentRequest AWS API Documentation
|
1319
1691
|
#
|
1692
|
+
class DescribeAppVersionAppComponentRequest < Struct.new(
|
1693
|
+
:app_arn,
|
1694
|
+
:app_version,
|
1695
|
+
:id)
|
1696
|
+
SENSITIVE = []
|
1697
|
+
include Aws::Structure
|
1698
|
+
end
|
1699
|
+
|
1320
1700
|
# @!attribute [rw] app_arn
|
1321
|
-
# The Amazon Resource Name (ARN) of the
|
1322
|
-
# this ARN is:
|
1701
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1702
|
+
# application. The format for this ARN is:
|
1703
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1704
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1705
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1706
|
+
#
|
1707
|
+
#
|
1708
|
+
#
|
1709
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1710
|
+
# @return [String]
|
1711
|
+
#
|
1712
|
+
# @!attribute [rw] app_component
|
1713
|
+
# Defines an Application Component.
|
1714
|
+
# @return [Types::AppComponent]
|
1715
|
+
#
|
1716
|
+
# @!attribute [rw] app_version
|
1717
|
+
# The AWS Resilience Hub application version.
|
1718
|
+
# @return [String]
|
1719
|
+
#
|
1720
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionAppComponentResponse AWS API Documentation
|
1721
|
+
#
|
1722
|
+
class DescribeAppVersionAppComponentResponse < Struct.new(
|
1723
|
+
:app_arn,
|
1724
|
+
:app_component,
|
1725
|
+
:app_version)
|
1726
|
+
SENSITIVE = []
|
1727
|
+
include Aws::Structure
|
1728
|
+
end
|
1729
|
+
|
1730
|
+
# @!attribute [rw] app_arn
|
1731
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1732
|
+
# application. The format for this ARN is:
|
1733
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1734
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1735
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1736
|
+
#
|
1737
|
+
#
|
1738
|
+
#
|
1739
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1740
|
+
# @return [String]
|
1741
|
+
#
|
1742
|
+
# @!attribute [rw] app_version
|
1743
|
+
# The AWS Resilience Hub application version.
|
1744
|
+
# @return [String]
|
1745
|
+
#
|
1746
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionRequest AWS API Documentation
|
1747
|
+
#
|
1748
|
+
class DescribeAppVersionRequest < Struct.new(
|
1749
|
+
:app_arn,
|
1750
|
+
:app_version)
|
1751
|
+
SENSITIVE = []
|
1752
|
+
include Aws::Structure
|
1753
|
+
end
|
1754
|
+
|
1755
|
+
# @!attribute [rw] app_arn
|
1756
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1757
|
+
# application. The format for this ARN is:
|
1323
1758
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1324
1759
|
# For more information about ARNs, see [ Amazon Resource Names
|
1325
|
-
# (ARNs)][1] in the *AWS General Reference
|
1760
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1761
|
+
#
|
1762
|
+
#
|
1763
|
+
#
|
1764
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1765
|
+
# @return [String]
|
1766
|
+
#
|
1767
|
+
# @!attribute [rw] app_version
|
1768
|
+
# The AWS Resilience Hub application version.
|
1769
|
+
# @return [String]
|
1770
|
+
#
|
1771
|
+
# @!attribute [rw] aws_account_id
|
1772
|
+
# The Amazon Web Services account that owns the physical resource.
|
1773
|
+
# @return [String]
|
1774
|
+
#
|
1775
|
+
# @!attribute [rw] aws_region
|
1776
|
+
# The Amazon Web Services region that owns the physical resource.
|
1777
|
+
# @return [String]
|
1778
|
+
#
|
1779
|
+
# @!attribute [rw] logical_resource_id
|
1780
|
+
# The logical identifier of the resource.
|
1781
|
+
# @return [Types::LogicalResourceId]
|
1782
|
+
#
|
1783
|
+
# @!attribute [rw] physical_resource_id
|
1784
|
+
# The physical identifier of the resource.
|
1785
|
+
# @return [String]
|
1786
|
+
#
|
1787
|
+
# @!attribute [rw] resource_name
|
1788
|
+
# The name of the resource.
|
1789
|
+
# @return [String]
|
1790
|
+
#
|
1791
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourceRequest AWS API Documentation
|
1792
|
+
#
|
1793
|
+
class DescribeAppVersionResourceRequest < Struct.new(
|
1794
|
+
:app_arn,
|
1795
|
+
:app_version,
|
1796
|
+
:aws_account_id,
|
1797
|
+
:aws_region,
|
1798
|
+
:logical_resource_id,
|
1799
|
+
:physical_resource_id,
|
1800
|
+
:resource_name)
|
1801
|
+
SENSITIVE = []
|
1802
|
+
include Aws::Structure
|
1803
|
+
end
|
1804
|
+
|
1805
|
+
# @!attribute [rw] app_arn
|
1806
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1807
|
+
# application. The format for this ARN is:
|
1808
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1809
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1810
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1811
|
+
#
|
1812
|
+
#
|
1813
|
+
#
|
1814
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1815
|
+
# @return [String]
|
1816
|
+
#
|
1817
|
+
# @!attribute [rw] app_version
|
1818
|
+
# The AWS Resilience Hub application version.
|
1819
|
+
# @return [String]
|
1820
|
+
#
|
1821
|
+
# @!attribute [rw] physical_resource
|
1822
|
+
# Defines a physical resource. A physical resource is a resource that
|
1823
|
+
# exists in your account. It can be identified using an Amazon
|
1824
|
+
# Resource Name (ARN) or a Resilience Hub-native identifier.
|
1825
|
+
# @return [Types::PhysicalResource]
|
1826
|
+
#
|
1827
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourceResponse AWS API Documentation
|
1828
|
+
#
|
1829
|
+
class DescribeAppVersionResourceResponse < Struct.new(
|
1830
|
+
:app_arn,
|
1831
|
+
:app_version,
|
1832
|
+
:physical_resource)
|
1833
|
+
SENSITIVE = []
|
1834
|
+
include Aws::Structure
|
1835
|
+
end
|
1836
|
+
|
1837
|
+
# @!attribute [rw] app_arn
|
1838
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1839
|
+
# application. The format for this ARN is:
|
1840
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1841
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1842
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1326
1843
|
#
|
1327
1844
|
#
|
1328
1845
|
#
|
@@ -1348,11 +1865,11 @@ module Aws::ResilienceHub
|
|
1348
1865
|
end
|
1349
1866
|
|
1350
1867
|
# @!attribute [rw] app_arn
|
1351
|
-
# The Amazon Resource Name (ARN) of the
|
1352
|
-
# this ARN is:
|
1868
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1869
|
+
# application. The format for this ARN is:
|
1353
1870
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1354
1871
|
# For more information about ARNs, see [ Amazon Resource Names
|
1355
|
-
# (ARNs)][1] in the *AWS General Reference
|
1872
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1356
1873
|
#
|
1357
1874
|
#
|
1358
1875
|
#
|
@@ -1387,20 +1904,47 @@ module Aws::ResilienceHub
|
|
1387
1904
|
include Aws::Structure
|
1388
1905
|
end
|
1389
1906
|
|
1390
|
-
#
|
1391
|
-
#
|
1907
|
+
# @!attribute [rw] additional_info
|
1908
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
1909
|
+
# application.
|
1910
|
+
#
|
1911
|
+
# <note markdown="1"> Currently, this parameter supports only failover region and account.
|
1392
1912
|
#
|
1393
|
-
#
|
1394
|
-
#
|
1395
|
-
# app_version: "EntityVersion", # required
|
1396
|
-
# }
|
1913
|
+
# </note>
|
1914
|
+
# @return [Hash<String,Array<String>>]
|
1397
1915
|
#
|
1398
1916
|
# @!attribute [rw] app_arn
|
1399
|
-
# The Amazon Resource Name (ARN) of the
|
1400
|
-
# this ARN is:
|
1917
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1918
|
+
# application. The format for this ARN is:
|
1401
1919
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1402
1920
|
# For more information about ARNs, see [ Amazon Resource Names
|
1403
|
-
# (ARNs)][1] in the *AWS General Reference
|
1921
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1922
|
+
#
|
1923
|
+
#
|
1924
|
+
#
|
1925
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1926
|
+
# @return [String]
|
1927
|
+
#
|
1928
|
+
# @!attribute [rw] app_version
|
1929
|
+
# The AWS Resilience Hub application version.
|
1930
|
+
# @return [String]
|
1931
|
+
#
|
1932
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResponse AWS API Documentation
|
1933
|
+
#
|
1934
|
+
class DescribeAppVersionResponse < Struct.new(
|
1935
|
+
:additional_info,
|
1936
|
+
:app_arn,
|
1937
|
+
:app_version)
|
1938
|
+
SENSITIVE = []
|
1939
|
+
include Aws::Structure
|
1940
|
+
end
|
1941
|
+
|
1942
|
+
# @!attribute [rw] app_arn
|
1943
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1944
|
+
# application. The format for this ARN is:
|
1945
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1946
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1947
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1404
1948
|
#
|
1405
1949
|
#
|
1406
1950
|
#
|
@@ -1421,11 +1965,11 @@ module Aws::ResilienceHub
|
|
1421
1965
|
end
|
1422
1966
|
|
1423
1967
|
# @!attribute [rw] app_arn
|
1424
|
-
# The Amazon Resource Name (ARN) of the
|
1425
|
-
# this ARN is:
|
1968
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1969
|
+
# application. The format for this ARN is:
|
1426
1970
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1427
1971
|
# For more information about ARNs, see [ Amazon Resource Names
|
1428
|
-
# (ARNs)][1] in the *AWS General Reference
|
1972
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1429
1973
|
#
|
1430
1974
|
#
|
1431
1975
|
#
|
@@ -1433,7 +1977,176 @@ module Aws::ResilienceHub
|
|
1433
1977
|
# @return [String]
|
1434
1978
|
#
|
1435
1979
|
# @!attribute [rw] app_template_body
|
1436
|
-
#
|
1980
|
+
# A JSON string that provides information about your application
|
1981
|
+
# structure. To learn more about the `appTemplateBody` template, see
|
1982
|
+
# the sample template provided in the *Examples* section.
|
1983
|
+
#
|
1984
|
+
# The `appTemplateBody` JSON string has the following structure:
|
1985
|
+
#
|
1986
|
+
# * <b> <code>resources</code> </b>
|
1987
|
+
#
|
1988
|
+
# The list of logical resources that needs to be included in the
|
1989
|
+
# application.
|
1990
|
+
#
|
1991
|
+
# Type: Array
|
1992
|
+
#
|
1993
|
+
# <note markdown="1"> Don't add the resources that you want to exclude.
|
1994
|
+
#
|
1995
|
+
# </note>
|
1996
|
+
#
|
1997
|
+
# Each `resources` array item includes the following fields:
|
1998
|
+
#
|
1999
|
+
# * <i> <code>logicalResourceId</code> </i>
|
2000
|
+
#
|
2001
|
+
# The logical identifier of the resource.
|
2002
|
+
#
|
2003
|
+
# Type: Object
|
2004
|
+
#
|
2005
|
+
# Each `logicalResourceId` object includes the following fields:
|
2006
|
+
#
|
2007
|
+
# * `identifier`
|
2008
|
+
#
|
2009
|
+
# The identifier of the resource.
|
2010
|
+
#
|
2011
|
+
# Type: String
|
2012
|
+
#
|
2013
|
+
# * `logicalStackName`
|
2014
|
+
#
|
2015
|
+
# The name of the CloudFormation stack this resource belongs to.
|
2016
|
+
#
|
2017
|
+
# Type: String
|
2018
|
+
#
|
2019
|
+
# * `resourceGroupName`
|
2020
|
+
#
|
2021
|
+
# The name of the resource group this resource belongs to.
|
2022
|
+
#
|
2023
|
+
# Type: String
|
2024
|
+
#
|
2025
|
+
# * `terraformSourceName`
|
2026
|
+
#
|
2027
|
+
# The name of the Terraform S3 state file this resource belongs
|
2028
|
+
# to.
|
2029
|
+
#
|
2030
|
+
# Type: String
|
2031
|
+
#
|
2032
|
+
# * <i> <code>type</code> </i>
|
2033
|
+
#
|
2034
|
+
# The type of resource.
|
2035
|
+
#
|
2036
|
+
# Type: string
|
2037
|
+
#
|
2038
|
+
# * <i> <code>name</code> </i>
|
2039
|
+
#
|
2040
|
+
# The name of the resource.
|
2041
|
+
#
|
2042
|
+
# Type: String
|
2043
|
+
#
|
2044
|
+
# * <b> <code>appComponents</code> </b>
|
2045
|
+
#
|
2046
|
+
# The list of Application Components that this resource belongs to.
|
2047
|
+
# If an Application Component is not part of the AWS Resilience Hub
|
2048
|
+
# application, it will be added.
|
2049
|
+
#
|
2050
|
+
# Type: Array
|
2051
|
+
#
|
2052
|
+
# Each `appComponents` array item includes the following fields:
|
2053
|
+
#
|
2054
|
+
# * `name`
|
2055
|
+
#
|
2056
|
+
# The name of the Application Component.
|
2057
|
+
#
|
2058
|
+
# Type: String
|
2059
|
+
#
|
2060
|
+
# * `type`
|
2061
|
+
#
|
2062
|
+
# The type of Application Component. For more information about
|
2063
|
+
# the types of Application Component, see [Grouping resources in
|
2064
|
+
# an AppComponent][1].
|
2065
|
+
#
|
2066
|
+
# Type: String
|
2067
|
+
#
|
2068
|
+
# * `resourceNames`
|
2069
|
+
#
|
2070
|
+
# The list of included resources that are assigned to the
|
2071
|
+
# Application Component.
|
2072
|
+
#
|
2073
|
+
# Type: Array of strings
|
2074
|
+
#
|
2075
|
+
# * `additionalInfo`
|
2076
|
+
#
|
2077
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
2078
|
+
# application.
|
2079
|
+
#
|
2080
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a
|
2081
|
+
# string format) of only one failover region and one associated
|
2082
|
+
# account.
|
2083
|
+
#
|
2084
|
+
# Key: `"failover-regions"`
|
2085
|
+
#
|
2086
|
+
# Value: `"[\{"region":"<REGION>",
|
2087
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
2088
|
+
#
|
2089
|
+
# </note>
|
2090
|
+
#
|
2091
|
+
# * <b> <code>excludedResources</code> </b>
|
2092
|
+
#
|
2093
|
+
# The list of logical resource identifiers to be excluded from the
|
2094
|
+
# application.
|
2095
|
+
#
|
2096
|
+
# Type: Array
|
2097
|
+
#
|
2098
|
+
# <note markdown="1"> Don't add the resources that you want to include.
|
2099
|
+
#
|
2100
|
+
# </note>
|
2101
|
+
#
|
2102
|
+
# Each `excludedResources` array item includes the following fields:
|
2103
|
+
#
|
2104
|
+
# * <i> <code>logicalResourceIds</code> </i>
|
2105
|
+
#
|
2106
|
+
# The logical identifier of the resource.
|
2107
|
+
#
|
2108
|
+
# Type: Object
|
2109
|
+
#
|
2110
|
+
# <note markdown="1"> You can configure only one of the following fields:
|
2111
|
+
#
|
2112
|
+
# * `logicalStackName`
|
2113
|
+
#
|
2114
|
+
# * `resourceGroupName`
|
2115
|
+
#
|
2116
|
+
# * `terraformSourceName`
|
2117
|
+
#
|
2118
|
+
# </note>
|
2119
|
+
#
|
2120
|
+
# Each `logicalResourceIds` object includes the following fields:
|
2121
|
+
#
|
2122
|
+
# * `identifier`
|
2123
|
+
#
|
2124
|
+
# The identifier of the resource.
|
2125
|
+
#
|
2126
|
+
# Type: String
|
2127
|
+
#
|
2128
|
+
# * `logicalStackName`
|
2129
|
+
#
|
2130
|
+
# The name of the CloudFormation stack this resource belongs to.
|
2131
|
+
#
|
2132
|
+
# Type: String
|
2133
|
+
#
|
2134
|
+
# * `resourceGroupName`
|
2135
|
+
#
|
2136
|
+
# The name of the resource group this resource belongs to.
|
2137
|
+
#
|
2138
|
+
# Type: String
|
2139
|
+
#
|
2140
|
+
# * `terraformSourceName`
|
2141
|
+
#
|
2142
|
+
# The name of the Terraform S3 state file this resource belongs
|
2143
|
+
# to.
|
2144
|
+
#
|
2145
|
+
# Type: String
|
2146
|
+
#
|
2147
|
+
#
|
2148
|
+
#
|
2149
|
+
# [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
|
1437
2150
|
# @return [String]
|
1438
2151
|
#
|
1439
2152
|
# @!attribute [rw] app_version
|
@@ -1450,19 +2163,12 @@ module Aws::ResilienceHub
|
|
1450
2163
|
include Aws::Structure
|
1451
2164
|
end
|
1452
2165
|
|
1453
|
-
# @note When making an API call, you may pass DescribeDraftAppVersionResourcesImportStatusRequest
|
1454
|
-
# data as a hash:
|
1455
|
-
#
|
1456
|
-
# {
|
1457
|
-
# app_arn: "Arn", # required
|
1458
|
-
# }
|
1459
|
-
#
|
1460
2166
|
# @!attribute [rw] app_arn
|
1461
|
-
# The Amazon Resource Name (ARN) of the
|
1462
|
-
# this ARN is:
|
2167
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2168
|
+
# application. The format for this ARN is:
|
1463
2169
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1464
2170
|
# For more information about ARNs, see [ Amazon Resource Names
|
1465
|
-
# (ARNs)][1] in the *AWS General Reference
|
2171
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1466
2172
|
#
|
1467
2173
|
#
|
1468
2174
|
#
|
@@ -1478,11 +2184,11 @@ module Aws::ResilienceHub
|
|
1478
2184
|
end
|
1479
2185
|
|
1480
2186
|
# @!attribute [rw] app_arn
|
1481
|
-
# The Amazon Resource Name (ARN) of the
|
1482
|
-
# this ARN is:
|
2187
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2188
|
+
# application. The format for this ARN is:
|
1483
2189
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1484
2190
|
# For more information about ARNs, see [ Amazon Resource Names
|
1485
|
-
# (ARNs)][1] in the *AWS General Reference
|
2191
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1486
2192
|
#
|
1487
2193
|
#
|
1488
2194
|
#
|
@@ -1517,19 +2223,12 @@ module Aws::ResilienceHub
|
|
1517
2223
|
include Aws::Structure
|
1518
2224
|
end
|
1519
2225
|
|
1520
|
-
# @note When making an API call, you may pass DescribeResiliencyPolicyRequest
|
1521
|
-
# data as a hash:
|
1522
|
-
#
|
1523
|
-
# {
|
1524
|
-
# policy_arn: "Arn", # required
|
1525
|
-
# }
|
1526
|
-
#
|
1527
2226
|
# @!attribute [rw] policy_arn
|
1528
2227
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1529
2228
|
# for this ARN is:
|
1530
2229
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
1531
2230
|
# For more information about ARNs, see [ Amazon Resource Names
|
1532
|
-
# (ARNs)][1] in the *AWS General Reference
|
2231
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1533
2232
|
#
|
1534
2233
|
#
|
1535
2234
|
#
|
@@ -1621,14 +2320,6 @@ module Aws::ResilienceHub
|
|
1621
2320
|
|
1622
2321
|
# Defines a failure policy.
|
1623
2322
|
#
|
1624
|
-
# @note When making an API call, you may pass FailurePolicy
|
1625
|
-
# data as a hash:
|
1626
|
-
#
|
1627
|
-
# {
|
1628
|
-
# rpo_in_secs: 1, # required
|
1629
|
-
# rto_in_secs: 1, # required
|
1630
|
-
# }
|
1631
|
-
#
|
1632
2323
|
# @!attribute [rw] rpo_in_secs
|
1633
2324
|
# The Recovery Point Objective (RPO), in seconds.
|
1634
2325
|
# @return [Integer]
|
@@ -1646,31 +2337,23 @@ module Aws::ResilienceHub
|
|
1646
2337
|
include Aws::Structure
|
1647
2338
|
end
|
1648
2339
|
|
1649
|
-
# @note When making an API call, you may pass ImportResourcesToDraftAppVersionRequest
|
1650
|
-
# data as a hash:
|
1651
|
-
#
|
1652
|
-
# {
|
1653
|
-
# app_arn: "Arn", # required
|
1654
|
-
# source_arns: ["Arn"],
|
1655
|
-
# terraform_sources: [
|
1656
|
-
# {
|
1657
|
-
# s3_state_file_url: "S3Url", # required
|
1658
|
-
# },
|
1659
|
-
# ],
|
1660
|
-
# }
|
1661
|
-
#
|
1662
2340
|
# @!attribute [rw] app_arn
|
1663
|
-
# The Amazon Resource Name (ARN) of the
|
1664
|
-
# this ARN is:
|
2341
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2342
|
+
# application. The format for this ARN is:
|
1665
2343
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1666
2344
|
# For more information about ARNs, see [ Amazon Resource Names
|
1667
|
-
# (ARNs)][1] in the *AWS General Reference
|
2345
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1668
2346
|
#
|
1669
2347
|
#
|
1670
2348
|
#
|
1671
2349
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1672
2350
|
# @return [String]
|
1673
2351
|
#
|
2352
|
+
# @!attribute [rw] import_strategy
|
2353
|
+
# The import strategy you would like to set to import resources into
|
2354
|
+
# AWS Resilience Hub application.
|
2355
|
+
# @return [String]
|
2356
|
+
#
|
1674
2357
|
# @!attribute [rw] source_arns
|
1675
2358
|
# The Amazon Resource Names (ARNs) for the resources that you want to
|
1676
2359
|
# import.
|
@@ -1684,6 +2367,7 @@ module Aws::ResilienceHub
|
|
1684
2367
|
#
|
1685
2368
|
class ImportResourcesToDraftAppVersionRequest < Struct.new(
|
1686
2369
|
:app_arn,
|
2370
|
+
:import_strategy,
|
1687
2371
|
:source_arns,
|
1688
2372
|
:terraform_sources)
|
1689
2373
|
SENSITIVE = []
|
@@ -1691,11 +2375,11 @@ module Aws::ResilienceHub
|
|
1691
2375
|
end
|
1692
2376
|
|
1693
2377
|
# @!attribute [rw] app_arn
|
1694
|
-
# The Amazon Resource Name (ARN) of the
|
1695
|
-
# this ARN is:
|
2378
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2379
|
+
# application. The format for this ARN is:
|
1696
2380
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1697
2381
|
# For more information about ARNs, see [ Amazon Resource Names
|
1698
|
-
# (ARNs)][1] in the *AWS General Reference
|
2382
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1699
2383
|
#
|
1700
2384
|
#
|
1701
2385
|
#
|
@@ -1745,21 +2429,12 @@ module Aws::ResilienceHub
|
|
1745
2429
|
include Aws::Structure
|
1746
2430
|
end
|
1747
2431
|
|
1748
|
-
# @note When making an API call, you may pass ListAlarmRecommendationsRequest
|
1749
|
-
# data as a hash:
|
1750
|
-
#
|
1751
|
-
# {
|
1752
|
-
# assessment_arn: "Arn", # required
|
1753
|
-
# max_results: 1,
|
1754
|
-
# next_token: "NextToken",
|
1755
|
-
# }
|
1756
|
-
#
|
1757
2432
|
# @!attribute [rw] assessment_arn
|
1758
2433
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1759
2434
|
# this ARN is:
|
1760
2435
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
1761
2436
|
# For more information about ARNs, see [ Amazon Resource Names
|
1762
|
-
# (ARNs)][1] in the *AWS General Reference
|
2437
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1763
2438
|
#
|
1764
2439
|
#
|
1765
2440
|
#
|
@@ -1790,7 +2465,7 @@ module Aws::ResilienceHub
|
|
1790
2465
|
|
1791
2466
|
# @!attribute [rw] alarm_recommendations
|
1792
2467
|
# The alarm recommendations for an AWS Resilience Hub application,
|
1793
|
-
# returned as an object. This object includes
|
2468
|
+
# returned as an object. This object includes Application Component
|
1794
2469
|
# names, descriptions, information about whether a recommendation has
|
1795
2470
|
# already been implemented or not, prerequisites, and more.
|
1796
2471
|
# @return [Array<Types::AlarmRecommendation>]
|
@@ -1809,26 +2484,12 @@ module Aws::ResilienceHub
|
|
1809
2484
|
include Aws::Structure
|
1810
2485
|
end
|
1811
2486
|
|
1812
|
-
# @note When making an API call, you may pass ListAppAssessmentsRequest
|
1813
|
-
# data as a hash:
|
1814
|
-
#
|
1815
|
-
# {
|
1816
|
-
# app_arn: "Arn",
|
1817
|
-
# assessment_name: "EntityName",
|
1818
|
-
# assessment_status: ["Pending"], # accepts Pending, InProgress, Failed, Success
|
1819
|
-
# compliance_status: "PolicyBreached", # accepts PolicyBreached, PolicyMet
|
1820
|
-
# invoker: "User", # accepts User, System
|
1821
|
-
# max_results: 1,
|
1822
|
-
# next_token: "NextToken",
|
1823
|
-
# reverse_order: false,
|
1824
|
-
# }
|
1825
|
-
#
|
1826
2487
|
# @!attribute [rw] app_arn
|
1827
|
-
# The Amazon Resource Name (ARN) of the
|
1828
|
-
# this ARN is:
|
2488
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2489
|
+
# application. The format for this ARN is:
|
1829
2490
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1830
2491
|
# For more information about ARNs, see [ Amazon Resource Names
|
1831
|
-
# (ARNs)][1] in the *AWS General Reference
|
2492
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1832
2493
|
#
|
1833
2494
|
#
|
1834
2495
|
#
|
@@ -1878,59 +2539,162 @@ module Aws::ResilienceHub
|
|
1878
2539
|
:compliance_status,
|
1879
2540
|
:invoker,
|
1880
2541
|
:max_results,
|
1881
|
-
:next_token,
|
1882
|
-
:reverse_order)
|
2542
|
+
:next_token,
|
2543
|
+
:reverse_order)
|
2544
|
+
SENSITIVE = []
|
2545
|
+
include Aws::Structure
|
2546
|
+
end
|
2547
|
+
|
2548
|
+
# @!attribute [rw] assessment_summaries
|
2549
|
+
# The summaries for the specified assessments, returned as an object.
|
2550
|
+
# This object includes application versions, associated Amazon
|
2551
|
+
# Resource Numbers (ARNs), cost, messages, resiliency scores, and
|
2552
|
+
# more.
|
2553
|
+
# @return [Array<Types::AppAssessmentSummary>]
|
2554
|
+
#
|
2555
|
+
# @!attribute [rw] next_token
|
2556
|
+
# The token for the next set of results, or null if there are no more
|
2557
|
+
# results.
|
2558
|
+
# @return [String]
|
2559
|
+
#
|
2560
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessmentsResponse AWS API Documentation
|
2561
|
+
#
|
2562
|
+
class ListAppAssessmentsResponse < Struct.new(
|
2563
|
+
:assessment_summaries,
|
2564
|
+
:next_token)
|
2565
|
+
SENSITIVE = []
|
2566
|
+
include Aws::Structure
|
2567
|
+
end
|
2568
|
+
|
2569
|
+
# @!attribute [rw] assessment_arn
|
2570
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2571
|
+
# this ARN is:
|
2572
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
2573
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
2574
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2575
|
+
#
|
2576
|
+
#
|
2577
|
+
#
|
2578
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2579
|
+
# @return [String]
|
2580
|
+
#
|
2581
|
+
# @!attribute [rw] max_results
|
2582
|
+
# The maximum number of results to include in the response. If more
|
2583
|
+
# results exist than the specified `MaxResults` value, a token is
|
2584
|
+
# included in the response so that the remaining results can be
|
2585
|
+
# retrieved.
|
2586
|
+
# @return [Integer]
|
2587
|
+
#
|
2588
|
+
# @!attribute [rw] next_token
|
2589
|
+
# Null, or the token from a previous call to get the next set of
|
2590
|
+
# results.
|
2591
|
+
# @return [String]
|
2592
|
+
#
|
2593
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliancesRequest AWS API Documentation
|
2594
|
+
#
|
2595
|
+
class ListAppComponentCompliancesRequest < Struct.new(
|
2596
|
+
:assessment_arn,
|
2597
|
+
:max_results,
|
2598
|
+
:next_token)
|
2599
|
+
SENSITIVE = []
|
2600
|
+
include Aws::Structure
|
2601
|
+
end
|
2602
|
+
|
2603
|
+
# @!attribute [rw] component_compliances
|
2604
|
+
# The compliances for an AWS Resilience Hub Application Component,
|
2605
|
+
# returned as an object. This object contains the names of the
|
2606
|
+
# Application Components, compliances, costs, resiliency scores,
|
2607
|
+
# outage scores, and more.
|
2608
|
+
# @return [Array<Types::AppComponentCompliance>]
|
2609
|
+
#
|
2610
|
+
# @!attribute [rw] next_token
|
2611
|
+
# The token for the next set of results, or null if there are no more
|
2612
|
+
# results.
|
2613
|
+
# @return [String]
|
2614
|
+
#
|
2615
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentCompliancesResponse AWS API Documentation
|
2616
|
+
#
|
2617
|
+
class ListAppComponentCompliancesResponse < Struct.new(
|
2618
|
+
:component_compliances,
|
2619
|
+
:next_token)
|
2620
|
+
SENSITIVE = []
|
2621
|
+
include Aws::Structure
|
2622
|
+
end
|
2623
|
+
|
2624
|
+
# @!attribute [rw] assessment_arn
|
2625
|
+
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2626
|
+
# this ARN is:
|
2627
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
2628
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
2629
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
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] max_results
|
2637
|
+
# The maximum number of results to include in the response. If more
|
2638
|
+
# results exist than the specified `MaxResults` value, a token is
|
2639
|
+
# included in the response so that the remaining results can be
|
2640
|
+
# retrieved.
|
2641
|
+
# @return [Integer]
|
2642
|
+
#
|
2643
|
+
# @!attribute [rw] next_token
|
2644
|
+
# Null, or the token from a previous call to get the next set of
|
2645
|
+
# results.
|
2646
|
+
# @return [String]
|
2647
|
+
#
|
2648
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendationsRequest AWS API Documentation
|
2649
|
+
#
|
2650
|
+
class ListAppComponentRecommendationsRequest < Struct.new(
|
2651
|
+
:assessment_arn,
|
2652
|
+
:max_results,
|
2653
|
+
:next_token)
|
1883
2654
|
SENSITIVE = []
|
1884
2655
|
include Aws::Structure
|
1885
2656
|
end
|
1886
2657
|
|
1887
|
-
# @!attribute [rw]
|
1888
|
-
# The
|
1889
|
-
# This object
|
1890
|
-
#
|
1891
|
-
#
|
1892
|
-
# @return [Array<Types::
|
2658
|
+
# @!attribute [rw] component_recommendations
|
2659
|
+
# The recommendations for an AWS Resilience Hub Application Component,
|
2660
|
+
# returned as an object. This object contains the names of the
|
2661
|
+
# Application Components, configuration recommendations, and
|
2662
|
+
# recommendation statuses.
|
2663
|
+
# @return [Array<Types::ComponentRecommendation>]
|
1893
2664
|
#
|
1894
2665
|
# @!attribute [rw] next_token
|
1895
2666
|
# The token for the next set of results, or null if there are no more
|
1896
2667
|
# results.
|
1897
2668
|
# @return [String]
|
1898
2669
|
#
|
1899
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/
|
2670
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppComponentRecommendationsResponse AWS API Documentation
|
1900
2671
|
#
|
1901
|
-
class
|
1902
|
-
:
|
2672
|
+
class ListAppComponentRecommendationsResponse < Struct.new(
|
2673
|
+
:component_recommendations,
|
1903
2674
|
:next_token)
|
1904
2675
|
SENSITIVE = []
|
1905
2676
|
include Aws::Structure
|
1906
2677
|
end
|
1907
2678
|
|
1908
|
-
#
|
1909
|
-
#
|
1910
|
-
#
|
1911
|
-
#
|
1912
|
-
# assessment_arn: "Arn", # required
|
1913
|
-
# max_results: 1,
|
1914
|
-
# next_token: "NextToken",
|
1915
|
-
# }
|
1916
|
-
#
|
1917
|
-
# @!attribute [rw] assessment_arn
|
1918
|
-
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1919
|
-
# this ARN is:
|
1920
|
-
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
2679
|
+
# @!attribute [rw] app_arn
|
2680
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2681
|
+
# application. The format for this ARN is:
|
2682
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1921
2683
|
# For more information about ARNs, see [ Amazon Resource Names
|
1922
|
-
# (ARNs)][1] in the *AWS General Reference
|
2684
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1923
2685
|
#
|
1924
2686
|
#
|
1925
2687
|
#
|
1926
2688
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1927
2689
|
# @return [String]
|
1928
2690
|
#
|
2691
|
+
# @!attribute [rw] app_version
|
2692
|
+
# The AWS Resilience Hub application version.
|
2693
|
+
# @return [String]
|
2694
|
+
#
|
1929
2695
|
# @!attribute [rw] max_results
|
1930
|
-
#
|
1931
|
-
#
|
1932
|
-
# included in the response so that the remaining results can be
|
1933
|
-
# retrieved.
|
2696
|
+
# Maximum number of input sources to be displayed per AWS Resilience
|
2697
|
+
# Hub application.
|
1934
2698
|
# @return [Integer]
|
1935
2699
|
#
|
1936
2700
|
# @!attribute [rw] next_token
|
@@ -1938,62 +2702,54 @@ module Aws::ResilienceHub
|
|
1938
2702
|
# results.
|
1939
2703
|
# @return [String]
|
1940
2704
|
#
|
1941
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/
|
2705
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppInputSourcesRequest AWS API Documentation
|
1942
2706
|
#
|
1943
|
-
class
|
1944
|
-
:
|
2707
|
+
class ListAppInputSourcesRequest < Struct.new(
|
2708
|
+
:app_arn,
|
2709
|
+
:app_version,
|
1945
2710
|
:max_results,
|
1946
2711
|
:next_token)
|
1947
2712
|
SENSITIVE = []
|
1948
2713
|
include Aws::Structure
|
1949
2714
|
end
|
1950
2715
|
|
1951
|
-
# @!attribute [rw]
|
1952
|
-
# The
|
1953
|
-
#
|
1954
|
-
# compliances, costs, resiliency scores, outage scores, and more.
|
1955
|
-
# @return [Array<Types::AppComponentCompliance>]
|
2716
|
+
# @!attribute [rw] app_input_sources
|
2717
|
+
# The list of AWS Resilience Hub application input sources.
|
2718
|
+
# @return [Array<Types::AppInputSource>]
|
1956
2719
|
#
|
1957
2720
|
# @!attribute [rw] next_token
|
1958
2721
|
# The token for the next set of results, or null if there are no more
|
1959
2722
|
# results.
|
1960
2723
|
# @return [String]
|
1961
2724
|
#
|
1962
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/
|
2725
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppInputSourcesResponse AWS API Documentation
|
1963
2726
|
#
|
1964
|
-
class
|
1965
|
-
:
|
2727
|
+
class ListAppInputSourcesResponse < Struct.new(
|
2728
|
+
:app_input_sources,
|
1966
2729
|
:next_token)
|
1967
2730
|
SENSITIVE = []
|
1968
2731
|
include Aws::Structure
|
1969
2732
|
end
|
1970
2733
|
|
1971
|
-
#
|
1972
|
-
#
|
1973
|
-
#
|
1974
|
-
#
|
1975
|
-
# assessment_arn: "Arn", # required
|
1976
|
-
# max_results: 1,
|
1977
|
-
# next_token: "NextToken",
|
1978
|
-
# }
|
1979
|
-
#
|
1980
|
-
# @!attribute [rw] assessment_arn
|
1981
|
-
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1982
|
-
# this ARN is:
|
1983
|
-
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
2734
|
+
# @!attribute [rw] app_arn
|
2735
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2736
|
+
# application. The format for this ARN is:
|
2737
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
1984
2738
|
# For more information about ARNs, see [ Amazon Resource Names
|
1985
|
-
# (ARNs)][1] in the *AWS General Reference
|
2739
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1986
2740
|
#
|
1987
2741
|
#
|
1988
2742
|
#
|
1989
2743
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1990
2744
|
# @return [String]
|
1991
2745
|
#
|
2746
|
+
# @!attribute [rw] app_version
|
2747
|
+
# The version of the Application Component.
|
2748
|
+
# @return [String]
|
2749
|
+
#
|
1992
2750
|
# @!attribute [rw] max_results
|
1993
|
-
#
|
1994
|
-
#
|
1995
|
-
# included in the response so that the remaining results can be
|
1996
|
-
# retrieved.
|
2751
|
+
# Maximum number of Application Components to be displayed per AWS
|
2752
|
+
# Resilience Hub application version.
|
1997
2753
|
# @return [Integer]
|
1998
2754
|
#
|
1999
2755
|
# @!attribute [rw] next_token
|
@@ -2001,52 +2757,59 @@ module Aws::ResilienceHub
|
|
2001
2757
|
# results.
|
2002
2758
|
# @return [String]
|
2003
2759
|
#
|
2004
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/
|
2760
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionAppComponentsRequest AWS API Documentation
|
2005
2761
|
#
|
2006
|
-
class
|
2007
|
-
:
|
2762
|
+
class ListAppVersionAppComponentsRequest < Struct.new(
|
2763
|
+
:app_arn,
|
2764
|
+
:app_version,
|
2008
2765
|
:max_results,
|
2009
2766
|
:next_token)
|
2010
2767
|
SENSITIVE = []
|
2011
2768
|
include Aws::Structure
|
2012
2769
|
end
|
2013
2770
|
|
2014
|
-
# @!attribute [rw]
|
2015
|
-
# The
|
2016
|
-
#
|
2017
|
-
#
|
2018
|
-
#
|
2771
|
+
# @!attribute [rw] app_arn
|
2772
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2773
|
+
# application. The format for this ARN is:
|
2774
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2775
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
2776
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2777
|
+
#
|
2778
|
+
#
|
2779
|
+
#
|
2780
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2781
|
+
# @return [String]
|
2782
|
+
#
|
2783
|
+
# @!attribute [rw] app_components
|
2784
|
+
# Defines an Application Component.
|
2785
|
+
# @return [Array<Types::AppComponent>]
|
2786
|
+
#
|
2787
|
+
# @!attribute [rw] app_version
|
2788
|
+
# The AWS Resilience Hub application version.
|
2789
|
+
# @return [String]
|
2019
2790
|
#
|
2020
2791
|
# @!attribute [rw] next_token
|
2021
2792
|
# The token for the next set of results, or null if there are no more
|
2022
2793
|
# results.
|
2023
2794
|
# @return [String]
|
2024
2795
|
#
|
2025
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/
|
2796
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionAppComponentsResponse AWS API Documentation
|
2026
2797
|
#
|
2027
|
-
class
|
2028
|
-
:
|
2798
|
+
class ListAppVersionAppComponentsResponse < Struct.new(
|
2799
|
+
:app_arn,
|
2800
|
+
:app_components,
|
2801
|
+
:app_version,
|
2029
2802
|
:next_token)
|
2030
2803
|
SENSITIVE = []
|
2031
2804
|
include Aws::Structure
|
2032
2805
|
end
|
2033
2806
|
|
2034
|
-
# @note When making an API call, you may pass ListAppVersionResourceMappingsRequest
|
2035
|
-
# data as a hash:
|
2036
|
-
#
|
2037
|
-
# {
|
2038
|
-
# app_arn: "Arn", # required
|
2039
|
-
# app_version: "EntityVersion", # required
|
2040
|
-
# max_results: 1,
|
2041
|
-
# next_token: "NextToken",
|
2042
|
-
# }
|
2043
|
-
#
|
2044
2807
|
# @!attribute [rw] app_arn
|
2045
|
-
# The Amazon Resource Name (ARN) of the
|
2046
|
-
# this ARN is:
|
2808
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2809
|
+
# application. The format for this ARN is:
|
2047
2810
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2048
2811
|
# For more information about ARNs, see [ Amazon Resource Names
|
2049
|
-
# (ARNs)][1] in the *AWS General Reference
|
2812
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2050
2813
|
#
|
2051
2814
|
#
|
2052
2815
|
#
|
@@ -2103,23 +2866,12 @@ module Aws::ResilienceHub
|
|
2103
2866
|
include Aws::Structure
|
2104
2867
|
end
|
2105
2868
|
|
2106
|
-
# @note When making an API call, you may pass ListAppVersionResourcesRequest
|
2107
|
-
# data as a hash:
|
2108
|
-
#
|
2109
|
-
# {
|
2110
|
-
# app_arn: "Arn", # required
|
2111
|
-
# app_version: "EntityVersion", # required
|
2112
|
-
# max_results: 1,
|
2113
|
-
# next_token: "NextToken",
|
2114
|
-
# resolution_id: "String255",
|
2115
|
-
# }
|
2116
|
-
#
|
2117
2869
|
# @!attribute [rw] app_arn
|
2118
|
-
# The Amazon Resource Name (ARN) of the
|
2119
|
-
# this ARN is:
|
2870
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2871
|
+
# application. The format for this ARN is:
|
2120
2872
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2121
2873
|
# For more information about ARNs, see [ Amazon Resource Names
|
2122
|
-
# (ARNs)][1] in the *AWS General Reference
|
2874
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2123
2875
|
#
|
2124
2876
|
#
|
2125
2877
|
#
|
@@ -2168,7 +2920,7 @@ module Aws::ResilienceHub
|
|
2168
2920
|
# @return [Array<Types::PhysicalResource>]
|
2169
2921
|
#
|
2170
2922
|
# @!attribute [rw] resolution_id
|
2171
|
-
# The
|
2923
|
+
# The ID for a specific resolution.
|
2172
2924
|
# @return [String]
|
2173
2925
|
#
|
2174
2926
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourcesResponse AWS API Documentation
|
@@ -2181,21 +2933,12 @@ module Aws::ResilienceHub
|
|
2181
2933
|
include Aws::Structure
|
2182
2934
|
end
|
2183
2935
|
|
2184
|
-
# @note When making an API call, you may pass ListAppVersionsRequest
|
2185
|
-
# data as a hash:
|
2186
|
-
#
|
2187
|
-
# {
|
2188
|
-
# app_arn: "Arn", # required
|
2189
|
-
# max_results: 1,
|
2190
|
-
# next_token: "NextToken",
|
2191
|
-
# }
|
2192
|
-
#
|
2193
2936
|
# @!attribute [rw] app_arn
|
2194
|
-
# The Amazon Resource Name (ARN) of the
|
2195
|
-
# this ARN is:
|
2937
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2938
|
+
# application. The format for this ARN is:
|
2196
2939
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2197
2940
|
# For more information about ARNs, see [ Amazon Resource Names
|
2198
|
-
# (ARNs)][1] in the *AWS General Reference
|
2941
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2199
2942
|
#
|
2200
2943
|
#
|
2201
2944
|
#
|
@@ -2242,22 +2985,12 @@ module Aws::ResilienceHub
|
|
2242
2985
|
include Aws::Structure
|
2243
2986
|
end
|
2244
2987
|
|
2245
|
-
# @note When making an API call, you may pass ListAppsRequest
|
2246
|
-
# data as a hash:
|
2247
|
-
#
|
2248
|
-
# {
|
2249
|
-
# app_arn: "Arn",
|
2250
|
-
# max_results: 1,
|
2251
|
-
# name: "EntityName",
|
2252
|
-
# next_token: "NextToken",
|
2253
|
-
# }
|
2254
|
-
#
|
2255
2988
|
# @!attribute [rw] app_arn
|
2256
|
-
# The Amazon Resource Name (ARN) of the
|
2257
|
-
# this ARN is:
|
2989
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2990
|
+
# application. The format for this ARN is:
|
2258
2991
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2259
2992
|
# For more information about ARNs, see [ Amazon Resource Names
|
2260
|
-
# (ARNs)][1] in the *AWS General Reference
|
2993
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2261
2994
|
#
|
2262
2995
|
#
|
2263
2996
|
#
|
@@ -2292,7 +3025,7 @@ module Aws::ResilienceHub
|
|
2292
3025
|
end
|
2293
3026
|
|
2294
3027
|
# @!attribute [rw] app_summaries
|
2295
|
-
# Summaries for the Resilience Hub application.
|
3028
|
+
# Summaries for the AWS Resilience Hub application.
|
2296
3029
|
# @return [Array<Types::AppSummary>]
|
2297
3030
|
#
|
2298
3031
|
# @!attribute [rw] next_token
|
@@ -2309,25 +3042,12 @@ module Aws::ResilienceHub
|
|
2309
3042
|
include Aws::Structure
|
2310
3043
|
end
|
2311
3044
|
|
2312
|
-
# @note When making an API call, you may pass ListRecommendationTemplatesRequest
|
2313
|
-
# data as a hash:
|
2314
|
-
#
|
2315
|
-
# {
|
2316
|
-
# assessment_arn: "Arn", # required
|
2317
|
-
# max_results: 1,
|
2318
|
-
# name: "EntityName",
|
2319
|
-
# next_token: "NextToken",
|
2320
|
-
# recommendation_template_arn: "Arn",
|
2321
|
-
# reverse_order: false,
|
2322
|
-
# status: ["Pending"], # accepts Pending, InProgress, Failed, Success
|
2323
|
-
# }
|
2324
|
-
#
|
2325
3045
|
# @!attribute [rw] assessment_arn
|
2326
3046
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2327
3047
|
# this ARN is:
|
2328
3048
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
2329
3049
|
# For more information about ARNs, see [ Amazon Resource Names
|
2330
|
-
# (ARNs)][1] in the *AWS General Reference
|
3050
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2331
3051
|
#
|
2332
3052
|
#
|
2333
3053
|
#
|
@@ -2383,7 +3103,8 @@ module Aws::ResilienceHub
|
|
2383
3103
|
# @return [String]
|
2384
3104
|
#
|
2385
3105
|
# @!attribute [rw] recommendation_templates
|
2386
|
-
# The recommendation templates for the Resilience Hub
|
3106
|
+
# The recommendation templates for the AWS Resilience Hub
|
3107
|
+
# applications.
|
2387
3108
|
# @return [Array<Types::RecommendationTemplate>]
|
2388
3109
|
#
|
2389
3110
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListRecommendationTemplatesResponse AWS API Documentation
|
@@ -2395,15 +3116,6 @@ module Aws::ResilienceHub
|
|
2395
3116
|
include Aws::Structure
|
2396
3117
|
end
|
2397
3118
|
|
2398
|
-
# @note When making an API call, you may pass ListResiliencyPoliciesRequest
|
2399
|
-
# data as a hash:
|
2400
|
-
#
|
2401
|
-
# {
|
2402
|
-
# max_results: 1,
|
2403
|
-
# next_token: "NextToken",
|
2404
|
-
# policy_name: "EntityName",
|
2405
|
-
# }
|
2406
|
-
#
|
2407
3119
|
# @!attribute [rw] max_results
|
2408
3120
|
# The maximum number of results to include in the response. If more
|
2409
3121
|
# results exist than the specified `MaxResults` value, a token is
|
@@ -2436,7 +3148,7 @@ module Aws::ResilienceHub
|
|
2436
3148
|
# @return [String]
|
2437
3149
|
#
|
2438
3150
|
# @!attribute [rw] resiliency_policies
|
2439
|
-
# The resiliency policies for the Resilience Hub applications.
|
3151
|
+
# The resiliency policies for the AWS Resilience Hub applications.
|
2440
3152
|
# @return [Array<Types::ResiliencyPolicy>]
|
2441
3153
|
#
|
2442
3154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResiliencyPoliciesResponse AWS API Documentation
|
@@ -2448,21 +3160,12 @@ module Aws::ResilienceHub
|
|
2448
3160
|
include Aws::Structure
|
2449
3161
|
end
|
2450
3162
|
|
2451
|
-
# @note When making an API call, you may pass ListSopRecommendationsRequest
|
2452
|
-
# data as a hash:
|
2453
|
-
#
|
2454
|
-
# {
|
2455
|
-
# assessment_arn: "Arn", # required
|
2456
|
-
# max_results: 1,
|
2457
|
-
# next_token: "NextToken",
|
2458
|
-
# }
|
2459
|
-
#
|
2460
3163
|
# @!attribute [rw] assessment_arn
|
2461
3164
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2462
3165
|
# this ARN is:
|
2463
3166
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
2464
3167
|
# For more information about ARNs, see [ Amazon Resource Names
|
2465
|
-
# (ARNs)][1] in the *AWS General Reference
|
3168
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2466
3169
|
#
|
2467
3170
|
#
|
2468
3171
|
#
|
@@ -2497,7 +3200,7 @@ module Aws::ResilienceHub
|
|
2497
3200
|
# @return [String]
|
2498
3201
|
#
|
2499
3202
|
# @!attribute [rw] sop_recommendations
|
2500
|
-
# The standard operating procedure (SOP) recommendations for the
|
3203
|
+
# The standard operating procedure (SOP) recommendations for the AWS
|
2501
3204
|
# Resilience Hub applications.
|
2502
3205
|
# @return [Array<Types::SopRecommendation>]
|
2503
3206
|
#
|
@@ -2510,14 +3213,6 @@ module Aws::ResilienceHub
|
|
2510
3213
|
include Aws::Structure
|
2511
3214
|
end
|
2512
3215
|
|
2513
|
-
# @note When making an API call, you may pass ListSuggestedResiliencyPoliciesRequest
|
2514
|
-
# data as a hash:
|
2515
|
-
#
|
2516
|
-
# {
|
2517
|
-
# max_results: 1,
|
2518
|
-
# next_token: "NextToken",
|
2519
|
-
# }
|
2520
|
-
#
|
2521
3216
|
# @!attribute [rw] max_results
|
2522
3217
|
# The maximum number of results to include in the response. If more
|
2523
3218
|
# results exist than the specified `MaxResults` value, a token is
|
@@ -2545,7 +3240,7 @@ module Aws::ResilienceHub
|
|
2545
3240
|
# @return [String]
|
2546
3241
|
#
|
2547
3242
|
# @!attribute [rw] resiliency_policies
|
2548
|
-
# The suggested resiliency policies for the Resilience Hub
|
3243
|
+
# The suggested resiliency policies for the AWS Resilience Hub
|
2549
3244
|
# applications.
|
2550
3245
|
# @return [Array<Types::ResiliencyPolicy>]
|
2551
3246
|
#
|
@@ -2558,15 +3253,8 @@ module Aws::ResilienceHub
|
|
2558
3253
|
include Aws::Structure
|
2559
3254
|
end
|
2560
3255
|
|
2561
|
-
# @note When making an API call, you may pass ListTagsForResourceRequest
|
2562
|
-
# data as a hash:
|
2563
|
-
#
|
2564
|
-
# {
|
2565
|
-
# resource_arn: "Arn", # required
|
2566
|
-
# }
|
2567
|
-
#
|
2568
3256
|
# @!attribute [rw] resource_arn
|
2569
|
-
# The Amazon Resource Name (ARN) for a specific resource in your
|
3257
|
+
# The Amazon Resource Name (ARN) for a specific resource in your AWS
|
2570
3258
|
# Resilience Hub application.
|
2571
3259
|
# @return [String]
|
2572
3260
|
#
|
@@ -2592,21 +3280,12 @@ module Aws::ResilienceHub
|
|
2592
3280
|
include Aws::Structure
|
2593
3281
|
end
|
2594
3282
|
|
2595
|
-
# @note When making an API call, you may pass ListTestRecommendationsRequest
|
2596
|
-
# data as a hash:
|
2597
|
-
#
|
2598
|
-
# {
|
2599
|
-
# assessment_arn: "Arn", # required
|
2600
|
-
# max_results: 1,
|
2601
|
-
# next_token: "NextToken",
|
2602
|
-
# }
|
2603
|
-
#
|
2604
3283
|
# @!attribute [rw] assessment_arn
|
2605
3284
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2606
3285
|
# this ARN is:
|
2607
3286
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
2608
3287
|
# For more information about ARNs, see [ Amazon Resource Names
|
2609
|
-
# (ARNs)][1] in the *AWS General Reference
|
3288
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2610
3289
|
#
|
2611
3290
|
#
|
2612
3291
|
#
|
@@ -2641,7 +3320,7 @@ module Aws::ResilienceHub
|
|
2641
3320
|
# @return [String]
|
2642
3321
|
#
|
2643
3322
|
# @!attribute [rw] test_recommendations
|
2644
|
-
# The test recommendations for the Resilience Hub application.
|
3323
|
+
# The test recommendations for the AWS Resilience Hub application.
|
2645
3324
|
# @return [Array<Types::TestRecommendation>]
|
2646
3325
|
#
|
2647
3326
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListTestRecommendationsResponse AWS API Documentation
|
@@ -2653,23 +3332,12 @@ module Aws::ResilienceHub
|
|
2653
3332
|
include Aws::Structure
|
2654
3333
|
end
|
2655
3334
|
|
2656
|
-
# @note When making an API call, you may pass ListUnsupportedAppVersionResourcesRequest
|
2657
|
-
# data as a hash:
|
2658
|
-
#
|
2659
|
-
# {
|
2660
|
-
# app_arn: "Arn", # required
|
2661
|
-
# app_version: "EntityVersion", # required
|
2662
|
-
# max_results: 1,
|
2663
|
-
# next_token: "NextToken",
|
2664
|
-
# resolution_id: "String255",
|
2665
|
-
# }
|
2666
|
-
#
|
2667
3335
|
# @!attribute [rw] app_arn
|
2668
|
-
# The Amazon Resource Name (ARN) of the
|
2669
|
-
# this ARN is:
|
3336
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3337
|
+
# application. The format for this ARN is:
|
2670
3338
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2671
3339
|
# For more information about ARNs, see [ Amazon Resource Names
|
2672
|
-
# (ARNs)][1] in the *AWS General Reference
|
3340
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2673
3341
|
#
|
2674
3342
|
#
|
2675
3343
|
#
|
@@ -2762,12 +3430,31 @@ module Aws::ResilienceHub
|
|
2762
3430
|
|
2763
3431
|
# Defines a physical resource. A physical resource is a resource that
|
2764
3432
|
# exists in your account. It can be identified using an Amazon Resource
|
2765
|
-
# Name (ARN) or
|
3433
|
+
# Name (ARN) or an AWS Resilience Hub-native identifier.
|
3434
|
+
#
|
3435
|
+
# @!attribute [rw] additional_info
|
3436
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
3437
|
+
# application.
|
3438
|
+
#
|
3439
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
|
3440
|
+
# format) of only one failover region and one associated account.
|
3441
|
+
#
|
3442
|
+
# Key: `"failover-regions"`
|
3443
|
+
#
|
3444
|
+
# Value: `"[\{"region":"<REGION>",
|
3445
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
3446
|
+
#
|
3447
|
+
# </note>
|
3448
|
+
# @return [Hash<String,Array<String>>]
|
2766
3449
|
#
|
2767
3450
|
# @!attribute [rw] app_components
|
2768
3451
|
# The application components that belong to this resource.
|
2769
3452
|
# @return [Array<Types::AppComponent>]
|
2770
3453
|
#
|
3454
|
+
# @!attribute [rw] excluded
|
3455
|
+
# Indicates if a resource is included or excluded from the assessment.
|
3456
|
+
# @return [Boolean]
|
3457
|
+
#
|
2771
3458
|
# @!attribute [rw] logical_resource_id
|
2772
3459
|
# The logical identifier of the resource.
|
2773
3460
|
# @return [Types::LogicalResourceId]
|
@@ -2787,7 +3474,9 @@ module Aws::ResilienceHub
|
|
2787
3474
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PhysicalResource AWS API Documentation
|
2788
3475
|
#
|
2789
3476
|
class PhysicalResource < Struct.new(
|
3477
|
+
:additional_info,
|
2790
3478
|
:app_components,
|
3479
|
+
:excluded,
|
2791
3480
|
:logical_resource_id,
|
2792
3481
|
:physical_resource_id,
|
2793
3482
|
:resource_name,
|
@@ -2798,126 +3487,271 @@ module Aws::ResilienceHub
|
|
2798
3487
|
|
2799
3488
|
# Defines a physical resource identifier.
|
2800
3489
|
#
|
2801
|
-
#
|
2802
|
-
#
|
3490
|
+
# @!attribute [rw] aws_account_id
|
3491
|
+
# The Amazon Web Services account that owns the physical resource.
|
3492
|
+
# @return [String]
|
3493
|
+
#
|
3494
|
+
# @!attribute [rw] aws_region
|
3495
|
+
# The Amazon Web Services Region that the physical resource is located
|
3496
|
+
# in.
|
3497
|
+
# @return [String]
|
3498
|
+
#
|
3499
|
+
# @!attribute [rw] identifier
|
3500
|
+
# The identifier of the physical resource.
|
3501
|
+
# @return [String]
|
3502
|
+
#
|
3503
|
+
# @!attribute [rw] type
|
3504
|
+
# Specifies the type of physical resource identifier.
|
3505
|
+
#
|
3506
|
+
# Arn
|
3507
|
+
#
|
3508
|
+
# : The resource identifier is an Amazon Resource Name (ARN) .
|
3509
|
+
#
|
3510
|
+
# Native
|
3511
|
+
#
|
3512
|
+
# : The resource identifier is an AWS Resilience Hub-native
|
3513
|
+
# identifier.
|
3514
|
+
# @return [String]
|
3515
|
+
#
|
3516
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PhysicalResourceId AWS API Documentation
|
3517
|
+
#
|
3518
|
+
class PhysicalResourceId < Struct.new(
|
3519
|
+
:aws_account_id,
|
3520
|
+
:aws_region,
|
3521
|
+
:identifier,
|
3522
|
+
:type)
|
3523
|
+
SENSITIVE = []
|
3524
|
+
include Aws::Structure
|
3525
|
+
end
|
3526
|
+
|
3527
|
+
# @!attribute [rw] app_arn
|
3528
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3529
|
+
# application. The format for this ARN is:
|
3530
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
3531
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
3532
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3533
|
+
#
|
3534
|
+
#
|
3535
|
+
#
|
3536
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3537
|
+
# @return [String]
|
3538
|
+
#
|
3539
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersionRequest AWS API Documentation
|
3540
|
+
#
|
3541
|
+
class PublishAppVersionRequest < Struct.new(
|
3542
|
+
:app_arn)
|
3543
|
+
SENSITIVE = []
|
3544
|
+
include Aws::Structure
|
3545
|
+
end
|
3546
|
+
|
3547
|
+
# @!attribute [rw] app_arn
|
3548
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3549
|
+
# application. The format for this ARN is:
|
3550
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
3551
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
3552
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3553
|
+
#
|
3554
|
+
#
|
3555
|
+
#
|
3556
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3557
|
+
# @return [String]
|
3558
|
+
#
|
3559
|
+
# @!attribute [rw] app_version
|
3560
|
+
# The version of the application.
|
3561
|
+
# @return [String]
|
3562
|
+
#
|
3563
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersionResponse AWS API Documentation
|
3564
|
+
#
|
3565
|
+
class PublishAppVersionResponse < Struct.new(
|
3566
|
+
:app_arn,
|
3567
|
+
:app_version)
|
3568
|
+
SENSITIVE = []
|
3569
|
+
include Aws::Structure
|
3570
|
+
end
|
3571
|
+
|
3572
|
+
# @!attribute [rw] app_arn
|
3573
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3574
|
+
# application. The format for this ARN is:
|
3575
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
3576
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
3577
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3578
|
+
#
|
3579
|
+
#
|
3580
|
+
#
|
3581
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3582
|
+
# @return [String]
|
3583
|
+
#
|
3584
|
+
# @!attribute [rw] app_template_body
|
3585
|
+
# A JSON string that provides information about your application
|
3586
|
+
# structure. To learn more about the `appTemplateBody` template, see
|
3587
|
+
# the sample template provided in the *Examples* section.
|
3588
|
+
#
|
3589
|
+
# The `appTemplateBody` JSON string has the following structure:
|
3590
|
+
#
|
3591
|
+
# * <b> <code>resources</code> </b>
|
3592
|
+
#
|
3593
|
+
# The list of logical resources that needs to be included in the
|
3594
|
+
# application.
|
3595
|
+
#
|
3596
|
+
# Type: Array
|
3597
|
+
#
|
3598
|
+
# <note markdown="1"> Don't add the resources that you want to exclude.
|
3599
|
+
#
|
3600
|
+
# </note>
|
3601
|
+
#
|
3602
|
+
# Each `resources` array item includes the following fields:
|
3603
|
+
#
|
3604
|
+
# * <i> <code>logicalResourceId</code> </i>
|
3605
|
+
#
|
3606
|
+
# The logical identifier of the resource.
|
3607
|
+
#
|
3608
|
+
# Type: Object
|
3609
|
+
#
|
3610
|
+
# Each `logicalResourceId` object includes the following fields:
|
3611
|
+
#
|
3612
|
+
# * `identifier`
|
3613
|
+
#
|
3614
|
+
# The identifier of the resource.
|
3615
|
+
#
|
3616
|
+
# Type: String
|
3617
|
+
#
|
3618
|
+
# * `logicalStackName`
|
3619
|
+
#
|
3620
|
+
# The name of the CloudFormation stack this resource belongs to.
|
3621
|
+
#
|
3622
|
+
# Type: String
|
3623
|
+
#
|
3624
|
+
# * `resourceGroupName`
|
3625
|
+
#
|
3626
|
+
# The name of the resource group this resource belongs to.
|
3627
|
+
#
|
3628
|
+
# Type: String
|
3629
|
+
#
|
3630
|
+
# * `terraformSourceName`
|
3631
|
+
#
|
3632
|
+
# The name of the Terraform S3 state file this resource belongs
|
3633
|
+
# to.
|
3634
|
+
#
|
3635
|
+
# Type: String
|
3636
|
+
#
|
3637
|
+
# * <i> <code>type</code> </i>
|
3638
|
+
#
|
3639
|
+
# The type of resource.
|
3640
|
+
#
|
3641
|
+
# Type: string
|
3642
|
+
#
|
3643
|
+
# * <i> <code>name</code> </i>
|
3644
|
+
#
|
3645
|
+
# The name of the resource.
|
3646
|
+
#
|
3647
|
+
# Type: String
|
3648
|
+
#
|
3649
|
+
# * <b> <code>appComponents</code> </b>
|
3650
|
+
#
|
3651
|
+
# The list of Application Components that this resource belongs to.
|
3652
|
+
# If an Application Component is not part of the AWS Resilience Hub
|
3653
|
+
# application, it will be added.
|
3654
|
+
#
|
3655
|
+
# Type: Array
|
3656
|
+
#
|
3657
|
+
# Each `appComponents` array item includes the following fields:
|
3658
|
+
#
|
3659
|
+
# * `name`
|
3660
|
+
#
|
3661
|
+
# The name of the Application Component.
|
3662
|
+
#
|
3663
|
+
# Type: String
|
3664
|
+
#
|
3665
|
+
# * `type`
|
3666
|
+
#
|
3667
|
+
# The type of Application Component. For more information about
|
3668
|
+
# the types of Application Component, see [Grouping resources in
|
3669
|
+
# an AppComponent][1].
|
3670
|
+
#
|
3671
|
+
# Type: String
|
3672
|
+
#
|
3673
|
+
# * `resourceNames`
|
3674
|
+
#
|
3675
|
+
# The list of included resources that are assigned to the
|
3676
|
+
# Application Component.
|
3677
|
+
#
|
3678
|
+
# Type: Array of strings
|
3679
|
+
#
|
3680
|
+
# * `additionalInfo`
|
3681
|
+
#
|
3682
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
3683
|
+
# application.
|
3684
|
+
#
|
3685
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a
|
3686
|
+
# string format) of only one failover region and one associated
|
3687
|
+
# account.
|
3688
|
+
#
|
3689
|
+
# Key: `"failover-regions"`
|
3690
|
+
#
|
3691
|
+
# Value: `"[\{"region":"<REGION>",
|
3692
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
3693
|
+
#
|
3694
|
+
# </note>
|
2803
3695
|
#
|
2804
|
-
#
|
2805
|
-
# aws_account_id: "CustomerId",
|
2806
|
-
# aws_region: "AwsRegion",
|
2807
|
-
# identifier: "String255", # required
|
2808
|
-
# type: "Arn", # required, accepts Arn, Native
|
2809
|
-
# }
|
3696
|
+
# * <b> <code>excludedResources</code> </b>
|
2810
3697
|
#
|
2811
|
-
#
|
2812
|
-
#
|
2813
|
-
# @return [String]
|
3698
|
+
# The list of logical resource identifiers to be excluded from the
|
3699
|
+
# application.
|
2814
3700
|
#
|
2815
|
-
#
|
2816
|
-
# The Amazon Web Services Region that the physical resource is located
|
2817
|
-
# in.
|
2818
|
-
# @return [String]
|
3701
|
+
# Type: Array
|
2819
3702
|
#
|
2820
|
-
#
|
2821
|
-
# The identifier of the physical resource.
|
2822
|
-
# @return [String]
|
3703
|
+
# <note markdown="1"> Don't add the resources that you want to include.
|
2823
3704
|
#
|
2824
|
-
#
|
2825
|
-
# Specifies the type of physical resource identifier.
|
3705
|
+
# </note>
|
2826
3706
|
#
|
2827
|
-
#
|
3707
|
+
# Each `excludedResources` array item includes the following fields:
|
2828
3708
|
#
|
2829
|
-
#
|
3709
|
+
# * <i> <code>logicalResourceIds</code> </i>
|
2830
3710
|
#
|
2831
|
-
#
|
3711
|
+
# The logical identifier of the resource.
|
2832
3712
|
#
|
2833
|
-
#
|
2834
|
-
# @return [String]
|
3713
|
+
# Type: Object
|
2835
3714
|
#
|
2836
|
-
#
|
3715
|
+
# <note markdown="1"> You can configure only one of the following fields:
|
2837
3716
|
#
|
2838
|
-
|
2839
|
-
:aws_account_id,
|
2840
|
-
:aws_region,
|
2841
|
-
:identifier,
|
2842
|
-
:type)
|
2843
|
-
SENSITIVE = []
|
2844
|
-
include Aws::Structure
|
2845
|
-
end
|
2846
|
-
|
2847
|
-
# @note When making an API call, you may pass PublishAppVersionRequest
|
2848
|
-
# data as a hash:
|
3717
|
+
# * `logicalStackName`
|
2849
3718
|
#
|
2850
|
-
#
|
2851
|
-
# app_arn: "Arn", # required
|
2852
|
-
# }
|
3719
|
+
# * `resourceGroupName`
|
2853
3720
|
#
|
2854
|
-
#
|
2855
|
-
# The Amazon Resource Name (ARN) of the application. The format for
|
2856
|
-
# this ARN is:
|
2857
|
-
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2858
|
-
# For more information about ARNs, see [ Amazon Resource Names
|
2859
|
-
# (ARNs)][1] in the *AWS General Reference*.
|
3721
|
+
# * `terraformSourceName`
|
2860
3722
|
#
|
3723
|
+
# </note>
|
2861
3724
|
#
|
3725
|
+
# Each `logicalResourceIds` object includes the following fields:
|
2862
3726
|
#
|
2863
|
-
#
|
2864
|
-
# @return [String]
|
3727
|
+
# * `identifier`
|
2865
3728
|
#
|
2866
|
-
#
|
3729
|
+
# The identifier of the resource.
|
2867
3730
|
#
|
2868
|
-
|
2869
|
-
:app_arn)
|
2870
|
-
SENSITIVE = []
|
2871
|
-
include Aws::Structure
|
2872
|
-
end
|
2873
|
-
|
2874
|
-
# @!attribute [rw] app_arn
|
2875
|
-
# The Amazon Resource Name (ARN) of the application. The format for
|
2876
|
-
# this ARN is:
|
2877
|
-
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2878
|
-
# For more information about ARNs, see [ Amazon Resource Names
|
2879
|
-
# (ARNs)][1] in the *AWS General Reference*.
|
3731
|
+
# Type: String
|
2880
3732
|
#
|
3733
|
+
# * `logicalStackName`
|
2881
3734
|
#
|
3735
|
+
# The name of the CloudFormation stack this resource belongs to.
|
2882
3736
|
#
|
2883
|
-
#
|
2884
|
-
# @return [String]
|
3737
|
+
# Type: String
|
2885
3738
|
#
|
2886
|
-
#
|
2887
|
-
# The version of the application.
|
2888
|
-
# @return [String]
|
3739
|
+
# * `resourceGroupName`
|
2889
3740
|
#
|
2890
|
-
#
|
3741
|
+
# The name of the resource group this resource belongs to.
|
2891
3742
|
#
|
2892
|
-
|
2893
|
-
:app_arn,
|
2894
|
-
:app_version)
|
2895
|
-
SENSITIVE = []
|
2896
|
-
include Aws::Structure
|
2897
|
-
end
|
2898
|
-
|
2899
|
-
# @note When making an API call, you may pass PutDraftAppVersionTemplateRequest
|
2900
|
-
# data as a hash:
|
3743
|
+
# Type: String
|
2901
3744
|
#
|
2902
|
-
#
|
2903
|
-
# app_arn: "Arn", # required
|
2904
|
-
# app_template_body: "AppTemplateBody", # required
|
2905
|
-
# }
|
3745
|
+
# * `terraformSourceName`
|
2906
3746
|
#
|
2907
|
-
#
|
2908
|
-
#
|
2909
|
-
# this ARN is:
|
2910
|
-
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2911
|
-
# For more information about ARNs, see [ Amazon Resource Names
|
2912
|
-
# (ARNs)][1] in the *AWS General Reference*.
|
3747
|
+
# The name of the Terraform S3 state file this resource belongs
|
3748
|
+
# to.
|
2913
3749
|
#
|
3750
|
+
# Type: String
|
2914
3751
|
#
|
2915
3752
|
#
|
2916
|
-
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2917
|
-
# @return [String]
|
2918
3753
|
#
|
2919
|
-
#
|
2920
|
-
# A JSON string that contains the body of the app template.
|
3754
|
+
# [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
|
2921
3755
|
# @return [String]
|
2922
3756
|
#
|
2923
3757
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PutDraftAppVersionTemplateRequest AWS API Documentation
|
@@ -2930,11 +3764,11 @@ module Aws::ResilienceHub
|
|
2930
3764
|
end
|
2931
3765
|
|
2932
3766
|
# @!attribute [rw] app_arn
|
2933
|
-
# The Amazon Resource Name (ARN) of the
|
2934
|
-
# this ARN is:
|
3767
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3768
|
+
# application. The format for this ARN is:
|
2935
3769
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2936
3770
|
# For more information about ARNs, see [ Amazon Resource Names
|
2937
|
-
# (ARNs)][1] in the *AWS General Reference
|
3771
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2938
3772
|
#
|
2939
3773
|
#
|
2940
3774
|
#
|
@@ -3026,11 +3860,11 @@ module Aws::ResilienceHub
|
|
3026
3860
|
# CreateRecommendationTemplate action.
|
3027
3861
|
#
|
3028
3862
|
# @!attribute [rw] app_arn
|
3029
|
-
# The Amazon Resource Name (ARN) of the
|
3030
|
-
# this ARN is:
|
3863
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3864
|
+
# application. The format for this ARN is:
|
3031
3865
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
3032
3866
|
# For more information about ARNs, see [ Amazon Resource Names
|
3033
|
-
# (ARNs)][1] in the *AWS General Reference
|
3867
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3034
3868
|
#
|
3035
3869
|
#
|
3036
3870
|
#
|
@@ -3042,7 +3876,7 @@ module Aws::ResilienceHub
|
|
3042
3876
|
# this ARN is:
|
3043
3877
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app-assessment/`app-id`.
|
3044
3878
|
# For more information about ARNs, see [ Amazon Resource Names
|
3045
|
-
# (ARNs)][1] in the *AWS General Reference
|
3879
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3046
3880
|
#
|
3047
3881
|
#
|
3048
3882
|
#
|
@@ -3142,24 +3976,12 @@ module Aws::ResilienceHub
|
|
3142
3976
|
include Aws::Structure
|
3143
3977
|
end
|
3144
3978
|
|
3145
|
-
# @note When making an API call, you may pass RemoveDraftAppVersionResourceMappingsRequest
|
3146
|
-
# data as a hash:
|
3147
|
-
#
|
3148
|
-
# {
|
3149
|
-
# app_arn: "Arn", # required
|
3150
|
-
# app_registry_app_names: ["EntityName"],
|
3151
|
-
# logical_stack_names: ["String255"],
|
3152
|
-
# resource_group_names: ["EntityName"],
|
3153
|
-
# resource_names: ["EntityName"],
|
3154
|
-
# terraform_source_names: ["String255"],
|
3155
|
-
# }
|
3156
|
-
#
|
3157
3979
|
# @!attribute [rw] app_arn
|
3158
|
-
# The Amazon Resource Name (ARN) of the
|
3159
|
-
# this ARN is:
|
3980
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3981
|
+
# application. The format for this ARN is:
|
3160
3982
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
3161
3983
|
# For more information about ARNs, see [ Amazon Resource Names
|
3162
|
-
# (ARNs)][1] in the *AWS General Reference
|
3984
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3163
3985
|
#
|
3164
3986
|
#
|
3165
3987
|
#
|
@@ -3167,26 +3989,28 @@ module Aws::ResilienceHub
|
|
3167
3989
|
# @return [String]
|
3168
3990
|
#
|
3169
3991
|
# @!attribute [rw] app_registry_app_names
|
3170
|
-
# The names of the registered applications to remove from the
|
3171
|
-
# mappings.
|
3992
|
+
# The names of the registered applications you want to remove from the
|
3993
|
+
# resource mappings.
|
3172
3994
|
# @return [Array<String>]
|
3173
3995
|
#
|
3174
3996
|
# @!attribute [rw] logical_stack_names
|
3175
|
-
# The names of the CloudFormation stacks to remove from the
|
3176
|
-
# mappings.
|
3997
|
+
# The names of the CloudFormation stacks you want to remove from the
|
3998
|
+
# resource mappings.
|
3177
3999
|
# @return [Array<String>]
|
3178
4000
|
#
|
3179
4001
|
# @!attribute [rw] resource_group_names
|
3180
|
-
# The names of the resource groups to remove from the
|
3181
|
-
# mappings.
|
4002
|
+
# The names of the resource groups you want to remove from the
|
4003
|
+
# resource mappings.
|
3182
4004
|
# @return [Array<String>]
|
3183
4005
|
#
|
3184
4006
|
# @!attribute [rw] resource_names
|
3185
|
-
# The names of the resources to remove from the resource
|
4007
|
+
# The names of the resources you want to remove from the resource
|
4008
|
+
# mappings.
|
3186
4009
|
# @return [Array<String>]
|
3187
4010
|
#
|
3188
4011
|
# @!attribute [rw] terraform_source_names
|
3189
|
-
#
|
4012
|
+
# The names of the Terraform sources you want to remove from the
|
4013
|
+
# resource mappings.
|
3190
4014
|
# @return [Array<String>]
|
3191
4015
|
#
|
3192
4016
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappingsRequest AWS API Documentation
|
@@ -3203,11 +4027,11 @@ module Aws::ResilienceHub
|
|
3203
4027
|
end
|
3204
4028
|
|
3205
4029
|
# @!attribute [rw] app_arn
|
3206
|
-
# The Amazon Resource Name (ARN) of the
|
3207
|
-
# this ARN is:
|
4030
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4031
|
+
# application. The format for this ARN is:
|
3208
4032
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
3209
4033
|
# For more information about ARNs, see [ Amazon Resource Names
|
3210
|
-
# (ARNs)][1] in the *AWS General Reference
|
4034
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3211
4035
|
#
|
3212
4036
|
#
|
3213
4037
|
#
|
@@ -3251,7 +4075,7 @@ module Aws::ResilienceHub
|
|
3251
4075
|
# for this ARN is:
|
3252
4076
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
3253
4077
|
# For more information about ARNs, see [ Amazon Resource Names
|
3254
|
-
# (ARNs)][1] in the *AWS General Reference
|
4078
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3255
4079
|
#
|
3256
4080
|
#
|
3257
4081
|
#
|
@@ -3313,20 +4137,12 @@ module Aws::ResilienceHub
|
|
3313
4137
|
include Aws::Structure
|
3314
4138
|
end
|
3315
4139
|
|
3316
|
-
# @note When making an API call, you may pass ResolveAppVersionResourcesRequest
|
3317
|
-
# data as a hash:
|
3318
|
-
#
|
3319
|
-
# {
|
3320
|
-
# app_arn: "Arn", # required
|
3321
|
-
# app_version: "EntityVersion", # required
|
3322
|
-
# }
|
3323
|
-
#
|
3324
4140
|
# @!attribute [rw] app_arn
|
3325
|
-
# The Amazon Resource Name (ARN) of the
|
3326
|
-
# this ARN is:
|
4141
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4142
|
+
# application. The format for this ARN is:
|
3327
4143
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
3328
4144
|
# For more information about ARNs, see [ Amazon Resource Names
|
3329
|
-
# (ARNs)][1] in the *AWS General Reference
|
4145
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3330
4146
|
#
|
3331
4147
|
#
|
3332
4148
|
#
|
@@ -3347,11 +4163,11 @@ module Aws::ResilienceHub
|
|
3347
4163
|
end
|
3348
4164
|
|
3349
4165
|
# @!attribute [rw] app_arn
|
3350
|
-
# The Amazon Resource Name (ARN) of the
|
3351
|
-
# this ARN is:
|
4166
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4167
|
+
# application. The format for this ARN is:
|
3352
4168
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
3353
4169
|
# For more information about ARNs, see [ Amazon Resource Names
|
3354
|
-
# (ARNs)][1] in the *AWS General Reference
|
4170
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3355
4171
|
#
|
3356
4172
|
#
|
3357
4173
|
#
|
@@ -3427,24 +4243,6 @@ module Aws::ResilienceHub
|
|
3427
4243
|
|
3428
4244
|
# Defines a resource mapping.
|
3429
4245
|
#
|
3430
|
-
# @note When making an API call, you may pass ResourceMapping
|
3431
|
-
# data as a hash:
|
3432
|
-
#
|
3433
|
-
# {
|
3434
|
-
# app_registry_app_name: "EntityName",
|
3435
|
-
# logical_stack_name: "String255",
|
3436
|
-
# mapping_type: "CfnStack", # required, accepts CfnStack, Resource, AppRegistryApp, ResourceGroup, Terraform
|
3437
|
-
# physical_resource_id: { # required
|
3438
|
-
# aws_account_id: "CustomerId",
|
3439
|
-
# aws_region: "AwsRegion",
|
3440
|
-
# identifier: "String255", # required
|
3441
|
-
# type: "Arn", # required, accepts Arn, Native
|
3442
|
-
# },
|
3443
|
-
# resource_group_name: "EntityName",
|
3444
|
-
# resource_name: "EntityName",
|
3445
|
-
# terraform_source_name: "String255",
|
3446
|
-
# }
|
3447
|
-
#
|
3448
4246
|
# @!attribute [rw] app_registry_app_name
|
3449
4247
|
# The name of the application this resource is mapped to.
|
3450
4248
|
# @return [String]
|
@@ -3508,7 +4306,7 @@ module Aws::ResilienceHub
|
|
3508
4306
|
include Aws::Structure
|
3509
4307
|
end
|
3510
4308
|
|
3511
|
-
#
|
4309
|
+
# This exception occurs when the specified resource could not be found.
|
3512
4310
|
#
|
3513
4311
|
# @!attribute [rw] message
|
3514
4312
|
# @return [String]
|
@@ -3550,9 +4348,9 @@ module Aws::ResilienceHub
|
|
3550
4348
|
include Aws::Structure
|
3551
4349
|
end
|
3552
4350
|
|
3553
|
-
#
|
3554
|
-
# remove some of the relevant resources,
|
3555
|
-
# request a service quota increase.
|
4351
|
+
# This exception occurs when you have exceeded your service quota. To
|
4352
|
+
# perform the requested action, remove some of the relevant resources,
|
4353
|
+
# or use Service Quotas to request a service quota increase.
|
3556
4354
|
#
|
3557
4355
|
# @!attribute [rw] message
|
3558
4356
|
# @return [String]
|
@@ -3568,7 +4366,7 @@ module Aws::ResilienceHub
|
|
3568
4366
|
# Defines a standard operating procedure (SOP) recommendation.
|
3569
4367
|
#
|
3570
4368
|
# @!attribute [rw] app_component_name
|
3571
|
-
# The
|
4369
|
+
# The name of the Application Component.
|
3572
4370
|
# @return [String]
|
3573
4371
|
#
|
3574
4372
|
# @!attribute [rw] description
|
@@ -3614,25 +4412,12 @@ module Aws::ResilienceHub
|
|
3614
4412
|
include Aws::Structure
|
3615
4413
|
end
|
3616
4414
|
|
3617
|
-
# @note When making an API call, you may pass StartAppAssessmentRequest
|
3618
|
-
# data as a hash:
|
3619
|
-
#
|
3620
|
-
# {
|
3621
|
-
# app_arn: "Arn", # required
|
3622
|
-
# app_version: "EntityVersion", # required
|
3623
|
-
# assessment_name: "EntityName", # required
|
3624
|
-
# client_token: "ClientToken",
|
3625
|
-
# tags: {
|
3626
|
-
# "TagKey" => "TagValue",
|
3627
|
-
# },
|
3628
|
-
# }
|
3629
|
-
#
|
3630
4415
|
# @!attribute [rw] app_arn
|
3631
|
-
# The Amazon Resource Name (ARN) of the
|
3632
|
-
# this ARN is:
|
4416
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4417
|
+
# application. The format for this ARN is:
|
3633
4418
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
3634
4419
|
# For more information about ARNs, see [ Amazon Resource Names
|
3635
|
-
# (ARNs)][1] in the *AWS General Reference
|
4420
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3636
4421
|
#
|
3637
4422
|
#
|
3638
4423
|
#
|
@@ -3686,16 +4471,6 @@ module Aws::ResilienceHub
|
|
3686
4471
|
include Aws::Structure
|
3687
4472
|
end
|
3688
4473
|
|
3689
|
-
# @note When making an API call, you may pass TagResourceRequest
|
3690
|
-
# data as a hash:
|
3691
|
-
#
|
3692
|
-
# {
|
3693
|
-
# resource_arn: "Arn", # required
|
3694
|
-
# tags: { # required
|
3695
|
-
# "TagKey" => "TagValue",
|
3696
|
-
# },
|
3697
|
-
# }
|
3698
|
-
#
|
3699
4474
|
# @!attribute [rw] resource_arn
|
3700
4475
|
# The Amazon Resource Name (ARN) of the resource.
|
3701
4476
|
# @return [String]
|
@@ -3720,13 +4495,6 @@ module Aws::ResilienceHub
|
|
3720
4495
|
|
3721
4496
|
# The Terraform s3 state file you need to import.
|
3722
4497
|
#
|
3723
|
-
# @note When making an API call, you may pass TerraformSource
|
3724
|
-
# data as a hash:
|
3725
|
-
#
|
3726
|
-
# {
|
3727
|
-
# s3_state_file_url: "S3Url", # required
|
3728
|
-
# }
|
3729
|
-
#
|
3730
4498
|
# @!attribute [rw] s3_state_file_url
|
3731
4499
|
# The Terraform s3 state file you need to import.
|
3732
4500
|
# @return [String]
|
@@ -3742,7 +4510,7 @@ module Aws::ResilienceHub
|
|
3742
4510
|
# Defines a test recommendation.
|
3743
4511
|
#
|
3744
4512
|
# @!attribute [rw] app_component_name
|
3745
|
-
# The name of the
|
4513
|
+
# The name of the Application Component.
|
3746
4514
|
# @return [String]
|
3747
4515
|
#
|
3748
4516
|
# @!attribute [rw] depends_on_alarms
|
@@ -3804,7 +4572,8 @@ module Aws::ResilienceHub
|
|
3804
4572
|
include Aws::Structure
|
3805
4573
|
end
|
3806
4574
|
|
3807
|
-
#
|
4575
|
+
# This exception occurs when you have exceeded the limit on the number
|
4576
|
+
# of requests per second.
|
3808
4577
|
#
|
3809
4578
|
# @!attribute [rw] message
|
3810
4579
|
# @return [String]
|
@@ -3822,7 +4591,7 @@ module Aws::ResilienceHub
|
|
3822
4591
|
include Aws::Structure
|
3823
4592
|
end
|
3824
4593
|
|
3825
|
-
# Defines a resource that is not supported by Resilience Hub.
|
4594
|
+
# Defines a resource that is not supported by AWS Resilience Hub.
|
3826
4595
|
#
|
3827
4596
|
# @!attribute [rw] logical_resource_id
|
3828
4597
|
# The logical resource identifier for the unsupported resource.
|
@@ -3846,20 +4615,12 @@ module Aws::ResilienceHub
|
|
3846
4615
|
include Aws::Structure
|
3847
4616
|
end
|
3848
4617
|
|
3849
|
-
# @note When making an API call, you may pass UntagResourceRequest
|
3850
|
-
# data as a hash:
|
3851
|
-
#
|
3852
|
-
# {
|
3853
|
-
# resource_arn: "Arn", # required
|
3854
|
-
# tag_keys: ["TagKey"], # required
|
3855
|
-
# }
|
3856
|
-
#
|
3857
4618
|
# @!attribute [rw] resource_arn
|
3858
4619
|
# The Amazon Resource Name (ARN) of the resource.
|
3859
4620
|
# @return [String]
|
3860
4621
|
#
|
3861
4622
|
# @!attribute [rw] tag_keys
|
3862
|
-
# The keys of the tags to remove.
|
4623
|
+
# The keys of the tags you want to remove.
|
3863
4624
|
# @return [Array<String>]
|
3864
4625
|
#
|
3865
4626
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UntagResourceRequest AWS API Documentation
|
@@ -3875,23 +4636,12 @@ module Aws::ResilienceHub
|
|
3875
4636
|
#
|
3876
4637
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
3877
4638
|
|
3878
|
-
# @note When making an API call, you may pass UpdateAppRequest
|
3879
|
-
# data as a hash:
|
3880
|
-
#
|
3881
|
-
# {
|
3882
|
-
# app_arn: "Arn", # required
|
3883
|
-
# assessment_schedule: "Disabled", # accepts Disabled, Daily
|
3884
|
-
# clear_resiliency_policy_arn: false,
|
3885
|
-
# description: "EntityDescription",
|
3886
|
-
# policy_arn: "Arn",
|
3887
|
-
# }
|
3888
|
-
#
|
3889
4639
|
# @!attribute [rw] app_arn
|
3890
|
-
# The Amazon Resource Name (ARN) of the
|
3891
|
-
# this ARN is:
|
4640
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4641
|
+
# application. The format for this ARN is:
|
3892
4642
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
3893
4643
|
# For more information about ARNs, see [ Amazon Resource Names
|
3894
|
-
# (ARNs)][1] in the *AWS General Reference
|
4644
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3895
4645
|
#
|
3896
4646
|
#
|
3897
4647
|
#
|
@@ -3915,7 +4665,7 @@ module Aws::ResilienceHub
|
|
3915
4665
|
# for this ARN is:
|
3916
4666
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
3917
4667
|
# For more information about ARNs, see [ Amazon Resource Names
|
3918
|
-
# (ARNs)][1] in the *AWS General Reference
|
4668
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3919
4669
|
#
|
3920
4670
|
#
|
3921
4671
|
#
|
@@ -3948,23 +4698,260 @@ module Aws::ResilienceHub
|
|
3948
4698
|
include Aws::Structure
|
3949
4699
|
end
|
3950
4700
|
|
3951
|
-
#
|
3952
|
-
#
|
4701
|
+
# @!attribute [rw] additional_info
|
4702
|
+
# Currently, there is no supported additional information for
|
4703
|
+
# Application Components.
|
4704
|
+
# @return [Hash<String,Array<String>>]
|
4705
|
+
#
|
4706
|
+
# @!attribute [rw] app_arn
|
4707
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4708
|
+
# application. The format for this ARN is:
|
4709
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
4710
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
4711
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
4712
|
+
#
|
4713
|
+
#
|
4714
|
+
#
|
4715
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4716
|
+
# @return [String]
|
4717
|
+
#
|
4718
|
+
# @!attribute [rw] id
|
4719
|
+
# The identifier of the Application Component.
|
4720
|
+
# @return [String]
|
4721
|
+
#
|
4722
|
+
# @!attribute [rw] name
|
4723
|
+
# The name of the Application Component.
|
4724
|
+
# @return [String]
|
4725
|
+
#
|
4726
|
+
# @!attribute [rw] type
|
4727
|
+
# The type of Application Component. For more information about the
|
4728
|
+
# types of Application Component, see [Grouping resources in an
|
4729
|
+
# AppComponent][1].
|
4730
|
+
#
|
4731
|
+
#
|
4732
|
+
#
|
4733
|
+
# [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
|
4734
|
+
# @return [String]
|
4735
|
+
#
|
4736
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionAppComponentRequest AWS API Documentation
|
4737
|
+
#
|
4738
|
+
class UpdateAppVersionAppComponentRequest < Struct.new(
|
4739
|
+
:additional_info,
|
4740
|
+
:app_arn,
|
4741
|
+
:id,
|
4742
|
+
:name,
|
4743
|
+
:type)
|
4744
|
+
SENSITIVE = []
|
4745
|
+
include Aws::Structure
|
4746
|
+
end
|
4747
|
+
|
4748
|
+
# @!attribute [rw] app_arn
|
4749
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4750
|
+
# application. The format for this ARN is:
|
4751
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
4752
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
4753
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
4754
|
+
#
|
4755
|
+
#
|
4756
|
+
#
|
4757
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4758
|
+
# @return [String]
|
4759
|
+
#
|
4760
|
+
# @!attribute [rw] app_component
|
4761
|
+
# Defines an Application Component.
|
4762
|
+
# @return [Types::AppComponent]
|
4763
|
+
#
|
4764
|
+
# @!attribute [rw] app_version
|
4765
|
+
# The AWS Resilience Hub application version.
|
4766
|
+
# @return [String]
|
4767
|
+
#
|
4768
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionAppComponentResponse AWS API Documentation
|
4769
|
+
#
|
4770
|
+
class UpdateAppVersionAppComponentResponse < Struct.new(
|
4771
|
+
:app_arn,
|
4772
|
+
:app_component,
|
4773
|
+
:app_version)
|
4774
|
+
SENSITIVE = []
|
4775
|
+
include Aws::Structure
|
4776
|
+
end
|
4777
|
+
|
4778
|
+
# @!attribute [rw] additional_info
|
4779
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
4780
|
+
# application.
|
4781
|
+
#
|
4782
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
|
4783
|
+
# format) of only one failover region and one associated account.
|
4784
|
+
#
|
4785
|
+
# Key: `"failover-regions"`
|
4786
|
+
#
|
4787
|
+
# Value: `"[\{"region":"<REGION>",
|
4788
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
4789
|
+
#
|
4790
|
+
# </note>
|
4791
|
+
# @return [Hash<String,Array<String>>]
|
4792
|
+
#
|
4793
|
+
# @!attribute [rw] app_arn
|
4794
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4795
|
+
# application. The format for this ARN is:
|
4796
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
4797
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
4798
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
4799
|
+
#
|
4800
|
+
#
|
4801
|
+
#
|
4802
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4803
|
+
# @return [String]
|
4804
|
+
#
|
4805
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionRequest AWS API Documentation
|
4806
|
+
#
|
4807
|
+
class UpdateAppVersionRequest < Struct.new(
|
4808
|
+
:additional_info,
|
4809
|
+
:app_arn)
|
4810
|
+
SENSITIVE = []
|
4811
|
+
include Aws::Structure
|
4812
|
+
end
|
4813
|
+
|
4814
|
+
# @!attribute [rw] additional_info
|
4815
|
+
# Currently, there is no supported additional information for
|
4816
|
+
# resources.
|
4817
|
+
# @return [Hash<String,Array<String>>]
|
4818
|
+
#
|
4819
|
+
# @!attribute [rw] app_arn
|
4820
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4821
|
+
# application. The format for this ARN is:
|
4822
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
4823
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
4824
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
4825
|
+
#
|
4826
|
+
#
|
4827
|
+
#
|
4828
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4829
|
+
# @return [String]
|
4830
|
+
#
|
4831
|
+
# @!attribute [rw] app_components
|
4832
|
+
# The list of Application Components that this resource belongs to. If
|
4833
|
+
# an Application Component is not part of the AWS Resilience Hub
|
4834
|
+
# application, it will be added.
|
4835
|
+
# @return [Array<String>]
|
4836
|
+
#
|
4837
|
+
# @!attribute [rw] aws_account_id
|
4838
|
+
# The Amazon Web Services account that owns the physical resource.
|
4839
|
+
# @return [String]
|
4840
|
+
#
|
4841
|
+
# @!attribute [rw] aws_region
|
4842
|
+
# The Amazon Web Services region that owns the physical resource.
|
4843
|
+
# @return [String]
|
4844
|
+
#
|
4845
|
+
# @!attribute [rw] excluded
|
4846
|
+
# Indicates if a resource is excluded from an AWS Resilience Hub
|
4847
|
+
# application.
|
4848
|
+
#
|
4849
|
+
# <note markdown="1"> You can exclude only imported resources from an AWS Resilience Hub
|
4850
|
+
# application.
|
4851
|
+
#
|
4852
|
+
# </note>
|
4853
|
+
# @return [Boolean]
|
4854
|
+
#
|
4855
|
+
# @!attribute [rw] logical_resource_id
|
4856
|
+
# The logical identifier of the resource.
|
4857
|
+
# @return [Types::LogicalResourceId]
|
4858
|
+
#
|
4859
|
+
# @!attribute [rw] physical_resource_id
|
4860
|
+
# The physical identifier of the resource.
|
4861
|
+
# @return [String]
|
4862
|
+
#
|
4863
|
+
# @!attribute [rw] resource_name
|
4864
|
+
# The name of the resource.
|
4865
|
+
# @return [String]
|
4866
|
+
#
|
4867
|
+
# @!attribute [rw] resource_type
|
4868
|
+
# The type of resource.
|
4869
|
+
# @return [String]
|
4870
|
+
#
|
4871
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionResourceRequest AWS API Documentation
|
4872
|
+
#
|
4873
|
+
class UpdateAppVersionResourceRequest < Struct.new(
|
4874
|
+
:additional_info,
|
4875
|
+
:app_arn,
|
4876
|
+
:app_components,
|
4877
|
+
:aws_account_id,
|
4878
|
+
:aws_region,
|
4879
|
+
:excluded,
|
4880
|
+
:logical_resource_id,
|
4881
|
+
:physical_resource_id,
|
4882
|
+
:resource_name,
|
4883
|
+
:resource_type)
|
4884
|
+
SENSITIVE = []
|
4885
|
+
include Aws::Structure
|
4886
|
+
end
|
4887
|
+
|
4888
|
+
# @!attribute [rw] app_arn
|
4889
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4890
|
+
# application. The format for this ARN is:
|
4891
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
4892
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
4893
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
4894
|
+
#
|
4895
|
+
#
|
4896
|
+
#
|
4897
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4898
|
+
# @return [String]
|
4899
|
+
#
|
4900
|
+
# @!attribute [rw] app_version
|
4901
|
+
# The AWS Resilience Hub application version.
|
4902
|
+
# @return [String]
|
4903
|
+
#
|
4904
|
+
# @!attribute [rw] physical_resource
|
4905
|
+
# Defines a physical resource. A physical resource is a resource that
|
4906
|
+
# exists in your account. It can be identified using an Amazon
|
4907
|
+
# Resource Name (ARN) or a Resilience Hub-native identifier.
|
4908
|
+
# @return [Types::PhysicalResource]
|
4909
|
+
#
|
4910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionResourceResponse AWS API Documentation
|
4911
|
+
#
|
4912
|
+
class UpdateAppVersionResourceResponse < Struct.new(
|
4913
|
+
:app_arn,
|
4914
|
+
:app_version,
|
4915
|
+
:physical_resource)
|
4916
|
+
SENSITIVE = []
|
4917
|
+
include Aws::Structure
|
4918
|
+
end
|
4919
|
+
|
4920
|
+
# @!attribute [rw] additional_info
|
4921
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
4922
|
+
# application.
|
4923
|
+
#
|
4924
|
+
# <note markdown="1"> Currently, this parameter supports only failover region and account.
|
4925
|
+
#
|
4926
|
+
# </note>
|
4927
|
+
# @return [Hash<String,Array<String>>]
|
4928
|
+
#
|
4929
|
+
# @!attribute [rw] app_arn
|
4930
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4931
|
+
# application. The format for this ARN is:
|
4932
|
+
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
4933
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
4934
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
4935
|
+
#
|
4936
|
+
#
|
4937
|
+
#
|
4938
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4939
|
+
# @return [String]
|
4940
|
+
#
|
4941
|
+
# @!attribute [rw] app_version
|
4942
|
+
# The AWS Resilience Hub application version.
|
4943
|
+
# @return [String]
|
3953
4944
|
#
|
3954
|
-
#
|
3955
|
-
# data_location_constraint: "AnyLocation", # accepts AnyLocation, SameContinent, SameCountry
|
3956
|
-
# policy: {
|
3957
|
-
# "Software" => {
|
3958
|
-
# rpo_in_secs: 1, # required
|
3959
|
-
# rto_in_secs: 1, # required
|
3960
|
-
# },
|
3961
|
-
# },
|
3962
|
-
# policy_arn: "Arn", # required
|
3963
|
-
# policy_description: "EntityDescription",
|
3964
|
-
# policy_name: "EntityName",
|
3965
|
-
# tier: "MissionCritical", # accepts MissionCritical, Critical, Important, CoreServices, NonCritical
|
3966
|
-
# }
|
4945
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionResponse AWS API Documentation
|
3967
4946
|
#
|
4947
|
+
class UpdateAppVersionResponse < Struct.new(
|
4948
|
+
:additional_info,
|
4949
|
+
:app_arn,
|
4950
|
+
:app_version)
|
4951
|
+
SENSITIVE = []
|
4952
|
+
include Aws::Structure
|
4953
|
+
end
|
4954
|
+
|
3968
4955
|
# @!attribute [rw] data_location_constraint
|
3969
4956
|
# Specifies a high-level geographical location constraint for where
|
3970
4957
|
# your resilience policy data can be stored.
|
@@ -3980,7 +4967,7 @@ module Aws::ResilienceHub
|
|
3980
4967
|
# for this ARN is:
|
3981
4968
|
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
3982
4969
|
# For more information about ARNs, see [ Amazon Resource Names
|
3983
|
-
# (ARNs)][1] in the *AWS General Reference
|
4970
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3984
4971
|
#
|
3985
4972
|
#
|
3986
4973
|
#
|
@@ -4027,7 +5014,7 @@ module Aws::ResilienceHub
|
|
4027
5014
|
include Aws::Structure
|
4028
5015
|
end
|
4029
5016
|
|
4030
|
-
#
|
5017
|
+
# This exception occurs when a request is not valid.
|
4031
5018
|
#
|
4032
5019
|
# @!attribute [rw] message
|
4033
5020
|
# @return [String]
|