aws-sdk-lightsail 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/lib/aws-sdk-lightsail/client.rb +837 -92
- data/lib/aws-sdk-lightsail/client_api.rb +418 -1
- data/lib/aws-sdk-lightsail/types.rb +1048 -80
- metadata +2 -2
@@ -18,6 +18,10 @@ module Aws::Lightsail
|
|
18
18
|
AllocateStaticIpResult = Shapes::StructureShape.new(name: 'AllocateStaticIpResult')
|
19
19
|
AttachDiskRequest = Shapes::StructureShape.new(name: 'AttachDiskRequest')
|
20
20
|
AttachDiskResult = Shapes::StructureShape.new(name: 'AttachDiskResult')
|
21
|
+
AttachInstancesToLoadBalancerRequest = Shapes::StructureShape.new(name: 'AttachInstancesToLoadBalancerRequest')
|
22
|
+
AttachInstancesToLoadBalancerResult = Shapes::StructureShape.new(name: 'AttachInstancesToLoadBalancerResult')
|
23
|
+
AttachLoadBalancerTlsCertificateRequest = Shapes::StructureShape.new(name: 'AttachLoadBalancerTlsCertificateRequest')
|
24
|
+
AttachLoadBalancerTlsCertificateResult = Shapes::StructureShape.new(name: 'AttachLoadBalancerTlsCertificateResult')
|
21
25
|
AttachStaticIpRequest = Shapes::StructureShape.new(name: 'AttachStaticIpRequest')
|
22
26
|
AttachStaticIpResult = Shapes::StructureShape.new(name: 'AttachStaticIpResult')
|
23
27
|
AttachedDiskMap = Shapes::MapShape.new(name: 'AttachedDiskMap')
|
@@ -49,6 +53,10 @@ module Aws::Lightsail
|
|
49
53
|
CreateInstancesResult = Shapes::StructureShape.new(name: 'CreateInstancesResult')
|
50
54
|
CreateKeyPairRequest = Shapes::StructureShape.new(name: 'CreateKeyPairRequest')
|
51
55
|
CreateKeyPairResult = Shapes::StructureShape.new(name: 'CreateKeyPairResult')
|
56
|
+
CreateLoadBalancerRequest = Shapes::StructureShape.new(name: 'CreateLoadBalancerRequest')
|
57
|
+
CreateLoadBalancerResult = Shapes::StructureShape.new(name: 'CreateLoadBalancerResult')
|
58
|
+
CreateLoadBalancerTlsCertificateRequest = Shapes::StructureShape.new(name: 'CreateLoadBalancerTlsCertificateRequest')
|
59
|
+
CreateLoadBalancerTlsCertificateResult = Shapes::StructureShape.new(name: 'CreateLoadBalancerTlsCertificateResult')
|
52
60
|
DeleteDiskRequest = Shapes::StructureShape.new(name: 'DeleteDiskRequest')
|
53
61
|
DeleteDiskResult = Shapes::StructureShape.new(name: 'DeleteDiskResult')
|
54
62
|
DeleteDiskSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteDiskSnapshotRequest')
|
@@ -63,8 +71,14 @@ module Aws::Lightsail
|
|
63
71
|
DeleteInstanceSnapshotResult = Shapes::StructureShape.new(name: 'DeleteInstanceSnapshotResult')
|
64
72
|
DeleteKeyPairRequest = Shapes::StructureShape.new(name: 'DeleteKeyPairRequest')
|
65
73
|
DeleteKeyPairResult = Shapes::StructureShape.new(name: 'DeleteKeyPairResult')
|
74
|
+
DeleteLoadBalancerRequest = Shapes::StructureShape.new(name: 'DeleteLoadBalancerRequest')
|
75
|
+
DeleteLoadBalancerResult = Shapes::StructureShape.new(name: 'DeleteLoadBalancerResult')
|
76
|
+
DeleteLoadBalancerTlsCertificateRequest = Shapes::StructureShape.new(name: 'DeleteLoadBalancerTlsCertificateRequest')
|
77
|
+
DeleteLoadBalancerTlsCertificateResult = Shapes::StructureShape.new(name: 'DeleteLoadBalancerTlsCertificateResult')
|
66
78
|
DetachDiskRequest = Shapes::StructureShape.new(name: 'DetachDiskRequest')
|
67
79
|
DetachDiskResult = Shapes::StructureShape.new(name: 'DetachDiskResult')
|
80
|
+
DetachInstancesFromLoadBalancerRequest = Shapes::StructureShape.new(name: 'DetachInstancesFromLoadBalancerRequest')
|
81
|
+
DetachInstancesFromLoadBalancerResult = Shapes::StructureShape.new(name: 'DetachInstancesFromLoadBalancerResult')
|
68
82
|
DetachStaticIpRequest = Shapes::StructureShape.new(name: 'DetachStaticIpRequest')
|
69
83
|
DetachStaticIpResult = Shapes::StructureShape.new(name: 'DetachStaticIpResult')
|
70
84
|
Disk = Shapes::StructureShape.new(name: 'Disk')
|
@@ -83,6 +97,7 @@ module Aws::Lightsail
|
|
83
97
|
DomainEntryType = Shapes::StringShape.new(name: 'DomainEntryType')
|
84
98
|
DomainList = Shapes::ListShape.new(name: 'DomainList')
|
85
99
|
DomainName = Shapes::StringShape.new(name: 'DomainName')
|
100
|
+
DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
|
86
101
|
DownloadDefaultKeyPairRequest = Shapes::StructureShape.new(name: 'DownloadDefaultKeyPairRequest')
|
87
102
|
DownloadDefaultKeyPairResult = Shapes::StructureShape.new(name: 'DownloadDefaultKeyPairResult')
|
88
103
|
GetActiveNamesRequest = Shapes::StructureShape.new(name: 'GetActiveNamesRequest')
|
@@ -123,6 +138,14 @@ module Aws::Lightsail
|
|
123
138
|
GetKeyPairResult = Shapes::StructureShape.new(name: 'GetKeyPairResult')
|
124
139
|
GetKeyPairsRequest = Shapes::StructureShape.new(name: 'GetKeyPairsRequest')
|
125
140
|
GetKeyPairsResult = Shapes::StructureShape.new(name: 'GetKeyPairsResult')
|
141
|
+
GetLoadBalancerMetricDataRequest = Shapes::StructureShape.new(name: 'GetLoadBalancerMetricDataRequest')
|
142
|
+
GetLoadBalancerMetricDataResult = Shapes::StructureShape.new(name: 'GetLoadBalancerMetricDataResult')
|
143
|
+
GetLoadBalancerRequest = Shapes::StructureShape.new(name: 'GetLoadBalancerRequest')
|
144
|
+
GetLoadBalancerResult = Shapes::StructureShape.new(name: 'GetLoadBalancerResult')
|
145
|
+
GetLoadBalancerTlsCertificatesRequest = Shapes::StructureShape.new(name: 'GetLoadBalancerTlsCertificatesRequest')
|
146
|
+
GetLoadBalancerTlsCertificatesResult = Shapes::StructureShape.new(name: 'GetLoadBalancerTlsCertificatesResult')
|
147
|
+
GetLoadBalancersRequest = Shapes::StructureShape.new(name: 'GetLoadBalancersRequest')
|
148
|
+
GetLoadBalancersResult = Shapes::StructureShape.new(name: 'GetLoadBalancersResult')
|
126
149
|
GetOperationRequest = Shapes::StructureShape.new(name: 'GetOperationRequest')
|
127
150
|
GetOperationResult = Shapes::StructureShape.new(name: 'GetOperationResult')
|
128
151
|
GetOperationsForResourceRequest = Shapes::StructureShape.new(name: 'GetOperationsForResourceRequest')
|
@@ -141,6 +164,10 @@ module Aws::Lightsail
|
|
141
164
|
InstanceAccessDetails = Shapes::StructureShape.new(name: 'InstanceAccessDetails')
|
142
165
|
InstanceAccessProtocol = Shapes::StringShape.new(name: 'InstanceAccessProtocol')
|
143
166
|
InstanceHardware = Shapes::StructureShape.new(name: 'InstanceHardware')
|
167
|
+
InstanceHealthReason = Shapes::StringShape.new(name: 'InstanceHealthReason')
|
168
|
+
InstanceHealthState = Shapes::StringShape.new(name: 'InstanceHealthState')
|
169
|
+
InstanceHealthSummary = Shapes::StructureShape.new(name: 'InstanceHealthSummary')
|
170
|
+
InstanceHealthSummaryList = Shapes::ListShape.new(name: 'InstanceHealthSummaryList')
|
144
171
|
InstanceList = Shapes::ListShape.new(name: 'InstanceList')
|
145
172
|
InstanceMetricName = Shapes::StringShape.new(name: 'InstanceMetricName')
|
146
173
|
InstanceNetworking = Shapes::StructureShape.new(name: 'InstanceNetworking')
|
@@ -162,6 +189,27 @@ module Aws::Lightsail
|
|
162
189
|
IsoDate = Shapes::TimestampShape.new(name: 'IsoDate')
|
163
190
|
KeyPair = Shapes::StructureShape.new(name: 'KeyPair')
|
164
191
|
KeyPairList = Shapes::ListShape.new(name: 'KeyPairList')
|
192
|
+
LoadBalancer = Shapes::StructureShape.new(name: 'LoadBalancer')
|
193
|
+
LoadBalancerAttributeName = Shapes::StringShape.new(name: 'LoadBalancerAttributeName')
|
194
|
+
LoadBalancerConfigurationOptions = Shapes::MapShape.new(name: 'LoadBalancerConfigurationOptions')
|
195
|
+
LoadBalancerList = Shapes::ListShape.new(name: 'LoadBalancerList')
|
196
|
+
LoadBalancerMetricName = Shapes::StringShape.new(name: 'LoadBalancerMetricName')
|
197
|
+
LoadBalancerProtocol = Shapes::StringShape.new(name: 'LoadBalancerProtocol')
|
198
|
+
LoadBalancerState = Shapes::StringShape.new(name: 'LoadBalancerState')
|
199
|
+
LoadBalancerTlsCertificate = Shapes::StructureShape.new(name: 'LoadBalancerTlsCertificate')
|
200
|
+
LoadBalancerTlsCertificateDomainStatus = Shapes::StringShape.new(name: 'LoadBalancerTlsCertificateDomainStatus')
|
201
|
+
LoadBalancerTlsCertificateDomainValidationOption = Shapes::StructureShape.new(name: 'LoadBalancerTlsCertificateDomainValidationOption')
|
202
|
+
LoadBalancerTlsCertificateDomainValidationOptionList = Shapes::ListShape.new(name: 'LoadBalancerTlsCertificateDomainValidationOptionList')
|
203
|
+
LoadBalancerTlsCertificateDomainValidationRecord = Shapes::StructureShape.new(name: 'LoadBalancerTlsCertificateDomainValidationRecord')
|
204
|
+
LoadBalancerTlsCertificateDomainValidationRecordList = Shapes::ListShape.new(name: 'LoadBalancerTlsCertificateDomainValidationRecordList')
|
205
|
+
LoadBalancerTlsCertificateFailureReason = Shapes::StringShape.new(name: 'LoadBalancerTlsCertificateFailureReason')
|
206
|
+
LoadBalancerTlsCertificateList = Shapes::ListShape.new(name: 'LoadBalancerTlsCertificateList')
|
207
|
+
LoadBalancerTlsCertificateRenewalStatus = Shapes::StringShape.new(name: 'LoadBalancerTlsCertificateRenewalStatus')
|
208
|
+
LoadBalancerTlsCertificateRenewalSummary = Shapes::StructureShape.new(name: 'LoadBalancerTlsCertificateRenewalSummary')
|
209
|
+
LoadBalancerTlsCertificateRevocationReason = Shapes::StringShape.new(name: 'LoadBalancerTlsCertificateRevocationReason')
|
210
|
+
LoadBalancerTlsCertificateStatus = Shapes::StringShape.new(name: 'LoadBalancerTlsCertificateStatus')
|
211
|
+
LoadBalancerTlsCertificateSummary = Shapes::StructureShape.new(name: 'LoadBalancerTlsCertificateSummary')
|
212
|
+
LoadBalancerTlsCertificateSummaryList = Shapes::ListShape.new(name: 'LoadBalancerTlsCertificateSummaryList')
|
165
213
|
MetricDatapoint = Shapes::StructureShape.new(name: 'MetricDatapoint')
|
166
214
|
MetricDatapointList = Shapes::ListShape.new(name: 'MetricDatapointList')
|
167
215
|
MetricPeriod = Shapes::IntegerShape.new(name: 'MetricPeriod')
|
@@ -186,6 +234,7 @@ module Aws::Lightsail
|
|
186
234
|
PortAccessType = Shapes::StringShape.new(name: 'PortAccessType')
|
187
235
|
PortInfo = Shapes::StructureShape.new(name: 'PortInfo')
|
188
236
|
PortInfoList = Shapes::ListShape.new(name: 'PortInfoList')
|
237
|
+
PortList = Shapes::ListShape.new(name: 'PortList')
|
189
238
|
PortState = Shapes::StringShape.new(name: 'PortState')
|
190
239
|
PutInstancePublicPortsRequest = Shapes::StructureShape.new(name: 'PutInstancePublicPortsRequest')
|
191
240
|
PutInstancePublicPortsResult = Shapes::StructureShape.new(name: 'PutInstancePublicPortsResult')
|
@@ -198,6 +247,7 @@ module Aws::Lightsail
|
|
198
247
|
ReleaseStaticIpResult = Shapes::StructureShape.new(name: 'ReleaseStaticIpResult')
|
199
248
|
ResourceLocation = Shapes::StructureShape.new(name: 'ResourceLocation')
|
200
249
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
250
|
+
ResourceNameList = Shapes::ListShape.new(name: 'ResourceNameList')
|
201
251
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
202
252
|
ServiceException = Shapes::StructureShape.new(name: 'ServiceException')
|
203
253
|
StartInstanceRequest = Shapes::StructureShape.new(name: 'StartInstanceRequest')
|
@@ -207,11 +257,14 @@ module Aws::Lightsail
|
|
207
257
|
StopInstanceRequest = Shapes::StructureShape.new(name: 'StopInstanceRequest')
|
208
258
|
StopInstanceResult = Shapes::StructureShape.new(name: 'StopInstanceResult')
|
209
259
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
260
|
+
StringMax256 = Shapes::StringShape.new(name: 'StringMax256')
|
210
261
|
UnauthenticatedException = Shapes::StructureShape.new(name: 'UnauthenticatedException')
|
211
262
|
UnpeerVpcRequest = Shapes::StructureShape.new(name: 'UnpeerVpcRequest')
|
212
263
|
UnpeerVpcResult = Shapes::StructureShape.new(name: 'UnpeerVpcResult')
|
213
264
|
UpdateDomainEntryRequest = Shapes::StructureShape.new(name: 'UpdateDomainEntryRequest')
|
214
265
|
UpdateDomainEntryResult = Shapes::StructureShape.new(name: 'UpdateDomainEntryResult')
|
266
|
+
UpdateLoadBalancerAttributeRequest = Shapes::StructureShape.new(name: 'UpdateLoadBalancerAttributeRequest')
|
267
|
+
UpdateLoadBalancerAttributeResult = Shapes::StructureShape.new(name: 'UpdateLoadBalancerAttributeResult')
|
215
268
|
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
216
269
|
double = Shapes::FloatShape.new(name: 'double')
|
217
270
|
float = Shapes::FloatShape.new(name: 'float')
|
@@ -233,6 +286,20 @@ module Aws::Lightsail
|
|
233
286
|
AttachDiskResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
234
287
|
AttachDiskResult.struct_class = Types::AttachDiskResult
|
235
288
|
|
289
|
+
AttachInstancesToLoadBalancerRequest.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "loadBalancerName"))
|
290
|
+
AttachInstancesToLoadBalancerRequest.add_member(:instance_names, Shapes::ShapeRef.new(shape: ResourceNameList, required: true, location_name: "instanceNames"))
|
291
|
+
AttachInstancesToLoadBalancerRequest.struct_class = Types::AttachInstancesToLoadBalancerRequest
|
292
|
+
|
293
|
+
AttachInstancesToLoadBalancerResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
294
|
+
AttachInstancesToLoadBalancerResult.struct_class = Types::AttachInstancesToLoadBalancerResult
|
295
|
+
|
296
|
+
AttachLoadBalancerTlsCertificateRequest.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "loadBalancerName"))
|
297
|
+
AttachLoadBalancerTlsCertificateRequest.add_member(:certificate_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "certificateName"))
|
298
|
+
AttachLoadBalancerTlsCertificateRequest.struct_class = Types::AttachLoadBalancerTlsCertificateRequest
|
299
|
+
|
300
|
+
AttachLoadBalancerTlsCertificateResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
301
|
+
AttachLoadBalancerTlsCertificateResult.struct_class = Types::AttachLoadBalancerTlsCertificateResult
|
302
|
+
|
236
303
|
AttachStaticIpRequest.add_member(:static_ip_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "staticIpName"))
|
237
304
|
AttachStaticIpRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
238
305
|
AttachStaticIpRequest.struct_class = Types::AttachStaticIpRequest
|
@@ -364,6 +431,26 @@ module Aws::Lightsail
|
|
364
431
|
CreateKeyPairResult.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "operation"))
|
365
432
|
CreateKeyPairResult.struct_class = Types::CreateKeyPairResult
|
366
433
|
|
434
|
+
CreateLoadBalancerRequest.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "loadBalancerName"))
|
435
|
+
CreateLoadBalancerRequest.add_member(:instance_port, Shapes::ShapeRef.new(shape: Port, required: true, location_name: "instancePort"))
|
436
|
+
CreateLoadBalancerRequest.add_member(:health_check_path, Shapes::ShapeRef.new(shape: string, location_name: "healthCheckPath"))
|
437
|
+
CreateLoadBalancerRequest.add_member(:certificate_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "certificateName"))
|
438
|
+
CreateLoadBalancerRequest.add_member(:certificate_domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "certificateDomainName"))
|
439
|
+
CreateLoadBalancerRequest.add_member(:certificate_alternative_names, Shapes::ShapeRef.new(shape: DomainNameList, location_name: "certificateAlternativeNames"))
|
440
|
+
CreateLoadBalancerRequest.struct_class = Types::CreateLoadBalancerRequest
|
441
|
+
|
442
|
+
CreateLoadBalancerResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
443
|
+
CreateLoadBalancerResult.struct_class = Types::CreateLoadBalancerResult
|
444
|
+
|
445
|
+
CreateLoadBalancerTlsCertificateRequest.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "loadBalancerName"))
|
446
|
+
CreateLoadBalancerTlsCertificateRequest.add_member(:certificate_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "certificateName"))
|
447
|
+
CreateLoadBalancerTlsCertificateRequest.add_member(:certificate_domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "certificateDomainName"))
|
448
|
+
CreateLoadBalancerTlsCertificateRequest.add_member(:certificate_alternative_names, Shapes::ShapeRef.new(shape: DomainNameList, location_name: "certificateAlternativeNames"))
|
449
|
+
CreateLoadBalancerTlsCertificateRequest.struct_class = Types::CreateLoadBalancerTlsCertificateRequest
|
450
|
+
|
451
|
+
CreateLoadBalancerTlsCertificateResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
452
|
+
CreateLoadBalancerTlsCertificateResult.struct_class = Types::CreateLoadBalancerTlsCertificateResult
|
453
|
+
|
367
454
|
DeleteDiskRequest.add_member(:disk_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "diskName"))
|
368
455
|
DeleteDiskRequest.struct_class = Types::DeleteDiskRequest
|
369
456
|
|
@@ -407,12 +494,33 @@ module Aws::Lightsail
|
|
407
494
|
DeleteKeyPairResult.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "operation"))
|
408
495
|
DeleteKeyPairResult.struct_class = Types::DeleteKeyPairResult
|
409
496
|
|
497
|
+
DeleteLoadBalancerRequest.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "loadBalancerName"))
|
498
|
+
DeleteLoadBalancerRequest.struct_class = Types::DeleteLoadBalancerRequest
|
499
|
+
|
500
|
+
DeleteLoadBalancerResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
501
|
+
DeleteLoadBalancerResult.struct_class = Types::DeleteLoadBalancerResult
|
502
|
+
|
503
|
+
DeleteLoadBalancerTlsCertificateRequest.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "loadBalancerName"))
|
504
|
+
DeleteLoadBalancerTlsCertificateRequest.add_member(:certificate_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "certificateName"))
|
505
|
+
DeleteLoadBalancerTlsCertificateRequest.add_member(:force, Shapes::ShapeRef.new(shape: boolean, location_name: "force"))
|
506
|
+
DeleteLoadBalancerTlsCertificateRequest.struct_class = Types::DeleteLoadBalancerTlsCertificateRequest
|
507
|
+
|
508
|
+
DeleteLoadBalancerTlsCertificateResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
509
|
+
DeleteLoadBalancerTlsCertificateResult.struct_class = Types::DeleteLoadBalancerTlsCertificateResult
|
510
|
+
|
410
511
|
DetachDiskRequest.add_member(:disk_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "diskName"))
|
411
512
|
DetachDiskRequest.struct_class = Types::DetachDiskRequest
|
412
513
|
|
413
514
|
DetachDiskResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
414
515
|
DetachDiskResult.struct_class = Types::DetachDiskResult
|
415
516
|
|
517
|
+
DetachInstancesFromLoadBalancerRequest.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "loadBalancerName"))
|
518
|
+
DetachInstancesFromLoadBalancerRequest.add_member(:instance_names, Shapes::ShapeRef.new(shape: ResourceNameList, required: true, location_name: "instanceNames"))
|
519
|
+
DetachInstancesFromLoadBalancerRequest.struct_class = Types::DetachInstancesFromLoadBalancerRequest
|
520
|
+
|
521
|
+
DetachInstancesFromLoadBalancerResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
522
|
+
DetachInstancesFromLoadBalancerResult.struct_class = Types::DetachInstancesFromLoadBalancerResult
|
523
|
+
|
416
524
|
DetachStaticIpRequest.add_member(:static_ip_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "staticIpName"))
|
417
525
|
DetachStaticIpRequest.struct_class = Types::DetachStaticIpRequest
|
418
526
|
|
@@ -471,8 +579,9 @@ module Aws::Lightsail
|
|
471
579
|
DomainEntry.add_member(:id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "id"))
|
472
580
|
DomainEntry.add_member(:name, Shapes::ShapeRef.new(shape: DomainName, location_name: "name"))
|
473
581
|
DomainEntry.add_member(:target, Shapes::ShapeRef.new(shape: string, location_name: "target"))
|
582
|
+
DomainEntry.add_member(:is_alias, Shapes::ShapeRef.new(shape: boolean, location_name: "isAlias"))
|
474
583
|
DomainEntry.add_member(:type, Shapes::ShapeRef.new(shape: DomainEntryType, location_name: "type"))
|
475
|
-
DomainEntry.add_member(:options, Shapes::ShapeRef.new(shape: DomainEntryOptions, location_name: "options"))
|
584
|
+
DomainEntry.add_member(:options, Shapes::ShapeRef.new(shape: DomainEntryOptions, deprecated: true, location_name: "options"))
|
476
585
|
DomainEntry.struct_class = Types::DomainEntry
|
477
586
|
|
478
587
|
DomainEntryList.member = Shapes::ShapeRef.new(shape: DomainEntry)
|
@@ -482,6 +591,8 @@ module Aws::Lightsail
|
|
482
591
|
|
483
592
|
DomainList.member = Shapes::ShapeRef.new(shape: Domain)
|
484
593
|
|
594
|
+
DomainNameList.member = Shapes::ShapeRef.new(shape: DomainName)
|
595
|
+
|
485
596
|
DownloadDefaultKeyPairRequest.struct_class = Types::DownloadDefaultKeyPairRequest
|
486
597
|
|
487
598
|
DownloadDefaultKeyPairResult.add_member(:public_key_base_64, Shapes::ShapeRef.new(shape: Base64, location_name: "publicKeyBase64"))
|
@@ -621,6 +732,38 @@ module Aws::Lightsail
|
|
621
732
|
GetKeyPairsResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
|
622
733
|
GetKeyPairsResult.struct_class = Types::GetKeyPairsResult
|
623
734
|
|
735
|
+
GetLoadBalancerMetricDataRequest.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "loadBalancerName"))
|
736
|
+
GetLoadBalancerMetricDataRequest.add_member(:metric_name, Shapes::ShapeRef.new(shape: LoadBalancerMetricName, required: true, location_name: "metricName"))
|
737
|
+
GetLoadBalancerMetricDataRequest.add_member(:period, Shapes::ShapeRef.new(shape: MetricPeriod, required: true, location_name: "period"))
|
738
|
+
GetLoadBalancerMetricDataRequest.add_member(:start_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "startTime"))
|
739
|
+
GetLoadBalancerMetricDataRequest.add_member(:end_time, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "endTime"))
|
740
|
+
GetLoadBalancerMetricDataRequest.add_member(:unit, Shapes::ShapeRef.new(shape: MetricUnit, required: true, location_name: "unit"))
|
741
|
+
GetLoadBalancerMetricDataRequest.add_member(:statistics, Shapes::ShapeRef.new(shape: MetricStatisticList, required: true, location_name: "statistics"))
|
742
|
+
GetLoadBalancerMetricDataRequest.struct_class = Types::GetLoadBalancerMetricDataRequest
|
743
|
+
|
744
|
+
GetLoadBalancerMetricDataResult.add_member(:metric_name, Shapes::ShapeRef.new(shape: LoadBalancerMetricName, location_name: "metricName"))
|
745
|
+
GetLoadBalancerMetricDataResult.add_member(:metric_data, Shapes::ShapeRef.new(shape: MetricDatapointList, location_name: "metricData"))
|
746
|
+
GetLoadBalancerMetricDataResult.struct_class = Types::GetLoadBalancerMetricDataResult
|
747
|
+
|
748
|
+
GetLoadBalancerRequest.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "loadBalancerName"))
|
749
|
+
GetLoadBalancerRequest.struct_class = Types::GetLoadBalancerRequest
|
750
|
+
|
751
|
+
GetLoadBalancerResult.add_member(:load_balancer, Shapes::ShapeRef.new(shape: LoadBalancer, location_name: "loadBalancer"))
|
752
|
+
GetLoadBalancerResult.struct_class = Types::GetLoadBalancerResult
|
753
|
+
|
754
|
+
GetLoadBalancerTlsCertificatesRequest.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "loadBalancerName"))
|
755
|
+
GetLoadBalancerTlsCertificatesRequest.struct_class = Types::GetLoadBalancerTlsCertificatesRequest
|
756
|
+
|
757
|
+
GetLoadBalancerTlsCertificatesResult.add_member(:tls_certificates, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateList, location_name: "tlsCertificates"))
|
758
|
+
GetLoadBalancerTlsCertificatesResult.struct_class = Types::GetLoadBalancerTlsCertificatesResult
|
759
|
+
|
760
|
+
GetLoadBalancersRequest.add_member(:page_token, Shapes::ShapeRef.new(shape: string, location_name: "pageToken"))
|
761
|
+
GetLoadBalancersRequest.struct_class = Types::GetLoadBalancersRequest
|
762
|
+
|
763
|
+
GetLoadBalancersResult.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancerList, location_name: "loadBalancers"))
|
764
|
+
GetLoadBalancersResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
|
765
|
+
GetLoadBalancersResult.struct_class = Types::GetLoadBalancersResult
|
766
|
+
|
624
767
|
GetOperationRequest.add_member(:operation_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "operationId"))
|
625
768
|
GetOperationRequest.struct_class = Types::GetOperationRequest
|
626
769
|
|
@@ -705,6 +848,13 @@ module Aws::Lightsail
|
|
705
848
|
InstanceHardware.add_member(:ram_size_in_gb, Shapes::ShapeRef.new(shape: float, location_name: "ramSizeInGb"))
|
706
849
|
InstanceHardware.struct_class = Types::InstanceHardware
|
707
850
|
|
851
|
+
InstanceHealthSummary.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "instanceName"))
|
852
|
+
InstanceHealthSummary.add_member(:instance_health, Shapes::ShapeRef.new(shape: InstanceHealthState, location_name: "instanceHealth"))
|
853
|
+
InstanceHealthSummary.add_member(:instance_health_reason, Shapes::ShapeRef.new(shape: InstanceHealthReason, location_name: "instanceHealthReason"))
|
854
|
+
InstanceHealthSummary.struct_class = Types::InstanceHealthSummary
|
855
|
+
|
856
|
+
InstanceHealthSummaryList.member = Shapes::ShapeRef.new(shape: InstanceHealthSummary)
|
857
|
+
|
708
858
|
InstanceList.member = Shapes::ShapeRef.new(shape: Instance)
|
709
859
|
|
710
860
|
InstanceNetworking.add_member(:monthly_transfer, Shapes::ShapeRef.new(shape: MonthlyTransfer, location_name: "monthlyTransfer"))
|
@@ -770,6 +920,81 @@ module Aws::Lightsail
|
|
770
920
|
|
771
921
|
KeyPairList.member = Shapes::ShapeRef.new(shape: KeyPair)
|
772
922
|
|
923
|
+
LoadBalancer.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
924
|
+
LoadBalancer.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
|
925
|
+
LoadBalancer.add_member(:support_code, Shapes::ShapeRef.new(shape: string, location_name: "supportCode"))
|
926
|
+
LoadBalancer.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
|
927
|
+
LoadBalancer.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, location_name: "location"))
|
928
|
+
LoadBalancer.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
929
|
+
LoadBalancer.add_member(:dns_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "dnsName"))
|
930
|
+
LoadBalancer.add_member(:state, Shapes::ShapeRef.new(shape: LoadBalancerState, location_name: "state"))
|
931
|
+
LoadBalancer.add_member(:protocol, Shapes::ShapeRef.new(shape: LoadBalancerProtocol, location_name: "protocol"))
|
932
|
+
LoadBalancer.add_member(:public_ports, Shapes::ShapeRef.new(shape: PortList, location_name: "publicPorts"))
|
933
|
+
LoadBalancer.add_member(:health_check_path, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "healthCheckPath"))
|
934
|
+
LoadBalancer.add_member(:instance_port, Shapes::ShapeRef.new(shape: integer, location_name: "instancePort"))
|
935
|
+
LoadBalancer.add_member(:instance_health_summary, Shapes::ShapeRef.new(shape: InstanceHealthSummaryList, location_name: "instanceHealthSummary"))
|
936
|
+
LoadBalancer.add_member(:tls_certificate_summaries, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateSummaryList, location_name: "tlsCertificateSummaries"))
|
937
|
+
LoadBalancer.add_member(:configuration_options, Shapes::ShapeRef.new(shape: LoadBalancerConfigurationOptions, location_name: "configurationOptions"))
|
938
|
+
LoadBalancer.struct_class = Types::LoadBalancer
|
939
|
+
|
940
|
+
LoadBalancerConfigurationOptions.key = Shapes::ShapeRef.new(shape: LoadBalancerAttributeName)
|
941
|
+
LoadBalancerConfigurationOptions.value = Shapes::ShapeRef.new(shape: string)
|
942
|
+
|
943
|
+
LoadBalancerList.member = Shapes::ShapeRef.new(shape: LoadBalancer)
|
944
|
+
|
945
|
+
LoadBalancerTlsCertificate.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
946
|
+
LoadBalancerTlsCertificate.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
|
947
|
+
LoadBalancerTlsCertificate.add_member(:support_code, Shapes::ShapeRef.new(shape: string, location_name: "supportCode"))
|
948
|
+
LoadBalancerTlsCertificate.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
|
949
|
+
LoadBalancerTlsCertificate.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, location_name: "location"))
|
950
|
+
LoadBalancerTlsCertificate.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
951
|
+
LoadBalancerTlsCertificate.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "loadBalancerName"))
|
952
|
+
LoadBalancerTlsCertificate.add_member(:is_attached, Shapes::ShapeRef.new(shape: boolean, location_name: "isAttached"))
|
953
|
+
LoadBalancerTlsCertificate.add_member(:status, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateStatus, location_name: "status"))
|
954
|
+
LoadBalancerTlsCertificate.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
|
955
|
+
LoadBalancerTlsCertificate.add_member(:domain_validation_records, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateDomainValidationRecordList, location_name: "domainValidationRecords"))
|
956
|
+
LoadBalancerTlsCertificate.add_member(:failure_reason, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateFailureReason, location_name: "failureReason"))
|
957
|
+
LoadBalancerTlsCertificate.add_member(:issued_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "issuedAt"))
|
958
|
+
LoadBalancerTlsCertificate.add_member(:issuer, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "issuer"))
|
959
|
+
LoadBalancerTlsCertificate.add_member(:key_algorithm, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "keyAlgorithm"))
|
960
|
+
LoadBalancerTlsCertificate.add_member(:not_after, Shapes::ShapeRef.new(shape: IsoDate, location_name: "notAfter"))
|
961
|
+
LoadBalancerTlsCertificate.add_member(:not_before, Shapes::ShapeRef.new(shape: IsoDate, location_name: "notBefore"))
|
962
|
+
LoadBalancerTlsCertificate.add_member(:renewal_summary, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateRenewalSummary, location_name: "renewalSummary"))
|
963
|
+
LoadBalancerTlsCertificate.add_member(:revocation_reason, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateRevocationReason, location_name: "revocationReason"))
|
964
|
+
LoadBalancerTlsCertificate.add_member(:revoked_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "revokedAt"))
|
965
|
+
LoadBalancerTlsCertificate.add_member(:serial, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "serial"))
|
966
|
+
LoadBalancerTlsCertificate.add_member(:signature_algorithm, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "signatureAlgorithm"))
|
967
|
+
LoadBalancerTlsCertificate.add_member(:subject, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "subject"))
|
968
|
+
LoadBalancerTlsCertificate.add_member(:subject_alternative_names, Shapes::ShapeRef.new(shape: StringList, location_name: "subjectAlternativeNames"))
|
969
|
+
LoadBalancerTlsCertificate.struct_class = Types::LoadBalancerTlsCertificate
|
970
|
+
|
971
|
+
LoadBalancerTlsCertificateDomainValidationOption.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
|
972
|
+
LoadBalancerTlsCertificateDomainValidationOption.add_member(:validation_status, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateDomainStatus, location_name: "validationStatus"))
|
973
|
+
LoadBalancerTlsCertificateDomainValidationOption.struct_class = Types::LoadBalancerTlsCertificateDomainValidationOption
|
974
|
+
|
975
|
+
LoadBalancerTlsCertificateDomainValidationOptionList.member = Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateDomainValidationOption)
|
976
|
+
|
977
|
+
LoadBalancerTlsCertificateDomainValidationRecord.add_member(:name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "name"))
|
978
|
+
LoadBalancerTlsCertificateDomainValidationRecord.add_member(:type, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "type"))
|
979
|
+
LoadBalancerTlsCertificateDomainValidationRecord.add_member(:value, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "value"))
|
980
|
+
LoadBalancerTlsCertificateDomainValidationRecord.add_member(:validation_status, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateDomainStatus, location_name: "validationStatus"))
|
981
|
+
LoadBalancerTlsCertificateDomainValidationRecord.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "domainName"))
|
982
|
+
LoadBalancerTlsCertificateDomainValidationRecord.struct_class = Types::LoadBalancerTlsCertificateDomainValidationRecord
|
983
|
+
|
984
|
+
LoadBalancerTlsCertificateDomainValidationRecordList.member = Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateDomainValidationRecord)
|
985
|
+
|
986
|
+
LoadBalancerTlsCertificateList.member = Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificate)
|
987
|
+
|
988
|
+
LoadBalancerTlsCertificateRenewalSummary.add_member(:renewal_status, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateRenewalStatus, location_name: "renewalStatus"))
|
989
|
+
LoadBalancerTlsCertificateRenewalSummary.add_member(:domain_validation_options, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateDomainValidationOptionList, location_name: "domainValidationOptions"))
|
990
|
+
LoadBalancerTlsCertificateRenewalSummary.struct_class = Types::LoadBalancerTlsCertificateRenewalSummary
|
991
|
+
|
992
|
+
LoadBalancerTlsCertificateSummary.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
993
|
+
LoadBalancerTlsCertificateSummary.add_member(:is_attached, Shapes::ShapeRef.new(shape: boolean, location_name: "isAttached"))
|
994
|
+
LoadBalancerTlsCertificateSummary.struct_class = Types::LoadBalancerTlsCertificateSummary
|
995
|
+
|
996
|
+
LoadBalancerTlsCertificateSummaryList.member = Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateSummary)
|
997
|
+
|
773
998
|
MetricDatapoint.add_member(:average, Shapes::ShapeRef.new(shape: double, location_name: "average"))
|
774
999
|
MetricDatapoint.add_member(:maximum, Shapes::ShapeRef.new(shape: double, location_name: "maximum"))
|
775
1000
|
MetricDatapoint.add_member(:minimum, Shapes::ShapeRef.new(shape: double, location_name: "minimum"))
|
@@ -825,6 +1050,8 @@ module Aws::Lightsail
|
|
825
1050
|
|
826
1051
|
PortInfoList.member = Shapes::ShapeRef.new(shape: PortInfo)
|
827
1052
|
|
1053
|
+
PortList.member = Shapes::ShapeRef.new(shape: Port)
|
1054
|
+
|
828
1055
|
PutInstancePublicPortsRequest.add_member(:port_infos, Shapes::ShapeRef.new(shape: PortInfoList, required: true, location_name: "portInfos"))
|
829
1056
|
PutInstancePublicPortsRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
830
1057
|
PutInstancePublicPortsRequest.struct_class = Types::PutInstancePublicPortsRequest
|
@@ -857,6 +1084,8 @@ module Aws::Lightsail
|
|
857
1084
|
ResourceLocation.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "regionName"))
|
858
1085
|
ResourceLocation.struct_class = Types::ResourceLocation
|
859
1086
|
|
1087
|
+
ResourceNameList.member = Shapes::ShapeRef.new(shape: ResourceName)
|
1088
|
+
|
860
1089
|
StartInstanceRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
861
1090
|
StartInstanceRequest.struct_class = Types::StartInstanceRequest
|
862
1091
|
|
@@ -897,6 +1126,14 @@ module Aws::Lightsail
|
|
897
1126
|
UpdateDomainEntryResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
898
1127
|
UpdateDomainEntryResult.struct_class = Types::UpdateDomainEntryResult
|
899
1128
|
|
1129
|
+
UpdateLoadBalancerAttributeRequest.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "loadBalancerName"))
|
1130
|
+
UpdateLoadBalancerAttributeRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: LoadBalancerAttributeName, required: true, location_name: "attributeName"))
|
1131
|
+
UpdateLoadBalancerAttributeRequest.add_member(:attribute_value, Shapes::ShapeRef.new(shape: StringMax256, required: true, location_name: "attributeValue"))
|
1132
|
+
UpdateLoadBalancerAttributeRequest.struct_class = Types::UpdateLoadBalancerAttributeRequest
|
1133
|
+
|
1134
|
+
UpdateLoadBalancerAttributeResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
1135
|
+
UpdateLoadBalancerAttributeResult.struct_class = Types::UpdateLoadBalancerAttributeResult
|
1136
|
+
|
900
1137
|
|
901
1138
|
# @api private
|
902
1139
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -942,6 +1179,36 @@ module Aws::Lightsail
|
|
942
1179
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
943
1180
|
end)
|
944
1181
|
|
1182
|
+
api.add_operation(:attach_instances_to_load_balancer, Seahorse::Model::Operation.new.tap do |o|
|
1183
|
+
o.name = "AttachInstancesToLoadBalancer"
|
1184
|
+
o.http_method = "POST"
|
1185
|
+
o.http_request_uri = "/"
|
1186
|
+
o.input = Shapes::ShapeRef.new(shape: AttachInstancesToLoadBalancerRequest)
|
1187
|
+
o.output = Shapes::ShapeRef.new(shape: AttachInstancesToLoadBalancerResult)
|
1188
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1189
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1190
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1191
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
1192
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1193
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
1194
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1195
|
+
end)
|
1196
|
+
|
1197
|
+
api.add_operation(:attach_load_balancer_tls_certificate, Seahorse::Model::Operation.new.tap do |o|
|
1198
|
+
o.name = "AttachLoadBalancerTlsCertificate"
|
1199
|
+
o.http_method = "POST"
|
1200
|
+
o.http_request_uri = "/"
|
1201
|
+
o.input = Shapes::ShapeRef.new(shape: AttachLoadBalancerTlsCertificateRequest)
|
1202
|
+
o.output = Shapes::ShapeRef.new(shape: AttachLoadBalancerTlsCertificateResult)
|
1203
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1204
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1205
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1206
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
1207
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1208
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
1209
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1210
|
+
end)
|
1211
|
+
|
945
1212
|
api.add_operation(:attach_static_ip, Seahorse::Model::Operation.new.tap do |o|
|
946
1213
|
o.name = "AttachStaticIp"
|
947
1214
|
o.http_method = "POST"
|
@@ -1107,6 +1374,36 @@ module Aws::Lightsail
|
|
1107
1374
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1108
1375
|
end)
|
1109
1376
|
|
1377
|
+
api.add_operation(:create_load_balancer, Seahorse::Model::Operation.new.tap do |o|
|
1378
|
+
o.name = "CreateLoadBalancer"
|
1379
|
+
o.http_method = "POST"
|
1380
|
+
o.http_request_uri = "/"
|
1381
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLoadBalancerRequest)
|
1382
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLoadBalancerResult)
|
1383
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1384
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1385
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1386
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
1387
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1388
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
1389
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1390
|
+
end)
|
1391
|
+
|
1392
|
+
api.add_operation(:create_load_balancer_tls_certificate, Seahorse::Model::Operation.new.tap do |o|
|
1393
|
+
o.name = "CreateLoadBalancerTlsCertificate"
|
1394
|
+
o.http_method = "POST"
|
1395
|
+
o.http_request_uri = "/"
|
1396
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLoadBalancerTlsCertificateRequest)
|
1397
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLoadBalancerTlsCertificateResult)
|
1398
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1399
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1400
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1401
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
1402
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1403
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
1404
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1405
|
+
end)
|
1406
|
+
|
1110
1407
|
api.add_operation(:delete_disk, Seahorse::Model::Operation.new.tap do |o|
|
1111
1408
|
o.name = "DeleteDisk"
|
1112
1409
|
o.http_method = "POST"
|
@@ -1212,6 +1509,36 @@ module Aws::Lightsail
|
|
1212
1509
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1213
1510
|
end)
|
1214
1511
|
|
1512
|
+
api.add_operation(:delete_load_balancer, Seahorse::Model::Operation.new.tap do |o|
|
1513
|
+
o.name = "DeleteLoadBalancer"
|
1514
|
+
o.http_method = "POST"
|
1515
|
+
o.http_request_uri = "/"
|
1516
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLoadBalancerRequest)
|
1517
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteLoadBalancerResult)
|
1518
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1519
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1520
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1521
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
1522
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1523
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
1524
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1525
|
+
end)
|
1526
|
+
|
1527
|
+
api.add_operation(:delete_load_balancer_tls_certificate, Seahorse::Model::Operation.new.tap do |o|
|
1528
|
+
o.name = "DeleteLoadBalancerTlsCertificate"
|
1529
|
+
o.http_method = "POST"
|
1530
|
+
o.http_request_uri = "/"
|
1531
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLoadBalancerTlsCertificateRequest)
|
1532
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteLoadBalancerTlsCertificateResult)
|
1533
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1534
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1535
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1536
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
1537
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1538
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
1539
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1540
|
+
end)
|
1541
|
+
|
1215
1542
|
api.add_operation(:detach_disk, Seahorse::Model::Operation.new.tap do |o|
|
1216
1543
|
o.name = "DetachDisk"
|
1217
1544
|
o.http_method = "POST"
|
@@ -1227,6 +1554,21 @@ module Aws::Lightsail
|
|
1227
1554
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1228
1555
|
end)
|
1229
1556
|
|
1557
|
+
api.add_operation(:detach_instances_from_load_balancer, Seahorse::Model::Operation.new.tap do |o|
|
1558
|
+
o.name = "DetachInstancesFromLoadBalancer"
|
1559
|
+
o.http_method = "POST"
|
1560
|
+
o.http_request_uri = "/"
|
1561
|
+
o.input = Shapes::ShapeRef.new(shape: DetachInstancesFromLoadBalancerRequest)
|
1562
|
+
o.output = Shapes::ShapeRef.new(shape: DetachInstancesFromLoadBalancerResult)
|
1563
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1564
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1565
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1566
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
1567
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1568
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
1569
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1570
|
+
end)
|
1571
|
+
|
1230
1572
|
api.add_operation(:detach_static_ip, Seahorse::Model::Operation.new.tap do |o|
|
1231
1573
|
o.name = "DetachStaticIp"
|
1232
1574
|
o.http_method = "POST"
|
@@ -1542,6 +1884,66 @@ module Aws::Lightsail
|
|
1542
1884
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1543
1885
|
end)
|
1544
1886
|
|
1887
|
+
api.add_operation(:get_load_balancer, Seahorse::Model::Operation.new.tap do |o|
|
1888
|
+
o.name = "GetLoadBalancer"
|
1889
|
+
o.http_method = "POST"
|
1890
|
+
o.http_request_uri = "/"
|
1891
|
+
o.input = Shapes::ShapeRef.new(shape: GetLoadBalancerRequest)
|
1892
|
+
o.output = Shapes::ShapeRef.new(shape: GetLoadBalancerResult)
|
1893
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1894
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1895
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1896
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
1897
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1898
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
1899
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1900
|
+
end)
|
1901
|
+
|
1902
|
+
api.add_operation(:get_load_balancer_metric_data, Seahorse::Model::Operation.new.tap do |o|
|
1903
|
+
o.name = "GetLoadBalancerMetricData"
|
1904
|
+
o.http_method = "POST"
|
1905
|
+
o.http_request_uri = "/"
|
1906
|
+
o.input = Shapes::ShapeRef.new(shape: GetLoadBalancerMetricDataRequest)
|
1907
|
+
o.output = Shapes::ShapeRef.new(shape: GetLoadBalancerMetricDataResult)
|
1908
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1909
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1910
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1911
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
1912
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1913
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
1914
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1915
|
+
end)
|
1916
|
+
|
1917
|
+
api.add_operation(:get_load_balancer_tls_certificates, Seahorse::Model::Operation.new.tap do |o|
|
1918
|
+
o.name = "GetLoadBalancerTlsCertificates"
|
1919
|
+
o.http_method = "POST"
|
1920
|
+
o.http_request_uri = "/"
|
1921
|
+
o.input = Shapes::ShapeRef.new(shape: GetLoadBalancerTlsCertificatesRequest)
|
1922
|
+
o.output = Shapes::ShapeRef.new(shape: GetLoadBalancerTlsCertificatesResult)
|
1923
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1924
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1925
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1926
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
1927
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1928
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
1929
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1930
|
+
end)
|
1931
|
+
|
1932
|
+
api.add_operation(:get_load_balancers, Seahorse::Model::Operation.new.tap do |o|
|
1933
|
+
o.name = "GetLoadBalancers"
|
1934
|
+
o.http_method = "POST"
|
1935
|
+
o.http_request_uri = "/"
|
1936
|
+
o.input = Shapes::ShapeRef.new(shape: GetLoadBalancersRequest)
|
1937
|
+
o.output = Shapes::ShapeRef.new(shape: GetLoadBalancersResult)
|
1938
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
1939
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
1940
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
1941
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
1942
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1943
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
1944
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1945
|
+
end)
|
1946
|
+
|
1545
1947
|
api.add_operation(:get_operation, Seahorse::Model::Operation.new.tap do |o|
|
1546
1948
|
o.name = "GetOperation"
|
1547
1949
|
o.http_method = "POST"
|
@@ -1796,6 +2198,21 @@ module Aws::Lightsail
|
|
1796
2198
|
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
1797
2199
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
1798
2200
|
end)
|
2201
|
+
|
2202
|
+
api.add_operation(:update_load_balancer_attribute, Seahorse::Model::Operation.new.tap do |o|
|
2203
|
+
o.name = "UpdateLoadBalancerAttribute"
|
2204
|
+
o.http_method = "POST"
|
2205
|
+
o.http_request_uri = "/"
|
2206
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateLoadBalancerAttributeRequest)
|
2207
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateLoadBalancerAttributeResult)
|
2208
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2209
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
2210
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2211
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
2212
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2213
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
2214
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
2215
|
+
end)
|
1799
2216
|
end
|
1800
2217
|
|
1801
2218
|
end
|