aws-sdk-lightsail 1.7.0 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/lib/aws-sdk-lightsail/client.rb +1601 -178
- data/lib/aws-sdk-lightsail/client_api.rb +701 -0
- data/lib/aws-sdk-lightsail/types.rb +2792 -970
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 92857e9ed8a918dcbe84a32fa527fe2dd66c81b9
|
4
|
+
data.tar.gz: 05f165ececced3e00e838a4593c2637bb29a89f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 313b98c7d7967844df95ca914eede6cdf6c105745788c43ba66ee909b317a00538e7ffbc8164067a9a9ebe2a4aa99905b917ad3844da4597e7d902d01805031a
|
7
|
+
data.tar.gz: 14f05b9ef8f70fe4697acaf48e901795d7a4416c82ac8540ed0834a0a0c5e73e84bca6e3514a23639d4ccbd10ac7bd650fd1c746623d60fb6b310c5c663737f6
|
data/lib/aws-sdk-lightsail.rb
CHANGED
@@ -206,10 +206,10 @@ module Aws::Lightsail
|
|
206
206
|
# resp.operations #=> Array
|
207
207
|
# resp.operations[0].id #=> String
|
208
208
|
# resp.operations[0].resource_name #=> String
|
209
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
209
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
210
210
|
# resp.operations[0].created_at #=> Time
|
211
211
|
# resp.operations[0].location.availability_zone #=> String
|
212
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
212
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
213
213
|
# resp.operations[0].is_terminal #=> Boolean
|
214
214
|
# resp.operations[0].operation_details #=> String
|
215
215
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -257,10 +257,10 @@ module Aws::Lightsail
|
|
257
257
|
# resp.operations #=> Array
|
258
258
|
# resp.operations[0].id #=> String
|
259
259
|
# resp.operations[0].resource_name #=> String
|
260
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
260
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
261
261
|
# resp.operations[0].created_at #=> Time
|
262
262
|
# resp.operations[0].location.availability_zone #=> String
|
263
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
263
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
264
264
|
# resp.operations[0].is_terminal #=> Boolean
|
265
265
|
# resp.operations[0].operation_details #=> String
|
266
266
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -313,10 +313,10 @@ module Aws::Lightsail
|
|
313
313
|
# resp.operations #=> Array
|
314
314
|
# resp.operations[0].id #=> String
|
315
315
|
# resp.operations[0].resource_name #=> String
|
316
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
316
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
317
317
|
# resp.operations[0].created_at #=> Time
|
318
318
|
# resp.operations[0].location.availability_zone #=> String
|
319
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
319
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
320
320
|
# resp.operations[0].is_terminal #=> Boolean
|
321
321
|
# resp.operations[0].operation_details #=> String
|
322
322
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -368,10 +368,10 @@ module Aws::Lightsail
|
|
368
368
|
# resp.operations #=> Array
|
369
369
|
# resp.operations[0].id #=> String
|
370
370
|
# resp.operations[0].resource_name #=> String
|
371
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
371
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
372
372
|
# resp.operations[0].created_at #=> Time
|
373
373
|
# resp.operations[0].location.availability_zone #=> String
|
374
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
374
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
375
375
|
# resp.operations[0].is_terminal #=> Boolean
|
376
376
|
# resp.operations[0].operation_details #=> String
|
377
377
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -413,10 +413,10 @@ module Aws::Lightsail
|
|
413
413
|
# resp.operations #=> Array
|
414
414
|
# resp.operations[0].id #=> String
|
415
415
|
# resp.operations[0].resource_name #=> String
|
416
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
416
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
417
417
|
# resp.operations[0].created_at #=> Time
|
418
418
|
# resp.operations[0].location.availability_zone #=> String
|
419
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
419
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
420
420
|
# resp.operations[0].is_terminal #=> Boolean
|
421
421
|
# resp.operations[0].operation_details #=> String
|
422
422
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -462,10 +462,10 @@ module Aws::Lightsail
|
|
462
462
|
#
|
463
463
|
# resp.operation.id #=> String
|
464
464
|
# resp.operation.resource_name #=> String
|
465
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
465
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
466
466
|
# resp.operation.created_at #=> Time
|
467
467
|
# resp.operation.location.availability_zone #=> String
|
468
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
468
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
469
469
|
# resp.operation.is_terminal #=> Boolean
|
470
470
|
# resp.operation.operation_details #=> String
|
471
471
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -524,10 +524,10 @@ module Aws::Lightsail
|
|
524
524
|
# resp.operations #=> Array
|
525
525
|
# resp.operations[0].id #=> String
|
526
526
|
# resp.operations[0].resource_name #=> String
|
527
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
527
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
528
528
|
# resp.operations[0].created_at #=> Time
|
529
529
|
# resp.operations[0].location.availability_zone #=> String
|
530
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
530
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
531
531
|
# resp.operations[0].is_terminal #=> Boolean
|
532
532
|
# resp.operations[0].operation_details #=> String
|
533
533
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -591,10 +591,10 @@ module Aws::Lightsail
|
|
591
591
|
# resp.operations #=> Array
|
592
592
|
# resp.operations[0].id #=> String
|
593
593
|
# resp.operations[0].resource_name #=> String
|
594
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
594
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
595
595
|
# resp.operations[0].created_at #=> Time
|
596
596
|
# resp.operations[0].location.availability_zone #=> String
|
597
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
597
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
598
598
|
# resp.operations[0].is_terminal #=> Boolean
|
599
599
|
# resp.operations[0].operation_details #=> String
|
600
600
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -651,10 +651,10 @@ module Aws::Lightsail
|
|
651
651
|
# resp.operations #=> Array
|
652
652
|
# resp.operations[0].id #=> String
|
653
653
|
# resp.operations[0].resource_name #=> String
|
654
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
654
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
655
655
|
# resp.operations[0].created_at #=> Time
|
656
656
|
# resp.operations[0].location.availability_zone #=> String
|
657
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
657
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
658
658
|
# resp.operations[0].is_terminal #=> Boolean
|
659
659
|
# resp.operations[0].operation_details #=> String
|
660
660
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -699,10 +699,10 @@ module Aws::Lightsail
|
|
699
699
|
#
|
700
700
|
# resp.operation.id #=> String
|
701
701
|
# resp.operation.resource_name #=> String
|
702
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
702
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
703
703
|
# resp.operation.created_at #=> Time
|
704
704
|
# resp.operation.location.availability_zone #=> String
|
705
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
705
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
706
706
|
# resp.operation.is_terminal #=> Boolean
|
707
707
|
# resp.operation.operation_details #=> String
|
708
708
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -755,10 +755,10 @@ module Aws::Lightsail
|
|
755
755
|
#
|
756
756
|
# resp.operation.id #=> String
|
757
757
|
# resp.operation.resource_name #=> String
|
758
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
758
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
759
759
|
# resp.operation.created_at #=> Time
|
760
760
|
# resp.operation.location.availability_zone #=> String
|
761
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
761
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
762
762
|
# resp.operation.is_terminal #=> Boolean
|
763
763
|
# resp.operation.operation_details #=> String
|
764
764
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -802,10 +802,10 @@ module Aws::Lightsail
|
|
802
802
|
# resp.operations #=> Array
|
803
803
|
# resp.operations[0].id #=> String
|
804
804
|
# resp.operations[0].resource_name #=> String
|
805
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
805
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
806
806
|
# resp.operations[0].created_at #=> Time
|
807
807
|
# resp.operations[0].location.availability_zone #=> String
|
808
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
808
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
809
809
|
# resp.operations[0].is_terminal #=> Boolean
|
810
810
|
# resp.operations[0].operation_details #=> String
|
811
811
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -824,7 +824,12 @@ module Aws::Lightsail
|
|
824
824
|
end
|
825
825
|
|
826
826
|
# Creates one or more Amazon Lightsail virtual private servers, or
|
827
|
-
# *instances*.
|
827
|
+
# *instances*. Create instances using active blueprints. Inactive
|
828
|
+
# blueprints are listed to support customers with existing instances but
|
829
|
+
# are not necessarily available for launch of new instances. Blueprints
|
830
|
+
# are marked inactive when they become outdated due to operating system
|
831
|
+
# updates or new application releases. Use the get blueprints operation
|
832
|
+
# to return a list of available blueprints.
|
828
833
|
#
|
829
834
|
# @option params [required, Array<String>] :instance_names
|
830
835
|
# The names to use for your new Lightsail instances. Separate multiple
|
@@ -834,8 +839,8 @@ module Aws::Lightsail
|
|
834
839
|
# @option params [required, String] :availability_zone
|
835
840
|
# The Availability Zone in which to create your instance. Use the
|
836
841
|
# following format: `us-east-2a` (case sensitive). You can get a list of
|
837
|
-
#
|
838
|
-
# add the `include
|
842
|
+
# Availability Zones by using the [get regions][1] operation. Be sure to
|
843
|
+
# add the `include Availability Zones` parameter to your request.
|
839
844
|
#
|
840
845
|
#
|
841
846
|
#
|
@@ -899,10 +904,10 @@ module Aws::Lightsail
|
|
899
904
|
# resp.operations #=> Array
|
900
905
|
# resp.operations[0].id #=> String
|
901
906
|
# resp.operations[0].resource_name #=> String
|
902
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
907
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
903
908
|
# resp.operations[0].created_at #=> Time
|
904
909
|
# resp.operations[0].location.availability_zone #=> String
|
905
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
910
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
906
911
|
# resp.operations[0].is_terminal #=> Boolean
|
907
912
|
# resp.operations[0].operation_details #=> String
|
908
913
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -932,8 +937,8 @@ module Aws::Lightsail
|
|
932
937
|
# @option params [required, String] :availability_zone
|
933
938
|
# The Availability Zone where you want to create your instances. Use the
|
934
939
|
# following formatting: `us-east-2a` (case sensitive). You can get a
|
935
|
-
# list of
|
936
|
-
# sure to add the `include
|
940
|
+
# list of Availability Zones by using the [get regions][1] operation. Be
|
941
|
+
# sure to add the `include Availability Zones` parameter to your
|
937
942
|
# request.
|
938
943
|
#
|
939
944
|
#
|
@@ -963,7 +968,7 @@ module Aws::Lightsail
|
|
963
968
|
#
|
964
969
|
#
|
965
970
|
#
|
966
|
-
# [1]:
|
971
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/getting-started/article/compare-options-choose-lightsail-instance-image
|
967
972
|
#
|
968
973
|
# @option params [String] :key_pair_name
|
969
974
|
# The name for your key pair.
|
@@ -996,10 +1001,10 @@ module Aws::Lightsail
|
|
996
1001
|
# resp.operations #=> Array
|
997
1002
|
# resp.operations[0].id #=> String
|
998
1003
|
# resp.operations[0].resource_name #=> String
|
999
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1004
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1000
1005
|
# resp.operations[0].created_at #=> Time
|
1001
1006
|
# resp.operations[0].location.availability_zone #=> String
|
1002
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1007
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1003
1008
|
# resp.operations[0].is_terminal #=> Boolean
|
1004
1009
|
# resp.operations[0].operation_details #=> String
|
1005
1010
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1017,7 +1022,7 @@ module Aws::Lightsail
|
|
1017
1022
|
req.send_request(options)
|
1018
1023
|
end
|
1019
1024
|
|
1020
|
-
# Creates
|
1025
|
+
# Creates an SSH key pair.
|
1021
1026
|
#
|
1022
1027
|
# @option params [required, String] :key_pair_name
|
1023
1028
|
# The name for your new key pair.
|
@@ -1042,17 +1047,17 @@ module Aws::Lightsail
|
|
1042
1047
|
# resp.key_pair.support_code #=> String
|
1043
1048
|
# resp.key_pair.created_at #=> Time
|
1044
1049
|
# resp.key_pair.location.availability_zone #=> String
|
1045
|
-
# resp.key_pair.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1046
|
-
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1050
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1051
|
+
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1047
1052
|
# resp.key_pair.fingerprint #=> String
|
1048
1053
|
# resp.public_key_base_64 #=> String
|
1049
1054
|
# resp.private_key_base_64 #=> String
|
1050
1055
|
# resp.operation.id #=> String
|
1051
1056
|
# resp.operation.resource_name #=> String
|
1052
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1057
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1053
1058
|
# resp.operation.created_at #=> Time
|
1054
1059
|
# resp.operation.location.availability_zone #=> String
|
1055
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1060
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1056
1061
|
# resp.operation.is_terminal #=> Boolean
|
1057
1062
|
# resp.operation.operation_details #=> String
|
1058
1063
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1136,10 +1141,10 @@ module Aws::Lightsail
|
|
1136
1141
|
# resp.operations #=> Array
|
1137
1142
|
# resp.operations[0].id #=> String
|
1138
1143
|
# resp.operations[0].resource_name #=> String
|
1139
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1144
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1140
1145
|
# resp.operations[0].created_at #=> Time
|
1141
1146
|
# resp.operations[0].location.availability_zone #=> String
|
1142
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1147
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1143
1148
|
# resp.operations[0].is_terminal #=> Boolean
|
1144
1149
|
# resp.operations[0].operation_details #=> String
|
1145
1150
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1206,10 +1211,10 @@ module Aws::Lightsail
|
|
1206
1211
|
# resp.operations #=> Array
|
1207
1212
|
# resp.operations[0].id #=> String
|
1208
1213
|
# resp.operations[0].resource_name #=> String
|
1209
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1214
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1210
1215
|
# resp.operations[0].created_at #=> Time
|
1211
1216
|
# resp.operations[0].location.availability_zone #=> String
|
1212
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1217
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1213
1218
|
# resp.operations[0].is_terminal #=> Boolean
|
1214
1219
|
# resp.operations[0].operation_details #=> String
|
1215
1220
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1227,6 +1232,346 @@ module Aws::Lightsail
|
|
1227
1232
|
req.send_request(options)
|
1228
1233
|
end
|
1229
1234
|
|
1235
|
+
# Creates a new database in Amazon Lightsail.
|
1236
|
+
#
|
1237
|
+
# @option params [required, String] :relational_database_name
|
1238
|
+
# The name to use for your new database.
|
1239
|
+
#
|
1240
|
+
# Constraints:
|
1241
|
+
#
|
1242
|
+
# * Must contain from 2 to 255 alphanumeric characters, or hyphens.
|
1243
|
+
#
|
1244
|
+
# * The first and last character must be a letter or number.
|
1245
|
+
#
|
1246
|
+
# @option params [String] :availability_zone
|
1247
|
+
# The Availability Zone in which to create your new database. Use the
|
1248
|
+
# `us-east-2a` case-sensitive format.
|
1249
|
+
#
|
1250
|
+
# You can get a list of Availability Zones by using the `get regions`
|
1251
|
+
# operation. Be sure to add the `include relational database
|
1252
|
+
# Availability Zones` parameter to your request.
|
1253
|
+
#
|
1254
|
+
# @option params [required, String] :relational_database_blueprint_id
|
1255
|
+
# The blueprint ID for your new database. A blueprint describes the
|
1256
|
+
# major engine version of a database.
|
1257
|
+
#
|
1258
|
+
# You can get a list of database blueprints IDs by using the `get
|
1259
|
+
# relational database blueprints` operation.
|
1260
|
+
#
|
1261
|
+
# @option params [required, String] :relational_database_bundle_id
|
1262
|
+
# The bundle ID for your new database. A bundle describes the
|
1263
|
+
# performance specifications for your database.
|
1264
|
+
#
|
1265
|
+
# You can get a list of database bundle IDs by using the `get relational
|
1266
|
+
# database bundles` operation.
|
1267
|
+
#
|
1268
|
+
# @option params [required, String] :master_database_name
|
1269
|
+
# The name of the master database created when the Lightsail database
|
1270
|
+
# resource is created.
|
1271
|
+
#
|
1272
|
+
# Constraints:
|
1273
|
+
#
|
1274
|
+
# * Must contain from 1 to 64 alphanumeric characters.
|
1275
|
+
#
|
1276
|
+
# * Cannot be a word reserved by the specified database engine
|
1277
|
+
#
|
1278
|
+
# @option params [required, String] :master_username
|
1279
|
+
# The master user name for your new database.
|
1280
|
+
#
|
1281
|
+
# Constraints:
|
1282
|
+
#
|
1283
|
+
# * Master user name is required.
|
1284
|
+
#
|
1285
|
+
# * Must contain from 1 to 16 alphanumeric characters.
|
1286
|
+
#
|
1287
|
+
# * The first character must be a letter.
|
1288
|
+
#
|
1289
|
+
# * Cannot be a reserved word for the database engine you choose.
|
1290
|
+
#
|
1291
|
+
# For more information about reserved words in MySQL 5.6 or 5.7, see
|
1292
|
+
# the Keywords and Reserved Words articles for [MySQL 5.6][1] or
|
1293
|
+
# [MySQL 5.7][2] respectively.
|
1294
|
+
#
|
1295
|
+
#
|
1296
|
+
#
|
1297
|
+
# [1]: https://dev.mysql.com/doc/refman/5.6/en/keywords.html
|
1298
|
+
# [2]: https://dev.mysql.com/doc/refman/5.7/en/keywords.html
|
1299
|
+
#
|
1300
|
+
# @option params [String] :master_user_password
|
1301
|
+
# The password for the master user of your new database. The password
|
1302
|
+
# can include any printable ASCII character except "/", """, or
|
1303
|
+
# "@".
|
1304
|
+
#
|
1305
|
+
# Constraints: Must contain 8 to 41 characters.
|
1306
|
+
#
|
1307
|
+
# @option params [String] :preferred_backup_window
|
1308
|
+
# The daily time range during which automated backups are created for
|
1309
|
+
# your new database if automated backups are enabled.
|
1310
|
+
#
|
1311
|
+
# The default is a 30-minute window selected at random from an 8-hour
|
1312
|
+
# block of time for each AWS Region. For more information about the
|
1313
|
+
# preferred backup window time blocks for each region, see the [Working
|
1314
|
+
# With Backups][1] guide in the Amazon Relational Database Service
|
1315
|
+
# (Amazon RDS) documentation.
|
1316
|
+
#
|
1317
|
+
# Constraints:
|
1318
|
+
#
|
1319
|
+
# * Must be in the `hh24:mi-hh24:mi` format.
|
1320
|
+
#
|
1321
|
+
# Example: `16:00-16:30`
|
1322
|
+
#
|
1323
|
+
# * Specified in Universal Coordinated Time (UTC).
|
1324
|
+
#
|
1325
|
+
# * Must not conflict with the preferred maintenance window.
|
1326
|
+
#
|
1327
|
+
# * Must be at least 30 minutes.
|
1328
|
+
#
|
1329
|
+
#
|
1330
|
+
#
|
1331
|
+
# [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithAutomatedBackups.html#USER_WorkingWithAutomatedBackups.BackupWindow
|
1332
|
+
#
|
1333
|
+
# @option params [String] :preferred_maintenance_window
|
1334
|
+
# The weekly time range during which system maintenance can occur on
|
1335
|
+
# your new database.
|
1336
|
+
#
|
1337
|
+
# The default is a 30-minute window selected at random from an 8-hour
|
1338
|
+
# block of time for each AWS Region, occurring on a random day of the
|
1339
|
+
# week.
|
1340
|
+
#
|
1341
|
+
# Constraints:
|
1342
|
+
#
|
1343
|
+
# * Must be in the `ddd:hh24:mi-ddd:hh24:mi` format.
|
1344
|
+
#
|
1345
|
+
# * Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
|
1346
|
+
#
|
1347
|
+
# * Must be at least 30 minutes.
|
1348
|
+
#
|
1349
|
+
# * Specified in Universal Coordinated Time (UTC).
|
1350
|
+
#
|
1351
|
+
# * Example: `Tue:17:00-Tue:17:30`
|
1352
|
+
#
|
1353
|
+
# @option params [Boolean] :publicly_accessible
|
1354
|
+
# Specifies the accessibility options for your new database. A value of
|
1355
|
+
# `true` specifies a database that is available to resources outside of
|
1356
|
+
# your Lightsail account. A value of `false` specifies a database that
|
1357
|
+
# is available only to your Lightsail resources in the same region as
|
1358
|
+
# your database.
|
1359
|
+
#
|
1360
|
+
# @return [Types::CreateRelationalDatabaseResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1361
|
+
#
|
1362
|
+
# * {Types::CreateRelationalDatabaseResult#operations #operations} => Array<Types::Operation>
|
1363
|
+
#
|
1364
|
+
# @example Request syntax with placeholder values
|
1365
|
+
#
|
1366
|
+
# resp = client.create_relational_database({
|
1367
|
+
# relational_database_name: "ResourceName", # required
|
1368
|
+
# availability_zone: "string",
|
1369
|
+
# relational_database_blueprint_id: "string", # required
|
1370
|
+
# relational_database_bundle_id: "string", # required
|
1371
|
+
# master_database_name: "string", # required
|
1372
|
+
# master_username: "string", # required
|
1373
|
+
# master_user_password: "SensitiveString",
|
1374
|
+
# preferred_backup_window: "string",
|
1375
|
+
# preferred_maintenance_window: "string",
|
1376
|
+
# publicly_accessible: false,
|
1377
|
+
# })
|
1378
|
+
#
|
1379
|
+
# @example Response structure
|
1380
|
+
#
|
1381
|
+
# resp.operations #=> Array
|
1382
|
+
# resp.operations[0].id #=> String
|
1383
|
+
# resp.operations[0].resource_name #=> String
|
1384
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1385
|
+
# resp.operations[0].created_at #=> Time
|
1386
|
+
# resp.operations[0].location.availability_zone #=> String
|
1387
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1388
|
+
# resp.operations[0].is_terminal #=> Boolean
|
1389
|
+
# resp.operations[0].operation_details #=> String
|
1390
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1391
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1392
|
+
# resp.operations[0].status_changed_at #=> Time
|
1393
|
+
# resp.operations[0].error_code #=> String
|
1394
|
+
# resp.operations[0].error_details #=> String
|
1395
|
+
#
|
1396
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabase AWS API Documentation
|
1397
|
+
#
|
1398
|
+
# @overload create_relational_database(params = {})
|
1399
|
+
# @param [Hash] params ({})
|
1400
|
+
def create_relational_database(params = {}, options = {})
|
1401
|
+
req = build_request(:create_relational_database, params)
|
1402
|
+
req.send_request(options)
|
1403
|
+
end
|
1404
|
+
|
1405
|
+
# Creates a new database from an existing database snapshot in Amazon
|
1406
|
+
# Lightsail.
|
1407
|
+
#
|
1408
|
+
# You can create a new database from a snapshot in if something goes
|
1409
|
+
# wrong with your original database, or to change it to a different
|
1410
|
+
# plan, such as a high availability or standard plan.
|
1411
|
+
#
|
1412
|
+
# @option params [required, String] :relational_database_name
|
1413
|
+
# The name to use for your new database.
|
1414
|
+
#
|
1415
|
+
# Constraints:
|
1416
|
+
#
|
1417
|
+
# * Must contain from 2 to 255 alphanumeric characters, or hyphens.
|
1418
|
+
#
|
1419
|
+
# * The first and last character must be a letter or number.
|
1420
|
+
#
|
1421
|
+
# @option params [String] :availability_zone
|
1422
|
+
# The Availability Zone in which to create your new database. Use the
|
1423
|
+
# `us-east-2a` case-sensitive format.
|
1424
|
+
#
|
1425
|
+
# You can get a list of Availability Zones by using the `get regions`
|
1426
|
+
# operation. Be sure to add the `include relational database
|
1427
|
+
# Availability Zones` parameter to your request.
|
1428
|
+
#
|
1429
|
+
# @option params [Boolean] :publicly_accessible
|
1430
|
+
# Specifies the accessibility options for your new database. A value of
|
1431
|
+
# `true` specifies a database that is available to resources outside of
|
1432
|
+
# your Lightsail account. A value of `false` specifies a database that
|
1433
|
+
# is available only to your Lightsail resources in the same region as
|
1434
|
+
# your database.
|
1435
|
+
#
|
1436
|
+
# @option params [String] :relational_database_snapshot_name
|
1437
|
+
# The name of the database snapshot from which to create your new
|
1438
|
+
# database.
|
1439
|
+
#
|
1440
|
+
# @option params [String] :relational_database_bundle_id
|
1441
|
+
# The bundle ID for your new database. A bundle describes the
|
1442
|
+
# performance specifications for your database.
|
1443
|
+
#
|
1444
|
+
# You can get a list of database bundle IDs by using the `get relational
|
1445
|
+
# database bundles` operation.
|
1446
|
+
#
|
1447
|
+
# When creating a new database from a snapshot, you cannot choose a
|
1448
|
+
# bundle that is smaller than the bundle of the source database.
|
1449
|
+
#
|
1450
|
+
# @option params [String] :source_relational_database_name
|
1451
|
+
# The name of the source database.
|
1452
|
+
#
|
1453
|
+
# @option params [Time,DateTime,Date,Integer,String] :restore_time
|
1454
|
+
# The date and time to restore your database from.
|
1455
|
+
#
|
1456
|
+
# Constraints:
|
1457
|
+
#
|
1458
|
+
# * Must be before the latest restorable time for the database.
|
1459
|
+
#
|
1460
|
+
# * Cannot be specified if the `use latest restorable time` parameter is
|
1461
|
+
# `true`.
|
1462
|
+
#
|
1463
|
+
# * Specified in Universal Coordinated Time (UTC).
|
1464
|
+
#
|
1465
|
+
# * Specified in the Unix time format.
|
1466
|
+
#
|
1467
|
+
# For example, if you wish to use a restore time of October 1, 2018,
|
1468
|
+
# at 8 PM UTC, then you input `1538424000` as the restore time.
|
1469
|
+
#
|
1470
|
+
# @option params [Boolean] :use_latest_restorable_time
|
1471
|
+
# Specifies whether your database is restored from the latest backup
|
1472
|
+
# time. A value of `true` restores from the latest backup time.
|
1473
|
+
#
|
1474
|
+
# Default: `false`
|
1475
|
+
#
|
1476
|
+
# Constraints: Cannot be specified if the `restore time` parameter is
|
1477
|
+
# provided.
|
1478
|
+
#
|
1479
|
+
# @return [Types::CreateRelationalDatabaseFromSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1480
|
+
#
|
1481
|
+
# * {Types::CreateRelationalDatabaseFromSnapshotResult#operations #operations} => Array<Types::Operation>
|
1482
|
+
#
|
1483
|
+
# @example Request syntax with placeholder values
|
1484
|
+
#
|
1485
|
+
# resp = client.create_relational_database_from_snapshot({
|
1486
|
+
# relational_database_name: "ResourceName", # required
|
1487
|
+
# availability_zone: "string",
|
1488
|
+
# publicly_accessible: false,
|
1489
|
+
# relational_database_snapshot_name: "ResourceName",
|
1490
|
+
# relational_database_bundle_id: "string",
|
1491
|
+
# source_relational_database_name: "ResourceName",
|
1492
|
+
# restore_time: Time.now,
|
1493
|
+
# use_latest_restorable_time: false,
|
1494
|
+
# })
|
1495
|
+
#
|
1496
|
+
# @example Response structure
|
1497
|
+
#
|
1498
|
+
# resp.operations #=> Array
|
1499
|
+
# resp.operations[0].id #=> String
|
1500
|
+
# resp.operations[0].resource_name #=> String
|
1501
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1502
|
+
# resp.operations[0].created_at #=> Time
|
1503
|
+
# resp.operations[0].location.availability_zone #=> String
|
1504
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1505
|
+
# resp.operations[0].is_terminal #=> Boolean
|
1506
|
+
# resp.operations[0].operation_details #=> String
|
1507
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1508
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1509
|
+
# resp.operations[0].status_changed_at #=> Time
|
1510
|
+
# resp.operations[0].error_code #=> String
|
1511
|
+
# resp.operations[0].error_details #=> String
|
1512
|
+
#
|
1513
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseFromSnapshot AWS API Documentation
|
1514
|
+
#
|
1515
|
+
# @overload create_relational_database_from_snapshot(params = {})
|
1516
|
+
# @param [Hash] params ({})
|
1517
|
+
def create_relational_database_from_snapshot(params = {}, options = {})
|
1518
|
+
req = build_request(:create_relational_database_from_snapshot, params)
|
1519
|
+
req.send_request(options)
|
1520
|
+
end
|
1521
|
+
|
1522
|
+
# Creates a snapshot of your database in Amazon Lightsail. You can use
|
1523
|
+
# snapshots for backups, to make copies of a database, and to save data
|
1524
|
+
# before deleting a database.
|
1525
|
+
#
|
1526
|
+
# @option params [required, String] :relational_database_name
|
1527
|
+
# The name of the database on which to base your new snapshot.
|
1528
|
+
#
|
1529
|
+
# @option params [required, String] :relational_database_snapshot_name
|
1530
|
+
# The name for your new database snapshot.
|
1531
|
+
#
|
1532
|
+
# Constraints:
|
1533
|
+
#
|
1534
|
+
# * Must contain from 2 to 255 alphanumeric characters, or hyphens.
|
1535
|
+
#
|
1536
|
+
# * The first and last character must be a letter or number.
|
1537
|
+
#
|
1538
|
+
# @return [Types::CreateRelationalDatabaseSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1539
|
+
#
|
1540
|
+
# * {Types::CreateRelationalDatabaseSnapshotResult#operations #operations} => Array<Types::Operation>
|
1541
|
+
#
|
1542
|
+
# @example Request syntax with placeholder values
|
1543
|
+
#
|
1544
|
+
# resp = client.create_relational_database_snapshot({
|
1545
|
+
# relational_database_name: "ResourceName", # required
|
1546
|
+
# relational_database_snapshot_name: "ResourceName", # required
|
1547
|
+
# })
|
1548
|
+
#
|
1549
|
+
# @example Response structure
|
1550
|
+
#
|
1551
|
+
# resp.operations #=> Array
|
1552
|
+
# resp.operations[0].id #=> String
|
1553
|
+
# resp.operations[0].resource_name #=> String
|
1554
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1555
|
+
# resp.operations[0].created_at #=> Time
|
1556
|
+
# resp.operations[0].location.availability_zone #=> String
|
1557
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1558
|
+
# resp.operations[0].is_terminal #=> Boolean
|
1559
|
+
# resp.operations[0].operation_details #=> String
|
1560
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
1561
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
1562
|
+
# resp.operations[0].status_changed_at #=> Time
|
1563
|
+
# resp.operations[0].error_code #=> String
|
1564
|
+
# resp.operations[0].error_details #=> String
|
1565
|
+
#
|
1566
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseSnapshot AWS API Documentation
|
1567
|
+
#
|
1568
|
+
# @overload create_relational_database_snapshot(params = {})
|
1569
|
+
# @param [Hash] params ({})
|
1570
|
+
def create_relational_database_snapshot(params = {}, options = {})
|
1571
|
+
req = build_request(:create_relational_database_snapshot, params)
|
1572
|
+
req.send_request(options)
|
1573
|
+
end
|
1574
|
+
|
1230
1575
|
# Deletes the specified block storage disk. The disk must be in the
|
1231
1576
|
# `available` state (not attached to a Lightsail instance).
|
1232
1577
|
#
|
@@ -1252,10 +1597,10 @@ module Aws::Lightsail
|
|
1252
1597
|
# resp.operations #=> Array
|
1253
1598
|
# resp.operations[0].id #=> String
|
1254
1599
|
# resp.operations[0].resource_name #=> String
|
1255
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1600
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1256
1601
|
# resp.operations[0].created_at #=> Time
|
1257
1602
|
# resp.operations[0].location.availability_zone #=> String
|
1258
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1603
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1259
1604
|
# resp.operations[0].is_terminal #=> Boolean
|
1260
1605
|
# resp.operations[0].operation_details #=> String
|
1261
1606
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1302,10 +1647,10 @@ module Aws::Lightsail
|
|
1302
1647
|
# resp.operations #=> Array
|
1303
1648
|
# resp.operations[0].id #=> String
|
1304
1649
|
# resp.operations[0].resource_name #=> String
|
1305
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1650
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1306
1651
|
# resp.operations[0].created_at #=> Time
|
1307
1652
|
# resp.operations[0].location.availability_zone #=> String
|
1308
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1653
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1309
1654
|
# resp.operations[0].is_terminal #=> Boolean
|
1310
1655
|
# resp.operations[0].operation_details #=> String
|
1311
1656
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1342,10 +1687,10 @@ module Aws::Lightsail
|
|
1342
1687
|
#
|
1343
1688
|
# resp.operation.id #=> String
|
1344
1689
|
# resp.operation.resource_name #=> String
|
1345
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1690
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1346
1691
|
# resp.operation.created_at #=> Time
|
1347
1692
|
# resp.operation.location.availability_zone #=> String
|
1348
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1693
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1349
1694
|
# resp.operation.is_terminal #=> Boolean
|
1350
1695
|
# resp.operation.operation_details #=> String
|
1351
1696
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1396,10 +1741,10 @@ module Aws::Lightsail
|
|
1396
1741
|
#
|
1397
1742
|
# resp.operation.id #=> String
|
1398
1743
|
# resp.operation.resource_name #=> String
|
1399
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1744
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1400
1745
|
# resp.operation.created_at #=> Time
|
1401
1746
|
# resp.operation.location.availability_zone #=> String
|
1402
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1747
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1403
1748
|
# resp.operation.is_terminal #=> Boolean
|
1404
1749
|
# resp.operation.operation_details #=> String
|
1405
1750
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1438,10 +1783,10 @@ module Aws::Lightsail
|
|
1438
1783
|
# resp.operations #=> Array
|
1439
1784
|
# resp.operations[0].id #=> String
|
1440
1785
|
# resp.operations[0].resource_name #=> String
|
1441
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1786
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1442
1787
|
# resp.operations[0].created_at #=> Time
|
1443
1788
|
# resp.operations[0].location.availability_zone #=> String
|
1444
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1789
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1445
1790
|
# resp.operations[0].is_terminal #=> Boolean
|
1446
1791
|
# resp.operations[0].operation_details #=> String
|
1447
1792
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1480,10 +1825,10 @@ module Aws::Lightsail
|
|
1480
1825
|
# resp.operations #=> Array
|
1481
1826
|
# resp.operations[0].id #=> String
|
1482
1827
|
# resp.operations[0].resource_name #=> String
|
1483
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1828
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1484
1829
|
# resp.operations[0].created_at #=> Time
|
1485
1830
|
# resp.operations[0].location.availability_zone #=> String
|
1486
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1831
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1487
1832
|
# resp.operations[0].is_terminal #=> Boolean
|
1488
1833
|
# resp.operations[0].operation_details #=> String
|
1489
1834
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1520,10 +1865,10 @@ module Aws::Lightsail
|
|
1520
1865
|
#
|
1521
1866
|
# resp.operation.id #=> String
|
1522
1867
|
# resp.operation.resource_name #=> String
|
1523
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1868
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1524
1869
|
# resp.operation.created_at #=> Time
|
1525
1870
|
# resp.operation.location.availability_zone #=> String
|
1526
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1871
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1527
1872
|
# resp.operation.is_terminal #=> Boolean
|
1528
1873
|
# resp.operation.operation_details #=> String
|
1529
1874
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1564,10 +1909,10 @@ module Aws::Lightsail
|
|
1564
1909
|
# resp.operations #=> Array
|
1565
1910
|
# resp.operations[0].id #=> String
|
1566
1911
|
# resp.operations[0].resource_name #=> String
|
1567
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1912
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1568
1913
|
# resp.operations[0].created_at #=> Time
|
1569
1914
|
# resp.operations[0].location.availability_zone #=> String
|
1570
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1915
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1571
1916
|
# resp.operations[0].is_terminal #=> Boolean
|
1572
1917
|
# resp.operations[0].operation_details #=> String
|
1573
1918
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1598,9 +1943,9 @@ module Aws::Lightsail
|
|
1598
1943
|
# When `true`, forces the deletion of an SSL/TLS certificate.
|
1599
1944
|
#
|
1600
1945
|
# There can be two certificates associated with a Lightsail load
|
1601
|
-
# balancer: the primary and the backup. The force parameter is
|
1602
|
-
# when the primary SSL/TLS certificate is in use by an instance
|
1603
|
-
# to the load balancer.
|
1946
|
+
# balancer: the primary and the backup. The `force` parameter is
|
1947
|
+
# required when the primary SSL/TLS certificate is in use by an instance
|
1948
|
+
# attached to the load balancer.
|
1604
1949
|
#
|
1605
1950
|
# @return [Types::DeleteLoadBalancerTlsCertificateResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1606
1951
|
#
|
@@ -1619,10 +1964,10 @@ module Aws::Lightsail
|
|
1619
1964
|
# resp.operations #=> Array
|
1620
1965
|
# resp.operations[0].id #=> String
|
1621
1966
|
# resp.operations[0].resource_name #=> String
|
1622
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
1967
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1623
1968
|
# resp.operations[0].created_at #=> Time
|
1624
1969
|
# resp.operations[0].location.availability_zone #=> String
|
1625
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1970
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1626
1971
|
# resp.operations[0].is_terminal #=> Boolean
|
1627
1972
|
# resp.operations[0].operation_details #=> String
|
1628
1973
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1640,6 +1985,116 @@ module Aws::Lightsail
|
|
1640
1985
|
req.send_request(options)
|
1641
1986
|
end
|
1642
1987
|
|
1988
|
+
# Deletes a database in Amazon Lightsail.
|
1989
|
+
#
|
1990
|
+
# @option params [required, String] :relational_database_name
|
1991
|
+
# The name of the database that you are deleting.
|
1992
|
+
#
|
1993
|
+
# @option params [Boolean] :skip_final_snapshot
|
1994
|
+
# Determines whether a final database snapshot is created before your
|
1995
|
+
# database is deleted. If `true` is specified, no database snapshot is
|
1996
|
+
# created. If `false` is specified, a database snapshot is created
|
1997
|
+
# before your database is deleted.
|
1998
|
+
#
|
1999
|
+
# You must specify the `final relational database snapshot name`
|
2000
|
+
# parameter if the `skip final snapshot` parameter is `false`.
|
2001
|
+
#
|
2002
|
+
# Default: `false`
|
2003
|
+
#
|
2004
|
+
# @option params [String] :final_relational_database_snapshot_name
|
2005
|
+
# The name of the database snapshot created if `skip final snapshot` is
|
2006
|
+
# `false`, which is the default value for that parameter.
|
2007
|
+
#
|
2008
|
+
# <note markdown="1"> Specifying this parameter and also specifying the `skip final
|
2009
|
+
# snapshot` parameter to `true` results in an error.
|
2010
|
+
#
|
2011
|
+
# </note>
|
2012
|
+
#
|
2013
|
+
# Constraints:
|
2014
|
+
#
|
2015
|
+
# * Must contain from 2 to 255 alphanumeric characters, or hyphens.
|
2016
|
+
#
|
2017
|
+
# * The first and last character must be a letter or number.
|
2018
|
+
#
|
2019
|
+
# @return [Types::DeleteRelationalDatabaseResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2020
|
+
#
|
2021
|
+
# * {Types::DeleteRelationalDatabaseResult#operations #operations} => Array<Types::Operation>
|
2022
|
+
#
|
2023
|
+
# @example Request syntax with placeholder values
|
2024
|
+
#
|
2025
|
+
# resp = client.delete_relational_database({
|
2026
|
+
# relational_database_name: "ResourceName", # required
|
2027
|
+
# skip_final_snapshot: false,
|
2028
|
+
# final_relational_database_snapshot_name: "ResourceName",
|
2029
|
+
# })
|
2030
|
+
#
|
2031
|
+
# @example Response structure
|
2032
|
+
#
|
2033
|
+
# resp.operations #=> Array
|
2034
|
+
# resp.operations[0].id #=> String
|
2035
|
+
# resp.operations[0].resource_name #=> String
|
2036
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2037
|
+
# resp.operations[0].created_at #=> Time
|
2038
|
+
# resp.operations[0].location.availability_zone #=> String
|
2039
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2040
|
+
# resp.operations[0].is_terminal #=> Boolean
|
2041
|
+
# resp.operations[0].operation_details #=> String
|
2042
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2043
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2044
|
+
# resp.operations[0].status_changed_at #=> Time
|
2045
|
+
# resp.operations[0].error_code #=> String
|
2046
|
+
# resp.operations[0].error_details #=> String
|
2047
|
+
#
|
2048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteRelationalDatabase AWS API Documentation
|
2049
|
+
#
|
2050
|
+
# @overload delete_relational_database(params = {})
|
2051
|
+
# @param [Hash] params ({})
|
2052
|
+
def delete_relational_database(params = {}, options = {})
|
2053
|
+
req = build_request(:delete_relational_database, params)
|
2054
|
+
req.send_request(options)
|
2055
|
+
end
|
2056
|
+
|
2057
|
+
# Deletes a database snapshot in Amazon Lightsail.
|
2058
|
+
#
|
2059
|
+
# @option params [required, String] :relational_database_snapshot_name
|
2060
|
+
# The name of the database snapshot that you are deleting.
|
2061
|
+
#
|
2062
|
+
# @return [Types::DeleteRelationalDatabaseSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2063
|
+
#
|
2064
|
+
# * {Types::DeleteRelationalDatabaseSnapshotResult#operations #operations} => Array<Types::Operation>
|
2065
|
+
#
|
2066
|
+
# @example Request syntax with placeholder values
|
2067
|
+
#
|
2068
|
+
# resp = client.delete_relational_database_snapshot({
|
2069
|
+
# relational_database_snapshot_name: "ResourceName", # required
|
2070
|
+
# })
|
2071
|
+
#
|
2072
|
+
# @example Response structure
|
2073
|
+
#
|
2074
|
+
# resp.operations #=> Array
|
2075
|
+
# resp.operations[0].id #=> String
|
2076
|
+
# resp.operations[0].resource_name #=> String
|
2077
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2078
|
+
# resp.operations[0].created_at #=> Time
|
2079
|
+
# resp.operations[0].location.availability_zone #=> String
|
2080
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2081
|
+
# resp.operations[0].is_terminal #=> Boolean
|
2082
|
+
# resp.operations[0].operation_details #=> String
|
2083
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
2084
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
2085
|
+
# resp.operations[0].status_changed_at #=> Time
|
2086
|
+
# resp.operations[0].error_code #=> String
|
2087
|
+
# resp.operations[0].error_details #=> String
|
2088
|
+
#
|
2089
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteRelationalDatabaseSnapshot AWS API Documentation
|
2090
|
+
#
|
2091
|
+
# @overload delete_relational_database_snapshot(params = {})
|
2092
|
+
# @param [Hash] params ({})
|
2093
|
+
def delete_relational_database_snapshot(params = {}, options = {})
|
2094
|
+
req = build_request(:delete_relational_database_snapshot, params)
|
2095
|
+
req.send_request(options)
|
2096
|
+
end
|
2097
|
+
|
1643
2098
|
# Detaches a stopped block storage disk from a Lightsail instance. Make
|
1644
2099
|
# sure to unmount any file systems on the device within your operating
|
1645
2100
|
# system before stopping the instance and detaching the disk.
|
@@ -1663,10 +2118,10 @@ module Aws::Lightsail
|
|
1663
2118
|
# resp.operations #=> Array
|
1664
2119
|
# resp.operations[0].id #=> String
|
1665
2120
|
# resp.operations[0].resource_name #=> String
|
1666
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2121
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1667
2122
|
# resp.operations[0].created_at #=> Time
|
1668
2123
|
# resp.operations[0].location.availability_zone #=> String
|
1669
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2124
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1670
2125
|
# resp.operations[0].is_terminal #=> Boolean
|
1671
2126
|
# resp.operations[0].operation_details #=> String
|
1672
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", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1712,10 +2167,10 @@ module Aws::Lightsail
|
|
1712
2167
|
# resp.operations #=> Array
|
1713
2168
|
# resp.operations[0].id #=> String
|
1714
2169
|
# resp.operations[0].resource_name #=> String
|
1715
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2170
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1716
2171
|
# resp.operations[0].created_at #=> Time
|
1717
2172
|
# resp.operations[0].location.availability_zone #=> String
|
1718
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2173
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1719
2174
|
# resp.operations[0].is_terminal #=> Boolean
|
1720
2175
|
# resp.operations[0].operation_details #=> String
|
1721
2176
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1754,10 +2209,10 @@ module Aws::Lightsail
|
|
1754
2209
|
# resp.operations #=> Array
|
1755
2210
|
# resp.operations[0].id #=> String
|
1756
2211
|
# resp.operations[0].resource_name #=> String
|
1757
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2212
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1758
2213
|
# resp.operations[0].created_at #=> Time
|
1759
2214
|
# resp.operations[0].location.availability_zone #=> String
|
1760
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2215
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
1761
2216
|
# resp.operations[0].is_terminal #=> Boolean
|
1762
2217
|
# resp.operations[0].operation_details #=> String
|
1763
2218
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -1951,8 +2406,8 @@ module Aws::Lightsail
|
|
1951
2406
|
# resp.disk.support_code #=> String
|
1952
2407
|
# resp.disk.created_at #=> Time
|
1953
2408
|
# resp.disk.location.availability_zone #=> String
|
1954
|
-
# resp.disk.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1955
|
-
# resp.disk.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2409
|
+
# resp.disk.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2410
|
+
# resp.disk.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1956
2411
|
# resp.disk.size_in_gb #=> Integer
|
1957
2412
|
# resp.disk.is_system_disk #=> Boolean
|
1958
2413
|
# resp.disk.iops #=> Integer
|
@@ -1994,8 +2449,8 @@ module Aws::Lightsail
|
|
1994
2449
|
# resp.disk_snapshot.support_code #=> String
|
1995
2450
|
# resp.disk_snapshot.created_at #=> Time
|
1996
2451
|
# resp.disk_snapshot.location.availability_zone #=> String
|
1997
|
-
# resp.disk_snapshot.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
1998
|
-
# resp.disk_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2452
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2453
|
+
# resp.disk_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
1999
2454
|
# resp.disk_snapshot.size_in_gb #=> Integer
|
2000
2455
|
# resp.disk_snapshot.state #=> String, one of "pending", "completed", "error", "unknown"
|
2001
2456
|
# resp.disk_snapshot.progress #=> String
|
@@ -2041,8 +2496,8 @@ module Aws::Lightsail
|
|
2041
2496
|
# resp.disk_snapshots[0].support_code #=> String
|
2042
2497
|
# resp.disk_snapshots[0].created_at #=> Time
|
2043
2498
|
# resp.disk_snapshots[0].location.availability_zone #=> String
|
2044
|
-
# resp.disk_snapshots[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2045
|
-
# resp.disk_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2499
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2500
|
+
# resp.disk_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2046
2501
|
# resp.disk_snapshots[0].size_in_gb #=> Integer
|
2047
2502
|
# resp.disk_snapshots[0].state #=> String, one of "pending", "completed", "error", "unknown"
|
2048
2503
|
# resp.disk_snapshots[0].progress #=> String
|
@@ -2089,8 +2544,8 @@ module Aws::Lightsail
|
|
2089
2544
|
# resp.disks[0].support_code #=> String
|
2090
2545
|
# resp.disks[0].created_at #=> Time
|
2091
2546
|
# resp.disks[0].location.availability_zone #=> String
|
2092
|
-
# resp.disks[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2093
|
-
# resp.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2547
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2548
|
+
# resp.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2094
2549
|
# resp.disks[0].size_in_gb #=> Integer
|
2095
2550
|
# resp.disks[0].is_system_disk #=> Boolean
|
2096
2551
|
# resp.disks[0].iops #=> Integer
|
@@ -2133,8 +2588,8 @@ module Aws::Lightsail
|
|
2133
2588
|
# resp.domain.support_code #=> String
|
2134
2589
|
# resp.domain.created_at #=> Time
|
2135
2590
|
# resp.domain.location.availability_zone #=> String
|
2136
|
-
# resp.domain.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2137
|
-
# resp.domain.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2591
|
+
# resp.domain.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2592
|
+
# resp.domain.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2138
2593
|
# resp.domain.domain_entries #=> Array
|
2139
2594
|
# resp.domain.domain_entries[0].id #=> String
|
2140
2595
|
# resp.domain.domain_entries[0].name #=> String
|
@@ -2178,8 +2633,8 @@ module Aws::Lightsail
|
|
2178
2633
|
# resp.domains[0].support_code #=> String
|
2179
2634
|
# resp.domains[0].created_at #=> Time
|
2180
2635
|
# resp.domains[0].location.availability_zone #=> String
|
2181
|
-
# resp.domains[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2182
|
-
# resp.domains[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2636
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2637
|
+
# resp.domains[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2183
2638
|
# resp.domains[0].domain_entries #=> Array
|
2184
2639
|
# resp.domains[0].domain_entries[0].id #=> String
|
2185
2640
|
# resp.domains[0].domain_entries[0].name #=> String
|
@@ -2222,8 +2677,8 @@ module Aws::Lightsail
|
|
2222
2677
|
# resp.instance.support_code #=> String
|
2223
2678
|
# resp.instance.created_at #=> Time
|
2224
2679
|
# resp.instance.location.availability_zone #=> String
|
2225
|
-
# resp.instance.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2226
|
-
# resp.instance.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2680
|
+
# resp.instance.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2681
|
+
# resp.instance.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2227
2682
|
# resp.instance.blueprint_id #=> String
|
2228
2683
|
# resp.instance.blueprint_name #=> String
|
2229
2684
|
# resp.instance.bundle_id #=> String
|
@@ -2238,8 +2693,8 @@ module Aws::Lightsail
|
|
2238
2693
|
# resp.instance.hardware.disks[0].support_code #=> String
|
2239
2694
|
# resp.instance.hardware.disks[0].created_at #=> Time
|
2240
2695
|
# resp.instance.hardware.disks[0].location.availability_zone #=> String
|
2241
|
-
# resp.instance.hardware.disks[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2242
|
-
# resp.instance.hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2696
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2697
|
+
# resp.instance.hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2243
2698
|
# resp.instance.hardware.disks[0].size_in_gb #=> Integer
|
2244
2699
|
# resp.instance.hardware.disks[0].is_system_disk #=> Boolean
|
2245
2700
|
# resp.instance.hardware.disks[0].iops #=> Integer
|
@@ -2325,7 +2780,7 @@ module Aws::Lightsail
|
|
2325
2780
|
# The metric name to get data about.
|
2326
2781
|
#
|
2327
2782
|
# @option params [required, Integer] :period
|
2328
|
-
# The
|
2783
|
+
# The granularity, in seconds, of the returned data points.
|
2329
2784
|
#
|
2330
2785
|
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
2331
2786
|
# The start time of the time period.
|
@@ -2432,8 +2887,8 @@ module Aws::Lightsail
|
|
2432
2887
|
# resp.instance_snapshot.support_code #=> String
|
2433
2888
|
# resp.instance_snapshot.created_at #=> Time
|
2434
2889
|
# resp.instance_snapshot.location.availability_zone #=> String
|
2435
|
-
# resp.instance_snapshot.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2436
|
-
# resp.instance_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2890
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2891
|
+
# resp.instance_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2437
2892
|
# resp.instance_snapshot.state #=> String, one of "pending", "error", "available"
|
2438
2893
|
# resp.instance_snapshot.progress #=> String
|
2439
2894
|
# resp.instance_snapshot.from_attached_disks #=> Array
|
@@ -2442,8 +2897,8 @@ module Aws::Lightsail
|
|
2442
2897
|
# resp.instance_snapshot.from_attached_disks[0].support_code #=> String
|
2443
2898
|
# resp.instance_snapshot.from_attached_disks[0].created_at #=> Time
|
2444
2899
|
# resp.instance_snapshot.from_attached_disks[0].location.availability_zone #=> String
|
2445
|
-
# 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-
|
2446
|
-
# resp.instance_snapshot.from_attached_disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2900
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2901
|
+
# resp.instance_snapshot.from_attached_disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2447
2902
|
# resp.instance_snapshot.from_attached_disks[0].size_in_gb #=> Integer
|
2448
2903
|
# resp.instance_snapshot.from_attached_disks[0].is_system_disk #=> Boolean
|
2449
2904
|
# resp.instance_snapshot.from_attached_disks[0].iops #=> Integer
|
@@ -2493,8 +2948,8 @@ module Aws::Lightsail
|
|
2493
2948
|
# resp.instance_snapshots[0].support_code #=> String
|
2494
2949
|
# resp.instance_snapshots[0].created_at #=> Time
|
2495
2950
|
# resp.instance_snapshots[0].location.availability_zone #=> String
|
2496
|
-
# resp.instance_snapshots[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2497
|
-
# resp.instance_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2951
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2952
|
+
# resp.instance_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2498
2953
|
# resp.instance_snapshots[0].state #=> String, one of "pending", "error", "available"
|
2499
2954
|
# resp.instance_snapshots[0].progress #=> String
|
2500
2955
|
# resp.instance_snapshots[0].from_attached_disks #=> Array
|
@@ -2503,8 +2958,8 @@ module Aws::Lightsail
|
|
2503
2958
|
# resp.instance_snapshots[0].from_attached_disks[0].support_code #=> String
|
2504
2959
|
# resp.instance_snapshots[0].from_attached_disks[0].created_at #=> Time
|
2505
2960
|
# resp.instance_snapshots[0].from_attached_disks[0].location.availability_zone #=> String
|
2506
|
-
# 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-
|
2507
|
-
# resp.instance_snapshots[0].from_attached_disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
2961
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
2962
|
+
# resp.instance_snapshots[0].from_attached_disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2508
2963
|
# resp.instance_snapshots[0].from_attached_disks[0].size_in_gb #=> Integer
|
2509
2964
|
# resp.instance_snapshots[0].from_attached_disks[0].is_system_disk #=> Boolean
|
2510
2965
|
# resp.instance_snapshots[0].from_attached_disks[0].iops #=> Integer
|
@@ -2586,8 +3041,8 @@ module Aws::Lightsail
|
|
2586
3041
|
# resp.instances[0].support_code #=> String
|
2587
3042
|
# resp.instances[0].created_at #=> Time
|
2588
3043
|
# resp.instances[0].location.availability_zone #=> String
|
2589
|
-
# resp.instances[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2590
|
-
# resp.instances[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
3044
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3045
|
+
# resp.instances[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2591
3046
|
# resp.instances[0].blueprint_id #=> String
|
2592
3047
|
# resp.instances[0].blueprint_name #=> String
|
2593
3048
|
# resp.instances[0].bundle_id #=> String
|
@@ -2602,8 +3057,8 @@ module Aws::Lightsail
|
|
2602
3057
|
# resp.instances[0].hardware.disks[0].support_code #=> String
|
2603
3058
|
# resp.instances[0].hardware.disks[0].created_at #=> Time
|
2604
3059
|
# resp.instances[0].hardware.disks[0].location.availability_zone #=> String
|
2605
|
-
# 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-
|
2606
|
-
# resp.instances[0].hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
3060
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3061
|
+
# resp.instances[0].hardware.disks[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2607
3062
|
# resp.instances[0].hardware.disks[0].size_in_gb #=> Integer
|
2608
3063
|
# resp.instances[0].hardware.disks[0].is_system_disk #=> Boolean
|
2609
3064
|
# resp.instances[0].hardware.disks[0].iops #=> Integer
|
@@ -2660,8 +3115,8 @@ module Aws::Lightsail
|
|
2660
3115
|
# resp.key_pair.support_code #=> String
|
2661
3116
|
# resp.key_pair.created_at #=> Time
|
2662
3117
|
# resp.key_pair.location.availability_zone #=> String
|
2663
|
-
# resp.key_pair.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2664
|
-
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
3118
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3119
|
+
# resp.key_pair.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2665
3120
|
# resp.key_pair.fingerprint #=> String
|
2666
3121
|
#
|
2667
3122
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetKeyPair AWS API Documentation
|
@@ -2698,8 +3153,8 @@ module Aws::Lightsail
|
|
2698
3153
|
# resp.key_pairs[0].support_code #=> String
|
2699
3154
|
# resp.key_pairs[0].created_at #=> Time
|
2700
3155
|
# resp.key_pairs[0].location.availability_zone #=> String
|
2701
|
-
# resp.key_pairs[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2702
|
-
# resp.key_pairs[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
3156
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3157
|
+
# resp.key_pairs[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2703
3158
|
# resp.key_pairs[0].fingerprint #=> String
|
2704
3159
|
# resp.next_page_token #=> String
|
2705
3160
|
#
|
@@ -2734,8 +3189,8 @@ module Aws::Lightsail
|
|
2734
3189
|
# resp.load_balancer.support_code #=> String
|
2735
3190
|
# resp.load_balancer.created_at #=> Time
|
2736
3191
|
# resp.load_balancer.location.availability_zone #=> String
|
2737
|
-
# resp.load_balancer.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2738
|
-
# resp.load_balancer.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
3192
|
+
# resp.load_balancer.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3193
|
+
# resp.load_balancer.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2739
3194
|
# resp.load_balancer.dns_name #=> String
|
2740
3195
|
# resp.load_balancer.state #=> String, one of "active", "provisioning", "active_impaired", "failed", "unknown"
|
2741
3196
|
# resp.load_balancer.protocol #=> String, one of "HTTP_HTTPS", "HTTP"
|
@@ -2859,7 +3314,7 @@ module Aws::Lightsail
|
|
2859
3314
|
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
2860
3315
|
#
|
2861
3316
|
# @option params [required, Integer] :period
|
2862
|
-
# The
|
3317
|
+
# The granularity, in seconds, of the returned data points.
|
2863
3318
|
#
|
2864
3319
|
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
2865
3320
|
# The start time of the period.
|
@@ -2965,8 +3420,8 @@ module Aws::Lightsail
|
|
2965
3420
|
# resp.tls_certificates[0].support_code #=> String
|
2966
3421
|
# resp.tls_certificates[0].created_at #=> Time
|
2967
3422
|
# resp.tls_certificates[0].location.availability_zone #=> String
|
2968
|
-
# resp.tls_certificates[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
2969
|
-
# resp.tls_certificates[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
3423
|
+
# resp.tls_certificates[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3424
|
+
# resp.tls_certificates[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
2970
3425
|
# resp.tls_certificates[0].load_balancer_name #=> String
|
2971
3426
|
# resp.tls_certificates[0].is_attached #=> Boolean
|
2972
3427
|
# resp.tls_certificates[0].status #=> String, one of "PENDING_VALIDATION", "ISSUED", "INACTIVE", "EXPIRED", "VALIDATION_TIMED_OUT", "REVOKED", "FAILED", "UNKNOWN"
|
@@ -3033,8 +3488,8 @@ module Aws::Lightsail
|
|
3033
3488
|
# resp.load_balancers[0].support_code #=> String
|
3034
3489
|
# resp.load_balancers[0].created_at #=> Time
|
3035
3490
|
# resp.load_balancers[0].location.availability_zone #=> String
|
3036
|
-
# resp.load_balancers[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
3037
|
-
# resp.load_balancers[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
3491
|
+
# resp.load_balancers[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3492
|
+
# resp.load_balancers[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3038
3493
|
# resp.load_balancers[0].dns_name #=> String
|
3039
3494
|
# resp.load_balancers[0].state #=> String, one of "active", "provisioning", "active_impaired", "failed", "unknown"
|
3040
3495
|
# resp.load_balancers[0].protocol #=> String, one of "HTTP_HTTPS", "HTTP"
|
@@ -3083,10 +3538,10 @@ module Aws::Lightsail
|
|
3083
3538
|
#
|
3084
3539
|
# resp.operation.id #=> String
|
3085
3540
|
# resp.operation.resource_name #=> String
|
3086
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
3541
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3087
3542
|
# resp.operation.created_at #=> Time
|
3088
3543
|
# resp.operation.location.availability_zone #=> String
|
3089
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
3544
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3090
3545
|
# resp.operation.is_terminal #=> Boolean
|
3091
3546
|
# resp.operation.operation_details #=> String
|
3092
3547
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3131,10 +3586,10 @@ module Aws::Lightsail
|
|
3131
3586
|
# resp.operations #=> Array
|
3132
3587
|
# resp.operations[0].id #=> String
|
3133
3588
|
# resp.operations[0].resource_name #=> String
|
3134
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
3589
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3135
3590
|
# resp.operations[0].created_at #=> Time
|
3136
3591
|
# resp.operations[0].location.availability_zone #=> String
|
3137
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
3592
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3138
3593
|
# resp.operations[0].is_terminal #=> Boolean
|
3139
3594
|
# resp.operations[0].operation_details #=> String
|
3140
3595
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3181,10 +3636,10 @@ module Aws::Lightsail
|
|
3181
3636
|
# resp.operations #=> Array
|
3182
3637
|
# resp.operations[0].id #=> String
|
3183
3638
|
# resp.operations[0].resource_name #=> String
|
3184
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
3639
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3185
3640
|
# resp.operations[0].created_at #=> Time
|
3186
3641
|
# resp.operations[0].location.availability_zone #=> String
|
3187
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
3642
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3188
3643
|
# resp.operations[0].is_terminal #=> Boolean
|
3189
3644
|
# resp.operations[0].operation_details #=> String
|
3190
3645
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3205,14 +3660,19 @@ module Aws::Lightsail
|
|
3205
3660
|
end
|
3206
3661
|
|
3207
3662
|
# Returns a list of all valid regions for Amazon Lightsail. Use the
|
3208
|
-
# `include availability zones` parameter to also return the
|
3209
|
-
#
|
3663
|
+
# `include availability zones` parameter to also return the Availability
|
3664
|
+
# Zones in a region.
|
3210
3665
|
#
|
3211
3666
|
# @option params [Boolean] :include_availability_zones
|
3212
3667
|
# A Boolean value indicating whether to also include Availability Zones
|
3213
3668
|
# in your get regions request. Availability Zones are indicated with a
|
3214
3669
|
# letter: e.g., `us-east-2a`.
|
3215
3670
|
#
|
3671
|
+
# @option params [Boolean] :include_relational_database_availability_zones
|
3672
|
+
# >A Boolean value indicating whether to also include Availability
|
3673
|
+
# Zones for databases in your get regions request. Availability Zones
|
3674
|
+
# are indicated with a letter (e.g., `us-east-2a`).
|
3675
|
+
#
|
3216
3676
|
# @return [Types::GetRegionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3217
3677
|
#
|
3218
3678
|
# * {Types::GetRegionsResult#regions #regions} => Array<Types::Region>
|
@@ -3221,6 +3681,7 @@ module Aws::Lightsail
|
|
3221
3681
|
#
|
3222
3682
|
# resp = client.get_regions({
|
3223
3683
|
# include_availability_zones: false,
|
3684
|
+
# include_relational_database_availability_zones: false,
|
3224
3685
|
# })
|
3225
3686
|
#
|
3226
3687
|
# @example Response structure
|
@@ -3229,10 +3690,13 @@ module Aws::Lightsail
|
|
3229
3690
|
# resp.regions[0].continent_code #=> String
|
3230
3691
|
# resp.regions[0].description #=> String
|
3231
3692
|
# resp.regions[0].display_name #=> String
|
3232
|
-
# resp.regions[0].name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
3693
|
+
# resp.regions[0].name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3233
3694
|
# resp.regions[0].availability_zones #=> Array
|
3234
3695
|
# resp.regions[0].availability_zones[0].zone_name #=> String
|
3235
3696
|
# resp.regions[0].availability_zones[0].state #=> String
|
3697
|
+
# resp.regions[0].relational_database_availability_zones #=> Array
|
3698
|
+
# resp.regions[0].relational_database_availability_zones[0].zone_name #=> String
|
3699
|
+
# resp.regions[0].relational_database_availability_zones[0].state #=> String
|
3236
3700
|
#
|
3237
3701
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRegions AWS API Documentation
|
3238
3702
|
#
|
@@ -3243,70 +3707,701 @@ module Aws::Lightsail
|
|
3243
3707
|
req.send_request(options)
|
3244
3708
|
end
|
3245
3709
|
|
3246
|
-
# Returns information about a specific
|
3710
|
+
# Returns information about a specific database in Amazon Lightsail.
|
3247
3711
|
#
|
3248
|
-
# @option params [required, String] :
|
3249
|
-
# The name of the
|
3712
|
+
# @option params [required, String] :relational_database_name
|
3713
|
+
# The name of the database that you are looking up.
|
3250
3714
|
#
|
3251
|
-
# @return [Types::
|
3715
|
+
# @return [Types::GetRelationalDatabaseResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3252
3716
|
#
|
3253
|
-
# * {Types::
|
3717
|
+
# * {Types::GetRelationalDatabaseResult#relational_database #relational_database} => Types::RelationalDatabase
|
3254
3718
|
#
|
3255
3719
|
# @example Request syntax with placeholder values
|
3256
3720
|
#
|
3257
|
-
# resp = client.
|
3258
|
-
#
|
3721
|
+
# resp = client.get_relational_database({
|
3722
|
+
# relational_database_name: "ResourceName", # required
|
3259
3723
|
# })
|
3260
3724
|
#
|
3261
3725
|
# @example Response structure
|
3262
3726
|
#
|
3263
|
-
# resp.
|
3264
|
-
# resp.
|
3265
|
-
# resp.
|
3266
|
-
# resp.
|
3267
|
-
# resp.
|
3268
|
-
# resp.
|
3269
|
-
# resp.
|
3270
|
-
# resp.
|
3271
|
-
# resp.
|
3272
|
-
# resp.
|
3273
|
-
#
|
3274
|
-
#
|
3275
|
-
#
|
3276
|
-
#
|
3727
|
+
# resp.relational_database.name #=> String
|
3728
|
+
# resp.relational_database.arn #=> String
|
3729
|
+
# resp.relational_database.support_code #=> String
|
3730
|
+
# resp.relational_database.created_at #=> Time
|
3731
|
+
# resp.relational_database.location.availability_zone #=> String
|
3732
|
+
# resp.relational_database.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3733
|
+
# resp.relational_database.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3734
|
+
# resp.relational_database.relational_database_blueprint_id #=> String
|
3735
|
+
# resp.relational_database.relational_database_bundle_id #=> String
|
3736
|
+
# resp.relational_database.master_database_name #=> String
|
3737
|
+
# resp.relational_database.hardware.cpu_count #=> Integer
|
3738
|
+
# resp.relational_database.hardware.disk_size_in_gb #=> Integer
|
3739
|
+
# resp.relational_database.hardware.ram_size_in_gb #=> Float
|
3740
|
+
# resp.relational_database.state #=> String
|
3741
|
+
# resp.relational_database.secondary_availability_zone #=> String
|
3742
|
+
# resp.relational_database.backup_retention_enabled #=> Boolean
|
3743
|
+
# resp.relational_database.pending_modified_values.master_user_password #=> String
|
3744
|
+
# resp.relational_database.pending_modified_values.engine_version #=> String
|
3745
|
+
# resp.relational_database.pending_modified_values.backup_retention_enabled #=> Boolean
|
3746
|
+
# resp.relational_database.engine #=> String
|
3747
|
+
# resp.relational_database.engine_version #=> String
|
3748
|
+
# resp.relational_database.latest_restorable_time #=> Time
|
3749
|
+
# resp.relational_database.master_username #=> String
|
3750
|
+
# resp.relational_database.parameter_apply_status #=> String
|
3751
|
+
# resp.relational_database.preferred_backup_window #=> String
|
3752
|
+
# resp.relational_database.preferred_maintenance_window #=> String
|
3753
|
+
# resp.relational_database.publicly_accessible #=> Boolean
|
3754
|
+
# resp.relational_database.master_endpoint.port #=> Integer
|
3755
|
+
# resp.relational_database.master_endpoint.address #=> String
|
3756
|
+
# resp.relational_database.pending_maintenance_actions #=> Array
|
3757
|
+
# resp.relational_database.pending_maintenance_actions[0].action #=> String
|
3758
|
+
# resp.relational_database.pending_maintenance_actions[0].description #=> String
|
3759
|
+
# resp.relational_database.pending_maintenance_actions[0].current_apply_date #=> Time
|
3760
|
+
#
|
3761
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabase AWS API Documentation
|
3762
|
+
#
|
3763
|
+
# @overload get_relational_database(params = {})
|
3277
3764
|
# @param [Hash] params ({})
|
3278
|
-
def
|
3279
|
-
req = build_request(:
|
3765
|
+
def get_relational_database(params = {}, options = {})
|
3766
|
+
req = build_request(:get_relational_database, params)
|
3280
3767
|
req.send_request(options)
|
3281
3768
|
end
|
3282
3769
|
|
3283
|
-
# Returns
|
3770
|
+
# Returns a list of available database blueprints in Amazon Lightsail. A
|
3771
|
+
# blueprint describes the major engine version of a database.
|
3772
|
+
#
|
3773
|
+
# You can use a blueprint ID to create a new database that runs a
|
3774
|
+
# specific database engine.
|
3284
3775
|
#
|
3285
3776
|
# @option params [String] :page_token
|
3286
|
-
# A token used for advancing to
|
3287
|
-
#
|
3777
|
+
# A token used for advancing to a specific page of results for your get
|
3778
|
+
# relational database blueprints request.
|
3288
3779
|
#
|
3289
|
-
# @return [Types::
|
3780
|
+
# @return [Types::GetRelationalDatabaseBlueprintsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3290
3781
|
#
|
3291
|
-
# * {Types::
|
3292
|
-
# * {Types::
|
3782
|
+
# * {Types::GetRelationalDatabaseBlueprintsResult#blueprints #blueprints} => Array<Types::RelationalDatabaseBlueprint>
|
3783
|
+
# * {Types::GetRelationalDatabaseBlueprintsResult#next_page_token #next_page_token} => String
|
3293
3784
|
#
|
3294
3785
|
# @example Request syntax with placeholder values
|
3295
3786
|
#
|
3296
|
-
# resp = client.
|
3787
|
+
# resp = client.get_relational_database_blueprints({
|
3297
3788
|
# page_token: "string",
|
3298
3789
|
# })
|
3299
3790
|
#
|
3300
3791
|
# @example Response structure
|
3301
3792
|
#
|
3302
|
-
# resp.
|
3303
|
-
# resp.
|
3304
|
-
# resp.
|
3305
|
-
# resp.
|
3793
|
+
# resp.blueprints #=> Array
|
3794
|
+
# resp.blueprints[0].blueprint_id #=> String
|
3795
|
+
# resp.blueprints[0].engine #=> String, one of "mysql"
|
3796
|
+
# resp.blueprints[0].engine_version #=> String
|
3797
|
+
# resp.blueprints[0].engine_description #=> String
|
3798
|
+
# resp.blueprints[0].engine_version_description #=> String
|
3799
|
+
# resp.blueprints[0].is_engine_default #=> Boolean
|
3800
|
+
# resp.next_page_token #=> String
|
3801
|
+
#
|
3802
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBlueprints AWS API Documentation
|
3803
|
+
#
|
3804
|
+
# @overload get_relational_database_blueprints(params = {})
|
3805
|
+
# @param [Hash] params ({})
|
3806
|
+
def get_relational_database_blueprints(params = {}, options = {})
|
3807
|
+
req = build_request(:get_relational_database_blueprints, params)
|
3808
|
+
req.send_request(options)
|
3809
|
+
end
|
3810
|
+
|
3811
|
+
# Returns the list of bundles that are available in Amazon Lightsail. A
|
3812
|
+
# bundle describes the performance specifications for a database.
|
3813
|
+
#
|
3814
|
+
# You can use a bundle ID to create a new database with explicit
|
3815
|
+
# performance specifications.
|
3816
|
+
#
|
3817
|
+
# @option params [String] :page_token
|
3818
|
+
# A token used for advancing to a specific page of results for your get
|
3819
|
+
# relational database bundles request.
|
3820
|
+
#
|
3821
|
+
# @return [Types::GetRelationalDatabaseBundlesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3822
|
+
#
|
3823
|
+
# * {Types::GetRelationalDatabaseBundlesResult#bundles #bundles} => Array<Types::RelationalDatabaseBundle>
|
3824
|
+
# * {Types::GetRelationalDatabaseBundlesResult#next_page_token #next_page_token} => String
|
3825
|
+
#
|
3826
|
+
# @example Request syntax with placeholder values
|
3827
|
+
#
|
3828
|
+
# resp = client.get_relational_database_bundles({
|
3829
|
+
# page_token: "string",
|
3830
|
+
# })
|
3831
|
+
#
|
3832
|
+
# @example Response structure
|
3833
|
+
#
|
3834
|
+
# resp.bundles #=> Array
|
3835
|
+
# resp.bundles[0].bundle_id #=> String
|
3836
|
+
# resp.bundles[0].name #=> String
|
3837
|
+
# resp.bundles[0].price #=> Float
|
3838
|
+
# resp.bundles[0].ram_size_in_gb #=> Float
|
3839
|
+
# resp.bundles[0].disk_size_in_gb #=> Integer
|
3840
|
+
# resp.bundles[0].transfer_per_month_in_gb #=> Integer
|
3841
|
+
# resp.bundles[0].cpu_count #=> Integer
|
3842
|
+
# resp.bundles[0].is_encrypted #=> Boolean
|
3843
|
+
# resp.bundles[0].is_active #=> Boolean
|
3844
|
+
# resp.next_page_token #=> String
|
3845
|
+
#
|
3846
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBundles AWS API Documentation
|
3847
|
+
#
|
3848
|
+
# @overload get_relational_database_bundles(params = {})
|
3849
|
+
# @param [Hash] params ({})
|
3850
|
+
def get_relational_database_bundles(params = {}, options = {})
|
3851
|
+
req = build_request(:get_relational_database_bundles, params)
|
3852
|
+
req.send_request(options)
|
3853
|
+
end
|
3854
|
+
|
3855
|
+
# Returns a list of events for a specific database in Amazon Lightsail.
|
3856
|
+
#
|
3857
|
+
# @option params [required, String] :relational_database_name
|
3858
|
+
# The name of the database from which to get events.
|
3859
|
+
#
|
3860
|
+
# @option params [Integer] :duration_in_minutes
|
3861
|
+
# The number of minutes in the past from which to retrieve events. For
|
3862
|
+
# example, to get all events from the past 2 hours, enter 120.
|
3863
|
+
#
|
3864
|
+
# Default: `60`
|
3865
|
+
#
|
3866
|
+
# The minimum is 1 and the maximum is 14 days (20160 minutes).
|
3867
|
+
#
|
3868
|
+
# @option params [String] :page_token
|
3869
|
+
# A token used for advancing to a specific page of results from for get
|
3870
|
+
# relational database events request.
|
3871
|
+
#
|
3872
|
+
# @return [Types::GetRelationalDatabaseEventsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3873
|
+
#
|
3874
|
+
# * {Types::GetRelationalDatabaseEventsResult#relational_database_events #relational_database_events} => Array<Types::RelationalDatabaseEvent>
|
3875
|
+
# * {Types::GetRelationalDatabaseEventsResult#next_page_token #next_page_token} => String
|
3876
|
+
#
|
3877
|
+
# @example Request syntax with placeholder values
|
3878
|
+
#
|
3879
|
+
# resp = client.get_relational_database_events({
|
3880
|
+
# relational_database_name: "ResourceName", # required
|
3881
|
+
# duration_in_minutes: 1,
|
3882
|
+
# page_token: "string",
|
3883
|
+
# })
|
3884
|
+
#
|
3885
|
+
# @example Response structure
|
3886
|
+
#
|
3887
|
+
# resp.relational_database_events #=> Array
|
3888
|
+
# resp.relational_database_events[0].resource #=> String
|
3889
|
+
# resp.relational_database_events[0].created_at #=> Time
|
3890
|
+
# resp.relational_database_events[0].message #=> String
|
3891
|
+
# resp.relational_database_events[0].event_categories #=> Array
|
3892
|
+
# resp.relational_database_events[0].event_categories[0] #=> String
|
3893
|
+
# resp.next_page_token #=> String
|
3894
|
+
#
|
3895
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseEvents AWS API Documentation
|
3896
|
+
#
|
3897
|
+
# @overload get_relational_database_events(params = {})
|
3898
|
+
# @param [Hash] params ({})
|
3899
|
+
def get_relational_database_events(params = {}, options = {})
|
3900
|
+
req = build_request(:get_relational_database_events, params)
|
3901
|
+
req.send_request(options)
|
3902
|
+
end
|
3903
|
+
|
3904
|
+
# Returns a list of log events for a database in Amazon Lightsail.
|
3905
|
+
#
|
3906
|
+
# @option params [required, String] :relational_database_name
|
3907
|
+
# The name of your database for which to get log events.
|
3908
|
+
#
|
3909
|
+
# @option params [required, String] :log_stream_name
|
3910
|
+
# The name of the log stream.
|
3911
|
+
#
|
3912
|
+
# Use the `get relational database log streams` operation to get a list
|
3913
|
+
# of available log streams.
|
3914
|
+
#
|
3915
|
+
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
3916
|
+
# The start of the time interval from which to get log events.
|
3917
|
+
#
|
3918
|
+
# Constraints:
|
3919
|
+
#
|
3920
|
+
# * Specified in Universal Coordinated Time (UTC).
|
3921
|
+
#
|
3922
|
+
# * Specified in the Unix time format.
|
3923
|
+
#
|
3924
|
+
# For example, if you wish to use a start time of October 1, 2018, at
|
3925
|
+
# 8 PM UTC, then you input `1538424000` as the start time.
|
3926
|
+
#
|
3927
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
3928
|
+
# The end of the time interval from which to get log events.
|
3929
|
+
#
|
3930
|
+
# Constraints:
|
3931
|
+
#
|
3932
|
+
# * Specified in Universal Coordinated Time (UTC).
|
3933
|
+
#
|
3934
|
+
# * Specified in the Unix time format.
|
3935
|
+
#
|
3936
|
+
# For example, if you wish to use an end time of October 1, 2018, at 8
|
3937
|
+
# PM UTC, then you input `1538424000` as the end time.
|
3938
|
+
#
|
3939
|
+
# @option params [Boolean] :start_from_head
|
3940
|
+
# Parameter to specify if the log should start from head or tail. If
|
3941
|
+
# `true` is specified, the log event starts from the head of the log. If
|
3942
|
+
# `false` is specified, the log event starts from the tail of the log.
|
3943
|
+
#
|
3944
|
+
# Default: `false`
|
3945
|
+
#
|
3946
|
+
# @option params [String] :page_token
|
3947
|
+
# A token used for advancing to a specific page of results for your get
|
3948
|
+
# relational database log events request.
|
3949
|
+
#
|
3950
|
+
# @return [Types::GetRelationalDatabaseLogEventsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3951
|
+
#
|
3952
|
+
# * {Types::GetRelationalDatabaseLogEventsResult#resource_log_events #resource_log_events} => Array<Types::LogEvent>
|
3953
|
+
# * {Types::GetRelationalDatabaseLogEventsResult#next_backward_token #next_backward_token} => String
|
3954
|
+
# * {Types::GetRelationalDatabaseLogEventsResult#next_forward_token #next_forward_token} => String
|
3955
|
+
#
|
3956
|
+
# @example Request syntax with placeholder values
|
3957
|
+
#
|
3958
|
+
# resp = client.get_relational_database_log_events({
|
3959
|
+
# relational_database_name: "ResourceName", # required
|
3960
|
+
# log_stream_name: "string", # required
|
3961
|
+
# start_time: Time.now,
|
3962
|
+
# end_time: Time.now,
|
3963
|
+
# start_from_head: false,
|
3964
|
+
# page_token: "string",
|
3965
|
+
# })
|
3966
|
+
#
|
3967
|
+
# @example Response structure
|
3968
|
+
#
|
3969
|
+
# resp.resource_log_events #=> Array
|
3970
|
+
# resp.resource_log_events[0].created_at #=> Time
|
3971
|
+
# resp.resource_log_events[0].message #=> String
|
3972
|
+
# resp.next_backward_token #=> String
|
3973
|
+
# resp.next_forward_token #=> String
|
3974
|
+
#
|
3975
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogEvents AWS API Documentation
|
3976
|
+
#
|
3977
|
+
# @overload get_relational_database_log_events(params = {})
|
3978
|
+
# @param [Hash] params ({})
|
3979
|
+
def get_relational_database_log_events(params = {}, options = {})
|
3980
|
+
req = build_request(:get_relational_database_log_events, params)
|
3981
|
+
req.send_request(options)
|
3982
|
+
end
|
3983
|
+
|
3984
|
+
# Returns a list of available log streams for a specific database in
|
3985
|
+
# Amazon Lightsail.
|
3986
|
+
#
|
3987
|
+
# @option params [required, String] :relational_database_name
|
3988
|
+
# The name of your database for which to get log streams.
|
3989
|
+
#
|
3990
|
+
# @return [Types::GetRelationalDatabaseLogStreamsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3991
|
+
#
|
3992
|
+
# * {Types::GetRelationalDatabaseLogStreamsResult#log_streams #log_streams} => Array<String>
|
3993
|
+
#
|
3994
|
+
# @example Request syntax with placeholder values
|
3995
|
+
#
|
3996
|
+
# resp = client.get_relational_database_log_streams({
|
3997
|
+
# relational_database_name: "ResourceName", # required
|
3998
|
+
# })
|
3999
|
+
#
|
4000
|
+
# @example Response structure
|
4001
|
+
#
|
4002
|
+
# resp.log_streams #=> Array
|
4003
|
+
# resp.log_streams[0] #=> String
|
4004
|
+
#
|
4005
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogStreams AWS API Documentation
|
4006
|
+
#
|
4007
|
+
# @overload get_relational_database_log_streams(params = {})
|
4008
|
+
# @param [Hash] params ({})
|
4009
|
+
def get_relational_database_log_streams(params = {}, options = {})
|
4010
|
+
req = build_request(:get_relational_database_log_streams, params)
|
4011
|
+
req.send_request(options)
|
4012
|
+
end
|
4013
|
+
|
4014
|
+
# Returns the current, previous, or pending versions of the master user
|
4015
|
+
# password for a Lightsail database.
|
4016
|
+
#
|
4017
|
+
# @option params [required, String] :relational_database_name
|
4018
|
+
# The name of your database for which to get the master user password.
|
4019
|
+
#
|
4020
|
+
# @option params [String] :password_version
|
4021
|
+
# The password version to return.
|
4022
|
+
#
|
4023
|
+
# Specifying `CURRENT` or `PREVIOUS` returns the current or previous
|
4024
|
+
# passwords respectively. Specifying `PENDING` returns the newest
|
4025
|
+
# version of the password that will rotate to `CURRENT`. After the
|
4026
|
+
# `PENDING` password rotates to `CURRENT`, the `PENDING` password is no
|
4027
|
+
# longer available.
|
4028
|
+
#
|
4029
|
+
# Default: `CURRENT`
|
4030
|
+
#
|
4031
|
+
# @return [Types::GetRelationalDatabaseMasterUserPasswordResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4032
|
+
#
|
4033
|
+
# * {Types::GetRelationalDatabaseMasterUserPasswordResult#master_user_password #master_user_password} => String
|
4034
|
+
# * {Types::GetRelationalDatabaseMasterUserPasswordResult#created_at #created_at} => Time
|
4035
|
+
#
|
4036
|
+
# @example Request syntax with placeholder values
|
4037
|
+
#
|
4038
|
+
# resp = client.get_relational_database_master_user_password({
|
4039
|
+
# relational_database_name: "ResourceName", # required
|
4040
|
+
# password_version: "CURRENT", # accepts CURRENT, PREVIOUS, PENDING
|
4041
|
+
# })
|
4042
|
+
#
|
4043
|
+
# @example Response structure
|
4044
|
+
#
|
4045
|
+
# resp.master_user_password #=> String
|
4046
|
+
# resp.created_at #=> Time
|
4047
|
+
#
|
4048
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMasterUserPassword AWS API Documentation
|
4049
|
+
#
|
4050
|
+
# @overload get_relational_database_master_user_password(params = {})
|
4051
|
+
# @param [Hash] params ({})
|
4052
|
+
def get_relational_database_master_user_password(params = {}, options = {})
|
4053
|
+
req = build_request(:get_relational_database_master_user_password, params)
|
4054
|
+
req.send_request(options)
|
4055
|
+
end
|
4056
|
+
|
4057
|
+
# Returns the data points of the specified metric for a database in
|
4058
|
+
# Amazon Lightsail.
|
4059
|
+
#
|
4060
|
+
# @option params [required, String] :relational_database_name
|
4061
|
+
# The name of your database from which to get metric data.
|
4062
|
+
#
|
4063
|
+
# @option params [required, String] :metric_name
|
4064
|
+
# The name of the metric data to return.
|
4065
|
+
#
|
4066
|
+
# @option params [required, Integer] :period
|
4067
|
+
# The granularity, in seconds, of the returned data points.
|
4068
|
+
#
|
4069
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :start_time
|
4070
|
+
# The start of the time interval from which to get metric data.
|
4071
|
+
#
|
4072
|
+
# Constraints:
|
4073
|
+
#
|
4074
|
+
# * Specified in Universal Coordinated Time (UTC).
|
4075
|
+
#
|
4076
|
+
# * Specified in the Unix time format.
|
4077
|
+
#
|
4078
|
+
# For example, if you wish to use a start time of October 1, 2018, at
|
4079
|
+
# 8 PM UTC, then you input `1538424000` as the start time.
|
4080
|
+
#
|
4081
|
+
# @option params [required, Time,DateTime,Date,Integer,String] :end_time
|
4082
|
+
# The end of the time interval from which to get metric data.
|
4083
|
+
#
|
4084
|
+
# Constraints:
|
4085
|
+
#
|
4086
|
+
# * Specified in Universal Coordinated Time (UTC).
|
4087
|
+
#
|
4088
|
+
# * Specified in the Unix time format.
|
4089
|
+
#
|
4090
|
+
# For example, if you wish to use an end time of October 1, 2018, at 8
|
4091
|
+
# PM UTC, then you input `1538424000` as the end time.
|
4092
|
+
#
|
4093
|
+
# @option params [required, String] :unit
|
4094
|
+
# The unit for the metric data request.
|
4095
|
+
#
|
4096
|
+
# @option params [required, Array<String>] :statistics
|
4097
|
+
# The array of statistics for your metric data request.
|
4098
|
+
#
|
4099
|
+
# @return [Types::GetRelationalDatabaseMetricDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4100
|
+
#
|
4101
|
+
# * {Types::GetRelationalDatabaseMetricDataResult#metric_name #metric_name} => String
|
4102
|
+
# * {Types::GetRelationalDatabaseMetricDataResult#metric_data #metric_data} => Array<Types::MetricDatapoint>
|
4103
|
+
#
|
4104
|
+
# @example Request syntax with placeholder values
|
4105
|
+
#
|
4106
|
+
# resp = client.get_relational_database_metric_data({
|
4107
|
+
# relational_database_name: "ResourceName", # required
|
4108
|
+
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, DatabaseConnections, DiskQueueDepth, FreeStorageSpace, NetworkReceiveThroughput, NetworkTransmitThroughput
|
4109
|
+
# period: 1, # required
|
4110
|
+
# start_time: Time.now, # required
|
4111
|
+
# end_time: Time.now, # required
|
4112
|
+
# unit: "Seconds", # required, accepts Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None
|
4113
|
+
# statistics: ["Minimum"], # required, accepts Minimum, Maximum, Sum, Average, SampleCount
|
4114
|
+
# })
|
4115
|
+
#
|
4116
|
+
# @example Response structure
|
4117
|
+
#
|
4118
|
+
# resp.metric_name #=> String, one of "CPUUtilization", "DatabaseConnections", "DiskQueueDepth", "FreeStorageSpace", "NetworkReceiveThroughput", "NetworkTransmitThroughput"
|
4119
|
+
# resp.metric_data #=> Array
|
4120
|
+
# resp.metric_data[0].average #=> Float
|
4121
|
+
# resp.metric_data[0].maximum #=> Float
|
4122
|
+
# resp.metric_data[0].minimum #=> Float
|
4123
|
+
# resp.metric_data[0].sample_count #=> Float
|
4124
|
+
# resp.metric_data[0].sum #=> Float
|
4125
|
+
# resp.metric_data[0].timestamp #=> Time
|
4126
|
+
# resp.metric_data[0].unit #=> String, one of "Seconds", "Microseconds", "Milliseconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
4127
|
+
#
|
4128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMetricData AWS API Documentation
|
4129
|
+
#
|
4130
|
+
# @overload get_relational_database_metric_data(params = {})
|
4131
|
+
# @param [Hash] params ({})
|
4132
|
+
def get_relational_database_metric_data(params = {}, options = {})
|
4133
|
+
req = build_request(:get_relational_database_metric_data, params)
|
4134
|
+
req.send_request(options)
|
4135
|
+
end
|
4136
|
+
|
4137
|
+
# Returns all of the runtime parameters offered by the underlying
|
4138
|
+
# database software, or engine, for a specific database in Amazon
|
4139
|
+
# Lightsail.
|
4140
|
+
#
|
4141
|
+
# In addition to the parameter names and values, this operation returns
|
4142
|
+
# other information about each parameter. This information includes
|
4143
|
+
# whether changes require a reboot, whether the parameter is modifiable,
|
4144
|
+
# the allowed values, and the data types.
|
4145
|
+
#
|
4146
|
+
# @option params [required, String] :relational_database_name
|
4147
|
+
# The name of your database for which to get parameters.
|
4148
|
+
#
|
4149
|
+
# @option params [String] :page_token
|
4150
|
+
# A token used for advancing to a specific page of results for your get
|
4151
|
+
# relational database parameters request.
|
4152
|
+
#
|
4153
|
+
# @return [Types::GetRelationalDatabaseParametersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4154
|
+
#
|
4155
|
+
# * {Types::GetRelationalDatabaseParametersResult#parameters #parameters} => Array<Types::RelationalDatabaseParameter>
|
4156
|
+
# * {Types::GetRelationalDatabaseParametersResult#next_page_token #next_page_token} => String
|
4157
|
+
#
|
4158
|
+
# @example Request syntax with placeholder values
|
4159
|
+
#
|
4160
|
+
# resp = client.get_relational_database_parameters({
|
4161
|
+
# relational_database_name: "ResourceName", # required
|
4162
|
+
# page_token: "string",
|
4163
|
+
# })
|
4164
|
+
#
|
4165
|
+
# @example Response structure
|
4166
|
+
#
|
4167
|
+
# resp.parameters #=> Array
|
4168
|
+
# resp.parameters[0].allowed_values #=> String
|
4169
|
+
# resp.parameters[0].apply_method #=> String
|
4170
|
+
# resp.parameters[0].apply_type #=> String
|
4171
|
+
# resp.parameters[0].data_type #=> String
|
4172
|
+
# resp.parameters[0].description #=> String
|
4173
|
+
# resp.parameters[0].is_modifiable #=> Boolean
|
4174
|
+
# resp.parameters[0].parameter_name #=> String
|
4175
|
+
# resp.parameters[0].parameter_value #=> String
|
4176
|
+
# resp.next_page_token #=> String
|
4177
|
+
#
|
4178
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseParameters AWS API Documentation
|
4179
|
+
#
|
4180
|
+
# @overload get_relational_database_parameters(params = {})
|
4181
|
+
# @param [Hash] params ({})
|
4182
|
+
def get_relational_database_parameters(params = {}, options = {})
|
4183
|
+
req = build_request(:get_relational_database_parameters, params)
|
4184
|
+
req.send_request(options)
|
4185
|
+
end
|
4186
|
+
|
4187
|
+
# Returns information about a specific database snapshot in Amazon
|
4188
|
+
# Lightsail.
|
4189
|
+
#
|
4190
|
+
# @option params [required, String] :relational_database_snapshot_name
|
4191
|
+
# The name of the database snapshot for which to get information.
|
4192
|
+
#
|
4193
|
+
# @return [Types::GetRelationalDatabaseSnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4194
|
+
#
|
4195
|
+
# * {Types::GetRelationalDatabaseSnapshotResult#relational_database_snapshot #relational_database_snapshot} => Types::RelationalDatabaseSnapshot
|
4196
|
+
#
|
4197
|
+
# @example Request syntax with placeholder values
|
4198
|
+
#
|
4199
|
+
# resp = client.get_relational_database_snapshot({
|
4200
|
+
# relational_database_snapshot_name: "ResourceName", # required
|
4201
|
+
# })
|
4202
|
+
#
|
4203
|
+
# @example Response structure
|
4204
|
+
#
|
4205
|
+
# resp.relational_database_snapshot.name #=> String
|
4206
|
+
# resp.relational_database_snapshot.arn #=> String
|
4207
|
+
# resp.relational_database_snapshot.support_code #=> String
|
4208
|
+
# resp.relational_database_snapshot.created_at #=> Time
|
4209
|
+
# resp.relational_database_snapshot.location.availability_zone #=> String
|
4210
|
+
# resp.relational_database_snapshot.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4211
|
+
# resp.relational_database_snapshot.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
4212
|
+
# resp.relational_database_snapshot.engine #=> String
|
4213
|
+
# resp.relational_database_snapshot.engine_version #=> String
|
4214
|
+
# resp.relational_database_snapshot.size_in_gb #=> Integer
|
4215
|
+
# resp.relational_database_snapshot.state #=> String
|
4216
|
+
# resp.relational_database_snapshot.from_relational_database_name #=> String
|
4217
|
+
# resp.relational_database_snapshot.from_relational_database_arn #=> String
|
4218
|
+
# resp.relational_database_snapshot.from_relational_database_bundle_id #=> String
|
4219
|
+
# resp.relational_database_snapshot.from_relational_database_blueprint_id #=> String
|
4220
|
+
#
|
4221
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshot AWS API Documentation
|
4222
|
+
#
|
4223
|
+
# @overload get_relational_database_snapshot(params = {})
|
4224
|
+
# @param [Hash] params ({})
|
4225
|
+
def get_relational_database_snapshot(params = {}, options = {})
|
4226
|
+
req = build_request(:get_relational_database_snapshot, params)
|
4227
|
+
req.send_request(options)
|
4228
|
+
end
|
4229
|
+
|
4230
|
+
# Returns information about all of your database snapshots in Amazon
|
4231
|
+
# Lightsail.
|
4232
|
+
#
|
4233
|
+
# @option params [String] :page_token
|
4234
|
+
# A token used for advancing to a specific page of results for your get
|
4235
|
+
# relational database snapshots request.
|
4236
|
+
#
|
4237
|
+
# @return [Types::GetRelationalDatabaseSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4238
|
+
#
|
4239
|
+
# * {Types::GetRelationalDatabaseSnapshotsResult#relational_database_snapshots #relational_database_snapshots} => Array<Types::RelationalDatabaseSnapshot>
|
4240
|
+
# * {Types::GetRelationalDatabaseSnapshotsResult#next_page_token #next_page_token} => String
|
4241
|
+
#
|
4242
|
+
# @example Request syntax with placeholder values
|
4243
|
+
#
|
4244
|
+
# resp = client.get_relational_database_snapshots({
|
4245
|
+
# page_token: "string",
|
4246
|
+
# })
|
4247
|
+
#
|
4248
|
+
# @example Response structure
|
4249
|
+
#
|
4250
|
+
# resp.relational_database_snapshots #=> Array
|
4251
|
+
# resp.relational_database_snapshots[0].name #=> String
|
4252
|
+
# resp.relational_database_snapshots[0].arn #=> String
|
4253
|
+
# resp.relational_database_snapshots[0].support_code #=> String
|
4254
|
+
# resp.relational_database_snapshots[0].created_at #=> Time
|
4255
|
+
# resp.relational_database_snapshots[0].location.availability_zone #=> String
|
4256
|
+
# resp.relational_database_snapshots[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4257
|
+
# resp.relational_database_snapshots[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
4258
|
+
# resp.relational_database_snapshots[0].engine #=> String
|
4259
|
+
# resp.relational_database_snapshots[0].engine_version #=> String
|
4260
|
+
# resp.relational_database_snapshots[0].size_in_gb #=> Integer
|
4261
|
+
# resp.relational_database_snapshots[0].state #=> String
|
4262
|
+
# resp.relational_database_snapshots[0].from_relational_database_name #=> String
|
4263
|
+
# resp.relational_database_snapshots[0].from_relational_database_arn #=> String
|
4264
|
+
# resp.relational_database_snapshots[0].from_relational_database_bundle_id #=> String
|
4265
|
+
# resp.relational_database_snapshots[0].from_relational_database_blueprint_id #=> String
|
4266
|
+
# resp.next_page_token #=> String
|
4267
|
+
#
|
4268
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshots AWS API Documentation
|
4269
|
+
#
|
4270
|
+
# @overload get_relational_database_snapshots(params = {})
|
4271
|
+
# @param [Hash] params ({})
|
4272
|
+
def get_relational_database_snapshots(params = {}, options = {})
|
4273
|
+
req = build_request(:get_relational_database_snapshots, params)
|
4274
|
+
req.send_request(options)
|
4275
|
+
end
|
4276
|
+
|
4277
|
+
# Returns information about all of your databases in Amazon Lightsail.
|
4278
|
+
#
|
4279
|
+
# @option params [String] :page_token
|
4280
|
+
# A token used for advancing to a specific page of results for your get
|
4281
|
+
# relational database request.
|
4282
|
+
#
|
4283
|
+
# @return [Types::GetRelationalDatabasesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4284
|
+
#
|
4285
|
+
# * {Types::GetRelationalDatabasesResult#relational_databases #relational_databases} => Array<Types::RelationalDatabase>
|
4286
|
+
# * {Types::GetRelationalDatabasesResult#next_page_token #next_page_token} => String
|
4287
|
+
#
|
4288
|
+
# @example Request syntax with placeholder values
|
4289
|
+
#
|
4290
|
+
# resp = client.get_relational_databases({
|
4291
|
+
# page_token: "string",
|
4292
|
+
# })
|
4293
|
+
#
|
4294
|
+
# @example Response structure
|
4295
|
+
#
|
4296
|
+
# resp.relational_databases #=> Array
|
4297
|
+
# resp.relational_databases[0].name #=> String
|
4298
|
+
# resp.relational_databases[0].arn #=> String
|
4299
|
+
# resp.relational_databases[0].support_code #=> String
|
4300
|
+
# resp.relational_databases[0].created_at #=> Time
|
4301
|
+
# resp.relational_databases[0].location.availability_zone #=> String
|
4302
|
+
# resp.relational_databases[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4303
|
+
# resp.relational_databases[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
4304
|
+
# resp.relational_databases[0].relational_database_blueprint_id #=> String
|
4305
|
+
# resp.relational_databases[0].relational_database_bundle_id #=> String
|
4306
|
+
# resp.relational_databases[0].master_database_name #=> String
|
4307
|
+
# resp.relational_databases[0].hardware.cpu_count #=> Integer
|
4308
|
+
# resp.relational_databases[0].hardware.disk_size_in_gb #=> Integer
|
4309
|
+
# resp.relational_databases[0].hardware.ram_size_in_gb #=> Float
|
4310
|
+
# resp.relational_databases[0].state #=> String
|
4311
|
+
# resp.relational_databases[0].secondary_availability_zone #=> String
|
4312
|
+
# resp.relational_databases[0].backup_retention_enabled #=> Boolean
|
4313
|
+
# resp.relational_databases[0].pending_modified_values.master_user_password #=> String
|
4314
|
+
# resp.relational_databases[0].pending_modified_values.engine_version #=> String
|
4315
|
+
# resp.relational_databases[0].pending_modified_values.backup_retention_enabled #=> Boolean
|
4316
|
+
# resp.relational_databases[0].engine #=> String
|
4317
|
+
# resp.relational_databases[0].engine_version #=> String
|
4318
|
+
# resp.relational_databases[0].latest_restorable_time #=> Time
|
4319
|
+
# resp.relational_databases[0].master_username #=> String
|
4320
|
+
# resp.relational_databases[0].parameter_apply_status #=> String
|
4321
|
+
# resp.relational_databases[0].preferred_backup_window #=> String
|
4322
|
+
# resp.relational_databases[0].preferred_maintenance_window #=> String
|
4323
|
+
# resp.relational_databases[0].publicly_accessible #=> Boolean
|
4324
|
+
# resp.relational_databases[0].master_endpoint.port #=> Integer
|
4325
|
+
# resp.relational_databases[0].master_endpoint.address #=> String
|
4326
|
+
# resp.relational_databases[0].pending_maintenance_actions #=> Array
|
4327
|
+
# resp.relational_databases[0].pending_maintenance_actions[0].action #=> String
|
4328
|
+
# resp.relational_databases[0].pending_maintenance_actions[0].description #=> String
|
4329
|
+
# resp.relational_databases[0].pending_maintenance_actions[0].current_apply_date #=> Time
|
4330
|
+
# resp.next_page_token #=> String
|
4331
|
+
#
|
4332
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabases AWS API Documentation
|
4333
|
+
#
|
4334
|
+
# @overload get_relational_databases(params = {})
|
4335
|
+
# @param [Hash] params ({})
|
4336
|
+
def get_relational_databases(params = {}, options = {})
|
4337
|
+
req = build_request(:get_relational_databases, params)
|
4338
|
+
req.send_request(options)
|
4339
|
+
end
|
4340
|
+
|
4341
|
+
# Returns information about a specific static IP.
|
4342
|
+
#
|
4343
|
+
# @option params [required, String] :static_ip_name
|
4344
|
+
# The name of the static IP in Lightsail.
|
4345
|
+
#
|
4346
|
+
# @return [Types::GetStaticIpResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4347
|
+
#
|
4348
|
+
# * {Types::GetStaticIpResult#static_ip #static_ip} => Types::StaticIp
|
4349
|
+
#
|
4350
|
+
# @example Request syntax with placeholder values
|
4351
|
+
#
|
4352
|
+
# resp = client.get_static_ip({
|
4353
|
+
# static_ip_name: "ResourceName", # required
|
4354
|
+
# })
|
4355
|
+
#
|
4356
|
+
# @example Response structure
|
4357
|
+
#
|
4358
|
+
# resp.static_ip.name #=> String
|
4359
|
+
# resp.static_ip.arn #=> String
|
4360
|
+
# resp.static_ip.support_code #=> String
|
4361
|
+
# resp.static_ip.created_at #=> Time
|
4362
|
+
# resp.static_ip.location.availability_zone #=> String
|
4363
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4364
|
+
# resp.static_ip.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
4365
|
+
# resp.static_ip.ip_address #=> String
|
4366
|
+
# resp.static_ip.attached_to #=> String
|
4367
|
+
# resp.static_ip.is_attached #=> Boolean
|
4368
|
+
#
|
4369
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetStaticIp AWS API Documentation
|
4370
|
+
#
|
4371
|
+
# @overload get_static_ip(params = {})
|
4372
|
+
# @param [Hash] params ({})
|
4373
|
+
def get_static_ip(params = {}, options = {})
|
4374
|
+
req = build_request(:get_static_ip, params)
|
4375
|
+
req.send_request(options)
|
4376
|
+
end
|
4377
|
+
|
4378
|
+
# Returns information about all static IPs in the user's account.
|
4379
|
+
#
|
4380
|
+
# @option params [String] :page_token
|
4381
|
+
# A token used for advancing to the next page of results from your get
|
4382
|
+
# static IPs request.
|
4383
|
+
#
|
4384
|
+
# @return [Types::GetStaticIpsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4385
|
+
#
|
4386
|
+
# * {Types::GetStaticIpsResult#static_ips #static_ips} => Array<Types::StaticIp>
|
4387
|
+
# * {Types::GetStaticIpsResult#next_page_token #next_page_token} => String
|
4388
|
+
#
|
4389
|
+
# @example Request syntax with placeholder values
|
4390
|
+
#
|
4391
|
+
# resp = client.get_static_ips({
|
4392
|
+
# page_token: "string",
|
4393
|
+
# })
|
4394
|
+
#
|
4395
|
+
# @example Response structure
|
4396
|
+
#
|
4397
|
+
# resp.static_ips #=> Array
|
4398
|
+
# resp.static_ips[0].name #=> String
|
4399
|
+
# resp.static_ips[0].arn #=> String
|
4400
|
+
# resp.static_ips[0].support_code #=> String
|
3306
4401
|
# resp.static_ips[0].created_at #=> Time
|
3307
4402
|
# resp.static_ips[0].location.availability_zone #=> String
|
3308
|
-
# resp.static_ips[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
3309
|
-
# resp.static_ips[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
4403
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4404
|
+
# resp.static_ips[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3310
4405
|
# resp.static_ips[0].ip_address #=> String
|
3311
4406
|
# resp.static_ips[0].attached_to #=> String
|
3312
4407
|
# resp.static_ips[0].is_attached #=> Boolean
|
@@ -3344,10 +4439,10 @@ module Aws::Lightsail
|
|
3344
4439
|
#
|
3345
4440
|
# resp.operation.id #=> String
|
3346
4441
|
# resp.operation.resource_name #=> String
|
3347
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
4442
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3348
4443
|
# resp.operation.created_at #=> Time
|
3349
4444
|
# resp.operation.location.availability_zone #=> String
|
3350
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
4445
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3351
4446
|
# resp.operation.is_terminal #=> Boolean
|
3352
4447
|
# resp.operation.operation_details #=> String
|
3353
4448
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3413,10 +4508,10 @@ module Aws::Lightsail
|
|
3413
4508
|
#
|
3414
4509
|
# resp.operation.id #=> String
|
3415
4510
|
# resp.operation.resource_name #=> String
|
3416
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
4511
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3417
4512
|
# resp.operation.created_at #=> Time
|
3418
4513
|
# resp.operation.location.availability_zone #=> String
|
3419
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
4514
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3420
4515
|
# resp.operation.is_terminal #=> Boolean
|
3421
4516
|
# resp.operation.operation_details #=> String
|
3422
4517
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3444,10 +4539,10 @@ module Aws::Lightsail
|
|
3444
4539
|
#
|
3445
4540
|
# resp.operation.id #=> String
|
3446
4541
|
# resp.operation.resource_name #=> String
|
3447
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
4542
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3448
4543
|
# resp.operation.created_at #=> Time
|
3449
4544
|
# resp.operation.location.availability_zone #=> String
|
3450
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
4545
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3451
4546
|
# resp.operation.is_terminal #=> Boolean
|
3452
4547
|
# resp.operation.operation_details #=> String
|
3453
4548
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3496,10 +4591,10 @@ module Aws::Lightsail
|
|
3496
4591
|
#
|
3497
4592
|
# resp.operation.id #=> String
|
3498
4593
|
# resp.operation.resource_name #=> String
|
3499
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
4594
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3500
4595
|
# resp.operation.created_at #=> Time
|
3501
4596
|
# resp.operation.location.availability_zone #=> String
|
3502
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
4597
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3503
4598
|
# resp.operation.is_terminal #=> Boolean
|
3504
4599
|
# resp.operation.operation_details #=> String
|
3505
4600
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3540,10 +4635,10 @@ module Aws::Lightsail
|
|
3540
4635
|
# resp.operations #=> Array
|
3541
4636
|
# resp.operations[0].id #=> String
|
3542
4637
|
# resp.operations[0].resource_name #=> String
|
3543
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
4638
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3544
4639
|
# resp.operations[0].created_at #=> Time
|
3545
4640
|
# resp.operations[0].location.availability_zone #=> String
|
3546
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
4641
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3547
4642
|
# resp.operations[0].is_terminal #=> Boolean
|
3548
4643
|
# resp.operations[0].operation_details #=> String
|
3549
4644
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3561,6 +4656,47 @@ module Aws::Lightsail
|
|
3561
4656
|
req.send_request(options)
|
3562
4657
|
end
|
3563
4658
|
|
4659
|
+
# Restarts a specific database in Amazon Lightsail.
|
4660
|
+
#
|
4661
|
+
# @option params [required, String] :relational_database_name
|
4662
|
+
# The name of your database to reboot.
|
4663
|
+
#
|
4664
|
+
# @return [Types::RebootRelationalDatabaseResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4665
|
+
#
|
4666
|
+
# * {Types::RebootRelationalDatabaseResult#operations #operations} => Array<Types::Operation>
|
4667
|
+
#
|
4668
|
+
# @example Request syntax with placeholder values
|
4669
|
+
#
|
4670
|
+
# resp = client.reboot_relational_database({
|
4671
|
+
# relational_database_name: "ResourceName", # required
|
4672
|
+
# })
|
4673
|
+
#
|
4674
|
+
# @example Response structure
|
4675
|
+
#
|
4676
|
+
# resp.operations #=> Array
|
4677
|
+
# resp.operations[0].id #=> String
|
4678
|
+
# resp.operations[0].resource_name #=> String
|
4679
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
4680
|
+
# resp.operations[0].created_at #=> Time
|
4681
|
+
# resp.operations[0].location.availability_zone #=> String
|
4682
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4683
|
+
# resp.operations[0].is_terminal #=> Boolean
|
4684
|
+
# resp.operations[0].operation_details #=> String
|
4685
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
4686
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
4687
|
+
# resp.operations[0].status_changed_at #=> Time
|
4688
|
+
# resp.operations[0].error_code #=> String
|
4689
|
+
# resp.operations[0].error_details #=> String
|
4690
|
+
#
|
4691
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RebootRelationalDatabase AWS API Documentation
|
4692
|
+
#
|
4693
|
+
# @overload reboot_relational_database(params = {})
|
4694
|
+
# @param [Hash] params ({})
|
4695
|
+
def reboot_relational_database(params = {}, options = {})
|
4696
|
+
req = build_request(:reboot_relational_database, params)
|
4697
|
+
req.send_request(options)
|
4698
|
+
end
|
4699
|
+
|
3564
4700
|
# Deletes a specific static IP from your account.
|
3565
4701
|
#
|
3566
4702
|
# @option params [required, String] :static_ip_name
|
@@ -3581,10 +4717,10 @@ module Aws::Lightsail
|
|
3581
4717
|
# resp.operations #=> Array
|
3582
4718
|
# resp.operations[0].id #=> String
|
3583
4719
|
# resp.operations[0].resource_name #=> String
|
3584
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
4720
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3585
4721
|
# resp.operations[0].created_at #=> Time
|
3586
4722
|
# resp.operations[0].location.availability_zone #=> String
|
3587
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
4723
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3588
4724
|
# resp.operations[0].is_terminal #=> Boolean
|
3589
4725
|
# resp.operations[0].operation_details #=> String
|
3590
4726
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3623,10 +4759,10 @@ module Aws::Lightsail
|
|
3623
4759
|
# resp.operations #=> Array
|
3624
4760
|
# resp.operations[0].id #=> String
|
3625
4761
|
# resp.operations[0].resource_name #=> String
|
3626
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
4762
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3627
4763
|
# resp.operations[0].created_at #=> Time
|
3628
4764
|
# resp.operations[0].location.availability_zone #=> String
|
3629
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
4765
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3630
4766
|
# resp.operations[0].is_terminal #=> Boolean
|
3631
4767
|
# resp.operations[0].operation_details #=> String
|
3632
4768
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3644,6 +4780,48 @@ module Aws::Lightsail
|
|
3644
4780
|
req.send_request(options)
|
3645
4781
|
end
|
3646
4782
|
|
4783
|
+
# Starts a specific database from a stopped state in Amazon Lightsail.
|
4784
|
+
# To restart a database, use the `reboot relational database` operation.
|
4785
|
+
#
|
4786
|
+
# @option params [required, String] :relational_database_name
|
4787
|
+
# The name of your database to start.
|
4788
|
+
#
|
4789
|
+
# @return [Types::StartRelationalDatabaseResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4790
|
+
#
|
4791
|
+
# * {Types::StartRelationalDatabaseResult#operations #operations} => Array<Types::Operation>
|
4792
|
+
#
|
4793
|
+
# @example Request syntax with placeholder values
|
4794
|
+
#
|
4795
|
+
# resp = client.start_relational_database({
|
4796
|
+
# relational_database_name: "ResourceName", # required
|
4797
|
+
# })
|
4798
|
+
#
|
4799
|
+
# @example Response structure
|
4800
|
+
#
|
4801
|
+
# resp.operations #=> Array
|
4802
|
+
# resp.operations[0].id #=> String
|
4803
|
+
# resp.operations[0].resource_name #=> String
|
4804
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
4805
|
+
# resp.operations[0].created_at #=> Time
|
4806
|
+
# resp.operations[0].location.availability_zone #=> String
|
4807
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4808
|
+
# resp.operations[0].is_terminal #=> Boolean
|
4809
|
+
# resp.operations[0].operation_details #=> String
|
4810
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
4811
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
4812
|
+
# resp.operations[0].status_changed_at #=> Time
|
4813
|
+
# resp.operations[0].error_code #=> String
|
4814
|
+
# resp.operations[0].error_details #=> String
|
4815
|
+
#
|
4816
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartRelationalDatabase AWS API Documentation
|
4817
|
+
#
|
4818
|
+
# @overload start_relational_database(params = {})
|
4819
|
+
# @param [Hash] params ({})
|
4820
|
+
def start_relational_database(params = {}, options = {})
|
4821
|
+
req = build_request(:start_relational_database, params)
|
4822
|
+
req.send_request(options)
|
4823
|
+
end
|
4824
|
+
|
3647
4825
|
# Stops a specific Amazon Lightsail instance that is currently running.
|
3648
4826
|
#
|
3649
4827
|
# @option params [required, String] :instance_name
|
@@ -3673,10 +4851,10 @@ module Aws::Lightsail
|
|
3673
4851
|
# resp.operations #=> Array
|
3674
4852
|
# resp.operations[0].id #=> String
|
3675
4853
|
# resp.operations[0].resource_name #=> String
|
3676
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
4854
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3677
4855
|
# resp.operations[0].created_at #=> Time
|
3678
4856
|
# resp.operations[0].location.availability_zone #=> String
|
3679
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
4857
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3680
4858
|
# resp.operations[0].is_terminal #=> Boolean
|
3681
4859
|
# resp.operations[0].operation_details #=> String
|
3682
4860
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3694,6 +4872,53 @@ module Aws::Lightsail
|
|
3694
4872
|
req.send_request(options)
|
3695
4873
|
end
|
3696
4874
|
|
4875
|
+
# Stops a specific database that is currently running in Amazon
|
4876
|
+
# Lightsail.
|
4877
|
+
#
|
4878
|
+
# @option params [required, String] :relational_database_name
|
4879
|
+
# The name of your database to stop.
|
4880
|
+
#
|
4881
|
+
# @option params [String] :relational_database_snapshot_name
|
4882
|
+
# The name of your new database snapshot to be created before stopping
|
4883
|
+
# your database.
|
4884
|
+
#
|
4885
|
+
# @return [Types::StopRelationalDatabaseResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4886
|
+
#
|
4887
|
+
# * {Types::StopRelationalDatabaseResult#operations #operations} => Array<Types::Operation>
|
4888
|
+
#
|
4889
|
+
# @example Request syntax with placeholder values
|
4890
|
+
#
|
4891
|
+
# resp = client.stop_relational_database({
|
4892
|
+
# relational_database_name: "ResourceName", # required
|
4893
|
+
# relational_database_snapshot_name: "ResourceName",
|
4894
|
+
# })
|
4895
|
+
#
|
4896
|
+
# @example Response structure
|
4897
|
+
#
|
4898
|
+
# resp.operations #=> Array
|
4899
|
+
# resp.operations[0].id #=> String
|
4900
|
+
# resp.operations[0].resource_name #=> String
|
4901
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
4902
|
+
# resp.operations[0].created_at #=> Time
|
4903
|
+
# resp.operations[0].location.availability_zone #=> String
|
4904
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
4905
|
+
# resp.operations[0].is_terminal #=> Boolean
|
4906
|
+
# resp.operations[0].operation_details #=> String
|
4907
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
4908
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
4909
|
+
# resp.operations[0].status_changed_at #=> Time
|
4910
|
+
# resp.operations[0].error_code #=> String
|
4911
|
+
# resp.operations[0].error_details #=> String
|
4912
|
+
#
|
4913
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StopRelationalDatabase AWS API Documentation
|
4914
|
+
#
|
4915
|
+
# @overload stop_relational_database(params = {})
|
4916
|
+
# @param [Hash] params ({})
|
4917
|
+
def stop_relational_database(params = {}, options = {})
|
4918
|
+
req = build_request(:stop_relational_database, params)
|
4919
|
+
req.send_request(options)
|
4920
|
+
end
|
4921
|
+
|
3697
4922
|
# Attempts to unpeer the Lightsail VPC from the user's default VPC.
|
3698
4923
|
#
|
3699
4924
|
# @return [Types::UnpeerVpcResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -3704,10 +4929,10 @@ module Aws::Lightsail
|
|
3704
4929
|
#
|
3705
4930
|
# resp.operation.id #=> String
|
3706
4931
|
# resp.operation.resource_name #=> String
|
3707
|
-
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
4932
|
+
# resp.operation.resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3708
4933
|
# resp.operation.created_at #=> Time
|
3709
4934
|
# resp.operation.location.availability_zone #=> String
|
3710
|
-
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
4935
|
+
# resp.operation.location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3711
4936
|
# resp.operation.is_terminal #=> Boolean
|
3712
4937
|
# resp.operation.operation_details #=> String
|
3713
4938
|
# resp.operation.operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3759,10 +4984,10 @@ module Aws::Lightsail
|
|
3759
4984
|
# resp.operations #=> Array
|
3760
4985
|
# resp.operations[0].id #=> String
|
3761
4986
|
# resp.operations[0].resource_name #=> String
|
3762
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
4987
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3763
4988
|
# resp.operations[0].created_at #=> Time
|
3764
4989
|
# resp.operations[0].location.availability_zone #=> String
|
3765
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
4990
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3766
4991
|
# resp.operations[0].is_terminal #=> Boolean
|
3767
4992
|
# resp.operations[0].operation_details #=> String
|
3768
4993
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3810,10 +5035,10 @@ module Aws::Lightsail
|
|
3810
5035
|
# resp.operations #=> Array
|
3811
5036
|
# resp.operations[0].id #=> String
|
3812
5037
|
# resp.operations[0].resource_name #=> String
|
3813
|
-
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot"
|
5038
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
3814
5039
|
# resp.operations[0].created_at #=> Time
|
3815
5040
|
# resp.operations[0].location.availability_zone #=> String
|
3816
|
-
# resp.operations[0].location.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-
|
5041
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
3817
5042
|
# resp.operations[0].is_terminal #=> Boolean
|
3818
5043
|
# resp.operations[0].operation_details #=> String
|
3819
5044
|
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
@@ -3831,6 +5056,204 @@ module Aws::Lightsail
|
|
3831
5056
|
req.send_request(options)
|
3832
5057
|
end
|
3833
5058
|
|
5059
|
+
# Allows the update of one or more attributes of a database in Amazon
|
5060
|
+
# Lightsail.
|
5061
|
+
#
|
5062
|
+
# Updates are applied immediately, or in cases where the updates could
|
5063
|
+
# result in an outage, are applied during the database's predefined
|
5064
|
+
# maintenance window.
|
5065
|
+
#
|
5066
|
+
# @option params [required, String] :relational_database_name
|
5067
|
+
# The name of your database to update.
|
5068
|
+
#
|
5069
|
+
# @option params [String] :master_user_password
|
5070
|
+
# The password for the master user of your database. The password can
|
5071
|
+
# include any printable ASCII character except "/", """, or "@".
|
5072
|
+
#
|
5073
|
+
# Constraints: Must contain 8 to 41 characters.
|
5074
|
+
#
|
5075
|
+
# @option params [Boolean] :rotate_master_user_password
|
5076
|
+
# When `true`, the master user password is changed to a new strong
|
5077
|
+
# password generated by Lightsail.
|
5078
|
+
#
|
5079
|
+
# Use the `get relational database master user password` operation to
|
5080
|
+
# get the new password.
|
5081
|
+
#
|
5082
|
+
# @option params [String] :preferred_backup_window
|
5083
|
+
# The daily time range during which automated backups are created for
|
5084
|
+
# your database if automated backups are enabled.
|
5085
|
+
#
|
5086
|
+
# Constraints:
|
5087
|
+
#
|
5088
|
+
# * Must be in the `hh24:mi-hh24:mi` format.
|
5089
|
+
#
|
5090
|
+
# Example: `16:00-16:30`
|
5091
|
+
#
|
5092
|
+
# * Specified in Universal Coordinated Time (UTC).
|
5093
|
+
#
|
5094
|
+
# * Must not conflict with the preferred maintenance window.
|
5095
|
+
#
|
5096
|
+
# * Must be at least 30 minutes.
|
5097
|
+
#
|
5098
|
+
# @option params [String] :preferred_maintenance_window
|
5099
|
+
# The weekly time range during which system maintenance can occur on
|
5100
|
+
# your database.
|
5101
|
+
#
|
5102
|
+
# The default is a 30-minute window selected at random from an 8-hour
|
5103
|
+
# block of time for each AWS Region, occurring on a random day of the
|
5104
|
+
# week.
|
5105
|
+
#
|
5106
|
+
# Constraints:
|
5107
|
+
#
|
5108
|
+
# * Must be in the `ddd:hh24:mi-ddd:hh24:mi` format.
|
5109
|
+
#
|
5110
|
+
# * Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun.
|
5111
|
+
#
|
5112
|
+
# * Must be at least 30 minutes.
|
5113
|
+
#
|
5114
|
+
# * Specified in Universal Coordinated Time (UTC).
|
5115
|
+
#
|
5116
|
+
# * Example: `Tue:17:00-Tue:17:30`
|
5117
|
+
#
|
5118
|
+
# @option params [Boolean] :enable_backup_retention
|
5119
|
+
# When `true`, enables automated backup retention for your database.
|
5120
|
+
#
|
5121
|
+
# Updates are applied during the next maintenance window because this
|
5122
|
+
# can result in an outage.
|
5123
|
+
#
|
5124
|
+
# @option params [Boolean] :disable_backup_retention
|
5125
|
+
# When `true`, disables automated backup retention for your database.
|
5126
|
+
#
|
5127
|
+
# Disabling backup retention deletes all automated database backups.
|
5128
|
+
# Before disabling this, you may want to create a snapshot of your
|
5129
|
+
# database using the `create relational database snapshot` operation.
|
5130
|
+
#
|
5131
|
+
# Updates are applied during the next maintenance window because this
|
5132
|
+
# can result in an outage.
|
5133
|
+
#
|
5134
|
+
# @option params [Boolean] :publicly_accessible
|
5135
|
+
# Specifies the accessibility options for your database. A value of
|
5136
|
+
# `true` specifies a database that is available to resources outside of
|
5137
|
+
# your Lightsail account. A value of `false` specifies a database that
|
5138
|
+
# is available only to your Lightsail resources in the same region as
|
5139
|
+
# your database.
|
5140
|
+
#
|
5141
|
+
# @option params [Boolean] :apply_immediately
|
5142
|
+
# When `true`, applies changes immediately. When `false`, applies
|
5143
|
+
# changes during the preferred maintenance window. Some changes may
|
5144
|
+
# cause an outage.
|
5145
|
+
#
|
5146
|
+
# Default: `false`
|
5147
|
+
#
|
5148
|
+
# @return [Types::UpdateRelationalDatabaseResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5149
|
+
#
|
5150
|
+
# * {Types::UpdateRelationalDatabaseResult#operations #operations} => Array<Types::Operation>
|
5151
|
+
#
|
5152
|
+
# @example Request syntax with placeholder values
|
5153
|
+
#
|
5154
|
+
# resp = client.update_relational_database({
|
5155
|
+
# relational_database_name: "ResourceName", # required
|
5156
|
+
# master_user_password: "SensitiveString",
|
5157
|
+
# rotate_master_user_password: false,
|
5158
|
+
# preferred_backup_window: "string",
|
5159
|
+
# preferred_maintenance_window: "string",
|
5160
|
+
# enable_backup_retention: false,
|
5161
|
+
# disable_backup_retention: false,
|
5162
|
+
# publicly_accessible: false,
|
5163
|
+
# apply_immediately: false,
|
5164
|
+
# })
|
5165
|
+
#
|
5166
|
+
# @example Response structure
|
5167
|
+
#
|
5168
|
+
# resp.operations #=> Array
|
5169
|
+
# resp.operations[0].id #=> String
|
5170
|
+
# resp.operations[0].resource_name #=> String
|
5171
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
5172
|
+
# resp.operations[0].created_at #=> Time
|
5173
|
+
# resp.operations[0].location.availability_zone #=> String
|
5174
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
5175
|
+
# resp.operations[0].is_terminal #=> Boolean
|
5176
|
+
# resp.operations[0].operation_details #=> String
|
5177
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
5178
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
5179
|
+
# resp.operations[0].status_changed_at #=> Time
|
5180
|
+
# resp.operations[0].error_code #=> String
|
5181
|
+
# resp.operations[0].error_details #=> String
|
5182
|
+
#
|
5183
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabase AWS API Documentation
|
5184
|
+
#
|
5185
|
+
# @overload update_relational_database(params = {})
|
5186
|
+
# @param [Hash] params ({})
|
5187
|
+
def update_relational_database(params = {}, options = {})
|
5188
|
+
req = build_request(:update_relational_database, params)
|
5189
|
+
req.send_request(options)
|
5190
|
+
end
|
5191
|
+
|
5192
|
+
# Allows the update of one or more parameters of a database in Amazon
|
5193
|
+
# Lightsail.
|
5194
|
+
#
|
5195
|
+
# Parameter updates don't cause outages; therefore, their application
|
5196
|
+
# is not subject to the preferred maintenance window. However, there are
|
5197
|
+
# two ways in which paramater updates are applied: `dynamic` or
|
5198
|
+
# `pending-reboot`. Parameters marked with a `dynamic` apply type are
|
5199
|
+
# applied immediately. Parameters marked with a `pending-reboot` apply
|
5200
|
+
# type are applied only after the database is rebooted using the `reboot
|
5201
|
+
# relational database` operation.
|
5202
|
+
#
|
5203
|
+
# @option params [required, String] :relational_database_name
|
5204
|
+
# The name of your database for which to update parameters.
|
5205
|
+
#
|
5206
|
+
# @option params [required, Array<Types::RelationalDatabaseParameter>] :parameters
|
5207
|
+
# The database parameters to update.
|
5208
|
+
#
|
5209
|
+
# @return [Types::UpdateRelationalDatabaseParametersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5210
|
+
#
|
5211
|
+
# * {Types::UpdateRelationalDatabaseParametersResult#operations #operations} => Array<Types::Operation>
|
5212
|
+
#
|
5213
|
+
# @example Request syntax with placeholder values
|
5214
|
+
#
|
5215
|
+
# resp = client.update_relational_database_parameters({
|
5216
|
+
# relational_database_name: "ResourceName", # required
|
5217
|
+
# parameters: [ # required
|
5218
|
+
# {
|
5219
|
+
# allowed_values: "string",
|
5220
|
+
# apply_method: "string",
|
5221
|
+
# apply_type: "string",
|
5222
|
+
# data_type: "string",
|
5223
|
+
# description: "string",
|
5224
|
+
# is_modifiable: false,
|
5225
|
+
# parameter_name: "string",
|
5226
|
+
# parameter_value: "string",
|
5227
|
+
# },
|
5228
|
+
# ],
|
5229
|
+
# })
|
5230
|
+
#
|
5231
|
+
# @example Response structure
|
5232
|
+
#
|
5233
|
+
# resp.operations #=> Array
|
5234
|
+
# resp.operations[0].id #=> String
|
5235
|
+
# resp.operations[0].resource_name #=> String
|
5236
|
+
# resp.operations[0].resource_type #=> String, one of "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot"
|
5237
|
+
# resp.operations[0].created_at #=> Time
|
5238
|
+
# resp.operations[0].location.availability_zone #=> String
|
5239
|
+
# 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-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2"
|
5240
|
+
# resp.operations[0].is_terminal #=> Boolean
|
5241
|
+
# resp.operations[0].operation_details #=> String
|
5242
|
+
# resp.operations[0].operation_type #=> String, one of "DeleteInstance", "CreateInstance", "StopInstance", "StartInstance", "RebootInstance", "OpenInstancePublicPorts", "PutInstancePublicPorts", "CloseInstancePublicPorts", "AllocateStaticIp", "ReleaseStaticIp", "AttachStaticIp", "DetachStaticIp", "UpdateDomainEntry", "DeleteDomainEntry", "CreateDomain", "DeleteDomain", "CreateInstanceSnapshot", "DeleteInstanceSnapshot", "CreateInstancesFromSnapshot", "CreateLoadBalancer", "DeleteLoadBalancer", "AttachInstancesToLoadBalancer", "DetachInstancesFromLoadBalancer", "UpdateLoadBalancerAttribute", "CreateLoadBalancerTlsCertificate", "DeleteLoadBalancerTlsCertificate", "AttachLoadBalancerTlsCertificate", "CreateDisk", "DeleteDisk", "AttachDisk", "DetachDisk", "CreateDiskSnapshot", "DeleteDiskSnapshot", "CreateDiskFromSnapshot"
|
5243
|
+
# resp.operations[0].status #=> String, one of "NotStarted", "Started", "Failed", "Completed", "Succeeded"
|
5244
|
+
# resp.operations[0].status_changed_at #=> Time
|
5245
|
+
# resp.operations[0].error_code #=> String
|
5246
|
+
# resp.operations[0].error_details #=> String
|
5247
|
+
#
|
5248
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabaseParameters AWS API Documentation
|
5249
|
+
#
|
5250
|
+
# @overload update_relational_database_parameters(params = {})
|
5251
|
+
# @param [Hash] params ({})
|
5252
|
+
def update_relational_database_parameters(params = {}, options = {})
|
5253
|
+
req = build_request(:update_relational_database_parameters, params)
|
5254
|
+
req.send_request(options)
|
5255
|
+
end
|
5256
|
+
|
3834
5257
|
# @!endgroup
|
3835
5258
|
|
3836
5259
|
# @param params ({})
|
@@ -3844,7 +5267,7 @@ module Aws::Lightsail
|
|
3844
5267
|
params: params,
|
3845
5268
|
config: config)
|
3846
5269
|
context[:gem_name] = 'aws-sdk-lightsail'
|
3847
|
-
context[:gem_version] = '1.
|
5270
|
+
context[:gem_version] = '1.8.0'
|
3848
5271
|
Seahorse::Client::Request.new(handlers, context)
|
3849
5272
|
end
|
3850
5273
|
|