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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 36d6f183ac23f03ddec30bd869cf42d9b36b528f
|
4
|
+
data.tar.gz: 2c0589292d48b0992f1e778a69efd70bf033c99c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b10c27adb2e308df82748481098985b01560d9fa27fbbc7089ad6b991345fe72d5f8f8568efad1365ea72f3114e77b2ef73d90627884dcad9e4593821e4d2f0
|
7
|
+
data.tar.gz: a7a782de5b08f80672691790fdc992663935c9d8bca5498986ff871ffaae8aa46eff862ba24c28f6a48bd1bbfbd2a92db94bb8f6be257ed24e13d1d3ef177463
|
data/lib/aws-sdk-lightsail.rb
CHANGED
@@ -175,13 +175,13 @@ module Aws::Lightsail
|
|
175
175
|
# resp.operations #=> Array
|
176
176
|
# resp.operations[0].id #=> String
|
177
177
|
# resp.operations[0].resource_name #=> String
|
178
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
178
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
179
179
|
# resp.operations[0].created_at #=> Time
|
180
180
|
# resp.operations[0].location.availability_zone #=> String
|
181
181
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
182
182
|
# resp.operations[0].is_terminal #=> Boolean
|
183
183
|
# resp.operations[0].operation_details #=> String
|
184
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
184
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
185
185
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
186
186
|
# resp.operations[0].status_changed_at #=> Time
|
187
187
|
# resp.operations[0].error_code #=> String
|
@@ -226,13 +226,13 @@ module Aws::Lightsail
|
|
226
226
|
# resp.operations #=> Array
|
227
227
|
# resp.operations[0].id #=> String
|
228
228
|
# resp.operations[0].resource_name #=> String
|
229
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
229
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
230
230
|
# resp.operations[0].created_at #=> Time
|
231
231
|
# resp.operations[0].location.availability_zone #=> String
|
232
232
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
233
233
|
# resp.operations[0].is_terminal #=> Boolean
|
234
234
|
# resp.operations[0].operation_details #=> String
|
235
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
235
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
236
236
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
237
237
|
# resp.operations[0].status_changed_at #=> Time
|
238
238
|
# resp.operations[0].error_code #=> String
|
@@ -247,6 +247,102 @@ module Aws::Lightsail
|
|
247
247
|
req.send_request(options)
|
248
248
|
end
|
249
249
|
|
250
|
+
# Attaches one or more Lightsail instances to a load balancer.
|
251
|
+
#
|
252
|
+
# @option params [required, String] :load_balancer_name
|
253
|
+
# The name of the load balancer.
|
254
|
+
#
|
255
|
+
# @option params [required, Array<String>] :instance_names
|
256
|
+
# An array of strings representing the instance name(s) you want to
|
257
|
+
# attach to your load balancer.
|
258
|
+
#
|
259
|
+
# @return [Types::AttachInstancesToLoadBalancerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
260
|
+
#
|
261
|
+
# * {Types::AttachInstancesToLoadBalancerResult#operations #operations} => Array<Types::Operation>
|
262
|
+
#
|
263
|
+
# @example Request syntax with placeholder values
|
264
|
+
#
|
265
|
+
# resp = client.attach_instances_to_load_balancer({
|
266
|
+
# load_balancer_name: "ResourceName", # required
|
267
|
+
# instance_names: ["ResourceName"], # required
|
268
|
+
# })
|
269
|
+
#
|
270
|
+
# @example Response structure
|
271
|
+
#
|
272
|
+
# resp.operations #=> Array
|
273
|
+
# resp.operations[0].id #=> String
|
274
|
+
# resp.operations[0].resource_name #=> String
|
275
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
276
|
+
# resp.operations[0].created_at #=> Time
|
277
|
+
# resp.operations[0].location.availability_zone #=> String
|
278
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
279
|
+
# resp.operations[0].is_terminal #=> Boolean
|
280
|
+
# resp.operations[0].operation_details #=> String
|
281
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
282
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
283
|
+
# resp.operations[0].status_changed_at #=> Time
|
284
|
+
# resp.operations[0].error_code #=> String
|
285
|
+
# resp.operations[0].error_details #=> String
|
286
|
+
#
|
287
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachInstancesToLoadBalancer AWS API Documentation
|
288
|
+
#
|
289
|
+
# @overload attach_instances_to_load_balancer(params = {})
|
290
|
+
# @param [Hash] params ({})
|
291
|
+
def attach_instances_to_load_balancer(params = {}, options = {})
|
292
|
+
req = build_request(:attach_instances_to_load_balancer, params)
|
293
|
+
req.send_request(options)
|
294
|
+
end
|
295
|
+
|
296
|
+
# Attaches a Transport Layer Security (TLS) certificate to your load
|
297
|
+
# balancer.
|
298
|
+
#
|
299
|
+
# TLS is just an updated, more secure version of Secure Socket Layer
|
300
|
+
# (SSL).
|
301
|
+
#
|
302
|
+
# @option params [required, String] :load_balancer_name
|
303
|
+
# The name of the load balancer to which you want to associate the
|
304
|
+
# TLS/SSL certificate.
|
305
|
+
#
|
306
|
+
# @option params [required, String] :certificate_name
|
307
|
+
# The name of your TLS/SSL certificate.
|
308
|
+
#
|
309
|
+
# @return [Types::AttachLoadBalancerTlsCertificateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
310
|
+
#
|
311
|
+
# * {Types::AttachLoadBalancerTlsCertificateResult#operations #operations} => Array<Types::Operation>
|
312
|
+
#
|
313
|
+
# @example Request syntax with placeholder values
|
314
|
+
#
|
315
|
+
# resp = client.attach_load_balancer_tls_certificate({
|
316
|
+
# load_balancer_name: "ResourceName", # required
|
317
|
+
# certificate_name: "ResourceName", # required
|
318
|
+
# })
|
319
|
+
#
|
320
|
+
# @example Response structure
|
321
|
+
#
|
322
|
+
# resp.operations #=> Array
|
323
|
+
# resp.operations[0].id #=> String
|
324
|
+
# resp.operations[0].resource_name #=> String
|
325
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
326
|
+
# resp.operations[0].created_at #=> Time
|
327
|
+
# resp.operations[0].location.availability_zone #=> String
|
328
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
329
|
+
# resp.operations[0].is_terminal #=> Boolean
|
330
|
+
# resp.operations[0].operation_details #=> String
|
331
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
332
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
333
|
+
# resp.operations[0].status_changed_at #=> Time
|
334
|
+
# resp.operations[0].error_code #=> String
|
335
|
+
# resp.operations[0].error_details #=> String
|
336
|
+
#
|
337
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachLoadBalancerTlsCertificate AWS API Documentation
|
338
|
+
#
|
339
|
+
# @overload attach_load_balancer_tls_certificate(params = {})
|
340
|
+
# @param [Hash] params ({})
|
341
|
+
def attach_load_balancer_tls_certificate(params = {}, options = {})
|
342
|
+
req = build_request(:attach_load_balancer_tls_certificate, params)
|
343
|
+
req.send_request(options)
|
344
|
+
end
|
345
|
+
|
250
346
|
# Attaches a static IP address to a specific Amazon Lightsail instance.
|
251
347
|
#
|
252
348
|
# @option params [required, String] :static_ip_name
|
@@ -271,13 +367,13 @@ module Aws::Lightsail
|
|
271
367
|
# resp.operations #=> Array
|
272
368
|
# resp.operations[0].id #=> String
|
273
369
|
# resp.operations[0].resource_name #=> String
|
274
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
370
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
275
371
|
# resp.operations[0].created_at #=> Time
|
276
372
|
# resp.operations[0].location.availability_zone #=> String
|
277
373
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
278
374
|
# resp.operations[0].is_terminal #=> Boolean
|
279
375
|
# resp.operations[0].operation_details #=> String
|
280
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
376
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
281
377
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
282
378
|
# resp.operations[0].status_changed_at #=> Time
|
283
379
|
# resp.operations[0].error_code #=> String
|
@@ -320,13 +416,13 @@ module Aws::Lightsail
|
|
320
416
|
#
|
321
417
|
# resp.operation.id #=> String
|
322
418
|
# resp.operation.resource_name #=> String
|
323
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
419
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
324
420
|
# resp.operation.created_at #=> Time
|
325
421
|
# resp.operation.location.availability_zone #=> String
|
326
422
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
327
423
|
# resp.operation.is_terminal #=> Boolean
|
328
424
|
# resp.operation.operation_details #=> String
|
329
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
425
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
330
426
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
331
427
|
# resp.operation.status_changed_at #=> Time
|
332
428
|
# resp.operation.error_code #=> String
|
@@ -382,13 +478,13 @@ module Aws::Lightsail
|
|
382
478
|
# resp.operations #=> Array
|
383
479
|
# resp.operations[0].id #=> String
|
384
480
|
# resp.operations[0].resource_name #=> String
|
385
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
481
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
386
482
|
# resp.operations[0].created_at #=> Time
|
387
483
|
# resp.operations[0].location.availability_zone #=> String
|
388
484
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
389
485
|
# resp.operations[0].is_terminal #=> Boolean
|
390
486
|
# resp.operations[0].operation_details #=> String
|
391
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
487
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
392
488
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
393
489
|
# resp.operations[0].status_changed_at #=> Time
|
394
490
|
# resp.operations[0].error_code #=> String
|
@@ -449,13 +545,13 @@ module Aws::Lightsail
|
|
449
545
|
# resp.operations #=> Array
|
450
546
|
# resp.operations[0].id #=> String
|
451
547
|
# resp.operations[0].resource_name #=> String
|
452
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
548
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
453
549
|
# resp.operations[0].created_at #=> Time
|
454
550
|
# resp.operations[0].location.availability_zone #=> String
|
455
551
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
456
552
|
# resp.operations[0].is_terminal #=> Boolean
|
457
553
|
# resp.operations[0].operation_details #=> String
|
458
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
554
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
459
555
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
460
556
|
# resp.operations[0].status_changed_at #=> Time
|
461
557
|
# resp.operations[0].error_code #=> String
|
@@ -509,13 +605,13 @@ module Aws::Lightsail
|
|
509
605
|
# resp.operations #=> Array
|
510
606
|
# resp.operations[0].id #=> String
|
511
607
|
# resp.operations[0].resource_name #=> String
|
512
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
608
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
513
609
|
# resp.operations[0].created_at #=> Time
|
514
610
|
# resp.operations[0].location.availability_zone #=> String
|
515
611
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
516
612
|
# resp.operations[0].is_terminal #=> Boolean
|
517
613
|
# resp.operations[0].operation_details #=> String
|
518
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
614
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
519
615
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
520
616
|
# resp.operations[0].status_changed_at #=> Time
|
521
617
|
# resp.operations[0].error_code #=> String
|
@@ -557,13 +653,13 @@ module Aws::Lightsail
|
|
557
653
|
#
|
558
654
|
# resp.operation.id #=> String
|
559
655
|
# resp.operation.resource_name #=> String
|
560
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
656
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
561
657
|
# resp.operation.created_at #=> Time
|
562
658
|
# resp.operation.location.availability_zone #=> String
|
563
659
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
564
660
|
# resp.operation.is_terminal #=> Boolean
|
565
661
|
# resp.operation.operation_details #=> String
|
566
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
662
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
567
663
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
568
664
|
# resp.operation.status_changed_at #=> Time
|
569
665
|
# resp.operation.error_code #=> String
|
@@ -601,6 +697,7 @@ module Aws::Lightsail
|
|
601
697
|
# id: "NonEmptyString",
|
602
698
|
# name: "DomainName",
|
603
699
|
# target: "string",
|
700
|
+
# is_alias: false,
|
604
701
|
# type: "DomainEntryType",
|
605
702
|
# options: {
|
606
703
|
# "DomainEntryOptionsKeys" => "string",
|
@@ -612,13 +709,13 @@ module Aws::Lightsail
|
|
612
709
|
#
|
613
710
|
# resp.operation.id #=> String
|
614
711
|
# resp.operation.resource_name #=> String
|
615
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
712
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
616
713
|
# resp.operation.created_at #=> Time
|
617
714
|
# resp.operation.location.availability_zone #=> String
|
618
715
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
619
716
|
# resp.operation.is_terminal #=> Boolean
|
620
717
|
# resp.operation.operation_details #=> String
|
621
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
718
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
622
719
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
623
720
|
# resp.operation.status_changed_at #=> Time
|
624
721
|
# resp.operation.error_code #=> String
|
@@ -659,13 +756,13 @@ module Aws::Lightsail
|
|
659
756
|
# resp.operations #=> Array
|
660
757
|
# resp.operations[0].id #=> String
|
661
758
|
# resp.operations[0].resource_name #=> String
|
662
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
759
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
663
760
|
# resp.operations[0].created_at #=> Time
|
664
761
|
# resp.operations[0].location.availability_zone #=> String
|
665
762
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
666
763
|
# resp.operations[0].is_terminal #=> Boolean
|
667
764
|
# resp.operations[0].operation_details #=> String
|
668
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
765
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
669
766
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
670
767
|
# resp.operations[0].status_changed_at #=> Time
|
671
768
|
# resp.operations[0].error_code #=> String
|
@@ -718,7 +815,7 @@ module Aws::Lightsail
|
|
718
815
|
#
|
719
816
|
# @option params [String] :user_data
|
720
817
|
# A launch script you can create that configures a server with
|
721
|
-
# additional user data. For example, you might want to run `apt-get
|
818
|
+
# additional user data. For example, you might want to run `apt-get -y
|
722
819
|
# update`.
|
723
820
|
#
|
724
821
|
# <note markdown="1"> Depending on the machine image you choose, the command to get software
|
@@ -756,13 +853,13 @@ module Aws::Lightsail
|
|
756
853
|
# resp.operations #=> Array
|
757
854
|
# resp.operations[0].id #=> String
|
758
855
|
# resp.operations[0].resource_name #=> String
|
759
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
856
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
760
857
|
# resp.operations[0].created_at #=> Time
|
761
858
|
# resp.operations[0].location.availability_zone #=> String
|
762
859
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
763
860
|
# resp.operations[0].is_terminal #=> Boolean
|
764
861
|
# resp.operations[0].operation_details #=> String
|
765
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
862
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
766
863
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
767
864
|
# resp.operations[0].status_changed_at #=> Time
|
768
865
|
# resp.operations[0].error_code #=> String
|
@@ -809,7 +906,7 @@ module Aws::Lightsail
|
|
809
906
|
#
|
810
907
|
# @option params [String] :user_data
|
811
908
|
# You can create a launch script that configures a server with
|
812
|
-
# additional user data. For example, `apt-get
|
909
|
+
# additional user data. For example, `apt-get -y update`.
|
813
910
|
#
|
814
911
|
# <note markdown="1"> Depending on the machine image you choose, the command to get software
|
815
912
|
# on your instance varies. Amazon Linux and CentOS use `yum`, Debian and
|
@@ -853,13 +950,13 @@ module Aws::Lightsail
|
|
853
950
|
# resp.operations #=> Array
|
854
951
|
# resp.operations[0].id #=> String
|
855
952
|
# resp.operations[0].resource_name #=> String
|
856
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
953
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
857
954
|
# resp.operations[0].created_at #=> Time
|
858
955
|
# resp.operations[0].location.availability_zone #=> String
|
859
956
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
860
957
|
# resp.operations[0].is_terminal #=> Boolean
|
861
958
|
# resp.operations[0].operation_details #=> String
|
862
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
959
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
863
960
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
864
961
|
# resp.operations[0].status_changed_at #=> Time
|
865
962
|
# resp.operations[0].error_code #=> String
|
@@ -900,19 +997,19 @@ module Aws::Lightsail
|
|
900
997
|
# resp.key_pair.created_at #=> Time
|
901
998
|
# resp.key_pair.location.availability_zone #=> String
|
902
999
|
# resp.key_pair.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
903
|
-
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1000
|
+
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
904
1001
|
# resp.key_pair.fingerprint #=> String
|
905
1002
|
# resp.public_key_base_64 #=> String
|
906
1003
|
# resp.private_key_base_64 #=> String
|
907
1004
|
# resp.operation.id #=> String
|
908
1005
|
# resp.operation.resource_name #=> String
|
909
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1006
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
910
1007
|
# resp.operation.created_at #=> Time
|
911
1008
|
# resp.operation.location.availability_zone #=> String
|
912
1009
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
913
1010
|
# resp.operation.is_terminal #=> Boolean
|
914
1011
|
# resp.operation.operation_details #=> String
|
915
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1012
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
916
1013
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
917
1014
|
# resp.operation.status_changed_at #=> Time
|
918
1015
|
# resp.operation.error_code #=> String
|
@@ -927,6 +1024,139 @@ module Aws::Lightsail
|
|
927
1024
|
req.send_request(options)
|
928
1025
|
end
|
929
1026
|
|
1027
|
+
# Creates a Lightsail load balancer.
|
1028
|
+
#
|
1029
|
+
# When you create a load balancer, you can specify certificates and port
|
1030
|
+
# settings. You can create up to 5 load balancers per AWS Region in your
|
1031
|
+
# account.
|
1032
|
+
#
|
1033
|
+
# @option params [required, String] :load_balancer_name
|
1034
|
+
# The name of your load balancer.
|
1035
|
+
#
|
1036
|
+
# @option params [required, Integer] :instance_port
|
1037
|
+
# The instance port where you're creating your load balancer.
|
1038
|
+
#
|
1039
|
+
# @option params [String] :health_check_path
|
1040
|
+
# The path you provided to perform the load balancer health check. If
|
1041
|
+
# you didn't specify a health check path, Lightsail uses the root path
|
1042
|
+
# of your website (e.g., `"/"`).
|
1043
|
+
#
|
1044
|
+
# @option params [String] :certificate_name
|
1045
|
+
# The name of the TLS/SSL certificate.
|
1046
|
+
#
|
1047
|
+
# If you specify `certificateName`, then `certificateDomainName` is
|
1048
|
+
# required (and vice-versa).
|
1049
|
+
#
|
1050
|
+
# @option params [String] :certificate_domain_name
|
1051
|
+
# The domain name with which your certificate is associated (e.g.,
|
1052
|
+
# `example.com`).
|
1053
|
+
#
|
1054
|
+
# If you specify `certificateDomainName`, then `certificateName` is
|
1055
|
+
# required (and vice-versa).
|
1056
|
+
#
|
1057
|
+
# @option params [Array<String>] :certificate_alternative_names
|
1058
|
+
# The alternative domain names to use with your TLS/SSL certificate
|
1059
|
+
# (e.g., `www.example.com`, `www.ejemplo.com`, `ejemplo.com`).
|
1060
|
+
#
|
1061
|
+
# @return [Types::CreateLoadBalancerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1062
|
+
#
|
1063
|
+
# * {Types::CreateLoadBalancerResult#operations #operations} => Array<Types::Operation>
|
1064
|
+
#
|
1065
|
+
# @example Request syntax with placeholder values
|
1066
|
+
#
|
1067
|
+
# resp = client.create_load_balancer({
|
1068
|
+
# load_balancer_name: "ResourceName", # required
|
1069
|
+
# instance_port: 1, # required
|
1070
|
+
# health_check_path: "string",
|
1071
|
+
# certificate_name: "ResourceName",
|
1072
|
+
# certificate_domain_name: "DomainName",
|
1073
|
+
# certificate_alternative_names: ["DomainName"],
|
1074
|
+
# })
|
1075
|
+
#
|
1076
|
+
# @example Response structure
|
1077
|
+
#
|
1078
|
+
# resp.operations #=> Array
|
1079
|
+
# resp.operations[0].id #=> String
|
1080
|
+
# resp.operations[0].resource_name #=> String
|
1081
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1082
|
+
# resp.operations[0].created_at #=> Time
|
1083
|
+
# resp.operations[0].location.availability_zone #=> String
|
1084
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1085
|
+
# resp.operations[0].is_terminal #=> Boolean
|
1086
|
+
# resp.operations[0].operation_details #=> String
|
1087
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1088
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1089
|
+
# resp.operations[0].status_changed_at #=> Time
|
1090
|
+
# resp.operations[0].error_code #=> String
|
1091
|
+
# resp.operations[0].error_details #=> String
|
1092
|
+
#
|
1093
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancer AWS API Documentation
|
1094
|
+
#
|
1095
|
+
# @overload create_load_balancer(params = {})
|
1096
|
+
# @param [Hash] params ({})
|
1097
|
+
def create_load_balancer(params = {}, options = {})
|
1098
|
+
req = build_request(:create_load_balancer, params)
|
1099
|
+
req.send_request(options)
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
# Creates a Lightsail load balancer TLS certificate.
|
1103
|
+
#
|
1104
|
+
# TLS is just an updated, more secure version of Secure Socket Layer
|
1105
|
+
# (SSL).
|
1106
|
+
#
|
1107
|
+
# @option params [required, String] :load_balancer_name
|
1108
|
+
# The load balancer name where you want to create the TLS/SSL
|
1109
|
+
# certificate.
|
1110
|
+
#
|
1111
|
+
# @option params [required, String] :certificate_name
|
1112
|
+
# The TLS/SSL certificate name.
|
1113
|
+
#
|
1114
|
+
# @option params [required, String] :certificate_domain_name
|
1115
|
+
# The domain name (e.g., `example.com`) for your TLS/SSL certificate.
|
1116
|
+
#
|
1117
|
+
# @option params [Array<String>] :certificate_alternative_names
|
1118
|
+
# An array of strings listing alternative domain names for your TLS/SSL
|
1119
|
+
# certificate.
|
1120
|
+
#
|
1121
|
+
# @return [Types::CreateLoadBalancerTlsCertificateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1122
|
+
#
|
1123
|
+
# * {Types::CreateLoadBalancerTlsCertificateResult#operations #operations} => Array<Types::Operation>
|
1124
|
+
#
|
1125
|
+
# @example Request syntax with placeholder values
|
1126
|
+
#
|
1127
|
+
# resp = client.create_load_balancer_tls_certificate({
|
1128
|
+
# load_balancer_name: "ResourceName", # required
|
1129
|
+
# certificate_name: "ResourceName", # required
|
1130
|
+
# certificate_domain_name: "DomainName", # required
|
1131
|
+
# certificate_alternative_names: ["DomainName"],
|
1132
|
+
# })
|
1133
|
+
#
|
1134
|
+
# @example Response structure
|
1135
|
+
#
|
1136
|
+
# resp.operations #=> Array
|
1137
|
+
# resp.operations[0].id #=> String
|
1138
|
+
# resp.operations[0].resource_name #=> String
|
1139
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1140
|
+
# resp.operations[0].created_at #=> Time
|
1141
|
+
# resp.operations[0].location.availability_zone #=> String
|
1142
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1143
|
+
# resp.operations[0].is_terminal #=> Boolean
|
1144
|
+
# resp.operations[0].operation_details #=> String
|
1145
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1146
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1147
|
+
# resp.operations[0].status_changed_at #=> Time
|
1148
|
+
# resp.operations[0].error_code #=> String
|
1149
|
+
# resp.operations[0].error_details #=> String
|
1150
|
+
#
|
1151
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificate AWS API Documentation
|
1152
|
+
#
|
1153
|
+
# @overload create_load_balancer_tls_certificate(params = {})
|
1154
|
+
# @param [Hash] params ({})
|
1155
|
+
def create_load_balancer_tls_certificate(params = {}, options = {})
|
1156
|
+
req = build_request(:create_load_balancer_tls_certificate, params)
|
1157
|
+
req.send_request(options)
|
1158
|
+
end
|
1159
|
+
|
930
1160
|
# Deletes the specified block storage disk. The disk must be in the
|
931
1161
|
# `available` state (not attached to a Lightsail instance).
|
932
1162
|
#
|
@@ -952,13 +1182,13 @@ module Aws::Lightsail
|
|
952
1182
|
# resp.operations #=> Array
|
953
1183
|
# resp.operations[0].id #=> String
|
954
1184
|
# resp.operations[0].resource_name #=> String
|
955
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1185
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
956
1186
|
# resp.operations[0].created_at #=> Time
|
957
1187
|
# resp.operations[0].location.availability_zone #=> String
|
958
1188
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
959
1189
|
# resp.operations[0].is_terminal #=> Boolean
|
960
1190
|
# resp.operations[0].operation_details #=> String
|
961
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1191
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
962
1192
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
963
1193
|
# resp.operations[0].status_changed_at #=> Time
|
964
1194
|
# resp.operations[0].error_code #=> String
|
@@ -1002,13 +1232,13 @@ module Aws::Lightsail
|
|
1002
1232
|
# resp.operations #=> Array
|
1003
1233
|
# resp.operations[0].id #=> String
|
1004
1234
|
# resp.operations[0].resource_name #=> String
|
1005
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1235
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1006
1236
|
# resp.operations[0].created_at #=> Time
|
1007
1237
|
# resp.operations[0].location.availability_zone #=> String
|
1008
1238
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1009
1239
|
# resp.operations[0].is_terminal #=> Boolean
|
1010
1240
|
# resp.operations[0].operation_details #=> String
|
1011
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1241
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1012
1242
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1013
1243
|
# resp.operations[0].status_changed_at #=> Time
|
1014
1244
|
# resp.operations[0].error_code #=> String
|
@@ -1042,13 +1272,13 @@ module Aws::Lightsail
|
|
1042
1272
|
#
|
1043
1273
|
# resp.operation.id #=> String
|
1044
1274
|
# resp.operation.resource_name #=> String
|
1045
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1275
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1046
1276
|
# resp.operation.created_at #=> Time
|
1047
1277
|
# resp.operation.location.availability_zone #=> String
|
1048
1278
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1049
1279
|
# resp.operation.is_terminal #=> Boolean
|
1050
1280
|
# resp.operation.operation_details #=> String
|
1051
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1281
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1052
1282
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1053
1283
|
# resp.operation.status_changed_at #=> Time
|
1054
1284
|
# resp.operation.error_code #=> String
|
@@ -1084,6 +1314,7 @@ module Aws::Lightsail
|
|
1084
1314
|
# id: "NonEmptyString",
|
1085
1315
|
# name: "DomainName",
|
1086
1316
|
# target: "string",
|
1317
|
+
# is_alias: false,
|
1087
1318
|
# type: "DomainEntryType",
|
1088
1319
|
# options: {
|
1089
1320
|
# "DomainEntryOptionsKeys" => "string",
|
@@ -1095,13 +1326,13 @@ module Aws::Lightsail
|
|
1095
1326
|
#
|
1096
1327
|
# resp.operation.id #=> String
|
1097
1328
|
# resp.operation.resource_name #=> String
|
1098
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1329
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1099
1330
|
# resp.operation.created_at #=> Time
|
1100
1331
|
# resp.operation.location.availability_zone #=> String
|
1101
1332
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1102
1333
|
# resp.operation.is_terminal #=> Boolean
|
1103
1334
|
# resp.operation.operation_details #=> String
|
1104
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1335
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1105
1336
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1106
1337
|
# resp.operation.status_changed_at #=> Time
|
1107
1338
|
# resp.operation.error_code #=> String
|
@@ -1137,13 +1368,13 @@ module Aws::Lightsail
|
|
1137
1368
|
# resp.operations #=> Array
|
1138
1369
|
# resp.operations[0].id #=> String
|
1139
1370
|
# resp.operations[0].resource_name #=> String
|
1140
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1371
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1141
1372
|
# resp.operations[0].created_at #=> Time
|
1142
1373
|
# resp.operations[0].location.availability_zone #=> String
|
1143
1374
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1144
1375
|
# resp.operations[0].is_terminal #=> Boolean
|
1145
1376
|
# resp.operations[0].operation_details #=> String
|
1146
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1377
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1147
1378
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1148
1379
|
# resp.operations[0].status_changed_at #=> Time
|
1149
1380
|
# resp.operations[0].error_code #=> String
|
@@ -1179,13 +1410,13 @@ module Aws::Lightsail
|
|
1179
1410
|
# resp.operations #=> Array
|
1180
1411
|
# resp.operations[0].id #=> String
|
1181
1412
|
# resp.operations[0].resource_name #=> String
|
1182
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1413
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1183
1414
|
# resp.operations[0].created_at #=> Time
|
1184
1415
|
# resp.operations[0].location.availability_zone #=> String
|
1185
1416
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1186
1417
|
# resp.operations[0].is_terminal #=> Boolean
|
1187
1418
|
# resp.operations[0].operation_details #=> String
|
1188
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1419
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1189
1420
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1190
1421
|
# resp.operations[0].status_changed_at #=> Time
|
1191
1422
|
# resp.operations[0].error_code #=> String
|
@@ -1219,13 +1450,13 @@ module Aws::Lightsail
|
|
1219
1450
|
#
|
1220
1451
|
# resp.operation.id #=> String
|
1221
1452
|
# resp.operation.resource_name #=> String
|
1222
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1453
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1223
1454
|
# resp.operation.created_at #=> Time
|
1224
1455
|
# resp.operation.location.availability_zone #=> String
|
1225
1456
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1226
1457
|
# resp.operation.is_terminal #=> Boolean
|
1227
1458
|
# resp.operation.operation_details #=> String
|
1228
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1459
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1229
1460
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1230
1461
|
# resp.operation.status_changed_at #=> Time
|
1231
1462
|
# resp.operation.error_code #=> String
|
@@ -1240,6 +1471,97 @@ module Aws::Lightsail
|
|
1240
1471
|
req.send_request(options)
|
1241
1472
|
end
|
1242
1473
|
|
1474
|
+
# Deletes a Lightsail load balancer.
|
1475
|
+
#
|
1476
|
+
# @option params [required, String] :load_balancer_name
|
1477
|
+
# The name of the load balancer you want to delete.
|
1478
|
+
#
|
1479
|
+
# @return [Types::DeleteLoadBalancerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1480
|
+
#
|
1481
|
+
# * {Types::DeleteLoadBalancerResult#operations #operations} => Array<Types::Operation>
|
1482
|
+
#
|
1483
|
+
# @example Request syntax with placeholder values
|
1484
|
+
#
|
1485
|
+
# resp = client.delete_load_balancer({
|
1486
|
+
# load_balancer_name: "ResourceName", # required
|
1487
|
+
# })
|
1488
|
+
#
|
1489
|
+
# @example Response structure
|
1490
|
+
#
|
1491
|
+
# resp.operations #=> Array
|
1492
|
+
# resp.operations[0].id #=> String
|
1493
|
+
# resp.operations[0].resource_name #=> String
|
1494
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1495
|
+
# resp.operations[0].created_at #=> Time
|
1496
|
+
# resp.operations[0].location.availability_zone #=> String
|
1497
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1498
|
+
# resp.operations[0].is_terminal #=> Boolean
|
1499
|
+
# resp.operations[0].operation_details #=> String
|
1500
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1501
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1502
|
+
# resp.operations[0].status_changed_at #=> Time
|
1503
|
+
# resp.operations[0].error_code #=> String
|
1504
|
+
# resp.operations[0].error_details #=> String
|
1505
|
+
#
|
1506
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancer AWS API Documentation
|
1507
|
+
#
|
1508
|
+
# @overload delete_load_balancer(params = {})
|
1509
|
+
# @param [Hash] params ({})
|
1510
|
+
def delete_load_balancer(params = {}, options = {})
|
1511
|
+
req = build_request(:delete_load_balancer, params)
|
1512
|
+
req.send_request(options)
|
1513
|
+
end
|
1514
|
+
|
1515
|
+
# Deletes a TLS/SSL certificate associated with a Lightsail load
|
1516
|
+
# balancer.
|
1517
|
+
#
|
1518
|
+
# @option params [required, String] :load_balancer_name
|
1519
|
+
# The load balancer name.
|
1520
|
+
#
|
1521
|
+
# @option params [required, String] :certificate_name
|
1522
|
+
# The TLS/SSL certificate name.
|
1523
|
+
#
|
1524
|
+
# @option params [Boolean] :force
|
1525
|
+
# When `true`, forces the deletion of a TLS/SSL certificate.
|
1526
|
+
#
|
1527
|
+
# @return [Types::DeleteLoadBalancerTlsCertificateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1528
|
+
#
|
1529
|
+
# * {Types::DeleteLoadBalancerTlsCertificateResult#operations #operations} => Array<Types::Operation>
|
1530
|
+
#
|
1531
|
+
# @example Request syntax with placeholder values
|
1532
|
+
#
|
1533
|
+
# resp = client.delete_load_balancer_tls_certificate({
|
1534
|
+
# load_balancer_name: "ResourceName", # required
|
1535
|
+
# certificate_name: "ResourceName", # required
|
1536
|
+
# force: false,
|
1537
|
+
# })
|
1538
|
+
#
|
1539
|
+
# @example Response structure
|
1540
|
+
#
|
1541
|
+
# resp.operations #=> Array
|
1542
|
+
# resp.operations[0].id #=> String
|
1543
|
+
# resp.operations[0].resource_name #=> String
|
1544
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1545
|
+
# resp.operations[0].created_at #=> Time
|
1546
|
+
# resp.operations[0].location.availability_zone #=> String
|
1547
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1548
|
+
# resp.operations[0].is_terminal #=> Boolean
|
1549
|
+
# resp.operations[0].operation_details #=> String
|
1550
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1551
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1552
|
+
# resp.operations[0].status_changed_at #=> Time
|
1553
|
+
# resp.operations[0].error_code #=> String
|
1554
|
+
# resp.operations[0].error_details #=> String
|
1555
|
+
#
|
1556
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteLoadBalancerTlsCertificate AWS API Documentation
|
1557
|
+
#
|
1558
|
+
# @overload delete_load_balancer_tls_certificate(params = {})
|
1559
|
+
# @param [Hash] params ({})
|
1560
|
+
def delete_load_balancer_tls_certificate(params = {}, options = {})
|
1561
|
+
req = build_request(:delete_load_balancer_tls_certificate, params)
|
1562
|
+
req.send_request(options)
|
1563
|
+
end
|
1564
|
+
|
1243
1565
|
# Detaches a stopped block storage disk from a Lightsail instance. Make
|
1244
1566
|
# sure to unmount any file systems on the device within your operating
|
1245
1567
|
# system before stopping the instance and detaching the disk.
|
@@ -1263,13 +1585,13 @@ module Aws::Lightsail
|
|
1263
1585
|
# resp.operations #=> Array
|
1264
1586
|
# resp.operations[0].id #=> String
|
1265
1587
|
# resp.operations[0].resource_name #=> String
|
1266
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1588
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1267
1589
|
# resp.operations[0].created_at #=> Time
|
1268
1590
|
# resp.operations[0].location.availability_zone #=> String
|
1269
1591
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1270
1592
|
# resp.operations[0].is_terminal #=> Boolean
|
1271
1593
|
# resp.operations[0].operation_details #=> String
|
1272
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1594
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1273
1595
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1274
1596
|
# resp.operations[0].status_changed_at #=> Time
|
1275
1597
|
# resp.operations[0].error_code #=> String
|
@@ -1284,6 +1606,52 @@ module Aws::Lightsail
|
|
1284
1606
|
req.send_request(options)
|
1285
1607
|
end
|
1286
1608
|
|
1609
|
+
# Detaches the specified instances from a Lightsail load balancer.
|
1610
|
+
#
|
1611
|
+
# @option params [required, String] :load_balancer_name
|
1612
|
+
# The name of the Lightsail load balancer.
|
1613
|
+
#
|
1614
|
+
# @option params [required, Array<String>] :instance_names
|
1615
|
+
# An array of strings containing the names of the instances you want to
|
1616
|
+
# detach from the load balancer.
|
1617
|
+
#
|
1618
|
+
# @return [Types::DetachInstancesFromLoadBalancerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1619
|
+
#
|
1620
|
+
# * {Types::DetachInstancesFromLoadBalancerResult#operations #operations} => Array<Types::Operation>
|
1621
|
+
#
|
1622
|
+
# @example Request syntax with placeholder values
|
1623
|
+
#
|
1624
|
+
# resp = client.detach_instances_from_load_balancer({
|
1625
|
+
# load_balancer_name: "ResourceName", # required
|
1626
|
+
# instance_names: ["ResourceName"], # required
|
1627
|
+
# })
|
1628
|
+
#
|
1629
|
+
# @example Response structure
|
1630
|
+
#
|
1631
|
+
# resp.operations #=> Array
|
1632
|
+
# resp.operations[0].id #=> String
|
1633
|
+
# resp.operations[0].resource_name #=> String
|
1634
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1635
|
+
# resp.operations[0].created_at #=> Time
|
1636
|
+
# resp.operations[0].location.availability_zone #=> String
|
1637
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1638
|
+
# resp.operations[0].is_terminal #=> Boolean
|
1639
|
+
# resp.operations[0].operation_details #=> String
|
1640
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1641
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1642
|
+
# resp.operations[0].status_changed_at #=> Time
|
1643
|
+
# resp.operations[0].error_code #=> String
|
1644
|
+
# resp.operations[0].error_details #=> String
|
1645
|
+
#
|
1646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachInstancesFromLoadBalancer AWS API Documentation
|
1647
|
+
#
|
1648
|
+
# @overload detach_instances_from_load_balancer(params = {})
|
1649
|
+
# @param [Hash] params ({})
|
1650
|
+
def detach_instances_from_load_balancer(params = {}, options = {})
|
1651
|
+
req = build_request(:detach_instances_from_load_balancer, params)
|
1652
|
+
req.send_request(options)
|
1653
|
+
end
|
1654
|
+
|
1287
1655
|
# Detaches a static IP from the Amazon Lightsail instance to which it is
|
1288
1656
|
# attached.
|
1289
1657
|
#
|
@@ -1305,13 +1673,13 @@ module Aws::Lightsail
|
|
1305
1673
|
# resp.operations #=> Array
|
1306
1674
|
# resp.operations[0].id #=> String
|
1307
1675
|
# resp.operations[0].resource_name #=> String
|
1308
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1676
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1309
1677
|
# resp.operations[0].created_at #=> Time
|
1310
1678
|
# resp.operations[0].location.availability_zone #=> String
|
1311
1679
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1312
1680
|
# resp.operations[0].is_terminal #=> Boolean
|
1313
1681
|
# resp.operations[0].operation_details #=> String
|
1314
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1682
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1315
1683
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
1316
1684
|
# resp.operations[0].status_changed_at #=> Time
|
1317
1685
|
# resp.operations[0].error_code #=> String
|
@@ -1503,7 +1871,7 @@ module Aws::Lightsail
|
|
1503
1871
|
# resp.disk.created_at #=> Time
|
1504
1872
|
# resp.disk.location.availability_zone #=> String
|
1505
1873
|
# resp.disk.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1506
|
-
# resp.disk.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1874
|
+
# resp.disk.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1507
1875
|
# resp.disk.size_in_gb #=> Integer
|
1508
1876
|
# resp.disk.is_system_disk #=> Boolean
|
1509
1877
|
# resp.disk.iops #=> Integer
|
@@ -1546,7 +1914,7 @@ module Aws::Lightsail
|
|
1546
1914
|
# resp.disk_snapshot.created_at #=> Time
|
1547
1915
|
# resp.disk_snapshot.location.availability_zone #=> String
|
1548
1916
|
# resp.disk_snapshot.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1549
|
-
# resp.disk_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1917
|
+
# resp.disk_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1550
1918
|
# resp.disk_snapshot.size_in_gb #=> Integer
|
1551
1919
|
# resp.disk_snapshot.state #=> String, one of "pending", "completed", "error", "unknown"
|
1552
1920
|
# resp.disk_snapshot.progress #=> String
|
@@ -1593,7 +1961,7 @@ module Aws::Lightsail
|
|
1593
1961
|
# resp.disk_snapshots[0].created_at #=> Time
|
1594
1962
|
# resp.disk_snapshots[0].location.availability_zone #=> String
|
1595
1963
|
# resp.disk_snapshots[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1596
|
-
# resp.disk_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
1964
|
+
# resp.disk_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1597
1965
|
# resp.disk_snapshots[0].size_in_gb #=> Integer
|
1598
1966
|
# resp.disk_snapshots[0].state #=> String, one of "pending", "completed", "error", "unknown"
|
1599
1967
|
# resp.disk_snapshots[0].progress #=> String
|
@@ -1641,7 +2009,7 @@ module Aws::Lightsail
|
|
1641
2009
|
# resp.disks[0].created_at #=> Time
|
1642
2010
|
# resp.disks[0].location.availability_zone #=> String
|
1643
2011
|
# resp.disks[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1644
|
-
# resp.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2012
|
+
# resp.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1645
2013
|
# resp.disks[0].size_in_gb #=> Integer
|
1646
2014
|
# resp.disks[0].is_system_disk #=> Boolean
|
1647
2015
|
# resp.disks[0].iops #=> Integer
|
@@ -1685,11 +2053,12 @@ module Aws::Lightsail
|
|
1685
2053
|
# resp.domain.created_at #=> Time
|
1686
2054
|
# resp.domain.location.availability_zone #=> String
|
1687
2055
|
# resp.domain.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1688
|
-
# resp.domain.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2056
|
+
# resp.domain.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1689
2057
|
# resp.domain.domain_entries #=> Array
|
1690
2058
|
# resp.domain.domain_entries[0].id #=> String
|
1691
2059
|
# resp.domain.domain_entries[0].name #=> String
|
1692
2060
|
# resp.domain.domain_entries[0].target #=> String
|
2061
|
+
# resp.domain.domain_entries[0].is_alias #=> Boolean
|
1693
2062
|
# resp.domain.domain_entries[0].type #=> String
|
1694
2063
|
# resp.domain.domain_entries[0].options #=> Hash
|
1695
2064
|
# resp.domain.domain_entries[0].options["DomainEntryOptionsKeys"] #=> String
|
@@ -1729,11 +2098,12 @@ module Aws::Lightsail
|
|
1729
2098
|
# resp.domains[0].created_at #=> Time
|
1730
2099
|
# resp.domains[0].location.availability_zone #=> String
|
1731
2100
|
# resp.domains[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1732
|
-
# resp.domains[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2101
|
+
# resp.domains[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1733
2102
|
# resp.domains[0].domain_entries #=> Array
|
1734
2103
|
# resp.domains[0].domain_entries[0].id #=> String
|
1735
2104
|
# resp.domains[0].domain_entries[0].name #=> String
|
1736
2105
|
# resp.domains[0].domain_entries[0].target #=> String
|
2106
|
+
# resp.domains[0].domain_entries[0].is_alias #=> Boolean
|
1737
2107
|
# resp.domains[0].domain_entries[0].type #=> String
|
1738
2108
|
# resp.domains[0].domain_entries[0].options #=> Hash
|
1739
2109
|
# resp.domains[0].domain_entries[0].options["DomainEntryOptionsKeys"] #=> String
|
@@ -1772,7 +2142,7 @@ module Aws::Lightsail
|
|
1772
2142
|
# resp.instance.created_at #=> Time
|
1773
2143
|
# resp.instance.location.availability_zone #=> String
|
1774
2144
|
# resp.instance.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1775
|
-
# resp.instance.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2145
|
+
# resp.instance.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1776
2146
|
# resp.instance.blueprint_id #=> String
|
1777
2147
|
# resp.instance.blueprint_name #=> String
|
1778
2148
|
# resp.instance.bundle_id #=> String
|
@@ -1788,7 +2158,7 @@ module Aws::Lightsail
|
|
1788
2158
|
# resp.instance.hardware.disks[0].created_at #=> Time
|
1789
2159
|
# resp.instance.hardware.disks[0].location.availability_zone #=> String
|
1790
2160
|
# resp.instance.hardware.disks[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1791
|
-
# resp.instance.hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2161
|
+
# resp.instance.hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1792
2162
|
# resp.instance.hardware.disks[0].size_in_gb #=> Integer
|
1793
2163
|
# resp.instance.hardware.disks[0].is_system_disk #=> Boolean
|
1794
2164
|
# resp.instance.hardware.disks[0].iops #=> Integer
|
@@ -1982,7 +2352,7 @@ module Aws::Lightsail
|
|
1982
2352
|
# resp.instance_snapshot.created_at #=> Time
|
1983
2353
|
# resp.instance_snapshot.location.availability_zone #=> String
|
1984
2354
|
# resp.instance_snapshot.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1985
|
-
# resp.instance_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2355
|
+
# resp.instance_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1986
2356
|
# resp.instance_snapshot.state #=> String, one of "pending", "error", "available"
|
1987
2357
|
# resp.instance_snapshot.progress #=> String
|
1988
2358
|
# resp.instance_snapshot.from_attached_disks #=> Array
|
@@ -1992,7 +2362,7 @@ module Aws::Lightsail
|
|
1992
2362
|
# resp.instance_snapshot.from_attached_disks[0].created_at #=> Time
|
1993
2363
|
# resp.instance_snapshot.from_attached_disks[0].location.availability_zone #=> String
|
1994
2364
|
# resp.instance_snapshot.from_attached_disks[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1995
|
-
# resp.instance_snapshot.from_attached_disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2365
|
+
# resp.instance_snapshot.from_attached_disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1996
2366
|
# resp.instance_snapshot.from_attached_disks[0].size_in_gb #=> Integer
|
1997
2367
|
# resp.instance_snapshot.from_attached_disks[0].is_system_disk #=> Boolean
|
1998
2368
|
# resp.instance_snapshot.from_attached_disks[0].iops #=> Integer
|
@@ -2043,7 +2413,7 @@ module Aws::Lightsail
|
|
2043
2413
|
# resp.instance_snapshots[0].created_at #=> Time
|
2044
2414
|
# resp.instance_snapshots[0].location.availability_zone #=> String
|
2045
2415
|
# resp.instance_snapshots[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2046
|
-
# resp.instance_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2416
|
+
# resp.instance_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2047
2417
|
# resp.instance_snapshots[0].state #=> String, one of "pending", "error", "available"
|
2048
2418
|
# resp.instance_snapshots[0].progress #=> String
|
2049
2419
|
# resp.instance_snapshots[0].from_attached_disks #=> Array
|
@@ -2053,7 +2423,7 @@ module Aws::Lightsail
|
|
2053
2423
|
# resp.instance_snapshots[0].from_attached_disks[0].created_at #=> Time
|
2054
2424
|
# resp.instance_snapshots[0].from_attached_disks[0].location.availability_zone #=> String
|
2055
2425
|
# resp.instance_snapshots[0].from_attached_disks[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2056
|
-
# resp.instance_snapshots[0].from_attached_disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2426
|
+
# resp.instance_snapshots[0].from_attached_disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2057
2427
|
# resp.instance_snapshots[0].from_attached_disks[0].size_in_gb #=> Integer
|
2058
2428
|
# resp.instance_snapshots[0].from_attached_disks[0].is_system_disk #=> Boolean
|
2059
2429
|
# resp.instance_snapshots[0].from_attached_disks[0].iops #=> Integer
|
@@ -2136,7 +2506,7 @@ module Aws::Lightsail
|
|
2136
2506
|
# resp.instances[0].created_at #=> Time
|
2137
2507
|
# resp.instances[0].location.availability_zone #=> String
|
2138
2508
|
# resp.instances[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2139
|
-
# resp.instances[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2509
|
+
# resp.instances[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2140
2510
|
# resp.instances[0].blueprint_id #=> String
|
2141
2511
|
# resp.instances[0].blueprint_name #=> String
|
2142
2512
|
# resp.instances[0].bundle_id #=> String
|
@@ -2152,7 +2522,7 @@ module Aws::Lightsail
|
|
2152
2522
|
# resp.instances[0].hardware.disks[0].created_at #=> Time
|
2153
2523
|
# resp.instances[0].hardware.disks[0].location.availability_zone #=> String
|
2154
2524
|
# resp.instances[0].hardware.disks[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2155
|
-
# resp.instances[0].hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2525
|
+
# resp.instances[0].hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2156
2526
|
# resp.instances[0].hardware.disks[0].size_in_gb #=> Integer
|
2157
2527
|
# resp.instances[0].hardware.disks[0].is_system_disk #=> Boolean
|
2158
2528
|
# resp.instances[0].hardware.disks[0].iops #=> Integer
|
@@ -2210,7 +2580,7 @@ module Aws::Lightsail
|
|
2210
2580
|
# resp.key_pair.created_at #=> Time
|
2211
2581
|
# resp.key_pair.location.availability_zone #=> String
|
2212
2582
|
# resp.key_pair.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2213
|
-
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2583
|
+
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2214
2584
|
# resp.key_pair.fingerprint #=> String
|
2215
2585
|
#
|
2216
2586
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPair AWS API Documentation
|
@@ -2248,7 +2618,7 @@ module Aws::Lightsail
|
|
2248
2618
|
# resp.key_pairs[0].created_at #=> Time
|
2249
2619
|
# resp.key_pairs[0].location.availability_zone #=> String
|
2250
2620
|
# resp.key_pairs[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2251
|
-
# resp.key_pairs[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2621
|
+
# resp.key_pairs[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2252
2622
|
# resp.key_pairs[0].fingerprint #=> String
|
2253
2623
|
# resp.next_page_token #=> String
|
2254
2624
|
#
|
@@ -2261,6 +2631,331 @@ module Aws::Lightsail
|
|
2261
2631
|
req.send_request(options)
|
2262
2632
|
end
|
2263
2633
|
|
2634
|
+
# Returns information about the specified Lightsail load balancer.
|
2635
|
+
#
|
2636
|
+
# @option params [required, String] :load_balancer_name
|
2637
|
+
# The name of the load balancer.
|
2638
|
+
#
|
2639
|
+
# @return [Types::GetLoadBalancerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2640
|
+
#
|
2641
|
+
# * {Types::GetLoadBalancerResult#load_balancer #load_balancer} => Types::LoadBalancer
|
2642
|
+
#
|
2643
|
+
# @example Request syntax with placeholder values
|
2644
|
+
#
|
2645
|
+
# resp = client.get_load_balancer({
|
2646
|
+
# load_balancer_name: "ResourceName", # required
|
2647
|
+
# })
|
2648
|
+
#
|
2649
|
+
# @example Response structure
|
2650
|
+
#
|
2651
|
+
# resp.load_balancer.name #=> String
|
2652
|
+
# resp.load_balancer.arn #=> String
|
2653
|
+
# resp.load_balancer.support_code #=> String
|
2654
|
+
# resp.load_balancer.created_at #=> Time
|
2655
|
+
# resp.load_balancer.location.availability_zone #=> String
|
2656
|
+
# resp.load_balancer.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2657
|
+
# resp.load_balancer.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2658
|
+
# resp.load_balancer.dns_name #=> String
|
2659
|
+
# resp.load_balancer.state #=> String, one of "active", "provisioning", "active_impaired", "failed", "unknown"
|
2660
|
+
# resp.load_balancer.protocol #=> String, one of "HTTP_HTTPS", "HTTP"
|
2661
|
+
# resp.load_balancer.public_ports #=> Array
|
2662
|
+
# resp.load_balancer.public_ports[0] #=> Integer
|
2663
|
+
# resp.load_balancer.health_check_path #=> String
|
2664
|
+
# resp.load_balancer.instance_port #=> Integer
|
2665
|
+
# resp.load_balancer.instance_health_summary #=> Array
|
2666
|
+
# resp.load_balancer.instance_health_summary[0].instance_name #=> String
|
2667
|
+
# resp.load_balancer.instance_health_summary[0].instance_health #=> String, one of "initial", "healthy", "unhealthy", "unused", "draining", "unavailable"
|
2668
|
+
# resp.load_balancer.instance_health_summary[0].instance_health_reason #=> String, one of "Lb.RegistrationInProgress", "Lb.InitialHealthChecking", "Lb.InternalError", "Instance.ResponseCodeMismatch", "Instance.Timeout", "Instance.FailedHealthChecks", "Instance.NotRegistered", "Instance.NotInUse", "Instance.DeregistrationInProgress", "Instance.InvalidState", "Instance.IpUnusable"
|
2669
|
+
# resp.load_balancer.tls_certificate_summaries #=> Array
|
2670
|
+
# resp.load_balancer.tls_certificate_summaries[0].name #=> String
|
2671
|
+
# resp.load_balancer.tls_certificate_summaries[0].is_attached #=> Boolean
|
2672
|
+
# resp.load_balancer.configuration_options #=> Hash
|
2673
|
+
# resp.load_balancer.configuration_options["LoadBalancerAttributeName"] #=> String
|
2674
|
+
#
|
2675
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancer AWS API Documentation
|
2676
|
+
#
|
2677
|
+
# @overload get_load_balancer(params = {})
|
2678
|
+
# @param [Hash] params ({})
|
2679
|
+
def get_load_balancer(params = {}, options = {})
|
2680
|
+
req = build_request(:get_load_balancer, params)
|
2681
|
+
req.send_request(options)
|
2682
|
+
end
|
2683
|
+
|
2684
|
+
# Returns information about health metrics for your Lightsail load
|
2685
|
+
# balancer.
|
2686
|
+
#
|
2687
|
+
# @option params [required, String] :load_balancer_name
|
2688
|
+
# The name of the load balancer.
|
2689
|
+
#
|
2690
|
+
# @option params [required, String] :metric_name
|
2691
|
+
# The metric about which you want to return information. Valid values
|
2692
|
+
# are listed below, along with the most useful `statistics` to include
|
2693
|
+
# in your request.
|
2694
|
+
#
|
2695
|
+
# * <b> <code>ClientTLSNegotiationErrorCount</code> </b> - The number of
|
2696
|
+
# TLS connections initiated by the client that did not establish a
|
2697
|
+
# session with the load balancer. Possible causes include a mismatch
|
2698
|
+
# of ciphers or protocols.
|
2699
|
+
#
|
2700
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
2701
|
+
#
|
2702
|
+
# * <b> <code>HealthyHostCount</code> </b> - The number of target
|
2703
|
+
# instances that are considered healthy.
|
2704
|
+
#
|
2705
|
+
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
2706
|
+
# and `Maximum`.
|
2707
|
+
#
|
2708
|
+
# * <b> <code>UnhealthyHostCount</code> </b> - The number of target
|
2709
|
+
# instances that are considered unhealthy.
|
2710
|
+
#
|
2711
|
+
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
2712
|
+
# and `Maximum`.
|
2713
|
+
#
|
2714
|
+
# * <b> <code>HTTPCode_LB_4XX_Count</code> </b> - The number of HTTP 4XX
|
2715
|
+
# client error codes that originate from the load balancer. Client
|
2716
|
+
# errors are generated when requests are malformed or incomplete.
|
2717
|
+
# These requests have not been received by the target instance. This
|
2718
|
+
# count does not include any response codes generated by the target
|
2719
|
+
# instances.
|
2720
|
+
#
|
2721
|
+
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
2722
|
+
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
2723
|
+
#
|
2724
|
+
# * <b> <code>HTTPCode_LB_5XX_Count</code> </b> - The number of HTTP 5XX
|
2725
|
+
# server error codes that originate from the load balancer. This count
|
2726
|
+
# does not include any response codes generated by the target
|
2727
|
+
# instances.
|
2728
|
+
#
|
2729
|
+
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
2730
|
+
# `Minimum`, `Maximum`, and `Average` all return `1`. Note that
|
2731
|
+
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
2732
|
+
#
|
2733
|
+
# * <b> <code>HTTPCode_Instance_2XX_Count</code> </b> - The number of
|
2734
|
+
# HTTP response codes generated by the target instances. This does not
|
2735
|
+
# include any response codes generated by the load balancer.
|
2736
|
+
#
|
2737
|
+
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
2738
|
+
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
2739
|
+
#
|
2740
|
+
# * <b> <code>HTTPCode_Instance_3XX_Count</code> </b> - The number of
|
2741
|
+
# HTTP response codes generated by the target instances. This does not
|
2742
|
+
# include any response codes generated by the load balancer.
|
2743
|
+
#
|
2744
|
+
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
2745
|
+
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
2746
|
+
#
|
2747
|
+
# * <b> <code>HTTPCode_Instance_4XX_Count</code> </b> - The number of
|
2748
|
+
# HTTP response codes generated by the target instances. This does not
|
2749
|
+
# include any response codes generated by the load balancer.
|
2750
|
+
#
|
2751
|
+
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
2752
|
+
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
2753
|
+
#
|
2754
|
+
# * <b> <code>HTTPCode_Instance_5XX_Count</code> </b> - The number of
|
2755
|
+
# HTTP response codes generated by the target instances. This does not
|
2756
|
+
# include any response codes generated by the load balancer.
|
2757
|
+
#
|
2758
|
+
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
2759
|
+
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
2760
|
+
#
|
2761
|
+
# * <b> <code>InstanceResponseTime</code> </b> - The time elapsed, in
|
2762
|
+
# seconds, after the request leaves the load balancer until a response
|
2763
|
+
# from the target instance is received.
|
2764
|
+
#
|
2765
|
+
# `Statistics`\: The most useful statistic is `Average`.
|
2766
|
+
#
|
2767
|
+
# * <b> <code>RejectedConnectionCount</code> </b> - The number of
|
2768
|
+
# connections that were rejected because the load balancer had reached
|
2769
|
+
# its maximum number of connections.
|
2770
|
+
#
|
2771
|
+
# `Statistics`\: The most useful statistic is `Sum`.
|
2772
|
+
#
|
2773
|
+
# * <b> <code>RequestCount</code> </b> - The number of requests
|
2774
|
+
# processed over IPv4. This count includes only the requests with a
|
2775
|
+
# response generated by a target instance of the load balancer.
|
2776
|
+
#
|
2777
|
+
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
2778
|
+
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
2779
|
+
#
|
2780
|
+
# @option params [required, Integer] :period
|
2781
|
+
# The time period duration for your health data request.
|
2782
|
+
#
|
2783
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
2784
|
+
# The start time of the period.
|
2785
|
+
#
|
2786
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
2787
|
+
# The end time of the period.
|
2788
|
+
#
|
2789
|
+
# @option params [required, String] :unit
|
2790
|
+
# The unit for the time period request. Valid values are listed below.
|
2791
|
+
#
|
2792
|
+
# @option params [required, Array<String>] :statistics
|
2793
|
+
# An array of statistics that you want to request metrics for. Valid
|
2794
|
+
# values are listed below.
|
2795
|
+
#
|
2796
|
+
# @return [Types::GetLoadBalancerMetricDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2797
|
+
#
|
2798
|
+
# * {Types::GetLoadBalancerMetricDataResult#metric_name #metric_name} => String
|
2799
|
+
# * {Types::GetLoadBalancerMetricDataResult#metric_data #metric_data} => Array<Types::MetricDatapoint>
|
2800
|
+
#
|
2801
|
+
# @example Request syntax with placeholder values
|
2802
|
+
#
|
2803
|
+
# resp = client.get_load_balancer_metric_data({
|
2804
|
+
# load_balancer_name: "ResourceName", # required
|
2805
|
+
# metric_name: "ClientTLSNegotiationErrorCount", # required, accepts ClientTLSNegotiationErrorCount, HealthyHostCount, UnhealthyHostCount, HTTPCode_LB_4XX_Count, HTTPCode_LB_5XX_Count, HTTPCode_Instance_2XX_Count, HTTPCode_Instance_3XX_Count, HTTPCode_Instance_4XX_Count, HTTPCode_Instance_5XX_Count, InstanceResponseTime, RejectedConnectionCount, RequestCount
|
2806
|
+
# period: 1, # required
|
2807
|
+
# start_time: Time.now, # required
|
2808
|
+
# end_time: Time.now, # required
|
2809
|
+
# unit: "Seconds", # required, accepts Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
|
2810
|
+
# statistics: ["Minimum"], # required, accepts Minimum, Maximum, Sum, Average, SampleCount
|
2811
|
+
# })
|
2812
|
+
#
|
2813
|
+
# @example Response structure
|
2814
|
+
#
|
2815
|
+
# resp.metric_name #=> String, one of "ClientTLSNegotiationErrorCount", "HealthyHostCount", "UnhealthyHostCount", "HTTPCode_LB_4XX_Count", "HTTPCode_LB_5XX_Count", "HTTPCode_Instance_2XX_Count", "HTTPCode_Instance_3XX_Count", "HTTPCode_Instance_4XX_Count", "HTTPCode_Instance_5XX_Count", "InstanceResponseTime", "RejectedConnectionCount", "RequestCount"
|
2816
|
+
# resp.metric_data #=> Array
|
2817
|
+
# resp.metric_data[0].average #=> Float
|
2818
|
+
# resp.metric_data[0].maximum #=> Float
|
2819
|
+
# resp.metric_data[0].minimum #=> Float
|
2820
|
+
# resp.metric_data[0].sample_count #=> Float
|
2821
|
+
# resp.metric_data[0].sum #=> Float
|
2822
|
+
# resp.metric_data[0].timestamp #=> Time
|
2823
|
+
# resp.metric_data[0].unit #=> String, one of "Seconds", "Microseconds", "Milliseconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
2824
|
+
#
|
2825
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricData AWS API Documentation
|
2826
|
+
#
|
2827
|
+
# @overload get_load_balancer_metric_data(params = {})
|
2828
|
+
# @param [Hash] params ({})
|
2829
|
+
def get_load_balancer_metric_data(params = {}, options = {})
|
2830
|
+
req = build_request(:get_load_balancer_metric_data, params)
|
2831
|
+
req.send_request(options)
|
2832
|
+
end
|
2833
|
+
|
2834
|
+
# Returns information about the TLS certificates that are associated
|
2835
|
+
# with the specified Lightsail load balancer.
|
2836
|
+
#
|
2837
|
+
# TLS is just an updated, more secure version of Secure Socket Layer
|
2838
|
+
# (SSL).
|
2839
|
+
#
|
2840
|
+
# @option params [required, String] :load_balancer_name
|
2841
|
+
# The name of the load balancer where you stored your TLS/SSL
|
2842
|
+
# certificate.
|
2843
|
+
#
|
2844
|
+
# @return [Types::GetLoadBalancerTlsCertificatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2845
|
+
#
|
2846
|
+
# * {Types::GetLoadBalancerTlsCertificatesResult#tls_certificates #tls_certificates} => Array<Types::LoadBalancerTlsCertificate>
|
2847
|
+
#
|
2848
|
+
# @example Request syntax with placeholder values
|
2849
|
+
#
|
2850
|
+
# resp = client.get_load_balancer_tls_certificates({
|
2851
|
+
# load_balancer_name: "ResourceName", # required
|
2852
|
+
# })
|
2853
|
+
#
|
2854
|
+
# @example Response structure
|
2855
|
+
#
|
2856
|
+
# resp.tls_certificates #=> Array
|
2857
|
+
# resp.tls_certificates[0].name #=> String
|
2858
|
+
# resp.tls_certificates[0].arn #=> String
|
2859
|
+
# resp.tls_certificates[0].support_code #=> String
|
2860
|
+
# resp.tls_certificates[0].created_at #=> Time
|
2861
|
+
# resp.tls_certificates[0].location.availability_zone #=> String
|
2862
|
+
# resp.tls_certificates[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2863
|
+
# resp.tls_certificates[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2864
|
+
# resp.tls_certificates[0].load_balancer_name #=> String
|
2865
|
+
# resp.tls_certificates[0].is_attached #=> Boolean
|
2866
|
+
# resp.tls_certificates[0].status #=> String, one of "PENDING_VALIDATION", "ISSUED", "INACTIVE", "EXPIRED", "VALIDATION_TIMED_OUT", "REVOKED", "FAILED", "UNKNOWN"
|
2867
|
+
# resp.tls_certificates[0].domain_name #=> String
|
2868
|
+
# resp.tls_certificates[0].domain_validation_records #=> Array
|
2869
|
+
# resp.tls_certificates[0].domain_validation_records[0].name #=> String
|
2870
|
+
# resp.tls_certificates[0].domain_validation_records[0].type #=> String
|
2871
|
+
# resp.tls_certificates[0].domain_validation_records[0].value #=> String
|
2872
|
+
# resp.tls_certificates[0].domain_validation_records[0].validation_status #=> String, one of "PENDING_VALIDATION", "FAILED", "SUCCESS"
|
2873
|
+
# resp.tls_certificates[0].domain_validation_records[0].domain_name #=> String
|
2874
|
+
# resp.tls_certificates[0].failure_reason #=> String, one of "NO_AVAILABLE_CONTACTS", "ADDITIONAL_VERIFICATION_REQUIRED", "DOMAIN_NOT_ALLOWED", "INVALID_PUBLIC_DOMAIN", "OTHER"
|
2875
|
+
# resp.tls_certificates[0].issued_at #=> Time
|
2876
|
+
# resp.tls_certificates[0].issuer #=> String
|
2877
|
+
# resp.tls_certificates[0].key_algorithm #=> String
|
2878
|
+
# resp.tls_certificates[0].not_after #=> Time
|
2879
|
+
# resp.tls_certificates[0].not_before #=> Time
|
2880
|
+
# resp.tls_certificates[0].renewal_summary.renewal_status #=> String, one of "PENDING_AUTO_RENEWAL", "PENDING_VALIDATION", "SUCCESS", "FAILED"
|
2881
|
+
# resp.tls_certificates[0].renewal_summary.domain_validation_options #=> Array
|
2882
|
+
# resp.tls_certificates[0].renewal_summary.domain_validation_options[0].domain_name #=> String
|
2883
|
+
# resp.tls_certificates[0].renewal_summary.domain_validation_options[0].validation_status #=> String, one of "PENDING_VALIDATION", "FAILED", "SUCCESS"
|
2884
|
+
# resp.tls_certificates[0].revocation_reason #=> String, one of "UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERCEDED", "CESSATION_OF_OPERATION", "CERTIFICATE_HOLD", "REMOVE_FROM_CRL", "PRIVILEGE_WITHDRAWN", "A_A_COMPROMISE"
|
2885
|
+
# resp.tls_certificates[0].revoked_at #=> Time
|
2886
|
+
# resp.tls_certificates[0].serial #=> String
|
2887
|
+
# resp.tls_certificates[0].signature_algorithm #=> String
|
2888
|
+
# resp.tls_certificates[0].subject #=> String
|
2889
|
+
# resp.tls_certificates[0].subject_alternative_names #=> Array
|
2890
|
+
# resp.tls_certificates[0].subject_alternative_names[0] #=> String
|
2891
|
+
#
|
2892
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsCertificates AWS API Documentation
|
2893
|
+
#
|
2894
|
+
# @overload get_load_balancer_tls_certificates(params = {})
|
2895
|
+
# @param [Hash] params ({})
|
2896
|
+
def get_load_balancer_tls_certificates(params = {}, options = {})
|
2897
|
+
req = build_request(:get_load_balancer_tls_certificates, params)
|
2898
|
+
req.send_request(options)
|
2899
|
+
end
|
2900
|
+
|
2901
|
+
# Returns information about all load balancers in an account.
|
2902
|
+
#
|
2903
|
+
# If you are describing a long list of load balancers, you can paginate
|
2904
|
+
# the output to make the list more manageable. You can use the pageToken
|
2905
|
+
# and nextPageToken values to retrieve the next items in the list.
|
2906
|
+
#
|
2907
|
+
# @option params [String] :page_token
|
2908
|
+
# A token used for paginating the results from your GetLoadBalancers
|
2909
|
+
# request.
|
2910
|
+
#
|
2911
|
+
# @return [Types::GetLoadBalancersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2912
|
+
#
|
2913
|
+
# * {Types::GetLoadBalancersResult#load_balancers #load_balancers} => Array<Types::LoadBalancer>
|
2914
|
+
# * {Types::GetLoadBalancersResult#next_page_token #next_page_token} => String
|
2915
|
+
#
|
2916
|
+
# @example Request syntax with placeholder values
|
2917
|
+
#
|
2918
|
+
# resp = client.get_load_balancers({
|
2919
|
+
# page_token: "string",
|
2920
|
+
# })
|
2921
|
+
#
|
2922
|
+
# @example Response structure
|
2923
|
+
#
|
2924
|
+
# resp.load_balancers #=> Array
|
2925
|
+
# resp.load_balancers[0].name #=> String
|
2926
|
+
# resp.load_balancers[0].arn #=> String
|
2927
|
+
# resp.load_balancers[0].support_code #=> String
|
2928
|
+
# resp.load_balancers[0].created_at #=> Time
|
2929
|
+
# resp.load_balancers[0].location.availability_zone #=> String
|
2930
|
+
# resp.load_balancers[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2931
|
+
# resp.load_balancers[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2932
|
+
# resp.load_balancers[0].dns_name #=> String
|
2933
|
+
# resp.load_balancers[0].state #=> String, one of "active", "provisioning", "active_impaired", "failed", "unknown"
|
2934
|
+
# resp.load_balancers[0].protocol #=> String, one of "HTTP_HTTPS", "HTTP"
|
2935
|
+
# resp.load_balancers[0].public_ports #=> Array
|
2936
|
+
# resp.load_balancers[0].public_ports[0] #=> Integer
|
2937
|
+
# resp.load_balancers[0].health_check_path #=> String
|
2938
|
+
# resp.load_balancers[0].instance_port #=> Integer
|
2939
|
+
# resp.load_balancers[0].instance_health_summary #=> Array
|
2940
|
+
# resp.load_balancers[0].instance_health_summary[0].instance_name #=> String
|
2941
|
+
# resp.load_balancers[0].instance_health_summary[0].instance_health #=> String, one of "initial", "healthy", "unhealthy", "unused", "draining", "unavailable"
|
2942
|
+
# resp.load_balancers[0].instance_health_summary[0].instance_health_reason #=> String, one of "Lb.RegistrationInProgress", "Lb.InitialHealthChecking", "Lb.InternalError", "Instance.ResponseCodeMismatch", "Instance.Timeout", "Instance.FailedHealthChecks", "Instance.NotRegistered", "Instance.NotInUse", "Instance.DeregistrationInProgress", "Instance.InvalidState", "Instance.IpUnusable"
|
2943
|
+
# resp.load_balancers[0].tls_certificate_summaries #=> Array
|
2944
|
+
# resp.load_balancers[0].tls_certificate_summaries[0].name #=> String
|
2945
|
+
# resp.load_balancers[0].tls_certificate_summaries[0].is_attached #=> Boolean
|
2946
|
+
# resp.load_balancers[0].configuration_options #=> Hash
|
2947
|
+
# resp.load_balancers[0].configuration_options["LoadBalancerAttributeName"] #=> String
|
2948
|
+
# resp.next_page_token #=> String
|
2949
|
+
#
|
2950
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancers AWS API Documentation
|
2951
|
+
#
|
2952
|
+
# @overload get_load_balancers(params = {})
|
2953
|
+
# @param [Hash] params ({})
|
2954
|
+
def get_load_balancers(params = {}, options = {})
|
2955
|
+
req = build_request(:get_load_balancers, params)
|
2956
|
+
req.send_request(options)
|
2957
|
+
end
|
2958
|
+
|
2264
2959
|
# Returns information about a specific operation. Operations include
|
2265
2960
|
# events such as when you create an instance, allocate a static IP,
|
2266
2961
|
# attach a static IP, and so on.
|
@@ -2282,13 +2977,13 @@ module Aws::Lightsail
|
|
2282
2977
|
#
|
2283
2978
|
# resp.operation.id #=> String
|
2284
2979
|
# resp.operation.resource_name #=> String
|
2285
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
2980
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2286
2981
|
# resp.operation.created_at #=> Time
|
2287
2982
|
# resp.operation.location.availability_zone #=> String
|
2288
2983
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2289
2984
|
# resp.operation.is_terminal #=> Boolean
|
2290
2985
|
# resp.operation.operation_details #=> String
|
2291
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2986
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2292
2987
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2293
2988
|
# resp.operation.status_changed_at #=> Time
|
2294
2989
|
# resp.operation.error_code #=> String
|
@@ -2330,13 +3025,13 @@ module Aws::Lightsail
|
|
2330
3025
|
# resp.operations #=> Array
|
2331
3026
|
# resp.operations[0].id #=> String
|
2332
3027
|
# resp.operations[0].resource_name #=> String
|
2333
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3028
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2334
3029
|
# resp.operations[0].created_at #=> Time
|
2335
3030
|
# resp.operations[0].location.availability_zone #=> String
|
2336
3031
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2337
3032
|
# resp.operations[0].is_terminal #=> Boolean
|
2338
3033
|
# resp.operations[0].operation_details #=> String
|
2339
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3034
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2340
3035
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2341
3036
|
# resp.operations[0].status_changed_at #=> Time
|
2342
3037
|
# resp.operations[0].error_code #=> String
|
@@ -2380,13 +3075,13 @@ module Aws::Lightsail
|
|
2380
3075
|
# resp.operations #=> Array
|
2381
3076
|
# resp.operations[0].id #=> String
|
2382
3077
|
# resp.operations[0].resource_name #=> String
|
2383
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3078
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2384
3079
|
# resp.operations[0].created_at #=> Time
|
2385
3080
|
# resp.operations[0].location.availability_zone #=> String
|
2386
3081
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2387
3082
|
# resp.operations[0].is_terminal #=> Boolean
|
2388
3083
|
# resp.operations[0].operation_details #=> String
|
2389
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3084
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2390
3085
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2391
3086
|
# resp.operations[0].status_changed_at #=> Time
|
2392
3087
|
# resp.operations[0].error_code #=> String
|
@@ -2465,7 +3160,7 @@ module Aws::Lightsail
|
|
2465
3160
|
# resp.static_ip.created_at #=> Time
|
2466
3161
|
# resp.static_ip.location.availability_zone #=> String
|
2467
3162
|
# resp.static_ip.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2468
|
-
# resp.static_ip.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3163
|
+
# resp.static_ip.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2469
3164
|
# resp.static_ip.ip_address #=> String
|
2470
3165
|
# resp.static_ip.attached_to #=> String
|
2471
3166
|
# resp.static_ip.is_attached #=> Boolean
|
@@ -2505,7 +3200,7 @@ module Aws::Lightsail
|
|
2505
3200
|
# resp.static_ips[0].created_at #=> Time
|
2506
3201
|
# resp.static_ips[0].location.availability_zone #=> String
|
2507
3202
|
# resp.static_ips[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2508
|
-
# resp.static_ips[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3203
|
+
# resp.static_ips[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2509
3204
|
# resp.static_ips[0].ip_address #=> String
|
2510
3205
|
# resp.static_ips[0].attached_to #=> String
|
2511
3206
|
# resp.static_ips[0].is_attached #=> Boolean
|
@@ -2543,13 +3238,13 @@ module Aws::Lightsail
|
|
2543
3238
|
#
|
2544
3239
|
# resp.operation.id #=> String
|
2545
3240
|
# resp.operation.resource_name #=> String
|
2546
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3241
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2547
3242
|
# resp.operation.created_at #=> Time
|
2548
3243
|
# resp.operation.location.availability_zone #=> String
|
2549
3244
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2550
3245
|
# resp.operation.is_terminal #=> Boolean
|
2551
3246
|
# resp.operation.operation_details #=> String
|
2552
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3247
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2553
3248
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2554
3249
|
# resp.operation.status_changed_at #=> Time
|
2555
3250
|
# resp.operation.error_code #=> String
|
@@ -2612,13 +3307,13 @@ module Aws::Lightsail
|
|
2612
3307
|
#
|
2613
3308
|
# resp.operation.id #=> String
|
2614
3309
|
# resp.operation.resource_name #=> String
|
2615
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3310
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2616
3311
|
# resp.operation.created_at #=> Time
|
2617
3312
|
# resp.operation.location.availability_zone #=> String
|
2618
3313
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2619
3314
|
# resp.operation.is_terminal #=> Boolean
|
2620
3315
|
# resp.operation.operation_details #=> String
|
2621
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3316
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2622
3317
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2623
3318
|
# resp.operation.status_changed_at #=> Time
|
2624
3319
|
# resp.operation.error_code #=> String
|
@@ -2643,13 +3338,13 @@ module Aws::Lightsail
|
|
2643
3338
|
#
|
2644
3339
|
# resp.operation.id #=> String
|
2645
3340
|
# resp.operation.resource_name #=> String
|
2646
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3341
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2647
3342
|
# resp.operation.created_at #=> Time
|
2648
3343
|
# resp.operation.location.availability_zone #=> String
|
2649
3344
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2650
3345
|
# resp.operation.is_terminal #=> Boolean
|
2651
3346
|
# resp.operation.operation_details #=> String
|
2652
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3347
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2653
3348
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2654
3349
|
# resp.operation.status_changed_at #=> Time
|
2655
3350
|
# resp.operation.error_code #=> String
|
@@ -2695,13 +3390,13 @@ module Aws::Lightsail
|
|
2695
3390
|
#
|
2696
3391
|
# resp.operation.id #=> String
|
2697
3392
|
# resp.operation.resource_name #=> String
|
2698
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3393
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2699
3394
|
# resp.operation.created_at #=> Time
|
2700
3395
|
# resp.operation.location.availability_zone #=> String
|
2701
3396
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2702
3397
|
# resp.operation.is_terminal #=> Boolean
|
2703
3398
|
# resp.operation.operation_details #=> String
|
2704
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3399
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2705
3400
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2706
3401
|
# resp.operation.status_changed_at #=> Time
|
2707
3402
|
# resp.operation.error_code #=> String
|
@@ -2739,13 +3434,13 @@ module Aws::Lightsail
|
|
2739
3434
|
# resp.operations #=> Array
|
2740
3435
|
# resp.operations[0].id #=> String
|
2741
3436
|
# resp.operations[0].resource_name #=> String
|
2742
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3437
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2743
3438
|
# resp.operations[0].created_at #=> Time
|
2744
3439
|
# resp.operations[0].location.availability_zone #=> String
|
2745
3440
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2746
3441
|
# resp.operations[0].is_terminal #=> Boolean
|
2747
3442
|
# resp.operations[0].operation_details #=> String
|
2748
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3443
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2749
3444
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2750
3445
|
# resp.operations[0].status_changed_at #=> Time
|
2751
3446
|
# resp.operations[0].error_code #=> String
|
@@ -2780,13 +3475,13 @@ module Aws::Lightsail
|
|
2780
3475
|
# resp.operations #=> Array
|
2781
3476
|
# resp.operations[0].id #=> String
|
2782
3477
|
# resp.operations[0].resource_name #=> String
|
2783
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3478
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2784
3479
|
# resp.operations[0].created_at #=> Time
|
2785
3480
|
# resp.operations[0].location.availability_zone #=> String
|
2786
3481
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2787
3482
|
# resp.operations[0].is_terminal #=> Boolean
|
2788
3483
|
# resp.operations[0].operation_details #=> String
|
2789
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3484
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2790
3485
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2791
3486
|
# resp.operations[0].status_changed_at #=> Time
|
2792
3487
|
# resp.operations[0].error_code #=> String
|
@@ -2822,13 +3517,13 @@ module Aws::Lightsail
|
|
2822
3517
|
# resp.operations #=> Array
|
2823
3518
|
# resp.operations[0].id #=> String
|
2824
3519
|
# resp.operations[0].resource_name #=> String
|
2825
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3520
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2826
3521
|
# resp.operations[0].created_at #=> Time
|
2827
3522
|
# resp.operations[0].location.availability_zone #=> String
|
2828
3523
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2829
3524
|
# resp.operations[0].is_terminal #=> Boolean
|
2830
3525
|
# resp.operations[0].operation_details #=> String
|
2831
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3526
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2832
3527
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2833
3528
|
# resp.operations[0].status_changed_at #=> Time
|
2834
3529
|
# resp.operations[0].error_code #=> String
|
@@ -2872,13 +3567,13 @@ module Aws::Lightsail
|
|
2872
3567
|
# resp.operations #=> Array
|
2873
3568
|
# resp.operations[0].id #=> String
|
2874
3569
|
# resp.operations[0].resource_name #=> String
|
2875
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3570
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2876
3571
|
# resp.operations[0].created_at #=> Time
|
2877
3572
|
# resp.operations[0].location.availability_zone #=> String
|
2878
3573
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2879
3574
|
# resp.operations[0].is_terminal #=> Boolean
|
2880
3575
|
# resp.operations[0].operation_details #=> String
|
2881
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3576
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2882
3577
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2883
3578
|
# resp.operations[0].status_changed_at #=> Time
|
2884
3579
|
# resp.operations[0].error_code #=> String
|
@@ -2903,13 +3598,13 @@ module Aws::Lightsail
|
|
2903
3598
|
#
|
2904
3599
|
# resp.operation.id #=> String
|
2905
3600
|
# resp.operation.resource_name #=> String
|
2906
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3601
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2907
3602
|
# resp.operation.created_at #=> Time
|
2908
3603
|
# resp.operation.location.availability_zone #=> String
|
2909
3604
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2910
3605
|
# resp.operation.is_terminal #=> Boolean
|
2911
3606
|
# resp.operation.operation_details #=> String
|
2912
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3607
|
+
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2913
3608
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2914
3609
|
# resp.operation.status_changed_at #=> Time
|
2915
3610
|
# resp.operation.error_code #=> String
|
@@ -2945,6 +3640,7 @@ module Aws::Lightsail
|
|
2945
3640
|
# id: "NonEmptyString",
|
2946
3641
|
# name: "DomainName",
|
2947
3642
|
# target: "string",
|
3643
|
+
# is_alias: false,
|
2948
3644
|
# type: "DomainEntryType",
|
2949
3645
|
# options: {
|
2950
3646
|
# "DomainEntryOptionsKeys" => "string",
|
@@ -2957,13 +3653,13 @@ module Aws::Lightsail
|
|
2957
3653
|
# resp.operations #=> Array
|
2958
3654
|
# resp.operations[0].id #=> String
|
2959
3655
|
# resp.operations[0].resource_name #=> String
|
2960
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
|
3656
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2961
3657
|
# resp.operations[0].created_at #=> Time
|
2962
3658
|
# resp.operations[0].location.availability_zone #=> String
|
2963
3659
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2964
3660
|
# resp.operations[0].is_terminal #=> Boolean
|
2965
3661
|
# resp.operations[0].operation_details #=> String
|
2966
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3662
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2967
3663
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
2968
3664
|
# resp.operations[0].status_changed_at #=> Time
|
2969
3665
|
# resp.operations[0].error_code #=> String
|
@@ -2978,6 +3674,55 @@ module Aws::Lightsail
|
|
2978
3674
|
req.send_request(options)
|
2979
3675
|
end
|
2980
3676
|
|
3677
|
+
# Updates the specified attribute for a load balancer.
|
3678
|
+
#
|
3679
|
+
# @option params [required, String] :load_balancer_name
|
3680
|
+
# The name of the load balancer that you want to modify.
|
3681
|
+
#
|
3682
|
+
# @option params [required, String] :attribute_name
|
3683
|
+
# The name of the attribute you want to update. Valid values are below.
|
3684
|
+
#
|
3685
|
+
# @option params [required, String] :attribute_value
|
3686
|
+
# The value that you want to specify for the attribute name.
|
3687
|
+
#
|
3688
|
+
# @return [Types::UpdateLoadBalancerAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3689
|
+
#
|
3690
|
+
# * {Types::UpdateLoadBalancerAttributeResult#operations #operations} => Array<Types::Operation>
|
3691
|
+
#
|
3692
|
+
# @example Request syntax with placeholder values
|
3693
|
+
#
|
3694
|
+
# resp = client.update_load_balancer_attribute({
|
3695
|
+
# load_balancer_name: "ResourceName", # required
|
3696
|
+
# attribute_name: "HealthCheckPath", # required, accepts HealthCheckPath, SessionStickinessEnabled, SessionStickiness_LB_CookieDurationSeconds
|
3697
|
+
# attribute_value: "StringMax256", # required
|
3698
|
+
# })
|
3699
|
+
#
|
3700
|
+
# @example Response structure
|
3701
|
+
#
|
3702
|
+
# resp.operations #=> Array
|
3703
|
+
# resp.operations[0].id #=> String
|
3704
|
+
# resp.operations[0].resource_name #=> String
|
3705
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
3706
|
+
# resp.operations[0].created_at #=> Time
|
3707
|
+
# resp.operations[0].location.availability_zone #=> String
|
3708
|
+
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3709
|
+
# resp.operations[0].is_terminal #=> Boolean
|
3710
|
+
# resp.operations[0].operation_details #=> String
|
3711
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
3712
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
3713
|
+
# resp.operations[0].status_changed_at #=> Time
|
3714
|
+
# resp.operations[0].error_code #=> String
|
3715
|
+
# resp.operations[0].error_details #=> String
|
3716
|
+
#
|
3717
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttribute AWS API Documentation
|
3718
|
+
#
|
3719
|
+
# @overload update_load_balancer_attribute(params = {})
|
3720
|
+
# @param [Hash] params ({})
|
3721
|
+
def update_load_balancer_attribute(params = {}, options = {})
|
3722
|
+
req = build_request(:update_load_balancer_attribute, params)
|
3723
|
+
req.send_request(options)
|
3724
|
+
end
|
3725
|
+
|
2981
3726
|
# @!endgroup
|
2982
3727
|
|
2983
3728
|
# @param params ({})
|
@@ -2991,7 +3736,7 @@ module Aws::Lightsail
|
|
2991
3736
|
params: params,
|
2992
3737
|
config: config)
|
2993
3738
|
context[:gem_name] = 'aws-sdk-lightsail'
|
2994
|
-
context[:gem_version] = '1.
|
3739
|
+
context[:gem_version] = '1.3.0'
|
2995
3740
|
Seahorse::Client::Request.new(handlers, context)
|
2996
3741
|
end
|
2997
3742
|
|