aws-sdk-backup 1.14.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -37,11 +39,16 @@ module Aws::Backup
37
39
  :arn,
38
40
  :type,
39
41
  :context)
42
+ SENSITIVE = []
40
43
  include Aws::Structure
41
44
  end
42
45
 
43
46
  # Contains detailed information about a backup job.
44
47
  #
48
+ # @!attribute [rw] account_id
49
+ # The account ID that owns the backup job.
50
+ # @return [String]
51
+ #
45
52
  # @!attribute [rw] backup_job_id
46
53
  # Uniquely identifies a request to AWS Backup to back up a resource.
47
54
  # @return [String]
@@ -145,6 +152,7 @@ module Aws::Backup
145
152
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupJob AWS API Documentation
146
153
  #
147
154
  class BackupJob < Struct.new(
155
+ :account_id,
148
156
  :backup_job_id,
149
157
  :backup_vault_name,
150
158
  :backup_vault_arn,
@@ -162,6 +170,7 @@ module Aws::Backup
162
170
  :start_by,
163
171
  :resource_type,
164
172
  :bytes_transferred)
173
+ SENSITIVE = []
165
174
  include Aws::Structure
166
175
  end
167
176
 
@@ -184,6 +193,7 @@ module Aws::Backup
184
193
  class BackupPlan < Struct.new(
185
194
  :backup_plan_name,
186
195
  :rules)
196
+ SENSITIVE = []
187
197
  include Aws::Structure
188
198
  end
189
199
 
@@ -225,7 +235,7 @@ module Aws::Backup
225
235
  # }
226
236
  #
227
237
  # @!attribute [rw] backup_plan_name
228
- # The display name of a backup plan.
238
+ # The optional display name of a backup plan.
229
239
  # @return [String]
230
240
  #
231
241
  # @!attribute [rw] rules
@@ -238,6 +248,7 @@ module Aws::Backup
238
248
  class BackupPlanInput < Struct.new(
239
249
  :backup_plan_name,
240
250
  :rules)
251
+ SENSITIVE = []
241
252
  include Aws::Structure
242
253
  end
243
254
 
@@ -256,6 +267,7 @@ module Aws::Backup
256
267
  class BackupPlanTemplatesListMember < Struct.new(
257
268
  :backup_plan_template_id,
258
269
  :backup_plan_template_name)
270
+ SENSITIVE = []
259
271
  include Aws::Structure
260
272
  end
261
273
 
@@ -319,6 +331,7 @@ module Aws::Backup
319
331
  :backup_plan_name,
320
332
  :creator_request_id,
321
333
  :last_execution_date)
334
+ SENSITIVE = []
322
335
  include Aws::Structure
323
336
  end
324
337
 
@@ -389,6 +402,7 @@ module Aws::Backup
389
402
  :recovery_point_tags,
390
403
  :rule_id,
391
404
  :copy_actions)
405
+ SENSITIVE = [:recovery_point_tags]
392
406
  include Aws::Structure
393
407
  end
394
408
 
@@ -481,6 +495,7 @@ module Aws::Backup
481
495
  :lifecycle,
482
496
  :recovery_point_tags,
483
497
  :copy_actions)
498
+ SENSITIVE = [:recovery_point_tags]
484
499
  include Aws::Structure
485
500
  end
486
501
 
@@ -530,6 +545,7 @@ module Aws::Backup
530
545
  :iam_role_arn,
531
546
  :resources,
532
547
  :list_of_tags)
548
+ SENSITIVE = []
533
549
  include Aws::Structure
534
550
  end
535
551
 
@@ -576,6 +592,7 @@ module Aws::Backup
576
592
  :creation_date,
577
593
  :creator_request_id,
578
594
  :iam_role_arn)
595
+ SENSITIVE = []
579
596
  include Aws::Structure
580
597
  end
581
598
 
@@ -626,6 +643,7 @@ module Aws::Backup
626
643
  :encryption_key_arn,
627
644
  :creator_request_id,
628
645
  :number_of_recovery_points)
646
+ SENSITIVE = []
629
647
  include Aws::Structure
630
648
  end
631
649
 
@@ -656,6 +674,7 @@ module Aws::Backup
656
674
  class CalculatedLifecycle < Struct.new(
657
675
  :move_to_cold_storage_at,
658
676
  :delete_at)
677
+ SENSITIVE = []
659
678
  include Aws::Structure
660
679
  end
661
680
 
@@ -695,6 +714,7 @@ module Aws::Backup
695
714
  :condition_type,
696
715
  :condition_key,
697
716
  :condition_value)
717
+ SENSITIVE = []
698
718
  include Aws::Structure
699
719
  end
700
720
 
@@ -735,11 +755,16 @@ module Aws::Backup
735
755
  class CopyAction < Struct.new(
736
756
  :lifecycle,
737
757
  :destination_backup_vault_arn)
758
+ SENSITIVE = []
738
759
  include Aws::Structure
739
760
  end
740
761
 
741
762
  # Contains detailed information about a copy job.
742
763
  #
764
+ # @!attribute [rw] account_id
765
+ # The account ID that owns the copy job.
766
+ # @return [String]
767
+ #
743
768
  # @!attribute [rw] copy_job_id
744
769
  # Uniquely identifies a copy job.
745
770
  # @return [String]
@@ -776,14 +801,14 @@ module Aws::Backup
776
801
  #
777
802
  # @!attribute [rw] creation_date
778
803
  # The date and time a copy job is created, in Unix format and
779
- # Coordinated Universal Time (UTC). The value of CreationDate is
804
+ # Coordinated Universal Time (UTC). The value of `CreationDate` is
780
805
  # accurate to milliseconds. For example, the value 1516925490.087
781
806
  # represents Friday, January 26, 2018 12:11:30.087 AM.
782
807
  # @return [Time]
783
808
  #
784
809
  # @!attribute [rw] completion_date
785
810
  # The date and time a copy job is completed, in Unix format and
786
- # Coordinated Universal Time (UTC). The value of CompletionDate is
811
+ # Coordinated Universal Time (UTC). The value of `CompletionDate` is
787
812
  # accurate to milliseconds. For example, the value 1516925490.087
788
813
  # represents Friday, January 26, 2018 12:11:30.087 AM.
789
814
  # @return [Time]
@@ -820,6 +845,7 @@ module Aws::Backup
820
845
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CopyJob AWS API Documentation
821
846
  #
822
847
  class CopyJob < Struct.new(
848
+ :account_id,
823
849
  :copy_job_id,
824
850
  :source_backup_vault_arn,
825
851
  :source_recovery_point_arn,
@@ -834,6 +860,7 @@ module Aws::Backup
834
860
  :iam_role_arn,
835
861
  :created_by,
836
862
  :resource_type)
863
+ SENSITIVE = []
837
864
  include Aws::Structure
838
865
  end
839
866
 
@@ -899,6 +926,7 @@ module Aws::Backup
899
926
  :backup_plan,
900
927
  :backup_plan_tags,
901
928
  :creator_request_id)
929
+ SENSITIVE = [:backup_plan_tags]
902
930
  include Aws::Structure
903
931
  end
904
932
 
@@ -931,6 +959,7 @@ module Aws::Backup
931
959
  :backup_plan_arn,
932
960
  :creation_date,
933
961
  :version_id)
962
+ SENSITIVE = []
934
963
  include Aws::Structure
935
964
  end
936
965
 
@@ -976,6 +1005,7 @@ module Aws::Backup
976
1005
  :backup_plan_id,
977
1006
  :backup_selection,
978
1007
  :creator_request_id)
1008
+ SENSITIVE = []
979
1009
  include Aws::Structure
980
1010
  end
981
1011
 
@@ -1001,6 +1031,7 @@ module Aws::Backup
1001
1031
  :selection_id,
1002
1032
  :backup_plan_id,
1003
1033
  :creation_date)
1034
+ SENSITIVE = []
1004
1035
  include Aws::Structure
1005
1036
  end
1006
1037
 
@@ -1047,6 +1078,7 @@ module Aws::Backup
1047
1078
  :backup_vault_tags,
1048
1079
  :encryption_key_arn,
1049
1080
  :creator_request_id)
1081
+ SENSITIVE = [:backup_vault_tags]
1050
1082
  include Aws::Structure
1051
1083
  end
1052
1084
 
@@ -1076,6 +1108,7 @@ module Aws::Backup
1076
1108
  :backup_vault_name,
1077
1109
  :backup_vault_arn,
1078
1110
  :creation_date)
1111
+ SENSITIVE = []
1079
1112
  include Aws::Structure
1080
1113
  end
1081
1114
 
@@ -1094,6 +1127,7 @@ module Aws::Backup
1094
1127
  #
1095
1128
  class DeleteBackupPlanInput < Struct.new(
1096
1129
  :backup_plan_id)
1130
+ SENSITIVE = []
1097
1131
  include Aws::Structure
1098
1132
  end
1099
1133
 
@@ -1109,7 +1143,7 @@ module Aws::Backup
1109
1143
  #
1110
1144
  # @!attribute [rw] deletion_date
1111
1145
  # The date and time a backup plan is deleted, in Unix format and
1112
- # Coordinated Universal Time (UTC). The value of `CreationDate` is
1146
+ # Coordinated Universal Time (UTC). The value of `DeletionDate` is
1113
1147
  # accurate to milliseconds. For example, the value 1516925490.087
1114
1148
  # represents Friday, January 26, 2018 12:11:30.087 AM.
1115
1149
  # @return [Time]
@@ -1126,6 +1160,7 @@ module Aws::Backup
1126
1160
  :backup_plan_arn,
1127
1161
  :deletion_date,
1128
1162
  :version_id)
1163
+ SENSITIVE = []
1129
1164
  include Aws::Structure
1130
1165
  end
1131
1166
 
@@ -1151,6 +1186,7 @@ module Aws::Backup
1151
1186
  class DeleteBackupSelectionInput < Struct.new(
1152
1187
  :backup_plan_id,
1153
1188
  :selection_id)
1189
+ SENSITIVE = []
1154
1190
  include Aws::Structure
1155
1191
  end
1156
1192
 
@@ -1172,6 +1208,7 @@ module Aws::Backup
1172
1208
  #
1173
1209
  class DeleteBackupVaultAccessPolicyInput < Struct.new(
1174
1210
  :backup_vault_name)
1211
+ SENSITIVE = []
1175
1212
  include Aws::Structure
1176
1213
  end
1177
1214
 
@@ -1193,6 +1230,7 @@ module Aws::Backup
1193
1230
  #
1194
1231
  class DeleteBackupVaultInput < Struct.new(
1195
1232
  :backup_vault_name)
1233
+ SENSITIVE = []
1196
1234
  include Aws::Structure
1197
1235
  end
1198
1236
 
@@ -1214,6 +1252,7 @@ module Aws::Backup
1214
1252
  #
1215
1253
  class DeleteBackupVaultNotificationsInput < Struct.new(
1216
1254
  :backup_vault_name)
1255
+ SENSITIVE = []
1217
1256
  include Aws::Structure
1218
1257
  end
1219
1258
 
@@ -1243,6 +1282,7 @@ module Aws::Backup
1243
1282
  class DeleteRecoveryPointInput < Struct.new(
1244
1283
  :backup_vault_name,
1245
1284
  :recovery_point_arn)
1285
+ SENSITIVE = []
1246
1286
  include Aws::Structure
1247
1287
  end
1248
1288
 
@@ -1268,6 +1308,7 @@ module Aws::Backup
1268
1308
  :message,
1269
1309
  :type,
1270
1310
  :context)
1311
+ SENSITIVE = []
1271
1312
  include Aws::Structure
1272
1313
  end
1273
1314
 
@@ -1286,9 +1327,14 @@ module Aws::Backup
1286
1327
  #
1287
1328
  class DescribeBackupJobInput < Struct.new(
1288
1329
  :backup_job_id)
1330
+ SENSITIVE = []
1289
1331
  include Aws::Structure
1290
1332
  end
1291
1333
 
1334
+ # @!attribute [rw] account_id
1335
+ # Returns the account ID that owns the backup job.
1336
+ # @return [String]
1337
+ #
1292
1338
  # @!attribute [rw] backup_job_id
1293
1339
  # Uniquely identifies a request to AWS Backup to back up a resource.
1294
1340
  # @return [String]
@@ -1326,7 +1372,7 @@ module Aws::Backup
1326
1372
  # @!attribute [rw] completion_date
1327
1373
  # The date and time that a job to create a backup job is completed, in
1328
1374
  # Unix format and Coordinated Universal Time (UTC). The value of
1329
- # `CreationDate` is accurate to milliseconds. For example, the value
1375
+ # `CompletionDate` is accurate to milliseconds. For example, the value
1330
1376
  # 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
1331
1377
  # @return [Time]
1332
1378
  #
@@ -1392,6 +1438,7 @@ module Aws::Backup
1392
1438
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupJobOutput AWS API Documentation
1393
1439
  #
1394
1440
  class DescribeBackupJobOutput < Struct.new(
1441
+ :account_id,
1395
1442
  :backup_job_id,
1396
1443
  :backup_vault_name,
1397
1444
  :backup_vault_arn,
@@ -1409,6 +1456,7 @@ module Aws::Backup
1409
1456
  :bytes_transferred,
1410
1457
  :expected_completion_date,
1411
1458
  :start_by)
1459
+ SENSITIVE = []
1412
1460
  include Aws::Structure
1413
1461
  end
1414
1462
 
@@ -1430,6 +1478,7 @@ module Aws::Backup
1430
1478
  #
1431
1479
  class DescribeBackupVaultInput < Struct.new(
1432
1480
  :backup_vault_name)
1481
+ SENSITIVE = []
1433
1482
  include Aws::Structure
1434
1483
  end
1435
1484
 
@@ -1478,6 +1527,7 @@ module Aws::Backup
1478
1527
  :creation_date,
1479
1528
  :creator_request_id,
1480
1529
  :number_of_recovery_points)
1530
+ SENSITIVE = []
1481
1531
  include Aws::Structure
1482
1532
  end
1483
1533
 
@@ -1496,6 +1546,7 @@ module Aws::Backup
1496
1546
  #
1497
1547
  class DescribeCopyJobInput < Struct.new(
1498
1548
  :copy_job_id)
1549
+ SENSITIVE = []
1499
1550
  include Aws::Structure
1500
1551
  end
1501
1552
 
@@ -1507,6 +1558,7 @@ module Aws::Backup
1507
1558
  #
1508
1559
  class DescribeCopyJobOutput < Struct.new(
1509
1560
  :copy_job)
1561
+ SENSITIVE = []
1510
1562
  include Aws::Structure
1511
1563
  end
1512
1564
 
@@ -1526,6 +1578,7 @@ module Aws::Backup
1526
1578
  #
1527
1579
  class DescribeProtectedResourceInput < Struct.new(
1528
1580
  :resource_arn)
1581
+ SENSITIVE = []
1529
1582
  include Aws::Structure
1530
1583
  end
1531
1584
 
@@ -1552,6 +1605,7 @@ module Aws::Backup
1552
1605
  :resource_arn,
1553
1606
  :resource_type,
1554
1607
  :last_backup_time)
1608
+ SENSITIVE = []
1555
1609
  include Aws::Structure
1556
1610
  end
1557
1611
 
@@ -1581,6 +1635,7 @@ module Aws::Backup
1581
1635
  class DescribeRecoveryPointInput < Struct.new(
1582
1636
  :backup_vault_name,
1583
1637
  :recovery_point_arn)
1638
+ SENSITIVE = []
1584
1639
  include Aws::Structure
1585
1640
  end
1586
1641
 
@@ -1714,6 +1769,7 @@ module Aws::Backup
1714
1769
  :is_encrypted,
1715
1770
  :storage_class,
1716
1771
  :last_restore_time)
1772
+ SENSITIVE = []
1717
1773
  include Aws::Structure
1718
1774
  end
1719
1775
 
@@ -1732,6 +1788,7 @@ module Aws::Backup
1732
1788
  #
1733
1789
  class DescribeRegionSettingsOutput < Struct.new(
1734
1790
  :resource_type_opt_in_preference)
1791
+ SENSITIVE = []
1735
1792
  include Aws::Structure
1736
1793
  end
1737
1794
 
@@ -1750,9 +1807,14 @@ module Aws::Backup
1750
1807
  #
1751
1808
  class DescribeRestoreJobInput < Struct.new(
1752
1809
  :restore_job_id)
1810
+ SENSITIVE = []
1753
1811
  include Aws::Structure
1754
1812
  end
1755
1813
 
1814
+ # @!attribute [rw] account_id
1815
+ # Returns the account ID that owns the restore job.
1816
+ # @return [String]
1817
+ #
1756
1818
  # @!attribute [rw] restore_job_id
1757
1819
  # Uniquely identifies the job that restores a recovery point.
1758
1820
  # @return [String]
@@ -1783,8 +1845,7 @@ module Aws::Backup
1783
1845
  # @return [String]
1784
1846
  #
1785
1847
  # @!attribute [rw] status_message
1786
- # A detailed message explaining the status of a job to restore a
1787
- # recovery point.
1848
+ # A message showing the status of a job to restore a recovery point.
1788
1849
  # @return [String]
1789
1850
  #
1790
1851
  # @!attribute [rw] percent_done
@@ -1812,9 +1873,15 @@ module Aws::Backup
1812
1873
  # depends on the resource type of the backed-up resource.
1813
1874
  # @return [String]
1814
1875
  #
1876
+ # @!attribute [rw] resource_type
1877
+ # Returns metadata associated with a restore job listed by resource
1878
+ # type.
1879
+ # @return [String]
1880
+ #
1815
1881
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRestoreJobOutput AWS API Documentation
1816
1882
  #
1817
1883
  class DescribeRestoreJobOutput < Struct.new(
1884
+ :account_id,
1818
1885
  :restore_job_id,
1819
1886
  :recovery_point_arn,
1820
1887
  :creation_date,
@@ -1825,7 +1892,9 @@ module Aws::Backup
1825
1892
  :backup_size_in_bytes,
1826
1893
  :iam_role_arn,
1827
1894
  :expected_completion_time_minutes,
1828
- :created_resource_arn)
1895
+ :created_resource_arn,
1896
+ :resource_type)
1897
+ SENSITIVE = []
1829
1898
  include Aws::Structure
1830
1899
  end
1831
1900
 
@@ -1844,6 +1913,7 @@ module Aws::Backup
1844
1913
  #
1845
1914
  class ExportBackupPlanTemplateInput < Struct.new(
1846
1915
  :backup_plan_id)
1916
+ SENSITIVE = []
1847
1917
  include Aws::Structure
1848
1918
  end
1849
1919
 
@@ -1860,6 +1930,7 @@ module Aws::Backup
1860
1930
  #
1861
1931
  class ExportBackupPlanTemplateOutput < Struct.new(
1862
1932
  :backup_plan_template_json)
1933
+ SENSITIVE = []
1863
1934
  include Aws::Structure
1864
1935
  end
1865
1936
 
@@ -1878,6 +1949,7 @@ module Aws::Backup
1878
1949
  #
1879
1950
  class GetBackupPlanFromJSONInput < Struct.new(
1880
1951
  :backup_plan_template_json)
1952
+ SENSITIVE = []
1881
1953
  include Aws::Structure
1882
1954
  end
1883
1955
 
@@ -1890,6 +1962,7 @@ module Aws::Backup
1890
1962
  #
1891
1963
  class GetBackupPlanFromJSONOutput < Struct.new(
1892
1964
  :backup_plan)
1965
+ SENSITIVE = []
1893
1966
  include Aws::Structure
1894
1967
  end
1895
1968
 
@@ -1908,6 +1981,7 @@ module Aws::Backup
1908
1981
  #
1909
1982
  class GetBackupPlanFromTemplateInput < Struct.new(
1910
1983
  :backup_plan_template_id)
1984
+ SENSITIVE = []
1911
1985
  include Aws::Structure
1912
1986
  end
1913
1987
 
@@ -1920,6 +1994,7 @@ module Aws::Backup
1920
1994
  #
1921
1995
  class GetBackupPlanFromTemplateOutput < Struct.new(
1922
1996
  :backup_plan_document)
1997
+ SENSITIVE = []
1923
1998
  include Aws::Structure
1924
1999
  end
1925
2000
 
@@ -1945,6 +2020,7 @@ module Aws::Backup
1945
2020
  class GetBackupPlanInput < Struct.new(
1946
2021
  :backup_plan_id,
1947
2022
  :version_id)
2023
+ SENSITIVE = []
1948
2024
  include Aws::Structure
1949
2025
  end
1950
2026
 
@@ -1983,7 +2059,7 @@ module Aws::Backup
1983
2059
  #
1984
2060
  # @!attribute [rw] deletion_date
1985
2061
  # The date and time that a backup plan is deleted, in Unix format and
1986
- # Coordinated Universal Time (UTC). The value of `CreationDate` is
2062
+ # Coordinated Universal Time (UTC). The value of `DeletionDate` is
1987
2063
  # accurate to milliseconds. For example, the value 1516925490.087
1988
2064
  # represents Friday, January 26, 2018 12:11:30.087 AM.
1989
2065
  # @return [Time]
@@ -2007,6 +2083,7 @@ module Aws::Backup
2007
2083
  :creation_date,
2008
2084
  :deletion_date,
2009
2085
  :last_execution_date)
2086
+ SENSITIVE = []
2010
2087
  include Aws::Structure
2011
2088
  end
2012
2089
 
@@ -2032,6 +2109,7 @@ module Aws::Backup
2032
2109
  class GetBackupSelectionInput < Struct.new(
2033
2110
  :backup_plan_id,
2034
2111
  :selection_id)
2112
+ SENSITIVE = []
2035
2113
  include Aws::Structure
2036
2114
  end
2037
2115
 
@@ -2070,6 +2148,7 @@ module Aws::Backup
2070
2148
  :backup_plan_id,
2071
2149
  :creation_date,
2072
2150
  :creator_request_id)
2151
+ SENSITIVE = []
2073
2152
  include Aws::Structure
2074
2153
  end
2075
2154
 
@@ -2091,6 +2170,7 @@ module Aws::Backup
2091
2170
  #
2092
2171
  class GetBackupVaultAccessPolicyInput < Struct.new(
2093
2172
  :backup_vault_name)
2173
+ SENSITIVE = []
2094
2174
  include Aws::Structure
2095
2175
  end
2096
2176
 
@@ -2117,6 +2197,7 @@ module Aws::Backup
2117
2197
  :backup_vault_name,
2118
2198
  :backup_vault_arn,
2119
2199
  :policy)
2200
+ SENSITIVE = []
2120
2201
  include Aws::Structure
2121
2202
  end
2122
2203
 
@@ -2138,6 +2219,7 @@ module Aws::Backup
2138
2219
  #
2139
2220
  class GetBackupVaultNotificationsInput < Struct.new(
2140
2221
  :backup_vault_name)
2222
+ SENSITIVE = []
2141
2223
  include Aws::Structure
2142
2224
  end
2143
2225
 
@@ -2172,6 +2254,7 @@ module Aws::Backup
2172
2254
  :backup_vault_arn,
2173
2255
  :sns_topic_arn,
2174
2256
  :backup_vault_events)
2257
+ SENSITIVE = []
2175
2258
  include Aws::Structure
2176
2259
  end
2177
2260
 
@@ -2201,6 +2284,7 @@ module Aws::Backup
2201
2284
  class GetRecoveryPointRestoreMetadataInput < Struct.new(
2202
2285
  :backup_vault_name,
2203
2286
  :recovery_point_arn)
2287
+ SENSITIVE = []
2204
2288
  include Aws::Structure
2205
2289
  end
2206
2290
 
@@ -2226,27 +2310,31 @@ module Aws::Backup
2226
2310
  :backup_vault_arn,
2227
2311
  :recovery_point_arn,
2228
2312
  :restore_metadata)
2313
+ SENSITIVE = [:restore_metadata]
2229
2314
  include Aws::Structure
2230
2315
  end
2231
2316
 
2232
2317
  # @!attribute [rw] resource_types
2233
2318
  # Contains a string with the supported AWS resource types:
2234
2319
  #
2320
+ # * `DynamoDB` for Amazon DynamoDB
2321
+ #
2235
2322
  # * `EBS` for Amazon Elastic Block Store
2236
2323
  #
2237
- # * `Storage Gateway` for AWS Storage Gateway
2324
+ # * `EC2` for Amazon Elastic Compute Cloud
2238
2325
  #
2239
- # * `RDS` for Amazon Relational Database Service
2326
+ # * `EFS` for Amazon Elastic File System
2240
2327
  #
2241
- # * `DDB` for Amazon DynamoDB
2328
+ # * `RDS` for Amazon Relational Database Service
2242
2329
  #
2243
- # * `EFS` for Amazon Elastic File System
2330
+ # * `Storage Gateway` for AWS Storage Gateway
2244
2331
  # @return [Array<String>]
2245
2332
  #
2246
2333
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetSupportedResourceTypesOutput AWS API Documentation
2247
2334
  #
2248
2335
  class GetSupportedResourceTypesOutput < Struct.new(
2249
2336
  :resource_types)
2337
+ SENSITIVE = []
2250
2338
  include Aws::Structure
2251
2339
  end
2252
2340
 
@@ -2272,6 +2360,7 @@ module Aws::Backup
2272
2360
  :message,
2273
2361
  :type,
2274
2362
  :context)
2363
+ SENSITIVE = []
2275
2364
  include Aws::Structure
2276
2365
  end
2277
2366
 
@@ -2297,6 +2386,7 @@ module Aws::Backup
2297
2386
  :message,
2298
2387
  :type,
2299
2388
  :context)
2389
+ SENSITIVE = []
2300
2390
  include Aws::Structure
2301
2391
  end
2302
2392
 
@@ -2333,6 +2423,7 @@ module Aws::Backup
2333
2423
  class Lifecycle < Struct.new(
2334
2424
  :move_to_cold_storage_after_days,
2335
2425
  :delete_after_days)
2426
+ SENSITIVE = []
2336
2427
  include Aws::Structure
2337
2428
  end
2338
2429
 
@@ -2358,6 +2449,7 @@ module Aws::Backup
2358
2449
  :message,
2359
2450
  :type,
2360
2451
  :context)
2452
+ SENSITIVE = []
2361
2453
  include Aws::Structure
2362
2454
  end
2363
2455
 
@@ -2373,6 +2465,7 @@ module Aws::Backup
2373
2465
  # by_created_before: Time.now,
2374
2466
  # by_created_after: Time.now,
2375
2467
  # by_resource_type: "ResourceType",
2468
+ # by_account_id: "AccountId",
2376
2469
  # }
2377
2470
  #
2378
2471
  # @!attribute [rw] next_token
@@ -2418,6 +2511,8 @@ module Aws::Backup
2418
2511
  #
2419
2512
  # * `EBS` for Amazon Elastic Block Store
2420
2513
  #
2514
+ # * `EC2` for Amazon Elastic Compute Cloud
2515
+ #
2421
2516
  # * `EFS` for Amazon Elastic File System
2422
2517
  #
2423
2518
  # * `RDS` for Amazon Relational Database Service
@@ -2425,6 +2520,11 @@ module Aws::Backup
2425
2520
  # * `Storage Gateway` for AWS Storage Gateway
2426
2521
  # @return [String]
2427
2522
  #
2523
+ # @!attribute [rw] by_account_id
2524
+ # The account ID to list the jobs from. Returns only backup jobs
2525
+ # associated with the specified account ID.
2526
+ # @return [String]
2527
+ #
2428
2528
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobsInput AWS API Documentation
2429
2529
  #
2430
2530
  class ListBackupJobsInput < Struct.new(
@@ -2435,7 +2535,9 @@ module Aws::Backup
2435
2535
  :by_backup_vault_name,
2436
2536
  :by_created_before,
2437
2537
  :by_created_after,
2438
- :by_resource_type)
2538
+ :by_resource_type,
2539
+ :by_account_id)
2540
+ SENSITIVE = []
2439
2541
  include Aws::Structure
2440
2542
  end
2441
2543
 
@@ -2456,6 +2558,7 @@ module Aws::Backup
2456
2558
  class ListBackupJobsOutput < Struct.new(
2457
2559
  :backup_jobs,
2458
2560
  :next_token)
2561
+ SENSITIVE = []
2459
2562
  include Aws::Structure
2460
2563
  end
2461
2564
 
@@ -2483,6 +2586,7 @@ module Aws::Backup
2483
2586
  class ListBackupPlanTemplatesInput < Struct.new(
2484
2587
  :next_token,
2485
2588
  :max_results)
2589
+ SENSITIVE = []
2486
2590
  include Aws::Structure
2487
2591
  end
2488
2592
 
@@ -2503,6 +2607,7 @@ module Aws::Backup
2503
2607
  class ListBackupPlanTemplatesOutput < Struct.new(
2504
2608
  :next_token,
2505
2609
  :backup_plan_templates_list)
2610
+ SENSITIVE = []
2506
2611
  include Aws::Structure
2507
2612
  end
2508
2613
 
@@ -2536,6 +2641,7 @@ module Aws::Backup
2536
2641
  :backup_plan_id,
2537
2642
  :next_token,
2538
2643
  :max_results)
2644
+ SENSITIVE = []
2539
2645
  include Aws::Structure
2540
2646
  end
2541
2647
 
@@ -2556,6 +2662,7 @@ module Aws::Backup
2556
2662
  class ListBackupPlanVersionsOutput < Struct.new(
2557
2663
  :next_token,
2558
2664
  :backup_plan_versions_list)
2665
+ SENSITIVE = []
2559
2666
  include Aws::Structure
2560
2667
  end
2561
2668
 
@@ -2590,6 +2697,7 @@ module Aws::Backup
2590
2697
  :next_token,
2591
2698
  :max_results,
2592
2699
  :include_deleted)
2700
+ SENSITIVE = []
2593
2701
  include Aws::Structure
2594
2702
  end
2595
2703
 
@@ -2610,6 +2718,7 @@ module Aws::Backup
2610
2718
  class ListBackupPlansOutput < Struct.new(
2611
2719
  :next_token,
2612
2720
  :backup_plans_list)
2721
+ SENSITIVE = []
2613
2722
  include Aws::Structure
2614
2723
  end
2615
2724
 
@@ -2643,6 +2752,7 @@ module Aws::Backup
2643
2752
  :backup_plan_id,
2644
2753
  :next_token,
2645
2754
  :max_results)
2755
+ SENSITIVE = []
2646
2756
  include Aws::Structure
2647
2757
  end
2648
2758
 
@@ -2663,6 +2773,7 @@ module Aws::Backup
2663
2773
  class ListBackupSelectionsOutput < Struct.new(
2664
2774
  :next_token,
2665
2775
  :backup_selections_list)
2776
+ SENSITIVE = []
2666
2777
  include Aws::Structure
2667
2778
  end
2668
2779
 
@@ -2690,6 +2801,7 @@ module Aws::Backup
2690
2801
  class ListBackupVaultsInput < Struct.new(
2691
2802
  :next_token,
2692
2803
  :max_results)
2804
+ SENSITIVE = []
2693
2805
  include Aws::Structure
2694
2806
  end
2695
2807
 
@@ -2712,6 +2824,7 @@ module Aws::Backup
2712
2824
  class ListBackupVaultsOutput < Struct.new(
2713
2825
  :backup_vault_list,
2714
2826
  :next_token)
2827
+ SENSITIVE = []
2715
2828
  include Aws::Structure
2716
2829
  end
2717
2830
 
@@ -2727,6 +2840,7 @@ module Aws::Backup
2727
2840
  # by_created_after: Time.now,
2728
2841
  # by_resource_type: "ResourceType",
2729
2842
  # by_destination_vault_arn: "string",
2843
+ # by_account_id: "AccountId",
2730
2844
  # }
2731
2845
  #
2732
2846
  # @!attribute [rw] next_token
@@ -2760,8 +2874,12 @@ module Aws::Backup
2760
2874
  # @!attribute [rw] by_resource_type
2761
2875
  # Returns only backup jobs for the specified resources:
2762
2876
  #
2877
+ # * `DynamoDB` for Amazon DynamoDB
2878
+ #
2763
2879
  # * `EBS` for Amazon Elastic Block Store
2764
2880
  #
2881
+ # * `EC2` for Amazon Elastic Compute Cloud
2882
+ #
2765
2883
  # * `EFS` for Amazon Elastic File System
2766
2884
  #
2767
2885
  # * `RDS` for Amazon Relational Database Service
@@ -2775,6 +2893,11 @@ module Aws::Backup
2775
2893
  # `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
2776
2894
  # @return [String]
2777
2895
  #
2896
+ # @!attribute [rw] by_account_id
2897
+ # The account ID to list the jobs from. Returns only copy jobs
2898
+ # associated with the specified account ID.
2899
+ # @return [String]
2900
+ #
2778
2901
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListCopyJobsInput AWS API Documentation
2779
2902
  #
2780
2903
  class ListCopyJobsInput < Struct.new(
@@ -2785,7 +2908,9 @@ module Aws::Backup
2785
2908
  :by_created_before,
2786
2909
  :by_created_after,
2787
2910
  :by_resource_type,
2788
- :by_destination_vault_arn)
2911
+ :by_destination_vault_arn,
2912
+ :by_account_id)
2913
+ SENSITIVE = []
2789
2914
  include Aws::Structure
2790
2915
  end
2791
2916
 
@@ -2806,6 +2931,7 @@ module Aws::Backup
2806
2931
  class ListCopyJobsOutput < Struct.new(
2807
2932
  :copy_jobs,
2808
2933
  :next_token)
2934
+ SENSITIVE = []
2809
2935
  include Aws::Structure
2810
2936
  end
2811
2937
 
@@ -2833,6 +2959,7 @@ module Aws::Backup
2833
2959
  class ListProtectedResourcesInput < Struct.new(
2834
2960
  :next_token,
2835
2961
  :max_results)
2962
+ SENSITIVE = []
2836
2963
  include Aws::Structure
2837
2964
  end
2838
2965
 
@@ -2854,6 +2981,7 @@ module Aws::Backup
2854
2981
  class ListProtectedResourcesOutput < Struct.new(
2855
2982
  :results,
2856
2983
  :next_token)
2984
+ SENSITIVE = []
2857
2985
  include Aws::Structure
2858
2986
  end
2859
2987
 
@@ -2924,6 +3052,7 @@ module Aws::Backup
2924
3052
  :by_backup_plan_id,
2925
3053
  :by_created_before,
2926
3054
  :by_created_after)
3055
+ SENSITIVE = []
2927
3056
  include Aws::Structure
2928
3057
  end
2929
3058
 
@@ -2944,6 +3073,7 @@ module Aws::Backup
2944
3073
  class ListRecoveryPointsByBackupVaultOutput < Struct.new(
2945
3074
  :next_token,
2946
3075
  :recovery_points)
3076
+ SENSITIVE = []
2947
3077
  include Aws::Structure
2948
3078
  end
2949
3079
 
@@ -2978,6 +3108,7 @@ module Aws::Backup
2978
3108
  :resource_arn,
2979
3109
  :next_token,
2980
3110
  :max_results)
3111
+ SENSITIVE = []
2981
3112
  include Aws::Structure
2982
3113
  end
2983
3114
 
@@ -2998,6 +3129,7 @@ module Aws::Backup
2998
3129
  class ListRecoveryPointsByResourceOutput < Struct.new(
2999
3130
  :next_token,
3000
3131
  :recovery_points)
3132
+ SENSITIVE = []
3001
3133
  include Aws::Structure
3002
3134
  end
3003
3135
 
@@ -3007,6 +3139,10 @@ module Aws::Backup
3007
3139
  # {
3008
3140
  # next_token: "string",
3009
3141
  # max_results: 1,
3142
+ # by_account_id: "AccountId",
3143
+ # by_created_before: Time.now,
3144
+ # by_created_after: Time.now,
3145
+ # by_status: "PENDING", # accepts PENDING, RUNNING, COMPLETED, ABORTED, FAILED
3010
3146
  # }
3011
3147
  #
3012
3148
  # @!attribute [rw] next_token
@@ -3020,11 +3156,35 @@ module Aws::Backup
3020
3156
  # The maximum number of items to be returned.
3021
3157
  # @return [Integer]
3022
3158
  #
3159
+ # @!attribute [rw] by_account_id
3160
+ # The account ID to list the jobs from. Returns only restore jobs
3161
+ # associated with the specified account ID.
3162
+ # @return [String]
3163
+ #
3164
+ # @!attribute [rw] by_created_before
3165
+ # Returns only restore jobs that were created before the specified
3166
+ # date.
3167
+ # @return [Time]
3168
+ #
3169
+ # @!attribute [rw] by_created_after
3170
+ # Returns only restore jobs that were created after the specified
3171
+ # date.
3172
+ # @return [Time]
3173
+ #
3174
+ # @!attribute [rw] by_status
3175
+ # Returns only restore jobs associated with the specified job status.
3176
+ # @return [String]
3177
+ #
3023
3178
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobsInput AWS API Documentation
3024
3179
  #
3025
3180
  class ListRestoreJobsInput < Struct.new(
3026
3181
  :next_token,
3027
- :max_results)
3182
+ :max_results,
3183
+ :by_account_id,
3184
+ :by_created_before,
3185
+ :by_created_after,
3186
+ :by_status)
3187
+ SENSITIVE = []
3028
3188
  include Aws::Structure
3029
3189
  end
3030
3190
 
@@ -3045,6 +3205,7 @@ module Aws::Backup
3045
3205
  class ListRestoreJobsOutput < Struct.new(
3046
3206
  :restore_jobs,
3047
3207
  :next_token)
3208
+ SENSITIVE = []
3048
3209
  include Aws::Structure
3049
3210
  end
3050
3211
 
@@ -3080,6 +3241,7 @@ module Aws::Backup
3080
3241
  :resource_arn,
3081
3242
  :next_token,
3082
3243
  :max_results)
3244
+ SENSITIVE = []
3083
3245
  include Aws::Structure
3084
3246
  end
3085
3247
 
@@ -3100,6 +3262,7 @@ module Aws::Backup
3100
3262
  class ListTagsOutput < Struct.new(
3101
3263
  :next_token,
3102
3264
  :tags)
3265
+ SENSITIVE = [:tags]
3103
3266
  include Aws::Structure
3104
3267
  end
3105
3268
 
@@ -3124,6 +3287,7 @@ module Aws::Backup
3124
3287
  :message,
3125
3288
  :type,
3126
3289
  :context)
3290
+ SENSITIVE = []
3127
3291
  include Aws::Structure
3128
3292
  end
3129
3293
 
@@ -3153,6 +3317,7 @@ module Aws::Backup
3153
3317
  :resource_arn,
3154
3318
  :resource_type,
3155
3319
  :last_backup_time)
3320
+ SENSITIVE = []
3156
3321
  include Aws::Structure
3157
3322
  end
3158
3323
 
@@ -3180,6 +3345,7 @@ module Aws::Backup
3180
3345
  class PutBackupVaultAccessPolicyInput < Struct.new(
3181
3346
  :backup_vault_name,
3182
3347
  :policy)
3348
+ SENSITIVE = []
3183
3349
  include Aws::Structure
3184
3350
  end
3185
3351
 
@@ -3216,6 +3382,7 @@ module Aws::Backup
3216
3382
  :backup_vault_name,
3217
3383
  :sns_topic_arn,
3218
3384
  :backup_vault_events)
3385
+ SENSITIVE = []
3219
3386
  include Aws::Structure
3220
3387
  end
3221
3388
 
@@ -3340,6 +3507,7 @@ module Aws::Backup
3340
3507
  :encryption_key_arn,
3341
3508
  :is_encrypted,
3342
3509
  :last_restore_time)
3510
+ SENSITIVE = []
3343
3511
  include Aws::Structure
3344
3512
  end
3345
3513
 
@@ -3388,6 +3556,7 @@ module Aws::Backup
3388
3556
  :encryption_key_arn,
3389
3557
  :backup_size_bytes,
3390
3558
  :backup_vault_name)
3559
+ SENSITIVE = []
3391
3560
  include Aws::Structure
3392
3561
  end
3393
3562
 
@@ -3421,6 +3590,7 @@ module Aws::Backup
3421
3590
  :backup_plan_arn,
3422
3591
  :backup_plan_version,
3423
3592
  :backup_rule_id)
3593
+ SENSITIVE = []
3424
3594
  include Aws::Structure
3425
3595
  end
3426
3596
 
@@ -3445,11 +3615,16 @@ module Aws::Backup
3445
3615
  :message,
3446
3616
  :type,
3447
3617
  :context)
3618
+ SENSITIVE = []
3448
3619
  include Aws::Structure
3449
3620
  end
3450
3621
 
3451
3622
  # Contains metadata about a restore job.
3452
3623
  #
3624
+ # @!attribute [rw] account_id
3625
+ # The account ID that owns the restore job.
3626
+ # @return [String]
3627
+ #
3453
3628
  # @!attribute [rw] restore_job_id
3454
3629
  # Uniquely identifies the job that restores a recovery point.
3455
3630
  # @return [String]
@@ -3507,9 +3682,16 @@ module Aws::Backup
3507
3682
  # The format of the ARN depends on the resource type.
3508
3683
  # @return [String]
3509
3684
  #
3685
+ # @!attribute [rw] resource_type
3686
+ # The resource type of the listed restore jobs; for example, an Amazon
3687
+ # Elastic Block Store (Amazon EBS) volume or an Amazon Relational
3688
+ # Database Service (Amazon RDS) database.
3689
+ # @return [String]
3690
+ #
3510
3691
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreJobsListMember AWS API Documentation
3511
3692
  #
3512
3693
  class RestoreJobsListMember < Struct.new(
3694
+ :account_id,
3513
3695
  :restore_job_id,
3514
3696
  :recovery_point_arn,
3515
3697
  :creation_date,
@@ -3520,7 +3702,9 @@ module Aws::Backup
3520
3702
  :backup_size_in_bytes,
3521
3703
  :iam_role_arn,
3522
3704
  :expected_completion_time_minutes,
3523
- :created_resource_arn)
3705
+ :created_resource_arn,
3706
+ :resource_type)
3707
+ SENSITIVE = []
3524
3708
  include Aws::Structure
3525
3709
  end
3526
3710
 
@@ -3545,6 +3729,7 @@ module Aws::Backup
3545
3729
  :message,
3546
3730
  :type,
3547
3731
  :context)
3732
+ SENSITIVE = []
3548
3733
  include Aws::Structure
3549
3734
  end
3550
3735
 
@@ -3629,6 +3814,7 @@ module Aws::Backup
3629
3814
  :complete_window_minutes,
3630
3815
  :lifecycle,
3631
3816
  :recovery_point_tags)
3817
+ SENSITIVE = [:recovery_point_tags]
3632
3818
  include Aws::Structure
3633
3819
  end
3634
3820
 
@@ -3654,6 +3840,7 @@ module Aws::Backup
3654
3840
  :backup_job_id,
3655
3841
  :recovery_point_arn,
3656
3842
  :creation_date)
3843
+ SENSITIVE = []
3657
3844
  include Aws::Structure
3658
3845
  end
3659
3846
 
@@ -3723,6 +3910,7 @@ module Aws::Backup
3723
3910
  :iam_role_arn,
3724
3911
  :idempotency_token,
3725
3912
  :lifecycle)
3913
+ SENSITIVE = []
3726
3914
  include Aws::Structure
3727
3915
  end
3728
3916
 
@@ -3742,6 +3930,7 @@ module Aws::Backup
3742
3930
  class StartCopyJobOutput < Struct.new(
3743
3931
  :copy_job_id,
3744
3932
  :creation_date)
3933
+ SENSITIVE = []
3745
3934
  include Aws::Structure
3746
3935
  end
3747
3936
 
@@ -3812,15 +4001,17 @@ module Aws::Backup
3812
4001
  # Starts a job to restore a recovery point for one of the following
3813
4002
  # resources:
3814
4003
  #
4004
+ # * `DynamoDB` for Amazon DynamoDB
4005
+ #
3815
4006
  # * `EBS` for Amazon Elastic Block Store
3816
4007
  #
3817
- # * `Storage Gateway` for AWS Storage Gateway
4008
+ # * `EC2` for Amazon Elastic Compute Cloud
3818
4009
  #
3819
- # * `RDS` for Amazon Relational Database Service
4010
+ # * `EFS` for Amazon Elastic File System
3820
4011
  #
3821
- # * `DDB` for Amazon DynamoDB
4012
+ # * `RDS` for Amazon Relational Database Service
3822
4013
  #
3823
- # * `EFS` for Amazon Elastic File System
4014
+ # * `Storage Gateway` for AWS Storage Gateway
3824
4015
  # @return [String]
3825
4016
  #
3826
4017
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartRestoreJobInput AWS API Documentation
@@ -3831,6 +4022,7 @@ module Aws::Backup
3831
4022
  :iam_role_arn,
3832
4023
  :idempotency_token,
3833
4024
  :resource_type)
4025
+ SENSITIVE = [:metadata]
3834
4026
  include Aws::Structure
3835
4027
  end
3836
4028
 
@@ -3842,6 +4034,7 @@ module Aws::Backup
3842
4034
  #
3843
4035
  class StartRestoreJobOutput < Struct.new(
3844
4036
  :restore_job_id)
4037
+ SENSITIVE = []
3845
4038
  include Aws::Structure
3846
4039
  end
3847
4040
 
@@ -3860,6 +4053,7 @@ module Aws::Backup
3860
4053
  #
3861
4054
  class StopBackupJobInput < Struct.new(
3862
4055
  :backup_job_id)
4056
+ SENSITIVE = []
3863
4057
  include Aws::Structure
3864
4058
  end
3865
4059
 
@@ -3888,6 +4082,7 @@ module Aws::Backup
3888
4082
  class TagResourceInput < Struct.new(
3889
4083
  :resource_arn,
3890
4084
  :tags)
4085
+ SENSITIVE = [:tags]
3891
4086
  include Aws::Structure
3892
4087
  end
3893
4088
 
@@ -3914,6 +4109,7 @@ module Aws::Backup
3914
4109
  class UntagResourceInput < Struct.new(
3915
4110
  :resource_arn,
3916
4111
  :tag_key_list)
4112
+ SENSITIVE = [:tag_key_list]
3917
4113
  include Aws::Structure
3918
4114
  end
3919
4115
 
@@ -3966,6 +4162,7 @@ module Aws::Backup
3966
4162
  class UpdateBackupPlanInput < Struct.new(
3967
4163
  :backup_plan_id,
3968
4164
  :backup_plan)
4165
+ SENSITIVE = []
3969
4166
  include Aws::Structure
3970
4167
  end
3971
4168
 
@@ -3998,6 +4195,7 @@ module Aws::Backup
3998
4195
  :backup_plan_arn,
3999
4196
  :creation_date,
4000
4197
  :version_id)
4198
+ SENSITIVE = []
4001
4199
  include Aws::Structure
4002
4200
  end
4003
4201
 
@@ -4044,6 +4242,7 @@ module Aws::Backup
4044
4242
  :backup_vault_name,
4045
4243
  :recovery_point_arn,
4046
4244
  :lifecycle)
4245
+ SENSITIVE = []
4047
4246
  include Aws::Structure
4048
4247
  end
4049
4248
 
@@ -4082,6 +4281,7 @@ module Aws::Backup
4082
4281
  :recovery_point_arn,
4083
4282
  :lifecycle,
4084
4283
  :calculated_lifecycle)
4284
+ SENSITIVE = []
4085
4285
  include Aws::Structure
4086
4286
  end
4087
4287
 
@@ -4103,6 +4303,7 @@ module Aws::Backup
4103
4303
  #
4104
4304
  class UpdateRegionSettingsInput < Struct.new(
4105
4305
  :resource_type_opt_in_preference)
4306
+ SENSITIVE = []
4106
4307
  include Aws::Structure
4107
4308
  end
4108
4309