aws-sdk-backup 1.13.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-backup.rb +3 -1
- data/lib/aws-sdk-backup/client.rb +126 -17
- data/lib/aws-sdk-backup/client_api.rb +52 -1
- data/lib/aws-sdk-backup/errors.rb +2 -0
- data/lib/aws-sdk-backup/resource.rb +2 -0
- data/lib/aws-sdk-backup/types.rb +305 -64
- metadata +4 -4
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,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]
|
@@ -132,7 +139,7 @@ module Aws::Backup
|
|
132
139
|
# @return [Time]
|
133
140
|
#
|
134
141
|
# @!attribute [rw] resource_type
|
135
|
-
# The type of AWS resource to be backed
|
142
|
+
# The type of AWS resource to be backed up; for example, an Amazon
|
136
143
|
# Elastic Block Store (Amazon EBS) volume or an Amazon Relational
|
137
144
|
# Database Service (Amazon RDS) database.
|
138
145
|
# @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
|
|
@@ -340,15 +353,14 @@ module Aws::Backup
|
|
340
353
|
# @return [String]
|
341
354
|
#
|
342
355
|
# @!attribute [rw] start_window_minutes
|
343
|
-
#
|
344
|
-
#
|
345
|
-
# successfully.
|
356
|
+
# A value in minutes after a backup is scheduled before a job will be
|
357
|
+
# canceled if it doesn't start successfully. This value is optional.
|
346
358
|
# @return [Integer]
|
347
359
|
#
|
348
360
|
# @!attribute [rw] completion_window_minutes
|
349
361
|
# A value in minutes after a backup job is successfully started before
|
350
|
-
# it must be completed or it
|
351
|
-
# optional.
|
362
|
+
# it must be completed or it will be canceled by AWS Backup. This
|
363
|
+
# value is optional.
|
352
364
|
# @return [Integer]
|
353
365
|
#
|
354
366
|
# @!attribute [rw] lifecycle
|
@@ -390,6 +402,7 @@ module Aws::Backup
|
|
390
402
|
:recovery_point_tags,
|
391
403
|
:rule_id,
|
392
404
|
:copy_actions)
|
405
|
+
SENSITIVE = [:recovery_point_tags]
|
393
406
|
include Aws::Structure
|
394
407
|
end
|
395
408
|
|
@@ -423,7 +436,7 @@ module Aws::Backup
|
|
423
436
|
# }
|
424
437
|
#
|
425
438
|
# @!attribute [rw] rule_name
|
426
|
-
#
|
439
|
+
# An optional display name for a backup rule.
|
427
440
|
# @return [String]
|
428
441
|
#
|
429
442
|
# @!attribute [rw] target_backup_vault_name
|
@@ -438,12 +451,14 @@ module Aws::Backup
|
|
438
451
|
# @return [String]
|
439
452
|
#
|
440
453
|
# @!attribute [rw] start_window_minutes
|
441
|
-
#
|
454
|
+
# A value in minutes after a backup is scheduled before a job will be
|
455
|
+
# canceled if it doesn't start successfully. This value is optional.
|
442
456
|
# @return [Integer]
|
443
457
|
#
|
444
458
|
# @!attribute [rw] completion_window_minutes
|
445
|
-
#
|
446
|
-
#
|
459
|
+
# A value in minutes after a backup job is successfully started before
|
460
|
+
# it must be completed or it will be canceled by AWS Backup. This
|
461
|
+
# value is optional.
|
447
462
|
# @return [Integer]
|
448
463
|
#
|
449
464
|
# @!attribute [rw] lifecycle
|
@@ -454,9 +469,9 @@ module Aws::Backup
|
|
454
469
|
#
|
455
470
|
# Backups transitioned to cold storage must be stored in cold storage
|
456
471
|
# 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.
|
472
|
+
# must be 90 days greater than the “transition to cold after days”
|
473
|
+
# setting. The “transition to cold after days” setting cannot be
|
474
|
+
# changed after a backup has been transitioned to cold.
|
460
475
|
# @return [Types::Lifecycle]
|
461
476
|
#
|
462
477
|
# @!attribute [rw] recovery_point_tags
|
@@ -480,6 +495,7 @@ module Aws::Backup
|
|
480
495
|
:lifecycle,
|
481
496
|
:recovery_point_tags,
|
482
497
|
:copy_actions)
|
498
|
+
SENSITIVE = [:recovery_point_tags]
|
483
499
|
include Aws::Structure
|
484
500
|
end
|
485
501
|
|
@@ -529,6 +545,7 @@ module Aws::Backup
|
|
529
545
|
:iam_role_arn,
|
530
546
|
:resources,
|
531
547
|
:list_of_tags)
|
548
|
+
SENSITIVE = []
|
532
549
|
include Aws::Structure
|
533
550
|
end
|
534
551
|
|
@@ -575,6 +592,7 @@ module Aws::Backup
|
|
575
592
|
:creation_date,
|
576
593
|
:creator_request_id,
|
577
594
|
:iam_role_arn)
|
595
|
+
SENSITIVE = []
|
578
596
|
include Aws::Structure
|
579
597
|
end
|
580
598
|
|
@@ -625,6 +643,7 @@ module Aws::Backup
|
|
625
643
|
:encryption_key_arn,
|
626
644
|
:creator_request_id,
|
627
645
|
:number_of_recovery_points)
|
646
|
+
SENSITIVE = []
|
628
647
|
include Aws::Structure
|
629
648
|
end
|
630
649
|
|
@@ -655,6 +674,7 @@ module Aws::Backup
|
|
655
674
|
class CalculatedLifecycle < Struct.new(
|
656
675
|
:move_to_cold_storage_at,
|
657
676
|
:delete_at)
|
677
|
+
SENSITIVE = []
|
658
678
|
include Aws::Structure
|
659
679
|
end
|
660
680
|
|
@@ -694,6 +714,7 @@ module Aws::Backup
|
|
694
714
|
:condition_type,
|
695
715
|
:condition_key,
|
696
716
|
:condition_value)
|
717
|
+
SENSITIVE = []
|
697
718
|
include Aws::Structure
|
698
719
|
end
|
699
720
|
|
@@ -726,7 +747,7 @@ module Aws::Backup
|
|
726
747
|
# @!attribute [rw] destination_backup_vault_arn
|
727
748
|
# An Amazon Resource Name (ARN) that uniquely identifies the
|
728
749
|
# destination backup vault for the copied backup. For example,
|
729
|
-
# arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
|
750
|
+
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
730
751
|
# @return [String]
|
731
752
|
#
|
732
753
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CopyAction AWS API Documentation
|
@@ -734,65 +755,70 @@ module Aws::Backup
|
|
734
755
|
class CopyAction < Struct.new(
|
735
756
|
:lifecycle,
|
736
757
|
:destination_backup_vault_arn)
|
758
|
+
SENSITIVE = []
|
737
759
|
include Aws::Structure
|
738
760
|
end
|
739
761
|
|
740
762
|
# Contains detailed information about a copy job.
|
741
763
|
#
|
764
|
+
# @!attribute [rw] account_id
|
765
|
+
# The account ID that owns the copy job.
|
766
|
+
# @return [String]
|
767
|
+
#
|
742
768
|
# @!attribute [rw] copy_job_id
|
743
|
-
# Uniquely identifies a
|
769
|
+
# Uniquely identifies a copy job.
|
744
770
|
# @return [String]
|
745
771
|
#
|
746
772
|
# @!attribute [rw] source_backup_vault_arn
|
747
773
|
# An Amazon Resource Name (ARN) that uniquely identifies a source copy
|
748
774
|
# vault; for example,
|
749
|
-
# arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
|
775
|
+
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
750
776
|
# @return [String]
|
751
777
|
#
|
752
778
|
# @!attribute [rw] source_recovery_point_arn
|
753
779
|
# An ARN that uniquely identifies a source recovery point; for
|
754
780
|
# example,
|
755
|
-
# arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
|
781
|
+
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
756
782
|
# @return [String]
|
757
783
|
#
|
758
784
|
# @!attribute [rw] destination_backup_vault_arn
|
759
785
|
# An Amazon Resource Name (ARN) that uniquely identifies a destination
|
760
786
|
# copy vault; for example,
|
761
|
-
# arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
|
787
|
+
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
762
788
|
# @return [String]
|
763
789
|
#
|
764
790
|
# @!attribute [rw] destination_recovery_point_arn
|
765
791
|
# An ARN that uniquely identifies a destination recovery point; for
|
766
792
|
# example,
|
767
|
-
# arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
|
793
|
+
# `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
|
768
794
|
# @return [String]
|
769
795
|
#
|
770
796
|
# @!attribute [rw] resource_arn
|
771
|
-
# The
|
772
|
-
#
|
773
|
-
#
|
797
|
+
# The AWS resource to be copied; for example, an Amazon Elastic Block
|
798
|
+
# Store (Amazon EBS) volume or an Amazon Relational Database Service
|
799
|
+
# (Amazon RDS) database.
|
774
800
|
# @return [String]
|
775
801
|
#
|
776
802
|
# @!attribute [rw] creation_date
|
777
803
|
# The date and time a copy job is created, in Unix format and
|
778
|
-
# Coordinated Universal Time (UTC). The value of CreationDate is
|
804
|
+
# Coordinated Universal Time (UTC). The value of `CreationDate` is
|
779
805
|
# accurate to milliseconds. For example, the value 1516925490.087
|
780
806
|
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
781
807
|
# @return [Time]
|
782
808
|
#
|
783
809
|
# @!attribute [rw] completion_date
|
784
|
-
# The date and time a
|
785
|
-
#
|
786
|
-
#
|
787
|
-
#
|
810
|
+
# The date and time a copy job is completed, in Unix format and
|
811
|
+
# Coordinated Universal Time (UTC). The value of `CompletionDate` is
|
812
|
+
# accurate to milliseconds. For example, the value 1516925490.087
|
813
|
+
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
788
814
|
# @return [Time]
|
789
815
|
#
|
790
816
|
# @!attribute [rw] state
|
791
|
-
# The current state of a
|
817
|
+
# The current state of a copy job.
|
792
818
|
# @return [String]
|
793
819
|
#
|
794
820
|
# @!attribute [rw] status_message
|
795
|
-
# A detailed message explaining the status of the job
|
821
|
+
# A detailed message explaining the status of the job to copy a
|
796
822
|
# resource.
|
797
823
|
# @return [String]
|
798
824
|
#
|
@@ -802,7 +828,7 @@ module Aws::Backup
|
|
802
828
|
#
|
803
829
|
# @!attribute [rw] iam_role_arn
|
804
830
|
# Specifies the IAM role ARN used to copy the target recovery point;
|
805
|
-
# for example, arn:aws:iam::123456789012:role/S3Access
|
831
|
+
# for example, `arn:aws:iam::123456789012:role/S3Access`.
|
806
832
|
# @return [String]
|
807
833
|
#
|
808
834
|
# @!attribute [rw] created_by
|
@@ -819,6 +845,7 @@ module Aws::Backup
|
|
819
845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CopyJob AWS API Documentation
|
820
846
|
#
|
821
847
|
class CopyJob < Struct.new(
|
848
|
+
:account_id,
|
822
849
|
:copy_job_id,
|
823
850
|
:source_backup_vault_arn,
|
824
851
|
:source_recovery_point_arn,
|
@@ -833,6 +860,7 @@ module Aws::Backup
|
|
833
860
|
:iam_role_arn,
|
834
861
|
:created_by,
|
835
862
|
:resource_type)
|
863
|
+
SENSITIVE = []
|
836
864
|
include Aws::Structure
|
837
865
|
end
|
838
866
|
|
@@ -898,6 +926,7 @@ module Aws::Backup
|
|
898
926
|
:backup_plan,
|
899
927
|
:backup_plan_tags,
|
900
928
|
:creator_request_id)
|
929
|
+
SENSITIVE = [:backup_plan_tags]
|
901
930
|
include Aws::Structure
|
902
931
|
end
|
903
932
|
|
@@ -920,7 +949,7 @@ module Aws::Backup
|
|
920
949
|
#
|
921
950
|
# @!attribute [rw] version_id
|
922
951
|
# Unique, randomly generated, Unicode, UTF-8 encoded strings that are
|
923
|
-
# at most
|
952
|
+
# at most 1,024 bytes long. They cannot be edited.
|
924
953
|
# @return [String]
|
925
954
|
#
|
926
955
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupPlanOutput AWS API Documentation
|
@@ -930,6 +959,7 @@ module Aws::Backup
|
|
930
959
|
:backup_plan_arn,
|
931
960
|
:creation_date,
|
932
961
|
:version_id)
|
962
|
+
SENSITIVE = []
|
933
963
|
include Aws::Structure
|
934
964
|
end
|
935
965
|
|
@@ -975,6 +1005,7 @@ module Aws::Backup
|
|
975
1005
|
:backup_plan_id,
|
976
1006
|
:backup_selection,
|
977
1007
|
:creator_request_id)
|
1008
|
+
SENSITIVE = []
|
978
1009
|
include Aws::Structure
|
979
1010
|
end
|
980
1011
|
|
@@ -1000,6 +1031,7 @@ module Aws::Backup
|
|
1000
1031
|
:selection_id,
|
1001
1032
|
:backup_plan_id,
|
1002
1033
|
:creation_date)
|
1034
|
+
SENSITIVE = []
|
1003
1035
|
include Aws::Structure
|
1004
1036
|
end
|
1005
1037
|
|
@@ -1046,6 +1078,7 @@ module Aws::Backup
|
|
1046
1078
|
:backup_vault_tags,
|
1047
1079
|
:encryption_key_arn,
|
1048
1080
|
:creator_request_id)
|
1081
|
+
SENSITIVE = [:backup_vault_tags]
|
1049
1082
|
include Aws::Structure
|
1050
1083
|
end
|
1051
1084
|
|
@@ -1075,6 +1108,7 @@ module Aws::Backup
|
|
1075
1108
|
:backup_vault_name,
|
1076
1109
|
:backup_vault_arn,
|
1077
1110
|
:creation_date)
|
1111
|
+
SENSITIVE = []
|
1078
1112
|
include Aws::Structure
|
1079
1113
|
end
|
1080
1114
|
|
@@ -1093,6 +1127,7 @@ module Aws::Backup
|
|
1093
1127
|
#
|
1094
1128
|
class DeleteBackupPlanInput < Struct.new(
|
1095
1129
|
:backup_plan_id)
|
1130
|
+
SENSITIVE = []
|
1096
1131
|
include Aws::Structure
|
1097
1132
|
end
|
1098
1133
|
|
@@ -1108,7 +1143,7 @@ module Aws::Backup
|
|
1108
1143
|
#
|
1109
1144
|
# @!attribute [rw] deletion_date
|
1110
1145
|
# The date and time a backup plan is deleted, in Unix format and
|
1111
|
-
# Coordinated Universal Time (UTC). The value of `
|
1146
|
+
# Coordinated Universal Time (UTC). The value of `DeletionDate` is
|
1112
1147
|
# accurate to milliseconds. For example, the value 1516925490.087
|
1113
1148
|
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
1114
1149
|
# @return [Time]
|
@@ -1125,6 +1160,7 @@ module Aws::Backup
|
|
1125
1160
|
:backup_plan_arn,
|
1126
1161
|
:deletion_date,
|
1127
1162
|
:version_id)
|
1163
|
+
SENSITIVE = []
|
1128
1164
|
include Aws::Structure
|
1129
1165
|
end
|
1130
1166
|
|
@@ -1150,6 +1186,7 @@ module Aws::Backup
|
|
1150
1186
|
class DeleteBackupSelectionInput < Struct.new(
|
1151
1187
|
:backup_plan_id,
|
1152
1188
|
:selection_id)
|
1189
|
+
SENSITIVE = []
|
1153
1190
|
include Aws::Structure
|
1154
1191
|
end
|
1155
1192
|
|
@@ -1171,6 +1208,7 @@ module Aws::Backup
|
|
1171
1208
|
#
|
1172
1209
|
class DeleteBackupVaultAccessPolicyInput < Struct.new(
|
1173
1210
|
:backup_vault_name)
|
1211
|
+
SENSITIVE = []
|
1174
1212
|
include Aws::Structure
|
1175
1213
|
end
|
1176
1214
|
|
@@ -1184,7 +1222,7 @@ module Aws::Backup
|
|
1184
1222
|
# @!attribute [rw] backup_vault_name
|
1185
1223
|
# The name of a logical container where backups are stored. Backup
|
1186
1224
|
# vaults are identified by names that are unique to the account used
|
1187
|
-
# to create them and
|
1225
|
+
# to create them and the AWS Region where they are created. They
|
1188
1226
|
# consist of lowercase letters, numbers, and hyphens.
|
1189
1227
|
# @return [String]
|
1190
1228
|
#
|
@@ -1192,6 +1230,7 @@ module Aws::Backup
|
|
1192
1230
|
#
|
1193
1231
|
class DeleteBackupVaultInput < Struct.new(
|
1194
1232
|
:backup_vault_name)
|
1233
|
+
SENSITIVE = []
|
1195
1234
|
include Aws::Structure
|
1196
1235
|
end
|
1197
1236
|
|
@@ -1213,6 +1252,7 @@ module Aws::Backup
|
|
1213
1252
|
#
|
1214
1253
|
class DeleteBackupVaultNotificationsInput < Struct.new(
|
1215
1254
|
:backup_vault_name)
|
1255
|
+
SENSITIVE = []
|
1216
1256
|
include Aws::Structure
|
1217
1257
|
end
|
1218
1258
|
|
@@ -1242,6 +1282,7 @@ module Aws::Backup
|
|
1242
1282
|
class DeleteRecoveryPointInput < Struct.new(
|
1243
1283
|
:backup_vault_name,
|
1244
1284
|
:recovery_point_arn)
|
1285
|
+
SENSITIVE = []
|
1245
1286
|
include Aws::Structure
|
1246
1287
|
end
|
1247
1288
|
|
@@ -1267,6 +1308,7 @@ module Aws::Backup
|
|
1267
1308
|
:message,
|
1268
1309
|
:type,
|
1269
1310
|
:context)
|
1311
|
+
SENSITIVE = []
|
1270
1312
|
include Aws::Structure
|
1271
1313
|
end
|
1272
1314
|
|
@@ -1285,9 +1327,14 @@ module Aws::Backup
|
|
1285
1327
|
#
|
1286
1328
|
class DescribeBackupJobInput < Struct.new(
|
1287
1329
|
:backup_job_id)
|
1330
|
+
SENSITIVE = []
|
1288
1331
|
include Aws::Structure
|
1289
1332
|
end
|
1290
1333
|
|
1334
|
+
# @!attribute [rw] account_id
|
1335
|
+
# Returns the account ID that owns the backup job.
|
1336
|
+
# @return [String]
|
1337
|
+
#
|
1291
1338
|
# @!attribute [rw] backup_job_id
|
1292
1339
|
# Uniquely identifies a request to AWS Backup to back up a resource.
|
1293
1340
|
# @return [String]
|
@@ -1325,7 +1372,7 @@ module Aws::Backup
|
|
1325
1372
|
# @!attribute [rw] completion_date
|
1326
1373
|
# The date and time that a job to create a backup job is completed, in
|
1327
1374
|
# Unix format and Coordinated Universal Time (UTC). The value of
|
1328
|
-
# `
|
1375
|
+
# `CompletionDate` is accurate to milliseconds. For example, the value
|
1329
1376
|
# 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
|
1330
1377
|
# @return [Time]
|
1331
1378
|
#
|
@@ -1359,7 +1406,7 @@ module Aws::Backup
|
|
1359
1406
|
# @return [Types::RecoveryPointCreator]
|
1360
1407
|
#
|
1361
1408
|
# @!attribute [rw] resource_type
|
1362
|
-
# The type of AWS resource to be backed
|
1409
|
+
# The type of AWS resource to be backed up; for example, an Amazon
|
1363
1410
|
# Elastic Block Store (Amazon EBS) volume or an Amazon Relational
|
1364
1411
|
# Database Service (Amazon RDS) database.
|
1365
1412
|
# @return [String]
|
@@ -1391,6 +1438,7 @@ module Aws::Backup
|
|
1391
1438
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupJobOutput AWS API Documentation
|
1392
1439
|
#
|
1393
1440
|
class DescribeBackupJobOutput < Struct.new(
|
1441
|
+
:account_id,
|
1394
1442
|
:backup_job_id,
|
1395
1443
|
:backup_vault_name,
|
1396
1444
|
:backup_vault_arn,
|
@@ -1408,6 +1456,7 @@ module Aws::Backup
|
|
1408
1456
|
:bytes_transferred,
|
1409
1457
|
:expected_completion_date,
|
1410
1458
|
:start_by)
|
1459
|
+
SENSITIVE = []
|
1411
1460
|
include Aws::Structure
|
1412
1461
|
end
|
1413
1462
|
|
@@ -1429,6 +1478,7 @@ module Aws::Backup
|
|
1429
1478
|
#
|
1430
1479
|
class DescribeBackupVaultInput < Struct.new(
|
1431
1480
|
:backup_vault_name)
|
1481
|
+
SENSITIVE = []
|
1432
1482
|
include Aws::Structure
|
1433
1483
|
end
|
1434
1484
|
|
@@ -1477,6 +1527,7 @@ module Aws::Backup
|
|
1477
1527
|
:creation_date,
|
1478
1528
|
:creator_request_id,
|
1479
1529
|
:number_of_recovery_points)
|
1530
|
+
SENSITIVE = []
|
1480
1531
|
include Aws::Structure
|
1481
1532
|
end
|
1482
1533
|
|
@@ -1488,13 +1539,14 @@ module Aws::Backup
|
|
1488
1539
|
# }
|
1489
1540
|
#
|
1490
1541
|
# @!attribute [rw] copy_job_id
|
1491
|
-
# Uniquely identifies a
|
1542
|
+
# Uniquely identifies a copy job.
|
1492
1543
|
# @return [String]
|
1493
1544
|
#
|
1494
1545
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeCopyJobInput AWS API Documentation
|
1495
1546
|
#
|
1496
1547
|
class DescribeCopyJobInput < Struct.new(
|
1497
1548
|
:copy_job_id)
|
1549
|
+
SENSITIVE = []
|
1498
1550
|
include Aws::Structure
|
1499
1551
|
end
|
1500
1552
|
|
@@ -1506,6 +1558,7 @@ module Aws::Backup
|
|
1506
1558
|
#
|
1507
1559
|
class DescribeCopyJobOutput < Struct.new(
|
1508
1560
|
:copy_job)
|
1561
|
+
SENSITIVE = []
|
1509
1562
|
include Aws::Structure
|
1510
1563
|
end
|
1511
1564
|
|
@@ -1525,6 +1578,7 @@ module Aws::Backup
|
|
1525
1578
|
#
|
1526
1579
|
class DescribeProtectedResourceInput < Struct.new(
|
1527
1580
|
:resource_arn)
|
1581
|
+
SENSITIVE = []
|
1528
1582
|
include Aws::Structure
|
1529
1583
|
end
|
1530
1584
|
|
@@ -1551,6 +1605,7 @@ module Aws::Backup
|
|
1551
1605
|
:resource_arn,
|
1552
1606
|
:resource_type,
|
1553
1607
|
:last_backup_time)
|
1608
|
+
SENSITIVE = []
|
1554
1609
|
include Aws::Structure
|
1555
1610
|
end
|
1556
1611
|
|
@@ -1580,6 +1635,7 @@ module Aws::Backup
|
|
1580
1635
|
class DescribeRecoveryPointInput < Struct.new(
|
1581
1636
|
:backup_vault_name,
|
1582
1637
|
:recovery_point_arn)
|
1638
|
+
SENSITIVE = []
|
1583
1639
|
include Aws::Structure
|
1584
1640
|
end
|
1585
1641
|
|
@@ -1713,6 +1769,26 @@ module Aws::Backup
|
|
1713
1769
|
:is_encrypted,
|
1714
1770
|
:storage_class,
|
1715
1771
|
:last_restore_time)
|
1772
|
+
SENSITIVE = []
|
1773
|
+
include Aws::Structure
|
1774
|
+
end
|
1775
|
+
|
1776
|
+
# @api private
|
1777
|
+
#
|
1778
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettingsInput AWS API Documentation
|
1779
|
+
#
|
1780
|
+
class DescribeRegionSettingsInput < Aws::EmptyStructure; end
|
1781
|
+
|
1782
|
+
# @!attribute [rw] resource_type_opt_in_preference
|
1783
|
+
# Returns a list of all services along with the opt-in preferences in
|
1784
|
+
# the region.
|
1785
|
+
# @return [Hash<String,Boolean>]
|
1786
|
+
#
|
1787
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettingsOutput AWS API Documentation
|
1788
|
+
#
|
1789
|
+
class DescribeRegionSettingsOutput < Struct.new(
|
1790
|
+
:resource_type_opt_in_preference)
|
1791
|
+
SENSITIVE = []
|
1716
1792
|
include Aws::Structure
|
1717
1793
|
end
|
1718
1794
|
|
@@ -1731,9 +1807,14 @@ module Aws::Backup
|
|
1731
1807
|
#
|
1732
1808
|
class DescribeRestoreJobInput < Struct.new(
|
1733
1809
|
:restore_job_id)
|
1810
|
+
SENSITIVE = []
|
1734
1811
|
include Aws::Structure
|
1735
1812
|
end
|
1736
1813
|
|
1814
|
+
# @!attribute [rw] account_id
|
1815
|
+
# Returns the account ID that owns the restore job.
|
1816
|
+
# @return [String]
|
1817
|
+
#
|
1737
1818
|
# @!attribute [rw] restore_job_id
|
1738
1819
|
# Uniquely identifies the job that restores a recovery point.
|
1739
1820
|
# @return [String]
|
@@ -1764,8 +1845,7 @@ module Aws::Backup
|
|
1764
1845
|
# @return [String]
|
1765
1846
|
#
|
1766
1847
|
# @!attribute [rw] status_message
|
1767
|
-
# A
|
1768
|
-
# recovery point.
|
1848
|
+
# A message showing the status of a job to restore a recovery point.
|
1769
1849
|
# @return [String]
|
1770
1850
|
#
|
1771
1851
|
# @!attribute [rw] percent_done
|
@@ -1793,9 +1873,15 @@ module Aws::Backup
|
|
1793
1873
|
# depends on the resource type of the backed-up resource.
|
1794
1874
|
# @return [String]
|
1795
1875
|
#
|
1876
|
+
# @!attribute [rw] resource_type
|
1877
|
+
# Returns metadata associated with a restore job listed by resource
|
1878
|
+
# type.
|
1879
|
+
# @return [String]
|
1880
|
+
#
|
1796
1881
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRestoreJobOutput AWS API Documentation
|
1797
1882
|
#
|
1798
1883
|
class DescribeRestoreJobOutput < Struct.new(
|
1884
|
+
:account_id,
|
1799
1885
|
:restore_job_id,
|
1800
1886
|
:recovery_point_arn,
|
1801
1887
|
:creation_date,
|
@@ -1806,7 +1892,9 @@ module Aws::Backup
|
|
1806
1892
|
:backup_size_in_bytes,
|
1807
1893
|
:iam_role_arn,
|
1808
1894
|
:expected_completion_time_minutes,
|
1809
|
-
:created_resource_arn
|
1895
|
+
:created_resource_arn,
|
1896
|
+
:resource_type)
|
1897
|
+
SENSITIVE = []
|
1810
1898
|
include Aws::Structure
|
1811
1899
|
end
|
1812
1900
|
|
@@ -1825,6 +1913,7 @@ module Aws::Backup
|
|
1825
1913
|
#
|
1826
1914
|
class ExportBackupPlanTemplateInput < Struct.new(
|
1827
1915
|
:backup_plan_id)
|
1916
|
+
SENSITIVE = []
|
1828
1917
|
include Aws::Structure
|
1829
1918
|
end
|
1830
1919
|
|
@@ -1841,6 +1930,7 @@ module Aws::Backup
|
|
1841
1930
|
#
|
1842
1931
|
class ExportBackupPlanTemplateOutput < Struct.new(
|
1843
1932
|
:backup_plan_template_json)
|
1933
|
+
SENSITIVE = []
|
1844
1934
|
include Aws::Structure
|
1845
1935
|
end
|
1846
1936
|
|
@@ -1859,6 +1949,7 @@ module Aws::Backup
|
|
1859
1949
|
#
|
1860
1950
|
class GetBackupPlanFromJSONInput < Struct.new(
|
1861
1951
|
:backup_plan_template_json)
|
1952
|
+
SENSITIVE = []
|
1862
1953
|
include Aws::Structure
|
1863
1954
|
end
|
1864
1955
|
|
@@ -1871,6 +1962,7 @@ module Aws::Backup
|
|
1871
1962
|
#
|
1872
1963
|
class GetBackupPlanFromJSONOutput < Struct.new(
|
1873
1964
|
:backup_plan)
|
1965
|
+
SENSITIVE = []
|
1874
1966
|
include Aws::Structure
|
1875
1967
|
end
|
1876
1968
|
|
@@ -1889,6 +1981,7 @@ module Aws::Backup
|
|
1889
1981
|
#
|
1890
1982
|
class GetBackupPlanFromTemplateInput < Struct.new(
|
1891
1983
|
:backup_plan_template_id)
|
1984
|
+
SENSITIVE = []
|
1892
1985
|
include Aws::Structure
|
1893
1986
|
end
|
1894
1987
|
|
@@ -1901,6 +1994,7 @@ module Aws::Backup
|
|
1901
1994
|
#
|
1902
1995
|
class GetBackupPlanFromTemplateOutput < Struct.new(
|
1903
1996
|
:backup_plan_document)
|
1997
|
+
SENSITIVE = []
|
1904
1998
|
include Aws::Structure
|
1905
1999
|
end
|
1906
2000
|
|
@@ -1926,6 +2020,7 @@ module Aws::Backup
|
|
1926
2020
|
class GetBackupPlanInput < Struct.new(
|
1927
2021
|
:backup_plan_id,
|
1928
2022
|
:version_id)
|
2023
|
+
SENSITIVE = []
|
1929
2024
|
include Aws::Structure
|
1930
2025
|
end
|
1931
2026
|
|
@@ -1964,7 +2059,7 @@ module Aws::Backup
|
|
1964
2059
|
#
|
1965
2060
|
# @!attribute [rw] deletion_date
|
1966
2061
|
# The date and time that a backup plan is deleted, in Unix format and
|
1967
|
-
# Coordinated Universal Time (UTC). The value of `
|
2062
|
+
# Coordinated Universal Time (UTC). The value of `DeletionDate` is
|
1968
2063
|
# accurate to milliseconds. For example, the value 1516925490.087
|
1969
2064
|
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
1970
2065
|
# @return [Time]
|
@@ -1988,6 +2083,7 @@ module Aws::Backup
|
|
1988
2083
|
:creation_date,
|
1989
2084
|
:deletion_date,
|
1990
2085
|
:last_execution_date)
|
2086
|
+
SENSITIVE = []
|
1991
2087
|
include Aws::Structure
|
1992
2088
|
end
|
1993
2089
|
|
@@ -2013,6 +2109,7 @@ module Aws::Backup
|
|
2013
2109
|
class GetBackupSelectionInput < Struct.new(
|
2014
2110
|
:backup_plan_id,
|
2015
2111
|
:selection_id)
|
2112
|
+
SENSITIVE = []
|
2016
2113
|
include Aws::Structure
|
2017
2114
|
end
|
2018
2115
|
|
@@ -2051,6 +2148,7 @@ module Aws::Backup
|
|
2051
2148
|
:backup_plan_id,
|
2052
2149
|
:creation_date,
|
2053
2150
|
:creator_request_id)
|
2151
|
+
SENSITIVE = []
|
2054
2152
|
include Aws::Structure
|
2055
2153
|
end
|
2056
2154
|
|
@@ -2072,6 +2170,7 @@ module Aws::Backup
|
|
2072
2170
|
#
|
2073
2171
|
class GetBackupVaultAccessPolicyInput < Struct.new(
|
2074
2172
|
:backup_vault_name)
|
2173
|
+
SENSITIVE = []
|
2075
2174
|
include Aws::Structure
|
2076
2175
|
end
|
2077
2176
|
|
@@ -2098,6 +2197,7 @@ module Aws::Backup
|
|
2098
2197
|
:backup_vault_name,
|
2099
2198
|
:backup_vault_arn,
|
2100
2199
|
:policy)
|
2200
|
+
SENSITIVE = []
|
2101
2201
|
include Aws::Structure
|
2102
2202
|
end
|
2103
2203
|
|
@@ -2119,6 +2219,7 @@ module Aws::Backup
|
|
2119
2219
|
#
|
2120
2220
|
class GetBackupVaultNotificationsInput < Struct.new(
|
2121
2221
|
:backup_vault_name)
|
2222
|
+
SENSITIVE = []
|
2122
2223
|
include Aws::Structure
|
2123
2224
|
end
|
2124
2225
|
|
@@ -2153,6 +2254,7 @@ module Aws::Backup
|
|
2153
2254
|
:backup_vault_arn,
|
2154
2255
|
:sns_topic_arn,
|
2155
2256
|
:backup_vault_events)
|
2257
|
+
SENSITIVE = []
|
2156
2258
|
include Aws::Structure
|
2157
2259
|
end
|
2158
2260
|
|
@@ -2182,6 +2284,7 @@ module Aws::Backup
|
|
2182
2284
|
class GetRecoveryPointRestoreMetadataInput < Struct.new(
|
2183
2285
|
:backup_vault_name,
|
2184
2286
|
:recovery_point_arn)
|
2287
|
+
SENSITIVE = []
|
2185
2288
|
include Aws::Structure
|
2186
2289
|
end
|
2187
2290
|
|
@@ -2207,27 +2310,31 @@ module Aws::Backup
|
|
2207
2310
|
:backup_vault_arn,
|
2208
2311
|
:recovery_point_arn,
|
2209
2312
|
:restore_metadata)
|
2313
|
+
SENSITIVE = [:restore_metadata]
|
2210
2314
|
include Aws::Structure
|
2211
2315
|
end
|
2212
2316
|
|
2213
2317
|
# @!attribute [rw] resource_types
|
2214
2318
|
# Contains a string with the supported AWS resource types:
|
2215
2319
|
#
|
2320
|
+
# * `DynamoDB` for Amazon DynamoDB
|
2321
|
+
#
|
2216
2322
|
# * `EBS` for Amazon Elastic Block Store
|
2217
2323
|
#
|
2218
|
-
# * `
|
2324
|
+
# * `EC2` for Amazon Elastic Compute Cloud
|
2219
2325
|
#
|
2220
|
-
# * `
|
2326
|
+
# * `EFS` for Amazon Elastic File System
|
2221
2327
|
#
|
2222
|
-
# * `
|
2328
|
+
# * `RDS` for Amazon Relational Database Service
|
2223
2329
|
#
|
2224
|
-
# * `
|
2330
|
+
# * `Storage Gateway` for AWS Storage Gateway
|
2225
2331
|
# @return [Array<String>]
|
2226
2332
|
#
|
2227
2333
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/GetSupportedResourceTypesOutput AWS API Documentation
|
2228
2334
|
#
|
2229
2335
|
class GetSupportedResourceTypesOutput < Struct.new(
|
2230
2336
|
:resource_types)
|
2337
|
+
SENSITIVE = []
|
2231
2338
|
include Aws::Structure
|
2232
2339
|
end
|
2233
2340
|
|
@@ -2253,6 +2360,7 @@ module Aws::Backup
|
|
2253
2360
|
:message,
|
2254
2361
|
:type,
|
2255
2362
|
:context)
|
2363
|
+
SENSITIVE = []
|
2256
2364
|
include Aws::Structure
|
2257
2365
|
end
|
2258
2366
|
|
@@ -2278,6 +2386,7 @@ module Aws::Backup
|
|
2278
2386
|
:message,
|
2279
2387
|
:type,
|
2280
2388
|
:context)
|
2389
|
+
SENSITIVE = []
|
2281
2390
|
include Aws::Structure
|
2282
2391
|
end
|
2283
2392
|
|
@@ -2314,6 +2423,7 @@ module Aws::Backup
|
|
2314
2423
|
class Lifecycle < Struct.new(
|
2315
2424
|
:move_to_cold_storage_after_days,
|
2316
2425
|
:delete_after_days)
|
2426
|
+
SENSITIVE = []
|
2317
2427
|
include Aws::Structure
|
2318
2428
|
end
|
2319
2429
|
|
@@ -2339,6 +2449,7 @@ module Aws::Backup
|
|
2339
2449
|
:message,
|
2340
2450
|
:type,
|
2341
2451
|
:context)
|
2452
|
+
SENSITIVE = []
|
2342
2453
|
include Aws::Structure
|
2343
2454
|
end
|
2344
2455
|
|
@@ -2354,6 +2465,7 @@ module Aws::Backup
|
|
2354
2465
|
# by_created_before: Time.now,
|
2355
2466
|
# by_created_after: Time.now,
|
2356
2467
|
# by_resource_type: "ResourceType",
|
2468
|
+
# by_account_id: "AccountId",
|
2357
2469
|
# }
|
2358
2470
|
#
|
2359
2471
|
# @!attribute [rw] next_token
|
@@ -2399,6 +2511,8 @@ module Aws::Backup
|
|
2399
2511
|
#
|
2400
2512
|
# * `EBS` for Amazon Elastic Block Store
|
2401
2513
|
#
|
2514
|
+
# * `EC2` for Amazon Elastic Compute Cloud
|
2515
|
+
#
|
2402
2516
|
# * `EFS` for Amazon Elastic File System
|
2403
2517
|
#
|
2404
2518
|
# * `RDS` for Amazon Relational Database Service
|
@@ -2406,6 +2520,11 @@ module Aws::Backup
|
|
2406
2520
|
# * `Storage Gateway` for AWS Storage Gateway
|
2407
2521
|
# @return [String]
|
2408
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
|
+
#
|
2409
2528
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobsInput AWS API Documentation
|
2410
2529
|
#
|
2411
2530
|
class ListBackupJobsInput < Struct.new(
|
@@ -2416,7 +2535,9 @@ module Aws::Backup
|
|
2416
2535
|
:by_backup_vault_name,
|
2417
2536
|
:by_created_before,
|
2418
2537
|
:by_created_after,
|
2419
|
-
:by_resource_type
|
2538
|
+
:by_resource_type,
|
2539
|
+
:by_account_id)
|
2540
|
+
SENSITIVE = []
|
2420
2541
|
include Aws::Structure
|
2421
2542
|
end
|
2422
2543
|
|
@@ -2437,6 +2558,7 @@ module Aws::Backup
|
|
2437
2558
|
class ListBackupJobsOutput < Struct.new(
|
2438
2559
|
:backup_jobs,
|
2439
2560
|
:next_token)
|
2561
|
+
SENSITIVE = []
|
2440
2562
|
include Aws::Structure
|
2441
2563
|
end
|
2442
2564
|
|
@@ -2464,6 +2586,7 @@ module Aws::Backup
|
|
2464
2586
|
class ListBackupPlanTemplatesInput < Struct.new(
|
2465
2587
|
:next_token,
|
2466
2588
|
:max_results)
|
2589
|
+
SENSITIVE = []
|
2467
2590
|
include Aws::Structure
|
2468
2591
|
end
|
2469
2592
|
|
@@ -2484,6 +2607,7 @@ module Aws::Backup
|
|
2484
2607
|
class ListBackupPlanTemplatesOutput < Struct.new(
|
2485
2608
|
:next_token,
|
2486
2609
|
:backup_plan_templates_list)
|
2610
|
+
SENSITIVE = []
|
2487
2611
|
include Aws::Structure
|
2488
2612
|
end
|
2489
2613
|
|
@@ -2517,6 +2641,7 @@ module Aws::Backup
|
|
2517
2641
|
:backup_plan_id,
|
2518
2642
|
:next_token,
|
2519
2643
|
:max_results)
|
2644
|
+
SENSITIVE = []
|
2520
2645
|
include Aws::Structure
|
2521
2646
|
end
|
2522
2647
|
|
@@ -2537,6 +2662,7 @@ module Aws::Backup
|
|
2537
2662
|
class ListBackupPlanVersionsOutput < Struct.new(
|
2538
2663
|
:next_token,
|
2539
2664
|
:backup_plan_versions_list)
|
2665
|
+
SENSITIVE = []
|
2540
2666
|
include Aws::Structure
|
2541
2667
|
end
|
2542
2668
|
|
@@ -2571,6 +2697,7 @@ module Aws::Backup
|
|
2571
2697
|
:next_token,
|
2572
2698
|
:max_results,
|
2573
2699
|
:include_deleted)
|
2700
|
+
SENSITIVE = []
|
2574
2701
|
include Aws::Structure
|
2575
2702
|
end
|
2576
2703
|
|
@@ -2591,6 +2718,7 @@ module Aws::Backup
|
|
2591
2718
|
class ListBackupPlansOutput < Struct.new(
|
2592
2719
|
:next_token,
|
2593
2720
|
:backup_plans_list)
|
2721
|
+
SENSITIVE = []
|
2594
2722
|
include Aws::Structure
|
2595
2723
|
end
|
2596
2724
|
|
@@ -2624,6 +2752,7 @@ module Aws::Backup
|
|
2624
2752
|
:backup_plan_id,
|
2625
2753
|
:next_token,
|
2626
2754
|
:max_results)
|
2755
|
+
SENSITIVE = []
|
2627
2756
|
include Aws::Structure
|
2628
2757
|
end
|
2629
2758
|
|
@@ -2644,6 +2773,7 @@ module Aws::Backup
|
|
2644
2773
|
class ListBackupSelectionsOutput < Struct.new(
|
2645
2774
|
:next_token,
|
2646
2775
|
:backup_selections_list)
|
2776
|
+
SENSITIVE = []
|
2647
2777
|
include Aws::Structure
|
2648
2778
|
end
|
2649
2779
|
|
@@ -2671,6 +2801,7 @@ module Aws::Backup
|
|
2671
2801
|
class ListBackupVaultsInput < Struct.new(
|
2672
2802
|
:next_token,
|
2673
2803
|
:max_results)
|
2804
|
+
SENSITIVE = []
|
2674
2805
|
include Aws::Structure
|
2675
2806
|
end
|
2676
2807
|
|
@@ -2693,6 +2824,7 @@ module Aws::Backup
|
|
2693
2824
|
class ListBackupVaultsOutput < Struct.new(
|
2694
2825
|
:backup_vault_list,
|
2695
2826
|
:next_token)
|
2827
|
+
SENSITIVE = []
|
2696
2828
|
include Aws::Structure
|
2697
2829
|
end
|
2698
2830
|
|
@@ -2708,6 +2840,7 @@ module Aws::Backup
|
|
2708
2840
|
# by_created_after: Time.now,
|
2709
2841
|
# by_resource_type: "ResourceType",
|
2710
2842
|
# by_destination_vault_arn: "string",
|
2843
|
+
# by_account_id: "AccountId",
|
2711
2844
|
# }
|
2712
2845
|
#
|
2713
2846
|
# @!attribute [rw] next_token
|
@@ -2745,6 +2878,8 @@ module Aws::Backup
|
|
2745
2878
|
#
|
2746
2879
|
# * `EBS` for Amazon Elastic Block Store
|
2747
2880
|
#
|
2881
|
+
# * `EC2` for Amazon Elastic Compute Cloud
|
2882
|
+
#
|
2748
2883
|
# * `EFS` for Amazon Elastic File System
|
2749
2884
|
#
|
2750
2885
|
# * `RDS` for Amazon Relational Database Service
|
@@ -2755,7 +2890,12 @@ module Aws::Backup
|
|
2755
2890
|
# @!attribute [rw] by_destination_vault_arn
|
2756
2891
|
# An Amazon Resource Name (ARN) that uniquely identifies a source
|
2757
2892
|
# backup vault to copy from; for example,
|
2758
|
-
# arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
|
2893
|
+
# `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
|
2894
|
+
# @return [String]
|
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.
|
2759
2899
|
# @return [String]
|
2760
2900
|
#
|
2761
2901
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListCopyJobsInput AWS API Documentation
|
@@ -2768,7 +2908,9 @@ module Aws::Backup
|
|
2768
2908
|
:by_created_before,
|
2769
2909
|
:by_created_after,
|
2770
2910
|
:by_resource_type,
|
2771
|
-
:by_destination_vault_arn
|
2911
|
+
:by_destination_vault_arn,
|
2912
|
+
:by_account_id)
|
2913
|
+
SENSITIVE = []
|
2772
2914
|
include Aws::Structure
|
2773
2915
|
end
|
2774
2916
|
|
@@ -2789,6 +2931,7 @@ module Aws::Backup
|
|
2789
2931
|
class ListCopyJobsOutput < Struct.new(
|
2790
2932
|
:copy_jobs,
|
2791
2933
|
:next_token)
|
2934
|
+
SENSITIVE = []
|
2792
2935
|
include Aws::Structure
|
2793
2936
|
end
|
2794
2937
|
|
@@ -2816,6 +2959,7 @@ module Aws::Backup
|
|
2816
2959
|
class ListProtectedResourcesInput < Struct.new(
|
2817
2960
|
:next_token,
|
2818
2961
|
:max_results)
|
2962
|
+
SENSITIVE = []
|
2819
2963
|
include Aws::Structure
|
2820
2964
|
end
|
2821
2965
|
|
@@ -2837,6 +2981,7 @@ module Aws::Backup
|
|
2837
2981
|
class ListProtectedResourcesOutput < Struct.new(
|
2838
2982
|
:results,
|
2839
2983
|
:next_token)
|
2984
|
+
SENSITIVE = []
|
2840
2985
|
include Aws::Structure
|
2841
2986
|
end
|
2842
2987
|
|
@@ -2907,6 +3052,7 @@ module Aws::Backup
|
|
2907
3052
|
:by_backup_plan_id,
|
2908
3053
|
:by_created_before,
|
2909
3054
|
:by_created_after)
|
3055
|
+
SENSITIVE = []
|
2910
3056
|
include Aws::Structure
|
2911
3057
|
end
|
2912
3058
|
|
@@ -2927,6 +3073,7 @@ module Aws::Backup
|
|
2927
3073
|
class ListRecoveryPointsByBackupVaultOutput < Struct.new(
|
2928
3074
|
:next_token,
|
2929
3075
|
:recovery_points)
|
3076
|
+
SENSITIVE = []
|
2930
3077
|
include Aws::Structure
|
2931
3078
|
end
|
2932
3079
|
|
@@ -2961,6 +3108,7 @@ module Aws::Backup
|
|
2961
3108
|
:resource_arn,
|
2962
3109
|
:next_token,
|
2963
3110
|
:max_results)
|
3111
|
+
SENSITIVE = []
|
2964
3112
|
include Aws::Structure
|
2965
3113
|
end
|
2966
3114
|
|
@@ -2981,6 +3129,7 @@ module Aws::Backup
|
|
2981
3129
|
class ListRecoveryPointsByResourceOutput < Struct.new(
|
2982
3130
|
:next_token,
|
2983
3131
|
:recovery_points)
|
3132
|
+
SENSITIVE = []
|
2984
3133
|
include Aws::Structure
|
2985
3134
|
end
|
2986
3135
|
|
@@ -2990,6 +3139,10 @@ module Aws::Backup
|
|
2990
3139
|
# {
|
2991
3140
|
# next_token: "string",
|
2992
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
|
2993
3146
|
# }
|
2994
3147
|
#
|
2995
3148
|
# @!attribute [rw] next_token
|
@@ -3003,11 +3156,35 @@ module Aws::Backup
|
|
3003
3156
|
# The maximum number of items to be returned.
|
3004
3157
|
# @return [Integer]
|
3005
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
|
+
#
|
3006
3178
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobsInput AWS API Documentation
|
3007
3179
|
#
|
3008
3180
|
class ListRestoreJobsInput < Struct.new(
|
3009
3181
|
:next_token,
|
3010
|
-
:max_results
|
3182
|
+
:max_results,
|
3183
|
+
:by_account_id,
|
3184
|
+
:by_created_before,
|
3185
|
+
:by_created_after,
|
3186
|
+
:by_status)
|
3187
|
+
SENSITIVE = []
|
3011
3188
|
include Aws::Structure
|
3012
3189
|
end
|
3013
3190
|
|
@@ -3028,6 +3205,7 @@ module Aws::Backup
|
|
3028
3205
|
class ListRestoreJobsOutput < Struct.new(
|
3029
3206
|
:restore_jobs,
|
3030
3207
|
:next_token)
|
3208
|
+
SENSITIVE = []
|
3031
3209
|
include Aws::Structure
|
3032
3210
|
end
|
3033
3211
|
|
@@ -3063,6 +3241,7 @@ module Aws::Backup
|
|
3063
3241
|
:resource_arn,
|
3064
3242
|
:next_token,
|
3065
3243
|
:max_results)
|
3244
|
+
SENSITIVE = []
|
3066
3245
|
include Aws::Structure
|
3067
3246
|
end
|
3068
3247
|
|
@@ -3083,6 +3262,7 @@ module Aws::Backup
|
|
3083
3262
|
class ListTagsOutput < Struct.new(
|
3084
3263
|
:next_token,
|
3085
3264
|
:tags)
|
3265
|
+
SENSITIVE = [:tags]
|
3086
3266
|
include Aws::Structure
|
3087
3267
|
end
|
3088
3268
|
|
@@ -3107,6 +3287,7 @@ module Aws::Backup
|
|
3107
3287
|
:message,
|
3108
3288
|
:type,
|
3109
3289
|
:context)
|
3290
|
+
SENSITIVE = []
|
3110
3291
|
include Aws::Structure
|
3111
3292
|
end
|
3112
3293
|
|
@@ -3136,6 +3317,7 @@ module Aws::Backup
|
|
3136
3317
|
:resource_arn,
|
3137
3318
|
:resource_type,
|
3138
3319
|
:last_backup_time)
|
3320
|
+
SENSITIVE = []
|
3139
3321
|
include Aws::Structure
|
3140
3322
|
end
|
3141
3323
|
|
@@ -3163,6 +3345,7 @@ module Aws::Backup
|
|
3163
3345
|
class PutBackupVaultAccessPolicyInput < Struct.new(
|
3164
3346
|
:backup_vault_name,
|
3165
3347
|
:policy)
|
3348
|
+
SENSITIVE = []
|
3166
3349
|
include Aws::Structure
|
3167
3350
|
end
|
3168
3351
|
|
@@ -3199,6 +3382,7 @@ module Aws::Backup
|
|
3199
3382
|
:backup_vault_name,
|
3200
3383
|
:sns_topic_arn,
|
3201
3384
|
:backup_vault_events)
|
3385
|
+
SENSITIVE = []
|
3202
3386
|
include Aws::Structure
|
3203
3387
|
end
|
3204
3388
|
|
@@ -3323,6 +3507,7 @@ module Aws::Backup
|
|
3323
3507
|
:encryption_key_arn,
|
3324
3508
|
:is_encrypted,
|
3325
3509
|
:last_restore_time)
|
3510
|
+
SENSITIVE = []
|
3326
3511
|
include Aws::Structure
|
3327
3512
|
end
|
3328
3513
|
|
@@ -3371,6 +3556,7 @@ module Aws::Backup
|
|
3371
3556
|
:encryption_key_arn,
|
3372
3557
|
:backup_size_bytes,
|
3373
3558
|
:backup_vault_name)
|
3559
|
+
SENSITIVE = []
|
3374
3560
|
include Aws::Structure
|
3375
3561
|
end
|
3376
3562
|
|
@@ -3404,6 +3590,7 @@ module Aws::Backup
|
|
3404
3590
|
:backup_plan_arn,
|
3405
3591
|
:backup_plan_version,
|
3406
3592
|
:backup_rule_id)
|
3593
|
+
SENSITIVE = []
|
3407
3594
|
include Aws::Structure
|
3408
3595
|
end
|
3409
3596
|
|
@@ -3428,11 +3615,16 @@ module Aws::Backup
|
|
3428
3615
|
:message,
|
3429
3616
|
:type,
|
3430
3617
|
:context)
|
3618
|
+
SENSITIVE = []
|
3431
3619
|
include Aws::Structure
|
3432
3620
|
end
|
3433
3621
|
|
3434
3622
|
# Contains metadata about a restore job.
|
3435
3623
|
#
|
3624
|
+
# @!attribute [rw] account_id
|
3625
|
+
# The account ID that owns the restore job.
|
3626
|
+
# @return [String]
|
3627
|
+
#
|
3436
3628
|
# @!attribute [rw] restore_job_id
|
3437
3629
|
# Uniquely identifies the job that restores a recovery point.
|
3438
3630
|
# @return [String]
|
@@ -3490,9 +3682,16 @@ module Aws::Backup
|
|
3490
3682
|
# The format of the ARN depends on the resource type.
|
3491
3683
|
# @return [String]
|
3492
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
|
+
#
|
3493
3691
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RestoreJobsListMember AWS API Documentation
|
3494
3692
|
#
|
3495
3693
|
class RestoreJobsListMember < Struct.new(
|
3694
|
+
:account_id,
|
3496
3695
|
:restore_job_id,
|
3497
3696
|
:recovery_point_arn,
|
3498
3697
|
:creation_date,
|
@@ -3503,7 +3702,9 @@ module Aws::Backup
|
|
3503
3702
|
:backup_size_in_bytes,
|
3504
3703
|
:iam_role_arn,
|
3505
3704
|
:expected_completion_time_minutes,
|
3506
|
-
:created_resource_arn
|
3705
|
+
:created_resource_arn,
|
3706
|
+
:resource_type)
|
3707
|
+
SENSITIVE = []
|
3507
3708
|
include Aws::Structure
|
3508
3709
|
end
|
3509
3710
|
|
@@ -3528,6 +3729,7 @@ module Aws::Backup
|
|
3528
3729
|
:message,
|
3529
3730
|
:type,
|
3530
3731
|
:context)
|
3732
|
+
SENSITIVE = []
|
3531
3733
|
include Aws::Structure
|
3532
3734
|
end
|
3533
3735
|
|
@@ -3573,12 +3775,14 @@ module Aws::Backup
|
|
3573
3775
|
# @return [String]
|
3574
3776
|
#
|
3575
3777
|
# @!attribute [rw] start_window_minutes
|
3576
|
-
#
|
3778
|
+
# A value in minutes after a backup is scheduled before a job will be
|
3779
|
+
# canceled if it doesn't start successfully. This value is optional.
|
3577
3780
|
# @return [Integer]
|
3578
3781
|
#
|
3579
3782
|
# @!attribute [rw] complete_window_minutes
|
3580
|
-
#
|
3581
|
-
#
|
3783
|
+
# A value in minutes after a backup job is successfully started before
|
3784
|
+
# it must be completed or it will be canceled by AWS Backup. This
|
3785
|
+
# value is optional.
|
3582
3786
|
# @return [Integer]
|
3583
3787
|
#
|
3584
3788
|
# @!attribute [rw] lifecycle
|
@@ -3610,6 +3814,7 @@ module Aws::Backup
|
|
3610
3814
|
:complete_window_minutes,
|
3611
3815
|
:lifecycle,
|
3612
3816
|
:recovery_point_tags)
|
3817
|
+
SENSITIVE = [:recovery_point_tags]
|
3613
3818
|
include Aws::Structure
|
3614
3819
|
end
|
3615
3820
|
|
@@ -3635,6 +3840,7 @@ module Aws::Backup
|
|
3635
3840
|
:backup_job_id,
|
3636
3841
|
:recovery_point_arn,
|
3637
3842
|
:creation_date)
|
3843
|
+
SENSITIVE = []
|
3638
3844
|
include Aws::Structure
|
3639
3845
|
end
|
3640
3846
|
|
@@ -3663,7 +3869,7 @@ module Aws::Backup
|
|
3663
3869
|
# The name of a logical source container where backups are stored.
|
3664
3870
|
# Backup vaults are identified by names that are unique to the account
|
3665
3871
|
# used to create them and the AWS Region where they are created. They
|
3666
|
-
# consist of lowercase letters, numbers, and hyphens.
|
3872
|
+
# consist of lowercase letters, numbers, and hyphens.
|
3667
3873
|
# @return [String]
|
3668
3874
|
#
|
3669
3875
|
# @!attribute [rw] destination_backup_vault_arn
|
@@ -3674,7 +3880,7 @@ module Aws::Backup
|
|
3674
3880
|
#
|
3675
3881
|
# @!attribute [rw] iam_role_arn
|
3676
3882
|
# Specifies the IAM role ARN used to copy the target recovery point;
|
3677
|
-
# for example, arn:aws:iam::123456789012:role/S3Access
|
3883
|
+
# for example, `arn:aws:iam::123456789012:role/S3Access`.
|
3678
3884
|
# @return [String]
|
3679
3885
|
#
|
3680
3886
|
# @!attribute [rw] idempotency_token
|
@@ -3704,18 +3910,19 @@ module Aws::Backup
|
|
3704
3910
|
:iam_role_arn,
|
3705
3911
|
:idempotency_token,
|
3706
3912
|
:lifecycle)
|
3913
|
+
SENSITIVE = []
|
3707
3914
|
include Aws::Structure
|
3708
3915
|
end
|
3709
3916
|
|
3710
3917
|
# @!attribute [rw] copy_job_id
|
3711
|
-
# Uniquely identifies a
|
3918
|
+
# Uniquely identifies a copy job.
|
3712
3919
|
# @return [String]
|
3713
3920
|
#
|
3714
3921
|
# @!attribute [rw] creation_date
|
3715
|
-
# The date and time that a
|
3716
|
-
# Coordinated Universal Time (UTC). The value of CreationDate is
|
3922
|
+
# The date and time that a copy job is started, in Unix format and
|
3923
|
+
# Coordinated Universal Time (UTC). The value of `CreationDate` is
|
3717
3924
|
# accurate to milliseconds. For example, the value 1516925490.087
|
3718
|
-
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
3925
|
+
# represents Friday, January 26, 2018 12:11:30.087 AM.
|
3719
3926
|
# @return [Time]
|
3720
3927
|
#
|
3721
3928
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartCopyJobOutput AWS API Documentation
|
@@ -3723,6 +3930,7 @@ module Aws::Backup
|
|
3723
3930
|
class StartCopyJobOutput < Struct.new(
|
3724
3931
|
:copy_job_id,
|
3725
3932
|
:creation_date)
|
3933
|
+
SENSITIVE = []
|
3726
3934
|
include Aws::Structure
|
3727
3935
|
end
|
3728
3936
|
|
@@ -3749,7 +3957,7 @@ module Aws::Backup
|
|
3749
3957
|
# resource name, required to restore a recovery point.
|
3750
3958
|
#
|
3751
3959
|
# You can get configuration metadata about a resource at the time it
|
3752
|
-
# was backed
|
3960
|
+
# was backed up by calling `GetRecoveryPointRestoreMetadata`. However,
|
3753
3961
|
# values in addition to those provided by
|
3754
3962
|
# `GetRecoveryPointRestoreMetadata` might be required to restore a
|
3755
3963
|
# resource. For example, you might need to provide a new resource name
|
@@ -3793,15 +4001,17 @@ module Aws::Backup
|
|
3793
4001
|
# Starts a job to restore a recovery point for one of the following
|
3794
4002
|
# resources:
|
3795
4003
|
#
|
4004
|
+
# * `DynamoDB` for Amazon DynamoDB
|
4005
|
+
#
|
3796
4006
|
# * `EBS` for Amazon Elastic Block Store
|
3797
4007
|
#
|
3798
|
-
# * `
|
4008
|
+
# * `EC2` for Amazon Elastic Compute Cloud
|
3799
4009
|
#
|
3800
|
-
# * `
|
4010
|
+
# * `EFS` for Amazon Elastic File System
|
3801
4011
|
#
|
3802
|
-
# * `
|
4012
|
+
# * `RDS` for Amazon Relational Database Service
|
3803
4013
|
#
|
3804
|
-
# * `
|
4014
|
+
# * `Storage Gateway` for AWS Storage Gateway
|
3805
4015
|
# @return [String]
|
3806
4016
|
#
|
3807
4017
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartRestoreJobInput AWS API Documentation
|
@@ -3812,6 +4022,7 @@ module Aws::Backup
|
|
3812
4022
|
:iam_role_arn,
|
3813
4023
|
:idempotency_token,
|
3814
4024
|
:resource_type)
|
4025
|
+
SENSITIVE = [:metadata]
|
3815
4026
|
include Aws::Structure
|
3816
4027
|
end
|
3817
4028
|
|
@@ -3823,6 +4034,7 @@ module Aws::Backup
|
|
3823
4034
|
#
|
3824
4035
|
class StartRestoreJobOutput < Struct.new(
|
3825
4036
|
:restore_job_id)
|
4037
|
+
SENSITIVE = []
|
3826
4038
|
include Aws::Structure
|
3827
4039
|
end
|
3828
4040
|
|
@@ -3841,6 +4053,7 @@ module Aws::Backup
|
|
3841
4053
|
#
|
3842
4054
|
class StopBackupJobInput < Struct.new(
|
3843
4055
|
:backup_job_id)
|
4056
|
+
SENSITIVE = []
|
3844
4057
|
include Aws::Structure
|
3845
4058
|
end
|
3846
4059
|
|
@@ -3869,6 +4082,7 @@ module Aws::Backup
|
|
3869
4082
|
class TagResourceInput < Struct.new(
|
3870
4083
|
:resource_arn,
|
3871
4084
|
:tags)
|
4085
|
+
SENSITIVE = [:tags]
|
3872
4086
|
include Aws::Structure
|
3873
4087
|
end
|
3874
4088
|
|
@@ -3895,6 +4109,7 @@ module Aws::Backup
|
|
3895
4109
|
class UntagResourceInput < Struct.new(
|
3896
4110
|
:resource_arn,
|
3897
4111
|
:tag_key_list)
|
4112
|
+
SENSITIVE = [:tag_key_list]
|
3898
4113
|
include Aws::Structure
|
3899
4114
|
end
|
3900
4115
|
|
@@ -3947,6 +4162,7 @@ module Aws::Backup
|
|
3947
4162
|
class UpdateBackupPlanInput < Struct.new(
|
3948
4163
|
:backup_plan_id,
|
3949
4164
|
:backup_plan)
|
4165
|
+
SENSITIVE = []
|
3950
4166
|
include Aws::Structure
|
3951
4167
|
end
|
3952
4168
|
|
@@ -3979,6 +4195,7 @@ module Aws::Backup
|
|
3979
4195
|
:backup_plan_arn,
|
3980
4196
|
:creation_date,
|
3981
4197
|
:version_id)
|
4198
|
+
SENSITIVE = []
|
3982
4199
|
include Aws::Structure
|
3983
4200
|
end
|
3984
4201
|
|
@@ -4025,6 +4242,7 @@ module Aws::Backup
|
|
4025
4242
|
:backup_vault_name,
|
4026
4243
|
:recovery_point_arn,
|
4027
4244
|
:lifecycle)
|
4245
|
+
SENSITIVE = []
|
4028
4246
|
include Aws::Structure
|
4029
4247
|
end
|
4030
4248
|
|
@@ -4063,6 +4281,29 @@ module Aws::Backup
|
|
4063
4281
|
:recovery_point_arn,
|
4064
4282
|
:lifecycle,
|
4065
4283
|
:calculated_lifecycle)
|
4284
|
+
SENSITIVE = []
|
4285
|
+
include Aws::Structure
|
4286
|
+
end
|
4287
|
+
|
4288
|
+
# @note When making an API call, you may pass UpdateRegionSettingsInput
|
4289
|
+
# data as a hash:
|
4290
|
+
#
|
4291
|
+
# {
|
4292
|
+
# resource_type_opt_in_preference: {
|
4293
|
+
# "ResourceType" => false,
|
4294
|
+
# },
|
4295
|
+
# }
|
4296
|
+
#
|
4297
|
+
# @!attribute [rw] resource_type_opt_in_preference
|
4298
|
+
# Updates the list of services along with the opt-in preferences for
|
4299
|
+
# the region.
|
4300
|
+
# @return [Hash<String,Boolean>]
|
4301
|
+
#
|
4302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettingsInput AWS API Documentation
|
4303
|
+
#
|
4304
|
+
class UpdateRegionSettingsInput < Struct.new(
|
4305
|
+
:resource_type_opt_in_preference)
|
4306
|
+
SENSITIVE = []
|
4066
4307
|
include Aws::Structure
|
4067
4308
|
end
|
4068
4309
|
|