aws-sdk-backup 1.13.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c2621dc37ee836d01bb676a18f7fdac7542c42639da076c581449731c671607
4
- data.tar.gz: d0f43a42fc3043f41d60b4fe308023a2973d86f44989868e2d7b2ab674991a0a
3
+ metadata.gz: 7d0486a1119b17580201f0431ea96e45071767919646bb0008a15d93036497e7
4
+ data.tar.gz: 6710e01f3684a0e187920286901acbbfc997205eabfa51104160d822ce4d6d21
5
5
  SHA512:
6
- metadata.gz: dcff27425a0e2dad9659413eb47da82f680ed062f537e49148486873af5bf7235e3f5cc83ef0b148691dc1c336b58fdb5dd38d80b33c62342884b7dc8eb8a925
7
- data.tar.gz: f924e07500f689e020e1623e1f508428b05717d025c2afc3cd5bb06547f8f320c6b3ebacab3649ad8c81fd1e9abebe1a45cb5b88accf52ae4b11959381566dcf
6
+ metadata.gz: 576d2002a5762f2e39a31fd5864d318d0f271eb081e215aa11d8724d813e37db08f03647c5acee17170132873b285babef5c1799133797da5b55f44de735a7f3
7
+ data.tar.gz: 977b981ad46d613ab7cffeaaf7607527cf0b27127d4bf3dbcc57f9b8ef331890b9784a98c7c12da8ce48cf79c8f60575a398ef6d84f0a9fbc63c0dbcf020546e
@@ -45,6 +45,6 @@ require_relative 'aws-sdk-backup/customizations'
45
45
  # @service
46
46
  module Aws::Backup
47
47
 
48
- GEM_VERSION = '1.13.0'
48
+ GEM_VERSION = '1.14.0'
49
49
 
50
50
  end
@@ -603,7 +603,7 @@ module Aws::Backup
603
603
  # @option params [required, String] :backup_vault_name
604
604
  # The name of a logical container where backups are stored. Backup
605
605
  # vaults are identified by names that are unique to the account used to
606
- # create them and theAWS Region where they are created. They consist of
606
+ # create them and the AWS Region where they are created. They consist of
607
607
  # lowercase letters, numbers, and hyphens.
608
608
  #
609
609
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
@@ -812,7 +812,7 @@ module Aws::Backup
812
812
  # Returns metadata associated with creating a copy of a resource.
813
813
  #
814
814
  # @option params [required, String] :copy_job_id
815
- # Uniquely identifies a request to AWS Backup to copy a resource.
815
+ # Uniquely identifies a copy job.
816
816
  #
817
817
  # @return [Types::DescribeCopyJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
818
818
  #
@@ -854,7 +854,7 @@ module Aws::Backup
854
854
  end
855
855
 
856
856
  # Returns information about a saved resource, including the last time it
857
- # was backed-up, its Amazon Resource Name (ARN), and the AWS service
857
+ # was backed up, its Amazon Resource Name (ARN), and the AWS service
858
858
  # type of the saved resource.
859
859
  #
860
860
  # @option params [required, String] :resource_arn
@@ -963,6 +963,31 @@ module Aws::Backup
963
963
  req.send_request(options)
964
964
  end
965
965
 
966
+ # Returns the current service opt-in settings for the region. If the
967
+ # service has a value set to true, AWS Backup will attempt to protect
968
+ # that service's resources in this region, when included in an
969
+ # on-demand backup or scheduled backup plan. If the value is set to
970
+ # false for a service, AWS Backup will not attempt to protect that
971
+ # service's resources in this region.
972
+ #
973
+ # @return [Types::DescribeRegionSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
974
+ #
975
+ # * {Types::DescribeRegionSettingsOutput#resource_type_opt_in_preference #resource_type_opt_in_preference} => Hash<String,Boolean>
976
+ #
977
+ # @example Response structure
978
+ #
979
+ # resp.resource_type_opt_in_preference #=> Hash
980
+ # resp.resource_type_opt_in_preference["ResourceType"] #=> Boolean
981
+ #
982
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettings AWS API Documentation
983
+ #
984
+ # @overload describe_region_settings(params = {})
985
+ # @param [Hash] params ({})
986
+ def describe_region_settings(params = {}, options = {})
987
+ req = build_request(:describe_region_settings, params)
988
+ req.send_request(options)
989
+ end
990
+
966
991
  # Returns metadata associated with a restore job that is specified by a
967
992
  # job ID.
968
993
  #
@@ -1745,8 +1770,6 @@ module Aws::Backup
1745
1770
  # @option params [String] :by_resource_type
1746
1771
  # Returns only backup jobs for the specified resources:
1747
1772
  #
1748
- # * `DynamoDB` for Amazon DynamoDB
1749
- #
1750
1773
  # * `EBS` for Amazon Elastic Block Store
1751
1774
  #
1752
1775
  # * `EFS` for Amazon Elastic File System
@@ -1758,7 +1781,7 @@ module Aws::Backup
1758
1781
  # @option params [String] :by_destination_vault_arn
1759
1782
  # An Amazon Resource Name (ARN) that uniquely identifies a source backup
1760
1783
  # vault to copy from; for example,
1761
- # arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
1784
+ # `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
1762
1785
  #
1763
1786
  # @return [Types::ListCopyJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1764
1787
  #
@@ -2051,6 +2074,10 @@ module Aws::Backup
2051
2074
  # Returns a list of key-value pairs assigned to a target recovery point,
2052
2075
  # backup plan, or backup vault.
2053
2076
  #
2077
+ # <note markdown="1"> `ListTags` are currently only supported with Amazon EFS backups.
2078
+ #
2079
+ # </note>
2080
+ #
2054
2081
  # @option params [required, String] :resource_arn
2055
2082
  # An Amazon Resource Name (ARN) that uniquely identifies a resource. The
2056
2083
  # format of the ARN depends on the type of resource. Valid targets for
@@ -2184,11 +2211,13 @@ module Aws::Backup
2184
2211
  # to `StartBackupJob`.
2185
2212
  #
2186
2213
  # @option params [Integer] :start_window_minutes
2187
- # The amount of time in minutes before beginning a backup.
2214
+ # A value in minutes after a backup is scheduled before a job will be
2215
+ # canceled if it doesn't start successfully. This value is optional.
2188
2216
  #
2189
2217
  # @option params [Integer] :complete_window_minutes
2190
- # The amount of time AWS Backup attempts a backup before canceling the
2191
- # job and returning an error.
2218
+ # A value in minutes after a backup job is successfully started before
2219
+ # it must be completed or it will be canceled by AWS Backup. This value
2220
+ # is optional.
2192
2221
  #
2193
2222
  # @option params [Types::Lifecycle] :lifecycle
2194
2223
  # The lifecycle defines when a protected resource is transitioned to
@@ -2256,7 +2285,7 @@ module Aws::Backup
2256
2285
  # The name of a logical source container where backups are stored.
2257
2286
  # Backup vaults are identified by names that are unique to the account
2258
2287
  # used to create them and the AWS Region where they are created. They
2259
- # consist of lowercase letters, numbers, and hyphens. &gt;
2288
+ # consist of lowercase letters, numbers, and hyphens.
2260
2289
  #
2261
2290
  # @option params [required, String] :destination_backup_vault_arn
2262
2291
  # An Amazon Resource Name (ARN) that uniquely identifies a destination
@@ -2265,7 +2294,7 @@ module Aws::Backup
2265
2294
  #
2266
2295
  # @option params [required, String] :iam_role_arn
2267
2296
  # Specifies the IAM role ARN used to copy the target recovery point; for
2268
- # example, arn:aws:iam::123456789012:role/S3Access.
2297
+ # example, `arn:aws:iam::123456789012:role/S3Access`.
2269
2298
  #
2270
2299
  # @option params [String] :idempotency_token
2271
2300
  # A customer chosen string that can be used to distinguish between calls
@@ -2330,7 +2359,7 @@ module Aws::Backup
2330
2359
  # resource name, required to restore a recovery point.
2331
2360
  #
2332
2361
  # You can get configuration metadata about a resource at the time it was
2333
- # backed-up by calling `GetRecoveryPointRestoreMetadata`. However,
2362
+ # backed up by calling `GetRecoveryPointRestoreMetadata`. However,
2334
2363
  # values in addition to those provided by
2335
2364
  # `GetRecoveryPointRestoreMetadata` might be required to restore a
2336
2365
  # resource. For example, you might need to provide a new resource name
@@ -2630,6 +2659,36 @@ module Aws::Backup
2630
2659
  req.send_request(options)
2631
2660
  end
2632
2661
 
2662
+ # Updates the current service opt-in settings for the region. If the
2663
+ # service has a value set to true, AWS Backup will attempt to protect
2664
+ # that service's resources in this region, when included in an
2665
+ # on-demand backup or scheduled backup plan. If the value is set to
2666
+ # false for a service, AWS Backup will not attempt to protect that
2667
+ # service's resources in this region.
2668
+ #
2669
+ # @option params [Hash<String,Boolean>] :resource_type_opt_in_preference
2670
+ # Updates the list of services along with the opt-in preferences for the
2671
+ # region.
2672
+ #
2673
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2674
+ #
2675
+ # @example Request syntax with placeholder values
2676
+ #
2677
+ # resp = client.update_region_settings({
2678
+ # resource_type_opt_in_preference: {
2679
+ # "ResourceType" => false,
2680
+ # },
2681
+ # })
2682
+ #
2683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettings AWS API Documentation
2684
+ #
2685
+ # @overload update_region_settings(params = {})
2686
+ # @param [Hash] params ({})
2687
+ def update_region_settings(params = {}, options = {})
2688
+ req = build_request(:update_region_settings, params)
2689
+ req.send_request(options)
2690
+ end
2691
+
2633
2692
  # @!endgroup
2634
2693
 
2635
2694
  # @param params ({})
@@ -2643,7 +2702,7 @@ module Aws::Backup
2643
2702
  params: params,
2644
2703
  config: config)
2645
2704
  context[:gem_name] = 'aws-sdk-backup'
2646
- context[:gem_version] = '1.13.0'
2705
+ context[:gem_version] = '1.14.0'
2647
2706
  Seahorse::Client::Request.new(handlers, context)
2648
2707
  end
2649
2708
 
@@ -74,6 +74,8 @@ module Aws::Backup
74
74
  DescribeProtectedResourceOutput = Shapes::StructureShape.new(name: 'DescribeProtectedResourceOutput')
75
75
  DescribeRecoveryPointInput = Shapes::StructureShape.new(name: 'DescribeRecoveryPointInput')
76
76
  DescribeRecoveryPointOutput = Shapes::StructureShape.new(name: 'DescribeRecoveryPointOutput')
77
+ DescribeRegionSettingsInput = Shapes::StructureShape.new(name: 'DescribeRegionSettingsInput')
78
+ DescribeRegionSettingsOutput = Shapes::StructureShape.new(name: 'DescribeRegionSettingsOutput')
77
79
  DescribeRestoreJobInput = Shapes::StructureShape.new(name: 'DescribeRestoreJobInput')
78
80
  DescribeRestoreJobOutput = Shapes::StructureShape.new(name: 'DescribeRestoreJobOutput')
79
81
  ExportBackupPlanTemplateInput = Shapes::StructureShape.new(name: 'ExportBackupPlanTemplateInput')
@@ -97,6 +99,7 @@ module Aws::Backup
97
99
  IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
98
100
  InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
99
101
  InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
102
+ IsEnabled = Shapes::BooleanShape.new(name: 'IsEnabled')
100
103
  Lifecycle = Shapes::StructureShape.new(name: 'Lifecycle')
101
104
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
102
105
  ListBackupJobsInput = Shapes::StructureShape.new(name: 'ListBackupJobsInput')
@@ -143,6 +146,7 @@ module Aws::Backup
143
146
  ResourceArns = Shapes::ListShape.new(name: 'ResourceArns')
144
147
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
145
148
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
149
+ ResourceTypeOptInPreference = Shapes::MapShape.new(name: 'ResourceTypeOptInPreference')
146
150
  ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
147
151
  RestoreJobId = Shapes::StringShape.new(name: 'RestoreJobId')
148
152
  RestoreJobStatus = Shapes::StringShape.new(name: 'RestoreJobStatus')
@@ -167,6 +171,7 @@ module Aws::Backup
167
171
  UpdateBackupPlanOutput = Shapes::StructureShape.new(name: 'UpdateBackupPlanOutput')
168
172
  UpdateRecoveryPointLifecycleInput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleInput')
169
173
  UpdateRecoveryPointLifecycleOutput = Shapes::StructureShape.new(name: 'UpdateRecoveryPointLifecycleOutput')
174
+ UpdateRegionSettingsInput = Shapes::StructureShape.new(name: 'UpdateRegionSettingsInput')
170
175
  WindowMinutes = Shapes::IntegerShape.new(name: 'WindowMinutes')
171
176
  boolean = Shapes::BooleanShape.new(name: 'boolean')
172
177
  long = Shapes::IntegerShape.new(name: 'long')
@@ -450,6 +455,11 @@ module Aws::Backup
450
455
  DescribeRecoveryPointOutput.add_member(:last_restore_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastRestoreTime"))
451
456
  DescribeRecoveryPointOutput.struct_class = Types::DescribeRecoveryPointOutput
452
457
 
458
+ DescribeRegionSettingsInput.struct_class = Types::DescribeRegionSettingsInput
459
+
460
+ DescribeRegionSettingsOutput.add_member(:resource_type_opt_in_preference, Shapes::ShapeRef.new(shape: ResourceTypeOptInPreference, location_name: "ResourceTypeOptInPreference"))
461
+ DescribeRegionSettingsOutput.struct_class = Types::DescribeRegionSettingsOutput
462
+
453
463
  DescribeRestoreJobInput.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: RestoreJobId, required: true, location: "uri", location_name: "restoreJobId"))
454
464
  DescribeRestoreJobInput.struct_class = Types::DescribeRestoreJobInput
455
465
 
@@ -750,6 +760,9 @@ module Aws::Backup
750
760
  ResourceNotFoundException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
751
761
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
752
762
 
763
+ ResourceTypeOptInPreference.key = Shapes::ShapeRef.new(shape: ResourceType)
764
+ ResourceTypeOptInPreference.value = Shapes::ShapeRef.new(shape: IsEnabled)
765
+
753
766
  ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType)
754
767
 
755
768
  RestoreJobsList.member = Shapes::ShapeRef.new(shape: RestoreJobsListMember)
@@ -847,6 +860,9 @@ module Aws::Backup
847
860
  UpdateRecoveryPointLifecycleOutput.add_member(:calculated_lifecycle, Shapes::ShapeRef.new(shape: CalculatedLifecycle, location_name: "CalculatedLifecycle"))
848
861
  UpdateRecoveryPointLifecycleOutput.struct_class = Types::UpdateRecoveryPointLifecycleOutput
849
862
 
863
+ UpdateRegionSettingsInput.add_member(:resource_type_opt_in_preference, Shapes::ShapeRef.new(shape: ResourceTypeOptInPreference, location_name: "ResourceTypeOptInPreference"))
864
+ UpdateRegionSettingsInput.struct_class = Types::UpdateRegionSettingsInput
865
+
850
866
 
851
867
  # @api private
852
868
  API = Seahorse::Model::Api.new.tap do |api|
@@ -1039,6 +1055,15 @@ module Aws::Backup
1039
1055
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1040
1056
  end)
1041
1057
 
1058
+ api.add_operation(:describe_region_settings, Seahorse::Model::Operation.new.tap do |o|
1059
+ o.name = "DescribeRegionSettings"
1060
+ o.http_method = "GET"
1061
+ o.http_request_uri = "/account-settings"
1062
+ o.input = Shapes::ShapeRef.new(shape: DescribeRegionSettingsInput)
1063
+ o.output = Shapes::ShapeRef.new(shape: DescribeRegionSettingsOutput)
1064
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1065
+ end)
1066
+
1042
1067
  api.add_operation(:describe_restore_job, Seahorse::Model::Operation.new.tap do |o|
1043
1068
  o.name = "DescribeRestoreJob"
1044
1069
  o.http_method = "GET"
@@ -1492,6 +1517,17 @@ module Aws::Backup
1492
1517
  o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1493
1518
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1494
1519
  end)
1520
+
1521
+ api.add_operation(:update_region_settings, Seahorse::Model::Operation.new.tap do |o|
1522
+ o.name = "UpdateRegionSettings"
1523
+ o.http_method = "PUT"
1524
+ o.http_request_uri = "/account-settings"
1525
+ o.input = Shapes::ShapeRef.new(shape: UpdateRegionSettingsInput)
1526
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1527
+ o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1528
+ o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
1529
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1530
+ end)
1495
1531
  end
1496
1532
 
1497
1533
  end
@@ -132,7 +132,7 @@ module Aws::Backup
132
132
  # @return [Time]
133
133
  #
134
134
  # @!attribute [rw] resource_type
135
- # The type of AWS resource to be backed-up; for example, an Amazon
135
+ # The type of AWS resource to be backed up; for example, an Amazon
136
136
  # Elastic Block Store (Amazon EBS) volume or an Amazon Relational
137
137
  # Database Service (Amazon RDS) database.
138
138
  # @return [String]
@@ -340,15 +340,14 @@ module Aws::Backup
340
340
  # @return [String]
341
341
  #
342
342
  # @!attribute [rw] start_window_minutes
343
- # An optional value that specifies a period of time in minutes after a
344
- # backup is scheduled before a job is canceled if it doesn't start
345
- # successfully.
343
+ # A value in minutes after a backup is scheduled before a job will be
344
+ # canceled if it doesn't start successfully. This value is optional.
346
345
  # @return [Integer]
347
346
  #
348
347
  # @!attribute [rw] completion_window_minutes
349
348
  # A value in minutes after a backup job is successfully started before
350
- # it must be completed or it is canceled by AWS Backup. This value is
351
- # optional.
349
+ # it must be completed or it will be canceled by AWS Backup. This
350
+ # value is optional.
352
351
  # @return [Integer]
353
352
  #
354
353
  # @!attribute [rw] lifecycle
@@ -423,7 +422,7 @@ module Aws::Backup
423
422
  # }
424
423
  #
425
424
  # @!attribute [rw] rule_name
426
- # &gt;An optional display name for a backup rule.
425
+ # An optional display name for a backup rule.
427
426
  # @return [String]
428
427
  #
429
428
  # @!attribute [rw] target_backup_vault_name
@@ -438,12 +437,14 @@ module Aws::Backup
438
437
  # @return [String]
439
438
  #
440
439
  # @!attribute [rw] start_window_minutes
441
- # The amount of time in minutes before beginning a backup.
440
+ # A value in minutes after a backup is scheduled before a job will be
441
+ # canceled if it doesn't start successfully. This value is optional.
442
442
  # @return [Integer]
443
443
  #
444
444
  # @!attribute [rw] completion_window_minutes
445
- # The amount of time AWS Backup attempts a backup before canceling the
446
- # job and returning an error.
445
+ # A value in minutes after a backup job is successfully started before
446
+ # it must be completed or it will be canceled by AWS Backup. This
447
+ # value is optional.
447
448
  # @return [Integer]
448
449
  #
449
450
  # @!attribute [rw] lifecycle
@@ -454,9 +455,9 @@ module Aws::Backup
454
455
  #
455
456
  # Backups transitioned to cold storage must be stored in cold storage
456
457
  # 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 changed after
459
- # a backup has been transitioned to cold.
458
+ # must be 90 days greater than the “transition to cold after days
459
+ # setting. The “transition to cold after days” setting cannot be
460
+ # changed after a backup has been transitioned to cold.
460
461
  # @return [Types::Lifecycle]
461
462
  #
462
463
  # @!attribute [rw] recovery_point_tags
@@ -726,7 +727,7 @@ module Aws::Backup
726
727
  # @!attribute [rw] destination_backup_vault_arn
727
728
  # An Amazon Resource Name (ARN) that uniquely identifies the
728
729
  # destination backup vault for the copied backup. For example,
729
- # arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
730
+ # `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
730
731
  # @return [String]
731
732
  #
732
733
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CopyAction AWS API Documentation
@@ -740,37 +741,37 @@ module Aws::Backup
740
741
  # Contains detailed information about a copy job.
741
742
  #
742
743
  # @!attribute [rw] copy_job_id
743
- # Uniquely identifies a request to AWS Backup to copy a resource.
744
+ # Uniquely identifies a copy job.
744
745
  # @return [String]
745
746
  #
746
747
  # @!attribute [rw] source_backup_vault_arn
747
748
  # An Amazon Resource Name (ARN) that uniquely identifies a source copy
748
749
  # vault; for example,
749
- # arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
750
+ # `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
750
751
  # @return [String]
751
752
  #
752
753
  # @!attribute [rw] source_recovery_point_arn
753
754
  # An ARN that uniquely identifies a source recovery point; for
754
755
  # example,
755
- # arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
756
+ # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
756
757
  # @return [String]
757
758
  #
758
759
  # @!attribute [rw] destination_backup_vault_arn
759
760
  # An Amazon Resource Name (ARN) that uniquely identifies a destination
760
761
  # copy vault; for example,
761
- # arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
762
+ # `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
762
763
  # @return [String]
763
764
  #
764
765
  # @!attribute [rw] destination_recovery_point_arn
765
766
  # An ARN that uniquely identifies a destination recovery point; for
766
767
  # example,
767
- # arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
768
+ # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
768
769
  # @return [String]
769
770
  #
770
771
  # @!attribute [rw] resource_arn
771
- # The type of AWS resource to be copied; for example, an Amazon
772
- # Elastic Block Store (Amazon EBS) volume or an Amazon Relational
773
- # Database Service (Amazon RDS) database.
772
+ # The AWS resource to be copied; for example, an Amazon Elastic Block
773
+ # Store (Amazon EBS) volume or an Amazon Relational Database Service
774
+ # (Amazon RDS) database.
774
775
  # @return [String]
775
776
  #
776
777
  # @!attribute [rw] creation_date
@@ -781,18 +782,18 @@ module Aws::Backup
781
782
  # @return [Time]
782
783
  #
783
784
  # @!attribute [rw] completion_date
784
- # The date and time a job to create a copy job is completed, in Unix
785
- # format and Coordinated Universal Time (UTC). The value of
786
- # CompletionDate is accurate to milliseconds. For example, the value
787
- # 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
785
+ # The date and time a copy job is completed, in Unix format and
786
+ # Coordinated Universal Time (UTC). The value of CompletionDate is
787
+ # accurate to milliseconds. For example, the value 1516925490.087
788
+ # represents Friday, January 26, 2018 12:11:30.087 AM.
788
789
  # @return [Time]
789
790
  #
790
791
  # @!attribute [rw] state
791
- # The current state of a resource recovery point.
792
+ # The current state of a copy job.
792
793
  # @return [String]
793
794
  #
794
795
  # @!attribute [rw] status_message
795
- # A detailed message explaining the status of the job that to copy a
796
+ # A detailed message explaining the status of the job to copy a
796
797
  # resource.
797
798
  # @return [String]
798
799
  #
@@ -802,7 +803,7 @@ module Aws::Backup
802
803
  #
803
804
  # @!attribute [rw] iam_role_arn
804
805
  # Specifies the IAM role ARN used to copy the target recovery point;
805
- # for example, arn:aws:iam::123456789012:role/S3Access.
806
+ # for example, `arn:aws:iam::123456789012:role/S3Access`.
806
807
  # @return [String]
807
808
  #
808
809
  # @!attribute [rw] created_by
@@ -920,7 +921,7 @@ module Aws::Backup
920
921
  #
921
922
  # @!attribute [rw] version_id
922
923
  # Unique, randomly generated, Unicode, UTF-8 encoded strings that are
923
- # at most 1024 bytes long. They cannot be edited.
924
+ # at most 1,024 bytes long. They cannot be edited.
924
925
  # @return [String]
925
926
  #
926
927
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CreateBackupPlanOutput AWS API Documentation
@@ -1184,7 +1185,7 @@ module Aws::Backup
1184
1185
  # @!attribute [rw] backup_vault_name
1185
1186
  # The name of a logical container where backups are stored. Backup
1186
1187
  # vaults are identified by names that are unique to the account used
1187
- # to create them and theAWS Region where they are created. They
1188
+ # to create them and the AWS Region where they are created. They
1188
1189
  # consist of lowercase letters, numbers, and hyphens.
1189
1190
  # @return [String]
1190
1191
  #
@@ -1359,7 +1360,7 @@ module Aws::Backup
1359
1360
  # @return [Types::RecoveryPointCreator]
1360
1361
  #
1361
1362
  # @!attribute [rw] resource_type
1362
- # The type of AWS resource to be backed-up; for example, an Amazon
1363
+ # The type of AWS resource to be backed up; for example, an Amazon
1363
1364
  # Elastic Block Store (Amazon EBS) volume or an Amazon Relational
1364
1365
  # Database Service (Amazon RDS) database.
1365
1366
  # @return [String]
@@ -1488,7 +1489,7 @@ module Aws::Backup
1488
1489
  # }
1489
1490
  #
1490
1491
  # @!attribute [rw] copy_job_id
1491
- # Uniquely identifies a request to AWS Backup to copy a resource.
1492
+ # Uniquely identifies a copy job.
1492
1493
  # @return [String]
1493
1494
  #
1494
1495
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeCopyJobInput AWS API Documentation
@@ -1716,6 +1717,24 @@ module Aws::Backup
1716
1717
  include Aws::Structure
1717
1718
  end
1718
1719
 
1720
+ # @api private
1721
+ #
1722
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettingsInput AWS API Documentation
1723
+ #
1724
+ class DescribeRegionSettingsInput < Aws::EmptyStructure; end
1725
+
1726
+ # @!attribute [rw] resource_type_opt_in_preference
1727
+ # Returns a list of all services along with the opt-in preferences in
1728
+ # the region.
1729
+ # @return [Hash<String,Boolean>]
1730
+ #
1731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRegionSettingsOutput AWS API Documentation
1732
+ #
1733
+ class DescribeRegionSettingsOutput < Struct.new(
1734
+ :resource_type_opt_in_preference)
1735
+ include Aws::Structure
1736
+ end
1737
+
1719
1738
  # @note When making an API call, you may pass DescribeRestoreJobInput
1720
1739
  # data as a hash:
1721
1740
  #
@@ -2741,8 +2760,6 @@ module Aws::Backup
2741
2760
  # @!attribute [rw] by_resource_type
2742
2761
  # Returns only backup jobs for the specified resources:
2743
2762
  #
2744
- # * `DynamoDB` for Amazon DynamoDB
2745
- #
2746
2763
  # * `EBS` for Amazon Elastic Block Store
2747
2764
  #
2748
2765
  # * `EFS` for Amazon Elastic File System
@@ -2755,7 +2772,7 @@ module Aws::Backup
2755
2772
  # @!attribute [rw] by_destination_vault_arn
2756
2773
  # An Amazon Resource Name (ARN) that uniquely identifies a source
2757
2774
  # backup vault to copy from; for example,
2758
- # arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
2775
+ # `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
2759
2776
  # @return [String]
2760
2777
  #
2761
2778
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListCopyJobsInput AWS API Documentation
@@ -3573,12 +3590,14 @@ module Aws::Backup
3573
3590
  # @return [String]
3574
3591
  #
3575
3592
  # @!attribute [rw] start_window_minutes
3576
- # The amount of time in minutes before beginning a backup.
3593
+ # A value in minutes after a backup is scheduled before a job will be
3594
+ # canceled if it doesn't start successfully. This value is optional.
3577
3595
  # @return [Integer]
3578
3596
  #
3579
3597
  # @!attribute [rw] complete_window_minutes
3580
- # The amount of time AWS Backup attempts a backup before canceling the
3581
- # job and returning an error.
3598
+ # A value in minutes after a backup job is successfully started before
3599
+ # it must be completed or it will be canceled by AWS Backup. This
3600
+ # value is optional.
3582
3601
  # @return [Integer]
3583
3602
  #
3584
3603
  # @!attribute [rw] lifecycle
@@ -3663,7 +3682,7 @@ module Aws::Backup
3663
3682
  # The name of a logical source container where backups are stored.
3664
3683
  # Backup vaults are identified by names that are unique to the account
3665
3684
  # used to create them and the AWS Region where they are created. They
3666
- # consist of lowercase letters, numbers, and hyphens. &gt;
3685
+ # consist of lowercase letters, numbers, and hyphens.
3667
3686
  # @return [String]
3668
3687
  #
3669
3688
  # @!attribute [rw] destination_backup_vault_arn
@@ -3674,7 +3693,7 @@ module Aws::Backup
3674
3693
  #
3675
3694
  # @!attribute [rw] iam_role_arn
3676
3695
  # Specifies the IAM role ARN used to copy the target recovery point;
3677
- # for example, arn:aws:iam::123456789012:role/S3Access.
3696
+ # for example, `arn:aws:iam::123456789012:role/S3Access`.
3678
3697
  # @return [String]
3679
3698
  #
3680
3699
  # @!attribute [rw] idempotency_token
@@ -3708,14 +3727,14 @@ module Aws::Backup
3708
3727
  end
3709
3728
 
3710
3729
  # @!attribute [rw] copy_job_id
3711
- # Uniquely identifies a request to AWS Backup to copy a resource.
3730
+ # Uniquely identifies a copy job.
3712
3731
  # @return [String]
3713
3732
  #
3714
3733
  # @!attribute [rw] creation_date
3715
- # The date and time that a backup job is started, in Unix format and
3716
- # Coordinated Universal Time (UTC). The value of CreationDate is
3734
+ # The date and time that a copy job is started, in Unix format and
3735
+ # Coordinated Universal Time (UTC). The value of `CreationDate` is
3717
3736
  # accurate to milliseconds. For example, the value 1516925490.087
3718
- # represents Friday, January 26, 2018 12:11:30.087 AM. &gt;
3737
+ # represents Friday, January 26, 2018 12:11:30.087 AM.
3719
3738
  # @return [Time]
3720
3739
  #
3721
3740
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartCopyJobOutput AWS API Documentation
@@ -3749,7 +3768,7 @@ module Aws::Backup
3749
3768
  # resource name, required to restore a recovery point.
3750
3769
  #
3751
3770
  # You can get configuration metadata about a resource at the time it
3752
- # was backed-up by calling `GetRecoveryPointRestoreMetadata`. However,
3771
+ # was backed up by calling `GetRecoveryPointRestoreMetadata`. However,
3753
3772
  # values in addition to those provided by
3754
3773
  # `GetRecoveryPointRestoreMetadata` might be required to restore a
3755
3774
  # resource. For example, you might need to provide a new resource name
@@ -4066,5 +4085,26 @@ module Aws::Backup
4066
4085
  include Aws::Structure
4067
4086
  end
4068
4087
 
4088
+ # @note When making an API call, you may pass UpdateRegionSettingsInput
4089
+ # data as a hash:
4090
+ #
4091
+ # {
4092
+ # resource_type_opt_in_preference: {
4093
+ # "ResourceType" => false,
4094
+ # },
4095
+ # }
4096
+ #
4097
+ # @!attribute [rw] resource_type_opt_in_preference
4098
+ # Updates the list of services along with the opt-in preferences for
4099
+ # the region.
4100
+ # @return [Hash<String,Boolean>]
4101
+ #
4102
+ # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/UpdateRegionSettingsInput AWS API Documentation
4103
+ #
4104
+ class UpdateRegionSettingsInput < Struct.new(
4105
+ :resource_type_opt_in_preference)
4106
+ include Aws::Structure
4107
+ end
4108
+
4069
4109
  end
4070
4110
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-backup
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-07 00:00:00.000000000 Z
11
+ date: 2020-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core