aws-sdk-backup 1.23.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: 0035143af9052545ab4ef1314b66fc4978a25d51843fe713d450341c25a85a3e
4
- data.tar.gz: 4c7cb2fc97e924869da64bb41b3ec132a8f26d23219264463b09bfc8d3250901
3
+ metadata.gz: c49724c47651670df14341db1308d9be2da207e048bccda370b416f5e4908b09
4
+ data.tar.gz: d8d67cdeed9e8836a8bfc991f6e282c7e86dbdb0c01d2fa21df0136fd178427b
5
5
  SHA512:
6
- metadata.gz: 8c805cacfea172afa0bcbd5e89b707a3ffa6cc70e0139fd339270be9d9ca3aee8dc740a555b70abb94fac9d61d45f99ffd13cd09edcc63172ceafb33359d33b7
7
- data.tar.gz: 7a7d93e2e2cdbc693b2d7c0eaa2ed9b3212d9956a62d3d53b9020d7dcb357eacb7657ffb3d445a118aa08cb183334f2924c3815c78345a36f7e28c717bceae31
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.23.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: [
@@ -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,6 +899,29 @@ module Aws::Backup
894
899
  req.send_request(options)
895
900
  end
896
901
 
902
+ # Describes the global settings of the AWS account, including whether it
903
+ # is opted in to cross-account backup.
904
+ #
905
+ # @return [Types::DescribeGlobalSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
906
+ #
907
+ # * {Types::DescribeGlobalSettingsOutput#global_settings #global_settings} => Hash&lt;String,String&gt;
908
+ # * {Types::DescribeGlobalSettingsOutput#last_update_time #last_update_time} => Time
909
+ #
910
+ # @example Response structure
911
+ #
912
+ # resp.global_settings #=> Hash
913
+ # resp.global_settings["GlobalSettingsName"] #=> String
914
+ # resp.last_update_time #=> Time
915
+ #
916
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeGlobalSettings AWS API Documentation
917
+ #
918
+ # @overload describe_global_settings(params = {})
919
+ # @param [Hash] params ({})
920
+ def describe_global_settings(params = {}, options = {})
921
+ req = build_request(:describe_global_settings, params)
922
+ req.send_request(options)
923
+ end
924
+
897
925
  # Returns information about a saved resource, including the last time it
898
926
  # was backed up, its Amazon Resource Name (ARN), and the AWS service
899
927
  # type of the saved resource.
@@ -948,6 +976,7 @@ module Aws::Backup
948
976
  # * {Types::DescribeRecoveryPointOutput#recovery_point_arn #recovery_point_arn} => String
949
977
  # * {Types::DescribeRecoveryPointOutput#backup_vault_name #backup_vault_name} => String
950
978
  # * {Types::DescribeRecoveryPointOutput#backup_vault_arn #backup_vault_arn} => String
979
+ # * {Types::DescribeRecoveryPointOutput#source_backup_vault_arn #source_backup_vault_arn} => String
951
980
  # * {Types::DescribeRecoveryPointOutput#resource_arn #resource_arn} => String
952
981
  # * {Types::DescribeRecoveryPointOutput#resource_type #resource_type} => String
953
982
  # * {Types::DescribeRecoveryPointOutput#created_by #created_by} => Types::RecoveryPointCreator
@@ -975,6 +1004,7 @@ module Aws::Backup
975
1004
  # resp.recovery_point_arn #=> String
976
1005
  # resp.backup_vault_name #=> String
977
1006
  # resp.backup_vault_arn #=> String
1007
+ # resp.source_backup_vault_arn #=> String
978
1008
  # resp.resource_arn #=> String
979
1009
  # resp.resource_type #=> String
980
1010
  # resp.created_by.backup_plan_id #=> String
@@ -1004,11 +1034,12 @@ module Aws::Backup
1004
1034
  req.send_request(options)
1005
1035
  end
1006
1036
 
1007
- # Returns the current service opt-in settings for the Region. If the
1008
- # service has a value set to `true`, AWS Backup tries to protect that
1009
- # service's resources in this Region, when included in an on-demand
1010
- # backup or scheduled backup plan. If the value is set to `false` for a
1011
- # service, AWS Backup does not try to protect that service's resources
1037
+ # Returns the current service opt-in settings for the Region. If
1038
+ # service-opt-in is enabled for a service, AWS Backup tries to protect
1039
+ # that service's resources in this Region, when the resource is
1040
+ # included in an on-demand backup or scheduled backup plan. Otherwise,
1041
+ # AWS Backup does not try to protect that service's resources in this
1042
+ # Region, AWS Backup does not try to protect that service's resources
1012
1043
  # in this Region.
1013
1044
  #
1014
1045
  # @return [Types::DescribeRegionSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -1082,6 +1113,39 @@ module Aws::Backup
1082
1113
  req.send_request(options)
1083
1114
  end
1084
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
+
1085
1149
  # Returns the backup plan that is specified by the plan ID as a backup
1086
1150
  # template.
1087
1151
  #
@@ -1111,9 +1175,9 @@ module Aws::Backup
1111
1175
  req.send_request(options)
1112
1176
  end
1113
1177
 
1114
- # Returns `BackupPlan` details for the specified `BackupPlanId`. Returns
1115
- # the body of a backup plan in JSON format, in addition to plan
1116
- # 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.
1117
1181
  #
1118
1182
  # @option params [required, String] :backup_plan_id
1119
1183
  # Uniquely identifies a backup plan.
@@ -1159,6 +1223,7 @@ module Aws::Backup
1159
1223
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.move_to_cold_storage_after_days #=> Integer
1160
1224
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
1161
1225
  # resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
1226
+ # resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
1162
1227
  # resp.backup_plan.advanced_backup_settings #=> Array
1163
1228
  # resp.backup_plan.advanced_backup_settings[0].resource_type #=> String
1164
1229
  # resp.backup_plan.advanced_backup_settings[0].backup_options #=> Hash
@@ -1217,6 +1282,7 @@ module Aws::Backup
1217
1282
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.move_to_cold_storage_after_days #=> Integer
1218
1283
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
1219
1284
  # resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
1285
+ # resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
1220
1286
  # resp.backup_plan.advanced_backup_settings #=> Array
1221
1287
  # resp.backup_plan.advanced_backup_settings[0].resource_type #=> String
1222
1288
  # resp.backup_plan.advanced_backup_settings[0].backup_options #=> Hash
@@ -1264,6 +1330,7 @@ module Aws::Backup
1264
1330
  # resp.backup_plan_document.rules[0].copy_actions[0].lifecycle.move_to_cold_storage_after_days #=> Integer
1265
1331
  # resp.backup_plan_document.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
1266
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
1267
1334
  # resp.backup_plan_document.advanced_backup_settings #=> Array
1268
1335
  # resp.backup_plan_document.advanced_backup_settings[0].resource_type #=> String
1269
1336
  # resp.backup_plan_document.advanced_backup_settings[0].backup_options #=> Hash
@@ -1464,7 +1531,13 @@ module Aws::Backup
1464
1531
  req.send_request(options)
1465
1532
  end
1466
1533
 
1467
- # 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
1468
1541
  #
1469
1542
  # @option params [String] :next_token
1470
1543
  # The next item following a partial list of returned items. For example,
@@ -1507,12 +1580,17 @@ module Aws::Backup
1507
1580
  #
1508
1581
  # * `RDS` for Amazon Relational Database Service
1509
1582
  #
1583
+ # * `Aurora` for Amazon Aurora
1584
+ #
1510
1585
  # * `Storage Gateway` for AWS Storage Gateway
1511
1586
  #
1512
1587
  # @option params [String] :by_account_id
1513
1588
  # The account ID to list the jobs from. Returns only backup jobs
1514
1589
  # associated with the specified account ID.
1515
1590
  #
1591
+ # If used from an AWS Organizations management account, passing `*`
1592
+ # returns all jobs across the organization.
1593
+ #
1516
1594
  # @return [Types::ListBackupJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1517
1595
  #
1518
1596
  # * {Types::ListBackupJobsOutput#backup_jobs #backup_jobs} => Array&lt;Types::BackupJob&gt;
@@ -1864,6 +1942,8 @@ module Aws::Backup
1864
1942
  #
1865
1943
  # * `RDS` for Amazon Relational Database Service
1866
1944
  #
1945
+ # * `Aurora` for Amazon Aurora
1946
+ #
1867
1947
  # * `Storage Gateway` for AWS Storage Gateway
1868
1948
  #
1869
1949
  # @option params [String] :by_destination_vault_arn
@@ -2035,6 +2115,7 @@ module Aws::Backup
2035
2115
  # resp.recovery_points[0].recovery_point_arn #=> String
2036
2116
  # resp.recovery_points[0].backup_vault_name #=> String
2037
2117
  # resp.recovery_points[0].backup_vault_arn #=> String
2118
+ # resp.recovery_points[0].source_backup_vault_arn #=> String
2038
2119
  # resp.recovery_points[0].resource_arn #=> String
2039
2120
  # resp.recovery_points[0].resource_type #=> String
2040
2121
  # resp.recovery_points[0].created_by.backup_plan_id #=> String
@@ -2325,12 +2406,15 @@ module Aws::Backup
2325
2406
  #
2326
2407
  # @option params [Integer] :start_window_minutes
2327
2408
  # A value in minutes after a backup is scheduled before a job will be
2328
- # 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.
2329
2411
  #
2330
2412
  # @option params [Integer] :complete_window_minutes
2331
- # A value in minutes after a backup job is successfully started before
2332
- # it must be completed or it will be canceled by AWS Backup. This value
2333
- # 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.
2334
2418
  #
2335
2419
  # @option params [Types::Lifecycle] :lifecycle
2336
2420
  # The lifecycle defines when a protected resource is transitioned to
@@ -2344,6 +2428,9 @@ module Aws::Backup
2344
2428
  # setting. The “transition to cold after days” setting cannot be changed
2345
2429
  # after a backup has been transitioned to cold.
2346
2430
  #
2431
+ # Only Amazon EFS file system backups can be transitioned to cold
2432
+ # storage.
2433
+ #
2347
2434
  # @option params [Hash<String,String>] :recovery_point_tags
2348
2435
  # To help organize your resources, you can assign your own metadata to
2349
2436
  # the resources that you create. Each tag is a key-value pair.
@@ -2352,8 +2439,10 @@ module Aws::Backup
2352
2439
  # Specifies the backup option for a selected resource. This option is
2353
2440
  # only available for Windows VSS backup jobs.
2354
2441
  #
2355
- # Valid value: `"WindowsVSS”:“enabled"`. If enabled, creates a VSS
2356
- # Windows backup; otherwise, creates a regular backup.
2442
+ # Valid values: Set to `"WindowsVSS”:“enabled"` to enable WindowsVSS
2443
+ # backup option and create a VSS Windows backup. Set to
2444
+ # “WindowsVSS”:”disabled” to create a regular backup. The WindowsVSS
2445
+ # option is not enabled by default.
2357
2446
  #
2358
2447
  # @return [Types::StartBackupJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2359
2448
  #
@@ -2399,6 +2488,8 @@ module Aws::Backup
2399
2488
 
2400
2489
  # Starts a job to create a one-time copy of the specified resource.
2401
2490
  #
2491
+ # Does not support continuous backups.
2492
+ #
2402
2493
  # @option params [required, String] :recovery_point_arn
2403
2494
  # An ARN that uniquely identifies a recovery point to use for the copy
2404
2495
  # job; for example,
@@ -2433,6 +2524,9 @@ module Aws::Backup
2433
2524
  # after days” setting. The “transition to cold after days” setting
2434
2525
  # cannot be changed after a backup has been transitioned to cold.
2435
2526
  #
2527
+ # Only Amazon EFS file system backups can be transitioned to cold
2528
+ # storage.
2529
+ #
2436
2530
  # @return [Types::StartCopyJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2437
2531
  #
2438
2532
  # * {Types::StartCopyJobOutput#copy_job_id #copy_job_id} => String
@@ -2469,10 +2563,6 @@ module Aws::Backup
2469
2563
  # Recovers the saved resource identified by an Amazon Resource Name
2470
2564
  # (ARN).
2471
2565
  #
2472
- # If the resource ARN is included in the request, then the last complete
2473
- # backup of that resource is recovered. If the ARN of a recovery point
2474
- # is supplied, then that recovery point is restored.
2475
- #
2476
2566
  # @option params [required, String] :recovery_point_arn
2477
2567
  # An ARN that uniquely identifies a recovery point; for example,
2478
2568
  # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
@@ -2500,7 +2590,9 @@ module Aws::Backup
2500
2590
  # set to `true`.
2501
2591
  #
2502
2592
  # * `KmsKeyId`\: Specifies the AWS KMS key that is used to encrypt the
2503
- # restored file system.
2593
+ # restored file system. You can specify a key from another AWS account
2594
+ # provided that key it is properly shared with your account via AWS
2595
+ # KMS.
2504
2596
  #
2505
2597
  # * `PerformanceMode`\: Specifies the throughput mode of the file
2506
2598
  # system.
@@ -2511,6 +2603,12 @@ module Aws::Backup
2511
2603
  # * `newFileSystem`\: A Boolean value that, if true, specifies that the
2512
2604
  # recovery point is restored to a new Amazon EFS file system.
2513
2605
  #
2606
+ # * `ItemsToRestore `\: An array of one to five strings where each
2607
+ # string is a file path. Use `ItemsToRestore` to restore specific
2608
+ # files or directories rather than the entire file system. This
2609
+ # parameter is optional. For example,
2610
+ # `"itemsToRestore":"["/my.test"]"`.
2611
+ #
2514
2612
  # @option params [required, String] :iam_role_arn
2515
2613
  # The Amazon Resource Name (ARN) of the IAM role that AWS Backup uses to
2516
2614
  # create the target recovery point; for example,
@@ -2534,6 +2632,8 @@ module Aws::Backup
2534
2632
  #
2535
2633
  # * `RDS` for Amazon Relational Database Service
2536
2634
  #
2635
+ # * `Aurora` for Amazon Aurora
2636
+ #
2537
2637
  # * `Storage Gateway` for AWS Storage Gateway
2538
2638
  #
2539
2639
  # @return [Types::StartRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -2695,6 +2795,7 @@ module Aws::Backup
2695
2795
  # destination_backup_vault_arn: "ARN", # required
2696
2796
  # },
2697
2797
  # ],
2798
+ # enable_continuous_backup: false,
2698
2799
  # },
2699
2800
  # ],
2700
2801
  # advanced_backup_settings: [
@@ -2728,6 +2829,31 @@ module Aws::Backup
2728
2829
  req.send_request(options)
2729
2830
  end
2730
2831
 
2832
+ # Updates the current global settings for the AWS account. Use the
2833
+ # `DescribeGlobalSettings` API to determine the current settings.
2834
+ #
2835
+ # @option params [Hash<String,String>] :global_settings
2836
+ # A list of resources along with the opt-in preferences for the account.
2837
+ #
2838
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2839
+ #
2840
+ # @example Request syntax with placeholder values
2841
+ #
2842
+ # resp = client.update_global_settings({
2843
+ # global_settings: {
2844
+ # "GlobalSettingsName" => "GlobalSettingsValue",
2845
+ # },
2846
+ # })
2847
+ #
2848
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateGlobalSettings AWS API Documentation
2849
+ #
2850
+ # @overload update_global_settings(params = {})
2851
+ # @param [Hash] params ({})
2852
+ def update_global_settings(params = {}, options = {})
2853
+ req = build_request(:update_global_settings, params)
2854
+ req.send_request(options)
2855
+ end
2856
+
2731
2857
  # Sets the transition lifecycle of a recovery point.
2732
2858
  #
2733
2859
  # The lifecycle defines when a protected resource is transitioned to
@@ -2740,6 +2866,11 @@ module Aws::Backup
2740
2866
  # setting. The “transition to cold after days” setting cannot be changed
2741
2867
  # after a backup has been transitioned to cold.
2742
2868
  #
2869
+ # Only Amazon EFS file system backups can be transitioned to cold
2870
+ # storage.
2871
+ #
2872
+ # Does not support continuous backups.
2873
+ #
2743
2874
  # @option params [required, String] :backup_vault_name
2744
2875
  # The name of a logical container where backups are stored. Backup
2745
2876
  # vaults are identified by names that are unique to the account used to
@@ -2798,12 +2929,13 @@ module Aws::Backup
2798
2929
  req.send_request(options)
2799
2930
  end
2800
2931
 
2801
- # Updates the current service opt-in settings for the Region. If the
2802
- # service has a value set to `true`, AWS Backup tries to protect that
2803
- # service's resources in this Region, when included in an on-demand
2804
- # backup or scheduled backup plan. If the value is set to `false` for a
2805
- # service, AWS Backup does not try to protect that service's resources
2806
- # in this Region.
2932
+ # Updates the current service opt-in settings for the Region. If
2933
+ # service-opt-in is enabled for a service, AWS Backup tries to protect
2934
+ # that service's resources in this Region, when the resource is
2935
+ # included in an on-demand backup or scheduled backup plan. Otherwise,
2936
+ # AWS Backup does not try to protect that service's resources in this
2937
+ # Region. Use the `DescribeRegionSettings` API to determine the resource
2938
+ # types that are supported.
2807
2939
  #
2808
2940
  # @option params [Hash<String,Boolean>] :resource_type_opt_in_preference
2809
2941
  # Updates the list of services along with the opt-in preferences for the
@@ -2841,7 +2973,7 @@ module Aws::Backup
2841
2973
  params: params,
2842
2974
  config: config)
2843
2975
  context[:gem_name] = 'aws-sdk-backup'
2844
- context[:gem_version] = '1.23.0'
2976
+ context[:gem_version] = '1.28.0'
2845
2977
  Seahorse::Client::Request.new(handlers, context)
2846
2978
  end
2847
2979