aws-sdk-backup 1.25.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39704815da4eb2102775ce38fe491663510a35309b5c0e099a71060fa6ea3fb2
4
- data.tar.gz: c623eac9a57f64cf5fbc7257a14f3b45abee0ec776b084c0e56dc9eb9fcf5a80
3
+ metadata.gz: ae10c9df0b909d3314399a7881e1ed76ca8ddd0a73c8ebecb4ad2f20ffd1e6dc
4
+ data.tar.gz: 14889b6aedcee6319e2c5ff6dc11db6d24ef0d6eb03a42e7eaf625911658ab79
5
5
  SHA512:
6
- metadata.gz: 20c9f0e9a57d4feeb1fe57dc32cbbe4c92d928f6d55f40d7a824b300043905dbd44c2050dd564f59c3e70e2331fb429bb0962ce2d5489bfbe6a572df76e8203f
7
- data.tar.gz: 9453623baf49ff92db67eee606087707e89ebdd7a25425acb2cfb471976b12bf62b1a4997bd7561d42a093f819aeb9c0a5b1915c07be823c77c9af96dbacc4cb
6
+ metadata.gz: ae2e5092f2f13e7994307be69a3c4c2a24c7ea9dd27d3e6ef15d0eef142669b2741dd33404779c7738c55e73cf94f2c72014bf45fbe9a97a2e553686045ba161
7
+ data.tar.gz: 97c51c798f79078535ae9b3ef746a711dc02e90ad3ec8cf5c198d82c1cce4a464f1642958217de83cfe2d1b3b580bc1e1ec9a3fdc0eac4322b96eb6f5ed8eb1f
data/CHANGELOG.md ADDED
@@ -0,0 +1,158 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.29.0 (2021-07-28)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.28.0 (2021-03-10)
10
+ ------------------
11
+
12
+ * Feature - Added support for enabling continuous backups.
13
+
14
+ 1.27.0 (2021-02-02)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.26.0 (2021-01-26)
20
+ ------------------
21
+
22
+ * Feature - Documentation updates for AWS Backup
23
+
24
+ 1.25.0 (2020-11-18)
25
+ ------------------
26
+
27
+ * Feature - AWS Backup now supports cross-account backup, enabling AWS customers to securely copy their backups across their AWS accounts within their AWS organizations.
28
+
29
+ 1.24.0 (2020-10-19)
30
+ ------------------
31
+
32
+ * Feature - Documentation updates for Cryo
33
+
34
+ 1.23.0 (2020-09-30)
35
+ ------------------
36
+
37
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
38
+
39
+ 1.22.0 (2020-09-23)
40
+ ------------------
41
+
42
+ * Feature - This release allows customers to enable or disable advanced backup settings in backup plan. As part of this feature AWS Backup added support for Windows VSS backup option for EC2 resources.
43
+
44
+ 1.21.0 (2020-09-15)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.20.0 (2020-08-31)
50
+ ------------------
51
+
52
+ * Feature - Documentation updates for Cryo
53
+
54
+ 1.19.0 (2020-08-25)
55
+ ------------------
56
+
57
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
58
+
59
+ 1.18.0 (2020-06-24)
60
+ ------------------
61
+
62
+ * Feature - Customers can now manage and monitor their backups in a policied manner across their AWS accounts, via an integration between AWS Backup and AWS Organizations
63
+
64
+ 1.17.0 (2020-06-23)
65
+ ------------------
66
+
67
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
68
+
69
+ 1.16.1 (2020-06-11)
70
+ ------------------
71
+
72
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
73
+
74
+ 1.16.0 (2020-06-10)
75
+ ------------------
76
+
77
+ * Issue - This version has been yanked. (#2327).
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.15.0 (2020-05-28)
81
+ ------------------
82
+
83
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
84
+
85
+ 1.14.0 (2020-05-20)
86
+ ------------------
87
+
88
+ * Feature - This release allows customers to enable or disable AWS Backup support for an AWS resource type. This release also includes new APIs, update-region-settings and describe-region-settings, which can be used to opt in to a specific resource type. For all current AWS Backup customers, the default settings enable support for EBS, EC2, StorageGateway, EFS, DDB and RDS resource types.
89
+
90
+ 1.13.0 (2020-05-07)
91
+ ------------------
92
+
93
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
94
+
95
+ 1.12.0 (2020-03-09)
96
+ ------------------
97
+
98
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
99
+
100
+ 1.11.0 (2020-01-13)
101
+ ------------------
102
+
103
+ * Feature - Cross-region backup is a new AWS Backup feature that allows enterprises to copy backups across multiple AWS services to different regions.
104
+
105
+ 1.10.0 (2019-10-23)
106
+ ------------------
107
+
108
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
109
+
110
+ 1.9.0 (2019-07-25)
111
+ ------------------
112
+
113
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
114
+
115
+ 1.8.0 (2019-07-01)
116
+ ------------------
117
+
118
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
119
+
120
+ 1.7.0 (2019-06-17)
121
+ ------------------
122
+
123
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
124
+
125
+ 1.6.0 (2019-05-21)
126
+ ------------------
127
+
128
+ * Feature - API update.
129
+
130
+ 1.5.0 (2019-05-15)
131
+ ------------------
132
+
133
+ * Feature - API update.
134
+
135
+ 1.4.0 (2019-05-14)
136
+ ------------------
137
+
138
+ * Feature - API update.
139
+
140
+ 1.3.0 (2019-03-21)
141
+ ------------------
142
+
143
+ * Feature - API update.
144
+
145
+ 1.2.0 (2019-03-18)
146
+ ------------------
147
+
148
+ * Feature - API update.
149
+
150
+ 1.1.0 (2019-03-14)
151
+ ------------------
152
+
153
+ * Feature - API update.
154
+
155
+ 1.0.0 (2019-01-16)
156
+ ------------------
157
+
158
+ * Feature - Initial release of `aws-sdk-backup`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.29.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-backup/customizations'
48
48
  # @!group service
49
49
  module Aws::Backup
50
50
 
51
- GEM_VERSION = '1.25.0'
51
+ GEM_VERSION = '1.29.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -385,6 +385,7 @@ module Aws::Backup
385
385
  # destination_backup_vault_arn: "ARN", # required
386
386
  # },
387
387
  # ],
388
+ # enable_continuous_backup: false,
388
389
  # },
389
390
  # ],
390
391
  # advanced_backup_settings: [
@@ -518,7 +519,7 @@ module Aws::Backup
518
519
  # The name of a logical container where backups are stored. Backup
519
520
  # vaults are identified by names that are unique to the account used to
520
521
  # create them and the AWS Region where they are created. They consist of
521
- # lowercase letters, numbers, and hyphens.
522
+ # letters, numbers, and hyphens.
522
523
  #
523
524
  # @option params [Hash<String,String>] :backup_vault_tags
524
525
  # Metadata that you can assign to help organize the resources that you
@@ -709,6 +710,10 @@ module Aws::Backup
709
710
 
710
711
  # Deletes the recovery point specified by a recovery point ID.
711
712
  #
713
+ # If the recovery point ID belongs to a continuous backup, calling this
714
+ # endpoint deletes the existing continuous backup and stops future
715
+ # continuous backup.
716
+ #
712
717
  # @option params [required, String] :backup_vault_name
713
718
  # The name of a logical container where backups are stored. Backup
714
719
  # vaults are identified by names that are unique to the account used to
@@ -894,7 +899,8 @@ module Aws::Backup
894
899
  req.send_request(options)
895
900
  end
896
901
 
897
- # The current feature settings for the AWS Account.
902
+ # Describes the global settings of the AWS account, including whether it
903
+ # is opted in to cross-account backup.
898
904
  #
899
905
  # @return [Types::DescribeGlobalSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
900
906
  #
@@ -1107,6 +1113,39 @@ module Aws::Backup
1107
1113
  req.send_request(options)
1108
1114
  end
1109
1115
 
1116
+ # Deletes the specified continuous backup recovery point from AWS Backup
1117
+ # and releases control of that continuous backup to the source service,
1118
+ # such as Amazon RDS. The source service will continue to create and
1119
+ # retain continuous backups using the lifecycle that you specified in
1120
+ # your original backup plan.
1121
+ #
1122
+ # Does not support snapshot backup recovery points.
1123
+ #
1124
+ # @option params [required, String] :backup_vault_name
1125
+ # The unique name of an AWS Backup vault. Required.
1126
+ #
1127
+ # @option params [required, String] :recovery_point_arn
1128
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS Backup
1129
+ # recovery point. Required.
1130
+ #
1131
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1132
+ #
1133
+ # @example Request syntax with placeholder values
1134
+ #
1135
+ # resp = client.disassociate_recovery_point({
1136
+ # backup_vault_name: "BackupVaultName", # required
1137
+ # recovery_point_arn: "ARN", # required
1138
+ # })
1139
+ #
1140
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DisassociateRecoveryPoint AWS API Documentation
1141
+ #
1142
+ # @overload disassociate_recovery_point(params = {})
1143
+ # @param [Hash] params ({})
1144
+ def disassociate_recovery_point(params = {}, options = {})
1145
+ req = build_request(:disassociate_recovery_point, params)
1146
+ req.send_request(options)
1147
+ end
1148
+
1110
1149
  # Returns the backup plan that is specified by the plan ID as a backup
1111
1150
  # template.
1112
1151
  #
@@ -1136,9 +1175,9 @@ module Aws::Backup
1136
1175
  req.send_request(options)
1137
1176
  end
1138
1177
 
1139
- # Returns `BackupPlan` details for the specified `BackupPlanId`. Returns
1140
- # the body of a backup plan in JSON format, in addition to plan
1141
- # metadata.
1178
+ # Returns `BackupPlan` details for the specified `BackupPlanId`. The
1179
+ # details are the body of a backup plan in JSON format, in addition to
1180
+ # plan metadata.
1142
1181
  #
1143
1182
  # @option params [required, String] :backup_plan_id
1144
1183
  # Uniquely identifies a backup plan.
@@ -1184,6 +1223,7 @@ module Aws::Backup
1184
1223
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.move_to_cold_storage_after_days #=> Integer
1185
1224
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
1186
1225
  # resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
1226
+ # resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
1187
1227
  # resp.backup_plan.advanced_backup_settings #=> Array
1188
1228
  # resp.backup_plan.advanced_backup_settings[0].resource_type #=> String
1189
1229
  # resp.backup_plan.advanced_backup_settings[0].backup_options #=> Hash
@@ -1242,6 +1282,7 @@ module Aws::Backup
1242
1282
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.move_to_cold_storage_after_days #=> Integer
1243
1283
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
1244
1284
  # resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
1285
+ # resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
1245
1286
  # resp.backup_plan.advanced_backup_settings #=> Array
1246
1287
  # resp.backup_plan.advanced_backup_settings[0].resource_type #=> String
1247
1288
  # resp.backup_plan.advanced_backup_settings[0].backup_options #=> Hash
@@ -1289,6 +1330,7 @@ module Aws::Backup
1289
1330
  # resp.backup_plan_document.rules[0].copy_actions[0].lifecycle.move_to_cold_storage_after_days #=> Integer
1290
1331
  # resp.backup_plan_document.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
1291
1332
  # resp.backup_plan_document.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
1333
+ # resp.backup_plan_document.rules[0].enable_continuous_backup #=> Boolean
1292
1334
  # resp.backup_plan_document.advanced_backup_settings #=> Array
1293
1335
  # resp.backup_plan_document.advanced_backup_settings[0].resource_type #=> String
1294
1336
  # resp.backup_plan_document.advanced_backup_settings[0].backup_options #=> Hash
@@ -1489,7 +1531,13 @@ module Aws::Backup
1489
1531
  req.send_request(options)
1490
1532
  end
1491
1533
 
1492
- # Returns a list of existing backup jobs for an authenticated account.
1534
+ # Returns a list of existing backup jobs for an authenticated account
1535
+ # for the last 30 days. For a longer period of time, consider using
1536
+ # these [monitoring tools][1].
1537
+ #
1538
+ #
1539
+ #
1540
+ # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/monitoring.html
1493
1541
  #
1494
1542
  # @option params [String] :next_token
1495
1543
  # The next item following a partial list of returned items. For example,
@@ -1532,12 +1580,17 @@ module Aws::Backup
1532
1580
  #
1533
1581
  # * `RDS` for Amazon Relational Database Service
1534
1582
  #
1583
+ # * `Aurora` for Amazon Aurora
1584
+ #
1535
1585
  # * `Storage Gateway` for AWS Storage Gateway
1536
1586
  #
1537
1587
  # @option params [String] :by_account_id
1538
1588
  # The account ID to list the jobs from. Returns only backup jobs
1539
1589
  # associated with the specified account ID.
1540
1590
  #
1591
+ # If used from an AWS Organizations management account, passing `*`
1592
+ # returns all jobs across the organization.
1593
+ #
1541
1594
  # @return [Types::ListBackupJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1542
1595
  #
1543
1596
  # * {Types::ListBackupJobsOutput#backup_jobs #backup_jobs} => Array&lt;Types::BackupJob&gt;
@@ -1889,6 +1942,8 @@ module Aws::Backup
1889
1942
  #
1890
1943
  # * `RDS` for Amazon Relational Database Service
1891
1944
  #
1945
+ # * `Aurora` for Amazon Aurora
1946
+ #
1892
1947
  # * `Storage Gateway` for AWS Storage Gateway
1893
1948
  #
1894
1949
  # @option params [String] :by_destination_vault_arn
@@ -2351,12 +2406,15 @@ module Aws::Backup
2351
2406
  #
2352
2407
  # @option params [Integer] :start_window_minutes
2353
2408
  # A value in minutes after a backup is scheduled before a job will be
2354
- # canceled if it doesn't start successfully. This value is optional.
2409
+ # canceled if it doesn't start successfully. This value is optional,
2410
+ # and the default is 8 hours.
2355
2411
  #
2356
2412
  # @option params [Integer] :complete_window_minutes
2357
- # A value in minutes after a backup job is successfully started before
2358
- # it must be completed or it will be canceled by AWS Backup. This value
2359
- # is optional.
2413
+ # A value in minutes during which a successfully started backup must
2414
+ # complete, or else AWS Backup will cancel the job. This value is
2415
+ # optional. This value begins counting down from when the backup was
2416
+ # scheduled. It does not add additional time for `StartWindowMinutes`,
2417
+ # or if the backup started later than scheduled.
2360
2418
  #
2361
2419
  # @option params [Types::Lifecycle] :lifecycle
2362
2420
  # The lifecycle defines when a protected resource is transitioned to
@@ -2370,6 +2428,9 @@ module Aws::Backup
2370
2428
  # setting. The “transition to cold after days” setting cannot be changed
2371
2429
  # after a backup has been transitioned to cold.
2372
2430
  #
2431
+ # Only Amazon EFS file system backups can be transitioned to cold
2432
+ # storage.
2433
+ #
2373
2434
  # @option params [Hash<String,String>] :recovery_point_tags
2374
2435
  # To help organize your resources, you can assign your own metadata to
2375
2436
  # the resources that you create. Each tag is a key-value pair.
@@ -2427,6 +2488,8 @@ module Aws::Backup
2427
2488
 
2428
2489
  # Starts a job to create a one-time copy of the specified resource.
2429
2490
  #
2491
+ # Does not support continuous backups.
2492
+ #
2430
2493
  # @option params [required, String] :recovery_point_arn
2431
2494
  # An ARN that uniquely identifies a recovery point to use for the copy
2432
2495
  # job; for example,
@@ -2461,6 +2524,9 @@ module Aws::Backup
2461
2524
  # after days” setting. The “transition to cold after days” setting
2462
2525
  # cannot be changed after a backup has been transitioned to cold.
2463
2526
  #
2527
+ # Only Amazon EFS file system backups can be transitioned to cold
2528
+ # storage.
2529
+ #
2464
2530
  # @return [Types::StartCopyJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2465
2531
  #
2466
2532
  # * {Types::StartCopyJobOutput#copy_job_id #copy_job_id} => String
@@ -2537,10 +2603,11 @@ module Aws::Backup
2537
2603
  # * `newFileSystem`\: A Boolean value that, if true, specifies that the
2538
2604
  # recovery point is restored to a new Amazon EFS file system.
2539
2605
  #
2540
- # * `ItemsToRestore `\: A serialized list of up to five strings where
2541
- # each string is a file path. Use `ItemsToRestore` to restore specific
2606
+ # * `ItemsToRestore `\: An array of one to five strings where each
2607
+ # string is a file path. Use `ItemsToRestore` to restore specific
2542
2608
  # files or directories rather than the entire file system. This
2543
- # parameter is optional.
2609
+ # parameter is optional. For example,
2610
+ # `"itemsToRestore":"["/my.test"]"`.
2544
2611
  #
2545
2612
  # @option params [required, String] :iam_role_arn
2546
2613
  # The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to
@@ -2565,6 +2632,8 @@ module Aws::Backup
2565
2632
  #
2566
2633
  # * `RDS` for Amazon Relational Database Service
2567
2634
  #
2635
+ # * `Aurora` for Amazon Aurora
2636
+ #
2568
2637
  # * `Storage Gateway` for AWS Storage Gateway
2569
2638
  #
2570
2639
  # @return [Types::StartRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -2726,6 +2795,7 @@ module Aws::Backup
2726
2795
  # destination_backup_vault_arn: "ARN", # required
2727
2796
  # },
2728
2797
  # ],
2798
+ # enable_continuous_backup: false,
2729
2799
  # },
2730
2800
  # ],
2731
2801
  # advanced_backup_settings: [
@@ -2759,7 +2829,7 @@ module Aws::Backup
2759
2829
  req.send_request(options)
2760
2830
  end
2761
2831
 
2762
- # Updates the current global settings for the AWS Account. Use the
2832
+ # Updates the current global settings for the AWS account. Use the
2763
2833
  # `DescribeGlobalSettings` API to determine the current settings.
2764
2834
  #
2765
2835
  # @option params [Hash<String,String>] :global_settings
@@ -2796,6 +2866,11 @@ module Aws::Backup
2796
2866
  # setting. The “transition to cold after days” setting cannot be changed
2797
2867
  # after a backup has been transitioned to cold.
2798
2868
  #
2869
+ # Only Amazon EFS file system backups can be transitioned to cold
2870
+ # storage.
2871
+ #
2872
+ # Does not support continuous backups.
2873
+ #
2799
2874
  # @option params [required, String] :backup_vault_name
2800
2875
  # The name of a logical container where backups are stored. Backup
2801
2876
  # vaults are identified by names that are unique to the account used to
@@ -2898,7 +2973,7 @@ module Aws::Backup
2898
2973
  params: params,
2899
2974
  config: config)
2900
2975
  context[:gem_name] = 'aws-sdk-backup'
2901
- context[:gem_version] = '1.25.0'
2976
+ context[:gem_version] = '1.29.0'
2902
2977
  Seahorse::Client::Request.new(handlers, context)
2903
2978
  end
2904
2979
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -88,6 +88,7 @@ module Aws::Backup
88
88
  DescribeRegionSettingsOutput = Shapes::StructureShape.new(name: 'DescribeRegionSettingsOutput')
89
89
  DescribeRestoreJobInput = Shapes::StructureShape.new(name: 'DescribeRestoreJobInput')
90
90
  DescribeRestoreJobOutput = Shapes::StructureShape.new(name: 'DescribeRestoreJobOutput')
91
+ DisassociateRecoveryPointInput = Shapes::StructureShape.new(name: 'DisassociateRecoveryPointInput')
91
92
  ExportBackupPlanTemplateInput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateInput')
92
93
  ExportBackupPlanTemplateOutput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateOutput')
93
94
  GetBackupPlanFromJSONInput = Shapes::StructureShape.new(name: 'GetBackupPlanFromJSONInput')
@@ -112,6 +113,7 @@ module Aws::Backup
112
113
  IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
113
114
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
114
115
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
116
+ InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
115
117
  IsEnabled = Shapes::BooleanShape.new(name: 'IsEnabled')
116
118
  Lifecycle = Shapes::StructureShape.new(name: 'Lifecycle')
117
119
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -273,6 +275,7 @@ module Aws::Backup
273
275
  BackupRule.add_member(:recovery_point_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "RecoveryPointTags"))
274
276
  BackupRule.add_member(:rule_id, Shapes::ShapeRef.new(shape: string, location_name: "RuleId"))
275
277
  BackupRule.add_member(:copy_actions, Shapes::ShapeRef.new(shape: CopyActions, location_name: "CopyActions"))
278
+ BackupRule.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
276
279
  BackupRule.struct_class = Types::BackupRule
277
280
 
278
281
  BackupRuleInput.add_member(:rule_name, Shapes::ShapeRef.new(shape: BackupRuleName, required: true, location_name: "RuleName"))
@@ -283,6 +286,7 @@ module Aws::Backup
283
286
  BackupRuleInput.add_member(:lifecycle, Shapes::ShapeRef.new(shape: Lifecycle, location_name: "Lifecycle"))
284
287
  BackupRuleInput.add_member(:recovery_point_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "RecoveryPointTags"))
285
288
  BackupRuleInput.add_member(:copy_actions, Shapes::ShapeRef.new(shape: CopyActions, location_name: "CopyActions"))
289
+ BackupRuleInput.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
286
290
  BackupRuleInput.struct_class = Types::BackupRuleInput
287
291
 
288
292
  BackupRules.member = Shapes::ShapeRef.new(shape: BackupRule)
@@ -519,6 +523,10 @@ module Aws::Backup
519
523
  DescribeRestoreJobOutput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
520
524
  DescribeRestoreJobOutput.struct_class = Types::DescribeRestoreJobOutput
521
525
 
526
+ DisassociateRecoveryPointInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
527
+ DisassociateRecoveryPointInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
528
+ DisassociateRecoveryPointInput.struct_class = Types::DisassociateRecoveryPointInput
529
+
522
530
  ExportBackupPlanTemplateInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
523
531
  ExportBackupPlanTemplateInput.struct_class = Types::ExportBackupPlanTemplateInput
524
532
 
@@ -607,6 +615,12 @@ module Aws::Backup
607
615
  InvalidRequestException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
608
616
  InvalidRequestException.struct_class = Types::InvalidRequestException
609
617
 
618
+ InvalidResourceStateException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
619
+ InvalidResourceStateException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
620
+ InvalidResourceStateException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
621
+ InvalidResourceStateException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
622
+ InvalidResourceStateException.struct_class = Types::InvalidResourceStateException
623
+
610
624
  Lifecycle.add_member(:move_to_cold_storage_after_days, Shapes::ShapeRef.new(shape: Long, location_name: "MoveToColdStorageAfterDays"))
611
625
  Lifecycle.add_member(:delete_after_days, Shapes::ShapeRef.new(shape: Long, location_name: "DeleteAfterDays"))
612
626
  Lifecycle.struct_class = Types::Lifecycle
@@ -1051,6 +1065,7 @@ module Aws::Backup
1051
1065
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1052
1066
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1053
1067
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1068
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
1054
1069
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1055
1070
  o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1056
1071
  end)
@@ -1098,6 +1113,7 @@ module Aws::Backup
1098
1113
  o.http_request_uri = "/global-settings"
1099
1114
  o.input = Shapes::ShapeRef.new(shape: DescribeGlobalSettingsInput)
1100
1115
  o.output = Shapes::ShapeRef.new(shape: DescribeGlobalSettingsOutput)
1116
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1101
1117
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1102
1118
  end)
1103
1119
 
@@ -1147,6 +1163,20 @@ module Aws::Backup
1147
1163
  o.errors << Shapes::ShapeRef.new(shape: DependencyFailureException)
1148
1164
  end)
1149
1165
 
1166
+ api.add_operation(:disassociate_recovery_point, Seahorse::Model::Operation.new.tap do |o|
1167
+ o.name = "DisassociateRecoveryPoint"
1168
+ o.http_method = "POST"
1169
+ o.http_request_uri = "/backup-vaults/{backupVaultName}/recovery-points/{recoveryPointArn}/disassociate"
1170
+ o.input = Shapes::ShapeRef.new(shape: DisassociateRecoveryPointInput)
1171
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1172
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1173
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1174
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1175
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
1176
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1177
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1178
+ end)
1179
+
1150
1180
  api.add_operation(:export_backup_plan_template, Seahorse::Model::Operation.new.tap do |o|
1151
1181
  o.name = "ExportBackupPlanTemplate"
1152
1182
  o.http_method = "GET"
@@ -1512,6 +1542,7 @@ module Aws::Backup
1512
1542
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1513
1543
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1514
1544
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1545
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1515
1546
  end)
1516
1547
 
1517
1548
  api.add_operation(:start_restore_job, Seahorse::Model::Operation.new.tap do |o|
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -31,6 +31,7 @@ module Aws::Backup
31
31
  # * {DependencyFailureException}
32
32
  # * {InvalidParameterValueException}
33
33
  # * {InvalidRequestException}
34
+ # * {InvalidResourceStateException}
34
35
  # * {LimitExceededException}
35
36
  # * {MissingParameterValueException}
36
37
  # * {ResourceNotFoundException}
@@ -172,6 +173,36 @@ module Aws::Backup
172
173
  end
173
174
  end
174
175
 
176
+ class InvalidResourceStateException < ServiceError
177
+
178
+ # @param [Seahorse::Client::RequestContext] context
179
+ # @param [String] message
180
+ # @param [Aws::Backup::Types::InvalidResourceStateException] data
181
+ def initialize(context, message, data = Aws::EmptyStructure.new)
182
+ super(context, message, data)
183
+ end
184
+
185
+ # @return [String]
186
+ def code
187
+ @code || @data[:code]
188
+ end
189
+
190
+ # @return [String]
191
+ def message
192
+ @message || @data[:message]
193
+ end
194
+
195
+ # @return [String]
196
+ def type
197
+ @data[:type]
198
+ end
199
+
200
+ # @return [String]
201
+ def context
202
+ @data[:context]
203
+ end
204
+ end
205
+
175
206
  class LimitExceededException < ServiceError
176
207
 
177
208
  # @param [Seahorse::Client::RequestContext] context
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -23,10 +23,16 @@ module Aws::Backup
23
23
  # }
24
24
  #
25
25
  # @!attribute [rw] resource_type
26
- # The type of AWS resource to be backed up. For VSS Windows backups,
27
- # the only supported resource type is Amazon EC2.
26
+ # Specifies an object containing resource type and backup options. The
27
+ # only supported resource type is Amazon EC2 instances with Windows
28
+ # VSS. For an CloudFormation example, see the [sample CloudFormation
29
+ # template to enable Windows VSS][1] in the *AWS Backup User Guide*.
28
30
  #
29
31
  # Valid values: `EC2`.
32
+ #
33
+ #
34
+ #
35
+ # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/integrate-cloudformation-with-aws-backup.html
30
36
  # @return [String]
31
37
  #
32
38
  # @!attribute [rw] backup_options
@@ -160,8 +166,11 @@ module Aws::Backup
160
166
  # @return [Integer]
161
167
  #
162
168
  # @!attribute [rw] iam_role_arn
163
- # Specifies the IAM role ARN used to create the target recovery point;
164
- # for example, `arn:aws:iam::123456789012:role/S3Access`.
169
+ # Specifies the IAM role ARN used to create the target recovery point.
170
+ # IAM roles other than the default role must include either
171
+ # `AWSBackup` or `AwsBackup` in the role name. For example,
172
+ # `arn:aws:iam::123456789012:role/AWSBackupRDSAccess`. Role names
173
+ # without those strings lack permissions to perform backup jobs.
165
174
  # @return [String]
166
175
  #
167
176
  # @!attribute [rw] created_by
@@ -304,6 +313,7 @@ module Aws::Backup
304
313
  # destination_backup_vault_arn: "ARN", # required
305
314
  # },
306
315
  # ],
316
+ # enable_continuous_backup: false,
307
317
  # },
308
318
  # ],
309
319
  # advanced_backup_settings: [
@@ -475,6 +485,9 @@ module Aws::Backup
475
485
  # must be 90 days greater than the “transition to cold after days”
476
486
  # setting. The “transition to cold after days” setting cannot be
477
487
  # changed after a backup has been transitioned to cold.
488
+ #
489
+ # Only Amazon EFS file system backups can be transitioned to cold
490
+ # storage.
478
491
  # @return [Types::Lifecycle]
479
492
  #
480
493
  # @!attribute [rw] recovery_point_tags
@@ -492,6 +505,13 @@ module Aws::Backup
492
505
  # copy operation.
493
506
  # @return [Array<Types::CopyAction>]
494
507
  #
508
+ # @!attribute [rw] enable_continuous_backup
509
+ # Specifies whether AWS Backup creates continuous backups. True causes
510
+ # AWS Backup to create continuous backups capable of point-in-time
511
+ # restore (PITR). False (or not specified) causes AWS Backup to create
512
+ # snapshot backups.
513
+ # @return [Boolean]
514
+ #
495
515
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupRule AWS API Documentation
496
516
  #
497
517
  class BackupRule < Struct.new(
@@ -503,7 +523,8 @@ module Aws::Backup
503
523
  :lifecycle,
504
524
  :recovery_point_tags,
505
525
  :rule_id,
506
- :copy_actions)
526
+ :copy_actions,
527
+ :enable_continuous_backup)
507
528
  SENSITIVE = [:recovery_point_tags]
508
529
  include Aws::Structure
509
530
  end
@@ -535,6 +556,7 @@ module Aws::Backup
535
556
  # destination_backup_vault_arn: "ARN", # required
536
557
  # },
537
558
  # ],
559
+ # enable_continuous_backup: false,
538
560
  # }
539
561
  #
540
562
  # @!attribute [rw] rule_name
@@ -574,6 +596,9 @@ module Aws::Backup
574
596
  # must be 90 days greater than the “transition to cold after days”
575
597
  # setting. The “transition to cold after days” setting cannot be
576
598
  # changed after a backup has been transitioned to cold.
599
+ #
600
+ # Only Amazon EFS file system backups can be transitioned to cold
601
+ # storage.
577
602
  # @return [Types::Lifecycle]
578
603
  #
579
604
  # @!attribute [rw] recovery_point_tags
@@ -586,6 +611,13 @@ module Aws::Backup
586
611
  # copy operation.
587
612
  # @return [Array<Types::CopyAction>]
588
613
  #
614
+ # @!attribute [rw] enable_continuous_backup
615
+ # Specifies whether AWS Backup creates continuous backups. True causes
616
+ # AWS Backup to create continuous backups capable of point-in-time
617
+ # restore (PITR). False (or not specified) causes AWS Backup to create
618
+ # snapshot backups.
619
+ # @return [Boolean]
620
+ #
589
621
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupRuleInput AWS API Documentation
590
622
  #
591
623
  class BackupRuleInput < Struct.new(
@@ -596,7 +628,8 @@ module Aws::Backup
596
628
  :completion_window_minutes,
597
629
  :lifecycle,
598
630
  :recovery_point_tags,
599
- :copy_actions)
631
+ :copy_actions,
632
+ :enable_continuous_backup)
600
633
  SENSITIVE = [:recovery_point_tags]
601
634
  include Aws::Structure
602
635
  end
@@ -637,7 +670,8 @@ module Aws::Backup
637
670
  # @!attribute [rw] list_of_tags
638
671
  # An array of conditions used to specify a set of resources to assign
639
672
  # to a backup plan; for example, `"StringEquals":
640
- # \{"ec2:ResourceTag/Department": "accounting"`.
673
+ # \{"ec2:ResourceTag/Department": "accounting"`. Assigns the backup
674
+ # plan to every resource with at least one matching tag.
641
675
  # @return [Array<Types::Condition>]
642
676
  #
643
677
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupSelection AWS API Documentation
@@ -762,6 +796,9 @@ module Aws::Backup
762
796
  # setting. The “transition to cold after days” setting cannot be changed
763
797
  # after a backup has been transitioned to cold.
764
798
  #
799
+ # Only Amazon EFS file system backups can be transitioned to cold
800
+ # storage.
801
+ #
765
802
  # @!attribute [rw] move_to_cold_storage_at
766
803
  # A timestamp that specifies when to transition a recovery point to
767
804
  # cold storage.
@@ -844,6 +881,9 @@ module Aws::Backup
844
881
  # cold after days” setting. The “transition to cold after days”
845
882
  # setting cannot be changed after a backup has been transitioned to
846
883
  # cold.
884
+ #
885
+ # Only Amazon EFS file system backups can be transitioned to cold
886
+ # storage.
847
887
  # @return [Types::Lifecycle]
848
888
  #
849
889
  # @!attribute [rw] destination_backup_vault_arn
@@ -995,6 +1035,7 @@ module Aws::Backup
995
1035
  # destination_backup_vault_arn: "ARN", # required
996
1036
  # },
997
1037
  # ],
1038
+ # enable_continuous_backup: false,
998
1039
  # },
999
1040
  # ],
1000
1041
  # advanced_backup_settings: [
@@ -1167,7 +1208,7 @@ module Aws::Backup
1167
1208
  # The name of a logical container where backups are stored. Backup
1168
1209
  # vaults are identified by names that are unique to the account used
1169
1210
  # to create them and the AWS Region where they are created. They
1170
- # consist of lowercase letters, numbers, and hyphens.
1211
+ # consist of letters, numbers, and hyphens.
1171
1212
  # @return [String]
1172
1213
  #
1173
1214
  # @!attribute [rw] backup_vault_tags
@@ -1704,7 +1745,7 @@ module Aws::Backup
1704
1745
  # @return [Hash<String,String>]
1705
1746
  #
1706
1747
  # @!attribute [rw] last_update_time
1707
- # The date and time that the global settings was last updated. This
1748
+ # The date and time that the global settings were last updated. This
1708
1749
  # update is in Unix format and Coordinated Universal Time (UTC). The
1709
1750
  # value of `LastUpdateTime` is accurate to milliseconds. For example,
1710
1751
  # the value 1516925490.087 represents Friday, January 26, 2018
@@ -1888,6 +1929,9 @@ module Aws::Backup
1888
1929
  # setting must be 90 days greater than the “transition to cold after
1889
1930
  # days” setting. The “transition to cold after days” setting cannot be
1890
1931
  # changed after a backup has been transitioned to cold.
1932
+ #
1933
+ # Only Amazon EFS file system backups can be transitioned to cold
1934
+ # storage.
1891
1935
  # @return [Types::Lifecycle]
1892
1936
  #
1893
1937
  # @!attribute [rw] encryption_key_arn
@@ -2065,6 +2109,32 @@ module Aws::Backup
2065
2109
  include Aws::Structure
2066
2110
  end
2067
2111
 
2112
+ # @note When making an API call, you may pass DisassociateRecoveryPointInput
2113
+ # data as a hash:
2114
+ #
2115
+ # {
2116
+ # backup_vault_name: "BackupVaultName", # required
2117
+ # recovery_point_arn: "ARN", # required
2118
+ # }
2119
+ #
2120
+ # @!attribute [rw] backup_vault_name
2121
+ # The unique name of an AWS Backup vault. Required.
2122
+ # @return [String]
2123
+ #
2124
+ # @!attribute [rw] recovery_point_arn
2125
+ # An Amazon Resource Name (ARN) that uniquely identifies an AWS Backup
2126
+ # recovery point. Required.
2127
+ # @return [String]
2128
+ #
2129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DisassociateRecoveryPointInput AWS API Documentation
2130
+ #
2131
+ class DisassociateRecoveryPointInput < Struct.new(
2132
+ :backup_vault_name,
2133
+ :recovery_point_arn)
2134
+ SENSITIVE = []
2135
+ include Aws::Structure
2136
+ end
2137
+
2068
2138
  # @note When making an API call, you may pass ExportBackupPlanTemplateInput
2069
2139
  # data as a hash:
2070
2140
  #
@@ -2500,6 +2570,8 @@ module Aws::Backup
2500
2570
  #
2501
2571
  # * `RDS` for Amazon Relational Database Service
2502
2572
  #
2573
+ # * `Aurora` for Amazon Aurora
2574
+ #
2503
2575
  # * `Storage Gateway` for AWS Storage Gateway
2504
2576
  # @return [Array<String>]
2505
2577
  #
@@ -2563,6 +2635,33 @@ module Aws::Backup
2563
2635
  include Aws::Structure
2564
2636
  end
2565
2637
 
2638
+ # AWS Backup is already performing an action on this recovery point. It
2639
+ # can't perform the action you requested until the first action
2640
+ # finishes. Try again later.
2641
+ #
2642
+ # @!attribute [rw] code
2643
+ # @return [String]
2644
+ #
2645
+ # @!attribute [rw] message
2646
+ # @return [String]
2647
+ #
2648
+ # @!attribute [rw] type
2649
+ # @return [String]
2650
+ #
2651
+ # @!attribute [rw] context
2652
+ # @return [String]
2653
+ #
2654
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/InvalidResourceStateException AWS API Documentation
2655
+ #
2656
+ class InvalidResourceStateException < Struct.new(
2657
+ :code,
2658
+ :message,
2659
+ :type,
2660
+ :context)
2661
+ SENSITIVE = []
2662
+ include Aws::Structure
2663
+ end
2664
+
2566
2665
  # Contains an array of `Transition` objects specifying how long in days
2567
2666
  # before a recovery point transitions to cold storage or is deleted.
2568
2667
  #
@@ -2572,6 +2671,9 @@ module Aws::Backup
2572
2671
  # after days” setting. The “transition to cold after days” setting
2573
2672
  # cannot be changed after a backup has been transitioned to cold.
2574
2673
  #
2674
+ # Only Amazon EFS file system backups can be transitioned to cold
2675
+ # storage.
2676
+ #
2575
2677
  # @note When making an API call, you may pass Lifecycle
2576
2678
  # data as a hash:
2577
2679
  #
@@ -2690,12 +2792,17 @@ module Aws::Backup
2690
2792
  #
2691
2793
  # * `RDS` for Amazon Relational Database Service
2692
2794
  #
2795
+ # * `Aurora` for Amazon Aurora
2796
+ #
2693
2797
  # * `Storage Gateway` for AWS Storage Gateway
2694
2798
  # @return [String]
2695
2799
  #
2696
2800
  # @!attribute [rw] by_account_id
2697
2801
  # The account ID to list the jobs from. Returns only backup jobs
2698
2802
  # associated with the specified account ID.
2803
+ #
2804
+ # If used from an AWS Organizations management account, passing `*`
2805
+ # returns all jobs across the organization.
2699
2806
  # @return [String]
2700
2807
  #
2701
2808
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobsInput AWS API Documentation
@@ -3057,6 +3164,8 @@ module Aws::Backup
3057
3164
  #
3058
3165
  # * `RDS` for Amazon Relational Database Service
3059
3166
  #
3167
+ # * `Aurora` for Amazon Aurora
3168
+ #
3060
3169
  # * `Storage Gateway` for AWS Storage Gateway
3061
3170
  # @return [String]
3062
3171
  #
@@ -3648,6 +3757,9 @@ module Aws::Backup
3648
3757
  # must be 90 days greater than the “transition to cold after days”
3649
3758
  # setting. The “transition to cold after days” setting cannot be
3650
3759
  # changed after a backup has been transitioned to cold.
3760
+ #
3761
+ # Only Amazon EFS file system backups can be transitioned to cold
3762
+ # storage.
3651
3763
  # @return [Types::Lifecycle]
3652
3764
  #
3653
3765
  # @!attribute [rw] encryption_key_arn
@@ -3962,13 +4074,16 @@ module Aws::Backup
3962
4074
  #
3963
4075
  # @!attribute [rw] start_window_minutes
3964
4076
  # A value in minutes after a backup is scheduled before a job will be
3965
- # canceled if it doesn't start successfully. This value is optional.
4077
+ # canceled if it doesn't start successfully. This value is optional,
4078
+ # and the default is 8 hours.
3966
4079
  # @return [Integer]
3967
4080
  #
3968
4081
  # @!attribute [rw] complete_window_minutes
3969
- # A value in minutes after a backup job is successfully started before
3970
- # it must be completed or it will be canceled by AWS Backup. This
3971
- # value is optional.
4082
+ # A value in minutes during which a successfully started backup must
4083
+ # complete, or else AWS Backup will cancel the job. This value is
4084
+ # optional. This value begins counting down from when the backup was
4085
+ # scheduled. It does not add additional time for `StartWindowMinutes`,
4086
+ # or if the backup started later than scheduled.
3972
4087
  # @return [Integer]
3973
4088
  #
3974
4089
  # @!attribute [rw] lifecycle
@@ -3982,6 +4097,9 @@ module Aws::Backup
3982
4097
  # must be 90 days greater than the “transition to cold after days”
3983
4098
  # setting. The “transition to cold after days” setting cannot be
3984
4099
  # changed after a backup has been transitioned to cold.
4100
+ #
4101
+ # Only Amazon EFS file system backups can be transitioned to cold
4102
+ # storage.
3985
4103
  # @return [Types::Lifecycle]
3986
4104
  #
3987
4105
  # @!attribute [rw] recovery_point_tags
@@ -4025,7 +4143,7 @@ module Aws::Backup
4025
4143
  # @return [String]
4026
4144
  #
4027
4145
  # @!attribute [rw] creation_date
4028
- # The date and time that a backup job is started, in Unix format and
4146
+ # The date and time that a backup job is created, in Unix format and
4029
4147
  # Coordinated Universal Time (UTC). The value of `CreationDate` is
4030
4148
  # accurate to milliseconds. For example, the value 1516925490.087
4031
4149
  # represents Friday, January 26, 2018 12:11:30.087 AM.
@@ -4096,6 +4214,9 @@ module Aws::Backup
4096
4214
  # cold after days” setting. The “transition to cold after days”
4097
4215
  # setting cannot be changed after a backup has been transitioned to
4098
4216
  # cold.
4217
+ #
4218
+ # Only Amazon EFS file system backups can be transitioned to cold
4219
+ # storage.
4099
4220
  # @return [Types::Lifecycle]
4100
4221
  #
4101
4222
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartCopyJobInput AWS API Documentation
@@ -4116,7 +4237,7 @@ module Aws::Backup
4116
4237
  # @return [String]
4117
4238
  #
4118
4239
  # @!attribute [rw] creation_date
4119
- # The date and time that a copy job is started, in Unix format and
4240
+ # The date and time that a copy job is created, in Unix format and
4120
4241
  # Coordinated Universal Time (UTC). The value of `CreationDate` is
4121
4242
  # accurate to milliseconds. For example, the value 1516925490.087
4122
4243
  # represents Friday, January 26, 2018 12:11:30.087 AM.
@@ -4185,10 +4306,11 @@ module Aws::Backup
4185
4306
  # * `newFileSystem`\: A Boolean value that, if true, specifies that
4186
4307
  # the recovery point is restored to a new Amazon EFS file system.
4187
4308
  #
4188
- # * `ItemsToRestore `\: A serialized list of up to five strings where
4189
- # each string is a file path. Use `ItemsToRestore` to restore
4190
- # specific files or directories rather than the entire file system.
4191
- # This parameter is optional.
4309
+ # * `ItemsToRestore `\: An array of one to five strings where each
4310
+ # string is a file path. Use `ItemsToRestore` to restore specific
4311
+ # files or directories rather than the entire file system. This
4312
+ # parameter is optional. For example,
4313
+ # `"itemsToRestore":"["/my.test"]"`.
4192
4314
  # @return [Hash<String,String>]
4193
4315
  #
4194
4316
  # @!attribute [rw] iam_role_arn
@@ -4216,6 +4338,8 @@ module Aws::Backup
4216
4338
  #
4217
4339
  # * `RDS` for Amazon Relational Database Service
4218
4340
  #
4341
+ # * `Aurora` for Amazon Aurora
4342
+ #
4219
4343
  # * `Storage Gateway` for AWS Storage Gateway
4220
4344
  # @return [String]
4221
4345
  #
@@ -4348,6 +4472,7 @@ module Aws::Backup
4348
4472
  # destination_backup_vault_arn: "ARN", # required
4349
4473
  # },
4350
4474
  # ],
4475
+ # enable_continuous_backup: false,
4351
4476
  # },
4352
4477
  # ],
4353
4478
  # advanced_backup_settings: [
@@ -4507,6 +4632,9 @@ module Aws::Backup
4507
4632
  # must be 90 days greater than the “transition to cold after days”
4508
4633
  # setting. The “transition to cold after days” setting cannot be
4509
4634
  # changed after a backup has been transitioned to cold.
4635
+ #
4636
+ # Only Amazon EFS file system backups can be transitioned to cold
4637
+ # storage.
4510
4638
  # @return [Types::Lifecycle]
4511
4639
  #
4512
4640
  # @!attribute [rw] calculated_lifecycle
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.25.0
4
+ version: 1.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-18 00:00:00.000000000 Z
11
+ date: 2021-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.109.0
22
+ version: 3.118.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.109.0
32
+ version: 3.118.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -47,11 +47,14 @@ dependencies:
47
47
  description: Official AWS Ruby gem for AWS Backup. This gem is part of the AWS SDK
48
48
  for Ruby.
49
49
  email:
50
- - trevrowe@amazon.com
50
+ - aws-dr-rubygems@amazon.com
51
51
  executables: []
52
52
  extensions: []
53
53
  extra_rdoc_files: []
54
54
  files:
55
+ - CHANGELOG.md
56
+ - LICENSE.txt
57
+ - VERSION
55
58
  - lib/aws-sdk-backup.rb
56
59
  - lib/aws-sdk-backup/client.rb
57
60
  - lib/aws-sdk-backup/client_api.rb
@@ -63,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
63
66
  licenses:
64
67
  - Apache-2.0
65
68
  metadata:
66
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-backup
67
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-backup/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-backup
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-backup/CHANGELOG.md
68
71
  post_install_message:
69
72
  rdoc_options: []
70
73
  require_paths:
@@ -80,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
80
83
  - !ruby/object:Gem::Version
81
84
  version: '0'
82
85
  requirements: []
83
- rubyforge_project:
84
- rubygems_version: 2.7.6.2
86
+ rubygems_version: 3.1.6
85
87
  signing_key:
86
88
  specification_version: 4
87
89
  summary: AWS SDK for Ruby - AWS Backup