aws-sdk-backup 1.94.0 → 1.96.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 182702213c205ac6390ae9bd25df052dcc9d80f90ca9ef326a1b685adb7c11cf
4
- data.tar.gz: 5e4fc16e787018565c9452da542c4a9591dbd4cbb8958ee869958e76c9d61243
3
+ metadata.gz: e5204f7ec27889f0df0329d71cbc1ef97e68ceef681a5c8f3fefabd13ff2f4bd
4
+ data.tar.gz: 30f96345f0795b0fcd26f449afef533b8bb9bf0a0b92377e8b752e53d4fc662a
5
5
  SHA512:
6
- metadata.gz: e4441683aef7c473a204e481596f1975c4afcca583737dfdd55c41fba74a4b91220649bba5ff7a9731199d617687a7fd7d60291772bcc4a86c2bde9dd63447ab
7
- data.tar.gz: 512544f5348140694c3fccc90af7de79a32e48eb2e8176c1c8f5ac1658f1fe765c5c1db7cfb5cb1d6290b4d2896a66122f808c10a8611bbf76f88435cf4f4b65
6
+ metadata.gz: 9946e796e20013b5f20f4376ab54180d1232f52e798259c5219a759b22fc6b7ade887c7bc0c1434231f360c05532faac7c2cfc4790c6a425792f30a8859c2caa
7
+ data.tar.gz: 2f7f96bc36d0cbc927bbcbbc372919f26979ad651fd61168bd4e1aa82c7041f6a3ef1378a033e19b3974d1d04ac75df65a30aed7b472f2d29bc1b0b926e8d561
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.96.0 (2025-10-06)
5
+ ------------------
6
+
7
+ * Feature - Adds optional MaxScheduledRunsPreview input to GetBackupPlan API to provide a preview of up to 10 next scheduled backup plan runs in the GetBackupPlan response.
8
+
9
+ 1.95.0 (2025-08-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.94.0 (2025-08-21)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.94.0
1
+ 1.96.0
@@ -2426,6 +2426,11 @@ module Aws::Backup
2426
2426
  # Unique, randomly generated, Unicode, UTF-8 encoded strings that are at
2427
2427
  # most 1,024 bytes long. Version IDs cannot be edited.
2428
2428
  #
2429
+ # @option params [Integer] :max_scheduled_runs_preview
2430
+ # Number of future scheduled backup runs to preview. When set to 0
2431
+ # (default), no scheduled runs preview is included in the response.
2432
+ # Valid range is 0-10.
2433
+ #
2429
2434
  # @return [Types::GetBackupPlanOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2430
2435
  #
2431
2436
  # * {Types::GetBackupPlanOutput#backup_plan #backup_plan} => Types::BackupPlan
@@ -2437,12 +2442,14 @@ module Aws::Backup
2437
2442
  # * {Types::GetBackupPlanOutput#deletion_date #deletion_date} => Time
2438
2443
  # * {Types::GetBackupPlanOutput#last_execution_date #last_execution_date} => Time
2439
2444
  # * {Types::GetBackupPlanOutput#advanced_backup_settings #advanced_backup_settings} => Array<Types::AdvancedBackupSetting>
2445
+ # * {Types::GetBackupPlanOutput#scheduled_runs_preview #scheduled_runs_preview} => Array<Types::ScheduledPlanExecutionMember>
2440
2446
  #
2441
2447
  # @example Request syntax with placeholder values
2442
2448
  #
2443
2449
  # resp = client.get_backup_plan({
2444
2450
  # backup_plan_id: "string", # required
2445
2451
  # version_id: "string",
2452
+ # max_scheduled_runs_preview: 1,
2446
2453
  # })
2447
2454
  #
2448
2455
  # @example Response structure
@@ -2485,6 +2492,10 @@ module Aws::Backup
2485
2492
  # resp.advanced_backup_settings[0].resource_type #=> String
2486
2493
  # resp.advanced_backup_settings[0].backup_options #=> Hash
2487
2494
  # resp.advanced_backup_settings[0].backup_options["BackupOptionKey"] #=> String
2495
+ # resp.scheduled_runs_preview #=> Array
2496
+ # resp.scheduled_runs_preview[0].execution_time #=> Time
2497
+ # resp.scheduled_runs_preview[0].rule_id #=> String
2498
+ # resp.scheduled_runs_preview[0].rule_execution_type #=> String, one of "CONTINUOUS", "SNAPSHOTS", "CONTINUOUS_AND_SNAPSHOTS"
2488
2499
  #
2489
2500
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlan AWS API Documentation
2490
2501
  #
@@ -5590,6 +5601,13 @@ module Aws::Backup
5590
5601
  #
5591
5602
  # Does not support continuous backups.
5592
5603
  #
5604
+ # See [Copy job retry][1] for information on how Backup retries copy job
5605
+ # operations.
5606
+ #
5607
+ #
5608
+ #
5609
+ # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/recov-point-create-a-copy.html#backup-copy-retry
5610
+ #
5593
5611
  # @option params [required, String] :recovery_point_arn
5594
5612
  # An ARN that uniquely identifies a recovery point to use for the copy
5595
5613
  # job; for example,
@@ -6143,10 +6161,16 @@ module Aws::Backup
6143
6161
  # to determine the current settings.
6144
6162
  #
6145
6163
  # @option params [Hash<String,String>] :global_settings
6164
+ # Inputs can include:
6165
+ #
6146
6166
  # A value for `isCrossAccountBackupEnabled` and a Region. Example:
6147
6167
  # `update-global-settings --global-settings
6148
6168
  # isCrossAccountBackupEnabled=false --region us-west-2`.
6149
6169
  #
6170
+ # A value for Multi-party approval, styled as "Mpa": `isMpaEnabled`.
6171
+ # Values can be true or false. Example: `update-global-settings
6172
+ # --global-settings isMpaEnabled=false --region us-west-2`.
6173
+ #
6150
6174
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
6151
6175
  #
6152
6176
  # @example Request syntax with placeholder values
@@ -6596,7 +6620,7 @@ module Aws::Backup
6596
6620
  tracer: tracer
6597
6621
  )
6598
6622
  context[:gem_name] = 'aws-sdk-backup'
6599
- context[:gem_version] = '1.94.0'
6623
+ context[:gem_version] = '1.96.0'
6600
6624
  Seahorse::Client::Request.new(handlers, context)
6601
6625
  end
6602
6626
 
@@ -257,6 +257,7 @@ module Aws::Backup
257
257
  Long = Shapes::IntegerShape.new(name: 'Long')
258
258
  MaxFrameworkInputs = Shapes::IntegerShape.new(name: 'MaxFrameworkInputs')
259
259
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
260
+ MaxScheduledRunsPreview = Shapes::IntegerShape.new(name: 'MaxScheduledRunsPreview')
260
261
  MessageCategory = Shapes::StringShape.new(name: 'MessageCategory')
261
262
  Metadata = Shapes::MapShape.new(name: 'Metadata')
262
263
  MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
@@ -329,6 +330,9 @@ module Aws::Backup
329
330
  RestoreTestingSelections = Shapes::ListShape.new(name: 'RestoreTestingSelections')
330
331
  RestoreValidationStatus = Shapes::StringShape.new(name: 'RestoreValidationStatus')
331
332
  RevokeRestoreAccessBackupVaultInput = Shapes::StructureShape.new(name: 'RevokeRestoreAccessBackupVaultInput')
333
+ RuleExecutionType = Shapes::StringShape.new(name: 'RuleExecutionType')
334
+ ScheduledPlanExecutionMember = Shapes::StructureShape.new(name: 'ScheduledPlanExecutionMember')
335
+ ScheduledRunsPreview = Shapes::ListShape.new(name: 'ScheduledRunsPreview')
332
336
  SensitiveStringMap = Shapes::MapShape.new(name: 'SensitiveStringMap')
333
337
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
334
338
  StartBackupJobInput = Shapes::StructureShape.new(name: 'StartBackupJobInput')
@@ -1028,6 +1032,7 @@ module Aws::Backup
1028
1032
 
1029
1033
  GetBackupPlanInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
1030
1034
  GetBackupPlanInput.add_member(:version_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "versionId"))
1035
+ GetBackupPlanInput.add_member(:max_scheduled_runs_preview, Shapes::ShapeRef.new(shape: MaxScheduledRunsPreview, location: "querystring", location_name: "MaxScheduledRunsPreview"))
1031
1036
  GetBackupPlanInput.struct_class = Types::GetBackupPlanInput
1032
1037
 
1033
1038
  GetBackupPlanOutput.add_member(:backup_plan, Shapes::ShapeRef.new(shape: BackupPlan, location_name: "BackupPlan"))
@@ -1039,6 +1044,7 @@ module Aws::Backup
1039
1044
  GetBackupPlanOutput.add_member(:deletion_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "DeletionDate"))
1040
1045
  GetBackupPlanOutput.add_member(:last_execution_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastExecutionDate"))
1041
1046
  GetBackupPlanOutput.add_member(:advanced_backup_settings, Shapes::ShapeRef.new(shape: AdvancedBackupSettings, location_name: "AdvancedBackupSettings"))
1047
+ GetBackupPlanOutput.add_member(:scheduled_runs_preview, Shapes::ShapeRef.new(shape: ScheduledRunsPreview, location_name: "ScheduledRunsPreview"))
1042
1048
  GetBackupPlanOutput.struct_class = Types::GetBackupPlanOutput
1043
1049
 
1044
1050
  GetBackupSelectionInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
@@ -1819,6 +1825,13 @@ module Aws::Backup
1819
1825
  RevokeRestoreAccessBackupVaultInput.add_member(:requester_comment, Shapes::ShapeRef.new(shape: RequesterComment, location: "querystring", location_name: "requesterComment"))
1820
1826
  RevokeRestoreAccessBackupVaultInput.struct_class = Types::RevokeRestoreAccessBackupVaultInput
1821
1827
 
1828
+ ScheduledPlanExecutionMember.add_member(:execution_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "ExecutionTime"))
1829
+ ScheduledPlanExecutionMember.add_member(:rule_id, Shapes::ShapeRef.new(shape: string, location_name: "RuleId"))
1830
+ ScheduledPlanExecutionMember.add_member(:rule_execution_type, Shapes::ShapeRef.new(shape: RuleExecutionType, location_name: "RuleExecutionType"))
1831
+ ScheduledPlanExecutionMember.struct_class = Types::ScheduledPlanExecutionMember
1832
+
1833
+ ScheduledRunsPreview.member = Shapes::ShapeRef.new(shape: ScheduledPlanExecutionMember)
1834
+
1822
1835
  SensitiveStringMap.key = Shapes::ShapeRef.new(shape: String)
1823
1836
  SensitiveStringMap.value = Shapes::ShapeRef.new(shape: String)
1824
1837
 
@@ -3101,7 +3101,8 @@ module Aws::Backup
3101
3101
  class DescribeGlobalSettingsInput < Aws::EmptyStructure; end
3102
3102
 
3103
3103
  # @!attribute [rw] global_settings
3104
- # The status of the flag `isCrossAccountBackupEnabled`.
3104
+ # The status of the flags `isCrossAccountBackupEnabled` and
3105
+ # `isMpaEnabled` ('Mpa' refers to multi-party approval).
3105
3106
  # @return [Hash<String,String>]
3106
3107
  #
3107
3108
  # @!attribute [rw] last_update_time
@@ -3935,11 +3936,18 @@ module Aws::Backup
3935
3936
  # at most 1,024 bytes long. Version IDs cannot be edited.
3936
3937
  # @return [String]
3937
3938
  #
3939
+ # @!attribute [rw] max_scheduled_runs_preview
3940
+ # Number of future scheduled backup runs to preview. When set to 0
3941
+ # (default), no scheduled runs preview is included in the response.
3942
+ # Valid range is 0-10.
3943
+ # @return [Integer]
3944
+ #
3938
3945
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlanInput AWS API Documentation
3939
3946
  #
3940
3947
  class GetBackupPlanInput < Struct.new(
3941
3948
  :backup_plan_id,
3942
- :version_id)
3949
+ :version_id,
3950
+ :max_scheduled_runs_preview)
3943
3951
  SENSITIVE = []
3944
3952
  include Aws::Structure
3945
3953
  end
@@ -3997,6 +4005,13 @@ module Aws::Backup
3997
4005
  # is populated only if the advanced option is set for the backup plan.
3998
4006
  # @return [Array<Types::AdvancedBackupSetting>]
3999
4007
  #
4008
+ # @!attribute [rw] scheduled_runs_preview
4009
+ # List of upcoming scheduled backup runs. Only included when
4010
+ # `MaxScheduledRunsPreview` parameter is greater than 0. Contains up
4011
+ # to 10 future backup executions with their scheduled times, execution
4012
+ # types, and associated rule IDs.
4013
+ # @return [Array<Types::ScheduledPlanExecutionMember>]
4014
+ #
4000
4015
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetBackupPlanOutput AWS API Documentation
4001
4016
  #
4002
4017
  class GetBackupPlanOutput < Struct.new(
@@ -4008,7 +4023,8 @@ module Aws::Backup
4008
4023
  :creation_date,
4009
4024
  :deletion_date,
4010
4025
  :last_execution_date,
4011
- :advanced_backup_settings)
4026
+ :advanced_backup_settings,
4027
+ :scheduled_runs_preview)
4012
4028
  SENSITIVE = []
4013
4029
  include Aws::Structure
4014
4030
  end
@@ -8692,6 +8708,37 @@ module Aws::Backup
8692
8708
  include Aws::Structure
8693
8709
  end
8694
8710
 
8711
+ # Contains information about a scheduled backup plan execution,
8712
+ # including the execution time, rule type, and associated rule
8713
+ # identifier.
8714
+ #
8715
+ # @!attribute [rw] execution_time
8716
+ # The timestamp when the backup is scheduled to run, in Unix format
8717
+ # and Coordinated Universal Time (UTC). The value is accurate to
8718
+ # milliseconds.
8719
+ # @return [Time]
8720
+ #
8721
+ # @!attribute [rw] rule_id
8722
+ # The unique identifier of the backup rule that will execute at the
8723
+ # scheduled time.
8724
+ # @return [String]
8725
+ #
8726
+ # @!attribute [rw] rule_execution_type
8727
+ # The type of backup rule execution. Valid values are `CONTINUOUS`
8728
+ # (point-in-time recovery), `SNAPSHOTS` (snapshot backups), or
8729
+ # `CONTINUOUS_AND_SNAPSHOTS` (both types combined).
8730
+ # @return [String]
8731
+ #
8732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ScheduledPlanExecutionMember AWS API Documentation
8733
+ #
8734
+ class ScheduledPlanExecutionMember < Struct.new(
8735
+ :execution_time,
8736
+ :rule_id,
8737
+ :rule_execution_type)
8738
+ SENSITIVE = []
8739
+ include Aws::Structure
8740
+ end
8741
+
8695
8742
  # The request failed due to a temporary failure of the server.
8696
8743
  #
8697
8744
  # @!attribute [rw] code
@@ -9342,9 +9389,15 @@ module Aws::Backup
9342
9389
  end
9343
9390
 
9344
9391
  # @!attribute [rw] global_settings
9392
+ # Inputs can include:
9393
+ #
9345
9394
  # A value for `isCrossAccountBackupEnabled` and a Region. Example:
9346
9395
  # `update-global-settings --global-settings
9347
9396
  # isCrossAccountBackupEnabled=false --region us-west-2`.
9397
+ #
9398
+ # A value for Multi-party approval, styled as "Mpa": `isMpaEnabled`.
9399
+ # Values can be true or false. Example: `update-global-settings
9400
+ # --global-settings isMpaEnabled=false --region us-west-2`.
9348
9401
  # @return [Hash<String,String>]
9349
9402
  #
9350
9403
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateGlobalSettingsInput AWS API Documentation
@@ -54,7 +54,7 @@ module Aws::Backup
54
54
  autoload :EndpointProvider, 'aws-sdk-backup/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-backup/endpoints'
56
56
 
57
- GEM_VERSION = '1.94.0'
57
+ GEM_VERSION = '1.96.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -732,11 +732,13 @@ module Aws
732
732
  def deletion_date: () -> ::Time
733
733
  def last_execution_date: () -> ::Time
734
734
  def advanced_backup_settings: () -> ::Array[Types::AdvancedBackupSetting]
735
+ def scheduled_runs_preview: () -> ::Array[Types::ScheduledPlanExecutionMember]
735
736
  end
736
737
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#get_backup_plan-instance_method
737
738
  def get_backup_plan: (
738
739
  backup_plan_id: ::String,
739
- ?version_id: ::String
740
+ ?version_id: ::String,
741
+ ?max_scheduled_runs_preview: ::Integer
740
742
  ) -> _GetBackupPlanResponseSuccess
741
743
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBackupPlanResponseSuccess
742
744
 
data/sig/types.rbs CHANGED
@@ -793,6 +793,7 @@ module Aws::Backup
793
793
  class GetBackupPlanInput
794
794
  attr_accessor backup_plan_id: ::String
795
795
  attr_accessor version_id: ::String
796
+ attr_accessor max_scheduled_runs_preview: ::Integer
796
797
  SENSITIVE: []
797
798
  end
798
799
 
@@ -806,6 +807,7 @@ module Aws::Backup
806
807
  attr_accessor deletion_date: ::Time
807
808
  attr_accessor last_execution_date: ::Time
808
809
  attr_accessor advanced_backup_settings: ::Array[Types::AdvancedBackupSetting]
810
+ attr_accessor scheduled_runs_preview: ::Array[Types::ScheduledPlanExecutionMember]
809
811
  SENSITIVE: []
810
812
  end
811
813
 
@@ -1765,6 +1767,13 @@ module Aws::Backup
1765
1767
  SENSITIVE: [:requester_comment]
1766
1768
  end
1767
1769
 
1770
+ class ScheduledPlanExecutionMember
1771
+ attr_accessor execution_time: ::Time
1772
+ attr_accessor rule_id: ::String
1773
+ attr_accessor rule_execution_type: ("CONTINUOUS" | "SNAPSHOTS" | "CONTINUOUS_AND_SNAPSHOTS")
1774
+ SENSITIVE: []
1775
+ end
1776
+
1768
1777
  class ServiceUnavailableException
1769
1778
  attr_accessor code: ::String
1770
1779
  attr_accessor message: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.94.0
4
+ version: 1.96.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.228.0
21
+ version: 3.231.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.228.0
31
+ version: 3.231.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement