aws-sdk-lightsail 1.12.0 → 1.13.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 +1083 -92
- data/lib/aws-sdk-lightsail/client_api.rb +291 -0
- data/lib/aws-sdk-lightsail/types.rb +991 -47
- metadata +2 -2
@@ -409,6 +409,170 @@ module Aws::Lightsail
|
|
409
409
|
include Aws::Structure
|
410
410
|
end
|
411
411
|
|
412
|
+
# Describes a CloudFormation stack record created as a result of the
|
413
|
+
# `create cloud formation stack` operation.
|
414
|
+
#
|
415
|
+
# A CloudFormation stack record provides information about the AWS
|
416
|
+
# CloudFormation stack used to create a new Amazon Elastic Compute Cloud
|
417
|
+
# instance from an exported Lightsail instance snapshot.
|
418
|
+
#
|
419
|
+
# @!attribute [rw] name
|
420
|
+
# The name of the CloudFormation stack record. It starts with
|
421
|
+
# `CloudFormationStackRecord` followed by a GUID.
|
422
|
+
# @return [String]
|
423
|
+
#
|
424
|
+
# @!attribute [rw] arn
|
425
|
+
# The Amazon Resource Name (ARN) of the CloudFormation stack record.
|
426
|
+
# @return [String]
|
427
|
+
#
|
428
|
+
# @!attribute [rw] created_at
|
429
|
+
# The date when the CloudFormation stack record was created.
|
430
|
+
# @return [Time]
|
431
|
+
#
|
432
|
+
# @!attribute [rw] location
|
433
|
+
# A list of objects describing the Availability Zone and AWS Region of
|
434
|
+
# the CloudFormation stack record.
|
435
|
+
# @return [Types::ResourceLocation]
|
436
|
+
#
|
437
|
+
# @!attribute [rw] resource_type
|
438
|
+
# The Lightsail resource type (e.g., `CloudFormationStackRecord`).
|
439
|
+
# @return [String]
|
440
|
+
#
|
441
|
+
# @!attribute [rw] state
|
442
|
+
# The current state of the CloudFormation stack record.
|
443
|
+
# @return [String]
|
444
|
+
#
|
445
|
+
# @!attribute [rw] source_info
|
446
|
+
# A list of objects describing the source of the CloudFormation stack
|
447
|
+
# record.
|
448
|
+
# @return [Array<Types::CloudFormationStackRecordSourceInfo>]
|
449
|
+
#
|
450
|
+
# @!attribute [rw] destination_info
|
451
|
+
# A list of objects describing the destination service, which is AWS
|
452
|
+
# CloudFormation, and the Amazon Resource Name (ARN) of the AWS
|
453
|
+
# CloudFormation stack.
|
454
|
+
# @return [Types::DestinationInfo]
|
455
|
+
#
|
456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloudFormationStackRecord AWS API Documentation
|
457
|
+
#
|
458
|
+
class CloudFormationStackRecord < Struct.new(
|
459
|
+
:name,
|
460
|
+
:arn,
|
461
|
+
:created_at,
|
462
|
+
:location,
|
463
|
+
:resource_type,
|
464
|
+
:state,
|
465
|
+
:source_info,
|
466
|
+
:destination_info)
|
467
|
+
include Aws::Structure
|
468
|
+
end
|
469
|
+
|
470
|
+
# Describes the source of a CloudFormation stack record (i.e., the
|
471
|
+
# export snapshot record).
|
472
|
+
#
|
473
|
+
# @!attribute [rw] resource_type
|
474
|
+
# The Lightsail resource type (e.g., `ExportSnapshotRecord`).
|
475
|
+
# @return [String]
|
476
|
+
#
|
477
|
+
# @!attribute [rw] name
|
478
|
+
# The name of the record.
|
479
|
+
# @return [String]
|
480
|
+
#
|
481
|
+
# @!attribute [rw] arn
|
482
|
+
# The Amazon Resource Name (ARN) of the export snapshot record.
|
483
|
+
# @return [String]
|
484
|
+
#
|
485
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloudFormationStackRecordSourceInfo AWS API Documentation
|
486
|
+
#
|
487
|
+
class CloudFormationStackRecordSourceInfo < Struct.new(
|
488
|
+
:resource_type,
|
489
|
+
:name,
|
490
|
+
:arn)
|
491
|
+
include Aws::Structure
|
492
|
+
end
|
493
|
+
|
494
|
+
# @note When making an API call, you may pass CopySnapshotRequest
|
495
|
+
# data as a hash:
|
496
|
+
#
|
497
|
+
# {
|
498
|
+
# source_snapshot_name: "ResourceName", # required
|
499
|
+
# target_snapshot_name: "ResourceName", # required
|
500
|
+
# 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
|
501
|
+
# }
|
502
|
+
#
|
503
|
+
# @!attribute [rw] source_snapshot_name
|
504
|
+
# The name of the source instance or disk snapshot to be copied.
|
505
|
+
# @return [String]
|
506
|
+
#
|
507
|
+
# @!attribute [rw] target_snapshot_name
|
508
|
+
# The name of the new instance or disk snapshot to be created as a
|
509
|
+
# copy.
|
510
|
+
# @return [String]
|
511
|
+
#
|
512
|
+
# @!attribute [rw] source_region
|
513
|
+
# The AWS Region where the source snapshot is located.
|
514
|
+
# @return [String]
|
515
|
+
#
|
516
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CopySnapshotRequest AWS API Documentation
|
517
|
+
#
|
518
|
+
class CopySnapshotRequest < Struct.new(
|
519
|
+
:source_snapshot_name,
|
520
|
+
:target_snapshot_name,
|
521
|
+
:source_region)
|
522
|
+
include Aws::Structure
|
523
|
+
end
|
524
|
+
|
525
|
+
# @!attribute [rw] operations
|
526
|
+
# A list of objects describing the API operation.
|
527
|
+
# @return [Array<Types::Operation>]
|
528
|
+
#
|
529
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CopySnapshotResult AWS API Documentation
|
530
|
+
#
|
531
|
+
class CopySnapshotResult < Struct.new(
|
532
|
+
:operations)
|
533
|
+
include Aws::Structure
|
534
|
+
end
|
535
|
+
|
536
|
+
# @note When making an API call, you may pass CreateCloudFormationStackRequest
|
537
|
+
# data as a hash:
|
538
|
+
#
|
539
|
+
# {
|
540
|
+
# instances: [ # required
|
541
|
+
# {
|
542
|
+
# source_name: "ResourceName", # required
|
543
|
+
# instance_type: "NonEmptyString", # required
|
544
|
+
# port_info_source: "DEFAULT", # required, accepts DEFAULT, INSTANCE, NONE
|
545
|
+
# user_data: "string",
|
546
|
+
# availability_zone: "string", # required
|
547
|
+
# },
|
548
|
+
# ],
|
549
|
+
# }
|
550
|
+
#
|
551
|
+
# @!attribute [rw] instances
|
552
|
+
# An array of parameters that will be used to create the new Amazon
|
553
|
+
# EC2 instance. You can only pass one instance entry at a time in this
|
554
|
+
# array. You will get an invalid parameter error if you pass more than
|
555
|
+
# one instance entry in this array.
|
556
|
+
# @return [Array<Types::InstanceEntry>]
|
557
|
+
#
|
558
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCloudFormationStackRequest AWS API Documentation
|
559
|
+
#
|
560
|
+
class CreateCloudFormationStackRequest < Struct.new(
|
561
|
+
:instances)
|
562
|
+
include Aws::Structure
|
563
|
+
end
|
564
|
+
|
565
|
+
# @!attribute [rw] operations
|
566
|
+
# A list of objects describing the API operation.
|
567
|
+
# @return [Array<Types::Operation>]
|
568
|
+
#
|
569
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateCloudFormationStackResult AWS API Documentation
|
570
|
+
#
|
571
|
+
class CreateCloudFormationStackResult < Struct.new(
|
572
|
+
:operations)
|
573
|
+
include Aws::Structure
|
574
|
+
end
|
575
|
+
|
412
576
|
# @note When making an API call, you may pass CreateDiskFromSnapshotRequest
|
413
577
|
# data as a hash:
|
414
578
|
#
|
@@ -417,6 +581,12 @@ module Aws::Lightsail
|
|
417
581
|
# disk_snapshot_name: "ResourceName", # required
|
418
582
|
# availability_zone: "NonEmptyString", # required
|
419
583
|
# size_in_gb: 1, # required
|
584
|
+
# tags: [
|
585
|
+
# {
|
586
|
+
# key: "TagKey",
|
587
|
+
# value: "TagValue",
|
588
|
+
# },
|
589
|
+
# ],
|
420
590
|
# }
|
421
591
|
#
|
422
592
|
# @!attribute [rw] disk_name
|
@@ -441,13 +611,22 @@ module Aws::Lightsail
|
|
441
611
|
# The size of the disk in GB (e.g., `32`).
|
442
612
|
# @return [Integer]
|
443
613
|
#
|
614
|
+
# @!attribute [rw] tags
|
615
|
+
# The tag keys and optional values to add to the resource during
|
616
|
+
# create.
|
617
|
+
#
|
618
|
+
# To tag a resource after it has been created, see the `tag resource`
|
619
|
+
# operation.
|
620
|
+
# @return [Array<Types::Tag>]
|
621
|
+
#
|
444
622
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskFromSnapshotRequest AWS API Documentation
|
445
623
|
#
|
446
624
|
class CreateDiskFromSnapshotRequest < Struct.new(
|
447
625
|
:disk_name,
|
448
626
|
:disk_snapshot_name,
|
449
627
|
:availability_zone,
|
450
|
-
:size_in_gb
|
628
|
+
:size_in_gb,
|
629
|
+
:tags)
|
451
630
|
include Aws::Structure
|
452
631
|
end
|
453
632
|
|
@@ -469,6 +648,12 @@ module Aws::Lightsail
|
|
469
648
|
# disk_name: "ResourceName", # required
|
470
649
|
# availability_zone: "NonEmptyString", # required
|
471
650
|
# size_in_gb: 1, # required
|
651
|
+
# tags: [
|
652
|
+
# {
|
653
|
+
# key: "TagKey",
|
654
|
+
# value: "TagValue",
|
655
|
+
# },
|
656
|
+
# ],
|
472
657
|
# }
|
473
658
|
#
|
474
659
|
# @!attribute [rw] disk_name
|
@@ -488,12 +673,21 @@ module Aws::Lightsail
|
|
488
673
|
# The size of the disk in GB (e.g., `32`).
|
489
674
|
# @return [Integer]
|
490
675
|
#
|
676
|
+
# @!attribute [rw] tags
|
677
|
+
# The tag keys and optional values to add to the resource during
|
678
|
+
# create.
|
679
|
+
#
|
680
|
+
# To tag a resource after it has been created, see the `tag resource`
|
681
|
+
# operation.
|
682
|
+
# @return [Array<Types::Tag>]
|
683
|
+
#
|
491
684
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskRequest AWS API Documentation
|
492
685
|
#
|
493
686
|
class CreateDiskRequest < Struct.new(
|
494
687
|
:disk_name,
|
495
688
|
:availability_zone,
|
496
|
-
:size_in_gb
|
689
|
+
:size_in_gb,
|
690
|
+
:tags)
|
497
691
|
include Aws::Structure
|
498
692
|
end
|
499
693
|
|
@@ -514,6 +708,12 @@ module Aws::Lightsail
|
|
514
708
|
# {
|
515
709
|
# disk_name: "ResourceName", # required
|
516
710
|
# disk_snapshot_name: "ResourceName", # required
|
711
|
+
# tags: [
|
712
|
+
# {
|
713
|
+
# key: "TagKey",
|
714
|
+
# value: "TagValue",
|
715
|
+
# },
|
716
|
+
# ],
|
517
717
|
# }
|
518
718
|
#
|
519
719
|
# @!attribute [rw] disk_name
|
@@ -525,11 +725,20 @@ module Aws::Lightsail
|
|
525
725
|
# based on the source disk.
|
526
726
|
# @return [String]
|
527
727
|
#
|
728
|
+
# @!attribute [rw] tags
|
729
|
+
# The tag keys and optional values to add to the resource during
|
730
|
+
# create.
|
731
|
+
#
|
732
|
+
# To tag a resource after it has been created, see the `tag resource`
|
733
|
+
# operation.
|
734
|
+
# @return [Array<Types::Tag>]
|
735
|
+
#
|
528
736
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDiskSnapshotRequest AWS API Documentation
|
529
737
|
#
|
530
738
|
class CreateDiskSnapshotRequest < Struct.new(
|
531
739
|
:disk_name,
|
532
|
-
:disk_snapshot_name
|
740
|
+
:disk_snapshot_name,
|
741
|
+
:tags)
|
533
742
|
include Aws::Structure
|
534
743
|
end
|
535
744
|
|
@@ -596,6 +805,12 @@ module Aws::Lightsail
|
|
596
805
|
#
|
597
806
|
# {
|
598
807
|
# domain_name: "DomainName", # required
|
808
|
+
# tags: [
|
809
|
+
# {
|
810
|
+
# key: "TagKey",
|
811
|
+
# value: "TagValue",
|
812
|
+
# },
|
813
|
+
# ],
|
599
814
|
# }
|
600
815
|
#
|
601
816
|
# @!attribute [rw] domain_name
|
@@ -610,10 +825,19 @@ module Aws::Lightsail
|
|
610
825
|
# </note>
|
611
826
|
# @return [String]
|
612
827
|
#
|
828
|
+
# @!attribute [rw] tags
|
829
|
+
# The tag keys and optional values to add to the resource during
|
830
|
+
# create.
|
831
|
+
#
|
832
|
+
# To tag a resource after it has been created, see the `tag resource`
|
833
|
+
# operation.
|
834
|
+
# @return [Array<Types::Tag>]
|
835
|
+
#
|
613
836
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDomainRequest AWS API Documentation
|
614
837
|
#
|
615
838
|
class CreateDomainRequest < Struct.new(
|
616
|
-
:domain_name
|
839
|
+
:domain_name,
|
840
|
+
:tags)
|
617
841
|
include Aws::Structure
|
618
842
|
end
|
619
843
|
|
@@ -635,6 +859,12 @@ module Aws::Lightsail
|
|
635
859
|
# {
|
636
860
|
# instance_snapshot_name: "ResourceName", # required
|
637
861
|
# instance_name: "ResourceName", # required
|
862
|
+
# tags: [
|
863
|
+
# {
|
864
|
+
# key: "TagKey",
|
865
|
+
# value: "TagValue",
|
866
|
+
# },
|
867
|
+
# ],
|
638
868
|
# }
|
639
869
|
#
|
640
870
|
# @!attribute [rw] instance_snapshot_name
|
@@ -645,11 +875,20 @@ module Aws::Lightsail
|
|
645
875
|
# The Lightsail instance on which to base your snapshot.
|
646
876
|
# @return [String]
|
647
877
|
#
|
878
|
+
# @!attribute [rw] tags
|
879
|
+
# The tag keys and optional values to add to the resource during
|
880
|
+
# create.
|
881
|
+
#
|
882
|
+
# To tag a resource after it has been created, see the `tag resource`
|
883
|
+
# operation.
|
884
|
+
# @return [Array<Types::Tag>]
|
885
|
+
#
|
648
886
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstanceSnapshotRequest AWS API Documentation
|
649
887
|
#
|
650
888
|
class CreateInstanceSnapshotRequest < Struct.new(
|
651
889
|
:instance_snapshot_name,
|
652
|
-
:instance_name
|
890
|
+
:instance_name,
|
891
|
+
:tags)
|
653
892
|
include Aws::Structure
|
654
893
|
end
|
655
894
|
|
@@ -683,6 +922,12 @@ module Aws::Lightsail
|
|
683
922
|
# bundle_id: "NonEmptyString", # required
|
684
923
|
# user_data: "string",
|
685
924
|
# key_pair_name: "ResourceName",
|
925
|
+
# tags: [
|
926
|
+
# {
|
927
|
+
# key: "TagKey",
|
928
|
+
# value: "TagValue",
|
929
|
+
# },
|
930
|
+
# ],
|
686
931
|
# }
|
687
932
|
#
|
688
933
|
# @!attribute [rw] instance_names
|
@@ -737,6 +982,14 @@ module Aws::Lightsail
|
|
737
982
|
# The name for your key pair.
|
738
983
|
# @return [String]
|
739
984
|
#
|
985
|
+
# @!attribute [rw] tags
|
986
|
+
# The tag keys and optional values to add to the resource during
|
987
|
+
# create.
|
988
|
+
#
|
989
|
+
# To tag a resource after it has been created, see the `tag resource`
|
990
|
+
# operation.
|
991
|
+
# @return [Array<Types::Tag>]
|
992
|
+
#
|
740
993
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesFromSnapshotRequest AWS API Documentation
|
741
994
|
#
|
742
995
|
class CreateInstancesFromSnapshotRequest < Struct.new(
|
@@ -746,7 +999,8 @@ module Aws::Lightsail
|
|
746
999
|
:instance_snapshot_name,
|
747
1000
|
:bundle_id,
|
748
1001
|
:user_data,
|
749
|
-
:key_pair_name
|
1002
|
+
:key_pair_name,
|
1003
|
+
:tags)
|
750
1004
|
include Aws::Structure
|
751
1005
|
end
|
752
1006
|
|
@@ -773,6 +1027,12 @@ module Aws::Lightsail
|
|
773
1027
|
# bundle_id: "NonEmptyString", # required
|
774
1028
|
# user_data: "string",
|
775
1029
|
# key_pair_name: "ResourceName",
|
1030
|
+
# tags: [
|
1031
|
+
# {
|
1032
|
+
# key: "TagKey",
|
1033
|
+
# value: "TagValue",
|
1034
|
+
# },
|
1035
|
+
# ],
|
776
1036
|
# }
|
777
1037
|
#
|
778
1038
|
# @!attribute [rw] instance_names
|
@@ -835,6 +1095,14 @@ module Aws::Lightsail
|
|
835
1095
|
# The name of your key pair.
|
836
1096
|
# @return [String]
|
837
1097
|
#
|
1098
|
+
# @!attribute [rw] tags
|
1099
|
+
# The tag keys and optional values to add to the resource during
|
1100
|
+
# create.
|
1101
|
+
#
|
1102
|
+
# To tag a resource after it has been created, see the `tag resource`
|
1103
|
+
# operation.
|
1104
|
+
# @return [Array<Types::Tag>]
|
1105
|
+
#
|
838
1106
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateInstancesRequest AWS API Documentation
|
839
1107
|
#
|
840
1108
|
class CreateInstancesRequest < Struct.new(
|
@@ -844,7 +1112,8 @@ module Aws::Lightsail
|
|
844
1112
|
:blueprint_id,
|
845
1113
|
:bundle_id,
|
846
1114
|
:user_data,
|
847
|
-
:key_pair_name
|
1115
|
+
:key_pair_name,
|
1116
|
+
:tags)
|
848
1117
|
include Aws::Structure
|
849
1118
|
end
|
850
1119
|
|
@@ -865,16 +1134,31 @@ module Aws::Lightsail
|
|
865
1134
|
#
|
866
1135
|
# {
|
867
1136
|
# key_pair_name: "ResourceName", # required
|
1137
|
+
# tags: [
|
1138
|
+
# {
|
1139
|
+
# key: "TagKey",
|
1140
|
+
# value: "TagValue",
|
1141
|
+
# },
|
1142
|
+
# ],
|
868
1143
|
# }
|
869
1144
|
#
|
870
1145
|
# @!attribute [rw] key_pair_name
|
871
1146
|
# The name for your new key pair.
|
872
1147
|
# @return [String]
|
873
1148
|
#
|
1149
|
+
# @!attribute [rw] tags
|
1150
|
+
# The tag keys and optional values to add to the resource during
|
1151
|
+
# create.
|
1152
|
+
#
|
1153
|
+
# To tag a resource after it has been created, see the `tag resource`
|
1154
|
+
# operation.
|
1155
|
+
# @return [Array<Types::Tag>]
|
1156
|
+
#
|
874
1157
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateKeyPairRequest AWS API Documentation
|
875
1158
|
#
|
876
1159
|
class CreateKeyPairRequest < Struct.new(
|
877
|
-
:key_pair_name
|
1160
|
+
:key_pair_name,
|
1161
|
+
:tags)
|
878
1162
|
include Aws::Structure
|
879
1163
|
end
|
880
1164
|
|
@@ -916,6 +1200,12 @@ module Aws::Lightsail
|
|
916
1200
|
# certificate_name: "ResourceName",
|
917
1201
|
# certificate_domain_name: "DomainName",
|
918
1202
|
# certificate_alternative_names: ["DomainName"],
|
1203
|
+
# tags: [
|
1204
|
+
# {
|
1205
|
+
# key: "TagKey",
|
1206
|
+
# value: "TagValue",
|
1207
|
+
# },
|
1208
|
+
# ],
|
919
1209
|
# }
|
920
1210
|
#
|
921
1211
|
# @!attribute [rw] load_balancer_name
|
@@ -957,6 +1247,14 @@ module Aws::Lightsail
|
|
957
1247
|
# `m.example.com`, `blog.example.com`).
|
958
1248
|
# @return [Array<String>]
|
959
1249
|
#
|
1250
|
+
# @!attribute [rw] tags
|
1251
|
+
# The tag keys and optional values to add to the resource during
|
1252
|
+
# create.
|
1253
|
+
#
|
1254
|
+
# To tag a resource after it has been created, see the `tag resource`
|
1255
|
+
# operation.
|
1256
|
+
# @return [Array<Types::Tag>]
|
1257
|
+
#
|
960
1258
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerRequest AWS API Documentation
|
961
1259
|
#
|
962
1260
|
class CreateLoadBalancerRequest < Struct.new(
|
@@ -965,7 +1263,8 @@ module Aws::Lightsail
|
|
965
1263
|
:health_check_path,
|
966
1264
|
:certificate_name,
|
967
1265
|
:certificate_domain_name,
|
968
|
-
:certificate_alternative_names
|
1266
|
+
:certificate_alternative_names,
|
1267
|
+
:tags)
|
969
1268
|
include Aws::Structure
|
970
1269
|
end
|
971
1270
|
|
@@ -988,6 +1287,12 @@ module Aws::Lightsail
|
|
988
1287
|
# certificate_name: "ResourceName", # required
|
989
1288
|
# certificate_domain_name: "DomainName", # required
|
990
1289
|
# certificate_alternative_names: ["DomainName"],
|
1290
|
+
# tags: [
|
1291
|
+
# {
|
1292
|
+
# key: "TagKey",
|
1293
|
+
# value: "TagValue",
|
1294
|
+
# },
|
1295
|
+
# ],
|
991
1296
|
# }
|
992
1297
|
#
|
993
1298
|
# @!attribute [rw] load_balancer_name
|
@@ -1021,13 +1326,22 @@ module Aws::Lightsail
|
|
1021
1326
|
# `*.example.com`).
|
1022
1327
|
# @return [Array<String>]
|
1023
1328
|
#
|
1329
|
+
# @!attribute [rw] tags
|
1330
|
+
# The tag keys and optional values to add to the resource during
|
1331
|
+
# create.
|
1332
|
+
#
|
1333
|
+
# To tag a resource after it has been created, see the `tag resource`
|
1334
|
+
# operation.
|
1335
|
+
# @return [Array<Types::Tag>]
|
1336
|
+
#
|
1024
1337
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerTlsCertificateRequest AWS API Documentation
|
1025
1338
|
#
|
1026
1339
|
class CreateLoadBalancerTlsCertificateRequest < Struct.new(
|
1027
1340
|
:load_balancer_name,
|
1028
1341
|
:certificate_name,
|
1029
1342
|
:certificate_domain_name,
|
1030
|
-
:certificate_alternative_names
|
1343
|
+
:certificate_alternative_names,
|
1344
|
+
:tags)
|
1031
1345
|
include Aws::Structure
|
1032
1346
|
end
|
1033
1347
|
|
@@ -1054,6 +1368,12 @@ module Aws::Lightsail
|
|
1054
1368
|
# source_relational_database_name: "ResourceName",
|
1055
1369
|
# restore_time: Time.now,
|
1056
1370
|
# use_latest_restorable_time: false,
|
1371
|
+
# tags: [
|
1372
|
+
# {
|
1373
|
+
# key: "TagKey",
|
1374
|
+
# value: "TagValue",
|
1375
|
+
# },
|
1376
|
+
# ],
|
1057
1377
|
# }
|
1058
1378
|
#
|
1059
1379
|
# @!attribute [rw] relational_database_name
|
@@ -1131,6 +1451,14 @@ module Aws::Lightsail
|
|
1131
1451
|
# provided.
|
1132
1452
|
# @return [Boolean]
|
1133
1453
|
#
|
1454
|
+
# @!attribute [rw] tags
|
1455
|
+
# The tag keys and optional values to add to the resource during
|
1456
|
+
# create.
|
1457
|
+
#
|
1458
|
+
# To tag a resource after it has been created, see the `tag resource`
|
1459
|
+
# operation.
|
1460
|
+
# @return [Array<Types::Tag>]
|
1461
|
+
#
|
1134
1462
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseFromSnapshotRequest AWS API Documentation
|
1135
1463
|
#
|
1136
1464
|
class CreateRelationalDatabaseFromSnapshotRequest < Struct.new(
|
@@ -1141,7 +1469,8 @@ module Aws::Lightsail
|
|
1141
1469
|
:relational_database_bundle_id,
|
1142
1470
|
:source_relational_database_name,
|
1143
1471
|
:restore_time,
|
1144
|
-
:use_latest_restorable_time
|
1472
|
+
:use_latest_restorable_time,
|
1473
|
+
:tags)
|
1145
1474
|
include Aws::Structure
|
1146
1475
|
end
|
1147
1476
|
|
@@ -1171,6 +1500,12 @@ module Aws::Lightsail
|
|
1171
1500
|
# preferred_backup_window: "string",
|
1172
1501
|
# preferred_maintenance_window: "string",
|
1173
1502
|
# publicly_accessible: false,
|
1503
|
+
# tags: [
|
1504
|
+
# {
|
1505
|
+
# key: "TagKey",
|
1506
|
+
# value: "TagValue",
|
1507
|
+
# },
|
1508
|
+
# ],
|
1174
1509
|
# }
|
1175
1510
|
#
|
1176
1511
|
# @!attribute [rw] relational_database_name
|
@@ -1306,6 +1641,14 @@ module Aws::Lightsail
|
|
1306
1641
|
# same region as your database.
|
1307
1642
|
# @return [Boolean]
|
1308
1643
|
#
|
1644
|
+
# @!attribute [rw] tags
|
1645
|
+
# The tag keys and optional values to add to the resource during
|
1646
|
+
# create.
|
1647
|
+
#
|
1648
|
+
# To tag a resource after it has been created, see the `tag resource`
|
1649
|
+
# operation.
|
1650
|
+
# @return [Array<Types::Tag>]
|
1651
|
+
#
|
1309
1652
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseRequest AWS API Documentation
|
1310
1653
|
#
|
1311
1654
|
class CreateRelationalDatabaseRequest < Struct.new(
|
@@ -1318,7 +1661,8 @@ module Aws::Lightsail
|
|
1318
1661
|
:master_user_password,
|
1319
1662
|
:preferred_backup_window,
|
1320
1663
|
:preferred_maintenance_window,
|
1321
|
-
:publicly_accessible
|
1664
|
+
:publicly_accessible,
|
1665
|
+
:tags)
|
1322
1666
|
include Aws::Structure
|
1323
1667
|
end
|
1324
1668
|
|
@@ -1340,6 +1684,12 @@ module Aws::Lightsail
|
|
1340
1684
|
# {
|
1341
1685
|
# relational_database_name: "ResourceName", # required
|
1342
1686
|
# relational_database_snapshot_name: "ResourceName", # required
|
1687
|
+
# tags: [
|
1688
|
+
# {
|
1689
|
+
# key: "TagKey",
|
1690
|
+
# value: "TagValue",
|
1691
|
+
# },
|
1692
|
+
# ],
|
1343
1693
|
# }
|
1344
1694
|
#
|
1345
1695
|
# @!attribute [rw] relational_database_name
|
@@ -1356,11 +1706,20 @@ module Aws::Lightsail
|
|
1356
1706
|
# * The first and last character must be a letter or number.
|
1357
1707
|
# @return [String]
|
1358
1708
|
#
|
1709
|
+
# @!attribute [rw] tags
|
1710
|
+
# The tag keys and optional values to add to the resource during
|
1711
|
+
# create.
|
1712
|
+
#
|
1713
|
+
# To tag a resource after it has been created, see the `tag resource`
|
1714
|
+
# operation.
|
1715
|
+
# @return [Array<Types::Tag>]
|
1716
|
+
#
|
1359
1717
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateRelationalDatabaseSnapshotRequest AWS API Documentation
|
1360
1718
|
#
|
1361
1719
|
class CreateRelationalDatabaseSnapshotRequest < Struct.new(
|
1362
1720
|
:relational_database_name,
|
1363
|
-
:relational_database_snapshot_name
|
1721
|
+
:relational_database_snapshot_name,
|
1722
|
+
:tags)
|
1364
1723
|
include Aws::Structure
|
1365
1724
|
end
|
1366
1725
|
|
@@ -1768,6 +2127,24 @@ module Aws::Lightsail
|
|
1768
2127
|
include Aws::Structure
|
1769
2128
|
end
|
1770
2129
|
|
2130
|
+
# Describes the destination of a record.
|
2131
|
+
#
|
2132
|
+
# @!attribute [rw] id
|
2133
|
+
# The ID of the resource created at the destination.
|
2134
|
+
# @return [String]
|
2135
|
+
#
|
2136
|
+
# @!attribute [rw] service
|
2137
|
+
# The destination service of the record.
|
2138
|
+
# @return [String]
|
2139
|
+
#
|
2140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DestinationInfo AWS API Documentation
|
2141
|
+
#
|
2142
|
+
class DestinationInfo < Struct.new(
|
2143
|
+
:id,
|
2144
|
+
:service)
|
2145
|
+
include Aws::Structure
|
2146
|
+
end
|
2147
|
+
|
1771
2148
|
# @note When making an API call, you may pass DetachDiskRequest
|
1772
2149
|
# data as a hash:
|
1773
2150
|
#
|
@@ -1893,6 +2270,16 @@ module Aws::Lightsail
|
|
1893
2270
|
# The Lightsail resource type (e.g., `Disk`).
|
1894
2271
|
# @return [String]
|
1895
2272
|
#
|
2273
|
+
# @!attribute [rw] tags
|
2274
|
+
# The tag keys and optional values for the resource. For more
|
2275
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
2276
|
+
# Guide][1].
|
2277
|
+
#
|
2278
|
+
#
|
2279
|
+
#
|
2280
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
2281
|
+
# @return [Array<Types::Tag>]
|
2282
|
+
#
|
1896
2283
|
# @!attribute [rw] size_in_gb
|
1897
2284
|
# The size of the disk in GB.
|
1898
2285
|
# @return [Integer]
|
@@ -1951,6 +2338,7 @@ module Aws::Lightsail
|
|
1951
2338
|
:created_at,
|
1952
2339
|
:location,
|
1953
2340
|
:resource_type,
|
2341
|
+
:tags,
|
1954
2342
|
:size_in_gb,
|
1955
2343
|
:is_system_disk,
|
1956
2344
|
:iops,
|
@@ -1963,6 +2351,35 @@ module Aws::Lightsail
|
|
1963
2351
|
include Aws::Structure
|
1964
2352
|
end
|
1965
2353
|
|
2354
|
+
# Describes a disk.
|
2355
|
+
#
|
2356
|
+
# @!attribute [rw] name
|
2357
|
+
# The disk name.
|
2358
|
+
# @return [String]
|
2359
|
+
#
|
2360
|
+
# @!attribute [rw] path
|
2361
|
+
# The disk path.
|
2362
|
+
# @return [String]
|
2363
|
+
#
|
2364
|
+
# @!attribute [rw] size_in_gb
|
2365
|
+
# The size of the disk in GB (e.g., `32`).
|
2366
|
+
# @return [Integer]
|
2367
|
+
#
|
2368
|
+
# @!attribute [rw] is_system_disk
|
2369
|
+
# A Boolean value indicating whether this disk is a system disk (has
|
2370
|
+
# an operating system loaded on it).
|
2371
|
+
# @return [Boolean]
|
2372
|
+
#
|
2373
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskInfo AWS API Documentation
|
2374
|
+
#
|
2375
|
+
class DiskInfo < Struct.new(
|
2376
|
+
:name,
|
2377
|
+
:path,
|
2378
|
+
:size_in_gb,
|
2379
|
+
:is_system_disk)
|
2380
|
+
include Aws::Structure
|
2381
|
+
end
|
2382
|
+
|
1966
2383
|
# Describes a block storage disk mapping.
|
1967
2384
|
#
|
1968
2385
|
# @note When making an API call, you may pass DiskMap
|
@@ -2020,6 +2437,16 @@ module Aws::Lightsail
|
|
2020
2437
|
# The Lightsail resource type (e.g., `DiskSnapshot`).
|
2021
2438
|
# @return [String]
|
2022
2439
|
#
|
2440
|
+
# @!attribute [rw] tags
|
2441
|
+
# The tag keys and optional values for the resource. For more
|
2442
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
2443
|
+
# Guide][1].
|
2444
|
+
#
|
2445
|
+
#
|
2446
|
+
#
|
2447
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
2448
|
+
# @return [Array<Types::Tag>]
|
2449
|
+
#
|
2023
2450
|
# @!attribute [rw] size_in_gb
|
2024
2451
|
# The size of the disk in GB.
|
2025
2452
|
# @return [Integer]
|
@@ -2051,6 +2478,7 @@ module Aws::Lightsail
|
|
2051
2478
|
:created_at,
|
2052
2479
|
:location,
|
2053
2480
|
:resource_type,
|
2481
|
+
:tags,
|
2054
2482
|
:size_in_gb,
|
2055
2483
|
:state,
|
2056
2484
|
:progress,
|
@@ -2059,6 +2487,19 @@ module Aws::Lightsail
|
|
2059
2487
|
include Aws::Structure
|
2060
2488
|
end
|
2061
2489
|
|
2490
|
+
# Describes a disk snapshot.
|
2491
|
+
#
|
2492
|
+
# @!attribute [rw] size_in_gb
|
2493
|
+
# The size of the disk in GB (e.g., `32`).
|
2494
|
+
# @return [Integer]
|
2495
|
+
#
|
2496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DiskSnapshotInfo AWS API Documentation
|
2497
|
+
#
|
2498
|
+
class DiskSnapshotInfo < Struct.new(
|
2499
|
+
:size_in_gb)
|
2500
|
+
include Aws::Structure
|
2501
|
+
end
|
2502
|
+
|
2062
2503
|
# Describes a domain where you are storing recordsets in Lightsail.
|
2063
2504
|
#
|
2064
2505
|
# @!attribute [rw] name
|
@@ -2090,6 +2531,16 @@ module Aws::Lightsail
|
|
2090
2531
|
# The resource type.
|
2091
2532
|
# @return [String]
|
2092
2533
|
#
|
2534
|
+
# @!attribute [rw] tags
|
2535
|
+
# The tag keys and optional values for the resource. For more
|
2536
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
2537
|
+
# Guide][1].
|
2538
|
+
#
|
2539
|
+
#
|
2540
|
+
#
|
2541
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
2542
|
+
# @return [Array<Types::Tag>]
|
2543
|
+
#
|
2093
2544
|
# @!attribute [rw] domain_entries
|
2094
2545
|
# An array of key-value pairs containing information about the domain
|
2095
2546
|
# entries.
|
@@ -2104,6 +2555,7 @@ module Aws::Lightsail
|
|
2104
2555
|
:created_at,
|
2105
2556
|
:location,
|
2106
2557
|
:resource_type,
|
2558
|
+
:tags,
|
2107
2559
|
:domain_entries)
|
2108
2560
|
include Aws::Structure
|
2109
2561
|
end
|
@@ -2148,50 +2600,182 @@ module Aws::Lightsail
|
|
2148
2600
|
# routes traffic to your load balancer
|
2149
2601
|
# @return [Boolean]
|
2150
2602
|
#
|
2151
|
-
# @!attribute [rw] type
|
2152
|
-
# The type of domain entry (e.g., `SOA` or `NS`).
|
2603
|
+
# @!attribute [rw] type
|
2604
|
+
# The type of domain entry (e.g., `SOA` or `NS`).
|
2605
|
+
# @return [String]
|
2606
|
+
#
|
2607
|
+
# @!attribute [rw] options
|
2608
|
+
# (Deprecated) The options for the domain entry.
|
2609
|
+
#
|
2610
|
+
# <note markdown="1"> In releases prior to November 29, 2017, this parameter was not
|
2611
|
+
# included in the API response. It is now deprecated.
|
2612
|
+
#
|
2613
|
+
# </note>
|
2614
|
+
# @return [Hash<String,String>]
|
2615
|
+
#
|
2616
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DomainEntry AWS API Documentation
|
2617
|
+
#
|
2618
|
+
class DomainEntry < Struct.new(
|
2619
|
+
:id,
|
2620
|
+
:name,
|
2621
|
+
:target,
|
2622
|
+
:is_alias,
|
2623
|
+
:type,
|
2624
|
+
:options)
|
2625
|
+
include Aws::Structure
|
2626
|
+
end
|
2627
|
+
|
2628
|
+
# @api private
|
2629
|
+
#
|
2630
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairRequest AWS API Documentation
|
2631
|
+
#
|
2632
|
+
class DownloadDefaultKeyPairRequest < Aws::EmptyStructure; end
|
2633
|
+
|
2634
|
+
# @!attribute [rw] public_key_base_64
|
2635
|
+
# A base64-encoded public key of the `ssh-rsa` type.
|
2636
|
+
# @return [String]
|
2637
|
+
#
|
2638
|
+
# @!attribute [rw] private_key_base_64
|
2639
|
+
# A base64-encoded RSA private key.
|
2640
|
+
# @return [String]
|
2641
|
+
#
|
2642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DownloadDefaultKeyPairResult AWS API Documentation
|
2643
|
+
#
|
2644
|
+
class DownloadDefaultKeyPairResult < Struct.new(
|
2645
|
+
:public_key_base_64,
|
2646
|
+
:private_key_base_64)
|
2647
|
+
include Aws::Structure
|
2648
|
+
end
|
2649
|
+
|
2650
|
+
# Describes an export snapshot record.
|
2651
|
+
#
|
2652
|
+
# @!attribute [rw] name
|
2653
|
+
# The export snapshot record name.
|
2654
|
+
# @return [String]
|
2655
|
+
#
|
2656
|
+
# @!attribute [rw] arn
|
2657
|
+
# The Amazon Resource Name (ARN) of the export snapshot record.
|
2658
|
+
# @return [String]
|
2659
|
+
#
|
2660
|
+
# @!attribute [rw] created_at
|
2661
|
+
# The date when the export snapshot record was created.
|
2662
|
+
# @return [Time]
|
2663
|
+
#
|
2664
|
+
# @!attribute [rw] location
|
2665
|
+
# The AWS Region and Availability Zone where the export snapshot
|
2666
|
+
# record is located.
|
2667
|
+
# @return [Types::ResourceLocation]
|
2668
|
+
#
|
2669
|
+
# @!attribute [rw] resource_type
|
2670
|
+
# The Lightsail resource type (e.g., `ExportSnapshotRecord`).
|
2671
|
+
# @return [String]
|
2672
|
+
#
|
2673
|
+
# @!attribute [rw] state
|
2674
|
+
# The state of the export snapshot record.
|
2675
|
+
# @return [String]
|
2676
|
+
#
|
2677
|
+
# @!attribute [rw] source_info
|
2678
|
+
# A list of objects describing the source of the export snapshot
|
2679
|
+
# record.
|
2680
|
+
# @return [Types::ExportSnapshotRecordSourceInfo]
|
2681
|
+
#
|
2682
|
+
# @!attribute [rw] destination_info
|
2683
|
+
# A list of objects describing the destination of the export snapshot
|
2684
|
+
# record.
|
2685
|
+
# @return [Types::DestinationInfo]
|
2686
|
+
#
|
2687
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ExportSnapshotRecord AWS API Documentation
|
2688
|
+
#
|
2689
|
+
class ExportSnapshotRecord < Struct.new(
|
2690
|
+
:name,
|
2691
|
+
:arn,
|
2692
|
+
:created_at,
|
2693
|
+
:location,
|
2694
|
+
:resource_type,
|
2695
|
+
:state,
|
2696
|
+
:source_info,
|
2697
|
+
:destination_info)
|
2698
|
+
include Aws::Structure
|
2699
|
+
end
|
2700
|
+
|
2701
|
+
# Describes the source of an export snapshot record.
|
2702
|
+
#
|
2703
|
+
# @!attribute [rw] resource_type
|
2704
|
+
# The Lightsail resource type (e.g., `InstanceSnapshot` or
|
2705
|
+
# `DiskSnapshot`).
|
2706
|
+
# @return [String]
|
2707
|
+
#
|
2708
|
+
# @!attribute [rw] created_at
|
2709
|
+
# The date when the source instance or disk snapshot was created.
|
2710
|
+
# @return [Time]
|
2711
|
+
#
|
2712
|
+
# @!attribute [rw] name
|
2713
|
+
# The name of the source instance or disk snapshot.
|
2714
|
+
# @return [String]
|
2715
|
+
#
|
2716
|
+
# @!attribute [rw] arn
|
2717
|
+
# The Amazon Resource Name (ARN) of the source instance or disk
|
2718
|
+
# snapshot.
|
2153
2719
|
# @return [String]
|
2154
2720
|
#
|
2155
|
-
# @!attribute [rw]
|
2156
|
-
#
|
2721
|
+
# @!attribute [rw] from_resource_name
|
2722
|
+
# The name of the snapshot's source instance or disk.
|
2723
|
+
# @return [String]
|
2157
2724
|
#
|
2158
|
-
#
|
2159
|
-
#
|
2725
|
+
# @!attribute [rw] from_resource_arn
|
2726
|
+
# The Amazon Resource Name (ARN) of the snapshot's source instance or
|
2727
|
+
# disk.
|
2728
|
+
# @return [String]
|
2160
2729
|
#
|
2161
|
-
#
|
2162
|
-
#
|
2730
|
+
# @!attribute [rw] instance_snapshot_info
|
2731
|
+
# A list of objects describing an instance snapshot.
|
2732
|
+
# @return [Types::InstanceSnapshotInfo]
|
2163
2733
|
#
|
2164
|
-
#
|
2734
|
+
# @!attribute [rw] disk_snapshot_info
|
2735
|
+
# A list of objects describing a disk snapshot.
|
2736
|
+
# @return [Types::DiskSnapshotInfo]
|
2165
2737
|
#
|
2166
|
-
|
2167
|
-
|
2738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ExportSnapshotRecordSourceInfo AWS API Documentation
|
2739
|
+
#
|
2740
|
+
class ExportSnapshotRecordSourceInfo < Struct.new(
|
2741
|
+
:resource_type,
|
2742
|
+
:created_at,
|
2168
2743
|
:name,
|
2169
|
-
:
|
2170
|
-
:
|
2171
|
-
:
|
2172
|
-
:
|
2744
|
+
:arn,
|
2745
|
+
:from_resource_name,
|
2746
|
+
:from_resource_arn,
|
2747
|
+
:instance_snapshot_info,
|
2748
|
+
:disk_snapshot_info)
|
2173
2749
|
include Aws::Structure
|
2174
2750
|
end
|
2175
2751
|
|
2176
|
-
# @
|
2752
|
+
# @note When making an API call, you may pass ExportSnapshotRequest
|
2753
|
+
# data as a hash:
|
2177
2754
|
#
|
2178
|
-
#
|
2755
|
+
# {
|
2756
|
+
# source_snapshot_name: "ResourceName", # required
|
2757
|
+
# }
|
2179
2758
|
#
|
2180
|
-
|
2181
|
-
|
2182
|
-
#
|
2183
|
-
# A base64-encoded public key of the `ssh-rsa` type.
|
2759
|
+
# @!attribute [rw] source_snapshot_name
|
2760
|
+
# The name of the instance or disk snapshot to be exported to Amazon
|
2761
|
+
# EC2.
|
2184
2762
|
# @return [String]
|
2185
2763
|
#
|
2186
|
-
#
|
2187
|
-
# A base64-encoded RSA private key.
|
2188
|
-
# @return [String]
|
2764
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ExportSnapshotRequest AWS API Documentation
|
2189
2765
|
#
|
2190
|
-
|
2766
|
+
class ExportSnapshotRequest < Struct.new(
|
2767
|
+
:source_snapshot_name)
|
2768
|
+
include Aws::Structure
|
2769
|
+
end
|
2770
|
+
|
2771
|
+
# @!attribute [rw] operations
|
2772
|
+
# A list of objects describing the API operation.
|
2773
|
+
# @return [Array<Types::Operation>]
|
2191
2774
|
#
|
2192
|
-
|
2193
|
-
|
2194
|
-
|
2775
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ExportSnapshotResult AWS API Documentation
|
2776
|
+
#
|
2777
|
+
class ExportSnapshotResult < Struct.new(
|
2778
|
+
:operations)
|
2195
2779
|
include Aws::Structure
|
2196
2780
|
end
|
2197
2781
|
|
@@ -2319,6 +2903,42 @@ module Aws::Lightsail
|
|
2319
2903
|
include Aws::Structure
|
2320
2904
|
end
|
2321
2905
|
|
2906
|
+
# @note When making an API call, you may pass GetCloudFormationStackRecordsRequest
|
2907
|
+
# data as a hash:
|
2908
|
+
#
|
2909
|
+
# {
|
2910
|
+
# page_token: "string",
|
2911
|
+
# }
|
2912
|
+
#
|
2913
|
+
# @!attribute [rw] page_token
|
2914
|
+
# A token used for advancing to a specific page of results for your
|
2915
|
+
# `get cloud formation stack records` request.
|
2916
|
+
# @return [String]
|
2917
|
+
#
|
2918
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCloudFormationStackRecordsRequest AWS API Documentation
|
2919
|
+
#
|
2920
|
+
class GetCloudFormationStackRecordsRequest < Struct.new(
|
2921
|
+
:page_token)
|
2922
|
+
include Aws::Structure
|
2923
|
+
end
|
2924
|
+
|
2925
|
+
# @!attribute [rw] cloud_formation_stack_records
|
2926
|
+
# A list of objects describing the CloudFormation stack records.
|
2927
|
+
# @return [Array<Types::CloudFormationStackRecord>]
|
2928
|
+
#
|
2929
|
+
# @!attribute [rw] next_page_token
|
2930
|
+
# A token used for advancing to the next page of results of your get
|
2931
|
+
# relational database bundles request.
|
2932
|
+
# @return [String]
|
2933
|
+
#
|
2934
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCloudFormationStackRecordsResult AWS API Documentation
|
2935
|
+
#
|
2936
|
+
class GetCloudFormationStackRecordsResult < Struct.new(
|
2937
|
+
:cloud_formation_stack_records,
|
2938
|
+
:next_page_token)
|
2939
|
+
include Aws::Structure
|
2940
|
+
end
|
2941
|
+
|
2322
2942
|
# @note When making an API call, you may pass GetDiskRequest
|
2323
2943
|
# data as a hash:
|
2324
2944
|
#
|
@@ -2518,6 +3138,42 @@ module Aws::Lightsail
|
|
2518
3138
|
include Aws::Structure
|
2519
3139
|
end
|
2520
3140
|
|
3141
|
+
# @note When making an API call, you may pass GetExportSnapshotRecordsRequest
|
3142
|
+
# data as a hash:
|
3143
|
+
#
|
3144
|
+
# {
|
3145
|
+
# page_token: "string",
|
3146
|
+
# }
|
3147
|
+
#
|
3148
|
+
# @!attribute [rw] page_token
|
3149
|
+
# A token used for advancing to a specific page of results for your
|
3150
|
+
# `get export snapshot records` request.
|
3151
|
+
# @return [String]
|
3152
|
+
#
|
3153
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetExportSnapshotRecordsRequest AWS API Documentation
|
3154
|
+
#
|
3155
|
+
class GetExportSnapshotRecordsRequest < Struct.new(
|
3156
|
+
:page_token)
|
3157
|
+
include Aws::Structure
|
3158
|
+
end
|
3159
|
+
|
3160
|
+
# @!attribute [rw] export_snapshot_records
|
3161
|
+
# A list of objects describing the export snapshot records.
|
3162
|
+
# @return [Array<Types::ExportSnapshotRecord>]
|
3163
|
+
#
|
3164
|
+
# @!attribute [rw] next_page_token
|
3165
|
+
# A token used for advancing to the next page of results of your get
|
3166
|
+
# relational database bundles request.
|
3167
|
+
# @return [String]
|
3168
|
+
#
|
3169
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetExportSnapshotRecordsResult AWS API Documentation
|
3170
|
+
#
|
3171
|
+
class GetExportSnapshotRecordsResult < Struct.new(
|
3172
|
+
:export_snapshot_records,
|
3173
|
+
:next_page_token)
|
3174
|
+
include Aws::Structure
|
3175
|
+
end
|
3176
|
+
|
2521
3177
|
# @note When making an API call, you may pass GetInstanceAccessDetailsRequest
|
2522
3178
|
# data as a hash:
|
2523
3179
|
#
|
@@ -3418,7 +4074,7 @@ module Aws::Lightsail
|
|
3418
4074
|
#
|
3419
4075
|
# @!attribute [rw] page_token
|
3420
4076
|
# A token used for advancing to a specific page of results for your
|
3421
|
-
# get relational database blueprints request.
|
4077
|
+
# `get relational database blueprints` request.
|
3422
4078
|
# @return [String]
|
3423
4079
|
#
|
3424
4080
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBlueprintsRequest AWS API Documentation
|
@@ -3455,7 +4111,7 @@ module Aws::Lightsail
|
|
3455
4111
|
#
|
3456
4112
|
# @!attribute [rw] page_token
|
3457
4113
|
# A token used for advancing to a specific page of results for your
|
3458
|
-
# get relational database bundles request.
|
4114
|
+
# `get relational database bundles` request.
|
3459
4115
|
# @return [String]
|
3460
4116
|
#
|
3461
4117
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseBundlesRequest AWS API Documentation
|
@@ -3597,7 +4253,7 @@ module Aws::Lightsail
|
|
3597
4253
|
#
|
3598
4254
|
# @!attribute [rw] page_token
|
3599
4255
|
# A token used for advancing to a specific page of results for your
|
3600
|
-
# get relational database log events request.
|
4256
|
+
# `get relational database log events` request.
|
3601
4257
|
# @return [String]
|
3602
4258
|
#
|
3603
4259
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseLogEventsRequest AWS API Documentation
|
@@ -3818,7 +4474,7 @@ module Aws::Lightsail
|
|
3818
4474
|
#
|
3819
4475
|
# @!attribute [rw] page_token
|
3820
4476
|
# A token used for advancing to a specific page of results for your
|
3821
|
-
# get relational database parameters request.
|
4477
|
+
# `get relational database parameters` request.
|
3822
4478
|
# @return [String]
|
3823
4479
|
#
|
3824
4480
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseParametersRequest AWS API Documentation
|
@@ -3914,7 +4570,7 @@ module Aws::Lightsail
|
|
3914
4570
|
#
|
3915
4571
|
# @!attribute [rw] page_token
|
3916
4572
|
# A token used for advancing to a specific page of results for your
|
3917
|
-
# get relational database snapshots request.
|
4573
|
+
# `get relational database snapshots` request.
|
3918
4574
|
# @return [String]
|
3919
4575
|
#
|
3920
4576
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseSnapshotsRequest AWS API Documentation
|
@@ -3951,7 +4607,7 @@ module Aws::Lightsail
|
|
3951
4607
|
#
|
3952
4608
|
# @!attribute [rw] page_token
|
3953
4609
|
# A token used for advancing to a specific page of results for your
|
3954
|
-
# get relational database request.
|
4610
|
+
# `get relational database` request.
|
3955
4611
|
# @return [String]
|
3956
4612
|
#
|
3957
4613
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabasesRequest AWS API Documentation
|
@@ -4114,6 +4770,16 @@ module Aws::Lightsail
|
|
4114
4770
|
# The type of resource (usually `Instance`).
|
4115
4771
|
# @return [String]
|
4116
4772
|
#
|
4773
|
+
# @!attribute [rw] tags
|
4774
|
+
# The tag keys and optional values for the resource. For more
|
4775
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
4776
|
+
# Guide][1].
|
4777
|
+
#
|
4778
|
+
#
|
4779
|
+
#
|
4780
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
4781
|
+
# @return [Array<Types::Tag>]
|
4782
|
+
#
|
4117
4783
|
# @!attribute [rw] blueprint_id
|
4118
4784
|
# The blueprint ID (e.g., `os_amlinux_2016_03`).
|
4119
4785
|
# @return [String]
|
@@ -4174,6 +4840,7 @@ module Aws::Lightsail
|
|
4174
4840
|
:created_at,
|
4175
4841
|
:location,
|
4176
4842
|
:resource_type,
|
4843
|
+
:tags,
|
4177
4844
|
:blueprint_id,
|
4178
4845
|
:blueprint_name,
|
4179
4846
|
:bundle_id,
|
@@ -4265,6 +4932,76 @@ module Aws::Lightsail
|
|
4265
4932
|
include Aws::Structure
|
4266
4933
|
end
|
4267
4934
|
|
4935
|
+
# Describes the Amazon Elastic Compute Cloud instance and related
|
4936
|
+
# resources to be created using the `create cloud formation stack`
|
4937
|
+
# operation.
|
4938
|
+
#
|
4939
|
+
# @note When making an API call, you may pass InstanceEntry
|
4940
|
+
# data as a hash:
|
4941
|
+
#
|
4942
|
+
# {
|
4943
|
+
# source_name: "ResourceName", # required
|
4944
|
+
# instance_type: "NonEmptyString", # required
|
4945
|
+
# port_info_source: "DEFAULT", # required, accepts DEFAULT, INSTANCE, NONE
|
4946
|
+
# user_data: "string",
|
4947
|
+
# availability_zone: "string", # required
|
4948
|
+
# }
|
4949
|
+
#
|
4950
|
+
# @!attribute [rw] source_name
|
4951
|
+
# The name of the export snapshot record, which contains the exported
|
4952
|
+
# Lightsail instance snapshot that will be used as the source of the
|
4953
|
+
# new Amazon EC2 instance.
|
4954
|
+
#
|
4955
|
+
# Use the `get export snapshot records` operation to get a list of
|
4956
|
+
# export snapshot records that you can use to create a CloudFormation
|
4957
|
+
# stack.
|
4958
|
+
# @return [String]
|
4959
|
+
#
|
4960
|
+
# @!attribute [rw] instance_type
|
4961
|
+
# The instance type (e.g., `t2.micro`) to use for the new Amazon EC2
|
4962
|
+
# instance.
|
4963
|
+
# @return [String]
|
4964
|
+
#
|
4965
|
+
# @!attribute [rw] port_info_source
|
4966
|
+
# The port configuration to use for the new Amazon EC2 instance.
|
4967
|
+
#
|
4968
|
+
# The following configuration options are available:
|
4969
|
+
#
|
4970
|
+
# * DEFAULT — Use the default firewall settings from the image.
|
4971
|
+
#
|
4972
|
+
# * INSTANCE — Use the firewall settings from the source Lightsail
|
4973
|
+
# instance.
|
4974
|
+
#
|
4975
|
+
# * NONE — Default to Amazon EC2.
|
4976
|
+
# @return [String]
|
4977
|
+
#
|
4978
|
+
# @!attribute [rw] user_data
|
4979
|
+
# A launch script you can create that configures a server with
|
4980
|
+
# additional user data. For example, you might want to run `apt-get -y
|
4981
|
+
# update`.
|
4982
|
+
#
|
4983
|
+
# <note markdown="1"> Depending on the machine image you choose, the command to get
|
4984
|
+
# software on your instance varies. Amazon Linux and CentOS use `yum`,
|
4985
|
+
# Debian and Ubuntu use `apt-get`, and FreeBSD uses `pkg`.
|
4986
|
+
#
|
4987
|
+
# </note>
|
4988
|
+
# @return [String]
|
4989
|
+
#
|
4990
|
+
# @!attribute [rw] availability_zone
|
4991
|
+
# The Availability Zone for the new Amazon EC2 instance.
|
4992
|
+
# @return [String]
|
4993
|
+
#
|
4994
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceEntry AWS API Documentation
|
4995
|
+
#
|
4996
|
+
class InstanceEntry < Struct.new(
|
4997
|
+
:source_name,
|
4998
|
+
:instance_type,
|
4999
|
+
:port_info_source,
|
5000
|
+
:user_data,
|
5001
|
+
:availability_zone)
|
5002
|
+
include Aws::Structure
|
5003
|
+
end
|
5004
|
+
|
4268
5005
|
# Describes the hardware for the instance.
|
4269
5006
|
#
|
4270
5007
|
# @!attribute [rw] cpu_count
|
@@ -4538,6 +5275,16 @@ module Aws::Lightsail
|
|
4538
5275
|
# The type of resource (usually `InstanceSnapshot`).
|
4539
5276
|
# @return [String]
|
4540
5277
|
#
|
5278
|
+
# @!attribute [rw] tags
|
5279
|
+
# The tag keys and optional values for the resource. For more
|
5280
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
5281
|
+
# Guide][1].
|
5282
|
+
#
|
5283
|
+
#
|
5284
|
+
#
|
5285
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
5286
|
+
# @return [Array<Types::Tag>]
|
5287
|
+
#
|
4541
5288
|
# @!attribute [rw] state
|
4542
5289
|
# The state the snapshot is in.
|
4543
5290
|
# @return [String]
|
@@ -4585,6 +5332,7 @@ module Aws::Lightsail
|
|
4585
5332
|
:created_at,
|
4586
5333
|
:location,
|
4587
5334
|
:resource_type,
|
5335
|
+
:tags,
|
4588
5336
|
:state,
|
4589
5337
|
:progress,
|
4590
5338
|
:from_attached_disks,
|
@@ -4596,6 +5344,32 @@ module Aws::Lightsail
|
|
4596
5344
|
include Aws::Structure
|
4597
5345
|
end
|
4598
5346
|
|
5347
|
+
# Describes an instance snapshot.
|
5348
|
+
#
|
5349
|
+
# @!attribute [rw] from_bundle_id
|
5350
|
+
# The bundle ID from which the source instance was created (e.g.,
|
5351
|
+
# `micro_1_0`).
|
5352
|
+
# @return [String]
|
5353
|
+
#
|
5354
|
+
# @!attribute [rw] from_blueprint_id
|
5355
|
+
# The blueprint ID from which the source instance (e.g.,
|
5356
|
+
# `os_debian_8_3`).
|
5357
|
+
# @return [String]
|
5358
|
+
#
|
5359
|
+
# @!attribute [rw] from_disk_info
|
5360
|
+
# A list of objects describing the disks that were attached to the
|
5361
|
+
# source instance.
|
5362
|
+
# @return [Array<Types::DiskInfo>]
|
5363
|
+
#
|
5364
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceSnapshotInfo AWS API Documentation
|
5365
|
+
#
|
5366
|
+
class InstanceSnapshotInfo < Struct.new(
|
5367
|
+
:from_bundle_id,
|
5368
|
+
:from_blueprint_id,
|
5369
|
+
:from_disk_info)
|
5370
|
+
include Aws::Structure
|
5371
|
+
end
|
5372
|
+
|
4599
5373
|
# Describes the virtual private server (or *instance*) status.
|
4600
5374
|
#
|
4601
5375
|
# @!attribute [rw] code
|
@@ -4663,6 +5437,16 @@ module Aws::Lightsail
|
|
4663
5437
|
# The resource type (usually `KeyPair`).
|
4664
5438
|
# @return [String]
|
4665
5439
|
#
|
5440
|
+
# @!attribute [rw] tags
|
5441
|
+
# The tag keys and optional values for the resource. For more
|
5442
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
5443
|
+
# Guide][1].
|
5444
|
+
#
|
5445
|
+
#
|
5446
|
+
#
|
5447
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
5448
|
+
# @return [Array<Types::Tag>]
|
5449
|
+
#
|
4666
5450
|
# @!attribute [rw] fingerprint
|
4667
5451
|
# The RSA fingerprint of the key pair.
|
4668
5452
|
# @return [String]
|
@@ -4676,6 +5460,7 @@ module Aws::Lightsail
|
|
4676
5460
|
:created_at,
|
4677
5461
|
:location,
|
4678
5462
|
:resource_type,
|
5463
|
+
:tags,
|
4679
5464
|
:fingerprint)
|
4680
5465
|
include Aws::Structure
|
4681
5466
|
end
|
@@ -4711,6 +5496,16 @@ module Aws::Lightsail
|
|
4711
5496
|
# The resource type (e.g., `LoadBalancer`.
|
4712
5497
|
# @return [String]
|
4713
5498
|
#
|
5499
|
+
# @!attribute [rw] tags
|
5500
|
+
# The tag keys and optional values for the resource. For more
|
5501
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
5502
|
+
# Guide][1].
|
5503
|
+
#
|
5504
|
+
#
|
5505
|
+
#
|
5506
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
5507
|
+
# @return [Array<Types::Tag>]
|
5508
|
+
#
|
4714
5509
|
# @!attribute [rw] dns_name
|
4715
5510
|
# The DNS name of your Lightsail load balancer.
|
4716
5511
|
# @return [String]
|
@@ -4768,6 +5563,7 @@ module Aws::Lightsail
|
|
4768
5563
|
:created_at,
|
4769
5564
|
:location,
|
4770
5565
|
:resource_type,
|
5566
|
+
:tags,
|
4771
5567
|
:dns_name,
|
4772
5568
|
:state,
|
4773
5569
|
:protocol,
|
@@ -4837,6 +5633,16 @@ module Aws::Lightsail
|
|
4837
5633
|
# * <b> <code>DiskSnapshot</code> </b> - A block storage disk snapshot
|
4838
5634
|
# @return [String]
|
4839
5635
|
#
|
5636
|
+
# @!attribute [rw] tags
|
5637
|
+
# The tag keys and optional values for the resource. For more
|
5638
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
5639
|
+
# Guide][1].
|
5640
|
+
#
|
5641
|
+
#
|
5642
|
+
#
|
5643
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
5644
|
+
# @return [Array<Types::Tag>]
|
5645
|
+
#
|
4840
5646
|
# @!attribute [rw] load_balancer_name
|
4841
5647
|
# The load balancer name where your SSL/TLS certificate is attached.
|
4842
5648
|
# @return [String]
|
@@ -4928,6 +5734,7 @@ module Aws::Lightsail
|
|
4928
5734
|
:created_at,
|
4929
5735
|
:location,
|
4930
5736
|
:resource_type,
|
5737
|
+
:tags,
|
4931
5738
|
:load_balancer_name,
|
4932
5739
|
:is_attached,
|
4933
5740
|
:status,
|
@@ -5544,6 +6351,16 @@ module Aws::Lightsail
|
|
5544
6351
|
# `RelationalDatabase`).
|
5545
6352
|
# @return [String]
|
5546
6353
|
#
|
6354
|
+
# @!attribute [rw] tags
|
6355
|
+
# The tag keys and optional values for the resource. For more
|
6356
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
6357
|
+
# Guide][1].
|
6358
|
+
#
|
6359
|
+
#
|
6360
|
+
#
|
6361
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
6362
|
+
# @return [Array<Types::Tag>]
|
6363
|
+
#
|
5547
6364
|
# @!attribute [rw] relational_database_blueprint_id
|
5548
6365
|
# The blueprint ID for the database. A blueprint describes the major
|
5549
6366
|
# engine version of a database.
|
@@ -5640,6 +6457,7 @@ module Aws::Lightsail
|
|
5640
6457
|
:created_at,
|
5641
6458
|
:location,
|
5642
6459
|
:resource_type,
|
6460
|
+
:tags,
|
5643
6461
|
:relational_database_blueprint_id,
|
5644
6462
|
:relational_database_bundle_id,
|
5645
6463
|
:master_database_name,
|
@@ -5922,6 +6740,16 @@ module Aws::Lightsail
|
|
5922
6740
|
# The Lightsail resource type.
|
5923
6741
|
# @return [String]
|
5924
6742
|
#
|
6743
|
+
# @!attribute [rw] tags
|
6744
|
+
# The tag keys and optional values for the resource. For more
|
6745
|
+
# information about tags in Lightsail, see the [Lightsail Dev
|
6746
|
+
# Guide][1].
|
6747
|
+
#
|
6748
|
+
#
|
6749
|
+
#
|
6750
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
6751
|
+
# @return [Array<Types::Tag>]
|
6752
|
+
#
|
5925
6753
|
# @!attribute [rw] engine
|
5926
6754
|
# The software of the database snapshot (for example, `MySQL`)
|
5927
6755
|
# @return [String]
|
@@ -5970,6 +6798,7 @@ module Aws::Lightsail
|
|
5970
6798
|
:created_at,
|
5971
6799
|
:location,
|
5972
6800
|
:resource_type,
|
6801
|
+
:tags,
|
5973
6802
|
:engine,
|
5974
6803
|
:engine_version,
|
5975
6804
|
:size_in_gb,
|
@@ -6227,6 +7056,86 @@ module Aws::Lightsail
|
|
6227
7056
|
include Aws::Structure
|
6228
7057
|
end
|
6229
7058
|
|
7059
|
+
# Describes a tag key and optional value assigned to an Amazon Lightsail
|
7060
|
+
# resource.
|
7061
|
+
#
|
7062
|
+
# For more information about tags in Lightsail, see the [Lightsail Dev
|
7063
|
+
# Guide][1].
|
7064
|
+
#
|
7065
|
+
#
|
7066
|
+
#
|
7067
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags
|
7068
|
+
#
|
7069
|
+
# @note When making an API call, you may pass Tag
|
7070
|
+
# data as a hash:
|
7071
|
+
#
|
7072
|
+
# {
|
7073
|
+
# key: "TagKey",
|
7074
|
+
# value: "TagValue",
|
7075
|
+
# }
|
7076
|
+
#
|
7077
|
+
# @!attribute [rw] key
|
7078
|
+
# The key of the tag.
|
7079
|
+
#
|
7080
|
+
# Constraints: Tag keys accept a maximum of 128 letters, numbers,
|
7081
|
+
# spaces in UTF-8, or the following characters: + - = . \_ : / @
|
7082
|
+
# @return [String]
|
7083
|
+
#
|
7084
|
+
# @!attribute [rw] value
|
7085
|
+
# The value of the tag.
|
7086
|
+
#
|
7087
|
+
# Constraints: Tag values accept a maximum of 256 letters, numbers,
|
7088
|
+
# spaces in UTF-8, or the following characters: + - = . \_ : / @
|
7089
|
+
# @return [String]
|
7090
|
+
#
|
7091
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Tag AWS API Documentation
|
7092
|
+
#
|
7093
|
+
class Tag < Struct.new(
|
7094
|
+
:key,
|
7095
|
+
:value)
|
7096
|
+
include Aws::Structure
|
7097
|
+
end
|
7098
|
+
|
7099
|
+
# @note When making an API call, you may pass TagResourceRequest
|
7100
|
+
# data as a hash:
|
7101
|
+
#
|
7102
|
+
# {
|
7103
|
+
# resource_name: "ResourceName", # required
|
7104
|
+
# tags: [ # required
|
7105
|
+
# {
|
7106
|
+
# key: "TagKey",
|
7107
|
+
# value: "TagValue",
|
7108
|
+
# },
|
7109
|
+
# ],
|
7110
|
+
# }
|
7111
|
+
#
|
7112
|
+
# @!attribute [rw] resource_name
|
7113
|
+
# The name of the resource to which you are adding tags.
|
7114
|
+
# @return [String]
|
7115
|
+
#
|
7116
|
+
# @!attribute [rw] tags
|
7117
|
+
# The tag key and optional value.
|
7118
|
+
# @return [Array<Types::Tag>]
|
7119
|
+
#
|
7120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TagResourceRequest AWS API Documentation
|
7121
|
+
#
|
7122
|
+
class TagResourceRequest < Struct.new(
|
7123
|
+
:resource_name,
|
7124
|
+
:tags)
|
7125
|
+
include Aws::Structure
|
7126
|
+
end
|
7127
|
+
|
7128
|
+
# @!attribute [rw] operations
|
7129
|
+
# A list of objects describing the API operation.
|
7130
|
+
# @return [Array<Types::Operation>]
|
7131
|
+
#
|
7132
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TagResourceResult AWS API Documentation
|
7133
|
+
#
|
7134
|
+
class TagResourceResult < Struct.new(
|
7135
|
+
:operations)
|
7136
|
+
include Aws::Structure
|
7137
|
+
end
|
7138
|
+
|
6230
7139
|
# @api private
|
6231
7140
|
#
|
6232
7141
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UnpeerVpcRequest AWS API Documentation
|
@@ -6245,6 +7154,41 @@ module Aws::Lightsail
|
|
6245
7154
|
include Aws::Structure
|
6246
7155
|
end
|
6247
7156
|
|
7157
|
+
# @note When making an API call, you may pass UntagResourceRequest
|
7158
|
+
# data as a hash:
|
7159
|
+
#
|
7160
|
+
# {
|
7161
|
+
# resource_name: "ResourceName", # required
|
7162
|
+
# tag_keys: ["TagKey"], # required
|
7163
|
+
# }
|
7164
|
+
#
|
7165
|
+
# @!attribute [rw] resource_name
|
7166
|
+
# The name of the resource from which you are removing a tag.
|
7167
|
+
# @return [String]
|
7168
|
+
#
|
7169
|
+
# @!attribute [rw] tag_keys
|
7170
|
+
# The tag keys to delete from the specified resource.
|
7171
|
+
# @return [Array<String>]
|
7172
|
+
#
|
7173
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UntagResourceRequest AWS API Documentation
|
7174
|
+
#
|
7175
|
+
class UntagResourceRequest < Struct.new(
|
7176
|
+
:resource_name,
|
7177
|
+
:tag_keys)
|
7178
|
+
include Aws::Structure
|
7179
|
+
end
|
7180
|
+
|
7181
|
+
# @!attribute [rw] operations
|
7182
|
+
# A list of objects describing the API operation.
|
7183
|
+
# @return [Array<Types::Operation>]
|
7184
|
+
#
|
7185
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UntagResourceResult AWS API Documentation
|
7186
|
+
#
|
7187
|
+
class UntagResourceResult < Struct.new(
|
7188
|
+
:operations)
|
7189
|
+
include Aws::Structure
|
7190
|
+
end
|
7191
|
+
|
6248
7192
|
# @note When making an API call, you may pass UpdateDomainEntryRequest
|
6249
7193
|
# data as a hash:
|
6250
7194
|
#
|