aws-sdk-backup 1.98.0 → 1.104.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 +4 -4
- data/CHANGELOG.md +30 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +770 -3
- data/lib/aws-sdk-backup/client_api.rb +425 -0
- data/lib/aws-sdk-backup/types.rb +1486 -53
- data/lib/aws-sdk-backup.rb +1 -1
- data/sig/client.rbs +221 -10
- data/sig/types.rbs +289 -0
- metadata +3 -3
data/lib/aws-sdk-backup.rb
CHANGED
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
|
},
|
|
@@ -138,6 +141,12 @@ module Aws
|
|
|
138
141
|
{
|
|
139
142
|
resource_types: Array[::String]?
|
|
140
143
|
},
|
|
144
|
+
]?,
|
|
145
|
+
scan_actions: Array[
|
|
146
|
+
{
|
|
147
|
+
malware_scanner: ("GUARDDUTY")?,
|
|
148
|
+
scan_mode: ("FULL_SCAN" | "INCREMENTAL_SCAN")?
|
|
149
|
+
},
|
|
141
150
|
]?
|
|
142
151
|
},
|
|
143
152
|
],
|
|
@@ -146,6 +155,13 @@ module Aws
|
|
|
146
155
|
resource_type: ::String?,
|
|
147
156
|
backup_options: Hash[::String, ::String]?
|
|
148
157
|
},
|
|
158
|
+
]?,
|
|
159
|
+
scan_settings: Array[
|
|
160
|
+
{
|
|
161
|
+
malware_scanner: ("GUARDDUTY")?,
|
|
162
|
+
resource_types: Array[::String]?,
|
|
163
|
+
scanner_role_arn: ::String?
|
|
164
|
+
},
|
|
149
165
|
]?
|
|
150
166
|
},
|
|
151
167
|
?backup_plan_tags: Hash[::String, ::String],
|
|
@@ -290,7 +306,8 @@ module Aws
|
|
|
290
306
|
?backup_vault_tags: Hash[::String, ::String],
|
|
291
307
|
?creator_request_id: ::String,
|
|
292
308
|
min_retention_days: ::Integer,
|
|
293
|
-
max_retention_days: ::Integer
|
|
309
|
+
max_retention_days: ::Integer,
|
|
310
|
+
?encryption_key_arn: ::String
|
|
294
311
|
) -> _CreateLogicallyAirGappedBackupVaultResponseSuccess
|
|
295
312
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLogicallyAirGappedBackupVaultResponseSuccess
|
|
296
313
|
|
|
@@ -401,6 +418,30 @@ module Aws
|
|
|
401
418
|
) -> _CreateRestoreTestingSelectionResponseSuccess
|
|
402
419
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRestoreTestingSelectionResponseSuccess
|
|
403
420
|
|
|
421
|
+
interface _CreateTieringConfigurationResponseSuccess
|
|
422
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTieringConfigurationOutput]
|
|
423
|
+
def tiering_configuration_arn: () -> ::String
|
|
424
|
+
def tiering_configuration_name: () -> ::String
|
|
425
|
+
def creation_time: () -> ::Time
|
|
426
|
+
end
|
|
427
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#create_tiering_configuration-instance_method
|
|
428
|
+
def create_tiering_configuration: (
|
|
429
|
+
tiering_configuration: {
|
|
430
|
+
tiering_configuration_name: ::String,
|
|
431
|
+
backup_vault_name: ::String,
|
|
432
|
+
resource_selection: Array[
|
|
433
|
+
{
|
|
434
|
+
resources: Array[::String],
|
|
435
|
+
tiering_down_settings_in_days: ::Integer,
|
|
436
|
+
resource_type: ::String
|
|
437
|
+
},
|
|
438
|
+
]
|
|
439
|
+
},
|
|
440
|
+
?tiering_configuration_tags: Hash[::String, ::String],
|
|
441
|
+
?creator_request_id: ::String
|
|
442
|
+
) -> _CreateTieringConfigurationResponseSuccess
|
|
443
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTieringConfigurationResponseSuccess
|
|
444
|
+
|
|
404
445
|
interface _DeleteBackupPlanResponseSuccess
|
|
405
446
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBackupPlanOutput]
|
|
406
447
|
def backup_plan_id: () -> ::String
|
|
@@ -477,6 +518,15 @@ module Aws
|
|
|
477
518
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
478
519
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
479
520
|
|
|
521
|
+
interface _DeleteTieringConfigurationResponseSuccess
|
|
522
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTieringConfigurationOutput]
|
|
523
|
+
end
|
|
524
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#delete_tiering_configuration-instance_method
|
|
525
|
+
def delete_tiering_configuration: (
|
|
526
|
+
tiering_configuration_name: ::String
|
|
527
|
+
) -> _DeleteTieringConfigurationResponseSuccess
|
|
528
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTieringConfigurationResponseSuccess
|
|
529
|
+
|
|
480
530
|
interface _DescribeBackupJobResponseSuccess
|
|
481
531
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBackupJobOutput]
|
|
482
532
|
def account_id: () -> ::String
|
|
@@ -536,6 +586,7 @@ module Aws
|
|
|
536
586
|
def mpa_approval_team_arn: () -> ::String
|
|
537
587
|
def mpa_session_arn: () -> ::String
|
|
538
588
|
def latest_mpa_approval_team_update: () -> Types::LatestMpaApprovalTeamUpdate
|
|
589
|
+
def encryption_key_type: () -> ("AWS_OWNED_KMS_KEY" | "CUSTOMER_MANAGED_KMS_KEY")
|
|
539
590
|
end
|
|
540
591
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#describe_backup_vault-instance_method
|
|
541
592
|
def describe_backup_vault: (
|
|
@@ -628,6 +679,8 @@ module Aws
|
|
|
628
679
|
def vault_type: () -> ("BACKUP_VAULT" | "LOGICALLY_AIR_GAPPED_BACKUP_VAULT" | "RESTORE_ACCESS_BACKUP_VAULT")
|
|
629
680
|
def index_status: () -> ("PENDING" | "ACTIVE" | "FAILED" | "DELETING")
|
|
630
681
|
def index_status_message: () -> ::String
|
|
682
|
+
def encryption_key_type: () -> ("AWS_OWNED_KMS_KEY" | "CUSTOMER_MANAGED_KMS_KEY")
|
|
683
|
+
def scan_results: () -> ::Array[Types::ScanResult]
|
|
631
684
|
end
|
|
632
685
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#describe_recovery_point-instance_method
|
|
633
686
|
def describe_recovery_point: (
|
|
@@ -690,6 +743,8 @@ module Aws
|
|
|
690
743
|
def validation_status_message: () -> ::String
|
|
691
744
|
def deletion_status: () -> ("DELETING" | "FAILED" | "SUCCESSFUL")
|
|
692
745
|
def deletion_status_message: () -> ::String
|
|
746
|
+
def is_parent: () -> bool
|
|
747
|
+
def parent_job_id: () -> ::String
|
|
693
748
|
end
|
|
694
749
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#describe_restore_job-instance_method
|
|
695
750
|
def describe_restore_job: (
|
|
@@ -697,6 +752,35 @@ module Aws
|
|
|
697
752
|
) -> _DescribeRestoreJobResponseSuccess
|
|
698
753
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRestoreJobResponseSuccess
|
|
699
754
|
|
|
755
|
+
interface _DescribeScanJobResponseSuccess
|
|
756
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeScanJobOutput]
|
|
757
|
+
def account_id: () -> ::String
|
|
758
|
+
def backup_vault_arn: () -> ::String
|
|
759
|
+
def backup_vault_name: () -> ::String
|
|
760
|
+
def completion_date: () -> ::Time
|
|
761
|
+
def created_by: () -> Types::ScanJobCreator
|
|
762
|
+
def creation_date: () -> ::Time
|
|
763
|
+
def iam_role_arn: () -> ::String
|
|
764
|
+
def malware_scanner: () -> ("GUARDDUTY")
|
|
765
|
+
def recovery_point_arn: () -> ::String
|
|
766
|
+
def resource_arn: () -> ::String
|
|
767
|
+
def resource_name: () -> ::String
|
|
768
|
+
def resource_type: () -> ("EBS" | "EC2" | "S3")
|
|
769
|
+
def scan_base_recovery_point_arn: () -> ::String
|
|
770
|
+
def scan_id: () -> ::String
|
|
771
|
+
def scan_job_id: () -> ::String
|
|
772
|
+
def scan_mode: () -> ("FULL_SCAN" | "INCREMENTAL_SCAN")
|
|
773
|
+
def scan_result: () -> Types::ScanResultInfo
|
|
774
|
+
def scanner_role_arn: () -> ::String
|
|
775
|
+
def state: () -> ("CANCELED" | "COMPLETED" | "COMPLETED_WITH_ISSUES" | "CREATED" | "FAILED" | "RUNNING")
|
|
776
|
+
def status_message: () -> ::String
|
|
777
|
+
end
|
|
778
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#describe_scan_job-instance_method
|
|
779
|
+
def describe_scan_job: (
|
|
780
|
+
scan_job_id: ::String
|
|
781
|
+
) -> _DescribeScanJobResponseSuccess
|
|
782
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeScanJobResponseSuccess
|
|
783
|
+
|
|
700
784
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#disassociate_backup_vault_mpa_approval_team-instance_method
|
|
701
785
|
def disassociate_backup_vault_mpa_approval_team: (
|
|
702
786
|
backup_vault_name: ::String,
|
|
@@ -914,6 +998,16 @@ module Aws
|
|
|
914
998
|
def get_supported_resource_types: () -> _GetSupportedResourceTypesResponseSuccess
|
|
915
999
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSupportedResourceTypesResponseSuccess
|
|
916
1000
|
|
|
1001
|
+
interface _GetTieringConfigurationResponseSuccess
|
|
1002
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTieringConfigurationOutput]
|
|
1003
|
+
def tiering_configuration: () -> Types::TieringConfiguration
|
|
1004
|
+
end
|
|
1005
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#get_tiering_configuration-instance_method
|
|
1006
|
+
def get_tiering_configuration: (
|
|
1007
|
+
tiering_configuration_name: ::String
|
|
1008
|
+
) -> _GetTieringConfigurationResponseSuccess
|
|
1009
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTieringConfigurationResponseSuccess
|
|
1010
|
+
|
|
917
1011
|
interface _ListBackupJobSummariesResponseSuccess
|
|
918
1012
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListBackupJobSummariesOutput]
|
|
919
1013
|
def backup_job_summaries: () -> ::Array[Types::BackupJobSummary]
|
|
@@ -1057,7 +1151,8 @@ module Aws
|
|
|
1057
1151
|
?by_complete_before: ::Time,
|
|
1058
1152
|
?by_complete_after: ::Time,
|
|
1059
1153
|
?by_parent_job_id: ::String,
|
|
1060
|
-
?by_message_category: ::String
|
|
1154
|
+
?by_message_category: ::String,
|
|
1155
|
+
?by_source_recovery_point_arn: ::String
|
|
1061
1156
|
) -> _ListCopyJobsResponseSuccess
|
|
1062
1157
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListCopyJobsResponseSuccess
|
|
1063
1158
|
|
|
@@ -1249,7 +1344,8 @@ module Aws
|
|
|
1249
1344
|
?by_status: ("PENDING" | "RUNNING" | "COMPLETED" | "ABORTED" | "FAILED"),
|
|
1250
1345
|
?by_complete_before: ::Time,
|
|
1251
1346
|
?by_complete_after: ::Time,
|
|
1252
|
-
?by_restore_testing_plan_arn: ::String
|
|
1347
|
+
?by_restore_testing_plan_arn: ::String,
|
|
1348
|
+
?by_parent_job_id: ::String
|
|
1253
1349
|
) -> _ListRestoreJobsResponseSuccess
|
|
1254
1350
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRestoreJobsResponseSuccess
|
|
1255
1351
|
|
|
@@ -1294,6 +1390,47 @@ module Aws
|
|
|
1294
1390
|
) -> _ListRestoreTestingSelectionsResponseSuccess
|
|
1295
1391
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRestoreTestingSelectionsResponseSuccess
|
|
1296
1392
|
|
|
1393
|
+
interface _ListScanJobSummariesResponseSuccess
|
|
1394
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListScanJobSummariesOutput]
|
|
1395
|
+
def scan_job_summaries: () -> ::Array[Types::ScanJobSummary]
|
|
1396
|
+
def aggregation_period: () -> ::String
|
|
1397
|
+
def next_token: () -> ::String
|
|
1398
|
+
end
|
|
1399
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#list_scan_job_summaries-instance_method
|
|
1400
|
+
def list_scan_job_summaries: (
|
|
1401
|
+
?account_id: ::String,
|
|
1402
|
+
?resource_type: ::String,
|
|
1403
|
+
?malware_scanner: ("GUARDDUTY"),
|
|
1404
|
+
?scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND"),
|
|
1405
|
+
?state: ("CREATED" | "COMPLETED" | "COMPLETED_WITH_ISSUES" | "RUNNING" | "FAILED" | "CANCELED" | "AGGREGATE_ALL" | "ANY"),
|
|
1406
|
+
?aggregation_period: ("ONE_DAY" | "SEVEN_DAYS" | "FOURTEEN_DAYS"),
|
|
1407
|
+
?max_results: ::Integer,
|
|
1408
|
+
?next_token: ::String
|
|
1409
|
+
) -> _ListScanJobSummariesResponseSuccess
|
|
1410
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScanJobSummariesResponseSuccess
|
|
1411
|
+
|
|
1412
|
+
interface _ListScanJobsResponseSuccess
|
|
1413
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListScanJobsOutput]
|
|
1414
|
+
def next_token: () -> ::String
|
|
1415
|
+
def scan_jobs: () -> ::Array[Types::ScanJob]
|
|
1416
|
+
end
|
|
1417
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#list_scan_jobs-instance_method
|
|
1418
|
+
def list_scan_jobs: (
|
|
1419
|
+
?by_account_id: ::String,
|
|
1420
|
+
?by_backup_vault_name: ::String,
|
|
1421
|
+
?by_complete_after: ::Time,
|
|
1422
|
+
?by_complete_before: ::Time,
|
|
1423
|
+
?by_malware_scanner: ("GUARDDUTY"),
|
|
1424
|
+
?by_recovery_point_arn: ::String,
|
|
1425
|
+
?by_resource_arn: ::String,
|
|
1426
|
+
?by_resource_type: ("EBS" | "EC2" | "S3"),
|
|
1427
|
+
?by_scan_result_status: ("NO_THREATS_FOUND" | "THREATS_FOUND"),
|
|
1428
|
+
?by_state: ("CANCELED" | "COMPLETED" | "COMPLETED_WITH_ISSUES" | "CREATED" | "FAILED" | "RUNNING"),
|
|
1429
|
+
?max_results: ::Integer,
|
|
1430
|
+
?next_token: ::String
|
|
1431
|
+
) -> _ListScanJobsResponseSuccess
|
|
1432
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListScanJobsResponseSuccess
|
|
1433
|
+
|
|
1297
1434
|
interface _ListTagsResponseSuccess
|
|
1298
1435
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsOutput]
|
|
1299
1436
|
def next_token: () -> ::String
|
|
@@ -1307,6 +1444,18 @@ module Aws
|
|
|
1307
1444
|
) -> _ListTagsResponseSuccess
|
|
1308
1445
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
|
|
1309
1446
|
|
|
1447
|
+
interface _ListTieringConfigurationsResponseSuccess
|
|
1448
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTieringConfigurationsOutput]
|
|
1449
|
+
def tiering_configurations: () -> ::Array[Types::TieringConfigurationsListMember]
|
|
1450
|
+
def next_token: () -> ::String
|
|
1451
|
+
end
|
|
1452
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#list_tiering_configurations-instance_method
|
|
1453
|
+
def list_tiering_configurations: (
|
|
1454
|
+
?max_results: ::Integer,
|
|
1455
|
+
?next_token: ::String
|
|
1456
|
+
) -> _ListTieringConfigurationsResponseSuccess
|
|
1457
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTieringConfigurationsResponseSuccess
|
|
1458
|
+
|
|
1310
1459
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#put_backup_vault_access_policy-instance_method
|
|
1311
1460
|
def put_backup_vault_access_policy: (
|
|
1312
1461
|
backup_vault_name: ::String,
|
|
@@ -1357,6 +1506,7 @@ module Aws
|
|
|
1357
1506
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#start_backup_job-instance_method
|
|
1358
1507
|
def start_backup_job: (
|
|
1359
1508
|
backup_vault_name: ::String,
|
|
1509
|
+
?logically_air_gapped_backup_vault_arn: ::String,
|
|
1360
1510
|
resource_arn: ::String,
|
|
1361
1511
|
iam_role_arn: ::String,
|
|
1362
1512
|
?idempotency_token: ::String,
|
|
@@ -1365,7 +1515,8 @@ module Aws
|
|
|
1365
1515
|
?lifecycle: {
|
|
1366
1516
|
move_to_cold_storage_after_days: ::Integer?,
|
|
1367
1517
|
delete_after_days: ::Integer?,
|
|
1368
|
-
opt_in_to_archive_for_supported_resources: bool
|
|
1518
|
+
opt_in_to_archive_for_supported_resources: bool?,
|
|
1519
|
+
delete_after_event: ("DELETE_AFTER_COPY")?
|
|
1369
1520
|
},
|
|
1370
1521
|
?recovery_point_tags: Hash[::String, ::String],
|
|
1371
1522
|
?backup_options: Hash[::String, ::String],
|
|
@@ -1389,7 +1540,8 @@ module Aws
|
|
|
1389
1540
|
?lifecycle: {
|
|
1390
1541
|
move_to_cold_storage_after_days: ::Integer?,
|
|
1391
1542
|
delete_after_days: ::Integer?,
|
|
1392
|
-
opt_in_to_archive_for_supported_resources: bool
|
|
1543
|
+
opt_in_to_archive_for_supported_resources: bool?,
|
|
1544
|
+
delete_after_event: ("DELETE_AFTER_COPY")?
|
|
1393
1545
|
}
|
|
1394
1546
|
) -> _StartCopyJobResponseSuccess
|
|
1395
1547
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCopyJobResponseSuccess
|
|
@@ -1420,6 +1572,24 @@ module Aws
|
|
|
1420
1572
|
) -> _StartRestoreJobResponseSuccess
|
|
1421
1573
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartRestoreJobResponseSuccess
|
|
1422
1574
|
|
|
1575
|
+
interface _StartScanJobResponseSuccess
|
|
1576
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartScanJobOutput]
|
|
1577
|
+
def creation_date: () -> ::Time
|
|
1578
|
+
def scan_job_id: () -> ::String
|
|
1579
|
+
end
|
|
1580
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#start_scan_job-instance_method
|
|
1581
|
+
def start_scan_job: (
|
|
1582
|
+
backup_vault_name: ::String,
|
|
1583
|
+
iam_role_arn: ::String,
|
|
1584
|
+
?idempotency_token: ::String,
|
|
1585
|
+
malware_scanner: ("GUARDDUTY"),
|
|
1586
|
+
recovery_point_arn: ::String,
|
|
1587
|
+
?scan_base_recovery_point_arn: ::String,
|
|
1588
|
+
scan_mode: ("FULL_SCAN" | "INCREMENTAL_SCAN"),
|
|
1589
|
+
scanner_role_arn: ::String
|
|
1590
|
+
) -> _StartScanJobResponseSuccess
|
|
1591
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartScanJobResponseSuccess
|
|
1592
|
+
|
|
1423
1593
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#stop_backup_job-instance_method
|
|
1424
1594
|
def stop_backup_job: (
|
|
1425
1595
|
backup_job_id: ::String
|
|
@@ -1447,6 +1617,7 @@ module Aws
|
|
|
1447
1617
|
def creation_date: () -> ::Time
|
|
1448
1618
|
def version_id: () -> ::String
|
|
1449
1619
|
def advanced_backup_settings: () -> ::Array[Types::AdvancedBackupSetting]
|
|
1620
|
+
def scan_settings: () -> ::Array[Types::ScanSetting]
|
|
1450
1621
|
end
|
|
1451
1622
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#update_backup_plan-instance_method
|
|
1452
1623
|
def update_backup_plan: (
|
|
@@ -1457,13 +1628,15 @@ module Aws
|
|
|
1457
1628
|
{
|
|
1458
1629
|
rule_name: ::String,
|
|
1459
1630
|
target_backup_vault_name: ::String,
|
|
1631
|
+
target_logically_air_gapped_backup_vault_arn: ::String?,
|
|
1460
1632
|
schedule_expression: ::String?,
|
|
1461
1633
|
start_window_minutes: ::Integer?,
|
|
1462
1634
|
completion_window_minutes: ::Integer?,
|
|
1463
1635
|
lifecycle: {
|
|
1464
1636
|
move_to_cold_storage_after_days: ::Integer?,
|
|
1465
1637
|
delete_after_days: ::Integer?,
|
|
1466
|
-
opt_in_to_archive_for_supported_resources: bool
|
|
1638
|
+
opt_in_to_archive_for_supported_resources: bool?,
|
|
1639
|
+
delete_after_event: ("DELETE_AFTER_COPY")?
|
|
1467
1640
|
}?,
|
|
1468
1641
|
recovery_point_tags: Hash[::String, ::String]?,
|
|
1469
1642
|
copy_actions: Array[
|
|
@@ -1471,7 +1644,8 @@ module Aws
|
|
|
1471
1644
|
lifecycle: {
|
|
1472
1645
|
move_to_cold_storage_after_days: ::Integer?,
|
|
1473
1646
|
delete_after_days: ::Integer?,
|
|
1474
|
-
opt_in_to_archive_for_supported_resources: bool
|
|
1647
|
+
opt_in_to_archive_for_supported_resources: bool?,
|
|
1648
|
+
delete_after_event: ("DELETE_AFTER_COPY")?
|
|
1475
1649
|
}?,
|
|
1476
1650
|
destination_backup_vault_arn: ::String
|
|
1477
1651
|
},
|
|
@@ -1482,6 +1656,12 @@ module Aws
|
|
|
1482
1656
|
{
|
|
1483
1657
|
resource_types: Array[::String]?
|
|
1484
1658
|
},
|
|
1659
|
+
]?,
|
|
1660
|
+
scan_actions: Array[
|
|
1661
|
+
{
|
|
1662
|
+
malware_scanner: ("GUARDDUTY")?,
|
|
1663
|
+
scan_mode: ("FULL_SCAN" | "INCREMENTAL_SCAN")?
|
|
1664
|
+
},
|
|
1485
1665
|
]?
|
|
1486
1666
|
},
|
|
1487
1667
|
],
|
|
@@ -1490,6 +1670,13 @@ module Aws
|
|
|
1490
1670
|
resource_type: ::String?,
|
|
1491
1671
|
backup_options: Hash[::String, ::String]?
|
|
1492
1672
|
},
|
|
1673
|
+
]?,
|
|
1674
|
+
scan_settings: Array[
|
|
1675
|
+
{
|
|
1676
|
+
malware_scanner: ("GUARDDUTY")?,
|
|
1677
|
+
resource_types: Array[::String]?,
|
|
1678
|
+
scanner_role_arn: ::String?
|
|
1679
|
+
},
|
|
1493
1680
|
]?
|
|
1494
1681
|
}
|
|
1495
1682
|
) -> _UpdateBackupPlanResponseSuccess
|
|
@@ -1561,7 +1748,8 @@ module Aws
|
|
|
1561
1748
|
?lifecycle: {
|
|
1562
1749
|
move_to_cold_storage_after_days: ::Integer?,
|
|
1563
1750
|
delete_after_days: ::Integer?,
|
|
1564
|
-
opt_in_to_archive_for_supported_resources: bool
|
|
1751
|
+
opt_in_to_archive_for_supported_resources: bool?,
|
|
1752
|
+
delete_after_event: ("DELETE_AFTER_COPY")?
|
|
1565
1753
|
}
|
|
1566
1754
|
) -> _UpdateRecoveryPointLifecycleResponseSuccess
|
|
1567
1755
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRecoveryPointLifecycleResponseSuccess
|
|
@@ -1659,6 +1847,29 @@ module Aws
|
|
|
1659
1847
|
restore_testing_selection_name: ::String
|
|
1660
1848
|
) -> _UpdateRestoreTestingSelectionResponseSuccess
|
|
1661
1849
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRestoreTestingSelectionResponseSuccess
|
|
1850
|
+
|
|
1851
|
+
interface _UpdateTieringConfigurationResponseSuccess
|
|
1852
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTieringConfigurationOutput]
|
|
1853
|
+
def tiering_configuration_arn: () -> ::String
|
|
1854
|
+
def tiering_configuration_name: () -> ::String
|
|
1855
|
+
def creation_time: () -> ::Time
|
|
1856
|
+
def last_updated_time: () -> ::Time
|
|
1857
|
+
end
|
|
1858
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#update_tiering_configuration-instance_method
|
|
1859
|
+
def update_tiering_configuration: (
|
|
1860
|
+
tiering_configuration_name: ::String,
|
|
1861
|
+
tiering_configuration: {
|
|
1862
|
+
resource_selection: Array[
|
|
1863
|
+
{
|
|
1864
|
+
resources: Array[::String],
|
|
1865
|
+
tiering_down_settings_in_days: ::Integer,
|
|
1866
|
+
resource_type: ::String
|
|
1867
|
+
},
|
|
1868
|
+
],
|
|
1869
|
+
backup_vault_name: ::String
|
|
1870
|
+
}
|
|
1871
|
+
) -> _UpdateTieringConfigurationResponseSuccess
|
|
1872
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTieringConfigurationResponseSuccess
|
|
1662
1873
|
end
|
|
1663
1874
|
end
|
|
1664
1875
|
end
|