aws-sdk-backup 1.61.0 → 1.62.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 +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 +28 -0
- 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
|
@@ -72,6 +72,10 @@ module Aws::Backup
|
|
72
72
|
Aws::Backup::Endpoints::CreateLogicallyAirGappedBackupVault.build(context)
|
73
73
|
when :create_report_plan
|
74
74
|
Aws::Backup::Endpoints::CreateReportPlan.build(context)
|
75
|
+
when :create_restore_testing_plan
|
76
|
+
Aws::Backup::Endpoints::CreateRestoreTestingPlan.build(context)
|
77
|
+
when :create_restore_testing_selection
|
78
|
+
Aws::Backup::Endpoints::CreateRestoreTestingSelection.build(context)
|
75
79
|
when :delete_backup_plan
|
76
80
|
Aws::Backup::Endpoints::DeleteBackupPlan.build(context)
|
77
81
|
when :delete_backup_selection
|
@@ -90,6 +94,10 @@ module Aws::Backup
|
|
90
94
|
Aws::Backup::Endpoints::DeleteRecoveryPoint.build(context)
|
91
95
|
when :delete_report_plan
|
92
96
|
Aws::Backup::Endpoints::DeleteReportPlan.build(context)
|
97
|
+
when :delete_restore_testing_plan
|
98
|
+
Aws::Backup::Endpoints::DeleteRestoreTestingPlan.build(context)
|
99
|
+
when :delete_restore_testing_selection
|
100
|
+
Aws::Backup::Endpoints::DeleteRestoreTestingSelection.build(context)
|
93
101
|
when :describe_backup_job
|
94
102
|
Aws::Backup::Endpoints::DescribeBackupJob.build(context)
|
95
103
|
when :describe_backup_vault
|
@@ -134,6 +142,14 @@ module Aws::Backup
|
|
134
142
|
Aws::Backup::Endpoints::GetLegalHold.build(context)
|
135
143
|
when :get_recovery_point_restore_metadata
|
136
144
|
Aws::Backup::Endpoints::GetRecoveryPointRestoreMetadata.build(context)
|
145
|
+
when :get_restore_job_metadata
|
146
|
+
Aws::Backup::Endpoints::GetRestoreJobMetadata.build(context)
|
147
|
+
when :get_restore_testing_inferred_metadata
|
148
|
+
Aws::Backup::Endpoints::GetRestoreTestingInferredMetadata.build(context)
|
149
|
+
when :get_restore_testing_plan
|
150
|
+
Aws::Backup::Endpoints::GetRestoreTestingPlan.build(context)
|
151
|
+
when :get_restore_testing_selection
|
152
|
+
Aws::Backup::Endpoints::GetRestoreTestingSelection.build(context)
|
137
153
|
when :get_supported_resource_types
|
138
154
|
Aws::Backup::Endpoints::GetSupportedResourceTypes.build(context)
|
139
155
|
when :list_backup_job_summaries
|
@@ -176,6 +192,12 @@ module Aws::Backup
|
|
176
192
|
Aws::Backup::Endpoints::ListRestoreJobSummaries.build(context)
|
177
193
|
when :list_restore_jobs
|
178
194
|
Aws::Backup::Endpoints::ListRestoreJobs.build(context)
|
195
|
+
when :list_restore_jobs_by_protected_resource
|
196
|
+
Aws::Backup::Endpoints::ListRestoreJobsByProtectedResource.build(context)
|
197
|
+
when :list_restore_testing_plans
|
198
|
+
Aws::Backup::Endpoints::ListRestoreTestingPlans.build(context)
|
199
|
+
when :list_restore_testing_selections
|
200
|
+
Aws::Backup::Endpoints::ListRestoreTestingSelections.build(context)
|
179
201
|
when :list_tags
|
180
202
|
Aws::Backup::Endpoints::ListTags.build(context)
|
181
203
|
when :put_backup_vault_access_policy
|
@@ -184,6 +206,8 @@ module Aws::Backup
|
|
184
206
|
Aws::Backup::Endpoints::PutBackupVaultLockConfiguration.build(context)
|
185
207
|
when :put_backup_vault_notifications
|
186
208
|
Aws::Backup::Endpoints::PutBackupVaultNotifications.build(context)
|
209
|
+
when :put_restore_validation_result
|
210
|
+
Aws::Backup::Endpoints::PutRestoreValidationResult.build(context)
|
187
211
|
when :start_backup_job
|
188
212
|
Aws::Backup::Endpoints::StartBackupJob.build(context)
|
189
213
|
when :start_copy_job
|
@@ -210,6 +234,10 @@ module Aws::Backup
|
|
210
234
|
Aws::Backup::Endpoints::UpdateRegionSettings.build(context)
|
211
235
|
when :update_report_plan
|
212
236
|
Aws::Backup::Endpoints::UpdateReportPlan.build(context)
|
237
|
+
when :update_restore_testing_plan
|
238
|
+
Aws::Backup::Endpoints::UpdateRestoreTestingPlan.build(context)
|
239
|
+
when :update_restore_testing_selection
|
240
|
+
Aws::Backup::Endpoints::UpdateRestoreTestingSelection.build(context)
|
213
241
|
end
|
214
242
|
end
|
215
243
|
end
|