aws-sdk-lightsail 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37167236ec41cb84e9cae27cfcbddc46b2e170d1
4
- data.tar.gz: 62434a27f2ffaee2d6e3434cc52d7501864b5188
3
+ metadata.gz: db3a8cedd6b62af39f7ddd8c419188db0eee8f6c
4
+ data.tar.gz: 98d1b870934a5867c7829493dbbf3c3b41a45df4
5
5
  SHA512:
6
- metadata.gz: 196eaf2d054d8c722ffafb7cdd362d0390ac3cb8190ab3a4885553beba07d29bf9f84f02d1c86828c3403b62a64592745bad53d6266c910daee5256cedb06121
7
- data.tar.gz: 2be9108df46ecdf90a5ee7904bdd8a310ce49aea13303eac4813720f3743f5a3da15683515f92081acac27ad4b2a0bde19ba0f81c252e5e5b5bcb65e8f13f690
6
+ metadata.gz: 2780230b11c3e5ba6b2b14100d9c1c0c554cd83279add50c71a1abe0ff45d1dbb682059bdd8e28044043ed537b72afd3421becfe53b7e74271985c080bf13f76
7
+ data.tar.gz: 2875052ef2773aa4988009aef383dcd434500836cbf3399e3e51e750b876bf8a385ed8e9908a43f28459bc0ef557f154fbd381a61d43c4592b352c883d339474
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-lightsail/customizations'
42
42
  # @service
43
43
  module Aws::Lightsail
44
44
 
45
- GEM_VERSION = '1.1.0'
45
+ GEM_VERSION = '1.2.0'
46
46
 
47
47
  end
@@ -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"
178
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "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"
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"
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
@@ -196,6 +196,57 @@ module Aws::Lightsail
196
196
  req.send_request(options)
197
197
  end
198
198
 
199
+ # Attaches a block storage disk to a running or stopped Lightsail
200
+ # instance and exposes it to the instance with the specified disk name.
201
+ #
202
+ # @option params [required, String] :disk_name
203
+ # The unique Lightsail disk name (e.g., `my-disk`).
204
+ #
205
+ # @option params [required, String] :instance_name
206
+ # The name of the Lightsail instance where you want to utilize the
207
+ # storage disk.
208
+ #
209
+ # @option params [required, String] :disk_path
210
+ # The disk path to expose to the instance (e.g., `/dev/xvdf`).
211
+ #
212
+ # @return [Types::AttachDiskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
213
+ #
214
+ # * {Types::AttachDiskResult#operations #operations} => Array<Types::Operation>
215
+ #
216
+ # @example Request syntax with placeholder values
217
+ #
218
+ # resp = client.attach_disk({
219
+ # disk_name: "ResourceName", # required
220
+ # instance_name: "ResourceName", # required
221
+ # disk_path: "NonEmptyString", # required
222
+ # })
223
+ #
224
+ # @example Response structure
225
+ #
226
+ # resp.operations #=> Array
227
+ # resp.operations[0].id #=> String
228
+ # resp.operations[0].resource_name #=> String
229
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
230
+ # resp.operations[0].created_at #=> Time
231
+ # resp.operations[0].location.availability_zone #=> String
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
+ # resp.operations[0].is_terminal #=> Boolean
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"
236
+ # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
237
+ # resp.operations[0].status_changed_at #=> Time
238
+ # resp.operations[0].error_code #=> String
239
+ # resp.operations[0].error_details #=> String
240
+ #
241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachDisk AWS API Documentation
242
+ #
243
+ # @overload attach_disk(params = {})
244
+ # @param [Hash] params ({})
245
+ def attach_disk(params = {}, options = {})
246
+ req = build_request(:attach_disk, params)
247
+ req.send_request(options)
248
+ end
249
+
199
250
  # Attaches a static IP address to a specific Amazon Lightsail instance.
200
251
  #
201
252
  # @option params [required, String] :static_ip_name
@@ -220,13 +271,13 @@ module Aws::Lightsail
220
271
  # resp.operations #=> Array
221
272
  # resp.operations[0].id #=> String
222
273
  # resp.operations[0].resource_name #=> String
223
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
274
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
224
275
  # resp.operations[0].created_at #=> Time
225
276
  # resp.operations[0].location.availability_zone #=> String
226
277
  # 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"
227
278
  # resp.operations[0].is_terminal #=> Boolean
228
279
  # resp.operations[0].operation_details #=> String
229
- # 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"
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"
230
281
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
231
282
  # resp.operations[0].status_changed_at #=> Time
232
283
  # resp.operations[0].error_code #=> String
@@ -269,13 +320,13 @@ module Aws::Lightsail
269
320
  #
270
321
  # resp.operation.id #=> String
271
322
  # resp.operation.resource_name #=> String
272
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
323
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
273
324
  # resp.operation.created_at #=> Time
274
325
  # resp.operation.location.availability_zone #=> String
275
326
  # 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"
276
327
  # resp.operation.is_terminal #=> Boolean
277
328
  # resp.operation.operation_details #=> String
278
- # 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"
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"
279
330
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
280
331
  # resp.operation.status_changed_at #=> Time
281
332
  # resp.operation.error_code #=> String
@@ -290,6 +341,195 @@ module Aws::Lightsail
290
341
  req.send_request(options)
291
342
  end
292
343
 
344
+ # Creates a block storage disk that can be attached to a Lightsail
345
+ # instance in the same Availability Zone (e.g., `us-east-2a`). The disk
346
+ # is created in the regional endpoint that you send the HTTP request to.
347
+ # For more information, see [Regions and Availability Zones in
348
+ # Lightsail][1].
349
+ #
350
+ #
351
+ #
352
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail
353
+ #
354
+ # @option params [required, String] :disk_name
355
+ # The unique Lightsail disk name (e.g., `my-disk`).
356
+ #
357
+ # @option params [required, String] :availability_zone
358
+ # The Availability Zone where you want to create the disk (e.g.,
359
+ # `us-east-2a`). Choose the same Availability Zone as the Lightsail
360
+ # instance where you want to create the disk.
361
+ #
362
+ # Use the GetRegions operation to list the Availability Zones where
363
+ # Lightsail is currently available.
364
+ #
365
+ # @option params [required, Integer] :size_in_gb
366
+ # The size of the disk in GB (e.g., `32`).
367
+ #
368
+ # @return [Types::CreateDiskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
369
+ #
370
+ # * {Types::CreateDiskResult#operations #operations} => Array<Types::Operation>
371
+ #
372
+ # @example Request syntax with placeholder values
373
+ #
374
+ # resp = client.create_disk({
375
+ # disk_name: "ResourceName", # required
376
+ # availability_zone: "NonEmptyString", # required
377
+ # size_in_gb: 1, # required
378
+ # })
379
+ #
380
+ # @example Response structure
381
+ #
382
+ # resp.operations #=> Array
383
+ # resp.operations[0].id #=> String
384
+ # resp.operations[0].resource_name #=> String
385
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
386
+ # resp.operations[0].created_at #=> Time
387
+ # resp.operations[0].location.availability_zone #=> String
388
+ # 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
+ # resp.operations[0].is_terminal #=> Boolean
390
+ # 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"
392
+ # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
393
+ # resp.operations[0].status_changed_at #=> Time
394
+ # resp.operations[0].error_code #=> String
395
+ # resp.operations[0].error_details #=> String
396
+ #
397
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDisk AWS API Documentation
398
+ #
399
+ # @overload create_disk(params = {})
400
+ # @param [Hash] params ({})
401
+ def create_disk(params = {}, options = {})
402
+ req = build_request(:create_disk, params)
403
+ req.send_request(options)
404
+ end
405
+
406
+ # Creates a block storage disk from a disk snapshot that can be attached
407
+ # to a Lightsail instance in the same Availability Zone (e.g.,
408
+ # `us-east-2a`). The disk is created in the regional endpoint that you
409
+ # send the HTTP request to. For more information, see [Regions and
410
+ # Availability Zones in Lightsail][1].
411
+ #
412
+ #
413
+ #
414
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/overview/article/understanding-regions-and-availability-zones-in-amazon-lightsail
415
+ #
416
+ # @option params [required, String] :disk_name
417
+ # The unique Lightsail disk name (e.g., `my-disk`).
418
+ #
419
+ # @option params [required, String] :disk_snapshot_name
420
+ # The name of the disk snapshot (e.g., `my-snapshot`) from which to
421
+ # create the new storage disk.
422
+ #
423
+ # @option params [required, String] :availability_zone
424
+ # The Availability Zone where you want to create the disk (e.g.,
425
+ # `us-east-2a`). Choose the same Availability Zone as the Lightsail
426
+ # instance where you want to create the disk.
427
+ #
428
+ # Use the GetRegions operation to list the Availability Zones where
429
+ # Lightsail is currently available.
430
+ #
431
+ # @option params [required, Integer] :size_in_gb
432
+ # The size of the disk in GB (e.g., `32`).
433
+ #
434
+ # @return [Types::CreateDiskFromSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
435
+ #
436
+ # * {Types::CreateDiskFromSnapshotResult#operations #operations} => Array<Types::Operation>
437
+ #
438
+ # @example Request syntax with placeholder values
439
+ #
440
+ # resp = client.create_disk_from_snapshot({
441
+ # disk_name: "ResourceName", # required
442
+ # disk_snapshot_name: "ResourceName", # required
443
+ # availability_zone: "NonEmptyString", # required
444
+ # size_in_gb: 1, # required
445
+ # })
446
+ #
447
+ # @example Response structure
448
+ #
449
+ # resp.operations #=> Array
450
+ # resp.operations[0].id #=> String
451
+ # resp.operations[0].resource_name #=> String
452
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
453
+ # resp.operations[0].created_at #=> Time
454
+ # resp.operations[0].location.availability_zone #=> String
455
+ # 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
+ # resp.operations[0].is_terminal #=> Boolean
457
+ # 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"
459
+ # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
460
+ # resp.operations[0].status_changed_at #=> Time
461
+ # resp.operations[0].error_code #=> String
462
+ # resp.operations[0].error_details #=> String
463
+ #
464
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshot AWS API Documentation
465
+ #
466
+ # @overload create_disk_from_snapshot(params = {})
467
+ # @param [Hash] params ({})
468
+ def create_disk_from_snapshot(params = {}, options = {})
469
+ req = build_request(:create_disk_from_snapshot, params)
470
+ req.send_request(options)
471
+ end
472
+
473
+ # Creates a snapshot of a block storage disk. You can use snapshots for
474
+ # backups, to make copies of disks, and to save data before shutting
475
+ # down a Lightsail instance.
476
+ #
477
+ # You can take a snapshot of an attached disk that is in use; however,
478
+ # snapshots only capture data that has been written to your disk at the
479
+ # time the snapshot command is issued. This may exclude any data that
480
+ # has been cached by any applications or the operating system. If you
481
+ # can pause any file systems on the disk long enough to take a snapshot,
482
+ # your snapshot should be complete. Nevertheless, if you cannot pause
483
+ # all file writes to the disk, you should unmount the disk from within
484
+ # the Lightsail instance, issue the create disk snapshot command, and
485
+ # then remount the disk to ensure a consistent and complete snapshot.
486
+ # You may remount and use your disk while the snapshot status is
487
+ # pending.
488
+ #
489
+ # @option params [required, String] :disk_name
490
+ # The unique name of the source disk (e.g., `my-source-disk`).
491
+ #
492
+ # @option params [required, String] :disk_snapshot_name
493
+ # The name of the destination disk snapshot (e.g., `my-disk-snapshot`)
494
+ # based on the source disk.
495
+ #
496
+ # @return [Types::CreateDiskSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
497
+ #
498
+ # * {Types::CreateDiskSnapshotResult#operations #operations} => Array<Types::Operation>
499
+ #
500
+ # @example Request syntax with placeholder values
501
+ #
502
+ # resp = client.create_disk_snapshot({
503
+ # disk_name: "ResourceName", # required
504
+ # disk_snapshot_name: "ResourceName", # required
505
+ # })
506
+ #
507
+ # @example Response structure
508
+ #
509
+ # resp.operations #=> Array
510
+ # resp.operations[0].id #=> String
511
+ # resp.operations[0].resource_name #=> String
512
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
513
+ # resp.operations[0].created_at #=> Time
514
+ # resp.operations[0].location.availability_zone #=> String
515
+ # 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
+ # resp.operations[0].is_terminal #=> Boolean
517
+ # 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"
519
+ # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
520
+ # resp.operations[0].status_changed_at #=> Time
521
+ # resp.operations[0].error_code #=> String
522
+ # resp.operations[0].error_details #=> String
523
+ #
524
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshot AWS API Documentation
525
+ #
526
+ # @overload create_disk_snapshot(params = {})
527
+ # @param [Hash] params ({})
528
+ def create_disk_snapshot(params = {}, options = {})
529
+ req = build_request(:create_disk_snapshot, params)
530
+ req.send_request(options)
531
+ end
532
+
293
533
  # Creates a domain resource for the specified domain (e.g.,
294
534
  # example.com).
295
535
  #
@@ -317,13 +557,13 @@ module Aws::Lightsail
317
557
  #
318
558
  # resp.operation.id #=> String
319
559
  # resp.operation.resource_name #=> String
320
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
560
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
321
561
  # resp.operation.created_at #=> Time
322
562
  # resp.operation.location.availability_zone #=> String
323
563
  # 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"
324
564
  # resp.operation.is_terminal #=> Boolean
325
565
  # resp.operation.operation_details #=> String
326
- # 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"
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"
327
567
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
328
568
  # resp.operation.status_changed_at #=> Time
329
569
  # resp.operation.error_code #=> String
@@ -372,13 +612,13 @@ module Aws::Lightsail
372
612
  #
373
613
  # resp.operation.id #=> String
374
614
  # resp.operation.resource_name #=> String
375
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
615
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
376
616
  # resp.operation.created_at #=> Time
377
617
  # resp.operation.location.availability_zone #=> String
378
618
  # 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"
379
619
  # resp.operation.is_terminal #=> Boolean
380
620
  # resp.operation.operation_details #=> String
381
- # 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"
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"
382
622
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
383
623
  # resp.operation.status_changed_at #=> Time
384
624
  # resp.operation.error_code #=> String
@@ -419,13 +659,13 @@ module Aws::Lightsail
419
659
  # resp.operations #=> Array
420
660
  # resp.operations[0].id #=> String
421
661
  # resp.operations[0].resource_name #=> String
422
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
662
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
423
663
  # resp.operations[0].created_at #=> Time
424
664
  # resp.operations[0].location.availability_zone #=> String
425
665
  # 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"
426
666
  # resp.operations[0].is_terminal #=> Boolean
427
667
  # resp.operations[0].operation_details #=> String
428
- # 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"
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"
429
669
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
430
670
  # resp.operations[0].status_changed_at #=> Time
431
671
  # resp.operations[0].error_code #=> String
@@ -450,7 +690,7 @@ module Aws::Lightsail
450
690
  #
451
691
  # @option params [required, String] :availability_zone
452
692
  # The Availability Zone in which to create your instance. Use the
453
- # following format: `us-east-1a` (case sensitive). You can get a list of
693
+ # following format: `us-east-2a` (case sensitive). You can get a list of
454
694
  # availability zones by using the [get regions][1] operation. Be sure to
455
695
  # add the `include availability zones` parameter to your request.
456
696
  #
@@ -516,13 +756,13 @@ module Aws::Lightsail
516
756
  # resp.operations #=> Array
517
757
  # resp.operations[0].id #=> String
518
758
  # resp.operations[0].resource_name #=> String
519
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
759
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
520
760
  # resp.operations[0].created_at #=> Time
521
761
  # resp.operations[0].location.availability_zone #=> String
522
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"
523
763
  # resp.operations[0].is_terminal #=> Boolean
524
764
  # resp.operations[0].operation_details #=> String
525
- # 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"
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"
526
766
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
527
767
  # resp.operations[0].status_changed_at #=> Time
528
768
  # resp.operations[0].error_code #=> String
@@ -543,9 +783,12 @@ module Aws::Lightsail
543
783
  # @option params [required, Array<String>] :instance_names
544
784
  # The names for your new instances.
545
785
  #
786
+ # @option params [Hash<String,Array>] :attached_disk_mapping
787
+ # An object containing information about one or more disk mappings.
788
+ #
546
789
  # @option params [required, String] :availability_zone
547
790
  # The Availability Zone where you want to create your instances. Use the
548
- # following formatting: `us-east-1a` (case sensitive). You can get a
791
+ # following formatting: `us-east-2a` (case sensitive). You can get a
549
792
  # list of availability zones by using the [get regions][1] operation. Be
550
793
  # sure to add the `include availability zones` parameter to your
551
794
  # request.
@@ -590,6 +833,14 @@ module Aws::Lightsail
590
833
  #
591
834
  # resp = client.create_instances_from_snapshot({
592
835
  # instance_names: ["string"], # required
836
+ # attached_disk_mapping: {
837
+ # "ResourceName" => [
838
+ # {
839
+ # original_disk_path: "NonEmptyString",
840
+ # new_disk_name: "ResourceName",
841
+ # },
842
+ # ],
843
+ # },
593
844
  # availability_zone: "string", # required
594
845
  # instance_snapshot_name: "ResourceName", # required
595
846
  # bundle_id: "NonEmptyString", # required
@@ -602,13 +853,13 @@ module Aws::Lightsail
602
853
  # resp.operations #=> Array
603
854
  # resp.operations[0].id #=> String
604
855
  # resp.operations[0].resource_name #=> String
605
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
856
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
606
857
  # resp.operations[0].created_at #=> Time
607
858
  # resp.operations[0].location.availability_zone #=> String
608
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"
609
860
  # resp.operations[0].is_terminal #=> Boolean
610
861
  # resp.operations[0].operation_details #=> String
611
- # 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"
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"
612
863
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
613
864
  # resp.operations[0].status_changed_at #=> Time
614
865
  # resp.operations[0].error_code #=> String
@@ -649,19 +900,19 @@ module Aws::Lightsail
649
900
  # resp.key_pair.created_at #=> Time
650
901
  # resp.key_pair.location.availability_zone #=> String
651
902
  # 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"
652
- # resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
903
+ # resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
653
904
  # resp.key_pair.fingerprint #=> String
654
905
  # resp.public_key_base_64 #=> String
655
906
  # resp.private_key_base_64 #=> String
656
907
  # resp.operation.id #=> String
657
908
  # resp.operation.resource_name #=> String
658
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
909
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
659
910
  # resp.operation.created_at #=> Time
660
911
  # resp.operation.location.availability_zone #=> String
661
912
  # 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"
662
913
  # resp.operation.is_terminal #=> Boolean
663
914
  # resp.operation.operation_details #=> String
664
- # 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"
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"
665
916
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
666
917
  # resp.operation.status_changed_at #=> Time
667
918
  # resp.operation.error_code #=> String
@@ -676,6 +927,102 @@ module Aws::Lightsail
676
927
  req.send_request(options)
677
928
  end
678
929
 
930
+ # Deletes the specified block storage disk. The disk must be in the
931
+ # `available` state (not attached to a Lightsail instance).
932
+ #
933
+ # <note markdown="1"> The disk may remain in the `deleting` state for several minutes.
934
+ #
935
+ # </note>
936
+ #
937
+ # @option params [required, String] :disk_name
938
+ # The unique name of the disk you want to delete (e.g., `my-disk`).
939
+ #
940
+ # @return [Types::DeleteDiskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
941
+ #
942
+ # * {Types::DeleteDiskResult#operations #operations} => Array&lt;Types::Operation&gt;
943
+ #
944
+ # @example Request syntax with placeholder values
945
+ #
946
+ # resp = client.delete_disk({
947
+ # disk_name: "ResourceName", # required
948
+ # })
949
+ #
950
+ # @example Response structure
951
+ #
952
+ # resp.operations #=> Array
953
+ # resp.operations[0].id #=> String
954
+ # resp.operations[0].resource_name #=> String
955
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
956
+ # resp.operations[0].created_at #=> Time
957
+ # resp.operations[0].location.availability_zone #=> String
958
+ # 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
+ # resp.operations[0].is_terminal #=> Boolean
960
+ # 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"
962
+ # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
963
+ # resp.operations[0].status_changed_at #=> Time
964
+ # resp.operations[0].error_code #=> String
965
+ # resp.operations[0].error_details #=> String
966
+ #
967
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDisk AWS API Documentation
968
+ #
969
+ # @overload delete_disk(params = {})
970
+ # @param [Hash] params ({})
971
+ def delete_disk(params = {}, options = {})
972
+ req = build_request(:delete_disk, params)
973
+ req.send_request(options)
974
+ end
975
+
976
+ # Deletes the specified disk snapshot.
977
+ #
978
+ # When you make periodic snapshots of a disk, the snapshots are
979
+ # incremental, and only the blocks on the device that have changed since
980
+ # your last snapshot are saved in the new snapshot. When you delete a
981
+ # snapshot, only the data not needed for any other snapshot is removed.
982
+ # So regardless of which prior snapshots have been deleted, all active
983
+ # snapshots will have access to all the information needed to restore
984
+ # the disk.
985
+ #
986
+ # @option params [required, String] :disk_snapshot_name
987
+ # The name of the disk snapshot you want to delete (e.g.,
988
+ # `my-disk-snapshot`).
989
+ #
990
+ # @return [Types::DeleteDiskSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
991
+ #
992
+ # * {Types::DeleteDiskSnapshotResult#operations #operations} => Array&lt;Types::Operation&gt;
993
+ #
994
+ # @example Request syntax with placeholder values
995
+ #
996
+ # resp = client.delete_disk_snapshot({
997
+ # disk_snapshot_name: "ResourceName", # required
998
+ # })
999
+ #
1000
+ # @example Response structure
1001
+ #
1002
+ # resp.operations #=> Array
1003
+ # resp.operations[0].id #=> String
1004
+ # resp.operations[0].resource_name #=> String
1005
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1006
+ # resp.operations[0].created_at #=> Time
1007
+ # resp.operations[0].location.availability_zone #=> String
1008
+ # 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
+ # resp.operations[0].is_terminal #=> Boolean
1010
+ # 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"
1012
+ # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
1013
+ # resp.operations[0].status_changed_at #=> Time
1014
+ # resp.operations[0].error_code #=> String
1015
+ # resp.operations[0].error_details #=> String
1016
+ #
1017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskSnapshot AWS API Documentation
1018
+ #
1019
+ # @overload delete_disk_snapshot(params = {})
1020
+ # @param [Hash] params ({})
1021
+ def delete_disk_snapshot(params = {}, options = {})
1022
+ req = build_request(:delete_disk_snapshot, params)
1023
+ req.send_request(options)
1024
+ end
1025
+
679
1026
  # Deletes the specified domain recordset and all of its domain records.
680
1027
  #
681
1028
  # @option params [required, String] :domain_name
@@ -695,13 +1042,13 @@ module Aws::Lightsail
695
1042
  #
696
1043
  # resp.operation.id #=> String
697
1044
  # resp.operation.resource_name #=> String
698
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
1045
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
699
1046
  # resp.operation.created_at #=> Time
700
1047
  # resp.operation.location.availability_zone #=> String
701
1048
  # 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"
702
1049
  # resp.operation.is_terminal #=> Boolean
703
1050
  # resp.operation.operation_details #=> String
704
- # 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"
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"
705
1052
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
706
1053
  # resp.operation.status_changed_at #=> Time
707
1054
  # resp.operation.error_code #=> String
@@ -748,13 +1095,13 @@ module Aws::Lightsail
748
1095
  #
749
1096
  # resp.operation.id #=> String
750
1097
  # resp.operation.resource_name #=> String
751
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
1098
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
752
1099
  # resp.operation.created_at #=> Time
753
1100
  # resp.operation.location.availability_zone #=> String
754
1101
  # 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"
755
1102
  # resp.operation.is_terminal #=> Boolean
756
1103
  # resp.operation.operation_details #=> String
757
- # 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"
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"
758
1105
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
759
1106
  # resp.operation.status_changed_at #=> Time
760
1107
  # resp.operation.error_code #=> String
@@ -790,13 +1137,13 @@ module Aws::Lightsail
790
1137
  # resp.operations #=> Array
791
1138
  # resp.operations[0].id #=> String
792
1139
  # resp.operations[0].resource_name #=> String
793
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
1140
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
794
1141
  # resp.operations[0].created_at #=> Time
795
1142
  # resp.operations[0].location.availability_zone #=> String
796
1143
  # 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"
797
1144
  # resp.operations[0].is_terminal #=> Boolean
798
1145
  # resp.operations[0].operation_details #=> String
799
- # 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"
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"
800
1147
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
801
1148
  # resp.operations[0].status_changed_at #=> Time
802
1149
  # resp.operations[0].error_code #=> String
@@ -832,13 +1179,13 @@ module Aws::Lightsail
832
1179
  # resp.operations #=> Array
833
1180
  # resp.operations[0].id #=> String
834
1181
  # resp.operations[0].resource_name #=> String
835
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
1182
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
836
1183
  # resp.operations[0].created_at #=> Time
837
1184
  # resp.operations[0].location.availability_zone #=> String
838
1185
  # 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"
839
1186
  # resp.operations[0].is_terminal #=> Boolean
840
1187
  # resp.operations[0].operation_details #=> String
841
- # 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"
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"
842
1189
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
843
1190
  # resp.operations[0].status_changed_at #=> Time
844
1191
  # resp.operations[0].error_code #=> String
@@ -872,13 +1219,13 @@ module Aws::Lightsail
872
1219
  #
873
1220
  # resp.operation.id #=> String
874
1221
  # resp.operation.resource_name #=> String
875
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
1222
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
876
1223
  # resp.operation.created_at #=> Time
877
1224
  # resp.operation.location.availability_zone #=> String
878
1225
  # 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"
879
1226
  # resp.operation.is_terminal #=> Boolean
880
1227
  # resp.operation.operation_details #=> String
881
- # 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"
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"
882
1229
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
883
1230
  # resp.operation.status_changed_at #=> Time
884
1231
  # resp.operation.error_code #=> String
@@ -893,6 +1240,50 @@ module Aws::Lightsail
893
1240
  req.send_request(options)
894
1241
  end
895
1242
 
1243
+ # Detaches a stopped block storage disk from a Lightsail instance. Make
1244
+ # sure to unmount any file systems on the device within your operating
1245
+ # system before stopping the instance and detaching the disk.
1246
+ #
1247
+ # @option params [required, String] :disk_name
1248
+ # The unique name of the disk you want to detach from your instance
1249
+ # (e.g., `my-disk`).
1250
+ #
1251
+ # @return [Types::DetachDiskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1252
+ #
1253
+ # * {Types::DetachDiskResult#operations #operations} => Array&lt;Types::Operation&gt;
1254
+ #
1255
+ # @example Request syntax with placeholder values
1256
+ #
1257
+ # resp = client.detach_disk({
1258
+ # disk_name: "ResourceName", # required
1259
+ # })
1260
+ #
1261
+ # @example Response structure
1262
+ #
1263
+ # resp.operations #=> Array
1264
+ # resp.operations[0].id #=> String
1265
+ # resp.operations[0].resource_name #=> String
1266
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1267
+ # resp.operations[0].created_at #=> Time
1268
+ # resp.operations[0].location.availability_zone #=> String
1269
+ # 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
+ # resp.operations[0].is_terminal #=> Boolean
1271
+ # 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"
1273
+ # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
1274
+ # resp.operations[0].status_changed_at #=> Time
1275
+ # resp.operations[0].error_code #=> String
1276
+ # resp.operations[0].error_details #=> String
1277
+ #
1278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DetachDisk AWS API Documentation
1279
+ #
1280
+ # @overload detach_disk(params = {})
1281
+ # @param [Hash] params ({})
1282
+ def detach_disk(params = {}, options = {})
1283
+ req = build_request(:detach_disk, params)
1284
+ req.send_request(options)
1285
+ end
1286
+
896
1287
  # Detaches a static IP from the Amazon Lightsail instance to which it is
897
1288
  # attached.
898
1289
  #
@@ -914,13 +1305,13 @@ module Aws::Lightsail
914
1305
  # resp.operations #=> Array
915
1306
  # resp.operations[0].id #=> String
916
1307
  # resp.operations[0].resource_name #=> String
917
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
1308
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
918
1309
  # resp.operations[0].created_at #=> Time
919
1310
  # resp.operations[0].location.availability_zone #=> String
920
1311
  # 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"
921
1312
  # resp.operations[0].is_terminal #=> Boolean
922
1313
  # resp.operations[0].operation_details #=> String
923
- # 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"
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"
924
1315
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
925
1316
  # resp.operations[0].status_changed_at #=> Time
926
1317
  # resp.operations[0].error_code #=> String
@@ -1089,6 +1480,188 @@ module Aws::Lightsail
1089
1480
  req.send_request(options)
1090
1481
  end
1091
1482
 
1483
+ # Returns information about a specific block storage disk.
1484
+ #
1485
+ # @option params [required, String] :disk_name
1486
+ # The name of the disk (e.g., `my-disk`).
1487
+ #
1488
+ # @return [Types::GetDiskResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1489
+ #
1490
+ # * {Types::GetDiskResult#disk #disk} => Types::Disk
1491
+ #
1492
+ # @example Request syntax with placeholder values
1493
+ #
1494
+ # resp = client.get_disk({
1495
+ # disk_name: "ResourceName", # required
1496
+ # })
1497
+ #
1498
+ # @example Response structure
1499
+ #
1500
+ # resp.disk.name #=> String
1501
+ # resp.disk.arn #=> String
1502
+ # resp.disk.support_code #=> String
1503
+ # resp.disk.created_at #=> Time
1504
+ # resp.disk.location.availability_zone #=> String
1505
+ # 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"
1507
+ # resp.disk.size_in_gb #=> Integer
1508
+ # resp.disk.is_system_disk #=> Boolean
1509
+ # resp.disk.iops #=> Integer
1510
+ # resp.disk.path #=> String
1511
+ # resp.disk.state #=> String, one of "pending", "error", "available", "in-use", "unknown"
1512
+ # resp.disk.attached_to #=> String
1513
+ # resp.disk.is_attached #=> Boolean
1514
+ # resp.disk.attachment_state #=> String
1515
+ # resp.disk.gb_in_use #=> Integer
1516
+ #
1517
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisk AWS API Documentation
1518
+ #
1519
+ # @overload get_disk(params = {})
1520
+ # @param [Hash] params ({})
1521
+ def get_disk(params = {}, options = {})
1522
+ req = build_request(:get_disk, params)
1523
+ req.send_request(options)
1524
+ end
1525
+
1526
+ # Returns information about a specific block storage disk snapshot.
1527
+ #
1528
+ # @option params [required, String] :disk_snapshot_name
1529
+ # The name of the disk snapshot (e.g., `my-disk-snapshot`).
1530
+ #
1531
+ # @return [Types::GetDiskSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1532
+ #
1533
+ # * {Types::GetDiskSnapshotResult#disk_snapshot #disk_snapshot} => Types::DiskSnapshot
1534
+ #
1535
+ # @example Request syntax with placeholder values
1536
+ #
1537
+ # resp = client.get_disk_snapshot({
1538
+ # disk_snapshot_name: "ResourceName", # required
1539
+ # })
1540
+ #
1541
+ # @example Response structure
1542
+ #
1543
+ # resp.disk_snapshot.name #=> String
1544
+ # resp.disk_snapshot.arn #=> String
1545
+ # resp.disk_snapshot.support_code #=> String
1546
+ # resp.disk_snapshot.created_at #=> Time
1547
+ # resp.disk_snapshot.location.availability_zone #=> String
1548
+ # 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"
1550
+ # resp.disk_snapshot.size_in_gb #=> Integer
1551
+ # resp.disk_snapshot.state #=> String, one of "pending", "completed", "error", "unknown"
1552
+ # resp.disk_snapshot.progress #=> String
1553
+ # resp.disk_snapshot.from_disk_name #=> String
1554
+ # resp.disk_snapshot.from_disk_arn #=> String
1555
+ #
1556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshot AWS API Documentation
1557
+ #
1558
+ # @overload get_disk_snapshot(params = {})
1559
+ # @param [Hash] params ({})
1560
+ def get_disk_snapshot(params = {}, options = {})
1561
+ req = build_request(:get_disk_snapshot, params)
1562
+ req.send_request(options)
1563
+ end
1564
+
1565
+ # Returns information about all block storage disk snapshots in your AWS
1566
+ # account and region.
1567
+ #
1568
+ # If you are describing a long list of disk snapshots, you can paginate
1569
+ # the output to make the list more manageable. You can use the pageToken
1570
+ # and nextPageToken values to retrieve the next items in the list.
1571
+ #
1572
+ # @option params [String] :page_token
1573
+ # A token used for advancing to the next page of results from your
1574
+ # GetDiskSnapshots request.
1575
+ #
1576
+ # @return [Types::GetDiskSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1577
+ #
1578
+ # * {Types::GetDiskSnapshotsResult#disk_snapshots #disk_snapshots} => Array&lt;Types::DiskSnapshot&gt;
1579
+ # * {Types::GetDiskSnapshotsResult#next_page_token #next_page_token} => String
1580
+ #
1581
+ # @example Request syntax with placeholder values
1582
+ #
1583
+ # resp = client.get_disk_snapshots({
1584
+ # page_token: "string",
1585
+ # })
1586
+ #
1587
+ # @example Response structure
1588
+ #
1589
+ # resp.disk_snapshots #=> Array
1590
+ # resp.disk_snapshots[0].name #=> String
1591
+ # resp.disk_snapshots[0].arn #=> String
1592
+ # resp.disk_snapshots[0].support_code #=> String
1593
+ # resp.disk_snapshots[0].created_at #=> Time
1594
+ # resp.disk_snapshots[0].location.availability_zone #=> String
1595
+ # 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"
1597
+ # resp.disk_snapshots[0].size_in_gb #=> Integer
1598
+ # resp.disk_snapshots[0].state #=> String, one of "pending", "completed", "error", "unknown"
1599
+ # resp.disk_snapshots[0].progress #=> String
1600
+ # resp.disk_snapshots[0].from_disk_name #=> String
1601
+ # resp.disk_snapshots[0].from_disk_arn #=> String
1602
+ # resp.next_page_token #=> String
1603
+ #
1604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDiskSnapshots AWS API Documentation
1605
+ #
1606
+ # @overload get_disk_snapshots(params = {})
1607
+ # @param [Hash] params ({})
1608
+ def get_disk_snapshots(params = {}, options = {})
1609
+ req = build_request(:get_disk_snapshots, params)
1610
+ req.send_request(options)
1611
+ end
1612
+
1613
+ # Returns information about all block storage disks in your AWS account
1614
+ # and region.
1615
+ #
1616
+ # If you are describing a long list of disks, you can paginate the
1617
+ # output to make the list more manageable. You can use the pageToken and
1618
+ # nextPageToken values to retrieve the next items in the list.
1619
+ #
1620
+ # @option params [String] :page_token
1621
+ # A token used for advancing to the next page of results from your
1622
+ # GetDisks request.
1623
+ #
1624
+ # @return [Types::GetDisksResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1625
+ #
1626
+ # * {Types::GetDisksResult#disks #disks} => Array&lt;Types::Disk&gt;
1627
+ # * {Types::GetDisksResult#next_page_token #next_page_token} => String
1628
+ #
1629
+ # @example Request syntax with placeholder values
1630
+ #
1631
+ # resp = client.get_disks({
1632
+ # page_token: "string",
1633
+ # })
1634
+ #
1635
+ # @example Response structure
1636
+ #
1637
+ # resp.disks #=> Array
1638
+ # resp.disks[0].name #=> String
1639
+ # resp.disks[0].arn #=> String
1640
+ # resp.disks[0].support_code #=> String
1641
+ # resp.disks[0].created_at #=> Time
1642
+ # resp.disks[0].location.availability_zone #=> String
1643
+ # 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"
1645
+ # resp.disks[0].size_in_gb #=> Integer
1646
+ # resp.disks[0].is_system_disk #=> Boolean
1647
+ # resp.disks[0].iops #=> Integer
1648
+ # resp.disks[0].path #=> String
1649
+ # resp.disks[0].state #=> String, one of "pending", "error", "available", "in-use", "unknown"
1650
+ # resp.disks[0].attached_to #=> String
1651
+ # resp.disks[0].is_attached #=> Boolean
1652
+ # resp.disks[0].attachment_state #=> String
1653
+ # resp.disks[0].gb_in_use #=> Integer
1654
+ # resp.next_page_token #=> String
1655
+ #
1656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDisks AWS API Documentation
1657
+ #
1658
+ # @overload get_disks(params = {})
1659
+ # @param [Hash] params ({})
1660
+ def get_disks(params = {}, options = {})
1661
+ req = build_request(:get_disks, params)
1662
+ req.send_request(options)
1663
+ end
1664
+
1092
1665
  # Returns information about a specific domain recordset.
1093
1666
  #
1094
1667
  # @option params [required, String] :domain_name
@@ -1112,7 +1685,7 @@ module Aws::Lightsail
1112
1685
  # resp.domain.created_at #=> Time
1113
1686
  # resp.domain.location.availability_zone #=> String
1114
1687
  # 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"
1115
- # resp.domain.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
1688
+ # resp.domain.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1116
1689
  # resp.domain.domain_entries #=> Array
1117
1690
  # resp.domain.domain_entries[0].id #=> String
1118
1691
  # resp.domain.domain_entries[0].name #=> String
@@ -1156,7 +1729,7 @@ module Aws::Lightsail
1156
1729
  # resp.domains[0].created_at #=> Time
1157
1730
  # resp.domains[0].location.availability_zone #=> String
1158
1731
  # 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"
1159
- # resp.domains[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
1732
+ # resp.domains[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1160
1733
  # resp.domains[0].domain_entries #=> Array
1161
1734
  # resp.domains[0].domain_entries[0].id #=> String
1162
1735
  # resp.domains[0].domain_entries[0].name #=> String
@@ -1199,7 +1772,7 @@ module Aws::Lightsail
1199
1772
  # resp.instance.created_at #=> Time
1200
1773
  # resp.instance.location.availability_zone #=> String
1201
1774
  # 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"
1202
- # resp.instance.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
1775
+ # resp.instance.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1203
1776
  # resp.instance.blueprint_id #=> String
1204
1777
  # resp.instance.blueprint_name #=> String
1205
1778
  # resp.instance.bundle_id #=> String
@@ -1215,15 +1788,16 @@ module Aws::Lightsail
1215
1788
  # resp.instance.hardware.disks[0].created_at #=> Time
1216
1789
  # resp.instance.hardware.disks[0].location.availability_zone #=> String
1217
1790
  # 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"
1218
- # resp.instance.hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
1791
+ # resp.instance.hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1219
1792
  # resp.instance.hardware.disks[0].size_in_gb #=> Integer
1220
- # resp.instance.hardware.disks[0].gb_in_use #=> Integer
1221
1793
  # resp.instance.hardware.disks[0].is_system_disk #=> Boolean
1222
1794
  # resp.instance.hardware.disks[0].iops #=> Integer
1223
1795
  # resp.instance.hardware.disks[0].path #=> String
1796
+ # resp.instance.hardware.disks[0].state #=> String, one of "pending", "error", "available", "in-use", "unknown"
1224
1797
  # resp.instance.hardware.disks[0].attached_to #=> String
1225
1798
  # resp.instance.hardware.disks[0].is_attached #=> Boolean
1226
1799
  # resp.instance.hardware.disks[0].attachment_state #=> String
1800
+ # resp.instance.hardware.disks[0].gb_in_use #=> Integer
1227
1801
  # resp.instance.hardware.ram_size_in_gb #=> Float
1228
1802
  # resp.instance.networking.monthly_transfer.gb_per_month_allocated #=> Integer
1229
1803
  # resp.instance.networking.ports #=> Array
@@ -1408,9 +1982,26 @@ module Aws::Lightsail
1408
1982
  # resp.instance_snapshot.created_at #=> Time
1409
1983
  # resp.instance_snapshot.location.availability_zone #=> String
1410
1984
  # 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"
1411
- # resp.instance_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
1985
+ # resp.instance_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1412
1986
  # resp.instance_snapshot.state #=> String, one of "pending", "error", "available"
1413
1987
  # resp.instance_snapshot.progress #=> String
1988
+ # resp.instance_snapshot.from_attached_disks #=> Array
1989
+ # resp.instance_snapshot.from_attached_disks[0].name #=> String
1990
+ # resp.instance_snapshot.from_attached_disks[0].arn #=> String
1991
+ # resp.instance_snapshot.from_attached_disks[0].support_code #=> String
1992
+ # resp.instance_snapshot.from_attached_disks[0].created_at #=> Time
1993
+ # resp.instance_snapshot.from_attached_disks[0].location.availability_zone #=> String
1994
+ # 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"
1996
+ # resp.instance_snapshot.from_attached_disks[0].size_in_gb #=> Integer
1997
+ # resp.instance_snapshot.from_attached_disks[0].is_system_disk #=> Boolean
1998
+ # resp.instance_snapshot.from_attached_disks[0].iops #=> Integer
1999
+ # resp.instance_snapshot.from_attached_disks[0].path #=> String
2000
+ # resp.instance_snapshot.from_attached_disks[0].state #=> String, one of "pending", "error", "available", "in-use", "unknown"
2001
+ # resp.instance_snapshot.from_attached_disks[0].attached_to #=> String
2002
+ # resp.instance_snapshot.from_attached_disks[0].is_attached #=> Boolean
2003
+ # resp.instance_snapshot.from_attached_disks[0].attachment_state #=> String
2004
+ # resp.instance_snapshot.from_attached_disks[0].gb_in_use #=> Integer
1414
2005
  # resp.instance_snapshot.from_instance_name #=> String
1415
2006
  # resp.instance_snapshot.from_instance_arn #=> String
1416
2007
  # resp.instance_snapshot.from_blueprint_id #=> String
@@ -1452,9 +2043,26 @@ module Aws::Lightsail
1452
2043
  # resp.instance_snapshots[0].created_at #=> Time
1453
2044
  # resp.instance_snapshots[0].location.availability_zone #=> String
1454
2045
  # 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"
1455
- # resp.instance_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2046
+ # resp.instance_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1456
2047
  # resp.instance_snapshots[0].state #=> String, one of "pending", "error", "available"
1457
2048
  # resp.instance_snapshots[0].progress #=> String
2049
+ # resp.instance_snapshots[0].from_attached_disks #=> Array
2050
+ # resp.instance_snapshots[0].from_attached_disks[0].name #=> String
2051
+ # resp.instance_snapshots[0].from_attached_disks[0].arn #=> String
2052
+ # resp.instance_snapshots[0].from_attached_disks[0].support_code #=> String
2053
+ # resp.instance_snapshots[0].from_attached_disks[0].created_at #=> Time
2054
+ # resp.instance_snapshots[0].from_attached_disks[0].location.availability_zone #=> String
2055
+ # 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"
2057
+ # resp.instance_snapshots[0].from_attached_disks[0].size_in_gb #=> Integer
2058
+ # resp.instance_snapshots[0].from_attached_disks[0].is_system_disk #=> Boolean
2059
+ # resp.instance_snapshots[0].from_attached_disks[0].iops #=> Integer
2060
+ # resp.instance_snapshots[0].from_attached_disks[0].path #=> String
2061
+ # resp.instance_snapshots[0].from_attached_disks[0].state #=> String, one of "pending", "error", "available", "in-use", "unknown"
2062
+ # resp.instance_snapshots[0].from_attached_disks[0].attached_to #=> String
2063
+ # resp.instance_snapshots[0].from_attached_disks[0].is_attached #=> Boolean
2064
+ # resp.instance_snapshots[0].from_attached_disks[0].attachment_state #=> String
2065
+ # resp.instance_snapshots[0].from_attached_disks[0].gb_in_use #=> Integer
1458
2066
  # resp.instance_snapshots[0].from_instance_name #=> String
1459
2067
  # resp.instance_snapshots[0].from_instance_arn #=> String
1460
2068
  # resp.instance_snapshots[0].from_blueprint_id #=> String
@@ -1528,7 +2136,7 @@ module Aws::Lightsail
1528
2136
  # resp.instances[0].created_at #=> Time
1529
2137
  # resp.instances[0].location.availability_zone #=> String
1530
2138
  # 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"
1531
- # resp.instances[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2139
+ # resp.instances[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1532
2140
  # resp.instances[0].blueprint_id #=> String
1533
2141
  # resp.instances[0].blueprint_name #=> String
1534
2142
  # resp.instances[0].bundle_id #=> String
@@ -1544,15 +2152,16 @@ module Aws::Lightsail
1544
2152
  # resp.instances[0].hardware.disks[0].created_at #=> Time
1545
2153
  # resp.instances[0].hardware.disks[0].location.availability_zone #=> String
1546
2154
  # 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"
1547
- # resp.instances[0].hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2155
+ # resp.instances[0].hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1548
2156
  # resp.instances[0].hardware.disks[0].size_in_gb #=> Integer
1549
- # resp.instances[0].hardware.disks[0].gb_in_use #=> Integer
1550
2157
  # resp.instances[0].hardware.disks[0].is_system_disk #=> Boolean
1551
2158
  # resp.instances[0].hardware.disks[0].iops #=> Integer
1552
2159
  # resp.instances[0].hardware.disks[0].path #=> String
2160
+ # resp.instances[0].hardware.disks[0].state #=> String, one of "pending", "error", "available", "in-use", "unknown"
1553
2161
  # resp.instances[0].hardware.disks[0].attached_to #=> String
1554
2162
  # resp.instances[0].hardware.disks[0].is_attached #=> Boolean
1555
2163
  # resp.instances[0].hardware.disks[0].attachment_state #=> String
2164
+ # resp.instances[0].hardware.disks[0].gb_in_use #=> Integer
1556
2165
  # resp.instances[0].hardware.ram_size_in_gb #=> Float
1557
2166
  # resp.instances[0].networking.monthly_transfer.gb_per_month_allocated #=> Integer
1558
2167
  # resp.instances[0].networking.ports #=> Array
@@ -1601,7 +2210,7 @@ module Aws::Lightsail
1601
2210
  # resp.key_pair.created_at #=> Time
1602
2211
  # resp.key_pair.location.availability_zone #=> String
1603
2212
  # 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"
1604
- # resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2213
+ # resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1605
2214
  # resp.key_pair.fingerprint #=> String
1606
2215
  #
1607
2216
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPair AWS API Documentation
@@ -1639,7 +2248,7 @@ module Aws::Lightsail
1639
2248
  # resp.key_pairs[0].created_at #=> Time
1640
2249
  # resp.key_pairs[0].location.availability_zone #=> String
1641
2250
  # 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"
1642
- # resp.key_pairs[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2251
+ # resp.key_pairs[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1643
2252
  # resp.key_pairs[0].fingerprint #=> String
1644
2253
  # resp.next_page_token #=> String
1645
2254
  #
@@ -1673,13 +2282,13 @@ module Aws::Lightsail
1673
2282
  #
1674
2283
  # resp.operation.id #=> String
1675
2284
  # resp.operation.resource_name #=> String
1676
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2285
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1677
2286
  # resp.operation.created_at #=> Time
1678
2287
  # resp.operation.location.availability_zone #=> String
1679
2288
  # 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"
1680
2289
  # resp.operation.is_terminal #=> Boolean
1681
2290
  # resp.operation.operation_details #=> String
1682
- # 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"
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"
1683
2292
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
1684
2293
  # resp.operation.status_changed_at #=> Time
1685
2294
  # resp.operation.error_code #=> String
@@ -1721,13 +2330,13 @@ module Aws::Lightsail
1721
2330
  # resp.operations #=> Array
1722
2331
  # resp.operations[0].id #=> String
1723
2332
  # resp.operations[0].resource_name #=> String
1724
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2333
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1725
2334
  # resp.operations[0].created_at #=> Time
1726
2335
  # resp.operations[0].location.availability_zone #=> String
1727
2336
  # 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"
1728
2337
  # resp.operations[0].is_terminal #=> Boolean
1729
2338
  # resp.operations[0].operation_details #=> String
1730
- # 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"
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"
1731
2340
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
1732
2341
  # resp.operations[0].status_changed_at #=> Time
1733
2342
  # resp.operations[0].error_code #=> String
@@ -1771,13 +2380,13 @@ module Aws::Lightsail
1771
2380
  # resp.operations #=> Array
1772
2381
  # resp.operations[0].id #=> String
1773
2382
  # resp.operations[0].resource_name #=> String
1774
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2383
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1775
2384
  # resp.operations[0].created_at #=> Time
1776
2385
  # resp.operations[0].location.availability_zone #=> String
1777
2386
  # 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"
1778
2387
  # resp.operations[0].is_terminal #=> Boolean
1779
2388
  # resp.operations[0].operation_details #=> String
1780
- # 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"
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"
1781
2390
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
1782
2391
  # resp.operations[0].status_changed_at #=> Time
1783
2392
  # resp.operations[0].error_code #=> String
@@ -1801,7 +2410,7 @@ module Aws::Lightsail
1801
2410
  # @option params [Boolean] :include_availability_zones
1802
2411
  # A Boolean value indicating whether to also include Availability Zones
1803
2412
  # in your get regions request. Availability Zones are indicated with a
1804
- # letter: e.g., `us-east-1a`.
2413
+ # letter: e.g., `us-east-2a`.
1805
2414
  #
1806
2415
  # @return [Types::GetRegionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1807
2416
  #
@@ -1856,7 +2465,7 @@ module Aws::Lightsail
1856
2465
  # resp.static_ip.created_at #=> Time
1857
2466
  # resp.static_ip.location.availability_zone #=> String
1858
2467
  # 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"
1859
- # resp.static_ip.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2468
+ # resp.static_ip.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1860
2469
  # resp.static_ip.ip_address #=> String
1861
2470
  # resp.static_ip.attached_to #=> String
1862
2471
  # resp.static_ip.is_attached #=> Boolean
@@ -1896,7 +2505,7 @@ module Aws::Lightsail
1896
2505
  # resp.static_ips[0].created_at #=> Time
1897
2506
  # resp.static_ips[0].location.availability_zone #=> String
1898
2507
  # 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"
1899
- # resp.static_ips[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2508
+ # resp.static_ips[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1900
2509
  # resp.static_ips[0].ip_address #=> String
1901
2510
  # resp.static_ips[0].attached_to #=> String
1902
2511
  # resp.static_ips[0].is_attached #=> Boolean
@@ -1934,13 +2543,13 @@ module Aws::Lightsail
1934
2543
  #
1935
2544
  # resp.operation.id #=> String
1936
2545
  # resp.operation.resource_name #=> String
1937
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2546
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
1938
2547
  # resp.operation.created_at #=> Time
1939
2548
  # resp.operation.location.availability_zone #=> String
1940
2549
  # 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"
1941
2550
  # resp.operation.is_terminal #=> Boolean
1942
2551
  # resp.operation.operation_details #=> String
1943
- # 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"
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"
1944
2553
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
1945
2554
  # resp.operation.status_changed_at #=> Time
1946
2555
  # resp.operation.error_code #=> String
@@ -2003,13 +2612,13 @@ module Aws::Lightsail
2003
2612
  #
2004
2613
  # resp.operation.id #=> String
2005
2614
  # resp.operation.resource_name #=> String
2006
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2615
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
2007
2616
  # resp.operation.created_at #=> Time
2008
2617
  # resp.operation.location.availability_zone #=> String
2009
2618
  # 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"
2010
2619
  # resp.operation.is_terminal #=> Boolean
2011
2620
  # resp.operation.operation_details #=> String
2012
- # 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"
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"
2013
2622
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
2014
2623
  # resp.operation.status_changed_at #=> Time
2015
2624
  # resp.operation.error_code #=> String
@@ -2034,13 +2643,13 @@ module Aws::Lightsail
2034
2643
  #
2035
2644
  # resp.operation.id #=> String
2036
2645
  # resp.operation.resource_name #=> String
2037
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2646
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
2038
2647
  # resp.operation.created_at #=> Time
2039
2648
  # resp.operation.location.availability_zone #=> String
2040
2649
  # 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"
2041
2650
  # resp.operation.is_terminal #=> Boolean
2042
2651
  # resp.operation.operation_details #=> String
2043
- # 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"
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"
2044
2653
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
2045
2654
  # resp.operation.status_changed_at #=> Time
2046
2655
  # resp.operation.error_code #=> String
@@ -2086,13 +2695,13 @@ module Aws::Lightsail
2086
2695
  #
2087
2696
  # resp.operation.id #=> String
2088
2697
  # resp.operation.resource_name #=> String
2089
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2698
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
2090
2699
  # resp.operation.created_at #=> Time
2091
2700
  # resp.operation.location.availability_zone #=> String
2092
2701
  # 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"
2093
2702
  # resp.operation.is_terminal #=> Boolean
2094
2703
  # resp.operation.operation_details #=> String
2095
- # 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"
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"
2096
2705
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
2097
2706
  # resp.operation.status_changed_at #=> Time
2098
2707
  # resp.operation.error_code #=> String
@@ -2130,13 +2739,13 @@ module Aws::Lightsail
2130
2739
  # resp.operations #=> Array
2131
2740
  # resp.operations[0].id #=> String
2132
2741
  # resp.operations[0].resource_name #=> String
2133
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2742
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
2134
2743
  # resp.operations[0].created_at #=> Time
2135
2744
  # resp.operations[0].location.availability_zone #=> String
2136
2745
  # 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"
2137
2746
  # resp.operations[0].is_terminal #=> Boolean
2138
2747
  # resp.operations[0].operation_details #=> String
2139
- # 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"
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"
2140
2749
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
2141
2750
  # resp.operations[0].status_changed_at #=> Time
2142
2751
  # resp.operations[0].error_code #=> String
@@ -2171,13 +2780,13 @@ module Aws::Lightsail
2171
2780
  # resp.operations #=> Array
2172
2781
  # resp.operations[0].id #=> String
2173
2782
  # resp.operations[0].resource_name #=> String
2174
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2783
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
2175
2784
  # resp.operations[0].created_at #=> Time
2176
2785
  # resp.operations[0].location.availability_zone #=> String
2177
2786
  # 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"
2178
2787
  # resp.operations[0].is_terminal #=> Boolean
2179
2788
  # resp.operations[0].operation_details #=> String
2180
- # 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"
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"
2181
2790
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
2182
2791
  # resp.operations[0].status_changed_at #=> Time
2183
2792
  # resp.operations[0].error_code #=> String
@@ -2213,13 +2822,13 @@ module Aws::Lightsail
2213
2822
  # resp.operations #=> Array
2214
2823
  # resp.operations[0].id #=> String
2215
2824
  # resp.operations[0].resource_name #=> String
2216
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2825
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
2217
2826
  # resp.operations[0].created_at #=> Time
2218
2827
  # resp.operations[0].location.availability_zone #=> String
2219
2828
  # 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"
2220
2829
  # resp.operations[0].is_terminal #=> Boolean
2221
2830
  # resp.operations[0].operation_details #=> String
2222
- # 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"
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"
2223
2832
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
2224
2833
  # resp.operations[0].status_changed_at #=> Time
2225
2834
  # resp.operations[0].error_code #=> String
@@ -2239,6 +2848,14 @@ module Aws::Lightsail
2239
2848
  # @option params [required, String] :instance_name
2240
2849
  # The name of the instance (a virtual private server) to stop.
2241
2850
  #
2851
+ # @option params [Boolean] :force
2852
+ # When set to `True`, forces a Lightsail instance that is stuck in a
2853
+ # `stopping` state to stop.
2854
+ #
2855
+ # Only use the `force` parameter if your instance is stuck in the
2856
+ # `stopping` state. In any other state, your instance should stop
2857
+ # normally without adding this parameter to your API request.
2858
+ #
2242
2859
  # @return [Types::StopInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2243
2860
  #
2244
2861
  # * {Types::StopInstanceResult#operations #operations} => Array&lt;Types::Operation&gt;
@@ -2247,6 +2864,7 @@ module Aws::Lightsail
2247
2864
  #
2248
2865
  # resp = client.stop_instance({
2249
2866
  # instance_name: "ResourceName", # required
2867
+ # force: false,
2250
2868
  # })
2251
2869
  #
2252
2870
  # @example Response structure
@@ -2254,13 +2872,13 @@ module Aws::Lightsail
2254
2872
  # resp.operations #=> Array
2255
2873
  # resp.operations[0].id #=> String
2256
2874
  # resp.operations[0].resource_name #=> String
2257
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2875
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
2258
2876
  # resp.operations[0].created_at #=> Time
2259
2877
  # resp.operations[0].location.availability_zone #=> String
2260
2878
  # 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"
2261
2879
  # resp.operations[0].is_terminal #=> Boolean
2262
2880
  # resp.operations[0].operation_details #=> String
2263
- # 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"
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"
2264
2882
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
2265
2883
  # resp.operations[0].status_changed_at #=> Time
2266
2884
  # resp.operations[0].error_code #=> String
@@ -2285,13 +2903,13 @@ module Aws::Lightsail
2285
2903
  #
2286
2904
  # resp.operation.id #=> String
2287
2905
  # resp.operation.resource_name #=> String
2288
- # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2906
+ # resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
2289
2907
  # resp.operation.created_at #=> Time
2290
2908
  # resp.operation.location.availability_zone #=> String
2291
2909
  # 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"
2292
2910
  # resp.operation.is_terminal #=> Boolean
2293
2911
  # resp.operation.operation_details #=> String
2294
- # 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"
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"
2295
2913
  # resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
2296
2914
  # resp.operation.status_changed_at #=> Time
2297
2915
  # resp.operation.error_code #=> String
@@ -2339,13 +2957,13 @@ module Aws::Lightsail
2339
2957
  # resp.operations #=> Array
2340
2958
  # resp.operations[0].id #=> String
2341
2959
  # resp.operations[0].resource_name #=> String
2342
- # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
2960
+ # resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "Disk", "DiskSnapshot"
2343
2961
  # resp.operations[0].created_at #=> Time
2344
2962
  # resp.operations[0].location.availability_zone #=> String
2345
2963
  # 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"
2346
2964
  # resp.operations[0].is_terminal #=> Boolean
2347
2965
  # resp.operations[0].operation_details #=> String
2348
- # 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"
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"
2349
2967
  # resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
2350
2968
  # resp.operations[0].status_changed_at #=> Time
2351
2969
  # resp.operations[0].error_code #=> String
@@ -2373,7 +2991,7 @@ module Aws::Lightsail
2373
2991
  params: params,
2374
2992
  config: config)
2375
2993
  context[:gem_name] = 'aws-sdk-lightsail'
2376
- context[:gem_version] = '1.1.0'
2994
+ context[:gem_version] = '1.2.0'
2377
2995
  Seahorse::Client::Request.new(handlers, context)
2378
2996
  end
2379
2997