aws-sdk-backup 1.101.0 → 1.103.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +698 -3
- data/lib/aws-sdk-backup/client_api.rb +406 -0
- data/lib/aws-sdk-backup/types.rb +1377 -84
- data/lib/aws-sdk-backup.rb +1 -1
- data/sig/client.rbs +194 -0
- data/sig/types.rbs +272 -0
- metadata +1 -1
data/lib/aws-sdk-backup.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -141,6 +141,12 @@ module Aws
|
|
|
141
141
|
{
|
|
142
142
|
resource_types: Array[::String]?
|
|
143
143
|
},
|
|
144
|
+
]?,
|
|
145
|
+
scan_actions: Array[
|
|
146
|
+
{
|
|
147
|
+
malware_scanner: ("GUARDDUTY")?,
|
|
148
|
+
scan_mode: ("FULL_SCAN" | "INCREMENTAL_SCAN")?
|
|
149
|
+
},
|
|
144
150
|
]?
|
|
145
151
|
},
|
|
146
152
|
],
|
|
@@ -149,6 +155,13 @@ module Aws
|
|
|
149
155
|
resource_type: ::String?,
|
|
150
156
|
backup_options: Hash[::String, ::String]?
|
|
151
157
|
},
|
|
158
|
+
]?,
|
|
159
|
+
scan_settings: Array[
|
|
160
|
+
{
|
|
161
|
+
malware_scanner: ("GUARDDUTY")?,
|
|
162
|
+
resource_types: Array[::String]?,
|
|
163
|
+
scanner_role_arn: ::String?
|
|
164
|
+
},
|
|
152
165
|
]?
|
|
153
166
|
},
|
|
154
167
|
?backup_plan_tags: Hash[::String, ::String],
|
|
@@ -405,6 +418,30 @@ module Aws
|
|
|
405
418
|
) -> _CreateRestoreTestingSelectionResponseSuccess
|
|
406
419
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRestoreTestingSelectionResponseSuccess
|
|
407
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
|
+
|
|
408
445
|
interface _DeleteBackupPlanResponseSuccess
|
|
409
446
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBackupPlanOutput]
|
|
410
447
|
def backup_plan_id: () -> ::String
|
|
@@ -481,6 +518,15 @@ module Aws
|
|
|
481
518
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
482
519
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
483
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
|
+
|
|
484
530
|
interface _DescribeBackupJobResponseSuccess
|
|
485
531
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBackupJobOutput]
|
|
486
532
|
def account_id: () -> ::String
|
|
@@ -634,6 +680,7 @@ module Aws
|
|
|
634
680
|
def index_status: () -> ("PENDING" | "ACTIVE" | "FAILED" | "DELETING")
|
|
635
681
|
def index_status_message: () -> ::String
|
|
636
682
|
def encryption_key_type: () -> ("AWS_OWNED_KMS_KEY" | "CUSTOMER_MANAGED_KMS_KEY")
|
|
683
|
+
def scan_results: () -> ::Array[Types::ScanResult]
|
|
637
684
|
end
|
|
638
685
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#describe_recovery_point-instance_method
|
|
639
686
|
def describe_recovery_point: (
|
|
@@ -705,6 +752,35 @@ module Aws
|
|
|
705
752
|
) -> _DescribeRestoreJobResponseSuccess
|
|
706
753
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeRestoreJobResponseSuccess
|
|
707
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
|
+
|
|
708
784
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#disassociate_backup_vault_mpa_approval_team-instance_method
|
|
709
785
|
def disassociate_backup_vault_mpa_approval_team: (
|
|
710
786
|
backup_vault_name: ::String,
|
|
@@ -922,6 +998,16 @@ module Aws
|
|
|
922
998
|
def get_supported_resource_types: () -> _GetSupportedResourceTypesResponseSuccess
|
|
923
999
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSupportedResourceTypesResponseSuccess
|
|
924
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
|
+
|
|
925
1011
|
interface _ListBackupJobSummariesResponseSuccess
|
|
926
1012
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListBackupJobSummariesOutput]
|
|
927
1013
|
def backup_job_summaries: () -> ::Array[Types::BackupJobSummary]
|
|
@@ -1304,6 +1390,47 @@ module Aws
|
|
|
1304
1390
|
) -> _ListRestoreTestingSelectionsResponseSuccess
|
|
1305
1391
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRestoreTestingSelectionsResponseSuccess
|
|
1306
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
|
+
|
|
1307
1434
|
interface _ListTagsResponseSuccess
|
|
1308
1435
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsOutput]
|
|
1309
1436
|
def next_token: () -> ::String
|
|
@@ -1317,6 +1444,18 @@ module Aws
|
|
|
1317
1444
|
) -> _ListTagsResponseSuccess
|
|
1318
1445
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
|
|
1319
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
|
+
|
|
1320
1459
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#put_backup_vault_access_policy-instance_method
|
|
1321
1460
|
def put_backup_vault_access_policy: (
|
|
1322
1461
|
backup_vault_name: ::String,
|
|
@@ -1433,6 +1572,24 @@ module Aws
|
|
|
1433
1572
|
) -> _StartRestoreJobResponseSuccess
|
|
1434
1573
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartRestoreJobResponseSuccess
|
|
1435
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
|
+
|
|
1436
1593
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#stop_backup_job-instance_method
|
|
1437
1594
|
def stop_backup_job: (
|
|
1438
1595
|
backup_job_id: ::String
|
|
@@ -1460,6 +1617,7 @@ module Aws
|
|
|
1460
1617
|
def creation_date: () -> ::Time
|
|
1461
1618
|
def version_id: () -> ::String
|
|
1462
1619
|
def advanced_backup_settings: () -> ::Array[Types::AdvancedBackupSetting]
|
|
1620
|
+
def scan_settings: () -> ::Array[Types::ScanSetting]
|
|
1463
1621
|
end
|
|
1464
1622
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#update_backup_plan-instance_method
|
|
1465
1623
|
def update_backup_plan: (
|
|
@@ -1498,6 +1656,12 @@ module Aws
|
|
|
1498
1656
|
{
|
|
1499
1657
|
resource_types: Array[::String]?
|
|
1500
1658
|
},
|
|
1659
|
+
]?,
|
|
1660
|
+
scan_actions: Array[
|
|
1661
|
+
{
|
|
1662
|
+
malware_scanner: ("GUARDDUTY")?,
|
|
1663
|
+
scan_mode: ("FULL_SCAN" | "INCREMENTAL_SCAN")?
|
|
1664
|
+
},
|
|
1501
1665
|
]?
|
|
1502
1666
|
},
|
|
1503
1667
|
],
|
|
@@ -1506,6 +1670,13 @@ module Aws
|
|
|
1506
1670
|
resource_type: ::String?,
|
|
1507
1671
|
backup_options: Hash[::String, ::String]?
|
|
1508
1672
|
},
|
|
1673
|
+
]?,
|
|
1674
|
+
scan_settings: Array[
|
|
1675
|
+
{
|
|
1676
|
+
malware_scanner: ("GUARDDUTY")?,
|
|
1677
|
+
resource_types: Array[::String]?,
|
|
1678
|
+
scanner_role_arn: ::String?
|
|
1679
|
+
},
|
|
1509
1680
|
]?
|
|
1510
1681
|
}
|
|
1511
1682
|
) -> _UpdateBackupPlanResponseSuccess
|
|
@@ -1676,6 +1847,29 @@ module Aws
|
|
|
1676
1847
|
restore_testing_selection_name: ::String
|
|
1677
1848
|
) -> _UpdateRestoreTestingSelectionResponseSuccess
|
|
1678
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
|
|
1679
1873
|
end
|
|
1680
1874
|
end
|
|
1681
1875
|
end
|