aws-sdk-lightsail 1.24.0 → 1.25.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 +694 -163
- data/lib/aws-sdk-lightsail/client_api.rb +162 -3
- data/lib/aws-sdk-lightsail/types.rb +713 -29
- metadata +2 -2
@@ -14,6 +14,11 @@ module Aws::Lightsail
|
|
14
14
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
15
15
|
AccessDirection = Shapes::StringShape.new(name: 'AccessDirection')
|
16
16
|
AccountSetupInProgressException = Shapes::StructureShape.new(name: 'AccountSetupInProgressException')
|
17
|
+
AddOn = Shapes::StructureShape.new(name: 'AddOn')
|
18
|
+
AddOnList = Shapes::ListShape.new(name: 'AddOnList')
|
19
|
+
AddOnRequest = Shapes::StructureShape.new(name: 'AddOnRequest')
|
20
|
+
AddOnRequestList = Shapes::ListShape.new(name: 'AddOnRequestList')
|
21
|
+
AddOnType = Shapes::StringShape.new(name: 'AddOnType')
|
17
22
|
AllocateStaticIpRequest = Shapes::StructureShape.new(name: 'AllocateStaticIpRequest')
|
18
23
|
AllocateStaticIpResult = Shapes::StructureShape.new(name: 'AllocateStaticIpResult')
|
19
24
|
AttachDiskRequest = Shapes::StructureShape.new(name: 'AttachDiskRequest')
|
@@ -24,7 +29,14 @@ module Aws::Lightsail
|
|
24
29
|
AttachLoadBalancerTlsCertificateResult = Shapes::StructureShape.new(name: 'AttachLoadBalancerTlsCertificateResult')
|
25
30
|
AttachStaticIpRequest = Shapes::StructureShape.new(name: 'AttachStaticIpRequest')
|
26
31
|
AttachStaticIpResult = Shapes::StructureShape.new(name: 'AttachStaticIpResult')
|
32
|
+
AttachedDisk = Shapes::StructureShape.new(name: 'AttachedDisk')
|
33
|
+
AttachedDiskList = Shapes::ListShape.new(name: 'AttachedDiskList')
|
27
34
|
AttachedDiskMap = Shapes::MapShape.new(name: 'AttachedDiskMap')
|
35
|
+
AutoSnapshotAddOnRequest = Shapes::StructureShape.new(name: 'AutoSnapshotAddOnRequest')
|
36
|
+
AutoSnapshotDate = Shapes::StringShape.new(name: 'AutoSnapshotDate')
|
37
|
+
AutoSnapshotDetails = Shapes::StructureShape.new(name: 'AutoSnapshotDetails')
|
38
|
+
AutoSnapshotDetailsList = Shapes::ListShape.new(name: 'AutoSnapshotDetailsList')
|
39
|
+
AutoSnapshotStatus = Shapes::StringShape.new(name: 'AutoSnapshotStatus')
|
28
40
|
AvailabilityZone = Shapes::StructureShape.new(name: 'AvailabilityZone')
|
29
41
|
AvailabilityZoneList = Shapes::ListShape.new(name: 'AvailabilityZoneList')
|
30
42
|
Base64 = Shapes::StringShape.new(name: 'Base64')
|
@@ -72,6 +84,8 @@ module Aws::Lightsail
|
|
72
84
|
CreateRelationalDatabaseResult = Shapes::StructureShape.new(name: 'CreateRelationalDatabaseResult')
|
73
85
|
CreateRelationalDatabaseSnapshotRequest = Shapes::StructureShape.new(name: 'CreateRelationalDatabaseSnapshotRequest')
|
74
86
|
CreateRelationalDatabaseSnapshotResult = Shapes::StructureShape.new(name: 'CreateRelationalDatabaseSnapshotResult')
|
87
|
+
DeleteAutoSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteAutoSnapshotRequest')
|
88
|
+
DeleteAutoSnapshotResult = Shapes::StructureShape.new(name: 'DeleteAutoSnapshotResult')
|
75
89
|
DeleteDiskRequest = Shapes::StructureShape.new(name: 'DeleteDiskRequest')
|
76
90
|
DeleteDiskResult = Shapes::StructureShape.new(name: 'DeleteDiskResult')
|
77
91
|
DeleteDiskSnapshotRequest = Shapes::StructureShape.new(name: 'DeleteDiskSnapshotRequest')
|
@@ -103,6 +117,8 @@ module Aws::Lightsail
|
|
103
117
|
DetachInstancesFromLoadBalancerResult = Shapes::StructureShape.new(name: 'DetachInstancesFromLoadBalancerResult')
|
104
118
|
DetachStaticIpRequest = Shapes::StructureShape.new(name: 'DetachStaticIpRequest')
|
105
119
|
DetachStaticIpResult = Shapes::StructureShape.new(name: 'DetachStaticIpResult')
|
120
|
+
DisableAddOnRequest = Shapes::StructureShape.new(name: 'DisableAddOnRequest')
|
121
|
+
DisableAddOnResult = Shapes::StructureShape.new(name: 'DisableAddOnResult')
|
106
122
|
Disk = Shapes::StructureShape.new(name: 'Disk')
|
107
123
|
DiskInfo = Shapes::StructureShape.new(name: 'DiskInfo')
|
108
124
|
DiskInfoList = Shapes::ListShape.new(name: 'DiskInfoList')
|
@@ -125,6 +141,8 @@ module Aws::Lightsail
|
|
125
141
|
DomainNameList = Shapes::ListShape.new(name: 'DomainNameList')
|
126
142
|
DownloadDefaultKeyPairRequest = Shapes::StructureShape.new(name: 'DownloadDefaultKeyPairRequest')
|
127
143
|
DownloadDefaultKeyPairResult = Shapes::StructureShape.new(name: 'DownloadDefaultKeyPairResult')
|
144
|
+
EnableAddOnRequest = Shapes::StructureShape.new(name: 'EnableAddOnRequest')
|
145
|
+
EnableAddOnResult = Shapes::StructureShape.new(name: 'EnableAddOnResult')
|
128
146
|
ExportSnapshotRecord = Shapes::StructureShape.new(name: 'ExportSnapshotRecord')
|
129
147
|
ExportSnapshotRecordList = Shapes::ListShape.new(name: 'ExportSnapshotRecordList')
|
130
148
|
ExportSnapshotRecordSourceInfo = Shapes::StructureShape.new(name: 'ExportSnapshotRecordSourceInfo')
|
@@ -133,6 +151,8 @@ module Aws::Lightsail
|
|
133
151
|
ExportSnapshotResult = Shapes::StructureShape.new(name: 'ExportSnapshotResult')
|
134
152
|
GetActiveNamesRequest = Shapes::StructureShape.new(name: 'GetActiveNamesRequest')
|
135
153
|
GetActiveNamesResult = Shapes::StructureShape.new(name: 'GetActiveNamesResult')
|
154
|
+
GetAutoSnapshotsRequest = Shapes::StructureShape.new(name: 'GetAutoSnapshotsRequest')
|
155
|
+
GetAutoSnapshotsResult = Shapes::StructureShape.new(name: 'GetAutoSnapshotsResult')
|
136
156
|
GetBlueprintsRequest = Shapes::StructureShape.new(name: 'GetBlueprintsRequest')
|
137
157
|
GetBlueprintsResult = Shapes::StructureShape.new(name: 'GetBlueprintsResult')
|
138
158
|
GetBundlesRequest = Shapes::StructureShape.new(name: 'GetBundlesRequest')
|
@@ -335,6 +355,7 @@ module Aws::Lightsail
|
|
335
355
|
RelationalDatabaseSnapshotList = Shapes::ListShape.new(name: 'RelationalDatabaseSnapshotList')
|
336
356
|
ReleaseStaticIpRequest = Shapes::StructureShape.new(name: 'ReleaseStaticIpRequest')
|
337
357
|
ReleaseStaticIpResult = Shapes::StructureShape.new(name: 'ReleaseStaticIpResult')
|
358
|
+
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
338
359
|
ResourceLocation = Shapes::StructureShape.new(name: 'ResourceLocation')
|
339
360
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
340
361
|
ResourceNameList = Shapes::ListShape.new(name: 'ResourceNameList')
|
@@ -360,6 +381,7 @@ module Aws::Lightsail
|
|
360
381
|
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
361
382
|
TagResourceResult = Shapes::StructureShape.new(name: 'TagResourceResult')
|
362
383
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
384
|
+
TimeOfDay = Shapes::StringShape.new(name: 'TimeOfDay')
|
363
385
|
UnauthenticatedException = Shapes::StructureShape.new(name: 'UnauthenticatedException')
|
364
386
|
UnpeerVpcRequest = Shapes::StructureShape.new(name: 'UnpeerVpcRequest')
|
365
387
|
UnpeerVpcResult = Shapes::StructureShape.new(name: 'UnpeerVpcResult')
|
@@ -392,6 +414,20 @@ module Aws::Lightsail
|
|
392
414
|
AccountSetupInProgressException.add_member(:tip, Shapes::ShapeRef.new(shape: string, location_name: "tip"))
|
393
415
|
AccountSetupInProgressException.struct_class = Types::AccountSetupInProgressException
|
394
416
|
|
417
|
+
AddOn.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
|
418
|
+
AddOn.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
|
419
|
+
AddOn.add_member(:snapshot_time_of_day, Shapes::ShapeRef.new(shape: TimeOfDay, location_name: "snapshotTimeOfDay"))
|
420
|
+
AddOn.add_member(:next_snapshot_time_of_day, Shapes::ShapeRef.new(shape: TimeOfDay, location_name: "nextSnapshotTimeOfDay"))
|
421
|
+
AddOn.struct_class = Types::AddOn
|
422
|
+
|
423
|
+
AddOnList.member = Shapes::ShapeRef.new(shape: AddOn)
|
424
|
+
|
425
|
+
AddOnRequest.add_member(:add_on_type, Shapes::ShapeRef.new(shape: AddOnType, required: true, location_name: "addOnType"))
|
426
|
+
AddOnRequest.add_member(:auto_snapshot_add_on_request, Shapes::ShapeRef.new(shape: AutoSnapshotAddOnRequest, location_name: "autoSnapshotAddOnRequest"))
|
427
|
+
AddOnRequest.struct_class = Types::AddOnRequest
|
428
|
+
|
429
|
+
AddOnRequestList.member = Shapes::ShapeRef.new(shape: AddOnRequest)
|
430
|
+
|
395
431
|
AllocateStaticIpRequest.add_member(:static_ip_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "staticIpName"))
|
396
432
|
AllocateStaticIpRequest.struct_class = Types::AllocateStaticIpRequest
|
397
433
|
|
@@ -427,9 +463,26 @@ module Aws::Lightsail
|
|
427
463
|
AttachStaticIpResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
428
464
|
AttachStaticIpResult.struct_class = Types::AttachStaticIpResult
|
429
465
|
|
466
|
+
AttachedDisk.add_member(:path, Shapes::ShapeRef.new(shape: string, location_name: "path"))
|
467
|
+
AttachedDisk.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: integer, location_name: "sizeInGb"))
|
468
|
+
AttachedDisk.struct_class = Types::AttachedDisk
|
469
|
+
|
470
|
+
AttachedDiskList.member = Shapes::ShapeRef.new(shape: AttachedDisk)
|
471
|
+
|
430
472
|
AttachedDiskMap.key = Shapes::ShapeRef.new(shape: ResourceName)
|
431
473
|
AttachedDiskMap.value = Shapes::ShapeRef.new(shape: DiskMapList)
|
432
474
|
|
475
|
+
AutoSnapshotAddOnRequest.add_member(:snapshot_time_of_day, Shapes::ShapeRef.new(shape: TimeOfDay, location_name: "snapshotTimeOfDay"))
|
476
|
+
AutoSnapshotAddOnRequest.struct_class = Types::AutoSnapshotAddOnRequest
|
477
|
+
|
478
|
+
AutoSnapshotDetails.add_member(:date, Shapes::ShapeRef.new(shape: string, location_name: "date"))
|
479
|
+
AutoSnapshotDetails.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
|
480
|
+
AutoSnapshotDetails.add_member(:status, Shapes::ShapeRef.new(shape: AutoSnapshotStatus, location_name: "status"))
|
481
|
+
AutoSnapshotDetails.add_member(:from_attached_disks, Shapes::ShapeRef.new(shape: AttachedDiskList, location_name: "fromAttachedDisks"))
|
482
|
+
AutoSnapshotDetails.struct_class = Types::AutoSnapshotDetails
|
483
|
+
|
484
|
+
AutoSnapshotDetailsList.member = Shapes::ShapeRef.new(shape: AutoSnapshotDetails)
|
485
|
+
|
433
486
|
AvailabilityZone.add_member(:zone_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "zoneName"))
|
434
487
|
AvailabilityZone.add_member(:state, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "state"))
|
435
488
|
AvailabilityZone.struct_class = Types::AvailabilityZone
|
@@ -493,7 +546,10 @@ module Aws::Lightsail
|
|
493
546
|
|
494
547
|
CloudFormationStackRecordSourceInfoList.member = Shapes::ShapeRef.new(shape: CloudFormationStackRecordSourceInfo)
|
495
548
|
|
496
|
-
CopySnapshotRequest.add_member(:source_snapshot_name, Shapes::ShapeRef.new(shape: ResourceName,
|
549
|
+
CopySnapshotRequest.add_member(:source_snapshot_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "sourceSnapshotName"))
|
550
|
+
CopySnapshotRequest.add_member(:source_resource_name, Shapes::ShapeRef.new(shape: string, location_name: "sourceResourceName"))
|
551
|
+
CopySnapshotRequest.add_member(:restore_date, Shapes::ShapeRef.new(shape: string, location_name: "restoreDate"))
|
552
|
+
CopySnapshotRequest.add_member(:use_latest_restorable_auto_snapshot, Shapes::ShapeRef.new(shape: boolean, location_name: "useLatestRestorableAutoSnapshot"))
|
497
553
|
CopySnapshotRequest.add_member(:target_snapshot_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "targetSnapshotName"))
|
498
554
|
CopySnapshotRequest.add_member(:source_region, Shapes::ShapeRef.new(shape: RegionName, required: true, location_name: "sourceRegion"))
|
499
555
|
CopySnapshotRequest.struct_class = Types::CopySnapshotRequest
|
@@ -508,10 +564,14 @@ module Aws::Lightsail
|
|
508
564
|
CreateCloudFormationStackResult.struct_class = Types::CreateCloudFormationStackResult
|
509
565
|
|
510
566
|
CreateDiskFromSnapshotRequest.add_member(:disk_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "diskName"))
|
511
|
-
CreateDiskFromSnapshotRequest.add_member(:disk_snapshot_name, Shapes::ShapeRef.new(shape: ResourceName,
|
567
|
+
CreateDiskFromSnapshotRequest.add_member(:disk_snapshot_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "diskSnapshotName"))
|
512
568
|
CreateDiskFromSnapshotRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "availabilityZone"))
|
513
569
|
CreateDiskFromSnapshotRequest.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "sizeInGb"))
|
514
570
|
CreateDiskFromSnapshotRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
571
|
+
CreateDiskFromSnapshotRequest.add_member(:add_ons, Shapes::ShapeRef.new(shape: AddOnRequestList, location_name: "addOns"))
|
572
|
+
CreateDiskFromSnapshotRequest.add_member(:source_disk_name, Shapes::ShapeRef.new(shape: string, location_name: "sourceDiskName"))
|
573
|
+
CreateDiskFromSnapshotRequest.add_member(:restore_date, Shapes::ShapeRef.new(shape: string, location_name: "restoreDate"))
|
574
|
+
CreateDiskFromSnapshotRequest.add_member(:use_latest_restorable_auto_snapshot, Shapes::ShapeRef.new(shape: boolean, location_name: "useLatestRestorableAutoSnapshot"))
|
515
575
|
CreateDiskFromSnapshotRequest.struct_class = Types::CreateDiskFromSnapshotRequest
|
516
576
|
|
517
577
|
CreateDiskFromSnapshotResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
@@ -521,6 +581,7 @@ module Aws::Lightsail
|
|
521
581
|
CreateDiskRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "availabilityZone"))
|
522
582
|
CreateDiskRequest.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: integer, required: true, location_name: "sizeInGb"))
|
523
583
|
CreateDiskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
584
|
+
CreateDiskRequest.add_member(:add_ons, Shapes::ShapeRef.new(shape: AddOnRequestList, location_name: "addOns"))
|
524
585
|
CreateDiskRequest.struct_class = Types::CreateDiskRequest
|
525
586
|
|
526
587
|
CreateDiskResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
@@ -560,11 +621,15 @@ module Aws::Lightsail
|
|
560
621
|
CreateInstancesFromSnapshotRequest.add_member(:instance_names, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "instanceNames"))
|
561
622
|
CreateInstancesFromSnapshotRequest.add_member(:attached_disk_mapping, Shapes::ShapeRef.new(shape: AttachedDiskMap, location_name: "attachedDiskMapping"))
|
562
623
|
CreateInstancesFromSnapshotRequest.add_member(:availability_zone, Shapes::ShapeRef.new(shape: string, required: true, location_name: "availabilityZone"))
|
563
|
-
CreateInstancesFromSnapshotRequest.add_member(:instance_snapshot_name, Shapes::ShapeRef.new(shape: ResourceName,
|
624
|
+
CreateInstancesFromSnapshotRequest.add_member(:instance_snapshot_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "instanceSnapshotName"))
|
564
625
|
CreateInstancesFromSnapshotRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "bundleId"))
|
565
626
|
CreateInstancesFromSnapshotRequest.add_member(:user_data, Shapes::ShapeRef.new(shape: string, location_name: "userData"))
|
566
627
|
CreateInstancesFromSnapshotRequest.add_member(:key_pair_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "keyPairName"))
|
567
628
|
CreateInstancesFromSnapshotRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
629
|
+
CreateInstancesFromSnapshotRequest.add_member(:add_ons, Shapes::ShapeRef.new(shape: AddOnRequestList, location_name: "addOns"))
|
630
|
+
CreateInstancesFromSnapshotRequest.add_member(:source_instance_name, Shapes::ShapeRef.new(shape: string, location_name: "sourceInstanceName"))
|
631
|
+
CreateInstancesFromSnapshotRequest.add_member(:restore_date, Shapes::ShapeRef.new(shape: string, location_name: "restoreDate"))
|
632
|
+
CreateInstancesFromSnapshotRequest.add_member(:use_latest_restorable_auto_snapshot, Shapes::ShapeRef.new(shape: boolean, location_name: "useLatestRestorableAutoSnapshot"))
|
568
633
|
CreateInstancesFromSnapshotRequest.struct_class = Types::CreateInstancesFromSnapshotRequest
|
569
634
|
|
570
635
|
CreateInstancesFromSnapshotResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
@@ -578,6 +643,7 @@ module Aws::Lightsail
|
|
578
643
|
CreateInstancesRequest.add_member(:user_data, Shapes::ShapeRef.new(shape: string, location_name: "userData"))
|
579
644
|
CreateInstancesRequest.add_member(:key_pair_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "keyPairName"))
|
580
645
|
CreateInstancesRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
646
|
+
CreateInstancesRequest.add_member(:add_ons, Shapes::ShapeRef.new(shape: AddOnRequestList, location_name: "addOns"))
|
581
647
|
CreateInstancesRequest.struct_class = Types::CreateInstancesRequest
|
582
648
|
|
583
649
|
CreateInstancesResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
@@ -653,7 +719,15 @@ module Aws::Lightsail
|
|
653
719
|
CreateRelationalDatabaseSnapshotResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
654
720
|
CreateRelationalDatabaseSnapshotResult.struct_class = Types::CreateRelationalDatabaseSnapshotResult
|
655
721
|
|
722
|
+
DeleteAutoSnapshotRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "resourceName"))
|
723
|
+
DeleteAutoSnapshotRequest.add_member(:date, Shapes::ShapeRef.new(shape: AutoSnapshotDate, required: true, location_name: "date"))
|
724
|
+
DeleteAutoSnapshotRequest.struct_class = Types::DeleteAutoSnapshotRequest
|
725
|
+
|
726
|
+
DeleteAutoSnapshotResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
727
|
+
DeleteAutoSnapshotResult.struct_class = Types::DeleteAutoSnapshotResult
|
728
|
+
|
656
729
|
DeleteDiskRequest.add_member(:disk_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "diskName"))
|
730
|
+
DeleteDiskRequest.add_member(:force_delete_add_ons, Shapes::ShapeRef.new(shape: boolean, location_name: "forceDeleteAddOns"))
|
657
731
|
DeleteDiskRequest.struct_class = Types::DeleteDiskRequest
|
658
732
|
|
659
733
|
DeleteDiskResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
@@ -679,6 +753,7 @@ module Aws::Lightsail
|
|
679
753
|
DeleteDomainResult.struct_class = Types::DeleteDomainResult
|
680
754
|
|
681
755
|
DeleteInstanceRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
756
|
+
DeleteInstanceRequest.add_member(:force_delete_add_ons, Shapes::ShapeRef.new(shape: boolean, location_name: "forceDeleteAddOns"))
|
682
757
|
DeleteInstanceRequest.struct_class = Types::DeleteInstanceRequest
|
683
758
|
|
684
759
|
DeleteInstanceResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
@@ -753,6 +828,13 @@ module Aws::Lightsail
|
|
753
828
|
DetachStaticIpResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
754
829
|
DetachStaticIpResult.struct_class = Types::DetachStaticIpResult
|
755
830
|
|
831
|
+
DisableAddOnRequest.add_member(:add_on_type, Shapes::ShapeRef.new(shape: AddOnType, required: true, location_name: "addOnType"))
|
832
|
+
DisableAddOnRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "resourceName"))
|
833
|
+
DisableAddOnRequest.struct_class = Types::DisableAddOnRequest
|
834
|
+
|
835
|
+
DisableAddOnResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
836
|
+
DisableAddOnResult.struct_class = Types::DisableAddOnResult
|
837
|
+
|
756
838
|
Disk.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
757
839
|
Disk.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
|
758
840
|
Disk.add_member(:support_code, Shapes::ShapeRef.new(shape: string, location_name: "supportCode"))
|
@@ -760,6 +842,7 @@ module Aws::Lightsail
|
|
760
842
|
Disk.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, location_name: "location"))
|
761
843
|
Disk.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
762
844
|
Disk.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
845
|
+
Disk.add_member(:add_ons, Shapes::ShapeRef.new(shape: AddOnList, location_name: "addOns"))
|
763
846
|
Disk.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: integer, location_name: "sizeInGb"))
|
764
847
|
Disk.add_member(:is_system_disk, Shapes::ShapeRef.new(shape: boolean, location_name: "isSystemDisk"))
|
765
848
|
Disk.add_member(:iops, Shapes::ShapeRef.new(shape: integer, location_name: "iops"))
|
@@ -801,6 +884,7 @@ module Aws::Lightsail
|
|
801
884
|
DiskSnapshot.add_member(:from_disk_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fromDiskArn"))
|
802
885
|
DiskSnapshot.add_member(:from_instance_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "fromInstanceName"))
|
803
886
|
DiskSnapshot.add_member(:from_instance_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fromInstanceArn"))
|
887
|
+
DiskSnapshot.add_member(:is_from_auto_snapshot, Shapes::ShapeRef.new(shape: boolean, location_name: "isFromAutoSnapshot"))
|
804
888
|
DiskSnapshot.struct_class = Types::DiskSnapshot
|
805
889
|
|
806
890
|
DiskSnapshotInfo.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: integer, location_name: "sizeInGb"))
|
@@ -841,6 +925,13 @@ module Aws::Lightsail
|
|
841
925
|
DownloadDefaultKeyPairResult.add_member(:private_key_base_64, Shapes::ShapeRef.new(shape: Base64, location_name: "privateKeyBase64"))
|
842
926
|
DownloadDefaultKeyPairResult.struct_class = Types::DownloadDefaultKeyPairResult
|
843
927
|
|
928
|
+
EnableAddOnRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "resourceName"))
|
929
|
+
EnableAddOnRequest.add_member(:add_on_request, Shapes::ShapeRef.new(shape: AddOnRequest, required: true, location_name: "addOnRequest"))
|
930
|
+
EnableAddOnRequest.struct_class = Types::EnableAddOnRequest
|
931
|
+
|
932
|
+
EnableAddOnResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
933
|
+
EnableAddOnResult.struct_class = Types::EnableAddOnResult
|
934
|
+
|
844
935
|
ExportSnapshotRecord.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
845
936
|
ExportSnapshotRecord.add_member(:arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "arn"))
|
846
937
|
ExportSnapshotRecord.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
|
@@ -876,6 +967,14 @@ module Aws::Lightsail
|
|
876
967
|
GetActiveNamesResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
|
877
968
|
GetActiveNamesResult.struct_class = Types::GetActiveNamesResult
|
878
969
|
|
970
|
+
GetAutoSnapshotsRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "resourceName"))
|
971
|
+
GetAutoSnapshotsRequest.struct_class = Types::GetAutoSnapshotsRequest
|
972
|
+
|
973
|
+
GetAutoSnapshotsResult.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "resourceName"))
|
974
|
+
GetAutoSnapshotsResult.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
975
|
+
GetAutoSnapshotsResult.add_member(:auto_snapshots, Shapes::ShapeRef.new(shape: AutoSnapshotDetailsList, location_name: "autoSnapshots"))
|
976
|
+
GetAutoSnapshotsResult.struct_class = Types::GetAutoSnapshotsResult
|
977
|
+
|
879
978
|
GetBlueprintsRequest.add_member(:include_inactive, Shapes::ShapeRef.new(shape: boolean, location_name: "includeInactive"))
|
880
979
|
GetBlueprintsRequest.add_member(:page_token, Shapes::ShapeRef.new(shape: string, location_name: "pageToken"))
|
881
980
|
GetBlueprintsRequest.struct_class = Types::GetBlueprintsRequest
|
@@ -1215,6 +1314,7 @@ module Aws::Lightsail
|
|
1215
1314
|
Instance.add_member(:blueprint_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "blueprintId"))
|
1216
1315
|
Instance.add_member(:blueprint_name, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "blueprintName"))
|
1217
1316
|
Instance.add_member(:bundle_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "bundleId"))
|
1317
|
+
Instance.add_member(:add_ons, Shapes::ShapeRef.new(shape: AddOnList, location_name: "addOns"))
|
1218
1318
|
Instance.add_member(:is_static_ip, Shapes::ShapeRef.new(shape: boolean, location_name: "isStaticIp"))
|
1219
1319
|
Instance.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "privateIpAddress"))
|
1220
1320
|
Instance.add_member(:public_ip_address, Shapes::ShapeRef.new(shape: IpAddress, location_name: "publicIpAddress"))
|
@@ -1300,6 +1400,7 @@ module Aws::Lightsail
|
|
1300
1400
|
InstanceSnapshot.add_member(:from_instance_arn, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "fromInstanceArn"))
|
1301
1401
|
InstanceSnapshot.add_member(:from_blueprint_id, Shapes::ShapeRef.new(shape: string, location_name: "fromBlueprintId"))
|
1302
1402
|
InstanceSnapshot.add_member(:from_bundle_id, Shapes::ShapeRef.new(shape: string, location_name: "fromBundleId"))
|
1403
|
+
InstanceSnapshot.add_member(:is_from_auto_snapshot, Shapes::ShapeRef.new(shape: boolean, location_name: "isFromAutoSnapshot"))
|
1303
1404
|
InstanceSnapshot.add_member(:size_in_gb, Shapes::ShapeRef.new(shape: integer, location_name: "sizeInGb"))
|
1304
1405
|
InstanceSnapshot.struct_class = Types::InstanceSnapshot
|
1305
1406
|
|
@@ -1698,6 +1799,7 @@ module Aws::Lightsail
|
|
1698
1799
|
TagList.member = Shapes::ShapeRef.new(shape: Tag)
|
1699
1800
|
|
1700
1801
|
TagResourceRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "resourceName"))
|
1802
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "resourceArn"))
|
1701
1803
|
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "tags"))
|
1702
1804
|
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1703
1805
|
|
@@ -1716,6 +1818,7 @@ module Aws::Lightsail
|
|
1716
1818
|
UnpeerVpcResult.struct_class = Types::UnpeerVpcResult
|
1717
1819
|
|
1718
1820
|
UntagResourceRequest.add_member(:resource_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "resourceName"))
|
1821
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "resourceArn"))
|
1719
1822
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location_name: "tagKeys"))
|
1720
1823
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1721
1824
|
|
@@ -2106,6 +2209,20 @@ module Aws::Lightsail
|
|
2106
2209
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
2107
2210
|
end)
|
2108
2211
|
|
2212
|
+
api.add_operation(:delete_auto_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
2213
|
+
o.name = "DeleteAutoSnapshot"
|
2214
|
+
o.http_method = "POST"
|
2215
|
+
o.http_request_uri = "/"
|
2216
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAutoSnapshotRequest)
|
2217
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAutoSnapshotResult)
|
2218
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2219
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
2220
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2221
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
2222
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2223
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
2224
|
+
end)
|
2225
|
+
|
2109
2226
|
api.add_operation(:delete_disk, Seahorse::Model::Operation.new.tap do |o|
|
2110
2227
|
o.name = "DeleteDisk"
|
2111
2228
|
o.http_method = "POST"
|
@@ -2331,6 +2448,20 @@ module Aws::Lightsail
|
|
2331
2448
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
2332
2449
|
end)
|
2333
2450
|
|
2451
|
+
api.add_operation(:disable_add_on, Seahorse::Model::Operation.new.tap do |o|
|
2452
|
+
o.name = "DisableAddOn"
|
2453
|
+
o.http_method = "POST"
|
2454
|
+
o.http_request_uri = "/"
|
2455
|
+
o.input = Shapes::ShapeRef.new(shape: DisableAddOnRequest)
|
2456
|
+
o.output = Shapes::ShapeRef.new(shape: DisableAddOnResult)
|
2457
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2458
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
2459
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2460
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
2461
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2462
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
2463
|
+
end)
|
2464
|
+
|
2334
2465
|
api.add_operation(:download_default_key_pair, Seahorse::Model::Operation.new.tap do |o|
|
2335
2466
|
o.name = "DownloadDefaultKeyPair"
|
2336
2467
|
o.http_method = "POST"
|
@@ -2346,6 +2477,20 @@ module Aws::Lightsail
|
|
2346
2477
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
2347
2478
|
end)
|
2348
2479
|
|
2480
|
+
api.add_operation(:enable_add_on, Seahorse::Model::Operation.new.tap do |o|
|
2481
|
+
o.name = "EnableAddOn"
|
2482
|
+
o.http_method = "POST"
|
2483
|
+
o.http_request_uri = "/"
|
2484
|
+
o.input = Shapes::ShapeRef.new(shape: EnableAddOnRequest)
|
2485
|
+
o.output = Shapes::ShapeRef.new(shape: EnableAddOnResult)
|
2486
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2487
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
2488
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2489
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
2490
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2491
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
2492
|
+
end)
|
2493
|
+
|
2349
2494
|
api.add_operation(:export_snapshot, Seahorse::Model::Operation.new.tap do |o|
|
2350
2495
|
o.name = "ExportSnapshot"
|
2351
2496
|
o.http_method = "POST"
|
@@ -2376,6 +2521,20 @@ module Aws::Lightsail
|
|
2376
2521
|
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
2377
2522
|
end)
|
2378
2523
|
|
2524
|
+
api.add_operation(:get_auto_snapshots, Seahorse::Model::Operation.new.tap do |o|
|
2525
|
+
o.name = "GetAutoSnapshots"
|
2526
|
+
o.http_method = "POST"
|
2527
|
+
o.http_request_uri = "/"
|
2528
|
+
o.input = Shapes::ShapeRef.new(shape: GetAutoSnapshotsRequest)
|
2529
|
+
o.output = Shapes::ShapeRef.new(shape: GetAutoSnapshotsResult)
|
2530
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
2531
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
2532
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2533
|
+
o.errors << Shapes::ShapeRef.new(shape: OperationFailureException)
|
2534
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2535
|
+
o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
|
2536
|
+
end)
|
2537
|
+
|
2379
2538
|
api.add_operation(:get_blueprints, Seahorse::Model::Operation.new.tap do |o|
|
2380
2539
|
o.name = "GetBlueprints"
|
2381
2540
|
o.http_method = "POST"
|
@@ -58,6 +58,85 @@ module Aws::Lightsail
|
|
58
58
|
include Aws::Structure
|
59
59
|
end
|
60
60
|
|
61
|
+
# Describes an add-on that is enabled for an Amazon Lightsail resource.
|
62
|
+
#
|
63
|
+
# @!attribute [rw] name
|
64
|
+
# The name of the add-on.
|
65
|
+
# @return [String]
|
66
|
+
#
|
67
|
+
# @!attribute [rw] status
|
68
|
+
# The status of the add-on.
|
69
|
+
# @return [String]
|
70
|
+
#
|
71
|
+
# @!attribute [rw] snapshot_time_of_day
|
72
|
+
# The daily time when an automatic snapshot is created.
|
73
|
+
#
|
74
|
+
# The time shown is in `HH:00` format, and in Coordinated Universal
|
75
|
+
# Time (UTC).
|
76
|
+
#
|
77
|
+
# The snapshot is automatically created between the time shown and up
|
78
|
+
# to 45 minutes after.
|
79
|
+
# @return [String]
|
80
|
+
#
|
81
|
+
# @!attribute [rw] next_snapshot_time_of_day
|
82
|
+
# The next daily time an automatic snapshot will be created.
|
83
|
+
#
|
84
|
+
# The time shown is in `HH:00` format, and in Coordinated Universal
|
85
|
+
# Time (UTC).
|
86
|
+
#
|
87
|
+
# The snapshot is automatically created between the time shown and up
|
88
|
+
# to 45 minutes after.
|
89
|
+
# @return [String]
|
90
|
+
#
|
91
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AddOn AWS API Documentation
|
92
|
+
#
|
93
|
+
class AddOn < Struct.new(
|
94
|
+
:name,
|
95
|
+
:status,
|
96
|
+
:snapshot_time_of_day,
|
97
|
+
:next_snapshot_time_of_day)
|
98
|
+
include Aws::Structure
|
99
|
+
end
|
100
|
+
|
101
|
+
# Describes a request to enable, modify, or disable an add-on for an
|
102
|
+
# Amazon Lightsail resource.
|
103
|
+
#
|
104
|
+
# <note markdown="1"> An additional cost may be associated with enabling add-ons. For more
|
105
|
+
# information, see the [Lightsail pricing page][1].
|
106
|
+
#
|
107
|
+
# </note>
|
108
|
+
#
|
109
|
+
#
|
110
|
+
#
|
111
|
+
# [1]: https://aws.amazon.com/lightsail/pricing/
|
112
|
+
#
|
113
|
+
# @note When making an API call, you may pass AddOnRequest
|
114
|
+
# data as a hash:
|
115
|
+
#
|
116
|
+
# {
|
117
|
+
# add_on_type: "AutoSnapshot", # required, accepts AutoSnapshot
|
118
|
+
# auto_snapshot_add_on_request: {
|
119
|
+
# snapshot_time_of_day: "TimeOfDay",
|
120
|
+
# },
|
121
|
+
# }
|
122
|
+
#
|
123
|
+
# @!attribute [rw] add_on_type
|
124
|
+
# The add-on type.
|
125
|
+
# @return [String]
|
126
|
+
#
|
127
|
+
# @!attribute [rw] auto_snapshot_add_on_request
|
128
|
+
# An object that represents additional parameters when enabling or
|
129
|
+
# modifying the automatic snapshot add-on.
|
130
|
+
# @return [Types::AutoSnapshotAddOnRequest]
|
131
|
+
#
|
132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AddOnRequest AWS API Documentation
|
133
|
+
#
|
134
|
+
class AddOnRequest < Struct.new(
|
135
|
+
:add_on_type,
|
136
|
+
:auto_snapshot_add_on_request)
|
137
|
+
include Aws::Structure
|
138
|
+
end
|
139
|
+
|
61
140
|
# @note When making an API call, you may pass AllocateStaticIpRequest
|
62
141
|
# data as a hash:
|
63
142
|
#
|
@@ -249,6 +328,116 @@ module Aws::Lightsail
|
|
249
328
|
include Aws::Structure
|
250
329
|
end
|
251
330
|
|
331
|
+
# Describes a block storage disk that is attached to an instance, and is
|
332
|
+
# included in an automatic snapshot.
|
333
|
+
#
|
334
|
+
# @!attribute [rw] path
|
335
|
+
# The path of the disk (e.g., `/dev/xvdf`).
|
336
|
+
# @return [String]
|
337
|
+
#
|
338
|
+
# @!attribute [rw] size_in_gb
|
339
|
+
# The size of the disk in GB.
|
340
|
+
# @return [Integer]
|
341
|
+
#
|
342
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AttachedDisk AWS API Documentation
|
343
|
+
#
|
344
|
+
class AttachedDisk < Struct.new(
|
345
|
+
:path,
|
346
|
+
:size_in_gb)
|
347
|
+
include Aws::Structure
|
348
|
+
end
|
349
|
+
|
350
|
+
# Describes a request to enable or modify the automatic snapshot add-on
|
351
|
+
# for an Amazon Lightsail instance or disk.
|
352
|
+
#
|
353
|
+
# When you modify the automatic snapshot time for a resource, it is
|
354
|
+
# typically effective immediately except under the following conditions:
|
355
|
+
#
|
356
|
+
# * If an automatic snapshot has been created for the current day, and
|
357
|
+
# you change the snapshot time to a later time of day, then the new
|
358
|
+
# snapshot time will be effective the following day. This ensures that
|
359
|
+
# two snapshots are not created for the current day.
|
360
|
+
#
|
361
|
+
# * If an automatic snapshot has not yet been created for the current
|
362
|
+
# day, and you change the snapshot time to an earlier time of day,
|
363
|
+
# then the new snapshot time will be effective the following day and a
|
364
|
+
# snapshot is automatically created at the previously set time for the
|
365
|
+
# current day. This ensures that a snapshot is created for the current
|
366
|
+
# day.
|
367
|
+
#
|
368
|
+
# * If an automatic snapshot has not yet been created for the current
|
369
|
+
# day, and you change the snapshot time to a time that is within 30
|
370
|
+
# minutes from your current time, then the new snapshot time will be
|
371
|
+
# effective the following day and a snapshot is automatically created
|
372
|
+
# at the previously set time for the current day. This ensures that a
|
373
|
+
# snapshot is created for the current day, because 30 minutes is
|
374
|
+
# required between your current time and the new snapshot time that
|
375
|
+
# you specify.
|
376
|
+
#
|
377
|
+
# * If an automatic snapshot is scheduled to be created within 30
|
378
|
+
# minutes from your current time and you change the snapshot time,
|
379
|
+
# then the new snapshot time will be effective the following day and a
|
380
|
+
# snapshot is automatically created at the previously set time for the
|
381
|
+
# current day. This ensures that a snapshot is created for the current
|
382
|
+
# day, because 30 minutes is required between your current time and
|
383
|
+
# the new snapshot time that you specify.
|
384
|
+
#
|
385
|
+
# @note When making an API call, you may pass AutoSnapshotAddOnRequest
|
386
|
+
# data as a hash:
|
387
|
+
#
|
388
|
+
# {
|
389
|
+
# snapshot_time_of_day: "TimeOfDay",
|
390
|
+
# }
|
391
|
+
#
|
392
|
+
# @!attribute [rw] snapshot_time_of_day
|
393
|
+
# The daily time when an automatic snapshot will be created.
|
394
|
+
#
|
395
|
+
# Constraints:
|
396
|
+
#
|
397
|
+
# * Must be in `HH:00` format, and in an hourly increment.
|
398
|
+
#
|
399
|
+
# * Specified in Coordinated Universal Time (UTC).
|
400
|
+
#
|
401
|
+
# * The snapshot will be automatically created between the time
|
402
|
+
# specified and up to 45 minutes after.
|
403
|
+
# @return [String]
|
404
|
+
#
|
405
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AutoSnapshotAddOnRequest AWS API Documentation
|
406
|
+
#
|
407
|
+
class AutoSnapshotAddOnRequest < Struct.new(
|
408
|
+
:snapshot_time_of_day)
|
409
|
+
include Aws::Structure
|
410
|
+
end
|
411
|
+
|
412
|
+
# Describes an automatic snapshot.
|
413
|
+
#
|
414
|
+
# @!attribute [rw] date
|
415
|
+
# The date of the automatic snapshot in `YYYY-MM-DD` format.
|
416
|
+
# @return [String]
|
417
|
+
#
|
418
|
+
# @!attribute [rw] created_at
|
419
|
+
# The timestamp when the automatic snapshot was created.
|
420
|
+
# @return [Time]
|
421
|
+
#
|
422
|
+
# @!attribute [rw] status
|
423
|
+
# The status of the automatic snapshot.
|
424
|
+
# @return [String]
|
425
|
+
#
|
426
|
+
# @!attribute [rw] from_attached_disks
|
427
|
+
# An array of objects that describe the block storage disks attached
|
428
|
+
# to the instance when the automatic snapshot was created.
|
429
|
+
# @return [Array<Types::AttachedDisk>]
|
430
|
+
#
|
431
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/AutoSnapshotDetails AWS API Documentation
|
432
|
+
#
|
433
|
+
class AutoSnapshotDetails < Struct.new(
|
434
|
+
:date,
|
435
|
+
:created_at,
|
436
|
+
:status,
|
437
|
+
:from_attached_disks)
|
438
|
+
include Aws::Structure
|
439
|
+
end
|
440
|
+
|
252
441
|
# Describes an Availability Zone.
|
253
442
|
#
|
254
443
|
# @!attribute [rw] zone_name
|
@@ -545,28 +734,101 @@ module Aws::Lightsail
|
|
545
734
|
# data as a hash:
|
546
735
|
#
|
547
736
|
# {
|
548
|
-
# source_snapshot_name: "ResourceName",
|
737
|
+
# source_snapshot_name: "ResourceName",
|
738
|
+
# source_resource_name: "string",
|
739
|
+
# restore_date: "string",
|
740
|
+
# use_latest_restorable_auto_snapshot: false,
|
549
741
|
# target_snapshot_name: "ResourceName", # required
|
550
742
|
# source_region: "us-east-1", # required, accepts 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
|
551
743
|
# }
|
552
744
|
#
|
553
745
|
# @!attribute [rw] source_snapshot_name
|
554
746
|
# The name of the source instance or disk snapshot to be copied.
|
747
|
+
#
|
748
|
+
# <note markdown="1"> Define this parameter only when copying a manual snapshot as another
|
749
|
+
# manual snapshot.
|
750
|
+
#
|
751
|
+
# </note>
|
752
|
+
# @return [String]
|
753
|
+
#
|
754
|
+
# @!attribute [rw] source_resource_name
|
755
|
+
# The name of the source resource from which the automatic snapshot
|
756
|
+
# was created.
|
757
|
+
#
|
758
|
+
# <note markdown="1"> Define this parameter only when copying an automatic snapshot as a
|
759
|
+
# manual snapshot. For more information, see the [Lightsail Dev
|
760
|
+
# Guide][1].
|
761
|
+
#
|
762
|
+
# </note>
|
763
|
+
#
|
764
|
+
#
|
765
|
+
#
|
766
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
555
767
|
# @return [String]
|
556
768
|
#
|
769
|
+
# @!attribute [rw] restore_date
|
770
|
+
# The date of the automatic snapshot to copy for the new manual
|
771
|
+
# snapshot.
|
772
|
+
#
|
773
|
+
# Use the `get auto snapshots` operation to identify the dates of the
|
774
|
+
# available automatic snapshots.
|
775
|
+
#
|
776
|
+
# Constraints:
|
777
|
+
#
|
778
|
+
# * Must be specified in `YYYY-MM-DD` format.
|
779
|
+
#
|
780
|
+
# * This parameter cannot be defined together with the `use latest
|
781
|
+
# restorable auto snapshot` parameter. The `restore date` and `use
|
782
|
+
# latest restorable auto snapshot` parameters are mutually
|
783
|
+
# exclusive.
|
784
|
+
#
|
785
|
+
# <note markdown="1"> Define this parameter only when copying an automatic snapshot as a
|
786
|
+
# manual snapshot. For more information, see the [Lightsail Dev
|
787
|
+
# Guide][1].
|
788
|
+
#
|
789
|
+
# </note>
|
790
|
+
#
|
791
|
+
#
|
792
|
+
#
|
793
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
794
|
+
# @return [String]
|
795
|
+
#
|
796
|
+
# @!attribute [rw] use_latest_restorable_auto_snapshot
|
797
|
+
# A Boolean value to indicate whether to use the latest available
|
798
|
+
# automatic snapshot.
|
799
|
+
#
|
800
|
+
# This parameter cannot be defined together with the `restore date`
|
801
|
+
# parameter. The `use latest restorable auto snapshot` and `restore
|
802
|
+
# date` parameters are mutually exclusive.
|
803
|
+
#
|
804
|
+
# <note markdown="1"> Define this parameter only when copying an automatic snapshot as a
|
805
|
+
# manual snapshot. For more information, see the [Lightsail Dev
|
806
|
+
# Guide][1].
|
807
|
+
#
|
808
|
+
# </note>
|
809
|
+
#
|
810
|
+
#
|
811
|
+
#
|
812
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
813
|
+
# @return [Boolean]
|
814
|
+
#
|
557
815
|
# @!attribute [rw] target_snapshot_name
|
558
816
|
# The name of the new instance or disk snapshot to be created as a
|
559
817
|
# copy.
|
560
818
|
# @return [String]
|
561
819
|
#
|
562
820
|
# @!attribute [rw] source_region
|
563
|
-
# The AWS Region where the source snapshot is
|
821
|
+
# The AWS Region where the source manual or automatic snapshot is
|
822
|
+
# located.
|
564
823
|
# @return [String]
|
565
824
|
#
|
566
825
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CopySnapshotRequest AWS API Documentation
|
567
826
|
#
|
568
827
|
class CopySnapshotRequest < Struct.new(
|
569
828
|
:source_snapshot_name,
|
829
|
+
:source_resource_name,
|
830
|
+
:restore_date,
|
831
|
+
:use_latest_restorable_auto_snapshot,
|
570
832
|
:target_snapshot_name,
|
571
833
|
:source_region)
|
572
834
|
include Aws::Structure
|
@@ -628,7 +890,7 @@ module Aws::Lightsail
|
|
628
890
|
#
|
629
891
|
# {
|
630
892
|
# disk_name: "ResourceName", # required
|
631
|
-
# disk_snapshot_name: "ResourceName",
|
893
|
+
# disk_snapshot_name: "ResourceName",
|
632
894
|
# availability_zone: "NonEmptyString", # required
|
633
895
|
# size_in_gb: 1, # required
|
634
896
|
# tags: [
|
@@ -637,6 +899,17 @@ module Aws::Lightsail
|
|
637
899
|
# value: "TagValue",
|
638
900
|
# },
|
639
901
|
# ],
|
902
|
+
# add_ons: [
|
903
|
+
# {
|
904
|
+
# add_on_type: "AutoSnapshot", # required, accepts AutoSnapshot
|
905
|
+
# auto_snapshot_add_on_request: {
|
906
|
+
# snapshot_time_of_day: "TimeOfDay",
|
907
|
+
# },
|
908
|
+
# },
|
909
|
+
# ],
|
910
|
+
# source_disk_name: "string",
|
911
|
+
# restore_date: "string",
|
912
|
+
# use_latest_restorable_auto_snapshot: false,
|
640
913
|
# }
|
641
914
|
#
|
642
915
|
# @!attribute [rw] disk_name
|
@@ -646,6 +919,10 @@ module Aws::Lightsail
|
|
646
919
|
# @!attribute [rw] disk_snapshot_name
|
647
920
|
# The name of the disk snapshot (e.g., `my-snapshot`) from which to
|
648
921
|
# create the new storage disk.
|
922
|
+
#
|
923
|
+
# This parameter cannot be defined together with the `source disk
|
924
|
+
# name` parameter. The `disk snapshot name` and `source disk name`
|
925
|
+
# parameters are mutually exclusive.
|
649
926
|
# @return [String]
|
650
927
|
#
|
651
928
|
# @!attribute [rw] availability_zone
|
@@ -669,6 +946,75 @@ module Aws::Lightsail
|
|
669
946
|
# operation.
|
670
947
|
# @return [Array<Types::Tag>]
|
671
948
|
#
|
949
|
+
# @!attribute [rw] add_ons
|
950
|
+
# An array of objects that represent the add-ons to enable for the new
|
951
|
+
# disk.
|
952
|
+
# @return [Array<Types::AddOnRequest>]
|
953
|
+
#
|
954
|
+
# @!attribute [rw] source_disk_name
|
955
|
+
# The name of the source disk from which the source automatic snapshot
|
956
|
+
# was created.
|
957
|
+
#
|
958
|
+
# This parameter cannot be defined together with the `disk snapshot
|
959
|
+
# name` parameter. The `source disk name` and `disk snapshot name`
|
960
|
+
# parameters are mutually exclusive.
|
961
|
+
#
|
962
|
+
# <note markdown="1"> Define this parameter only when creating a new disk from an
|
963
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
964
|
+
# Guide][1].
|
965
|
+
#
|
966
|
+
# </note>
|
967
|
+
#
|
968
|
+
#
|
969
|
+
#
|
970
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
971
|
+
# @return [String]
|
972
|
+
#
|
973
|
+
# @!attribute [rw] restore_date
|
974
|
+
# The date of the automatic snapshot to use for the new disk.
|
975
|
+
#
|
976
|
+
# Use the `get auto snapshots` operation to identify the dates of the
|
977
|
+
# available automatic snapshots.
|
978
|
+
#
|
979
|
+
# Constraints:
|
980
|
+
#
|
981
|
+
# * Must be specified in `YYYY-MM-DD` format.
|
982
|
+
#
|
983
|
+
# * This parameter cannot be defined together with the `use latest
|
984
|
+
# restorable auto snapshot` parameter. The `restore date` and `use
|
985
|
+
# latest restorable auto snapshot` parameters are mutually
|
986
|
+
# exclusive.
|
987
|
+
#
|
988
|
+
# <note markdown="1"> Define this parameter only when creating a new disk from an
|
989
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
990
|
+
# Guide][1].
|
991
|
+
#
|
992
|
+
# </note>
|
993
|
+
#
|
994
|
+
#
|
995
|
+
#
|
996
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
997
|
+
# @return [String]
|
998
|
+
#
|
999
|
+
# @!attribute [rw] use_latest_restorable_auto_snapshot
|
1000
|
+
# A Boolean value to indicate whether to use the latest available
|
1001
|
+
# automatic snapshot.
|
1002
|
+
#
|
1003
|
+
# This parameter cannot be defined together with the `restore date`
|
1004
|
+
# parameter. The `use latest restorable auto snapshot` and `restore
|
1005
|
+
# date` parameters are mutually exclusive.
|
1006
|
+
#
|
1007
|
+
# <note markdown="1"> Define this parameter only when creating a new disk from an
|
1008
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1009
|
+
# Guide][1].
|
1010
|
+
#
|
1011
|
+
# </note>
|
1012
|
+
#
|
1013
|
+
#
|
1014
|
+
#
|
1015
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
1016
|
+
# @return [Boolean]
|
1017
|
+
#
|
672
1018
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshotRequest AWS API Documentation
|
673
1019
|
#
|
674
1020
|
class CreateDiskFromSnapshotRequest < Struct.new(
|
@@ -676,7 +1022,11 @@ module Aws::Lightsail
|
|
676
1022
|
:disk_snapshot_name,
|
677
1023
|
:availability_zone,
|
678
1024
|
:size_in_gb,
|
679
|
-
:tags
|
1025
|
+
:tags,
|
1026
|
+
:add_ons,
|
1027
|
+
:source_disk_name,
|
1028
|
+
:restore_date,
|
1029
|
+
:use_latest_restorable_auto_snapshot)
|
680
1030
|
include Aws::Structure
|
681
1031
|
end
|
682
1032
|
|
@@ -704,6 +1054,14 @@ module Aws::Lightsail
|
|
704
1054
|
# value: "TagValue",
|
705
1055
|
# },
|
706
1056
|
# ],
|
1057
|
+
# add_ons: [
|
1058
|
+
# {
|
1059
|
+
# add_on_type: "AutoSnapshot", # required, accepts AutoSnapshot
|
1060
|
+
# auto_snapshot_add_on_request: {
|
1061
|
+
# snapshot_time_of_day: "TimeOfDay",
|
1062
|
+
# },
|
1063
|
+
# },
|
1064
|
+
# ],
|
707
1065
|
# }
|
708
1066
|
#
|
709
1067
|
# @!attribute [rw] disk_name
|
@@ -712,10 +1070,10 @@ module Aws::Lightsail
|
|
712
1070
|
#
|
713
1071
|
# @!attribute [rw] availability_zone
|
714
1072
|
# The Availability Zone where you want to create the disk (e.g.,
|
715
|
-
# `us-east-2a`).
|
716
|
-
# instance
|
1073
|
+
# `us-east-2a`). Use the same Availability Zone as the Lightsail
|
1074
|
+
# instance to which you want to attach the disk.
|
717
1075
|
#
|
718
|
-
# Use the
|
1076
|
+
# Use the `get regions` operation to list the Availability Zones where
|
719
1077
|
# Lightsail is currently available.
|
720
1078
|
# @return [String]
|
721
1079
|
#
|
@@ -731,13 +1089,19 @@ module Aws::Lightsail
|
|
731
1089
|
# operation.
|
732
1090
|
# @return [Array<Types::Tag>]
|
733
1091
|
#
|
1092
|
+
# @!attribute [rw] add_ons
|
1093
|
+
# An array of objects that represent the add-ons to enable for the new
|
1094
|
+
# disk.
|
1095
|
+
# @return [Array<Types::AddOnRequest>]
|
1096
|
+
#
|
734
1097
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskRequest AWS API Documentation
|
735
1098
|
#
|
736
1099
|
class CreateDiskRequest < Struct.new(
|
737
1100
|
:disk_name,
|
738
1101
|
:availability_zone,
|
739
1102
|
:size_in_gb,
|
740
|
-
:tags
|
1103
|
+
:tags,
|
1104
|
+
:add_ons)
|
741
1105
|
include Aws::Structure
|
742
1106
|
end
|
743
1107
|
|
@@ -988,7 +1352,7 @@ module Aws::Lightsail
|
|
988
1352
|
# ],
|
989
1353
|
# },
|
990
1354
|
# availability_zone: "string", # required
|
991
|
-
# instance_snapshot_name: "ResourceName",
|
1355
|
+
# instance_snapshot_name: "ResourceName",
|
992
1356
|
# bundle_id: "NonEmptyString", # required
|
993
1357
|
# user_data: "string",
|
994
1358
|
# key_pair_name: "ResourceName",
|
@@ -998,6 +1362,17 @@ module Aws::Lightsail
|
|
998
1362
|
# value: "TagValue",
|
999
1363
|
# },
|
1000
1364
|
# ],
|
1365
|
+
# add_ons: [
|
1366
|
+
# {
|
1367
|
+
# add_on_type: "AutoSnapshot", # required, accepts AutoSnapshot
|
1368
|
+
# auto_snapshot_add_on_request: {
|
1369
|
+
# snapshot_time_of_day: "TimeOfDay",
|
1370
|
+
# },
|
1371
|
+
# },
|
1372
|
+
# ],
|
1373
|
+
# source_instance_name: "string",
|
1374
|
+
# restore_date: "string",
|
1375
|
+
# use_latest_restorable_auto_snapshot: false,
|
1001
1376
|
# }
|
1002
1377
|
#
|
1003
1378
|
# @!attribute [rw] instance_names
|
@@ -1024,6 +1399,10 @@ module Aws::Lightsail
|
|
1024
1399
|
# The name of the instance snapshot on which you are basing your new
|
1025
1400
|
# instances. Use the get instance snapshots operation to return
|
1026
1401
|
# information about your existing snapshots.
|
1402
|
+
#
|
1403
|
+
# This parameter cannot be defined together with the `source instance
|
1404
|
+
# name` parameter. The `instance snapshot name` and `source instance
|
1405
|
+
# name` parameters are mutually exclusive.
|
1027
1406
|
# @return [String]
|
1028
1407
|
#
|
1029
1408
|
# @!attribute [rw] bundle_id
|
@@ -1060,6 +1439,75 @@ module Aws::Lightsail
|
|
1060
1439
|
# operation.
|
1061
1440
|
# @return [Array<Types::Tag>]
|
1062
1441
|
#
|
1442
|
+
# @!attribute [rw] add_ons
|
1443
|
+
# An array of objects representing the add-ons to enable for the new
|
1444
|
+
# instance.
|
1445
|
+
# @return [Array<Types::AddOnRequest>]
|
1446
|
+
#
|
1447
|
+
# @!attribute [rw] source_instance_name
|
1448
|
+
# The name of the source instance from which the source automatic
|
1449
|
+
# snapshot was created.
|
1450
|
+
#
|
1451
|
+
# This parameter cannot be defined together with the `instance
|
1452
|
+
# snapshot name` parameter. The `source instance name` and `instance
|
1453
|
+
# snapshot name` parameters are mutually exclusive.
|
1454
|
+
#
|
1455
|
+
# <note markdown="1"> Define this parameter only when creating a new instance from an
|
1456
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1457
|
+
# Guide][1].
|
1458
|
+
#
|
1459
|
+
# </note>
|
1460
|
+
#
|
1461
|
+
#
|
1462
|
+
#
|
1463
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
1464
|
+
# @return [String]
|
1465
|
+
#
|
1466
|
+
# @!attribute [rw] restore_date
|
1467
|
+
# The date of the automatic snapshot to use for the new instance.
|
1468
|
+
#
|
1469
|
+
# Use the `get auto snapshots` operation to identify the dates of the
|
1470
|
+
# available automatic snapshots.
|
1471
|
+
#
|
1472
|
+
# Constraints:
|
1473
|
+
#
|
1474
|
+
# * Must be specified in `YYYY-MM-DD` format.
|
1475
|
+
#
|
1476
|
+
# * This parameter cannot be defined together with the `use latest
|
1477
|
+
# restorable auto snapshot` parameter. The `restore date` and `use
|
1478
|
+
# latest restorable auto snapshot` parameters are mutually
|
1479
|
+
# exclusive.
|
1480
|
+
#
|
1481
|
+
# <note markdown="1"> Define this parameter only when creating a new instance from an
|
1482
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1483
|
+
# Guide][1].
|
1484
|
+
#
|
1485
|
+
# </note>
|
1486
|
+
#
|
1487
|
+
#
|
1488
|
+
#
|
1489
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
1490
|
+
# @return [String]
|
1491
|
+
#
|
1492
|
+
# @!attribute [rw] use_latest_restorable_auto_snapshot
|
1493
|
+
# A Boolean value to indicate whether to use the latest available
|
1494
|
+
# automatic snapshot.
|
1495
|
+
#
|
1496
|
+
# This parameter cannot be defined together with the `restore date`
|
1497
|
+
# parameter. The `use latest restorable auto snapshot` and `restore
|
1498
|
+
# date` parameters are mutually exclusive.
|
1499
|
+
#
|
1500
|
+
# <note markdown="1"> Define this parameter only when creating a new instance from an
|
1501
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1502
|
+
# Guide][1].
|
1503
|
+
#
|
1504
|
+
# </note>
|
1505
|
+
#
|
1506
|
+
#
|
1507
|
+
#
|
1508
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
1509
|
+
# @return [Boolean]
|
1510
|
+
#
|
1063
1511
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshotRequest AWS API Documentation
|
1064
1512
|
#
|
1065
1513
|
class CreateInstancesFromSnapshotRequest < Struct.new(
|
@@ -1070,7 +1518,11 @@ module Aws::Lightsail
|
|
1070
1518
|
:bundle_id,
|
1071
1519
|
:user_data,
|
1072
1520
|
:key_pair_name,
|
1073
|
-
:tags
|
1521
|
+
:tags,
|
1522
|
+
:add_ons,
|
1523
|
+
:source_instance_name,
|
1524
|
+
:restore_date,
|
1525
|
+
:use_latest_restorable_auto_snapshot)
|
1074
1526
|
include Aws::Structure
|
1075
1527
|
end
|
1076
1528
|
|
@@ -1103,6 +1555,14 @@ module Aws::Lightsail
|
|
1103
1555
|
# value: "TagValue",
|
1104
1556
|
# },
|
1105
1557
|
# ],
|
1558
|
+
# add_ons: [
|
1559
|
+
# {
|
1560
|
+
# add_on_type: "AutoSnapshot", # required, accepts AutoSnapshot
|
1561
|
+
# auto_snapshot_add_on_request: {
|
1562
|
+
# snapshot_time_of_day: "TimeOfDay",
|
1563
|
+
# },
|
1564
|
+
# },
|
1565
|
+
# ],
|
1106
1566
|
# }
|
1107
1567
|
#
|
1108
1568
|
# @!attribute [rw] instance_names
|
@@ -1134,8 +1594,16 @@ module Aws::Lightsail
|
|
1134
1594
|
#
|
1135
1595
|
# @!attribute [rw] blueprint_id
|
1136
1596
|
# The ID for a virtual private server image (e.g., `app_wordpress_4_4`
|
1137
|
-
# or `app_lamp_7_0`). Use the get blueprints operation to return a
|
1597
|
+
# or `app_lamp_7_0`). Use the `get blueprints` operation to return a
|
1138
1598
|
# list of available images (or *blueprints*).
|
1599
|
+
#
|
1600
|
+
# <note markdown="1"> Use active blueprints when creating new instances. Inactive
|
1601
|
+
# blueprints are listed to support customers with existing instances
|
1602
|
+
# and are not necessarily available to create new instances.
|
1603
|
+
# Blueprints are marked inactive when they become outdated due to
|
1604
|
+
# operating system updates or new application releases.
|
1605
|
+
#
|
1606
|
+
# </note>
|
1139
1607
|
# @return [String]
|
1140
1608
|
#
|
1141
1609
|
# @!attribute [rw] bundle_id
|
@@ -1173,6 +1641,11 @@ module Aws::Lightsail
|
|
1173
1641
|
# operation.
|
1174
1642
|
# @return [Array<Types::Tag>]
|
1175
1643
|
#
|
1644
|
+
# @!attribute [rw] add_ons
|
1645
|
+
# An array of objects representing the add-ons to enable for the new
|
1646
|
+
# instance.
|
1647
|
+
# @return [Array<Types::AddOnRequest>]
|
1648
|
+
#
|
1176
1649
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesRequest AWS API Documentation
|
1177
1650
|
#
|
1178
1651
|
class CreateInstancesRequest < Struct.new(
|
@@ -1183,7 +1656,8 @@ module Aws::Lightsail
|
|
1183
1656
|
:bundle_id,
|
1184
1657
|
:user_data,
|
1185
1658
|
:key_pair_name,
|
1186
|
-
:tags
|
1659
|
+
:tags,
|
1660
|
+
:add_ons)
|
1187
1661
|
include Aws::Structure
|
1188
1662
|
end
|
1189
1663
|
|
@@ -1503,7 +1977,7 @@ module Aws::Lightsail
|
|
1503
1977
|
# * Cannot be specified if the `use latest restorable time` parameter
|
1504
1978
|
# is `true`.
|
1505
1979
|
#
|
1506
|
-
# * Specified in Universal
|
1980
|
+
# * Specified in Coordinated Universal Time (UTC).
|
1507
1981
|
#
|
1508
1982
|
# * Specified in the Unix time format.
|
1509
1983
|
#
|
@@ -1671,7 +2145,7 @@ module Aws::Lightsail
|
|
1671
2145
|
#
|
1672
2146
|
# Example: `16:00-16:30`
|
1673
2147
|
#
|
1674
|
-
# * Specified in Universal
|
2148
|
+
# * Specified in Coordinated Universal Time (UTC).
|
1675
2149
|
#
|
1676
2150
|
# * Must not conflict with the preferred maintenance window.
|
1677
2151
|
#
|
@@ -1698,7 +2172,7 @@ module Aws::Lightsail
|
|
1698
2172
|
#
|
1699
2173
|
# * Must be at least 30 minutes.
|
1700
2174
|
#
|
1701
|
-
# * Specified in Universal
|
2175
|
+
# * Specified in Coordinated Universal Time (UTC).
|
1702
2176
|
#
|
1703
2177
|
# * Example: `Tue:17:00-Tue:17:30`
|
1704
2178
|
# @return [String]
|
@@ -1805,26 +2279,72 @@ module Aws::Lightsail
|
|
1805
2279
|
include Aws::Structure
|
1806
2280
|
end
|
1807
2281
|
|
2282
|
+
# @note When making an API call, you may pass DeleteAutoSnapshotRequest
|
2283
|
+
# data as a hash:
|
2284
|
+
#
|
2285
|
+
# {
|
2286
|
+
# resource_name: "ResourceName", # required
|
2287
|
+
# date: "AutoSnapshotDate", # required
|
2288
|
+
# }
|
2289
|
+
#
|
2290
|
+
# @!attribute [rw] resource_name
|
2291
|
+
# The name of the source resource from which to delete the automatic
|
2292
|
+
# snapshot.
|
2293
|
+
# @return [String]
|
2294
|
+
#
|
2295
|
+
# @!attribute [rw] date
|
2296
|
+
# The date of the automatic snapshot to delete in `YYYY-MM-DD` format.
|
2297
|
+
#
|
2298
|
+
# Use the `get auto snapshots` operation to get the available
|
2299
|
+
# automatic snapshots for a resource.
|
2300
|
+
# @return [String]
|
2301
|
+
#
|
2302
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteAutoSnapshotRequest AWS API Documentation
|
2303
|
+
#
|
2304
|
+
class DeleteAutoSnapshotRequest < Struct.new(
|
2305
|
+
:resource_name,
|
2306
|
+
:date)
|
2307
|
+
include Aws::Structure
|
2308
|
+
end
|
2309
|
+
|
2310
|
+
# @!attribute [rw] operations
|
2311
|
+
# An array of objects that describe the result of your request.
|
2312
|
+
# @return [Array<Types::Operation>]
|
2313
|
+
#
|
2314
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteAutoSnapshotResult AWS API Documentation
|
2315
|
+
#
|
2316
|
+
class DeleteAutoSnapshotResult < Struct.new(
|
2317
|
+
:operations)
|
2318
|
+
include Aws::Structure
|
2319
|
+
end
|
2320
|
+
|
1808
2321
|
# @note When making an API call, you may pass DeleteDiskRequest
|
1809
2322
|
# data as a hash:
|
1810
2323
|
#
|
1811
2324
|
# {
|
1812
2325
|
# disk_name: "ResourceName", # required
|
2326
|
+
# force_delete_add_ons: false,
|
1813
2327
|
# }
|
1814
2328
|
#
|
1815
2329
|
# @!attribute [rw] disk_name
|
1816
2330
|
# The unique name of the disk you want to delete (e.g., `my-disk`).
|
1817
2331
|
# @return [String]
|
1818
2332
|
#
|
2333
|
+
# @!attribute [rw] force_delete_add_ons
|
2334
|
+
# A Boolean value to indicate whether to delete the enabled add-ons
|
2335
|
+
# for the disk.
|
2336
|
+
# @return [Boolean]
|
2337
|
+
#
|
1819
2338
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskRequest AWS API Documentation
|
1820
2339
|
#
|
1821
2340
|
class DeleteDiskRequest < Struct.new(
|
1822
|
-
:disk_name
|
2341
|
+
:disk_name,
|
2342
|
+
:force_delete_add_ons)
|
1823
2343
|
include Aws::Structure
|
1824
2344
|
end
|
1825
2345
|
|
1826
2346
|
# @!attribute [rw] operations
|
1827
|
-
# An
|
2347
|
+
# An array of objects that describe the result of your request.
|
1828
2348
|
# @return [Array<Types::Operation>]
|
1829
2349
|
#
|
1830
2350
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteDiskResult AWS API Documentation
|
@@ -1945,16 +2465,23 @@ module Aws::Lightsail
|
|
1945
2465
|
#
|
1946
2466
|
# {
|
1947
2467
|
# instance_name: "ResourceName", # required
|
2468
|
+
# force_delete_add_ons: false,
|
1948
2469
|
# }
|
1949
2470
|
#
|
1950
2471
|
# @!attribute [rw] instance_name
|
1951
2472
|
# The name of the instance to delete.
|
1952
2473
|
# @return [String]
|
1953
2474
|
#
|
2475
|
+
# @!attribute [rw] force_delete_add_ons
|
2476
|
+
# A Boolean value to indicate whether to delete the enabled add-ons
|
2477
|
+
# for the disk.
|
2478
|
+
# @return [Boolean]
|
2479
|
+
#
|
1954
2480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DeleteInstanceRequest AWS API Documentation
|
1955
2481
|
#
|
1956
2482
|
class DeleteInstanceRequest < Struct.new(
|
1957
|
-
:instance_name
|
2483
|
+
:instance_name,
|
2484
|
+
:force_delete_add_ons)
|
1958
2485
|
include Aws::Structure
|
1959
2486
|
end
|
1960
2487
|
|
@@ -2341,7 +2868,42 @@ module Aws::Lightsail
|
|
2341
2868
|
include Aws::Structure
|
2342
2869
|
end
|
2343
2870
|
|
2344
|
-
#
|
2871
|
+
# @note When making an API call, you may pass DisableAddOnRequest
|
2872
|
+
# data as a hash:
|
2873
|
+
#
|
2874
|
+
# {
|
2875
|
+
# add_on_type: "AutoSnapshot", # required, accepts AutoSnapshot
|
2876
|
+
# resource_name: "ResourceName", # required
|
2877
|
+
# }
|
2878
|
+
#
|
2879
|
+
# @!attribute [rw] add_on_type
|
2880
|
+
# The add-on type to disable.
|
2881
|
+
# @return [String]
|
2882
|
+
#
|
2883
|
+
# @!attribute [rw] resource_name
|
2884
|
+
# The name of the source resource from which to disable the add-on.
|
2885
|
+
# @return [String]
|
2886
|
+
#
|
2887
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DisableAddOnRequest AWS API Documentation
|
2888
|
+
#
|
2889
|
+
class DisableAddOnRequest < Struct.new(
|
2890
|
+
:add_on_type,
|
2891
|
+
:resource_name)
|
2892
|
+
include Aws::Structure
|
2893
|
+
end
|
2894
|
+
|
2895
|
+
# @!attribute [rw] operations
|
2896
|
+
# An array of objects that describe the result of your request.
|
2897
|
+
# @return [Array<Types::Operation>]
|
2898
|
+
#
|
2899
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DisableAddOnResult AWS API Documentation
|
2900
|
+
#
|
2901
|
+
class DisableAddOnResult < Struct.new(
|
2902
|
+
:operations)
|
2903
|
+
include Aws::Structure
|
2904
|
+
end
|
2905
|
+
|
2906
|
+
# Describes a system disk or a block storage disk.
|
2345
2907
|
#
|
2346
2908
|
# @!attribute [rw] name
|
2347
2909
|
# The unique name of the disk.
|
@@ -2380,6 +2942,10 @@ module Aws::Lightsail
|
|
2380
2942
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
2381
2943
|
# @return [Array<Types::Tag>]
|
2382
2944
|
#
|
2945
|
+
# @!attribute [rw] add_ons
|
2946
|
+
# An array of objects representing the add-ons enabled on the disk.
|
2947
|
+
# @return [Array<Types::AddOn>]
|
2948
|
+
#
|
2383
2949
|
# @!attribute [rw] size_in_gb
|
2384
2950
|
# The size of the disk in GB.
|
2385
2951
|
# @return [Integer]
|
@@ -2439,6 +3005,7 @@ module Aws::Lightsail
|
|
2439
3005
|
:location,
|
2440
3006
|
:resource_type,
|
2441
3007
|
:tags,
|
3008
|
+
:add_ons,
|
2442
3009
|
:size_in_gb,
|
2443
3010
|
:is_system_disk,
|
2444
3011
|
:iops,
|
@@ -2579,6 +3146,11 @@ module Aws::Lightsail
|
|
2579
3146
|
# disk (system volume) snapshot was created.
|
2580
3147
|
# @return [String]
|
2581
3148
|
#
|
3149
|
+
# @!attribute [rw] is_from_auto_snapshot
|
3150
|
+
# A Boolean value indicating whether the snapshot was created from an
|
3151
|
+
# automatic snapshot.
|
3152
|
+
# @return [Boolean]
|
3153
|
+
#
|
2582
3154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskSnapshot AWS API Documentation
|
2583
3155
|
#
|
2584
3156
|
class DiskSnapshot < Struct.new(
|
@@ -2595,7 +3167,8 @@ module Aws::Lightsail
|
|
2595
3167
|
:from_disk_name,
|
2596
3168
|
:from_disk_arn,
|
2597
3169
|
:from_instance_name,
|
2598
|
-
:from_instance_arn
|
3170
|
+
:from_instance_arn,
|
3171
|
+
:is_from_auto_snapshot)
|
2599
3172
|
include Aws::Structure
|
2600
3173
|
end
|
2601
3174
|
|
@@ -2777,6 +3350,47 @@ module Aws::Lightsail
|
|
2777
3350
|
include Aws::Structure
|
2778
3351
|
end
|
2779
3352
|
|
3353
|
+
# @note When making an API call, you may pass EnableAddOnRequest
|
3354
|
+
# data as a hash:
|
3355
|
+
#
|
3356
|
+
# {
|
3357
|
+
# resource_name: "ResourceName", # required
|
3358
|
+
# add_on_request: { # required
|
3359
|
+
# add_on_type: "AutoSnapshot", # required, accepts AutoSnapshot
|
3360
|
+
# auto_snapshot_add_on_request: {
|
3361
|
+
# snapshot_time_of_day: "TimeOfDay",
|
3362
|
+
# },
|
3363
|
+
# },
|
3364
|
+
# }
|
3365
|
+
#
|
3366
|
+
# @!attribute [rw] resource_name
|
3367
|
+
# The name of the source resource for which to enable or modify the
|
3368
|
+
# add-on.
|
3369
|
+
# @return [String]
|
3370
|
+
#
|
3371
|
+
# @!attribute [rw] add_on_request
|
3372
|
+
# An array of strings representing the add-on to enable or modify.
|
3373
|
+
# @return [Types::AddOnRequest]
|
3374
|
+
#
|
3375
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/EnableAddOnRequest AWS API Documentation
|
3376
|
+
#
|
3377
|
+
class EnableAddOnRequest < Struct.new(
|
3378
|
+
:resource_name,
|
3379
|
+
:add_on_request)
|
3380
|
+
include Aws::Structure
|
3381
|
+
end
|
3382
|
+
|
3383
|
+
# @!attribute [rw] operations
|
3384
|
+
# An array of objects that describe the result of your request.
|
3385
|
+
# @return [Array<Types::Operation>]
|
3386
|
+
#
|
3387
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/EnableAddOnResult AWS API Documentation
|
3388
|
+
#
|
3389
|
+
class EnableAddOnResult < Struct.new(
|
3390
|
+
:operations)
|
3391
|
+
include Aws::Structure
|
3392
|
+
end
|
3393
|
+
|
2780
3394
|
# Describes an export snapshot record.
|
2781
3395
|
#
|
2782
3396
|
# @!attribute [rw] name
|
@@ -2945,6 +3559,47 @@ module Aws::Lightsail
|
|
2945
3559
|
include Aws::Structure
|
2946
3560
|
end
|
2947
3561
|
|
3562
|
+
# @note When making an API call, you may pass GetAutoSnapshotsRequest
|
3563
|
+
# data as a hash:
|
3564
|
+
#
|
3565
|
+
# {
|
3566
|
+
# resource_name: "ResourceName", # required
|
3567
|
+
# }
|
3568
|
+
#
|
3569
|
+
# @!attribute [rw] resource_name
|
3570
|
+
# The name of the source resource from which to get automatic snapshot
|
3571
|
+
# information.
|
3572
|
+
# @return [String]
|
3573
|
+
#
|
3574
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAutoSnapshotsRequest AWS API Documentation
|
3575
|
+
#
|
3576
|
+
class GetAutoSnapshotsRequest < Struct.new(
|
3577
|
+
:resource_name)
|
3578
|
+
include Aws::Structure
|
3579
|
+
end
|
3580
|
+
|
3581
|
+
# @!attribute [rw] resource_name
|
3582
|
+
# The name of the source resource for the automatic snapshots.
|
3583
|
+
# @return [String]
|
3584
|
+
#
|
3585
|
+
# @!attribute [rw] resource_type
|
3586
|
+
# The resource type (e.g., `Instance` or `Disk`).
|
3587
|
+
# @return [String]
|
3588
|
+
#
|
3589
|
+
# @!attribute [rw] auto_snapshots
|
3590
|
+
# An array of objects that describe the automatic snapshots that are
|
3591
|
+
# available for the specified source resource.asdf
|
3592
|
+
# @return [Array<Types::AutoSnapshotDetails>]
|
3593
|
+
#
|
3594
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAutoSnapshotsResult AWS API Documentation
|
3595
|
+
#
|
3596
|
+
class GetAutoSnapshotsResult < Struct.new(
|
3597
|
+
:resource_name,
|
3598
|
+
:resource_type,
|
3599
|
+
:auto_snapshots)
|
3600
|
+
include Aws::Structure
|
3601
|
+
end
|
3602
|
+
|
2948
3603
|
# @note When making an API call, you may pass GetBlueprintsRequest
|
2949
3604
|
# data as a hash:
|
2950
3605
|
#
|
@@ -4351,7 +5006,7 @@ module Aws::Lightsail
|
|
4351
5006
|
#
|
4352
5007
|
# Constraints:
|
4353
5008
|
#
|
4354
|
-
# * Specified in Universal
|
5009
|
+
# * Specified in Coordinated Universal Time (UTC).
|
4355
5010
|
#
|
4356
5011
|
# * Specified in the Unix time format.
|
4357
5012
|
#
|
@@ -4364,7 +5019,7 @@ module Aws::Lightsail
|
|
4364
5019
|
#
|
4365
5020
|
# Constraints:
|
4366
5021
|
#
|
4367
|
-
# * Specified in Universal
|
5022
|
+
# * Specified in Coordinated Universal Time (UTC).
|
4368
5023
|
#
|
4369
5024
|
# * Specified in the Unix time format.
|
4370
5025
|
#
|
@@ -4378,7 +5033,10 @@ module Aws::Lightsail
|
|
4378
5033
|
# If `false` is specified, the log event starts from the tail of the
|
4379
5034
|
# log.
|
4380
5035
|
#
|
4381
|
-
#
|
5036
|
+
# <note markdown="1"> For PostgreSQL, the default value of `false` is the only option
|
5037
|
+
# available.
|
5038
|
+
#
|
5039
|
+
# </note>
|
4382
5040
|
# @return [Boolean]
|
4383
5041
|
#
|
4384
5042
|
# @!attribute [rw] page_token
|
@@ -4531,7 +5189,7 @@ module Aws::Lightsail
|
|
4531
5189
|
#
|
4532
5190
|
# Constraints:
|
4533
5191
|
#
|
4534
|
-
# * Specified in Universal
|
5192
|
+
# * Specified in Coordinated Universal Time (UTC).
|
4535
5193
|
#
|
4536
5194
|
# * Specified in the Unix time format.
|
4537
5195
|
#
|
@@ -4544,7 +5202,7 @@ module Aws::Lightsail
|
|
4544
5202
|
#
|
4545
5203
|
# Constraints:
|
4546
5204
|
#
|
4547
|
-
# * Specified in Universal
|
5205
|
+
# * Specified in Coordinated Universal Time (UTC).
|
4548
5206
|
#
|
4549
5207
|
# * Specified in the Unix time format.
|
4550
5208
|
#
|
@@ -4992,6 +5650,11 @@ module Aws::Lightsail
|
|
4992
5650
|
# The bundle for the instance (e.g., `micro_1_0`).
|
4993
5651
|
# @return [String]
|
4994
5652
|
#
|
5653
|
+
# @!attribute [rw] add_ons
|
5654
|
+
# An array of objects representing the add-ons enabled on the
|
5655
|
+
# instance.
|
5656
|
+
# @return [Array<Types::AddOn>]
|
5657
|
+
#
|
4995
5658
|
# @!attribute [rw] is_static_ip
|
4996
5659
|
# A Boolean value indicating whether this instance has a static IP
|
4997
5660
|
# assigned to it.
|
@@ -5044,6 +5707,7 @@ module Aws::Lightsail
|
|
5044
5707
|
:blueprint_id,
|
5045
5708
|
:blueprint_name,
|
5046
5709
|
:bundle_id,
|
5710
|
+
:add_ons,
|
5047
5711
|
:is_static_ip,
|
5048
5712
|
:private_ip_address,
|
5049
5713
|
:public_ip_address,
|
@@ -5450,7 +6114,7 @@ module Aws::Lightsail
|
|
5450
6114
|
include Aws::Structure
|
5451
6115
|
end
|
5452
6116
|
|
5453
|
-
# Describes
|
6117
|
+
# Describes an instance snapshot.
|
5454
6118
|
#
|
5455
6119
|
# @!attribute [rw] name
|
5456
6120
|
# The name of the snapshot.
|
@@ -5526,6 +6190,11 @@ module Aws::Lightsail
|
|
5526
6190
|
# `micro_1_0`).
|
5527
6191
|
# @return [String]
|
5528
6192
|
#
|
6193
|
+
# @!attribute [rw] is_from_auto_snapshot
|
6194
|
+
# A Boolean value indicating whether the snapshot was created from an
|
6195
|
+
# automatic snapshot.
|
6196
|
+
# @return [Boolean]
|
6197
|
+
#
|
5529
6198
|
# @!attribute [rw] size_in_gb
|
5530
6199
|
# The size in GB of the SSD.
|
5531
6200
|
# @return [Integer]
|
@@ -5547,6 +6216,7 @@ module Aws::Lightsail
|
|
5547
6216
|
:from_instance_arn,
|
5548
6217
|
:from_blueprint_id,
|
5549
6218
|
:from_bundle_id,
|
6219
|
+
:is_from_auto_snapshot,
|
5550
6220
|
:size_in_gb)
|
5551
6221
|
include Aws::Structure
|
5552
6222
|
end
|
@@ -6253,7 +6923,7 @@ module Aws::Lightsail
|
|
6253
6923
|
# @return [Time]
|
6254
6924
|
#
|
6255
6925
|
# @!attribute [rw] location
|
6256
|
-
# The
|
6926
|
+
# The AWS Region and Availability Zone.
|
6257
6927
|
# @return [Types::ResourceLocation]
|
6258
6928
|
#
|
6259
6929
|
# @!attribute [rw] is_terminal
|
@@ -7411,6 +8081,7 @@ module Aws::Lightsail
|
|
7411
8081
|
#
|
7412
8082
|
# {
|
7413
8083
|
# resource_name: "ResourceName", # required
|
8084
|
+
# resource_arn: "ResourceArn",
|
7414
8085
|
# tags: [ # required
|
7415
8086
|
# {
|
7416
8087
|
# key: "TagKey",
|
@@ -7423,6 +8094,11 @@ module Aws::Lightsail
|
|
7423
8094
|
# The name of the resource to which you are adding tags.
|
7424
8095
|
# @return [String]
|
7425
8096
|
#
|
8097
|
+
# @!attribute [rw] resource_arn
|
8098
|
+
# The Amazon Resource Name (ARN) of the resource to which you want to
|
8099
|
+
# add a tag.
|
8100
|
+
# @return [String]
|
8101
|
+
#
|
7426
8102
|
# @!attribute [rw] tags
|
7427
8103
|
# The tag key and optional value.
|
7428
8104
|
# @return [Array<Types::Tag>]
|
@@ -7431,6 +8107,7 @@ module Aws::Lightsail
|
|
7431
8107
|
#
|
7432
8108
|
class TagResourceRequest < Struct.new(
|
7433
8109
|
:resource_name,
|
8110
|
+
:resource_arn,
|
7434
8111
|
:tags)
|
7435
8112
|
include Aws::Structure
|
7436
8113
|
end
|
@@ -7494,6 +8171,7 @@ module Aws::Lightsail
|
|
7494
8171
|
#
|
7495
8172
|
# {
|
7496
8173
|
# resource_name: "ResourceName", # required
|
8174
|
+
# resource_arn: "ResourceArn",
|
7497
8175
|
# tag_keys: ["TagKey"], # required
|
7498
8176
|
# }
|
7499
8177
|
#
|
@@ -7501,6 +8179,11 @@ module Aws::Lightsail
|
|
7501
8179
|
# The name of the resource from which you are removing a tag.
|
7502
8180
|
# @return [String]
|
7503
8181
|
#
|
8182
|
+
# @!attribute [rw] resource_arn
|
8183
|
+
# The Amazon Resource Name (ARN) of the resource from which you want
|
8184
|
+
# to remove a tag.
|
8185
|
+
# @return [String]
|
8186
|
+
#
|
7504
8187
|
# @!attribute [rw] tag_keys
|
7505
8188
|
# The tag keys to delete from the specified resource.
|
7506
8189
|
# @return [Array<String>]
|
@@ -7509,6 +8192,7 @@ module Aws::Lightsail
|
|
7509
8192
|
#
|
7510
8193
|
class UntagResourceRequest < Struct.new(
|
7511
8194
|
:resource_name,
|
8195
|
+
:resource_arn,
|
7512
8196
|
:tag_keys)
|
7513
8197
|
include Aws::Structure
|
7514
8198
|
end
|
@@ -7705,7 +8389,7 @@ module Aws::Lightsail
|
|
7705
8389
|
#
|
7706
8390
|
# Example: `16:00-16:30`
|
7707
8391
|
#
|
7708
|
-
# * Specified in Universal
|
8392
|
+
# * Specified in Coordinated Universal Time (UTC).
|
7709
8393
|
#
|
7710
8394
|
# * Must not conflict with the preferred maintenance window.
|
7711
8395
|
#
|
@@ -7728,7 +8412,7 @@ module Aws::Lightsail
|
|
7728
8412
|
#
|
7729
8413
|
# * Must be at least 30 minutes.
|
7730
8414
|
#
|
7731
|
-
# * Specified in Universal
|
8415
|
+
# * Specified in Coordinated Universal Time (UTC).
|
7732
8416
|
#
|
7733
8417
|
# * Example: `Tue:17:00-Tue:17:30`
|
7734
8418
|
# @return [String]
|