aws-sdk-backup 1.59.0 → 1.60.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-backup/client.rb +396 -1
- data/lib/aws-sdk-backup/client_api.rb +147 -0
- data/lib/aws-sdk-backup/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-backup/endpoints.rb +42 -0
- data/lib/aws-sdk-backup/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-backup/types.rb +666 -5
- data/lib/aws-sdk-backup.rb +1 -1
- metadata +2 -2
@@ -17,10 +17,14 @@ module Aws::Backup
|
|
17
17
|
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
18
18
|
AdvancedBackupSetting = Shapes::StructureShape.new(name: 'AdvancedBackupSetting')
|
19
19
|
AdvancedBackupSettings = Shapes::ListShape.new(name: 'AdvancedBackupSettings')
|
20
|
+
AggregationPeriod = Shapes::StringShape.new(name: 'AggregationPeriod')
|
20
21
|
AlreadyExistsException = Shapes::StructureShape.new(name: 'AlreadyExistsException')
|
21
22
|
BackupJob = Shapes::StructureShape.new(name: 'BackupJob')
|
22
23
|
BackupJobChildJobsInState = Shapes::MapShape.new(name: 'BackupJobChildJobsInState')
|
23
24
|
BackupJobState = Shapes::StringShape.new(name: 'BackupJobState')
|
25
|
+
BackupJobStatus = Shapes::StringShape.new(name: 'BackupJobStatus')
|
26
|
+
BackupJobSummary = Shapes::StructureShape.new(name: 'BackupJobSummary')
|
27
|
+
BackupJobSummaryList = Shapes::ListShape.new(name: 'BackupJobSummaryList')
|
24
28
|
BackupJobsList = Shapes::ListShape.new(name: 'BackupJobsList')
|
25
29
|
BackupOptionKey = Shapes::StringShape.new(name: 'BackupOptionKey')
|
26
30
|
BackupOptionValue = Shapes::StringShape.new(name: 'BackupOptionValue')
|
@@ -69,6 +73,9 @@ module Aws::Backup
|
|
69
73
|
CopyJob = Shapes::StructureShape.new(name: 'CopyJob')
|
70
74
|
CopyJobChildJobsInState = Shapes::MapShape.new(name: 'CopyJobChildJobsInState')
|
71
75
|
CopyJobState = Shapes::StringShape.new(name: 'CopyJobState')
|
76
|
+
CopyJobStatus = Shapes::StringShape.new(name: 'CopyJobStatus')
|
77
|
+
CopyJobSummary = Shapes::StructureShape.new(name: 'CopyJobSummary')
|
78
|
+
CopyJobSummaryList = Shapes::ListShape.new(name: 'CopyJobSummaryList')
|
72
79
|
CopyJobsList = Shapes::ListShape.new(name: 'CopyJobsList')
|
73
80
|
CreateBackupPlanInput = Shapes::StructureShape.new(name: 'CreateBackupPlanInput')
|
74
81
|
CreateBackupPlanOutput = Shapes::StructureShape.new(name: 'CreateBackupPlanOutput')
|
@@ -161,6 +168,8 @@ module Aws::Backup
|
|
161
168
|
LegalHoldsList = Shapes::ListShape.new(name: 'LegalHoldsList')
|
162
169
|
Lifecycle = Shapes::StructureShape.new(name: 'Lifecycle')
|
163
170
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
171
|
+
ListBackupJobSummariesInput = Shapes::StructureShape.new(name: 'ListBackupJobSummariesInput')
|
172
|
+
ListBackupJobSummariesOutput = Shapes::StructureShape.new(name: 'ListBackupJobSummariesOutput')
|
164
173
|
ListBackupJobsInput = Shapes::StructureShape.new(name: 'ListBackupJobsInput')
|
165
174
|
ListBackupJobsOutput = Shapes::StructureShape.new(name: 'ListBackupJobsOutput')
|
166
175
|
ListBackupPlanTemplatesInput = Shapes::StructureShape.new(name: 'ListBackupPlanTemplatesInput')
|
@@ -173,6 +182,8 @@ module Aws::Backup
|
|
173
182
|
ListBackupSelectionsOutput = Shapes::StructureShape.new(name: 'ListBackupSelectionsOutput')
|
174
183
|
ListBackupVaultsInput = Shapes::StructureShape.new(name: 'ListBackupVaultsInput')
|
175
184
|
ListBackupVaultsOutput = Shapes::StructureShape.new(name: 'ListBackupVaultsOutput')
|
185
|
+
ListCopyJobSummariesInput = Shapes::StructureShape.new(name: 'ListCopyJobSummariesInput')
|
186
|
+
ListCopyJobSummariesOutput = Shapes::StructureShape.new(name: 'ListCopyJobSummariesOutput')
|
176
187
|
ListCopyJobsInput = Shapes::StructureShape.new(name: 'ListCopyJobsInput')
|
177
188
|
ListCopyJobsOutput = Shapes::StructureShape.new(name: 'ListCopyJobsOutput')
|
178
189
|
ListFrameworksInput = Shapes::StructureShape.new(name: 'ListFrameworksInput')
|
@@ -194,6 +205,8 @@ module Aws::Backup
|
|
194
205
|
ListReportJobsOutput = Shapes::StructureShape.new(name: 'ListReportJobsOutput')
|
195
206
|
ListReportPlansInput = Shapes::StructureShape.new(name: 'ListReportPlansInput')
|
196
207
|
ListReportPlansOutput = Shapes::StructureShape.new(name: 'ListReportPlansOutput')
|
208
|
+
ListRestoreJobSummariesInput = Shapes::StructureShape.new(name: 'ListRestoreJobSummariesInput')
|
209
|
+
ListRestoreJobSummariesOutput = Shapes::StructureShape.new(name: 'ListRestoreJobSummariesOutput')
|
197
210
|
ListRestoreJobsInput = Shapes::StructureShape.new(name: 'ListRestoreJobsInput')
|
198
211
|
ListRestoreJobsOutput = Shapes::StructureShape.new(name: 'ListRestoreJobsOutput')
|
199
212
|
ListTagsInput = Shapes::StructureShape.new(name: 'ListTagsInput')
|
@@ -201,6 +214,7 @@ module Aws::Backup
|
|
201
214
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
202
215
|
MaxFrameworkInputs = Shapes::IntegerShape.new(name: 'MaxFrameworkInputs')
|
203
216
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
217
|
+
MessageCategory = Shapes::StringShape.new(name: 'MessageCategory')
|
204
218
|
Metadata = Shapes::MapShape.new(name: 'Metadata')
|
205
219
|
MetadataKey = Shapes::StringShape.new(name: 'MetadataKey')
|
206
220
|
MetadataValue = Shapes::StringShape.new(name: 'MetadataValue')
|
@@ -221,6 +235,7 @@ module Aws::Backup
|
|
221
235
|
RecoveryPointSelection = Shapes::StructureShape.new(name: 'RecoveryPointSelection')
|
222
236
|
RecoveryPointStatus = Shapes::StringShape.new(name: 'RecoveryPointStatus')
|
223
237
|
RecoveryPointsList = Shapes::ListShape.new(name: 'RecoveryPointsList')
|
238
|
+
Region = Shapes::StringShape.new(name: 'Region')
|
224
239
|
ReportDeliveryChannel = Shapes::StructureShape.new(name: 'ReportDeliveryChannel')
|
225
240
|
ReportDestination = Shapes::StructureShape.new(name: 'ReportDestination')
|
226
241
|
ReportJob = Shapes::StructureShape.new(name: 'ReportJob')
|
@@ -240,7 +255,10 @@ module Aws::Backup
|
|
240
255
|
ResourceTypeOptInPreference = Shapes::MapShape.new(name: 'ResourceTypeOptInPreference')
|
241
256
|
ResourceTypes = Shapes::ListShape.new(name: 'ResourceTypes')
|
242
257
|
RestoreJobId = Shapes::StringShape.new(name: 'RestoreJobId')
|
258
|
+
RestoreJobState = Shapes::StringShape.new(name: 'RestoreJobState')
|
243
259
|
RestoreJobStatus = Shapes::StringShape.new(name: 'RestoreJobStatus')
|
260
|
+
RestoreJobSummary = Shapes::StructureShape.new(name: 'RestoreJobSummary')
|
261
|
+
RestoreJobSummaryList = Shapes::ListShape.new(name: 'RestoreJobSummaryList')
|
244
262
|
RestoreJobsList = Shapes::ListShape.new(name: 'RestoreJobsList')
|
245
263
|
RestoreJobsListMember = Shapes::StructureShape.new(name: 'RestoreJobsListMember')
|
246
264
|
ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
|
@@ -320,11 +338,24 @@ module Aws::Backup
|
|
320
338
|
BackupJob.add_member(:parent_job_id, Shapes::ShapeRef.new(shape: string, location_name: "ParentJobId"))
|
321
339
|
BackupJob.add_member(:is_parent, Shapes::ShapeRef.new(shape: boolean, location_name: "IsParent"))
|
322
340
|
BackupJob.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
|
341
|
+
BackupJob.add_member(:message_category, Shapes::ShapeRef.new(shape: string, location_name: "MessageCategory"))
|
323
342
|
BackupJob.struct_class = Types::BackupJob
|
324
343
|
|
325
344
|
BackupJobChildJobsInState.key = Shapes::ShapeRef.new(shape: BackupJobState)
|
326
345
|
BackupJobChildJobsInState.value = Shapes::ShapeRef.new(shape: Long)
|
327
346
|
|
347
|
+
BackupJobSummary.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
|
348
|
+
BackupJobSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
349
|
+
BackupJobSummary.add_member(:state, Shapes::ShapeRef.new(shape: BackupJobStatus, location_name: "State"))
|
350
|
+
BackupJobSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
351
|
+
BackupJobSummary.add_member(:message_category, Shapes::ShapeRef.new(shape: MessageCategory, location_name: "MessageCategory"))
|
352
|
+
BackupJobSummary.add_member(:count, Shapes::ShapeRef.new(shape: integer, location_name: "Count"))
|
353
|
+
BackupJobSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "StartTime"))
|
354
|
+
BackupJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "EndTime"))
|
355
|
+
BackupJobSummary.struct_class = Types::BackupJobSummary
|
356
|
+
|
357
|
+
BackupJobSummaryList.member = Shapes::ShapeRef.new(shape: BackupJobSummary)
|
358
|
+
|
328
359
|
BackupJobsList.member = Shapes::ShapeRef.new(shape: BackupJob)
|
329
360
|
|
330
361
|
BackupOptions.key = Shapes::ShapeRef.new(shape: BackupOptionKey)
|
@@ -498,11 +529,24 @@ module Aws::Backup
|
|
498
529
|
CopyJob.add_member(:number_of_child_jobs, Shapes::ShapeRef.new(shape: Long, location_name: "NumberOfChildJobs"))
|
499
530
|
CopyJob.add_member(:child_jobs_in_state, Shapes::ShapeRef.new(shape: CopyJobChildJobsInState, location_name: "ChildJobsInState"))
|
500
531
|
CopyJob.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
|
532
|
+
CopyJob.add_member(:message_category, Shapes::ShapeRef.new(shape: string, location_name: "MessageCategory"))
|
501
533
|
CopyJob.struct_class = Types::CopyJob
|
502
534
|
|
503
535
|
CopyJobChildJobsInState.key = Shapes::ShapeRef.new(shape: CopyJobState)
|
504
536
|
CopyJobChildJobsInState.value = Shapes::ShapeRef.new(shape: Long)
|
505
537
|
|
538
|
+
CopyJobSummary.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
|
539
|
+
CopyJobSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
540
|
+
CopyJobSummary.add_member(:state, Shapes::ShapeRef.new(shape: CopyJobStatus, location_name: "State"))
|
541
|
+
CopyJobSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
542
|
+
CopyJobSummary.add_member(:message_category, Shapes::ShapeRef.new(shape: MessageCategory, location_name: "MessageCategory"))
|
543
|
+
CopyJobSummary.add_member(:count, Shapes::ShapeRef.new(shape: integer, location_name: "Count"))
|
544
|
+
CopyJobSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "StartTime"))
|
545
|
+
CopyJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "EndTime"))
|
546
|
+
CopyJobSummary.struct_class = Types::CopyJobSummary
|
547
|
+
|
548
|
+
CopyJobSummaryList.member = Shapes::ShapeRef.new(shape: CopyJobSummary)
|
549
|
+
|
506
550
|
CopyJobsList.member = Shapes::ShapeRef.new(shape: CopyJob)
|
507
551
|
|
508
552
|
CreateBackupPlanInput.add_member(:backup_plan, Shapes::ShapeRef.new(shape: BackupPlanInput, required: true, location_name: "BackupPlan"))
|
@@ -664,6 +708,7 @@ module Aws::Backup
|
|
664
708
|
DescribeBackupJobOutput.add_member(:number_of_child_jobs, Shapes::ShapeRef.new(shape: Long, location_name: "NumberOfChildJobs"))
|
665
709
|
DescribeBackupJobOutput.add_member(:child_jobs_in_state, Shapes::ShapeRef.new(shape: BackupJobChildJobsInState, location_name: "ChildJobsInState"))
|
666
710
|
DescribeBackupJobOutput.add_member(:resource_name, Shapes::ShapeRef.new(shape: string, location_name: "ResourceName"))
|
711
|
+
DescribeBackupJobOutput.add_member(:message_category, Shapes::ShapeRef.new(shape: string, location_name: "MessageCategory"))
|
667
712
|
DescribeBackupJobOutput.struct_class = Types::DescribeBackupJobOutput
|
668
713
|
|
669
714
|
DescribeBackupVaultInput.add_member(:backup_vault_name, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "backupVaultName"))
|
@@ -941,6 +986,20 @@ module Aws::Backup
|
|
941
986
|
LimitExceededException.add_member(:context, Shapes::ShapeRef.new(shape: string, location_name: "Context"))
|
942
987
|
LimitExceededException.struct_class = Types::LimitExceededException
|
943
988
|
|
989
|
+
ListBackupJobSummariesInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "AccountId"))
|
990
|
+
ListBackupJobSummariesInput.add_member(:state, Shapes::ShapeRef.new(shape: BackupJobStatus, location: "querystring", location_name: "State"))
|
991
|
+
ListBackupJobSummariesInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "ResourceType"))
|
992
|
+
ListBackupJobSummariesInput.add_member(:message_category, Shapes::ShapeRef.new(shape: MessageCategory, location: "querystring", location_name: "MessageCategory"))
|
993
|
+
ListBackupJobSummariesInput.add_member(:aggregation_period, Shapes::ShapeRef.new(shape: AggregationPeriod, location: "querystring", location_name: "AggregationPeriod"))
|
994
|
+
ListBackupJobSummariesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
995
|
+
ListBackupJobSummariesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
|
996
|
+
ListBackupJobSummariesInput.struct_class = Types::ListBackupJobSummariesInput
|
997
|
+
|
998
|
+
ListBackupJobSummariesOutput.add_member(:backup_job_summaries, Shapes::ShapeRef.new(shape: BackupJobSummaryList, location_name: "BackupJobSummaries"))
|
999
|
+
ListBackupJobSummariesOutput.add_member(:aggregation_period, Shapes::ShapeRef.new(shape: string, location_name: "AggregationPeriod"))
|
1000
|
+
ListBackupJobSummariesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
1001
|
+
ListBackupJobSummariesOutput.struct_class = Types::ListBackupJobSummariesOutput
|
1002
|
+
|
944
1003
|
ListBackupJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
945
1004
|
ListBackupJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
946
1005
|
ListBackupJobsInput.add_member(:by_resource_arn, Shapes::ShapeRef.new(shape: ARN, location: "querystring", location_name: "resourceArn"))
|
@@ -953,6 +1012,7 @@ module Aws::Backup
|
|
953
1012
|
ListBackupJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter"))
|
954
1013
|
ListBackupJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore"))
|
955
1014
|
ListBackupJobsInput.add_member(:by_parent_job_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "parentJobId"))
|
1015
|
+
ListBackupJobsInput.add_member(:by_message_category, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "messageCategory"))
|
956
1016
|
ListBackupJobsInput.struct_class = Types::ListBackupJobsInput
|
957
1017
|
|
958
1018
|
ListBackupJobsOutput.add_member(:backup_jobs, Shapes::ShapeRef.new(shape: BackupJobsList, location_name: "BackupJobs"))
|
@@ -1004,6 +1064,20 @@ module Aws::Backup
|
|
1004
1064
|
ListBackupVaultsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
1005
1065
|
ListBackupVaultsOutput.struct_class = Types::ListBackupVaultsOutput
|
1006
1066
|
|
1067
|
+
ListCopyJobSummariesInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "AccountId"))
|
1068
|
+
ListCopyJobSummariesInput.add_member(:state, Shapes::ShapeRef.new(shape: CopyJobStatus, location: "querystring", location_name: "State"))
|
1069
|
+
ListCopyJobSummariesInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "ResourceType"))
|
1070
|
+
ListCopyJobSummariesInput.add_member(:message_category, Shapes::ShapeRef.new(shape: MessageCategory, location: "querystring", location_name: "MessageCategory"))
|
1071
|
+
ListCopyJobSummariesInput.add_member(:aggregation_period, Shapes::ShapeRef.new(shape: AggregationPeriod, location: "querystring", location_name: "AggregationPeriod"))
|
1072
|
+
ListCopyJobSummariesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
1073
|
+
ListCopyJobSummariesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
|
1074
|
+
ListCopyJobSummariesInput.struct_class = Types::ListCopyJobSummariesInput
|
1075
|
+
|
1076
|
+
ListCopyJobSummariesOutput.add_member(:copy_job_summaries, Shapes::ShapeRef.new(shape: CopyJobSummaryList, location_name: "CopyJobSummaries"))
|
1077
|
+
ListCopyJobSummariesOutput.add_member(:aggregation_period, Shapes::ShapeRef.new(shape: string, location_name: "AggregationPeriod"))
|
1078
|
+
ListCopyJobSummariesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
1079
|
+
ListCopyJobSummariesOutput.struct_class = Types::ListCopyJobSummariesOutput
|
1080
|
+
|
1007
1081
|
ListCopyJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
1008
1082
|
ListCopyJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1009
1083
|
ListCopyJobsInput.add_member(:by_resource_arn, Shapes::ShapeRef.new(shape: ARN, location: "querystring", location_name: "resourceArn"))
|
@@ -1016,6 +1090,7 @@ module Aws::Backup
|
|
1016
1090
|
ListCopyJobsInput.add_member(:by_complete_before, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeBefore"))
|
1017
1091
|
ListCopyJobsInput.add_member(:by_complete_after, Shapes::ShapeRef.new(shape: timestamp, location: "querystring", location_name: "completeAfter"))
|
1018
1092
|
ListCopyJobsInput.add_member(:by_parent_job_id, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "parentJobId"))
|
1093
|
+
ListCopyJobsInput.add_member(:by_message_category, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "messageCategory"))
|
1019
1094
|
ListCopyJobsInput.struct_class = Types::ListCopyJobsInput
|
1020
1095
|
|
1021
1096
|
ListCopyJobsOutput.add_member(:copy_jobs, Shapes::ShapeRef.new(shape: CopyJobsList, location_name: "CopyJobs"))
|
@@ -1112,6 +1187,19 @@ module Aws::Backup
|
|
1112
1187
|
ListReportPlansOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
1113
1188
|
ListReportPlansOutput.struct_class = Types::ListReportPlansOutput
|
1114
1189
|
|
1190
|
+
ListRestoreJobSummariesInput.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "AccountId"))
|
1191
|
+
ListRestoreJobSummariesInput.add_member(:state, Shapes::ShapeRef.new(shape: RestoreJobState, location: "querystring", location_name: "State"))
|
1192
|
+
ListRestoreJobSummariesInput.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location: "querystring", location_name: "ResourceType"))
|
1193
|
+
ListRestoreJobSummariesInput.add_member(:aggregation_period, Shapes::ShapeRef.new(shape: AggregationPeriod, location: "querystring", location_name: "AggregationPeriod"))
|
1194
|
+
ListRestoreJobSummariesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
1195
|
+
ListRestoreJobSummariesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "NextToken"))
|
1196
|
+
ListRestoreJobSummariesInput.struct_class = Types::ListRestoreJobSummariesInput
|
1197
|
+
|
1198
|
+
ListRestoreJobSummariesOutput.add_member(:restore_job_summaries, Shapes::ShapeRef.new(shape: RestoreJobSummaryList, location_name: "RestoreJobSummaries"))
|
1199
|
+
ListRestoreJobSummariesOutput.add_member(:aggregation_period, Shapes::ShapeRef.new(shape: string, location_name: "AggregationPeriod"))
|
1200
|
+
ListRestoreJobSummariesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "NextToken"))
|
1201
|
+
ListRestoreJobSummariesOutput.struct_class = Types::ListRestoreJobSummariesOutput
|
1202
|
+
|
1115
1203
|
ListRestoreJobsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "nextToken"))
|
1116
1204
|
ListRestoreJobsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1117
1205
|
ListRestoreJobsInput.add_member(:by_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "accountId"))
|
@@ -1288,6 +1376,17 @@ module Aws::Backup
|
|
1288
1376
|
|
1289
1377
|
ResourceTypes.member = Shapes::ShapeRef.new(shape: ResourceType)
|
1290
1378
|
|
1379
|
+
RestoreJobSummary.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
|
1380
|
+
RestoreJobSummary.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
1381
|
+
RestoreJobSummary.add_member(:state, Shapes::ShapeRef.new(shape: RestoreJobState, location_name: "State"))
|
1382
|
+
RestoreJobSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "ResourceType"))
|
1383
|
+
RestoreJobSummary.add_member(:count, Shapes::ShapeRef.new(shape: integer, location_name: "Count"))
|
1384
|
+
RestoreJobSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "StartTime"))
|
1385
|
+
RestoreJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: timestamp, location_name: "EndTime"))
|
1386
|
+
RestoreJobSummary.struct_class = Types::RestoreJobSummary
|
1387
|
+
|
1388
|
+
RestoreJobSummaryList.member = Shapes::ShapeRef.new(shape: RestoreJobSummary)
|
1389
|
+
|
1291
1390
|
RestoreJobsList.member = Shapes::ShapeRef.new(shape: RestoreJobsListMember)
|
1292
1391
|
|
1293
1392
|
RestoreJobsListMember.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
|
@@ -1943,6 +2042,22 @@ module Aws::Backup
|
|
1943
2042
|
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
1944
2043
|
end)
|
1945
2044
|
|
2045
|
+
api.add_operation(:list_backup_job_summaries, Seahorse::Model::Operation.new.tap do |o|
|
2046
|
+
o.name = "ListBackupJobSummaries"
|
2047
|
+
o.http_method = "GET"
|
2048
|
+
o.http_request_uri = "/audit/backup-job-summaries"
|
2049
|
+
o.input = Shapes::ShapeRef.new(shape: ListBackupJobSummariesInput)
|
2050
|
+
o.output = Shapes::ShapeRef.new(shape: ListBackupJobSummariesOutput)
|
2051
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2052
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2053
|
+
o[:pager] = Aws::Pager.new(
|
2054
|
+
limit_key: "max_results",
|
2055
|
+
tokens: {
|
2056
|
+
"next_token" => "next_token"
|
2057
|
+
}
|
2058
|
+
)
|
2059
|
+
end)
|
2060
|
+
|
1946
2061
|
api.add_operation(:list_backup_jobs, Seahorse::Model::Operation.new.tap do |o|
|
1947
2062
|
o.name = "ListBackupJobs"
|
1948
2063
|
o.http_method = "GET"
|
@@ -2049,6 +2164,22 @@ module Aws::Backup
|
|
2049
2164
|
)
|
2050
2165
|
end)
|
2051
2166
|
|
2167
|
+
api.add_operation(:list_copy_job_summaries, Seahorse::Model::Operation.new.tap do |o|
|
2168
|
+
o.name = "ListCopyJobSummaries"
|
2169
|
+
o.http_method = "GET"
|
2170
|
+
o.http_request_uri = "/audit/copy-job-summaries"
|
2171
|
+
o.input = Shapes::ShapeRef.new(shape: ListCopyJobSummariesInput)
|
2172
|
+
o.output = Shapes::ShapeRef.new(shape: ListCopyJobSummariesOutput)
|
2173
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2174
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2175
|
+
o[:pager] = Aws::Pager.new(
|
2176
|
+
limit_key: "max_results",
|
2177
|
+
tokens: {
|
2178
|
+
"next_token" => "next_token"
|
2179
|
+
}
|
2180
|
+
)
|
2181
|
+
end)
|
2182
|
+
|
2052
2183
|
api.add_operation(:list_copy_jobs, Seahorse::Model::Operation.new.tap do |o|
|
2053
2184
|
o.name = "ListCopyJobs"
|
2054
2185
|
o.http_method = "GET"
|
@@ -2216,6 +2347,22 @@ module Aws::Backup
|
|
2216
2347
|
)
|
2217
2348
|
end)
|
2218
2349
|
|
2350
|
+
api.add_operation(:list_restore_job_summaries, Seahorse::Model::Operation.new.tap do |o|
|
2351
|
+
o.name = "ListRestoreJobSummaries"
|
2352
|
+
o.http_method = "GET"
|
2353
|
+
o.http_request_uri = "/audit/restore-job-summaries"
|
2354
|
+
o.input = Shapes::ShapeRef.new(shape: ListRestoreJobSummariesInput)
|
2355
|
+
o.output = Shapes::ShapeRef.new(shape: ListRestoreJobSummariesOutput)
|
2356
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
2357
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceUnavailableException)
|
2358
|
+
o[:pager] = Aws::Pager.new(
|
2359
|
+
limit_key: "max_results",
|
2360
|
+
tokens: {
|
2361
|
+
"next_token" => "next_token"
|
2362
|
+
}
|
2363
|
+
)
|
2364
|
+
end)
|
2365
|
+
|
2219
2366
|
api.add_operation(:list_restore_jobs, Seahorse::Model::Operation.new.tap do |o|
|
2220
2367
|
o.name = "ListRestoreJobs"
|
2221
2368
|
o.http_method = "GET"
|
@@ -32,7 +32,7 @@ module Aws::Backup
|
|
32
32
|
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
33
|
end
|
34
34
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
-
if Aws::Endpoints::Matchers.boolean_equals?(
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
|
36
36
|
return Aws::Endpoints::Endpoint.new(url: "https://backup-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
37
|
end
|
38
38
|
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
@@ -572,6 +572,20 @@ module Aws::Backup
|
|
572
572
|
end
|
573
573
|
end
|
574
574
|
|
575
|
+
class ListBackupJobSummaries
|
576
|
+
def self.build(context)
|
577
|
+
unless context.config.regional_endpoint
|
578
|
+
endpoint = context.config.endpoint.to_s
|
579
|
+
end
|
580
|
+
Aws::Backup::EndpointParameters.new(
|
581
|
+
region: context.config.region,
|
582
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
583
|
+
use_fips: context.config.use_fips_endpoint,
|
584
|
+
endpoint: endpoint,
|
585
|
+
)
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
575
589
|
class ListBackupJobs
|
576
590
|
def self.build(context)
|
577
591
|
unless context.config.regional_endpoint
|
@@ -656,6 +670,20 @@ module Aws::Backup
|
|
656
670
|
end
|
657
671
|
end
|
658
672
|
|
673
|
+
class ListCopyJobSummaries
|
674
|
+
def self.build(context)
|
675
|
+
unless context.config.regional_endpoint
|
676
|
+
endpoint = context.config.endpoint.to_s
|
677
|
+
end
|
678
|
+
Aws::Backup::EndpointParameters.new(
|
679
|
+
region: context.config.region,
|
680
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
681
|
+
use_fips: context.config.use_fips_endpoint,
|
682
|
+
endpoint: endpoint,
|
683
|
+
)
|
684
|
+
end
|
685
|
+
end
|
686
|
+
|
659
687
|
class ListCopyJobs
|
660
688
|
def self.build(context)
|
661
689
|
unless context.config.regional_endpoint
|
@@ -796,6 +824,20 @@ module Aws::Backup
|
|
796
824
|
end
|
797
825
|
end
|
798
826
|
|
827
|
+
class ListRestoreJobSummaries
|
828
|
+
def self.build(context)
|
829
|
+
unless context.config.regional_endpoint
|
830
|
+
endpoint = context.config.endpoint.to_s
|
831
|
+
end
|
832
|
+
Aws::Backup::EndpointParameters.new(
|
833
|
+
region: context.config.region,
|
834
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
835
|
+
use_fips: context.config.use_fips_endpoint,
|
836
|
+
endpoint: endpoint,
|
837
|
+
)
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
799
841
|
class ListRestoreJobs
|
800
842
|
def self.build(context)
|
801
843
|
unless context.config.regional_endpoint
|
@@ -136,6 +136,8 @@ module Aws::Backup
|
|
136
136
|
Aws::Backup::Endpoints::GetRecoveryPointRestoreMetadata.build(context)
|
137
137
|
when :get_supported_resource_types
|
138
138
|
Aws::Backup::Endpoints::GetSupportedResourceTypes.build(context)
|
139
|
+
when :list_backup_job_summaries
|
140
|
+
Aws::Backup::Endpoints::ListBackupJobSummaries.build(context)
|
139
141
|
when :list_backup_jobs
|
140
142
|
Aws::Backup::Endpoints::ListBackupJobs.build(context)
|
141
143
|
when :list_backup_plan_templates
|
@@ -148,6 +150,8 @@ module Aws::Backup
|
|
148
150
|
Aws::Backup::Endpoints::ListBackupSelections.build(context)
|
149
151
|
when :list_backup_vaults
|
150
152
|
Aws::Backup::Endpoints::ListBackupVaults.build(context)
|
153
|
+
when :list_copy_job_summaries
|
154
|
+
Aws::Backup::Endpoints::ListCopyJobSummaries.build(context)
|
151
155
|
when :list_copy_jobs
|
152
156
|
Aws::Backup::Endpoints::ListCopyJobs.build(context)
|
153
157
|
when :list_frameworks
|
@@ -168,6 +172,8 @@ module Aws::Backup
|
|
168
172
|
Aws::Backup::Endpoints::ListReportJobs.build(context)
|
169
173
|
when :list_report_plans
|
170
174
|
Aws::Backup::Endpoints::ListReportPlans.build(context)
|
175
|
+
when :list_restore_job_summaries
|
176
|
+
Aws::Backup::Endpoints::ListRestoreJobSummaries.build(context)
|
171
177
|
when :list_restore_jobs
|
172
178
|
Aws::Backup::Endpoints::ListRestoreJobs.build(context)
|
173
179
|
when :list_tags
|