aws-sdk-resiliencehub 1.39.0 → 1.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-resiliencehub/client.rb +33 -4
- data/lib/aws-sdk-resiliencehub/client_api.rb +14 -2
- data/lib/aws-sdk-resiliencehub/types.rb +75 -3
- data/lib/aws-sdk-resiliencehub.rb +1 -1
- data/sig/client.rbs +4 -1
- data/sig/types.rbs +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 745a8875f2a793973b2b6af316b349a6811d7d139bde045bd0b71eadcd3360fe
|
4
|
+
data.tar.gz: f5987a23dfae1def6980d7eb026e22311508386e9a5a570fa0184cce053f8426
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6f5ba07cdb08cbe3ee89c9b4c70f591b70d54cb22f34f017c13dda38f27945eee97dcb4094660b7fe6fcf8506b0ee96bd1f195eb5669d7616b0e30081439983
|
7
|
+
data.tar.gz: ccf6d1a20b600ac5cc08cae885f6be2a940b493aac00f436c7a92e965eb34b1f580bdad4fbca6b3f97d2aadeda84b138cad3ffd2fe1c28b17528e91a8309e188
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.40.0 (2024-10-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Resilience Hub now integrates with the myApplications platform, enabling customers to easily assess the resilience of applications defined in myApplications. The new Resiliency widget provides visibility into application resilience and actionable recommendations for improvement.
|
8
|
+
|
4
9
|
1.39.0 (2024-09-24)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.40.0
|
@@ -616,7 +616,7 @@ module Aws::ResilienceHub
|
|
616
616
|
# entry_id: "String255", # required
|
617
617
|
# exclude_reason: "AlreadyImplemented", # accepts AlreadyImplemented, NotRelevant, ComplexityOfImplementation
|
618
618
|
# excluded: false, # required
|
619
|
-
# item: {
|
619
|
+
# item: {
|
620
620
|
# resource_id: "String500",
|
621
621
|
# target_account_id: "CustomerId",
|
622
622
|
# target_region: "AwsRegion",
|
@@ -675,6 +675,16 @@ module Aws::ResilienceHub
|
|
675
675
|
# @option params [String] :assessment_schedule
|
676
676
|
# Assessment execution schedule with 'Daily' or 'Disabled' values.
|
677
677
|
#
|
678
|
+
# @option params [String] :aws_application_arn
|
679
|
+
# Amazon Resource Name (ARN) of Resource Groups group that is integrated
|
680
|
+
# with an AppRegistry application. For more information about ARNs, see
|
681
|
+
# [ Amazon Resource Names (ARNs)][1] in the *Amazon Web Services General
|
682
|
+
# Reference* guide.
|
683
|
+
#
|
684
|
+
#
|
685
|
+
#
|
686
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
687
|
+
#
|
678
688
|
# @option params [String] :client_token
|
679
689
|
# Used for an idempotency token. A client token is a unique,
|
680
690
|
# case-sensitive string of up to 64 ASCII characters. You should not
|
@@ -722,6 +732,7 @@ module Aws::ResilienceHub
|
|
722
732
|
#
|
723
733
|
# resp = client.create_app({
|
724
734
|
# assessment_schedule: "Disabled", # accepts Disabled, Daily
|
735
|
+
# aws_application_arn: "Arn",
|
725
736
|
# client_token: "ClientToken",
|
726
737
|
# description: "EntityDescription",
|
727
738
|
# event_subscriptions: [
|
@@ -747,6 +758,7 @@ module Aws::ResilienceHub
|
|
747
758
|
#
|
748
759
|
# resp.app.app_arn #=> String
|
749
760
|
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
761
|
+
# resp.app.aws_application_arn #=> String
|
750
762
|
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected", "NotApplicable", "MissingPolicy"
|
751
763
|
# resp.app.creation_time #=> Time
|
752
764
|
# resp.app.description #=> String
|
@@ -1666,6 +1678,7 @@ module Aws::ResilienceHub
|
|
1666
1678
|
#
|
1667
1679
|
# resp.app.app_arn #=> String
|
1668
1680
|
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
1681
|
+
# resp.app.aws_application_arn #=> String
|
1669
1682
|
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected", "NotApplicable", "MissingPolicy"
|
1670
1683
|
# resp.app.creation_time #=> Time
|
1671
1684
|
# resp.app.description #=> String
|
@@ -2120,6 +2133,7 @@ module Aws::ResilienceHub
|
|
2120
2133
|
#
|
2121
2134
|
# * {Types::DescribeDraftAppVersionResourcesImportStatusResponse#app_arn #app_arn} => String
|
2122
2135
|
# * {Types::DescribeDraftAppVersionResourcesImportStatusResponse#app_version #app_version} => String
|
2136
|
+
# * {Types::DescribeDraftAppVersionResourcesImportStatusResponse#error_details #error_details} => Array<Types::ErrorDetail>
|
2123
2137
|
# * {Types::DescribeDraftAppVersionResourcesImportStatusResponse#error_message #error_message} => String
|
2124
2138
|
# * {Types::DescribeDraftAppVersionResourcesImportStatusResponse#status #status} => String
|
2125
2139
|
# * {Types::DescribeDraftAppVersionResourcesImportStatusResponse#status_change_time #status_change_time} => Time
|
@@ -2134,6 +2148,8 @@ module Aws::ResilienceHub
|
|
2134
2148
|
#
|
2135
2149
|
# resp.app_arn #=> String
|
2136
2150
|
# resp.app_version #=> String
|
2151
|
+
# resp.error_details #=> Array
|
2152
|
+
# resp.error_details[0].error_message #=> String
|
2137
2153
|
# resp.error_message #=> String
|
2138
2154
|
# resp.status #=> String, one of "Pending", "InProgress", "Failed", "Success"
|
2139
2155
|
# resp.status_change_time #=> Time
|
@@ -2395,8 +2411,8 @@ module Aws::ResilienceHub
|
|
2395
2411
|
req.send_request(options)
|
2396
2412
|
end
|
2397
2413
|
|
2398
|
-
#
|
2399
|
-
# assessment.
|
2414
|
+
# Indicates the list of compliance drifts that were detected while
|
2415
|
+
# running an assessment.
|
2400
2416
|
#
|
2401
2417
|
# @option params [required, String] :assessment_arn
|
2402
2418
|
# Amazon Resource Name (ARN) of the assessment. The format for this ARN
|
@@ -3157,6 +3173,16 @@ module Aws::ResilienceHub
|
|
3157
3173
|
#
|
3158
3174
|
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3159
3175
|
#
|
3176
|
+
# @option params [String] :aws_application_arn
|
3177
|
+
# Amazon Resource Name (ARN) of Resource Groups group that is integrated
|
3178
|
+
# with an AppRegistry application. For more information about ARNs, see
|
3179
|
+
# [ Amazon Resource Names (ARNs)][1] in the *Amazon Web Services General
|
3180
|
+
# Reference* guide.
|
3181
|
+
#
|
3182
|
+
#
|
3183
|
+
#
|
3184
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
3185
|
+
#
|
3160
3186
|
# @option params [Time,DateTime,Date,Integer,String] :from_last_assessment_time
|
3161
3187
|
# Indicates the lower limit of the range that is used to filter
|
3162
3188
|
# applications based on their last assessment times.
|
@@ -3194,6 +3220,7 @@ module Aws::ResilienceHub
|
|
3194
3220
|
#
|
3195
3221
|
# resp = client.list_apps({
|
3196
3222
|
# app_arn: "Arn",
|
3223
|
+
# aws_application_arn: "Arn",
|
3197
3224
|
# from_last_assessment_time: Time.now,
|
3198
3225
|
# max_results: 1,
|
3199
3226
|
# name: "EntityName",
|
@@ -3207,6 +3234,7 @@ module Aws::ResilienceHub
|
|
3207
3234
|
# resp.app_summaries #=> Array
|
3208
3235
|
# resp.app_summaries[0].app_arn #=> String
|
3209
3236
|
# resp.app_summaries[0].assessment_schedule #=> String, one of "Disabled", "Daily"
|
3237
|
+
# resp.app_summaries[0].aws_application_arn #=> String
|
3210
3238
|
# resp.app_summaries[0].compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected", "NotApplicable", "MissingPolicy"
|
3211
3239
|
# resp.app_summaries[0].creation_time #=> Time
|
3212
3240
|
# resp.app_summaries[0].description #=> String
|
@@ -4520,6 +4548,7 @@ module Aws::ResilienceHub
|
|
4520
4548
|
#
|
4521
4549
|
# resp.app.app_arn #=> String
|
4522
4550
|
# resp.app.assessment_schedule #=> String, one of "Disabled", "Daily"
|
4551
|
+
# resp.app.aws_application_arn #=> String
|
4523
4552
|
# resp.app.compliance_status #=> String, one of "PolicyBreached", "PolicyMet", "NotAssessed", "ChangesDetected", "NotApplicable", "MissingPolicy"
|
4524
4553
|
# resp.app.creation_time #=> Time
|
4525
4554
|
# resp.app.description #=> String
|
@@ -4930,7 +4959,7 @@ module Aws::ResilienceHub
|
|
4930
4959
|
tracer: tracer
|
4931
4960
|
)
|
4932
4961
|
context[:gem_name] = 'aws-sdk-resiliencehub'
|
4933
|
-
context[:gem_version] = '1.
|
4962
|
+
context[:gem_version] = '1.40.0'
|
4934
4963
|
Seahorse::Client::Request.new(handlers, context)
|
4935
4964
|
end
|
4936
4965
|
|
@@ -143,6 +143,8 @@ module Aws::ResilienceHub
|
|
143
143
|
EntityName255 = Shapes::StringShape.new(name: 'EntityName255')
|
144
144
|
EntityNameList = Shapes::ListShape.new(name: 'EntityNameList')
|
145
145
|
EntityVersion = Shapes::StringShape.new(name: 'EntityVersion')
|
146
|
+
ErrorDetail = Shapes::StructureShape.new(name: 'ErrorDetail')
|
147
|
+
ErrorDetailList = Shapes::ListShape.new(name: 'ErrorDetailList')
|
146
148
|
ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
|
147
149
|
EstimatedCostTier = Shapes::StringShape.new(name: 'EstimatedCostTier')
|
148
150
|
EventSubscription = Shapes::StructureShape.new(name: 'EventSubscription')
|
@@ -372,6 +374,7 @@ module Aws::ResilienceHub
|
|
372
374
|
|
373
375
|
App.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
|
374
376
|
App.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule"))
|
377
|
+
App.add_member(:aws_application_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "awsApplicationArn"))
|
375
378
|
App.add_member(:compliance_status, Shapes::ShapeRef.new(shape: AppComplianceStatusType, location_name: "complianceStatus"))
|
376
379
|
App.add_member(:creation_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "creationTime"))
|
377
380
|
App.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
@@ -459,6 +462,7 @@ module Aws::ResilienceHub
|
|
459
462
|
|
460
463
|
AppSummary.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
|
461
464
|
AppSummary.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule"))
|
465
|
+
AppSummary.add_member(:aws_application_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "awsApplicationArn"))
|
462
466
|
AppSummary.add_member(:compliance_status, Shapes::ShapeRef.new(shape: AppComplianceStatusType, location_name: "complianceStatus"))
|
463
467
|
AppSummary.add_member(:creation_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "creationTime"))
|
464
468
|
AppSummary.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
@@ -519,7 +523,7 @@ module Aws::ResilienceHub
|
|
519
523
|
BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:entry_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "entryId"))
|
520
524
|
BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:exclude_reason, Shapes::ShapeRef.new(shape: ExcludeRecommendationReason, location_name: "excludeReason"))
|
521
525
|
BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:excluded, Shapes::ShapeRef.new(shape: BooleanOptional, required: true, location_name: "excluded"))
|
522
|
-
BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:item, Shapes::ShapeRef.new(shape: UpdateRecommendationStatusItem,
|
526
|
+
BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:item, Shapes::ShapeRef.new(shape: UpdateRecommendationStatusItem, location_name: "item"))
|
523
527
|
BatchUpdateRecommendationStatusSuccessfulEntry.add_member(:reference_id, Shapes::ShapeRef.new(shape: SpecReferenceId, required: true, location_name: "referenceId"))
|
524
528
|
BatchUpdateRecommendationStatusSuccessfulEntry.struct_class = Types::BatchUpdateRecommendationStatusSuccessfulEntry
|
525
529
|
|
@@ -571,6 +575,7 @@ module Aws::ResilienceHub
|
|
571
575
|
Cost.struct_class = Types::Cost
|
572
576
|
|
573
577
|
CreateAppRequest.add_member(:assessment_schedule, Shapes::ShapeRef.new(shape: AppAssessmentScheduleType, location_name: "assessmentSchedule"))
|
578
|
+
CreateAppRequest.add_member(:aws_application_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "awsApplicationArn"))
|
574
579
|
CreateAppRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
575
580
|
CreateAppRequest.add_member(:description, Shapes::ShapeRef.new(shape: EntityDescription, location_name: "description"))
|
576
581
|
CreateAppRequest.add_member(:event_subscriptions, Shapes::ShapeRef.new(shape: EventSubscriptionList, location_name: "eventSubscriptions"))
|
@@ -775,6 +780,7 @@ module Aws::ResilienceHub
|
|
775
780
|
|
776
781
|
DescribeDraftAppVersionResourcesImportStatusResponse.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "appArn"))
|
777
782
|
DescribeDraftAppVersionResourcesImportStatusResponse.add_member(:app_version, Shapes::ShapeRef.new(shape: EntityVersion, required: true, location_name: "appVersion"))
|
783
|
+
DescribeDraftAppVersionResourcesImportStatusResponse.add_member(:error_details, Shapes::ShapeRef.new(shape: ErrorDetailList, location_name: "errorDetails"))
|
778
784
|
DescribeDraftAppVersionResourcesImportStatusResponse.add_member(:error_message, Shapes::ShapeRef.new(shape: String500, location_name: "errorMessage"))
|
779
785
|
DescribeDraftAppVersionResourcesImportStatusResponse.add_member(:status, Shapes::ShapeRef.new(shape: ResourceImportStatusType, required: true, location_name: "status"))
|
780
786
|
DescribeDraftAppVersionResourcesImportStatusResponse.add_member(:status_change_time, Shapes::ShapeRef.new(shape: TimeStamp, required: true, location_name: "statusChangeTime"))
|
@@ -827,6 +833,11 @@ module Aws::ResilienceHub
|
|
827
833
|
|
828
834
|
EntityNameList.member = Shapes::ShapeRef.new(shape: EntityName)
|
829
835
|
|
836
|
+
ErrorDetail.add_member(:error_message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "errorMessage"))
|
837
|
+
ErrorDetail.struct_class = Types::ErrorDetail
|
838
|
+
|
839
|
+
ErrorDetailList.member = Shapes::ShapeRef.new(shape: ErrorDetail)
|
840
|
+
|
830
841
|
EventSubscription.add_member(:event_type, Shapes::ShapeRef.new(shape: EventType, required: true, location_name: "eventType"))
|
831
842
|
EventSubscription.add_member(:name, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "name"))
|
832
843
|
EventSubscription.add_member(:sns_topic_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "snsTopicArn"))
|
@@ -1006,6 +1017,7 @@ module Aws::ResilienceHub
|
|
1006
1017
|
ListAppVersionsResponse.struct_class = Types::ListAppVersionsResponse
|
1007
1018
|
|
1008
1019
|
ListAppsRequest.add_member(:app_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "appArn"))
|
1020
|
+
ListAppsRequest.add_member(:aws_application_arn, Shapes::ShapeRef.new(shape: Arn, location: "querystring", location_name: "awsApplicationArn"))
|
1009
1021
|
ListAppsRequest.add_member(:from_last_assessment_time, Shapes::ShapeRef.new(shape: TimeStamp, location: "querystring", location_name: "fromLastAssessmentTime"))
|
1010
1022
|
ListAppsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1011
1023
|
ListAppsRequest.add_member(:name, Shapes::ShapeRef.new(shape: EntityName, location: "querystring", location_name: "name"))
|
@@ -1444,7 +1456,7 @@ module Aws::ResilienceHub
|
|
1444
1456
|
UpdateRecommendationStatusRequestEntry.add_member(:entry_id, Shapes::ShapeRef.new(shape: String255, required: true, location_name: "entryId"))
|
1445
1457
|
UpdateRecommendationStatusRequestEntry.add_member(:exclude_reason, Shapes::ShapeRef.new(shape: ExcludeRecommendationReason, location_name: "excludeReason"))
|
1446
1458
|
UpdateRecommendationStatusRequestEntry.add_member(:excluded, Shapes::ShapeRef.new(shape: BooleanOptional, required: true, location_name: "excluded"))
|
1447
|
-
UpdateRecommendationStatusRequestEntry.add_member(:item, Shapes::ShapeRef.new(shape: UpdateRecommendationStatusItem,
|
1459
|
+
UpdateRecommendationStatusRequestEntry.add_member(:item, Shapes::ShapeRef.new(shape: UpdateRecommendationStatusItem, location_name: "item"))
|
1448
1460
|
UpdateRecommendationStatusRequestEntry.add_member(:reference_id, Shapes::ShapeRef.new(shape: SpecReferenceId, required: true, location_name: "referenceId"))
|
1449
1461
|
UpdateRecommendationStatusRequestEntry.struct_class = Types::UpdateRecommendationStatusRequestEntry
|
1450
1462
|
|
@@ -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
|
428
|
-
#
|
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
|
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,
|
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.
|
4
|
+
version: 1.40.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-
|
11
|
+
date: 2024-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|