aws-sdk-resiliencehub 1.39.0 → 1.41.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,7 +27,7 @@ The endpoint provider used to resolve endpoints. Any object that responds to
27
27
  class Handler < Seahorse::Client::Handler
28
28
  def call(context)
29
29
  unless context[:discovered_endpoint]
30
- params = parameters_for_operation(context)
30
+ params = Aws::ResilienceHub::Endpoints.parameters_for_operation(context)
31
31
  endpoint = context.config.endpoint_provider.resolve_endpoint(params)
32
32
 
33
33
  context.http_request.endpoint = endpoint.url
@@ -67,131 +67,6 @@ The endpoint provider used to resolve endpoints. Any object that responds to
67
67
  context.http_request.headers[key] = value
68
68
  end
69
69
  end
70
-
71
- def parameters_for_operation(context)
72
- case context.operation_name
73
- when :accept_resource_grouping_recommendations
74
- Aws::ResilienceHub::Endpoints::AcceptResourceGroupingRecommendations.build(context)
75
- when :add_draft_app_version_resource_mappings
76
- Aws::ResilienceHub::Endpoints::AddDraftAppVersionResourceMappings.build(context)
77
- when :batch_update_recommendation_status
78
- Aws::ResilienceHub::Endpoints::BatchUpdateRecommendationStatus.build(context)
79
- when :create_app
80
- Aws::ResilienceHub::Endpoints::CreateApp.build(context)
81
- when :create_app_version_app_component
82
- Aws::ResilienceHub::Endpoints::CreateAppVersionAppComponent.build(context)
83
- when :create_app_version_resource
84
- Aws::ResilienceHub::Endpoints::CreateAppVersionResource.build(context)
85
- when :create_recommendation_template
86
- Aws::ResilienceHub::Endpoints::CreateRecommendationTemplate.build(context)
87
- when :create_resiliency_policy
88
- Aws::ResilienceHub::Endpoints::CreateResiliencyPolicy.build(context)
89
- when :delete_app
90
- Aws::ResilienceHub::Endpoints::DeleteApp.build(context)
91
- when :delete_app_assessment
92
- Aws::ResilienceHub::Endpoints::DeleteAppAssessment.build(context)
93
- when :delete_app_input_source
94
- Aws::ResilienceHub::Endpoints::DeleteAppInputSource.build(context)
95
- when :delete_app_version_app_component
96
- Aws::ResilienceHub::Endpoints::DeleteAppVersionAppComponent.build(context)
97
- when :delete_app_version_resource
98
- Aws::ResilienceHub::Endpoints::DeleteAppVersionResource.build(context)
99
- when :delete_recommendation_template
100
- Aws::ResilienceHub::Endpoints::DeleteRecommendationTemplate.build(context)
101
- when :delete_resiliency_policy
102
- Aws::ResilienceHub::Endpoints::DeleteResiliencyPolicy.build(context)
103
- when :describe_app
104
- Aws::ResilienceHub::Endpoints::DescribeApp.build(context)
105
- when :describe_app_assessment
106
- Aws::ResilienceHub::Endpoints::DescribeAppAssessment.build(context)
107
- when :describe_app_version
108
- Aws::ResilienceHub::Endpoints::DescribeAppVersion.build(context)
109
- when :describe_app_version_app_component
110
- Aws::ResilienceHub::Endpoints::DescribeAppVersionAppComponent.build(context)
111
- when :describe_app_version_resource
112
- Aws::ResilienceHub::Endpoints::DescribeAppVersionResource.build(context)
113
- when :describe_app_version_resources_resolution_status
114
- Aws::ResilienceHub::Endpoints::DescribeAppVersionResourcesResolutionStatus.build(context)
115
- when :describe_app_version_template
116
- Aws::ResilienceHub::Endpoints::DescribeAppVersionTemplate.build(context)
117
- when :describe_draft_app_version_resources_import_status
118
- Aws::ResilienceHub::Endpoints::DescribeDraftAppVersionResourcesImportStatus.build(context)
119
- when :describe_resiliency_policy
120
- Aws::ResilienceHub::Endpoints::DescribeResiliencyPolicy.build(context)
121
- when :describe_resource_grouping_recommendation_task
122
- Aws::ResilienceHub::Endpoints::DescribeResourceGroupingRecommendationTask.build(context)
123
- when :import_resources_to_draft_app_version
124
- Aws::ResilienceHub::Endpoints::ImportResourcesToDraftAppVersion.build(context)
125
- when :list_alarm_recommendations
126
- Aws::ResilienceHub::Endpoints::ListAlarmRecommendations.build(context)
127
- when :list_app_assessment_compliance_drifts
128
- Aws::ResilienceHub::Endpoints::ListAppAssessmentComplianceDrifts.build(context)
129
- when :list_app_assessment_resource_drifts
130
- Aws::ResilienceHub::Endpoints::ListAppAssessmentResourceDrifts.build(context)
131
- when :list_app_assessments
132
- Aws::ResilienceHub::Endpoints::ListAppAssessments.build(context)
133
- when :list_app_component_compliances
134
- Aws::ResilienceHub::Endpoints::ListAppComponentCompliances.build(context)
135
- when :list_app_component_recommendations
136
- Aws::ResilienceHub::Endpoints::ListAppComponentRecommendations.build(context)
137
- when :list_app_input_sources
138
- Aws::ResilienceHub::Endpoints::ListAppInputSources.build(context)
139
- when :list_app_version_app_components
140
- Aws::ResilienceHub::Endpoints::ListAppVersionAppComponents.build(context)
141
- when :list_app_version_resource_mappings
142
- Aws::ResilienceHub::Endpoints::ListAppVersionResourceMappings.build(context)
143
- when :list_app_version_resources
144
- Aws::ResilienceHub::Endpoints::ListAppVersionResources.build(context)
145
- when :list_app_versions
146
- Aws::ResilienceHub::Endpoints::ListAppVersions.build(context)
147
- when :list_apps
148
- Aws::ResilienceHub::Endpoints::ListApps.build(context)
149
- when :list_recommendation_templates
150
- Aws::ResilienceHub::Endpoints::ListRecommendationTemplates.build(context)
151
- when :list_resiliency_policies
152
- Aws::ResilienceHub::Endpoints::ListResiliencyPolicies.build(context)
153
- when :list_resource_grouping_recommendations
154
- Aws::ResilienceHub::Endpoints::ListResourceGroupingRecommendations.build(context)
155
- when :list_sop_recommendations
156
- Aws::ResilienceHub::Endpoints::ListSopRecommendations.build(context)
157
- when :list_suggested_resiliency_policies
158
- Aws::ResilienceHub::Endpoints::ListSuggestedResiliencyPolicies.build(context)
159
- when :list_tags_for_resource
160
- Aws::ResilienceHub::Endpoints::ListTagsForResource.build(context)
161
- when :list_test_recommendations
162
- Aws::ResilienceHub::Endpoints::ListTestRecommendations.build(context)
163
- when :list_unsupported_app_version_resources
164
- Aws::ResilienceHub::Endpoints::ListUnsupportedAppVersionResources.build(context)
165
- when :publish_app_version
166
- Aws::ResilienceHub::Endpoints::PublishAppVersion.build(context)
167
- when :put_draft_app_version_template
168
- Aws::ResilienceHub::Endpoints::PutDraftAppVersionTemplate.build(context)
169
- when :reject_resource_grouping_recommendations
170
- Aws::ResilienceHub::Endpoints::RejectResourceGroupingRecommendations.build(context)
171
- when :remove_draft_app_version_resource_mappings
172
- Aws::ResilienceHub::Endpoints::RemoveDraftAppVersionResourceMappings.build(context)
173
- when :resolve_app_version_resources
174
- Aws::ResilienceHub::Endpoints::ResolveAppVersionResources.build(context)
175
- when :start_app_assessment
176
- Aws::ResilienceHub::Endpoints::StartAppAssessment.build(context)
177
- when :start_resource_grouping_recommendation_task
178
- Aws::ResilienceHub::Endpoints::StartResourceGroupingRecommendationTask.build(context)
179
- when :tag_resource
180
- Aws::ResilienceHub::Endpoints::TagResource.build(context)
181
- when :untag_resource
182
- Aws::ResilienceHub::Endpoints::UntagResource.build(context)
183
- when :update_app
184
- Aws::ResilienceHub::Endpoints::UpdateApp.build(context)
185
- when :update_app_version
186
- Aws::ResilienceHub::Endpoints::UpdateAppVersion.build(context)
187
- when :update_app_version_app_component
188
- Aws::ResilienceHub::Endpoints::UpdateAppVersionAppComponent.build(context)
189
- when :update_app_version_resource
190
- Aws::ResilienceHub::Endpoints::UpdateAppVersionResource.build(context)
191
- when :update_resiliency_policy
192
- Aws::ResilienceHub::Endpoints::UpdateResiliencyPolicy.build(context)
193
- end
194
- end
195
70
  end
196
71
 
197
72
  def add_handlers(handlers, _config)
@@ -235,6 +235,17 @@ module Aws::ResilienceHub
235
235
  # Assessment execution schedule with 'Daily' or 'Disabled' values.
236
236
  # @return [String]
237
237
  #
238
+ # @!attribute [rw] aws_application_arn
239
+ # Amazon Resource Name (ARN) of Resource Groups group that is
240
+ # integrated with an AppRegistry application. For more information
241
+ # about ARNs, see [ Amazon Resource Names (ARNs)][1] in the *Amazon
242
+ # Web Services General Reference* guide.
243
+ #
244
+ #
245
+ #
246
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
247
+ # @return [String]
248
+ #
238
249
  # @!attribute [rw] compliance_status
239
250
  # Current status of compliance for the resiliency policy.
240
251
  # @return [String]
@@ -319,6 +330,7 @@ module Aws::ResilienceHub
319
330
  class App < Struct.new(
320
331
  :app_arn,
321
332
  :assessment_schedule,
333
+ :aws_application_arn,
322
334
  :compliance_status,
323
335
  :creation_time,
324
336
  :description,
@@ -424,8 +436,13 @@ module Aws::ResilienceHub
424
436
  # @return [Time]
425
437
  #
426
438
  # @!attribute [rw] summary
427
- # Indicates a concise summary that provides an overview of the
428
- # Resilience Hub assessment.
439
+ # Indicates the AI-generated summary for the Resilience Hub
440
+ # assessment, providing a concise overview that highlights the top
441
+ # risks and recommendations.
442
+ #
443
+ # <note markdown="1"> This property is available only in the US East (N. Virginia) Region.
444
+ #
445
+ # </note>
429
446
  # @return [Types::AssessmentSummary]
430
447
  #
431
448
  # @!attribute [rw] tags
@@ -710,6 +727,17 @@ module Aws::ResilienceHub
710
727
  # Assessment execution schedule with 'Daily' or 'Disabled' values.
711
728
  # @return [String]
712
729
  #
730
+ # @!attribute [rw] aws_application_arn
731
+ # Amazon Resource Name (ARN) of Resource Groups group that is
732
+ # integrated with an AppRegistry application. For more information
733
+ # about ARNs, see [ Amazon Resource Names (ARNs)][1] in the *Amazon
734
+ # Web Services General Reference* guide.
735
+ #
736
+ #
737
+ #
738
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
739
+ # @return [String]
740
+ #
713
741
  # @!attribute [rw] compliance_status
714
742
  # The current status of compliance for the resiliency policy.
715
743
  # @return [String]
@@ -756,6 +784,7 @@ module Aws::ResilienceHub
756
784
  class AppSummary < Struct.new(
757
785
  :app_arn,
758
786
  :assessment_schedule,
787
+ :aws_application_arn,
759
788
  :compliance_status,
760
789
  :creation_time,
761
790
  :description,
@@ -1228,6 +1257,17 @@ module Aws::ResilienceHub
1228
1257
  # Assessment execution schedule with 'Daily' or 'Disabled' values.
1229
1258
  # @return [String]
1230
1259
  #
1260
+ # @!attribute [rw] aws_application_arn
1261
+ # Amazon Resource Name (ARN) of Resource Groups group that is
1262
+ # integrated with an AppRegistry application. For more information
1263
+ # about ARNs, see [ Amazon Resource Names (ARNs)][1] in the *Amazon
1264
+ # Web Services General Reference* guide.
1265
+ #
1266
+ #
1267
+ #
1268
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
1269
+ # @return [String]
1270
+ #
1231
1271
  # @!attribute [rw] client_token
1232
1272
  # Used for an idempotency token. A client token is a unique,
1233
1273
  # case-sensitive string of up to 64 ASCII characters. You should not
@@ -1279,6 +1319,7 @@ module Aws::ResilienceHub
1279
1319
  #
1280
1320
  class CreateAppRequest < Struct.new(
1281
1321
  :assessment_schedule,
1322
+ :aws_application_arn,
1282
1323
  :client_token,
1283
1324
  :description,
1284
1325
  :event_subscriptions,
@@ -2768,8 +2809,12 @@ module Aws::ResilienceHub
2768
2809
  # The version of the application.
2769
2810
  # @return [String]
2770
2811
  #
2812
+ # @!attribute [rw] error_details
2813
+ # List of errors that were encountered while importing resources.
2814
+ # @return [Array<Types::ErrorDetail>]
2815
+ #
2771
2816
  # @!attribute [rw] error_message
2772
- # The returned error message for the request.
2817
+ # The error message returned for the resource request.
2773
2818
  # @return [String]
2774
2819
  #
2775
2820
  # @!attribute [rw] status
@@ -2785,6 +2830,7 @@ module Aws::ResilienceHub
2785
2830
  class DescribeDraftAppVersionResourcesImportStatusResponse < Struct.new(
2786
2831
  :app_arn,
2787
2832
  :app_version,
2833
+ :error_details,
2788
2834
  :error_message,
2789
2835
  :status,
2790
2836
  :status_change_time)
@@ -2992,6 +3038,20 @@ module Aws::ResilienceHub
2992
3038
  include Aws::Structure
2993
3039
  end
2994
3040
 
3041
+ # Indicates the error that was encountered while importing a resource.
3042
+ #
3043
+ # @!attribute [rw] error_message
3044
+ # Provides additional information about the error.
3045
+ # @return [String]
3046
+ #
3047
+ # @see http://docs.aws.amazon.com/goto/WebAPI/resiliencehub-2020-04-30/ErrorDetail AWS API Documentation
3048
+ #
3049
+ class ErrorDetail < Struct.new(
3050
+ :error_message)
3051
+ SENSITIVE = []
3052
+ include Aws::Structure
3053
+ end
3054
+
2995
3055
  # Indicates an event you would like to subscribe and get notification
2996
3056
  # for. Currently, Resilience Hub supports notifications only for **Drift
2997
3057
  # detected** and **Scheduled assessment failure** events.
@@ -3972,6 +4032,17 @@ module Aws::ResilienceHub
3972
4032
  # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
3973
4033
  # @return [String]
3974
4034
  #
4035
+ # @!attribute [rw] aws_application_arn
4036
+ # Amazon Resource Name (ARN) of Resource Groups group that is
4037
+ # integrated with an AppRegistry application. For more information
4038
+ # about ARNs, see [ Amazon Resource Names (ARNs)][1] in the *Amazon
4039
+ # Web Services General Reference* guide.
4040
+ #
4041
+ #
4042
+ #
4043
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
4044
+ # @return [String]
4045
+ #
3975
4046
  # @!attribute [rw] from_last_assessment_time
3976
4047
  # Indicates the lower limit of the range that is used to filter
3977
4048
  # applications based on their last assessment times.
@@ -4009,6 +4080,7 @@ module Aws::ResilienceHub
4009
4080
  #
4010
4081
  class ListAppsRequest < Struct.new(
4011
4082
  :app_arn,
4083
+ :aws_application_arn,
4012
4084
  :from_last_assessment_time,
4013
4085
  :max_results,
4014
4086
  :name,
@@ -54,7 +54,7 @@ module Aws::ResilienceHub
54
54
  autoload :EndpointProvider, 'aws-sdk-resiliencehub/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-resiliencehub/endpoints'
56
56
 
57
- GEM_VERSION = '1.39.0'
57
+ GEM_VERSION = '1.41.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -138,7 +138,7 @@ module Aws
138
138
  resource_id: ::String?,
139
139
  target_account_id: ::String?,
140
140
  target_region: ::String?
141
- },
141
+ }?,
142
142
  reference_id: ::String
143
143
  },
144
144
  ]
@@ -152,6 +152,7 @@ module Aws
152
152
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResilienceHub/Client.html#create_app-instance_method
153
153
  def create_app: (
154
154
  ?assessment_schedule: ("Disabled" | "Daily"),
155
+ ?aws_application_arn: ::String,
155
156
  ?client_token: ::String,
156
157
  ?description: ::String,
157
158
  ?event_subscriptions: Array[
@@ -461,6 +462,7 @@ module Aws
461
462
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDraftAppVersionResourcesImportStatusResponse]
462
463
  def app_arn: () -> ::String
463
464
  def app_version: () -> ::String
465
+ def error_details: () -> ::Array[Types::ErrorDetail]
464
466
  def error_message: () -> ::String
465
467
  def status: () -> ("Pending" | "InProgress" | "Failed" | "Success")
466
468
  def status_change_time: () -> ::Time
@@ -688,6 +690,7 @@ module Aws
688
690
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ResilienceHub/Client.html#list_apps-instance_method
689
691
  def list_apps: (
690
692
  ?app_arn: ::String,
693
+ ?aws_application_arn: ::String,
691
694
  ?from_last_assessment_time: ::Time,
692
695
  ?max_results: ::Integer,
693
696
  ?name: ::String,
data/sig/types.rbs CHANGED
@@ -60,6 +60,7 @@ module Aws::ResilienceHub
60
60
  class App
61
61
  attr_accessor app_arn: ::String
62
62
  attr_accessor assessment_schedule: ("Disabled" | "Daily")
63
+ attr_accessor aws_application_arn: ::String
63
64
  attr_accessor compliance_status: ("PolicyBreached" | "PolicyMet" | "NotAssessed" | "ChangesDetected" | "NotApplicable" | "MissingPolicy")
64
65
  attr_accessor creation_time: ::Time
65
66
  attr_accessor description: ::String
@@ -151,6 +152,7 @@ module Aws::ResilienceHub
151
152
  class AppSummary
152
153
  attr_accessor app_arn: ::String
153
154
  attr_accessor assessment_schedule: ("Disabled" | "Daily")
155
+ attr_accessor aws_application_arn: ::String
154
156
  attr_accessor compliance_status: ("PolicyBreached" | "PolicyMet" | "NotAssessed" | "ChangesDetected" | "NotApplicable" | "MissingPolicy")
155
157
  attr_accessor creation_time: ::Time
156
158
  attr_accessor description: ::String
@@ -264,6 +266,7 @@ module Aws::ResilienceHub
264
266
 
265
267
  class CreateAppRequest
266
268
  attr_accessor assessment_schedule: ("Disabled" | "Daily")
269
+ attr_accessor aws_application_arn: ::String
267
270
  attr_accessor client_token: ::String
268
271
  attr_accessor description: ::String
269
272
  attr_accessor event_subscriptions: ::Array[Types::EventSubscription]
@@ -546,6 +549,7 @@ module Aws::ResilienceHub
546
549
  class DescribeDraftAppVersionResourcesImportStatusResponse
547
550
  attr_accessor app_arn: ::String
548
551
  attr_accessor app_version: ::String
552
+ attr_accessor error_details: ::Array[Types::ErrorDetail]
549
553
  attr_accessor error_message: ::String
550
554
  attr_accessor status: ("Pending" | "InProgress" | "Failed" | "Success")
551
555
  attr_accessor status_change_time: ::Time
@@ -601,6 +605,11 @@ module Aws::ResilienceHub
601
605
  SENSITIVE: []
602
606
  end
603
607
 
608
+ class ErrorDetail
609
+ attr_accessor error_message: ::String
610
+ SENSITIVE: []
611
+ end
612
+
604
613
  class EventSubscription
605
614
  attr_accessor event_type: ("ScheduledAssessmentFailure" | "DriftDetected")
606
615
  attr_accessor name: ::String
@@ -833,6 +842,7 @@ module Aws::ResilienceHub
833
842
 
834
843
  class ListAppsRequest
835
844
  attr_accessor app_arn: ::String
845
+ attr_accessor aws_application_arn: ::String
836
846
  attr_accessor from_last_assessment_time: ::Time
837
847
  attr_accessor max_results: ::Integer
838
848
  attr_accessor name: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-resiliencehub
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.39.0
4
+ version: 1.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-24 00:00:00.000000000 Z
11
+ date: 2024-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.207.0
22
+ version: 3.210.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.207.0
32
+ version: 3.210.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement