aws-sdk-resiliencehub 1.9.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehub/client.rb +1490 -148
- data/lib/aws-sdk-resiliencehub/client_api.rb +435 -0
- data/lib/aws-sdk-resiliencehub/endpoint_provider.rb +27 -24
- 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 +1981 -364
- data/lib/aws-sdk-resiliencehub.rb +1 -1
- metadata +2 -2
@@ -26,11 +26,11 @@ module Aws::ResilienceHub
|
|
26
26
|
end
|
27
27
|
|
28
28
|
# @!attribute [rw] app_arn
|
29
|
-
# The Amazon Resource Name (ARN) of the
|
30
|
-
# this ARN is:
|
31
|
-
# arn:`partition
|
32
|
-
#
|
33
|
-
#
|
29
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
30
|
+
# application. The format for this ARN is:
|
31
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
32
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
33
|
+
# in the *AWS General Reference* guide.
|
34
34
|
#
|
35
35
|
#
|
36
36
|
#
|
@@ -56,11 +56,11 @@ module Aws::ResilienceHub
|
|
56
56
|
end
|
57
57
|
|
58
58
|
# @!attribute [rw] app_arn
|
59
|
-
# The Amazon Resource Name (ARN) of the
|
60
|
-
# this ARN is:
|
61
|
-
# arn:`partition
|
62
|
-
#
|
63
|
-
#
|
59
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
60
|
+
# application. The format for this ARN is:
|
61
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
62
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
63
|
+
# in the *AWS General Reference* guide.
|
64
64
|
#
|
65
65
|
#
|
66
66
|
#
|
@@ -93,7 +93,7 @@ module Aws::ResilienceHub
|
|
93
93
|
# Defines a recommendation for a CloudWatch alarm.
|
94
94
|
#
|
95
95
|
# @!attribute [rw] app_component_name
|
96
|
-
# The
|
96
|
+
# The Application Component for the CloudWatch alarm recommendation.
|
97
97
|
# @return [String]
|
98
98
|
#
|
99
99
|
# @!attribute [rw] description
|
@@ -139,14 +139,14 @@ module Aws::ResilienceHub
|
|
139
139
|
include Aws::Structure
|
140
140
|
end
|
141
141
|
|
142
|
-
# Defines
|
142
|
+
# Defines an Resilience Hub application.
|
143
143
|
#
|
144
144
|
# @!attribute [rw] app_arn
|
145
|
-
# The Amazon Resource Name (ARN) of the
|
146
|
-
# this ARN is:
|
147
|
-
# arn:`partition
|
148
|
-
#
|
149
|
-
#
|
145
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
146
|
+
# application. The format for this ARN is:
|
147
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
148
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
149
|
+
# in the *AWS General Reference* guide.
|
150
150
|
#
|
151
151
|
#
|
152
152
|
#
|
@@ -184,9 +184,9 @@ module Aws::ResilienceHub
|
|
184
184
|
# @!attribute [rw] policy_arn
|
185
185
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
186
186
|
# for this ARN is:
|
187
|
-
# arn:`partition
|
187
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
188
188
|
# For more information about ARNs, see [ Amazon Resource Names
|
189
|
-
# (ARNs)][1] in the *AWS General Reference
|
189
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
190
190
|
#
|
191
191
|
#
|
192
192
|
#
|
@@ -229,11 +229,11 @@ module Aws::ResilienceHub
|
|
229
229
|
# Defines an application assessment.
|
230
230
|
#
|
231
231
|
# @!attribute [rw] app_arn
|
232
|
-
# The Amazon Resource Name (ARN) of the
|
233
|
-
# this ARN is:
|
234
|
-
# arn:`partition
|
235
|
-
#
|
236
|
-
#
|
232
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
233
|
+
# application. The format for this ARN is:
|
234
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
235
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
236
|
+
# in the *AWS General Reference* guide.
|
237
237
|
#
|
238
238
|
#
|
239
239
|
#
|
@@ -247,9 +247,9 @@ module Aws::ResilienceHub
|
|
247
247
|
# @!attribute [rw] assessment_arn
|
248
248
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
249
249
|
# this ARN is:
|
250
|
-
# arn:`partition
|
250
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
251
251
|
# For more information about ARNs, see [ Amazon Resource Names
|
252
|
-
# (ARNs)][1] in the *AWS General Reference
|
252
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
253
253
|
#
|
254
254
|
#
|
255
255
|
#
|
@@ -337,11 +337,11 @@ module Aws::ResilienceHub
|
|
337
337
|
# Defines an application assessment summary.
|
338
338
|
#
|
339
339
|
# @!attribute [rw] app_arn
|
340
|
-
# The Amazon Resource Name (ARN) of the
|
341
|
-
# this ARN is:
|
342
|
-
# arn:`partition
|
343
|
-
#
|
344
|
-
#
|
340
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
341
|
+
# application. The format for this ARN is:
|
342
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
343
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
344
|
+
# in the *AWS General Reference* guide.
|
345
345
|
#
|
346
346
|
#
|
347
347
|
#
|
@@ -355,9 +355,9 @@ module Aws::ResilienceHub
|
|
355
355
|
# @!attribute [rw] assessment_arn
|
356
356
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
357
357
|
# this ARN is:
|
358
|
-
# arn:`partition
|
358
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
359
359
|
# For more information about ARNs, see [ Amazon Resource Names
|
360
|
-
# (ARNs)][1] in the *AWS General Reference
|
360
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
361
361
|
#
|
362
362
|
#
|
363
363
|
#
|
@@ -419,34 +419,55 @@ module Aws::ResilienceHub
|
|
419
419
|
include Aws::Structure
|
420
420
|
end
|
421
421
|
|
422
|
-
# 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]
|
423
442
|
#
|
424
443
|
# @!attribute [rw] name
|
425
|
-
# The name of the
|
444
|
+
# The name of the Application Component.
|
426
445
|
# @return [String]
|
427
446
|
#
|
428
447
|
# @!attribute [rw] type
|
429
|
-
# The type of
|
448
|
+
# The type of Application Component.
|
430
449
|
# @return [String]
|
431
450
|
#
|
432
451
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AppComponent AWS API Documentation
|
433
452
|
#
|
434
453
|
class AppComponent < Struct.new(
|
454
|
+
:additional_info,
|
455
|
+
:id,
|
435
456
|
:name,
|
436
457
|
:type)
|
437
458
|
SENSITIVE = []
|
438
459
|
include Aws::Structure
|
439
460
|
end
|
440
461
|
|
441
|
-
# Defines the compliance of an
|
462
|
+
# Defines the compliance of an Application Component against the
|
442
463
|
# resiliency policy.
|
443
464
|
#
|
444
465
|
# @!attribute [rw] app_component_name
|
445
|
-
# The name of the
|
466
|
+
# The name of the Application Component.
|
446
467
|
# @return [String]
|
447
468
|
#
|
448
469
|
# @!attribute [rw] compliance
|
449
|
-
# The compliance of the
|
470
|
+
# The compliance of the Application Component against the resiliency
|
450
471
|
# policy.
|
451
472
|
# @return [Hash<String,Types::DisruptionCompliance>]
|
452
473
|
#
|
@@ -479,14 +500,59 @@ module Aws::ResilienceHub
|
|
479
500
|
include Aws::Structure
|
480
501
|
end
|
481
502
|
|
503
|
+
# The list of Resilience Hub application input sources.
|
504
|
+
#
|
505
|
+
# @!attribute [rw] eks_source_cluster_namespace
|
506
|
+
# The namespace on your Amazon Elastic Kubernetes Service cluster.
|
507
|
+
# @return [Types::EksSourceClusterNamespace]
|
508
|
+
#
|
509
|
+
# @!attribute [rw] import_type
|
510
|
+
# The resource type of the input source.
|
511
|
+
# @return [String]
|
512
|
+
#
|
513
|
+
# @!attribute [rw] resource_count
|
514
|
+
# The number of resources.
|
515
|
+
# @return [Integer]
|
516
|
+
#
|
517
|
+
# @!attribute [rw] source_arn
|
518
|
+
# The Amazon Resource Name (ARN) of the input source. For more
|
519
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
520
|
+
# the *AWS General Reference* guide.
|
521
|
+
#
|
522
|
+
#
|
523
|
+
#
|
524
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
525
|
+
# @return [String]
|
526
|
+
#
|
527
|
+
# @!attribute [rw] source_name
|
528
|
+
# The name of the input source.
|
529
|
+
# @return [String]
|
530
|
+
#
|
531
|
+
# @!attribute [rw] terraform_source
|
532
|
+
# The name of the Terraform s3 state file.
|
533
|
+
# @return [Types::TerraformSource]
|
534
|
+
#
|
535
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AppInputSource AWS API Documentation
|
536
|
+
#
|
537
|
+
class AppInputSource < Struct.new(
|
538
|
+
:eks_source_cluster_namespace,
|
539
|
+
:import_type,
|
540
|
+
:resource_count,
|
541
|
+
:source_arn,
|
542
|
+
:source_name,
|
543
|
+
:terraform_source)
|
544
|
+
SENSITIVE = []
|
545
|
+
include Aws::Structure
|
546
|
+
end
|
547
|
+
|
482
548
|
# Defines an application summary.
|
483
549
|
#
|
484
550
|
# @!attribute [rw] app_arn
|
485
|
-
# The Amazon Resource Name (ARN) of the
|
486
|
-
# this ARN is:
|
487
|
-
# arn:`partition
|
488
|
-
#
|
489
|
-
#
|
551
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
552
|
+
# application. The format for this ARN is:
|
553
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
554
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
555
|
+
# in the *AWS General Reference* guide.
|
490
556
|
#
|
491
557
|
#
|
492
558
|
#
|
@@ -550,12 +616,12 @@ module Aws::ResilienceHub
|
|
550
616
|
include Aws::Structure
|
551
617
|
end
|
552
618
|
|
553
|
-
# Defines recommendations for
|
619
|
+
# Defines recommendations for an Resilience Hub Application Component,
|
554
620
|
# returned as an object. This object contains component names,
|
555
621
|
# configuration recommendations, and recommendation statuses.
|
556
622
|
#
|
557
623
|
# @!attribute [rw] app_component_name
|
558
|
-
# The name of the
|
624
|
+
# The name of the Application Component.
|
559
625
|
# @return [String]
|
560
626
|
#
|
561
627
|
# @!attribute [rw] config_recommendations
|
@@ -579,7 +645,7 @@ module Aws::ResilienceHub
|
|
579
645
|
# Defines a configuration recommendation.
|
580
646
|
#
|
581
647
|
# @!attribute [rw] app_component_name
|
582
|
-
# The
|
648
|
+
# The name of the Application Component.
|
583
649
|
# @return [String]
|
584
650
|
#
|
585
651
|
# @!attribute [rw] compliance
|
@@ -637,11 +703,11 @@ module Aws::ResilienceHub
|
|
637
703
|
include Aws::Structure
|
638
704
|
end
|
639
705
|
|
640
|
-
#
|
641
|
-
# This generally occurs when the previous write did not
|
642
|
-
# propagate to the host serving the current request. A
|
643
|
-
# appropriate backoff logic) is the recommended response to
|
644
|
-
# exception.
|
706
|
+
# This exception occurs when a conflict with a previous successful write
|
707
|
+
# is detected. This generally occurs when the previous write did not
|
708
|
+
# have time to propagate to the host serving the current request. A
|
709
|
+
# retry (with appropriate backoff logic) is the recommended response to
|
710
|
+
# this exception.
|
645
711
|
#
|
646
712
|
# @!attribute [rw] message
|
647
713
|
# @return [String]
|
@@ -712,9 +778,9 @@ module Aws::ResilienceHub
|
|
712
778
|
# @!attribute [rw] policy_arn
|
713
779
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
714
780
|
# for this ARN is:
|
715
|
-
# arn:`partition
|
781
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
716
782
|
# For more information about ARNs, see [ Amazon Resource Names
|
717
|
-
# (ARNs)][1] in the *AWS General Reference
|
783
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
718
784
|
#
|
719
785
|
#
|
720
786
|
#
|
@@ -754,12 +820,204 @@ module Aws::ResilienceHub
|
|
754
820
|
include Aws::Structure
|
755
821
|
end
|
756
822
|
|
823
|
+
# @!attribute [rw] additional_info
|
824
|
+
# Currently, there is no supported additional information for
|
825
|
+
# Application Components.
|
826
|
+
# @return [Hash<String,Array<String>>]
|
827
|
+
#
|
828
|
+
# @!attribute [rw] app_arn
|
829
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
830
|
+
# application. The format for this ARN is:
|
831
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
832
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
833
|
+
# in the *AWS General Reference* guide.
|
834
|
+
#
|
835
|
+
#
|
836
|
+
#
|
837
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
838
|
+
# @return [String]
|
839
|
+
#
|
840
|
+
# @!attribute [rw] client_token
|
841
|
+
# Used for an idempotency token. A client token is a unique,
|
842
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
843
|
+
# reuse the same client token for other API requests.
|
844
|
+
#
|
845
|
+
# **A suitable default value is auto-generated.** You should normally
|
846
|
+
# not need to pass this option.
|
847
|
+
# @return [String]
|
848
|
+
#
|
849
|
+
# @!attribute [rw] id
|
850
|
+
# The identifier of the Application Component.
|
851
|
+
# @return [String]
|
852
|
+
#
|
853
|
+
# @!attribute [rw] name
|
854
|
+
# The name of the Application Component.
|
855
|
+
# @return [String]
|
856
|
+
#
|
857
|
+
# @!attribute [rw] type
|
858
|
+
# The type of Application Component. For more information about the
|
859
|
+
# types of Application Component, see [Grouping resources in an
|
860
|
+
# AppComponent][1].
|
861
|
+
#
|
862
|
+
#
|
863
|
+
#
|
864
|
+
# [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
|
865
|
+
# @return [String]
|
866
|
+
#
|
867
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionAppComponentRequest AWS API Documentation
|
868
|
+
#
|
869
|
+
class CreateAppVersionAppComponentRequest < Struct.new(
|
870
|
+
:additional_info,
|
871
|
+
:app_arn,
|
872
|
+
:client_token,
|
873
|
+
:id,
|
874
|
+
:name,
|
875
|
+
:type)
|
876
|
+
SENSITIVE = []
|
877
|
+
include Aws::Structure
|
878
|
+
end
|
879
|
+
|
880
|
+
# @!attribute [rw] app_arn
|
881
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
882
|
+
# application. The format for this ARN is:
|
883
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
884
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
885
|
+
# in the *AWS General Reference* guide.
|
886
|
+
#
|
887
|
+
#
|
888
|
+
#
|
889
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
890
|
+
# @return [String]
|
891
|
+
#
|
892
|
+
# @!attribute [rw] app_component
|
893
|
+
# The list of Application Components that belong to this resource.
|
894
|
+
# @return [Types::AppComponent]
|
895
|
+
#
|
896
|
+
# @!attribute [rw] app_version
|
897
|
+
# The AWS Resilience Hub application version.
|
898
|
+
# @return [String]
|
899
|
+
#
|
900
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionAppComponentResponse AWS API Documentation
|
901
|
+
#
|
902
|
+
class CreateAppVersionAppComponentResponse < Struct.new(
|
903
|
+
:app_arn,
|
904
|
+
:app_component,
|
905
|
+
:app_version)
|
906
|
+
SENSITIVE = []
|
907
|
+
include Aws::Structure
|
908
|
+
end
|
909
|
+
|
910
|
+
# @!attribute [rw] additional_info
|
911
|
+
# Currently, there is no supported additional information for
|
912
|
+
# resources.
|
913
|
+
# @return [Hash<String,Array<String>>]
|
914
|
+
#
|
915
|
+
# @!attribute [rw] app_arn
|
916
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
917
|
+
# application. The format for this ARN is:
|
918
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
919
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
920
|
+
# in the *AWS General Reference* guide.
|
921
|
+
#
|
922
|
+
#
|
923
|
+
#
|
924
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
925
|
+
# @return [String]
|
926
|
+
#
|
927
|
+
# @!attribute [rw] app_components
|
928
|
+
# The list of Application Components that this resource belongs to. If
|
929
|
+
# an Application Component is not part of the AWS Resilience Hub
|
930
|
+
# application, it will be added.
|
931
|
+
# @return [Array<String>]
|
932
|
+
#
|
933
|
+
# @!attribute [rw] aws_account_id
|
934
|
+
# The Amazon Web Services account that owns the physical resource.
|
935
|
+
# @return [String]
|
936
|
+
#
|
937
|
+
# @!attribute [rw] aws_region
|
938
|
+
# The Amazon Web Services region that owns the physical resource.
|
939
|
+
# @return [String]
|
940
|
+
#
|
941
|
+
# @!attribute [rw] client_token
|
942
|
+
# Used for an idempotency token. A client token is a unique,
|
943
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
944
|
+
# reuse the same client token for other API requests.
|
945
|
+
#
|
946
|
+
# **A suitable default value is auto-generated.** You should normally
|
947
|
+
# not need to pass this option.
|
948
|
+
# @return [String]
|
949
|
+
#
|
950
|
+
# @!attribute [rw] logical_resource_id
|
951
|
+
# The logical identifier of the resource.
|
952
|
+
# @return [Types::LogicalResourceId]
|
953
|
+
#
|
954
|
+
# @!attribute [rw] physical_resource_id
|
955
|
+
# The physical identifier of the resource.
|
956
|
+
# @return [String]
|
957
|
+
#
|
958
|
+
# @!attribute [rw] resource_name
|
959
|
+
# The name of the resource.
|
960
|
+
# @return [String]
|
961
|
+
#
|
962
|
+
# @!attribute [rw] resource_type
|
963
|
+
# The type of resource.
|
964
|
+
# @return [String]
|
965
|
+
#
|
966
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionResourceRequest AWS API Documentation
|
967
|
+
#
|
968
|
+
class CreateAppVersionResourceRequest < Struct.new(
|
969
|
+
:additional_info,
|
970
|
+
:app_arn,
|
971
|
+
:app_components,
|
972
|
+
:aws_account_id,
|
973
|
+
:aws_region,
|
974
|
+
:client_token,
|
975
|
+
:logical_resource_id,
|
976
|
+
:physical_resource_id,
|
977
|
+
:resource_name,
|
978
|
+
:resource_type)
|
979
|
+
SENSITIVE = []
|
980
|
+
include Aws::Structure
|
981
|
+
end
|
982
|
+
|
983
|
+
# @!attribute [rw] app_arn
|
984
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
985
|
+
# application. The format for this ARN is:
|
986
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
987
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
988
|
+
# in the *AWS General Reference* guide.
|
989
|
+
#
|
990
|
+
#
|
991
|
+
#
|
992
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
993
|
+
# @return [String]
|
994
|
+
#
|
995
|
+
# @!attribute [rw] app_version
|
996
|
+
# The AWS Resilience Hub application version.
|
997
|
+
# @return [String]
|
998
|
+
#
|
999
|
+
# @!attribute [rw] physical_resource
|
1000
|
+
# Defines a physical resource. A physical resource is a resource that
|
1001
|
+
# exists in your account. It can be identified using an Amazon
|
1002
|
+
# Resource Name (ARN) or a Resilience Hub-native identifier.
|
1003
|
+
# @return [Types::PhysicalResource]
|
1004
|
+
#
|
1005
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/CreateAppVersionResourceResponse AWS API Documentation
|
1006
|
+
#
|
1007
|
+
class CreateAppVersionResourceResponse < Struct.new(
|
1008
|
+
:app_arn,
|
1009
|
+
:app_version,
|
1010
|
+
:physical_resource)
|
1011
|
+
SENSITIVE = []
|
1012
|
+
include Aws::Structure
|
1013
|
+
end
|
1014
|
+
|
757
1015
|
# @!attribute [rw] assessment_arn
|
758
1016
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
759
1017
|
# this ARN is:
|
760
|
-
# arn:`partition
|
1018
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
761
1019
|
# For more information about ARNs, see [ Amazon Resource Names
|
762
|
-
# (ARNs)][1] in the *AWS General Reference
|
1020
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
763
1021
|
#
|
764
1022
|
#
|
765
1023
|
#
|
@@ -922,9 +1180,9 @@ module Aws::ResilienceHub
|
|
922
1180
|
# @!attribute [rw] assessment_arn
|
923
1181
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
924
1182
|
# this ARN is:
|
925
|
-
# arn:`partition
|
1183
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
926
1184
|
# For more information about ARNs, see [ Amazon Resource Names
|
927
|
-
# (ARNs)][1] in the *AWS General Reference
|
1185
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
928
1186
|
#
|
929
1187
|
#
|
930
1188
|
#
|
@@ -952,9 +1210,9 @@ module Aws::ResilienceHub
|
|
952
1210
|
# @!attribute [rw] assessment_arn
|
953
1211
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
954
1212
|
# this ARN is:
|
955
|
-
# arn:`partition
|
1213
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
956
1214
|
# For more information about ARNs, see [ Amazon Resource Names
|
957
|
-
# (ARNs)][1] in the *AWS General Reference
|
1215
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
958
1216
|
#
|
959
1217
|
#
|
960
1218
|
#
|
@@ -975,11 +1233,11 @@ module Aws::ResilienceHub
|
|
975
1233
|
end
|
976
1234
|
|
977
1235
|
# @!attribute [rw] app_arn
|
978
|
-
# The Amazon Resource Name (ARN) of the
|
979
|
-
# this ARN is:
|
980
|
-
# arn:`partition
|
981
|
-
#
|
982
|
-
#
|
1236
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1237
|
+
# application. The format for this ARN is:
|
1238
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1239
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1240
|
+
# in the *AWS General Reference* guide.
|
983
1241
|
#
|
984
1242
|
#
|
985
1243
|
#
|
@@ -995,41 +1253,77 @@ module Aws::ResilienceHub
|
|
995
1253
|
# not need to pass this option.
|
996
1254
|
# @return [String]
|
997
1255
|
#
|
998
|
-
# @!attribute [rw]
|
999
|
-
#
|
1000
|
-
# application.
|
1001
|
-
# @return [
|
1256
|
+
# @!attribute [rw] eks_source_cluster_namespace
|
1257
|
+
# The namespace on your Amazon Elastic Kubernetes Service cluster that
|
1258
|
+
# you want to delete from the Resilience Hub application.
|
1259
|
+
# @return [Types::EksSourceClusterNamespace]
|
1002
1260
|
#
|
1003
|
-
#
|
1261
|
+
# @!attribute [rw] source_arn
|
1262
|
+
# The Amazon Resource Name (ARN) of the imported resource you want to
|
1263
|
+
# remove from the Resilience Hub application. For more information
|
1264
|
+
# about ARNs, see [ Amazon Resource Names (ARNs)][1] in the *AWS
|
1265
|
+
# General Reference* guide.
|
1004
1266
|
#
|
1005
|
-
|
1267
|
+
#
|
1268
|
+
#
|
1269
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1270
|
+
# @return [String]
|
1271
|
+
#
|
1272
|
+
# @!attribute [rw] terraform_source
|
1273
|
+
# The imported Terraform s3 state file you want to remove from the
|
1274
|
+
# Resilience Hub application.
|
1275
|
+
# @return [Types::TerraformSource]
|
1276
|
+
#
|
1277
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppInputSourceRequest AWS API Documentation
|
1278
|
+
#
|
1279
|
+
class DeleteAppInputSourceRequest < Struct.new(
|
1006
1280
|
:app_arn,
|
1007
1281
|
:client_token,
|
1008
|
-
:
|
1282
|
+
:eks_source_cluster_namespace,
|
1283
|
+
:source_arn,
|
1284
|
+
:terraform_source)
|
1009
1285
|
SENSITIVE = []
|
1010
1286
|
include Aws::Structure
|
1011
1287
|
end
|
1012
1288
|
|
1013
1289
|
# @!attribute [rw] app_arn
|
1014
|
-
# The Amazon Resource Name (ARN) of the
|
1015
|
-
# this ARN is:
|
1016
|
-
# arn:`partition
|
1017
|
-
#
|
1018
|
-
#
|
1290
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1291
|
+
# application. The format for this ARN is:
|
1292
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1293
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1294
|
+
# in the *AWS General Reference* guide.
|
1019
1295
|
#
|
1020
1296
|
#
|
1021
1297
|
#
|
1022
1298
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1023
1299
|
# @return [String]
|
1024
1300
|
#
|
1025
|
-
#
|
1301
|
+
# @!attribute [rw] app_input_source
|
1302
|
+
# The name of the input source from where the application resource is
|
1303
|
+
# imported from.
|
1304
|
+
# @return [Types::AppInputSource]
|
1026
1305
|
#
|
1027
|
-
|
1028
|
-
|
1306
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppInputSourceResponse AWS API Documentation
|
1307
|
+
#
|
1308
|
+
class DeleteAppInputSourceResponse < Struct.new(
|
1309
|
+
:app_arn,
|
1310
|
+
:app_input_source)
|
1029
1311
|
SENSITIVE = []
|
1030
1312
|
include Aws::Structure
|
1031
1313
|
end
|
1032
1314
|
|
1315
|
+
# @!attribute [rw] app_arn
|
1316
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1317
|
+
# application. The format for this ARN is:
|
1318
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1319
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1320
|
+
# in the *AWS General Reference* guide.
|
1321
|
+
#
|
1322
|
+
#
|
1323
|
+
#
|
1324
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1325
|
+
# @return [String]
|
1326
|
+
#
|
1033
1327
|
# @!attribute [rw] client_token
|
1034
1328
|
# Used for an idempotency token. A client token is a unique,
|
1035
1329
|
# case-sensitive string of up to 64 ASCII characters. You should not
|
@@ -1039,36 +1333,53 @@ module Aws::ResilienceHub
|
|
1039
1333
|
# not need to pass this option.
|
1040
1334
|
# @return [String]
|
1041
1335
|
#
|
1042
|
-
# @!attribute [rw]
|
1043
|
-
#
|
1044
|
-
#
|
1336
|
+
# @!attribute [rw] force_delete
|
1337
|
+
# A boolean option to force the deletion of an Resilience Hub
|
1338
|
+
# application.
|
1339
|
+
# @return [Boolean]
|
1045
1340
|
#
|
1046
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/
|
1341
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppRequest AWS API Documentation
|
1047
1342
|
#
|
1048
|
-
class
|
1343
|
+
class DeleteAppRequest < Struct.new(
|
1344
|
+
:app_arn,
|
1049
1345
|
:client_token,
|
1050
|
-
:
|
1346
|
+
:force_delete)
|
1051
1347
|
SENSITIVE = []
|
1052
1348
|
include Aws::Structure
|
1053
1349
|
end
|
1054
1350
|
|
1055
|
-
# @!attribute [rw]
|
1056
|
-
# The Amazon Resource Name (ARN)
|
1057
|
-
#
|
1351
|
+
# @!attribute [rw] app_arn
|
1352
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1353
|
+
# application. The format for this ARN is:
|
1354
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1355
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1356
|
+
# in the *AWS General Reference* guide.
|
1058
1357
|
#
|
1059
|
-
#
|
1060
|
-
#
|
1358
|
+
#
|
1359
|
+
#
|
1360
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1061
1361
|
# @return [String]
|
1062
1362
|
#
|
1063
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/
|
1363
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppResponse AWS API Documentation
|
1064
1364
|
#
|
1065
|
-
class
|
1066
|
-
:
|
1067
|
-
:status)
|
1365
|
+
class DeleteAppResponse < Struct.new(
|
1366
|
+
:app_arn)
|
1068
1367
|
SENSITIVE = []
|
1069
1368
|
include Aws::Structure
|
1070
1369
|
end
|
1071
1370
|
|
1371
|
+
# @!attribute [rw] app_arn
|
1372
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1373
|
+
# application. The format for this ARN is:
|
1374
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1375
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1376
|
+
# in the *AWS General Reference* guide.
|
1377
|
+
#
|
1378
|
+
#
|
1379
|
+
#
|
1380
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1381
|
+
# @return [String]
|
1382
|
+
#
|
1072
1383
|
# @!attribute [rw] client_token
|
1073
1384
|
# Used for an idempotency token. A client token is a unique,
|
1074
1385
|
# case-sensitive string of up to 64 ASCII characters. You should not
|
@@ -1078,43 +1389,222 @@ module Aws::ResilienceHub
|
|
1078
1389
|
# not need to pass this option.
|
1079
1390
|
# @return [String]
|
1080
1391
|
#
|
1081
|
-
# @!attribute [rw]
|
1082
|
-
# The
|
1083
|
-
# for this ARN is:
|
1084
|
-
# arn:`partition`\:resiliencehub:`region`\:`account`\:resiliency-policy/`policy-id`.
|
1085
|
-
# For more information about ARNs, see [ Amazon Resource Names
|
1086
|
-
# (ARNs)][1] in the *AWS General Reference*.
|
1087
|
-
#
|
1088
|
-
#
|
1089
|
-
#
|
1090
|
-
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1392
|
+
# @!attribute [rw] id
|
1393
|
+
# The identifier of the Application Component.
|
1091
1394
|
# @return [String]
|
1092
1395
|
#
|
1093
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/
|
1396
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionAppComponentRequest AWS API Documentation
|
1094
1397
|
#
|
1095
|
-
class
|
1398
|
+
class DeleteAppVersionAppComponentRequest < Struct.new(
|
1399
|
+
:app_arn,
|
1096
1400
|
:client_token,
|
1097
|
-
:
|
1401
|
+
:id)
|
1098
1402
|
SENSITIVE = []
|
1099
1403
|
include Aws::Structure
|
1100
1404
|
end
|
1101
1405
|
|
1102
|
-
# @!attribute [rw]
|
1103
|
-
# The Amazon Resource Name (ARN) of the
|
1104
|
-
# for this ARN is:
|
1105
|
-
# arn:`partition
|
1106
|
-
#
|
1107
|
-
#
|
1406
|
+
# @!attribute [rw] app_arn
|
1407
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1408
|
+
# application. The format for this ARN is:
|
1409
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1410
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1411
|
+
# in the *AWS General Reference* guide.
|
1108
1412
|
#
|
1109
1413
|
#
|
1110
1414
|
#
|
1111
1415
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1112
1416
|
# @return [String]
|
1113
1417
|
#
|
1114
|
-
#
|
1418
|
+
# @!attribute [rw] app_component
|
1419
|
+
# The list of Application Components that belong to this resource.
|
1420
|
+
# @return [Types::AppComponent]
|
1115
1421
|
#
|
1116
|
-
|
1117
|
-
|
1422
|
+
# @!attribute [rw] app_version
|
1423
|
+
# The AWS Resilience Hub application version.
|
1424
|
+
# @return [String]
|
1425
|
+
#
|
1426
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionAppComponentResponse AWS API Documentation
|
1427
|
+
#
|
1428
|
+
class DeleteAppVersionAppComponentResponse < Struct.new(
|
1429
|
+
:app_arn,
|
1430
|
+
:app_component,
|
1431
|
+
:app_version)
|
1432
|
+
SENSITIVE = []
|
1433
|
+
include Aws::Structure
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
# @!attribute [rw] app_arn
|
1437
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1438
|
+
# application. The format for this ARN is:
|
1439
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1440
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1441
|
+
# in the *AWS General Reference* guide.
|
1442
|
+
#
|
1443
|
+
#
|
1444
|
+
#
|
1445
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1446
|
+
# @return [String]
|
1447
|
+
#
|
1448
|
+
# @!attribute [rw] aws_account_id
|
1449
|
+
# The Amazon Web Services account that owns the physical resource.
|
1450
|
+
# @return [String]
|
1451
|
+
#
|
1452
|
+
# @!attribute [rw] aws_region
|
1453
|
+
# The Amazon Web Services region that owns the physical resource.
|
1454
|
+
# @return [String]
|
1455
|
+
#
|
1456
|
+
# @!attribute [rw] client_token
|
1457
|
+
# Used for an idempotency token. A client token is a unique,
|
1458
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
1459
|
+
# reuse the same client token for other API requests.
|
1460
|
+
#
|
1461
|
+
# **A suitable default value is auto-generated.** You should normally
|
1462
|
+
# not need to pass this option.
|
1463
|
+
# @return [String]
|
1464
|
+
#
|
1465
|
+
# @!attribute [rw] logical_resource_id
|
1466
|
+
# The logical identifier of the resource.
|
1467
|
+
# @return [Types::LogicalResourceId]
|
1468
|
+
#
|
1469
|
+
# @!attribute [rw] physical_resource_id
|
1470
|
+
# The physical identifier of the resource.
|
1471
|
+
# @return [String]
|
1472
|
+
#
|
1473
|
+
# @!attribute [rw] resource_name
|
1474
|
+
# The name of the resource.
|
1475
|
+
# @return [String]
|
1476
|
+
#
|
1477
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionResourceRequest AWS API Documentation
|
1478
|
+
#
|
1479
|
+
class DeleteAppVersionResourceRequest < Struct.new(
|
1480
|
+
:app_arn,
|
1481
|
+
:aws_account_id,
|
1482
|
+
:aws_region,
|
1483
|
+
:client_token,
|
1484
|
+
:logical_resource_id,
|
1485
|
+
:physical_resource_id,
|
1486
|
+
:resource_name)
|
1487
|
+
SENSITIVE = []
|
1488
|
+
include Aws::Structure
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
# @!attribute [rw] app_arn
|
1492
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1493
|
+
# application. The format for this ARN is:
|
1494
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1495
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1496
|
+
# in the *AWS General Reference* guide.
|
1497
|
+
#
|
1498
|
+
#
|
1499
|
+
#
|
1500
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1501
|
+
# @return [String]
|
1502
|
+
#
|
1503
|
+
# @!attribute [rw] app_version
|
1504
|
+
# The AWS Resilience Hub application version.
|
1505
|
+
# @return [String]
|
1506
|
+
#
|
1507
|
+
# @!attribute [rw] physical_resource
|
1508
|
+
# Defines a physical resource. A physical resource is a resource that
|
1509
|
+
# exists in your account. It can be identified using an Amazon
|
1510
|
+
# Resource Name (ARN) or a Resilience Hub-native identifier.
|
1511
|
+
# @return [Types::PhysicalResource]
|
1512
|
+
#
|
1513
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteAppVersionResourceResponse AWS API Documentation
|
1514
|
+
#
|
1515
|
+
class DeleteAppVersionResourceResponse < Struct.new(
|
1516
|
+
:app_arn,
|
1517
|
+
:app_version,
|
1518
|
+
:physical_resource)
|
1519
|
+
SENSITIVE = []
|
1520
|
+
include Aws::Structure
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
# @!attribute [rw] client_token
|
1524
|
+
# Used for an idempotency token. A client token is a unique,
|
1525
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
1526
|
+
# reuse the same client token for other API requests.
|
1527
|
+
#
|
1528
|
+
# **A suitable default value is auto-generated.** You should normally
|
1529
|
+
# not need to pass this option.
|
1530
|
+
# @return [String]
|
1531
|
+
#
|
1532
|
+
# @!attribute [rw] recommendation_template_arn
|
1533
|
+
# The Amazon Resource Name (ARN) for a recommendation template.
|
1534
|
+
# @return [String]
|
1535
|
+
#
|
1536
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplateRequest AWS API Documentation
|
1537
|
+
#
|
1538
|
+
class DeleteRecommendationTemplateRequest < Struct.new(
|
1539
|
+
:client_token,
|
1540
|
+
:recommendation_template_arn)
|
1541
|
+
SENSITIVE = []
|
1542
|
+
include Aws::Structure
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
# @!attribute [rw] recommendation_template_arn
|
1546
|
+
# The Amazon Resource Name (ARN) for a recommendation template.
|
1547
|
+
# @return [String]
|
1548
|
+
#
|
1549
|
+
# @!attribute [rw] status
|
1550
|
+
# The status of the action.
|
1551
|
+
# @return [String]
|
1552
|
+
#
|
1553
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteRecommendationTemplateResponse AWS API Documentation
|
1554
|
+
#
|
1555
|
+
class DeleteRecommendationTemplateResponse < Struct.new(
|
1556
|
+
:recommendation_template_arn,
|
1557
|
+
:status)
|
1558
|
+
SENSITIVE = []
|
1559
|
+
include Aws::Structure
|
1560
|
+
end
|
1561
|
+
|
1562
|
+
# @!attribute [rw] client_token
|
1563
|
+
# Used for an idempotency token. A client token is a unique,
|
1564
|
+
# case-sensitive string of up to 64 ASCII characters. You should not
|
1565
|
+
# reuse the same client token for other API requests.
|
1566
|
+
#
|
1567
|
+
# **A suitable default value is auto-generated.** You should normally
|
1568
|
+
# not need to pass this option.
|
1569
|
+
# @return [String]
|
1570
|
+
#
|
1571
|
+
# @!attribute [rw] policy_arn
|
1572
|
+
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1573
|
+
# for this ARN is:
|
1574
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
1575
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1576
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1577
|
+
#
|
1578
|
+
#
|
1579
|
+
#
|
1580
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1581
|
+
# @return [String]
|
1582
|
+
#
|
1583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicyRequest AWS API Documentation
|
1584
|
+
#
|
1585
|
+
class DeleteResiliencyPolicyRequest < Struct.new(
|
1586
|
+
:client_token,
|
1587
|
+
:policy_arn)
|
1588
|
+
SENSITIVE = []
|
1589
|
+
include Aws::Structure
|
1590
|
+
end
|
1591
|
+
|
1592
|
+
# @!attribute [rw] policy_arn
|
1593
|
+
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1594
|
+
# for this ARN is:
|
1595
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
1596
|
+
# For more information about ARNs, see [ Amazon Resource Names
|
1597
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1598
|
+
#
|
1599
|
+
#
|
1600
|
+
#
|
1601
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1602
|
+
# @return [String]
|
1603
|
+
#
|
1604
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DeleteResiliencyPolicyResponse AWS API Documentation
|
1605
|
+
#
|
1606
|
+
class DeleteResiliencyPolicyResponse < Struct.new(
|
1607
|
+
:policy_arn)
|
1118
1608
|
SENSITIVE = []
|
1119
1609
|
include Aws::Structure
|
1120
1610
|
end
|
@@ -1122,9 +1612,9 @@ module Aws::ResilienceHub
|
|
1122
1612
|
# @!attribute [rw] assessment_arn
|
1123
1613
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1124
1614
|
# this ARN is:
|
1125
|
-
# arn:`partition
|
1615
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
1126
1616
|
# For more information about ARNs, see [ Amazon Resource Names
|
1127
|
-
# (ARNs)][1] in the *AWS General Reference
|
1617
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1128
1618
|
#
|
1129
1619
|
#
|
1130
1620
|
#
|
@@ -1140,7 +1630,7 @@ module Aws::ResilienceHub
|
|
1140
1630
|
end
|
1141
1631
|
|
1142
1632
|
# @!attribute [rw] assessment
|
1143
|
-
# The assessment for an
|
1633
|
+
# The assessment for an Resilience Hub application, returned as an
|
1144
1634
|
# object. This object includes Amazon Resource Names (ARNs),
|
1145
1635
|
# compliance information, compliance status, cost, messages,
|
1146
1636
|
# resiliency scores, and more.
|
@@ -1155,11 +1645,11 @@ module Aws::ResilienceHub
|
|
1155
1645
|
end
|
1156
1646
|
|
1157
1647
|
# @!attribute [rw] app_arn
|
1158
|
-
# The Amazon Resource Name (ARN) of the
|
1159
|
-
# this ARN is:
|
1160
|
-
# arn:`partition
|
1161
|
-
#
|
1162
|
-
#
|
1648
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1649
|
+
# application. The format for this ARN is:
|
1650
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1651
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1652
|
+
# in the *AWS General Reference* guide.
|
1163
1653
|
#
|
1164
1654
|
#
|
1165
1655
|
#
|
@@ -1189,11 +1679,178 @@ module Aws::ResilienceHub
|
|
1189
1679
|
end
|
1190
1680
|
|
1191
1681
|
# @!attribute [rw] app_arn
|
1192
|
-
# The Amazon Resource Name (ARN) of the
|
1193
|
-
# this ARN is:
|
1194
|
-
# arn:`partition
|
1195
|
-
#
|
1196
|
-
#
|
1682
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1683
|
+
# application. The format for this ARN is:
|
1684
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1685
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1686
|
+
# in the *AWS General Reference* guide.
|
1687
|
+
#
|
1688
|
+
#
|
1689
|
+
#
|
1690
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1691
|
+
# @return [String]
|
1692
|
+
#
|
1693
|
+
# @!attribute [rw] app_version
|
1694
|
+
# The AWS Resilience Hub application version.
|
1695
|
+
# @return [String]
|
1696
|
+
#
|
1697
|
+
# @!attribute [rw] id
|
1698
|
+
# The identifier of the Application Component.
|
1699
|
+
# @return [String]
|
1700
|
+
#
|
1701
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionAppComponentRequest AWS API Documentation
|
1702
|
+
#
|
1703
|
+
class DescribeAppVersionAppComponentRequest < Struct.new(
|
1704
|
+
:app_arn,
|
1705
|
+
:app_version,
|
1706
|
+
:id)
|
1707
|
+
SENSITIVE = []
|
1708
|
+
include Aws::Structure
|
1709
|
+
end
|
1710
|
+
|
1711
|
+
# @!attribute [rw] app_arn
|
1712
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1713
|
+
# application. The format for this ARN is:
|
1714
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1715
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1716
|
+
# in the *AWS General Reference* guide.
|
1717
|
+
#
|
1718
|
+
#
|
1719
|
+
#
|
1720
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1721
|
+
# @return [String]
|
1722
|
+
#
|
1723
|
+
# @!attribute [rw] app_component
|
1724
|
+
# The list of Application Components that belong to this resource.
|
1725
|
+
# @return [Types::AppComponent]
|
1726
|
+
#
|
1727
|
+
# @!attribute [rw] app_version
|
1728
|
+
# The AWS Resilience Hub application version.
|
1729
|
+
# @return [String]
|
1730
|
+
#
|
1731
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionAppComponentResponse AWS API Documentation
|
1732
|
+
#
|
1733
|
+
class DescribeAppVersionAppComponentResponse < Struct.new(
|
1734
|
+
:app_arn,
|
1735
|
+
:app_component,
|
1736
|
+
:app_version)
|
1737
|
+
SENSITIVE = []
|
1738
|
+
include Aws::Structure
|
1739
|
+
end
|
1740
|
+
|
1741
|
+
# @!attribute [rw] app_arn
|
1742
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1743
|
+
# application. The format for this ARN is:
|
1744
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1745
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1746
|
+
# in the *AWS General Reference* guide.
|
1747
|
+
#
|
1748
|
+
#
|
1749
|
+
#
|
1750
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1751
|
+
# @return [String]
|
1752
|
+
#
|
1753
|
+
# @!attribute [rw] app_version
|
1754
|
+
# The AWS Resilience Hub application version.
|
1755
|
+
# @return [String]
|
1756
|
+
#
|
1757
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionRequest AWS API Documentation
|
1758
|
+
#
|
1759
|
+
class DescribeAppVersionRequest < Struct.new(
|
1760
|
+
:app_arn,
|
1761
|
+
:app_version)
|
1762
|
+
SENSITIVE = []
|
1763
|
+
include Aws::Structure
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
# @!attribute [rw] app_arn
|
1767
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1768
|
+
# application. The format for this ARN is:
|
1769
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1770
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1771
|
+
# in the *AWS General Reference* guide.
|
1772
|
+
#
|
1773
|
+
#
|
1774
|
+
#
|
1775
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1776
|
+
# @return [String]
|
1777
|
+
#
|
1778
|
+
# @!attribute [rw] app_version
|
1779
|
+
# The AWS Resilience Hub application version.
|
1780
|
+
# @return [String]
|
1781
|
+
#
|
1782
|
+
# @!attribute [rw] aws_account_id
|
1783
|
+
# The Amazon Web Services account that owns the physical resource.
|
1784
|
+
# @return [String]
|
1785
|
+
#
|
1786
|
+
# @!attribute [rw] aws_region
|
1787
|
+
# The Amazon Web Services region that owns the physical resource.
|
1788
|
+
# @return [String]
|
1789
|
+
#
|
1790
|
+
# @!attribute [rw] logical_resource_id
|
1791
|
+
# The logical identifier of the resource.
|
1792
|
+
# @return [Types::LogicalResourceId]
|
1793
|
+
#
|
1794
|
+
# @!attribute [rw] physical_resource_id
|
1795
|
+
# The physical identifier of the resource.
|
1796
|
+
# @return [String]
|
1797
|
+
#
|
1798
|
+
# @!attribute [rw] resource_name
|
1799
|
+
# The name of the resource.
|
1800
|
+
# @return [String]
|
1801
|
+
#
|
1802
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourceRequest AWS API Documentation
|
1803
|
+
#
|
1804
|
+
class DescribeAppVersionResourceRequest < Struct.new(
|
1805
|
+
:app_arn,
|
1806
|
+
:app_version,
|
1807
|
+
:aws_account_id,
|
1808
|
+
:aws_region,
|
1809
|
+
:logical_resource_id,
|
1810
|
+
:physical_resource_id,
|
1811
|
+
:resource_name)
|
1812
|
+
SENSITIVE = []
|
1813
|
+
include Aws::Structure
|
1814
|
+
end
|
1815
|
+
|
1816
|
+
# @!attribute [rw] app_arn
|
1817
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1818
|
+
# application. The format for this ARN is:
|
1819
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1820
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1821
|
+
# in the *AWS General Reference* guide.
|
1822
|
+
#
|
1823
|
+
#
|
1824
|
+
#
|
1825
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1826
|
+
# @return [String]
|
1827
|
+
#
|
1828
|
+
# @!attribute [rw] app_version
|
1829
|
+
# The AWS Resilience Hub application version.
|
1830
|
+
# @return [String]
|
1831
|
+
#
|
1832
|
+
# @!attribute [rw] physical_resource
|
1833
|
+
# Defines a physical resource. A physical resource is a resource that
|
1834
|
+
# exists in your account. It can be identified using an Amazon
|
1835
|
+
# Resource Name (ARN) or a Resilience Hub-native identifier.
|
1836
|
+
# @return [Types::PhysicalResource]
|
1837
|
+
#
|
1838
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResourceResponse AWS API Documentation
|
1839
|
+
#
|
1840
|
+
class DescribeAppVersionResourceResponse < Struct.new(
|
1841
|
+
:app_arn,
|
1842
|
+
:app_version,
|
1843
|
+
:physical_resource)
|
1844
|
+
SENSITIVE = []
|
1845
|
+
include Aws::Structure
|
1846
|
+
end
|
1847
|
+
|
1848
|
+
# @!attribute [rw] app_arn
|
1849
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1850
|
+
# application. The format for this ARN is:
|
1851
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1852
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1853
|
+
# in the *AWS General Reference* guide.
|
1197
1854
|
#
|
1198
1855
|
#
|
1199
1856
|
#
|
@@ -1219,11 +1876,11 @@ module Aws::ResilienceHub
|
|
1219
1876
|
end
|
1220
1877
|
|
1221
1878
|
# @!attribute [rw] app_arn
|
1222
|
-
# The Amazon Resource Name (ARN) of the
|
1223
|
-
# this ARN is:
|
1224
|
-
# arn:`partition
|
1225
|
-
#
|
1226
|
-
#
|
1879
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1880
|
+
# application. The format for this ARN is:
|
1881
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1882
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1883
|
+
# in the *AWS General Reference* guide.
|
1227
1884
|
#
|
1228
1885
|
#
|
1229
1886
|
#
|
@@ -1258,12 +1915,47 @@ module Aws::ResilienceHub
|
|
1258
1915
|
include Aws::Structure
|
1259
1916
|
end
|
1260
1917
|
|
1918
|
+
# @!attribute [rw] additional_info
|
1919
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
1920
|
+
# application.
|
1921
|
+
#
|
1922
|
+
# <note markdown="1"> Currently, this parameter supports only failover region and account.
|
1923
|
+
#
|
1924
|
+
# </note>
|
1925
|
+
# @return [Hash<String,Array<String>>]
|
1926
|
+
#
|
1261
1927
|
# @!attribute [rw] app_arn
|
1262
|
-
# The Amazon Resource Name (ARN) of the
|
1263
|
-
# this ARN is:
|
1264
|
-
# arn:`partition
|
1265
|
-
#
|
1266
|
-
#
|
1928
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1929
|
+
# application. The format for this ARN is:
|
1930
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1931
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1932
|
+
# in the *AWS General Reference* guide.
|
1933
|
+
#
|
1934
|
+
#
|
1935
|
+
#
|
1936
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1937
|
+
# @return [String]
|
1938
|
+
#
|
1939
|
+
# @!attribute [rw] app_version
|
1940
|
+
# The AWS Resilience Hub application version.
|
1941
|
+
# @return [String]
|
1942
|
+
#
|
1943
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeAppVersionResponse AWS API Documentation
|
1944
|
+
#
|
1945
|
+
class DescribeAppVersionResponse < Struct.new(
|
1946
|
+
:additional_info,
|
1947
|
+
:app_arn,
|
1948
|
+
:app_version)
|
1949
|
+
SENSITIVE = []
|
1950
|
+
include Aws::Structure
|
1951
|
+
end
|
1952
|
+
|
1953
|
+
# @!attribute [rw] app_arn
|
1954
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1955
|
+
# application. The format for this ARN is:
|
1956
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1957
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1958
|
+
# in the *AWS General Reference* guide.
|
1267
1959
|
#
|
1268
1960
|
#
|
1269
1961
|
#
|
@@ -1284,11 +1976,11 @@ module Aws::ResilienceHub
|
|
1284
1976
|
end
|
1285
1977
|
|
1286
1978
|
# @!attribute [rw] app_arn
|
1287
|
-
# The Amazon Resource Name (ARN) of the
|
1288
|
-
# this ARN is:
|
1289
|
-
# arn:`partition
|
1290
|
-
#
|
1291
|
-
#
|
1979
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
1980
|
+
# application. The format for this ARN is:
|
1981
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
1982
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
1983
|
+
# in the *AWS General Reference* guide.
|
1292
1984
|
#
|
1293
1985
|
#
|
1294
1986
|
#
|
@@ -1296,7 +1988,211 @@ module Aws::ResilienceHub
|
|
1296
1988
|
# @return [String]
|
1297
1989
|
#
|
1298
1990
|
# @!attribute [rw] app_template_body
|
1299
|
-
#
|
1991
|
+
# A JSON string that provides information about your application
|
1992
|
+
# structure. To learn more about the `appTemplateBody` template, see
|
1993
|
+
# the sample template provided in the *Examples* section.
|
1994
|
+
#
|
1995
|
+
# The `appTemplateBody` JSON string has the following structure:
|
1996
|
+
#
|
1997
|
+
# * <b> <code>resources</code> </b>
|
1998
|
+
#
|
1999
|
+
# The list of logical resources that needs to be included in the
|
2000
|
+
# Resilience Hub application.
|
2001
|
+
#
|
2002
|
+
# Type: Array
|
2003
|
+
#
|
2004
|
+
# <note markdown="1"> Don't add the resources that you want to exclude.
|
2005
|
+
#
|
2006
|
+
# </note>
|
2007
|
+
#
|
2008
|
+
# Each `resources` array item includes the following fields:
|
2009
|
+
#
|
2010
|
+
# * <i> <code>logicalResourceId</code> </i>
|
2011
|
+
#
|
2012
|
+
# The logical identifier of the resource.
|
2013
|
+
#
|
2014
|
+
# Type: Object
|
2015
|
+
#
|
2016
|
+
# Each `logicalResourceId` object includes the following fields:
|
2017
|
+
#
|
2018
|
+
# * `identifier`
|
2019
|
+
#
|
2020
|
+
# The identifier of the resource.
|
2021
|
+
#
|
2022
|
+
# Type: String
|
2023
|
+
#
|
2024
|
+
# * `logicalStackName`
|
2025
|
+
#
|
2026
|
+
# The name of the CloudFormation stack this resource belongs to.
|
2027
|
+
#
|
2028
|
+
# Type: String
|
2029
|
+
#
|
2030
|
+
# * `resourceGroupName`
|
2031
|
+
#
|
2032
|
+
# The name of the resource group this resource belongs to.
|
2033
|
+
#
|
2034
|
+
# Type: String
|
2035
|
+
#
|
2036
|
+
# * `terraformSourceName`
|
2037
|
+
#
|
2038
|
+
# The name of the Terraform S3 state file this resource belongs
|
2039
|
+
# to.
|
2040
|
+
#
|
2041
|
+
# Type: String
|
2042
|
+
#
|
2043
|
+
# * <i> <code>type</code> </i>
|
2044
|
+
#
|
2045
|
+
# The type of resource.
|
2046
|
+
#
|
2047
|
+
# Type: string
|
2048
|
+
#
|
2049
|
+
# * <i> <code>name</code> </i>
|
2050
|
+
#
|
2051
|
+
# The name of the resource.
|
2052
|
+
#
|
2053
|
+
# Type: String
|
2054
|
+
#
|
2055
|
+
# * `additionalInfo`
|
2056
|
+
#
|
2057
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
2058
|
+
# application.
|
2059
|
+
#
|
2060
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a
|
2061
|
+
# string format) of only one failover region and one associated
|
2062
|
+
# account.
|
2063
|
+
#
|
2064
|
+
# Key: `"failover-regions"`
|
2065
|
+
#
|
2066
|
+
# Value: `"[\{"region":"<REGION>",
|
2067
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
2068
|
+
#
|
2069
|
+
# </note>
|
2070
|
+
#
|
2071
|
+
# * <b> <code>appComponents</code> </b>
|
2072
|
+
#
|
2073
|
+
# The list of Application Components that this resource belongs to.
|
2074
|
+
# If an Application Component is not part of the AWS Resilience Hub
|
2075
|
+
# application, it will be added.
|
2076
|
+
#
|
2077
|
+
# Type: Array
|
2078
|
+
#
|
2079
|
+
# Each `appComponents` array item includes the following fields:
|
2080
|
+
#
|
2081
|
+
# * `name`
|
2082
|
+
#
|
2083
|
+
# The name of the Application Component.
|
2084
|
+
#
|
2085
|
+
# Type: String
|
2086
|
+
#
|
2087
|
+
# * `type`
|
2088
|
+
#
|
2089
|
+
# The type of Application Component. For more information about
|
2090
|
+
# the types of Application Component, see [Grouping resources in
|
2091
|
+
# an AppComponent][1].
|
2092
|
+
#
|
2093
|
+
# Type: String
|
2094
|
+
#
|
2095
|
+
# * `resourceNames`
|
2096
|
+
#
|
2097
|
+
# The list of included resources that are assigned to the
|
2098
|
+
# Application Component.
|
2099
|
+
#
|
2100
|
+
# Type: Array of strings
|
2101
|
+
#
|
2102
|
+
# * `additionalInfo`
|
2103
|
+
#
|
2104
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
2105
|
+
# application.
|
2106
|
+
#
|
2107
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a
|
2108
|
+
# string format) of only one failover region and one associated
|
2109
|
+
# account.
|
2110
|
+
#
|
2111
|
+
# Key: `"failover-regions"`
|
2112
|
+
#
|
2113
|
+
# Value: `"[\{"region":"<REGION>",
|
2114
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
2115
|
+
#
|
2116
|
+
# </note>
|
2117
|
+
#
|
2118
|
+
# * <b> <code>excludedResources</code> </b>
|
2119
|
+
#
|
2120
|
+
# The list of logical resource identifiers to be excluded from the
|
2121
|
+
# application.
|
2122
|
+
#
|
2123
|
+
# Type: Array
|
2124
|
+
#
|
2125
|
+
# <note markdown="1"> Don't add the resources that you want to include.
|
2126
|
+
#
|
2127
|
+
# </note>
|
2128
|
+
#
|
2129
|
+
# Each `excludedResources` array item includes the following fields:
|
2130
|
+
#
|
2131
|
+
# * <i> <code>logicalResourceIds</code> </i>
|
2132
|
+
#
|
2133
|
+
# The logical identifier of the resource.
|
2134
|
+
#
|
2135
|
+
# Type: Object
|
2136
|
+
#
|
2137
|
+
# <note markdown="1"> You can configure only one of the following fields:
|
2138
|
+
#
|
2139
|
+
# * `logicalStackName`
|
2140
|
+
#
|
2141
|
+
# * `resourceGroupName`
|
2142
|
+
#
|
2143
|
+
# * `terraformSourceName`
|
2144
|
+
#
|
2145
|
+
# </note>
|
2146
|
+
#
|
2147
|
+
# Each `logicalResourceIds` object includes the following fields:
|
2148
|
+
#
|
2149
|
+
# * `identifier`
|
2150
|
+
#
|
2151
|
+
# The identifier of the resource.
|
2152
|
+
#
|
2153
|
+
# Type: String
|
2154
|
+
#
|
2155
|
+
# * `logicalStackName`
|
2156
|
+
#
|
2157
|
+
# The name of the CloudFormation stack this resource belongs to.
|
2158
|
+
#
|
2159
|
+
# Type: String
|
2160
|
+
#
|
2161
|
+
# * `resourceGroupName`
|
2162
|
+
#
|
2163
|
+
# The name of the resource group this resource belongs to.
|
2164
|
+
#
|
2165
|
+
# Type: String
|
2166
|
+
#
|
2167
|
+
# * `terraformSourceName`
|
2168
|
+
#
|
2169
|
+
# The name of the Terraform S3 state file this resource belongs
|
2170
|
+
# to.
|
2171
|
+
#
|
2172
|
+
# Type: String
|
2173
|
+
#
|
2174
|
+
# * <b> <code>version</code> </b>
|
2175
|
+
#
|
2176
|
+
# The AWS Resilience Hub application version.
|
2177
|
+
#
|
2178
|
+
# * `additionalInfo`
|
2179
|
+
#
|
2180
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
2181
|
+
# application.
|
2182
|
+
#
|
2183
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
|
2184
|
+
# format) of only one failover region and one associated account.
|
2185
|
+
#
|
2186
|
+
# Key: `"failover-regions"`
|
2187
|
+
#
|
2188
|
+
# Value: `"[\{"region":"<REGION>",
|
2189
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
2190
|
+
#
|
2191
|
+
# </note>
|
2192
|
+
#
|
2193
|
+
#
|
2194
|
+
#
|
2195
|
+
# [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
|
1300
2196
|
# @return [String]
|
1301
2197
|
#
|
1302
2198
|
# @!attribute [rw] app_version
|
@@ -1314,11 +2210,11 @@ module Aws::ResilienceHub
|
|
1314
2210
|
end
|
1315
2211
|
|
1316
2212
|
# @!attribute [rw] app_arn
|
1317
|
-
# The Amazon Resource Name (ARN) of the
|
1318
|
-
# this ARN is:
|
1319
|
-
# arn:`partition
|
1320
|
-
#
|
1321
|
-
#
|
2213
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2214
|
+
# application. The format for this ARN is:
|
2215
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2216
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
2217
|
+
# in the *AWS General Reference* guide.
|
1322
2218
|
#
|
1323
2219
|
#
|
1324
2220
|
#
|
@@ -1334,11 +2230,11 @@ module Aws::ResilienceHub
|
|
1334
2230
|
end
|
1335
2231
|
|
1336
2232
|
# @!attribute [rw] app_arn
|
1337
|
-
# The Amazon Resource Name (ARN) of the
|
1338
|
-
# this ARN is:
|
1339
|
-
# arn:`partition
|
1340
|
-
#
|
1341
|
-
#
|
2233
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2234
|
+
# application. The format for this ARN is:
|
2235
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2236
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
2237
|
+
# in the *AWS General Reference* guide.
|
1342
2238
|
#
|
1343
2239
|
#
|
1344
2240
|
#
|
@@ -1376,9 +2272,9 @@ module Aws::ResilienceHub
|
|
1376
2272
|
# @!attribute [rw] policy_arn
|
1377
2273
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
1378
2274
|
# for this ARN is:
|
1379
|
-
# arn:`partition
|
2275
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
1380
2276
|
# For more information about ARNs, see [ Amazon Resource Names
|
1381
|
-
# (ARNs)][1] in the *AWS General Reference
|
2277
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1382
2278
|
#
|
1383
2279
|
#
|
1384
2280
|
#
|
@@ -1468,6 +2364,63 @@ module Aws::ResilienceHub
|
|
1468
2364
|
include Aws::Structure
|
1469
2365
|
end
|
1470
2366
|
|
2367
|
+
# The input source of the Amazon Elastic Kubernetes Service cluster.
|
2368
|
+
#
|
2369
|
+
# @!attribute [rw] eks_cluster_arn
|
2370
|
+
# The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes
|
2371
|
+
# Service cluster. The format for this ARN is:
|
2372
|
+
# arn:`aws`:eks:`region`:`account-id`:cluster/`cluster-name`. For more
|
2373
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2374
|
+
# the *AWS General Reference* guide.
|
2375
|
+
#
|
2376
|
+
#
|
2377
|
+
#
|
2378
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2379
|
+
# @return [String]
|
2380
|
+
#
|
2381
|
+
# @!attribute [rw] namespaces
|
2382
|
+
# The list of namespaces located on your Amazon Elastic Kubernetes
|
2383
|
+
# Service cluster.
|
2384
|
+
# @return [Array<String>]
|
2385
|
+
#
|
2386
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/EksSource AWS API Documentation
|
2387
|
+
#
|
2388
|
+
class EksSource < Struct.new(
|
2389
|
+
:eks_cluster_arn,
|
2390
|
+
:namespaces)
|
2391
|
+
SENSITIVE = []
|
2392
|
+
include Aws::Structure
|
2393
|
+
end
|
2394
|
+
|
2395
|
+
# The input source of the namespace that is located on your Amazon
|
2396
|
+
# Elastic Kubernetes Service cluster.
|
2397
|
+
#
|
2398
|
+
# @!attribute [rw] eks_cluster_arn
|
2399
|
+
# The Amazon Resource Name (ARN) of the Amazon Elastic Kubernetes
|
2400
|
+
# Service cluster. The format for this ARN is:
|
2401
|
+
# arn:`aws`:eks:`region`:`account-id`:cluster/`cluster-name`. For more
|
2402
|
+
# information about ARNs, see [ Amazon Resource Names (ARNs)][1] in
|
2403
|
+
# the *AWS General Reference* guide.
|
2404
|
+
#
|
2405
|
+
#
|
2406
|
+
#
|
2407
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2408
|
+
# @return [String]
|
2409
|
+
#
|
2410
|
+
# @!attribute [rw] namespace
|
2411
|
+
# Name of the namespace that is located on your Amazon Elastic
|
2412
|
+
# Kubernetes Service cluster.
|
2413
|
+
# @return [String]
|
2414
|
+
#
|
2415
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/EksSourceClusterNamespace AWS API Documentation
|
2416
|
+
#
|
2417
|
+
class EksSourceClusterNamespace < Struct.new(
|
2418
|
+
:eks_cluster_arn,
|
2419
|
+
:namespace)
|
2420
|
+
SENSITIVE = []
|
2421
|
+
include Aws::Structure
|
2422
|
+
end
|
2423
|
+
|
1471
2424
|
# Defines a failure policy.
|
1472
2425
|
#
|
1473
2426
|
# @!attribute [rw] rpo_in_secs
|
@@ -1488,20 +2441,29 @@ module Aws::ResilienceHub
|
|
1488
2441
|
end
|
1489
2442
|
|
1490
2443
|
# @!attribute [rw] app_arn
|
1491
|
-
# The Amazon Resource Name (ARN) of the
|
1492
|
-
# this ARN is:
|
1493
|
-
# arn:`partition
|
1494
|
-
#
|
1495
|
-
#
|
2444
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2445
|
+
# application. The format for this ARN is:
|
2446
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2447
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
2448
|
+
# in the *AWS General Reference* guide.
|
1496
2449
|
#
|
1497
2450
|
#
|
1498
2451
|
#
|
1499
2452
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
1500
2453
|
# @return [String]
|
1501
2454
|
#
|
2455
|
+
# @!attribute [rw] eks_sources
|
2456
|
+
# The input sources of the Amazon Elastic Kubernetes Service resources
|
2457
|
+
# you need to import.
|
2458
|
+
# @return [Array<Types::EksSource>]
|
2459
|
+
#
|
2460
|
+
# @!attribute [rw] import_strategy
|
2461
|
+
# The import strategy you would like to set to import resources into
|
2462
|
+
# Resilience Hub application.
|
2463
|
+
# @return [String]
|
2464
|
+
#
|
1502
2465
|
# @!attribute [rw] source_arns
|
1503
|
-
# The Amazon Resource Names (ARNs) for the resources
|
1504
|
-
# import.
|
2466
|
+
# The Amazon Resource Names (ARNs) for the resources.
|
1505
2467
|
# @return [Array<String>]
|
1506
2468
|
#
|
1507
2469
|
# @!attribute [rw] terraform_sources
|
@@ -1512,6 +2474,8 @@ module Aws::ResilienceHub
|
|
1512
2474
|
#
|
1513
2475
|
class ImportResourcesToDraftAppVersionRequest < Struct.new(
|
1514
2476
|
:app_arn,
|
2477
|
+
:eks_sources,
|
2478
|
+
:import_strategy,
|
1515
2479
|
:source_arns,
|
1516
2480
|
:terraform_sources)
|
1517
2481
|
SENSITIVE = []
|
@@ -1519,11 +2483,11 @@ module Aws::ResilienceHub
|
|
1519
2483
|
end
|
1520
2484
|
|
1521
2485
|
# @!attribute [rw] app_arn
|
1522
|
-
# The Amazon Resource Name (ARN) of the
|
1523
|
-
# this ARN is:
|
1524
|
-
# arn:`partition
|
1525
|
-
#
|
1526
|
-
#
|
2486
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2487
|
+
# application. The format for this ARN is:
|
2488
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2489
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
2490
|
+
# in the *AWS General Reference* guide.
|
1527
2491
|
#
|
1528
2492
|
#
|
1529
2493
|
#
|
@@ -1534,8 +2498,13 @@ module Aws::ResilienceHub
|
|
1534
2498
|
# The version of the application.
|
1535
2499
|
# @return [String]
|
1536
2500
|
#
|
2501
|
+
# @!attribute [rw] eks_sources
|
2502
|
+
# The input sources of the Amazon Elastic Kubernetes Service resources
|
2503
|
+
# you have imported.
|
2504
|
+
# @return [Array<Types::EksSource>]
|
2505
|
+
#
|
1537
2506
|
# @!attribute [rw] source_arns
|
1538
|
-
# The Amazon Resource Names (ARNs) for the resources
|
2507
|
+
# The Amazon Resource Names (ARNs) for the resources you have
|
1539
2508
|
# imported.
|
1540
2509
|
# @return [Array<String>]
|
1541
2510
|
#
|
@@ -1544,7 +2513,7 @@ module Aws::ResilienceHub
|
|
1544
2513
|
# @return [String]
|
1545
2514
|
#
|
1546
2515
|
# @!attribute [rw] terraform_sources
|
1547
|
-
# A list of terraform file s3 URLs you
|
2516
|
+
# A list of terraform file s3 URLs you have imported.
|
1548
2517
|
# @return [Array<Types::TerraformSource>]
|
1549
2518
|
#
|
1550
2519
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ImportResourcesToDraftAppVersionResponse AWS API Documentation
|
@@ -1552,6 +2521,7 @@ module Aws::ResilienceHub
|
|
1552
2521
|
class ImportResourcesToDraftAppVersionResponse < Struct.new(
|
1553
2522
|
:app_arn,
|
1554
2523
|
:app_version,
|
2524
|
+
:eks_sources,
|
1555
2525
|
:source_arns,
|
1556
2526
|
:status,
|
1557
2527
|
:terraform_sources)
|
@@ -1559,7 +2529,7 @@ module Aws::ResilienceHub
|
|
1559
2529
|
include Aws::Structure
|
1560
2530
|
end
|
1561
2531
|
|
1562
|
-
# This exception occurs when there is an internal failure in the
|
2532
|
+
# This exception occurs when there is an internal failure in the
|
1563
2533
|
# Resilience Hub service.
|
1564
2534
|
#
|
1565
2535
|
# @!attribute [rw] message
|
@@ -1576,9 +2546,9 @@ module Aws::ResilienceHub
|
|
1576
2546
|
# @!attribute [rw] assessment_arn
|
1577
2547
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1578
2548
|
# this ARN is:
|
1579
|
-
# arn:`partition
|
2549
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
1580
2550
|
# For more information about ARNs, see [ Amazon Resource Names
|
1581
|
-
# (ARNs)][1] in the *AWS General Reference
|
2551
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1582
2552
|
#
|
1583
2553
|
#
|
1584
2554
|
#
|
@@ -1608,8 +2578,8 @@ module Aws::ResilienceHub
|
|
1608
2578
|
end
|
1609
2579
|
|
1610
2580
|
# @!attribute [rw] alarm_recommendations
|
1611
|
-
# The alarm recommendations for an
|
1612
|
-
# returned as an object. This object includes
|
2581
|
+
# The alarm recommendations for an Resilience Hub application,
|
2582
|
+
# returned as an object. This object includes Application Component
|
1613
2583
|
# names, descriptions, information about whether a recommendation has
|
1614
2584
|
# already been implemented or not, prerequisites, and more.
|
1615
2585
|
# @return [Array<Types::AlarmRecommendation>]
|
@@ -1629,11 +2599,11 @@ module Aws::ResilienceHub
|
|
1629
2599
|
end
|
1630
2600
|
|
1631
2601
|
# @!attribute [rw] app_arn
|
1632
|
-
# The Amazon Resource Name (ARN) of the
|
1633
|
-
# this ARN is:
|
1634
|
-
# arn:`partition
|
1635
|
-
#
|
1636
|
-
#
|
2602
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2603
|
+
# application. The format for this ARN is:
|
2604
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2605
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
2606
|
+
# in the *AWS General Reference* guide.
|
1637
2607
|
#
|
1638
2608
|
#
|
1639
2609
|
#
|
@@ -1713,9 +2683,9 @@ module Aws::ResilienceHub
|
|
1713
2683
|
# @!attribute [rw] assessment_arn
|
1714
2684
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1715
2685
|
# this ARN is:
|
1716
|
-
# arn:`partition
|
2686
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
1717
2687
|
# For more information about ARNs, see [ Amazon Resource Names
|
1718
|
-
# (ARNs)][1] in the *AWS General Reference
|
2688
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1719
2689
|
#
|
1720
2690
|
#
|
1721
2691
|
#
|
@@ -1745,9 +2715,10 @@ module Aws::ResilienceHub
|
|
1745
2715
|
end
|
1746
2716
|
|
1747
2717
|
# @!attribute [rw] component_compliances
|
1748
|
-
# The compliances for an
|
1749
|
-
# returned as an object. This object contains
|
1750
|
-
# compliances, costs, resiliency scores,
|
2718
|
+
# The compliances for an Resilience Hub Application Component,
|
2719
|
+
# returned as an object. This object contains the names of the
|
2720
|
+
# Application Components, compliances, costs, resiliency scores,
|
2721
|
+
# outage scores, and more.
|
1751
2722
|
# @return [Array<Types::AppComponentCompliance>]
|
1752
2723
|
#
|
1753
2724
|
# @!attribute [rw] next_token
|
@@ -1767,9 +2738,9 @@ module Aws::ResilienceHub
|
|
1767
2738
|
# @!attribute [rw] assessment_arn
|
1768
2739
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
1769
2740
|
# this ARN is:
|
1770
|
-
# arn:`partition
|
2741
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
1771
2742
|
# For more information about ARNs, see [ Amazon Resource Names
|
1772
|
-
# (ARNs)][1] in the *AWS General Reference
|
2743
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
1773
2744
|
#
|
1774
2745
|
#
|
1775
2746
|
#
|
@@ -1799,9 +2770,10 @@ module Aws::ResilienceHub
|
|
1799
2770
|
end
|
1800
2771
|
|
1801
2772
|
# @!attribute [rw] component_recommendations
|
1802
|
-
# The recommendations for an Resilience Hub
|
1803
|
-
# returned as an object. This object contains
|
1804
|
-
# configuration recommendations, and
|
2773
|
+
# The recommendations for an Resilience Hub Application Component,
|
2774
|
+
# returned as an object. This object contains the names of the
|
2775
|
+
# Application Components, configuration recommendations, and
|
2776
|
+
# recommendation statuses.
|
1805
2777
|
# @return [Array<Types::ComponentRecommendation>]
|
1806
2778
|
#
|
1807
2779
|
# @!attribute [rw] next_token
|
@@ -1819,11 +2791,139 @@ module Aws::ResilienceHub
|
|
1819
2791
|
end
|
1820
2792
|
|
1821
2793
|
# @!attribute [rw] app_arn
|
1822
|
-
# The Amazon Resource Name (ARN) of the
|
1823
|
-
# this ARN is:
|
1824
|
-
# arn:`partition
|
1825
|
-
#
|
1826
|
-
#
|
2794
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2795
|
+
# application. The format for this ARN is:
|
2796
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2797
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
2798
|
+
# in the *AWS General Reference* guide.
|
2799
|
+
#
|
2800
|
+
#
|
2801
|
+
#
|
2802
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2803
|
+
# @return [String]
|
2804
|
+
#
|
2805
|
+
# @!attribute [rw] app_version
|
2806
|
+
# The AWS Resilience Hub application version.
|
2807
|
+
# @return [String]
|
2808
|
+
#
|
2809
|
+
# @!attribute [rw] max_results
|
2810
|
+
# Maximum number of input sources to be displayed per Resilience Hub
|
2811
|
+
# application.
|
2812
|
+
# @return [Integer]
|
2813
|
+
#
|
2814
|
+
# @!attribute [rw] next_token
|
2815
|
+
# Null, or the token from a previous call to get the next set of
|
2816
|
+
# results.
|
2817
|
+
# @return [String]
|
2818
|
+
#
|
2819
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppInputSourcesRequest AWS API Documentation
|
2820
|
+
#
|
2821
|
+
class ListAppInputSourcesRequest < Struct.new(
|
2822
|
+
:app_arn,
|
2823
|
+
:app_version,
|
2824
|
+
:max_results,
|
2825
|
+
:next_token)
|
2826
|
+
SENSITIVE = []
|
2827
|
+
include Aws::Structure
|
2828
|
+
end
|
2829
|
+
|
2830
|
+
# @!attribute [rw] app_input_sources
|
2831
|
+
# The list of Resilience Hub application input sources.
|
2832
|
+
# @return [Array<Types::AppInputSource>]
|
2833
|
+
#
|
2834
|
+
# @!attribute [rw] next_token
|
2835
|
+
# The token for the next set of results, or null if there are no more
|
2836
|
+
# results.
|
2837
|
+
# @return [String]
|
2838
|
+
#
|
2839
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppInputSourcesResponse AWS API Documentation
|
2840
|
+
#
|
2841
|
+
class ListAppInputSourcesResponse < Struct.new(
|
2842
|
+
:app_input_sources,
|
2843
|
+
:next_token)
|
2844
|
+
SENSITIVE = []
|
2845
|
+
include Aws::Structure
|
2846
|
+
end
|
2847
|
+
|
2848
|
+
# @!attribute [rw] app_arn
|
2849
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2850
|
+
# application. The format for this ARN is:
|
2851
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2852
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
2853
|
+
# in the *AWS General Reference* guide.
|
2854
|
+
#
|
2855
|
+
#
|
2856
|
+
#
|
2857
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2858
|
+
# @return [String]
|
2859
|
+
#
|
2860
|
+
# @!attribute [rw] app_version
|
2861
|
+
# The version of the Application Component.
|
2862
|
+
# @return [String]
|
2863
|
+
#
|
2864
|
+
# @!attribute [rw] max_results
|
2865
|
+
# Maximum number of Application Components to be displayed per AWS
|
2866
|
+
# Resilience Hub application version.
|
2867
|
+
# @return [Integer]
|
2868
|
+
#
|
2869
|
+
# @!attribute [rw] next_token
|
2870
|
+
# Null, or the token from a previous call to get the next set of
|
2871
|
+
# results.
|
2872
|
+
# @return [String]
|
2873
|
+
#
|
2874
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionAppComponentsRequest AWS API Documentation
|
2875
|
+
#
|
2876
|
+
class ListAppVersionAppComponentsRequest < Struct.new(
|
2877
|
+
:app_arn,
|
2878
|
+
:app_version,
|
2879
|
+
:max_results,
|
2880
|
+
:next_token)
|
2881
|
+
SENSITIVE = []
|
2882
|
+
include Aws::Structure
|
2883
|
+
end
|
2884
|
+
|
2885
|
+
# @!attribute [rw] app_arn
|
2886
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2887
|
+
# application. The format for this ARN is:
|
2888
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2889
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
2890
|
+
# in the *AWS General Reference* guide.
|
2891
|
+
#
|
2892
|
+
#
|
2893
|
+
#
|
2894
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2895
|
+
# @return [String]
|
2896
|
+
#
|
2897
|
+
# @!attribute [rw] app_components
|
2898
|
+
# Defines an Application Component.
|
2899
|
+
# @return [Array<Types::AppComponent>]
|
2900
|
+
#
|
2901
|
+
# @!attribute [rw] app_version
|
2902
|
+
# The AWS Resilience Hub application version.
|
2903
|
+
# @return [String]
|
2904
|
+
#
|
2905
|
+
# @!attribute [rw] next_token
|
2906
|
+
# The token for the next set of results, or null if there are no more
|
2907
|
+
# results.
|
2908
|
+
# @return [String]
|
2909
|
+
#
|
2910
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionAppComponentsResponse AWS API Documentation
|
2911
|
+
#
|
2912
|
+
class ListAppVersionAppComponentsResponse < Struct.new(
|
2913
|
+
:app_arn,
|
2914
|
+
:app_components,
|
2915
|
+
:app_version,
|
2916
|
+
:next_token)
|
2917
|
+
SENSITIVE = []
|
2918
|
+
include Aws::Structure
|
2919
|
+
end
|
2920
|
+
|
2921
|
+
# @!attribute [rw] app_arn
|
2922
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2923
|
+
# application. The format for this ARN is:
|
2924
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2925
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
2926
|
+
# in the *AWS General Reference* guide.
|
1827
2927
|
#
|
1828
2928
|
#
|
1829
2929
|
#
|
@@ -1881,11 +2981,11 @@ module Aws::ResilienceHub
|
|
1881
2981
|
end
|
1882
2982
|
|
1883
2983
|
# @!attribute [rw] app_arn
|
1884
|
-
# The Amazon Resource Name (ARN) of the
|
1885
|
-
# this ARN is:
|
1886
|
-
# arn:`partition
|
1887
|
-
#
|
1888
|
-
#
|
2984
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
2985
|
+
# application. The format for this ARN is:
|
2986
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2987
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
2988
|
+
# in the *AWS General Reference* guide.
|
1889
2989
|
#
|
1890
2990
|
#
|
1891
2991
|
#
|
@@ -1934,7 +3034,7 @@ module Aws::ResilienceHub
|
|
1934
3034
|
# @return [Array<Types::PhysicalResource>]
|
1935
3035
|
#
|
1936
3036
|
# @!attribute [rw] resolution_id
|
1937
|
-
# The
|
3037
|
+
# The ID for a specific resolution.
|
1938
3038
|
# @return [String]
|
1939
3039
|
#
|
1940
3040
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppVersionResourcesResponse AWS API Documentation
|
@@ -1948,11 +3048,11 @@ module Aws::ResilienceHub
|
|
1948
3048
|
end
|
1949
3049
|
|
1950
3050
|
# @!attribute [rw] app_arn
|
1951
|
-
# The Amazon Resource Name (ARN) of the
|
1952
|
-
# this ARN is:
|
1953
|
-
# arn:`partition
|
1954
|
-
#
|
1955
|
-
#
|
3051
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3052
|
+
# application. The format for this ARN is:
|
3053
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3054
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
3055
|
+
# in the *AWS General Reference* guide.
|
1956
3056
|
#
|
1957
3057
|
#
|
1958
3058
|
#
|
@@ -2000,11 +3100,11 @@ module Aws::ResilienceHub
|
|
2000
3100
|
end
|
2001
3101
|
|
2002
3102
|
# @!attribute [rw] app_arn
|
2003
|
-
# The Amazon Resource Name (ARN) of the
|
2004
|
-
# this ARN is:
|
2005
|
-
# arn:`partition
|
2006
|
-
#
|
2007
|
-
#
|
3103
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3104
|
+
# application. The format for this ARN is:
|
3105
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3106
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
3107
|
+
# in the *AWS General Reference* guide.
|
2008
3108
|
#
|
2009
3109
|
#
|
2010
3110
|
#
|
@@ -2059,9 +3159,9 @@ module Aws::ResilienceHub
|
|
2059
3159
|
# @!attribute [rw] assessment_arn
|
2060
3160
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2061
3161
|
# this ARN is:
|
2062
|
-
# arn:`partition
|
3162
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
2063
3163
|
# For more information about ARNs, see [ Amazon Resource Names
|
2064
|
-
# (ARNs)][1] in the *AWS General Reference
|
3164
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2065
3165
|
#
|
2066
3166
|
#
|
2067
3167
|
#
|
@@ -2176,9 +3276,9 @@ module Aws::ResilienceHub
|
|
2176
3276
|
# @!attribute [rw] assessment_arn
|
2177
3277
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2178
3278
|
# this ARN is:
|
2179
|
-
# arn:`partition
|
3279
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
2180
3280
|
# For more information about ARNs, see [ Amazon Resource Names
|
2181
|
-
# (ARNs)][1] in the *AWS General Reference
|
3281
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2182
3282
|
#
|
2183
3283
|
#
|
2184
3284
|
#
|
@@ -2296,9 +3396,9 @@ module Aws::ResilienceHub
|
|
2296
3396
|
# @!attribute [rw] assessment_arn
|
2297
3397
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2298
3398
|
# this ARN is:
|
2299
|
-
# arn:`partition
|
3399
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
2300
3400
|
# For more information about ARNs, see [ Amazon Resource Names
|
2301
|
-
# (ARNs)][1] in the *AWS General Reference
|
3401
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2302
3402
|
#
|
2303
3403
|
#
|
2304
3404
|
#
|
@@ -2346,11 +3446,11 @@ module Aws::ResilienceHub
|
|
2346
3446
|
end
|
2347
3447
|
|
2348
3448
|
# @!attribute [rw] app_arn
|
2349
|
-
# The Amazon Resource Name (ARN) of the
|
2350
|
-
# this ARN is:
|
2351
|
-
# arn:`partition
|
2352
|
-
#
|
2353
|
-
#
|
3449
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3450
|
+
# application. The format for this ARN is:
|
3451
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3452
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
3453
|
+
# in the *AWS General Reference* guide.
|
2354
3454
|
#
|
2355
3455
|
#
|
2356
3456
|
#
|
@@ -2414,6 +3514,15 @@ module Aws::ResilienceHub
|
|
2414
3514
|
|
2415
3515
|
# Defines a logical resource identifier.
|
2416
3516
|
#
|
3517
|
+
# @!attribute [rw] eks_source_name
|
3518
|
+
# The name of the Amazon Elastic Kubernetes Service cluster and
|
3519
|
+
# namespace this resource belongs to.
|
3520
|
+
#
|
3521
|
+
# <note markdown="1"> This parameter accepts values in "eks-cluster/namespace" format.
|
3522
|
+
#
|
3523
|
+
# </note>
|
3524
|
+
# @return [String]
|
3525
|
+
#
|
2417
3526
|
# @!attribute [rw] identifier
|
2418
3527
|
# The identifier of the resource.
|
2419
3528
|
# @return [String]
|
@@ -2433,6 +3542,7 @@ module Aws::ResilienceHub
|
|
2433
3542
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/LogicalResourceId AWS API Documentation
|
2434
3543
|
#
|
2435
3544
|
class LogicalResourceId < Struct.new(
|
3545
|
+
:eks_source_name,
|
2436
3546
|
:identifier,
|
2437
3547
|
:logical_stack_name,
|
2438
3548
|
:resource_group_name,
|
@@ -2443,12 +3553,31 @@ module Aws::ResilienceHub
|
|
2443
3553
|
|
2444
3554
|
# Defines a physical resource. A physical resource is a resource that
|
2445
3555
|
# exists in your account. It can be identified using an Amazon Resource
|
2446
|
-
# Name (ARN) or
|
3556
|
+
# Name (ARN) or an Resilience Hub-native identifier.
|
3557
|
+
#
|
3558
|
+
# @!attribute [rw] additional_info
|
3559
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
3560
|
+
# application.
|
3561
|
+
#
|
3562
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
|
3563
|
+
# format) of only one failover region and one associated account.
|
3564
|
+
#
|
3565
|
+
# Key: `"failover-regions"`
|
3566
|
+
#
|
3567
|
+
# Value: `"[\{"region":"<REGION>",
|
3568
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
3569
|
+
#
|
3570
|
+
# </note>
|
3571
|
+
# @return [Hash<String,Array<String>>]
|
2447
3572
|
#
|
2448
3573
|
# @!attribute [rw] app_components
|
2449
3574
|
# The application components that belong to this resource.
|
2450
3575
|
# @return [Array<Types::AppComponent>]
|
2451
3576
|
#
|
3577
|
+
# @!attribute [rw] excluded
|
3578
|
+
# Indicates if a resource is included or excluded from the assessment.
|
3579
|
+
# @return [Boolean]
|
3580
|
+
#
|
2452
3581
|
# @!attribute [rw] logical_resource_id
|
2453
3582
|
# The logical identifier of the resource.
|
2454
3583
|
# @return [Types::LogicalResourceId]
|
@@ -2468,7 +3597,9 @@ module Aws::ResilienceHub
|
|
2468
3597
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PhysicalResource AWS API Documentation
|
2469
3598
|
#
|
2470
3599
|
class PhysicalResource < Struct.new(
|
3600
|
+
:additional_info,
|
2471
3601
|
:app_components,
|
3602
|
+
:excluded,
|
2472
3603
|
:logical_resource_id,
|
2473
3604
|
:physical_resource_id,
|
2474
3605
|
:resource_name,
|
@@ -2479,101 +3610,305 @@ module Aws::ResilienceHub
|
|
2479
3610
|
|
2480
3611
|
# Defines a physical resource identifier.
|
2481
3612
|
#
|
2482
|
-
# @!attribute [rw] aws_account_id
|
2483
|
-
# The Amazon Web Services account that owns the physical resource.
|
2484
|
-
# @return [String]
|
3613
|
+
# @!attribute [rw] aws_account_id
|
3614
|
+
# The Amazon Web Services account that owns the physical resource.
|
3615
|
+
# @return [String]
|
3616
|
+
#
|
3617
|
+
# @!attribute [rw] aws_region
|
3618
|
+
# The Amazon Web Services Region that the physical resource is located
|
3619
|
+
# in.
|
3620
|
+
# @return [String]
|
3621
|
+
#
|
3622
|
+
# @!attribute [rw] identifier
|
3623
|
+
# The identifier of the physical resource.
|
3624
|
+
# @return [String]
|
3625
|
+
#
|
3626
|
+
# @!attribute [rw] type
|
3627
|
+
# Specifies the type of physical resource identifier.
|
3628
|
+
#
|
3629
|
+
# Arn
|
3630
|
+
#
|
3631
|
+
# : The resource identifier is an Amazon Resource Name (ARN) .
|
3632
|
+
#
|
3633
|
+
# Native
|
3634
|
+
#
|
3635
|
+
# : The resource identifier is an Resilience Hub-native identifier.
|
3636
|
+
# @return [String]
|
3637
|
+
#
|
3638
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PhysicalResourceId AWS API Documentation
|
3639
|
+
#
|
3640
|
+
class PhysicalResourceId < Struct.new(
|
3641
|
+
:aws_account_id,
|
3642
|
+
:aws_region,
|
3643
|
+
:identifier,
|
3644
|
+
:type)
|
3645
|
+
SENSITIVE = []
|
3646
|
+
include Aws::Structure
|
3647
|
+
end
|
3648
|
+
|
3649
|
+
# @!attribute [rw] app_arn
|
3650
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3651
|
+
# application. The format for this ARN is:
|
3652
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3653
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
3654
|
+
# in the *AWS General Reference* guide.
|
3655
|
+
#
|
3656
|
+
#
|
3657
|
+
#
|
3658
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3659
|
+
# @return [String]
|
3660
|
+
#
|
3661
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersionRequest AWS API Documentation
|
3662
|
+
#
|
3663
|
+
class PublishAppVersionRequest < Struct.new(
|
3664
|
+
:app_arn)
|
3665
|
+
SENSITIVE = []
|
3666
|
+
include Aws::Structure
|
3667
|
+
end
|
3668
|
+
|
3669
|
+
# @!attribute [rw] app_arn
|
3670
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3671
|
+
# application. The format for this ARN is:
|
3672
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3673
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
3674
|
+
# in the *AWS General Reference* guide.
|
3675
|
+
#
|
3676
|
+
#
|
3677
|
+
#
|
3678
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3679
|
+
# @return [String]
|
3680
|
+
#
|
3681
|
+
# @!attribute [rw] app_version
|
3682
|
+
# The version of the application.
|
3683
|
+
# @return [String]
|
3684
|
+
#
|
3685
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PublishAppVersionResponse AWS API Documentation
|
3686
|
+
#
|
3687
|
+
class PublishAppVersionResponse < Struct.new(
|
3688
|
+
:app_arn,
|
3689
|
+
:app_version)
|
3690
|
+
SENSITIVE = []
|
3691
|
+
include Aws::Structure
|
3692
|
+
end
|
3693
|
+
|
3694
|
+
# @!attribute [rw] app_arn
|
3695
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3696
|
+
# application. The format for this ARN is:
|
3697
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3698
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
3699
|
+
# in the *AWS General Reference* guide.
|
3700
|
+
#
|
3701
|
+
#
|
3702
|
+
#
|
3703
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3704
|
+
# @return [String]
|
3705
|
+
#
|
3706
|
+
# @!attribute [rw] app_template_body
|
3707
|
+
# A JSON string that provides information about your application
|
3708
|
+
# structure. To learn more about the `appTemplateBody` template, see
|
3709
|
+
# the sample template provided in the *Examples* section.
|
3710
|
+
#
|
3711
|
+
# The `appTemplateBody` JSON string has the following structure:
|
3712
|
+
#
|
3713
|
+
# * <b> <code>resources</code> </b>
|
3714
|
+
#
|
3715
|
+
# The list of logical resources that needs to be included in the
|
3716
|
+
# Resilience Hub application.
|
3717
|
+
#
|
3718
|
+
# Type: Array
|
3719
|
+
#
|
3720
|
+
# <note markdown="1"> Don't add the resources that you want to exclude.
|
3721
|
+
#
|
3722
|
+
# </note>
|
3723
|
+
#
|
3724
|
+
# Each `resources` array item includes the following fields:
|
3725
|
+
#
|
3726
|
+
# * <i> <code>logicalResourceId</code> </i>
|
3727
|
+
#
|
3728
|
+
# The logical identifier of the resource.
|
3729
|
+
#
|
3730
|
+
# Type: Object
|
3731
|
+
#
|
3732
|
+
# Each `logicalResourceId` object includes the following fields:
|
3733
|
+
#
|
3734
|
+
# * `identifier`
|
3735
|
+
#
|
3736
|
+
# The identifier of the resource.
|
3737
|
+
#
|
3738
|
+
# Type: String
|
3739
|
+
#
|
3740
|
+
# * `logicalStackName`
|
3741
|
+
#
|
3742
|
+
# The name of the CloudFormation stack this resource belongs to.
|
3743
|
+
#
|
3744
|
+
# Type: String
|
3745
|
+
#
|
3746
|
+
# * `resourceGroupName`
|
3747
|
+
#
|
3748
|
+
# The name of the resource group this resource belongs to.
|
3749
|
+
#
|
3750
|
+
# Type: String
|
3751
|
+
#
|
3752
|
+
# * `terraformSourceName`
|
3753
|
+
#
|
3754
|
+
# The name of the Terraform S3 state file this resource belongs
|
3755
|
+
# to.
|
3756
|
+
#
|
3757
|
+
# Type: String
|
3758
|
+
#
|
3759
|
+
# * <i> <code>type</code> </i>
|
3760
|
+
#
|
3761
|
+
# The type of resource.
|
3762
|
+
#
|
3763
|
+
# Type: string
|
3764
|
+
#
|
3765
|
+
# * <i> <code>name</code> </i>
|
3766
|
+
#
|
3767
|
+
# The name of the resource.
|
3768
|
+
#
|
3769
|
+
# Type: String
|
3770
|
+
#
|
3771
|
+
# * `additionalInfo`
|
3772
|
+
#
|
3773
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
3774
|
+
# application.
|
3775
|
+
#
|
3776
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a
|
3777
|
+
# string format) of only one failover region and one associated
|
3778
|
+
# account.
|
3779
|
+
#
|
3780
|
+
# Key: `"failover-regions"`
|
3781
|
+
#
|
3782
|
+
# Value: `"[\{"region":"<REGION>",
|
3783
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
3784
|
+
#
|
3785
|
+
# </note>
|
3786
|
+
#
|
3787
|
+
# * <b> <code>appComponents</code> </b>
|
3788
|
+
#
|
3789
|
+
# The list of Application Components that this resource belongs to.
|
3790
|
+
# If an Application Component is not part of the AWS Resilience Hub
|
3791
|
+
# application, it will be added.
|
3792
|
+
#
|
3793
|
+
# Type: Array
|
3794
|
+
#
|
3795
|
+
# Each `appComponents` array item includes the following fields:
|
3796
|
+
#
|
3797
|
+
# * `name`
|
3798
|
+
#
|
3799
|
+
# The name of the Application Component.
|
3800
|
+
#
|
3801
|
+
# Type: String
|
3802
|
+
#
|
3803
|
+
# * `type`
|
3804
|
+
#
|
3805
|
+
# The type of Application Component. For more information about
|
3806
|
+
# the types of Application Component, see [Grouping resources in
|
3807
|
+
# an AppComponent][1].
|
3808
|
+
#
|
3809
|
+
# Type: String
|
3810
|
+
#
|
3811
|
+
# * `resourceNames`
|
3812
|
+
#
|
3813
|
+
# The list of included resources that are assigned to the
|
3814
|
+
# Application Component.
|
3815
|
+
#
|
3816
|
+
# Type: Array of strings
|
3817
|
+
#
|
3818
|
+
# * `additionalInfo`
|
3819
|
+
#
|
3820
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
3821
|
+
# application.
|
3822
|
+
#
|
3823
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a
|
3824
|
+
# string format) of only one failover region and one associated
|
3825
|
+
# account.
|
3826
|
+
#
|
3827
|
+
# Key: `"failover-regions"`
|
3828
|
+
#
|
3829
|
+
# Value: `"[\{"region":"<REGION>",
|
3830
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
3831
|
+
#
|
3832
|
+
# </note>
|
3833
|
+
#
|
3834
|
+
# * <b> <code>excludedResources</code> </b>
|
3835
|
+
#
|
3836
|
+
# The list of logical resource identifiers to be excluded from the
|
3837
|
+
# application.
|
3838
|
+
#
|
3839
|
+
# Type: Array
|
3840
|
+
#
|
3841
|
+
# <note markdown="1"> Don't add the resources that you want to include.
|
3842
|
+
#
|
3843
|
+
# </note>
|
2485
3844
|
#
|
2486
|
-
#
|
2487
|
-
# The Amazon Web Services Region that the physical resource is located
|
2488
|
-
# in.
|
2489
|
-
# @return [String]
|
3845
|
+
# Each `excludedResources` array item includes the following fields:
|
2490
3846
|
#
|
2491
|
-
#
|
2492
|
-
# The identifier of the physical resource.
|
2493
|
-
# @return [String]
|
3847
|
+
# * <i> <code>logicalResourceIds</code> </i>
|
2494
3848
|
#
|
2495
|
-
#
|
2496
|
-
# Specifies the type of physical resource identifier.
|
3849
|
+
# The logical identifier of the resource.
|
2497
3850
|
#
|
2498
|
-
#
|
3851
|
+
# Type: Object
|
2499
3852
|
#
|
2500
|
-
#
|
3853
|
+
# <note markdown="1"> You can configure only one of the following fields:
|
2501
3854
|
#
|
2502
|
-
#
|
3855
|
+
# * `logicalStackName`
|
2503
3856
|
#
|
2504
|
-
#
|
2505
|
-
# @return [String]
|
3857
|
+
# * `resourceGroupName`
|
2506
3858
|
#
|
2507
|
-
#
|
3859
|
+
# * `terraformSourceName`
|
2508
3860
|
#
|
2509
|
-
|
2510
|
-
:aws_account_id,
|
2511
|
-
:aws_region,
|
2512
|
-
:identifier,
|
2513
|
-
:type)
|
2514
|
-
SENSITIVE = []
|
2515
|
-
include Aws::Structure
|
2516
|
-
end
|
2517
|
-
|
2518
|
-
# @!attribute [rw] app_arn
|
2519
|
-
# The Amazon Resource Name (ARN) of the application. The format for
|
2520
|
-
# this ARN is:
|
2521
|
-
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2522
|
-
# For more information about ARNs, see [ Amazon Resource Names
|
2523
|
-
# (ARNs)][1] in the *AWS General Reference*.
|
3861
|
+
# </note>
|
2524
3862
|
#
|
3863
|
+
# Each `logicalResourceIds` object includes the following fields:
|
2525
3864
|
#
|
3865
|
+
# * `identifier`
|
2526
3866
|
#
|
2527
|
-
#
|
2528
|
-
# @return [String]
|
3867
|
+
# The identifier of the resource.
|
2529
3868
|
#
|
2530
|
-
#
|
3869
|
+
# Type: String
|
2531
3870
|
#
|
2532
|
-
|
2533
|
-
:app_arn)
|
2534
|
-
SENSITIVE = []
|
2535
|
-
include Aws::Structure
|
2536
|
-
end
|
2537
|
-
|
2538
|
-
# @!attribute [rw] app_arn
|
2539
|
-
# The Amazon Resource Name (ARN) of the application. The format for
|
2540
|
-
# this ARN is:
|
2541
|
-
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2542
|
-
# For more information about ARNs, see [ Amazon Resource Names
|
2543
|
-
# (ARNs)][1] in the *AWS General Reference*.
|
3871
|
+
# * `logicalStackName`
|
2544
3872
|
#
|
3873
|
+
# The name of the CloudFormation stack this resource belongs to.
|
2545
3874
|
#
|
3875
|
+
# Type: String
|
2546
3876
|
#
|
2547
|
-
#
|
2548
|
-
# @return [String]
|
3877
|
+
# * `resourceGroupName`
|
2549
3878
|
#
|
2550
|
-
#
|
2551
|
-
# The version of the application.
|
2552
|
-
# @return [String]
|
3879
|
+
# The name of the resource group this resource belongs to.
|
2553
3880
|
#
|
2554
|
-
#
|
3881
|
+
# Type: String
|
2555
3882
|
#
|
2556
|
-
|
2557
|
-
:app_arn,
|
2558
|
-
:app_version)
|
2559
|
-
SENSITIVE = []
|
2560
|
-
include Aws::Structure
|
2561
|
-
end
|
2562
|
-
|
2563
|
-
# @!attribute [rw] app_arn
|
2564
|
-
# The Amazon Resource Name (ARN) of the application. The format for
|
2565
|
-
# this ARN is:
|
2566
|
-
# arn:`partition`\:resiliencehub:`region`\:`account`\:app/`app-id`.
|
2567
|
-
# For more information about ARNs, see [ Amazon Resource Names
|
2568
|
-
# (ARNs)][1] in the *AWS General Reference*.
|
3883
|
+
# * `terraformSourceName`
|
2569
3884
|
#
|
3885
|
+
# The name of the Terraform S3 state file this resource belongs
|
3886
|
+
# to.
|
2570
3887
|
#
|
3888
|
+
# Type: String
|
2571
3889
|
#
|
2572
|
-
#
|
2573
|
-
# @return [String]
|
3890
|
+
# * <b> <code>version</code> </b>
|
2574
3891
|
#
|
2575
|
-
#
|
2576
|
-
#
|
3892
|
+
# The AWS Resilience Hub application version.
|
3893
|
+
#
|
3894
|
+
# * `additionalInfo`
|
3895
|
+
#
|
3896
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
3897
|
+
# application.
|
3898
|
+
#
|
3899
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
|
3900
|
+
# format) of only one failover region and one associated account.
|
3901
|
+
#
|
3902
|
+
# Key: `"failover-regions"`
|
3903
|
+
#
|
3904
|
+
# Value: `"[\{"region":"<REGION>",
|
3905
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
3906
|
+
#
|
3907
|
+
# </note>
|
3908
|
+
#
|
3909
|
+
#
|
3910
|
+
#
|
3911
|
+
# [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
|
2577
3912
|
# @return [String]
|
2578
3913
|
#
|
2579
3914
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/PutDraftAppVersionTemplateRequest AWS API Documentation
|
@@ -2586,11 +3921,11 @@ module Aws::ResilienceHub
|
|
2586
3921
|
end
|
2587
3922
|
|
2588
3923
|
# @!attribute [rw] app_arn
|
2589
|
-
# The Amazon Resource Name (ARN) of the
|
2590
|
-
# this ARN is:
|
2591
|
-
# arn:`partition
|
2592
|
-
#
|
2593
|
-
#
|
3924
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
3925
|
+
# application. The format for this ARN is:
|
3926
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
3927
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
3928
|
+
# in the *AWS General Reference* guide.
|
2594
3929
|
#
|
2595
3930
|
#
|
2596
3931
|
#
|
@@ -2682,11 +4017,11 @@ module Aws::ResilienceHub
|
|
2682
4017
|
# CreateRecommendationTemplate action.
|
2683
4018
|
#
|
2684
4019
|
# @!attribute [rw] app_arn
|
2685
|
-
# The Amazon Resource Name (ARN) of the
|
2686
|
-
# this ARN is:
|
2687
|
-
# arn:`partition
|
2688
|
-
#
|
2689
|
-
#
|
4020
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4021
|
+
# application. The format for this ARN is:
|
4022
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
4023
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
4024
|
+
# in the *AWS General Reference* guide.
|
2690
4025
|
#
|
2691
4026
|
#
|
2692
4027
|
#
|
@@ -2696,9 +4031,9 @@ module Aws::ResilienceHub
|
|
2696
4031
|
# @!attribute [rw] assessment_arn
|
2697
4032
|
# The Amazon Resource Name (ARN) of the assessment. The format for
|
2698
4033
|
# this ARN is:
|
2699
|
-
# arn:`partition
|
4034
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app-assessment/`app-id`.
|
2700
4035
|
# For more information about ARNs, see [ Amazon Resource Names
|
2701
|
-
# (ARNs)][1] in the *AWS General Reference
|
4036
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2702
4037
|
#
|
2703
4038
|
#
|
2704
4039
|
#
|
@@ -2799,11 +4134,11 @@ module Aws::ResilienceHub
|
|
2799
4134
|
end
|
2800
4135
|
|
2801
4136
|
# @!attribute [rw] app_arn
|
2802
|
-
# The Amazon Resource Name (ARN) of the
|
2803
|
-
# this ARN is:
|
2804
|
-
# arn:`partition
|
2805
|
-
#
|
2806
|
-
#
|
4137
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4138
|
+
# application. The format for this ARN is:
|
4139
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
4140
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
4141
|
+
# in the *AWS General Reference* guide.
|
2807
4142
|
#
|
2808
4143
|
#
|
2809
4144
|
#
|
@@ -2811,26 +4146,37 @@ module Aws::ResilienceHub
|
|
2811
4146
|
# @return [String]
|
2812
4147
|
#
|
2813
4148
|
# @!attribute [rw] app_registry_app_names
|
2814
|
-
# The names of the registered applications to remove from the
|
2815
|
-
# mappings.
|
4149
|
+
# The names of the registered applications you want to remove from the
|
4150
|
+
# resource mappings.
|
4151
|
+
# @return [Array<String>]
|
4152
|
+
#
|
4153
|
+
# @!attribute [rw] eks_source_names
|
4154
|
+
# The names of the Amazon Elastic Kubernetes Service clusters and
|
4155
|
+
# namespaces you want to remove from the resource mappings.
|
4156
|
+
#
|
4157
|
+
# <note markdown="1"> This parameter accepts values in "eks-cluster/namespace" format.
|
4158
|
+
#
|
4159
|
+
# </note>
|
2816
4160
|
# @return [Array<String>]
|
2817
4161
|
#
|
2818
4162
|
# @!attribute [rw] logical_stack_names
|
2819
|
-
# The names of the CloudFormation stacks to remove from the
|
2820
|
-
# mappings.
|
4163
|
+
# The names of the CloudFormation stacks you want to remove from the
|
4164
|
+
# resource mappings.
|
2821
4165
|
# @return [Array<String>]
|
2822
4166
|
#
|
2823
4167
|
# @!attribute [rw] resource_group_names
|
2824
|
-
# The names of the resource groups to remove from the
|
2825
|
-
# mappings.
|
4168
|
+
# The names of the resource groups you want to remove from the
|
4169
|
+
# resource mappings.
|
2826
4170
|
# @return [Array<String>]
|
2827
4171
|
#
|
2828
4172
|
# @!attribute [rw] resource_names
|
2829
|
-
# The names of the resources to remove from the resource
|
4173
|
+
# The names of the resources you want to remove from the resource
|
4174
|
+
# mappings.
|
2830
4175
|
# @return [Array<String>]
|
2831
4176
|
#
|
2832
4177
|
# @!attribute [rw] terraform_source_names
|
2833
|
-
#
|
4178
|
+
# The names of the Terraform sources you want to remove from the
|
4179
|
+
# resource mappings.
|
2834
4180
|
# @return [Array<String>]
|
2835
4181
|
#
|
2836
4182
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RemoveDraftAppVersionResourceMappingsRequest AWS API Documentation
|
@@ -2838,6 +4184,7 @@ module Aws::ResilienceHub
|
|
2838
4184
|
class RemoveDraftAppVersionResourceMappingsRequest < Struct.new(
|
2839
4185
|
:app_arn,
|
2840
4186
|
:app_registry_app_names,
|
4187
|
+
:eks_source_names,
|
2841
4188
|
:logical_stack_names,
|
2842
4189
|
:resource_group_names,
|
2843
4190
|
:resource_names,
|
@@ -2847,11 +4194,11 @@ module Aws::ResilienceHub
|
|
2847
4194
|
end
|
2848
4195
|
|
2849
4196
|
# @!attribute [rw] app_arn
|
2850
|
-
# The Amazon Resource Name (ARN) of the
|
2851
|
-
# this ARN is:
|
2852
|
-
# arn:`partition
|
2853
|
-
#
|
2854
|
-
#
|
4197
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4198
|
+
# application. The format for this ARN is:
|
4199
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
4200
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
4201
|
+
# in the *AWS General Reference* guide.
|
2855
4202
|
#
|
2856
4203
|
#
|
2857
4204
|
#
|
@@ -2893,9 +4240,9 @@ module Aws::ResilienceHub
|
|
2893
4240
|
# @!attribute [rw] policy_arn
|
2894
4241
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
2895
4242
|
# for this ARN is:
|
2896
|
-
# arn:`partition
|
4243
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
2897
4244
|
# For more information about ARNs, see [ Amazon Resource Names
|
2898
|
-
# (ARNs)][1] in the *AWS General Reference
|
4245
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
2899
4246
|
#
|
2900
4247
|
#
|
2901
4248
|
#
|
@@ -2958,11 +4305,11 @@ module Aws::ResilienceHub
|
|
2958
4305
|
end
|
2959
4306
|
|
2960
4307
|
# @!attribute [rw] app_arn
|
2961
|
-
# The Amazon Resource Name (ARN) of the
|
2962
|
-
# this ARN is:
|
2963
|
-
# arn:`partition
|
2964
|
-
#
|
2965
|
-
#
|
4308
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4309
|
+
# application. The format for this ARN is:
|
4310
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
4311
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
4312
|
+
# in the *AWS General Reference* guide.
|
2966
4313
|
#
|
2967
4314
|
#
|
2968
4315
|
#
|
@@ -2983,11 +4330,11 @@ module Aws::ResilienceHub
|
|
2983
4330
|
end
|
2984
4331
|
|
2985
4332
|
# @!attribute [rw] app_arn
|
2986
|
-
# The Amazon Resource Name (ARN) of the
|
2987
|
-
# this ARN is:
|
2988
|
-
# arn:`partition
|
2989
|
-
#
|
2990
|
-
#
|
4333
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4334
|
+
# application. The format for this ARN is:
|
4335
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
4336
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
4337
|
+
# in the *AWS General Reference* guide.
|
2991
4338
|
#
|
2992
4339
|
#
|
2993
4340
|
#
|
@@ -3067,6 +4414,15 @@ module Aws::ResilienceHub
|
|
3067
4414
|
# The name of the application this resource is mapped to.
|
3068
4415
|
# @return [String]
|
3069
4416
|
#
|
4417
|
+
# @!attribute [rw] eks_source_name
|
4418
|
+
# The name of the Amazon Elastic Kubernetes Service cluster and
|
4419
|
+
# namespace this resource belongs to.
|
4420
|
+
#
|
4421
|
+
# <note markdown="1"> This parameter accepts values in "eks-cluster/namespace" format.
|
4422
|
+
#
|
4423
|
+
# </note>
|
4424
|
+
# @return [String]
|
4425
|
+
#
|
3070
4426
|
# @!attribute [rw] logical_stack_name
|
3071
4427
|
# The name of the CloudFormation stack this resource is mapped to.
|
3072
4428
|
# @return [String]
|
@@ -3092,7 +4448,7 @@ module Aws::ResilienceHub
|
|
3092
4448
|
#
|
3093
4449
|
# ResourceGroup
|
3094
4450
|
#
|
3095
|
-
# : The resource is mapped to
|
4451
|
+
# : The resource is mapped to an Resource Groups. The name of the
|
3096
4452
|
# resource group is contained in the `resourceGroupName` property.
|
3097
4453
|
# @return [String]
|
3098
4454
|
#
|
@@ -3116,6 +4472,7 @@ module Aws::ResilienceHub
|
|
3116
4472
|
#
|
3117
4473
|
class ResourceMapping < Struct.new(
|
3118
4474
|
:app_registry_app_name,
|
4475
|
+
:eks_source_name,
|
3119
4476
|
:logical_stack_name,
|
3120
4477
|
:mapping_type,
|
3121
4478
|
:physical_resource_id,
|
@@ -3126,7 +4483,7 @@ module Aws::ResilienceHub
|
|
3126
4483
|
include Aws::Structure
|
3127
4484
|
end
|
3128
4485
|
|
3129
|
-
#
|
4486
|
+
# This exception occurs when the specified resource could not be found.
|
3130
4487
|
#
|
3131
4488
|
# @!attribute [rw] message
|
3132
4489
|
# @return [String]
|
@@ -3168,9 +4525,9 @@ module Aws::ResilienceHub
|
|
3168
4525
|
include Aws::Structure
|
3169
4526
|
end
|
3170
4527
|
|
3171
|
-
#
|
3172
|
-
# remove some of the relevant resources,
|
3173
|
-
# request a service quota increase.
|
4528
|
+
# This exception occurs when you have exceeded your service quota. To
|
4529
|
+
# perform the requested action, remove some of the relevant resources,
|
4530
|
+
# or use Service Quotas to request a service quota increase.
|
3174
4531
|
#
|
3175
4532
|
# @!attribute [rw] message
|
3176
4533
|
# @return [String]
|
@@ -3186,7 +4543,7 @@ module Aws::ResilienceHub
|
|
3186
4543
|
# Defines a standard operating procedure (SOP) recommendation.
|
3187
4544
|
#
|
3188
4545
|
# @!attribute [rw] app_component_name
|
3189
|
-
# The
|
4546
|
+
# The name of the Application Component.
|
3190
4547
|
# @return [String]
|
3191
4548
|
#
|
3192
4549
|
# @!attribute [rw] description
|
@@ -3233,11 +4590,11 @@ module Aws::ResilienceHub
|
|
3233
4590
|
end
|
3234
4591
|
|
3235
4592
|
# @!attribute [rw] app_arn
|
3236
|
-
# The Amazon Resource Name (ARN) of the
|
3237
|
-
# this ARN is:
|
3238
|
-
# arn:`partition
|
3239
|
-
#
|
3240
|
-
#
|
4593
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4594
|
+
# application. The format for this ARN is:
|
4595
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
4596
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
4597
|
+
# in the *AWS General Reference* guide.
|
3241
4598
|
#
|
3242
4599
|
#
|
3243
4600
|
#
|
@@ -3316,7 +4673,7 @@ module Aws::ResilienceHub
|
|
3316
4673
|
# The Terraform s3 state file you need to import.
|
3317
4674
|
#
|
3318
4675
|
# @!attribute [rw] s3_state_file_url
|
3319
|
-
# The Terraform s3 state file you need to import.
|
4676
|
+
# The URL of the Terraform s3 state file you need to import.
|
3320
4677
|
# @return [String]
|
3321
4678
|
#
|
3322
4679
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/TerraformSource AWS API Documentation
|
@@ -3330,7 +4687,7 @@ module Aws::ResilienceHub
|
|
3330
4687
|
# Defines a test recommendation.
|
3331
4688
|
#
|
3332
4689
|
# @!attribute [rw] app_component_name
|
3333
|
-
# The name of the
|
4690
|
+
# The name of the Application Component.
|
3334
4691
|
# @return [String]
|
3335
4692
|
#
|
3336
4693
|
# @!attribute [rw] depends_on_alarms
|
@@ -3392,7 +4749,8 @@ module Aws::ResilienceHub
|
|
3392
4749
|
include Aws::Structure
|
3393
4750
|
end
|
3394
4751
|
|
3395
|
-
#
|
4752
|
+
# This exception occurs when you have exceeded the limit on the number
|
4753
|
+
# of requests per second.
|
3396
4754
|
#
|
3397
4755
|
# @!attribute [rw] message
|
3398
4756
|
# @return [String]
|
@@ -3424,12 +4782,17 @@ module Aws::ResilienceHub
|
|
3424
4782
|
# The type of resource.
|
3425
4783
|
# @return [String]
|
3426
4784
|
#
|
4785
|
+
# @!attribute [rw] unsupported_resource_status
|
4786
|
+
# The status of unsupported resource.
|
4787
|
+
# @return [String]
|
4788
|
+
#
|
3427
4789
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UnsupportedResource AWS API Documentation
|
3428
4790
|
#
|
3429
4791
|
class UnsupportedResource < Struct.new(
|
3430
4792
|
:logical_resource_id,
|
3431
4793
|
:physical_resource_id,
|
3432
|
-
:resource_type
|
4794
|
+
:resource_type,
|
4795
|
+
:unsupported_resource_status)
|
3433
4796
|
SENSITIVE = []
|
3434
4797
|
include Aws::Structure
|
3435
4798
|
end
|
@@ -3439,7 +4802,7 @@ module Aws::ResilienceHub
|
|
3439
4802
|
# @return [String]
|
3440
4803
|
#
|
3441
4804
|
# @!attribute [rw] tag_keys
|
3442
|
-
# The keys of the tags to remove.
|
4805
|
+
# The keys of the tags you want to remove.
|
3443
4806
|
# @return [Array<String>]
|
3444
4807
|
#
|
3445
4808
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UntagResourceRequest AWS API Documentation
|
@@ -3456,11 +4819,11 @@ module Aws::ResilienceHub
|
|
3456
4819
|
class UntagResourceResponse < Aws::EmptyStructure; end
|
3457
4820
|
|
3458
4821
|
# @!attribute [rw] app_arn
|
3459
|
-
# The Amazon Resource Name (ARN) of the
|
3460
|
-
# this ARN is:
|
3461
|
-
# arn:`partition
|
3462
|
-
#
|
3463
|
-
#
|
4822
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4823
|
+
# application. The format for this ARN is:
|
4824
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
4825
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
4826
|
+
# in the *AWS General Reference* guide.
|
3464
4827
|
#
|
3465
4828
|
#
|
3466
4829
|
#
|
@@ -3482,9 +4845,9 @@ module Aws::ResilienceHub
|
|
3482
4845
|
# @!attribute [rw] policy_arn
|
3483
4846
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
3484
4847
|
# for this ARN is:
|
3485
|
-
# arn:`partition
|
4848
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
3486
4849
|
# For more information about ARNs, see [ Amazon Resource Names
|
3487
|
-
# (ARNs)][1] in the *AWS General Reference
|
4850
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3488
4851
|
#
|
3489
4852
|
#
|
3490
4853
|
#
|
@@ -3517,6 +4880,260 @@ module Aws::ResilienceHub
|
|
3517
4880
|
include Aws::Structure
|
3518
4881
|
end
|
3519
4882
|
|
4883
|
+
# @!attribute [rw] additional_info
|
4884
|
+
# Currently, there is no supported additional information for
|
4885
|
+
# Application Components.
|
4886
|
+
# @return [Hash<String,Array<String>>]
|
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`. For
|
4892
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
4893
|
+
# 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] id
|
4901
|
+
# The identifier of the Application Component.
|
4902
|
+
# @return [String]
|
4903
|
+
#
|
4904
|
+
# @!attribute [rw] name
|
4905
|
+
# The name of the Application Component.
|
4906
|
+
# @return [String]
|
4907
|
+
#
|
4908
|
+
# @!attribute [rw] type
|
4909
|
+
# The type of Application Component. For more information about the
|
4910
|
+
# types of Application Component, see [Grouping resources in an
|
4911
|
+
# AppComponent][1].
|
4912
|
+
#
|
4913
|
+
#
|
4914
|
+
#
|
4915
|
+
# [1]: https://docs.aws.amazon.com/resilience-hub/latest/userguide/AppComponent.grouping.html
|
4916
|
+
# @return [String]
|
4917
|
+
#
|
4918
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionAppComponentRequest AWS API Documentation
|
4919
|
+
#
|
4920
|
+
class UpdateAppVersionAppComponentRequest < Struct.new(
|
4921
|
+
:additional_info,
|
4922
|
+
:app_arn,
|
4923
|
+
:id,
|
4924
|
+
:name,
|
4925
|
+
:type)
|
4926
|
+
SENSITIVE = []
|
4927
|
+
include Aws::Structure
|
4928
|
+
end
|
4929
|
+
|
4930
|
+
# @!attribute [rw] app_arn
|
4931
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4932
|
+
# application. The format for this ARN is:
|
4933
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
4934
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
4935
|
+
# in the *AWS General Reference* guide.
|
4936
|
+
#
|
4937
|
+
#
|
4938
|
+
#
|
4939
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4940
|
+
# @return [String]
|
4941
|
+
#
|
4942
|
+
# @!attribute [rw] app_component
|
4943
|
+
# The list of Application Components that belong to this resource.
|
4944
|
+
# @return [Types::AppComponent]
|
4945
|
+
#
|
4946
|
+
# @!attribute [rw] app_version
|
4947
|
+
# The AWS Resilience Hub application version.
|
4948
|
+
# @return [String]
|
4949
|
+
#
|
4950
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionAppComponentResponse AWS API Documentation
|
4951
|
+
#
|
4952
|
+
class UpdateAppVersionAppComponentResponse < Struct.new(
|
4953
|
+
:app_arn,
|
4954
|
+
:app_component,
|
4955
|
+
:app_version)
|
4956
|
+
SENSITIVE = []
|
4957
|
+
include Aws::Structure
|
4958
|
+
end
|
4959
|
+
|
4960
|
+
# @!attribute [rw] additional_info
|
4961
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
4962
|
+
# application.
|
4963
|
+
#
|
4964
|
+
# <note markdown="1"> Currently, this parameter accepts a key-value mapping (in a string
|
4965
|
+
# format) of only one failover region and one associated account.
|
4966
|
+
#
|
4967
|
+
# Key: `"failover-regions"`
|
4968
|
+
#
|
4969
|
+
# Value: `"[\{"region":"<REGION>",
|
4970
|
+
# "accounts":[\{"id":"<ACCOUNT_ID>"\}]\}]"`
|
4971
|
+
#
|
4972
|
+
# </note>
|
4973
|
+
# @return [Hash<String,Array<String>>]
|
4974
|
+
#
|
4975
|
+
# @!attribute [rw] app_arn
|
4976
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
4977
|
+
# application. The format for this ARN is:
|
4978
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
4979
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
4980
|
+
# in the *AWS General Reference* guide.
|
4981
|
+
#
|
4982
|
+
#
|
4983
|
+
#
|
4984
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4985
|
+
# @return [String]
|
4986
|
+
#
|
4987
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionRequest AWS API Documentation
|
4988
|
+
#
|
4989
|
+
class UpdateAppVersionRequest < Struct.new(
|
4990
|
+
:additional_info,
|
4991
|
+
:app_arn)
|
4992
|
+
SENSITIVE = []
|
4993
|
+
include Aws::Structure
|
4994
|
+
end
|
4995
|
+
|
4996
|
+
# @!attribute [rw] additional_info
|
4997
|
+
# Currently, there is no supported additional information for
|
4998
|
+
# resources.
|
4999
|
+
# @return [Hash<String,Array<String>>]
|
5000
|
+
#
|
5001
|
+
# @!attribute [rw] app_arn
|
5002
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
5003
|
+
# application. The format for this ARN is:
|
5004
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
5005
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
5006
|
+
# in the *AWS General Reference* guide.
|
5007
|
+
#
|
5008
|
+
#
|
5009
|
+
#
|
5010
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
5011
|
+
# @return [String]
|
5012
|
+
#
|
5013
|
+
# @!attribute [rw] app_components
|
5014
|
+
# The list of Application Components that this resource belongs to. If
|
5015
|
+
# an Application Component is not part of the AWS Resilience Hub
|
5016
|
+
# application, it will be added.
|
5017
|
+
# @return [Array<String>]
|
5018
|
+
#
|
5019
|
+
# @!attribute [rw] aws_account_id
|
5020
|
+
# The Amazon Web Services account that owns the physical resource.
|
5021
|
+
# @return [String]
|
5022
|
+
#
|
5023
|
+
# @!attribute [rw] aws_region
|
5024
|
+
# The Amazon Web Services region that owns the physical resource.
|
5025
|
+
# @return [String]
|
5026
|
+
#
|
5027
|
+
# @!attribute [rw] excluded
|
5028
|
+
# Indicates if a resource is excluded from an Resilience Hub
|
5029
|
+
# application.
|
5030
|
+
#
|
5031
|
+
# <note markdown="1"> You can exclude only imported resources from an Resilience Hub
|
5032
|
+
# application.
|
5033
|
+
#
|
5034
|
+
# </note>
|
5035
|
+
# @return [Boolean]
|
5036
|
+
#
|
5037
|
+
# @!attribute [rw] logical_resource_id
|
5038
|
+
# The logical identifier of the resource.
|
5039
|
+
# @return [Types::LogicalResourceId]
|
5040
|
+
#
|
5041
|
+
# @!attribute [rw] physical_resource_id
|
5042
|
+
# The physical identifier of the resource.
|
5043
|
+
# @return [String]
|
5044
|
+
#
|
5045
|
+
# @!attribute [rw] resource_name
|
5046
|
+
# The name of the resource.
|
5047
|
+
# @return [String]
|
5048
|
+
#
|
5049
|
+
# @!attribute [rw] resource_type
|
5050
|
+
# The type of resource.
|
5051
|
+
# @return [String]
|
5052
|
+
#
|
5053
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionResourceRequest AWS API Documentation
|
5054
|
+
#
|
5055
|
+
class UpdateAppVersionResourceRequest < Struct.new(
|
5056
|
+
:additional_info,
|
5057
|
+
:app_arn,
|
5058
|
+
:app_components,
|
5059
|
+
:aws_account_id,
|
5060
|
+
:aws_region,
|
5061
|
+
:excluded,
|
5062
|
+
:logical_resource_id,
|
5063
|
+
:physical_resource_id,
|
5064
|
+
:resource_name,
|
5065
|
+
:resource_type)
|
5066
|
+
SENSITIVE = []
|
5067
|
+
include Aws::Structure
|
5068
|
+
end
|
5069
|
+
|
5070
|
+
# @!attribute [rw] app_arn
|
5071
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
5072
|
+
# application. The format for this ARN is:
|
5073
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
5074
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
5075
|
+
# in the *AWS General Reference* guide.
|
5076
|
+
#
|
5077
|
+
#
|
5078
|
+
#
|
5079
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
5080
|
+
# @return [String]
|
5081
|
+
#
|
5082
|
+
# @!attribute [rw] app_version
|
5083
|
+
# The AWS Resilience Hub application version.
|
5084
|
+
# @return [String]
|
5085
|
+
#
|
5086
|
+
# @!attribute [rw] physical_resource
|
5087
|
+
# Defines a physical resource. A physical resource is a resource that
|
5088
|
+
# exists in your account. It can be identified using an Amazon
|
5089
|
+
# Resource Name (ARN) or a Resilience Hub-native identifier.
|
5090
|
+
# @return [Types::PhysicalResource]
|
5091
|
+
#
|
5092
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionResourceResponse AWS API Documentation
|
5093
|
+
#
|
5094
|
+
class UpdateAppVersionResourceResponse < Struct.new(
|
5095
|
+
:app_arn,
|
5096
|
+
:app_version,
|
5097
|
+
:physical_resource)
|
5098
|
+
SENSITIVE = []
|
5099
|
+
include Aws::Structure
|
5100
|
+
end
|
5101
|
+
|
5102
|
+
# @!attribute [rw] additional_info
|
5103
|
+
# Additional configuration parameters for an AWS Resilience Hub
|
5104
|
+
# application.
|
5105
|
+
#
|
5106
|
+
# <note markdown="1"> Currently, this parameter supports only failover region and account.
|
5107
|
+
#
|
5108
|
+
# </note>
|
5109
|
+
# @return [Hash<String,Array<String>>]
|
5110
|
+
#
|
5111
|
+
# @!attribute [rw] app_arn
|
5112
|
+
# The Amazon Resource Name (ARN) of the AWS Resilience Hub
|
5113
|
+
# application. The format for this ARN is:
|
5114
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
5115
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
5116
|
+
# in the *AWS General Reference* guide.
|
5117
|
+
#
|
5118
|
+
#
|
5119
|
+
#
|
5120
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
5121
|
+
# @return [String]
|
5122
|
+
#
|
5123
|
+
# @!attribute [rw] app_version
|
5124
|
+
# The AWS Resilience Hub application version.
|
5125
|
+
# @return [String]
|
5126
|
+
#
|
5127
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/UpdateAppVersionResponse AWS API Documentation
|
5128
|
+
#
|
5129
|
+
class UpdateAppVersionResponse < Struct.new(
|
5130
|
+
:additional_info,
|
5131
|
+
:app_arn,
|
5132
|
+
:app_version)
|
5133
|
+
SENSITIVE = []
|
5134
|
+
include Aws::Structure
|
5135
|
+
end
|
5136
|
+
|
3520
5137
|
# @!attribute [rw] data_location_constraint
|
3521
5138
|
# Specifies a high-level geographical location constraint for where
|
3522
5139
|
# your resilience policy data can be stored.
|
@@ -3530,9 +5147,9 @@ module Aws::ResilienceHub
|
|
3530
5147
|
# @!attribute [rw] policy_arn
|
3531
5148
|
# The Amazon Resource Name (ARN) of the resiliency policy. The format
|
3532
5149
|
# for this ARN is:
|
3533
|
-
# arn:`partition
|
5150
|
+
# arn:`partition`:resiliencehub:`region`:`account`:resiliency-policy/`policy-id`.
|
3534
5151
|
# For more information about ARNs, see [ Amazon Resource Names
|
3535
|
-
# (ARNs)][1] in the *AWS General Reference
|
5152
|
+
# (ARNs)][1] in the *AWS General Reference* guide.
|
3536
5153
|
#
|
3537
5154
|
#
|
3538
5155
|
#
|
@@ -3579,7 +5196,7 @@ module Aws::ResilienceHub
|
|
3579
5196
|
include Aws::Structure
|
3580
5197
|
end
|
3581
5198
|
|
3582
|
-
#
|
5199
|
+
# This exception occurs when a request is not valid.
|
3583
5200
|
#
|
3584
5201
|
# @!attribute [rw] message
|
3585
5202
|
# @return [String]
|