aws-sdk-backup 1.100.0 → 1.102.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.
data/sig/client.rbs CHANGED
@@ -113,13 +113,15 @@ module Aws
113
113
  {
114
114
  rule_name: ::String,
115
115
  target_backup_vault_name: ::String,
116
+ target_logically_air_gapped_backup_vault_arn: ::String?,
116
117
  schedule_expression: ::String?,
117
118
  start_window_minutes: ::Integer?,
118
119
  completion_window_minutes: ::Integer?,
119
120
  lifecycle: {
120
121
  move_to_cold_storage_after_days: ::Integer?,
121
122
  delete_after_days: ::Integer?,
122
- opt_in_to_archive_for_supported_resources: bool?
123
+ opt_in_to_archive_for_supported_resources: bool?,
124
+ delete_after_event: ("DELETE_AFTER_COPY")?
123
125
  }?,
124
126
  recovery_point_tags: Hash[::String, ::String]?,
125
127
  copy_actions: Array[
@@ -127,7 +129,8 @@ module Aws
127
129
  lifecycle: {
128
130
  move_to_cold_storage_after_days: ::Integer?,
129
131
  delete_after_days: ::Integer?,
130
- opt_in_to_archive_for_supported_resources: bool?
132
+ opt_in_to_archive_for_supported_resources: bool?,
133
+ delete_after_event: ("DELETE_AFTER_COPY")?
131
134
  }?,
132
135
  destination_backup_vault_arn: ::String
133
136
  },
@@ -402,6 +405,30 @@ module Aws
402
405
  ) -> _CreateRestoreTestingSelectionResponseSuccess
403
406
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRestoreTestingSelectionResponseSuccess
404
407
 
408
+ interface _CreateTieringConfigurationResponseSuccess
409
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTieringConfigurationOutput]
410
+ def tiering_configuration_arn: () -> ::String
411
+ def tiering_configuration_name: () -> ::String
412
+ def creation_time: () -> ::Time
413
+ end
414
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#create_tiering_configuration-instance_method
415
+ def create_tiering_configuration: (
416
+ tiering_configuration: {
417
+ tiering_configuration_name: ::String,
418
+ backup_vault_name: ::String,
419
+ resource_selection: Array[
420
+ {
421
+ resources: Array[::String],
422
+ tiering_down_settings_in_days: ::Integer,
423
+ resource_type: ::String
424
+ },
425
+ ]
426
+ },
427
+ ?tiering_configuration_tags: Hash[::String, ::String],
428
+ ?creator_request_id: ::String
429
+ ) -> _CreateTieringConfigurationResponseSuccess
430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTieringConfigurationResponseSuccess
431
+
405
432
  interface _DeleteBackupPlanResponseSuccess
406
433
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBackupPlanOutput]
407
434
  def backup_plan_id: () -> ::String
@@ -478,6 +505,15 @@ module Aws
478
505
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
479
506
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
480
507
 
508
+ interface _DeleteTieringConfigurationResponseSuccess
509
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTieringConfigurationOutput]
510
+ end
511
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#delete_tiering_configuration-instance_method
512
+ def delete_tiering_configuration: (
513
+ tiering_configuration_name: ::String
514
+ ) -> _DeleteTieringConfigurationResponseSuccess
515
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTieringConfigurationResponseSuccess
516
+
481
517
  interface _DescribeBackupJobResponseSuccess
482
518
  include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBackupJobOutput]
483
519
  def account_id: () -> ::String
@@ -919,6 +955,16 @@ module Aws
919
955
  def get_supported_resource_types: () -> _GetSupportedResourceTypesResponseSuccess
920
956
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSupportedResourceTypesResponseSuccess
921
957
 
958
+ interface _GetTieringConfigurationResponseSuccess
959
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetTieringConfigurationOutput]
960
+ def tiering_configuration: () -> Types::TieringConfiguration
961
+ end
962
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#get_tiering_configuration-instance_method
963
+ def get_tiering_configuration: (
964
+ tiering_configuration_name: ::String
965
+ ) -> _GetTieringConfigurationResponseSuccess
966
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTieringConfigurationResponseSuccess
967
+
922
968
  interface _ListBackupJobSummariesResponseSuccess
923
969
  include ::Seahorse::Client::_ResponseSuccess[Types::ListBackupJobSummariesOutput]
924
970
  def backup_job_summaries: () -> ::Array[Types::BackupJobSummary]
@@ -1062,7 +1108,8 @@ module Aws
1062
1108
  ?by_complete_before: ::Time,
1063
1109
  ?by_complete_after: ::Time,
1064
1110
  ?by_parent_job_id: ::String,
1065
- ?by_message_category: ::String
1111
+ ?by_message_category: ::String,
1112
+ ?by_source_recovery_point_arn: ::String
1066
1113
  ) -> _ListCopyJobsResponseSuccess
1067
1114
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCopyJobsResponseSuccess
1068
1115
 
@@ -1313,6 +1360,18 @@ module Aws
1313
1360
  ) -> _ListTagsResponseSuccess
1314
1361
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
1315
1362
 
1363
+ interface _ListTieringConfigurationsResponseSuccess
1364
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTieringConfigurationsOutput]
1365
+ def tiering_configurations: () -> ::Array[Types::TieringConfigurationsListMember]
1366
+ def next_token: () -> ::String
1367
+ end
1368
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#list_tiering_configurations-instance_method
1369
+ def list_tiering_configurations: (
1370
+ ?max_results: ::Integer,
1371
+ ?next_token: ::String
1372
+ ) -> _ListTieringConfigurationsResponseSuccess
1373
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTieringConfigurationsResponseSuccess
1374
+
1316
1375
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#put_backup_vault_access_policy-instance_method
1317
1376
  def put_backup_vault_access_policy: (
1318
1377
  backup_vault_name: ::String,
@@ -1363,6 +1422,7 @@ module Aws
1363
1422
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#start_backup_job-instance_method
1364
1423
  def start_backup_job: (
1365
1424
  backup_vault_name: ::String,
1425
+ ?logically_air_gapped_backup_vault_arn: ::String,
1366
1426
  resource_arn: ::String,
1367
1427
  iam_role_arn: ::String,
1368
1428
  ?idempotency_token: ::String,
@@ -1371,7 +1431,8 @@ module Aws
1371
1431
  ?lifecycle: {
1372
1432
  move_to_cold_storage_after_days: ::Integer?,
1373
1433
  delete_after_days: ::Integer?,
1374
- opt_in_to_archive_for_supported_resources: bool?
1434
+ opt_in_to_archive_for_supported_resources: bool?,
1435
+ delete_after_event: ("DELETE_AFTER_COPY")?
1375
1436
  },
1376
1437
  ?recovery_point_tags: Hash[::String, ::String],
1377
1438
  ?backup_options: Hash[::String, ::String],
@@ -1395,7 +1456,8 @@ module Aws
1395
1456
  ?lifecycle: {
1396
1457
  move_to_cold_storage_after_days: ::Integer?,
1397
1458
  delete_after_days: ::Integer?,
1398
- opt_in_to_archive_for_supported_resources: bool?
1459
+ opt_in_to_archive_for_supported_resources: bool?,
1460
+ delete_after_event: ("DELETE_AFTER_COPY")?
1399
1461
  }
1400
1462
  ) -> _StartCopyJobResponseSuccess
1401
1463
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCopyJobResponseSuccess
@@ -1463,13 +1525,15 @@ module Aws
1463
1525
  {
1464
1526
  rule_name: ::String,
1465
1527
  target_backup_vault_name: ::String,
1528
+ target_logically_air_gapped_backup_vault_arn: ::String?,
1466
1529
  schedule_expression: ::String?,
1467
1530
  start_window_minutes: ::Integer?,
1468
1531
  completion_window_minutes: ::Integer?,
1469
1532
  lifecycle: {
1470
1533
  move_to_cold_storage_after_days: ::Integer?,
1471
1534
  delete_after_days: ::Integer?,
1472
- opt_in_to_archive_for_supported_resources: bool?
1535
+ opt_in_to_archive_for_supported_resources: bool?,
1536
+ delete_after_event: ("DELETE_AFTER_COPY")?
1473
1537
  }?,
1474
1538
  recovery_point_tags: Hash[::String, ::String]?,
1475
1539
  copy_actions: Array[
@@ -1477,7 +1541,8 @@ module Aws
1477
1541
  lifecycle: {
1478
1542
  move_to_cold_storage_after_days: ::Integer?,
1479
1543
  delete_after_days: ::Integer?,
1480
- opt_in_to_archive_for_supported_resources: bool?
1544
+ opt_in_to_archive_for_supported_resources: bool?,
1545
+ delete_after_event: ("DELETE_AFTER_COPY")?
1481
1546
  }?,
1482
1547
  destination_backup_vault_arn: ::String
1483
1548
  },
@@ -1567,7 +1632,8 @@ module Aws
1567
1632
  ?lifecycle: {
1568
1633
  move_to_cold_storage_after_days: ::Integer?,
1569
1634
  delete_after_days: ::Integer?,
1570
- opt_in_to_archive_for_supported_resources: bool?
1635
+ opt_in_to_archive_for_supported_resources: bool?,
1636
+ delete_after_event: ("DELETE_AFTER_COPY")?
1571
1637
  }
1572
1638
  ) -> _UpdateRecoveryPointLifecycleResponseSuccess
1573
1639
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRecoveryPointLifecycleResponseSuccess
@@ -1665,6 +1731,29 @@ module Aws
1665
1731
  restore_testing_selection_name: ::String
1666
1732
  ) -> _UpdateRestoreTestingSelectionResponseSuccess
1667
1733
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRestoreTestingSelectionResponseSuccess
1734
+
1735
+ interface _UpdateTieringConfigurationResponseSuccess
1736
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTieringConfigurationOutput]
1737
+ def tiering_configuration_arn: () -> ::String
1738
+ def tiering_configuration_name: () -> ::String
1739
+ def creation_time: () -> ::Time
1740
+ def last_updated_time: () -> ::Time
1741
+ end
1742
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#update_tiering_configuration-instance_method
1743
+ def update_tiering_configuration: (
1744
+ tiering_configuration_name: ::String,
1745
+ tiering_configuration: {
1746
+ resource_selection: Array[
1747
+ {
1748
+ resources: Array[::String],
1749
+ tiering_down_settings_in_days: ::Integer,
1750
+ resource_type: ::String
1751
+ },
1752
+ ],
1753
+ backup_vault_name: ::String
1754
+ }
1755
+ ) -> _UpdateTieringConfigurationResponseSuccess
1756
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTieringConfigurationResponseSuccess
1668
1757
  end
1669
1758
  end
1670
1759
  end
data/sig/types.rbs CHANGED
@@ -113,6 +113,7 @@ module Aws::Backup
113
113
  class BackupRule
114
114
  attr_accessor rule_name: ::String
115
115
  attr_accessor target_backup_vault_name: ::String
116
+ attr_accessor target_logically_air_gapped_backup_vault_arn: ::String
116
117
  attr_accessor schedule_expression: ::String
117
118
  attr_accessor start_window_minutes: ::Integer
118
119
  attr_accessor completion_window_minutes: ::Integer
@@ -129,6 +130,7 @@ module Aws::Backup
129
130
  class BackupRuleInput
130
131
  attr_accessor rule_name: ::String
131
132
  attr_accessor target_backup_vault_name: ::String
133
+ attr_accessor target_logically_air_gapped_backup_vault_arn: ::String
132
134
  attr_accessor schedule_expression: ::String
133
135
  attr_accessor start_window_minutes: ::Integer
134
136
  attr_accessor completion_window_minutes: ::Integer
@@ -261,6 +263,7 @@ module Aws::Backup
261
263
  attr_accessor backup_size_in_bytes: ::Integer
262
264
  attr_accessor iam_role_arn: ::String
263
265
  attr_accessor created_by: Types::RecoveryPointCreator
266
+ attr_accessor created_by_backup_job_id: ::String
264
267
  attr_accessor resource_type: ::String
265
268
  attr_accessor parent_job_id: ::String
266
269
  attr_accessor is_parent: bool
@@ -445,6 +448,20 @@ module Aws::Backup
445
448
  SENSITIVE: []
446
449
  end
447
450
 
451
+ class CreateTieringConfigurationInput
452
+ attr_accessor tiering_configuration: Types::TieringConfigurationInputForCreate
453
+ attr_accessor tiering_configuration_tags: ::Hash[::String, ::String]
454
+ attr_accessor creator_request_id: ::String
455
+ SENSITIVE: [:tiering_configuration_tags]
456
+ end
457
+
458
+ class CreateTieringConfigurationOutput
459
+ attr_accessor tiering_configuration_arn: ::String
460
+ attr_accessor tiering_configuration_name: ::String
461
+ attr_accessor creation_time: ::Time
462
+ SENSITIVE: []
463
+ end
464
+
448
465
  class DateRange
449
466
  attr_accessor from_date: ::Time
450
467
  attr_accessor to_date: ::Time
@@ -517,6 +534,14 @@ module Aws::Backup
517
534
  SENSITIVE: []
518
535
  end
519
536
 
537
+ class DeleteTieringConfigurationInput
538
+ attr_accessor tiering_configuration_name: ::String
539
+ SENSITIVE: []
540
+ end
541
+
542
+ class DeleteTieringConfigurationOutput < Aws::EmptyStructure
543
+ end
544
+
520
545
  class DependencyFailureException
521
546
  attr_accessor code: ::String
522
547
  attr_accessor message: ::String
@@ -975,6 +1000,16 @@ module Aws::Backup
975
1000
  SENSITIVE: []
976
1001
  end
977
1002
 
1003
+ class GetTieringConfigurationInput
1004
+ attr_accessor tiering_configuration_name: ::String
1005
+ SENSITIVE: []
1006
+ end
1007
+
1008
+ class GetTieringConfigurationOutput
1009
+ attr_accessor tiering_configuration: Types::TieringConfiguration
1010
+ SENSITIVE: []
1011
+ end
1012
+
978
1013
  class IndexAction
979
1014
  attr_accessor resource_types: ::Array[::String]
980
1015
  SENSITIVE: []
@@ -1056,6 +1091,7 @@ module Aws::Backup
1056
1091
  attr_accessor move_to_cold_storage_after_days: ::Integer
1057
1092
  attr_accessor delete_after_days: ::Integer
1058
1093
  attr_accessor opt_in_to_archive_for_supported_resources: bool
1094
+ attr_accessor delete_after_event: ("DELETE_AFTER_COPY")
1059
1095
  SENSITIVE: []
1060
1096
  end
1061
1097
 
@@ -1205,6 +1241,7 @@ module Aws::Backup
1205
1241
  attr_accessor by_complete_after: ::Time
1206
1242
  attr_accessor by_parent_job_id: ::String
1207
1243
  attr_accessor by_message_category: ::String
1244
+ attr_accessor by_source_recovery_point_arn: ::String
1208
1245
  SENSITIVE: []
1209
1246
  end
1210
1247
 
@@ -1461,6 +1498,18 @@ module Aws::Backup
1461
1498
  SENSITIVE: [:tags]
1462
1499
  end
1463
1500
 
1501
+ class ListTieringConfigurationsInput
1502
+ attr_accessor max_results: ::Integer
1503
+ attr_accessor next_token: ::String
1504
+ SENSITIVE: []
1505
+ end
1506
+
1507
+ class ListTieringConfigurationsOutput
1508
+ attr_accessor tiering_configurations: ::Array[Types::TieringConfigurationsListMember]
1509
+ attr_accessor next_token: ::String
1510
+ SENSITIVE: []
1511
+ end
1512
+
1464
1513
  class MissingParameterValueException
1465
1514
  attr_accessor code: ::String
1466
1515
  attr_accessor message: ::String
@@ -1645,6 +1694,13 @@ module Aws::Backup
1645
1694
  SENSITIVE: []
1646
1695
  end
1647
1696
 
1697
+ class ResourceSelection
1698
+ attr_accessor resources: ::Array[::String]
1699
+ attr_accessor tiering_down_settings_in_days: ::Integer
1700
+ attr_accessor resource_type: ::String
1701
+ SENSITIVE: []
1702
+ end
1703
+
1648
1704
  class RestoreAccessBackupVaultListMember
1649
1705
  attr_accessor restore_access_backup_vault_arn: ::String
1650
1706
  attr_accessor creation_date: ::Time
@@ -1817,6 +1873,7 @@ module Aws::Backup
1817
1873
 
1818
1874
  class StartBackupJobInput
1819
1875
  attr_accessor backup_vault_name: ::String
1876
+ attr_accessor logically_air_gapped_backup_vault_arn: ::String
1820
1877
  attr_accessor resource_arn: ::String
1821
1878
  attr_accessor iam_role_arn: ::String
1822
1879
  attr_accessor idempotency_token: ::String
@@ -1891,6 +1948,39 @@ module Aws::Backup
1891
1948
  SENSITIVE: [:tags]
1892
1949
  end
1893
1950
 
1951
+ class TieringConfiguration
1952
+ attr_accessor tiering_configuration_name: ::String
1953
+ attr_accessor tiering_configuration_arn: ::String
1954
+ attr_accessor backup_vault_name: ::String
1955
+ attr_accessor resource_selection: ::Array[Types::ResourceSelection]
1956
+ attr_accessor creator_request_id: ::String
1957
+ attr_accessor creation_time: ::Time
1958
+ attr_accessor last_updated_time: ::Time
1959
+ SENSITIVE: []
1960
+ end
1961
+
1962
+ class TieringConfigurationInputForCreate
1963
+ attr_accessor tiering_configuration_name: ::String
1964
+ attr_accessor backup_vault_name: ::String
1965
+ attr_accessor resource_selection: ::Array[Types::ResourceSelection]
1966
+ SENSITIVE: []
1967
+ end
1968
+
1969
+ class TieringConfigurationInputForUpdate
1970
+ attr_accessor resource_selection: ::Array[Types::ResourceSelection]
1971
+ attr_accessor backup_vault_name: ::String
1972
+ SENSITIVE: []
1973
+ end
1974
+
1975
+ class TieringConfigurationsListMember
1976
+ attr_accessor tiering_configuration_arn: ::String
1977
+ attr_accessor tiering_configuration_name: ::String
1978
+ attr_accessor backup_vault_name: ::String
1979
+ attr_accessor creation_time: ::Time
1980
+ attr_accessor last_updated_time: ::Time
1981
+ SENSITIVE: []
1982
+ end
1983
+
1894
1984
  class UntagResourceInput
1895
1985
  attr_accessor resource_arn: ::String
1896
1986
  attr_accessor tag_key_list: ::Array[::String]
@@ -2014,5 +2104,19 @@ module Aws::Backup
2014
2104
  attr_accessor update_time: ::Time
2015
2105
  SENSITIVE: []
2016
2106
  end
2107
+
2108
+ class UpdateTieringConfigurationInput
2109
+ attr_accessor tiering_configuration_name: ::String
2110
+ attr_accessor tiering_configuration: Types::TieringConfigurationInputForUpdate
2111
+ SENSITIVE: []
2112
+ end
2113
+
2114
+ class UpdateTieringConfigurationOutput
2115
+ attr_accessor tiering_configuration_arn: ::String
2116
+ attr_accessor tiering_configuration_name: ::String
2117
+ attr_accessor creation_time: ::Time
2118
+ attr_accessor last_updated_time: ::Time
2119
+ SENSITIVE: []
2120
+ end
2017
2121
  end
2018
2122
  end
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.100.0
4
+ version: 1.102.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services