aws-sdk-backup 1.61.0 → 1.63.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +849 -28
- data/lib/aws-sdk-backup/client_api.rb +468 -0
- data/lib/aws-sdk-backup/endpoints.rb +196 -0
- data/lib/aws-sdk-backup/plugins/endpoints.rb +31 -2
- data/lib/aws-sdk-backup/types.rb +1449 -73
- data/lib/aws-sdk-backup.rb +1 -1
- metadata +2 -2
@@ -124,6 +124,34 @@ module Aws::Backup
|
|
124
124
|
end
|
125
125
|
end
|
126
126
|
|
127
|
+
class CreateRestoreTestingPlan
|
128
|
+
def self.build(context)
|
129
|
+
unless context.config.regional_endpoint
|
130
|
+
endpoint = context.config.endpoint.to_s
|
131
|
+
end
|
132
|
+
Aws::Backup::EndpointParameters.new(
|
133
|
+
region: context.config.region,
|
134
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
135
|
+
use_fips: context.config.use_fips_endpoint,
|
136
|
+
endpoint: endpoint,
|
137
|
+
)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
class CreateRestoreTestingSelection
|
142
|
+
def self.build(context)
|
143
|
+
unless context.config.regional_endpoint
|
144
|
+
endpoint = context.config.endpoint.to_s
|
145
|
+
end
|
146
|
+
Aws::Backup::EndpointParameters.new(
|
147
|
+
region: context.config.region,
|
148
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
149
|
+
use_fips: context.config.use_fips_endpoint,
|
150
|
+
endpoint: endpoint,
|
151
|
+
)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
127
155
|
class DeleteBackupPlan
|
128
156
|
def self.build(context)
|
129
157
|
unless context.config.regional_endpoint
|
@@ -250,6 +278,34 @@ module Aws::Backup
|
|
250
278
|
end
|
251
279
|
end
|
252
280
|
|
281
|
+
class DeleteRestoreTestingPlan
|
282
|
+
def self.build(context)
|
283
|
+
unless context.config.regional_endpoint
|
284
|
+
endpoint = context.config.endpoint.to_s
|
285
|
+
end
|
286
|
+
Aws::Backup::EndpointParameters.new(
|
287
|
+
region: context.config.region,
|
288
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
289
|
+
use_fips: context.config.use_fips_endpoint,
|
290
|
+
endpoint: endpoint,
|
291
|
+
)
|
292
|
+
end
|
293
|
+
end
|
294
|
+
|
295
|
+
class DeleteRestoreTestingSelection
|
296
|
+
def self.build(context)
|
297
|
+
unless context.config.regional_endpoint
|
298
|
+
endpoint = context.config.endpoint.to_s
|
299
|
+
end
|
300
|
+
Aws::Backup::EndpointParameters.new(
|
301
|
+
region: context.config.region,
|
302
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
303
|
+
use_fips: context.config.use_fips_endpoint,
|
304
|
+
endpoint: endpoint,
|
305
|
+
)
|
306
|
+
end
|
307
|
+
end
|
308
|
+
|
253
309
|
class DescribeBackupJob
|
254
310
|
def self.build(context)
|
255
311
|
unless context.config.regional_endpoint
|
@@ -558,6 +614,62 @@ module Aws::Backup
|
|
558
614
|
end
|
559
615
|
end
|
560
616
|
|
617
|
+
class GetRestoreJobMetadata
|
618
|
+
def self.build(context)
|
619
|
+
unless context.config.regional_endpoint
|
620
|
+
endpoint = context.config.endpoint.to_s
|
621
|
+
end
|
622
|
+
Aws::Backup::EndpointParameters.new(
|
623
|
+
region: context.config.region,
|
624
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
625
|
+
use_fips: context.config.use_fips_endpoint,
|
626
|
+
endpoint: endpoint,
|
627
|
+
)
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
631
|
+
class GetRestoreTestingInferredMetadata
|
632
|
+
def self.build(context)
|
633
|
+
unless context.config.regional_endpoint
|
634
|
+
endpoint = context.config.endpoint.to_s
|
635
|
+
end
|
636
|
+
Aws::Backup::EndpointParameters.new(
|
637
|
+
region: context.config.region,
|
638
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
639
|
+
use_fips: context.config.use_fips_endpoint,
|
640
|
+
endpoint: endpoint,
|
641
|
+
)
|
642
|
+
end
|
643
|
+
end
|
644
|
+
|
645
|
+
class GetRestoreTestingPlan
|
646
|
+
def self.build(context)
|
647
|
+
unless context.config.regional_endpoint
|
648
|
+
endpoint = context.config.endpoint.to_s
|
649
|
+
end
|
650
|
+
Aws::Backup::EndpointParameters.new(
|
651
|
+
region: context.config.region,
|
652
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
653
|
+
use_fips: context.config.use_fips_endpoint,
|
654
|
+
endpoint: endpoint,
|
655
|
+
)
|
656
|
+
end
|
657
|
+
end
|
658
|
+
|
659
|
+
class GetRestoreTestingSelection
|
660
|
+
def self.build(context)
|
661
|
+
unless context.config.regional_endpoint
|
662
|
+
endpoint = context.config.endpoint.to_s
|
663
|
+
end
|
664
|
+
Aws::Backup::EndpointParameters.new(
|
665
|
+
region: context.config.region,
|
666
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
667
|
+
use_fips: context.config.use_fips_endpoint,
|
668
|
+
endpoint: endpoint,
|
669
|
+
)
|
670
|
+
end
|
671
|
+
end
|
672
|
+
|
561
673
|
class GetSupportedResourceTypes
|
562
674
|
def self.build(context)
|
563
675
|
unless context.config.regional_endpoint
|
@@ -852,6 +964,48 @@ module Aws::Backup
|
|
852
964
|
end
|
853
965
|
end
|
854
966
|
|
967
|
+
class ListRestoreJobsByProtectedResource
|
968
|
+
def self.build(context)
|
969
|
+
unless context.config.regional_endpoint
|
970
|
+
endpoint = context.config.endpoint.to_s
|
971
|
+
end
|
972
|
+
Aws::Backup::EndpointParameters.new(
|
973
|
+
region: context.config.region,
|
974
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
975
|
+
use_fips: context.config.use_fips_endpoint,
|
976
|
+
endpoint: endpoint,
|
977
|
+
)
|
978
|
+
end
|
979
|
+
end
|
980
|
+
|
981
|
+
class ListRestoreTestingPlans
|
982
|
+
def self.build(context)
|
983
|
+
unless context.config.regional_endpoint
|
984
|
+
endpoint = context.config.endpoint.to_s
|
985
|
+
end
|
986
|
+
Aws::Backup::EndpointParameters.new(
|
987
|
+
region: context.config.region,
|
988
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
989
|
+
use_fips: context.config.use_fips_endpoint,
|
990
|
+
endpoint: endpoint,
|
991
|
+
)
|
992
|
+
end
|
993
|
+
end
|
994
|
+
|
995
|
+
class ListRestoreTestingSelections
|
996
|
+
def self.build(context)
|
997
|
+
unless context.config.regional_endpoint
|
998
|
+
endpoint = context.config.endpoint.to_s
|
999
|
+
end
|
1000
|
+
Aws::Backup::EndpointParameters.new(
|
1001
|
+
region: context.config.region,
|
1002
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1003
|
+
use_fips: context.config.use_fips_endpoint,
|
1004
|
+
endpoint: endpoint,
|
1005
|
+
)
|
1006
|
+
end
|
1007
|
+
end
|
1008
|
+
|
855
1009
|
class ListTags
|
856
1010
|
def self.build(context)
|
857
1011
|
unless context.config.regional_endpoint
|
@@ -908,6 +1062,20 @@ module Aws::Backup
|
|
908
1062
|
end
|
909
1063
|
end
|
910
1064
|
|
1065
|
+
class PutRestoreValidationResult
|
1066
|
+
def self.build(context)
|
1067
|
+
unless context.config.regional_endpoint
|
1068
|
+
endpoint = context.config.endpoint.to_s
|
1069
|
+
end
|
1070
|
+
Aws::Backup::EndpointParameters.new(
|
1071
|
+
region: context.config.region,
|
1072
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1073
|
+
use_fips: context.config.use_fips_endpoint,
|
1074
|
+
endpoint: endpoint,
|
1075
|
+
)
|
1076
|
+
end
|
1077
|
+
end
|
1078
|
+
|
911
1079
|
class StartBackupJob
|
912
1080
|
def self.build(context)
|
913
1081
|
unless context.config.regional_endpoint
|
@@ -1090,5 +1258,33 @@ module Aws::Backup
|
|
1090
1258
|
end
|
1091
1259
|
end
|
1092
1260
|
|
1261
|
+
class UpdateRestoreTestingPlan
|
1262
|
+
def self.build(context)
|
1263
|
+
unless context.config.regional_endpoint
|
1264
|
+
endpoint = context.config.endpoint.to_s
|
1265
|
+
end
|
1266
|
+
Aws::Backup::EndpointParameters.new(
|
1267
|
+
region: context.config.region,
|
1268
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1269
|
+
use_fips: context.config.use_fips_endpoint,
|
1270
|
+
endpoint: endpoint,
|
1271
|
+
)
|
1272
|
+
end
|
1273
|
+
end
|
1274
|
+
|
1275
|
+
class UpdateRestoreTestingSelection
|
1276
|
+
def self.build(context)
|
1277
|
+
unless context.config.regional_endpoint
|
1278
|
+
endpoint = context.config.endpoint.to_s
|
1279
|
+
end
|
1280
|
+
Aws::Backup::EndpointParameters.new(
|
1281
|
+
region: context.config.region,
|
1282
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
1283
|
+
use_fips: context.config.use_fips_endpoint,
|
1284
|
+
endpoint: endpoint,
|
1285
|
+
)
|
1286
|
+
end
|
1287
|
+
end
|
1288
|
+
|
1093
1289
|
end
|
1094
1290
|
end
|
@@ -25,16 +25,17 @@ module Aws::Backup
|
|
25
25
|
# @api private
|
26
26
|
class Handler < Seahorse::Client::Handler
|
27
27
|
def call(context)
|
28
|
-
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
28
|
unless context[:discovered_endpoint]
|
30
29
|
params = parameters_for_operation(context)
|
31
30
|
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
31
|
|
33
32
|
context.http_request.endpoint = endpoint.url
|
34
33
|
apply_endpoint_headers(context, endpoint.headers)
|
34
|
+
|
35
|
+
context[:endpoint_params] = params
|
36
|
+
context[:endpoint_properties] = endpoint.properties
|
35
37
|
end
|
36
38
|
|
37
|
-
context[:endpoint_params] = params
|
38
39
|
context[:auth_scheme] =
|
39
40
|
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
41
|
|
@@ -72,6 +73,10 @@ module Aws::Backup
|
|
72
73
|
Aws::Backup::Endpoints::CreateLogicallyAirGappedBackupVault.build(context)
|
73
74
|
when :create_report_plan
|
74
75
|
Aws::Backup::Endpoints::CreateReportPlan.build(context)
|
76
|
+
when :create_restore_testing_plan
|
77
|
+
Aws::Backup::Endpoints::CreateRestoreTestingPlan.build(context)
|
78
|
+
when :create_restore_testing_selection
|
79
|
+
Aws::Backup::Endpoints::CreateRestoreTestingSelection.build(context)
|
75
80
|
when :delete_backup_plan
|
76
81
|
Aws::Backup::Endpoints::DeleteBackupPlan.build(context)
|
77
82
|
when :delete_backup_selection
|
@@ -90,6 +95,10 @@ module Aws::Backup
|
|
90
95
|
Aws::Backup::Endpoints::DeleteRecoveryPoint.build(context)
|
91
96
|
when :delete_report_plan
|
92
97
|
Aws::Backup::Endpoints::DeleteReportPlan.build(context)
|
98
|
+
when :delete_restore_testing_plan
|
99
|
+
Aws::Backup::Endpoints::DeleteRestoreTestingPlan.build(context)
|
100
|
+
when :delete_restore_testing_selection
|
101
|
+
Aws::Backup::Endpoints::DeleteRestoreTestingSelection.build(context)
|
93
102
|
when :describe_backup_job
|
94
103
|
Aws::Backup::Endpoints::DescribeBackupJob.build(context)
|
95
104
|
when :describe_backup_vault
|
@@ -134,6 +143,14 @@ module Aws::Backup
|
|
134
143
|
Aws::Backup::Endpoints::GetLegalHold.build(context)
|
135
144
|
when :get_recovery_point_restore_metadata
|
136
145
|
Aws::Backup::Endpoints::GetRecoveryPointRestoreMetadata.build(context)
|
146
|
+
when :get_restore_job_metadata
|
147
|
+
Aws::Backup::Endpoints::GetRestoreJobMetadata.build(context)
|
148
|
+
when :get_restore_testing_inferred_metadata
|
149
|
+
Aws::Backup::Endpoints::GetRestoreTestingInferredMetadata.build(context)
|
150
|
+
when :get_restore_testing_plan
|
151
|
+
Aws::Backup::Endpoints::GetRestoreTestingPlan.build(context)
|
152
|
+
when :get_restore_testing_selection
|
153
|
+
Aws::Backup::Endpoints::GetRestoreTestingSelection.build(context)
|
137
154
|
when :get_supported_resource_types
|
138
155
|
Aws::Backup::Endpoints::GetSupportedResourceTypes.build(context)
|
139
156
|
when :list_backup_job_summaries
|
@@ -176,6 +193,12 @@ module Aws::Backup
|
|
176
193
|
Aws::Backup::Endpoints::ListRestoreJobSummaries.build(context)
|
177
194
|
when :list_restore_jobs
|
178
195
|
Aws::Backup::Endpoints::ListRestoreJobs.build(context)
|
196
|
+
when :list_restore_jobs_by_protected_resource
|
197
|
+
Aws::Backup::Endpoints::ListRestoreJobsByProtectedResource.build(context)
|
198
|
+
when :list_restore_testing_plans
|
199
|
+
Aws::Backup::Endpoints::ListRestoreTestingPlans.build(context)
|
200
|
+
when :list_restore_testing_selections
|
201
|
+
Aws::Backup::Endpoints::ListRestoreTestingSelections.build(context)
|
179
202
|
when :list_tags
|
180
203
|
Aws::Backup::Endpoints::ListTags.build(context)
|
181
204
|
when :put_backup_vault_access_policy
|
@@ -184,6 +207,8 @@ module Aws::Backup
|
|
184
207
|
Aws::Backup::Endpoints::PutBackupVaultLockConfiguration.build(context)
|
185
208
|
when :put_backup_vault_notifications
|
186
209
|
Aws::Backup::Endpoints::PutBackupVaultNotifications.build(context)
|
210
|
+
when :put_restore_validation_result
|
211
|
+
Aws::Backup::Endpoints::PutRestoreValidationResult.build(context)
|
187
212
|
when :start_backup_job
|
188
213
|
Aws::Backup::Endpoints::StartBackupJob.build(context)
|
189
214
|
when :start_copy_job
|
@@ -210,6 +235,10 @@ module Aws::Backup
|
|
210
235
|
Aws::Backup::Endpoints::UpdateRegionSettings.build(context)
|
211
236
|
when :update_report_plan
|
212
237
|
Aws::Backup::Endpoints::UpdateReportPlan.build(context)
|
238
|
+
when :update_restore_testing_plan
|
239
|
+
Aws::Backup::Endpoints::UpdateRestoreTestingPlan.build(context)
|
240
|
+
when :update_restore_testing_selection
|
241
|
+
Aws::Backup::Endpoints::UpdateRestoreTestingSelection.build(context)
|
213
242
|
end
|
214
243
|
end
|
215
244
|
end
|