aws-sdk-lightsail 1.26.0 → 1.27.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 +112 -100
- data/lib/aws-sdk-lightsail/client_api.rb +2 -0
- data/lib/aws-sdk-lightsail/types.rb +105 -93
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d6710ca90cbbb38c8db5f712b6c6bcc419e1296
|
4
|
+
data.tar.gz: 92c2a37a312d120b9c560279129d81b95f07f737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 77e5cccb1b25ffe8ad5e11510b962e7fa8ec0c9aeb6daf13e68dba0fc61e449f81bc0458d78602be3db1209ec773ca954e1e68e0e498f9b9834e183f7d932bba
|
7
|
+
data.tar.gz: 2596771997e6f30f3027dd610df2775bbe949668d3ce0d94393cb711aba1e28a16bf939eeb15625b13f317001802b952e2ebed3d02c3094c594cec0c2e00cacb
|
data/lib/aws-sdk-lightsail.rb
CHANGED
@@ -595,11 +595,11 @@ module Aws::Lightsail
|
|
595
595
|
req.send_request(options)
|
596
596
|
end
|
597
597
|
|
598
|
-
# Copies a manual instance or disk
|
599
|
-
# or copies an automatic instance or disk
|
600
|
-
# This operation can also be used to copy a manual or
|
601
|
-
# of an instance or a disk from one AWS Region to
|
602
|
-
# Lightsail.
|
598
|
+
# Copies a manual snapshot of an instance or disk as another manual
|
599
|
+
# snapshot, or copies an automatic snapshot of an instance or disk as a
|
600
|
+
# manual snapshot. This operation can also be used to copy a manual or
|
601
|
+
# automatic snapshot of an instance or a disk from one AWS Region to
|
602
|
+
# another in Amazon Lightsail.
|
603
603
|
#
|
604
604
|
# When copying a *manual snapshot*, be sure to define the `source
|
605
605
|
# region`, `source snapshot name`, and `target snapshot name`
|
@@ -610,38 +610,36 @@ module Aws::Lightsail
|
|
610
610
|
# the `restore date` or the `use latest restorable auto snapshot`
|
611
611
|
# parameters.
|
612
612
|
#
|
613
|
-
# <note markdown="1"> Database snapshots cannot be copied at this time.
|
614
|
-
#
|
615
|
-
# </note>
|
616
|
-
#
|
617
613
|
# @option params [String] :source_snapshot_name
|
618
|
-
# The name of the source
|
614
|
+
# The name of the source manual snapshot to copy.
|
619
615
|
#
|
620
|
-
#
|
621
|
-
# manual snapshot.
|
616
|
+
# Constraint:
|
622
617
|
#
|
623
|
-
#
|
618
|
+
# * Define this parameter only when copying a manual snapshot as another
|
619
|
+
# manual snapshot.
|
620
|
+
#
|
621
|
+
# ^
|
624
622
|
#
|
625
623
|
# @option params [String] :source_resource_name
|
626
|
-
# The name of the source
|
627
|
-
# created.
|
624
|
+
# The name of the source instance or disk from which the source
|
625
|
+
# automatic snapshot was created.
|
628
626
|
#
|
629
|
-
#
|
630
|
-
# manual snapshot. For more information, see the [Lightsail Dev
|
631
|
-
# Guide][1].
|
627
|
+
# Constraint:
|
632
628
|
#
|
633
|
-
#
|
629
|
+
# * Define this parameter only when copying an automatic snapshot as a
|
630
|
+
# manual snapshot. For more information, see the [Lightsail Dev
|
631
|
+
# Guide][1].
|
634
632
|
#
|
633
|
+
# ^
|
635
634
|
#
|
636
635
|
#
|
637
|
-
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
638
636
|
#
|
639
|
-
#
|
640
|
-
# The date of the automatic snapshot to copy for the new manual
|
641
|
-
# snapshot.
|
637
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots
|
642
638
|
#
|
643
|
-
#
|
644
|
-
#
|
639
|
+
# @option params [String] :restore_date
|
640
|
+
# The date of the source automatic snapshot to copy. Use the `get auto
|
641
|
+
# snapshots` operation to identify the dates of the available automatic
|
642
|
+
# snapshots.
|
645
643
|
#
|
646
644
|
# Constraints:
|
647
645
|
#
|
@@ -651,36 +649,34 @@ module Aws::Lightsail
|
|
651
649
|
# restorable auto snapshot` parameter. The `restore date` and `use
|
652
650
|
# latest restorable auto snapshot` parameters are mutually exclusive.
|
653
651
|
#
|
654
|
-
#
|
655
|
-
#
|
656
|
-
#
|
657
|
-
#
|
658
|
-
# </note>
|
652
|
+
# * Define this parameter only when copying an automatic snapshot as a
|
653
|
+
# manual snapshot. For more information, see the [Lightsail Dev
|
654
|
+
# Guide][1].
|
659
655
|
#
|
660
656
|
#
|
661
657
|
#
|
662
|
-
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-
|
658
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots
|
663
659
|
#
|
664
660
|
# @option params [Boolean] :use_latest_restorable_auto_snapshot
|
665
661
|
# A Boolean value to indicate whether to use the latest available
|
666
|
-
# automatic snapshot.
|
662
|
+
# automatic snapshot of the specified source instance or disk.
|
667
663
|
#
|
668
|
-
#
|
669
|
-
# parameter. The `use latest restorable auto snapshot` and `restore
|
670
|
-
# date` parameters are mutually exclusive.
|
664
|
+
# Constraints:
|
671
665
|
#
|
672
|
-
#
|
673
|
-
#
|
674
|
-
#
|
666
|
+
# * This parameter cannot be defined together with the `restore date`
|
667
|
+
# parameter. The `use latest restorable auto snapshot` and `restore
|
668
|
+
# date` parameters are mutually exclusive.
|
675
669
|
#
|
676
|
-
#
|
670
|
+
# * Define this parameter only when copying an automatic snapshot as a
|
671
|
+
# manual snapshot. For more information, see the [Lightsail Dev
|
672
|
+
# Guide][1].
|
677
673
|
#
|
678
674
|
#
|
679
675
|
#
|
680
|
-
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-
|
676
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots
|
681
677
|
#
|
682
678
|
# @option params [required, String] :target_snapshot_name
|
683
|
-
# The name of the new
|
679
|
+
# The name of the new manual snapshot to be created as a copy.
|
684
680
|
#
|
685
681
|
# @option params [required, String] :source_region
|
686
682
|
# The AWS Region where the source manual or automatic snapshot is
|
@@ -893,9 +889,13 @@ module Aws::Lightsail
|
|
893
889
|
# The name of the disk snapshot (e.g., `my-snapshot`) from which to
|
894
890
|
# create the new storage disk.
|
895
891
|
#
|
896
|
-
#
|
897
|
-
#
|
898
|
-
#
|
892
|
+
# Constraint:
|
893
|
+
#
|
894
|
+
# * This parameter cannot be defined together with the `source disk
|
895
|
+
# name` parameter. The `disk snapshot name` and `source disk name`
|
896
|
+
# parameters are mutually exclusive.
|
897
|
+
#
|
898
|
+
# ^
|
899
899
|
#
|
900
900
|
# @option params [required, String] :availability_zone
|
901
901
|
# The Availability Zone where you want to create the disk (e.g.,
|
@@ -922,24 +922,24 @@ module Aws::Lightsail
|
|
922
922
|
# The name of the source disk from which the source automatic snapshot
|
923
923
|
# was created.
|
924
924
|
#
|
925
|
-
#
|
926
|
-
# name` parameter. The `source disk name` and `disk snapshot name`
|
927
|
-
# parameters are mutually exclusive.
|
925
|
+
# Constraints:
|
928
926
|
#
|
929
|
-
#
|
930
|
-
#
|
927
|
+
# * This parameter cannot be defined together with the `disk snapshot
|
928
|
+
# name` parameter. The `source disk name` and `disk snapshot name`
|
929
|
+
# parameters are mutually exclusive.
|
931
930
|
#
|
932
|
-
#
|
931
|
+
# * Define this parameter only when creating a new disk from an
|
932
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
933
|
+
# Guide][1].
|
933
934
|
#
|
934
935
|
#
|
935
936
|
#
|
936
937
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
937
938
|
#
|
938
939
|
# @option params [String] :restore_date
|
939
|
-
# The date of the automatic snapshot to use for the new disk.
|
940
|
-
#
|
941
|
-
#
|
942
|
-
# available automatic snapshots.
|
940
|
+
# The date of the automatic snapshot to use for the new disk. Use the
|
941
|
+
# `get auto snapshots` operation to identify the dates of the available
|
942
|
+
# automatic snapshots.
|
943
943
|
#
|
944
944
|
# Constraints:
|
945
945
|
#
|
@@ -949,10 +949,9 @@ module Aws::Lightsail
|
|
949
949
|
# restorable auto snapshot` parameter. The `restore date` and `use
|
950
950
|
# latest restorable auto snapshot` parameters are mutually exclusive.
|
951
951
|
#
|
952
|
-
#
|
953
|
-
#
|
954
|
-
#
|
955
|
-
# </note>
|
952
|
+
# * Define this parameter only when creating a new disk from an
|
953
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
954
|
+
# Guide][1].
|
956
955
|
#
|
957
956
|
#
|
958
957
|
#
|
@@ -962,14 +961,15 @@ module Aws::Lightsail
|
|
962
961
|
# A Boolean value to indicate whether to use the latest available
|
963
962
|
# automatic snapshot.
|
964
963
|
#
|
965
|
-
#
|
966
|
-
# parameter. The `use latest restorable auto snapshot` and `restore
|
967
|
-
# date` parameters are mutually exclusive.
|
964
|
+
# Constraints:
|
968
965
|
#
|
969
|
-
#
|
970
|
-
#
|
966
|
+
# * This parameter cannot be defined together with the `restore date`
|
967
|
+
# parameter. The `use latest restorable auto snapshot` and `restore
|
968
|
+
# date` parameters are mutually exclusive.
|
971
969
|
#
|
972
|
-
#
|
970
|
+
# * Define this parameter only when creating a new disk from an
|
971
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
972
|
+
# Guide][1].
|
973
973
|
#
|
974
974
|
#
|
975
975
|
#
|
@@ -1507,9 +1507,13 @@ module Aws::Lightsail
|
|
1507
1507
|
# instances. Use the get instance snapshots operation to return
|
1508
1508
|
# information about your existing snapshots.
|
1509
1509
|
#
|
1510
|
-
#
|
1511
|
-
#
|
1512
|
-
#
|
1510
|
+
# Constraint:
|
1511
|
+
#
|
1512
|
+
# * This parameter cannot be defined together with the `source instance
|
1513
|
+
# name` parameter. The `instance snapshot name` and `source instance
|
1514
|
+
# name` parameters are mutually exclusive.
|
1515
|
+
#
|
1516
|
+
# ^
|
1513
1517
|
#
|
1514
1518
|
# @option params [required, String] :bundle_id
|
1515
1519
|
# The bundle of specification information for your virtual private
|
@@ -1548,24 +1552,23 @@ module Aws::Lightsail
|
|
1548
1552
|
# The name of the source instance from which the source automatic
|
1549
1553
|
# snapshot was created.
|
1550
1554
|
#
|
1551
|
-
#
|
1552
|
-
# name` parameter. The `source instance name` and `instance snapshot
|
1553
|
-
# name` parameters are mutually exclusive.
|
1555
|
+
# Constraints:
|
1554
1556
|
#
|
1555
|
-
#
|
1556
|
-
#
|
1557
|
-
#
|
1557
|
+
# * This parameter cannot be defined together with the `instance
|
1558
|
+
# snapshot name` parameter. The `source instance name` and `instance
|
1559
|
+
# snapshot name` parameters are mutually exclusive.
|
1558
1560
|
#
|
1559
|
-
#
|
1561
|
+
# * Define this parameter only when creating a new instance from an
|
1562
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1563
|
+
# Guide][1].
|
1560
1564
|
#
|
1561
1565
|
#
|
1562
1566
|
#
|
1563
1567
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
1564
1568
|
#
|
1565
1569
|
# @option params [String] :restore_date
|
1566
|
-
# The date of the automatic snapshot to use for the new instance.
|
1567
|
-
#
|
1568
|
-
# Use the `get auto snapshots` operation to identify the dates of the
|
1570
|
+
# The date of the automatic snapshot to use for the new instance. Use
|
1571
|
+
# the `get auto snapshots` operation to identify the dates of the
|
1569
1572
|
# available automatic snapshots.
|
1570
1573
|
#
|
1571
1574
|
# Constraints:
|
@@ -1576,11 +1579,9 @@ module Aws::Lightsail
|
|
1576
1579
|
# restorable auto snapshot` parameter. The `restore date` and `use
|
1577
1580
|
# latest restorable auto snapshot` parameters are mutually exclusive.
|
1578
1581
|
#
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
#
|
1582
|
-
#
|
1583
|
-
# </note>
|
1582
|
+
# * Define this parameter only when creating a new instance from an
|
1583
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1584
|
+
# Guide][1].
|
1584
1585
|
#
|
1585
1586
|
#
|
1586
1587
|
#
|
@@ -1590,15 +1591,15 @@ module Aws::Lightsail
|
|
1590
1591
|
# A Boolean value to indicate whether to use the latest available
|
1591
1592
|
# automatic snapshot.
|
1592
1593
|
#
|
1593
|
-
#
|
1594
|
-
# parameter. The `use latest restorable auto snapshot` and `restore
|
1595
|
-
# date` parameters are mutually exclusive.
|
1594
|
+
# Constraints:
|
1596
1595
|
#
|
1597
|
-
#
|
1598
|
-
#
|
1599
|
-
#
|
1596
|
+
# * This parameter cannot be defined together with the `restore date`
|
1597
|
+
# parameter. The `use latest restorable auto snapshot` and `restore
|
1598
|
+
# date` parameters are mutually exclusive.
|
1600
1599
|
#
|
1601
|
-
#
|
1600
|
+
# * Define this parameter only when creating a new instance from an
|
1601
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1602
|
+
# Guide][1].
|
1602
1603
|
#
|
1603
1604
|
#
|
1604
1605
|
#
|
@@ -2341,15 +2342,19 @@ module Aws::Lightsail
|
|
2341
2342
|
req.send_request(options)
|
2342
2343
|
end
|
2343
2344
|
|
2344
|
-
# Deletes an automatic snapshot
|
2345
|
+
# Deletes an automatic snapshot of an instance or disk. For more
|
2346
|
+
# information, see the [Lightsail Dev Guide][1].
|
2347
|
+
#
|
2348
|
+
#
|
2349
|
+
#
|
2350
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
2345
2351
|
#
|
2346
2352
|
# @option params [required, String] :resource_name
|
2347
|
-
# The name of the source
|
2348
|
-
# snapshot.
|
2353
|
+
# The name of the source instance or disk from which to delete the
|
2354
|
+
# automatic snapshot.
|
2349
2355
|
#
|
2350
2356
|
# @option params [required, String] :date
|
2351
2357
|
# The date of the automatic snapshot to delete in `YYYY-MM-DD` format.
|
2352
|
-
#
|
2353
2358
|
# Use the `get auto snapshots` operation to get the available automatic
|
2354
2359
|
# snapshots for a resource.
|
2355
2360
|
#
|
@@ -3232,7 +3237,7 @@ module Aws::Lightsail
|
|
3232
3237
|
# The add-on type to disable.
|
3233
3238
|
#
|
3234
3239
|
# @option params [required, String] :resource_name
|
3235
|
-
# The name of the source resource
|
3240
|
+
# The name of the source resource for which to disable the add-on.
|
3236
3241
|
#
|
3237
3242
|
# @return [Types::DisableAddOnResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3238
3243
|
#
|
@@ -3447,16 +3452,16 @@ module Aws::Lightsail
|
|
3447
3452
|
req.send_request(options)
|
3448
3453
|
end
|
3449
3454
|
|
3450
|
-
# Returns the available automatic snapshots for
|
3451
|
-
#
|
3455
|
+
# Returns the available automatic snapshots for an instance or disk. For
|
3456
|
+
# more information, see the [Lightsail Dev Guide][1].
|
3452
3457
|
#
|
3453
3458
|
#
|
3454
3459
|
#
|
3455
3460
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configuring-automatic-snapshots
|
3456
3461
|
#
|
3457
3462
|
# @option params [required, String] :resource_name
|
3458
|
-
# The name of the source
|
3459
|
-
# information.
|
3463
|
+
# The name of the source instance or disk from which to get automatic
|
3464
|
+
# snapshot information.
|
3460
3465
|
#
|
3461
3466
|
# @return [Types::GetAutoSnapshotsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3462
3467
|
#
|
@@ -5205,6 +5210,7 @@ module Aws::Lightsail
|
|
5205
5210
|
# resp.relational_database.pending_maintenance_actions[0].action #=> String
|
5206
5211
|
# resp.relational_database.pending_maintenance_actions[0].description #=> String
|
5207
5212
|
# resp.relational_database.pending_maintenance_actions[0].current_apply_date #=> Time
|
5213
|
+
# resp.relational_database.ca_certificate_identifier #=> String
|
5208
5214
|
#
|
5209
5215
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabase AWS API Documentation
|
5210
5216
|
#
|
@@ -5791,6 +5797,7 @@ module Aws::Lightsail
|
|
5791
5797
|
# resp.relational_databases[0].pending_maintenance_actions[0].action #=> String
|
5792
5798
|
# resp.relational_databases[0].pending_maintenance_actions[0].description #=> String
|
5793
5799
|
# resp.relational_databases[0].pending_maintenance_actions[0].current_apply_date #=> Time
|
5800
|
+
# resp.relational_databases[0].ca_certificate_identifier #=> String
|
5794
5801
|
# resp.next_page_token #=> String
|
5795
5802
|
#
|
5796
5803
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabases AWS API Documentation
|
@@ -6845,6 +6852,10 @@ module Aws::Lightsail
|
|
6845
6852
|
#
|
6846
6853
|
# Default: `false`
|
6847
6854
|
#
|
6855
|
+
# @option params [String] :ca_certificate_identifier
|
6856
|
+
# Indicates the certificate that needs to be associated with the
|
6857
|
+
# database.
|
6858
|
+
#
|
6848
6859
|
# @return [Types::UpdateRelationalDatabaseResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6849
6860
|
#
|
6850
6861
|
# * {Types::UpdateRelationalDatabaseResult#operations #operations} => Array<Types::Operation>
|
@@ -6861,6 +6872,7 @@ module Aws::Lightsail
|
|
6861
6872
|
# disable_backup_retention: false,
|
6862
6873
|
# publicly_accessible: false,
|
6863
6874
|
# apply_immediately: false,
|
6875
|
+
# ca_certificate_identifier: "string",
|
6864
6876
|
# })
|
6865
6877
|
#
|
6866
6878
|
# @example Response structure
|
@@ -6894,7 +6906,7 @@ module Aws::Lightsail
|
|
6894
6906
|
#
|
6895
6907
|
# Parameter updates don't cause outages; therefore, their application
|
6896
6908
|
# is not subject to the preferred maintenance window. However, there are
|
6897
|
-
# two ways in which
|
6909
|
+
# two ways in which parameter updates are applied: `dynamic` or
|
6898
6910
|
# `pending-reboot`. Parameters marked with a `dynamic` apply type are
|
6899
6911
|
# applied immediately. Parameters marked with a `pending-reboot` apply
|
6900
6912
|
# type are applied only after the database is rebooted using the `reboot
|
@@ -6976,7 +6988,7 @@ module Aws::Lightsail
|
|
6976
6988
|
params: params,
|
6977
6989
|
config: config)
|
6978
6990
|
context[:gem_name] = 'aws-sdk-lightsail'
|
6979
|
-
context[:gem_version] = '1.
|
6991
|
+
context[:gem_version] = '1.27.0'
|
6980
6992
|
Seahorse::Client::Request.new(handlers, context)
|
6981
6993
|
end
|
6982
6994
|
|
@@ -1656,6 +1656,7 @@ module Aws::Lightsail
|
|
1656
1656
|
RelationalDatabase.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: boolean, location_name: "publiclyAccessible"))
|
1657
1657
|
RelationalDatabase.add_member(:master_endpoint, Shapes::ShapeRef.new(shape: RelationalDatabaseEndpoint, location_name: "masterEndpoint"))
|
1658
1658
|
RelationalDatabase.add_member(:pending_maintenance_actions, Shapes::ShapeRef.new(shape: PendingMaintenanceActionList, location_name: "pendingMaintenanceActions"))
|
1659
|
+
RelationalDatabase.add_member(:ca_certificate_identifier, Shapes::ShapeRef.new(shape: string, location_name: "caCertificateIdentifier"))
|
1659
1660
|
RelationalDatabase.struct_class = Types::RelationalDatabase
|
1660
1661
|
|
1661
1662
|
RelationalDatabaseBlueprint.add_member(:blueprint_id, Shapes::ShapeRef.new(shape: string, location_name: "blueprintId"))
|
@@ -1856,6 +1857,7 @@ module Aws::Lightsail
|
|
1856
1857
|
UpdateRelationalDatabaseRequest.add_member(:disable_backup_retention, Shapes::ShapeRef.new(shape: boolean, location_name: "disableBackupRetention"))
|
1857
1858
|
UpdateRelationalDatabaseRequest.add_member(:publicly_accessible, Shapes::ShapeRef.new(shape: boolean, location_name: "publiclyAccessible"))
|
1858
1859
|
UpdateRelationalDatabaseRequest.add_member(:apply_immediately, Shapes::ShapeRef.new(shape: boolean, location_name: "applyImmediately"))
|
1860
|
+
UpdateRelationalDatabaseRequest.add_member(:ca_certificate_identifier, Shapes::ShapeRef.new(shape: string, location_name: "caCertificateIdentifier"))
|
1859
1861
|
UpdateRelationalDatabaseRequest.struct_class = Types::UpdateRelationalDatabaseRequest
|
1860
1862
|
|
1861
1863
|
UpdateRelationalDatabaseResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
|
@@ -743,35 +743,37 @@ module Aws::Lightsail
|
|
743
743
|
# }
|
744
744
|
#
|
745
745
|
# @!attribute [rw] source_snapshot_name
|
746
|
-
# The name of the source
|
746
|
+
# The name of the source manual snapshot to copy.
|
747
747
|
#
|
748
|
-
#
|
749
|
-
# manual snapshot.
|
748
|
+
# Constraint:
|
750
749
|
#
|
751
|
-
#
|
750
|
+
# * Define this parameter only when copying a manual snapshot as
|
751
|
+
# another manual snapshot.
|
752
|
+
#
|
753
|
+
# ^
|
752
754
|
# @return [String]
|
753
755
|
#
|
754
756
|
# @!attribute [rw] source_resource_name
|
755
|
-
# The name of the source
|
756
|
-
# was created.
|
757
|
+
# The name of the source instance or disk from which the source
|
758
|
+
# automatic snapshot was created.
|
757
759
|
#
|
758
|
-
#
|
759
|
-
# manual snapshot. For more information, see the [Lightsail Dev
|
760
|
-
# Guide][1].
|
760
|
+
# Constraint:
|
761
761
|
#
|
762
|
-
#
|
762
|
+
# * Define this parameter only when copying an automatic snapshot as a
|
763
|
+
# manual snapshot. For more information, see the [Lightsail Dev
|
764
|
+
# Guide][1].
|
765
|
+
#
|
766
|
+
# ^
|
763
767
|
#
|
764
768
|
#
|
765
769
|
#
|
766
|
-
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-
|
770
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots
|
767
771
|
# @return [String]
|
768
772
|
#
|
769
773
|
# @!attribute [rw] restore_date
|
770
|
-
# The date of the automatic snapshot to copy
|
771
|
-
#
|
772
|
-
#
|
773
|
-
# Use the `get auto snapshots` operation to identify the dates of the
|
774
|
-
# available automatic snapshots.
|
774
|
+
# The date of the source automatic snapshot to copy. Use the `get auto
|
775
|
+
# snapshots` operation to identify the dates of the available
|
776
|
+
# automatic snapshots.
|
775
777
|
#
|
776
778
|
# Constraints:
|
777
779
|
#
|
@@ -782,39 +784,36 @@ module Aws::Lightsail
|
|
782
784
|
# latest restorable auto snapshot` parameters are mutually
|
783
785
|
# exclusive.
|
784
786
|
#
|
785
|
-
#
|
786
|
-
#
|
787
|
-
#
|
788
|
-
#
|
789
|
-
# </note>
|
787
|
+
# * Define this parameter only when copying an automatic snapshot as a
|
788
|
+
# manual snapshot. For more information, see the [Lightsail Dev
|
789
|
+
# Guide][1].
|
790
790
|
#
|
791
791
|
#
|
792
792
|
#
|
793
|
-
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-
|
793
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots
|
794
794
|
# @return [String]
|
795
795
|
#
|
796
796
|
# @!attribute [rw] use_latest_restorable_auto_snapshot
|
797
797
|
# A Boolean value to indicate whether to use the latest available
|
798
|
-
# automatic snapshot.
|
798
|
+
# automatic snapshot of the specified source instance or disk.
|
799
799
|
#
|
800
|
-
#
|
801
|
-
# parameter. The `use latest restorable auto snapshot` and `restore
|
802
|
-
# date` parameters are mutually exclusive.
|
800
|
+
# Constraints:
|
803
801
|
#
|
804
|
-
#
|
805
|
-
#
|
806
|
-
#
|
802
|
+
# * This parameter cannot be defined together with the `restore date`
|
803
|
+
# parameter. The `use latest restorable auto snapshot` and `restore
|
804
|
+
# date` parameters are mutually exclusive.
|
807
805
|
#
|
808
|
-
#
|
806
|
+
# * Define this parameter only when copying an automatic snapshot as a
|
807
|
+
# manual snapshot. For more information, see the [Lightsail Dev
|
808
|
+
# Guide][1].
|
809
809
|
#
|
810
810
|
#
|
811
811
|
#
|
812
|
-
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-
|
812
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-keeping-automatic-snapshots
|
813
813
|
# @return [Boolean]
|
814
814
|
#
|
815
815
|
# @!attribute [rw] target_snapshot_name
|
816
|
-
# The name of the new
|
817
|
-
# copy.
|
816
|
+
# The name of the new manual snapshot to be created as a copy.
|
818
817
|
# @return [String]
|
819
818
|
#
|
820
819
|
# @!attribute [rw] source_region
|
@@ -920,9 +919,13 @@ module Aws::Lightsail
|
|
920
919
|
# The name of the disk snapshot (e.g., `my-snapshot`) from which to
|
921
920
|
# create the new storage disk.
|
922
921
|
#
|
923
|
-
#
|
924
|
-
#
|
925
|
-
#
|
922
|
+
# Constraint:
|
923
|
+
#
|
924
|
+
# * This parameter cannot be defined together with the `source disk
|
925
|
+
# name` parameter. The `disk snapshot name` and `source disk name`
|
926
|
+
# parameters are mutually exclusive.
|
927
|
+
#
|
928
|
+
# ^
|
926
929
|
# @return [String]
|
927
930
|
#
|
928
931
|
# @!attribute [rw] availability_zone
|
@@ -955,15 +958,15 @@ module Aws::Lightsail
|
|
955
958
|
# The name of the source disk from which the source automatic snapshot
|
956
959
|
# was created.
|
957
960
|
#
|
958
|
-
#
|
959
|
-
# name` parameter. The `source disk name` and `disk snapshot name`
|
960
|
-
# parameters are mutually exclusive.
|
961
|
+
# Constraints:
|
961
962
|
#
|
962
|
-
#
|
963
|
-
#
|
964
|
-
#
|
963
|
+
# * This parameter cannot be defined together with the `disk snapshot
|
964
|
+
# name` parameter. The `source disk name` and `disk snapshot name`
|
965
|
+
# parameters are mutually exclusive.
|
965
966
|
#
|
966
|
-
#
|
967
|
+
# * Define this parameter only when creating a new disk from an
|
968
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
969
|
+
# Guide][1].
|
967
970
|
#
|
968
971
|
#
|
969
972
|
#
|
@@ -971,9 +974,8 @@ module Aws::Lightsail
|
|
971
974
|
# @return [String]
|
972
975
|
#
|
973
976
|
# @!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
|
+
# The date of the automatic snapshot to use for the new disk. Use the
|
978
|
+
# `get auto snapshots` operation to identify the dates of the
|
977
979
|
# available automatic snapshots.
|
978
980
|
#
|
979
981
|
# Constraints:
|
@@ -985,11 +987,9 @@ module Aws::Lightsail
|
|
985
987
|
# latest restorable auto snapshot` parameters are mutually
|
986
988
|
# exclusive.
|
987
989
|
#
|
988
|
-
#
|
989
|
-
#
|
990
|
-
#
|
991
|
-
#
|
992
|
-
# </note>
|
990
|
+
# * Define this parameter only when creating a new disk from an
|
991
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
992
|
+
# Guide][1].
|
993
993
|
#
|
994
994
|
#
|
995
995
|
#
|
@@ -1000,15 +1000,15 @@ module Aws::Lightsail
|
|
1000
1000
|
# A Boolean value to indicate whether to use the latest available
|
1001
1001
|
# automatic snapshot.
|
1002
1002
|
#
|
1003
|
-
#
|
1004
|
-
# parameter. The `use latest restorable auto snapshot` and `restore
|
1005
|
-
# date` parameters are mutually exclusive.
|
1003
|
+
# Constraints:
|
1006
1004
|
#
|
1007
|
-
#
|
1008
|
-
#
|
1009
|
-
#
|
1005
|
+
# * This parameter cannot be defined together with the `restore date`
|
1006
|
+
# parameter. The `use latest restorable auto snapshot` and `restore
|
1007
|
+
# date` parameters are mutually exclusive.
|
1010
1008
|
#
|
1011
|
-
#
|
1009
|
+
# * Define this parameter only when creating a new disk from an
|
1010
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1011
|
+
# Guide][1].
|
1012
1012
|
#
|
1013
1013
|
#
|
1014
1014
|
#
|
@@ -1400,9 +1400,13 @@ module Aws::Lightsail
|
|
1400
1400
|
# instances. Use the get instance snapshots operation to return
|
1401
1401
|
# information about your existing snapshots.
|
1402
1402
|
#
|
1403
|
-
#
|
1404
|
-
#
|
1405
|
-
#
|
1403
|
+
# Constraint:
|
1404
|
+
#
|
1405
|
+
# * This parameter cannot be defined together with the `source
|
1406
|
+
# instance name` parameter. The `instance snapshot name` and `source
|
1407
|
+
# instance name` parameters are mutually exclusive.
|
1408
|
+
#
|
1409
|
+
# ^
|
1406
1410
|
# @return [String]
|
1407
1411
|
#
|
1408
1412
|
# @!attribute [rw] bundle_id
|
@@ -1448,15 +1452,15 @@ module Aws::Lightsail
|
|
1448
1452
|
# The name of the source instance from which the source automatic
|
1449
1453
|
# snapshot was created.
|
1450
1454
|
#
|
1451
|
-
#
|
1452
|
-
# snapshot name` parameter. The `source instance name` and `instance
|
1453
|
-
# snapshot name` parameters are mutually exclusive.
|
1455
|
+
# Constraints:
|
1454
1456
|
#
|
1455
|
-
#
|
1456
|
-
#
|
1457
|
-
#
|
1457
|
+
# * This parameter cannot be defined together with the `instance
|
1458
|
+
# snapshot name` parameter. The `source instance name` and `instance
|
1459
|
+
# snapshot name` parameters are mutually exclusive.
|
1458
1460
|
#
|
1459
|
-
#
|
1461
|
+
# * Define this parameter only when creating a new instance from an
|
1462
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1463
|
+
# Guide][1].
|
1460
1464
|
#
|
1461
1465
|
#
|
1462
1466
|
#
|
@@ -1464,9 +1468,8 @@ module Aws::Lightsail
|
|
1464
1468
|
# @return [String]
|
1465
1469
|
#
|
1466
1470
|
# @!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
|
1471
|
+
# The date of the automatic snapshot to use for the new instance. Use
|
1472
|
+
# the `get auto snapshots` operation to identify the dates of the
|
1470
1473
|
# available automatic snapshots.
|
1471
1474
|
#
|
1472
1475
|
# Constraints:
|
@@ -1478,11 +1481,9 @@ module Aws::Lightsail
|
|
1478
1481
|
# latest restorable auto snapshot` parameters are mutually
|
1479
1482
|
# exclusive.
|
1480
1483
|
#
|
1481
|
-
#
|
1482
|
-
#
|
1483
|
-
#
|
1484
|
-
#
|
1485
|
-
# </note>
|
1484
|
+
# * Define this parameter only when creating a new instance from an
|
1485
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1486
|
+
# Guide][1].
|
1486
1487
|
#
|
1487
1488
|
#
|
1488
1489
|
#
|
@@ -1493,15 +1494,15 @@ module Aws::Lightsail
|
|
1493
1494
|
# A Boolean value to indicate whether to use the latest available
|
1494
1495
|
# automatic snapshot.
|
1495
1496
|
#
|
1496
|
-
#
|
1497
|
-
# parameter. The `use latest restorable auto snapshot` and `restore
|
1498
|
-
# date` parameters are mutually exclusive.
|
1497
|
+
# Constraints:
|
1499
1498
|
#
|
1500
|
-
#
|
1501
|
-
#
|
1502
|
-
#
|
1499
|
+
# * This parameter cannot be defined together with the `restore date`
|
1500
|
+
# parameter. The `use latest restorable auto snapshot` and `restore
|
1501
|
+
# date` parameters are mutually exclusive.
|
1503
1502
|
#
|
1504
|
-
#
|
1503
|
+
# * Define this parameter only when creating a new instance from an
|
1504
|
+
# automatic snapshot. For more information, see the [Lightsail Dev
|
1505
|
+
# Guide][1].
|
1505
1506
|
#
|
1506
1507
|
#
|
1507
1508
|
#
|
@@ -2288,13 +2289,12 @@ module Aws::Lightsail
|
|
2288
2289
|
# }
|
2289
2290
|
#
|
2290
2291
|
# @!attribute [rw] resource_name
|
2291
|
-
# The name of the source
|
2292
|
-
# snapshot.
|
2292
|
+
# The name of the source instance or disk from which to delete the
|
2293
|
+
# automatic snapshot.
|
2293
2294
|
# @return [String]
|
2294
2295
|
#
|
2295
2296
|
# @!attribute [rw] date
|
2296
2297
|
# The date of the automatic snapshot to delete in `YYYY-MM-DD` format.
|
2297
|
-
#
|
2298
2298
|
# Use the `get auto snapshots` operation to get the available
|
2299
2299
|
# automatic snapshots for a resource.
|
2300
2300
|
# @return [String]
|
@@ -2881,7 +2881,7 @@ module Aws::Lightsail
|
|
2881
2881
|
# @return [String]
|
2882
2882
|
#
|
2883
2883
|
# @!attribute [rw] resource_name
|
2884
|
-
# The name of the source resource
|
2884
|
+
# The name of the source resource for which to disable the add-on.
|
2885
2885
|
# @return [String]
|
2886
2886
|
#
|
2887
2887
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/DisableAddOnRequest AWS API Documentation
|
@@ -3567,8 +3567,8 @@ module Aws::Lightsail
|
|
3567
3567
|
# }
|
3568
3568
|
#
|
3569
3569
|
# @!attribute [rw] resource_name
|
3570
|
-
# The name of the source
|
3571
|
-
# information.
|
3570
|
+
# The name of the source instance or disk from which to get automatic
|
3571
|
+
# snapshot information.
|
3572
3572
|
# @return [String]
|
3573
3573
|
#
|
3574
3574
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAutoSnapshotsRequest AWS API Documentation
|
@@ -3579,7 +3579,7 @@ module Aws::Lightsail
|
|
3579
3579
|
end
|
3580
3580
|
|
3581
3581
|
# @!attribute [rw] resource_name
|
3582
|
-
# The name of the source
|
3582
|
+
# The name of the source instance or disk for the automatic snapshots.
|
3583
3583
|
# @return [String]
|
3584
3584
|
#
|
3585
3585
|
# @!attribute [rw] resource_type
|
@@ -3588,7 +3588,7 @@ module Aws::Lightsail
|
|
3588
3588
|
#
|
3589
3589
|
# @!attribute [rw] auto_snapshots
|
3590
3590
|
# An array of objects that describe the automatic snapshots that are
|
3591
|
-
# available for the specified source
|
3591
|
+
# available for the specified source instance or disk.
|
3592
3592
|
# @return [Array<Types::AutoSnapshotDetails>]
|
3593
3593
|
#
|
3594
3594
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetAutoSnapshotsResult AWS API Documentation
|
@@ -7404,6 +7404,10 @@ module Aws::Lightsail
|
|
7404
7404
|
# Describes the pending maintenance actions for the database.
|
7405
7405
|
# @return [Array<Types::PendingMaintenanceAction>]
|
7406
7406
|
#
|
7407
|
+
# @!attribute [rw] ca_certificate_identifier
|
7408
|
+
# The certificate associated with the database.
|
7409
|
+
# @return [String]
|
7410
|
+
#
|
7407
7411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RelationalDatabase AWS API Documentation
|
7408
7412
|
#
|
7409
7413
|
class RelationalDatabase < Struct.new(
|
@@ -7431,7 +7435,8 @@ module Aws::Lightsail
|
|
7431
7435
|
:preferred_maintenance_window,
|
7432
7436
|
:publicly_accessible,
|
7433
7437
|
:master_endpoint,
|
7434
|
-
:pending_maintenance_actions
|
7438
|
+
:pending_maintenance_actions,
|
7439
|
+
:ca_certificate_identifier)
|
7435
7440
|
include Aws::Structure
|
7436
7441
|
end
|
7437
7442
|
|
@@ -8357,6 +8362,7 @@ module Aws::Lightsail
|
|
8357
8362
|
# disable_backup_retention: false,
|
8358
8363
|
# publicly_accessible: false,
|
8359
8364
|
# apply_immediately: false,
|
8365
|
+
# ca_certificate_identifier: "string",
|
8360
8366
|
# }
|
8361
8367
|
#
|
8362
8368
|
# @!attribute [rw] relational_database_name
|
@@ -8451,6 +8457,11 @@ module Aws::Lightsail
|
|
8451
8457
|
# Default: `false`
|
8452
8458
|
# @return [Boolean]
|
8453
8459
|
#
|
8460
|
+
# @!attribute [rw] ca_certificate_identifier
|
8461
|
+
# Indicates the certificate that needs to be associated with the
|
8462
|
+
# database.
|
8463
|
+
# @return [String]
|
8464
|
+
#
|
8454
8465
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateRelationalDatabaseRequest AWS API Documentation
|
8455
8466
|
#
|
8456
8467
|
class UpdateRelationalDatabaseRequest < Struct.new(
|
@@ -8462,7 +8473,8 @@ module Aws::Lightsail
|
|
8462
8473
|
:enable_backup_retention,
|
8463
8474
|
:disable_backup_retention,
|
8464
8475
|
:publicly_accessible,
|
8465
|
-
:apply_immediately
|
8476
|
+
:apply_immediately,
|
8477
|
+
:ca_certificate_identifier)
|
8466
8478
|
include Aws::Structure
|
8467
8479
|
end
|
8468
8480
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lightsail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.27.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|