aws-sdk-backup 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/aws-sdk-backup.rb +1 -1
- data/lib/aws-sdk-backup/client.rb +47 -20
- data/lib/aws-sdk-backup/resource.rb +1 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9c2621dc37ee836d01bb676a18f7fdac7542c42639da076c581449731c671607
|
4
|
+
data.tar.gz: d0f43a42fc3043f41d60b4fe308023a2973d86f44989868e2d7b2ab674991a0a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dcff27425a0e2dad9659413eb47da82f680ed062f537e49148486873af5bf7235e3f5cc83ef0b148691dc1c336b58fdb5dd38d80b33c62342884b7dc8eb8a925
|
7
|
+
data.tar.gz: f924e07500f689e020e1623e1f508428b05717d025c2afc3cd5bb06547f8f320c6b3ebacab3649ad8c81fd1e9abebe1a45cb5b88accf52ae4b11959381566dcf
|
data/lib/aws-sdk-backup.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:backup)
|
|
32
32
|
module Aws::Backup
|
33
33
|
# An API client for Backup. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::Backup::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -105,7 +105,7 @@ module Aws::Backup
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::Backup
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -229,15 +229,19 @@ module Aws::Backup
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -265,8 +269,7 @@ module Aws::Backup
|
|
265
269
|
#
|
266
270
|
# @option options [Integer] :http_read_timeout (60) The default
|
267
271
|
# number of seconds to wait for response data. This value can
|
268
|
-
# safely be set
|
269
|
-
# per-request on the session yielded by {#session_for}.
|
272
|
+
# safely be set per-request on the session.
|
270
273
|
#
|
271
274
|
# @option options [Float] :http_idle_timeout (5) The number of
|
272
275
|
# seconds a connection is allowed to sit idle before it is
|
@@ -278,7 +281,7 @@ module Aws::Backup
|
|
278
281
|
# request body. This option has no effect unless the request has
|
279
282
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
280
283
|
# disables this behaviour. This value can safely be set per
|
281
|
-
# request on the session
|
284
|
+
# request on the session.
|
282
285
|
#
|
283
286
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
284
287
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1421,6 +1424,8 @@ module Aws::Backup
|
|
1421
1424
|
# * {Types::ListBackupJobsOutput#backup_jobs #backup_jobs} => Array<Types::BackupJob>
|
1422
1425
|
# * {Types::ListBackupJobsOutput#next_token #next_token} => String
|
1423
1426
|
#
|
1427
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1428
|
+
#
|
1424
1429
|
# @example Request syntax with placeholder values
|
1425
1430
|
#
|
1426
1431
|
# resp = client.list_backup_jobs({
|
@@ -1485,6 +1490,8 @@ module Aws::Backup
|
|
1485
1490
|
# * {Types::ListBackupPlanTemplatesOutput#next_token #next_token} => String
|
1486
1491
|
# * {Types::ListBackupPlanTemplatesOutput#backup_plan_templates_list #backup_plan_templates_list} => Array<Types::BackupPlanTemplatesListMember>
|
1487
1492
|
#
|
1493
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1494
|
+
#
|
1488
1495
|
# @example Request syntax with placeholder values
|
1489
1496
|
#
|
1490
1497
|
# resp = client.list_backup_plan_templates({
|
@@ -1529,6 +1536,8 @@ module Aws::Backup
|
|
1529
1536
|
# * {Types::ListBackupPlanVersionsOutput#next_token #next_token} => String
|
1530
1537
|
# * {Types::ListBackupPlanVersionsOutput#backup_plan_versions_list #backup_plan_versions_list} => Array<Types::BackupPlansListMember>
|
1531
1538
|
#
|
1539
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1540
|
+
#
|
1532
1541
|
# @example Request syntax with placeholder values
|
1533
1542
|
#
|
1534
1543
|
# resp = client.list_backup_plan_versions({
|
@@ -1581,6 +1590,8 @@ module Aws::Backup
|
|
1581
1590
|
# * {Types::ListBackupPlansOutput#next_token #next_token} => String
|
1582
1591
|
# * {Types::ListBackupPlansOutput#backup_plans_list #backup_plans_list} => Array<Types::BackupPlansListMember>
|
1583
1592
|
#
|
1593
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1594
|
+
#
|
1584
1595
|
# @example Request syntax with placeholder values
|
1585
1596
|
#
|
1586
1597
|
# resp = client.list_backup_plans({
|
@@ -1631,6 +1642,8 @@ module Aws::Backup
|
|
1631
1642
|
# * {Types::ListBackupSelectionsOutput#next_token #next_token} => String
|
1632
1643
|
# * {Types::ListBackupSelectionsOutput#backup_selections_list #backup_selections_list} => Array<Types::BackupSelectionsListMember>
|
1633
1644
|
#
|
1645
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1646
|
+
#
|
1634
1647
|
# @example Request syntax with placeholder values
|
1635
1648
|
#
|
1636
1649
|
# resp = client.list_backup_selections({
|
@@ -1676,6 +1689,8 @@ module Aws::Backup
|
|
1676
1689
|
# * {Types::ListBackupVaultsOutput#backup_vault_list #backup_vault_list} => Array<Types::BackupVaultListMember>
|
1677
1690
|
# * {Types::ListBackupVaultsOutput#next_token #next_token} => String
|
1678
1691
|
#
|
1692
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1693
|
+
#
|
1679
1694
|
# @example Request syntax with placeholder values
|
1680
1695
|
#
|
1681
1696
|
# resp = client.list_backup_vaults({
|
@@ -1750,6 +1765,8 @@ module Aws::Backup
|
|
1750
1765
|
# * {Types::ListCopyJobsOutput#copy_jobs #copy_jobs} => Array<Types::CopyJob>
|
1751
1766
|
# * {Types::ListCopyJobsOutput#next_token #next_token} => String
|
1752
1767
|
#
|
1768
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1769
|
+
#
|
1753
1770
|
# @example Request syntax with placeholder values
|
1754
1771
|
#
|
1755
1772
|
# resp = client.list_copy_jobs({
|
@@ -1812,6 +1829,8 @@ module Aws::Backup
|
|
1812
1829
|
# * {Types::ListProtectedResourcesOutput#results #results} => Array<Types::ProtectedResource>
|
1813
1830
|
# * {Types::ListProtectedResourcesOutput#next_token #next_token} => String
|
1814
1831
|
#
|
1832
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1833
|
+
#
|
1815
1834
|
# @example Request syntax with placeholder values
|
1816
1835
|
#
|
1817
1836
|
# resp = client.list_protected_resources({
|
@@ -1877,6 +1896,8 @@ module Aws::Backup
|
|
1877
1896
|
# * {Types::ListRecoveryPointsByBackupVaultOutput#next_token #next_token} => String
|
1878
1897
|
# * {Types::ListRecoveryPointsByBackupVaultOutput#recovery_points #recovery_points} => Array<Types::RecoveryPointByBackupVault>
|
1879
1898
|
#
|
1899
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1900
|
+
#
|
1880
1901
|
# @example Request syntax with placeholder values
|
1881
1902
|
#
|
1882
1903
|
# resp = client.list_recovery_points_by_backup_vault({
|
@@ -1946,6 +1967,8 @@ module Aws::Backup
|
|
1946
1967
|
# * {Types::ListRecoveryPointsByResourceOutput#next_token #next_token} => String
|
1947
1968
|
# * {Types::ListRecoveryPointsByResourceOutput#recovery_points #recovery_points} => Array<Types::RecoveryPointByResource>
|
1948
1969
|
#
|
1970
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1971
|
+
#
|
1949
1972
|
# @example Request syntax with placeholder values
|
1950
1973
|
#
|
1951
1974
|
# resp = client.list_recovery_points_by_resource({
|
@@ -1991,6 +2014,8 @@ module Aws::Backup
|
|
1991
2014
|
# * {Types::ListRestoreJobsOutput#restore_jobs #restore_jobs} => Array<Types::RestoreJobsListMember>
|
1992
2015
|
# * {Types::ListRestoreJobsOutput#next_token #next_token} => String
|
1993
2016
|
#
|
2017
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2018
|
+
#
|
1994
2019
|
# @example Request syntax with placeholder values
|
1995
2020
|
#
|
1996
2021
|
# resp = client.list_restore_jobs({
|
@@ -2045,6 +2070,8 @@ module Aws::Backup
|
|
2045
2070
|
# * {Types::ListTagsOutput#next_token #next_token} => String
|
2046
2071
|
# * {Types::ListTagsOutput#tags #tags} => Hash<String,String>
|
2047
2072
|
#
|
2073
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2074
|
+
#
|
2048
2075
|
# @example Request syntax with placeholder values
|
2049
2076
|
#
|
2050
2077
|
# resp = client.list_tags({
|
@@ -2616,7 +2643,7 @@ module Aws::Backup
|
|
2616
2643
|
params: params,
|
2617
2644
|
config: config)
|
2618
2645
|
context[:gem_name] = 'aws-sdk-backup'
|
2619
|
-
context[:gem_version] = '1.
|
2646
|
+
context[:gem_version] = '1.13.0'
|
2620
2647
|
Seahorse::Client::Request.new(handlers, context)
|
2621
2648
|
end
|
2622
2649
|
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::Backup
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::Backup::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::Backup::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::Backup::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
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.
|
4
|
+
version: 1.13.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
|
+
date: 2020-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - AWS Backup
|