aws-sdk-backup 1.49.0 → 1.50.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 696eb1a3b9d692dc50a1b4a3c074f21c7a49957f4e514eb5651a589bb5f40b01
4
- data.tar.gz: 907b7d3f06b5dc0a8ec62a520fc1f8cf08334f6c5066057c2cfd75a731b9eefc
3
+ metadata.gz: 6bee53777906a9d52c3b1db78e8d113452667630adcb51d2b97b87058a65c987
4
+ data.tar.gz: d376df297accd9e491d390c469a4fccb1a5133a8588250c4f38116a1bdf64c1a
5
5
  SHA512:
6
- metadata.gz: c9cfc60bd7e340ee1743d68d5f52c9a92c662452d2d413ba2014368783db51a1e8fe546eb79e0f010eb23fa33e81d0b517f2773d30380345298ac1fc15b8c0ef
7
- data.tar.gz: 95611be52588af2fec8d3b68fcdcf8238fda9d8ec8016dd661124ea91ac1706db7c7c3648c0664d12b07ef0505797b836d25f8178555c85442da41c02ca54c20
6
+ metadata.gz: 4bcb0cc79a54fde97ec4bcec1ab8d78a52d7fe314dcab65f923123e8e445c70fd1e99104db0a8669fa95dadb9b42b19bd1225624a5b4295c07c76dc058d431e4
7
+ data.tar.gz: '014959304a4dee39e5e7e314ecc844e3d89ec9d87ba8b0f4f43f03492ce5398dcfea1120f21d630f91af6613c760315abcc1d9680798964279ee2a331ff0cba4'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2023-05-19)
5
+ ------------------
6
+
7
+ * Feature - Add ResourceArn, ResourceType, and BackupVaultName to ListRecoveryPointsByLegalHold API response.
8
+
4
9
  1.49.0 (2023-02-08)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.50.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`\: The ID of the Amazon EFS file system that is
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`\: A Boolean value that, if true, specifies that the file
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`\: Specifies the Amazon Web Services KMS key that is used
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`\: Specifies the throughput mode of the file
3876
- # system.
3887
+ # * `PerformanceMode`: Specifies the throughput mode of the file system.
3877
3888
  #
3878
- # * `CreationToken`\: A user-supplied value that ensures the uniqueness
3889
+ # * `CreationToken`: A user-supplied value that ensures the uniqueness
3879
3890
  # (idempotency) of the request.
3880
3891
  #
3881
- # * `newFileSystem`\: A Boolean value that, if true, specifies that the
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`\: An array of one to five strings where each string
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,10 +3932,14 @@ 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
  #
3928
3945
  # @return [Types::StartRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -4444,7 +4461,7 @@ module Aws::Backup
4444
4461
  params: params,
4445
4462
  config: config)
4446
4463
  context[:gem_name] = 'aws-sdk-backup'
4447
- context[:gem_version] = '1.49.0'
4464
+ context[:gem_version] = '1.50.0'
4448
4465
  Seahorse::Client::Request.new(handlers, context)
4449
4466
  end
4450
4467
 
@@ -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"))
@@ -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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://backup.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
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
@@ -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
@@ -5178,10 +5196,28 @@ module Aws::Backup
5178
5196
  # recovery point.
5179
5197
  # @return [String]
5180
5198
  #
5199
+ # @!attribute [rw] resource_arn
5200
+ # This is the Amazon Resource Name (ARN) that uniquely identifies a
5201
+ # saved resource.
5202
+ # @return [String]
5203
+ #
5204
+ # @!attribute [rw] resource_type
5205
+ # This is the Amazon Web Services resource type that is saved as a
5206
+ # recovery point.
5207
+ # @return [String]
5208
+ #
5209
+ # @!attribute [rw] backup_vault_name
5210
+ # This is the name of the backup vault (the logical container in which
5211
+ # backups are stored).
5212
+ # @return [String]
5213
+ #
5181
5214
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointMember AWS API Documentation
5182
5215
  #
5183
5216
  class RecoveryPointMember < Struct.new(
5184
- :recovery_point_arn)
5217
+ :recovery_point_arn,
5218
+ :resource_arn,
5219
+ :resource_type,
5220
+ :backup_vault_name)
5185
5221
  SENSITIVE = []
5186
5222
  include Aws::Structure
5187
5223
  end
@@ -5637,6 +5673,15 @@ module Aws::Backup
5637
5673
  # canceled if it doesn't start successfully. This value is optional,
5638
5674
  # and the default is 8 hours. If this value is included, it must be at
5639
5675
  # least 60 minutes to avoid errors.
5676
+ #
5677
+ # During the start window, the backup job status remains in `CREATED`
5678
+ # status until it has successfully begun or until the start window
5679
+ # time has run out. If within the start window time Backup receives an
5680
+ # error that allows the job to be retried, Backup will automatically
5681
+ # retry to begin the job at least every 10 minutes until the backup
5682
+ # successfully begins (the job status changes to `RUNNING`) or until
5683
+ # the job status changes to `EXPIRED` (which is expected to occur when
5684
+ # the start window time is over).
5640
5685
  # @return [Integer]
5641
5686
  #
5642
5687
  # @!attribute [rw] complete_window_minutes
@@ -5883,29 +5928,29 @@ module Aws::Backup
5883
5928
  # You need to specify specific metadata to restore an Amazon Elastic
5884
5929
  # File System (Amazon EFS) instance:
5885
5930
  #
5886
- # * `file-system-id`\: The ID of the Amazon EFS file system that is
5931
+ # * `file-system-id`: The ID of the Amazon EFS file system that is
5887
5932
  # backed up by Backup. Returned in
5888
5933
  # `GetRecoveryPointRestoreMetadata`.
5889
5934
  #
5890
- # * `Encrypted`\: A Boolean value that, if true, specifies that the
5935
+ # * `Encrypted`: A Boolean value that, if true, specifies that the
5891
5936
  # file system is encrypted. If `KmsKeyId` is specified, `Encrypted`
5892
5937
  # must be set to `true`.
5893
5938
  #
5894
- # * `KmsKeyId`\: Specifies the Amazon Web Services KMS key that is
5895
- # used to encrypt the restored file system. You can specify a key
5896
- # from another Amazon Web Services account provided that key it is
5939
+ # * `KmsKeyId`: Specifies the Amazon Web Services KMS key that is used
5940
+ # to encrypt the restored file system. You can specify a key from
5941
+ # another Amazon Web Services account provided that key it is
5897
5942
  # properly shared with your account via Amazon Web Services KMS.
5898
5943
  #
5899
- # * `PerformanceMode`\: Specifies the throughput mode of the file
5944
+ # * `PerformanceMode`: Specifies the throughput mode of the file
5900
5945
  # system.
5901
5946
  #
5902
- # * `CreationToken`\: A user-supplied value that ensures the
5903
- # uniqueness (idempotency) of the request.
5947
+ # * `CreationToken`: A user-supplied value that ensures the uniqueness
5948
+ # (idempotency) of the request.
5904
5949
  #
5905
- # * `newFileSystem`\: A Boolean value that, if true, specifies that
5906
- # the recovery point is restored to a new Amazon EFS file system.
5950
+ # * `newFileSystem`: A Boolean value that, if true, specifies that the
5951
+ # recovery point is restored to a new Amazon EFS file system.
5907
5952
  #
5908
- # * `ItemsToRestore`\: An array of one to five strings where each
5953
+ # * `ItemsToRestore`: An array of one to five strings where each
5909
5954
  # string is a file path. Use `ItemsToRestore` to restore specific
5910
5955
  # files or directories rather than the entire file system. This
5911
5956
  # parameter is optional. For example,
@@ -5933,6 +5978,8 @@ module Aws::Backup
5933
5978
  #
5934
5979
  # * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
5935
5980
  #
5981
+ # * `CloudFormation` for CloudFormation
5982
+ #
5936
5983
  # * `DynamoDB` for Amazon DynamoDB
5937
5984
  #
5938
5985
  # * `EBS` for Amazon Elastic Block Store
@@ -5947,10 +5994,14 @@ module Aws::Backup
5947
5994
  #
5948
5995
  # * `RDS` for Amazon Relational Database Service
5949
5996
  #
5997
+ # * `Redshift` for Amazon Redshift
5998
+ #
5950
5999
  # * `Storage Gateway` for Storage Gateway
5951
6000
  #
5952
6001
  # * `S3` for Amazon S3
5953
6002
  #
6003
+ # * `Timestream` for Amazon Timestream
6004
+ #
5954
6005
  # * `VirtualMachine` for virtual machines
5955
6006
  # @return [String]
5956
6007
  #
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-backup/customizations'
52
52
  # @!group service
53
53
  module Aws::Backup
54
54
 
55
- GEM_VERSION = '1.49.0'
55
+ GEM_VERSION = '1.50.0'
56
56
 
57
57
  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.49.0
4
+ version: 1.50.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-02-08 00:00:00.000000000 Z
11
+ date: 2023-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core