aws-sdk-backup 1.16.1 → 1.21.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: 3c5e55c266800a276866b9f0cf79cf542e49426ec207d2f30359de0d40ed4b5c
4
- data.tar.gz: ebc31b8925005de6a547316ec44d869d901383c80f2d6ec1fc86ab9f4f686cde
3
+ metadata.gz: 8095a8acf5ba240ba4b41c83d8790831934e94b1af562f06f12005a6dc5ff479
4
+ data.tar.gz: 68a51ec8256f3b79cce2ee5760184445f645479dbfc098cda5c787b18f5d5c8a
5
5
  SHA512:
6
- metadata.gz: 50306e44dd970fcbf9e7dee1bf173f7acf2e00ee7d847e61262c43e8635af03867b47546a26be4ee191028fe745992b40e189aa4ae1a7672f8e7c9b25ed06b9e
7
- data.tar.gz: 47067e94a51af8658a0522e63730679d97705c7739234e109c5e43dc4a9ce4024f56351f24730e2a202dd4a01426334bc94d55d15494e54bfaf2b1ec527b1f6c
6
+ metadata.gz: fb85cf34b4cd712905061f8b709b4b8615ff7b57f6c6f20642b0ba56bd0939e770f32a8039e1cdf5e20f5f66461bc858ccbf3526a378bd409f386f0e5c81ed18
7
+ data.tar.gz: 726d04b095ad7c4035f2f4baa2c0ac7d38031d9dc7fbd8052f3ed4459baec0e9039046193a30daa4536cc2966b08485f0286075bf10613cb6bb88df6a898a6f2
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -5,6 +7,7 @@
5
7
  #
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
10
+
8
11
  require 'aws-sdk-core'
9
12
  require 'aws-sigv4'
10
13
 
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-backup/customizations'
42
45
  #
43
46
  # See {Errors} for more information.
44
47
  #
45
- # @service
48
+ # @!group service
46
49
  module Aws::Backup
47
50
 
48
- GEM_VERSION = '1.16.1'
51
+ GEM_VERSION = '1.21.0'
49
52
 
50
53
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -83,13 +85,28 @@ module Aws::Backup
83
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
84
86
  # credentials.
85
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
86
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
87
103
  # from an EC2 IMDS on an EC2 instance.
88
104
  #
89
- # * `Aws::SharedCredentials` - Used for loading credentials from a
90
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
91
107
  #
92
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
93
110
  #
94
111
  # When `:credentials` are not configured directly, the following
95
112
  # locations will be searched for credentials:
@@ -99,10 +116,10 @@ module Aws::Backup
99
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
100
117
  # * `~/.aws/credentials`
101
118
  # * `~/.aws/config`
102
- # * EC2 IMDS instance profile - When used by default, the timeouts are
103
- # very aggressive. Construct and pass an instance of
104
- # `Aws::InstanceProfileCredentails` to enable retries and extended
105
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
106
123
  #
107
124
  # @option options [required, String] :region
108
125
  # The AWS region to connect to. The configured `:region` is
@@ -403,13 +420,13 @@ module Aws::Backup
403
420
  #
404
421
  # `ConditionValue:"finance"`
405
422
  #
406
- # `ConditionType:"STRINGEQUALS"`
423
+ # `ConditionType:"StringEquals"`
407
424
  #
408
425
  # * `ConditionKey:"importance"`
409
426
  #
410
427
  # `ConditionValue:"critical"`
411
428
  #
412
- # `ConditionType:"STRINGEQUALS"`
429
+ # `ConditionType:"StringEquals"`
413
430
  #
414
431
  # Using these patterns would back up all Amazon Elastic Block Store
415
432
  # (Amazon EBS) volumes that are tagged as `"department=finance"`,
@@ -714,6 +731,7 @@ module Aws::Backup
714
731
  #
715
732
  # @return [Types::DescribeBackupJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
716
733
  #
734
+ # * {Types::DescribeBackupJobOutput#account_id #account_id} => String
717
735
  # * {Types::DescribeBackupJobOutput#backup_job_id #backup_job_id} => String
718
736
  # * {Types::DescribeBackupJobOutput#backup_vault_name #backup_vault_name} => String
719
737
  # * {Types::DescribeBackupJobOutput#backup_vault_arn #backup_vault_arn} => String
@@ -740,6 +758,7 @@ module Aws::Backup
740
758
  #
741
759
  # @example Response structure
742
760
  #
761
+ # resp.account_id #=> String
743
762
  # resp.backup_job_id #=> String
744
763
  # resp.backup_vault_name #=> String
745
764
  # resp.backup_vault_arn #=> String
@@ -828,6 +847,7 @@ module Aws::Backup
828
847
  #
829
848
  # @example Response structure
830
849
  #
850
+ # resp.copy_job.account_id #=> String
831
851
  # resp.copy_job.copy_job_id #=> String
832
852
  # resp.copy_job.source_backup_vault_arn #=> String
833
853
  # resp.copy_job.source_recovery_point_arn #=> String
@@ -965,12 +985,12 @@ module Aws::Backup
965
985
  req.send_request(options)
966
986
  end
967
987
 
968
- # Returns the current service opt-in settings for the region. If the
969
- # service has a value set to true, AWS Backup will attempt to protect
970
- # that service's resources in this region, when included in an
971
- # on-demand backup or scheduled backup plan. If the value is set to
972
- # false for a service, AWS Backup will not attempt to protect that
973
- # service's resources in this region.
988
+ # Returns the current service opt-in settings for the Region. If the
989
+ # service has a value set to `true`, AWS Backup attempts to protect that
990
+ # service's resources in this Region, when included in an on-demand
991
+ # backup or scheduled backup plan. If the value is set to `false` for a
992
+ # service, AWS Backup does not attempt to protect that service's
993
+ # resources in this Region.
974
994
  #
975
995
  # @return [Types::DescribeRegionSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
976
996
  #
@@ -998,6 +1018,7 @@ module Aws::Backup
998
1018
  #
999
1019
  # @return [Types::DescribeRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1000
1020
  #
1021
+ # * {Types::DescribeRestoreJobOutput#account_id #account_id} => String
1001
1022
  # * {Types::DescribeRestoreJobOutput#restore_job_id #restore_job_id} => String
1002
1023
  # * {Types::DescribeRestoreJobOutput#recovery_point_arn #recovery_point_arn} => String
1003
1024
  # * {Types::DescribeRestoreJobOutput#creation_date #creation_date} => Time
@@ -1009,6 +1030,7 @@ module Aws::Backup
1009
1030
  # * {Types::DescribeRestoreJobOutput#iam_role_arn #iam_role_arn} => String
1010
1031
  # * {Types::DescribeRestoreJobOutput#expected_completion_time_minutes #expected_completion_time_minutes} => Integer
1011
1032
  # * {Types::DescribeRestoreJobOutput#created_resource_arn #created_resource_arn} => String
1033
+ # * {Types::DescribeRestoreJobOutput#resource_type #resource_type} => String
1012
1034
  #
1013
1035
  # @example Request syntax with placeholder values
1014
1036
  #
@@ -1018,6 +1040,7 @@ module Aws::Backup
1018
1040
  #
1019
1041
  # @example Response structure
1020
1042
  #
1043
+ # resp.account_id #=> String
1021
1044
  # resp.restore_job_id #=> String
1022
1045
  # resp.recovery_point_arn #=> String
1023
1046
  # resp.creation_date #=> Time
@@ -1029,6 +1052,7 @@ module Aws::Backup
1029
1052
  # resp.iam_role_arn #=> String
1030
1053
  # resp.expected_completion_time_minutes #=> Integer
1031
1054
  # resp.created_resource_arn #=> String
1055
+ # resp.resource_type #=> String
1032
1056
  #
1033
1057
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRestoreJob AWS API Documentation
1034
1058
  #
@@ -1440,12 +1464,18 @@ module Aws::Backup
1440
1464
  #
1441
1465
  # * `EBS` for Amazon Elastic Block Store
1442
1466
  #
1467
+ # * `EC2` for Amazon Elastic Compute Cloud
1468
+ #
1443
1469
  # * `EFS` for Amazon Elastic File System
1444
1470
  #
1445
1471
  # * `RDS` for Amazon Relational Database Service
1446
1472
  #
1447
1473
  # * `Storage Gateway` for AWS Storage Gateway
1448
1474
  #
1475
+ # @option params [String] :by_account_id
1476
+ # The account ID to list the jobs from. Returns only backup jobs
1477
+ # associated with the specified account ID.
1478
+ #
1449
1479
  # @return [Types::ListBackupJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1450
1480
  #
1451
1481
  # * {Types::ListBackupJobsOutput#backup_jobs #backup_jobs} => Array<Types::BackupJob>
@@ -1464,11 +1494,13 @@ module Aws::Backup
1464
1494
  # by_created_before: Time.now,
1465
1495
  # by_created_after: Time.now,
1466
1496
  # by_resource_type: "ResourceType",
1497
+ # by_account_id: "AccountId",
1467
1498
  # })
1468
1499
  #
1469
1500
  # @example Response structure
1470
1501
  #
1471
1502
  # resp.backup_jobs #=> Array
1503
+ # resp.backup_jobs[0].account_id #=> String
1472
1504
  # resp.backup_jobs[0].backup_job_id #=> String
1473
1505
  # resp.backup_jobs[0].backup_vault_name #=> String
1474
1506
  # resp.backup_jobs[0].backup_vault_arn #=> String
@@ -1772,8 +1804,12 @@ module Aws::Backup
1772
1804
  # @option params [String] :by_resource_type
1773
1805
  # Returns only backup jobs for the specified resources:
1774
1806
  #
1807
+ # * `DynamoDB` for Amazon DynamoDB
1808
+ #
1775
1809
  # * `EBS` for Amazon Elastic Block Store
1776
1810
  #
1811
+ # * `EC2` for Amazon Elastic Compute Cloud
1812
+ #
1777
1813
  # * `EFS` for Amazon Elastic File System
1778
1814
  #
1779
1815
  # * `RDS` for Amazon Relational Database Service
@@ -1785,6 +1821,10 @@ module Aws::Backup
1785
1821
  # vault to copy from; for example,
1786
1822
  # `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
1787
1823
  #
1824
+ # @option params [String] :by_account_id
1825
+ # The account ID to list the jobs from. Returns only copy jobs
1826
+ # associated with the specified account ID.
1827
+ #
1788
1828
  # @return [Types::ListCopyJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1789
1829
  #
1790
1830
  # * {Types::ListCopyJobsOutput#copy_jobs #copy_jobs} => Array<Types::CopyJob>
@@ -1803,11 +1843,13 @@ module Aws::Backup
1803
1843
  # by_created_after: Time.now,
1804
1844
  # by_resource_type: "ResourceType",
1805
1845
  # by_destination_vault_arn: "string",
1846
+ # by_account_id: "AccountId",
1806
1847
  # })
1807
1848
  #
1808
1849
  # @example Response structure
1809
1850
  #
1810
1851
  # resp.copy_jobs #=> Array
1852
+ # resp.copy_jobs[0].account_id #=> String
1811
1853
  # resp.copy_jobs[0].copy_job_id #=> String
1812
1854
  # resp.copy_jobs[0].source_backup_vault_arn #=> String
1813
1855
  # resp.copy_jobs[0].source_recovery_point_arn #=> String
@@ -2034,6 +2076,19 @@ module Aws::Backup
2034
2076
  # @option params [Integer] :max_results
2035
2077
  # The maximum number of items to be returned.
2036
2078
  #
2079
+ # @option params [String] :by_account_id
2080
+ # The account ID to list the jobs from. Returns only restore jobs
2081
+ # associated with the specified account ID.
2082
+ #
2083
+ # @option params [Time,DateTime,Date,Integer,String] :by_created_before
2084
+ # Returns only restore jobs that were created before the specified date.
2085
+ #
2086
+ # @option params [Time,DateTime,Date,Integer,String] :by_created_after
2087
+ # Returns only restore jobs that were created after the specified date.
2088
+ #
2089
+ # @option params [String] :by_status
2090
+ # Returns only restore jobs associated with the specified job status.
2091
+ #
2037
2092
  # @return [Types::ListRestoreJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2038
2093
  #
2039
2094
  # * {Types::ListRestoreJobsOutput#restore_jobs #restore_jobs} => Array<Types::RestoreJobsListMember>
@@ -2046,11 +2101,16 @@ module Aws::Backup
2046
2101
  # resp = client.list_restore_jobs({
2047
2102
  # next_token: "string",
2048
2103
  # max_results: 1,
2104
+ # by_account_id: "AccountId",
2105
+ # by_created_before: Time.now,
2106
+ # by_created_after: Time.now,
2107
+ # by_status: "PENDING", # accepts PENDING, RUNNING, COMPLETED, ABORTED, FAILED
2049
2108
  # })
2050
2109
  #
2051
2110
  # @example Response structure
2052
2111
  #
2053
2112
  # resp.restore_jobs #=> Array
2113
+ # resp.restore_jobs[0].account_id #=> String
2054
2114
  # resp.restore_jobs[0].restore_job_id #=> String
2055
2115
  # resp.restore_jobs[0].recovery_point_arn #=> String
2056
2116
  # resp.restore_jobs[0].creation_date #=> Time
@@ -2062,6 +2122,7 @@ module Aws::Backup
2062
2122
  # resp.restore_jobs[0].iam_role_arn #=> String
2063
2123
  # resp.restore_jobs[0].expected_completion_time_minutes #=> Integer
2064
2124
  # resp.restore_jobs[0].created_resource_arn #=> String
2125
+ # resp.restore_jobs[0].resource_type #=> String
2065
2126
  # resp.next_token #=> String
2066
2127
  #
2067
2128
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobs AWS API Documentation
@@ -2402,15 +2463,17 @@ module Aws::Backup
2402
2463
  # Starts a job to restore a recovery point for one of the following
2403
2464
  # resources:
2404
2465
  #
2466
+ # * `DynamoDB` for Amazon DynamoDB
2467
+ #
2405
2468
  # * `EBS` for Amazon Elastic Block Store
2406
2469
  #
2407
- # * `Storage Gateway` for AWS Storage Gateway
2470
+ # * `EC2` for Amazon Elastic Compute Cloud
2408
2471
  #
2409
- # * `RDS` for Amazon Relational Database Service
2472
+ # * `EFS` for Amazon Elastic File System
2410
2473
  #
2411
- # * `DDB` for Amazon DynamoDB
2474
+ # * `RDS` for Amazon Relational Database Service
2412
2475
  #
2413
- # * `EFS` for Amazon Elastic File System
2476
+ # * `Storage Gateway` for AWS Storage Gateway
2414
2477
  #
2415
2478
  # @return [Types::StartRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2416
2479
  #
@@ -2661,12 +2724,12 @@ module Aws::Backup
2661
2724
  req.send_request(options)
2662
2725
  end
2663
2726
 
2664
- # Updates the current service opt-in settings for the region. If the
2665
- # service has a value set to true, AWS Backup will attempt to protect
2666
- # that service's resources in this region, when included in an
2667
- # on-demand backup or scheduled backup plan. If the value is set to
2668
- # false for a service, AWS Backup will not attempt to protect that
2669
- # service's resources in this region.
2727
+ # Updates the current service opt-in settings for the Region. If the
2728
+ # service has a value set to `true`, AWS Backup attempts to protect that
2729
+ # service's resources in this Region, when included in an on-demand
2730
+ # backup or scheduled backup plan. If the value is set to `false` for a
2731
+ # service, AWS Backup does not attempt to protect that service's
2732
+ # resources in this Region.
2670
2733
  #
2671
2734
  # @option params [Hash<String,Boolean>] :resource_type_opt_in_preference
2672
2735
  # Updates the list of services along with the opt-in preferences for the
@@ -2704,7 +2767,7 @@ module Aws::Backup
2704
2767
  params: params,
2705
2768
  config: config)
2706
2769
  context[:gem_name] = 'aws-sdk-backup'
2707
- context[:gem_version] = '1.16.1'
2770
+ context[:gem_version] = '1.21.0'
2708
2771
  Seahorse::Client::Request.new(handlers, context)
2709
2772
  end
2710
2773
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -12,6 +14,7 @@ module Aws::Backup
12
14
  include Seahorse::Model
13
15
 
14
16
  ARN = Shapes::StringShape.new(name: 'ARN')
17
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
15
18
  AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
16
19
  BackupJob = Shapes::StructureShape.new(name: 'BackupJob')
17
20
  BackupJobState = Shapes::StringShape.new(name: 'BackupJobState')
@@ -186,6 +189,7 @@ module Aws::Backup
186
189
  AlreadyExistsException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
187
190
  AlreadyExistsException.struct_class = Types::AlreadyExistsException
188
191
 
192
+ BackupJob.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
189
193
  BackupJob.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupJobId"))
190
194
  BackupJob.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
191
195
  BackupJob.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
@@ -303,6 +307,7 @@ module Aws::Backup
303
307
 
304
308
  CopyActions.member = Shapes::ShapeRef.new(shape: CopyAction)
305
309
 
310
+ CopyJob.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
306
311
  CopyJob.add_member(:copy_job_id, Shapes::ShapeRef.new(shape: string, location_name: "CopyJobId"))
307
312
  CopyJob.add_member(:source_backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceBackupVaultArn"))
308
313
  CopyJob.add_member(:source_recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "SourceRecoveryPointArn"))
@@ -388,6 +393,7 @@ module Aws::Backup
388
393
  DescribeBackupJobInput.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupJobId"))
389
394
  DescribeBackupJobInput.struct_class = Types::DescribeBackupJobInput
390
395
 
396
+ DescribeBackupJobOutput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
391
397
  DescribeBackupJobOutput.add_member(:backup_job_id, Shapes::ShapeRef.new(shape: string, location_name: "BackupJobId"))
392
398
  DescribeBackupJobOutput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: BackupVaultName, location_name: "BackupVaultName"))
393
399
  DescribeBackupJobOutput.add_member(:backup_vault_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "BackupVaultArn"))
@@ -463,6 +469,7 @@ module Aws::Backup
463
469
  DescribeRestoreJobInput.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: RestoreJobId, required: true, location: "uri", location_name: "restoreJobId"))
464
470
  DescribeRestoreJobInput.struct_class = Types::DescribeRestoreJobInput
465
471
 
472
+ DescribeRestoreJobOutput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
466
473
  DescribeRestoreJobOutput.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: string, location_name: "RestoreJobId"))
467
474
  DescribeRestoreJobOutput.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
468
475
  DescribeRestoreJobOutput.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
@@ -474,6 +481,7 @@ module Aws::Backup
474
481
  DescribeRestoreJobOutput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
475
482
  DescribeRestoreJobOutput.add_member(:expected_completion_time_minutes, Shapes::ShapeRef.new(shape: Long, location_name: "ExpectedCompletionTimeMinutes"))
476
483
  DescribeRestoreJobOutput.add_member(:created_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "CreatedResourceArn"))
484
+ DescribeRestoreJobOutput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
477
485
  DescribeRestoreJobOutput.struct_class = Types::DescribeRestoreJobOutput
478
486
 
479
487
  ExportBackupPlanTemplateInput.add_member(:backup_plan_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupPlanId"))
@@ -578,6 +586,7 @@ module Aws::Backup
578
586
  ListBackupJobsInput.add_member(:by_created_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdBefore"))
579
587
  ListBackupJobsInput.add_member(:by_created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter"))
580
588
  ListBackupJobsInput.add_member(:by_resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "resourceType"))
589
+ ListBackupJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
581
590
  ListBackupJobsInput.struct_class = Types::ListBackupJobsInput
582
591
 
583
592
  ListBackupJobsOutput.add_member(:backup_jobs, Shapes::ShapeRef.new(shape: BackupJobsList, location_name: "BackupJobs"))
@@ -635,6 +644,7 @@ module Aws::Backup
635
644
  ListCopyJobsInput.add_member(:by_created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter"))
636
645
  ListCopyJobsInput.add_member(:by_resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "resourceType"))
637
646
  ListCopyJobsInput.add_member(:by_destination_vault_arn, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "destinationVaultArn"))
647
+ ListCopyJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
638
648
  ListCopyJobsInput.struct_class = Types::ListCopyJobsInput
639
649
 
640
650
  ListCopyJobsOutput.add_member(:copy_jobs, Shapes::ShapeRef.new(shape: CopyJobsList, location_name: "CopyJobs"))
@@ -676,6 +686,10 @@ module Aws::Backup
676
686
 
677
687
  ListRestoreJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
678
688
  ListRestoreJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
689
+ ListRestoreJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
690
+ ListRestoreJobsInput.add_member(:by_created_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdBefore"))
691
+ ListRestoreJobsInput.add_member(:by_created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter"))
692
+ ListRestoreJobsInput.add_member(:by_status, Shapes::ShapeRef.new(shape: RestoreJobStatus, location: "querystring", location_name: "status"))
679
693
  ListRestoreJobsInput.struct_class = Types::ListRestoreJobsInput
680
694
 
681
695
  ListRestoreJobsOutput.add_member(:restore_jobs, Shapes::ShapeRef.new(shape: RestoreJobsList, location_name: "RestoreJobs"))
@@ -767,6 +781,7 @@ module Aws::Backup
767
781
 
768
782
  RestoreJobsList.member = Shapes::ShapeRef.new(shape: RestoreJobsListMember)
769
783
 
784
+ RestoreJobsListMember.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
770
785
  RestoreJobsListMember.add_member(:restore_job_id, Shapes::ShapeRef.new(shape: string, location_name: "RestoreJobId"))
771
786
  RestoreJobsListMember.add_member(:recovery_point_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "RecoveryPointArn"))
772
787
  RestoreJobsListMember.add_member(:creation_date, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreationDate"))
@@ -778,6 +793,7 @@ module Aws::Backup
778
793
  RestoreJobsListMember.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "IamRoleArn"))
779
794
  RestoreJobsListMember.add_member(:expected_completion_time_minutes, Shapes::ShapeRef.new(shape: Long, location_name: "ExpectedCompletionTimeMinutes"))
780
795
  RestoreJobsListMember.add_member(:created_resource_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "CreatedResourceArn"))
796
+ RestoreJobsListMember.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
781
797
  RestoreJobsListMember.struct_class = Types::RestoreJobsListMember
782
798
 
783
799
  ServiceUnavailableException.add_member(:code, Shapes::ShapeRef.new(shape: string, location_name: "Code"))
@@ -1190,7 +1206,6 @@ module Aws::Backup
1190
1206
  o.input = Shapes::ShapeRef.new(shape: ListBackupJobsInput)
1191
1207
  o.output = Shapes::ShapeRef.new(shape: ListBackupJobsOutput)
1192
1208
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1193
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1194
1209
  o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
1195
1210
  o[:pager] = Aws::Pager.new(
1196
1211
  limit_key: "max_results",
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information: