aws-sdk-backup 1.49.0 → 1.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +33 -9
- data/lib/aws-sdk-backup/client_api.rb +5 -0
- data/lib/aws-sdk-backup/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-backup/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-backup/types.rb +78 -15
- data/lib/aws-sdk-backup.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6aa4a8ddab2952dbc2522a474d1bc5ee56122e4c3452c4d8d6bf7674fbf45679
|
4
|
+
data.tar.gz: 622a8f48c1502303454dfad9fc5fac9c9b5bba444090d05e8c6932ebf67ac63c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cecc06d735832e49c2af21a2b930b5de8d9ef783c7bc518db8322de8751ce1224962e469446c3ed787d781352bfbe32be0cf470543dedc436ad4cdc9caeb1246
|
7
|
+
data.tar.gz: 60306315ea7c1f10946536795a5a924d37910279f45e2c04778dbefbbf0f34230117e36e307ec483ac1ef6d6cd3893a68a5eb28577a42dfab09dedd205135992
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.51.0 (2023-05-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added support for tags on restore.
|
8
|
+
|
9
|
+
1.50.0 (2023-05-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add ResourceArn, ResourceType, and BackupVaultName to ListRecoveryPointsByLegalHold API response.
|
13
|
+
|
4
14
|
1.49.0 (2023-02-08)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.51.0
|
@@ -3063,6 +3063,9 @@ module Aws::Backup
|
|
3063
3063
|
#
|
3064
3064
|
# resp.recovery_points #=> Array
|
3065
3065
|
# resp.recovery_points[0].recovery_point_arn #=> String
|
3066
|
+
# resp.recovery_points[0].resource_arn #=> String
|
3067
|
+
# resp.recovery_points[0].resource_type #=> String
|
3068
|
+
# resp.recovery_points[0].backup_vault_name #=> String
|
3066
3069
|
# resp.next_token #=> String
|
3067
3070
|
#
|
3068
3071
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByLegalHold AWS API Documentation
|
@@ -3632,6 +3635,15 @@ module Aws::Backup
|
|
3632
3635
|
# and the default is 8 hours. If this value is included, it must be at
|
3633
3636
|
# least 60 minutes to avoid errors.
|
3634
3637
|
#
|
3638
|
+
# During the start window, the backup job status remains in `CREATED`
|
3639
|
+
# status until it has successfully begun or until the start window time
|
3640
|
+
# has run out. If within the start window time Backup receives an error
|
3641
|
+
# that allows the job to be retried, Backup will automatically retry to
|
3642
|
+
# begin the job at least every 10 minutes until the backup successfully
|
3643
|
+
# begins (the job status changes to `RUNNING`) or until the job status
|
3644
|
+
# changes to `EXPIRED` (which is expected to occur when the start window
|
3645
|
+
# time is over).
|
3646
|
+
#
|
3635
3647
|
# @option params [Integer] :complete_window_minutes
|
3636
3648
|
# A value in minutes during which a successfully started backup must
|
3637
3649
|
# complete, or else Backup will cancel the job. This value is optional.
|
@@ -3860,28 +3872,27 @@ module Aws::Backup
|
|
3860
3872
|
# You need to specify specific metadata to restore an Amazon Elastic
|
3861
3873
|
# File System (Amazon EFS) instance:
|
3862
3874
|
#
|
3863
|
-
# * `file-system-id
|
3875
|
+
# * `file-system-id`: The ID of the Amazon EFS file system that is
|
3864
3876
|
# backed up by Backup. Returned in `GetRecoveryPointRestoreMetadata`.
|
3865
3877
|
#
|
3866
|
-
# * `Encrypted
|
3878
|
+
# * `Encrypted`: A Boolean value that, if true, specifies that the file
|
3867
3879
|
# system is encrypted. If `KmsKeyId` is specified, `Encrypted` must be
|
3868
3880
|
# set to `true`.
|
3869
3881
|
#
|
3870
|
-
# * `KmsKeyId
|
3882
|
+
# * `KmsKeyId`: Specifies the Amazon Web Services KMS key that is used
|
3871
3883
|
# to encrypt the restored file system. You can specify a key from
|
3872
3884
|
# another Amazon Web Services account provided that key it is properly
|
3873
3885
|
# shared with your account via Amazon Web Services KMS.
|
3874
3886
|
#
|
3875
|
-
# * `PerformanceMode
|
3876
|
-
# system.
|
3887
|
+
# * `PerformanceMode`: Specifies the throughput mode of the file system.
|
3877
3888
|
#
|
3878
|
-
# * `CreationToken
|
3889
|
+
# * `CreationToken`: A user-supplied value that ensures the uniqueness
|
3879
3890
|
# (idempotency) of the request.
|
3880
3891
|
#
|
3881
|
-
# * `newFileSystem
|
3892
|
+
# * `newFileSystem`: A Boolean value that, if true, specifies that the
|
3882
3893
|
# recovery point is restored to a new Amazon EFS file system.
|
3883
3894
|
#
|
3884
|
-
# * `ItemsToRestore
|
3895
|
+
# * `ItemsToRestore`: An array of one to five strings where each string
|
3885
3896
|
# is a file path. Use `ItemsToRestore` to restore specific files or
|
3886
3897
|
# directories rather than the entire file system. This parameter is
|
3887
3898
|
# optional. For example, `"itemsToRestore":"["/my.test"]"`.
|
@@ -3905,6 +3916,8 @@ module Aws::Backup
|
|
3905
3916
|
#
|
3906
3917
|
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
3907
3918
|
#
|
3919
|
+
# * `CloudFormation` for CloudFormation
|
3920
|
+
#
|
3908
3921
|
# * `DynamoDB` for Amazon DynamoDB
|
3909
3922
|
#
|
3910
3923
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -3919,12 +3932,22 @@ module Aws::Backup
|
|
3919
3932
|
#
|
3920
3933
|
# * `RDS` for Amazon Relational Database Service
|
3921
3934
|
#
|
3935
|
+
# * `Redshift` for Amazon Redshift
|
3936
|
+
#
|
3922
3937
|
# * `Storage Gateway` for Storage Gateway
|
3923
3938
|
#
|
3924
3939
|
# * `S3` for Amazon S3
|
3925
3940
|
#
|
3941
|
+
# * `Timestream` for Amazon Timestream
|
3942
|
+
#
|
3926
3943
|
# * `VirtualMachine` for virtual machines
|
3927
3944
|
#
|
3945
|
+
# @option params [Boolean] :copy_source_tags_to_restored_resource
|
3946
|
+
# This is an optional parameter. If this equals `True`, tags included in
|
3947
|
+
# the backup will be copied to the restored resource.
|
3948
|
+
#
|
3949
|
+
# This can only be applied to backups created through Backup.
|
3950
|
+
#
|
3928
3951
|
# @return [Types::StartRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3929
3952
|
#
|
3930
3953
|
# * {Types::StartRestoreJobOutput#restore_job_id #restore_job_id} => String
|
@@ -3939,6 +3962,7 @@ module Aws::Backup
|
|
3939
3962
|
# iam_role_arn: "IAMRoleArn",
|
3940
3963
|
# idempotency_token: "string",
|
3941
3964
|
# resource_type: "ResourceType",
|
3965
|
+
# copy_source_tags_to_restored_resource: false,
|
3942
3966
|
# })
|
3943
3967
|
#
|
3944
3968
|
# @example Response structure
|
@@ -4444,7 +4468,7 @@ module Aws::Backup
|
|
4444
4468
|
params: params,
|
4445
4469
|
config: config)
|
4446
4470
|
context[:gem_name] = 'aws-sdk-backup'
|
4447
|
-
context[:gem_version] = '1.
|
4471
|
+
context[:gem_version] = '1.51.0'
|
4448
4472
|
Seahorse::Client::Request.new(handlers, context)
|
4449
4473
|
end
|
4450
4474
|
|
@@ -1175,6 +1175,9 @@ module Aws::Backup
|
|
1175
1175
|
RecoveryPointCreator.struct_class = Types::RecoveryPointCreator
|
1176
1176
|
|
1177
1177
|
RecoveryPointMember.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
|
1178
|
+
RecoveryPointMember.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
|
1179
|
+
RecoveryPointMember.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
1180
|
+
RecoveryPointMember.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
|
1178
1181
|
RecoveryPointMember.struct_class = Types::RecoveryPointMember
|
1179
1182
|
|
1180
1183
|
RecoveryPointSelection.add_member(:vault_names, Shapes::ShapeRef.new(shape: VaultNames, location_name: "VaultNames"))
|
@@ -1311,6 +1314,7 @@ module Aws::Backup
|
|
1311
1314
|
StartRestoreJobInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
|
1312
1315
|
StartRestoreJobInput.add_member(:idempotency_token, Shapes::ShapeRef.new(shape: string, location_name: "IdempotencyToken"))
|
1313
1316
|
StartRestoreJobInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
1317
|
+
StartRestoreJobInput.add_member(:copy_source_tags_to_restored_resource, Shapes::ShapeRef.new(shape: boolean, location_name: "CopySourceTagsToRestoredResource"))
|
1314
1318
|
StartRestoreJobInput.struct_class = Types::StartRestoreJobInput
|
1315
1319
|
|
1316
1320
|
StartRestoreJobOutput.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: RestoreJobId, location_name: "RestoreJobId"))
|
@@ -2265,6 +2269,7 @@ module Aws::Backup
|
|
2265
2269
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2266
2270
|
o.errors << Shapes::ShapeRef.new(shape: MissingParameterValueException)
|
2267
2271
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2272
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
|
2268
2273
|
end)
|
2269
2274
|
|
2270
2275
|
api.add_operation(:stop_backup_job, Seahorse::Model::Operation.new.tap do |o|
|
@@ -50,9 +50,6 @@ module Aws::Backup
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::Backup
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://backup-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://backup-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://backup-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://backup-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://backup.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://backup.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://backup.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
data/lib/aws-sdk-backup/types.rb
CHANGED
@@ -447,6 +447,15 @@ module Aws::Backup
|
|
447
447
|
# canceled if it doesn't start successfully. This value is optional.
|
448
448
|
# If this value is included, it must be at least 60 minutes to avoid
|
449
449
|
# errors.
|
450
|
+
#
|
451
|
+
# During the start window, the backup job status remains in `CREATED`
|
452
|
+
# status until it has successfully begun or until the start window
|
453
|
+
# time has run out. If within the start window time Backup receives an
|
454
|
+
# error that allows the job to be retried, Backup will automatically
|
455
|
+
# retry to begin the job at least every 10 minutes until the backup
|
456
|
+
# successfully begins (the job status changes to `RUNNING`) or until
|
457
|
+
# the job status changes to `EXPIRED` (which is expected to occur when
|
458
|
+
# the start window time is over).
|
450
459
|
# @return [Integer]
|
451
460
|
#
|
452
461
|
# @!attribute [rw] completion_window_minutes
|
@@ -539,6 +548,15 @@ module Aws::Backup
|
|
539
548
|
# canceled if it doesn't start successfully. This value is optional.
|
540
549
|
# If this value is included, it must be at least 60 minutes to avoid
|
541
550
|
# errors.
|
551
|
+
#
|
552
|
+
# During the start window, the backup job status remains in `CREATED`
|
553
|
+
# status until it has successfully begun or until the start window
|
554
|
+
# time has run out. If within the start window time Backup receives an
|
555
|
+
# error that allows the job to be retried, Backup will automatically
|
556
|
+
# retry to begin the job at least every 10 minutes until the backup
|
557
|
+
# successfully begins (the job status changes to `RUNNING`) or until
|
558
|
+
# the job status changes to `EXPIRED` (which is expected to occur when
|
559
|
+
# the start window time is over).
|
542
560
|
# @return [Integer]
|
543
561
|
#
|
544
562
|
# @!attribute [rw] completion_window_minutes
|
@@ -2525,6 +2543,11 @@ module Aws::Backup
|
|
2525
2543
|
# will result in a new continuous recovery point being created. The
|
2526
2544
|
# recovery points with STOPPED status do not need to be deleted.
|
2527
2545
|
#
|
2546
|
+
# For SAP HANA on Amazon EC2 `STOPPED` status occurs due to user
|
2547
|
+
# action, application misconfiguration, or backup failure. To ensure
|
2548
|
+
# that future continuous backups succeed, refer to the recovery point
|
2549
|
+
# status and check SAP HANA for details.
|
2550
|
+
#
|
2528
2551
|
#
|
2529
2552
|
#
|
2530
2553
|
# [1]: https://docs.aws.amazon.com/aws-backup/latest/devguide/API_UpdateBackupPlan.html
|
@@ -2532,8 +2555,7 @@ module Aws::Backup
|
|
2532
2555
|
# @return [String]
|
2533
2556
|
#
|
2534
2557
|
# @!attribute [rw] status_message
|
2535
|
-
# A status message explaining the
|
2536
|
-
# deletion failure.
|
2558
|
+
# A status message explaining the status of the recovery point.
|
2537
2559
|
# @return [String]
|
2538
2560
|
#
|
2539
2561
|
# @!attribute [rw] creation_date
|
@@ -5178,10 +5200,28 @@ module Aws::Backup
|
|
5178
5200
|
# recovery point.
|
5179
5201
|
# @return [String]
|
5180
5202
|
#
|
5203
|
+
# @!attribute [rw] resource_arn
|
5204
|
+
# This is the Amazon Resource Name (ARN) that uniquely identifies a
|
5205
|
+
# saved resource.
|
5206
|
+
# @return [String]
|
5207
|
+
#
|
5208
|
+
# @!attribute [rw] resource_type
|
5209
|
+
# This is the Amazon Web Services resource type that is saved as a
|
5210
|
+
# recovery point.
|
5211
|
+
# @return [String]
|
5212
|
+
#
|
5213
|
+
# @!attribute [rw] backup_vault_name
|
5214
|
+
# This is the name of the backup vault (the logical container in which
|
5215
|
+
# backups are stored).
|
5216
|
+
# @return [String]
|
5217
|
+
#
|
5181
5218
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointMember AWS API Documentation
|
5182
5219
|
#
|
5183
5220
|
class RecoveryPointMember < Struct.new(
|
5184
|
-
:recovery_point_arn
|
5221
|
+
:recovery_point_arn,
|
5222
|
+
:resource_arn,
|
5223
|
+
:resource_type,
|
5224
|
+
:backup_vault_name)
|
5185
5225
|
SENSITIVE = []
|
5186
5226
|
include Aws::Structure
|
5187
5227
|
end
|
@@ -5637,6 +5677,15 @@ module Aws::Backup
|
|
5637
5677
|
# canceled if it doesn't start successfully. This value is optional,
|
5638
5678
|
# and the default is 8 hours. If this value is included, it must be at
|
5639
5679
|
# least 60 minutes to avoid errors.
|
5680
|
+
#
|
5681
|
+
# During the start window, the backup job status remains in `CREATED`
|
5682
|
+
# status until it has successfully begun or until the start window
|
5683
|
+
# time has run out. If within the start window time Backup receives an
|
5684
|
+
# error that allows the job to be retried, Backup will automatically
|
5685
|
+
# retry to begin the job at least every 10 minutes until the backup
|
5686
|
+
# successfully begins (the job status changes to `RUNNING`) or until
|
5687
|
+
# the job status changes to `EXPIRED` (which is expected to occur when
|
5688
|
+
# the start window time is over).
|
5640
5689
|
# @return [Integer]
|
5641
5690
|
#
|
5642
5691
|
# @!attribute [rw] complete_window_minutes
|
@@ -5883,29 +5932,29 @@ module Aws::Backup
|
|
5883
5932
|
# You need to specify specific metadata to restore an Amazon Elastic
|
5884
5933
|
# File System (Amazon EFS) instance:
|
5885
5934
|
#
|
5886
|
-
# * `file-system-id
|
5935
|
+
# * `file-system-id`: The ID of the Amazon EFS file system that is
|
5887
5936
|
# backed up by Backup. Returned in
|
5888
5937
|
# `GetRecoveryPointRestoreMetadata`.
|
5889
5938
|
#
|
5890
|
-
# * `Encrypted
|
5939
|
+
# * `Encrypted`: A Boolean value that, if true, specifies that the
|
5891
5940
|
# file system is encrypted. If `KmsKeyId` is specified, `Encrypted`
|
5892
5941
|
# must be set to `true`.
|
5893
5942
|
#
|
5894
|
-
# * `KmsKeyId
|
5895
|
-
#
|
5896
|
-
#
|
5943
|
+
# * `KmsKeyId`: Specifies the Amazon Web Services KMS key that is used
|
5944
|
+
# to encrypt the restored file system. You can specify a key from
|
5945
|
+
# another Amazon Web Services account provided that key it is
|
5897
5946
|
# properly shared with your account via Amazon Web Services KMS.
|
5898
5947
|
#
|
5899
|
-
# * `PerformanceMode
|
5948
|
+
# * `PerformanceMode`: Specifies the throughput mode of the file
|
5900
5949
|
# system.
|
5901
5950
|
#
|
5902
|
-
# * `CreationToken
|
5903
|
-
#
|
5951
|
+
# * `CreationToken`: A user-supplied value that ensures the uniqueness
|
5952
|
+
# (idempotency) of the request.
|
5904
5953
|
#
|
5905
|
-
# * `newFileSystem
|
5906
|
-
#
|
5954
|
+
# * `newFileSystem`: A Boolean value that, if true, specifies that the
|
5955
|
+
# recovery point is restored to a new Amazon EFS file system.
|
5907
5956
|
#
|
5908
|
-
# * `ItemsToRestore
|
5957
|
+
# * `ItemsToRestore`: An array of one to five strings where each
|
5909
5958
|
# string is a file path. Use `ItemsToRestore` to restore specific
|
5910
5959
|
# files or directories rather than the entire file system. This
|
5911
5960
|
# parameter is optional. For example,
|
@@ -5933,6 +5982,8 @@ module Aws::Backup
|
|
5933
5982
|
#
|
5934
5983
|
# * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
|
5935
5984
|
#
|
5985
|
+
# * `CloudFormation` for CloudFormation
|
5986
|
+
#
|
5936
5987
|
# * `DynamoDB` for Amazon DynamoDB
|
5937
5988
|
#
|
5938
5989
|
# * `EBS` for Amazon Elastic Block Store
|
@@ -5947,13 +5998,24 @@ module Aws::Backup
|
|
5947
5998
|
#
|
5948
5999
|
# * `RDS` for Amazon Relational Database Service
|
5949
6000
|
#
|
6001
|
+
# * `Redshift` for Amazon Redshift
|
6002
|
+
#
|
5950
6003
|
# * `Storage Gateway` for Storage Gateway
|
5951
6004
|
#
|
5952
6005
|
# * `S3` for Amazon S3
|
5953
6006
|
#
|
6007
|
+
# * `Timestream` for Amazon Timestream
|
6008
|
+
#
|
5954
6009
|
# * `VirtualMachine` for virtual machines
|
5955
6010
|
# @return [String]
|
5956
6011
|
#
|
6012
|
+
# @!attribute [rw] copy_source_tags_to_restored_resource
|
6013
|
+
# This is an optional parameter. If this equals `True`, tags included
|
6014
|
+
# in the backup will be copied to the restored resource.
|
6015
|
+
#
|
6016
|
+
# This can only be applied to backups created through Backup.
|
6017
|
+
# @return [Boolean]
|
6018
|
+
#
|
5957
6019
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/StartRestoreJobInput AWS API Documentation
|
5958
6020
|
#
|
5959
6021
|
class StartRestoreJobInput < Struct.new(
|
@@ -5961,7 +6023,8 @@ module Aws::Backup
|
|
5961
6023
|
:metadata,
|
5962
6024
|
:iam_role_arn,
|
5963
6025
|
:idempotency_token,
|
5964
|
-
:resource_type
|
6026
|
+
:resource_type,
|
6027
|
+
:copy_source_tags_to_restored_resource)
|
5965
6028
|
SENSITIVE = [:metadata]
|
5966
6029
|
include Aws::Structure
|
5967
6030
|
end
|
data/lib/aws-sdk-backup.rb
CHANGED
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.
|
4
|
+
version: 1.51.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|