aws-sdk-backup 1.14.0 → 1.19.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: 7d0486a1119b17580201f0431ea96e45071767919646bb0008a15d93036497e7
4
- data.tar.gz: 6710e01f3684a0e187920286901acbbfc997205eabfa51104160d822ce4d6d21
3
+ metadata.gz: 292d78c9e48980f8c27b069782f71d965bd372b61f5bb3983b3e6380a075f778
4
+ data.tar.gz: 5d87e55bc904c6c81a48bfded4cdf30540c3e7ecd2d168d55310a4366c26cf8a
5
5
  SHA512:
6
- metadata.gz: 576d2002a5762f2e39a31fd5864d318d0f271eb081e215aa11d8724d813e37db08f03647c5acee17170132873b285babef5c1799133797da5b55f44de735a7f3
7
- data.tar.gz: 977b981ad46d613ab7cffeaaf7607527cf0b27127d4bf3dbcc57f9b8ef331890b9784a98c7c12da8ce48cf79c8f60575a398ef6d84f0a9fbc63c0dbcf020546e
6
+ metadata.gz: 7644dca792da0d7bb582abe9d89580c54baab35b005b16a5847af56b15f49c30f4466ff06fd78437e2269936612969d62db280bf45440de54d38c1978a5fc811
7
+ data.tar.gz: bc46024f9730d2948d5b0efd8d6542a29879ca4e0606e306712fd284068cd697c5c85498d22308b47d79b6815bfdbdfd24b2fec375fba192fa59dc76d08dadee
@@ -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:
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-backup/customizations'
42
44
  #
43
45
  # See {Errors} for more information.
44
46
  #
45
- # @service
47
+ # @!group service
46
48
  module Aws::Backup
47
49
 
48
- GEM_VERSION = '1.14.0'
50
+ GEM_VERSION = '1.19.0'
49
51
 
50
52
  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:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::Backup
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -81,13 +85,28 @@ module Aws::Backup
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
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
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,10 +116,10 @@ module Aws::Backup
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # 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.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
@@ -161,7 +180,7 @@ module Aws::Backup
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +195,7 @@ module Aws::Backup
176
195
  # requests fetching endpoints information. Defaults to 60 sec.
177
196
  #
178
197
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
198
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
199
  #
181
200
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
201
  # The log formatter.
@@ -712,6 +731,7 @@ module Aws::Backup
712
731
  #
713
732
  # @return [Types::DescribeBackupJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
714
733
  #
734
+ # * {Types::DescribeBackupJobOutput#account_id #account_id} => String
715
735
  # * {Types::DescribeBackupJobOutput#backup_job_id #backup_job_id} => String
716
736
  # * {Types::DescribeBackupJobOutput#backup_vault_name #backup_vault_name} => String
717
737
  # * {Types::DescribeBackupJobOutput#backup_vault_arn #backup_vault_arn} => String
@@ -738,6 +758,7 @@ module Aws::Backup
738
758
  #
739
759
  # @example Response structure
740
760
  #
761
+ # resp.account_id #=> String
741
762
  # resp.backup_job_id #=> String
742
763
  # resp.backup_vault_name #=> String
743
764
  # resp.backup_vault_arn #=> String
@@ -826,6 +847,7 @@ module Aws::Backup
826
847
  #
827
848
  # @example Response structure
828
849
  #
850
+ # resp.copy_job.account_id #=> String
829
851
  # resp.copy_job.copy_job_id #=> String
830
852
  # resp.copy_job.source_backup_vault_arn #=> String
831
853
  # resp.copy_job.source_recovery_point_arn #=> String
@@ -963,12 +985,12 @@ module Aws::Backup
963
985
  req.send_request(options)
964
986
  end
965
987
 
966
- # Returns the current service opt-in settings for the region. If the
967
- # service has a value set to true, AWS Backup will attempt to protect
968
- # that service's resources in this region, when included in an
969
- # on-demand backup or scheduled backup plan. If the value is set to
970
- # false for a service, AWS Backup will not attempt to protect that
971
- # service's resources in this region.
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.
972
994
  #
973
995
  # @return [Types::DescribeRegionSettingsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
974
996
  #
@@ -996,6 +1018,7 @@ module Aws::Backup
996
1018
  #
997
1019
  # @return [Types::DescribeRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
998
1020
  #
1021
+ # * {Types::DescribeRestoreJobOutput#account_id #account_id} => String
999
1022
  # * {Types::DescribeRestoreJobOutput#restore_job_id #restore_job_id} => String
1000
1023
  # * {Types::DescribeRestoreJobOutput#recovery_point_arn #recovery_point_arn} => String
1001
1024
  # * {Types::DescribeRestoreJobOutput#creation_date #creation_date} => Time
@@ -1007,6 +1030,7 @@ module Aws::Backup
1007
1030
  # * {Types::DescribeRestoreJobOutput#iam_role_arn #iam_role_arn} => String
1008
1031
  # * {Types::DescribeRestoreJobOutput#expected_completion_time_minutes #expected_completion_time_minutes} => Integer
1009
1032
  # * {Types::DescribeRestoreJobOutput#created_resource_arn #created_resource_arn} => String
1033
+ # * {Types::DescribeRestoreJobOutput#resource_type #resource_type} => String
1010
1034
  #
1011
1035
  # @example Request syntax with placeholder values
1012
1036
  #
@@ -1016,6 +1040,7 @@ module Aws::Backup
1016
1040
  #
1017
1041
  # @example Response structure
1018
1042
  #
1043
+ # resp.account_id #=> String
1019
1044
  # resp.restore_job_id #=> String
1020
1045
  # resp.recovery_point_arn #=> String
1021
1046
  # resp.creation_date #=> Time
@@ -1027,6 +1052,7 @@ module Aws::Backup
1027
1052
  # resp.iam_role_arn #=> String
1028
1053
  # resp.expected_completion_time_minutes #=> Integer
1029
1054
  # resp.created_resource_arn #=> String
1055
+ # resp.resource_type #=> String
1030
1056
  #
1031
1057
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/DescribeRestoreJob AWS API Documentation
1032
1058
  #
@@ -1438,12 +1464,18 @@ module Aws::Backup
1438
1464
  #
1439
1465
  # * `EBS` for Amazon Elastic Block Store
1440
1466
  #
1467
+ # * `EC2` for Amazon Elastic Compute Cloud
1468
+ #
1441
1469
  # * `EFS` for Amazon Elastic File System
1442
1470
  #
1443
1471
  # * `RDS` for Amazon Relational Database Service
1444
1472
  #
1445
1473
  # * `Storage Gateway` for AWS Storage Gateway
1446
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
+ #
1447
1479
  # @return [Types::ListBackupJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1448
1480
  #
1449
1481
  # * {Types::ListBackupJobsOutput#backup_jobs #backup_jobs} => Array<Types::BackupJob>
@@ -1462,11 +1494,13 @@ module Aws::Backup
1462
1494
  # by_created_before: Time.now,
1463
1495
  # by_created_after: Time.now,
1464
1496
  # by_resource_type: "ResourceType",
1497
+ # by_account_id: "AccountId",
1465
1498
  # })
1466
1499
  #
1467
1500
  # @example Response structure
1468
1501
  #
1469
1502
  # resp.backup_jobs #=> Array
1503
+ # resp.backup_jobs[0].account_id #=> String
1470
1504
  # resp.backup_jobs[0].backup_job_id #=> String
1471
1505
  # resp.backup_jobs[0].backup_vault_name #=> String
1472
1506
  # resp.backup_jobs[0].backup_vault_arn #=> String
@@ -1770,8 +1804,12 @@ module Aws::Backup
1770
1804
  # @option params [String] :by_resource_type
1771
1805
  # Returns only backup jobs for the specified resources:
1772
1806
  #
1807
+ # * `DynamoDB` for Amazon DynamoDB
1808
+ #
1773
1809
  # * `EBS` for Amazon Elastic Block Store
1774
1810
  #
1811
+ # * `EC2` for Amazon Elastic Compute Cloud
1812
+ #
1775
1813
  # * `EFS` for Amazon Elastic File System
1776
1814
  #
1777
1815
  # * `RDS` for Amazon Relational Database Service
@@ -1783,6 +1821,10 @@ module Aws::Backup
1783
1821
  # vault to copy from; for example,
1784
1822
  # `arn:aws:backup:us-east-1:123456789012:vault:aBackupVault`.
1785
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
+ #
1786
1828
  # @return [Types::ListCopyJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1787
1829
  #
1788
1830
  # * {Types::ListCopyJobsOutput#copy_jobs #copy_jobs} => Array<Types::CopyJob>
@@ -1801,11 +1843,13 @@ module Aws::Backup
1801
1843
  # by_created_after: Time.now,
1802
1844
  # by_resource_type: "ResourceType",
1803
1845
  # by_destination_vault_arn: "string",
1846
+ # by_account_id: "AccountId",
1804
1847
  # })
1805
1848
  #
1806
1849
  # @example Response structure
1807
1850
  #
1808
1851
  # resp.copy_jobs #=> Array
1852
+ # resp.copy_jobs[0].account_id #=> String
1809
1853
  # resp.copy_jobs[0].copy_job_id #=> String
1810
1854
  # resp.copy_jobs[0].source_backup_vault_arn #=> String
1811
1855
  # resp.copy_jobs[0].source_recovery_point_arn #=> String
@@ -2032,6 +2076,19 @@ module Aws::Backup
2032
2076
  # @option params [Integer] :max_results
2033
2077
  # The maximum number of items to be returned.
2034
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
+ #
2035
2092
  # @return [Types::ListRestoreJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2036
2093
  #
2037
2094
  # * {Types::ListRestoreJobsOutput#restore_jobs #restore_jobs} => Array<Types::RestoreJobsListMember>
@@ -2044,11 +2101,16 @@ module Aws::Backup
2044
2101
  # resp = client.list_restore_jobs({
2045
2102
  # next_token: "string",
2046
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
2047
2108
  # })
2048
2109
  #
2049
2110
  # @example Response structure
2050
2111
  #
2051
2112
  # resp.restore_jobs #=> Array
2113
+ # resp.restore_jobs[0].account_id #=> String
2052
2114
  # resp.restore_jobs[0].restore_job_id #=> String
2053
2115
  # resp.restore_jobs[0].recovery_point_arn #=> String
2054
2116
  # resp.restore_jobs[0].creation_date #=> Time
@@ -2060,6 +2122,7 @@ module Aws::Backup
2060
2122
  # resp.restore_jobs[0].iam_role_arn #=> String
2061
2123
  # resp.restore_jobs[0].expected_completion_time_minutes #=> Integer
2062
2124
  # resp.restore_jobs[0].created_resource_arn #=> String
2125
+ # resp.restore_jobs[0].resource_type #=> String
2063
2126
  # resp.next_token #=> String
2064
2127
  #
2065
2128
  # @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobs AWS API Documentation
@@ -2400,15 +2463,17 @@ module Aws::Backup
2400
2463
  # Starts a job to restore a recovery point for one of the following
2401
2464
  # resources:
2402
2465
  #
2466
+ # * `DynamoDB` for Amazon DynamoDB
2467
+ #
2403
2468
  # * `EBS` for Amazon Elastic Block Store
2404
2469
  #
2405
- # * `Storage Gateway` for AWS Storage Gateway
2470
+ # * `EC2` for Amazon Elastic Compute Cloud
2406
2471
  #
2407
- # * `RDS` for Amazon Relational Database Service
2472
+ # * `EFS` for Amazon Elastic File System
2408
2473
  #
2409
- # * `DDB` for Amazon DynamoDB
2474
+ # * `RDS` for Amazon Relational Database Service
2410
2475
  #
2411
- # * `EFS` for Amazon Elastic File System
2476
+ # * `Storage Gateway` for AWS Storage Gateway
2412
2477
  #
2413
2478
  # @return [Types::StartRestoreJobOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2414
2479
  #
@@ -2659,12 +2724,12 @@ module Aws::Backup
2659
2724
  req.send_request(options)
2660
2725
  end
2661
2726
 
2662
- # Updates the current service opt-in settings for the region. If the
2663
- # service has a value set to true, AWS Backup will attempt to protect
2664
- # that service's resources in this region, when included in an
2665
- # on-demand backup or scheduled backup plan. If the value is set to
2666
- # false for a service, AWS Backup will not attempt to protect that
2667
- # service's resources in this region.
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.
2668
2733
  #
2669
2734
  # @option params [Hash<String,Boolean>] :resource_type_opt_in_preference
2670
2735
  # Updates the list of services along with the opt-in preferences for the
@@ -2702,7 +2767,7 @@ module Aws::Backup
2702
2767
  params: params,
2703
2768
  config: config)
2704
2769
  context[:gem_name] = 'aws-sdk-backup'
2705
- context[:gem_version] = '1.14.0'
2770
+ context[:gem_version] = '1.19.0'
2706
2771
  Seahorse::Client::Request.new(handlers, context)
2707
2772
  end
2708
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: