aws-sdk-resiliencehub 1.32.0 → 1.34.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 +317 -26
- data/lib/aws-sdk-resiliencehub/client_api.rb +204 -2
- data/lib/aws-sdk-resiliencehub/endpoints.rb +70 -0
- data/lib/aws-sdk-resiliencehub/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-resiliencehub/types.rb +540 -10
- data/lib/aws-sdk-resiliencehub.rb +2 -2
- data/sig/client.rbs +74 -1
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +132 -9
- metadata +6 -6
@@ -10,6 +10,73 @@
|
|
10
10
|
module Aws::ResilienceHub
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Indicates the grouping recommendation you have accepted to include in
|
14
|
+
# your application.
|
15
|
+
#
|
16
|
+
# @!attribute [rw] grouping_recommendation_id
|
17
|
+
# Indicates the identifier of the grouping recommendation.
|
18
|
+
# @return [String]
|
19
|
+
#
|
20
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AcceptGroupingRecommendationEntry AWS API Documentation
|
21
|
+
#
|
22
|
+
class AcceptGroupingRecommendationEntry < Struct.new(
|
23
|
+
:grouping_recommendation_id)
|
24
|
+
SENSITIVE = []
|
25
|
+
include Aws::Structure
|
26
|
+
end
|
27
|
+
|
28
|
+
# @!attribute [rw] app_arn
|
29
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
30
|
+
# 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 *Amazon Web Services General Reference* guide.
|
34
|
+
#
|
35
|
+
#
|
36
|
+
#
|
37
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
38
|
+
# @return [String]
|
39
|
+
#
|
40
|
+
# @!attribute [rw] entries
|
41
|
+
# Indicates the list of resource grouping recommendations you want to
|
42
|
+
# include in your application.
|
43
|
+
# @return [Array<Types::AcceptGroupingRecommendationEntry>]
|
44
|
+
#
|
45
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AcceptResourceGroupingRecommendationsRequest AWS API Documentation
|
46
|
+
#
|
47
|
+
class AcceptResourceGroupingRecommendationsRequest < Struct.new(
|
48
|
+
:app_arn,
|
49
|
+
:entries)
|
50
|
+
SENSITIVE = []
|
51
|
+
include Aws::Structure
|
52
|
+
end
|
53
|
+
|
54
|
+
# @!attribute [rw] app_arn
|
55
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
56
|
+
# format for this ARN is:
|
57
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
58
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
59
|
+
# in the *Amazon Web Services General Reference* guide.
|
60
|
+
#
|
61
|
+
#
|
62
|
+
#
|
63
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
64
|
+
# @return [String]
|
65
|
+
#
|
66
|
+
# @!attribute [rw] failed_entries
|
67
|
+
# Indicates the list of resource grouping recommendations that could
|
68
|
+
# not be included in your application.
|
69
|
+
# @return [Array<Types::FailedGroupingRecommendationEntry>]
|
70
|
+
#
|
71
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AcceptResourceGroupingRecommendationsResponse AWS API Documentation
|
72
|
+
#
|
73
|
+
class AcceptResourceGroupingRecommendationsResponse < Struct.new(
|
74
|
+
:app_arn,
|
75
|
+
:failed_entries)
|
76
|
+
SENSITIVE = []
|
77
|
+
include Aws::Structure
|
78
|
+
end
|
79
|
+
|
13
80
|
# You don't have permissions to perform the requested operation. The
|
14
81
|
# user or role that is making the request must have at least one IAM
|
15
82
|
# permissions policy attached that grants the required permissions.
|
@@ -356,6 +423,11 @@ module Aws::ResilienceHub
|
|
356
423
|
# Starting time for the action.
|
357
424
|
# @return [Time]
|
358
425
|
#
|
426
|
+
# @!attribute [rw] summary
|
427
|
+
# Indicates a concise summary that provides an overview of the
|
428
|
+
# Resilience Hub assessment.
|
429
|
+
# @return [Types::AssessmentSummary]
|
430
|
+
#
|
359
431
|
# @!attribute [rw] tags
|
360
432
|
# Tags assigned to the resource. A tag is a label that you assign to
|
361
433
|
# an Amazon Web Services resource. Each tag consists of a key/value
|
@@ -385,6 +457,7 @@ module Aws::ResilienceHub
|
|
385
457
|
:resiliency_score,
|
386
458
|
:resource_errors_details,
|
387
459
|
:start_time,
|
460
|
+
:summary,
|
388
461
|
:tags,
|
389
462
|
:version_name)
|
390
463
|
SENSITIVE = [:tags]
|
@@ -430,7 +503,7 @@ module Aws::ResilienceHub
|
|
430
503
|
# @return [String]
|
431
504
|
#
|
432
505
|
# @!attribute [rw] compliance_status
|
433
|
-
#
|
506
|
+
# Current status of compliance for the resiliency policy.
|
434
507
|
# @return [String]
|
435
508
|
#
|
436
509
|
# @!attribute [rw] cost
|
@@ -726,6 +799,96 @@ module Aws::ResilienceHub
|
|
726
799
|
include Aws::Structure
|
727
800
|
end
|
728
801
|
|
802
|
+
# Indicates a specific risk identified in the Resilience Hub assessment
|
803
|
+
# and the corresponding recommendation provided to address that risk.
|
804
|
+
#
|
805
|
+
# <note markdown="1"> The assessment summary generated by large language models (LLMs) on
|
806
|
+
# Amazon Bedrock are only suggestions. The current level of generative
|
807
|
+
# AI technology is not perfect and LLMs are not infallible. Bias and
|
808
|
+
# incorrect answers, although rare, should be expected. Review each
|
809
|
+
# recommendation in the assessment summary before you use the output
|
810
|
+
# from an LLM.
|
811
|
+
#
|
812
|
+
# </note>
|
813
|
+
#
|
814
|
+
# <note markdown="1"> This property is available only in the US East (N. Virginia) Region.
|
815
|
+
#
|
816
|
+
# </note>
|
817
|
+
#
|
818
|
+
# @!attribute [rw] app_components
|
819
|
+
# Indicates the Application Components (AppComponents) that were
|
820
|
+
# assessed as part of the assessnent and are associated with the
|
821
|
+
# identified risk and recommendation.
|
822
|
+
#
|
823
|
+
# <note markdown="1"> This property is available only in the US East (N. Virginia) Region.
|
824
|
+
#
|
825
|
+
# </note>
|
826
|
+
# @return [Array<String>]
|
827
|
+
#
|
828
|
+
# @!attribute [rw] recommendation
|
829
|
+
# Indicates the recommendation provided by the Resilience Hub to
|
830
|
+
# address the identified risks in the application.
|
831
|
+
#
|
832
|
+
# <note markdown="1"> This property is available only in the US East (N. Virginia) Region.
|
833
|
+
#
|
834
|
+
# </note>
|
835
|
+
# @return [String]
|
836
|
+
#
|
837
|
+
# @!attribute [rw] risk
|
838
|
+
# Indicates the description of the potential risk identified in the
|
839
|
+
# application as part of the Resilience Hub assessment.
|
840
|
+
#
|
841
|
+
# <note markdown="1"> This property is available only in the US East (N. Virginia) Region.
|
842
|
+
#
|
843
|
+
# </note>
|
844
|
+
# @return [String]
|
845
|
+
#
|
846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AssessmentRiskRecommendation AWS API Documentation
|
847
|
+
#
|
848
|
+
class AssessmentRiskRecommendation < Struct.new(
|
849
|
+
:app_components,
|
850
|
+
:recommendation,
|
851
|
+
:risk)
|
852
|
+
SENSITIVE = []
|
853
|
+
include Aws::Structure
|
854
|
+
end
|
855
|
+
|
856
|
+
# Indicates the AI-generated summary for the Resilience Hub assessment,
|
857
|
+
# providing a concise overview that highlights the top risks and
|
858
|
+
# recommendations.
|
859
|
+
#
|
860
|
+
# <note markdown="1"> This property is available only in the US East (N. Virginia) Region.
|
861
|
+
#
|
862
|
+
# </note>
|
863
|
+
#
|
864
|
+
# @!attribute [rw] risk_recommendations
|
865
|
+
# Indicates the top risks and recommendations identified by the
|
866
|
+
# Resilience Hub assessment, each representing a specific risk and the
|
867
|
+
# corresponding recommendation to address it.
|
868
|
+
#
|
869
|
+
# <note markdown="1"> This property is available only in the US East (N. Virginia) Region.
|
870
|
+
#
|
871
|
+
# </note>
|
872
|
+
# @return [Array<Types::AssessmentRiskRecommendation>]
|
873
|
+
#
|
874
|
+
# @!attribute [rw] summary
|
875
|
+
# Indicates a concise summary that provides an overview of the
|
876
|
+
# Resilience Hub assessment.
|
877
|
+
#
|
878
|
+
# <note markdown="1"> This property is available only in the US East (N. Virginia) Region.
|
879
|
+
#
|
880
|
+
# </note>
|
881
|
+
# @return [String]
|
882
|
+
#
|
883
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/AssessmentSummary AWS API Documentation
|
884
|
+
#
|
885
|
+
class AssessmentSummary < Struct.new(
|
886
|
+
:risk_recommendations,
|
887
|
+
:summary)
|
888
|
+
SENSITIVE = []
|
889
|
+
include Aws::Structure
|
890
|
+
end
|
891
|
+
|
729
892
|
# List of operational recommendations that did not get included or
|
730
893
|
# excluded.
|
731
894
|
#
|
@@ -875,7 +1038,7 @@ module Aws::ResilienceHub
|
|
875
1038
|
# @!attribute [rw] diff_type
|
876
1039
|
# Difference type between actual and expected recovery point objective
|
877
1040
|
# (RPO) and recovery time objective (RTO) values. Currently,
|
878
|
-
# Resilience Hub supports only
|
1041
|
+
# Resilience Hub supports only `NotEqual` difference type.
|
879
1042
|
# @return [String]
|
880
1043
|
#
|
881
1044
|
# @!attribute [rw] drift_type
|
@@ -2665,6 +2828,54 @@ module Aws::ResilienceHub
|
|
2665
2828
|
include Aws::Structure
|
2666
2829
|
end
|
2667
2830
|
|
2831
|
+
# @!attribute [rw] app_arn
|
2832
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
2833
|
+
# format for this ARN is:
|
2834
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
2835
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
2836
|
+
# in the *Amazon Web Services General Reference* guide.
|
2837
|
+
#
|
2838
|
+
#
|
2839
|
+
#
|
2840
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
2841
|
+
# @return [String]
|
2842
|
+
#
|
2843
|
+
# @!attribute [rw] grouping_id
|
2844
|
+
# Indicates the identifier of the grouping recommendation task.
|
2845
|
+
# @return [String]
|
2846
|
+
#
|
2847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResourceGroupingRecommendationTaskRequest AWS API Documentation
|
2848
|
+
#
|
2849
|
+
class DescribeResourceGroupingRecommendationTaskRequest < Struct.new(
|
2850
|
+
:app_arn,
|
2851
|
+
:grouping_id)
|
2852
|
+
SENSITIVE = []
|
2853
|
+
include Aws::Structure
|
2854
|
+
end
|
2855
|
+
|
2856
|
+
# @!attribute [rw] error_message
|
2857
|
+
# Indicates the error that occurred while generating a grouping
|
2858
|
+
# recommendation.
|
2859
|
+
# @return [String]
|
2860
|
+
#
|
2861
|
+
# @!attribute [rw] grouping_id
|
2862
|
+
# Indicates the identifier of the grouping recommendation task.
|
2863
|
+
# @return [String]
|
2864
|
+
#
|
2865
|
+
# @!attribute [rw] status
|
2866
|
+
# Status of the action.
|
2867
|
+
# @return [String]
|
2868
|
+
#
|
2869
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/DescribeResourceGroupingRecommendationTaskResponse AWS API Documentation
|
2870
|
+
#
|
2871
|
+
class DescribeResourceGroupingRecommendationTaskResponse < Struct.new(
|
2872
|
+
:error_message,
|
2873
|
+
:grouping_id,
|
2874
|
+
:status)
|
2875
|
+
SENSITIVE = []
|
2876
|
+
include Aws::Structure
|
2877
|
+
end
|
2878
|
+
|
2668
2879
|
# Defines the compliance against the resiliency policy for a disruption.
|
2669
2880
|
#
|
2670
2881
|
# @!attribute [rw] achievable_rpo_in_secs
|
@@ -2818,6 +3029,27 @@ module Aws::ResilienceHub
|
|
2818
3029
|
include Aws::Structure
|
2819
3030
|
end
|
2820
3031
|
|
3032
|
+
# Indicates the accepted grouping recommendation whose implementation
|
3033
|
+
# failed.
|
3034
|
+
#
|
3035
|
+
# @!attribute [rw] error_message
|
3036
|
+
# Indicates the error that occurred while implementing a grouping
|
3037
|
+
# recommendation.
|
3038
|
+
# @return [String]
|
3039
|
+
#
|
3040
|
+
# @!attribute [rw] grouping_recommendation_id
|
3041
|
+
# Indicates the identifier of the grouping recommendation.
|
3042
|
+
# @return [String]
|
3043
|
+
#
|
3044
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/FailedGroupingRecommendationEntry AWS API Documentation
|
3045
|
+
#
|
3046
|
+
class FailedGroupingRecommendationEntry < Struct.new(
|
3047
|
+
:error_message,
|
3048
|
+
:grouping_recommendation_id)
|
3049
|
+
SENSITIVE = []
|
3050
|
+
include Aws::Structure
|
3051
|
+
end
|
3052
|
+
|
2821
3053
|
# Defines a failure policy.
|
2822
3054
|
#
|
2823
3055
|
# @!attribute [rw] rpo_in_secs
|
@@ -2837,6 +3069,126 @@ module Aws::ResilienceHub
|
|
2837
3069
|
include Aws::Structure
|
2838
3070
|
end
|
2839
3071
|
|
3072
|
+
# Creates a new recommended Application Component (AppComponent).
|
3073
|
+
#
|
3074
|
+
# @!attribute [rw] app_component_id
|
3075
|
+
# Indicates the identifier of an AppComponent.
|
3076
|
+
# @return [String]
|
3077
|
+
#
|
3078
|
+
# @!attribute [rw] app_component_name
|
3079
|
+
# Indicates the name of an AppComponent.
|
3080
|
+
# @return [String]
|
3081
|
+
#
|
3082
|
+
# @!attribute [rw] app_component_type
|
3083
|
+
# Indicates the type of an AppComponent.
|
3084
|
+
# @return [String]
|
3085
|
+
#
|
3086
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/GroupingAppComponent AWS API Documentation
|
3087
|
+
#
|
3088
|
+
class GroupingAppComponent < Struct.new(
|
3089
|
+
:app_component_id,
|
3090
|
+
:app_component_name,
|
3091
|
+
:app_component_type)
|
3092
|
+
SENSITIVE = []
|
3093
|
+
include Aws::Structure
|
3094
|
+
end
|
3095
|
+
|
3096
|
+
# Creates a new grouping recommendation.
|
3097
|
+
#
|
3098
|
+
# @!attribute [rw] confidence_level
|
3099
|
+
# Indicates the confidence level of Resilience Hub on the grouping
|
3100
|
+
# recommendation.
|
3101
|
+
# @return [String]
|
3102
|
+
#
|
3103
|
+
# @!attribute [rw] creation_time
|
3104
|
+
# Indicates the creation time of the grouping recommendation.
|
3105
|
+
# @return [Time]
|
3106
|
+
#
|
3107
|
+
# @!attribute [rw] grouping_app_component
|
3108
|
+
# Indicates the name of the recommended Application Component
|
3109
|
+
# (AppComponent).
|
3110
|
+
# @return [Types::GroupingAppComponent]
|
3111
|
+
#
|
3112
|
+
# @!attribute [rw] grouping_recommendation_id
|
3113
|
+
# Indicates all the reasons available for rejecting a grouping
|
3114
|
+
# recommendation.
|
3115
|
+
# @return [String]
|
3116
|
+
#
|
3117
|
+
# @!attribute [rw] recommendation_reasons
|
3118
|
+
# Indicates all the reasons available for rejecting a grouping
|
3119
|
+
# recommendation.
|
3120
|
+
# @return [Array<String>]
|
3121
|
+
#
|
3122
|
+
# @!attribute [rw] rejection_reason
|
3123
|
+
# Indicates the reason you had selected while rejecting a grouping
|
3124
|
+
# recommendation.
|
3125
|
+
# @return [String]
|
3126
|
+
#
|
3127
|
+
# @!attribute [rw] resources
|
3128
|
+
# Indicates the resources that are grouped in a recommended
|
3129
|
+
# AppComponent.
|
3130
|
+
# @return [Array<Types::GroupingResource>]
|
3131
|
+
#
|
3132
|
+
# @!attribute [rw] score
|
3133
|
+
# Indicates the confidence level of the grouping recommendation.
|
3134
|
+
# @return [Float]
|
3135
|
+
#
|
3136
|
+
# @!attribute [rw] status
|
3137
|
+
# Indicates the status of grouping resources into AppComponents.
|
3138
|
+
# @return [String]
|
3139
|
+
#
|
3140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/GroupingRecommendation AWS API Documentation
|
3141
|
+
#
|
3142
|
+
class GroupingRecommendation < Struct.new(
|
3143
|
+
:confidence_level,
|
3144
|
+
:creation_time,
|
3145
|
+
:grouping_app_component,
|
3146
|
+
:grouping_recommendation_id,
|
3147
|
+
:recommendation_reasons,
|
3148
|
+
:rejection_reason,
|
3149
|
+
:resources,
|
3150
|
+
:score,
|
3151
|
+
:status)
|
3152
|
+
SENSITIVE = []
|
3153
|
+
include Aws::Structure
|
3154
|
+
end
|
3155
|
+
|
3156
|
+
# Indicates the resource that will be grouped in the recommended
|
3157
|
+
# Application Component (AppComponent).
|
3158
|
+
#
|
3159
|
+
# @!attribute [rw] logical_resource_id
|
3160
|
+
# Indicates the logical identifier of the resource.
|
3161
|
+
# @return [Types::LogicalResourceId]
|
3162
|
+
#
|
3163
|
+
# @!attribute [rw] physical_resource_id
|
3164
|
+
# Indicates the physical identifier of the resource.
|
3165
|
+
# @return [Types::PhysicalResourceId]
|
3166
|
+
#
|
3167
|
+
# @!attribute [rw] resource_name
|
3168
|
+
# Indicates the resource name.
|
3169
|
+
# @return [String]
|
3170
|
+
#
|
3171
|
+
# @!attribute [rw] resource_type
|
3172
|
+
# Indicates the resource type.
|
3173
|
+
# @return [String]
|
3174
|
+
#
|
3175
|
+
# @!attribute [rw] source_app_component_ids
|
3176
|
+
# Indicates the identifier of the source AppComponents in which the
|
3177
|
+
# resources were previously grouped into.
|
3178
|
+
# @return [Array<String>]
|
3179
|
+
#
|
3180
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/GroupingResource AWS API Documentation
|
3181
|
+
#
|
3182
|
+
class GroupingResource < Struct.new(
|
3183
|
+
:logical_resource_id,
|
3184
|
+
:physical_resource_id,
|
3185
|
+
:resource_name,
|
3186
|
+
:resource_type,
|
3187
|
+
:source_app_component_ids)
|
3188
|
+
SENSITIVE = []
|
3189
|
+
include Aws::Structure
|
3190
|
+
end
|
3191
|
+
|
2840
3192
|
# @!attribute [rw] app_arn
|
2841
3193
|
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
2842
3194
|
# format for this ARN is:
|
@@ -3008,13 +3360,12 @@ module Aws::ResilienceHub
|
|
3008
3360
|
# @return [String]
|
3009
3361
|
#
|
3010
3362
|
# @!attribute [rw] max_results
|
3011
|
-
# Indicates the maximum number of
|
3363
|
+
# Indicates the maximum number of compliance drifts requested.
|
3012
3364
|
# @return [Integer]
|
3013
3365
|
#
|
3014
3366
|
# @!attribute [rw] next_token
|
3015
|
-
#
|
3016
|
-
#
|
3017
|
-
# applications.
|
3367
|
+
# Null, or the token from a previous call to get the next set of
|
3368
|
+
# results.
|
3018
3369
|
# @return [String]
|
3019
3370
|
#
|
3020
3371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessmentComplianceDriftsRequest AWS API Documentation
|
@@ -3033,8 +3384,8 @@ module Aws::ResilienceHub
|
|
3033
3384
|
# @return [Array<Types::ComplianceDrift>]
|
3034
3385
|
#
|
3035
3386
|
# @!attribute [rw] next_token
|
3036
|
-
#
|
3037
|
-
#
|
3387
|
+
# Null, or the token from a previous call to get the next set of
|
3388
|
+
# results.
|
3038
3389
|
# @return [String]
|
3039
3390
|
#
|
3040
3391
|
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListAppAssessmentComplianceDriftsResponse AWS API Documentation
|
@@ -3645,7 +3996,7 @@ module Aws::ResilienceHub
|
|
3645
3996
|
# @!attribute [rw] reverse_order
|
3646
3997
|
# The application list is sorted based on the values of
|
3647
3998
|
# `lastAppComplianceEvaluationTime` field. By default, application
|
3648
|
-
# list is sorted in ascending order. To sort the
|
3999
|
+
# list is sorted in ascending order. To sort the application list in
|
3649
4000
|
# descending order, set this field to `True`.
|
3650
4001
|
# @return [Boolean]
|
3651
4002
|
#
|
@@ -3803,6 +4154,57 @@ module Aws::ResilienceHub
|
|
3803
4154
|
include Aws::Structure
|
3804
4155
|
end
|
3805
4156
|
|
4157
|
+
# @!attribute [rw] app_arn
|
4158
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
4159
|
+
# format for this ARN is:
|
4160
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
4161
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
4162
|
+
# in the *Amazon Web Services General Reference* guide.
|
4163
|
+
#
|
4164
|
+
#
|
4165
|
+
#
|
4166
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
4167
|
+
# @return [String]
|
4168
|
+
#
|
4169
|
+
# @!attribute [rw] max_results
|
4170
|
+
# Maximum number of grouping recommendations to be displayed per
|
4171
|
+
# Resilience Hub application.
|
4172
|
+
# @return [Integer]
|
4173
|
+
#
|
4174
|
+
# @!attribute [rw] next_token
|
4175
|
+
# Null, or the token from a previous call to get the next set of
|
4176
|
+
# results.
|
4177
|
+
# @return [String]
|
4178
|
+
#
|
4179
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResourceGroupingRecommendationsRequest AWS API Documentation
|
4180
|
+
#
|
4181
|
+
class ListResourceGroupingRecommendationsRequest < Struct.new(
|
4182
|
+
:app_arn,
|
4183
|
+
:max_results,
|
4184
|
+
:next_token)
|
4185
|
+
SENSITIVE = []
|
4186
|
+
include Aws::Structure
|
4187
|
+
end
|
4188
|
+
|
4189
|
+
# @!attribute [rw] grouping_recommendations
|
4190
|
+
# List of resource grouping recommendations generated by Resilience
|
4191
|
+
# Hub.
|
4192
|
+
# @return [Array<Types::GroupingRecommendation>]
|
4193
|
+
#
|
4194
|
+
# @!attribute [rw] next_token
|
4195
|
+
# Null, or the token from a previous call to get the next set of
|
4196
|
+
# results.
|
4197
|
+
# @return [String]
|
4198
|
+
#
|
4199
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ListResourceGroupingRecommendationsResponse AWS API Documentation
|
4200
|
+
#
|
4201
|
+
class ListResourceGroupingRecommendationsResponse < Struct.new(
|
4202
|
+
:grouping_recommendations,
|
4203
|
+
:next_token)
|
4204
|
+
SENSITIVE = []
|
4205
|
+
include Aws::Structure
|
4206
|
+
end
|
4207
|
+
|
3806
4208
|
# @!attribute [rw] assessment_arn
|
3807
4209
|
# Amazon Resource Name (ARN) of the assessment. The format for this
|
3808
4210
|
# ARN is:
|
@@ -4837,6 +5239,78 @@ module Aws::ResilienceHub
|
|
4837
5239
|
include Aws::Structure
|
4838
5240
|
end
|
4839
5241
|
|
5242
|
+
# Indicates the rejected grouping recommendation.
|
5243
|
+
#
|
5244
|
+
# @!attribute [rw] grouping_recommendation_id
|
5245
|
+
# Indicates the identifier of the grouping recommendation.
|
5246
|
+
# @return [String]
|
5247
|
+
#
|
5248
|
+
# @!attribute [rw] rejection_reason
|
5249
|
+
# Indicates the reason you had selected while rejecting a grouping
|
5250
|
+
# recommendation.
|
5251
|
+
# @return [String]
|
5252
|
+
#
|
5253
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RejectGroupingRecommendationEntry AWS API Documentation
|
5254
|
+
#
|
5255
|
+
class RejectGroupingRecommendationEntry < Struct.new(
|
5256
|
+
:grouping_recommendation_id,
|
5257
|
+
:rejection_reason)
|
5258
|
+
SENSITIVE = []
|
5259
|
+
include Aws::Structure
|
5260
|
+
end
|
5261
|
+
|
5262
|
+
# @!attribute [rw] app_arn
|
5263
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
5264
|
+
# format for this ARN is:
|
5265
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
5266
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
5267
|
+
# in the *Amazon Web Services General Reference* guide.
|
5268
|
+
#
|
5269
|
+
#
|
5270
|
+
#
|
5271
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
5272
|
+
# @return [String]
|
5273
|
+
#
|
5274
|
+
# @!attribute [rw] entries
|
5275
|
+
# Indicates the list of resource grouping recommendations you have
|
5276
|
+
# selected to exclude from your application.
|
5277
|
+
# @return [Array<Types::RejectGroupingRecommendationEntry>]
|
5278
|
+
#
|
5279
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RejectResourceGroupingRecommendationsRequest AWS API Documentation
|
5280
|
+
#
|
5281
|
+
class RejectResourceGroupingRecommendationsRequest < Struct.new(
|
5282
|
+
:app_arn,
|
5283
|
+
:entries)
|
5284
|
+
SENSITIVE = []
|
5285
|
+
include Aws::Structure
|
5286
|
+
end
|
5287
|
+
|
5288
|
+
# @!attribute [rw] app_arn
|
5289
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
5290
|
+
# format for this ARN is:
|
5291
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
5292
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
5293
|
+
# in the *Amazon Web Services General Reference* guide.
|
5294
|
+
#
|
5295
|
+
#
|
5296
|
+
#
|
5297
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
5298
|
+
# @return [String]
|
5299
|
+
#
|
5300
|
+
# @!attribute [rw] failed_entries
|
5301
|
+
# Indicates the list of resource grouping recommendations that failed
|
5302
|
+
# to get excluded in your application.
|
5303
|
+
# @return [Array<Types::FailedGroupingRecommendationEntry>]
|
5304
|
+
#
|
5305
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/RejectResourceGroupingRecommendationsResponse AWS API Documentation
|
5306
|
+
#
|
5307
|
+
class RejectResourceGroupingRecommendationsResponse < Struct.new(
|
5308
|
+
:app_arn,
|
5309
|
+
:failed_entries)
|
5310
|
+
SENSITIVE = []
|
5311
|
+
include Aws::Structure
|
5312
|
+
end
|
5313
|
+
|
4840
5314
|
# @!attribute [rw] app_arn
|
4841
5315
|
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
4842
5316
|
# format for this ARN is:
|
@@ -5159,7 +5633,7 @@ module Aws::ResilienceHub
|
|
5159
5633
|
#
|
5160
5634
|
# @!attribute [rw] has_more_errors
|
5161
5635
|
# This indicates if there are more errors not listed in the
|
5162
|
-
# resourceErrors list.
|
5636
|
+
# `resourceErrors` list.
|
5163
5637
|
# @return [Boolean]
|
5164
5638
|
#
|
5165
5639
|
# @!attribute [rw] resource_errors
|
@@ -5476,6 +5950,62 @@ module Aws::ResilienceHub
|
|
5476
5950
|
include Aws::Structure
|
5477
5951
|
end
|
5478
5952
|
|
5953
|
+
# @!attribute [rw] app_arn
|
5954
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
5955
|
+
# format for this ARN is:
|
5956
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
5957
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
5958
|
+
# in the *Amazon Web Services General Reference* guide.
|
5959
|
+
#
|
5960
|
+
#
|
5961
|
+
#
|
5962
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
5963
|
+
# @return [String]
|
5964
|
+
#
|
5965
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartResourceGroupingRecommendationTaskRequest AWS API Documentation
|
5966
|
+
#
|
5967
|
+
class StartResourceGroupingRecommendationTaskRequest < Struct.new(
|
5968
|
+
:app_arn)
|
5969
|
+
SENSITIVE = []
|
5970
|
+
include Aws::Structure
|
5971
|
+
end
|
5972
|
+
|
5973
|
+
# @!attribute [rw] app_arn
|
5974
|
+
# Amazon Resource Name (ARN) of the Resilience Hub application. The
|
5975
|
+
# format for this ARN is:
|
5976
|
+
# arn:`partition`:resiliencehub:`region`:`account`:app/`app-id`. For
|
5977
|
+
# more information about ARNs, see [ Amazon Resource Names (ARNs)][1]
|
5978
|
+
# in the *Amazon Web Services General Reference* guide.
|
5979
|
+
#
|
5980
|
+
#
|
5981
|
+
#
|
5982
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
5983
|
+
# @return [String]
|
5984
|
+
#
|
5985
|
+
# @!attribute [rw] error_message
|
5986
|
+
# Indicates the error that occurred while executing a grouping
|
5987
|
+
# recommendation task.
|
5988
|
+
# @return [String]
|
5989
|
+
#
|
5990
|
+
# @!attribute [rw] grouping_id
|
5991
|
+
# Indicates the identifier of the grouping recommendation task.
|
5992
|
+
# @return [String]
|
5993
|
+
#
|
5994
|
+
# @!attribute [rw] status
|
5995
|
+
# Status of the action.
|
5996
|
+
# @return [String]
|
5997
|
+
#
|
5998
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/StartResourceGroupingRecommendationTaskResponse AWS API Documentation
|
5999
|
+
#
|
6000
|
+
class StartResourceGroupingRecommendationTaskResponse < Struct.new(
|
6001
|
+
:app_arn,
|
6002
|
+
:error_message,
|
6003
|
+
:grouping_id,
|
6004
|
+
:status)
|
6005
|
+
SENSITIVE = []
|
6006
|
+
include Aws::Structure
|
6007
|
+
end
|
6008
|
+
|
5479
6009
|
# @!attribute [rw] resource_arn
|
5480
6010
|
# Amazon Resource Name (ARN) of the resource.
|
5481
6011
|
# @return [String]
|
@@ -32,7 +32,7 @@ require_relative 'aws-sdk-resiliencehub/customizations'
|
|
32
32
|
# structure.
|
33
33
|
#
|
34
34
|
# resilience_hub = Aws::ResilienceHub::Client.new
|
35
|
-
# resp = resilience_hub.
|
35
|
+
# resp = resilience_hub.accept_resource_grouping_recommendations(params)
|
36
36
|
#
|
37
37
|
# See {Client} for more information.
|
38
38
|
#
|
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-resiliencehub/customizations'
|
|
52
52
|
# @!group service
|
53
53
|
module Aws::ResilienceHub
|
54
54
|
|
55
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.34.0'
|
56
56
|
|
57
57
|
end
|