aws-sdk-lightsail 1.63.0 → 1.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail/client.rb +187 -66
- data/lib/aws-sdk-lightsail/client_api.rb +46 -0
- data/lib/aws-sdk-lightsail/types.rb +344 -53
- data/lib/aws-sdk-lightsail.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c7c57b35905eae9b25db269021c6e3cae6f6dc447ab40ad265721a37cef3465
|
|
4
|
+
data.tar.gz: 38f41a6a8625e04875901c48681665897b336144412cef9290a4647976979e94
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e61b6533872e430dccd5c6944de1eea39533127b766d8f45a3dec76dbe912c69a9487f88780544791ee60fecda748186ef15e14d3f46143c8e94b32cacdb3d3c
|
|
7
|
+
data.tar.gz: 94c7ddcc21ae5232d9e75aa96887a8e951b76f77bf3578610000aaeeb41365fc0ca73c8096c3b9102137dd319e6531fd9722758a316da8dff559d7375bf2aecb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.66.0 (2022-05-04)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Documentation updates for Lightsail
|
|
8
|
+
|
|
9
|
+
1.65.0 (2022-04-26)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds support for Lightsail load balancer HTTP to HTTPS redirect and TLS policy configuration.
|
|
13
|
+
|
|
14
|
+
1.64.0 (2022-04-15)
|
|
15
|
+
------------------
|
|
16
|
+
|
|
17
|
+
* Feature - This release adds support to describe the synchronization status of the account-level block public access feature for your Amazon Lightsail buckets.
|
|
18
|
+
|
|
4
19
|
1.63.0 (2022-02-24)
|
|
5
20
|
------------------
|
|
6
21
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.66.0
|
|
@@ -412,11 +412,11 @@ module Aws::Lightsail
|
|
|
412
412
|
# Use the `CreateCertificate` action to create a certificate that you
|
|
413
413
|
# can attach to your distribution.
|
|
414
414
|
#
|
|
415
|
-
# Only certificates created in the `us-east-1`
|
|
416
|
-
# attached to Lightsail distributions. Lightsail
|
|
417
|
-
# global resources that can reference an origin in any
|
|
418
|
-
# distribute its content globally.
|
|
419
|
-
# located in the `us-east-1` Region.
|
|
415
|
+
# Only certificates created in the `us-east-1` Amazon Web Services
|
|
416
|
+
# Region can be attached to Lightsail distributions. Lightsail
|
|
417
|
+
# distributions are global resources that can reference an origin in any
|
|
418
|
+
# Amazon Web Services Region, and distribute its content globally.
|
|
419
|
+
# However, all distributions are located in the `us-east-1` Region.
|
|
420
420
|
#
|
|
421
421
|
# @option params [required, String] :distribution_name
|
|
422
422
|
# The name of the distribution that the certificate will be attached to.
|
|
@@ -773,8 +773,8 @@ module Aws::Lightsail
|
|
|
773
773
|
# Copies a manual snapshot of an instance or disk as another manual
|
|
774
774
|
# snapshot, or copies an automatic snapshot of an instance or disk as a
|
|
775
775
|
# manual snapshot. This operation can also be used to copy a manual or
|
|
776
|
-
# automatic snapshot of an instance or a disk from one
|
|
777
|
-
# another in Amazon Lightsail.
|
|
776
|
+
# automatic snapshot of an instance or a disk from one Amazon Web
|
|
777
|
+
# Services Region to another in Amazon Lightsail.
|
|
778
778
|
#
|
|
779
779
|
# When copying a *manual snapshot*, be sure to define the `source
|
|
780
780
|
# region`, `source snapshot name`, and `target snapshot name`
|
|
@@ -854,8 +854,8 @@ module Aws::Lightsail
|
|
|
854
854
|
# The name of the new manual snapshot to be created as a copy.
|
|
855
855
|
#
|
|
856
856
|
# @option params [required, String] :source_region
|
|
857
|
-
# The
|
|
858
|
-
# located.
|
|
857
|
+
# The Amazon Web Services Region where the source manual or automatic
|
|
858
|
+
# snapshot is located.
|
|
859
859
|
#
|
|
860
860
|
# @return [Types::CopySnapshotResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
861
861
|
#
|
|
@@ -1107,11 +1107,11 @@ module Aws::Lightsail
|
|
|
1107
1107
|
# `UpdateContainerService` action to use the certificate and its domains
|
|
1108
1108
|
# with your container service.
|
|
1109
1109
|
#
|
|
1110
|
-
# Only certificates created in the `us-east-1`
|
|
1111
|
-
# attached to Lightsail distributions. Lightsail
|
|
1112
|
-
# global resources that can reference an origin in any
|
|
1113
|
-
# distribute its content globally.
|
|
1114
|
-
# located in the `us-east-1` Region.
|
|
1110
|
+
# Only certificates created in the `us-east-1` Amazon Web Services
|
|
1111
|
+
# Region can be attached to Lightsail distributions. Lightsail
|
|
1112
|
+
# distributions are global resources that can reference an origin in any
|
|
1113
|
+
# Amazon Web Services Region, and distribute its content globally.
|
|
1114
|
+
# However, all distributions are located in the `us-east-1` Region.
|
|
1115
1115
|
#
|
|
1116
1116
|
# @option params [required, String] :certificate_name
|
|
1117
1117
|
# The name for the certificate.
|
|
@@ -1285,10 +1285,11 @@ module Aws::Lightsail
|
|
|
1285
1285
|
#
|
|
1286
1286
|
# A contact method is used to send you notifications about your Amazon
|
|
1287
1287
|
# Lightsail resources. You can add one email address and one mobile
|
|
1288
|
-
# phone number contact method in each
|
|
1289
|
-
# messaging is not supported in some
|
|
1290
|
-
# cannot be sent to some
|
|
1291
|
-
# [Notifications in Amazon
|
|
1288
|
+
# phone number contact method in each Amazon Web Services Region.
|
|
1289
|
+
# However, SMS text messaging is not supported in some Amazon Web
|
|
1290
|
+
# Services Regions, and SMS text messages cannot be sent to some
|
|
1291
|
+
# countries/regions. For more information, see [Notifications in Amazon
|
|
1292
|
+
# Lightsail][1].
|
|
1292
1293
|
#
|
|
1293
1294
|
#
|
|
1294
1295
|
#
|
|
@@ -1298,7 +1299,8 @@ module Aws::Lightsail
|
|
|
1298
1299
|
# The protocol of the contact method, such as `Email` or `SMS` (text
|
|
1299
1300
|
# messaging).
|
|
1300
1301
|
#
|
|
1301
|
-
# The `SMS` protocol is supported only in the following
|
|
1302
|
+
# The `SMS` protocol is supported only in the following Amazon Web
|
|
1303
|
+
# Services Regions.
|
|
1302
1304
|
#
|
|
1303
1305
|
# * US East (N. Virginia) (`us-east-1`)
|
|
1304
1306
|
#
|
|
@@ -1313,9 +1315,9 @@ module Aws::Lightsail
|
|
|
1313
1315
|
# * Asia Pacific (Sydney) (`ap-southeast-2`)
|
|
1314
1316
|
#
|
|
1315
1317
|
# For a list of countries/regions where SMS text messages can be sent,
|
|
1316
|
-
# and the latest
|
|
1317
|
-
# [Supported Regions and Countries][1] in the *Amazon SNS
|
|
1318
|
-
# Guide*.
|
|
1318
|
+
# and the latest Amazon Web Services Regions where SMS text messaging is
|
|
1319
|
+
# supported, see [Supported Regions and Countries][1] in the *Amazon SNS
|
|
1320
|
+
# Developer Guide*.
|
|
1319
1321
|
#
|
|
1320
1322
|
# For more information about notifications in Amazon Lightsail, see
|
|
1321
1323
|
# [Notifications in Amazon Lightsail][2].
|
|
@@ -1402,7 +1404,8 @@ module Aws::Lightsail
|
|
|
1402
1404
|
#
|
|
1403
1405
|
# The following are the requirements for container service names:
|
|
1404
1406
|
#
|
|
1405
|
-
# * Must be unique within each
|
|
1407
|
+
# * Must be unique within each Amazon Web Services Region in your
|
|
1408
|
+
# Lightsail account.
|
|
1406
1409
|
#
|
|
1407
1410
|
# * Must contain 1 to 63 characters.
|
|
1408
1411
|
#
|
|
@@ -1605,10 +1608,10 @@ module Aws::Lightsail
|
|
|
1605
1608
|
# and the health check configuration.
|
|
1606
1609
|
#
|
|
1607
1610
|
# You can deploy containers to your container service using container
|
|
1608
|
-
# images from a public registry
|
|
1609
|
-
# machine. For more information, see [Creating container images
|
|
1610
|
-
# Amazon Lightsail container services][1] in the *Amazon
|
|
1611
|
-
# Developer Guide*.
|
|
1611
|
+
# images from a public registry such as Amazon ECR Public, or from your
|
|
1612
|
+
# local machine. For more information, see [Creating container images
|
|
1613
|
+
# for your Amazon Lightsail container services][1] in the *Amazon
|
|
1614
|
+
# Lightsail Developer Guide*.
|
|
1612
1615
|
#
|
|
1613
1616
|
#
|
|
1614
1617
|
#
|
|
@@ -3010,6 +3013,21 @@ module Aws::Lightsail
|
|
|
3010
3013
|
#
|
|
3011
3014
|
# The default value is `dualstack`.
|
|
3012
3015
|
#
|
|
3016
|
+
# @option params [String] :tls_policy_name
|
|
3017
|
+
# The name of the TLS policy to apply to the load balancer.
|
|
3018
|
+
#
|
|
3019
|
+
# Use the [GetLoadBalancerTlsPolicies][1] action to get a list of TLS
|
|
3020
|
+
# policy names that you can specify.
|
|
3021
|
+
#
|
|
3022
|
+
# For more information about load balancer TLS policies, see
|
|
3023
|
+
# [Configuring TLS security policies on your Amazon Lightsail load
|
|
3024
|
+
# balancers][2] in the *Amazon Lightsail Developer Guide*.
|
|
3025
|
+
#
|
|
3026
|
+
#
|
|
3027
|
+
#
|
|
3028
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetLoadBalancerTlsPolicies.html
|
|
3029
|
+
# [2]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configure-load-balancer-tls-security-policy
|
|
3030
|
+
#
|
|
3013
3031
|
# @return [Types::CreateLoadBalancerResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3014
3032
|
#
|
|
3015
3033
|
# * {Types::CreateLoadBalancerResult#operations #operations} => Array<Types::Operation>
|
|
@@ -3030,6 +3048,7 @@ module Aws::Lightsail
|
|
|
3030
3048
|
# },
|
|
3031
3049
|
# ],
|
|
3032
3050
|
# ip_address_type: "dualstack", # accepts dualstack, ipv4
|
|
3051
|
+
# tls_policy_name: "string",
|
|
3033
3052
|
# })
|
|
3034
3053
|
#
|
|
3035
3054
|
# @example Response structure
|
|
@@ -3723,7 +3742,8 @@ module Aws::Lightsail
|
|
|
3723
3742
|
# Deletes a Amazon Lightsail bucket.
|
|
3724
3743
|
#
|
|
3725
3744
|
# <note markdown="1"> When you delete your bucket, the bucket name is released and can be
|
|
3726
|
-
# reused for a new bucket in your account or another
|
|
3745
|
+
# reused for a new bucket in your account or another Amazon Web Services
|
|
3746
|
+
# account.
|
|
3727
3747
|
#
|
|
3728
3748
|
# </note>
|
|
3729
3749
|
#
|
|
@@ -3913,10 +3933,11 @@ module Aws::Lightsail
|
|
|
3913
3933
|
#
|
|
3914
3934
|
# A contact method is used to send you notifications about your Amazon
|
|
3915
3935
|
# Lightsail resources. You can add one email address and one mobile
|
|
3916
|
-
# phone number contact method in each
|
|
3917
|
-
# messaging is not supported in some
|
|
3918
|
-
# cannot be sent to some
|
|
3919
|
-
# [Notifications in Amazon
|
|
3936
|
+
# phone number contact method in each Amazon Web Services Region.
|
|
3937
|
+
# However, SMS text messaging is not supported in some Amazon Web
|
|
3938
|
+
# Services Regions, and SMS text messages cannot be sent to some
|
|
3939
|
+
# countries/regions. For more information, see [Notifications in Amazon
|
|
3940
|
+
# Lightsail][1].
|
|
3920
3941
|
#
|
|
3921
3942
|
#
|
|
3922
3943
|
#
|
|
@@ -5614,10 +5635,13 @@ module Aws::Lightsail
|
|
|
5614
5635
|
req.send_request(options)
|
|
5615
5636
|
end
|
|
5616
5637
|
|
|
5617
|
-
# Returns information about one or more Amazon Lightsail buckets.
|
|
5638
|
+
# Returns information about one or more Amazon Lightsail buckets. The
|
|
5639
|
+
# information returned includes the synchronization status of the Amazon
|
|
5640
|
+
# Simple Storage Service (Amazon S3) account-level block public access
|
|
5641
|
+
# feature for your Lightsail buckets.
|
|
5618
5642
|
#
|
|
5619
5643
|
# For more information about buckets, see [Buckets in Amazon
|
|
5620
|
-
# Lightsail][1] in the *Amazon Lightsail Developer Guide
|
|
5644
|
+
# Lightsail][1] in the *Amazon Lightsail Developer Guide*.
|
|
5621
5645
|
#
|
|
5622
5646
|
#
|
|
5623
5647
|
#
|
|
@@ -5626,8 +5650,8 @@ module Aws::Lightsail
|
|
|
5626
5650
|
# @option params [String] :bucket_name
|
|
5627
5651
|
# The name of the bucket for which to return information.
|
|
5628
5652
|
#
|
|
5629
|
-
# When omitted, the response includes all of your buckets in the
|
|
5630
|
-
# Region where the request is made.
|
|
5653
|
+
# When omitted, the response includes all of your buckets in the Amazon
|
|
5654
|
+
# Web Services Region where the request is made.
|
|
5631
5655
|
#
|
|
5632
5656
|
# @option params [String] :page_token
|
|
5633
5657
|
# The token to advance to the next page of results from your request.
|
|
@@ -5649,6 +5673,7 @@ module Aws::Lightsail
|
|
|
5649
5673
|
#
|
|
5650
5674
|
# * {Types::GetBucketsResult#buckets #buckets} => Array<Types::Bucket>
|
|
5651
5675
|
# * {Types::GetBucketsResult#next_page_token #next_page_token} => String
|
|
5676
|
+
# * {Types::GetBucketsResult#account_level_bpa_sync #account_level_bpa_sync} => Types::AccountLevelBpaSync
|
|
5652
5677
|
#
|
|
5653
5678
|
# @example Request syntax with placeholder values
|
|
5654
5679
|
#
|
|
@@ -5688,6 +5713,10 @@ module Aws::Lightsail
|
|
|
5688
5713
|
# resp.buckets[0].access_log_config.destination #=> String
|
|
5689
5714
|
# resp.buckets[0].access_log_config.prefix #=> String
|
|
5690
5715
|
# resp.next_page_token #=> String
|
|
5716
|
+
# resp.account_level_bpa_sync.status #=> String, one of "InSync", "Failed", "NeverSynced", "Defaulted"
|
|
5717
|
+
# resp.account_level_bpa_sync.last_synced_at #=> Time
|
|
5718
|
+
# resp.account_level_bpa_sync.message #=> String, one of "DEFAULTED_FOR_SLR_MISSING", "SYNC_ON_HOLD", "DEFAULTED_FOR_SLR_MISSING_ON_HOLD", "Unknown"
|
|
5719
|
+
# resp.account_level_bpa_sync.bpa_impacts_lightsail #=> Boolean
|
|
5691
5720
|
#
|
|
5692
5721
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetBuckets AWS API Documentation
|
|
5693
5722
|
#
|
|
@@ -5766,8 +5795,8 @@ module Aws::Lightsail
|
|
|
5766
5795
|
# `ISSUED` status.
|
|
5767
5796
|
#
|
|
5768
5797
|
# When omitted, the response includes all of your certificates in the
|
|
5769
|
-
#
|
|
5770
|
-
# status.
|
|
5798
|
+
# Amazon Web Services Region where the request is made, regardless of
|
|
5799
|
+
# their current status.
|
|
5771
5800
|
#
|
|
5772
5801
|
# @option params [Boolean] :include_certificate_details
|
|
5773
5802
|
# Indicates whether to include detailed information about the
|
|
@@ -5780,7 +5809,7 @@ module Aws::Lightsail
|
|
|
5780
5809
|
# The name for the certificate for which to return information.
|
|
5781
5810
|
#
|
|
5782
5811
|
# When omitted, the response includes all of your certificates in the
|
|
5783
|
-
#
|
|
5812
|
+
# Amazon Web Services Region where the request is made.
|
|
5784
5813
|
#
|
|
5785
5814
|
# @return [Types::GetCertificatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5786
5815
|
#
|
|
@@ -5906,10 +5935,11 @@ module Aws::Lightsail
|
|
|
5906
5935
|
#
|
|
5907
5936
|
# A contact method is used to send you notifications about your Amazon
|
|
5908
5937
|
# Lightsail resources. You can add one email address and one mobile
|
|
5909
|
-
# phone number contact method in each
|
|
5910
|
-
# messaging is not supported in some
|
|
5911
|
-
# cannot be sent to some
|
|
5912
|
-
# [Notifications in Amazon
|
|
5938
|
+
# phone number contact method in each Amazon Web Services Region.
|
|
5939
|
+
# However, SMS text messaging is not supported in some Amazon Web
|
|
5940
|
+
# Services Regions, and SMS text messages cannot be sent to some
|
|
5941
|
+
# countries/regions. For more information, see [Notifications in Amazon
|
|
5942
|
+
# Lightsail][1].
|
|
5913
5943
|
#
|
|
5914
5944
|
#
|
|
5915
5945
|
#
|
|
@@ -6350,7 +6380,7 @@ module Aws::Lightsail
|
|
|
6350
6380
|
# The name of the container service for which to return information.
|
|
6351
6381
|
#
|
|
6352
6382
|
# When omitted, the response includes all of your container services in
|
|
6353
|
-
# the
|
|
6383
|
+
# the Amazon Web Services Region where the request is made.
|
|
6354
6384
|
#
|
|
6355
6385
|
# @return [Types::ContainerServicesListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6356
6386
|
#
|
|
@@ -6647,7 +6677,7 @@ module Aws::Lightsail
|
|
|
6647
6677
|
# content delivery network (CDN) distributions.
|
|
6648
6678
|
#
|
|
6649
6679
|
# A distribution bundle specifies the monthly network transfer quota and
|
|
6650
|
-
# monthly cost of your
|
|
6680
|
+
# monthly cost of your distribution.
|
|
6651
6681
|
#
|
|
6652
6682
|
# @return [Types::GetDistributionBundlesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6653
6683
|
#
|
|
@@ -6900,7 +6930,7 @@ module Aws::Lightsail
|
|
|
6900
6930
|
# The name of the distribution for which to return information.
|
|
6901
6931
|
#
|
|
6902
6932
|
# When omitted, the response includes all of your distributions in the
|
|
6903
|
-
#
|
|
6933
|
+
# Amazon Web Services Region where the request is made.
|
|
6904
6934
|
#
|
|
6905
6935
|
# @option params [String] :page_token
|
|
6906
6936
|
# The token to advance to the next page of results from your request.
|
|
@@ -7953,6 +7983,8 @@ module Aws::Lightsail
|
|
|
7953
7983
|
# resp.load_balancer.configuration_options #=> Hash
|
|
7954
7984
|
# resp.load_balancer.configuration_options["LoadBalancerAttributeName"] #=> String
|
|
7955
7985
|
# resp.load_balancer.ip_address_type #=> String, one of "dualstack", "ipv4"
|
|
7986
|
+
# resp.load_balancer.https_redirection_enabled #=> Boolean
|
|
7987
|
+
# resp.load_balancer.tls_policy_name #=> String
|
|
7956
7988
|
#
|
|
7957
7989
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancer AWS API Documentation
|
|
7958
7990
|
#
|
|
@@ -8243,6 +8275,57 @@ module Aws::Lightsail
|
|
|
8243
8275
|
req.send_request(options)
|
|
8244
8276
|
end
|
|
8245
8277
|
|
|
8278
|
+
# Returns a list of TLS security policies that you can apply to
|
|
8279
|
+
# Lightsail load balancers.
|
|
8280
|
+
#
|
|
8281
|
+
# For more information about load balancer TLS security policies, see
|
|
8282
|
+
# [Configuring TLS security policies on your Amazon Lightsail load
|
|
8283
|
+
# balancers][1] in the *Amazon Lightsail Developer Guide*.
|
|
8284
|
+
#
|
|
8285
|
+
#
|
|
8286
|
+
#
|
|
8287
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configure-load-balancer-tls-security-policy
|
|
8288
|
+
#
|
|
8289
|
+
# @option params [String] :page_token
|
|
8290
|
+
# The token to advance to the next page of results from your request.
|
|
8291
|
+
#
|
|
8292
|
+
# To get a page token, perform an initial `GetLoadBalancerTlsPolicies`
|
|
8293
|
+
# request. If your results are paginated, the response will return a
|
|
8294
|
+
# next page token that you can specify as the page token in a subsequent
|
|
8295
|
+
# request.
|
|
8296
|
+
#
|
|
8297
|
+
# @return [Types::GetLoadBalancerTlsPoliciesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
8298
|
+
#
|
|
8299
|
+
# * {Types::GetLoadBalancerTlsPoliciesResult#tls_policies #tls_policies} => Array<Types::LoadBalancerTlsPolicy>
|
|
8300
|
+
# * {Types::GetLoadBalancerTlsPoliciesResult#next_page_token #next_page_token} => String
|
|
8301
|
+
#
|
|
8302
|
+
# @example Request syntax with placeholder values
|
|
8303
|
+
#
|
|
8304
|
+
# resp = client.get_load_balancer_tls_policies({
|
|
8305
|
+
# page_token: "string",
|
|
8306
|
+
# })
|
|
8307
|
+
#
|
|
8308
|
+
# @example Response structure
|
|
8309
|
+
#
|
|
8310
|
+
# resp.tls_policies #=> Array
|
|
8311
|
+
# resp.tls_policies[0].name #=> String
|
|
8312
|
+
# resp.tls_policies[0].is_default #=> Boolean
|
|
8313
|
+
# resp.tls_policies[0].description #=> String
|
|
8314
|
+
# resp.tls_policies[0].protocols #=> Array
|
|
8315
|
+
# resp.tls_policies[0].protocols[0] #=> String
|
|
8316
|
+
# resp.tls_policies[0].ciphers #=> Array
|
|
8317
|
+
# resp.tls_policies[0].ciphers[0] #=> String
|
|
8318
|
+
# resp.next_page_token #=> String
|
|
8319
|
+
#
|
|
8320
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsPolicies AWS API Documentation
|
|
8321
|
+
#
|
|
8322
|
+
# @overload get_load_balancer_tls_policies(params = {})
|
|
8323
|
+
# @param [Hash] params ({})
|
|
8324
|
+
def get_load_balancer_tls_policies(params = {}, options = {})
|
|
8325
|
+
req = build_request(:get_load_balancer_tls_policies, params)
|
|
8326
|
+
req.send_request(options)
|
|
8327
|
+
end
|
|
8328
|
+
|
|
8246
8329
|
# Returns information about all load balancers in an account.
|
|
8247
8330
|
#
|
|
8248
8331
|
# @option params [String] :page_token
|
|
@@ -8293,6 +8376,8 @@ module Aws::Lightsail
|
|
|
8293
8376
|
# resp.load_balancers[0].configuration_options #=> Hash
|
|
8294
8377
|
# resp.load_balancers[0].configuration_options["LoadBalancerAttributeName"] #=> String
|
|
8295
8378
|
# resp.load_balancers[0].ip_address_type #=> String, one of "dualstack", "ipv4"
|
|
8379
|
+
# resp.load_balancers[0].https_redirection_enabled #=> Boolean
|
|
8380
|
+
# resp.load_balancers[0].tls_policy_name #=> String
|
|
8296
8381
|
# resp.next_page_token #=> String
|
|
8297
8382
|
#
|
|
8298
8383
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancers AWS API Documentation
|
|
@@ -9626,12 +9711,12 @@ module Aws::Lightsail
|
|
|
9626
9711
|
# triggered.
|
|
9627
9712
|
#
|
|
9628
9713
|
# A notification is not sent if a contact protocol is not specified, if
|
|
9629
|
-
# the specified contact protocol is not configured in the
|
|
9630
|
-
# if notifications are not enabled for the alarm
|
|
9631
|
-
# `notificationEnabled` paramater.
|
|
9714
|
+
# the specified contact protocol is not configured in the Amazon Web
|
|
9715
|
+
# Services Region, or if notifications are not enabled for the alarm
|
|
9716
|
+
# using the `notificationEnabled` paramater.
|
|
9632
9717
|
#
|
|
9633
9718
|
# Use the `CreateContactMethod` action to configure a contact protocol
|
|
9634
|
-
# in an
|
|
9719
|
+
# in an Amazon Web Services Region.
|
|
9635
9720
|
#
|
|
9636
9721
|
# @option params [Array<String>] :notification_triggers
|
|
9637
9722
|
# The alarm states that trigger a notification.
|
|
@@ -10056,10 +10141,11 @@ module Aws::Lightsail
|
|
|
10056
10141
|
#
|
|
10057
10142
|
# A contact method is used to send you notifications about your Amazon
|
|
10058
10143
|
# Lightsail resources. You can add one email address and one mobile
|
|
10059
|
-
# phone number contact method in each
|
|
10060
|
-
# messaging is not supported in some
|
|
10061
|
-
# cannot be sent to some
|
|
10062
|
-
# [Notifications in Amazon
|
|
10144
|
+
# phone number contact method in each Amazon Web Services Region.
|
|
10145
|
+
# However, SMS text messaging is not supported in some Amazon Web
|
|
10146
|
+
# Services Regions, and SMS text messages cannot be sent to some
|
|
10147
|
+
# countries/regions. For more information, see [Notifications in Amazon
|
|
10148
|
+
# Lightsail][1].
|
|
10063
10149
|
#
|
|
10064
10150
|
# A verification request is sent to the contact method when you
|
|
10065
10151
|
# initially create it. Use this action to send another verification
|
|
@@ -10125,8 +10211,9 @@ module Aws::Lightsail
|
|
|
10125
10211
|
# `LoadBalancer`.
|
|
10126
10212
|
#
|
|
10127
10213
|
# <note markdown="1"> Distribution-related APIs are available only in the N. Virginia
|
|
10128
|
-
# (`us-east-1`)
|
|
10129
|
-
# `us-east-1` to create, view, or edit
|
|
10214
|
+
# (`us-east-1`) Amazon Web Services Region. Set your Amazon Web Services
|
|
10215
|
+
# Region configuration to `us-east-1` to create, view, or edit
|
|
10216
|
+
# distributions.
|
|
10130
10217
|
#
|
|
10131
10218
|
# </note>
|
|
10132
10219
|
#
|
|
@@ -10181,7 +10268,7 @@ module Aws::Lightsail
|
|
|
10181
10268
|
# Lightsail bucket.
|
|
10182
10269
|
#
|
|
10183
10270
|
# Lightsail buckets currently support setting access for Lightsail
|
|
10184
|
-
# instances in the same
|
|
10271
|
+
# instances in the same Amazon Web Services Region.
|
|
10185
10272
|
#
|
|
10186
10273
|
# @option params [required, String] :resource_name
|
|
10187
10274
|
# The name of the Lightsail instance for which to set bucket access. The
|
|
@@ -10701,8 +10788,8 @@ module Aws::Lightsail
|
|
|
10701
10788
|
# Updates an existing Amazon Lightsail bucket.
|
|
10702
10789
|
#
|
|
10703
10790
|
# Use this action to update the configuration of an existing bucket,
|
|
10704
|
-
# such as versioning, public accessibility, and the
|
|
10705
|
-
# can access the bucket.
|
|
10791
|
+
# such as versioning, public accessibility, and the Amazon Web Services
|
|
10792
|
+
# accounts that can access the bucket.
|
|
10706
10793
|
#
|
|
10707
10794
|
# @option params [required, String] :bucket_name
|
|
10708
10795
|
# The name of the bucket to update.
|
|
@@ -10723,10 +10810,11 @@ module Aws::Lightsail
|
|
|
10723
10810
|
# bucket. Existing object versions are retained.
|
|
10724
10811
|
#
|
|
10725
10812
|
# @option params [Array<String>] :readonly_access_accounts
|
|
10726
|
-
# An array of strings to specify the
|
|
10727
|
-
# bucket.
|
|
10813
|
+
# An array of strings to specify the Amazon Web Services account IDs
|
|
10814
|
+
# that can access the bucket.
|
|
10728
10815
|
#
|
|
10729
|
-
# You can give a maximum of 10
|
|
10816
|
+
# You can give a maximum of 10 Amazon Web Services accounts access to a
|
|
10817
|
+
# bucket.
|
|
10730
10818
|
#
|
|
10731
10819
|
# @option params [Types::BucketAccessLogConfig] :access_log_config
|
|
10732
10820
|
# An object that describes the access log configuration for the bucket.
|
|
@@ -11128,7 +11216,7 @@ module Aws::Lightsail
|
|
|
11128
11216
|
# (CDN) distribution.
|
|
11129
11217
|
#
|
|
11130
11218
|
# A distribution bundle specifies the monthly network transfer quota and
|
|
11131
|
-
# monthly cost of your
|
|
11219
|
+
# monthly cost of your distribution.
|
|
11132
11220
|
#
|
|
11133
11221
|
# Update your distribution's bundle if your distribution is going over
|
|
11134
11222
|
# its monthly network transfer quota and is incurring an overage fee.
|
|
@@ -11267,11 +11355,44 @@ module Aws::Lightsail
|
|
|
11267
11355
|
# `my-load-balancer`.
|
|
11268
11356
|
#
|
|
11269
11357
|
# @option params [required, String] :attribute_name
|
|
11270
|
-
# The name of the attribute you want to update.
|
|
11358
|
+
# The name of the attribute you want to update.
|
|
11271
11359
|
#
|
|
11272
11360
|
# @option params [required, String] :attribute_value
|
|
11273
11361
|
# The value that you want to specify for the attribute name.
|
|
11274
11362
|
#
|
|
11363
|
+
# The following values are supported depending on what you specify for
|
|
11364
|
+
# the `attributeName` request parameter:
|
|
11365
|
+
#
|
|
11366
|
+
# * If you specify `HealthCheckPath` for the `attributeName` request
|
|
11367
|
+
# parameter, then the `attributeValue` request parameter must be the
|
|
11368
|
+
# path to ping on the target (for example, `/weather/us/wa/seattle`).
|
|
11369
|
+
#
|
|
11370
|
+
# * If you specify `SessionStickinessEnabled` for the `attributeName`
|
|
11371
|
+
# request parameter, then the `attributeValue` request parameter must
|
|
11372
|
+
# be `true` to activate session stickiness or `false` to deactivate
|
|
11373
|
+
# session stickiness.
|
|
11374
|
+
#
|
|
11375
|
+
# * If you specify `SessionStickiness_LB_CookieDurationSeconds` for the
|
|
11376
|
+
# `attributeName` request parameter, then the `attributeValue` request
|
|
11377
|
+
# parameter must be an interger that represents the cookie duration in
|
|
11378
|
+
# seconds.
|
|
11379
|
+
#
|
|
11380
|
+
# * If you specify `HttpsRedirectionEnabled` for the `attributeName`
|
|
11381
|
+
# request parameter, then the `attributeValue` request parameter must
|
|
11382
|
+
# be `true` to activate HTTP to HTTPS redirection or `false` to
|
|
11383
|
+
# deactivate HTTP to HTTPS redirection.
|
|
11384
|
+
#
|
|
11385
|
+
# * If you specify `TlsPolicyName` for the `attributeName` request
|
|
11386
|
+
# parameter, then the `attributeValue` request parameter must be the
|
|
11387
|
+
# name of the TLS policy.
|
|
11388
|
+
#
|
|
11389
|
+
# Use the [GetLoadBalancerTlsPolicies][1] action to get a list of TLS
|
|
11390
|
+
# policy names that you can specify.
|
|
11391
|
+
#
|
|
11392
|
+
#
|
|
11393
|
+
#
|
|
11394
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetLoadBalancerTlsPolicies.html
|
|
11395
|
+
#
|
|
11275
11396
|
# @return [Types::UpdateLoadBalancerAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
11276
11397
|
#
|
|
11277
11398
|
# * {Types::UpdateLoadBalancerAttributeResult#operations #operations} => Array<Types::Operation>
|
|
@@ -11280,7 +11401,7 @@ module Aws::Lightsail
|
|
|
11280
11401
|
#
|
|
11281
11402
|
# resp = client.update_load_balancer_attribute({
|
|
11282
11403
|
# load_balancer_name: "ResourceName", # required
|
|
11283
|
-
# attribute_name: "HealthCheckPath", # required, accepts HealthCheckPath, SessionStickinessEnabled, SessionStickiness_LB_CookieDurationSeconds
|
|
11404
|
+
# attribute_name: "HealthCheckPath", # required, accepts HealthCheckPath, SessionStickinessEnabled, SessionStickiness_LB_CookieDurationSeconds, HttpsRedirectionEnabled, TlsPolicyName
|
|
11284
11405
|
# attribute_value: "StringMax256", # required
|
|
11285
11406
|
# })
|
|
11286
11407
|
#
|
|
@@ -11550,7 +11671,7 @@ module Aws::Lightsail
|
|
|
11550
11671
|
params: params,
|
|
11551
11672
|
config: config)
|
|
11552
11673
|
context[:gem_name] = 'aws-sdk-lightsail'
|
|
11553
|
-
context[:gem_version] = '1.
|
|
11674
|
+
context[:gem_version] = '1.66.0'
|
|
11554
11675
|
Seahorse::Client::Request.new(handlers, context)
|
|
11555
11676
|
end
|
|
11556
11677
|
|