aws-sdk-backup 1.111.0 → 1.112.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +1 -1
- data/lib/aws-sdk-backup.rb +1 -1
- data/sig/client.rbs +15 -193
- data/sig/params.rbs +114 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3988c6e68c7580b973a19a0c8a5397786b5f39dd7ed1d8090b12d337c8a526e7
|
|
4
|
+
data.tar.gz: b9a06345693a143d0a8bc24e33943ee95a3fee825d13a338bae2f4db1ee28215
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a0638cbfa105ebba52bf3168db690695ab3ae64723caca904574a3d2805eb7c24ba88b38f77224d9eb7cd2c393b0f606262a9b025a7cdf9f22af4933d4b9ad1f
|
|
7
|
+
data.tar.gz: 1fb252195ef062139a15962e31c0727a491d9c08bb6b0c4fecc2f87a11e39f653c3eca33af6348c8ed1d398cf2a5e77ed9c2ee13ee5028eb947a39748b2b9d8f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.112.0
|
data/lib/aws-sdk-backup.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -107,63 +107,7 @@ module Aws
|
|
|
107
107
|
end
|
|
108
108
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#create_backup_plan-instance_method
|
|
109
109
|
def create_backup_plan: (
|
|
110
|
-
backup_plan:
|
|
111
|
-
backup_plan_name: ::String,
|
|
112
|
-
rules: Array[
|
|
113
|
-
{
|
|
114
|
-
rule_name: ::String,
|
|
115
|
-
target_backup_vault_name: ::String,
|
|
116
|
-
target_logically_air_gapped_backup_vault_arn: ::String?,
|
|
117
|
-
schedule_expression: ::String?,
|
|
118
|
-
start_window_minutes: ::Integer?,
|
|
119
|
-
completion_window_minutes: ::Integer?,
|
|
120
|
-
lifecycle: {
|
|
121
|
-
move_to_cold_storage_after_days: ::Integer?,
|
|
122
|
-
delete_after_days: ::Integer?,
|
|
123
|
-
opt_in_to_archive_for_supported_resources: bool?,
|
|
124
|
-
delete_after_event: ("DELETE_AFTER_COPY")?
|
|
125
|
-
}?,
|
|
126
|
-
recovery_point_tags: Hash[::String, ::String]?,
|
|
127
|
-
copy_actions: Array[
|
|
128
|
-
{
|
|
129
|
-
lifecycle: {
|
|
130
|
-
move_to_cold_storage_after_days: ::Integer?,
|
|
131
|
-
delete_after_days: ::Integer?,
|
|
132
|
-
opt_in_to_archive_for_supported_resources: bool?,
|
|
133
|
-
delete_after_event: ("DELETE_AFTER_COPY")?
|
|
134
|
-
}?,
|
|
135
|
-
destination_backup_vault_arn: ::String
|
|
136
|
-
},
|
|
137
|
-
]?,
|
|
138
|
-
enable_continuous_backup: bool?,
|
|
139
|
-
schedule_expression_timezone: ::String?,
|
|
140
|
-
index_actions: Array[
|
|
141
|
-
{
|
|
142
|
-
resource_types: Array[::String]?
|
|
143
|
-
},
|
|
144
|
-
]?,
|
|
145
|
-
scan_actions: Array[
|
|
146
|
-
{
|
|
147
|
-
malware_scanner: ("GUARDDUTY")?,
|
|
148
|
-
scan_mode: ("FULL_SCAN" | "INCREMENTAL_SCAN")?
|
|
149
|
-
},
|
|
150
|
-
]?
|
|
151
|
-
},
|
|
152
|
-
],
|
|
153
|
-
advanced_backup_settings: Array[
|
|
154
|
-
{
|
|
155
|
-
resource_type: ::String?,
|
|
156
|
-
backup_options: Hash[::String, ::String]?
|
|
157
|
-
},
|
|
158
|
-
]?,
|
|
159
|
-
scan_settings: Array[
|
|
160
|
-
{
|
|
161
|
-
malware_scanner: ("GUARDDUTY")?,
|
|
162
|
-
resource_types: Array[::String]?,
|
|
163
|
-
scanner_role_arn: ::String?
|
|
164
|
-
},
|
|
165
|
-
]?
|
|
166
|
-
},
|
|
110
|
+
backup_plan: Params::backup_plan_input,
|
|
167
111
|
?backup_plan_tags: Hash[::String, ::String],
|
|
168
112
|
?creator_request_id: ::String
|
|
169
113
|
) -> _CreateBackupPlanResponseSuccess
|
|
@@ -187,7 +131,7 @@ module Aws
|
|
|
187
131
|
condition_type: ("STRINGEQUALS"),
|
|
188
132
|
condition_key: ::String,
|
|
189
133
|
condition_value: ::String
|
|
190
|
-
}
|
|
134
|
+
}
|
|
191
135
|
]?,
|
|
192
136
|
not_resources: Array[::String]?,
|
|
193
137
|
conditions: {
|
|
@@ -195,25 +139,25 @@ module Aws
|
|
|
195
139
|
{
|
|
196
140
|
condition_key: ::String?,
|
|
197
141
|
condition_value: ::String?
|
|
198
|
-
}
|
|
142
|
+
}
|
|
199
143
|
]?,
|
|
200
144
|
string_not_equals: Array[
|
|
201
145
|
{
|
|
202
146
|
condition_key: ::String?,
|
|
203
147
|
condition_value: ::String?
|
|
204
|
-
}
|
|
148
|
+
}
|
|
205
149
|
]?,
|
|
206
150
|
string_like: Array[
|
|
207
151
|
{
|
|
208
152
|
condition_key: ::String?,
|
|
209
153
|
condition_value: ::String?
|
|
210
|
-
}
|
|
154
|
+
}
|
|
211
155
|
]?,
|
|
212
156
|
string_not_like: Array[
|
|
213
157
|
{
|
|
214
158
|
condition_key: ::String?,
|
|
215
159
|
condition_value: ::String?
|
|
216
|
-
}
|
|
160
|
+
}
|
|
217
161
|
]?
|
|
218
162
|
}?
|
|
219
163
|
},
|
|
@@ -246,20 +190,7 @@ module Aws
|
|
|
246
190
|
framework_name: ::String,
|
|
247
191
|
?framework_description: ::String,
|
|
248
192
|
framework_controls: Array[
|
|
249
|
-
|
|
250
|
-
control_name: ::String,
|
|
251
|
-
control_input_parameters: Array[
|
|
252
|
-
{
|
|
253
|
-
parameter_name: ::String?,
|
|
254
|
-
parameter_value: ::String?
|
|
255
|
-
},
|
|
256
|
-
]?,
|
|
257
|
-
control_scope: {
|
|
258
|
-
compliance_resource_ids: Array[::String]?,
|
|
259
|
-
compliance_resource_types: Array[::String]?,
|
|
260
|
-
tags: Hash[::String, ::String]?
|
|
261
|
-
}?
|
|
262
|
-
},
|
|
193
|
+
Params::framework_control
|
|
263
194
|
],
|
|
264
195
|
?idempotency_token: ::String,
|
|
265
196
|
?framework_tags: Hash[::String, ::String]
|
|
@@ -326,14 +257,7 @@ module Aws
|
|
|
326
257
|
s3_key_prefix: ::String?,
|
|
327
258
|
formats: Array[::String]?
|
|
328
259
|
},
|
|
329
|
-
report_setting:
|
|
330
|
-
report_template: ::String,
|
|
331
|
-
framework_arns: Array[::String]?,
|
|
332
|
-
number_of_frameworks: ::Integer?,
|
|
333
|
-
accounts: Array[::String]?,
|
|
334
|
-
organization_units: Array[::String]?,
|
|
335
|
-
regions: Array[::String]?
|
|
336
|
-
},
|
|
260
|
+
report_setting: Params::report_setting,
|
|
337
261
|
?report_plan_tags: Hash[::String, ::String],
|
|
338
262
|
?idempotency_token: ::String
|
|
339
263
|
) -> _CreateReportPlanResponseSuccess
|
|
@@ -396,20 +320,7 @@ module Aws
|
|
|
396
320
|
restore_testing_selection: {
|
|
397
321
|
iam_role_arn: ::String,
|
|
398
322
|
protected_resource_arns: Array[::String]?,
|
|
399
|
-
protected_resource_conditions:
|
|
400
|
-
string_equals: Array[
|
|
401
|
-
{
|
|
402
|
-
key: ::String,
|
|
403
|
-
value: ::String
|
|
404
|
-
},
|
|
405
|
-
]?,
|
|
406
|
-
string_not_equals: Array[
|
|
407
|
-
{
|
|
408
|
-
key: ::String,
|
|
409
|
-
value: ::String
|
|
410
|
-
},
|
|
411
|
-
]?
|
|
412
|
-
}?,
|
|
323
|
+
protected_resource_conditions: Params::protected_resource_conditions?,
|
|
413
324
|
protected_resource_type: ::String,
|
|
414
325
|
restore_metadata_overrides: Hash[::String, ::String]?,
|
|
415
326
|
restore_testing_selection_name: ::String,
|
|
@@ -434,7 +345,7 @@ module Aws
|
|
|
434
345
|
resources: Array[::String],
|
|
435
346
|
tiering_down_settings_in_days: ::Integer,
|
|
436
347
|
resource_type: ::String
|
|
437
|
-
}
|
|
348
|
+
}
|
|
438
349
|
]
|
|
439
350
|
},
|
|
440
351
|
?tiering_configuration_tags: Hash[::String, ::String],
|
|
@@ -1622,63 +1533,7 @@ module Aws
|
|
|
1622
1533
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#update_backup_plan-instance_method
|
|
1623
1534
|
def update_backup_plan: (
|
|
1624
1535
|
backup_plan_id: ::String,
|
|
1625
|
-
backup_plan:
|
|
1626
|
-
backup_plan_name: ::String,
|
|
1627
|
-
rules: Array[
|
|
1628
|
-
{
|
|
1629
|
-
rule_name: ::String,
|
|
1630
|
-
target_backup_vault_name: ::String,
|
|
1631
|
-
target_logically_air_gapped_backup_vault_arn: ::String?,
|
|
1632
|
-
schedule_expression: ::String?,
|
|
1633
|
-
start_window_minutes: ::Integer?,
|
|
1634
|
-
completion_window_minutes: ::Integer?,
|
|
1635
|
-
lifecycle: {
|
|
1636
|
-
move_to_cold_storage_after_days: ::Integer?,
|
|
1637
|
-
delete_after_days: ::Integer?,
|
|
1638
|
-
opt_in_to_archive_for_supported_resources: bool?,
|
|
1639
|
-
delete_after_event: ("DELETE_AFTER_COPY")?
|
|
1640
|
-
}?,
|
|
1641
|
-
recovery_point_tags: Hash[::String, ::String]?,
|
|
1642
|
-
copy_actions: Array[
|
|
1643
|
-
{
|
|
1644
|
-
lifecycle: {
|
|
1645
|
-
move_to_cold_storage_after_days: ::Integer?,
|
|
1646
|
-
delete_after_days: ::Integer?,
|
|
1647
|
-
opt_in_to_archive_for_supported_resources: bool?,
|
|
1648
|
-
delete_after_event: ("DELETE_AFTER_COPY")?
|
|
1649
|
-
}?,
|
|
1650
|
-
destination_backup_vault_arn: ::String
|
|
1651
|
-
},
|
|
1652
|
-
]?,
|
|
1653
|
-
enable_continuous_backup: bool?,
|
|
1654
|
-
schedule_expression_timezone: ::String?,
|
|
1655
|
-
index_actions: Array[
|
|
1656
|
-
{
|
|
1657
|
-
resource_types: Array[::String]?
|
|
1658
|
-
},
|
|
1659
|
-
]?,
|
|
1660
|
-
scan_actions: Array[
|
|
1661
|
-
{
|
|
1662
|
-
malware_scanner: ("GUARDDUTY")?,
|
|
1663
|
-
scan_mode: ("FULL_SCAN" | "INCREMENTAL_SCAN")?
|
|
1664
|
-
},
|
|
1665
|
-
]?
|
|
1666
|
-
},
|
|
1667
|
-
],
|
|
1668
|
-
advanced_backup_settings: Array[
|
|
1669
|
-
{
|
|
1670
|
-
resource_type: ::String?,
|
|
1671
|
-
backup_options: Hash[::String, ::String]?
|
|
1672
|
-
},
|
|
1673
|
-
]?,
|
|
1674
|
-
scan_settings: Array[
|
|
1675
|
-
{
|
|
1676
|
-
malware_scanner: ("GUARDDUTY")?,
|
|
1677
|
-
resource_types: Array[::String]?,
|
|
1678
|
-
scanner_role_arn: ::String?
|
|
1679
|
-
},
|
|
1680
|
-
]?
|
|
1681
|
-
}
|
|
1536
|
+
backup_plan: Params::backup_plan_input
|
|
1682
1537
|
) -> _UpdateBackupPlanResponseSuccess
|
|
1683
1538
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateBackupPlanResponseSuccess
|
|
1684
1539
|
|
|
@@ -1693,20 +1548,7 @@ module Aws
|
|
|
1693
1548
|
framework_name: ::String,
|
|
1694
1549
|
?framework_description: ::String,
|
|
1695
1550
|
?framework_controls: Array[
|
|
1696
|
-
|
|
1697
|
-
control_name: ::String,
|
|
1698
|
-
control_input_parameters: Array[
|
|
1699
|
-
{
|
|
1700
|
-
parameter_name: ::String?,
|
|
1701
|
-
parameter_value: ::String?
|
|
1702
|
-
},
|
|
1703
|
-
]?,
|
|
1704
|
-
control_scope: {
|
|
1705
|
-
compliance_resource_ids: Array[::String]?,
|
|
1706
|
-
compliance_resource_types: Array[::String]?,
|
|
1707
|
-
tags: Hash[::String, ::String]?
|
|
1708
|
-
}?
|
|
1709
|
-
},
|
|
1551
|
+
Params::framework_control
|
|
1710
1552
|
],
|
|
1711
1553
|
?idempotency_token: ::String
|
|
1712
1554
|
) -> _UpdateFrameworkResponseSuccess
|
|
@@ -1776,14 +1618,7 @@ module Aws
|
|
|
1776
1618
|
s3_key_prefix: ::String?,
|
|
1777
1619
|
formats: Array[::String]?
|
|
1778
1620
|
},
|
|
1779
|
-
?report_setting:
|
|
1780
|
-
report_template: ::String,
|
|
1781
|
-
framework_arns: Array[::String]?,
|
|
1782
|
-
number_of_frameworks: ::Integer?,
|
|
1783
|
-
accounts: Array[::String]?,
|
|
1784
|
-
organization_units: Array[::String]?,
|
|
1785
|
-
regions: Array[::String]?
|
|
1786
|
-
},
|
|
1621
|
+
?report_setting: Params::report_setting,
|
|
1787
1622
|
?idempotency_token: ::String
|
|
1788
1623
|
) -> _UpdateReportPlanResponseSuccess
|
|
1789
1624
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateReportPlanResponseSuccess
|
|
@@ -1827,20 +1662,7 @@ module Aws
|
|
|
1827
1662
|
restore_testing_selection: {
|
|
1828
1663
|
iam_role_arn: ::String?,
|
|
1829
1664
|
protected_resource_arns: Array[::String]?,
|
|
1830
|
-
protected_resource_conditions:
|
|
1831
|
-
string_equals: Array[
|
|
1832
|
-
{
|
|
1833
|
-
key: ::String,
|
|
1834
|
-
value: ::String
|
|
1835
|
-
},
|
|
1836
|
-
]?,
|
|
1837
|
-
string_not_equals: Array[
|
|
1838
|
-
{
|
|
1839
|
-
key: ::String,
|
|
1840
|
-
value: ::String
|
|
1841
|
-
},
|
|
1842
|
-
]?
|
|
1843
|
-
}?,
|
|
1665
|
+
protected_resource_conditions: Params::protected_resource_conditions?,
|
|
1844
1666
|
restore_metadata_overrides: Hash[::String, ::String]?,
|
|
1845
1667
|
validation_window_hours: ::Integer?
|
|
1846
1668
|
},
|
|
@@ -1864,7 +1686,7 @@ module Aws
|
|
|
1864
1686
|
resources: Array[::String],
|
|
1865
1687
|
tiering_down_settings_in_days: ::Integer,
|
|
1866
1688
|
resource_type: ::String
|
|
1867
|
-
}
|
|
1689
|
+
}
|
|
1868
1690
|
],
|
|
1869
1691
|
backup_vault_name: ::String
|
|
1870
1692
|
}
|
data/sig/params.rbs
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
|
2
|
+
#
|
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
|
5
|
+
#
|
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
|
7
|
+
|
|
8
|
+
module Aws
|
|
9
|
+
module Backup
|
|
10
|
+
module Params
|
|
11
|
+
type backup_plan_input = {
|
|
12
|
+
backup_plan_name: ::String,
|
|
13
|
+
rules: Array[
|
|
14
|
+
Params::backup_rule_input
|
|
15
|
+
],
|
|
16
|
+
advanced_backup_settings: Array[
|
|
17
|
+
{
|
|
18
|
+
resource_type: ::String?,
|
|
19
|
+
backup_options: Hash[::String, ::String]?
|
|
20
|
+
}
|
|
21
|
+
]?,
|
|
22
|
+
scan_settings: Array[
|
|
23
|
+
{
|
|
24
|
+
malware_scanner: ("GUARDDUTY")?,
|
|
25
|
+
resource_types: Array[::String]?,
|
|
26
|
+
scanner_role_arn: ::String?
|
|
27
|
+
}
|
|
28
|
+
]?
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
type backup_rule_input = {
|
|
32
|
+
rule_name: ::String,
|
|
33
|
+
target_backup_vault_name: ::String,
|
|
34
|
+
target_logically_air_gapped_backup_vault_arn: ::String?,
|
|
35
|
+
schedule_expression: ::String?,
|
|
36
|
+
start_window_minutes: ::Integer?,
|
|
37
|
+
completion_window_minutes: ::Integer?,
|
|
38
|
+
lifecycle: {
|
|
39
|
+
move_to_cold_storage_after_days: ::Integer?,
|
|
40
|
+
delete_after_days: ::Integer?,
|
|
41
|
+
opt_in_to_archive_for_supported_resources: bool?,
|
|
42
|
+
delete_after_event: ("DELETE_AFTER_COPY")?
|
|
43
|
+
}?,
|
|
44
|
+
recovery_point_tags: Hash[::String, ::String]?,
|
|
45
|
+
copy_actions: Array[
|
|
46
|
+
Params::copy_action
|
|
47
|
+
]?,
|
|
48
|
+
enable_continuous_backup: bool?,
|
|
49
|
+
schedule_expression_timezone: ::String?,
|
|
50
|
+
index_actions: Array[
|
|
51
|
+
{
|
|
52
|
+
resource_types: Array[::String]?
|
|
53
|
+
}
|
|
54
|
+
]?,
|
|
55
|
+
scan_actions: Array[
|
|
56
|
+
{
|
|
57
|
+
malware_scanner: ("GUARDDUTY")?,
|
|
58
|
+
scan_mode: ("FULL_SCAN" | "INCREMENTAL_SCAN")?
|
|
59
|
+
}
|
|
60
|
+
]?
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
type copy_action = {
|
|
64
|
+
lifecycle: {
|
|
65
|
+
move_to_cold_storage_after_days: ::Integer?,
|
|
66
|
+
delete_after_days: ::Integer?,
|
|
67
|
+
opt_in_to_archive_for_supported_resources: bool?,
|
|
68
|
+
delete_after_event: ("DELETE_AFTER_COPY")?
|
|
69
|
+
}?,
|
|
70
|
+
destination_backup_vault_arn: ::String
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
type framework_control = {
|
|
74
|
+
control_name: ::String,
|
|
75
|
+
control_input_parameters: Array[
|
|
76
|
+
{
|
|
77
|
+
parameter_name: ::String?,
|
|
78
|
+
parameter_value: ::String?
|
|
79
|
+
}
|
|
80
|
+
]?,
|
|
81
|
+
control_scope: {
|
|
82
|
+
compliance_resource_ids: Array[::String]?,
|
|
83
|
+
compliance_resource_types: Array[::String]?,
|
|
84
|
+
tags: Hash[::String, ::String]?
|
|
85
|
+
}?
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
type report_setting = {
|
|
89
|
+
report_template: ::String,
|
|
90
|
+
framework_arns: Array[::String]?,
|
|
91
|
+
number_of_frameworks: ::Integer?,
|
|
92
|
+
accounts: Array[::String]?,
|
|
93
|
+
organization_units: Array[::String]?,
|
|
94
|
+
regions: Array[::String]?
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
type protected_resource_conditions = {
|
|
98
|
+
string_equals: Array[
|
|
99
|
+
{
|
|
100
|
+
key: ::String,
|
|
101
|
+
value: ::String
|
|
102
|
+
}
|
|
103
|
+
]?,
|
|
104
|
+
string_not_equals: Array[
|
|
105
|
+
{
|
|
106
|
+
key: ::String,
|
|
107
|
+
value: ::String
|
|
108
|
+
}
|
|
109
|
+
]?
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
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.
|
|
4
|
+
version: 1.112.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -67,6 +67,7 @@ files:
|
|
|
67
67
|
- lib/aws-sdk-backup/types.rb
|
|
68
68
|
- sig/client.rbs
|
|
69
69
|
- sig/errors.rbs
|
|
70
|
+
- sig/params.rbs
|
|
70
71
|
- sig/resource.rbs
|
|
71
72
|
- sig/types.rbs
|
|
72
73
|
- sig/waiters.rbs
|