aws-sdk-backupgateway 1.0.0 → 1.15.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,11 +17,15 @@ module Aws::BackupGateway
17
17
  ActivationKey = Shapes::StringShape.new(name: 'ActivationKey')
18
18
  AssociateGatewayToServerInput = Shapes::StructureShape.new(name: 'AssociateGatewayToServerInput')
19
19
  AssociateGatewayToServerOutput = Shapes::StructureShape.new(name: 'AssociateGatewayToServerOutput')
20
+ AverageUploadRateLimit = Shapes::IntegerShape.new(name: 'AverageUploadRateLimit')
21
+ BandwidthRateLimitInterval = Shapes::StructureShape.new(name: 'BandwidthRateLimitInterval')
22
+ BandwidthRateLimitIntervals = Shapes::ListShape.new(name: 'BandwidthRateLimitIntervals')
20
23
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
21
24
  CreateGatewayInput = Shapes::StructureShape.new(name: 'CreateGatewayInput')
22
25
  CreateGatewayOutput = Shapes::StructureShape.new(name: 'CreateGatewayOutput')
23
26
  DayOfMonth = Shapes::IntegerShape.new(name: 'DayOfMonth')
24
27
  DayOfWeek = Shapes::IntegerShape.new(name: 'DayOfWeek')
28
+ DaysOfWeek = Shapes::ListShape.new(name: 'DaysOfWeek')
25
29
  DeleteGatewayInput = Shapes::StructureShape.new(name: 'DeleteGatewayInput')
26
30
  DeleteGatewayOutput = Shapes::StructureShape.new(name: 'DeleteGatewayOutput')
27
31
  DeleteHypervisorInput = Shapes::StructureShape.new(name: 'DeleteHypervisorInput')
@@ -30,14 +34,27 @@ module Aws::BackupGateway
30
34
  DisassociateGatewayFromServerOutput = Shapes::StructureShape.new(name: 'DisassociateGatewayFromServerOutput')
31
35
  Gateway = Shapes::StructureShape.new(name: 'Gateway')
32
36
  GatewayArn = Shapes::StringShape.new(name: 'GatewayArn')
37
+ GatewayDetails = Shapes::StructureShape.new(name: 'GatewayDetails')
33
38
  GatewayType = Shapes::StringShape.new(name: 'GatewayType')
34
39
  Gateways = Shapes::ListShape.new(name: 'Gateways')
40
+ GetBandwidthRateLimitScheduleInput = Shapes::StructureShape.new(name: 'GetBandwidthRateLimitScheduleInput')
41
+ GetBandwidthRateLimitScheduleOutput = Shapes::StructureShape.new(name: 'GetBandwidthRateLimitScheduleOutput')
42
+ GetGatewayInput = Shapes::StructureShape.new(name: 'GetGatewayInput')
43
+ GetGatewayOutput = Shapes::StructureShape.new(name: 'GetGatewayOutput')
44
+ GetHypervisorInput = Shapes::StructureShape.new(name: 'GetHypervisorInput')
45
+ GetHypervisorOutput = Shapes::StructureShape.new(name: 'GetHypervisorOutput')
46
+ GetHypervisorPropertyMappingsInput = Shapes::StructureShape.new(name: 'GetHypervisorPropertyMappingsInput')
47
+ GetHypervisorPropertyMappingsOutput = Shapes::StructureShape.new(name: 'GetHypervisorPropertyMappingsOutput')
48
+ GetVirtualMachineInput = Shapes::StructureShape.new(name: 'GetVirtualMachineInput')
49
+ GetVirtualMachineOutput = Shapes::StructureShape.new(name: 'GetVirtualMachineOutput')
35
50
  Host = Shapes::StringShape.new(name: 'Host')
36
51
  HourOfDay = Shapes::IntegerShape.new(name: 'HourOfDay')
37
52
  Hypervisor = Shapes::StructureShape.new(name: 'Hypervisor')
53
+ HypervisorDetails = Shapes::StructureShape.new(name: 'HypervisorDetails')
38
54
  HypervisorId = Shapes::StringShape.new(name: 'HypervisorId')
39
55
  HypervisorState = Shapes::StringShape.new(name: 'HypervisorState')
40
56
  Hypervisors = Shapes::ListShape.new(name: 'Hypervisors')
57
+ IamRoleArn = Shapes::StringShape.new(name: 'IamRoleArn')
41
58
  ImportHypervisorConfigurationInput = Shapes::StructureShape.new(name: 'ImportHypervisorConfigurationInput')
42
59
  ImportHypervisorConfigurationOutput = Shapes::StructureShape.new(name: 'ImportHypervisorConfigurationOutput')
43
60
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
@@ -50,17 +67,26 @@ module Aws::BackupGateway
50
67
  ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
51
68
  ListVirtualMachinesInput = Shapes::StructureShape.new(name: 'ListVirtualMachinesInput')
52
69
  ListVirtualMachinesOutput = Shapes::StructureShape.new(name: 'ListVirtualMachinesOutput')
70
+ LogGroupArn = Shapes::StringShape.new(name: 'LogGroupArn')
71
+ MaintenanceStartTime = Shapes::StructureShape.new(name: 'MaintenanceStartTime')
53
72
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
54
73
  MinuteOfHour = Shapes::IntegerShape.new(name: 'MinuteOfHour')
55
74
  Name = Shapes::StringShape.new(name: 'Name')
56
75
  NextToken = Shapes::StringShape.new(name: 'NextToken')
57
76
  Password = Shapes::StringShape.new(name: 'Password')
58
77
  Path = Shapes::StringShape.new(name: 'Path')
78
+ PutBandwidthRateLimitScheduleInput = Shapes::StructureShape.new(name: 'PutBandwidthRateLimitScheduleInput')
79
+ PutBandwidthRateLimitScheduleOutput = Shapes::StructureShape.new(name: 'PutBandwidthRateLimitScheduleOutput')
80
+ PutHypervisorPropertyMappingsInput = Shapes::StructureShape.new(name: 'PutHypervisorPropertyMappingsInput')
81
+ PutHypervisorPropertyMappingsOutput = Shapes::StructureShape.new(name: 'PutHypervisorPropertyMappingsOutput')
59
82
  PutMaintenanceStartTimeInput = Shapes::StructureShape.new(name: 'PutMaintenanceStartTimeInput')
60
83
  PutMaintenanceStartTimeOutput = Shapes::StructureShape.new(name: 'PutMaintenanceStartTimeOutput')
61
84
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
62
85
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
63
86
  ServerArn = Shapes::StringShape.new(name: 'ServerArn')
87
+ StartVirtualMachinesMetadataSyncInput = Shapes::StructureShape.new(name: 'StartVirtualMachinesMetadataSyncInput')
88
+ StartVirtualMachinesMetadataSyncOutput = Shapes::StructureShape.new(name: 'StartVirtualMachinesMetadataSyncOutput')
89
+ SyncMetadataStatus = Shapes::StringShape.new(name: 'SyncMetadataStatus')
64
90
  Tag = Shapes::StructureShape.new(name: 'Tag')
65
91
  TagKey = Shapes::StringShape.new(name: 'TagKey')
66
92
  TagKeys = Shapes::ListShape.new(name: 'TagKeys')
@@ -70,17 +96,28 @@ module Aws::BackupGateway
70
96
  Tags = Shapes::ListShape.new(name: 'Tags')
71
97
  TestHypervisorConfigurationInput = Shapes::StructureShape.new(name: 'TestHypervisorConfigurationInput')
72
98
  TestHypervisorConfigurationOutput = Shapes::StructureShape.new(name: 'TestHypervisorConfigurationOutput')
99
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
73
100
  Time = Shapes::TimestampShape.new(name: 'Time')
74
101
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
75
102
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
76
103
  UpdateGatewayInformationInput = Shapes::StructureShape.new(name: 'UpdateGatewayInformationInput')
77
104
  UpdateGatewayInformationOutput = Shapes::StructureShape.new(name: 'UpdateGatewayInformationOutput')
105
+ UpdateGatewaySoftwareNowInput = Shapes::StructureShape.new(name: 'UpdateGatewaySoftwareNowInput')
106
+ UpdateGatewaySoftwareNowOutput = Shapes::StructureShape.new(name: 'UpdateGatewaySoftwareNowOutput')
78
107
  UpdateHypervisorInput = Shapes::StructureShape.new(name: 'UpdateHypervisorInput')
79
108
  UpdateHypervisorOutput = Shapes::StructureShape.new(name: 'UpdateHypervisorOutput')
80
109
  Username = Shapes::StringShape.new(name: 'Username')
81
110
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
82
111
  VirtualMachine = Shapes::StructureShape.new(name: 'VirtualMachine')
112
+ VirtualMachineDetails = Shapes::StructureShape.new(name: 'VirtualMachineDetails')
83
113
  VirtualMachines = Shapes::ListShape.new(name: 'VirtualMachines')
114
+ VmwareCategory = Shapes::StringShape.new(name: 'VmwareCategory')
115
+ VmwareTag = Shapes::StructureShape.new(name: 'VmwareTag')
116
+ VmwareTagName = Shapes::StringShape.new(name: 'VmwareTagName')
117
+ VmwareTags = Shapes::ListShape.new(name: 'VmwareTags')
118
+ VmwareToAwsTagMapping = Shapes::StructureShape.new(name: 'VmwareToAwsTagMapping')
119
+ VmwareToAwsTagMappings = Shapes::ListShape.new(name: 'VmwareToAwsTagMappings')
120
+ VpcEndpoint = Shapes::StringShape.new(name: 'VpcEndpoint')
84
121
  string = Shapes::StringShape.new(name: 'string')
85
122
 
86
123
  AccessDeniedException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ErrorCode"))
@@ -94,6 +131,16 @@ module Aws::BackupGateway
94
131
  AssociateGatewayToServerOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn"))
95
132
  AssociateGatewayToServerOutput.struct_class = Types::AssociateGatewayToServerOutput
96
133
 
134
+ BandwidthRateLimitInterval.add_member(:average_upload_rate_limit_in_bits_per_sec, Shapes::ShapeRef.new(shape: AverageUploadRateLimit, location_name: "AverageUploadRateLimitInBitsPerSec"))
135
+ BandwidthRateLimitInterval.add_member(:days_of_week, Shapes::ShapeRef.new(shape: DaysOfWeek, required: true, location_name: "DaysOfWeek"))
136
+ BandwidthRateLimitInterval.add_member(:end_hour_of_day, Shapes::ShapeRef.new(shape: HourOfDay, required: true, location_name: "EndHourOfDay"))
137
+ BandwidthRateLimitInterval.add_member(:end_minute_of_hour, Shapes::ShapeRef.new(shape: MinuteOfHour, required: true, location_name: "EndMinuteOfHour"))
138
+ BandwidthRateLimitInterval.add_member(:start_hour_of_day, Shapes::ShapeRef.new(shape: HourOfDay, required: true, location_name: "StartHourOfDay"))
139
+ BandwidthRateLimitInterval.add_member(:start_minute_of_hour, Shapes::ShapeRef.new(shape: MinuteOfHour, required: true, location_name: "StartMinuteOfHour"))
140
+ BandwidthRateLimitInterval.struct_class = Types::BandwidthRateLimitInterval
141
+
142
+ BandwidthRateLimitIntervals.member = Shapes::ShapeRef.new(shape: BandwidthRateLimitInterval)
143
+
97
144
  ConflictException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ErrorCode"))
98
145
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
99
146
  ConflictException.struct_class = Types::ConflictException
@@ -107,6 +154,8 @@ module Aws::BackupGateway
107
154
  CreateGatewayOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn"))
108
155
  CreateGatewayOutput.struct_class = Types::CreateGatewayOutput
109
156
 
157
+ DaysOfWeek.member = Shapes::ShapeRef.new(shape: DayOfWeek)
158
+
110
159
  DeleteGatewayInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "GatewayArn"))
111
160
  DeleteGatewayInput.struct_class = Types::DeleteGatewayInput
112
161
 
@@ -132,8 +181,51 @@ module Aws::BackupGateway
132
181
  Gateway.add_member(:last_seen_time, Shapes::ShapeRef.new(shape: Time, location_name: "LastSeenTime"))
133
182
  Gateway.struct_class = Types::Gateway
134
183
 
184
+ GatewayDetails.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn"))
185
+ GatewayDetails.add_member(:gateway_display_name, Shapes::ShapeRef.new(shape: Name, location_name: "GatewayDisplayName"))
186
+ GatewayDetails.add_member(:gateway_type, Shapes::ShapeRef.new(shape: GatewayType, location_name: "GatewayType"))
187
+ GatewayDetails.add_member(:hypervisor_id, Shapes::ShapeRef.new(shape: HypervisorId, location_name: "HypervisorId"))
188
+ GatewayDetails.add_member(:last_seen_time, Shapes::ShapeRef.new(shape: Time, location_name: "LastSeenTime"))
189
+ GatewayDetails.add_member(:maintenance_start_time, Shapes::ShapeRef.new(shape: MaintenanceStartTime, location_name: "MaintenanceStartTime"))
190
+ GatewayDetails.add_member(:next_update_availability_time, Shapes::ShapeRef.new(shape: Time, location_name: "NextUpdateAvailabilityTime"))
191
+ GatewayDetails.add_member(:vpc_endpoint, Shapes::ShapeRef.new(shape: VpcEndpoint, location_name: "VpcEndpoint"))
192
+ GatewayDetails.struct_class = Types::GatewayDetails
193
+
135
194
  Gateways.member = Shapes::ShapeRef.new(shape: Gateway)
136
195
 
196
+ GetBandwidthRateLimitScheduleInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "GatewayArn"))
197
+ GetBandwidthRateLimitScheduleInput.struct_class = Types::GetBandwidthRateLimitScheduleInput
198
+
199
+ GetBandwidthRateLimitScheduleOutput.add_member(:bandwidth_rate_limit_intervals, Shapes::ShapeRef.new(shape: BandwidthRateLimitIntervals, location_name: "BandwidthRateLimitIntervals"))
200
+ GetBandwidthRateLimitScheduleOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn"))
201
+ GetBandwidthRateLimitScheduleOutput.struct_class = Types::GetBandwidthRateLimitScheduleOutput
202
+
203
+ GetGatewayInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "GatewayArn"))
204
+ GetGatewayInput.struct_class = Types::GetGatewayInput
205
+
206
+ GetGatewayOutput.add_member(:gateway, Shapes::ShapeRef.new(shape: GatewayDetails, location_name: "Gateway"))
207
+ GetGatewayOutput.struct_class = Types::GetGatewayOutput
208
+
209
+ GetHypervisorInput.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, required: true, location_name: "HypervisorArn"))
210
+ GetHypervisorInput.struct_class = Types::GetHypervisorInput
211
+
212
+ GetHypervisorOutput.add_member(:hypervisor, Shapes::ShapeRef.new(shape: HypervisorDetails, location_name: "Hypervisor"))
213
+ GetHypervisorOutput.struct_class = Types::GetHypervisorOutput
214
+
215
+ GetHypervisorPropertyMappingsInput.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, required: true, location_name: "HypervisorArn"))
216
+ GetHypervisorPropertyMappingsInput.struct_class = Types::GetHypervisorPropertyMappingsInput
217
+
218
+ GetHypervisorPropertyMappingsOutput.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, location_name: "HypervisorArn"))
219
+ GetHypervisorPropertyMappingsOutput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, location_name: "IamRoleArn"))
220
+ GetHypervisorPropertyMappingsOutput.add_member(:vmware_to_aws_tag_mappings, Shapes::ShapeRef.new(shape: VmwareToAwsTagMappings, location_name: "VmwareToAwsTagMappings"))
221
+ GetHypervisorPropertyMappingsOutput.struct_class = Types::GetHypervisorPropertyMappingsOutput
222
+
223
+ GetVirtualMachineInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceArn"))
224
+ GetVirtualMachineInput.struct_class = Types::GetVirtualMachineInput
225
+
226
+ GetVirtualMachineOutput.add_member(:virtual_machine, Shapes::ShapeRef.new(shape: VirtualMachineDetails, location_name: "VirtualMachine"))
227
+ GetVirtualMachineOutput.struct_class = Types::GetVirtualMachineOutput
228
+
137
229
  Hypervisor.add_member(:host, Shapes::ShapeRef.new(shape: Host, location_name: "Host"))
138
230
  Hypervisor.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, location_name: "HypervisorArn"))
139
231
  Hypervisor.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
@@ -141,6 +233,17 @@ module Aws::BackupGateway
141
233
  Hypervisor.add_member(:state, Shapes::ShapeRef.new(shape: HypervisorState, location_name: "State"))
142
234
  Hypervisor.struct_class = Types::Hypervisor
143
235
 
236
+ HypervisorDetails.add_member(:host, Shapes::ShapeRef.new(shape: Host, location_name: "Host"))
237
+ HypervisorDetails.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, location_name: "HypervisorArn"))
238
+ HypervisorDetails.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "KmsKeyArn"))
239
+ HypervisorDetails.add_member(:last_successful_metadata_sync_time, Shapes::ShapeRef.new(shape: Time, location_name: "LastSuccessfulMetadataSyncTime"))
240
+ HypervisorDetails.add_member(:latest_metadata_sync_status, Shapes::ShapeRef.new(shape: SyncMetadataStatus, location_name: "LatestMetadataSyncStatus"))
241
+ HypervisorDetails.add_member(:latest_metadata_sync_status_message, Shapes::ShapeRef.new(shape: string, location_name: "LatestMetadataSyncStatusMessage"))
242
+ HypervisorDetails.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "LogGroupArn"))
243
+ HypervisorDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
244
+ HypervisorDetails.add_member(:state, Shapes::ShapeRef.new(shape: HypervisorState, location_name: "State"))
245
+ HypervisorDetails.struct_class = Types::HypervisorDetails
246
+
144
247
  Hypervisors.member = Shapes::ShapeRef.new(shape: Hypervisor)
145
248
 
146
249
  ImportHypervisorConfigurationInput.add_member(:host, Shapes::ShapeRef.new(shape: Host, required: true, location_name: "Host"))
@@ -181,6 +284,7 @@ module Aws::BackupGateway
181
284
  ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
182
285
  ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
183
286
 
287
+ ListVirtualMachinesInput.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, location_name: "HypervisorArn"))
184
288
  ListVirtualMachinesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
185
289
  ListVirtualMachinesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
186
290
  ListVirtualMachinesInput.struct_class = Types::ListVirtualMachinesInput
@@ -189,6 +293,27 @@ module Aws::BackupGateway
189
293
  ListVirtualMachinesOutput.add_member(:virtual_machines, Shapes::ShapeRef.new(shape: VirtualMachines, location_name: "VirtualMachines"))
190
294
  ListVirtualMachinesOutput.struct_class = Types::ListVirtualMachinesOutput
191
295
 
296
+ MaintenanceStartTime.add_member(:day_of_month, Shapes::ShapeRef.new(shape: DayOfMonth, location_name: "DayOfMonth"))
297
+ MaintenanceStartTime.add_member(:day_of_week, Shapes::ShapeRef.new(shape: DayOfWeek, location_name: "DayOfWeek"))
298
+ MaintenanceStartTime.add_member(:hour_of_day, Shapes::ShapeRef.new(shape: HourOfDay, required: true, location_name: "HourOfDay"))
299
+ MaintenanceStartTime.add_member(:minute_of_hour, Shapes::ShapeRef.new(shape: MinuteOfHour, required: true, location_name: "MinuteOfHour"))
300
+ MaintenanceStartTime.struct_class = Types::MaintenanceStartTime
301
+
302
+ PutBandwidthRateLimitScheduleInput.add_member(:bandwidth_rate_limit_intervals, Shapes::ShapeRef.new(shape: BandwidthRateLimitIntervals, required: true, location_name: "BandwidthRateLimitIntervals"))
303
+ PutBandwidthRateLimitScheduleInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "GatewayArn"))
304
+ PutBandwidthRateLimitScheduleInput.struct_class = Types::PutBandwidthRateLimitScheduleInput
305
+
306
+ PutBandwidthRateLimitScheduleOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn"))
307
+ PutBandwidthRateLimitScheduleOutput.struct_class = Types::PutBandwidthRateLimitScheduleOutput
308
+
309
+ PutHypervisorPropertyMappingsInput.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, required: true, location_name: "HypervisorArn"))
310
+ PutHypervisorPropertyMappingsInput.add_member(:iam_role_arn, Shapes::ShapeRef.new(shape: IamRoleArn, required: true, location_name: "IamRoleArn"))
311
+ PutHypervisorPropertyMappingsInput.add_member(:vmware_to_aws_tag_mappings, Shapes::ShapeRef.new(shape: VmwareToAwsTagMappings, required: true, location_name: "VmwareToAwsTagMappings"))
312
+ PutHypervisorPropertyMappingsInput.struct_class = Types::PutHypervisorPropertyMappingsInput
313
+
314
+ PutHypervisorPropertyMappingsOutput.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, location_name: "HypervisorArn"))
315
+ PutHypervisorPropertyMappingsOutput.struct_class = Types::PutHypervisorPropertyMappingsOutput
316
+
192
317
  PutMaintenanceStartTimeInput.add_member(:day_of_month, Shapes::ShapeRef.new(shape: DayOfMonth, location_name: "DayOfMonth"))
193
318
  PutMaintenanceStartTimeInput.add_member(:day_of_week, Shapes::ShapeRef.new(shape: DayOfWeek, location_name: "DayOfWeek"))
194
319
  PutMaintenanceStartTimeInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "GatewayArn"))
@@ -203,6 +328,12 @@ module Aws::BackupGateway
203
328
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
204
329
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
205
330
 
331
+ StartVirtualMachinesMetadataSyncInput.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, required: true, location_name: "HypervisorArn"))
332
+ StartVirtualMachinesMetadataSyncInput.struct_class = Types::StartVirtualMachinesMetadataSyncInput
333
+
334
+ StartVirtualMachinesMetadataSyncOutput.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, location_name: "HypervisorArn"))
335
+ StartVirtualMachinesMetadataSyncOutput.struct_class = Types::StartVirtualMachinesMetadataSyncOutput
336
+
206
337
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
207
338
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
208
339
  Tag.struct_class = Types::Tag
@@ -226,6 +357,10 @@ module Aws::BackupGateway
226
357
 
227
358
  TestHypervisorConfigurationOutput.struct_class = Types::TestHypervisorConfigurationOutput
228
359
 
360
+ ThrottlingException.add_member(:error_code, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ErrorCode"))
361
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
362
+ ThrottlingException.struct_class = Types::ThrottlingException
363
+
229
364
  UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "ResourceARN"))
230
365
  UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "TagKeys"))
231
366
  UntagResourceInput.struct_class = Types::UntagResourceInput
@@ -240,8 +375,16 @@ module Aws::BackupGateway
240
375
  UpdateGatewayInformationOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn"))
241
376
  UpdateGatewayInformationOutput.struct_class = Types::UpdateGatewayInformationOutput
242
377
 
378
+ UpdateGatewaySoftwareNowInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "GatewayArn"))
379
+ UpdateGatewaySoftwareNowInput.struct_class = Types::UpdateGatewaySoftwareNowInput
380
+
381
+ UpdateGatewaySoftwareNowOutput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, location_name: "GatewayArn"))
382
+ UpdateGatewaySoftwareNowOutput.struct_class = Types::UpdateGatewaySoftwareNowOutput
383
+
243
384
  UpdateHypervisorInput.add_member(:host, Shapes::ShapeRef.new(shape: Host, location_name: "Host"))
244
385
  UpdateHypervisorInput.add_member(:hypervisor_arn, Shapes::ShapeRef.new(shape: ServerArn, required: true, location_name: "HypervisorArn"))
386
+ UpdateHypervisorInput.add_member(:log_group_arn, Shapes::ShapeRef.new(shape: LogGroupArn, location_name: "LogGroupArn"))
387
+ UpdateHypervisorInput.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
245
388
  UpdateHypervisorInput.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "Password"))
246
389
  UpdateHypervisorInput.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "Username"))
247
390
  UpdateHypervisorInput.struct_class = Types::UpdateHypervisorInput
@@ -261,8 +404,32 @@ module Aws::BackupGateway
261
404
  VirtualMachine.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
262
405
  VirtualMachine.struct_class = Types::VirtualMachine
263
406
 
407
+ VirtualMachineDetails.add_member(:host_name, Shapes::ShapeRef.new(shape: Name, location_name: "HostName"))
408
+ VirtualMachineDetails.add_member(:hypervisor_id, Shapes::ShapeRef.new(shape: string, location_name: "HypervisorId"))
409
+ VirtualMachineDetails.add_member(:last_backup_date, Shapes::ShapeRef.new(shape: Time, location_name: "LastBackupDate"))
410
+ VirtualMachineDetails.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "Name"))
411
+ VirtualMachineDetails.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
412
+ VirtualMachineDetails.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "ResourceArn"))
413
+ VirtualMachineDetails.add_member(:vmware_tags, Shapes::ShapeRef.new(shape: VmwareTags, location_name: "VmwareTags"))
414
+ VirtualMachineDetails.struct_class = Types::VirtualMachineDetails
415
+
264
416
  VirtualMachines.member = Shapes::ShapeRef.new(shape: VirtualMachine)
265
417
 
418
+ VmwareTag.add_member(:vmware_category, Shapes::ShapeRef.new(shape: VmwareCategory, location_name: "VmwareCategory"))
419
+ VmwareTag.add_member(:vmware_tag_description, Shapes::ShapeRef.new(shape: string, location_name: "VmwareTagDescription"))
420
+ VmwareTag.add_member(:vmware_tag_name, Shapes::ShapeRef.new(shape: VmwareTagName, location_name: "VmwareTagName"))
421
+ VmwareTag.struct_class = Types::VmwareTag
422
+
423
+ VmwareTags.member = Shapes::ShapeRef.new(shape: VmwareTag)
424
+
425
+ VmwareToAwsTagMapping.add_member(:aws_tag_key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "AwsTagKey"))
426
+ VmwareToAwsTagMapping.add_member(:aws_tag_value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "AwsTagValue"))
427
+ VmwareToAwsTagMapping.add_member(:vmware_category, Shapes::ShapeRef.new(shape: VmwareCategory, required: true, location_name: "VmwareCategory"))
428
+ VmwareToAwsTagMapping.add_member(:vmware_tag_name, Shapes::ShapeRef.new(shape: VmwareTagName, required: true, location_name: "VmwareTagName"))
429
+ VmwareToAwsTagMapping.struct_class = Types::VmwareToAwsTagMapping
430
+
431
+ VmwareToAwsTagMappings.member = Shapes::ShapeRef.new(shape: VmwareToAwsTagMapping)
432
+
266
433
 
267
434
  # @api private
268
435
  API = Seahorse::Model::Api.new.tap do |api|
@@ -291,6 +458,7 @@ module Aws::BackupGateway
291
458
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
292
459
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
293
460
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
461
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
294
462
  end)
295
463
 
296
464
  api.add_operation(:create_gateway, Seahorse::Model::Operation.new.tap do |o|
@@ -301,6 +469,7 @@ module Aws::BackupGateway
301
469
  o.output = Shapes::ShapeRef.new(shape: CreateGatewayOutput)
302
470
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
303
471
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
472
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
304
473
  end)
305
474
 
306
475
  api.add_operation(:delete_gateway, Seahorse::Model::Operation.new.tap do |o|
@@ -312,6 +481,7 @@ module Aws::BackupGateway
312
481
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
313
482
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
314
483
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
484
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
315
485
  end)
316
486
 
317
487
  api.add_operation(:delete_hypervisor, Seahorse::Model::Operation.new.tap do |o|
@@ -321,9 +491,11 @@ module Aws::BackupGateway
321
491
  o.input = Shapes::ShapeRef.new(shape: DeleteHypervisorInput)
322
492
  o.output = Shapes::ShapeRef.new(shape: DeleteHypervisorOutput)
323
493
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
494
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
324
495
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
325
496
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
326
497
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
498
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
327
499
  end)
328
500
 
329
501
  api.add_operation(:disassociate_gateway_from_server, Seahorse::Model::Operation.new.tap do |o|
@@ -336,6 +508,67 @@ module Aws::BackupGateway
336
508
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
337
509
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
338
510
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
511
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
512
+ end)
513
+
514
+ api.add_operation(:get_bandwidth_rate_limit_schedule, Seahorse::Model::Operation.new.tap do |o|
515
+ o.name = "GetBandwidthRateLimitSchedule"
516
+ o.http_method = "POST"
517
+ o.http_request_uri = "/"
518
+ o.input = Shapes::ShapeRef.new(shape: GetBandwidthRateLimitScheduleInput)
519
+ o.output = Shapes::ShapeRef.new(shape: GetBandwidthRateLimitScheduleOutput)
520
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
521
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
522
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
523
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
524
+ end)
525
+
526
+ api.add_operation(:get_gateway, Seahorse::Model::Operation.new.tap do |o|
527
+ o.name = "GetGateway"
528
+ o.http_method = "POST"
529
+ o.http_request_uri = "/"
530
+ o.input = Shapes::ShapeRef.new(shape: GetGatewayInput)
531
+ o.output = Shapes::ShapeRef.new(shape: GetGatewayOutput)
532
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
533
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
534
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
535
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
536
+ end)
537
+
538
+ api.add_operation(:get_hypervisor, Seahorse::Model::Operation.new.tap do |o|
539
+ o.name = "GetHypervisor"
540
+ o.http_method = "POST"
541
+ o.http_request_uri = "/"
542
+ o.input = Shapes::ShapeRef.new(shape: GetHypervisorInput)
543
+ o.output = Shapes::ShapeRef.new(shape: GetHypervisorOutput)
544
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
545
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
546
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
547
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
548
+ end)
549
+
550
+ api.add_operation(:get_hypervisor_property_mappings, Seahorse::Model::Operation.new.tap do |o|
551
+ o.name = "GetHypervisorPropertyMappings"
552
+ o.http_method = "POST"
553
+ o.http_request_uri = "/"
554
+ o.input = Shapes::ShapeRef.new(shape: GetHypervisorPropertyMappingsInput)
555
+ o.output = Shapes::ShapeRef.new(shape: GetHypervisorPropertyMappingsOutput)
556
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
557
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
558
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
559
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
560
+ end)
561
+
562
+ api.add_operation(:get_virtual_machine, Seahorse::Model::Operation.new.tap do |o|
563
+ o.name = "GetVirtualMachine"
564
+ o.http_method = "POST"
565
+ o.http_request_uri = "/"
566
+ o.input = Shapes::ShapeRef.new(shape: GetVirtualMachineInput)
567
+ o.output = Shapes::ShapeRef.new(shape: GetVirtualMachineOutput)
568
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
569
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
570
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
571
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
339
572
  end)
340
573
 
341
574
  api.add_operation(:import_hypervisor_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -345,8 +578,10 @@ module Aws::BackupGateway
345
578
  o.input = Shapes::ShapeRef.new(shape: ImportHypervisorConfigurationInput)
346
579
  o.output = Shapes::ShapeRef.new(shape: ImportHypervisorConfigurationOutput)
347
580
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
581
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
348
582
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
349
583
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
584
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
350
585
  end)
351
586
 
352
587
  api.add_operation(:list_gateways, Seahorse::Model::Operation.new.tap do |o|
@@ -357,6 +592,7 @@ module Aws::BackupGateway
357
592
  o.output = Shapes::ShapeRef.new(shape: ListGatewaysOutput)
358
593
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
359
594
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
595
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
360
596
  o[:pager] = Aws::Pager.new(
361
597
  limit_key: "max_results",
362
598
  tokens: {
@@ -373,6 +609,7 @@ module Aws::BackupGateway
373
609
  o.output = Shapes::ShapeRef.new(shape: ListHypervisorsOutput)
374
610
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
375
611
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
612
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
376
613
  o[:pager] = Aws::Pager.new(
377
614
  limit_key: "max_results",
378
615
  tokens: {
@@ -390,6 +627,7 @@ module Aws::BackupGateway
390
627
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
391
628
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
392
629
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
630
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
393
631
  end)
394
632
 
395
633
  api.add_operation(:list_virtual_machines, Seahorse::Model::Operation.new.tap do |o|
@@ -400,6 +638,7 @@ module Aws::BackupGateway
400
638
  o.output = Shapes::ShapeRef.new(shape: ListVirtualMachinesOutput)
401
639
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
402
640
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
641
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
403
642
  o[:pager] = Aws::Pager.new(
404
643
  limit_key: "max_results",
405
644
  tokens: {
@@ -408,6 +647,32 @@ module Aws::BackupGateway
408
647
  )
409
648
  end)
410
649
 
650
+ api.add_operation(:put_bandwidth_rate_limit_schedule, Seahorse::Model::Operation.new.tap do |o|
651
+ o.name = "PutBandwidthRateLimitSchedule"
652
+ o.http_method = "POST"
653
+ o.http_request_uri = "/"
654
+ o.input = Shapes::ShapeRef.new(shape: PutBandwidthRateLimitScheduleInput)
655
+ o.output = Shapes::ShapeRef.new(shape: PutBandwidthRateLimitScheduleOutput)
656
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
657
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
658
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
659
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
660
+ end)
661
+
662
+ api.add_operation(:put_hypervisor_property_mappings, Seahorse::Model::Operation.new.tap do |o|
663
+ o.name = "PutHypervisorPropertyMappings"
664
+ o.http_method = "POST"
665
+ o.http_request_uri = "/"
666
+ o.input = Shapes::ShapeRef.new(shape: PutHypervisorPropertyMappingsInput)
667
+ o.output = Shapes::ShapeRef.new(shape: PutHypervisorPropertyMappingsOutput)
668
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
669
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
670
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
671
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
672
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
673
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
674
+ end)
675
+
411
676
  api.add_operation(:put_maintenance_start_time, Seahorse::Model::Operation.new.tap do |o|
412
677
  o.name = "PutMaintenanceStartTime"
413
678
  o.http_method = "POST"
@@ -418,6 +683,20 @@ module Aws::BackupGateway
418
683
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
419
684
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
420
685
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
686
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
687
+ end)
688
+
689
+ api.add_operation(:start_virtual_machines_metadata_sync, Seahorse::Model::Operation.new.tap do |o|
690
+ o.name = "StartVirtualMachinesMetadataSync"
691
+ o.http_method = "POST"
692
+ o.http_request_uri = "/"
693
+ o.input = Shapes::ShapeRef.new(shape: StartVirtualMachinesMetadataSyncInput)
694
+ o.output = Shapes::ShapeRef.new(shape: StartVirtualMachinesMetadataSyncOutput)
695
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
696
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
697
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
698
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
699
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
421
700
  end)
422
701
 
423
702
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -429,6 +708,7 @@ module Aws::BackupGateway
429
708
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
430
709
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
431
710
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
711
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
432
712
  end)
433
713
 
434
714
  api.add_operation(:test_hypervisor_configuration, Seahorse::Model::Operation.new.tap do |o|
@@ -441,6 +721,7 @@ module Aws::BackupGateway
441
721
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
442
722
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
443
723
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
724
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
444
725
  end)
445
726
 
446
727
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
@@ -452,6 +733,7 @@ module Aws::BackupGateway
452
733
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
453
734
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
454
735
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
736
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
455
737
  end)
456
738
 
457
739
  api.add_operation(:update_gateway_information, Seahorse::Model::Operation.new.tap do |o|
@@ -464,6 +746,19 @@ module Aws::BackupGateway
464
746
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
465
747
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
466
748
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
749
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
750
+ end)
751
+
752
+ api.add_operation(:update_gateway_software_now, Seahorse::Model::Operation.new.tap do |o|
753
+ o.name = "UpdateGatewaySoftwareNow"
754
+ o.http_method = "POST"
755
+ o.http_request_uri = "/"
756
+ o.input = Shapes::ShapeRef.new(shape: UpdateGatewaySoftwareNowInput)
757
+ o.output = Shapes::ShapeRef.new(shape: UpdateGatewaySoftwareNowOutput)
758
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
759
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
760
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
761
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
467
762
  end)
468
763
 
469
764
  api.add_operation(:update_hypervisor, Seahorse::Model::Operation.new.tap do |o|
@@ -473,9 +768,11 @@ module Aws::BackupGateway
473
768
  o.input = Shapes::ShapeRef.new(shape: UpdateHypervisorInput)
474
769
  o.output = Shapes::ShapeRef.new(shape: UpdateHypervisorOutput)
475
770
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
771
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
476
772
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
477
773
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
478
774
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
775
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
479
776
  end)
480
777
  end
481
778
 
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::BackupGateway
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end