aws-sdk-backup 1.48.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: c342a93a32f1b617e4d9a004fa41a8597d25778eddb8e750821493233e6f53ed
4
- data.tar.gz: 3524d3fb061f04f1fff7cdcd5e7c6caf50b2820b357685d9765030b523209d28
3
+ metadata.gz: 6bee53777906a9d52c3b1db78e8d113452667630adcb51d2b97b87058a65c987
4
+ data.tar.gz: d376df297accd9e491d390c469a4fccb1a5133a8588250c4f38116a1bdf64c1a
5
5
  SHA512:
6
- metadata.gz: 94c4aab5dce9945ef20c0a77aafca52e406fe877cc6cd6b3d00c29db7238628b3b8beb9dc9b3dcc5f35c6ce0b01980cbe2e0dce476a4b24d4b3b0778e73076ae
7
- data.tar.gz: c7624c5f71d60a3834b63dde4b2a47ff1b4de0c0a03394c4b66c7a6188dbfd130bf0fac4c45db8c7da81a679f7a6835c187bc07347916f74c0c08c045558e77a
6
+ metadata.gz: 4bcb0cc79a54fde97ec4bcec1ab8d78a52d7fe314dcab65f923123e8e445c70fd1e99104db0a8669fa95dadb9b42b19bd1225624a5b4295c07c76dc058d431e4
7
+ data.tar.gz: '014959304a4dee39e5e7e314ecc844e3d89ec9d87ba8b0f4f43f03492ce5398dcfea1120f21d630f91af6613c760315abcc1d9680798964279ee2a331ff0cba4'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.49.0 (2023-02-08)
10
+ ------------------
11
+
12
+ * Feature - This release added one attribute (resource name) in the output model of our 9 existing APIs in AWS backup so that customers will see the resource name at the output. No input required from Customers.
13
+
4
14
  1.48.0 (2023-01-18)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.48.0
1
+ 1.50.0
@@ -1206,6 +1206,7 @@ module Aws::Backup
1206
1206
  # * {Types::DescribeBackupJobOutput#is_parent #is_parent} => Boolean
1207
1207
  # * {Types::DescribeBackupJobOutput#number_of_child_jobs #number_of_child_jobs} => Integer
1208
1208
  # * {Types::DescribeBackupJobOutput#child_jobs_in_state #child_jobs_in_state} => Hash<String,Integer>
1209
+ # * {Types::DescribeBackupJobOutput#resource_name #resource_name} => String
1209
1210
  #
1210
1211
  # @example Request syntax with placeholder values
1211
1212
  #
@@ -1244,6 +1245,7 @@ module Aws::Backup
1244
1245
  # resp.number_of_child_jobs #=> Integer
1245
1246
  # resp.child_jobs_in_state #=> Hash
1246
1247
  # resp.child_jobs_in_state["BackupJobState"] #=> Integer
1248
+ # resp.resource_name #=> String
1247
1249
  #
1248
1250
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupJob AWS API Documentation
1249
1251
  #
@@ -1344,6 +1346,7 @@ module Aws::Backup
1344
1346
  # resp.copy_job.number_of_child_jobs #=> Integer
1345
1347
  # resp.copy_job.child_jobs_in_state #=> Hash
1346
1348
  # resp.copy_job.child_jobs_in_state["CopyJobState"] #=> Integer
1349
+ # resp.copy_job.resource_name #=> String
1347
1350
  #
1348
1351
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeCopyJob AWS API Documentation
1349
1352
  #
@@ -1444,6 +1447,7 @@ module Aws::Backup
1444
1447
  # * {Types::DescribeProtectedResourceOutput#resource_arn #resource_arn} => String
1445
1448
  # * {Types::DescribeProtectedResourceOutput#resource_type #resource_type} => String
1446
1449
  # * {Types::DescribeProtectedResourceOutput#last_backup_time #last_backup_time} => Time
1450
+ # * {Types::DescribeProtectedResourceOutput#resource_name #resource_name} => String
1447
1451
  #
1448
1452
  # @example Request syntax with placeholder values
1449
1453
  #
@@ -1456,6 +1460,7 @@ module Aws::Backup
1456
1460
  # resp.resource_arn #=> String
1457
1461
  # resp.resource_type #=> String
1458
1462
  # resp.last_backup_time #=> Time
1463
+ # resp.resource_name #=> String
1459
1464
  #
1460
1465
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeProtectedResource AWS API Documentation
1461
1466
  #
@@ -1504,6 +1509,7 @@ module Aws::Backup
1504
1509
  # * {Types::DescribeRecoveryPointOutput#parent_recovery_point_arn #parent_recovery_point_arn} => String
1505
1510
  # * {Types::DescribeRecoveryPointOutput#composite_member_identifier #composite_member_identifier} => String
1506
1511
  # * {Types::DescribeRecoveryPointOutput#is_parent #is_parent} => Boolean
1512
+ # * {Types::DescribeRecoveryPointOutput#resource_name #resource_name} => String
1507
1513
  #
1508
1514
  # @example Request syntax with placeholder values
1509
1515
  #
@@ -1541,6 +1547,7 @@ module Aws::Backup
1541
1547
  # resp.parent_recovery_point_arn #=> String
1542
1548
  # resp.composite_member_identifier #=> String
1543
1549
  # resp.is_parent #=> Boolean
1550
+ # resp.resource_name #=> String
1544
1551
  #
1545
1552
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRecoveryPoint AWS API Documentation
1546
1553
  #
@@ -2374,6 +2381,7 @@ module Aws::Backup
2374
2381
  # resp.backup_jobs[0].backup_type #=> String
2375
2382
  # resp.backup_jobs[0].parent_job_id #=> String
2376
2383
  # resp.backup_jobs[0].is_parent #=> Boolean
2384
+ # resp.backup_jobs[0].resource_name #=> String
2377
2385
  # resp.next_token #=> String
2378
2386
  #
2379
2387
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobs AWS API Documentation
@@ -2765,6 +2773,7 @@ module Aws::Backup
2765
2773
  # resp.copy_jobs[0].number_of_child_jobs #=> Integer
2766
2774
  # resp.copy_jobs[0].child_jobs_in_state #=> Hash
2767
2775
  # resp.copy_jobs[0].child_jobs_in_state["CopyJobState"] #=> Integer
2776
+ # resp.copy_jobs[0].resource_name #=> String
2768
2777
  # resp.next_token #=> String
2769
2778
  #
2770
2779
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListCopyJobs AWS API Documentation
@@ -2901,6 +2910,7 @@ module Aws::Backup
2901
2910
  # resp.results[0].resource_arn #=> String
2902
2911
  # resp.results[0].resource_type #=> String
2903
2912
  # resp.results[0].last_backup_time #=> Time
2913
+ # resp.results[0].resource_name #=> String
2904
2914
  # resp.next_token #=> String
2905
2915
  #
2906
2916
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListProtectedResources AWS API Documentation
@@ -3008,6 +3018,7 @@ module Aws::Backup
3008
3018
  # resp.recovery_points[0].parent_recovery_point_arn #=> String
3009
3019
  # resp.recovery_points[0].composite_member_identifier #=> String
3010
3020
  # resp.recovery_points[0].is_parent #=> Boolean
3021
+ # resp.recovery_points[0].resource_name #=> String
3011
3022
  #
3012
3023
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByBackupVault AWS API Documentation
3013
3024
  #
@@ -3052,6 +3063,9 @@ module Aws::Backup
3052
3063
  #
3053
3064
  # resp.recovery_points #=> Array
3054
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
3055
3069
  # resp.next_token #=> String
3056
3070
  #
3057
3071
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByLegalHold AWS API Documentation
@@ -3116,6 +3130,7 @@ module Aws::Backup
3116
3130
  # resp.recovery_points[0].backup_vault_name #=> String
3117
3131
  # resp.recovery_points[0].is_parent #=> Boolean
3118
3132
  # resp.recovery_points[0].parent_recovery_point_arn #=> String
3133
+ # resp.recovery_points[0].resource_name #=> String
3119
3134
  #
3120
3135
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRecoveryPointsByResource AWS API Documentation
3121
3136
  #
@@ -3436,8 +3451,11 @@ module Aws::Backup
3436
3451
  # maximum retention period for future backup and copy jobs that target a
3437
3452
  # backup vault.
3438
3453
  #
3439
- # <note markdown="1"> Backup Vault Lock has yet to receive a third-party assessment for SEC
3440
- # 17a-4(f) and CFTC.
3454
+ # <note markdown="1"> Backup Vault Lock has been assessed by Cohasset Associates for use in
3455
+ # environments that are subject to SEC 17a-4, CFTC, and FINRA
3456
+ # regulations. For more information about how Backup Vault Lock relates
3457
+ # to these regulations, see the [Cohasset Associates Compliance
3458
+ # Assessment.](samples/cohassetreport.zip)
3441
3459
  #
3442
3460
  # </note>
3443
3461
  #
@@ -3617,6 +3635,15 @@ module Aws::Backup
3617
3635
  # and the default is 8 hours. If this value is included, it must be at
3618
3636
  # least 60 minutes to avoid errors.
3619
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
+ #
3620
3647
  # @option params [Integer] :complete_window_minutes
3621
3648
  # A value in minutes during which a successfully started backup must
3622
3649
  # complete, or else Backup will cancel the job. This value is optional.
@@ -3845,28 +3872,27 @@ module Aws::Backup
3845
3872
  # You need to specify specific metadata to restore an Amazon Elastic
3846
3873
  # File System (Amazon EFS) instance:
3847
3874
  #
3848
- # * `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
3849
3876
  # backed up by Backup. Returned in `GetRecoveryPointRestoreMetadata`.
3850
3877
  #
3851
- # * `Encrypted`\: A Boolean value that, if true, specifies that the file
3878
+ # * `Encrypted`: A Boolean value that, if true, specifies that the file
3852
3879
  # system is encrypted. If `KmsKeyId` is specified, `Encrypted` must be
3853
3880
  # set to `true`.
3854
3881
  #
3855
- # * `KmsKeyId`\: Specifies the Amazon Web Services KMS key that is used
3882
+ # * `KmsKeyId`: Specifies the Amazon Web Services KMS key that is used
3856
3883
  # to encrypt the restored file system. You can specify a key from
3857
3884
  # another Amazon Web Services account provided that key it is properly
3858
3885
  # shared with your account via Amazon Web Services KMS.
3859
3886
  #
3860
- # * `PerformanceMode`\: Specifies the throughput mode of the file
3861
- # system.
3887
+ # * `PerformanceMode`: Specifies the throughput mode of the file system.
3862
3888
  #
3863
- # * `CreationToken`\: A user-supplied value that ensures the uniqueness
3889
+ # * `CreationToken`: A user-supplied value that ensures the uniqueness
3864
3890
  # (idempotency) of the request.
3865
3891
  #
3866
- # * `newFileSystem`\: A Boolean value that, if true, specifies that the
3892
+ # * `newFileSystem`: A Boolean value that, if true, specifies that the
3867
3893
  # recovery point is restored to a new Amazon EFS file system.
3868
3894
  #
3869
- # * `ItemsToRestore`\: An array of one to five strings where each string
3895
+ # * `ItemsToRestore`: An array of one to five strings where each string
3870
3896
  # is a file path. Use `ItemsToRestore` to restore specific files or
3871
3897
  # directories rather than the entire file system. This parameter is
3872
3898
  # optional. For example, `"itemsToRestore":"["/my.test"]"`.
@@ -3890,6 +3916,8 @@ module Aws::Backup
3890
3916
  #
3891
3917
  # * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
3892
3918
  #
3919
+ # * `CloudFormation` for CloudFormation
3920
+ #
3893
3921
  # * `DynamoDB` for Amazon DynamoDB
3894
3922
  #
3895
3923
  # * `EBS` for Amazon Elastic Block Store
@@ -3904,10 +3932,14 @@ module Aws::Backup
3904
3932
  #
3905
3933
  # * `RDS` for Amazon Relational Database Service
3906
3934
  #
3935
+ # * `Redshift` for Amazon Redshift
3936
+ #
3907
3937
  # * `Storage Gateway` for Storage Gateway
3908
3938
  #
3909
3939
  # * `S3` for Amazon S3
3910
3940
  #
3941
+ # * `Timestream` for Amazon Timestream
3942
+ #
3911
3943
  # * `VirtualMachine` for virtual machines
3912
3944
  #
3913
3945
  # @return [Types::StartRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
@@ -4429,7 +4461,7 @@ module Aws::Backup
4429
4461
  params: params,
4430
4462
  config: config)
4431
4463
  context[:gem_name] = 'aws-sdk-backup'
4432
- context[:gem_version] = '1.48.0'
4464
+ context[:gem_version] = '1.50.0'
4433
4465
  Seahorse::Client::Request.new(handlers, context)
4434
4466
  end
4435
4467
 
@@ -312,6 +312,7 @@ module Aws::Backup
312
312
  BackupJob.add_member(:backup_type, Shapes::ShapeRef.new(shape: string, location_name: "BackupType"))
313
313
  BackupJob.add_member(:parent_job_id, Shapes::ShapeRef.new(shape: string, location_name: "ParentJobId"))
314
314
  BackupJob.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
315
+ BackupJob.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
315
316
  BackupJob.struct_class = Types::BackupJob
316
317
 
317
318
  BackupJobChildJobsInState.key = Shapes::ShapeRef.new(shape: BackupJobState)
@@ -487,6 +488,7 @@ module Aws::Backup
487
488
  CopyJob.add_member(:composite_member_identifier, Shapes::ShapeRef.new(shape: string, location_name: "CompositeMemberIdentifier"))
488
489
  CopyJob.add_member(:number_of_child_jobs, Shapes::ShapeRef.new(shape: Long, location_name: "NumberOfChildJobs"))
489
490
  CopyJob.add_member(:child_jobs_in_state, Shapes::ShapeRef.new(shape: CopyJobChildJobsInState, location_name: "ChildJobsInState"))
491
+ CopyJob.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
490
492
  CopyJob.struct_class = Types::CopyJob
491
493
 
492
494
  CopyJobChildJobsInState.key = Shapes::ShapeRef.new(shape: CopyJobState)
@@ -639,6 +641,7 @@ module Aws::Backup
639
641
  DescribeBackupJobOutput.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
640
642
  DescribeBackupJobOutput.add_member(:number_of_child_jobs, Shapes::ShapeRef.new(shape: Long, location_name: "NumberOfChildJobs"))
641
643
  DescribeBackupJobOutput.add_member(:child_jobs_in_state, Shapes::ShapeRef.new(shape: BackupJobChildJobsInState, location_name: "ChildJobsInState"))
644
+ DescribeBackupJobOutput.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
642
645
  DescribeBackupJobOutput.struct_class = Types::DescribeBackupJobOutput
643
646
 
644
647
  DescribeBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupVaultName"))
@@ -687,6 +690,7 @@ module Aws::Backup
687
690
  DescribeProtectedResourceOutput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
688
691
  DescribeProtectedResourceOutput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
689
692
  DescribeProtectedResourceOutput.add_member(:last_backup_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastBackupTime"))
693
+ DescribeProtectedResourceOutput.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
690
694
  DescribeProtectedResourceOutput.struct_class = Types::DescribeProtectedResourceOutput
691
695
 
692
696
  DescribeRecoveryPointInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, required: true, location: "uri", location_name: "backupVaultName"))
@@ -715,6 +719,7 @@ module Aws::Backup
715
719
  DescribeRecoveryPointOutput.add_member(:parent_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ParentRecoveryPointArn"))
716
720
  DescribeRecoveryPointOutput.add_member(:composite_member_identifier, Shapes::ShapeRef.new(shape: string, location_name: "CompositeMemberIdentifier"))
717
721
  DescribeRecoveryPointOutput.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
722
+ DescribeRecoveryPointOutput.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
718
723
  DescribeRecoveryPointOutput.struct_class = Types::DescribeRecoveryPointOutput
719
724
 
720
725
  DescribeRegionSettingsInput.struct_class = Types::DescribeRegionSettingsInput
@@ -1103,6 +1108,7 @@ module Aws::Backup
1103
1108
  ProtectedResource.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ResourceArn"))
1104
1109
  ProtectedResource.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
1105
1110
  ProtectedResource.add_member(:last_backup_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastBackupTime"))
1111
+ ProtectedResource.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
1106
1112
  ProtectedResource.struct_class = Types::ProtectedResource
1107
1113
 
1108
1114
  ProtectedResourcesList.member = Shapes::ShapeRef.new(shape: ProtectedResource)
@@ -1143,6 +1149,7 @@ module Aws::Backup
1143
1149
  RecoveryPointByBackupVault.add_member(:parent_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ParentRecoveryPointArn"))
1144
1150
  RecoveryPointByBackupVault.add_member(:composite_member_identifier, Shapes::ShapeRef.new(shape: string, location_name: "CompositeMemberIdentifier"))
1145
1151
  RecoveryPointByBackupVault.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
1152
+ RecoveryPointByBackupVault.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
1146
1153
  RecoveryPointByBackupVault.struct_class = Types::RecoveryPointByBackupVault
1147
1154
 
1148
1155
  RecoveryPointByBackupVaultList.member = Shapes::ShapeRef.new(shape: RecoveryPointByBackupVault)
@@ -1156,6 +1163,7 @@ module Aws::Backup
1156
1163
  RecoveryPointByResource.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
1157
1164
  RecoveryPointByResource.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
1158
1165
  RecoveryPointByResource.add_member(:parent_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ParentRecoveryPointArn"))
1166
+ RecoveryPointByResource.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
1159
1167
  RecoveryPointByResource.struct_class = Types::RecoveryPointByResource
1160
1168
 
1161
1169
  RecoveryPointByResourceList.member = Shapes::ShapeRef.new(shape: RecoveryPointByResource)
@@ -1167,6 +1175,9 @@ module Aws::Backup
1167
1175
  RecoveryPointCreator.struct_class = Types::RecoveryPointCreator
1168
1176
 
1169
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"))
1170
1181
  RecoveryPointMember.struct_class = Types::RecoveryPointMember
1171
1182
 
1172
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) && (url = Aws::Endpoints::Matchers.parse_url(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
@@ -228,6 +228,11 @@ module Aws::Backup
228
228
  # backup job.
229
229
  # @return [Boolean]
230
230
  #
231
+ # @!attribute [rw] resource_name
232
+ # This is the non-unique name of the resource that belongs to the
233
+ # specified backup.
234
+ # @return [String]
235
+ #
231
236
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/BackupJob AWS API Documentation
232
237
  #
233
238
  class BackupJob < Struct.new(
@@ -252,7 +257,8 @@ module Aws::Backup
252
257
  :backup_options,
253
258
  :backup_type,
254
259
  :parent_job_id,
255
- :is_parent)
260
+ :is_parent,
261
+ :resource_name)
256
262
  SENSITIVE = []
257
263
  include Aws::Structure
258
264
  end
@@ -441,6 +447,15 @@ module Aws::Backup
441
447
  # canceled if it doesn't start successfully. This value is optional.
442
448
  # If this value is included, it must be at least 60 minutes to avoid
443
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).
444
459
  # @return [Integer]
445
460
  #
446
461
  # @!attribute [rw] completion_window_minutes
@@ -533,6 +548,15 @@ module Aws::Backup
533
548
  # canceled if it doesn't start successfully. This value is optional.
534
549
  # If this value is included, it must be at least 60 minutes to avoid
535
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).
536
560
  # @return [Integer]
537
561
  #
538
562
  # @!attribute [rw] completion_window_minutes
@@ -1253,6 +1277,11 @@ module Aws::Backup
1253
1277
  # jobs.
1254
1278
  # @return [Hash<String,Integer>]
1255
1279
  #
1280
+ # @!attribute [rw] resource_name
1281
+ # This is the non-unique name of the resource that belongs to the
1282
+ # specified backup.
1283
+ # @return [String]
1284
+ #
1256
1285
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/CopyJob AWS API Documentation
1257
1286
  #
1258
1287
  class CopyJob < Struct.new(
@@ -1275,7 +1304,8 @@ module Aws::Backup
1275
1304
  :is_parent,
1276
1305
  :composite_member_identifier,
1277
1306
  :number_of_child_jobs,
1278
- :child_jobs_in_state)
1307
+ :child_jobs_in_state,
1308
+ :resource_name)
1279
1309
  SENSITIVE = []
1280
1310
  include Aws::Structure
1281
1311
  end
@@ -2077,6 +2107,11 @@ module Aws::Backup
2077
2107
  # jobs.
2078
2108
  # @return [Hash<String,Integer>]
2079
2109
  #
2110
+ # @!attribute [rw] resource_name
2111
+ # This is the non-unique name of the resource that belongs to the
2112
+ # specified backup.
2113
+ # @return [String]
2114
+ #
2080
2115
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeBackupJobOutput AWS API Documentation
2081
2116
  #
2082
2117
  class DescribeBackupJobOutput < Struct.new(
@@ -2103,7 +2138,8 @@ module Aws::Backup
2103
2138
  :parent_job_id,
2104
2139
  :is_parent,
2105
2140
  :number_of_child_jobs,
2106
- :child_jobs_in_state)
2141
+ :child_jobs_in_state,
2142
+ :resource_name)
2107
2143
  SENSITIVE = []
2108
2144
  include Aws::Structure
2109
2145
  end
@@ -2393,12 +2429,18 @@ module Aws::Backup
2393
2429
  # represents Friday, January 26, 2018 12:11:30.087 AM.
2394
2430
  # @return [Time]
2395
2431
  #
2432
+ # @!attribute [rw] resource_name
2433
+ # This is the non-unique name of the resource that belongs to the
2434
+ # specified backup.
2435
+ # @return [String]
2436
+ #
2396
2437
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeProtectedResourceOutput AWS API Documentation
2397
2438
  #
2398
2439
  class DescribeProtectedResourceOutput < Struct.new(
2399
2440
  :resource_arn,
2400
2441
  :resource_type,
2401
- :last_backup_time)
2442
+ :last_backup_time,
2443
+ :resource_name)
2402
2444
  SENSITIVE = []
2403
2445
  include Aws::Structure
2404
2446
  end
@@ -2604,6 +2646,11 @@ module Aws::Backup
2604
2646
  # (composite) job.
2605
2647
  # @return [Boolean]
2606
2648
  #
2649
+ # @!attribute [rw] resource_name
2650
+ # This is the non-unique name of the resource that belongs to the
2651
+ # specified backup.
2652
+ # @return [String]
2653
+ #
2607
2654
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRecoveryPointOutput AWS API Documentation
2608
2655
  #
2609
2656
  class DescribeRecoveryPointOutput < Struct.new(
@@ -2628,7 +2675,8 @@ module Aws::Backup
2628
2675
  :last_restore_time,
2629
2676
  :parent_recovery_point_arn,
2630
2677
  :composite_member_identifier,
2631
- :is_parent)
2678
+ :is_parent,
2679
+ :resource_name)
2632
2680
  SENSITIVE = []
2633
2681
  include Aws::Structure
2634
2682
  end
@@ -4682,12 +4730,18 @@ module Aws::Backup
4682
4730
  # represents Friday, January 26, 2018 12:11:30.087 AM.
4683
4731
  # @return [Time]
4684
4732
  #
4733
+ # @!attribute [rw] resource_name
4734
+ # This is the non-unique name of the resource that belongs to the
4735
+ # specified backup.
4736
+ # @return [String]
4737
+ #
4685
4738
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ProtectedResource AWS API Documentation
4686
4739
  #
4687
4740
  class ProtectedResource < Struct.new(
4688
4741
  :resource_arn,
4689
4742
  :resource_type,
4690
- :last_backup_time)
4743
+ :last_backup_time,
4744
+ :resource_name)
4691
4745
  SENSITIVE = []
4692
4746
  include Aws::Structure
4693
4747
  end
@@ -4991,6 +5045,11 @@ module Aws::Backup
4991
5045
  # recovery point.
4992
5046
  # @return [Boolean]
4993
5047
  #
5048
+ # @!attribute [rw] resource_name
5049
+ # This is the non-unique name of the resource that belongs to the
5050
+ # specified backup.
5051
+ # @return [String]
5052
+ #
4994
5053
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointByBackupVault AWS API Documentation
4995
5054
  #
4996
5055
  class RecoveryPointByBackupVault < Struct.new(
@@ -5014,7 +5073,8 @@ module Aws::Backup
5014
5073
  :last_restore_time,
5015
5074
  :parent_recovery_point_arn,
5016
5075
  :composite_member_identifier,
5017
- :is_parent)
5076
+ :is_parent,
5077
+ :resource_name)
5018
5078
  SENSITIVE = []
5019
5079
  include Aws::Structure
5020
5080
  end
@@ -5070,6 +5130,11 @@ module Aws::Backup
5070
5130
  # recovery point.
5071
5131
  # @return [String]
5072
5132
  #
5133
+ # @!attribute [rw] resource_name
5134
+ # This is the non-unique name of the resource that belongs to the
5135
+ # specified backup.
5136
+ # @return [String]
5137
+ #
5073
5138
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointByResource AWS API Documentation
5074
5139
  #
5075
5140
  class RecoveryPointByResource < Struct.new(
@@ -5081,7 +5146,8 @@ module Aws::Backup
5081
5146
  :backup_size_bytes,
5082
5147
  :backup_vault_name,
5083
5148
  :is_parent,
5084
- :parent_recovery_point_arn)
5149
+ :parent_recovery_point_arn,
5150
+ :resource_name)
5085
5151
  SENSITIVE = []
5086
5152
  include Aws::Structure
5087
5153
  end
@@ -5130,10 +5196,28 @@ module Aws::Backup
5130
5196
  # recovery point.
5131
5197
  # @return [String]
5132
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
+ #
5133
5214
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/RecoveryPointMember AWS API Documentation
5134
5215
  #
5135
5216
  class RecoveryPointMember < Struct.new(
5136
- :recovery_point_arn)
5217
+ :recovery_point_arn,
5218
+ :resource_arn,
5219
+ :resource_type,
5220
+ :backup_vault_name)
5137
5221
  SENSITIVE = []
5138
5222
  include Aws::Structure
5139
5223
  end
@@ -5589,6 +5673,15 @@ module Aws::Backup
5589
5673
  # canceled if it doesn't start successfully. This value is optional,
5590
5674
  # and the default is 8 hours. If this value is included, it must be at
5591
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).
5592
5685
  # @return [Integer]
5593
5686
  #
5594
5687
  # @!attribute [rw] complete_window_minutes
@@ -5657,6 +5750,9 @@ module Aws::Backup
5657
5750
  # @return [String]
5658
5751
  #
5659
5752
  # @!attribute [rw] recovery_point_arn
5753
+ # *Note: This field is only returned for Amazon EFS and Advanced
5754
+ # DynamoDB resources.*
5755
+ #
5660
5756
  # An ARN that uniquely identifies a recovery point; for example,
5661
5757
  # `arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45`.
5662
5758
  # @return [String]
@@ -5832,29 +5928,29 @@ module Aws::Backup
5832
5928
  # You need to specify specific metadata to restore an Amazon Elastic
5833
5929
  # File System (Amazon EFS) instance:
5834
5930
  #
5835
- # * `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
5836
5932
  # backed up by Backup. Returned in
5837
5933
  # `GetRecoveryPointRestoreMetadata`.
5838
5934
  #
5839
- # * `Encrypted`\: A Boolean value that, if true, specifies that the
5935
+ # * `Encrypted`: A Boolean value that, if true, specifies that the
5840
5936
  # file system is encrypted. If `KmsKeyId` is specified, `Encrypted`
5841
5937
  # must be set to `true`.
5842
5938
  #
5843
- # * `KmsKeyId`\: Specifies the Amazon Web Services KMS key that is
5844
- # used to encrypt the restored file system. You can specify a key
5845
- # 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
5846
5942
  # properly shared with your account via Amazon Web Services KMS.
5847
5943
  #
5848
- # * `PerformanceMode`\: Specifies the throughput mode of the file
5944
+ # * `PerformanceMode`: Specifies the throughput mode of the file
5849
5945
  # system.
5850
5946
  #
5851
- # * `CreationToken`\: A user-supplied value that ensures the
5852
- # uniqueness (idempotency) of the request.
5947
+ # * `CreationToken`: A user-supplied value that ensures the uniqueness
5948
+ # (idempotency) of the request.
5853
5949
  #
5854
- # * `newFileSystem`\: A Boolean value that, if true, specifies that
5855
- # 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.
5856
5952
  #
5857
- # * `ItemsToRestore`\: An array of one to five strings where each
5953
+ # * `ItemsToRestore`: An array of one to five strings where each
5858
5954
  # string is a file path. Use `ItemsToRestore` to restore specific
5859
5955
  # files or directories rather than the entire file system. This
5860
5956
  # parameter is optional. For example,
@@ -5882,6 +5978,8 @@ module Aws::Backup
5882
5978
  #
5883
5979
  # * `DocumentDB` for Amazon DocumentDB (with MongoDB compatibility)
5884
5980
  #
5981
+ # * `CloudFormation` for CloudFormation
5982
+ #
5885
5983
  # * `DynamoDB` for Amazon DynamoDB
5886
5984
  #
5887
5985
  # * `EBS` for Amazon Elastic Block Store
@@ -5896,10 +5994,14 @@ module Aws::Backup
5896
5994
  #
5897
5995
  # * `RDS` for Amazon Relational Database Service
5898
5996
  #
5997
+ # * `Redshift` for Amazon Redshift
5998
+ #
5899
5999
  # * `Storage Gateway` for Storage Gateway
5900
6000
  #
5901
6001
  # * `S3` for Amazon S3
5902
6002
  #
6003
+ # * `Timestream` for Amazon Timestream
6004
+ #
5903
6005
  # * `VirtualMachine` for virtual machines
5904
6006
  # @return [String]
5905
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.48.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.48.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-01-18 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