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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: db5268f3b6e111d0ca88743e94cdbc921c4908c77c4cdbc357c09212860eb766
4
- data.tar.gz: 470a1d14448841a670a6d7b3ba334c442fbf5bbfe788f033d739d56084922b3a
3
+ metadata.gz: cd643dc09c146193ac7fb229bf88e8e71cfb1729f78b4a28a870198470e02719
4
+ data.tar.gz: efc474f77b33271f9370885f20e914e10ead46c139f5db9048991f9ed68542c2
5
5
  SHA512:
6
- metadata.gz: d1a016bb450755dd102ca226bcdf19dfdf36220767e4025c69070dc59ebb78bfc5208a91ce00ce7d36ddd67d9db6f0c660ee828e4e02e6fbb873bdbb8c410ac6
7
- data.tar.gz: 01034eb98463c822a5803206f99f95594f60680c8024c7ddb5cbb7990a693b1e6356d0531c4e7f7013e246d09f76215ffad2706a13e6b601a362a899394a98bb
6
+ metadata.gz: 81d2c56e96f3533925b2cd8a36a8aad0b06e3c3e1825ae1991c0886b481d4558ed9519c76a9b9002c60227d0160511d27c191f80a7ccca7e71e428c52a98475d
7
+ data.tar.gz: 1a104b69a8218f2694e90f9ba73fb61d52e0f0db3d63ac00a10e23467ab7d663fe086ab6133f00c6f349c0f464ba5a701a86b754db1d02db3ab87c3b0a96b38d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2024-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.40.0 (2024-10-15)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.39.0 (2024-09-24)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.39.0
1
+ 1.41.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: { # required
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
- # List of compliance drifts that were detected while running an
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.39.0'
4962
+ context[:gem_version] = '1.41.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, required: true, location_name: "item"))
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, required: true, location_name: "item"))
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
 
@@ -52,15 +52,18 @@ module Aws::ResilienceHub
52
52
  self[:region] = options[:region]
53
53
  self[:use_dual_stack] = options[:use_dual_stack]
54
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
- if self[:use_dual_stack].nil?
56
- raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
- end
58
55
  self[:use_fips] = options[:use_fips]
59
56
  self[:use_fips] = false if self[:use_fips].nil?
60
- if self[:use_fips].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
- end
63
57
  self[:endpoint] = options[:endpoint]
64
58
  end
59
+
60
+ def self.create(config, options={})
61
+ new({
62
+ region: config.region,
63
+ use_dual_stack: config.use_dualstack_endpoint,
64
+ use_fips: config.use_fips_endpoint,
65
+ endpoint: (config.endpoint.to_s unless config.regional_endpoint),
66
+ }.merge(options))
67
+ end
65
68
  end
66
69
  end