aws-sdk-lightsail 1.0.0.rc5 → 1.0.0.rc6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/lib/aws-sdk-lightsail/client.rb +103 -33
- data/lib/aws-sdk-lightsail/client_api.rb +37 -3
- data/lib/aws-sdk-lightsail/types.rb +137 -7
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 51026fc4aa330e456f635f533bbfd60438e08767
|
|
4
|
+
data.tar.gz: 541b285649db433645fb3ee3663dc04755391328
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b10b2ef07a0136f483975f1a54c2b7e00b69c15aaa07bffbb9ef6fcd2ee92e29878c27960cc31e4c36dabf089f45dc7087ebe95f140304390a6a9be482cc37c6
|
|
7
|
+
data.tar.gz: 1edfe0b0bcffefbe54e7001227ccbfb45a038ef0a019d02c68bde0700fa1c8637d1355dc5e35b9e4aa556bc58009017549d946c031c5aa44ff5508119e3ddcf9
|
data/lib/aws-sdk-lightsail.rb
CHANGED
|
@@ -181,7 +181,7 @@ module Aws::Lightsail
|
|
|
181
181
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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", "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"
|
|
185
185
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
186
186
|
# resp.operations[0].status_changed_at #=> Time
|
|
187
187
|
# resp.operations[0].error_code #=> String
|
|
@@ -226,7 +226,7 @@ module Aws::Lightsail
|
|
|
226
226
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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
227
|
# resp.operations[0].is_terminal #=> Boolean
|
|
228
228
|
# resp.operations[0].operation_details #=> String
|
|
229
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
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"
|
|
230
230
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
231
231
|
# resp.operations[0].status_changed_at #=> Time
|
|
232
232
|
# resp.operations[0].error_code #=> String
|
|
@@ -275,7 +275,7 @@ module Aws::Lightsail
|
|
|
275
275
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "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
276
|
# resp.operation.is_terminal #=> Boolean
|
|
277
277
|
# resp.operation.operation_details #=> String
|
|
278
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
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"
|
|
279
279
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
280
280
|
# resp.operation.status_changed_at #=> Time
|
|
281
281
|
# resp.operation.error_code #=> String
|
|
@@ -323,7 +323,7 @@ module Aws::Lightsail
|
|
|
323
323
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "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
324
|
# resp.operation.is_terminal #=> Boolean
|
|
325
325
|
# resp.operation.operation_details #=> String
|
|
326
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
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"
|
|
327
327
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
328
328
|
# resp.operation.status_changed_at #=> Time
|
|
329
329
|
# resp.operation.error_code #=> String
|
|
@@ -378,7 +378,7 @@ module Aws::Lightsail
|
|
|
378
378
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "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
379
|
# resp.operation.is_terminal #=> Boolean
|
|
380
380
|
# resp.operation.operation_details #=> String
|
|
381
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
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"
|
|
382
382
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
383
383
|
# resp.operation.status_changed_at #=> Time
|
|
384
384
|
# resp.operation.error_code #=> String
|
|
@@ -425,7 +425,7 @@ module Aws::Lightsail
|
|
|
425
425
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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
426
|
# resp.operations[0].is_terminal #=> Boolean
|
|
427
427
|
# resp.operations[0].operation_details #=> String
|
|
428
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
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"
|
|
429
429
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
430
430
|
# resp.operations[0].status_changed_at #=> Time
|
|
431
431
|
# resp.operations[0].error_code #=> String
|
|
@@ -450,7 +450,13 @@ module Aws::Lightsail
|
|
|
450
450
|
#
|
|
451
451
|
# @option params [required, String] :availability_zone
|
|
452
452
|
# The Availability Zone in which to create your instance. Use the
|
|
453
|
-
# following format: `us-east-1a` (case sensitive).
|
|
453
|
+
# following format: `us-east-1a` (case sensitive). You can get a list of
|
|
454
|
+
# availability zones by using the [get regions][1] operation. Be sure to
|
|
455
|
+
# add the `include availability zones` parameter to your request.
|
|
456
|
+
#
|
|
457
|
+
#
|
|
458
|
+
#
|
|
459
|
+
# [1]: http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html
|
|
454
460
|
#
|
|
455
461
|
# @option params [String] :custom_image_name
|
|
456
462
|
# The name for your custom image.
|
|
@@ -511,7 +517,7 @@ module Aws::Lightsail
|
|
|
511
517
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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"
|
|
512
518
|
# resp.operations[0].is_terminal #=> Boolean
|
|
513
519
|
# resp.operations[0].operation_details #=> String
|
|
514
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
520
|
+
# 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"
|
|
515
521
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
516
522
|
# resp.operations[0].status_changed_at #=> Time
|
|
517
523
|
# resp.operations[0].error_code #=> String
|
|
@@ -534,7 +540,14 @@ module Aws::Lightsail
|
|
|
534
540
|
#
|
|
535
541
|
# @option params [required, String] :availability_zone
|
|
536
542
|
# The Availability Zone where you want to create your instances. Use the
|
|
537
|
-
# following formatting: `us-east-1a` (case sensitive).
|
|
543
|
+
# following formatting: `us-east-1a` (case sensitive). You can get a
|
|
544
|
+
# list of availability zones by using the [get regions][1] operation. Be
|
|
545
|
+
# sure to add the `include availability zones` parameter to your
|
|
546
|
+
# request.
|
|
547
|
+
#
|
|
548
|
+
#
|
|
549
|
+
#
|
|
550
|
+
# [1]: http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html
|
|
538
551
|
#
|
|
539
552
|
# @option params [required, String] :instance_snapshot_name
|
|
540
553
|
# The name of the instance snapshot on which you are basing your new
|
|
@@ -590,7 +603,7 @@ module Aws::Lightsail
|
|
|
590
603
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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"
|
|
591
604
|
# resp.operations[0].is_terminal #=> Boolean
|
|
592
605
|
# resp.operations[0].operation_details #=> String
|
|
593
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
606
|
+
# 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"
|
|
594
607
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
595
608
|
# resp.operations[0].status_changed_at #=> Time
|
|
596
609
|
# resp.operations[0].error_code #=> String
|
|
@@ -643,7 +656,7 @@ module Aws::Lightsail
|
|
|
643
656
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "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"
|
|
644
657
|
# resp.operation.is_terminal #=> Boolean
|
|
645
658
|
# resp.operation.operation_details #=> String
|
|
646
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
659
|
+
# 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"
|
|
647
660
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
648
661
|
# resp.operation.status_changed_at #=> Time
|
|
649
662
|
# resp.operation.error_code #=> String
|
|
@@ -683,7 +696,7 @@ module Aws::Lightsail
|
|
|
683
696
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "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"
|
|
684
697
|
# resp.operation.is_terminal #=> Boolean
|
|
685
698
|
# resp.operation.operation_details #=> String
|
|
686
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
699
|
+
# 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"
|
|
687
700
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
688
701
|
# resp.operation.status_changed_at #=> Time
|
|
689
702
|
# resp.operation.error_code #=> String
|
|
@@ -736,7 +749,7 @@ module Aws::Lightsail
|
|
|
736
749
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "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"
|
|
737
750
|
# resp.operation.is_terminal #=> Boolean
|
|
738
751
|
# resp.operation.operation_details #=> String
|
|
739
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
752
|
+
# 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"
|
|
740
753
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
741
754
|
# resp.operation.status_changed_at #=> Time
|
|
742
755
|
# resp.operation.error_code #=> String
|
|
@@ -778,7 +791,7 @@ module Aws::Lightsail
|
|
|
778
791
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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"
|
|
779
792
|
# resp.operations[0].is_terminal #=> Boolean
|
|
780
793
|
# resp.operations[0].operation_details #=> String
|
|
781
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
794
|
+
# 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"
|
|
782
795
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
783
796
|
# resp.operations[0].status_changed_at #=> Time
|
|
784
797
|
# resp.operations[0].error_code #=> String
|
|
@@ -820,7 +833,7 @@ module Aws::Lightsail
|
|
|
820
833
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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"
|
|
821
834
|
# resp.operations[0].is_terminal #=> Boolean
|
|
822
835
|
# resp.operations[0].operation_details #=> String
|
|
823
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
836
|
+
# 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"
|
|
824
837
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
825
838
|
# resp.operations[0].status_changed_at #=> Time
|
|
826
839
|
# resp.operations[0].error_code #=> String
|
|
@@ -860,7 +873,7 @@ module Aws::Lightsail
|
|
|
860
873
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "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"
|
|
861
874
|
# resp.operation.is_terminal #=> Boolean
|
|
862
875
|
# resp.operation.operation_details #=> String
|
|
863
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
876
|
+
# 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"
|
|
864
877
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
865
878
|
# resp.operation.status_changed_at #=> Time
|
|
866
879
|
# resp.operation.error_code #=> String
|
|
@@ -902,7 +915,7 @@ module Aws::Lightsail
|
|
|
902
915
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-west-1", "us-west-2", "eu-west-1", "eu-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
|
903
916
|
# resp.operations[0].is_terminal #=> Boolean
|
|
904
917
|
# resp.operations[0].operation_details #=> String
|
|
905
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
918
|
+
# 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"
|
|
906
919
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
907
920
|
# resp.operations[0].status_changed_at #=> Time
|
|
908
921
|
# resp.operations[0].error_code #=> String
|
|
@@ -1337,7 +1350,7 @@ module Aws::Lightsail
|
|
|
1337
1350
|
#
|
|
1338
1351
|
# @return [Types::GetInstancePortStatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1339
1352
|
#
|
|
1340
|
-
# * {Types::GetInstancePortStatesResult#port_states #port_states} => Array<
|
|
1353
|
+
# * {Types::GetInstancePortStatesResult#port_states #port_states} => Array<Types::InstancePortState>
|
|
1341
1354
|
#
|
|
1342
1355
|
# @example Request syntax with placeholder values
|
|
1343
1356
|
#
|
|
@@ -1348,7 +1361,10 @@ module Aws::Lightsail
|
|
|
1348
1361
|
# @example Response structure
|
|
1349
1362
|
#
|
|
1350
1363
|
# resp.port_states #=> Array
|
|
1351
|
-
# resp.port_states[0] #=>
|
|
1364
|
+
# resp.port_states[0].from_port #=> Integer
|
|
1365
|
+
# resp.port_states[0].to_port #=> Integer
|
|
1366
|
+
# resp.port_states[0].protocol #=> String, one of "tcp", "all", "udp"
|
|
1367
|
+
# resp.port_states[0].state #=> String, one of "open", "closed"
|
|
1352
1368
|
#
|
|
1353
1369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStates AWS API Documentation
|
|
1354
1370
|
#
|
|
@@ -1653,7 +1669,7 @@ module Aws::Lightsail
|
|
|
1653
1669
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "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"
|
|
1654
1670
|
# resp.operation.is_terminal #=> Boolean
|
|
1655
1671
|
# resp.operation.operation_details #=> String
|
|
1656
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
1672
|
+
# 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"
|
|
1657
1673
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
1658
1674
|
# resp.operation.status_changed_at #=> Time
|
|
1659
1675
|
# resp.operation.error_code #=> String
|
|
@@ -1701,7 +1717,7 @@ module Aws::Lightsail
|
|
|
1701
1717
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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"
|
|
1702
1718
|
# resp.operations[0].is_terminal #=> Boolean
|
|
1703
1719
|
# resp.operations[0].operation_details #=> String
|
|
1704
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
1720
|
+
# 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"
|
|
1705
1721
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
1706
1722
|
# resp.operations[0].status_changed_at #=> Time
|
|
1707
1723
|
# resp.operations[0].error_code #=> String
|
|
@@ -1750,7 +1766,7 @@ module Aws::Lightsail
|
|
|
1750
1766
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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"
|
|
1751
1767
|
# resp.operations[0].is_terminal #=> Boolean
|
|
1752
1768
|
# resp.operations[0].operation_details #=> String
|
|
1753
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
1769
|
+
# 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"
|
|
1754
1770
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
1755
1771
|
# resp.operations[0].status_changed_at #=> Time
|
|
1756
1772
|
# resp.operations[0].error_code #=> String
|
|
@@ -1766,7 +1782,9 @@ module Aws::Lightsail
|
|
|
1766
1782
|
req.send_request(options)
|
|
1767
1783
|
end
|
|
1768
1784
|
|
|
1769
|
-
# Returns a list of all valid regions for Amazon Lightsail.
|
|
1785
|
+
# Returns a list of all valid regions for Amazon Lightsail. Use the
|
|
1786
|
+
# `include availability zones` parameter to also return the availability
|
|
1787
|
+
# zones in a region.
|
|
1770
1788
|
#
|
|
1771
1789
|
# @option params [Boolean] :include_availability_zones
|
|
1772
1790
|
# A Boolean value indicating whether to also include Availability Zones
|
|
@@ -1910,7 +1928,7 @@ module Aws::Lightsail
|
|
|
1910
1928
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "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"
|
|
1911
1929
|
# resp.operation.is_terminal #=> Boolean
|
|
1912
1930
|
# resp.operation.operation_details #=> String
|
|
1913
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
1931
|
+
# 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"
|
|
1914
1932
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
1915
1933
|
# resp.operation.status_changed_at #=> Time
|
|
1916
1934
|
# resp.operation.error_code #=> String
|
|
@@ -1979,7 +1997,7 @@ module Aws::Lightsail
|
|
|
1979
1997
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "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"
|
|
1980
1998
|
# resp.operation.is_terminal #=> Boolean
|
|
1981
1999
|
# resp.operation.operation_details #=> String
|
|
1982
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
2000
|
+
# 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"
|
|
1983
2001
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
1984
2002
|
# resp.operation.status_changed_at #=> Time
|
|
1985
2003
|
# resp.operation.error_code #=> String
|
|
@@ -2010,7 +2028,7 @@ module Aws::Lightsail
|
|
|
2010
2028
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "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"
|
|
2011
2029
|
# resp.operation.is_terminal #=> Boolean
|
|
2012
2030
|
# resp.operation.operation_details #=> String
|
|
2013
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
2031
|
+
# 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"
|
|
2014
2032
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
2015
2033
|
# resp.operation.status_changed_at #=> Time
|
|
2016
2034
|
# resp.operation.error_code #=> String
|
|
@@ -2025,6 +2043,58 @@ module Aws::Lightsail
|
|
|
2025
2043
|
req.send_request(options)
|
|
2026
2044
|
end
|
|
2027
2045
|
|
|
2046
|
+
# Sets the specified open ports for an Amazon Lightsail instance, and
|
|
2047
|
+
# closes all ports for every protocol not included in the current
|
|
2048
|
+
# request.
|
|
2049
|
+
#
|
|
2050
|
+
# @option params [required, Array<Types::PortInfo>] :port_infos
|
|
2051
|
+
# Specifies information about the public port(s).
|
|
2052
|
+
#
|
|
2053
|
+
# @option params [required, String] :instance_name
|
|
2054
|
+
# The Lightsail instance name of the public port(s) you are setting.
|
|
2055
|
+
#
|
|
2056
|
+
# @return [Types::PutInstancePublicPortsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
2057
|
+
#
|
|
2058
|
+
# * {Types::PutInstancePublicPortsResult#operation #operation} => Types::Operation
|
|
2059
|
+
#
|
|
2060
|
+
# @example Request syntax with placeholder values
|
|
2061
|
+
#
|
|
2062
|
+
# resp = client.put_instance_public_ports({
|
|
2063
|
+
# port_infos: [ # required
|
|
2064
|
+
# {
|
|
2065
|
+
# from_port: 1,
|
|
2066
|
+
# to_port: 1,
|
|
2067
|
+
# protocol: "tcp", # accepts tcp, all, udp
|
|
2068
|
+
# },
|
|
2069
|
+
# ],
|
|
2070
|
+
# instance_name: "ResourceName", # required
|
|
2071
|
+
# })
|
|
2072
|
+
#
|
|
2073
|
+
# @example Response structure
|
|
2074
|
+
#
|
|
2075
|
+
# resp.operation.id #=> String
|
|
2076
|
+
# resp.operation.resource_name #=> String
|
|
2077
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc"
|
|
2078
|
+
# resp.operation.created_at #=> Time
|
|
2079
|
+
# resp.operation.location.availability_zone #=> String
|
|
2080
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "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"
|
|
2081
|
+
# resp.operation.is_terminal #=> Boolean
|
|
2082
|
+
# resp.operation.operation_details #=> String
|
|
2083
|
+
# 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"
|
|
2084
|
+
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
2085
|
+
# resp.operation.status_changed_at #=> Time
|
|
2086
|
+
# resp.operation.error_code #=> String
|
|
2087
|
+
# resp.operation.error_details #=> String
|
|
2088
|
+
#
|
|
2089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPorts AWS API Documentation
|
|
2090
|
+
#
|
|
2091
|
+
# @overload put_instance_public_ports(params = {})
|
|
2092
|
+
# @param [Hash] params ({})
|
|
2093
|
+
def put_instance_public_ports(params = {}, options = {})
|
|
2094
|
+
req = build_request(:put_instance_public_ports, params)
|
|
2095
|
+
req.send_request(options)
|
|
2096
|
+
end
|
|
2097
|
+
|
|
2028
2098
|
# Restarts a specific instance. When your Amazon Lightsail instance is
|
|
2029
2099
|
# finished rebooting, Lightsail assigns a new public IP address. To use
|
|
2030
2100
|
# the same IP address after restarting, create a static IP address and
|
|
@@ -2054,7 +2124,7 @@ module Aws::Lightsail
|
|
|
2054
2124
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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"
|
|
2055
2125
|
# resp.operations[0].is_terminal #=> Boolean
|
|
2056
2126
|
# resp.operations[0].operation_details #=> String
|
|
2057
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
2127
|
+
# 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"
|
|
2058
2128
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
2059
2129
|
# resp.operations[0].status_changed_at #=> Time
|
|
2060
2130
|
# resp.operations[0].error_code #=> String
|
|
@@ -2095,7 +2165,7 @@ module Aws::Lightsail
|
|
|
2095
2165
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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"
|
|
2096
2166
|
# resp.operations[0].is_terminal #=> Boolean
|
|
2097
2167
|
# resp.operations[0].operation_details #=> String
|
|
2098
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
2168
|
+
# 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"
|
|
2099
2169
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
2100
2170
|
# resp.operations[0].status_changed_at #=> Time
|
|
2101
2171
|
# resp.operations[0].error_code #=> String
|
|
@@ -2137,7 +2207,7 @@ module Aws::Lightsail
|
|
|
2137
2207
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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"
|
|
2138
2208
|
# resp.operations[0].is_terminal #=> Boolean
|
|
2139
2209
|
# resp.operations[0].operation_details #=> String
|
|
2140
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
2210
|
+
# 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"
|
|
2141
2211
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
2142
2212
|
# resp.operations[0].status_changed_at #=> Time
|
|
2143
2213
|
# resp.operations[0].error_code #=> String
|
|
@@ -2178,7 +2248,7 @@ module Aws::Lightsail
|
|
|
2178
2248
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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"
|
|
2179
2249
|
# resp.operations[0].is_terminal #=> Boolean
|
|
2180
2250
|
# resp.operations[0].operation_details #=> String
|
|
2181
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
2251
|
+
# 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"
|
|
2182
2252
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
2183
2253
|
# resp.operations[0].status_changed_at #=> Time
|
|
2184
2254
|
# resp.operations[0].error_code #=> String
|
|
@@ -2209,7 +2279,7 @@ module Aws::Lightsail
|
|
|
2209
2279
|
# resp.operation.location.region_name #=> String, one of "us-east-1", "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"
|
|
2210
2280
|
# resp.operation.is_terminal #=> Boolean
|
|
2211
2281
|
# resp.operation.operation_details #=> String
|
|
2212
|
-
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
2282
|
+
# 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"
|
|
2213
2283
|
# resp.operation.status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
2214
2284
|
# resp.operation.status_changed_at #=> Time
|
|
2215
2285
|
# resp.operation.error_code #=> String
|
|
@@ -2263,7 +2333,7 @@ module Aws::Lightsail
|
|
|
2263
2333
|
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "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"
|
|
2264
2334
|
# resp.operations[0].is_terminal #=> Boolean
|
|
2265
2335
|
# resp.operations[0].operation_details #=> String
|
|
2266
|
-
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot"
|
|
2336
|
+
# 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"
|
|
2267
2337
|
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed"
|
|
2268
2338
|
# resp.operations[0].status_changed_at #=> Time
|
|
2269
2339
|
# resp.operations[0].error_code #=> String
|
|
@@ -2291,7 +2361,7 @@ module Aws::Lightsail
|
|
|
2291
2361
|
params: params,
|
|
2292
2362
|
config: config)
|
|
2293
2363
|
context[:gem_name] = 'aws-sdk-lightsail'
|
|
2294
|
-
context[:gem_version] = '1.0.0.
|
|
2364
|
+
context[:gem_version] = '1.0.0.rc6'
|
|
2295
2365
|
Seahorse::Client::Request.new(handlers, context)
|
|
2296
2366
|
end
|
|
2297
2367
|
|
|
@@ -117,6 +117,8 @@ module Aws::Lightsail
|
|
|
117
117
|
InstanceNetworking = Shapes::StructureShape.new(name: 'InstanceNetworking')
|
|
118
118
|
InstancePortInfo = Shapes::StructureShape.new(name: 'InstancePortInfo')
|
|
119
119
|
InstancePortInfoList = Shapes::ListShape.new(name: 'InstancePortInfoList')
|
|
120
|
+
InstancePortState = Shapes::StructureShape.new(name: 'InstancePortState')
|
|
121
|
+
InstancePortStateList = Shapes::ListShape.new(name: 'InstancePortStateList')
|
|
120
122
|
InstanceSnapshot = Shapes::StructureShape.new(name: 'InstanceSnapshot')
|
|
121
123
|
InstanceSnapshotList = Shapes::ListShape.new(name: 'InstanceSnapshotList')
|
|
122
124
|
InstanceSnapshotState = Shapes::StringShape.new(name: 'InstanceSnapshotState')
|
|
@@ -151,8 +153,10 @@ module Aws::Lightsail
|
|
|
151
153
|
Port = Shapes::IntegerShape.new(name: 'Port')
|
|
152
154
|
PortAccessType = Shapes::StringShape.new(name: 'PortAccessType')
|
|
153
155
|
PortInfo = Shapes::StructureShape.new(name: 'PortInfo')
|
|
156
|
+
PortInfoList = Shapes::ListShape.new(name: 'PortInfoList')
|
|
154
157
|
PortState = Shapes::StringShape.new(name: 'PortState')
|
|
155
|
-
|
|
158
|
+
PutInstancePublicPortsRequest = Shapes::StructureShape.new(name: 'PutInstancePublicPortsRequest')
|
|
159
|
+
PutInstancePublicPortsResult = Shapes::StructureShape.new(name: 'PutInstancePublicPortsResult')
|
|
156
160
|
RebootInstanceRequest = Shapes::StructureShape.new(name: 'RebootInstanceRequest')
|
|
157
161
|
RebootInstanceResult = Shapes::StructureShape.new(name: 'RebootInstanceResult')
|
|
158
162
|
Region = Shapes::StructureShape.new(name: 'Region')
|
|
@@ -433,7 +437,7 @@ module Aws::Lightsail
|
|
|
433
437
|
GetInstancePortStatesRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
|
434
438
|
GetInstancePortStatesRequest.struct_class = Types::GetInstancePortStatesRequest
|
|
435
439
|
|
|
436
|
-
GetInstancePortStatesResult.add_member(:port_states, Shapes::ShapeRef.new(shape:
|
|
440
|
+
GetInstancePortStatesResult.add_member(:port_states, Shapes::ShapeRef.new(shape: InstancePortStateList, location_name: "portStates"))
|
|
437
441
|
GetInstancePortStatesResult.struct_class = Types::GetInstancePortStatesResult
|
|
438
442
|
|
|
439
443
|
GetInstanceRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
|
@@ -580,6 +584,14 @@ module Aws::Lightsail
|
|
|
580
584
|
|
|
581
585
|
InstancePortInfoList.member = Shapes::ShapeRef.new(shape: InstancePortInfo)
|
|
582
586
|
|
|
587
|
+
InstancePortState.add_member(:from_port, Shapes::ShapeRef.new(shape: Port, location_name: "fromPort"))
|
|
588
|
+
InstancePortState.add_member(:to_port, Shapes::ShapeRef.new(shape: Port, location_name: "toPort"))
|
|
589
|
+
InstancePortState.add_member(:protocol, Shapes::ShapeRef.new(shape: NetworkProtocol, location_name: "protocol"))
|
|
590
|
+
InstancePortState.add_member(:state, Shapes::ShapeRef.new(shape: PortState, location_name: "state"))
|
|
591
|
+
InstancePortState.struct_class = Types::InstancePortState
|
|
592
|
+
|
|
593
|
+
InstancePortStateList.member = Shapes::ShapeRef.new(shape: InstancePortState)
|
|
594
|
+
|
|
583
595
|
InstanceSnapshot.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
|
584
596
|
InstanceSnapshot.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
|
|
585
597
|
InstanceSnapshot.add_member(:support_code, Shapes::ShapeRef.new(shape: string, location_name: "supportCode"))
|
|
@@ -666,7 +678,14 @@ module Aws::Lightsail
|
|
|
666
678
|
PortInfo.add_member(:protocol, Shapes::ShapeRef.new(shape: NetworkProtocol, location_name: "protocol"))
|
|
667
679
|
PortInfo.struct_class = Types::PortInfo
|
|
668
680
|
|
|
669
|
-
|
|
681
|
+
PortInfoList.member = Shapes::ShapeRef.new(shape: PortInfo)
|
|
682
|
+
|
|
683
|
+
PutInstancePublicPortsRequest.add_member(:port_infos, Shapes::ShapeRef.new(shape: PortInfoList, required: true, location_name: "portInfos"))
|
|
684
|
+
PutInstancePublicPortsRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
|
685
|
+
PutInstancePublicPortsRequest.struct_class = Types::PutInstancePublicPortsRequest
|
|
686
|
+
|
|
687
|
+
PutInstancePublicPortsResult.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "operation"))
|
|
688
|
+
PutInstancePublicPortsResult.struct_class = Types::PutInstancePublicPortsResult
|
|
670
689
|
|
|
671
690
|
RebootInstanceRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
|
672
691
|
RebootInstanceRequest.struct_class = Types::RebootInstanceRequest
|
|
@@ -1362,6 +1381,21 @@ module Aws::Lightsail
|
|
|
1362
1381
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
|
1363
1382
|
end)
|
|
1364
1383
|
|
|
1384
|
+
api.add_operation(:put_instance_public_ports, Seahorse::Model::Operation.new.tap do |o|
|
|
1385
|
+
o.name = "PutInstancePublicPorts"
|
|
1386
|
+
o.http_method = "POST"
|
|
1387
|
+
o.http_request_uri = "/"
|
|
1388
|
+
o.input = Shapes::ShapeRef.new(shape: PutInstancePublicPortsRequest)
|
|
1389
|
+
o.output = Shapes::ShapeRef.new(shape: PutInstancePublicPortsResult)
|
|
1390
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1391
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1392
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
|
1393
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
|
1394
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1395
|
+
o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
|
|
1396
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
|
1397
|
+
end)
|
|
1398
|
+
|
|
1365
1399
|
api.add_operation(:reboot_instance, Seahorse::Model::Operation.new.tap do |o|
|
|
1366
1400
|
o.name = "RebootInstance"
|
|
1367
1401
|
o.http_method = "POST"
|
|
@@ -77,7 +77,8 @@ module Aws::Lightsail
|
|
|
77
77
|
# Describes an Availability Zone.
|
|
78
78
|
#
|
|
79
79
|
# @!attribute [rw] zone_name
|
|
80
|
-
# The name of the Availability Zone.
|
|
80
|
+
# The name of the Availability Zone. The format is `us-east-1a`
|
|
81
|
+
# (case-sensitive).
|
|
81
82
|
# @return [String]
|
|
82
83
|
#
|
|
83
84
|
# @!attribute [rw] state
|
|
@@ -398,7 +399,14 @@ module Aws::Lightsail
|
|
|
398
399
|
#
|
|
399
400
|
# @!attribute [rw] availability_zone
|
|
400
401
|
# The Availability Zone where you want to create your instances. Use
|
|
401
|
-
# the following formatting: `us-east-1a` (case sensitive).
|
|
402
|
+
# the following formatting: `us-east-1a` (case sensitive). You can get
|
|
403
|
+
# a list of availability zones by using the [get regions][1]
|
|
404
|
+
# operation. Be sure to add the `include availability zones` parameter
|
|
405
|
+
# to your request.
|
|
406
|
+
#
|
|
407
|
+
#
|
|
408
|
+
#
|
|
409
|
+
# [1]: http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html
|
|
402
410
|
# @return [String]
|
|
403
411
|
#
|
|
404
412
|
# @!attribute [rw] instance_snapshot_name
|
|
@@ -478,7 +486,14 @@ module Aws::Lightsail
|
|
|
478
486
|
#
|
|
479
487
|
# @!attribute [rw] availability_zone
|
|
480
488
|
# The Availability Zone in which to create your instance. Use the
|
|
481
|
-
# following format: `us-east-1a` (case sensitive).
|
|
489
|
+
# following format: `us-east-1a` (case sensitive). You can get a list
|
|
490
|
+
# of availability zones by using the [get regions][1] operation. Be
|
|
491
|
+
# sure to add the `include availability zones` parameter to your
|
|
492
|
+
# request.
|
|
493
|
+
#
|
|
494
|
+
#
|
|
495
|
+
#
|
|
496
|
+
# [1]: http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetRegions.html
|
|
482
497
|
# @return [String]
|
|
483
498
|
#
|
|
484
499
|
# @!attribute [rw] custom_image_name
|
|
@@ -1301,7 +1316,7 @@ module Aws::Lightsail
|
|
|
1301
1316
|
|
|
1302
1317
|
# @!attribute [rw] port_states
|
|
1303
1318
|
# Information about the port states resulting from your request.
|
|
1304
|
-
# @return [Array<
|
|
1319
|
+
# @return [Array<Types::InstancePortState>]
|
|
1305
1320
|
#
|
|
1306
1321
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesResult AWS API Documentation
|
|
1307
1322
|
#
|
|
@@ -1998,7 +2013,29 @@ module Aws::Lightsail
|
|
|
1998
2013
|
# @return [Integer]
|
|
1999
2014
|
#
|
|
2000
2015
|
# @!attribute [rw] protocol
|
|
2001
|
-
# The protocol.
|
|
2016
|
+
# The protocol being used. Can be one of the following.
|
|
2017
|
+
#
|
|
2018
|
+
# * `tcp` - Transmission Control Protocol (TCP) provides reliable,
|
|
2019
|
+
# ordered, and error-checked delivery of streamed data between
|
|
2020
|
+
# applications running on hosts communicating by an IP network. If
|
|
2021
|
+
# you have an application that doesn't require reliable data stream
|
|
2022
|
+
# service, use UDP instead.
|
|
2023
|
+
#
|
|
2024
|
+
# * `all` - All transport layer protocol types. For more general
|
|
2025
|
+
# information, see [Transport layer][1] on Wikipedia.
|
|
2026
|
+
#
|
|
2027
|
+
# * `udp` - With User Datagram Protocol (UDP), computer applications
|
|
2028
|
+
# can send messages (or datagrams) to other hosts on an Internet
|
|
2029
|
+
# Protocol (IP) network. Prior communications are not required to
|
|
2030
|
+
# set up transmission channels or data paths. Applications that
|
|
2031
|
+
# don't require reliable data stream service can use UDP, which
|
|
2032
|
+
# provides a connectionless datagram service that emphasizes reduced
|
|
2033
|
+
# latency over reliability. If you do require reliable data stream
|
|
2034
|
+
# service, use TCP instead.
|
|
2035
|
+
#
|
|
2036
|
+
#
|
|
2037
|
+
#
|
|
2038
|
+
# [1]: https://en.wikipedia.org/wiki/Transport_layer
|
|
2002
2039
|
# @return [String]
|
|
2003
2040
|
#
|
|
2004
2041
|
# @!attribute [rw] access_from
|
|
@@ -2031,6 +2068,56 @@ module Aws::Lightsail
|
|
|
2031
2068
|
include Aws::Structure
|
|
2032
2069
|
end
|
|
2033
2070
|
|
|
2071
|
+
# Describes the port state.
|
|
2072
|
+
#
|
|
2073
|
+
# @!attribute [rw] from_port
|
|
2074
|
+
# The first port in the range.
|
|
2075
|
+
# @return [Integer]
|
|
2076
|
+
#
|
|
2077
|
+
# @!attribute [rw] to_port
|
|
2078
|
+
# The last port in the range.
|
|
2079
|
+
# @return [Integer]
|
|
2080
|
+
#
|
|
2081
|
+
# @!attribute [rw] protocol
|
|
2082
|
+
# The protocol being used. Can be one of the following.
|
|
2083
|
+
#
|
|
2084
|
+
# * `tcp` - Transmission Control Protocol (TCP) provides reliable,
|
|
2085
|
+
# ordered, and error-checked delivery of streamed data between
|
|
2086
|
+
# applications running on hosts communicating by an IP network. If
|
|
2087
|
+
# you have an application that doesn't require reliable data stream
|
|
2088
|
+
# service, use UDP instead.
|
|
2089
|
+
#
|
|
2090
|
+
# * `all` - All transport layer protocol types. For more general
|
|
2091
|
+
# information, see [Transport layer][1] on Wikipedia.
|
|
2092
|
+
#
|
|
2093
|
+
# * `udp` - With User Datagram Protocol (UDP), computer applications
|
|
2094
|
+
# can send messages (or datagrams) to other hosts on an Internet
|
|
2095
|
+
# Protocol (IP) network. Prior communications are not required to
|
|
2096
|
+
# set up transmission channels or data paths. Applications that
|
|
2097
|
+
# don't require reliable data stream service can use UDP, which
|
|
2098
|
+
# provides a connectionless datagram service that emphasizes reduced
|
|
2099
|
+
# latency over reliability. If you do require reliable data stream
|
|
2100
|
+
# service, use TCP instead.
|
|
2101
|
+
#
|
|
2102
|
+
#
|
|
2103
|
+
#
|
|
2104
|
+
# [1]: https://en.wikipedia.org/wiki/Transport_layer
|
|
2105
|
+
# @return [String]
|
|
2106
|
+
#
|
|
2107
|
+
# @!attribute [rw] state
|
|
2108
|
+
# Specifies whether the instance port is `open` or `closed`.
|
|
2109
|
+
# @return [String]
|
|
2110
|
+
#
|
|
2111
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortState AWS API Documentation
|
|
2112
|
+
#
|
|
2113
|
+
class InstancePortState < Struct.new(
|
|
2114
|
+
:from_port,
|
|
2115
|
+
:to_port,
|
|
2116
|
+
:protocol,
|
|
2117
|
+
:state)
|
|
2118
|
+
include Aws::Structure
|
|
2119
|
+
end
|
|
2120
|
+
|
|
2034
2121
|
# Describes the snapshot of the virtual private server, or *instance*.
|
|
2035
2122
|
#
|
|
2036
2123
|
# @!attribute [rw] name
|
|
@@ -2418,6 +2505,47 @@ module Aws::Lightsail
|
|
|
2418
2505
|
include Aws::Structure
|
|
2419
2506
|
end
|
|
2420
2507
|
|
|
2508
|
+
# @note When making an API call, you may pass PutInstancePublicPortsRequest
|
|
2509
|
+
# data as a hash:
|
|
2510
|
+
#
|
|
2511
|
+
# {
|
|
2512
|
+
# port_infos: [ # required
|
|
2513
|
+
# {
|
|
2514
|
+
# from_port: 1,
|
|
2515
|
+
# to_port: 1,
|
|
2516
|
+
# protocol: "tcp", # accepts tcp, all, udp
|
|
2517
|
+
# },
|
|
2518
|
+
# ],
|
|
2519
|
+
# instance_name: "ResourceName", # required
|
|
2520
|
+
# }
|
|
2521
|
+
#
|
|
2522
|
+
# @!attribute [rw] port_infos
|
|
2523
|
+
# Specifies information about the public port(s).
|
|
2524
|
+
# @return [Array<Types::PortInfo>]
|
|
2525
|
+
#
|
|
2526
|
+
# @!attribute [rw] instance_name
|
|
2527
|
+
# The Lightsail instance name of the public port(s) you are setting.
|
|
2528
|
+
# @return [String]
|
|
2529
|
+
#
|
|
2530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsRequest AWS API Documentation
|
|
2531
|
+
#
|
|
2532
|
+
class PutInstancePublicPortsRequest < Struct.new(
|
|
2533
|
+
:port_infos,
|
|
2534
|
+
:instance_name)
|
|
2535
|
+
include Aws::Structure
|
|
2536
|
+
end
|
|
2537
|
+
|
|
2538
|
+
# @!attribute [rw] operation
|
|
2539
|
+
# Describes metadata about the operation you just executed.
|
|
2540
|
+
# @return [Types::Operation]
|
|
2541
|
+
#
|
|
2542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsResult AWS API Documentation
|
|
2543
|
+
#
|
|
2544
|
+
class PutInstancePublicPortsResult < Struct.new(
|
|
2545
|
+
:operation)
|
|
2546
|
+
include Aws::Structure
|
|
2547
|
+
end
|
|
2548
|
+
|
|
2421
2549
|
# @note When making an API call, you may pass RebootInstanceRequest
|
|
2422
2550
|
# data as a hash:
|
|
2423
2551
|
#
|
|
@@ -2468,7 +2596,8 @@ module Aws::Lightsail
|
|
|
2468
2596
|
# @return [String]
|
|
2469
2597
|
#
|
|
2470
2598
|
# @!attribute [rw] availability_zones
|
|
2471
|
-
# The Availability Zones.
|
|
2599
|
+
# The Availability Zones. Follows the format `us-east-1a`
|
|
2600
|
+
# (case-sensitive).
|
|
2472
2601
|
# @return [Array<Types::AvailabilityZone>]
|
|
2473
2602
|
#
|
|
2474
2603
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Region AWS API Documentation
|
|
@@ -2515,7 +2644,8 @@ module Aws::Lightsail
|
|
|
2515
2644
|
# Describes the resource location.
|
|
2516
2645
|
#
|
|
2517
2646
|
# @!attribute [rw] availability_zone
|
|
2518
|
-
# The Availability Zone.
|
|
2647
|
+
# The Availability Zone. Follows the format `us-east-1a`
|
|
2648
|
+
# (case-sensitive).
|
|
2519
2649
|
# @return [String]
|
|
2520
2650
|
#
|
|
2521
2651
|
# @!attribute [rw] region_name
|
metadata
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-lightsail
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.0.
|
|
4
|
+
version: 1.0.0.rc6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-05-
|
|
11
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version: 3.0.0.
|
|
19
|
+
version: 3.0.0.rc12
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- -
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
|
-
version: 3.0.0.
|
|
26
|
+
version: 3.0.0.rc12
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: aws-sigv4
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|