aws-sdk-backup 1.56.0 → 1.58.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 012e6aaa8b820f8ae53b7ff2d76616e3b3e886696aaae08c5614f5c0809e324c
4
- data.tar.gz: 66dd38fd11372c4f44eb8918fb3b3d3d0f91d5889e5d0cb46e75ae40c3e6821c
3
+ metadata.gz: 35196dc65d4a161d5a2bea646320527b79991a34eeb1fb94eb91c26bd97a3b9f
4
+ data.tar.gz: 87da4758f5abddbb997f0e76c1d7f811e59b55267436c7ce323acc318fb713b9
5
5
  SHA512:
6
- metadata.gz: e4aaea9383e5640046380b8bd1524ffaa3342d4895a0ad6831c22c5b8daf8572fd02a3eee9f6a03a9379127f1e3e8f1ae51b11a8699b8c0ef693afb7e923bf22
7
- data.tar.gz: b6cfaeb2c8fa55ea284df1add48e933fedf9a50b501511f5d887bd3c5af27422a26e875f5fb6cfb3c4f8e6b8c913c0c472c3ed48155d0909409e1e533abe504b
6
+ metadata.gz: 8c2ff9c040535797c002e46248403030e84cd907bece639daa8097dccdbd4f48e19077d9429d7fbca29e4da70a156d1027cea4d5c04b53e28cbf5dc748ec24b3
7
+ data.tar.gz: 5dc363bc961c9e13804ff78320c0a17e8186656e14e29439e09d6e6e6042ddca9c65f016969c15b3cc5af2440925099a9199905ab5b4852777550f976bc04a28
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2023-08-28)
5
+ ------------------
6
+
7
+ * Feature - Add support for customizing time zone for backup window in backup plan rules.
8
+
9
+ 1.57.0 (2023-08-08)
10
+ ------------------
11
+
12
+ * Feature - This release introduces a new logically air-gapped vault (Preview) in AWS Backup that stores immutable backup copies, which are locked by default and isolated with encryption using AWS owned keys. Logically air-gapped vault (Preview) allows secure recovery of application data across accounts.
13
+
4
14
  1.56.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.56.0
1
+ 1.58.0
@@ -483,6 +483,7 @@ module Aws::Backup
483
483
  # },
484
484
  # ],
485
485
  # enable_continuous_backup: false,
486
+ # schedule_expression_timezone: "Timezone",
486
487
  # },
487
488
  # ],
488
489
  # advanced_backup_settings: [
@@ -835,6 +836,87 @@ module Aws::Backup
835
836
  req.send_request(options)
836
837
  end
837
838
 
839
+ # This request creates a logical container to where backups may be
840
+ # copied.
841
+ #
842
+ # This request includes a name, the Region, the maximum number of
843
+ # retention days, the minimum number of retention days, and optionally
844
+ # can include tags and a creator request ID.
845
+ #
846
+ # <note markdown="1"> Do not include sensitive data, such as passport numbers, in the name
847
+ # of a backup vault.
848
+ #
849
+ # </note>
850
+ #
851
+ # @option params [required, String] :backup_vault_name
852
+ # This is the name of the vault that is being created.
853
+ #
854
+ # @option params [Hash<String,String>] :backup_vault_tags
855
+ # These are the tags that will be included in the newly-created vault.
856
+ #
857
+ # @option params [String] :creator_request_id
858
+ # This is the ID of the creation request.
859
+ #
860
+ # @option params [required, Integer] :min_retention_days
861
+ # This setting specifies the minimum retention period that the vault
862
+ # retains its recovery points. If this parameter is not specified, no
863
+ # minimum retention period is enforced.
864
+ #
865
+ # If specified, any backup or copy job to the vault must have a
866
+ # lifecycle policy with a retention period equal to or longer than the
867
+ # minimum retention period. If a job retention period is shorter than
868
+ # that minimum retention period, then the vault fails the backup or copy
869
+ # job, and you should either modify your lifecycle settings or use a
870
+ # different vault.
871
+ #
872
+ # @option params [required, Integer] :max_retention_days
873
+ # This is the setting that specifies the maximum retention period that
874
+ # the vault retains its recovery points. If this parameter is not
875
+ # specified, Backup does not enforce a maximum retention period on the
876
+ # recovery points in the vault (allowing indefinite storage).
877
+ #
878
+ # If specified, any backup or copy job to the vault must have a
879
+ # lifecycle policy with a retention period equal to or shorter than the
880
+ # maximum retention period. If the job retention period is longer than
881
+ # that maximum retention period, then the vault fails the backup or copy
882
+ # job, and you should either modify your lifecycle settings or use a
883
+ # different vault.
884
+ #
885
+ # @return [Types::CreateLogicallyAirGappedBackupVaultOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
886
+ #
887
+ # * {Types::CreateLogicallyAirGappedBackupVaultOutput#backup_vault_name #backup_vault_name} => String
888
+ # * {Types::CreateLogicallyAirGappedBackupVaultOutput#backup_vault_arn #backup_vault_arn} => String
889
+ # * {Types::CreateLogicallyAirGappedBackupVaultOutput#creation_date #creation_date} => Time
890
+ # * {Types::CreateLogicallyAirGappedBackupVaultOutput#vault_state #vault_state} => String
891
+ #
892
+ # @example Request syntax with placeholder values
893
+ #
894
+ # resp = client.create_logically_air_gapped_backup_vault({
895
+ # backup_vault_name: "BackupVaultName", # required
896
+ # backup_vault_tags: {
897
+ # "TagKey" => "TagValue",
898
+ # },
899
+ # creator_request_id: "string",
900
+ # min_retention_days: 1, # required
901
+ # max_retention_days: 1, # required
902
+ # })
903
+ #
904
+ # @example Response structure
905
+ #
906
+ # resp.backup_vault_name #=> String
907
+ # resp.backup_vault_arn #=> String
908
+ # resp.creation_date #=> Time
909
+ # resp.vault_state #=> String, one of "CREATING", "AVAILABLE", "FAILED"
910
+ #
911
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateLogicallyAirGappedBackupVault AWS API Documentation
912
+ #
913
+ # @overload create_logically_air_gapped_backup_vault(params = {})
914
+ # @param [Hash] params ({})
915
+ def create_logically_air_gapped_backup_vault(params = {}, options = {})
916
+ req = build_request(:create_logically_air_gapped_backup_vault, params)
917
+ req.send_request(options)
918
+ end
919
+
838
920
  # Creates a report plan. A report plan is a document that contains
839
921
  # information about the contents of the report and where Backup will
840
922
  # deliver it.
@@ -1284,10 +1366,14 @@ module Aws::Backup
1284
1366
  # create them and the Amazon Web Services Region where they are created.
1285
1367
  # They consist of lowercase letters, numbers, and hyphens.
1286
1368
  #
1369
+ # @option params [String] :backup_vault_account_id
1370
+ # This is the account ID of the specified backup vault.
1371
+ #
1287
1372
  # @return [Types::DescribeBackupVaultOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1288
1373
  #
1289
1374
  # * {Types::DescribeBackupVaultOutput#backup_vault_name #backup_vault_name} => String
1290
1375
  # * {Types::DescribeBackupVaultOutput#backup_vault_arn #backup_vault_arn} => String
1376
+ # * {Types::DescribeBackupVaultOutput#vault_type #vault_type} => String
1291
1377
  # * {Types::DescribeBackupVaultOutput#encryption_key_arn #encryption_key_arn} => String
1292
1378
  # * {Types::DescribeBackupVaultOutput#creation_date #creation_date} => Time
1293
1379
  # * {Types::DescribeBackupVaultOutput#creator_request_id #creator_request_id} => String
@@ -1301,12 +1387,14 @@ module Aws::Backup
1301
1387
  #
1302
1388
  # resp = client.describe_backup_vault({
1303
1389
  # backup_vault_name: "string", # required
1390
+ # backup_vault_account_id: "string",
1304
1391
  # })
1305
1392
  #
1306
1393
  # @example Response structure
1307
1394
  #
1308
1395
  # resp.backup_vault_name #=> String
1309
1396
  # resp.backup_vault_arn #=> String
1397
+ # resp.vault_type #=> String, one of "BACKUP_VAULT", "LOGICALLY_AIR_GAPPED_BACKUP_VAULT"
1310
1398
  # resp.encryption_key_arn #=> String
1311
1399
  # resp.creation_date #=> Time
1312
1400
  # resp.creator_request_id #=> String
@@ -1505,6 +1593,9 @@ module Aws::Backup
1505
1593
  # point; for example,
1506
1594
  # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
1507
1595
  #
1596
+ # @option params [String] :backup_vault_account_id
1597
+ # This is the account ID of the specified backup vault.
1598
+ #
1508
1599
  # @return [Types::DescribeRecoveryPointOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1509
1600
  #
1510
1601
  # * {Types::DescribeRecoveryPointOutput#recovery_point_arn #recovery_point_arn} => String
@@ -1536,6 +1627,7 @@ module Aws::Backup
1536
1627
  # resp = client.describe_recovery_point({
1537
1628
  # backup_vault_name: "BackupVaultName", # required
1538
1629
  # recovery_point_arn: "ARN", # required
1630
+ # backup_vault_account_id: "AccountId",
1539
1631
  # })
1540
1632
  #
1541
1633
  # @example Response structure
@@ -1892,6 +1984,7 @@ module Aws::Backup
1892
1984
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
1893
1985
  # resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
1894
1986
  # resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
1987
+ # resp.backup_plan.rules[0].schedule_expression_timezone #=> String
1895
1988
  # resp.backup_plan.advanced_backup_settings #=> Array
1896
1989
  # resp.backup_plan.advanced_backup_settings[0].resource_type #=> String
1897
1990
  # resp.backup_plan.advanced_backup_settings[0].backup_options #=> Hash
@@ -1951,6 +2044,7 @@ module Aws::Backup
1951
2044
  # resp.backup_plan.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
1952
2045
  # resp.backup_plan.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
1953
2046
  # resp.backup_plan.rules[0].enable_continuous_backup #=> Boolean
2047
+ # resp.backup_plan.rules[0].schedule_expression_timezone #=> String
1954
2048
  # resp.backup_plan.advanced_backup_settings #=> Array
1955
2049
  # resp.backup_plan.advanced_backup_settings[0].resource_type #=> String
1956
2050
  # resp.backup_plan.advanced_backup_settings[0].backup_options #=> Hash
@@ -1999,6 +2093,7 @@ module Aws::Backup
1999
2093
  # resp.backup_plan_document.rules[0].copy_actions[0].lifecycle.delete_after_days #=> Integer
2000
2094
  # resp.backup_plan_document.rules[0].copy_actions[0].destination_backup_vault_arn #=> String
2001
2095
  # resp.backup_plan_document.rules[0].enable_continuous_backup #=> Boolean
2096
+ # resp.backup_plan_document.rules[0].schedule_expression_timezone #=> String
2002
2097
  # resp.backup_plan_document.advanced_backup_settings #=> Array
2003
2098
  # resp.backup_plan_document.advanced_backup_settings[0].resource_type #=> String
2004
2099
  # resp.backup_plan_document.advanced_backup_settings[0].backup_options #=> Hash
@@ -2217,6 +2312,9 @@ module Aws::Backup
2217
2312
  # point; for example,
2218
2313
  # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
2219
2314
  #
2315
+ # @option params [String] :backup_vault_account_id
2316
+ # This is the account ID of the specified backup vault.
2317
+ #
2220
2318
  # @return [Types::GetRecoveryPointRestoreMetadataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2221
2319
  #
2222
2320
  # * {Types::GetRecoveryPointRestoreMetadataOutput#backup_vault_arn #backup_vault_arn} => String
@@ -2228,6 +2326,7 @@ module Aws::Backup
2228
2326
  # resp = client.get_recovery_point_restore_metadata({
2229
2327
  # backup_vault_name: "BackupVaultName", # required
2230
2328
  # recovery_point_arn: "ARN", # required
2329
+ # backup_vault_account_id: "AccountId",
2231
2330
  # })
2232
2331
  #
2233
2332
  # @example Response structure
@@ -2624,6 +2723,12 @@ module Aws::Backup
2624
2723
  # Returns a list of recovery point storage containers along with
2625
2724
  # information about them.
2626
2725
  #
2726
+ # @option params [String] :by_vault_type
2727
+ # This parameter will sort the list of vaults by vault type.
2728
+ #
2729
+ # @option params [Boolean] :by_shared
2730
+ # This parameter will sort the list of vaults by shared vaults.
2731
+ #
2627
2732
  # @option params [String] :next_token
2628
2733
  # The next item following a partial list of returned items. For example,
2629
2734
  # if a request is made to return `maxResults` number of items,
@@ -2643,6 +2748,8 @@ module Aws::Backup
2643
2748
  # @example Request syntax with placeholder values
2644
2749
  #
2645
2750
  # resp = client.list_backup_vaults({
2751
+ # by_vault_type: "BACKUP_VAULT", # accepts BACKUP_VAULT, LOGICALLY_AIR_GAPPED_BACKUP_VAULT
2752
+ # by_shared: false,
2646
2753
  # next_token: "string",
2647
2754
  # max_results: 1,
2648
2755
  # })
@@ -2942,6 +3049,60 @@ module Aws::Backup
2942
3049
  req.send_request(options)
2943
3050
  end
2944
3051
 
3052
+ # This request lists the protected resources corresponding to each
3053
+ # backup vault.
3054
+ #
3055
+ # @option params [required, String] :backup_vault_name
3056
+ # This is the list of protected resources by backup vault within the
3057
+ # vault(s) you specify by name.
3058
+ #
3059
+ # @option params [String] :backup_vault_account_id
3060
+ # This is the list of protected resources by backup vault within the
3061
+ # vault(s) you specify by account ID.
3062
+ #
3063
+ # @option params [String] :next_token
3064
+ # The next item following a partial list of returned items. For example,
3065
+ # if a request is made to return `maxResults` number of items,
3066
+ # `NextToken` allows you to return more items in your list starting at
3067
+ # the location pointed to by the next token.
3068
+ #
3069
+ # @option params [Integer] :max_results
3070
+ # The maximum number of items to be returned.
3071
+ #
3072
+ # @return [Types::ListProtectedResourcesByBackupVaultOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3073
+ #
3074
+ # * {Types::ListProtectedResourcesByBackupVaultOutput#results #results} => Array&lt;Types::ProtectedResource&gt;
3075
+ # * {Types::ListProtectedResourcesByBackupVaultOutput#next_token #next_token} => String
3076
+ #
3077
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
3078
+ #
3079
+ # @example Request syntax with placeholder values
3080
+ #
3081
+ # resp = client.list_protected_resources_by_backup_vault({
3082
+ # backup_vault_name: "BackupVaultName", # required
3083
+ # backup_vault_account_id: "AccountId",
3084
+ # next_token: "string",
3085
+ # max_results: 1,
3086
+ # })
3087
+ #
3088
+ # @example Response structure
3089
+ #
3090
+ # resp.results #=> Array
3091
+ # resp.results[0].resource_arn #=> String
3092
+ # resp.results[0].resource_type #=> String
3093
+ # resp.results[0].last_backup_time #=> Time
3094
+ # resp.results[0].resource_name #=> String
3095
+ # resp.next_token #=> String
3096
+ #
3097
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListProtectedResourcesByBackupVault AWS API Documentation
3098
+ #
3099
+ # @overload list_protected_resources_by_backup_vault(params = {})
3100
+ # @param [Hash] params ({})
3101
+ def list_protected_resources_by_backup_vault(params = {}, options = {})
3102
+ req = build_request(:list_protected_resources_by_backup_vault, params)
3103
+ req.send_request(options)
3104
+ end
3105
+
2945
3106
  # Returns detailed information about the recovery points stored in a
2946
3107
  # backup vault.
2947
3108
  #
@@ -2956,6 +3117,9 @@ module Aws::Backup
2956
3117
  #
2957
3118
  # </note>
2958
3119
  #
3120
+ # @option params [String] :backup_vault_account_id
3121
+ # This parameter will sort the list of recovery points by account ID.
3122
+ #
2959
3123
  # @option params [String] :next_token
2960
3124
  # The next item following a partial list of returned items. For example,
2961
3125
  # if a request is made to return `maxResults` number of items,
@@ -2998,6 +3162,7 @@ module Aws::Backup
2998
3162
  #
2999
3163
  # resp = client.list_recovery_points_by_backup_vault({
3000
3164
  # backup_vault_name: "BackupVaultName", # required
3165
+ # backup_vault_account_id: "AccountId",
3001
3166
  # next_token: "string",
3002
3167
  # max_results: 1,
3003
3168
  # by_resource_arn: "ARN",
@@ -3655,6 +3820,8 @@ module Aws::Backup
3655
3820
  # and the default is 8 hours. If this value is included, it must be at
3656
3821
  # least 60 minutes to avoid errors.
3657
3822
  #
3823
+ # This parameter has a maximum value of 100 years (52,560,000 minutes).
3824
+ #
3658
3825
  # During the start window, the backup job status remains in `CREATED`
3659
3826
  # status until it has successfully begun or until the start window time
3660
3827
  # has run out. If within the start window time Backup receives an error
@@ -3671,6 +3838,9 @@ module Aws::Backup
3671
3838
  # does not add additional time for `StartWindowMinutes`, or if the
3672
3839
  # backup started later than scheduled.
3673
3840
  #
3841
+ # Like `StartWindowMinutes`, this parameter has a maximum value of 100
3842
+ # years (52,560,000 minutes).
3843
+ #
3674
3844
  # @option params [Types::Lifecycle] :lifecycle
3675
3845
  # The lifecycle defines when a protected resource is transitioned to
3676
3846
  # cold storage and when it expires. Backup will transition and expire
@@ -3687,6 +3857,8 @@ module Aws::Backup
3687
3857
  # availability by resource][1] table. Backup ignores this expression for
3688
3858
  # other resource types.
3689
3859
  #
3860
+ # This parameter has a maximum value of 100 years (36,500 days).
3861
+ #
3690
3862
  #
3691
3863
  #
3692
3864
  # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
@@ -4136,6 +4308,7 @@ module Aws::Backup
4136
4308
  # },
4137
4309
  # ],
4138
4310
  # enable_continuous_backup: false,
4311
+ # schedule_expression_timezone: "Timezone",
4139
4312
  # },
4140
4313
  # ],
4141
4314
  # advanced_backup_settings: [
@@ -4488,7 +4661,7 @@ module Aws::Backup
4488
4661
  params: params,
4489
4662
  config: config)
4490
4663
  context[:gem_name] = 'aws-sdk-backup'
4491
- context[:gem_version] = '1.56.0'
4664
+ context[:gem_version] = '1.58.0'
4492
4665
  Seahorse::Client::Request.new(handlers, context)
4493
4666
  end
4494
4667
 
@@ -80,6 +80,8 @@ module Aws::Backup
80
80
  CreateFrameworkOutput = Shapes::StructureShape.new(name: 'CreateFrameworkOutput')
81
81
  CreateLegalHoldInput = Shapes::StructureShape.new(name: 'CreateLegalHoldInput')
82
82
  CreateLegalHoldOutput = Shapes::StructureShape.new(name: 'CreateLegalHoldOutput')
83
+ CreateLogicallyAirGappedBackupVaultInput = Shapes::StructureShape.new(name: 'CreateLogicallyAirGappedBackupVaultInput')
84
+ CreateLogicallyAirGappedBackupVaultOutput = Shapes::StructureShape.new(name: 'CreateLogicallyAirGappedBackupVaultOutput')
83
85
  CreateReportPlanInput = Shapes::StructureShape.new(name: 'CreateReportPlanInput')
84
86
  CreateReportPlanOutput = Shapes::StructureShape.new(name: 'CreateReportPlanOutput')
85
87
  CronExpression = Shapes::StringShape.new(name: 'CronExpression')
@@ -178,6 +180,8 @@ module Aws::Backup
178
180
  ListLegalHoldsInput = Shapes::StructureShape.new(name: 'ListLegalHoldsInput')
179
181
  ListLegalHoldsOutput = Shapes::StructureShape.new(name: 'ListLegalHoldsOutput')
180
182
  ListOfTags = Shapes::ListShape.new(name: 'ListOfTags')
183
+ ListProtectedResourcesByBackupVaultInput = Shapes::StructureShape.new(name: 'ListProtectedResourcesByBackupVaultInput')
184
+ ListProtectedResourcesByBackupVaultOutput = Shapes::StructureShape.new(name: 'ListProtectedResourcesByBackupVaultOutput')
181
185
  ListProtectedResourcesInput = Shapes::StructureShape.new(name: 'ListProtectedResourcesInput')
182
186
  ListProtectedResourcesOutput = Shapes::StructureShape.new(name: 'ListProtectedResourcesOutput')
183
187
  ListRecoveryPointsByBackupVaultInput = Shapes::StructureShape.new(name: 'ListRecoveryPointsByBackupVaultInput')
@@ -255,6 +259,7 @@ module Aws::Backup
255
259
  TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
256
260
  TagValue = Shapes::StringShape.new(name: 'TagValue')
257
261
  Tags = Shapes::MapShape.new(name: 'Tags')
262
+ Timezone = Shapes::StringShape.new(name: 'Timezone')
258
263
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
259
264
  UpdateBackupPlanInput = Shapes::StructureShape.new(name: 'UpdateBackupPlanInput')
260
265
  UpdateBackupPlanOutput = Shapes::StructureShape.new(name: 'UpdateBackupPlanOutput')
@@ -267,6 +272,8 @@ module Aws::Backup
267
272
  UpdateReportPlanInput = Shapes::StructureShape.new(name: 'UpdateReportPlanInput')
268
273
  UpdateReportPlanOutput = Shapes::StructureShape.new(name: 'UpdateReportPlanOutput')
269
274
  VaultNames = Shapes::ListShape.new(name: 'VaultNames')
275
+ VaultState = Shapes::StringShape.new(name: 'VaultState')
276
+ VaultType = Shapes::StringShape.new(name: 'VaultType')
270
277
  WindowMinutes = Shapes::IntegerShape.new(name: 'WindowMinutes')
271
278
  boolean = Shapes::BooleanShape.new(name: 'boolean')
272
279
  integer = Shapes::IntegerShape.new(name: 'integer')
@@ -364,6 +371,7 @@ module Aws::Backup
364
371
  BackupRule.add_member(:rule_id, Shapes::ShapeRef.new(shape: string, location_name: "RuleId"))
365
372
  BackupRule.add_member(:copy_actions, Shapes::ShapeRef.new(shape: CopyActions, location_name: "CopyActions"))
366
373
  BackupRule.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
374
+ BackupRule.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "ScheduleExpressionTimezone"))
367
375
  BackupRule.struct_class = Types::BackupRule
368
376
 
369
377
  BackupRuleInput.add_member(:rule_name, Shapes::ShapeRef.new(shape: BackupRuleName, required: true, location_name: "RuleName"))
@@ -375,6 +383,7 @@ module Aws::Backup
375
383
  BackupRuleInput.add_member(:recovery_point_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "RecoveryPointTags"))
376
384
  BackupRuleInput.add_member(:copy_actions, Shapes::ShapeRef.new(shape: CopyActions, location_name: "CopyActions"))
377
385
  BackupRuleInput.add_member(:enable_continuous_backup, Shapes::ShapeRef.new(shape: Boolean, location_name: "EnableContinuousBackup"))
386
+ BackupRuleInput.add_member(:schedule_expression_timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "ScheduleExpressionTimezone"))
378
387
  BackupRuleInput.struct_class = Types::BackupRuleInput
379
388
 
380
389
  BackupRules.member = Shapes::ShapeRef.new(shape: BackupRule)
@@ -556,6 +565,19 @@ module Aws::Backup
556
565
  CreateLegalHoldOutput.add_member(:recovery_point_selection, Shapes::ShapeRef.new(shape: RecoveryPointSelection, location_name: "RecoveryPointSelection"))
557
566
  CreateLegalHoldOutput.struct_class = Types::CreateLegalHoldOutput
558
567
 
568
+ CreateLogicallyAirGappedBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
569
+ CreateLogicallyAirGappedBackupVaultInput.add_member(:backup_vault_tags, Shapes::ShapeRef.new(shape: Tags, location_name: "BackupVaultTags"))
570
+ CreateLogicallyAirGappedBackupVaultInput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
571
+ CreateLogicallyAirGappedBackupVaultInput.add_member(:min_retention_days, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "MinRetentionDays"))
572
+ CreateLogicallyAirGappedBackupVaultInput.add_member(:max_retention_days, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "MaxRetentionDays"))
573
+ CreateLogicallyAirGappedBackupVaultInput.struct_class = Types::CreateLogicallyAirGappedBackupVaultInput
574
+
575
+ CreateLogicallyAirGappedBackupVaultOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
576
+ CreateLogicallyAirGappedBackupVaultOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
577
+ CreateLogicallyAirGappedBackupVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
578
+ CreateLogicallyAirGappedBackupVaultOutput.add_member(:vault_state, Shapes::ShapeRef.new(shape: VaultState, location_name: "VaultState"))
579
+ CreateLogicallyAirGappedBackupVaultOutput.struct_class = Types::CreateLogicallyAirGappedBackupVaultOutput
580
+
559
581
  CreateReportPlanInput.add_member(:report_plan_name, Shapes::ShapeRef.new(shape: ReportPlanName, required: true, location_name: "ReportPlanName"))
560
582
  CreateReportPlanInput.add_member(:report_plan_description, Shapes::ShapeRef.new(shape: ReportPlanDescription, location_name: "ReportPlanDescription"))
561
583
  CreateReportPlanInput.add_member(:report_delivery_channel, Shapes::ShapeRef.new(shape: ReportDeliveryChannel, required: true, location_name: "ReportDeliveryChannel"))
@@ -645,10 +667,12 @@ module Aws::Backup
645
667
  DescribeBackupJobOutput.struct_class = Types::DescribeBackupJobOutput
646
668
 
647
669
  DescribeBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupVaultName"))
670
+ DescribeBackupVaultInput.add_member(:backup_vault_account_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "backupVaultAccountId"))
648
671
  DescribeBackupVaultInput.struct_class = Types::DescribeBackupVaultInput
649
672
 
650
673
  DescribeBackupVaultOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: string, location_name: "BackupVaultName"))
651
674
  DescribeBackupVaultOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
675
+ DescribeBackupVaultOutput.add_member(:vault_type, Shapes::ShapeRef.new(shape: VaultType, location_name: "VaultType"))
652
676
  DescribeBackupVaultOutput.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "EncryptionKeyArn"))
653
677
  DescribeBackupVaultOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
654
678
  DescribeBackupVaultOutput.add_member(:creator_request_id, Shapes::ShapeRef.new(shape: string, location_name: "CreatorRequestId"))
@@ -695,6 +719,7 @@ module Aws::Backup
695
719
 
696
720
  DescribeRecoveryPointInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
697
721
  DescribeRecoveryPointInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
722
+ DescribeRecoveryPointInput.add_member(:backup_vault_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "backupVaultAccountId"))
698
723
  DescribeRecoveryPointInput.struct_class = Types::DescribeRecoveryPointInput
699
724
 
700
725
  DescribeRecoveryPointOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
@@ -863,6 +888,7 @@ module Aws::Backup
863
888
 
864
889
  GetRecoveryPointRestoreMetadataInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
865
890
  GetRecoveryPointRestoreMetadataInput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "recoveryPointArn"))
891
+ GetRecoveryPointRestoreMetadataInput.add_member(:backup_vault_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "backupVaultAccountId"))
866
892
  GetRecoveryPointRestoreMetadataInput.struct_class = Types::GetRecoveryPointRestoreMetadataInput
867
893
 
868
894
  GetRecoveryPointRestoreMetadataOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
@@ -968,6 +994,8 @@ module Aws::Backup
968
994
  ListBackupSelectionsOutput.add_member(:backup_selections_list, Shapes::ShapeRef.new(shape: BackupSelectionsList, location_name: "BackupSelectionsList"))
969
995
  ListBackupSelectionsOutput.struct_class = Types::ListBackupSelectionsOutput
970
996
 
997
+ ListBackupVaultsInput.add_member(:by_vault_type, Shapes::ShapeRef.new(shape: VaultType, location: "querystring", location_name: "vaultType"))
998
+ ListBackupVaultsInput.add_member(:by_shared, Shapes::ShapeRef.new(shape: boolean, location: "querystring", location_name: "shared"))
971
999
  ListBackupVaultsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
972
1000
  ListBackupVaultsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
973
1001
  ListBackupVaultsInput.struct_class = Types::ListBackupVaultsInput
@@ -1012,6 +1040,16 @@ module Aws::Backup
1012
1040
 
1013
1041
  ListOfTags.member = Shapes::ShapeRef.new(shape: Condition)
1014
1042
 
1043
+ ListProtectedResourcesByBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
1044
+ ListProtectedResourcesByBackupVaultInput.add_member(:backup_vault_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "backupVaultAccountId"))
1045
+ ListProtectedResourcesByBackupVaultInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
1046
+ ListProtectedResourcesByBackupVaultInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1047
+ ListProtectedResourcesByBackupVaultInput.struct_class = Types::ListProtectedResourcesByBackupVaultInput
1048
+
1049
+ ListProtectedResourcesByBackupVaultOutput.add_member(:results, Shapes::ShapeRef.new(shape: ProtectedResourcesList, location_name: "Results"))
1050
+ ListProtectedResourcesByBackupVaultOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
1051
+ ListProtectedResourcesByBackupVaultOutput.struct_class = Types::ListProtectedResourcesByBackupVaultOutput
1052
+
1015
1053
  ListProtectedResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
1016
1054
  ListProtectedResourcesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1017
1055
  ListProtectedResourcesInput.struct_class = Types::ListProtectedResourcesInput
@@ -1021,6 +1059,7 @@ module Aws::Backup
1021
1059
  ListProtectedResourcesOutput.struct_class = Types::ListProtectedResourcesOutput
1022
1060
 
1023
1061
  ListRecoveryPointsByBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
1062
+ ListRecoveryPointsByBackupVaultInput.add_member(:backup_vault_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "backupVaultAccountId"))
1024
1063
  ListRecoveryPointsByBackupVaultInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
1025
1064
  ListRecoveryPointsByBackupVaultInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
1026
1065
  ListRecoveryPointsByBackupVaultInput.add_member(:by_resource_arn, Shapes::ShapeRef.new(shape: ARN, location: "querystring", location_name: "resourceArn"))
@@ -1489,6 +1528,20 @@ module Aws::Backup
1489
1528
  o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1490
1529
  end)
1491
1530
 
1531
+ api.add_operation(:create_logically_air_gapped_backup_vault, Seahorse::Model::Operation.new.tap do |o|
1532
+ o.name = "CreateLogicallyAirGappedBackupVault"
1533
+ o.http_method = "PUT"
1534
+ o.http_request_uri = "/logically-air-gapped-backup-vaults/{backupVaultName}"
1535
+ o.input = Shapes::ShapeRef.new(shape: CreateLogicallyAirGappedBackupVaultInput)
1536
+ o.output = Shapes::ShapeRef.new(shape: CreateLogicallyAirGappedBackupVaultOutput)
1537
+ o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
1538
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1539
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
1540
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1541
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1542
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1543
+ end)
1544
+
1492
1545
  api.add_operation(:create_report_plan, Seahorse::Model::Operation.new.tap do |o|
1493
1546
  o.name = "CreateReportPlan"
1494
1547
  o.http_method = "POST"
@@ -2060,6 +2113,23 @@ module Aws::Backup
2060
2113
  )
2061
2114
  end)
2062
2115
 
2116
+ api.add_operation(:list_protected_resources_by_backup_vault, Seahorse::Model::Operation.new.tap do |o|
2117
+ o.name = "ListProtectedResourcesByBackupVault"
2118
+ o.http_method = "GET"
2119
+ o.http_request_uri = "/backup-vaults/{backupVaultName}/resources/"
2120
+ o.input = Shapes::ShapeRef.new(shape: ListProtectedResourcesByBackupVaultInput)
2121
+ o.output = Shapes::ShapeRef.new(shape: ListProtectedResourcesByBackupVaultOutput)
2122
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
2123
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2124
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
2125
+ o[:pager] = Aws::Pager.new(
2126
+ limit_key: "max_results",
2127
+ tokens: {
2128
+ "next_token" => "next_token"
2129
+ }
2130
+ )
2131
+ end)
2132
+
2063
2133
  api.add_operation(:list_recovery_points_by_backup_vault, Seahorse::Model::Operation.new.tap do |o|
2064
2134
  o.name = "ListRecoveryPointsByBackupVault"
2065
2135
  o.http_method = "GET"
@@ -96,6 +96,20 @@ module Aws::Backup
96
96
  end
97
97
  end
98
98
 
99
+ class CreateLogicallyAirGappedBackupVault
100
+ def self.build(context)
101
+ unless context.config.regional_endpoint
102
+ endpoint = context.config.endpoint.to_s
103
+ end
104
+ Aws::Backup::EndpointParameters.new(
105
+ region: context.config.region,
106
+ use_dual_stack: context.config.use_dualstack_endpoint,
107
+ use_fips: context.config.use_fips_endpoint,
108
+ endpoint: endpoint,
109
+ )
110
+ end
111
+ end
112
+
99
113
  class CreateReportPlan
100
114
  def self.build(context)
101
115
  unless context.config.regional_endpoint
@@ -698,6 +712,20 @@ module Aws::Backup
698
712
  end
699
713
  end
700
714
 
715
+ class ListProtectedResourcesByBackupVault
716
+ def self.build(context)
717
+ unless context.config.regional_endpoint
718
+ endpoint = context.config.endpoint.to_s
719
+ end
720
+ Aws::Backup::EndpointParameters.new(
721
+ region: context.config.region,
722
+ use_dual_stack: context.config.use_dualstack_endpoint,
723
+ use_fips: context.config.use_fips_endpoint,
724
+ endpoint: endpoint,
725
+ )
726
+ end
727
+ end
728
+
701
729
  class ListRecoveryPointsByBackupVault
702
730
  def self.build(context)
703
731
  unless context.config.regional_endpoint
@@ -68,6 +68,8 @@ module Aws::Backup
68
68
  Aws::Backup::Endpoints::CreateFramework.build(context)
69
69
  when :create_legal_hold
70
70
  Aws::Backup::Endpoints::CreateLegalHold.build(context)
71
+ when :create_logically_air_gapped_backup_vault
72
+ Aws::Backup::Endpoints::CreateLogicallyAirGappedBackupVault.build(context)
71
73
  when :create_report_plan
72
74
  Aws::Backup::Endpoints::CreateReportPlan.build(context)
73
75
  when :delete_backup_plan
@@ -154,6 +156,8 @@ module Aws::Backup
154
156
  Aws::Backup::Endpoints::ListLegalHolds.build(context)
155
157
  when :list_protected_resources
156
158
  Aws::Backup::Endpoints::ListProtectedResources.build(context)
159
+ when :list_protected_resources_by_backup_vault
160
+ Aws::Backup::Endpoints::ListProtectedResourcesByBackupVault.build(context)
157
161
  when :list_recovery_points_by_backup_vault
158
162
  Aws::Backup::Endpoints::ListRecoveryPointsByBackupVault.build(context)
159
163
  when :list_recovery_points_by_legal_hold
@@ -139,7 +139,7 @@ module Aws::Backup
139
139
  # @return [Time]
140
140
  #
141
141
  # @!attribute [rw] state
142
- # The current state of a resource recovery point.
142
+ # The current state of a backup job.
143
143
  # @return [String]
144
144
  #
145
145
  # @!attribute [rw] status_message
@@ -507,6 +507,12 @@ module Aws::Backup
507
507
  # backups.
508
508
  # @return [Boolean]
509
509
  #
510
+ # @!attribute [rw] schedule_expression_timezone
511
+ # This is the timezone in which the schedule expression is set. By
512
+ # default, ScheduleExpressions are in UTC. You can modify this to a
513
+ # specified timezone.
514
+ # @return [String]
515
+ #
510
516
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupRule AWS API Documentation
511
517
  #
512
518
  class BackupRule < Struct.new(
@@ -519,7 +525,8 @@ module Aws::Backup
519
525
  :recovery_point_tags,
520
526
  :rule_id,
521
527
  :copy_actions,
522
- :enable_continuous_backup)
528
+ :enable_continuous_backup,
529
+ :schedule_expression_timezone)
523
530
  SENSITIVE = [:recovery_point_tags]
524
531
  include Aws::Structure
525
532
  end
@@ -549,6 +556,9 @@ module Aws::Backup
549
556
  # If this value is included, it must be at least 60 minutes to avoid
550
557
  # errors.
551
558
  #
559
+ # This parameter has a maximum value of 100 years (52,560,000
560
+ # minutes).
561
+ #
552
562
  # During the start window, the backup job status remains in `CREATED`
553
563
  # status until it has successfully begun or until the start window
554
564
  # time has run out. If within the start window time Backup receives an
@@ -581,6 +591,8 @@ module Aws::Backup
581
591
  # availability by resource][1] table. Backup ignores this expression
582
592
  # for other resource types.
583
593
  #
594
+ # This parameter has a maximum value of 100 years (36,500 days).
595
+ #
584
596
  #
585
597
  #
586
598
  # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
@@ -603,6 +615,12 @@ module Aws::Backup
603
615
  # backups.
604
616
  # @return [Boolean]
605
617
  #
618
+ # @!attribute [rw] schedule_expression_timezone
619
+ # This is the timezone in which the schedule expression is set. By
620
+ # default, ScheduleExpressions are in UTC. You can modify this to a
621
+ # specified timezone.
622
+ # @return [String]
623
+ #
606
624
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupRuleInput AWS API Documentation
607
625
  #
608
626
  class BackupRuleInput < Struct.new(
@@ -614,7 +632,8 @@ module Aws::Backup
614
632
  :lifecycle,
615
633
  :recovery_point_tags,
616
634
  :copy_actions,
617
- :enable_continuous_backup)
635
+ :enable_continuous_backup,
636
+ :schedule_expression_timezone)
618
637
  SENSITIVE = [:recovery_point_tags]
619
638
  include Aws::Structure
620
639
  end
@@ -1652,6 +1671,91 @@ module Aws::Backup
1652
1671
  include Aws::Structure
1653
1672
  end
1654
1673
 
1674
+ # @!attribute [rw] backup_vault_name
1675
+ # This is the name of the vault that is being created.
1676
+ # @return [String]
1677
+ #
1678
+ # @!attribute [rw] backup_vault_tags
1679
+ # These are the tags that will be included in the newly-created vault.
1680
+ # @return [Hash<String,String>]
1681
+ #
1682
+ # @!attribute [rw] creator_request_id
1683
+ # This is the ID of the creation request.
1684
+ # @return [String]
1685
+ #
1686
+ # @!attribute [rw] min_retention_days
1687
+ # This setting specifies the minimum retention period that the vault
1688
+ # retains its recovery points. If this parameter is not specified, no
1689
+ # minimum retention period is enforced.
1690
+ #
1691
+ # If specified, any backup or copy job to the vault must have a
1692
+ # lifecycle policy with a retention period equal to or longer than the
1693
+ # minimum retention period. If a job retention period is shorter than
1694
+ # that minimum retention period, then the vault fails the backup or
1695
+ # copy job, and you should either modify your lifecycle settings or
1696
+ # use a different vault.
1697
+ # @return [Integer]
1698
+ #
1699
+ # @!attribute [rw] max_retention_days
1700
+ # This is the setting that specifies the maximum retention period that
1701
+ # the vault retains its recovery points. If this parameter is not
1702
+ # specified, Backup does not enforce a maximum retention period on the
1703
+ # recovery points in the vault (allowing indefinite storage).
1704
+ #
1705
+ # If specified, any backup or copy job to the vault must have a
1706
+ # lifecycle policy with a retention period equal to or shorter than
1707
+ # the maximum retention period. If the job retention period is longer
1708
+ # than that maximum retention period, then the vault fails the backup
1709
+ # or copy job, and you should either modify your lifecycle settings or
1710
+ # use a different vault.
1711
+ # @return [Integer]
1712
+ #
1713
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateLogicallyAirGappedBackupVaultInput AWS API Documentation
1714
+ #
1715
+ class CreateLogicallyAirGappedBackupVaultInput < Struct.new(
1716
+ :backup_vault_name,
1717
+ :backup_vault_tags,
1718
+ :creator_request_id,
1719
+ :min_retention_days,
1720
+ :max_retention_days)
1721
+ SENSITIVE = [:backup_vault_tags]
1722
+ include Aws::Structure
1723
+ end
1724
+
1725
+ # @!attribute [rw] backup_vault_name
1726
+ # The name of a logical container where backups are stored. Logically
1727
+ # air-gapped backup vaults are identified by names that are unique to
1728
+ # the account used to create them and the Region where they are
1729
+ # created. They consist of lowercase letters, numbers, and hyphens.
1730
+ # @return [String]
1731
+ #
1732
+ # @!attribute [rw] backup_vault_arn
1733
+ # This is the ARN (Amazon Resource Name) of the vault being created.
1734
+ # @return [String]
1735
+ #
1736
+ # @!attribute [rw] creation_date
1737
+ # The date and time when the vault was created.
1738
+ #
1739
+ # This value is in Unix format, Coordinated Universal Time (UTC), and
1740
+ # accurate to milliseconds. For example, the value 1516925490.087
1741
+ # represents Friday, January 26, 2018 12:11:30.087 AM.
1742
+ # @return [Time]
1743
+ #
1744
+ # @!attribute [rw] vault_state
1745
+ # This is the current state of the vault.
1746
+ # @return [String]
1747
+ #
1748
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateLogicallyAirGappedBackupVaultOutput AWS API Documentation
1749
+ #
1750
+ class CreateLogicallyAirGappedBackupVaultOutput < Struct.new(
1751
+ :backup_vault_name,
1752
+ :backup_vault_arn,
1753
+ :creation_date,
1754
+ :vault_state)
1755
+ SENSITIVE = []
1756
+ include Aws::Structure
1757
+ end
1758
+
1655
1759
  # @!attribute [rw] report_plan_name
1656
1760
  # The unique name of the report plan. The name must be between 1 and
1657
1761
  # 256 characters, starting with a letter, and consisting of letters
@@ -2019,7 +2123,7 @@ module Aws::Backup
2019
2123
  # @return [Time]
2020
2124
  #
2021
2125
  # @!attribute [rw] state
2022
- # The current state of a resource recovery point.
2126
+ # The current state of a backup job.
2023
2127
  # @return [String]
2024
2128
  #
2025
2129
  # @!attribute [rw] status_message
@@ -2151,10 +2255,15 @@ module Aws::Backup
2151
2255
  # created. They consist of lowercase letters, numbers, and hyphens.
2152
2256
  # @return [String]
2153
2257
  #
2258
+ # @!attribute [rw] backup_vault_account_id
2259
+ # This is the account ID of the specified backup vault.
2260
+ # @return [String]
2261
+ #
2154
2262
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupVaultInput AWS API Documentation
2155
2263
  #
2156
2264
  class DescribeBackupVaultInput < Struct.new(
2157
- :backup_vault_name)
2265
+ :backup_vault_name,
2266
+ :backup_vault_account_id)
2158
2267
  SENSITIVE = []
2159
2268
  include Aws::Structure
2160
2269
  end
@@ -2172,6 +2281,10 @@ module Aws::Backup
2172
2281
  # `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
2173
2282
  # @return [String]
2174
2283
  #
2284
+ # @!attribute [rw] vault_type
2285
+ # This is the type of vault described.
2286
+ # @return [String]
2287
+ #
2175
2288
  # @!attribute [rw] encryption_key_arn
2176
2289
  # The server-side encryption key that is used to protect your backups;
2177
2290
  # for example,
@@ -2251,6 +2364,7 @@ module Aws::Backup
2251
2364
  class DescribeBackupVaultOutput < Struct.new(
2252
2365
  :backup_vault_name,
2253
2366
  :backup_vault_arn,
2367
+ :vault_type,
2254
2368
  :encryption_key_arn,
2255
2369
  :creation_date,
2256
2370
  :creator_request_id,
@@ -2458,11 +2572,16 @@ module Aws::Backup
2458
2572
  # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
2459
2573
  # @return [String]
2460
2574
  #
2575
+ # @!attribute [rw] backup_vault_account_id
2576
+ # This is the account ID of the specified backup vault.
2577
+ # @return [String]
2578
+ #
2461
2579
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRecoveryPointInput AWS API Documentation
2462
2580
  #
2463
2581
  class DescribeRecoveryPointInput < Struct.new(
2464
2582
  :backup_vault_name,
2465
- :recovery_point_arn)
2583
+ :recovery_point_arn,
2584
+ :backup_vault_account_id)
2466
2585
  SENSITIVE = []
2467
2586
  include Aws::Structure
2468
2587
  end
@@ -3016,8 +3135,7 @@ module Aws::Backup
3016
3135
  # The scope of a control. The control scope defines what the control
3017
3136
  # will evaluate. Three examples of control scopes are: a specific
3018
3137
  # backup plan, all backup plans with a specific tag, or all backup
3019
- # plans. For more information, see [
3020
- # `ControlScope`.](aws-backup/latest/devguide/API_ControlScope.html)
3138
+ # plans.
3021
3139
  # @return [Types::ControlScope]
3022
3140
  #
3023
3141
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/FrameworkControl AWS API Documentation
@@ -3404,11 +3522,16 @@ module Aws::Backup
3404
3522
  # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
3405
3523
  # @return [String]
3406
3524
  #
3525
+ # @!attribute [rw] backup_vault_account_id
3526
+ # This is the account ID of the specified backup vault.
3527
+ # @return [String]
3528
+ #
3407
3529
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetRecoveryPointRestoreMetadataInput AWS API Documentation
3408
3530
  #
3409
3531
  class GetRecoveryPointRestoreMetadataInput < Struct.new(
3410
3532
  :backup_vault_name,
3411
- :recovery_point_arn)
3533
+ :recovery_point_arn,
3534
+ :backup_vault_account_id)
3412
3535
  SENSITIVE = []
3413
3536
  include Aws::Structure
3414
3537
  end
@@ -3976,6 +4099,14 @@ module Aws::Backup
3976
4099
  include Aws::Structure
3977
4100
  end
3978
4101
 
4102
+ # @!attribute [rw] by_vault_type
4103
+ # This parameter will sort the list of vaults by vault type.
4104
+ # @return [String]
4105
+ #
4106
+ # @!attribute [rw] by_shared
4107
+ # This parameter will sort the list of vaults by shared vaults.
4108
+ # @return [Boolean]
4109
+ #
3979
4110
  # @!attribute [rw] next_token
3980
4111
  # The next item following a partial list of returned items. For
3981
4112
  # example, if a request is made to return `maxResults` number of
@@ -3990,6 +4121,8 @@ module Aws::Backup
3990
4121
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupVaultsInput AWS API Documentation
3991
4122
  #
3992
4123
  class ListBackupVaultsInput < Struct.new(
4124
+ :by_vault_type,
4125
+ :by_shared,
3993
4126
  :next_token,
3994
4127
  :max_results)
3995
4128
  SENSITIVE = []
@@ -4221,6 +4354,59 @@ module Aws::Backup
4221
4354
  include Aws::Structure
4222
4355
  end
4223
4356
 
4357
+ # @!attribute [rw] backup_vault_name
4358
+ # This is the list of protected resources by backup vault within the
4359
+ # vault(s) you specify by name.
4360
+ # @return [String]
4361
+ #
4362
+ # @!attribute [rw] backup_vault_account_id
4363
+ # This is the list of protected resources by backup vault within the
4364
+ # vault(s) you specify by account ID.
4365
+ # @return [String]
4366
+ #
4367
+ # @!attribute [rw] next_token
4368
+ # The next item following a partial list of returned items. For
4369
+ # example, if a request is made to return `maxResults` number of
4370
+ # items, `NextToken` allows you to return more items in your list
4371
+ # starting at the location pointed to by the next token.
4372
+ # @return [String]
4373
+ #
4374
+ # @!attribute [rw] max_results
4375
+ # The maximum number of items to be returned.
4376
+ # @return [Integer]
4377
+ #
4378
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListProtectedResourcesByBackupVaultInput AWS API Documentation
4379
+ #
4380
+ class ListProtectedResourcesByBackupVaultInput < Struct.new(
4381
+ :backup_vault_name,
4382
+ :backup_vault_account_id,
4383
+ :next_token,
4384
+ :max_results)
4385
+ SENSITIVE = []
4386
+ include Aws::Structure
4387
+ end
4388
+
4389
+ # @!attribute [rw] results
4390
+ # These are the results returned for the request
4391
+ # ListProtectedResourcesByBackupVault.
4392
+ # @return [Array<Types::ProtectedResource>]
4393
+ #
4394
+ # @!attribute [rw] next_token
4395
+ # The next item following a partial list of returned items. For
4396
+ # example, if a request is made to return `maxResults` number of
4397
+ # items, `NextToken` allows you to return more items in your list
4398
+ # starting at the location pointed to by the next token.
4399
+ # @return [String]
4400
+ #
4401
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListProtectedResourcesByBackupVaultOutput AWS API Documentation
4402
+ #
4403
+ class ListProtectedResourcesByBackupVaultOutput < Struct.new(
4404
+ :results,
4405
+ :next_token)
4406
+ SENSITIVE = []
4407
+ include Aws::Structure
4408
+ end
4409
+
4224
4410
  # @!attribute [rw] next_token
4225
4411
  # The next item following a partial list of returned items. For
4226
4412
  # example, if a request is made to return `maxResults` number of
@@ -4275,6 +4461,10 @@ module Aws::Backup
4275
4461
  # </note>
4276
4462
  # @return [String]
4277
4463
  #
4464
+ # @!attribute [rw] backup_vault_account_id
4465
+ # This parameter will sort the list of recovery points by account ID.
4466
+ # @return [String]
4467
+ #
4278
4468
  # @!attribute [rw] next_token
4279
4469
  # The next item following a partial list of returned items. For
4280
4470
  # example, if a request is made to return `maxResults` number of
@@ -4319,6 +4509,7 @@ module Aws::Backup
4319
4509
  #
4320
4510
  class ListRecoveryPointsByBackupVaultInput < Struct.new(
4321
4511
  :backup_vault_name,
4512
+ :backup_vault_account_id,
4322
4513
  :next_token,
4323
4514
  :max_results,
4324
4515
  :by_resource_arn,
@@ -5678,6 +5869,9 @@ module Aws::Backup
5678
5869
  # and the default is 8 hours. If this value is included, it must be at
5679
5870
  # least 60 minutes to avoid errors.
5680
5871
  #
5872
+ # This parameter has a maximum value of 100 years (52,560,000
5873
+ # minutes).
5874
+ #
5681
5875
  # During the start window, the backup job status remains in `CREATED`
5682
5876
  # status until it has successfully begun or until the start window
5683
5877
  # time has run out. If within the start window time Backup receives an
@@ -5694,6 +5888,9 @@ module Aws::Backup
5694
5888
  # optional. This value begins counting down from when the backup was
5695
5889
  # scheduled. It does not add additional time for `StartWindowMinutes`,
5696
5890
  # or if the backup started later than scheduled.
5891
+ #
5892
+ # Like `StartWindowMinutes`, this parameter has a maximum value of 100
5893
+ # years (52,560,000 minutes).
5697
5894
  # @return [Integer]
5698
5895
  #
5699
5896
  # @!attribute [rw] lifecycle
@@ -5712,6 +5909,8 @@ module Aws::Backup
5712
5909
  # availability by resource][1] table. Backup ignores this expression
5713
5910
  # for other resource types.
5714
5911
  #
5912
+ # This parameter has a maximum value of 100 years (36,500 days).
5913
+ #
5715
5914
  #
5716
5915
  #
5717
5916
  # [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/whatisbackup.html#features-by-resource
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-backup/customizations'
52
52
  # @!group service
53
53
  module Aws::Backup
54
54
 
55
- GEM_VERSION = '1.56.0'
55
+ GEM_VERSION = '1.58.0'
56
56
 
57
57
  end
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.56.0
4
+ version: 1.58.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: 2023-07-11 00:00:00.000000000 Z
11
+ date: 2023-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core