aws-sdk-backup 1.12.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-backup.rb +3 -1
- data/lib/aws-sdk-backup/client.rb +123 -33
- data/lib/aws-sdk-backup/client_api.rb +38 -0
- data/lib/aws-sdk-backup/errors.rb +2 -0
- data/lib/aws-sdk-backup/resource.rb +3 -7
- data/lib/aws-sdk-backup/types.rb +199 -46
- metadata +5 -5
@@ -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:
|
@@ -6,13 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Backup
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::Backup::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::Backup::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::Backup::Resource.new(client: client)
|
11
|
+
|
16
12
|
class Resource
|
17
13
|
|
18
14
|
# @param options ({})
|
data/lib/aws-sdk-backup/types.rb
CHANGED
@@ -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,6 +39,7 @@ module Aws::Backup
|
|
37
39
|
:arn,
|
38
40
|
:type,
|
39
41
|
:context)
|
42
|
+
SENSITIVE = []
|
40
43
|
include Aws::Structure
|
41
44
|
end
|
42
45
|
|
@@ -132,7 +135,7 @@ module Aws::Backup
|
|
132
135
|
# @return [Time]
|
133
136
|
#
|
134
137
|
# @!attribute [rw] resource_type
|
135
|
-
# The type of AWS resource to be backed
|
138
|
+
# The type of AWS resource to be backed up; for example, an Amazon
|
136
139
|
# Elastic Block Store (Amazon EBS) volume or an Amazon Relational
|
137
140
|
# Database Service (Amazon RDS) database.
|
138
141
|
# @return [String]
|
@@ -162,6 +165,7 @@ module Aws::Backup
|
|
162
165
|
:start_by,
|
163
166
|
:resource_type,
|
164
167
|
:bytes_transferred)
|
168
|
+
SENSITIVE = []
|
165
169
|
include Aws::Structure
|
166
170
|
end
|
167
171
|
|
@@ -184,6 +188,7 @@ module Aws::Backup
|
|
184
188
|
class BackupPlan < Struct.new(
|
185
189
|
:backup_plan_name,
|
186
190
|
:rules)
|
191
|
+
SENSITIVE = []
|
187
192
|
include Aws::Structure
|
188
193
|
end
|
189
194
|
|
@@ -238,6 +243,7 @@ module Aws::Backup
|
|
238
243
|
class BackupPlanInput < Struct.new(
|
239
244
|
:backup_plan_name,
|
240
245
|
:rules)
|
246
|
+
SENSITIVE = []
|
241
247
|
include Aws::Structure
|
242
248
|
end
|
243
249
|
|
@@ -256,6 +262,7 @@ module Aws::Backup
|
|
256
262
|
class BackupPlanTemplatesListMember < Struct.new(
|
257
263
|
:backup_plan_template_id,
|
258
264
|
:backup_plan_template_name)
|
265
|
+
SENSITIVE = []
|
259
266
|
include Aws::Structure
|
260
267
|
end
|
261
268
|
|
@@ -319,6 +326,7 @@ module Aws::Backup
|
|
319
326
|
:backup_plan_name,
|
320
327
|
:creator_request_id,
|
321
328
|
:last_execution_date)
|
329
|
+
SENSITIVE = []
|
322
330
|
include Aws::Structure
|
323
331
|
end
|
324
332
|
|
@@ -340,15 +348,14 @@ module Aws::Backup
|
|
340
348
|
# @return [String]
|
341
349
|
#
|
342
350
|
# @!attribute [rw] start_window_minutes
|
343
|
-
#
|
344
|
-
#
|
345
|
-
# successfully.
|
351
|
+
# A value in minutes after a backup is scheduled before a job will be
|
352
|
+
# canceled if it doesn't start successfully. This value is optional.
|
346
353
|
# @return [Integer]
|
347
354
|
#
|
348
355
|
# @!attribute [rw] completion_window_minutes
|
349
356
|
# A value in minutes after a backup job is successfully started before
|
350
|
-
# it must be completed or it
|
351
|
-
# optional.
|
357
|
+
# it must be completed or it will be canceled by AWS Backup. This
|
358
|
+
# value is optional.
|
352
359
|
# @return [Integer]
|
353
360
|
#
|
354
361
|
# @!attribute [rw] lifecycle
|
@@ -390,6 +397,7 @@ module Aws::Backup
|
|
390
397
|
:recovery_point_tags,
|
391
398
|
:rule_id,
|
392
399
|
:copy_actions)
|
400
|
+
SENSITIVE = [:recovery_point_tags]
|
393
401
|
include Aws::Structure
|
394
402
|
end
|
395
403
|
|
@@ -423,7 +431,7 @@ module Aws::Backup
|
|
423
431
|
# }
|
424
432
|
#
|
425
433
|
# @!attribute [rw] rule_name
|
426
|
-
#
|
434
|
+
# An optional display name for a backup rule.
|
427
435
|
# @return [String]
|
428
436
|
#
|
429
437
|
# @!attribute [rw] target_backup_vault_name
|
@@ -438,12 +446,14 @@ module Aws::Backup
|
|
438
446
|
# @return [String]
|
439
447
|
#
|
440
448
|
# @!attribute [rw] start_window_minutes
|
441
|
-
#
|
449
|
+
# A value in minutes after a backup is scheduled before a job will be
|
450
|
+
# canceled if it doesn't start successfully. This value is optional.
|
442
451
|
# @return [Integer]
|
443
452
|
#
|
444
453
|
# @!attribute [rw] completion_window_minutes
|
445
|
-
#
|
446
|
-
#
|
454
|
+
# A value in minutes after a backup job is successfully started before
|
455
|
+
# it must be completed or it will be canceled by AWS Backup. This
|
456
|
+
# value is optional.
|
447
457
|
# @return [Integer]
|
448
458
|
#
|
449
459
|
# @!attribute [rw] lifecycle
|
@@ -454,9 +464,9 @@ module Aws::Backup
|
|
454
464
|
#
|
455
465
|
# Backups transitioned to cold storage must be stored in cold storage
|
456
466
|
# for a minimum of 90 days. Therefore, the “expire after days” setting
|
457
|
-
# must be 90 days greater than the “transition to cold after days
|
458
|
-
# The “transition to cold after days” setting cannot be
|
459
|
-
# a backup has been transitioned to cold.
|
467
|
+
# must be 90 days greater than the “transition to cold after days”
|
468
|
+
# setting. The “transition to cold after days” setting cannot be
|
469
|
+
# changed after a backup has been transitioned to cold.
|
460
470
|
# @return [Types::Lifecycle]
|
461
471
|
#
|
462
472
|
# @!attribute [rw] recovery_point_tags
|
@@ -480,6 +490,7 @@ module Aws::Backup
|
|
480
490
|
:lifecycle,
|
481
491
|
:recovery_point_tags,
|
482
492
|
:copy_actions)
|
493
|
+
SENSITIVE = [:recovery_point_tags]
|
483
494
|
include Aws::Structure
|
484
495
|
end
|
485
496
|
|
@@ -529,6 +540,7 @@ module Aws::Backup
|
|
529
540
|
:iam_role_arn,
|
530
541
|
:resources,
|
531
542
|
:list_of_tags)
|
543
|
+
SENSITIVE = []
|
532
544
|
include Aws::Structure
|
533
545
|
end
|
534
546
|
|
@@ -575,6 +587,7 @@ module Aws::Backup
|
|
575
587
|
:creation_date,
|
576
588
|
:creator_request_id,
|
577
589
|
:iam_role_arn)
|
590
|
+
SENSITIVE = []
|
578
591
|
include Aws::Structure
|
579
592
|
end
|
580
593
|
|
@@ -625,6 +638,7 @@ module Aws::Backup
|
|
625
638
|
:encryption_key_arn,
|
626
639
|
:creator_request_id,
|
627
640
|
:number_of_recovery_points)
|
641
|
+
SENSITIVE = []
|
628
642
|
include Aws::Structure
|
629
643
|
end
|
630
644
|
|
@@ -655,6 +669,7 @@ module Aws::Backup
|
|
655
669
|
class CalculatedLifecycle < Struct.new(
|
656
670
|
:move_to_cold_storage_at,
|
657
671
|
:delete_at)
|
672
|
+
SENSITIVE = []
|
658
673
|
include Aws::Structure
|
659
674
|
end
|
660
675
|
|
@@ -694,6 +709,7 @@ module Aws::Backup
|
|
694
709
|
:condition_type,
|
695
710
|
:condition_key,
|
696
711
|
:condition_value)
|
712
|
+
SENSITIVE = []
|
697
713
|
include Aws::Structure
|
698
714
|
end
|
699
715
|
|
@@ -726,7 +742,7 @@ module Aws::Backup
|
|
726
742
|
# @!attribute [rw] destination_backup_vault_arn
|
727
743
|
# An Amazon Resource Name (ARN) that uniquely identifies the
|
728
744
|
# destination backup vault for the copied backup. For example,
|
729
|
-
# arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
|
745
|
+
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
730
746
|
# @return [String]
|
731
747
|
#
|
732
748
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CopyAction AWS API Documentation
|
@@ -734,43 +750,44 @@ module Aws::Backup
|
|
734
750
|
class CopyAction < Struct.new(
|
735
751
|
:lifecycle,
|
736
752
|
:destination_backup_vault_arn)
|
753
|
+
SENSITIVE = []
|
737
754
|
include Aws::Structure
|
738
755
|
end
|
739
756
|
|
740
757
|
# Contains detailed information about a copy job.
|
741
758
|
#
|
742
759
|
# @!attribute [rw] copy_job_id
|
743
|
-
# Uniquely identifies a
|
760
|
+
# Uniquely identifies a copy job.
|
744
761
|
# @return [String]
|
745
762
|
#
|
746
763
|
# @!attribute [rw] source_backup_vault_arn
|
747
764
|
# An Amazon Resource Name (ARN) that uniquely identifies a source copy
|
748
765
|
# vault; for example,
|
749
|
-
# arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
|
766
|
+
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
750
767
|
# @return [String]
|
751
768
|
#
|
752
769
|
# @!attribute [rw] source_recovery_point_arn
|
753
770
|
# An ARN that uniquely identifies a source recovery point; for
|
754
771
|
# example,
|
755
|
-
# arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
|
772
|
+
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
756
773
|
# @return [String]
|
757
774
|
#
|
758
775
|
# @!attribute [rw] destination_backup_vault_arn
|
759
776
|
# An Amazon Resource Name (ARN) that uniquely identifies a destination
|
760
777
|
# copy vault; for example,
|
761
|
-
# arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
|
778
|
+
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
762
779
|
# @return [String]
|
763
780
|
#
|
764
781
|
# @!attribute [rw] destination_recovery_point_arn
|
765
782
|
# An ARN that uniquely identifies a destination recovery point; for
|
766
783
|
# example,
|
767
|
-
# arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
|
784
|
+
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
768
785
|
# @return [String]
|
769
786
|
#
|
770
787
|
# @!attribute [rw] resource_arn
|
771
|
-
# The
|
772
|
-
#
|
773
|
-
#
|
788
|
+
# The AWS resource to be copied; for example, an Amazon Elastic Block
|
789
|
+
# Store (Amazon EBS) volume or an Amazon Relational Database Service
|
790
|
+
# (Amazon RDS) database.
|
774
791
|
# @return [String]
|
775
792
|
#
|
776
793
|
# @!attribute [rw] creation_date
|
@@ -781,18 +798,18 @@ module Aws::Backup
|
|
781
798
|
# @return [Time]
|
782
799
|
#
|
783
800
|
# @!attribute [rw] completion_date
|
784
|
-
# The date and time a
|
785
|
-
#
|
786
|
-
#
|
787
|
-
#
|
801
|
+
# The date and time a copy job is completed, in Unix format and
|
802
|
+
# Coordinated Universal Time (UTC). The value of CompletionDate is
|
803
|
+
# accurate to milliseconds. For example, the value 1516925490.087
|
804
|
+
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
788
805
|
# @return [Time]
|
789
806
|
#
|
790
807
|
# @!attribute [rw] state
|
791
|
-
# The current state of a
|
808
|
+
# The current state of a copy job.
|
792
809
|
# @return [String]
|
793
810
|
#
|
794
811
|
# @!attribute [rw] status_message
|
795
|
-
# A detailed message explaining the status of the job
|
812
|
+
# A detailed message explaining the status of the job to copy a
|
796
813
|
# resource.
|
797
814
|
# @return [String]
|
798
815
|
#
|
@@ -802,7 +819,7 @@ module Aws::Backup
|
|
802
819
|
#
|
803
820
|
# @!attribute [rw] iam_role_arn
|
804
821
|
# Specifies the IAM role ARN used to copy the target recovery point;
|
805
|
-
# for example, arn:aws:iam::123456789012:role/S3Access
|
822
|
+
# for example, `arn:aws:iam::123456789012:role/S3Access`.
|
806
823
|
# @return [String]
|
807
824
|
#
|
808
825
|
# @!attribute [rw] created_by
|
@@ -833,6 +850,7 @@ module Aws::Backup
|
|
833
850
|
:iam_role_arn,
|
834
851
|
:created_by,
|
835
852
|
:resource_type)
|
853
|
+
SENSITIVE = []
|
836
854
|
include Aws::Structure
|
837
855
|
end
|
838
856
|
|
@@ -898,6 +916,7 @@ module Aws::Backup
|
|
898
916
|
:backup_plan,
|
899
917
|
:backup_plan_tags,
|
900
918
|
:creator_request_id)
|
919
|
+
SENSITIVE = [:backup_plan_tags]
|
901
920
|
include Aws::Structure
|
902
921
|
end
|
903
922
|
|
@@ -920,7 +939,7 @@ module Aws::Backup
|
|
920
939
|
#
|
921
940
|
# @!attribute [rw] version_id
|
922
941
|
# Unique, randomly generated, Unicode, UTF-8 encoded strings that are
|
923
|
-
# at most
|
942
|
+
# at most 1,024 bytes long. They cannot be edited.
|
924
943
|
# @return [String]
|
925
944
|
#
|
926
945
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupPlanOutput AWS API Documentation
|
@@ -930,6 +949,7 @@ module Aws::Backup
|
|
930
949
|
:backup_plan_arn,
|
931
950
|
:creation_date,
|
932
951
|
:version_id)
|
952
|
+
SENSITIVE = []
|
933
953
|
include Aws::Structure
|
934
954
|
end
|
935
955
|
|
@@ -975,6 +995,7 @@ module Aws::Backup
|
|
975
995
|
:backup_plan_id,
|
976
996
|
:backup_selection,
|
977
997
|
:creator_request_id)
|
998
|
+
SENSITIVE = []
|
978
999
|
include Aws::Structure
|
979
1000
|
end
|
980
1001
|
|
@@ -1000,6 +1021,7 @@ module Aws::Backup
|
|
1000
1021
|
:selection_id,
|
1001
1022
|
:backup_plan_id,
|
1002
1023
|
:creation_date)
|
1024
|
+
SENSITIVE = []
|
1003
1025
|
include Aws::Structure
|
1004
1026
|
end
|
1005
1027
|
|
@@ -1046,6 +1068,7 @@ module Aws::Backup
|
|
1046
1068
|
:backup_vault_tags,
|
1047
1069
|
:encryption_key_arn,
|
1048
1070
|
:creator_request_id)
|
1071
|
+
SENSITIVE = [:backup_vault_tags]
|
1049
1072
|
include Aws::Structure
|
1050
1073
|
end
|
1051
1074
|
|
@@ -1075,6 +1098,7 @@ module Aws::Backup
|
|
1075
1098
|
:backup_vault_name,
|
1076
1099
|
:backup_vault_arn,
|
1077
1100
|
:creation_date)
|
1101
|
+
SENSITIVE = []
|
1078
1102
|
include Aws::Structure
|
1079
1103
|
end
|
1080
1104
|
|
@@ -1093,6 +1117,7 @@ module Aws::Backup
|
|
1093
1117
|
#
|
1094
1118
|
class DeleteBackupPlanInput < Struct.new(
|
1095
1119
|
:backup_plan_id)
|
1120
|
+
SENSITIVE = []
|
1096
1121
|
include Aws::Structure
|
1097
1122
|
end
|
1098
1123
|
|
@@ -1125,6 +1150,7 @@ module Aws::Backup
|
|
1125
1150
|
:backup_plan_arn,
|
1126
1151
|
:deletion_date,
|
1127
1152
|
:version_id)
|
1153
|
+
SENSITIVE = []
|
1128
1154
|
include Aws::Structure
|
1129
1155
|
end
|
1130
1156
|
|
@@ -1150,6 +1176,7 @@ module Aws::Backup
|
|
1150
1176
|
class DeleteBackupSelectionInput < Struct.new(
|
1151
1177
|
:backup_plan_id,
|
1152
1178
|
:selection_id)
|
1179
|
+
SENSITIVE = []
|
1153
1180
|
include Aws::Structure
|
1154
1181
|
end
|
1155
1182
|
|
@@ -1171,6 +1198,7 @@ module Aws::Backup
|
|
1171
1198
|
#
|
1172
1199
|
class DeleteBackupVaultAccessPolicyInput < Struct.new(
|
1173
1200
|
:backup_vault_name)
|
1201
|
+
SENSITIVE = []
|
1174
1202
|
include Aws::Structure
|
1175
1203
|
end
|
1176
1204
|
|
@@ -1184,7 +1212,7 @@ module Aws::Backup
|
|
1184
1212
|
# @!attribute [rw] backup_vault_name
|
1185
1213
|
# The name of a logical container where backups are stored. Backup
|
1186
1214
|
# vaults are identified by names that are unique to the account used
|
1187
|
-
# to create them and
|
1215
|
+
# to create them and the AWS Region where they are created. They
|
1188
1216
|
# consist of lowercase letters, numbers, and hyphens.
|
1189
1217
|
# @return [String]
|
1190
1218
|
#
|
@@ -1192,6 +1220,7 @@ module Aws::Backup
|
|
1192
1220
|
#
|
1193
1221
|
class DeleteBackupVaultInput < Struct.new(
|
1194
1222
|
:backup_vault_name)
|
1223
|
+
SENSITIVE = []
|
1195
1224
|
include Aws::Structure
|
1196
1225
|
end
|
1197
1226
|
|
@@ -1213,6 +1242,7 @@ module Aws::Backup
|
|
1213
1242
|
#
|
1214
1243
|
class DeleteBackupVaultNotificationsInput < Struct.new(
|
1215
1244
|
:backup_vault_name)
|
1245
|
+
SENSITIVE = []
|
1216
1246
|
include Aws::Structure
|
1217
1247
|
end
|
1218
1248
|
|
@@ -1242,6 +1272,7 @@ module Aws::Backup
|
|
1242
1272
|
class DeleteRecoveryPointInput < Struct.new(
|
1243
1273
|
:backup_vault_name,
|
1244
1274
|
:recovery_point_arn)
|
1275
|
+
SENSITIVE = []
|
1245
1276
|
include Aws::Structure
|
1246
1277
|
end
|
1247
1278
|
|
@@ -1267,6 +1298,7 @@ module Aws::Backup
|
|
1267
1298
|
:message,
|
1268
1299
|
:type,
|
1269
1300
|
:context)
|
1301
|
+
SENSITIVE = []
|
1270
1302
|
include Aws::Structure
|
1271
1303
|
end
|
1272
1304
|
|
@@ -1285,6 +1317,7 @@ module Aws::Backup
|
|
1285
1317
|
#
|
1286
1318
|
class DescribeBackupJobInput < Struct.new(
|
1287
1319
|
:backup_job_id)
|
1320
|
+
SENSITIVE = []
|
1288
1321
|
include Aws::Structure
|
1289
1322
|
end
|
1290
1323
|
|
@@ -1359,7 +1392,7 @@ module Aws::Backup
|
|
1359
1392
|
# @return [Types::RecoveryPointCreator]
|
1360
1393
|
#
|
1361
1394
|
# @!attribute [rw] resource_type
|
1362
|
-
# The type of AWS resource to be backed
|
1395
|
+
# The type of AWS resource to be backed up; for example, an Amazon
|
1363
1396
|
# Elastic Block Store (Amazon EBS) volume or an Amazon Relational
|
1364
1397
|
# Database Service (Amazon RDS) database.
|
1365
1398
|
# @return [String]
|
@@ -1408,6 +1441,7 @@ module Aws::Backup
|
|
1408
1441
|
:bytes_transferred,
|
1409
1442
|
:expected_completion_date,
|
1410
1443
|
:start_by)
|
1444
|
+
SENSITIVE = []
|
1411
1445
|
include Aws::Structure
|
1412
1446
|
end
|
1413
1447
|
|
@@ -1429,6 +1463,7 @@ module Aws::Backup
|
|
1429
1463
|
#
|
1430
1464
|
class DescribeBackupVaultInput < Struct.new(
|
1431
1465
|
:backup_vault_name)
|
1466
|
+
SENSITIVE = []
|
1432
1467
|
include Aws::Structure
|
1433
1468
|
end
|
1434
1469
|
|
@@ -1477,6 +1512,7 @@ module Aws::Backup
|
|
1477
1512
|
:creation_date,
|
1478
1513
|
:creator_request_id,
|
1479
1514
|
:number_of_recovery_points)
|
1515
|
+
SENSITIVE = []
|
1480
1516
|
include Aws::Structure
|
1481
1517
|
end
|
1482
1518
|
|
@@ -1488,13 +1524,14 @@ module Aws::Backup
|
|
1488
1524
|
# }
|
1489
1525
|
#
|
1490
1526
|
# @!attribute [rw] copy_job_id
|
1491
|
-
# Uniquely identifies a
|
1527
|
+
# Uniquely identifies a copy job.
|
1492
1528
|
# @return [String]
|
1493
1529
|
#
|
1494
1530
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeCopyJobInput AWS API Documentation
|
1495
1531
|
#
|
1496
1532
|
class DescribeCopyJobInput < Struct.new(
|
1497
1533
|
:copy_job_id)
|
1534
|
+
SENSITIVE = []
|
1498
1535
|
include Aws::Structure
|
1499
1536
|
end
|
1500
1537
|
|
@@ -1506,6 +1543,7 @@ module Aws::Backup
|
|
1506
1543
|
#
|
1507
1544
|
class DescribeCopyJobOutput < Struct.new(
|
1508
1545
|
:copy_job)
|
1546
|
+
SENSITIVE = []
|
1509
1547
|
include Aws::Structure
|
1510
1548
|
end
|
1511
1549
|
|
@@ -1525,6 +1563,7 @@ module Aws::Backup
|
|
1525
1563
|
#
|
1526
1564
|
class DescribeProtectedResourceInput < Struct.new(
|
1527
1565
|
:resource_arn)
|
1566
|
+
SENSITIVE = []
|
1528
1567
|
include Aws::Structure
|
1529
1568
|
end
|
1530
1569
|
|
@@ -1551,6 +1590,7 @@ module Aws::Backup
|
|
1551
1590
|
:resource_arn,
|
1552
1591
|
:resource_type,
|
1553
1592
|
:last_backup_time)
|
1593
|
+
SENSITIVE = []
|
1554
1594
|
include Aws::Structure
|
1555
1595
|
end
|
1556
1596
|
|
@@ -1580,6 +1620,7 @@ module Aws::Backup
|
|
1580
1620
|
class DescribeRecoveryPointInput < Struct.new(
|
1581
1621
|
:backup_vault_name,
|
1582
1622
|
:recovery_point_arn)
|
1623
|
+
SENSITIVE = []
|
1583
1624
|
include Aws::Structure
|
1584
1625
|
end
|
1585
1626
|
|
@@ -1713,6 +1754,26 @@ module Aws::Backup
|
|
1713
1754
|
:is_encrypted,
|
1714
1755
|
:storage_class,
|
1715
1756
|
:last_restore_time)
|
1757
|
+
SENSITIVE = []
|
1758
|
+
include Aws::Structure
|
1759
|
+
end
|
1760
|
+
|
1761
|
+
# @api private
|
1762
|
+
#
|
1763
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettingsInput AWS API Documentation
|
1764
|
+
#
|
1765
|
+
class DescribeRegionSettingsInput < Aws::EmptyStructure; end
|
1766
|
+
|
1767
|
+
# @!attribute [rw] resource_type_opt_in_preference
|
1768
|
+
# Returns a list of all services along with the opt-in preferences in
|
1769
|
+
# the region.
|
1770
|
+
# @return [Hash<String,Boolean>]
|
1771
|
+
#
|
1772
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettingsOutput AWS API Documentation
|
1773
|
+
#
|
1774
|
+
class DescribeRegionSettingsOutput < Struct.new(
|
1775
|
+
:resource_type_opt_in_preference)
|
1776
|
+
SENSITIVE = []
|
1716
1777
|
include Aws::Structure
|
1717
1778
|
end
|
1718
1779
|
|
@@ -1731,6 +1792,7 @@ module Aws::Backup
|
|
1731
1792
|
#
|
1732
1793
|
class DescribeRestoreJobInput < Struct.new(
|
1733
1794
|
:restore_job_id)
|
1795
|
+
SENSITIVE = []
|
1734
1796
|
include Aws::Structure
|
1735
1797
|
end
|
1736
1798
|
|
@@ -1807,6 +1869,7 @@ module Aws::Backup
|
|
1807
1869
|
:iam_role_arn,
|
1808
1870
|
:expected_completion_time_minutes,
|
1809
1871
|
:created_resource_arn)
|
1872
|
+
SENSITIVE = []
|
1810
1873
|
include Aws::Structure
|
1811
1874
|
end
|
1812
1875
|
|
@@ -1825,6 +1888,7 @@ module Aws::Backup
|
|
1825
1888
|
#
|
1826
1889
|
class ExportBackupPlanTemplateInput < Struct.new(
|
1827
1890
|
:backup_plan_id)
|
1891
|
+
SENSITIVE = []
|
1828
1892
|
include Aws::Structure
|
1829
1893
|
end
|
1830
1894
|
|
@@ -1841,6 +1905,7 @@ module Aws::Backup
|
|
1841
1905
|
#
|
1842
1906
|
class ExportBackupPlanTemplateOutput < Struct.new(
|
1843
1907
|
:backup_plan_template_json)
|
1908
|
+
SENSITIVE = []
|
1844
1909
|
include Aws::Structure
|
1845
1910
|
end
|
1846
1911
|
|
@@ -1859,6 +1924,7 @@ module Aws::Backup
|
|
1859
1924
|
#
|
1860
1925
|
class GetBackupPlanFromJSONInput < Struct.new(
|
1861
1926
|
:backup_plan_template_json)
|
1927
|
+
SENSITIVE = []
|
1862
1928
|
include Aws::Structure
|
1863
1929
|
end
|
1864
1930
|
|
@@ -1871,6 +1937,7 @@ module Aws::Backup
|
|
1871
1937
|
#
|
1872
1938
|
class GetBackupPlanFromJSONOutput < Struct.new(
|
1873
1939
|
:backup_plan)
|
1940
|
+
SENSITIVE = []
|
1874
1941
|
include Aws::Structure
|
1875
1942
|
end
|
1876
1943
|
|
@@ -1889,6 +1956,7 @@ module Aws::Backup
|
|
1889
1956
|
#
|
1890
1957
|
class GetBackupPlanFromTemplateInput < Struct.new(
|
1891
1958
|
:backup_plan_template_id)
|
1959
|
+
SENSITIVE = []
|
1892
1960
|
include Aws::Structure
|
1893
1961
|
end
|
1894
1962
|
|
@@ -1901,6 +1969,7 @@ module Aws::Backup
|
|
1901
1969
|
#
|
1902
1970
|
class GetBackupPlanFromTemplateOutput < Struct.new(
|
1903
1971
|
:backup_plan_document)
|
1972
|
+
SENSITIVE = []
|
1904
1973
|
include Aws::Structure
|
1905
1974
|
end
|
1906
1975
|
|
@@ -1926,6 +1995,7 @@ module Aws::Backup
|
|
1926
1995
|
class GetBackupPlanInput < Struct.new(
|
1927
1996
|
:backup_plan_id,
|
1928
1997
|
:version_id)
|
1998
|
+
SENSITIVE = []
|
1929
1999
|
include Aws::Structure
|
1930
2000
|
end
|
1931
2001
|
|
@@ -1988,6 +2058,7 @@ module Aws::Backup
|
|
1988
2058
|
:creation_date,
|
1989
2059
|
:deletion_date,
|
1990
2060
|
:last_execution_date)
|
2061
|
+
SENSITIVE = []
|
1991
2062
|
include Aws::Structure
|
1992
2063
|
end
|
1993
2064
|
|
@@ -2013,6 +2084,7 @@ module Aws::Backup
|
|
2013
2084
|
class GetBackupSelectionInput < Struct.new(
|
2014
2085
|
:backup_plan_id,
|
2015
2086
|
:selection_id)
|
2087
|
+
SENSITIVE = []
|
2016
2088
|
include Aws::Structure
|
2017
2089
|
end
|
2018
2090
|
|
@@ -2051,6 +2123,7 @@ module Aws::Backup
|
|
2051
2123
|
:backup_plan_id,
|
2052
2124
|
:creation_date,
|
2053
2125
|
:creator_request_id)
|
2126
|
+
SENSITIVE = []
|
2054
2127
|
include Aws::Structure
|
2055
2128
|
end
|
2056
2129
|
|
@@ -2072,6 +2145,7 @@ module Aws::Backup
|
|
2072
2145
|
#
|
2073
2146
|
class GetBackupVaultAccessPolicyInput < Struct.new(
|
2074
2147
|
:backup_vault_name)
|
2148
|
+
SENSITIVE = []
|
2075
2149
|
include Aws::Structure
|
2076
2150
|
end
|
2077
2151
|
|
@@ -2098,6 +2172,7 @@ module Aws::Backup
|
|
2098
2172
|
:backup_vault_name,
|
2099
2173
|
:backup_vault_arn,
|
2100
2174
|
:policy)
|
2175
|
+
SENSITIVE = []
|
2101
2176
|
include Aws::Structure
|
2102
2177
|
end
|
2103
2178
|
|
@@ -2119,6 +2194,7 @@ module Aws::Backup
|
|
2119
2194
|
#
|
2120
2195
|
class GetBackupVaultNotificationsInput < Struct.new(
|
2121
2196
|
:backup_vault_name)
|
2197
|
+
SENSITIVE = []
|
2122
2198
|
include Aws::Structure
|
2123
2199
|
end
|
2124
2200
|
|
@@ -2153,6 +2229,7 @@ module Aws::Backup
|
|
2153
2229
|
:backup_vault_arn,
|
2154
2230
|
:sns_topic_arn,
|
2155
2231
|
:backup_vault_events)
|
2232
|
+
SENSITIVE = []
|
2156
2233
|
include Aws::Structure
|
2157
2234
|
end
|
2158
2235
|
|
@@ -2182,6 +2259,7 @@ module Aws::Backup
|
|
2182
2259
|
class GetRecoveryPointRestoreMetadataInput < Struct.new(
|
2183
2260
|
:backup_vault_name,
|
2184
2261
|
:recovery_point_arn)
|
2262
|
+
SENSITIVE = []
|
2185
2263
|
include Aws::Structure
|
2186
2264
|
end
|
2187
2265
|
|
@@ -2207,6 +2285,7 @@ module Aws::Backup
|
|
2207
2285
|
:backup_vault_arn,
|
2208
2286
|
:recovery_point_arn,
|
2209
2287
|
:restore_metadata)
|
2288
|
+
SENSITIVE = [:restore_metadata]
|
2210
2289
|
include Aws::Structure
|
2211
2290
|
end
|
2212
2291
|
|
@@ -2228,6 +2307,7 @@ module Aws::Backup
|
|
2228
2307
|
#
|
2229
2308
|
class GetSupportedResourceTypesOutput < Struct.new(
|
2230
2309
|
:resource_types)
|
2310
|
+
SENSITIVE = []
|
2231
2311
|
include Aws::Structure
|
2232
2312
|
end
|
2233
2313
|
|
@@ -2253,6 +2333,7 @@ module Aws::Backup
|
|
2253
2333
|
:message,
|
2254
2334
|
:type,
|
2255
2335
|
:context)
|
2336
|
+
SENSITIVE = []
|
2256
2337
|
include Aws::Structure
|
2257
2338
|
end
|
2258
2339
|
|
@@ -2278,6 +2359,7 @@ module Aws::Backup
|
|
2278
2359
|
:message,
|
2279
2360
|
:type,
|
2280
2361
|
:context)
|
2362
|
+
SENSITIVE = []
|
2281
2363
|
include Aws::Structure
|
2282
2364
|
end
|
2283
2365
|
|
@@ -2314,6 +2396,7 @@ module Aws::Backup
|
|
2314
2396
|
class Lifecycle < Struct.new(
|
2315
2397
|
:move_to_cold_storage_after_days,
|
2316
2398
|
:delete_after_days)
|
2399
|
+
SENSITIVE = []
|
2317
2400
|
include Aws::Structure
|
2318
2401
|
end
|
2319
2402
|
|
@@ -2339,6 +2422,7 @@ module Aws::Backup
|
|
2339
2422
|
:message,
|
2340
2423
|
:type,
|
2341
2424
|
:context)
|
2425
|
+
SENSITIVE = []
|
2342
2426
|
include Aws::Structure
|
2343
2427
|
end
|
2344
2428
|
|
@@ -2417,6 +2501,7 @@ module Aws::Backup
|
|
2417
2501
|
:by_created_before,
|
2418
2502
|
:by_created_after,
|
2419
2503
|
:by_resource_type)
|
2504
|
+
SENSITIVE = []
|
2420
2505
|
include Aws::Structure
|
2421
2506
|
end
|
2422
2507
|
|
@@ -2437,6 +2522,7 @@ module Aws::Backup
|
|
2437
2522
|
class ListBackupJobsOutput < Struct.new(
|
2438
2523
|
:backup_jobs,
|
2439
2524
|
:next_token)
|
2525
|
+
SENSITIVE = []
|
2440
2526
|
include Aws::Structure
|
2441
2527
|
end
|
2442
2528
|
|
@@ -2464,6 +2550,7 @@ module Aws::Backup
|
|
2464
2550
|
class ListBackupPlanTemplatesInput < Struct.new(
|
2465
2551
|
:next_token,
|
2466
2552
|
:max_results)
|
2553
|
+
SENSITIVE = []
|
2467
2554
|
include Aws::Structure
|
2468
2555
|
end
|
2469
2556
|
|
@@ -2484,6 +2571,7 @@ module Aws::Backup
|
|
2484
2571
|
class ListBackupPlanTemplatesOutput < Struct.new(
|
2485
2572
|
:next_token,
|
2486
2573
|
:backup_plan_templates_list)
|
2574
|
+
SENSITIVE = []
|
2487
2575
|
include Aws::Structure
|
2488
2576
|
end
|
2489
2577
|
|
@@ -2517,6 +2605,7 @@ module Aws::Backup
|
|
2517
2605
|
:backup_plan_id,
|
2518
2606
|
:next_token,
|
2519
2607
|
:max_results)
|
2608
|
+
SENSITIVE = []
|
2520
2609
|
include Aws::Structure
|
2521
2610
|
end
|
2522
2611
|
|
@@ -2537,6 +2626,7 @@ module Aws::Backup
|
|
2537
2626
|
class ListBackupPlanVersionsOutput < Struct.new(
|
2538
2627
|
:next_token,
|
2539
2628
|
:backup_plan_versions_list)
|
2629
|
+
SENSITIVE = []
|
2540
2630
|
include Aws::Structure
|
2541
2631
|
end
|
2542
2632
|
|
@@ -2571,6 +2661,7 @@ module Aws::Backup
|
|
2571
2661
|
:next_token,
|
2572
2662
|
:max_results,
|
2573
2663
|
:include_deleted)
|
2664
|
+
SENSITIVE = []
|
2574
2665
|
include Aws::Structure
|
2575
2666
|
end
|
2576
2667
|
|
@@ -2591,6 +2682,7 @@ module Aws::Backup
|
|
2591
2682
|
class ListBackupPlansOutput < Struct.new(
|
2592
2683
|
:next_token,
|
2593
2684
|
:backup_plans_list)
|
2685
|
+
SENSITIVE = []
|
2594
2686
|
include Aws::Structure
|
2595
2687
|
end
|
2596
2688
|
|
@@ -2624,6 +2716,7 @@ module Aws::Backup
|
|
2624
2716
|
:backup_plan_id,
|
2625
2717
|
:next_token,
|
2626
2718
|
:max_results)
|
2719
|
+
SENSITIVE = []
|
2627
2720
|
include Aws::Structure
|
2628
2721
|
end
|
2629
2722
|
|
@@ -2644,6 +2737,7 @@ module Aws::Backup
|
|
2644
2737
|
class ListBackupSelectionsOutput < Struct.new(
|
2645
2738
|
:next_token,
|
2646
2739
|
:backup_selections_list)
|
2740
|
+
SENSITIVE = []
|
2647
2741
|
include Aws::Structure
|
2648
2742
|
end
|
2649
2743
|
|
@@ -2671,6 +2765,7 @@ module Aws::Backup
|
|
2671
2765
|
class ListBackupVaultsInput < Struct.new(
|
2672
2766
|
:next_token,
|
2673
2767
|
:max_results)
|
2768
|
+
SENSITIVE = []
|
2674
2769
|
include Aws::Structure
|
2675
2770
|
end
|
2676
2771
|
|
@@ -2693,6 +2788,7 @@ module Aws::Backup
|
|
2693
2788
|
class ListBackupVaultsOutput < Struct.new(
|
2694
2789
|
:backup_vault_list,
|
2695
2790
|
:next_token)
|
2791
|
+
SENSITIVE = []
|
2696
2792
|
include Aws::Structure
|
2697
2793
|
end
|
2698
2794
|
|
@@ -2741,8 +2837,6 @@ module Aws::Backup
|
|
2741
2837
|
# @!attribute [rw] by_resource_type
|
2742
2838
|
# Returns only backup jobs for the specified resources:
|
2743
2839
|
#
|
2744
|
-
# * `DynamoDB` for Amazon DynamoDB
|
2745
|
-
#
|
2746
2840
|
# * `EBS` for Amazon Elastic Block Store
|
2747
2841
|
#
|
2748
2842
|
# * `EFS` for Amazon Elastic File System
|
@@ -2755,7 +2849,7 @@ module Aws::Backup
|
|
2755
2849
|
# @!attribute [rw] by_destination_vault_arn
|
2756
2850
|
# An Amazon Resource Name (ARN) that uniquely identifies a source
|
2757
2851
|
# backup vault to copy from; for example,
|
2758
|
-
# arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
|
2852
|
+
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
2759
2853
|
# @return [String]
|
2760
2854
|
#
|
2761
2855
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListCopyJobsInput AWS API Documentation
|
@@ -2769,6 +2863,7 @@ module Aws::Backup
|
|
2769
2863
|
:by_created_after,
|
2770
2864
|
:by_resource_type,
|
2771
2865
|
:by_destination_vault_arn)
|
2866
|
+
SENSITIVE = []
|
2772
2867
|
include Aws::Structure
|
2773
2868
|
end
|
2774
2869
|
|
@@ -2789,6 +2884,7 @@ module Aws::Backup
|
|
2789
2884
|
class ListCopyJobsOutput < Struct.new(
|
2790
2885
|
:copy_jobs,
|
2791
2886
|
:next_token)
|
2887
|
+
SENSITIVE = []
|
2792
2888
|
include Aws::Structure
|
2793
2889
|
end
|
2794
2890
|
|
@@ -2816,6 +2912,7 @@ module Aws::Backup
|
|
2816
2912
|
class ListProtectedResourcesInput < Struct.new(
|
2817
2913
|
:next_token,
|
2818
2914
|
:max_results)
|
2915
|
+
SENSITIVE = []
|
2819
2916
|
include Aws::Structure
|
2820
2917
|
end
|
2821
2918
|
|
@@ -2837,6 +2934,7 @@ module Aws::Backup
|
|
2837
2934
|
class ListProtectedResourcesOutput < Struct.new(
|
2838
2935
|
:results,
|
2839
2936
|
:next_token)
|
2937
|
+
SENSITIVE = []
|
2840
2938
|
include Aws::Structure
|
2841
2939
|
end
|
2842
2940
|
|
@@ -2907,6 +3005,7 @@ module Aws::Backup
|
|
2907
3005
|
:by_backup_plan_id,
|
2908
3006
|
:by_created_before,
|
2909
3007
|
:by_created_after)
|
3008
|
+
SENSITIVE = []
|
2910
3009
|
include Aws::Structure
|
2911
3010
|
end
|
2912
3011
|
|
@@ -2927,6 +3026,7 @@ module Aws::Backup
|
|
2927
3026
|
class ListRecoveryPointsByBackupVaultOutput < Struct.new(
|
2928
3027
|
:next_token,
|
2929
3028
|
:recovery_points)
|
3029
|
+
SENSITIVE = []
|
2930
3030
|
include Aws::Structure
|
2931
3031
|
end
|
2932
3032
|
|
@@ -2961,6 +3061,7 @@ module Aws::Backup
|
|
2961
3061
|
:resource_arn,
|
2962
3062
|
:next_token,
|
2963
3063
|
:max_results)
|
3064
|
+
SENSITIVE = []
|
2964
3065
|
include Aws::Structure
|
2965
3066
|
end
|
2966
3067
|
|
@@ -2981,6 +3082,7 @@ module Aws::Backup
|
|
2981
3082
|
class ListRecoveryPointsByResourceOutput < Struct.new(
|
2982
3083
|
:next_token,
|
2983
3084
|
:recovery_points)
|
3085
|
+
SENSITIVE = []
|
2984
3086
|
include Aws::Structure
|
2985
3087
|
end
|
2986
3088
|
|
@@ -3008,6 +3110,7 @@ module Aws::Backup
|
|
3008
3110
|
class ListRestoreJobsInput < Struct.new(
|
3009
3111
|
:next_token,
|
3010
3112
|
:max_results)
|
3113
|
+
SENSITIVE = []
|
3011
3114
|
include Aws::Structure
|
3012
3115
|
end
|
3013
3116
|
|
@@ -3028,6 +3131,7 @@ module Aws::Backup
|
|
3028
3131
|
class ListRestoreJobsOutput < Struct.new(
|
3029
3132
|
:restore_jobs,
|
3030
3133
|
:next_token)
|
3134
|
+
SENSITIVE = []
|
3031
3135
|
include Aws::Structure
|
3032
3136
|
end
|
3033
3137
|
|
@@ -3063,6 +3167,7 @@ module Aws::Backup
|
|
3063
3167
|
:resource_arn,
|
3064
3168
|
:next_token,
|
3065
3169
|
:max_results)
|
3170
|
+
SENSITIVE = []
|
3066
3171
|
include Aws::Structure
|
3067
3172
|
end
|
3068
3173
|
|
@@ -3083,6 +3188,7 @@ module Aws::Backup
|
|
3083
3188
|
class ListTagsOutput < Struct.new(
|
3084
3189
|
:next_token,
|
3085
3190
|
:tags)
|
3191
|
+
SENSITIVE = [:tags]
|
3086
3192
|
include Aws::Structure
|
3087
3193
|
end
|
3088
3194
|
|
@@ -3107,6 +3213,7 @@ module Aws::Backup
|
|
3107
3213
|
:message,
|
3108
3214
|
:type,
|
3109
3215
|
:context)
|
3216
|
+
SENSITIVE = []
|
3110
3217
|
include Aws::Structure
|
3111
3218
|
end
|
3112
3219
|
|
@@ -3136,6 +3243,7 @@ module Aws::Backup
|
|
3136
3243
|
:resource_arn,
|
3137
3244
|
:resource_type,
|
3138
3245
|
:last_backup_time)
|
3246
|
+
SENSITIVE = []
|
3139
3247
|
include Aws::Structure
|
3140
3248
|
end
|
3141
3249
|
|
@@ -3163,6 +3271,7 @@ module Aws::Backup
|
|
3163
3271
|
class PutBackupVaultAccessPolicyInput < Struct.new(
|
3164
3272
|
:backup_vault_name,
|
3165
3273
|
:policy)
|
3274
|
+
SENSITIVE = []
|
3166
3275
|
include Aws::Structure
|
3167
3276
|
end
|
3168
3277
|
|
@@ -3199,6 +3308,7 @@ module Aws::Backup
|
|
3199
3308
|
:backup_vault_name,
|
3200
3309
|
:sns_topic_arn,
|
3201
3310
|
:backup_vault_events)
|
3311
|
+
SENSITIVE = []
|
3202
3312
|
include Aws::Structure
|
3203
3313
|
end
|
3204
3314
|
|
@@ -3323,6 +3433,7 @@ module Aws::Backup
|
|
3323
3433
|
:encryption_key_arn,
|
3324
3434
|
:is_encrypted,
|
3325
3435
|
:last_restore_time)
|
3436
|
+
SENSITIVE = []
|
3326
3437
|
include Aws::Structure
|
3327
3438
|
end
|
3328
3439
|
|
@@ -3371,6 +3482,7 @@ module Aws::Backup
|
|
3371
3482
|
:encryption_key_arn,
|
3372
3483
|
:backup_size_bytes,
|
3373
3484
|
:backup_vault_name)
|
3485
|
+
SENSITIVE = []
|
3374
3486
|
include Aws::Structure
|
3375
3487
|
end
|
3376
3488
|
|
@@ -3404,6 +3516,7 @@ module Aws::Backup
|
|
3404
3516
|
:backup_plan_arn,
|
3405
3517
|
:backup_plan_version,
|
3406
3518
|
:backup_rule_id)
|
3519
|
+
SENSITIVE = []
|
3407
3520
|
include Aws::Structure
|
3408
3521
|
end
|
3409
3522
|
|
@@ -3428,6 +3541,7 @@ module Aws::Backup
|
|
3428
3541
|
:message,
|
3429
3542
|
:type,
|
3430
3543
|
:context)
|
3544
|
+
SENSITIVE = []
|
3431
3545
|
include Aws::Structure
|
3432
3546
|
end
|
3433
3547
|
|
@@ -3504,6 +3618,7 @@ module Aws::Backup
|
|
3504
3618
|
:iam_role_arn,
|
3505
3619
|
:expected_completion_time_minutes,
|
3506
3620
|
:created_resource_arn)
|
3621
|
+
SENSITIVE = []
|
3507
3622
|
include Aws::Structure
|
3508
3623
|
end
|
3509
3624
|
|
@@ -3528,6 +3643,7 @@ module Aws::Backup
|
|
3528
3643
|
:message,
|
3529
3644
|
:type,
|
3530
3645
|
:context)
|
3646
|
+
SENSITIVE = []
|
3531
3647
|
include Aws::Structure
|
3532
3648
|
end
|
3533
3649
|
|
@@ -3573,12 +3689,14 @@ module Aws::Backup
|
|
3573
3689
|
# @return [String]
|
3574
3690
|
#
|
3575
3691
|
# @!attribute [rw] start_window_minutes
|
3576
|
-
#
|
3692
|
+
# A value in minutes after a backup is scheduled before a job will be
|
3693
|
+
# canceled if it doesn't start successfully. This value is optional.
|
3577
3694
|
# @return [Integer]
|
3578
3695
|
#
|
3579
3696
|
# @!attribute [rw] complete_window_minutes
|
3580
|
-
#
|
3581
|
-
#
|
3697
|
+
# A value in minutes after a backup job is successfully started before
|
3698
|
+
# it must be completed or it will be canceled by AWS Backup. This
|
3699
|
+
# value is optional.
|
3582
3700
|
# @return [Integer]
|
3583
3701
|
#
|
3584
3702
|
# @!attribute [rw] lifecycle
|
@@ -3610,6 +3728,7 @@ module Aws::Backup
|
|
3610
3728
|
:complete_window_minutes,
|
3611
3729
|
:lifecycle,
|
3612
3730
|
:recovery_point_tags)
|
3731
|
+
SENSITIVE = [:recovery_point_tags]
|
3613
3732
|
include Aws::Structure
|
3614
3733
|
end
|
3615
3734
|
|
@@ -3635,6 +3754,7 @@ module Aws::Backup
|
|
3635
3754
|
:backup_job_id,
|
3636
3755
|
:recovery_point_arn,
|
3637
3756
|
:creation_date)
|
3757
|
+
SENSITIVE = []
|
3638
3758
|
include Aws::Structure
|
3639
3759
|
end
|
3640
3760
|
|
@@ -3663,7 +3783,7 @@ module Aws::Backup
|
|
3663
3783
|
# The name of a logical source container where backups are stored.
|
3664
3784
|
# Backup vaults are identified by names that are unique to the account
|
3665
3785
|
# used to create them and the AWS Region where they are created. They
|
3666
|
-
# consist of lowercase letters, numbers, and hyphens.
|
3786
|
+
# consist of lowercase letters, numbers, and hyphens.
|
3667
3787
|
# @return [String]
|
3668
3788
|
#
|
3669
3789
|
# @!attribute [rw] destination_backup_vault_arn
|
@@ -3674,7 +3794,7 @@ module Aws::Backup
|
|
3674
3794
|
#
|
3675
3795
|
# @!attribute [rw] iam_role_arn
|
3676
3796
|
# Specifies the IAM role ARN used to copy the target recovery point;
|
3677
|
-
# for example, arn:aws:iam::123456789012:role/S3Access
|
3797
|
+
# for example, `arn:aws:iam::123456789012:role/S3Access`.
|
3678
3798
|
# @return [String]
|
3679
3799
|
#
|
3680
3800
|
# @!attribute [rw] idempotency_token
|
@@ -3704,18 +3824,19 @@ module Aws::Backup
|
|
3704
3824
|
:iam_role_arn,
|
3705
3825
|
:idempotency_token,
|
3706
3826
|
:lifecycle)
|
3827
|
+
SENSITIVE = []
|
3707
3828
|
include Aws::Structure
|
3708
3829
|
end
|
3709
3830
|
|
3710
3831
|
# @!attribute [rw] copy_job_id
|
3711
|
-
# Uniquely identifies a
|
3832
|
+
# Uniquely identifies a copy job.
|
3712
3833
|
# @return [String]
|
3713
3834
|
#
|
3714
3835
|
# @!attribute [rw] creation_date
|
3715
|
-
# The date and time that a
|
3716
|
-
# Coordinated Universal Time (UTC). The value of CreationDate is
|
3836
|
+
# The date and time that a copy job is started, in Unix format and
|
3837
|
+
# Coordinated Universal Time (UTC). The value of `CreationDate` is
|
3717
3838
|
# accurate to milliseconds. For example, the value 1516925490.087
|
3718
|
-
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
3839
|
+
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
3719
3840
|
# @return [Time]
|
3720
3841
|
#
|
3721
3842
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartCopyJobOutput AWS API Documentation
|
@@ -3723,6 +3844,7 @@ module Aws::Backup
|
|
3723
3844
|
class StartCopyJobOutput < Struct.new(
|
3724
3845
|
:copy_job_id,
|
3725
3846
|
:creation_date)
|
3847
|
+
SENSITIVE = []
|
3726
3848
|
include Aws::Structure
|
3727
3849
|
end
|
3728
3850
|
|
@@ -3749,7 +3871,7 @@ module Aws::Backup
|
|
3749
3871
|
# resource name, required to restore a recovery point.
|
3750
3872
|
#
|
3751
3873
|
# You can get configuration metadata about a resource at the time it
|
3752
|
-
# was backed
|
3874
|
+
# was backed up by calling `GetRecoveryPointRestoreMetadata`. However,
|
3753
3875
|
# values in addition to those provided by
|
3754
3876
|
# `GetRecoveryPointRestoreMetadata` might be required to restore a
|
3755
3877
|
# resource. For example, you might need to provide a new resource name
|
@@ -3812,6 +3934,7 @@ module Aws::Backup
|
|
3812
3934
|
:iam_role_arn,
|
3813
3935
|
:idempotency_token,
|
3814
3936
|
:resource_type)
|
3937
|
+
SENSITIVE = [:metadata]
|
3815
3938
|
include Aws::Structure
|
3816
3939
|
end
|
3817
3940
|
|
@@ -3823,6 +3946,7 @@ module Aws::Backup
|
|
3823
3946
|
#
|
3824
3947
|
class StartRestoreJobOutput < Struct.new(
|
3825
3948
|
:restore_job_id)
|
3949
|
+
SENSITIVE = []
|
3826
3950
|
include Aws::Structure
|
3827
3951
|
end
|
3828
3952
|
|
@@ -3841,6 +3965,7 @@ module Aws::Backup
|
|
3841
3965
|
#
|
3842
3966
|
class StopBackupJobInput < Struct.new(
|
3843
3967
|
:backup_job_id)
|
3968
|
+
SENSITIVE = []
|
3844
3969
|
include Aws::Structure
|
3845
3970
|
end
|
3846
3971
|
|
@@ -3869,6 +3994,7 @@ module Aws::Backup
|
|
3869
3994
|
class TagResourceInput < Struct.new(
|
3870
3995
|
:resource_arn,
|
3871
3996
|
:tags)
|
3997
|
+
SENSITIVE = [:tags]
|
3872
3998
|
include Aws::Structure
|
3873
3999
|
end
|
3874
4000
|
|
@@ -3895,6 +4021,7 @@ module Aws::Backup
|
|
3895
4021
|
class UntagResourceInput < Struct.new(
|
3896
4022
|
:resource_arn,
|
3897
4023
|
:tag_key_list)
|
4024
|
+
SENSITIVE = [:tag_key_list]
|
3898
4025
|
include Aws::Structure
|
3899
4026
|
end
|
3900
4027
|
|
@@ -3947,6 +4074,7 @@ module Aws::Backup
|
|
3947
4074
|
class UpdateBackupPlanInput < Struct.new(
|
3948
4075
|
:backup_plan_id,
|
3949
4076
|
:backup_plan)
|
4077
|
+
SENSITIVE = []
|
3950
4078
|
include Aws::Structure
|
3951
4079
|
end
|
3952
4080
|
|
@@ -3979,6 +4107,7 @@ module Aws::Backup
|
|
3979
4107
|
:backup_plan_arn,
|
3980
4108
|
:creation_date,
|
3981
4109
|
:version_id)
|
4110
|
+
SENSITIVE = []
|
3982
4111
|
include Aws::Structure
|
3983
4112
|
end
|
3984
4113
|
|
@@ -4025,6 +4154,7 @@ module Aws::Backup
|
|
4025
4154
|
:backup_vault_name,
|
4026
4155
|
:recovery_point_arn,
|
4027
4156
|
:lifecycle)
|
4157
|
+
SENSITIVE = []
|
4028
4158
|
include Aws::Structure
|
4029
4159
|
end
|
4030
4160
|
|
@@ -4063,6 +4193,29 @@ module Aws::Backup
|
|
4063
4193
|
:recovery_point_arn,
|
4064
4194
|
:lifecycle,
|
4065
4195
|
:calculated_lifecycle)
|
4196
|
+
SENSITIVE = []
|
4197
|
+
include Aws::Structure
|
4198
|
+
end
|
4199
|
+
|
4200
|
+
# @note When making an API call, you may pass UpdateRegionSettingsInput
|
4201
|
+
# data as a hash:
|
4202
|
+
#
|
4203
|
+
# {
|
4204
|
+
# resource_type_opt_in_preference: {
|
4205
|
+
# "ResourceType" => false,
|
4206
|
+
# },
|
4207
|
+
# }
|
4208
|
+
#
|
4209
|
+
# @!attribute [rw] resource_type_opt_in_preference
|
4210
|
+
# Updates the list of services along with the opt-in preferences for
|
4211
|
+
# the region.
|
4212
|
+
# @return [Hash<String,Boolean>]
|
4213
|
+
#
|
4214
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettingsInput AWS API Documentation
|
4215
|
+
#
|
4216
|
+
class UpdateRegionSettingsInput < Struct.new(
|
4217
|
+
:resource_type_opt_in_preference)
|
4218
|
+
SENSITIVE = []
|
4066
4219
|
include Aws::Structure
|
4067
4220
|
end
|
4068
4221
|
|