aws-sdk-backup 1.27.0 → 1.28.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: 8a81883ce100b59f6c25765fac59149c642040b878702181c5f4b95ea0ccd944
4
- data.tar.gz: 5a1a4df2aed384194699c8a39caeb203c33df188c2010e92dc165a46c69cd6ef
3
+ metadata.gz: c49724c47651670df14341db1308d9be2da207e048bccda370b416f5e4908b09
4
+ data.tar.gz: d8d67cdeed9e8836a8bfc991f6e282c7e86dbdb0c01d2fa21df0136fd178427b
5
5
  SHA512:
6
- metadata.gz: d2b651bcd5eb54c3b5c941004aff67236ff8ae408d195ae3b12c86e145886c1fd4d7cdfd3af534331fd133a23ae21741725a9c56a8f0d1f087cbf7c72125f3c0
7
- data.tar.gz: 5318f53525d4b088411e3e90d8a512b8c491cbd19b13f66aad62b486a849e3b70b945e411724383d696941ab9aa2203d28561661aa9a93cde89953b25c79f1c4
6
+ metadata.gz: 250ef3754e13bb63a7071948088c2f5e1b827bc1e5b96de28b5eada122b0069d0a74976e5e6803726c1d67eeca05664ab6c267104c2294c93462d04f55d1e5b4
7
+ data.tar.gz: c62e03aa52093027951567fd7c33d6aa2471fa74370e4909bf4798313177cda85d62a65a1021a61319881444dcfab12b93cc6239fcdaa5a4c7072282cb05a9b0
data/CHANGELOG.md ADDED
@@ -0,0 +1,153 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.28.0 (2021-03-10)
5
+ ------------------
6
+
7
+ * Feature - Added support for enabling continuous backups.
8
+
9
+ 1.27.0 (2021-02-02)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.26.0 (2021-01-26)
15
+ ------------------
16
+
17
+ * Feature - Documentation updates for AWS Backup
18
+
19
+ 1.25.0 (2020-11-18)
20
+ ------------------
21
+
22
+ * Feature - AWS Backup now supports cross-account backup, enabling AWS customers to securely copy their backups across their AWS accounts within their AWS organizations.
23
+
24
+ 1.24.0 (2020-10-19)
25
+ ------------------
26
+
27
+ * Feature - Documentation updates for Cryo
28
+
29
+ 1.23.0 (2020-09-30)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.22.0 (2020-09-23)
35
+ ------------------
36
+
37
+ * 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.
38
+
39
+ 1.21.0 (2020-09-15)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.20.0 (2020-08-31)
45
+ ------------------
46
+
47
+ * Feature - Documentation updates for Cryo
48
+
49
+ 1.19.0 (2020-08-25)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.18.0 (2020-06-24)
55
+ ------------------
56
+
57
+ * 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
58
+
59
+ 1.17.0 (2020-06-23)
60
+ ------------------
61
+
62
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
63
+
64
+ 1.16.1 (2020-06-11)
65
+ ------------------
66
+
67
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
68
+
69
+ 1.16.0 (2020-06-10)
70
+ ------------------
71
+
72
+ * Issue - This version has been yanked. (#2327).
73
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
74
+
75
+ 1.15.0 (2020-05-28)
76
+ ------------------
77
+
78
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
79
+
80
+ 1.14.0 (2020-05-20)
81
+ ------------------
82
+
83
+ * 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.
84
+
85
+ 1.13.0 (2020-05-07)
86
+ ------------------
87
+
88
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
89
+
90
+ 1.12.0 (2020-03-09)
91
+ ------------------
92
+
93
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
94
+
95
+ 1.11.0 (2020-01-13)
96
+ ------------------
97
+
98
+ * Feature - Cross-region backup is a new AWS Backup feature that allows enterprises to copy backups across multiple AWS services to different regions.
99
+
100
+ 1.10.0 (2019-10-23)
101
+ ------------------
102
+
103
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
104
+
105
+ 1.9.0 (2019-07-25)
106
+ ------------------
107
+
108
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
109
+
110
+ 1.8.0 (2019-07-01)
111
+ ------------------
112
+
113
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
114
+
115
+ 1.7.0 (2019-06-17)
116
+ ------------------
117
+
118
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
119
+
120
+ 1.6.0 (2019-05-21)
121
+ ------------------
122
+
123
+ * Feature - API update.
124
+
125
+ 1.5.0 (2019-05-15)
126
+ ------------------
127
+
128
+ * Feature - API update.
129
+
130
+ 1.4.0 (2019-05-14)
131
+ ------------------
132
+
133
+ * Feature - API update.
134
+
135
+ 1.3.0 (2019-03-21)
136
+ ------------------
137
+
138
+ * Feature - API update.
139
+
140
+ 1.2.0 (2019-03-18)
141
+ ------------------
142
+
143
+ * Feature - API update.
144
+
145
+ 1.1.0 (2019-03-14)
146
+ ------------------
147
+
148
+ * Feature - API update.
149
+
150
+ 1.0.0 (2019-01-16)
151
+ ------------------
152
+
153
+ * 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.28.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.27.0'
51
+ GEM_VERSION = '1.28.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: [
@@ -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
@@ -1108,6 +1113,39 @@ module Aws::Backup
1108
1113
  req.send_request(options)
1109
1114
  end
1110
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
+
1111
1149
  # Returns the backup plan that is specified by the plan ID as a backup
1112
1150
  # template.
1113
1151
  #
@@ -1137,9 +1175,9 @@ module Aws::Backup
1137
1175
  req.send_request(options)
1138
1176
  end
1139
1177
 
1140
- # Returns `BackupPlan` details for the specified `BackupPlanId`. Returns
1141
- # the body of a backup plan in JSON format, in addition to plan
1142
- # 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.
1143
1181
  #
1144
1182
  # @option params [required, String] :backup_plan_id
1145
1183
  # Uniquely identifies a backup plan.
@@ -1185,6 +1223,7 @@ module Aws::Backup
1185
1223
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.move_to_cold_storage_after_days #=> Integer
1186
1224
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
1187
1225
  # resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
1226
+ # resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
1188
1227
  # resp.backup_plan.advanced_backup_settings #=> Array
1189
1228
  # resp.backup_plan.advanced_backup_settings[0].resource_type #=> String
1190
1229
  # resp.backup_plan.advanced_backup_settings[0].backup_options #=> Hash
@@ -1243,6 +1282,7 @@ module Aws::Backup
1243
1282
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.move_to_cold_storage_after_days #=> Integer
1244
1283
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
1245
1284
  # resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
1285
+ # resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
1246
1286
  # resp.backup_plan.advanced_backup_settings #=> Array
1247
1287
  # resp.backup_plan.advanced_backup_settings[0].resource_type #=> String
1248
1288
  # resp.backup_plan.advanced_backup_settings[0].backup_options #=> Hash
@@ -1290,6 +1330,7 @@ module Aws::Backup
1290
1330
  # resp.backup_plan_document.rules[0].copy_actions[0].lifecycle.move_to_cold_storage_after_days #=> Integer
1291
1331
  # resp.backup_plan_document.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
1292
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
1293
1334
  # resp.backup_plan_document.advanced_backup_settings #=> Array
1294
1335
  # resp.backup_plan_document.advanced_backup_settings[0].resource_type #=> String
1295
1336
  # resp.backup_plan_document.advanced_backup_settings[0].backup_options #=> Hash
@@ -1490,7 +1531,13 @@ module Aws::Backup
1490
1531
  req.send_request(options)
1491
1532
  end
1492
1533
 
1493
- # 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
1494
1541
  #
1495
1542
  # @option params [String] :next_token
1496
1543
  # The next item following a partial list of returned items. For example,
@@ -2441,6 +2488,8 @@ module Aws::Backup
2441
2488
 
2442
2489
  # Starts a job to create a one-time copy of the specified resource.
2443
2490
  #
2491
+ # Does not support continuous backups.
2492
+ #
2444
2493
  # @option params [required, String] :recovery_point_arn
2445
2494
  # An ARN that uniquely identifies a recovery point to use for the copy
2446
2495
  # job; for example,
@@ -2746,6 +2795,7 @@ module Aws::Backup
2746
2795
  # destination_backup_vault_arn: "ARN", # required
2747
2796
  # },
2748
2797
  # ],
2798
+ # enable_continuous_backup: false,
2749
2799
  # },
2750
2800
  # ],
2751
2801
  # advanced_backup_settings: [
@@ -2819,6 +2869,8 @@ module Aws::Backup
2819
2869
  # Only Amazon EFS file system backups can be transitioned to cold
2820
2870
  # storage.
2821
2871
  #
2872
+ # Does not support continuous backups.
2873
+ #
2822
2874
  # @option params [required, String] :backup_vault_name
2823
2875
  # The name of a logical container where backups are stored. Backup
2824
2876
  # vaults are identified by names that are unique to the account used to
@@ -2921,7 +2973,7 @@ module Aws::Backup
2921
2973
  params: params,
2922
2974
  config: config)
2923
2975
  context[:gem_name] = 'aws-sdk-backup'
2924
- context[:gem_version] = '1.27.0'
2976
+ context[:gem_version] = '1.28.0'
2925
2977
  Seahorse::Client::Request.new(handlers, context)
2926
2978
  end
2927
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
 
@@ -313,6 +313,7 @@ module Aws::Backup
313
313
  # destination_backup_vault_arn: "ARN", # required
314
314
  # },
315
315
  # ],
316
+ # enable_continuous_backup: false,
316
317
  # },
317
318
  # ],
318
319
  # advanced_backup_settings: [
@@ -504,6 +505,13 @@ module Aws::Backup
504
505
  # copy operation.
505
506
  # @return [Array<Types::CopyAction>]
506
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
+ #
507
515
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupRule AWS API Documentation
508
516
  #
509
517
  class BackupRule < Struct.new(
@@ -515,7 +523,8 @@ module Aws::Backup
515
523
  :lifecycle,
516
524
  :recovery_point_tags,
517
525
  :rule_id,
518
- :copy_actions)
526
+ :copy_actions,
527
+ :enable_continuous_backup)
519
528
  SENSITIVE = [:recovery_point_tags]
520
529
  include Aws::Structure
521
530
  end
@@ -547,6 +556,7 @@ module Aws::Backup
547
556
  # destination_backup_vault_arn: "ARN", # required
548
557
  # },
549
558
  # ],
559
+ # enable_continuous_backup: false,
550
560
  # }
551
561
  #
552
562
  # @!attribute [rw] rule_name
@@ -601,6 +611,13 @@ module Aws::Backup
601
611
  # copy operation.
602
612
  # @return [Array<Types::CopyAction>]
603
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
+ #
604
621
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupRuleInput AWS API Documentation
605
622
  #
606
623
  class BackupRuleInput < Struct.new(
@@ -611,7 +628,8 @@ module Aws::Backup
611
628
  :completion_window_minutes,
612
629
  :lifecycle,
613
630
  :recovery_point_tags,
614
- :copy_actions)
631
+ :copy_actions,
632
+ :enable_continuous_backup)
615
633
  SENSITIVE = [:recovery_point_tags]
616
634
  include Aws::Structure
617
635
  end
@@ -1017,6 +1035,7 @@ module Aws::Backup
1017
1035
  # destination_backup_vault_arn: "ARN", # required
1018
1036
  # },
1019
1037
  # ],
1038
+ # enable_continuous_backup: false,
1020
1039
  # },
1021
1040
  # ],
1022
1041
  # advanced_backup_settings: [
@@ -2090,6 +2109,32 @@ module Aws::Backup
2090
2109
  include Aws::Structure
2091
2110
  end
2092
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
+
2093
2138
  # @note When making an API call, you may pass ExportBackupPlanTemplateInput
2094
2139
  # data as a hash:
2095
2140
  #
@@ -2590,6 +2635,33 @@ module Aws::Backup
2590
2635
  include Aws::Structure
2591
2636
  end
2592
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
+
2593
2665
  # Contains an array of `Transition` objects specifying how long in days
2594
2666
  # before a recovery point transitions to cold storage or is deleted.
2595
2667
  #
@@ -4400,6 +4472,7 @@ module Aws::Backup
4400
4472
  # destination_backup_vault_arn: "ARN", # required
4401
4473
  # },
4402
4474
  # ],
4475
+ # enable_continuous_backup: false,
4403
4476
  # },
4404
4477
  # ],
4405
4478
  # advanced_backup_settings: [
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.27.0
4
+ version: 1.28.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: 2021-02-02 00:00:00.000000000 Z
11
+ date: 2021-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -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