aws-sdk-backup 1.101.0 → 1.102.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +237 -1
- data/lib/aws-sdk-backup/client_api.rb +163 -0
- data/lib/aws-sdk-backup/types.rb +389 -0
- data/lib/aws-sdk-backup.rb +1 -1
- data/sig/client.rbs +78 -0
- data/sig/types.rbs +98 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0d14e71f10bf07913f1bef99000a64989c9df6c190863b936f714a6bc3ba42d1
|
|
4
|
+
data.tar.gz: 81ceca4bd9f4e186536864b1a7eaea7932397bff1d2252558e52405b976d4726
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2dbc6163d8a34fe3a96af1baa2e8b700dd7aba91b09cb883d424c5cadc502eda719a70ec856c5ab8060e3ab1168dcb82f9ce8f994b4fdd8d70a197e62f2799f8
|
|
7
|
+
data.tar.gz: 877879476db7a1389e90eae9aac3b923ae12c167b8511f2954e6848bb66ff2c1b67a6d281bb8bf79d5ca411c74972766dff965b690019aa9bedced3ecd3444c3
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.102.0
|
|
@@ -1367,6 +1367,78 @@ module Aws::Backup
|
|
|
1367
1367
|
req.send_request(options)
|
|
1368
1368
|
end
|
|
1369
1369
|
|
|
1370
|
+
# Creates a tiering configuration.
|
|
1371
|
+
#
|
|
1372
|
+
# A tiering configuration enables automatic movement of backup data to a
|
|
1373
|
+
# lower-cost storage tier based on the age of backed-up objects in the
|
|
1374
|
+
# backup vault.
|
|
1375
|
+
#
|
|
1376
|
+
# Each vault can only have one vault-specific tiering configuration, in
|
|
1377
|
+
# addition to any global configuration that applies to all vaults.
|
|
1378
|
+
#
|
|
1379
|
+
# @option params [required, Types::TieringConfigurationInputForCreate] :tiering_configuration
|
|
1380
|
+
# A tiering configuration must contain a unique
|
|
1381
|
+
# `TieringConfigurationName` string you create and must contain a
|
|
1382
|
+
# `BackupVaultName` and `ResourceSelection`. You may optionally include
|
|
1383
|
+
# a `CreatorRequestId` string.
|
|
1384
|
+
#
|
|
1385
|
+
# The `TieringConfigurationName` is a unique string that is the name of
|
|
1386
|
+
# the tiering configuration. This cannot be changed after creation, and
|
|
1387
|
+
# it must consist of only alphanumeric characters and underscores.
|
|
1388
|
+
#
|
|
1389
|
+
# @option params [Hash<String,String>] :tiering_configuration_tags
|
|
1390
|
+
# The tags to assign to the tiering configuration.
|
|
1391
|
+
#
|
|
1392
|
+
# @option params [String] :creator_request_id
|
|
1393
|
+
# This is a unique string that identifies the request and allows failed
|
|
1394
|
+
# requests to be retried without the risk of running the operation
|
|
1395
|
+
# twice. This parameter is optional. If used, this parameter must
|
|
1396
|
+
# contain 1 to 50 alphanumeric or '-\_.' characters.
|
|
1397
|
+
#
|
|
1398
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
1399
|
+
# not need to pass this option.**
|
|
1400
|
+
#
|
|
1401
|
+
# @return [Types::CreateTieringConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1402
|
+
#
|
|
1403
|
+
# * {Types::CreateTieringConfigurationOutput#tiering_configuration_arn #tiering_configuration_arn} => String
|
|
1404
|
+
# * {Types::CreateTieringConfigurationOutput#tiering_configuration_name #tiering_configuration_name} => String
|
|
1405
|
+
# * {Types::CreateTieringConfigurationOutput#creation_time #creation_time} => Time
|
|
1406
|
+
#
|
|
1407
|
+
# @example Request syntax with placeholder values
|
|
1408
|
+
#
|
|
1409
|
+
# resp = client.create_tiering_configuration({
|
|
1410
|
+
# tiering_configuration: { # required
|
|
1411
|
+
# tiering_configuration_name: "TieringConfigurationName", # required
|
|
1412
|
+
# backup_vault_name: "BackupVaultNameOrWildcard", # required
|
|
1413
|
+
# resource_selection: [ # required
|
|
1414
|
+
# {
|
|
1415
|
+
# resources: ["ARN"], # required
|
|
1416
|
+
# tiering_down_settings_in_days: 1, # required
|
|
1417
|
+
# resource_type: "ResourceType", # required
|
|
1418
|
+
# },
|
|
1419
|
+
# ],
|
|
1420
|
+
# },
|
|
1421
|
+
# tiering_configuration_tags: {
|
|
1422
|
+
# "TagKey" => "TagValue",
|
|
1423
|
+
# },
|
|
1424
|
+
# creator_request_id: "CreatorRequestId",
|
|
1425
|
+
# })
|
|
1426
|
+
#
|
|
1427
|
+
# @example Response structure
|
|
1428
|
+
#
|
|
1429
|
+
# resp.tiering_configuration_arn #=> String
|
|
1430
|
+
# resp.tiering_configuration_name #=> String
|
|
1431
|
+
# resp.creation_time #=> Time
|
|
1432
|
+
#
|
|
1433
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateTieringConfiguration AWS API Documentation
|
|
1434
|
+
#
|
|
1435
|
+
# @overload create_tiering_configuration(params = {})
|
|
1436
|
+
# @param [Hash] params ({})
|
|
1437
|
+
def create_tiering_configuration(params = {}, options = {})
|
|
1438
|
+
req = build_request(:create_tiering_configuration, params)
|
|
1439
|
+
req.send_request(options)
|
|
1440
|
+
end
|
|
1441
|
+
|
|
1370
1442
|
# Deletes a backup plan. A backup plan can only be deleted after all
|
|
1371
1443
|
# associated selections of resources have been deleted. Deleting a
|
|
1372
1444
|
# backup plan deletes the current version of a backup plan. Previous
|
|
@@ -1691,6 +1763,29 @@ module Aws::Backup
|
|
|
1691
1763
|
req.send_request(options)
|
|
1692
1764
|
end
|
|
1693
1765
|
|
|
1766
|
+
# Deletes the tiering configuration specified by a tiering configuration
|
|
1767
|
+
# name.
|
|
1768
|
+
#
|
|
1769
|
+
# @option params [required, String] :tiering_configuration_name
|
|
1770
|
+
# The unique name of a tiering configuration.
|
|
1771
|
+
#
|
|
1772
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
|
1773
|
+
#
|
|
1774
|
+
# @example Request syntax with placeholder values
|
|
1775
|
+
#
|
|
1776
|
+
# resp = client.delete_tiering_configuration({
|
|
1777
|
+
# tiering_configuration_name: "TieringConfigurationName", # required
|
|
1778
|
+
# })
|
|
1779
|
+
#
|
|
1780
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteTieringConfiguration AWS API Documentation
|
|
1781
|
+
#
|
|
1782
|
+
# @overload delete_tiering_configuration(params = {})
|
|
1783
|
+
# @param [Hash] params ({})
|
|
1784
|
+
def delete_tiering_configuration(params = {}, options = {})
|
|
1785
|
+
req = build_request(:delete_tiering_configuration, params)
|
|
1786
|
+
req.send_request(options)
|
|
1787
|
+
end
|
|
1788
|
+
|
|
1694
1789
|
# Returns backup job details for the specified `BackupJobId`.
|
|
1695
1790
|
#
|
|
1696
1791
|
# @option params [required, String] :backup_job_id
|
|
@@ -3159,6 +3254,46 @@ module Aws::Backup
|
|
|
3159
3254
|
req.send_request(options)
|
|
3160
3255
|
end
|
|
3161
3256
|
|
|
3257
|
+
# Returns `TieringConfiguration` details for the specified
|
|
3258
|
+
# `TieringConfigurationName`. The details are the body of a tiering
|
|
3259
|
+
# configuration in JSON format, in addition to configuration metadata.
|
|
3260
|
+
#
|
|
3261
|
+
# @option params [required, String] :tiering_configuration_name
|
|
3262
|
+
# The unique name of a tiering configuration.
|
|
3263
|
+
#
|
|
3264
|
+
# @return [Types::GetTieringConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3265
|
+
#
|
|
3266
|
+
# * {Types::GetTieringConfigurationOutput#tiering_configuration #tiering_configuration} => Types::TieringConfiguration
|
|
3267
|
+
#
|
|
3268
|
+
# @example Request syntax with placeholder values
|
|
3269
|
+
#
|
|
3270
|
+
# resp = client.get_tiering_configuration({
|
|
3271
|
+
# tiering_configuration_name: "TieringConfigurationName", # required
|
|
3272
|
+
# })
|
|
3273
|
+
#
|
|
3274
|
+
# @example Response structure
|
|
3275
|
+
#
|
|
3276
|
+
# resp.tiering_configuration.tiering_configuration_name #=> String
|
|
3277
|
+
# resp.tiering_configuration.tiering_configuration_arn #=> String
|
|
3278
|
+
# resp.tiering_configuration.backup_vault_name #=> String
|
|
3279
|
+
# resp.tiering_configuration.resource_selection #=> Array
|
|
3280
|
+
# resp.tiering_configuration.resource_selection[0].resources #=> Array
|
|
3281
|
+
# resp.tiering_configuration.resource_selection[0].resources[0] #=> String
|
|
3282
|
+
# resp.tiering_configuration.resource_selection[0].tiering_down_settings_in_days #=> Integer
|
|
3283
|
+
# resp.tiering_configuration.resource_selection[0].resource_type #=> String
|
|
3284
|
+
# resp.tiering_configuration.creator_request_id #=> String
|
|
3285
|
+
# resp.tiering_configuration.creation_time #=> Time
|
|
3286
|
+
# resp.tiering_configuration.last_updated_time #=> Time
|
|
3287
|
+
#
|
|
3288
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetTieringConfiguration AWS API Documentation
|
|
3289
|
+
#
|
|
3290
|
+
# @overload get_tiering_configuration(params = {})
|
|
3291
|
+
# @param [Hash] params ({})
|
|
3292
|
+
def get_tiering_configuration(params = {}, options = {})
|
|
3293
|
+
req = build_request(:get_tiering_configuration, params)
|
|
3294
|
+
req.send_request(options)
|
|
3295
|
+
end
|
|
3296
|
+
|
|
3162
3297
|
# This is a request for a summary of backup jobs created or running
|
|
3163
3298
|
# within the most recent 30 days. You can include parameters AccountID,
|
|
3164
3299
|
# State, ResourceType, MessageCategory, AggregationPeriod, MaxResults,
|
|
@@ -5314,6 +5449,50 @@ module Aws::Backup
|
|
|
5314
5449
|
req.send_request(options)
|
|
5315
5450
|
end
|
|
5316
5451
|
|
|
5452
|
+
# Returns a list of tiering configurations.
|
|
5453
|
+
#
|
|
5454
|
+
# @option params [Integer] :max_results
|
|
5455
|
+
# The maximum number of items to be returned.
|
|
5456
|
+
#
|
|
5457
|
+
# @option params [String] :next_token
|
|
5458
|
+
# The next item following a partial list of returned items. For example,
|
|
5459
|
+
# if a request is made to return `MaxResults` number of items,
|
|
5460
|
+
# `NextToken` allows you to return more items in your list starting at
|
|
5461
|
+
# the location pointed to by the next token.
|
|
5462
|
+
#
|
|
5463
|
+
# @return [Types::ListTieringConfigurationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5464
|
+
#
|
|
5465
|
+
# * {Types::ListTieringConfigurationsOutput#tiering_configurations #tiering_configurations} => Array<Types::TieringConfigurationsListMember>
|
|
5466
|
+
# * {Types::ListTieringConfigurationsOutput#next_token #next_token} => String
|
|
5467
|
+
#
|
|
5468
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
|
5469
|
+
#
|
|
5470
|
+
# @example Request syntax with placeholder values
|
|
5471
|
+
#
|
|
5472
|
+
# resp = client.list_tiering_configurations({
|
|
5473
|
+
# max_results: 1,
|
|
5474
|
+
# next_token: "string",
|
|
5475
|
+
# })
|
|
5476
|
+
#
|
|
5477
|
+
# @example Response structure
|
|
5478
|
+
#
|
|
5479
|
+
# resp.tiering_configurations #=> Array
|
|
5480
|
+
# resp.tiering_configurations[0].tiering_configuration_arn #=> String
|
|
5481
|
+
# resp.tiering_configurations[0].tiering_configuration_name #=> String
|
|
5482
|
+
# resp.tiering_configurations[0].backup_vault_name #=> String
|
|
5483
|
+
# resp.tiering_configurations[0].creation_time #=> Time
|
|
5484
|
+
# resp.tiering_configurations[0].last_updated_time #=> Time
|
|
5485
|
+
# resp.next_token #=> String
|
|
5486
|
+
#
|
|
5487
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListTieringConfigurations AWS API Documentation
|
|
5488
|
+
#
|
|
5489
|
+
# @overload list_tiering_configurations(params = {})
|
|
5490
|
+
# @param [Hash] params ({})
|
|
5491
|
+
def list_tiering_configurations(params = {}, options = {})
|
|
5492
|
+
req = build_request(:list_tiering_configurations, params)
|
|
5493
|
+
req.send_request(options)
|
|
5494
|
+
end
|
|
5495
|
+
|
|
5317
5496
|
# Sets a resource-based policy that is used to manage access permissions
|
|
5318
5497
|
# on the target backup vault. Requires a backup vault name and an access
|
|
5319
5498
|
# policy document in JSON format.
|
|
@@ -6737,6 +6916,63 @@ module Aws::Backup
|
|
|
6737
6916
|
req.send_request(options)
|
|
6738
6917
|
end
|
|
6739
6918
|
|
|
6919
|
+
# This request will send changes to your specified tiering
|
|
6920
|
+
# configuration. `TieringConfigurationName` cannot be updated after it
|
|
6921
|
+
# is created.
|
|
6922
|
+
#
|
|
6923
|
+
# `ResourceSelection` can contain:
|
|
6924
|
+
#
|
|
6925
|
+
# * `Resources`
|
|
6926
|
+
#
|
|
6927
|
+
# * `TieringDownSettingsInDays`
|
|
6928
|
+
#
|
|
6929
|
+
# * `ResourceType`
|
|
6930
|
+
#
|
|
6931
|
+
# @option params [required, String] :tiering_configuration_name
|
|
6932
|
+
# The name of a tiering configuration to update.
|
|
6933
|
+
#
|
|
6934
|
+
# @option params [required, Types::TieringConfigurationInputForUpdate] :tiering_configuration
|
|
6935
|
+
# Specifies the body of a tiering configuration.
|
|
6936
|
+
#
|
|
6937
|
+
# @return [Types::UpdateTieringConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6938
|
+
#
|
|
6939
|
+
# * {Types::UpdateTieringConfigurationOutput#tiering_configuration_arn #tiering_configuration_arn} => String
|
|
6940
|
+
# * {Types::UpdateTieringConfigurationOutput#tiering_configuration_name #tiering_configuration_name} => String
|
|
6941
|
+
# * {Types::UpdateTieringConfigurationOutput#creation_time #creation_time} => Time
|
|
6942
|
+
# * {Types::UpdateTieringConfigurationOutput#last_updated_time #last_updated_time} => Time
|
|
6943
|
+
#
|
|
6944
|
+
# @example Request syntax with placeholder values
|
|
6945
|
+
#
|
|
6946
|
+
# resp = client.update_tiering_configuration({
|
|
6947
|
+
# tiering_configuration_name: "TieringConfigurationName", # required
|
|
6948
|
+
# tiering_configuration: { # required
|
|
6949
|
+
# resource_selection: [ # required
|
|
6950
|
+
# {
|
|
6951
|
+
# resources: ["ARN"], # required
|
|
6952
|
+
# tiering_down_settings_in_days: 1, # required
|
|
6953
|
+
# resource_type: "ResourceType", # required
|
|
6954
|
+
# },
|
|
6955
|
+
# ],
|
|
6956
|
+
# backup_vault_name: "BackupVaultNameOrWildcard", # required
|
|
6957
|
+
# },
|
|
6958
|
+
# })
|
|
6959
|
+
#
|
|
6960
|
+
# @example Response structure
|
|
6961
|
+
#
|
|
6962
|
+
# resp.tiering_configuration_arn #=> String
|
|
6963
|
+
# resp.tiering_configuration_name #=> String
|
|
6964
|
+
# resp.creation_time #=> Time
|
|
6965
|
+
# resp.last_updated_time #=> Time
|
|
6966
|
+
#
|
|
6967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateTieringConfiguration AWS API Documentation
|
|
6968
|
+
#
|
|
6969
|
+
# @overload update_tiering_configuration(params = {})
|
|
6970
|
+
# @param [Hash] params ({})
|
|
6971
|
+
def update_tiering_configuration(params = {}, options = {})
|
|
6972
|
+
req = build_request(:update_tiering_configuration, params)
|
|
6973
|
+
req.send_request(options)
|
|
6974
|
+
end
|
|
6975
|
+
|
|
6740
6976
|
# @!endgroup
|
|
6741
6977
|
|
|
6742
6978
|
# @param params ({})
|
|
@@ -6755,7 +6991,7 @@ module Aws::Backup
|
|
|
6755
6991
|
tracer: tracer
|
|
6756
6992
|
)
|
|
6757
6993
|
context[:gem_name] = 'aws-sdk-backup'
|
|
6758
|
-
context[:gem_version] = '1.
|
|
6994
|
+
context[:gem_version] = '1.102.0'
|
|
6759
6995
|
Seahorse::Client::Request.new(handlers, context)
|
|
6760
6996
|
end
|
|
6761
6997
|
|
|
@@ -53,6 +53,7 @@ module Aws::Backup
|
|
|
53
53
|
BackupVaultList = Shapes::ListShape.new(name: 'BackupVaultList')
|
|
54
54
|
BackupVaultListMember = Shapes::StructureShape.new(name: 'BackupVaultListMember')
|
|
55
55
|
BackupVaultName = Shapes::StringShape.new(name: 'BackupVaultName')
|
|
56
|
+
BackupVaultNameOrWildcard = Shapes::StringShape.new(name: 'BackupVaultNameOrWildcard')
|
|
56
57
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
57
58
|
CalculatedLifecycle = Shapes::StructureShape.new(name: 'CalculatedLifecycle')
|
|
58
59
|
CancelLegalHoldInput = Shapes::StructureShape.new(name: 'CancelLegalHoldInput')
|
|
@@ -99,6 +100,9 @@ module Aws::Backup
|
|
|
99
100
|
CreateRestoreTestingPlanOutput = Shapes::StructureShape.new(name: 'CreateRestoreTestingPlanOutput')
|
|
100
101
|
CreateRestoreTestingSelectionInput = Shapes::StructureShape.new(name: 'CreateRestoreTestingSelectionInput')
|
|
101
102
|
CreateRestoreTestingSelectionOutput = Shapes::StructureShape.new(name: 'CreateRestoreTestingSelectionOutput')
|
|
103
|
+
CreateTieringConfigurationInput = Shapes::StructureShape.new(name: 'CreateTieringConfigurationInput')
|
|
104
|
+
CreateTieringConfigurationOutput = Shapes::StructureShape.new(name: 'CreateTieringConfigurationOutput')
|
|
105
|
+
CreatorRequestId = Shapes::StringShape.new(name: 'CreatorRequestId')
|
|
102
106
|
CronExpression = Shapes::StringShape.new(name: 'CronExpression')
|
|
103
107
|
DateRange = Shapes::StructureShape.new(name: 'DateRange')
|
|
104
108
|
DeleteBackupPlanInput = Shapes::StructureShape.new(name: 'DeleteBackupPlanInput')
|
|
@@ -113,6 +117,8 @@ module Aws::Backup
|
|
|
113
117
|
DeleteReportPlanInput = Shapes::StructureShape.new(name: 'DeleteReportPlanInput')
|
|
114
118
|
DeleteRestoreTestingPlanInput = Shapes::StructureShape.new(name: 'DeleteRestoreTestingPlanInput')
|
|
115
119
|
DeleteRestoreTestingSelectionInput = Shapes::StructureShape.new(name: 'DeleteRestoreTestingSelectionInput')
|
|
120
|
+
DeleteTieringConfigurationInput = Shapes::StructureShape.new(name: 'DeleteTieringConfigurationInput')
|
|
121
|
+
DeleteTieringConfigurationOutput = Shapes::StructureShape.new(name: 'DeleteTieringConfigurationOutput')
|
|
116
122
|
DependencyFailureException = Shapes::StructureShape.new(name: 'DependencyFailureException')
|
|
117
123
|
DescribeBackupJobInput = Shapes::StructureShape.new(name: 'DescribeBackupJobInput')
|
|
118
124
|
DescribeBackupJobOutput = Shapes::StructureShape.new(name: 'DescribeBackupJobOutput')
|
|
@@ -176,6 +182,8 @@ module Aws::Backup
|
|
|
176
182
|
GetRestoreTestingSelectionInput = Shapes::StructureShape.new(name: 'GetRestoreTestingSelectionInput')
|
|
177
183
|
GetRestoreTestingSelectionOutput = Shapes::StructureShape.new(name: 'GetRestoreTestingSelectionOutput')
|
|
178
184
|
GetSupportedResourceTypesOutput = Shapes::StructureShape.new(name: 'GetSupportedResourceTypesOutput')
|
|
185
|
+
GetTieringConfigurationInput = Shapes::StructureShape.new(name: 'GetTieringConfigurationInput')
|
|
186
|
+
GetTieringConfigurationOutput = Shapes::StructureShape.new(name: 'GetTieringConfigurationOutput')
|
|
179
187
|
GlobalSettings = Shapes::MapShape.new(name: 'GlobalSettings')
|
|
180
188
|
GlobalSettingsName = Shapes::StringShape.new(name: 'GlobalSettingsName')
|
|
181
189
|
GlobalSettingsValue = Shapes::StringShape.new(name: 'GlobalSettingsValue')
|
|
@@ -256,6 +264,8 @@ module Aws::Backup
|
|
|
256
264
|
ListRestoreTestingSelectionsOutput = Shapes::StructureShape.new(name: 'ListRestoreTestingSelectionsOutput')
|
|
257
265
|
ListTagsInput = Shapes::StructureShape.new(name: 'ListTagsInput')
|
|
258
266
|
ListTagsOutput = Shapes::StructureShape.new(name: 'ListTagsOutput')
|
|
267
|
+
ListTieringConfigurationsInput = Shapes::StructureShape.new(name: 'ListTieringConfigurationsInput')
|
|
268
|
+
ListTieringConfigurationsOutput = Shapes::StructureShape.new(name: 'ListTieringConfigurationsOutput')
|
|
259
269
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
|
260
270
|
MaxFrameworkInputs = Shapes::IntegerShape.new(name: 'MaxFrameworkInputs')
|
|
261
271
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
|
@@ -300,6 +310,8 @@ module Aws::Backup
|
|
|
300
310
|
ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
|
|
301
311
|
ResourceIdentifiers = Shapes::ListShape.new(name: 'ResourceIdentifiers')
|
|
302
312
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
313
|
+
ResourceSelection = Shapes::StructureShape.new(name: 'ResourceSelection')
|
|
314
|
+
ResourceSelections = Shapes::ListShape.new(name: 'ResourceSelections')
|
|
303
315
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
|
304
316
|
ResourceTypeList = Shapes::ListShape.new(name: 'ResourceTypeList')
|
|
305
317
|
ResourceTypeManagementPreference = Shapes::MapShape.new(name: 'ResourceTypeManagementPreference')
|
|
@@ -353,6 +365,13 @@ module Aws::Backup
|
|
|
353
365
|
TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
|
|
354
366
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
|
355
367
|
Tags = Shapes::MapShape.new(name: 'Tags')
|
|
368
|
+
TieringConfiguration = Shapes::StructureShape.new(name: 'TieringConfiguration')
|
|
369
|
+
TieringConfigurationInputForCreate = Shapes::StructureShape.new(name: 'TieringConfigurationInputForCreate')
|
|
370
|
+
TieringConfigurationInputForUpdate = Shapes::StructureShape.new(name: 'TieringConfigurationInputForUpdate')
|
|
371
|
+
TieringConfigurationName = Shapes::StringShape.new(name: 'TieringConfigurationName')
|
|
372
|
+
TieringConfigurationsList = Shapes::ListShape.new(name: 'TieringConfigurationsList')
|
|
373
|
+
TieringConfigurationsListMember = Shapes::StructureShape.new(name: 'TieringConfigurationsListMember')
|
|
374
|
+
TieringDownSettingsInDays = Shapes::IntegerShape.new(name: 'TieringDownSettingsInDays')
|
|
356
375
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
357
376
|
Timezone = Shapes::StringShape.new(name: 'Timezone')
|
|
358
377
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
|
@@ -372,6 +391,8 @@ module Aws::Backup
|
|
|
372
391
|
UpdateRestoreTestingPlanOutput = Shapes::StructureShape.new(name: 'UpdateRestoreTestingPlanOutput')
|
|
373
392
|
UpdateRestoreTestingSelectionInput = Shapes::StructureShape.new(name: 'UpdateRestoreTestingSelectionInput')
|
|
374
393
|
UpdateRestoreTestingSelectionOutput = Shapes::StructureShape.new(name: 'UpdateRestoreTestingSelectionOutput')
|
|
394
|
+
UpdateTieringConfigurationInput = Shapes::StructureShape.new(name: 'UpdateTieringConfigurationInput')
|
|
395
|
+
UpdateTieringConfigurationOutput = Shapes::StructureShape.new(name: 'UpdateTieringConfigurationOutput')
|
|
375
396
|
VaultNames = Shapes::ListShape.new(name: 'VaultNames')
|
|
376
397
|
VaultState = Shapes::StringShape.new(name: 'VaultState')
|
|
377
398
|
VaultType = Shapes::StringShape.new(name: 'VaultType')
|
|
@@ -776,6 +797,16 @@ module Aws::Backup
|
|
|
776
797
|
CreateRestoreTestingSelectionOutput.add_member(:restore_testing_selection_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RestoreTestingSelectionName"))
|
|
777
798
|
CreateRestoreTestingSelectionOutput.struct_class = Types::CreateRestoreTestingSelectionOutput
|
|
778
799
|
|
|
800
|
+
CreateTieringConfigurationInput.add_member(:tiering_configuration, Shapes::ShapeRef.new(shape: TieringConfigurationInputForCreate, required: true, location_name: "TieringConfiguration"))
|
|
801
|
+
CreateTieringConfigurationInput.add_member(:tiering_configuration_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "TieringConfigurationTags"))
|
|
802
|
+
CreateTieringConfigurationInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: CreatorRequestId, location_name: "CreatorRequestId", metadata: {"idempotencyToken" => true}))
|
|
803
|
+
CreateTieringConfigurationInput.struct_class = Types::CreateTieringConfigurationInput
|
|
804
|
+
|
|
805
|
+
CreateTieringConfigurationOutput.add_member(:tiering_configuration_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "TieringConfigurationArn"))
|
|
806
|
+
CreateTieringConfigurationOutput.add_member(:tiering_configuration_name, Shapes::ShapeRef.new(shape: string, location_name: "TieringConfigurationName"))
|
|
807
|
+
CreateTieringConfigurationOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
|
808
|
+
CreateTieringConfigurationOutput.struct_class = Types::CreateTieringConfigurationOutput
|
|
809
|
+
|
|
779
810
|
DateRange.add_member(:from_date, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "FromDate"))
|
|
780
811
|
DateRange.add_member(:to_date, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "ToDate"))
|
|
781
812
|
DateRange.struct_class = Types::DateRange
|
|
@@ -822,6 +853,11 @@ module Aws::Backup
|
|
|
822
853
|
DeleteRestoreTestingSelectionInput.add_member(:restore_testing_selection_name, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "RestoreTestingSelectionName"))
|
|
823
854
|
DeleteRestoreTestingSelectionInput.struct_class = Types::DeleteRestoreTestingSelectionInput
|
|
824
855
|
|
|
856
|
+
DeleteTieringConfigurationInput.add_member(:tiering_configuration_name, Shapes::ShapeRef.new(shape: TieringConfigurationName, required: true, location: "uri", location_name: "tieringConfigurationName"))
|
|
857
|
+
DeleteTieringConfigurationInput.struct_class = Types::DeleteTieringConfigurationInput
|
|
858
|
+
|
|
859
|
+
DeleteTieringConfigurationOutput.struct_class = Types::DeleteTieringConfigurationOutput
|
|
860
|
+
|
|
825
861
|
DependencyFailureException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
|
|
826
862
|
DependencyFailureException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
|
827
863
|
DependencyFailureException.add_member(:type, Shapes::ShapeRef.new(shape: string, location_name: "Type"))
|
|
@@ -1174,6 +1210,12 @@ module Aws::Backup
|
|
|
1174
1210
|
GetSupportedResourceTypesOutput.add_member(:resource_types, Shapes::ShapeRef.new(shape: ResourceTypes, location_name: "ResourceTypes"))
|
|
1175
1211
|
GetSupportedResourceTypesOutput.struct_class = Types::GetSupportedResourceTypesOutput
|
|
1176
1212
|
|
|
1213
|
+
GetTieringConfigurationInput.add_member(:tiering_configuration_name, Shapes::ShapeRef.new(shape: TieringConfigurationName, required: true, location: "uri", location_name: "tieringConfigurationName"))
|
|
1214
|
+
GetTieringConfigurationInput.struct_class = Types::GetTieringConfigurationInput
|
|
1215
|
+
|
|
1216
|
+
GetTieringConfigurationOutput.add_member(:tiering_configuration, Shapes::ShapeRef.new(shape: TieringConfiguration, location_name: "TieringConfiguration"))
|
|
1217
|
+
GetTieringConfigurationOutput.struct_class = Types::GetTieringConfigurationOutput
|
|
1218
|
+
|
|
1177
1219
|
GlobalSettings.key = Shapes::ShapeRef.new(shape: GlobalSettingsName)
|
|
1178
1220
|
GlobalSettings.value = Shapes::ShapeRef.new(shape: GlobalSettingsValue)
|
|
1179
1221
|
|
|
@@ -1549,6 +1591,14 @@ module Aws::Backup
|
|
|
1549
1591
|
ListTagsOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
|
|
1550
1592
|
ListTagsOutput.struct_class = Types::ListTagsOutput
|
|
1551
1593
|
|
|
1594
|
+
ListTieringConfigurationsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
|
1595
|
+
ListTieringConfigurationsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
|
1596
|
+
ListTieringConfigurationsInput.struct_class = Types::ListTieringConfigurationsInput
|
|
1597
|
+
|
|
1598
|
+
ListTieringConfigurationsOutput.add_member(:tiering_configurations, Shapes::ShapeRef.new(shape: TieringConfigurationsList, location_name: "TieringConfigurations"))
|
|
1599
|
+
ListTieringConfigurationsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
|
1600
|
+
ListTieringConfigurationsOutput.struct_class = Types::ListTieringConfigurationsOutput
|
|
1601
|
+
|
|
1552
1602
|
Metadata.key = Shapes::ShapeRef.new(shape: MetadataKey)
|
|
1553
1603
|
Metadata.value = Shapes::ShapeRef.new(shape: MetadataValue)
|
|
1554
1604
|
|
|
@@ -1716,6 +1766,13 @@ module Aws::Backup
|
|
|
1716
1766
|
ResourceNotFoundException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
|
1717
1767
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
1718
1768
|
|
|
1769
|
+
ResourceSelection.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceArns, required: true, location_name: "Resources"))
|
|
1770
|
+
ResourceSelection.add_member(:tiering_down_settings_in_days, Shapes::ShapeRef.new(shape: TieringDownSettingsInDays, required: true, location_name: "TieringDownSettingsInDays"))
|
|
1771
|
+
ResourceSelection.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "ResourceType"))
|
|
1772
|
+
ResourceSelection.struct_class = Types::ResourceSelection
|
|
1773
|
+
|
|
1774
|
+
ResourceSelections.member = Shapes::ShapeRef.new(shape: ResourceSelection)
|
|
1775
|
+
|
|
1719
1776
|
ResourceTypeList.member = Shapes::ShapeRef.new(shape: ARN)
|
|
1720
1777
|
|
|
1721
1778
|
ResourceTypeManagementPreference.key = Shapes::ShapeRef.new(shape: ResourceType)
|
|
@@ -1943,6 +2000,33 @@ module Aws::Backup
|
|
|
1943
2000
|
Tags.key = Shapes::ShapeRef.new(shape: TagKey)
|
|
1944
2001
|
Tags.value = Shapes::ShapeRef.new(shape: TagValue)
|
|
1945
2002
|
|
|
2003
|
+
TieringConfiguration.add_member(:tiering_configuration_name, Shapes::ShapeRef.new(shape: TieringConfigurationName, required: true, location_name: "TieringConfigurationName"))
|
|
2004
|
+
TieringConfiguration.add_member(:tiering_configuration_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "TieringConfigurationArn"))
|
|
2005
|
+
TieringConfiguration.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultNameOrWildcard, required: true, location_name: "BackupVaultName"))
|
|
2006
|
+
TieringConfiguration.add_member(:resource_selection, Shapes::ShapeRef.new(shape: ResourceSelections, required: true, location_name: "ResourceSelection"))
|
|
2007
|
+
TieringConfiguration.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: CreatorRequestId, location_name: "CreatorRequestId"))
|
|
2008
|
+
TieringConfiguration.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
|
2009
|
+
TieringConfiguration.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdatedTime"))
|
|
2010
|
+
TieringConfiguration.struct_class = Types::TieringConfiguration
|
|
2011
|
+
|
|
2012
|
+
TieringConfigurationInputForCreate.add_member(:tiering_configuration_name, Shapes::ShapeRef.new(shape: TieringConfigurationName, required: true, location_name: "TieringConfigurationName"))
|
|
2013
|
+
TieringConfigurationInputForCreate.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultNameOrWildcard, required: true, location_name: "BackupVaultName"))
|
|
2014
|
+
TieringConfigurationInputForCreate.add_member(:resource_selection, Shapes::ShapeRef.new(shape: ResourceSelections, required: true, location_name: "ResourceSelection"))
|
|
2015
|
+
TieringConfigurationInputForCreate.struct_class = Types::TieringConfigurationInputForCreate
|
|
2016
|
+
|
|
2017
|
+
TieringConfigurationInputForUpdate.add_member(:resource_selection, Shapes::ShapeRef.new(shape: ResourceSelections, required: true, location_name: "ResourceSelection"))
|
|
2018
|
+
TieringConfigurationInputForUpdate.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultNameOrWildcard, required: true, location_name: "BackupVaultName"))
|
|
2019
|
+
TieringConfigurationInputForUpdate.struct_class = Types::TieringConfigurationInputForUpdate
|
|
2020
|
+
|
|
2021
|
+
TieringConfigurationsList.member = Shapes::ShapeRef.new(shape: TieringConfigurationsListMember)
|
|
2022
|
+
|
|
2023
|
+
TieringConfigurationsListMember.add_member(:tiering_configuration_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "TieringConfigurationArn"))
|
|
2024
|
+
TieringConfigurationsListMember.add_member(:tiering_configuration_name, Shapes::ShapeRef.new(shape: TieringConfigurationName, location_name: "TieringConfigurationName"))
|
|
2025
|
+
TieringConfigurationsListMember.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultNameOrWildcard, location_name: "BackupVaultName"))
|
|
2026
|
+
TieringConfigurationsListMember.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
|
2027
|
+
TieringConfigurationsListMember.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdatedTime"))
|
|
2028
|
+
TieringConfigurationsListMember.struct_class = Types::TieringConfigurationsListMember
|
|
2029
|
+
|
|
1946
2030
|
UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
|
|
1947
2031
|
UntagResourceInput.add_member(:tag_key_list, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "TagKeyList"))
|
|
1948
2032
|
UntagResourceInput.struct_class = Types::UntagResourceInput
|
|
@@ -2033,6 +2117,16 @@ module Aws::Backup
|
|
|
2033
2117
|
UpdateRestoreTestingSelectionOutput.add_member(:update_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "UpdateTime"))
|
|
2034
2118
|
UpdateRestoreTestingSelectionOutput.struct_class = Types::UpdateRestoreTestingSelectionOutput
|
|
2035
2119
|
|
|
2120
|
+
UpdateTieringConfigurationInput.add_member(:tiering_configuration_name, Shapes::ShapeRef.new(shape: TieringConfigurationName, required: true, location: "uri", location_name: "tieringConfigurationName"))
|
|
2121
|
+
UpdateTieringConfigurationInput.add_member(:tiering_configuration, Shapes::ShapeRef.new(shape: TieringConfigurationInputForUpdate, required: true, location_name: "TieringConfiguration"))
|
|
2122
|
+
UpdateTieringConfigurationInput.struct_class = Types::UpdateTieringConfigurationInput
|
|
2123
|
+
|
|
2124
|
+
UpdateTieringConfigurationOutput.add_member(:tiering_configuration_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "TieringConfigurationArn"))
|
|
2125
|
+
UpdateTieringConfigurationOutput.add_member(:tiering_configuration_name, Shapes::ShapeRef.new(shape: TieringConfigurationName, location_name: "TieringConfigurationName"))
|
|
2126
|
+
UpdateTieringConfigurationOutput.add_member(:creation_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationTime"))
|
|
2127
|
+
UpdateTieringConfigurationOutput.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdatedTime"))
|
|
2128
|
+
UpdateTieringConfigurationOutput.struct_class = Types::UpdateTieringConfigurationOutput
|
|
2129
|
+
|
|
2036
2130
|
VaultNames.member = Shapes::ShapeRef.new(shape: string)
|
|
2037
2131
|
|
|
2038
2132
|
stringList.member = Shapes::ShapeRef.new(shape: string)
|
|
@@ -2219,6 +2313,20 @@ module Aws::Backup
|
|
|
2219
2313
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2220
2314
|
end)
|
|
2221
2315
|
|
|
2316
|
+
api.add_operation(:create_tiering_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
2317
|
+
o.name = "CreateTieringConfiguration"
|
|
2318
|
+
o.http_method = "PUT"
|
|
2319
|
+
o.http_request_uri = "/tiering-configurations"
|
|
2320
|
+
o.input = Shapes::ShapeRef.new(shape: CreateTieringConfigurationInput)
|
|
2321
|
+
o.output = Shapes::ShapeRef.new(shape: CreateTieringConfigurationOutput)
|
|
2322
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
|
2323
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
2324
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
2325
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
2326
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
|
2327
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2328
|
+
end)
|
|
2329
|
+
|
|
2222
2330
|
api.add_operation(:delete_backup_plan, Seahorse::Model::Operation.new.tap do |o|
|
|
2223
2331
|
o.name = "DeleteBackupPlan"
|
|
2224
2332
|
o.http_method = "DELETE"
|
|
@@ -2354,6 +2462,18 @@ module Aws::Backup
|
|
|
2354
2462
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2355
2463
|
end)
|
|
2356
2464
|
|
|
2465
|
+
api.add_operation(:delete_tiering_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
2466
|
+
o.name = "DeleteTieringConfiguration"
|
|
2467
|
+
o.http_method = "DELETE"
|
|
2468
|
+
o.http_request_uri = "/tiering-configurations/{tieringConfigurationName}"
|
|
2469
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteTieringConfigurationInput)
|
|
2470
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteTieringConfigurationOutput)
|
|
2471
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
|
2472
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2473
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
2474
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2475
|
+
end)
|
|
2476
|
+
|
|
2357
2477
|
api.add_operation(:describe_backup_job, Seahorse::Model::Operation.new.tap do |o|
|
|
2358
2478
|
o.name = "DescribeBackupJob"
|
|
2359
2479
|
o.http_method = "GET"
|
|
@@ -2696,6 +2816,18 @@ module Aws::Backup
|
|
|
2696
2816
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2697
2817
|
end)
|
|
2698
2818
|
|
|
2819
|
+
api.add_operation(:get_tiering_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
2820
|
+
o.name = "GetTieringConfiguration"
|
|
2821
|
+
o.http_method = "GET"
|
|
2822
|
+
o.http_request_uri = "/tiering-configurations/{tieringConfigurationName}"
|
|
2823
|
+
o.input = Shapes::ShapeRef.new(shape: GetTieringConfigurationInput)
|
|
2824
|
+
o.output = Shapes::ShapeRef.new(shape: GetTieringConfigurationOutput)
|
|
2825
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
|
2826
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2827
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
2828
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
2829
|
+
end)
|
|
2830
|
+
|
|
2699
2831
|
api.add_operation(:list_backup_job_summaries, Seahorse::Model::Operation.new.tap do |o|
|
|
2700
2832
|
o.name = "ListBackupJobSummaries"
|
|
2701
2833
|
o.http_method = "GET"
|
|
@@ -3139,6 +3271,22 @@ module Aws::Backup
|
|
|
3139
3271
|
)
|
|
3140
3272
|
end)
|
|
3141
3273
|
|
|
3274
|
+
api.add_operation(:list_tiering_configurations, Seahorse::Model::Operation.new.tap do |o|
|
|
3275
|
+
o.name = "ListTieringConfigurations"
|
|
3276
|
+
o.http_method = "GET"
|
|
3277
|
+
o.http_request_uri = "/tiering-configurations/"
|
|
3278
|
+
o.input = Shapes::ShapeRef.new(shape: ListTieringConfigurationsInput)
|
|
3279
|
+
o.output = Shapes::ShapeRef.new(shape: ListTieringConfigurationsOutput)
|
|
3280
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
3281
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
3282
|
+
o[:pager] = Aws::Pager.new(
|
|
3283
|
+
limit_key: "max_results",
|
|
3284
|
+
tokens: {
|
|
3285
|
+
"next_token" => "next_token"
|
|
3286
|
+
}
|
|
3287
|
+
)
|
|
3288
|
+
end)
|
|
3289
|
+
|
|
3142
3290
|
api.add_operation(:put_backup_vault_access_policy, Seahorse::Model::Operation.new.tap do |o|
|
|
3143
3291
|
o.name = "PutBackupVaultAccessPolicy"
|
|
3144
3292
|
o.http_method = "PUT"
|
|
@@ -3407,6 +3555,21 @@ module Aws::Backup
|
|
|
3407
3555
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3408
3556
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
3409
3557
|
end)
|
|
3558
|
+
|
|
3559
|
+
api.add_operation(:update_tiering_configuration, Seahorse::Model::Operation.new.tap do |o|
|
|
3560
|
+
o.name = "UpdateTieringConfiguration"
|
|
3561
|
+
o.http_method = "PUT"
|
|
3562
|
+
o.http_request_uri = "/tiering-configurations/{tieringConfigurationName}"
|
|
3563
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateTieringConfigurationInput)
|
|
3564
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateTieringConfigurationOutput)
|
|
3565
|
+
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
|
|
3566
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
3567
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3568
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
3569
|
+
o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
|
|
3570
|
+
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
|
3571
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
|
3572
|
+
end)
|
|
3410
3573
|
end
|
|
3411
3574
|
|
|
3412
3575
|
end
|
data/lib/aws-sdk-backup/types.rb
CHANGED
|
@@ -2481,6 +2481,70 @@ module Aws::Backup
|
|
|
2481
2481
|
include Aws::Structure
|
|
2482
2482
|
end
|
|
2483
2483
|
|
|
2484
|
+
# @!attribute [rw] tiering_configuration
|
|
2485
|
+
# A tiering configuration must contain a unique
|
|
2486
|
+
# `TieringConfigurationName` string you create and must contain a
|
|
2487
|
+
# `BackupVaultName` and `ResourceSelection`. You may optionally
|
|
2488
|
+
# include a `CreatorRequestId` string.
|
|
2489
|
+
#
|
|
2490
|
+
# The `TieringConfigurationName` is a unique string that is the name
|
|
2491
|
+
# of the tiering configuration. This cannot be changed after creation,
|
|
2492
|
+
# and it must consist of only alphanumeric characters and underscores.
|
|
2493
|
+
# @return [Types::TieringConfigurationInputForCreate]
|
|
2494
|
+
#
|
|
2495
|
+
# @!attribute [rw] tiering_configuration_tags
|
|
2496
|
+
# The tags to assign to the tiering configuration.
|
|
2497
|
+
# @return [Hash<String,String>]
|
|
2498
|
+
#
|
|
2499
|
+
# @!attribute [rw] creator_request_id
|
|
2500
|
+
# This is a unique string that identifies the request and allows
|
|
2501
|
+
# failed requests to be retried without the risk of running the
|
|
2502
|
+
# operation twice. This parameter is optional. If used, this parameter
|
|
2503
|
+
# must contain 1 to 50 alphanumeric or '-\_.' characters.
|
|
2504
|
+
#
|
|
2505
|
+
# **A suitable default value is auto-generated.** You should normally
|
|
2506
|
+
# not need to pass this option.
|
|
2507
|
+
# @return [String]
|
|
2508
|
+
#
|
|
2509
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateTieringConfigurationInput AWS API Documentation
|
|
2510
|
+
#
|
|
2511
|
+
class CreateTieringConfigurationInput < Struct.new(
|
|
2512
|
+
:tiering_configuration,
|
|
2513
|
+
:tiering_configuration_tags,
|
|
2514
|
+
:creator_request_id)
|
|
2515
|
+
SENSITIVE = [:tiering_configuration_tags]
|
|
2516
|
+
include Aws::Structure
|
|
2517
|
+
end
|
|
2518
|
+
|
|
2519
|
+
# @!attribute [rw] tiering_configuration_arn
|
|
2520
|
+
# An Amazon Resource Name (ARN) that uniquely identifies the created
|
|
2521
|
+
# tiering configuration.
|
|
2522
|
+
# @return [String]
|
|
2523
|
+
#
|
|
2524
|
+
# @!attribute [rw] tiering_configuration_name
|
|
2525
|
+
# This unique string is the name of the tiering configuration.
|
|
2526
|
+
#
|
|
2527
|
+
# The name cannot be changed after creation. The name consists of only
|
|
2528
|
+
# alphanumeric characters and underscores. Maximum length is 200.
|
|
2529
|
+
# @return [String]
|
|
2530
|
+
#
|
|
2531
|
+
# @!attribute [rw] creation_time
|
|
2532
|
+
# The date and time a tiering configuration was created, in Unix
|
|
2533
|
+
# format and Coordinated Universal Time (UTC). The value of
|
|
2534
|
+
# `CreationTime` is accurate to milliseconds. For example, the value
|
|
2535
|
+
# 1516925490.087 represents Friday, January 26, 2018 12:11:30.087AM.
|
|
2536
|
+
# @return [Time]
|
|
2537
|
+
#
|
|
2538
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateTieringConfigurationOutput AWS API Documentation
|
|
2539
|
+
#
|
|
2540
|
+
class CreateTieringConfigurationOutput < Struct.new(
|
|
2541
|
+
:tiering_configuration_arn,
|
|
2542
|
+
:tiering_configuration_name,
|
|
2543
|
+
:creation_time)
|
|
2544
|
+
SENSITIVE = []
|
|
2545
|
+
include Aws::Structure
|
|
2546
|
+
end
|
|
2547
|
+
|
|
2484
2548
|
# This is a resource filter containing FromDate: DateTime and ToDate:
|
|
2485
2549
|
# DateTime. Both values are required. Future DateTime values are not
|
|
2486
2550
|
# permitted.
|
|
@@ -2711,6 +2775,22 @@ module Aws::Backup
|
|
|
2711
2775
|
include Aws::Structure
|
|
2712
2776
|
end
|
|
2713
2777
|
|
|
2778
|
+
# @!attribute [rw] tiering_configuration_name
|
|
2779
|
+
# The unique name of a tiering configuration.
|
|
2780
|
+
# @return [String]
|
|
2781
|
+
#
|
|
2782
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteTieringConfigurationInput AWS API Documentation
|
|
2783
|
+
#
|
|
2784
|
+
class DeleteTieringConfigurationInput < Struct.new(
|
|
2785
|
+
:tiering_configuration_name)
|
|
2786
|
+
SENSITIVE = []
|
|
2787
|
+
include Aws::Structure
|
|
2788
|
+
end
|
|
2789
|
+
|
|
2790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DeleteTieringConfigurationOutput AWS API Documentation
|
|
2791
|
+
#
|
|
2792
|
+
class DeleteTieringConfigurationOutput < Aws::EmptyStructure; end
|
|
2793
|
+
|
|
2714
2794
|
# A dependent Amazon Web Services service or resource returned an error
|
|
2715
2795
|
# to the Backup service, and the action cannot be completed.
|
|
2716
2796
|
#
|
|
@@ -4811,6 +4891,31 @@ module Aws::Backup
|
|
|
4811
4891
|
include Aws::Structure
|
|
4812
4892
|
end
|
|
4813
4893
|
|
|
4894
|
+
# @!attribute [rw] tiering_configuration_name
|
|
4895
|
+
# The unique name of a tiering configuration.
|
|
4896
|
+
# @return [String]
|
|
4897
|
+
#
|
|
4898
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetTieringConfigurationInput AWS API Documentation
|
|
4899
|
+
#
|
|
4900
|
+
class GetTieringConfigurationInput < Struct.new(
|
|
4901
|
+
:tiering_configuration_name)
|
|
4902
|
+
SENSITIVE = []
|
|
4903
|
+
include Aws::Structure
|
|
4904
|
+
end
|
|
4905
|
+
|
|
4906
|
+
# @!attribute [rw] tiering_configuration
|
|
4907
|
+
# Specifies the body of a tiering configuration. Includes
|
|
4908
|
+
# `TieringConfigurationName`.
|
|
4909
|
+
# @return [Types::TieringConfiguration]
|
|
4910
|
+
#
|
|
4911
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetTieringConfigurationOutput AWS API Documentation
|
|
4912
|
+
#
|
|
4913
|
+
class GetTieringConfigurationOutput < Struct.new(
|
|
4914
|
+
:tiering_configuration)
|
|
4915
|
+
SENSITIVE = []
|
|
4916
|
+
include Aws::Structure
|
|
4917
|
+
end
|
|
4918
|
+
|
|
4814
4919
|
# This is an optional array within a BackupRule.
|
|
4815
4920
|
#
|
|
4816
4921
|
# IndexAction consists of one ResourceTypes.
|
|
@@ -7132,6 +7237,47 @@ module Aws::Backup
|
|
|
7132
7237
|
include Aws::Structure
|
|
7133
7238
|
end
|
|
7134
7239
|
|
|
7240
|
+
# @!attribute [rw] max_results
|
|
7241
|
+
# The maximum number of items to be returned.
|
|
7242
|
+
# @return [Integer]
|
|
7243
|
+
#
|
|
7244
|
+
# @!attribute [rw] next_token
|
|
7245
|
+
# The next item following a partial list of returned items. For
|
|
7246
|
+
# example, if a request is made to return `MaxResults` number of
|
|
7247
|
+
# items, `NextToken` allows you to return more items in your list
|
|
7248
|
+
# starting at the location pointed to by the next token.
|
|
7249
|
+
# @return [String]
|
|
7250
|
+
#
|
|
7251
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListTieringConfigurationsInput AWS API Documentation
|
|
7252
|
+
#
|
|
7253
|
+
class ListTieringConfigurationsInput < Struct.new(
|
|
7254
|
+
:max_results,
|
|
7255
|
+
:next_token)
|
|
7256
|
+
SENSITIVE = []
|
|
7257
|
+
include Aws::Structure
|
|
7258
|
+
end
|
|
7259
|
+
|
|
7260
|
+
# @!attribute [rw] tiering_configurations
|
|
7261
|
+
# An array of tiering configurations returned by the
|
|
7262
|
+
# `ListTieringConfigurations` call.
|
|
7263
|
+
# @return [Array<Types::TieringConfigurationsListMember>]
|
|
7264
|
+
#
|
|
7265
|
+
# @!attribute [rw] next_token
|
|
7266
|
+
# The next item following a partial list of returned items. For
|
|
7267
|
+
# example, if a request is made to return `MaxResults` number of
|
|
7268
|
+
# items, `NextToken` allows you to return more items in your list
|
|
7269
|
+
# starting at the location pointed to by the next token.
|
|
7270
|
+
# @return [String]
|
|
7271
|
+
#
|
|
7272
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListTieringConfigurationsOutput AWS API Documentation
|
|
7273
|
+
#
|
|
7274
|
+
class ListTieringConfigurationsOutput < Struct.new(
|
|
7275
|
+
:tiering_configurations,
|
|
7276
|
+
:next_token)
|
|
7277
|
+
SENSITIVE = []
|
|
7278
|
+
include Aws::Structure
|
|
7279
|
+
end
|
|
7280
|
+
|
|
7135
7281
|
# Indicates that a required parameter is missing.
|
|
7136
7282
|
#
|
|
7137
7283
|
# @!attribute [rw] code
|
|
@@ -8111,6 +8257,41 @@ module Aws::Backup
|
|
|
8111
8257
|
include Aws::Structure
|
|
8112
8258
|
end
|
|
8113
8259
|
|
|
8260
|
+
# This contains metadata about resource selection for tiering
|
|
8261
|
+
# configurations.
|
|
8262
|
+
#
|
|
8263
|
+
# You can specify up to 5 different resource selections per tiering
|
|
8264
|
+
# configuration. Data moved to lower-cost tier remains there until
|
|
8265
|
+
# deletion (one-way transition).
|
|
8266
|
+
#
|
|
8267
|
+
# @!attribute [rw] resources
|
|
8268
|
+
# An array of strings that either contains ARNs of the associated
|
|
8269
|
+
# resources or contains a wildcard `*` to specify all resources. You
|
|
8270
|
+
# can specify up to 100 specific resources per tiering configuration.
|
|
8271
|
+
# @return [Array<String>]
|
|
8272
|
+
#
|
|
8273
|
+
# @!attribute [rw] tiering_down_settings_in_days
|
|
8274
|
+
# The number of days after creation within a backup vault that an
|
|
8275
|
+
# object can transition to the low cost warm storage tier. Must be a
|
|
8276
|
+
# positive integer between 60 and 36500 days.
|
|
8277
|
+
# @return [Integer]
|
|
8278
|
+
#
|
|
8279
|
+
# @!attribute [rw] resource_type
|
|
8280
|
+
# The type of Amazon Web Services resource; for example, `S3` for
|
|
8281
|
+
# Amazon S3. For tiering configurations, this is currently limited to
|
|
8282
|
+
# `S3`.
|
|
8283
|
+
# @return [String]
|
|
8284
|
+
#
|
|
8285
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ResourceSelection AWS API Documentation
|
|
8286
|
+
#
|
|
8287
|
+
class ResourceSelection < Struct.new(
|
|
8288
|
+
:resources,
|
|
8289
|
+
:tiering_down_settings_in_days,
|
|
8290
|
+
:resource_type)
|
|
8291
|
+
SENSITIVE = []
|
|
8292
|
+
include Aws::Structure
|
|
8293
|
+
end
|
|
8294
|
+
|
|
8114
8295
|
# Contains information about a restore access backup vault.
|
|
8115
8296
|
#
|
|
8116
8297
|
# @!attribute [rw] restore_access_backup_vault_arn
|
|
@@ -9589,6 +9770,162 @@ module Aws::Backup
|
|
|
9589
9770
|
include Aws::Structure
|
|
9590
9771
|
end
|
|
9591
9772
|
|
|
9773
|
+
# This contains metadata about a tiering configuration.
|
|
9774
|
+
#
|
|
9775
|
+
# @!attribute [rw] tiering_configuration_name
|
|
9776
|
+
# The unique name of the tiering configuration. This cannot be changed
|
|
9777
|
+
# after creation, and it must consist of only alphanumeric characters
|
|
9778
|
+
# and underscores.
|
|
9779
|
+
# @return [String]
|
|
9780
|
+
#
|
|
9781
|
+
# @!attribute [rw] tiering_configuration_arn
|
|
9782
|
+
# An Amazon Resource Name (ARN) that uniquely identifies the tiering
|
|
9783
|
+
# configuration.
|
|
9784
|
+
# @return [String]
|
|
9785
|
+
#
|
|
9786
|
+
# @!attribute [rw] backup_vault_name
|
|
9787
|
+
# The name of the backup vault where the tiering configuration
|
|
9788
|
+
# applies. Use `*` to apply to all backup vaults.
|
|
9789
|
+
# @return [String]
|
|
9790
|
+
#
|
|
9791
|
+
# @!attribute [rw] resource_selection
|
|
9792
|
+
# An array of resource selection objects that specify which resources
|
|
9793
|
+
# are included in the tiering configuration and their tiering
|
|
9794
|
+
# settings.
|
|
9795
|
+
# @return [Array<Types::ResourceSelection>]
|
|
9796
|
+
#
|
|
9797
|
+
# @!attribute [rw] creator_request_id
|
|
9798
|
+
# This is a unique string that identifies the request and allows
|
|
9799
|
+
# failed requests to be retried without the risk of running the
|
|
9800
|
+
# operation twice.
|
|
9801
|
+
# @return [String]
|
|
9802
|
+
#
|
|
9803
|
+
# @!attribute [rw] creation_time
|
|
9804
|
+
# The date and time a tiering configuration was created, in Unix
|
|
9805
|
+
# format and Coordinated Universal Time (UTC). The value of
|
|
9806
|
+
# `CreationTime` is accurate to milliseconds. For example, the value
|
|
9807
|
+
# 1516925490.087 represents Friday, January 26, 2018 12:11:30.087AM.
|
|
9808
|
+
# @return [Time]
|
|
9809
|
+
#
|
|
9810
|
+
# @!attribute [rw] last_updated_time
|
|
9811
|
+
# The date and time a tiering configuration was updated, in Unix
|
|
9812
|
+
# format and Coordinated Universal Time (UTC). The value of
|
|
9813
|
+
# `LastUpdatedTime` is accurate to milliseconds. For example, the
|
|
9814
|
+
# value 1516925490.087 represents Friday, January 26, 2018
|
|
9815
|
+
# 12:11:30.087AM.
|
|
9816
|
+
# @return [Time]
|
|
9817
|
+
#
|
|
9818
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/TieringConfiguration AWS API Documentation
|
|
9819
|
+
#
|
|
9820
|
+
class TieringConfiguration < Struct.new(
|
|
9821
|
+
:tiering_configuration_name,
|
|
9822
|
+
:tiering_configuration_arn,
|
|
9823
|
+
:backup_vault_name,
|
|
9824
|
+
:resource_selection,
|
|
9825
|
+
:creator_request_id,
|
|
9826
|
+
:creation_time,
|
|
9827
|
+
:last_updated_time)
|
|
9828
|
+
SENSITIVE = []
|
|
9829
|
+
include Aws::Structure
|
|
9830
|
+
end
|
|
9831
|
+
|
|
9832
|
+
# This contains metadata about a tiering configuration for create
|
|
9833
|
+
# operations.
|
|
9834
|
+
#
|
|
9835
|
+
# @!attribute [rw] tiering_configuration_name
|
|
9836
|
+
# The unique name of the tiering configuration. This cannot be changed
|
|
9837
|
+
# after creation, and it must consist of only alphanumeric characters
|
|
9838
|
+
# and underscores.
|
|
9839
|
+
# @return [String]
|
|
9840
|
+
#
|
|
9841
|
+
# @!attribute [rw] backup_vault_name
|
|
9842
|
+
# The name of the backup vault where the tiering configuration
|
|
9843
|
+
# applies. Use `*` to apply to all backup vaults.
|
|
9844
|
+
# @return [String]
|
|
9845
|
+
#
|
|
9846
|
+
# @!attribute [rw] resource_selection
|
|
9847
|
+
# An array of resource selection objects that specify which resources
|
|
9848
|
+
# are included in the tiering configuration and their tiering
|
|
9849
|
+
# settings.
|
|
9850
|
+
# @return [Array<Types::ResourceSelection>]
|
|
9851
|
+
#
|
|
9852
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/TieringConfigurationInputForCreate AWS API Documentation
|
|
9853
|
+
#
|
|
9854
|
+
class TieringConfigurationInputForCreate < Struct.new(
|
|
9855
|
+
:tiering_configuration_name,
|
|
9856
|
+
:backup_vault_name,
|
|
9857
|
+
:resource_selection)
|
|
9858
|
+
SENSITIVE = []
|
|
9859
|
+
include Aws::Structure
|
|
9860
|
+
end
|
|
9861
|
+
|
|
9862
|
+
# This contains metadata about a tiering configuration for update
|
|
9863
|
+
# operations.
|
|
9864
|
+
#
|
|
9865
|
+
# @!attribute [rw] resource_selection
|
|
9866
|
+
# An array of resource selection objects that specify which resources
|
|
9867
|
+
# are included in the tiering configuration and their tiering
|
|
9868
|
+
# settings.
|
|
9869
|
+
# @return [Array<Types::ResourceSelection>]
|
|
9870
|
+
#
|
|
9871
|
+
# @!attribute [rw] backup_vault_name
|
|
9872
|
+
# The name of the backup vault where the tiering configuration
|
|
9873
|
+
# applies. Use `*` to apply to all backup vaults.
|
|
9874
|
+
# @return [String]
|
|
9875
|
+
#
|
|
9876
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/TieringConfigurationInputForUpdate AWS API Documentation
|
|
9877
|
+
#
|
|
9878
|
+
class TieringConfigurationInputForUpdate < Struct.new(
|
|
9879
|
+
:resource_selection,
|
|
9880
|
+
:backup_vault_name)
|
|
9881
|
+
SENSITIVE = []
|
|
9882
|
+
include Aws::Structure
|
|
9883
|
+
end
|
|
9884
|
+
|
|
9885
|
+
# This contains metadata about a tiering configuration returned in a
|
|
9886
|
+
# list.
|
|
9887
|
+
#
|
|
9888
|
+
# @!attribute [rw] tiering_configuration_arn
|
|
9889
|
+
# An Amazon Resource Name (ARN) that uniquely identifies the tiering
|
|
9890
|
+
# configuration.
|
|
9891
|
+
# @return [String]
|
|
9892
|
+
#
|
|
9893
|
+
# @!attribute [rw] tiering_configuration_name
|
|
9894
|
+
# The unique name of the tiering configuration.
|
|
9895
|
+
# @return [String]
|
|
9896
|
+
#
|
|
9897
|
+
# @!attribute [rw] backup_vault_name
|
|
9898
|
+
# The name of the backup vault where the tiering configuration
|
|
9899
|
+
# applies. Use `*` to apply to all backup vaults.
|
|
9900
|
+
# @return [String]
|
|
9901
|
+
#
|
|
9902
|
+
# @!attribute [rw] creation_time
|
|
9903
|
+
# The date and time a tiering configuration was created, in Unix
|
|
9904
|
+
# format and Coordinated Universal Time (UTC). The value of
|
|
9905
|
+
# `CreationTime` is accurate to milliseconds. For example, the value
|
|
9906
|
+
# 1516925490.087 represents Friday, January 26, 2018 12:11:30.087AM.
|
|
9907
|
+
# @return [Time]
|
|
9908
|
+
#
|
|
9909
|
+
# @!attribute [rw] last_updated_time
|
|
9910
|
+
# The date and time a tiering configuration was updated, in Unix
|
|
9911
|
+
# format and Coordinated Universal Time (UTC). The value of
|
|
9912
|
+
# `LastUpdatedTime` is accurate to milliseconds. For example, the
|
|
9913
|
+
# value 1516925490.087 represents Friday, January 26, 2018
|
|
9914
|
+
# 12:11:30.087AM.
|
|
9915
|
+
# @return [Time]
|
|
9916
|
+
#
|
|
9917
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/TieringConfigurationsListMember AWS API Documentation
|
|
9918
|
+
#
|
|
9919
|
+
class TieringConfigurationsListMember < Struct.new(
|
|
9920
|
+
:tiering_configuration_arn,
|
|
9921
|
+
:tiering_configuration_name,
|
|
9922
|
+
:backup_vault_name,
|
|
9923
|
+
:creation_time,
|
|
9924
|
+
:last_updated_time)
|
|
9925
|
+
SENSITIVE = []
|
|
9926
|
+
include Aws::Structure
|
|
9927
|
+
end
|
|
9928
|
+
|
|
9592
9929
|
# @!attribute [rw] resource_arn
|
|
9593
9930
|
# An ARN that uniquely identifies a resource. The format of the ARN
|
|
9594
9931
|
# depends on the type of the tagged resource.
|
|
@@ -10141,6 +10478,58 @@ module Aws::Backup
|
|
|
10141
10478
|
include Aws::Structure
|
|
10142
10479
|
end
|
|
10143
10480
|
|
|
10481
|
+
# @!attribute [rw] tiering_configuration_name
|
|
10482
|
+
# The name of a tiering configuration to update.
|
|
10483
|
+
# @return [String]
|
|
10484
|
+
#
|
|
10485
|
+
# @!attribute [rw] tiering_configuration
|
|
10486
|
+
# Specifies the body of a tiering configuration.
|
|
10487
|
+
# @return [Types::TieringConfigurationInputForUpdate]
|
|
10488
|
+
#
|
|
10489
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateTieringConfigurationInput AWS API Documentation
|
|
10490
|
+
#
|
|
10491
|
+
class UpdateTieringConfigurationInput < Struct.new(
|
|
10492
|
+
:tiering_configuration_name,
|
|
10493
|
+
:tiering_configuration)
|
|
10494
|
+
SENSITIVE = []
|
|
10495
|
+
include Aws::Structure
|
|
10496
|
+
end
|
|
10497
|
+
|
|
10498
|
+
# @!attribute [rw] tiering_configuration_arn
|
|
10499
|
+
# An Amazon Resource Name (ARN) that uniquely identifies the updated
|
|
10500
|
+
# tiering configuration.
|
|
10501
|
+
# @return [String]
|
|
10502
|
+
#
|
|
10503
|
+
# @!attribute [rw] tiering_configuration_name
|
|
10504
|
+
# This unique string is the name of the tiering configuration.
|
|
10505
|
+
# @return [String]
|
|
10506
|
+
#
|
|
10507
|
+
# @!attribute [rw] creation_time
|
|
10508
|
+
# The date and time a tiering configuration was created, in Unix
|
|
10509
|
+
# format and Coordinated Universal Time (UTC). The value of
|
|
10510
|
+
# `CreationTime` is accurate to milliseconds. For example, the value
|
|
10511
|
+
# 1516925490.087 represents Friday, January 26, 2018 12:11:30.087AM.
|
|
10512
|
+
# @return [Time]
|
|
10513
|
+
#
|
|
10514
|
+
# @!attribute [rw] last_updated_time
|
|
10515
|
+
# The date and time a tiering configuration was updated, in Unix
|
|
10516
|
+
# format and Coordinated Universal Time (UTC). The value of
|
|
10517
|
+
# `LastUpdatedTime` is accurate to milliseconds. For example, the
|
|
10518
|
+
# value 1516925490.087 represents Friday, January 26, 2018
|
|
10519
|
+
# 12:11:30.087AM.
|
|
10520
|
+
# @return [Time]
|
|
10521
|
+
#
|
|
10522
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateTieringConfigurationOutput AWS API Documentation
|
|
10523
|
+
#
|
|
10524
|
+
class UpdateTieringConfigurationOutput < Struct.new(
|
|
10525
|
+
:tiering_configuration_arn,
|
|
10526
|
+
:tiering_configuration_name,
|
|
10527
|
+
:creation_time,
|
|
10528
|
+
:last_updated_time)
|
|
10529
|
+
SENSITIVE = []
|
|
10530
|
+
include Aws::Structure
|
|
10531
|
+
end
|
|
10532
|
+
|
|
10144
10533
|
end
|
|
10145
10534
|
end
|
|
10146
10535
|
|
data/lib/aws-sdk-backup.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -405,6 +405,30 @@ module Aws
|
|
|
405
405
|
) -> _CreateRestoreTestingSelectionResponseSuccess
|
|
406
406
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRestoreTestingSelectionResponseSuccess
|
|
407
407
|
|
|
408
|
+
interface _CreateTieringConfigurationResponseSuccess
|
|
409
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTieringConfigurationOutput]
|
|
410
|
+
def tiering_configuration_arn: () -> ::String
|
|
411
|
+
def tiering_configuration_name: () -> ::String
|
|
412
|
+
def creation_time: () -> ::Time
|
|
413
|
+
end
|
|
414
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#create_tiering_configuration-instance_method
|
|
415
|
+
def create_tiering_configuration: (
|
|
416
|
+
tiering_configuration: {
|
|
417
|
+
tiering_configuration_name: ::String,
|
|
418
|
+
backup_vault_name: ::String,
|
|
419
|
+
resource_selection: Array[
|
|
420
|
+
{
|
|
421
|
+
resources: Array[::String],
|
|
422
|
+
tiering_down_settings_in_days: ::Integer,
|
|
423
|
+
resource_type: ::String
|
|
424
|
+
},
|
|
425
|
+
]
|
|
426
|
+
},
|
|
427
|
+
?tiering_configuration_tags: Hash[::String, ::String],
|
|
428
|
+
?creator_request_id: ::String
|
|
429
|
+
) -> _CreateTieringConfigurationResponseSuccess
|
|
430
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTieringConfigurationResponseSuccess
|
|
431
|
+
|
|
408
432
|
interface _DeleteBackupPlanResponseSuccess
|
|
409
433
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBackupPlanOutput]
|
|
410
434
|
def backup_plan_id: () -> ::String
|
|
@@ -481,6 +505,15 @@ module Aws
|
|
|
481
505
|
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
482
506
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
|
483
507
|
|
|
508
|
+
interface _DeleteTieringConfigurationResponseSuccess
|
|
509
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTieringConfigurationOutput]
|
|
510
|
+
end
|
|
511
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#delete_tiering_configuration-instance_method
|
|
512
|
+
def delete_tiering_configuration: (
|
|
513
|
+
tiering_configuration_name: ::String
|
|
514
|
+
) -> _DeleteTieringConfigurationResponseSuccess
|
|
515
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTieringConfigurationResponseSuccess
|
|
516
|
+
|
|
484
517
|
interface _DescribeBackupJobResponseSuccess
|
|
485
518
|
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeBackupJobOutput]
|
|
486
519
|
def account_id: () -> ::String
|
|
@@ -922,6 +955,16 @@ module Aws
|
|
|
922
955
|
def get_supported_resource_types: () -> _GetSupportedResourceTypesResponseSuccess
|
|
923
956
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSupportedResourceTypesResponseSuccess
|
|
924
957
|
|
|
958
|
+
interface _GetTieringConfigurationResponseSuccess
|
|
959
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetTieringConfigurationOutput]
|
|
960
|
+
def tiering_configuration: () -> Types::TieringConfiguration
|
|
961
|
+
end
|
|
962
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#get_tiering_configuration-instance_method
|
|
963
|
+
def get_tiering_configuration: (
|
|
964
|
+
tiering_configuration_name: ::String
|
|
965
|
+
) -> _GetTieringConfigurationResponseSuccess
|
|
966
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTieringConfigurationResponseSuccess
|
|
967
|
+
|
|
925
968
|
interface _ListBackupJobSummariesResponseSuccess
|
|
926
969
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListBackupJobSummariesOutput]
|
|
927
970
|
def backup_job_summaries: () -> ::Array[Types::BackupJobSummary]
|
|
@@ -1317,6 +1360,18 @@ module Aws
|
|
|
1317
1360
|
) -> _ListTagsResponseSuccess
|
|
1318
1361
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsResponseSuccess
|
|
1319
1362
|
|
|
1363
|
+
interface _ListTieringConfigurationsResponseSuccess
|
|
1364
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTieringConfigurationsOutput]
|
|
1365
|
+
def tiering_configurations: () -> ::Array[Types::TieringConfigurationsListMember]
|
|
1366
|
+
def next_token: () -> ::String
|
|
1367
|
+
end
|
|
1368
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#list_tiering_configurations-instance_method
|
|
1369
|
+
def list_tiering_configurations: (
|
|
1370
|
+
?max_results: ::Integer,
|
|
1371
|
+
?next_token: ::String
|
|
1372
|
+
) -> _ListTieringConfigurationsResponseSuccess
|
|
1373
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTieringConfigurationsResponseSuccess
|
|
1374
|
+
|
|
1320
1375
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#put_backup_vault_access_policy-instance_method
|
|
1321
1376
|
def put_backup_vault_access_policy: (
|
|
1322
1377
|
backup_vault_name: ::String,
|
|
@@ -1676,6 +1731,29 @@ module Aws
|
|
|
1676
1731
|
restore_testing_selection_name: ::String
|
|
1677
1732
|
) -> _UpdateRestoreTestingSelectionResponseSuccess
|
|
1678
1733
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRestoreTestingSelectionResponseSuccess
|
|
1734
|
+
|
|
1735
|
+
interface _UpdateTieringConfigurationResponseSuccess
|
|
1736
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTieringConfigurationOutput]
|
|
1737
|
+
def tiering_configuration_arn: () -> ::String
|
|
1738
|
+
def tiering_configuration_name: () -> ::String
|
|
1739
|
+
def creation_time: () -> ::Time
|
|
1740
|
+
def last_updated_time: () -> ::Time
|
|
1741
|
+
end
|
|
1742
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Backup/Client.html#update_tiering_configuration-instance_method
|
|
1743
|
+
def update_tiering_configuration: (
|
|
1744
|
+
tiering_configuration_name: ::String,
|
|
1745
|
+
tiering_configuration: {
|
|
1746
|
+
resource_selection: Array[
|
|
1747
|
+
{
|
|
1748
|
+
resources: Array[::String],
|
|
1749
|
+
tiering_down_settings_in_days: ::Integer,
|
|
1750
|
+
resource_type: ::String
|
|
1751
|
+
},
|
|
1752
|
+
],
|
|
1753
|
+
backup_vault_name: ::String
|
|
1754
|
+
}
|
|
1755
|
+
) -> _UpdateTieringConfigurationResponseSuccess
|
|
1756
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTieringConfigurationResponseSuccess
|
|
1679
1757
|
end
|
|
1680
1758
|
end
|
|
1681
1759
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -448,6 +448,20 @@ module Aws::Backup
|
|
|
448
448
|
SENSITIVE: []
|
|
449
449
|
end
|
|
450
450
|
|
|
451
|
+
class CreateTieringConfigurationInput
|
|
452
|
+
attr_accessor tiering_configuration: Types::TieringConfigurationInputForCreate
|
|
453
|
+
attr_accessor tiering_configuration_tags: ::Hash[::String, ::String]
|
|
454
|
+
attr_accessor creator_request_id: ::String
|
|
455
|
+
SENSITIVE: [:tiering_configuration_tags]
|
|
456
|
+
end
|
|
457
|
+
|
|
458
|
+
class CreateTieringConfigurationOutput
|
|
459
|
+
attr_accessor tiering_configuration_arn: ::String
|
|
460
|
+
attr_accessor tiering_configuration_name: ::String
|
|
461
|
+
attr_accessor creation_time: ::Time
|
|
462
|
+
SENSITIVE: []
|
|
463
|
+
end
|
|
464
|
+
|
|
451
465
|
class DateRange
|
|
452
466
|
attr_accessor from_date: ::Time
|
|
453
467
|
attr_accessor to_date: ::Time
|
|
@@ -520,6 +534,14 @@ module Aws::Backup
|
|
|
520
534
|
SENSITIVE: []
|
|
521
535
|
end
|
|
522
536
|
|
|
537
|
+
class DeleteTieringConfigurationInput
|
|
538
|
+
attr_accessor tiering_configuration_name: ::String
|
|
539
|
+
SENSITIVE: []
|
|
540
|
+
end
|
|
541
|
+
|
|
542
|
+
class DeleteTieringConfigurationOutput < Aws::EmptyStructure
|
|
543
|
+
end
|
|
544
|
+
|
|
523
545
|
class DependencyFailureException
|
|
524
546
|
attr_accessor code: ::String
|
|
525
547
|
attr_accessor message: ::String
|
|
@@ -978,6 +1000,16 @@ module Aws::Backup
|
|
|
978
1000
|
SENSITIVE: []
|
|
979
1001
|
end
|
|
980
1002
|
|
|
1003
|
+
class GetTieringConfigurationInput
|
|
1004
|
+
attr_accessor tiering_configuration_name: ::String
|
|
1005
|
+
SENSITIVE: []
|
|
1006
|
+
end
|
|
1007
|
+
|
|
1008
|
+
class GetTieringConfigurationOutput
|
|
1009
|
+
attr_accessor tiering_configuration: Types::TieringConfiguration
|
|
1010
|
+
SENSITIVE: []
|
|
1011
|
+
end
|
|
1012
|
+
|
|
981
1013
|
class IndexAction
|
|
982
1014
|
attr_accessor resource_types: ::Array[::String]
|
|
983
1015
|
SENSITIVE: []
|
|
@@ -1466,6 +1498,18 @@ module Aws::Backup
|
|
|
1466
1498
|
SENSITIVE: [:tags]
|
|
1467
1499
|
end
|
|
1468
1500
|
|
|
1501
|
+
class ListTieringConfigurationsInput
|
|
1502
|
+
attr_accessor max_results: ::Integer
|
|
1503
|
+
attr_accessor next_token: ::String
|
|
1504
|
+
SENSITIVE: []
|
|
1505
|
+
end
|
|
1506
|
+
|
|
1507
|
+
class ListTieringConfigurationsOutput
|
|
1508
|
+
attr_accessor tiering_configurations: ::Array[Types::TieringConfigurationsListMember]
|
|
1509
|
+
attr_accessor next_token: ::String
|
|
1510
|
+
SENSITIVE: []
|
|
1511
|
+
end
|
|
1512
|
+
|
|
1469
1513
|
class MissingParameterValueException
|
|
1470
1514
|
attr_accessor code: ::String
|
|
1471
1515
|
attr_accessor message: ::String
|
|
@@ -1650,6 +1694,13 @@ module Aws::Backup
|
|
|
1650
1694
|
SENSITIVE: []
|
|
1651
1695
|
end
|
|
1652
1696
|
|
|
1697
|
+
class ResourceSelection
|
|
1698
|
+
attr_accessor resources: ::Array[::String]
|
|
1699
|
+
attr_accessor tiering_down_settings_in_days: ::Integer
|
|
1700
|
+
attr_accessor resource_type: ::String
|
|
1701
|
+
SENSITIVE: []
|
|
1702
|
+
end
|
|
1703
|
+
|
|
1653
1704
|
class RestoreAccessBackupVaultListMember
|
|
1654
1705
|
attr_accessor restore_access_backup_vault_arn: ::String
|
|
1655
1706
|
attr_accessor creation_date: ::Time
|
|
@@ -1897,6 +1948,39 @@ module Aws::Backup
|
|
|
1897
1948
|
SENSITIVE: [:tags]
|
|
1898
1949
|
end
|
|
1899
1950
|
|
|
1951
|
+
class TieringConfiguration
|
|
1952
|
+
attr_accessor tiering_configuration_name: ::String
|
|
1953
|
+
attr_accessor tiering_configuration_arn: ::String
|
|
1954
|
+
attr_accessor backup_vault_name: ::String
|
|
1955
|
+
attr_accessor resource_selection: ::Array[Types::ResourceSelection]
|
|
1956
|
+
attr_accessor creator_request_id: ::String
|
|
1957
|
+
attr_accessor creation_time: ::Time
|
|
1958
|
+
attr_accessor last_updated_time: ::Time
|
|
1959
|
+
SENSITIVE: []
|
|
1960
|
+
end
|
|
1961
|
+
|
|
1962
|
+
class TieringConfigurationInputForCreate
|
|
1963
|
+
attr_accessor tiering_configuration_name: ::String
|
|
1964
|
+
attr_accessor backup_vault_name: ::String
|
|
1965
|
+
attr_accessor resource_selection: ::Array[Types::ResourceSelection]
|
|
1966
|
+
SENSITIVE: []
|
|
1967
|
+
end
|
|
1968
|
+
|
|
1969
|
+
class TieringConfigurationInputForUpdate
|
|
1970
|
+
attr_accessor resource_selection: ::Array[Types::ResourceSelection]
|
|
1971
|
+
attr_accessor backup_vault_name: ::String
|
|
1972
|
+
SENSITIVE: []
|
|
1973
|
+
end
|
|
1974
|
+
|
|
1975
|
+
class TieringConfigurationsListMember
|
|
1976
|
+
attr_accessor tiering_configuration_arn: ::String
|
|
1977
|
+
attr_accessor tiering_configuration_name: ::String
|
|
1978
|
+
attr_accessor backup_vault_name: ::String
|
|
1979
|
+
attr_accessor creation_time: ::Time
|
|
1980
|
+
attr_accessor last_updated_time: ::Time
|
|
1981
|
+
SENSITIVE: []
|
|
1982
|
+
end
|
|
1983
|
+
|
|
1900
1984
|
class UntagResourceInput
|
|
1901
1985
|
attr_accessor resource_arn: ::String
|
|
1902
1986
|
attr_accessor tag_key_list: ::Array[::String]
|
|
@@ -2020,5 +2104,19 @@ module Aws::Backup
|
|
|
2020
2104
|
attr_accessor update_time: ::Time
|
|
2021
2105
|
SENSITIVE: []
|
|
2022
2106
|
end
|
|
2107
|
+
|
|
2108
|
+
class UpdateTieringConfigurationInput
|
|
2109
|
+
attr_accessor tiering_configuration_name: ::String
|
|
2110
|
+
attr_accessor tiering_configuration: Types::TieringConfigurationInputForUpdate
|
|
2111
|
+
SENSITIVE: []
|
|
2112
|
+
end
|
|
2113
|
+
|
|
2114
|
+
class UpdateTieringConfigurationOutput
|
|
2115
|
+
attr_accessor tiering_configuration_arn: ::String
|
|
2116
|
+
attr_accessor tiering_configuration_name: ::String
|
|
2117
|
+
attr_accessor creation_time: ::Time
|
|
2118
|
+
attr_accessor last_updated_time: ::Time
|
|
2119
|
+
SENSITIVE: []
|
|
2120
|
+
end
|
|
2023
2121
|
end
|
|
2024
2122
|
end
|