aws-sdk-lightsail 1.46.0 → 1.51.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/lib/aws-sdk-lightsail/client.rb +113 -27
- data/lib/aws-sdk-lightsail/client_api.rb +7 -0
- data/lib/aws-sdk-lightsail/types.rb +195 -39
- metadata +5 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09d33a72516d7f46694f3fcf12093a4833acb015e35de8e330a1de2f77a7f9e4'
|
4
|
+
data.tar.gz: 70ed45c81dafdd81638d3d6f79bb851992ec555695f478ba1c86e854ca2ad3ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0a082b2b5cef8124041a47ab7c3cf4d92bf0b893c91b00ca1370c62561cf471424ab0f05ddae1699309516281f8aa515fb255f0cf31fba7169924ec37c13bfa
|
7
|
+
data.tar.gz: 812bcd6996c6110774a1d1b4b8da78f5c148246c303c97bbbf9634d6b52ed784bea4f77118517e52b55735bfd6c6f9e53fb0ff4e04caa47c3a0648db43228712
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,31 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.51.0 (2021-06-02)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation updates for Lightsail
|
8
|
+
|
9
|
+
1.50.0 (2021-05-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Lightsail
|
13
|
+
|
14
|
+
1.49.0 (2021-05-19)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Documentation updates for Amazon Lightsail.
|
18
|
+
|
19
|
+
1.48.0 (2021-04-13)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Documentation updates for Amazon Lightsail.
|
23
|
+
|
24
|
+
1.47.0 (2021-04-01)
|
25
|
+
------------------
|
26
|
+
|
27
|
+
* Feature - This release adds support for state detail for Amazon Lightsail container services.
|
28
|
+
|
4
29
|
1.46.0 (2021-03-10)
|
5
30
|
------------------
|
6
31
|
|
@@ -301,4 +326,4 @@ Unreleased Changes
|
|
301
326
|
1.0.0.rc2 (2016-12-09)
|
302
327
|
------------------
|
303
328
|
|
304
|
-
* Feature - Initial release of `aws-sdk-lightsail`.
|
329
|
+
* Feature - Initial release of `aws-sdk-lightsail`.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.51.0
|
data/lib/aws-sdk-lightsail.rb
CHANGED
@@ -1309,7 +1309,9 @@ module Aws::Lightsail
|
|
1309
1309
|
# resp.container_service.tags[0].value #=> String
|
1310
1310
|
# resp.container_service.power #=> String, one of "nano", "micro", "small", "medium", "large", "xlarge"
|
1311
1311
|
# resp.container_service.power_id #=> String
|
1312
|
-
# resp.container_service.state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED"
|
1312
|
+
# resp.container_service.state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED", "DEPLOYING"
|
1313
|
+
# resp.container_service.state_detail.code #=> String, one of "CREATING_SYSTEM_RESOURCES", "CREATING_NETWORK_INFRASTRUCTURE", "PROVISIONING_CERTIFICATE", "PROVISIONING_SERVICE", "CREATING_DEPLOYMENT", "EVALUATING_HEALTH_CHECK", "ACTIVATING_DEPLOYMENT", "CERTIFICATE_LIMIT_EXCEEDED", "UNKNOWN_ERROR"
|
1314
|
+
# resp.container_service.state_detail.message #=> String
|
1313
1315
|
# resp.container_service.scale #=> Integer
|
1314
1316
|
# resp.container_service.current_deployment.version #=> Integer
|
1315
1317
|
# resp.container_service.current_deployment.state #=> String, one of "ACTIVATING", "ACTIVE", "INACTIVE", "FAILED"
|
@@ -1442,7 +1444,9 @@ module Aws::Lightsail
|
|
1442
1444
|
# resp.container_service.tags[0].value #=> String
|
1443
1445
|
# resp.container_service.power #=> String, one of "nano", "micro", "small", "medium", "large", "xlarge"
|
1444
1446
|
# resp.container_service.power_id #=> String
|
1445
|
-
# resp.container_service.state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED"
|
1447
|
+
# resp.container_service.state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED", "DEPLOYING"
|
1448
|
+
# resp.container_service.state_detail.code #=> String, one of "CREATING_SYSTEM_RESOURCES", "CREATING_NETWORK_INFRASTRUCTURE", "PROVISIONING_CERTIFICATE", "PROVISIONING_SERVICE", "CREATING_DEPLOYMENT", "EVALUATING_HEALTH_CHECK", "ACTIVATING_DEPLOYMENT", "CERTIFICATE_LIMIT_EXCEEDED", "UNKNOWN_ERROR"
|
1449
|
+
# resp.container_service.state_detail.message #=> String
|
1446
1450
|
# resp.container_service.scale #=> Integer
|
1447
1451
|
# resp.container_service.current_deployment.version #=> Integer
|
1448
1452
|
# resp.container_service.current_deployment.state #=> String, one of "ACTIVATING", "ACTIVE", "INACTIVE", "FAILED"
|
@@ -2096,7 +2100,8 @@ module Aws::Lightsail
|
|
2096
2100
|
# <note markdown="1"> You cannot register a new domain name using Lightsail. You must
|
2097
2101
|
# register a domain name using Amazon Route 53 or another domain name
|
2098
2102
|
# registrar. If you have already registered your domain, you can enter
|
2099
|
-
# its name in this parameter to manage the DNS records for that domain
|
2103
|
+
# its name in this parameter to manage the DNS records for that domain
|
2104
|
+
# using Lightsail.
|
2100
2105
|
#
|
2101
2106
|
# </note>
|
2102
2107
|
#
|
@@ -2945,43 +2950,114 @@ module Aws::Lightsail
|
|
2945
2950
|
# database bundles` operation.
|
2946
2951
|
#
|
2947
2952
|
# @option params [required, String] :master_database_name
|
2948
|
-
# The
|
2949
|
-
#
|
2953
|
+
# The meaning of this parameter differs according to the database engine
|
2954
|
+
# you use.
|
2955
|
+
#
|
2956
|
+
# **MySQL**
|
2957
|
+
#
|
2958
|
+
# The name of the database to create when the Lightsail database
|
2959
|
+
# resource is created. If this parameter isn't specified, no database
|
2960
|
+
# is created in the database resource.
|
2950
2961
|
#
|
2951
2962
|
# Constraints:
|
2952
2963
|
#
|
2953
|
-
# * Must contain
|
2964
|
+
# * Must contain 1 to 64 letters or numbers.
|
2965
|
+
#
|
2966
|
+
# * Must begin with a letter. Subsequent characters can be letters,
|
2967
|
+
# underscores, or digits (0- 9).
|
2968
|
+
#
|
2969
|
+
# * Can't be a word reserved by the specified database engine.
|
2970
|
+
#
|
2971
|
+
# For more information about reserved words in MySQL, see the Keywords
|
2972
|
+
# and Reserved Words articles for [MySQL 5.6][1], [MySQL 5.7][2], and
|
2973
|
+
# [MySQL 8.0][3].
|
2974
|
+
#
|
2975
|
+
# **PostgreSQL**
|
2976
|
+
#
|
2977
|
+
# The name of the database to create when the Lightsail database
|
2978
|
+
# resource is created. If this parameter isn't specified, a database
|
2979
|
+
# named `postgres` is created in the database resource.
|
2980
|
+
#
|
2981
|
+
# Constraints:
|
2954
2982
|
#
|
2955
|
-
# *
|
2983
|
+
# * Must contain 1 to 63 letters or numbers.
|
2984
|
+
#
|
2985
|
+
# * Must begin with a letter. Subsequent characters can be letters,
|
2986
|
+
# underscores, or digits (0- 9).
|
2987
|
+
#
|
2988
|
+
# * Can't be a word reserved by the specified database engine.
|
2989
|
+
#
|
2990
|
+
# For more information about reserved words in PostgreSQL, see the SQL
|
2991
|
+
# Key Words articles for [PostgreSQL 9.6][4], [PostgreSQL 10][5],
|
2992
|
+
# [PostgreSQL 11][6], and [PostgreSQL 12][7].
|
2993
|
+
#
|
2994
|
+
#
|
2995
|
+
#
|
2996
|
+
# [1]: https://dev.mysql.com/doc/refman/5.6/en/keywords.html
|
2997
|
+
# [2]: https://dev.mysql.com/doc/refman/5.7/en/keywords.html
|
2998
|
+
# [3]: https://dev.mysql.com/doc/refman/8.0/en/keywords.html
|
2999
|
+
# [4]: https://www.postgresql.org/docs/9.6/sql-keywords-appendix.html
|
3000
|
+
# [5]: https://www.postgresql.org/docs/10/sql-keywords-appendix.html
|
3001
|
+
# [6]: https://www.postgresql.org/docs/11/sql-keywords-appendix.html
|
3002
|
+
# [7]: https://www.postgresql.org/docs/12/sql-keywords-appendix.html
|
2956
3003
|
#
|
2957
3004
|
# @option params [required, String] :master_username
|
2958
|
-
# The
|
3005
|
+
# The name for the master user.
|
3006
|
+
#
|
3007
|
+
# **MySQL**
|
2959
3008
|
#
|
2960
3009
|
# Constraints:
|
2961
3010
|
#
|
2962
|
-
# *
|
3011
|
+
# * Required for MySQL.
|
2963
3012
|
#
|
2964
|
-
# * Must
|
3013
|
+
# * Must be 1 to 16 letters or numbers. Can contain underscores.
|
2965
3014
|
#
|
2966
|
-
# *
|
3015
|
+
# * First character must be a letter.
|
2967
3016
|
#
|
2968
|
-
# *
|
3017
|
+
# * Can't be a reserved word for the chosen database engine.
|
2969
3018
|
#
|
2970
3019
|
# For more information about reserved words in MySQL 5.6 or 5.7, see
|
2971
|
-
# the Keywords and Reserved Words articles for [MySQL 5.6][1]
|
2972
|
-
#
|
3020
|
+
# the Keywords and Reserved Words articles for [MySQL 5.6][1], [MySQL
|
3021
|
+
# 5.7][2], or [MySQL 8.0][3].
|
3022
|
+
#
|
3023
|
+
# **PostgreSQL**
|
3024
|
+
#
|
3025
|
+
# Constraints:
|
3026
|
+
#
|
3027
|
+
# * Required for PostgreSQL.
|
3028
|
+
#
|
3029
|
+
# * Must be 1 to 63 letters or numbers. Can contain underscores.
|
3030
|
+
#
|
3031
|
+
# * First character must be a letter.
|
3032
|
+
#
|
3033
|
+
# * Can't be a reserved word for the chosen database engine.
|
3034
|
+
#
|
3035
|
+
# For more information about reserved words in MySQL 5.6 or 5.7, see
|
3036
|
+
# the Keywords and Reserved Words articles for [PostgreSQL 9.6][4],
|
3037
|
+
# [PostgreSQL 10][5], [PostgreSQL 11][6], and [PostgreSQL 12][7].
|
2973
3038
|
#
|
2974
3039
|
#
|
2975
3040
|
#
|
2976
3041
|
# [1]: https://dev.mysql.com/doc/refman/5.6/en/keywords.html
|
2977
3042
|
# [2]: https://dev.mysql.com/doc/refman/5.7/en/keywords.html
|
3043
|
+
# [3]: https://dev.mysql.com/doc/refman/8.0/en/keywords.html
|
3044
|
+
# [4]: https://www.postgresql.org/docs/9.6/sql-keywords-appendix.html
|
3045
|
+
# [5]: https://www.postgresql.org/docs/10/sql-keywords-appendix.html
|
3046
|
+
# [6]: https://www.postgresql.org/docs/11/sql-keywords-appendix.html
|
3047
|
+
# [7]: https://www.postgresql.org/docs/12/sql-keywords-appendix.html
|
2978
3048
|
#
|
2979
3049
|
# @option params [String] :master_user_password
|
2980
|
-
# The password for the master user
|
2981
|
-
#
|
2982
|
-
#
|
3050
|
+
# The password for the master user. The password can include any
|
3051
|
+
# printable ASCII character except "/", """, or "@". It cannot
|
3052
|
+
# contain spaces.
|
3053
|
+
#
|
3054
|
+
# **MySQL**
|
3055
|
+
#
|
3056
|
+
# Constraints: Must contain from 8 to 41 characters.
|
3057
|
+
#
|
3058
|
+
# **PostgreSQL**
|
2983
3059
|
#
|
2984
|
-
# Constraints: Must contain 8 to
|
3060
|
+
# Constraints: Must contain from 8 to 128 characters.
|
2985
3061
|
#
|
2986
3062
|
# @option params [String] :preferred_backup_window
|
2987
3063
|
# The daily time range during which automated backups are created for
|
@@ -3109,7 +3185,7 @@ module Aws::Lightsail
|
|
3109
3185
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
|
3110
3186
|
#
|
3111
3187
|
# @option params [required, String] :relational_database_name
|
3112
|
-
# The name to use for your new database.
|
3188
|
+
# The name to use for your new Lightsail database resource.
|
3113
3189
|
#
|
3114
3190
|
# Constraints:
|
3115
3191
|
#
|
@@ -5594,7 +5670,9 @@ module Aws::Lightsail
|
|
5594
5670
|
# resp.container_services[0].tags[0].value #=> String
|
5595
5671
|
# resp.container_services[0].power #=> String, one of "nano", "micro", "small", "medium", "large", "xlarge"
|
5596
5672
|
# resp.container_services[0].power_id #=> String
|
5597
|
-
# resp.container_services[0].state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED"
|
5673
|
+
# resp.container_services[0].state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED", "DEPLOYING"
|
5674
|
+
# resp.container_services[0].state_detail.code #=> String, one of "CREATING_SYSTEM_RESOURCES", "CREATING_NETWORK_INFRASTRUCTURE", "PROVISIONING_CERTIFICATE", "PROVISIONING_SERVICE", "CREATING_DEPLOYMENT", "EVALUATING_HEALTH_CHECK", "ACTIVATING_DEPLOYMENT", "CERTIFICATE_LIMIT_EXCEEDED", "UNKNOWN_ERROR"
|
5675
|
+
# resp.container_services[0].state_detail.message #=> String
|
5598
5676
|
# resp.container_services[0].scale #=> Integer
|
5599
5677
|
# resp.container_services[0].current_deployment.version #=> Integer
|
5600
5678
|
# resp.container_services[0].current_deployment.state #=> String, one of "ACTIVATING", "ACTIVE", "INACTIVE", "FAILED"
|
@@ -8479,7 +8557,7 @@ module Aws::Lightsail
|
|
8479
8557
|
req.send_request(options)
|
8480
8558
|
end
|
8481
8559
|
|
8482
|
-
# Returns information about
|
8560
|
+
# Returns information about an Amazon Lightsail static IP.
|
8483
8561
|
#
|
8484
8562
|
# @option params [required, String] :static_ip_name
|
8485
8563
|
# The name of the static IP in Lightsail.
|
@@ -9923,7 +10001,9 @@ module Aws::Lightsail
|
|
9923
10001
|
# resp.container_service.tags[0].value #=> String
|
9924
10002
|
# resp.container_service.power #=> String, one of "nano", "micro", "small", "medium", "large", "xlarge"
|
9925
10003
|
# resp.container_service.power_id #=> String
|
9926
|
-
# resp.container_service.state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED"
|
10004
|
+
# resp.container_service.state #=> String, one of "PENDING", "READY", "RUNNING", "UPDATING", "DELETING", "DISABLED", "DEPLOYING"
|
10005
|
+
# resp.container_service.state_detail.code #=> String, one of "CREATING_SYSTEM_RESOURCES", "CREATING_NETWORK_INFRASTRUCTURE", "PROVISIONING_CERTIFICATE", "PROVISIONING_SERVICE", "CREATING_DEPLOYMENT", "EVALUATING_HEALTH_CHECK", "ACTIVATING_DEPLOYMENT", "CERTIFICATE_LIMIT_EXCEEDED", "UNKNOWN_ERROR"
|
10006
|
+
# resp.container_service.state_detail.message #=> String
|
9927
10007
|
# resp.container_service.scale #=> Integer
|
9928
10008
|
# resp.container_service.current_deployment.version #=> Integer
|
9929
10009
|
# resp.container_service.current_deployment.state #=> String, one of "ACTIVATING", "ACTIVE", "INACTIVE", "FAILED"
|
@@ -10291,13 +10371,19 @@ module Aws::Lightsail
|
|
10291
10371
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
|
10292
10372
|
#
|
10293
10373
|
# @option params [required, String] :relational_database_name
|
10294
|
-
# The name of your database to update.
|
10374
|
+
# The name of your Lightsail database resource to update.
|
10295
10375
|
#
|
10296
10376
|
# @option params [String] :master_user_password
|
10297
|
-
# The password for the master user
|
10298
|
-
#
|
10377
|
+
# The password for the master user. The password can include any
|
10378
|
+
# printable ASCII character except "/", """, or "@".
|
10379
|
+
#
|
10380
|
+
# My**SQL**
|
10381
|
+
#
|
10382
|
+
# Constraints: Must contain from 8 to 41 characters.
|
10383
|
+
#
|
10384
|
+
# **PostgreSQL**
|
10299
10385
|
#
|
10300
|
-
# Constraints: Must contain 8 to
|
10386
|
+
# Constraints: Must contain from 8 to 128 characters.
|
10301
10387
|
#
|
10302
10388
|
# @option params [Boolean] :rotate_master_user_password
|
10303
10389
|
# When `true`, the master user password is changed to a new strong
|
@@ -10508,7 +10594,7 @@ module Aws::Lightsail
|
|
10508
10594
|
params: params,
|
10509
10595
|
config: config)
|
10510
10596
|
context[:gem_name] = 'aws-sdk-lightsail'
|
10511
|
-
context[:gem_version] = '1.
|
10597
|
+
context[:gem_version] = '1.51.0'
|
10512
10598
|
Seahorse::Client::Request.new(handlers, context)
|
10513
10599
|
end
|
10514
10600
|
|
@@ -106,6 +106,8 @@ module Aws::Lightsail
|
|
106
106
|
ContainerServiceRegistryLogin = Shapes::StructureShape.new(name: 'ContainerServiceRegistryLogin')
|
107
107
|
ContainerServiceScale = Shapes::IntegerShape.new(name: 'ContainerServiceScale')
|
108
108
|
ContainerServiceState = Shapes::StringShape.new(name: 'ContainerServiceState')
|
109
|
+
ContainerServiceStateDetail = Shapes::StructureShape.new(name: 'ContainerServiceStateDetail')
|
110
|
+
ContainerServiceStateDetailCode = Shapes::StringShape.new(name: 'ContainerServiceStateDetailCode')
|
109
111
|
ContainerServicesListResult = Shapes::StructureShape.new(name: 'ContainerServicesListResult')
|
110
112
|
CookieObject = Shapes::StructureShape.new(name: 'CookieObject')
|
111
113
|
CopySnapshotRequest = Shapes::StructureShape.new(name: 'CopySnapshotRequest')
|
@@ -835,6 +837,7 @@ module Aws::Lightsail
|
|
835
837
|
ContainerService.add_member(:power, Shapes::ShapeRef.new(shape: ContainerServicePowerName, location_name: "power"))
|
836
838
|
ContainerService.add_member(:power_id, Shapes::ShapeRef.new(shape: string, location_name: "powerId"))
|
837
839
|
ContainerService.add_member(:state, Shapes::ShapeRef.new(shape: ContainerServiceState, location_name: "state"))
|
840
|
+
ContainerService.add_member(:state_detail, Shapes::ShapeRef.new(shape: ContainerServiceStateDetail, location_name: "stateDetail"))
|
838
841
|
ContainerService.add_member(:scale, Shapes::ShapeRef.new(shape: ContainerServiceScale, location_name: "scale"))
|
839
842
|
ContainerService.add_member(:current_deployment, Shapes::ShapeRef.new(shape: ContainerServiceDeployment, location_name: "currentDeployment"))
|
840
843
|
ContainerService.add_member(:next_deployment, Shapes::ShapeRef.new(shape: ContainerServiceDeployment, location_name: "nextDeployment"))
|
@@ -905,6 +908,10 @@ module Aws::Lightsail
|
|
905
908
|
ContainerServiceRegistryLogin.add_member(:registry, Shapes::ShapeRef.new(shape: string, location_name: "registry"))
|
906
909
|
ContainerServiceRegistryLogin.struct_class = Types::ContainerServiceRegistryLogin
|
907
910
|
|
911
|
+
ContainerServiceStateDetail.add_member(:code, Shapes::ShapeRef.new(shape: ContainerServiceStateDetailCode, location_name: "code"))
|
912
|
+
ContainerServiceStateDetail.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
913
|
+
ContainerServiceStateDetail.struct_class = Types::ContainerServiceStateDetail
|
914
|
+
|
908
915
|
ContainerServicesListResult.add_member(:container_services, Shapes::ShapeRef.new(shape: ContainerServiceList, location_name: "containerServices"))
|
909
916
|
ContainerServicesListResult.struct_class = Types::ContainerServicesListResult
|
910
917
|
|
@@ -1681,25 +1681,37 @@ module Aws::Lightsail
|
|
1681
1681
|
# @!attribute [rw] state
|
1682
1682
|
# The current state of the container service.
|
1683
1683
|
#
|
1684
|
-
# The
|
1684
|
+
# The following container service states are possible:
|
1685
1685
|
#
|
1686
|
-
# * `
|
1686
|
+
# * `PENDING` - The container service is being created.
|
1687
1687
|
#
|
1688
|
-
# * `
|
1689
|
-
# container deployment.
|
1690
|
-
#
|
1691
|
-
# * `Disabled` - The container service is disabled.
|
1692
|
-
#
|
1693
|
-
# * `Updating` - The container service capacity or other setting is
|
1694
|
-
# being updated.
|
1688
|
+
# * `READY` - The container service is running but it does not have an
|
1689
|
+
# active container deployment.
|
1695
1690
|
#
|
1696
|
-
# * `
|
1691
|
+
# * `DEPLOYING` - The container service is launching a container
|
1697
1692
|
# deployment.
|
1698
1693
|
#
|
1699
|
-
# * `
|
1694
|
+
# * `RUNNING` - The container service is running and it has an active
|
1700
1695
|
# container deployment.
|
1696
|
+
#
|
1697
|
+
# * `UPDATING` - The container service capacity or its custom domains
|
1698
|
+
# are being updated.
|
1699
|
+
#
|
1700
|
+
# * `DELETING` - The container service is being deleted.
|
1701
|
+
#
|
1702
|
+
# * `DISABLED` - The container service is disabled, and its active
|
1703
|
+
# deployment and containers, if any, are shut down.
|
1701
1704
|
# @return [String]
|
1702
1705
|
#
|
1706
|
+
# @!attribute [rw] state_detail
|
1707
|
+
# An object that describes the current state of the container service.
|
1708
|
+
#
|
1709
|
+
# <note markdown="1"> The state detail is populated only when a container service is in a
|
1710
|
+
# `PENDING`, `DEPLOYING`, or `UPDATING` state.
|
1711
|
+
#
|
1712
|
+
# </note>
|
1713
|
+
# @return [Types::ContainerServiceStateDetail]
|
1714
|
+
#
|
1703
1715
|
# @!attribute [rw] scale
|
1704
1716
|
# The scale specification of the container service.
|
1705
1717
|
#
|
@@ -1782,6 +1794,7 @@ module Aws::Lightsail
|
|
1782
1794
|
:power,
|
1783
1795
|
:power_id,
|
1784
1796
|
:state,
|
1797
|
+
:state_detail,
|
1785
1798
|
:scale,
|
1786
1799
|
:current_deployment,
|
1787
1800
|
:next_deployment,
|
@@ -2094,6 +2107,65 @@ module Aws::Lightsail
|
|
2094
2107
|
include Aws::Structure
|
2095
2108
|
end
|
2096
2109
|
|
2110
|
+
# Describes the current state of a container service.
|
2111
|
+
#
|
2112
|
+
# @!attribute [rw] code
|
2113
|
+
# The state code of the container service.
|
2114
|
+
#
|
2115
|
+
# The following state codes are possible:
|
2116
|
+
#
|
2117
|
+
# * The following state codes are possible if your container service
|
2118
|
+
# is in a `DEPLOYING` or `UPDATING` state:
|
2119
|
+
#
|
2120
|
+
# * `CREATING_SYSTEM_RESOURCES` - The system resources for your
|
2121
|
+
# container service are being created.
|
2122
|
+
#
|
2123
|
+
# * `CREATING_NETWORK_INFRASTRUCTURE` - The network infrastructure
|
2124
|
+
# for your container service are being created.
|
2125
|
+
#
|
2126
|
+
# * `PROVISIONING_CERTIFICATE` - The SSL/TLS certificate for your
|
2127
|
+
# container service is being created.
|
2128
|
+
#
|
2129
|
+
# * `PROVISIONING_SERVICE` - Your container service is being
|
2130
|
+
# provisioned.
|
2131
|
+
#
|
2132
|
+
# * `CREATING_DEPLOYMENT` - Your deployment is being created on your
|
2133
|
+
# container service.
|
2134
|
+
#
|
2135
|
+
# * `EVALUATING_HEALTH_CHECK` - The health of your deployment is
|
2136
|
+
# being evaluated.
|
2137
|
+
#
|
2138
|
+
# * `ACTIVATING_DEPLOYMENT` - Your deployment is being activated.
|
2139
|
+
#
|
2140
|
+
# * The following state codes are possible if your container service
|
2141
|
+
# is in a `PENDING` state:
|
2142
|
+
#
|
2143
|
+
# * `CERTIFICATE_LIMIT_EXCEEDED` - The SSL/TLS certificate required
|
2144
|
+
# for your container service exceeds the maximum number of
|
2145
|
+
# certificates allowed for your account.
|
2146
|
+
#
|
2147
|
+
# * `UNKNOWN_ERROR` - An error was experienced when your container
|
2148
|
+
# service was being created.
|
2149
|
+
# @return [String]
|
2150
|
+
#
|
2151
|
+
# @!attribute [rw] message
|
2152
|
+
# A message that provides more information for the state code.
|
2153
|
+
#
|
2154
|
+
# <note markdown="1"> The state detail is populated only when a container service is in a
|
2155
|
+
# `PENDING`, `DEPLOYING`, or `UPDATING` state.
|
2156
|
+
#
|
2157
|
+
# </note>
|
2158
|
+
# @return [String]
|
2159
|
+
#
|
2160
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/ContainerServiceStateDetail AWS API Documentation
|
2161
|
+
#
|
2162
|
+
class ContainerServiceStateDetail < Struct.new(
|
2163
|
+
:code,
|
2164
|
+
:message)
|
2165
|
+
SENSITIVE = []
|
2166
|
+
include Aws::Structure
|
2167
|
+
end
|
2168
|
+
|
2097
2169
|
# @!attribute [rw] container_services
|
2098
2170
|
# An array of objects that describe one or more container services.
|
2099
2171
|
# @return [Array<Types::ContainerService>]
|
@@ -3218,8 +3290,8 @@ module Aws::Lightsail
|
|
3218
3290
|
# <note markdown="1"> You cannot register a new domain name using Lightsail. You must
|
3219
3291
|
# register a domain name using Amazon Route 53 or another domain name
|
3220
3292
|
# registrar. If you have already registered your domain, you can enter
|
3221
|
-
# its name in this parameter to manage the DNS records for that
|
3222
|
-
#
|
3293
|
+
# its name in this parameter to manage the DNS records for that domain
|
3294
|
+
# using Lightsail.
|
3223
3295
|
#
|
3224
3296
|
# </note>
|
3225
3297
|
# @return [String]
|
@@ -3936,7 +4008,7 @@ module Aws::Lightsail
|
|
3936
4008
|
# }
|
3937
4009
|
#
|
3938
4010
|
# @!attribute [rw] relational_database_name
|
3939
|
-
# The name to use for your new database.
|
4011
|
+
# The name to use for your new Lightsail database resource.
|
3940
4012
|
#
|
3941
4013
|
# Constraints:
|
3942
4014
|
#
|
@@ -4105,45 +4177,116 @@ module Aws::Lightsail
|
|
4105
4177
|
# @return [String]
|
4106
4178
|
#
|
4107
4179
|
# @!attribute [rw] master_database_name
|
4108
|
-
# The
|
4109
|
-
#
|
4180
|
+
# The meaning of this parameter differs according to the database
|
4181
|
+
# engine you use.
|
4182
|
+
#
|
4183
|
+
# **MySQL**
|
4184
|
+
#
|
4185
|
+
# The name of the database to create when the Lightsail database
|
4186
|
+
# resource is created. If this parameter isn't specified, no database
|
4187
|
+
# is created in the database resource.
|
4110
4188
|
#
|
4111
4189
|
# Constraints:
|
4112
4190
|
#
|
4113
|
-
# * Must contain
|
4191
|
+
# * Must contain 1 to 64 letters or numbers.
|
4192
|
+
#
|
4193
|
+
# * Must begin with a letter. Subsequent characters can be letters,
|
4194
|
+
# underscores, or digits (0- 9).
|
4195
|
+
#
|
4196
|
+
# * Can't be a word reserved by the specified database engine.
|
4197
|
+
#
|
4198
|
+
# For more information about reserved words in MySQL, see the
|
4199
|
+
# Keywords and Reserved Words articles for [MySQL 5.6][1], [MySQL
|
4200
|
+
# 5.7][2], and [MySQL 8.0][3].
|
4201
|
+
#
|
4202
|
+
# **PostgreSQL**
|
4203
|
+
#
|
4204
|
+
# The name of the database to create when the Lightsail database
|
4205
|
+
# resource is created. If this parameter isn't specified, a database
|
4206
|
+
# named `postgres` is created in the database resource.
|
4207
|
+
#
|
4208
|
+
# Constraints:
|
4209
|
+
#
|
4210
|
+
# * Must contain 1 to 63 letters or numbers.
|
4211
|
+
#
|
4212
|
+
# * Must begin with a letter. Subsequent characters can be letters,
|
4213
|
+
# underscores, or digits (0- 9).
|
4214
|
+
#
|
4215
|
+
# * Can't be a word reserved by the specified database engine.
|
4216
|
+
#
|
4217
|
+
# For more information about reserved words in PostgreSQL, see the
|
4218
|
+
# SQL Key Words articles for [PostgreSQL 9.6][4], [PostgreSQL
|
4219
|
+
# 10][5], [PostgreSQL 11][6], and [PostgreSQL 12][7].
|
4220
|
+
#
|
4221
|
+
#
|
4114
4222
|
#
|
4115
|
-
#
|
4223
|
+
# [1]: https://dev.mysql.com/doc/refman/5.6/en/keywords.html
|
4224
|
+
# [2]: https://dev.mysql.com/doc/refman/5.7/en/keywords.html
|
4225
|
+
# [3]: https://dev.mysql.com/doc/refman/8.0/en/keywords.html
|
4226
|
+
# [4]: https://www.postgresql.org/docs/9.6/sql-keywords-appendix.html
|
4227
|
+
# [5]: https://www.postgresql.org/docs/10/sql-keywords-appendix.html
|
4228
|
+
# [6]: https://www.postgresql.org/docs/11/sql-keywords-appendix.html
|
4229
|
+
# [7]: https://www.postgresql.org/docs/12/sql-keywords-appendix.html
|
4116
4230
|
# @return [String]
|
4117
4231
|
#
|
4118
4232
|
# @!attribute [rw] master_username
|
4119
|
-
# The
|
4233
|
+
# The name for the master user.
|
4234
|
+
#
|
4235
|
+
# **MySQL**
|
4120
4236
|
#
|
4121
4237
|
# Constraints:
|
4122
4238
|
#
|
4123
|
-
# *
|
4239
|
+
# * Required for MySQL.
|
4124
4240
|
#
|
4125
|
-
# * Must
|
4241
|
+
# * Must be 1 to 16 letters or numbers. Can contain underscores.
|
4126
4242
|
#
|
4127
|
-
# *
|
4243
|
+
# * First character must be a letter.
|
4128
4244
|
#
|
4129
|
-
# *
|
4245
|
+
# * Can't be a reserved word for the chosen database engine.
|
4130
4246
|
#
|
4131
4247
|
# For more information about reserved words in MySQL 5.6 or 5.7, see
|
4132
|
-
# the Keywords and Reserved Words articles for [MySQL 5.6][1]
|
4133
|
-
# [MySQL 5.7][2]
|
4248
|
+
# the Keywords and Reserved Words articles for [MySQL 5.6][1],
|
4249
|
+
# [MySQL 5.7][2], or [MySQL 8.0][3].
|
4250
|
+
#
|
4251
|
+
# **PostgreSQL**
|
4252
|
+
#
|
4253
|
+
# Constraints:
|
4254
|
+
#
|
4255
|
+
# * Required for PostgreSQL.
|
4256
|
+
#
|
4257
|
+
# * Must be 1 to 63 letters or numbers. Can contain underscores.
|
4258
|
+
#
|
4259
|
+
# * First character must be a letter.
|
4260
|
+
#
|
4261
|
+
# * Can't be a reserved word for the chosen database engine.
|
4262
|
+
#
|
4263
|
+
# For more information about reserved words in MySQL 5.6 or 5.7, see
|
4264
|
+
# the Keywords and Reserved Words articles for [PostgreSQL 9.6][4],
|
4265
|
+
# [PostgreSQL 10][5], [PostgreSQL 11][6], and [PostgreSQL 12][7].
|
4134
4266
|
#
|
4135
4267
|
#
|
4136
4268
|
#
|
4137
4269
|
# [1]: https://dev.mysql.com/doc/refman/5.6/en/keywords.html
|
4138
4270
|
# [2]: https://dev.mysql.com/doc/refman/5.7/en/keywords.html
|
4271
|
+
# [3]: https://dev.mysql.com/doc/refman/8.0/en/keywords.html
|
4272
|
+
# [4]: https://www.postgresql.org/docs/9.6/sql-keywords-appendix.html
|
4273
|
+
# [5]: https://www.postgresql.org/docs/10/sql-keywords-appendix.html
|
4274
|
+
# [6]: https://www.postgresql.org/docs/11/sql-keywords-appendix.html
|
4275
|
+
# [7]: https://www.postgresql.org/docs/12/sql-keywords-appendix.html
|
4139
4276
|
# @return [String]
|
4140
4277
|
#
|
4141
4278
|
# @!attribute [rw] master_user_password
|
4142
|
-
# The password for the master user
|
4143
|
-
#
|
4144
|
-
#
|
4279
|
+
# The password for the master user. The password can include any
|
4280
|
+
# printable ASCII character except "/", """, or "@". It cannot
|
4281
|
+
# contain spaces.
|
4282
|
+
#
|
4283
|
+
# **MySQL**
|
4284
|
+
#
|
4285
|
+
# Constraints: Must contain from 8 to 41 characters.
|
4286
|
+
#
|
4287
|
+
# **PostgreSQL**
|
4145
4288
|
#
|
4146
|
-
# Constraints: Must contain 8 to
|
4289
|
+
# Constraints: Must contain from 8 to 128 characters.
|
4147
4290
|
# @return [String]
|
4148
4291
|
#
|
4149
4292
|
# @!attribute [rw] preferred_backup_window
|
@@ -5638,12 +5781,17 @@ module Aws::Lightsail
|
|
5638
5781
|
# @return [String]
|
5639
5782
|
#
|
5640
5783
|
# @!attribute [rw] target
|
5641
|
-
# The target
|
5784
|
+
# The target IP address (e.g., `192.0.2.0`), or AWS name server (e.g.,
|
5785
|
+
# `ns-111.awsdns-22.com.`).
|
5642
5786
|
#
|
5643
5787
|
# For Lightsail load balancers, the value looks like
|
5644
5788
|
# `ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com`.
|
5789
|
+
# For Lightsail distributions, the value looks like
|
5790
|
+
# `exampled1182ne.cloudfront.net`. For Lightsail container services,
|
5791
|
+
# the value looks like
|
5792
|
+
# `container-service-1.example23scljs.us-west-2.cs.amazonlightsail.com`.
|
5645
5793
|
# Be sure to also set `isAlias` to `true` when setting up an A record
|
5646
|
-
# for a load balancer.
|
5794
|
+
# for a Lightsail load balancer, distribution, or container service.
|
5647
5795
|
# @return [String]
|
5648
5796
|
#
|
5649
5797
|
# @!attribute [rw] is_alias
|
@@ -5654,14 +5802,17 @@ module Aws::Lightsail
|
|
5654
5802
|
# @return [Boolean]
|
5655
5803
|
#
|
5656
5804
|
# @!attribute [rw] type
|
5657
|
-
# The type of domain entry, such as address (A),
|
5658
|
-
# (
|
5659
|
-
# (SOA), service locator (SRV), or
|
5805
|
+
# The type of domain entry, such as address for IPv4 (A), address for
|
5806
|
+
# IPv6 (AAAA), canonical name (CNAME), mail exchanger (MX), name
|
5807
|
+
# server (NS), start of authority (SOA), service locator (SRV), or
|
5808
|
+
# text (TXT).
|
5660
5809
|
#
|
5661
5810
|
# The following domain entry types can be used:
|
5662
5811
|
#
|
5663
5812
|
# * `A`
|
5664
5813
|
#
|
5814
|
+
# * `AAAA`
|
5815
|
+
#
|
5665
5816
|
# * `CNAME`
|
5666
5817
|
#
|
5667
5818
|
# * `MX`
|
@@ -13809,15 +13960,20 @@ module Aws::Lightsail
|
|
13809
13960
|
# }
|
13810
13961
|
#
|
13811
13962
|
# @!attribute [rw] relational_database_name
|
13812
|
-
# The name of your database to update.
|
13963
|
+
# The name of your Lightsail database resource to update.
|
13813
13964
|
# @return [String]
|
13814
13965
|
#
|
13815
13966
|
# @!attribute [rw] master_user_password
|
13816
|
-
# The password for the master user
|
13817
|
-
#
|
13818
|
-
#
|
13967
|
+
# The password for the master user. The password can include any
|
13968
|
+
# printable ASCII character except "/", """, or "@".
|
13969
|
+
#
|
13970
|
+
# My**SQL**
|
13971
|
+
#
|
13972
|
+
# Constraints: Must contain from 8 to 41 characters.
|
13973
|
+
#
|
13974
|
+
# **PostgreSQL**
|
13819
13975
|
#
|
13820
|
-
# Constraints: Must contain 8 to
|
13976
|
+
# Constraints: Must contain from 8 to 128 characters.
|
13821
13977
|
# @return [String]
|
13822
13978
|
#
|
13823
13979
|
# @!attribute [rw] rotate_master_user_password
|
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.51.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: 2021-
|
11
|
+
date: 2021-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
|
|
66
66
|
licenses:
|
67
67
|
- Apache-2.0
|
68
68
|
metadata:
|
69
|
-
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
70
|
-
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/
|
69
|
+
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lightsail
|
70
|
+
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lightsail/CHANGELOG.md
|
71
71
|
post_install_message:
|
72
72
|
rdoc_options: []
|
73
73
|
require_paths:
|
@@ -83,8 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
requirements: []
|
86
|
-
|
87
|
-
rubygems_version: 2.7.6.2
|
86
|
+
rubygems_version: 3.1.6
|
88
87
|
signing_key:
|
89
88
|
specification_version: 4
|
90
89
|
summary: AWS SDK for Ruby - Amazon Lightsail
|