aws-sdk-backup 1.43.0 → 1.44.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +31 -1
- data/lib/aws-sdk-backup/client_api.rb +6 -0
- data/lib/aws-sdk-backup/types.rb +47 -4
- data/lib/aws-sdk-backup.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4ba022df68639fe14bff5e88a0ab74fd0ea86851ee22c8b8c1325b387ba0d1c
|
4
|
+
data.tar.gz: c6f7b6df696e57ca15f6cae1505e18a015bc4e622ce4ebe6ceab167152c038b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eff5d0f6bdf7f7ce96f5f9612884dfa17b86ab91cf4cfeab8ddc045b5ab3f653cfd1969e4a2f111c7228fd414e2dfb96ee61f8ec7f23bc2d1fc7ee577f984b78
|
7
|
+
data.tar.gz: 2d6f2d48444b81b4509e9f3bc89a89aa7b5baa24f96a16a98fae3c5b14774efca809dcdb41b258dcf2d57517efa013b93e016383505364ca84c4ac116b331cea
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -2046,6 +2046,14 @@ module Aws::Backup
|
|
2046
2046
|
# If used from an Organizations management account, passing `*` returns
|
2047
2047
|
# all jobs across the organization.
|
2048
2048
|
#
|
2049
|
+
# @option params [Time,DateTime,Date,Integer,String] :by_complete_after
|
2050
|
+
# Returns only backup jobs completed after a date expressed in Unix
|
2051
|
+
# format and Coordinated Universal Time (UTC).
|
2052
|
+
#
|
2053
|
+
# @option params [Time,DateTime,Date,Integer,String] :by_complete_before
|
2054
|
+
# Returns only backup jobs completed before a date expressed in Unix
|
2055
|
+
# format and Coordinated Universal Time (UTC).
|
2056
|
+
#
|
2049
2057
|
# @return [Types::ListBackupJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2050
2058
|
#
|
2051
2059
|
# * {Types::ListBackupJobsOutput#backup_jobs #backup_jobs} => Array<Types::BackupJob>
|
@@ -2065,6 +2073,8 @@ module Aws::Backup
|
|
2065
2073
|
# by_created_after: Time.now,
|
2066
2074
|
# by_resource_type: "ResourceType",
|
2067
2075
|
# by_account_id: "AccountId",
|
2076
|
+
# by_complete_after: Time.now,
|
2077
|
+
# by_complete_before: Time.now,
|
2068
2078
|
# })
|
2069
2079
|
#
|
2070
2080
|
# @example Response structure
|
@@ -2423,6 +2433,14 @@ module Aws::Backup
|
|
2423
2433
|
# The account ID to list the jobs from. Returns only copy jobs
|
2424
2434
|
# associated with the specified account ID.
|
2425
2435
|
#
|
2436
|
+
# @option params [Time,DateTime,Date,Integer,String] :by_complete_before
|
2437
|
+
# Returns only copy jobs completed before a date expressed in Unix
|
2438
|
+
# format and Coordinated Universal Time (UTC).
|
2439
|
+
#
|
2440
|
+
# @option params [Time,DateTime,Date,Integer,String] :by_complete_after
|
2441
|
+
# Returns only copy jobs completed after a date expressed in Unix format
|
2442
|
+
# and Coordinated Universal Time (UTC).
|
2443
|
+
#
|
2426
2444
|
# @return [Types::ListCopyJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2427
2445
|
#
|
2428
2446
|
# * {Types::ListCopyJobsOutput#copy_jobs #copy_jobs} => Array<Types::CopyJob>
|
@@ -2442,6 +2460,8 @@ module Aws::Backup
|
|
2442
2460
|
# by_resource_type: "ResourceType",
|
2443
2461
|
# by_destination_vault_arn: "string",
|
2444
2462
|
# by_account_id: "AccountId",
|
2463
|
+
# by_complete_before: Time.now,
|
2464
|
+
# by_complete_after: Time.now,
|
2445
2465
|
# })
|
2446
2466
|
#
|
2447
2467
|
# @example Response structure
|
@@ -2879,6 +2899,14 @@ module Aws::Backup
|
|
2879
2899
|
# @option params [String] :by_status
|
2880
2900
|
# Returns only restore jobs associated with the specified job status.
|
2881
2901
|
#
|
2902
|
+
# @option params [Time,DateTime,Date,Integer,String] :by_complete_before
|
2903
|
+
# Returns only copy jobs completed before a date expressed in Unix
|
2904
|
+
# format and Coordinated Universal Time (UTC).
|
2905
|
+
#
|
2906
|
+
# @option params [Time,DateTime,Date,Integer,String] :by_complete_after
|
2907
|
+
# Returns only copy jobs completed after a date expressed in Unix format
|
2908
|
+
# and Coordinated Universal Time (UTC).
|
2909
|
+
#
|
2882
2910
|
# @return [Types::ListRestoreJobsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2883
2911
|
#
|
2884
2912
|
# * {Types::ListRestoreJobsOutput#restore_jobs #restore_jobs} => Array<Types::RestoreJobsListMember>
|
@@ -2895,6 +2923,8 @@ module Aws::Backup
|
|
2895
2923
|
# by_created_before: Time.now,
|
2896
2924
|
# by_created_after: Time.now,
|
2897
2925
|
# by_status: "PENDING", # accepts PENDING, RUNNING, COMPLETED, ABORTED, FAILED
|
2926
|
+
# by_complete_before: Time.now,
|
2927
|
+
# by_complete_after: Time.now,
|
2898
2928
|
# })
|
2899
2929
|
#
|
2900
2930
|
# @example Response structure
|
@@ -4000,7 +4030,7 @@ module Aws::Backup
|
|
4000
4030
|
params: params,
|
4001
4031
|
config: config)
|
4002
4032
|
context[:gem_name] = 'aws-sdk-backup'
|
4003
|
-
context[:gem_version] = '1.
|
4033
|
+
context[:gem_version] = '1.44.0'
|
4004
4034
|
Seahorse::Client::Request.new(handlers, context)
|
4005
4035
|
end
|
4006
4036
|
|
@@ -820,6 +820,8 @@ module Aws::Backup
|
|
820
820
|
ListBackupJobsInput.add_member(:by_created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter"))
|
821
821
|
ListBackupJobsInput.add_member(:by_resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "resourceType"))
|
822
822
|
ListBackupJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
|
823
|
+
ListBackupJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter"))
|
824
|
+
ListBackupJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore"))
|
823
825
|
ListBackupJobsInput.struct_class = Types::ListBackupJobsInput
|
824
826
|
|
825
827
|
ListBackupJobsOutput.add_member(:backup_jobs, Shapes::ShapeRef.new(shape: BackupJobsList, location_name: "BackupJobs"))
|
@@ -878,6 +880,8 @@ module Aws::Backup
|
|
878
880
|
ListCopyJobsInput.add_member(:by_resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "resourceType"))
|
879
881
|
ListCopyJobsInput.add_member(:by_destination_vault_arn, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "destinationVaultArn"))
|
880
882
|
ListCopyJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
|
883
|
+
ListCopyJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore"))
|
884
|
+
ListCopyJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter"))
|
881
885
|
ListCopyJobsInput.struct_class = Types::ListCopyJobsInput
|
882
886
|
|
883
887
|
ListCopyJobsOutput.add_member(:copy_jobs, Shapes::ShapeRef.new(shape: CopyJobsList, location_name: "CopyJobs"))
|
@@ -951,6 +955,8 @@ module Aws::Backup
|
|
951
955
|
ListRestoreJobsInput.add_member(:by_created_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdBefore"))
|
952
956
|
ListRestoreJobsInput.add_member(:by_created_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "createdAfter"))
|
953
957
|
ListRestoreJobsInput.add_member(:by_status, Shapes::ShapeRef.new(shape: RestoreJobStatus, location: "querystring", location_name: "status"))
|
958
|
+
ListRestoreJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore"))
|
959
|
+
ListRestoreJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter"))
|
954
960
|
ListRestoreJobsInput.struct_class = Types::ListRestoreJobsInput
|
955
961
|
|
956
962
|
ListRestoreJobsOutput.add_member(:restore_jobs, Shapes::ShapeRef.new(shape: RestoreJobsList, location_name: "RestoreJobs"))
|
data/lib/aws-sdk-backup/types.rb
CHANGED
@@ -3205,7 +3205,8 @@ module Aws::Backup
|
|
3205
3205
|
# The scope of a control. The control scope defines what the control
|
3206
3206
|
# will evaluate. Three examples of control scopes are: a specific
|
3207
3207
|
# backup plan, all backup plans with a specific tag, or all backup
|
3208
|
-
# plans. For more information, see
|
3208
|
+
# plans. For more information, see [
|
3209
|
+
# `ControlScope`.](aws-backup/latest/devguide/API_ControlScope.html)
|
3209
3210
|
# @return [Types::ControlScope]
|
3210
3211
|
#
|
3211
3212
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/FrameworkControl AWS API Documentation
|
@@ -3802,6 +3803,8 @@ module Aws::Backup
|
|
3802
3803
|
# by_created_after: Time.now,
|
3803
3804
|
# by_resource_type: "ResourceType",
|
3804
3805
|
# by_account_id: "AccountId",
|
3806
|
+
# by_complete_after: Time.now,
|
3807
|
+
# by_complete_before: Time.now,
|
3805
3808
|
# }
|
3806
3809
|
#
|
3807
3810
|
# @!attribute [rw] next_token
|
@@ -3877,6 +3880,16 @@ module Aws::Backup
|
|
3877
3880
|
# returns all jobs across the organization.
|
3878
3881
|
# @return [String]
|
3879
3882
|
#
|
3883
|
+
# @!attribute [rw] by_complete_after
|
3884
|
+
# Returns only backup jobs completed after a date expressed in Unix
|
3885
|
+
# format and Coordinated Universal Time (UTC).
|
3886
|
+
# @return [Time]
|
3887
|
+
#
|
3888
|
+
# @!attribute [rw] by_complete_before
|
3889
|
+
# Returns only backup jobs completed before a date expressed in Unix
|
3890
|
+
# format and Coordinated Universal Time (UTC).
|
3891
|
+
# @return [Time]
|
3892
|
+
#
|
3880
3893
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListBackupJobsInput AWS API Documentation
|
3881
3894
|
#
|
3882
3895
|
class ListBackupJobsInput < Struct.new(
|
@@ -3888,7 +3901,9 @@ module Aws::Backup
|
|
3888
3901
|
:by_created_before,
|
3889
3902
|
:by_created_after,
|
3890
3903
|
:by_resource_type,
|
3891
|
-
:by_account_id
|
3904
|
+
:by_account_id,
|
3905
|
+
:by_complete_after,
|
3906
|
+
:by_complete_before)
|
3892
3907
|
SENSITIVE = []
|
3893
3908
|
include Aws::Structure
|
3894
3909
|
end
|
@@ -4193,6 +4208,8 @@ module Aws::Backup
|
|
4193
4208
|
# by_resource_type: "ResourceType",
|
4194
4209
|
# by_destination_vault_arn: "string",
|
4195
4210
|
# by_account_id: "AccountId",
|
4211
|
+
# by_complete_before: Time.now,
|
4212
|
+
# by_complete_after: Time.now,
|
4196
4213
|
# }
|
4197
4214
|
#
|
4198
4215
|
# @!attribute [rw] next_token
|
@@ -4262,6 +4279,16 @@ module Aws::Backup
|
|
4262
4279
|
# associated with the specified account ID.
|
4263
4280
|
# @return [String]
|
4264
4281
|
#
|
4282
|
+
# @!attribute [rw] by_complete_before
|
4283
|
+
# Returns only copy jobs completed before a date expressed in Unix
|
4284
|
+
# format and Coordinated Universal Time (UTC).
|
4285
|
+
# @return [Time]
|
4286
|
+
#
|
4287
|
+
# @!attribute [rw] by_complete_after
|
4288
|
+
# Returns only copy jobs completed after a date expressed in Unix
|
4289
|
+
# format and Coordinated Universal Time (UTC).
|
4290
|
+
# @return [Time]
|
4291
|
+
#
|
4265
4292
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListCopyJobsInput AWS API Documentation
|
4266
4293
|
#
|
4267
4294
|
class ListCopyJobsInput < Struct.new(
|
@@ -4273,7 +4300,9 @@ module Aws::Backup
|
|
4273
4300
|
:by_created_after,
|
4274
4301
|
:by_resource_type,
|
4275
4302
|
:by_destination_vault_arn,
|
4276
|
-
:by_account_id
|
4303
|
+
:by_account_id,
|
4304
|
+
:by_complete_before,
|
4305
|
+
:by_complete_after)
|
4277
4306
|
SENSITIVE = []
|
4278
4307
|
include Aws::Structure
|
4279
4308
|
end
|
@@ -4701,6 +4730,8 @@ module Aws::Backup
|
|
4701
4730
|
# by_created_before: Time.now,
|
4702
4731
|
# by_created_after: Time.now,
|
4703
4732
|
# by_status: "PENDING", # accepts PENDING, RUNNING, COMPLETED, ABORTED, FAILED
|
4733
|
+
# by_complete_before: Time.now,
|
4734
|
+
# by_complete_after: Time.now,
|
4704
4735
|
# }
|
4705
4736
|
#
|
4706
4737
|
# @!attribute [rw] next_token
|
@@ -4733,6 +4764,16 @@ module Aws::Backup
|
|
4733
4764
|
# Returns only restore jobs associated with the specified job status.
|
4734
4765
|
# @return [String]
|
4735
4766
|
#
|
4767
|
+
# @!attribute [rw] by_complete_before
|
4768
|
+
# Returns only copy jobs completed before a date expressed in Unix
|
4769
|
+
# format and Coordinated Universal Time (UTC).
|
4770
|
+
# @return [Time]
|
4771
|
+
#
|
4772
|
+
# @!attribute [rw] by_complete_after
|
4773
|
+
# Returns only copy jobs completed after a date expressed in Unix
|
4774
|
+
# format and Coordinated Universal Time (UTC).
|
4775
|
+
# @return [Time]
|
4776
|
+
#
|
4736
4777
|
# @see http://docs.aws.amazon.com/goto/WebAPI/backup-2018-11-15/ListRestoreJobsInput AWS API Documentation
|
4737
4778
|
#
|
4738
4779
|
class ListRestoreJobsInput < Struct.new(
|
@@ -4741,7 +4782,9 @@ module Aws::Backup
|
|
4741
4782
|
:by_account_id,
|
4742
4783
|
:by_created_before,
|
4743
4784
|
:by_created_after,
|
4744
|
-
:by_status
|
4785
|
+
:by_status,
|
4786
|
+
:by_complete_before,
|
4787
|
+
:by_complete_after)
|
4745
4788
|
SENSITIVE = []
|
4746
4789
|
include Aws::Structure
|
4747
4790
|
end
|
data/lib/aws-sdk-backup.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-backup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.44.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: 2022-
|
11
|
+
date: 2022-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|