aws-sdk-lightsail 1.64.0 → 1.65.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c1bc47d670ef70e519eea2a806c018927faf2a4e8b1effaa1dc8b22c3de015e
4
- data.tar.gz: 89110872c75aca03b740ee8b746627ab340643a973a3fadd78076c0d1ea87dda
3
+ metadata.gz: e63892e5ea6166a43fe28072359a841b091c965a9a40e82d14deac57180c9f7e
4
+ data.tar.gz: b821d4b16bbea5275d9a76415ae9a33b02c46a92719c192233f60d6d739a310f
5
5
  SHA512:
6
- metadata.gz: 769e4cdf66eef60331b0b6f848f7beae7b95366c1c4ea8e4d823b63105b28e13bdd1283e5b2481b3a1ded7c061707da6a06978e6f520c70b196282a1b9cd6192
7
- data.tar.gz: 6757495df0b4c5a48cfb1c73d86e119747a0d2ec8392db53742e9c4b5756d5a1d53451379d7640a3abdabfbfc2d465c7fd07b9b87f204a013ef1fa0f47853f61
6
+ metadata.gz: 9a86ad2e7018b61bcaf472347b5d2a37ff0a91786a64605fbf559c5952e6b3526be12ef36147b55db8432cf7477cbd715209b30307d889acd7e3f291f7b4c063
7
+ data.tar.gz: eed96103fe75ad13862c49fb76261b9c1ff76fa502b9901e5ddb037901ffb9bed530751ecec53eebf5193b83e5f1b85e723b328d5e6bf1e0442b42cc3ed37ee7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.65.0 (2022-04-26)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for Lightsail load balancer HTTP to HTTPS redirect and TLS policy configuration.
8
+
4
9
  1.64.0 (2022-04-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.0
1
+ 1.65.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` AWS Region can be
416
- # attached to Lightsail distributions. Lightsail distributions are
417
- # global resources that can reference an origin in any AWS Region, and
418
- # distribute its content globally. However, all distributions are
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 AWS Region to
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 AWS Region where the source manual or automatic snapshot is
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` AWS Region can be
1111
- # attached to Lightsail distributions. Lightsail distributions are
1112
- # global resources that can reference an origin in any AWS Region, and
1113
- # distribute its content globally. However, all distributions are
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 AWS Region. However, SMS text
1289
- # messaging is not supported in some AWS Regions, and SMS text messages
1290
- # cannot be sent to some countries/regions. For more information, see
1291
- # [Notifications in Amazon Lightsail][1].
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 AWS Regions.
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 AWS Regions where SMS text messaging is supported, see
1317
- # [Supported Regions and Countries][1] in the *Amazon SNS Developer
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 AWS Region in your Lightsail account.
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
  #
@@ -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 [Load
3023
+ # balancer TLS security policies][2] in the *Amazon Lightsail Developer
3024
+ # 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 AWS account.
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 AWS Region. However, SMS text
3917
- # messaging is not supported in some AWS Regions, and SMS text messages
3918
- # cannot be sent to some countries/regions. For more information, see
3919
- # [Notifications in Amazon Lightsail][1].
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
  #
@@ -5629,8 +5650,8 @@ module Aws::Lightsail
5629
5650
  # @option params [String] :bucket_name
5630
5651
  # The name of the bucket for which to return information.
5631
5652
  #
5632
- # When omitted, the response includes all of your buckets in the AWS
5633
- # 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.
5634
5655
  #
5635
5656
  # @option params [String] :page_token
5636
5657
  # The token to advance to the next page of results from your request.
@@ -5774,8 +5795,8 @@ module Aws::Lightsail
5774
5795
  # `ISSUED` status.
5775
5796
  #
5776
5797
  # When omitted, the response includes all of your certificates in the
5777
- # AWS Region where the request is made, regardless of their current
5778
- # status.
5798
+ # Amazon Web Services Region where the request is made, regardless of
5799
+ # their current status.
5779
5800
  #
5780
5801
  # @option params [Boolean] :include_certificate_details
5781
5802
  # Indicates whether to include detailed information about the
@@ -5788,7 +5809,7 @@ module Aws::Lightsail
5788
5809
  # The name for the certificate for which to return information.
5789
5810
  #
5790
5811
  # When omitted, the response includes all of your certificates in the
5791
- # AWS Region where the request is made.
5812
+ # Amazon Web Services Region where the request is made.
5792
5813
  #
5793
5814
  # @return [Types::GetCertificatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5794
5815
  #
@@ -5914,10 +5935,11 @@ module Aws::Lightsail
5914
5935
  #
5915
5936
  # A contact method is used to send you notifications about your Amazon
5916
5937
  # Lightsail resources. You can add one email address and one mobile
5917
- # phone number contact method in each AWS Region. However, SMS text
5918
- # messaging is not supported in some AWS Regions, and SMS text messages
5919
- # cannot be sent to some countries/regions. For more information, see
5920
- # [Notifications in Amazon Lightsail][1].
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].
5921
5943
  #
5922
5944
  #
5923
5945
  #
@@ -6358,7 +6380,7 @@ module Aws::Lightsail
6358
6380
  # The name of the container service for which to return information.
6359
6381
  #
6360
6382
  # When omitted, the response includes all of your container services in
6361
- # the AWS Region where the request is made.
6383
+ # the Amazon Web Services Region where the request is made.
6362
6384
  #
6363
6385
  # @return [Types::ContainerServicesListResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6364
6386
  #
@@ -6908,7 +6930,7 @@ module Aws::Lightsail
6908
6930
  # The name of the distribution for which to return information.
6909
6931
  #
6910
6932
  # When omitted, the response includes all of your distributions in the
6911
- # AWS Region where the request is made.
6933
+ # Amazon Web Services Region where the request is made.
6912
6934
  #
6913
6935
  # @option params [String] :page_token
6914
6936
  # The token to advance to the next page of results from your request.
@@ -7961,6 +7983,8 @@ module Aws::Lightsail
7961
7983
  # resp.load_balancer.configuration_options #=> Hash
7962
7984
  # resp.load_balancer.configuration_options["LoadBalancerAttributeName"] #=> String
7963
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
7964
7988
  #
7965
7989
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancer AWS API Documentation
7966
7990
  #
@@ -8251,6 +8275,57 @@ module Aws::Lightsail
8251
8275
  req.send_request(options)
8252
8276
  end
8253
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
+ # [Load balancer TLS security policies][1] in the *Amazon Lightsail
8283
+ # 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&lt;Types::LoadBalancerTlsPolicy&gt;
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
+
8254
8329
  # Returns information about all load balancers in an account.
8255
8330
  #
8256
8331
  # @option params [String] :page_token
@@ -8301,6 +8376,8 @@ module Aws::Lightsail
8301
8376
  # resp.load_balancers[0].configuration_options #=> Hash
8302
8377
  # resp.load_balancers[0].configuration_options["LoadBalancerAttributeName"] #=> String
8303
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
8304
8381
  # resp.next_page_token #=> String
8305
8382
  #
8306
8383
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancers AWS API Documentation
@@ -9634,12 +9711,12 @@ module Aws::Lightsail
9634
9711
  # triggered.
9635
9712
  #
9636
9713
  # A notification is not sent if a contact protocol is not specified, if
9637
- # the specified contact protocol is not configured in the AWS Region, or
9638
- # if notifications are not enabled for the alarm using the
9639
- # `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.
9640
9717
  #
9641
9718
  # Use the `CreateContactMethod` action to configure a contact protocol
9642
- # in an AWS Region.
9719
+ # in an Amazon Web Services Region.
9643
9720
  #
9644
9721
  # @option params [Array<String>] :notification_triggers
9645
9722
  # The alarm states that trigger a notification.
@@ -10064,10 +10141,11 @@ module Aws::Lightsail
10064
10141
  #
10065
10142
  # A contact method is used to send you notifications about your Amazon
10066
10143
  # Lightsail resources. You can add one email address and one mobile
10067
- # phone number contact method in each AWS Region. However, SMS text
10068
- # messaging is not supported in some AWS Regions, and SMS text messages
10069
- # cannot be sent to some countries/regions. For more information, see
10070
- # [Notifications in Amazon Lightsail][1].
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].
10071
10149
  #
10072
10150
  # A verification request is sent to the contact method when you
10073
10151
  # initially create it. Use this action to send another verification
@@ -10133,8 +10211,9 @@ module Aws::Lightsail
10133
10211
  # `LoadBalancer`.
10134
10212
  #
10135
10213
  # <note markdown="1"> Distribution-related APIs are available only in the N. Virginia
10136
- # (`us-east-1`) AWS Region. Set your AWS Region configuration to
10137
- # `us-east-1` to create, view, or edit distributions.
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.
10138
10217
  #
10139
10218
  # </note>
10140
10219
  #
@@ -10189,7 +10268,7 @@ module Aws::Lightsail
10189
10268
  # Lightsail bucket.
10190
10269
  #
10191
10270
  # Lightsail buckets currently support setting access for Lightsail
10192
- # instances in the same AWS Region.
10271
+ # instances in the same Amazon Web Services Region.
10193
10272
  #
10194
10273
  # @option params [required, String] :resource_name
10195
10274
  # The name of the Lightsail instance for which to set bucket access. The
@@ -10709,8 +10788,8 @@ module Aws::Lightsail
10709
10788
  # Updates an existing Amazon Lightsail bucket.
10710
10789
  #
10711
10790
  # Use this action to update the configuration of an existing bucket,
10712
- # such as versioning, public accessibility, and the AWS accounts that
10713
- # can access the bucket.
10791
+ # such as versioning, public accessibility, and the Amazon Web Services
10792
+ # accounts that can access the bucket.
10714
10793
  #
10715
10794
  # @option params [required, String] :bucket_name
10716
10795
  # The name of the bucket to update.
@@ -10731,10 +10810,11 @@ module Aws::Lightsail
10731
10810
  # bucket. Existing object versions are retained.
10732
10811
  #
10733
10812
  # @option params [Array<String>] :readonly_access_accounts
10734
- # An array of strings to specify the AWS account IDs that can access the
10735
- # bucket.
10813
+ # An array of strings to specify the Amazon Web Services account IDs
10814
+ # that can access the bucket.
10736
10815
  #
10737
- # You can give a maximum of 10 AWS accounts access to a bucket.
10816
+ # You can give a maximum of 10 Amazon Web Services accounts access to a
10817
+ # bucket.
10738
10818
  #
10739
10819
  # @option params [Types::BucketAccessLogConfig] :access_log_config
10740
10820
  # An object that describes the access log configuration for the bucket.
@@ -11275,11 +11355,35 @@ module Aws::Lightsail
11275
11355
  # `my-load-balancer`.
11276
11356
  #
11277
11357
  # @option params [required, String] :attribute_name
11278
- # The name of the attribute you want to update. Valid values are below.
11358
+ # The name of the attribute you want to update.
11279
11359
  #
11280
11360
  # @option params [required, String] :attribute_value
11281
11361
  # The value that you want to specify for the attribute name.
11282
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` or `false`.
11373
+ #
11374
+ # * If you specify `SessionStickiness_LB_CookieDurationSeconds` for the
11375
+ # `attributeName` request parameter, then the `attributeValue` request
11376
+ # parameter must be an interger that represents the cookie duration in
11377
+ # seconds.
11378
+ #
11379
+ # * If you specify `HttpsRedirectionEnabled` for the `attributeName`
11380
+ # request parameter, then the `attributeValue` request parameter must
11381
+ # be `true` or `false`.
11382
+ #
11383
+ # * If you specify `TlsPolicyName` for the `attributeName` request
11384
+ # parameter, then the `attributeValue` request parameter must be `TLS
11385
+ # version 1.0, 1.1, and 1.2` or `TLS version 1.2`.
11386
+ #
11283
11387
  # @return [Types::UpdateLoadBalancerAttributeResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11284
11388
  #
11285
11389
  # * {Types::UpdateLoadBalancerAttributeResult#operations #operations} => Array&lt;Types::Operation&gt;
@@ -11288,7 +11392,7 @@ module Aws::Lightsail
11288
11392
  #
11289
11393
  # resp = client.update_load_balancer_attribute({
11290
11394
  # load_balancer_name: "ResourceName", # required
11291
- # attribute_name: "HealthCheckPath", # required, accepts HealthCheckPath, SessionStickinessEnabled, SessionStickiness_LB_CookieDurationSeconds
11395
+ # attribute_name: "HealthCheckPath", # required, accepts HealthCheckPath, SessionStickinessEnabled, SessionStickiness_LB_CookieDurationSeconds, HttpsRedirectionEnabled, TlsPolicyName
11292
11396
  # attribute_value: "StringMax256", # required
11293
11397
  # })
11294
11398
  #
@@ -11558,7 +11662,7 @@ module Aws::Lightsail
11558
11662
  params: params,
11559
11663
  config: config)
11560
11664
  context[:gem_name] = 'aws-sdk-lightsail'
11561
- context[:gem_version] = '1.64.0'
11665
+ context[:gem_version] = '1.65.0'
11562
11666
  Seahorse::Client::Request.new(handlers, context)
11563
11667
  end
11564
11668
 
@@ -354,6 +354,8 @@ module Aws::Lightsail
354
354
  GetLoadBalancerResult = Shapes::StructureShape.new(name: 'GetLoadBalancerResult')
355
355
  GetLoadBalancerTlsCertificatesRequest = Shapes::StructureShape.new(name: 'GetLoadBalancerTlsCertificatesRequest')
356
356
  GetLoadBalancerTlsCertificatesResult = Shapes::StructureShape.new(name: 'GetLoadBalancerTlsCertificatesResult')
357
+ GetLoadBalancerTlsPoliciesRequest = Shapes::StructureShape.new(name: 'GetLoadBalancerTlsPoliciesRequest')
358
+ GetLoadBalancerTlsPoliciesResult = Shapes::StructureShape.new(name: 'GetLoadBalancerTlsPoliciesResult')
357
359
  GetLoadBalancersRequest = Shapes::StructureShape.new(name: 'GetLoadBalancersRequest')
358
360
  GetLoadBalancersResult = Shapes::StructureShape.new(name: 'GetLoadBalancersResult')
359
361
  GetOperationRequest = Shapes::StructureShape.new(name: 'GetOperationRequest')
@@ -461,6 +463,8 @@ module Aws::Lightsail
461
463
  LoadBalancerTlsCertificateStatus = Shapes::StringShape.new(name: 'LoadBalancerTlsCertificateStatus')
462
464
  LoadBalancerTlsCertificateSummary = Shapes::StructureShape.new(name: 'LoadBalancerTlsCertificateSummary')
463
465
  LoadBalancerTlsCertificateSummaryList = Shapes::ListShape.new(name: 'LoadBalancerTlsCertificateSummaryList')
466
+ LoadBalancerTlsPolicy = Shapes::StructureShape.new(name: 'LoadBalancerTlsPolicy')
467
+ LoadBalancerTlsPolicyList = Shapes::ListShape.new(name: 'LoadBalancerTlsPolicyList')
464
468
  LogEvent = Shapes::StructureShape.new(name: 'LogEvent')
465
469
  LogEventList = Shapes::ListShape.new(name: 'LogEventList')
466
470
  MetricDatapoint = Shapes::StructureShape.new(name: 'MetricDatapoint')
@@ -1224,6 +1228,7 @@ module Aws::Lightsail
1224
1228
  CreateLoadBalancerRequest.add_member(:certificate_alternative_names, Shapes::ShapeRef.new(shape: DomainNameList, location_name: "certificateAlternativeNames"))
1225
1229
  CreateLoadBalancerRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
1226
1230
  CreateLoadBalancerRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
1231
+ CreateLoadBalancerRequest.add_member(:tls_policy_name, Shapes::ShapeRef.new(shape: string, location_name: "tlsPolicyName"))
1227
1232
  CreateLoadBalancerRequest.struct_class = Types::CreateLoadBalancerRequest
1228
1233
 
1229
1234
  CreateLoadBalancerResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
@@ -1921,6 +1926,13 @@ module Aws::Lightsail
1921
1926
  GetLoadBalancerTlsCertificatesResult.add_member(:tls_certificates, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateList, location_name: "tlsCertificates"))
1922
1927
  GetLoadBalancerTlsCertificatesResult.struct_class = Types::GetLoadBalancerTlsCertificatesResult
1923
1928
 
1929
+ GetLoadBalancerTlsPoliciesRequest.add_member(:page_token, Shapes::ShapeRef.new(shape: string, location_name: "pageToken"))
1930
+ GetLoadBalancerTlsPoliciesRequest.struct_class = Types::GetLoadBalancerTlsPoliciesRequest
1931
+
1932
+ GetLoadBalancerTlsPoliciesResult.add_member(:tls_policies, Shapes::ShapeRef.new(shape: LoadBalancerTlsPolicyList, location_name: "tlsPolicies"))
1933
+ GetLoadBalancerTlsPoliciesResult.add_member(:next_page_token, Shapes::ShapeRef.new(shape: string, location_name: "nextPageToken"))
1934
+ GetLoadBalancerTlsPoliciesResult.struct_class = Types::GetLoadBalancerTlsPoliciesResult
1935
+
1924
1936
  GetLoadBalancersRequest.add_member(:page_token, Shapes::ShapeRef.new(shape: string, location_name: "pageToken"))
1925
1937
  GetLoadBalancersRequest.struct_class = Types::GetLoadBalancersRequest
1926
1938
 
@@ -2278,6 +2290,8 @@ module Aws::Lightsail
2278
2290
  LoadBalancer.add_member(:tls_certificate_summaries, Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateSummaryList, location_name: "tlsCertificateSummaries"))
2279
2291
  LoadBalancer.add_member(:configuration_options, Shapes::ShapeRef.new(shape: LoadBalancerConfigurationOptions, location_name: "configurationOptions"))
2280
2292
  LoadBalancer.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
2293
+ LoadBalancer.add_member(:https_redirection_enabled, Shapes::ShapeRef.new(shape: boolean, location_name: "httpsRedirectionEnabled"))
2294
+ LoadBalancer.add_member(:tls_policy_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "tlsPolicyName"))
2281
2295
  LoadBalancer.struct_class = Types::LoadBalancer
2282
2296
 
2283
2297
  LoadBalancerConfigurationOptions.key = Shapes::ShapeRef.new(shape: LoadBalancerAttributeName)
@@ -2339,6 +2353,15 @@ module Aws::Lightsail
2339
2353
 
2340
2354
  LoadBalancerTlsCertificateSummaryList.member = Shapes::ShapeRef.new(shape: LoadBalancerTlsCertificateSummary)
2341
2355
 
2356
+ LoadBalancerTlsPolicy.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
2357
+ LoadBalancerTlsPolicy.add_member(:is_default, Shapes::ShapeRef.new(shape: boolean, location_name: "isDefault"))
2358
+ LoadBalancerTlsPolicy.add_member(:description, Shapes::ShapeRef.new(shape: string, location_name: "description"))
2359
+ LoadBalancerTlsPolicy.add_member(:protocols, Shapes::ShapeRef.new(shape: StringList, location_name: "protocols"))
2360
+ LoadBalancerTlsPolicy.add_member(:ciphers, Shapes::ShapeRef.new(shape: StringList, location_name: "ciphers"))
2361
+ LoadBalancerTlsPolicy.struct_class = Types::LoadBalancerTlsPolicy
2362
+
2363
+ LoadBalancerTlsPolicyList.member = Shapes::ShapeRef.new(shape: LoadBalancerTlsPolicy)
2364
+
2342
2365
  LogEvent.add_member(:created_at, Shapes::ShapeRef.new(shape: IsoDate, location_name: "createdAt"))
2343
2366
  LogEvent.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
2344
2367
  LogEvent.struct_class = Types::LogEvent
@@ -4332,6 +4355,19 @@ module Aws::Lightsail
4332
4355
  o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
4333
4356
  end)
4334
4357
 
4358
+ api.add_operation(:get_load_balancer_tls_policies, Seahorse::Model::Operation.new.tap do |o|
4359
+ o.name = "GetLoadBalancerTlsPolicies"
4360
+ o.http_method = "POST"
4361
+ o.http_request_uri = "/"
4362
+ o.input = Shapes::ShapeRef.new(shape: GetLoadBalancerTlsPoliciesRequest)
4363
+ o.output = Shapes::ShapeRef.new(shape: GetLoadBalancerTlsPoliciesResult)
4364
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
4365
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4366
+ o.errors << Shapes::ShapeRef.new(shape: AccountSetupInProgressException)
4367
+ o.errors << Shapes::ShapeRef.new(shape: UnauthenticatedException)
4368
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
4369
+ end)
4370
+
4335
4371
  api.add_operation(:get_load_balancers, Seahorse::Model::Operation.new.tap do |o|
4336
4372
  o.name = "GetLoadBalancers"
4337
4373
  o.http_method = "POST"
@@ -1114,7 +1114,8 @@ module Aws::Lightsail
1114
1114
  # @return [String]
1115
1115
  #
1116
1116
  # @!attribute [rw] location
1117
- # Describes the resource location.
1117
+ # An object that describes the location of the bucket, such as the
1118
+ # Amazon Web Services Region and Availability Zone.
1118
1119
  # @return [Types::ResourceLocation]
1119
1120
  #
1120
1121
  # @!attribute [rw] name
@@ -1155,8 +1156,8 @@ module Aws::Lightsail
1155
1156
  # Indicates whether the bundle that is currently applied to a bucket
1156
1157
  # can be changed to another bundle.
1157
1158
  #
1158
- # You can update a bucket's bundle only one time within a monthly AWS
1159
- # billing cycle.
1159
+ # You can update a bucket's bundle only one time within a monthly
1160
+ # Amazon Web Services billing cycle.
1160
1161
  #
1161
1162
  # Use the [UpdateBucketBundle][1] action to change a bucket's bundle.
1162
1163
  #
@@ -1166,8 +1167,8 @@ module Aws::Lightsail
1166
1167
  # @return [Boolean]
1167
1168
  #
1168
1169
  # @!attribute [rw] readonly_access_accounts
1169
- # An array of strings that specify the AWS account IDs that have
1170
- # read-only access to the bucket.
1170
+ # An array of strings that specify the Amazon Web Services account IDs
1171
+ # that have read-only access to the bucket.
1171
1172
  # @return [Array<String>]
1172
1173
  #
1173
1174
  # @!attribute [rw] resources_receiving_access
@@ -1242,7 +1243,7 @@ module Aws::Lightsail
1242
1243
  # @!attribute [rw] destination
1243
1244
  # The name of the bucket where the access logs are saved. The
1244
1245
  # destination can be a Lightsail bucket in the same account, and in
1245
- # the same AWS Region as the source bucket.
1246
+ # the same Amazon Web Services Region as the source bucket.
1246
1247
  #
1247
1248
  # <note markdown="1"> This parameter is required when enabling the access log for a
1248
1249
  # bucket, and should be omitted when disabling the access log.
@@ -1970,8 +1971,8 @@ module Aws::Lightsail
1970
1971
  # @return [Time]
1971
1972
  #
1972
1973
  # @!attribute [rw] location
1973
- # A list of objects describing the Availability Zone and AWS Region of
1974
- # the CloudFormation stack record.
1974
+ # A list of objects describing the Availability Zone and Amazon Web
1975
+ # Services Region of the CloudFormation stack record.
1975
1976
  # @return [Types::ResourceLocation]
1976
1977
  #
1977
1978
  # @!attribute [rw] resource_type
@@ -2079,7 +2080,8 @@ module Aws::Lightsail
2079
2080
  # @return [Time]
2080
2081
  #
2081
2082
  # @!attribute [rw] location
2082
- # Describes the resource location.
2083
+ # An object that describes the location of the contact method, such as
2084
+ # the Amazon Web Services Region and Availability Zone.
2083
2085
  # @return [Types::ResourceLocation]
2084
2086
  #
2085
2087
  # @!attribute [rw] resource_type
@@ -2209,7 +2211,7 @@ module Aws::Lightsail
2209
2211
  #
2210
2212
  # @!attribute [rw] location
2211
2213
  # An object that describes the location of the container service, such
2212
- # as the AWS Region and Availability Zone.
2214
+ # as the Amazon Web Services Region and Availability Zone.
2213
2215
  # @return [Types::ResourceLocation]
2214
2216
  #
2215
2217
  # @!attribute [rw] resource_type
@@ -2301,9 +2303,9 @@ module Aws::Lightsail
2301
2303
  # The principal ARN of the container service.
2302
2304
  #
2303
2305
  # The principal ARN can be used to create a trust relationship between
2304
- # your standard AWS account and your Lightsail container service. This
2305
- # allows you to give your service permission to access resources in
2306
- # your standard AWS account.
2306
+ # your standard Amazon Web Services account and your Lightsail
2307
+ # container service. This allows you to give your service permission
2308
+ # to access resources in your standard Amazon Web Services account.
2307
2309
  # @return [String]
2308
2310
  #
2309
2311
  # @!attribute [rw] private_domain_name
@@ -2861,8 +2863,8 @@ module Aws::Lightsail
2861
2863
  # @return [String]
2862
2864
  #
2863
2865
  # @!attribute [rw] source_region
2864
- # The AWS Region where the source manual or automatic snapshot is
2865
- # located.
2866
+ # The Amazon Web Services Region where the source manual or automatic
2867
+ # snapshot is located.
2866
2868
  # @return [String]
2867
2869
  #
2868
2870
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CopySnapshotRequest AWS API Documentation
@@ -3157,7 +3159,8 @@ module Aws::Lightsail
3157
3159
  # The protocol of the contact method, such as `Email` or `SMS` (text
3158
3160
  # messaging).
3159
3161
  #
3160
- # The `SMS` protocol is supported only in the following AWS Regions.
3162
+ # The `SMS` protocol is supported only in the following Amazon Web
3163
+ # Services Regions.
3161
3164
  #
3162
3165
  # * US East (N. Virginia) (`us-east-1`)
3163
3166
  #
@@ -3172,9 +3175,9 @@ module Aws::Lightsail
3172
3175
  # * Asia Pacific (Sydney) (`ap-southeast-2`)
3173
3176
  #
3174
3177
  # For a list of countries/regions where SMS text messages can be sent,
3175
- # and the latest AWS Regions where SMS text messaging is supported,
3176
- # see [Supported Regions and Countries][1] in the *Amazon SNS
3177
- # Developer Guide*.
3178
+ # and the latest Amazon Web Services Regions where SMS text messaging
3179
+ # is supported, see [Supported Regions and Countries][1] in the
3180
+ # *Amazon SNS Developer Guide*.
3178
3181
  #
3179
3182
  # For more information about notifications in Amazon Lightsail, see
3180
3183
  # [Notifications in Amazon Lightsail][2].
@@ -3371,7 +3374,8 @@ module Aws::Lightsail
3371
3374
  #
3372
3375
  # The following are the requirements for container service names:
3373
3376
  #
3374
- # * Must be unique within each AWS Region in your Lightsail account.
3377
+ # * Must be unique within each Amazon Web Services Region in your
3378
+ # Lightsail account.
3375
3379
  #
3376
3380
  # * Must contain 1 to 63 characters.
3377
3381
  #
@@ -4524,6 +4528,7 @@ module Aws::Lightsail
4524
4528
  # },
4525
4529
  # ],
4526
4530
  # ip_address_type: "dualstack", # accepts dualstack, ipv4
4531
+ # tls_policy_name: "string",
4527
4532
  # }
4528
4533
  #
4529
4534
  # @!attribute [rw] load_balancer_name
@@ -4581,6 +4586,22 @@ module Aws::Lightsail
4581
4586
  # The default value is `dualstack`.
4582
4587
  # @return [String]
4583
4588
  #
4589
+ # @!attribute [rw] tls_policy_name
4590
+ # The name of the TLS policy to apply to the load balancer.
4591
+ #
4592
+ # Use the [GetLoadBalancerTlsPolicies][1] action to get a list of TLS
4593
+ # policy names that you can specify.
4594
+ #
4595
+ # For more information about load balancer TLS policies, see [Load
4596
+ # balancer TLS security policies][2] in the *Amazon Lightsail
4597
+ # Developer Guide*.
4598
+ #
4599
+ #
4600
+ #
4601
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetLoadBalancerTlsPolicies.html
4602
+ # [2]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configure-load-balancer-tls-security-policy
4603
+ # @return [String]
4604
+ #
4584
4605
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateLoadBalancerRequest AWS API Documentation
4585
4606
  #
4586
4607
  class CreateLoadBalancerRequest < Struct.new(
@@ -4591,7 +4612,8 @@ module Aws::Lightsail
4591
4612
  :certificate_domain_name,
4592
4613
  :certificate_alternative_names,
4593
4614
  :tags,
4594
- :ip_address_type)
4615
+ :ip_address_type,
4616
+ :tls_policy_name)
4595
4617
  SENSITIVE = []
4596
4618
  include Aws::Structure
4597
4619
  end
@@ -7367,8 +7389,8 @@ module Aws::Lightsail
7367
7389
  # @!attribute [rw] bucket_name
7368
7390
  # The name of the bucket for which to return information.
7369
7391
  #
7370
- # When omitted, the response includes all of your buckets in the AWS
7371
- # Region where the request is made.
7392
+ # When omitted, the response includes all of your buckets in the
7393
+ # Amazon Web Services Region where the request is made.
7372
7394
  # @return [String]
7373
7395
  #
7374
7396
  # @!attribute [rw] page_token
@@ -7511,8 +7533,8 @@ module Aws::Lightsail
7511
7533
  # `ISSUED` status.
7512
7534
  #
7513
7535
  # When omitted, the response includes all of your certificates in the
7514
- # AWS Region where the request is made, regardless of their current
7515
- # status.
7536
+ # Amazon Web Services Region where the request is made, regardless of
7537
+ # their current status.
7516
7538
  # @return [Array<String>]
7517
7539
  #
7518
7540
  # @!attribute [rw] include_certificate_details
@@ -7527,7 +7549,7 @@ module Aws::Lightsail
7527
7549
  # The name for the certificate for which to return information.
7528
7550
  #
7529
7551
  # When omitted, the response includes all of your certificates in the
7530
- # AWS Region where the request is made.
7552
+ # Amazon Web Services Region where the request is made.
7531
7553
  # @return [String]
7532
7554
  #
7533
7555
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetCertificatesRequest AWS API Documentation
@@ -7995,7 +8017,7 @@ module Aws::Lightsail
7995
8017
  # The name of the container service for which to return information.
7996
8018
  #
7997
8019
  # When omitted, the response includes all of your container services
7998
- # in the AWS Region where the request is made.
8020
+ # in the Amazon Web Services Region where the request is made.
7999
8021
  # @return [String]
8000
8022
  #
8001
8023
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetContainerServicesRequest AWS API Documentation
@@ -8428,7 +8450,7 @@ module Aws::Lightsail
8428
8450
  # The name of the distribution for which to return information.
8429
8451
  #
8430
8452
  # When omitted, the response includes all of your distributions in the
8431
- # AWS Region where the request is made.
8453
+ # Amazon Web Services Region where the request is made.
8432
8454
  # @return [String]
8433
8455
  #
8434
8456
  # @!attribute [rw] page_token
@@ -9440,6 +9462,55 @@ module Aws::Lightsail
9440
9462
  include Aws::Structure
9441
9463
  end
9442
9464
 
9465
+ # @note When making an API call, you may pass GetLoadBalancerTlsPoliciesRequest
9466
+ # data as a hash:
9467
+ #
9468
+ # {
9469
+ # page_token: "string",
9470
+ # }
9471
+ #
9472
+ # @!attribute [rw] page_token
9473
+ # The token to advance to the next page of results from your request.
9474
+ #
9475
+ # To get a page token, perform an initial `GetLoadBalancerTlsPolicies`
9476
+ # request. If your results are paginated, the response will return a
9477
+ # next page token that you can specify as the page token in a
9478
+ # subsequent request.
9479
+ # @return [String]
9480
+ #
9481
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsPoliciesRequest AWS API Documentation
9482
+ #
9483
+ class GetLoadBalancerTlsPoliciesRequest < Struct.new(
9484
+ :page_token)
9485
+ SENSITIVE = []
9486
+ include Aws::Structure
9487
+ end
9488
+
9489
+ # @!attribute [rw] tls_policies
9490
+ # An array of objects that describe the TLS security policies that are
9491
+ # available.
9492
+ # @return [Array<Types::LoadBalancerTlsPolicy>]
9493
+ #
9494
+ # @!attribute [rw] next_page_token
9495
+ # The token to advance to the next page of results from your request.
9496
+ #
9497
+ # A next page token is not returned if there are no more results to
9498
+ # display.
9499
+ #
9500
+ # To get the next page of results, perform another
9501
+ # `GetLoadBalancerTlsPolicies` request and specify the next page token
9502
+ # using the `pageToken` parameter.
9503
+ # @return [String]
9504
+ #
9505
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerTlsPoliciesResult AWS API Documentation
9506
+ #
9507
+ class GetLoadBalancerTlsPoliciesResult < Struct.new(
9508
+ :tls_policies,
9509
+ :next_page_token)
9510
+ SENSITIVE = []
9511
+ include Aws::Structure
9512
+ end
9513
+
9443
9514
  # @note When making an API call, you may pass GetLoadBalancersRequest
9444
9515
  # data as a hash:
9445
9516
  #
@@ -11622,8 +11693,9 @@ module Aws::Lightsail
11622
11693
  # the validation rules of an input field.
11623
11694
  #
11624
11695
  # <note markdown="1"> Domain and distribution APIs are only available in the N. Virginia
11625
- # (`us-east-1`) AWS Region. Please set your AWS Region configuration to
11626
- # `us-east-1` to create, view, or edit these resources.
11696
+ # (`us-east-1`) Amazon Web Services Region. Please set your Amazon Web
11697
+ # Services Region configuration to `us-east-1` to create, view, or edit
11698
+ # these resources.
11627
11699
  #
11628
11700
  # </note>
11629
11701
  #
@@ -11753,11 +11825,12 @@ module Aws::Lightsail
11753
11825
  #
11754
11826
  # @!attribute [rw] location
11755
11827
  # An object that describes the location of the distribution, such as
11756
- # the AWS Region and Availability Zone.
11828
+ # the Amazon Web Services Region and Availability Zone.
11757
11829
  #
11758
11830
  # <note markdown="1"> Lightsail distributions are global resources that can reference an
11759
- # origin in any AWS Region, and distribute its content globally.
11760
- # However, all distributions are located in the `us-east-1` Region.
11831
+ # origin in any Amazon Web Services Region, and distribute its content
11832
+ # globally. However, all distributions are located in the `us-east-1`
11833
+ # Region.
11761
11834
  #
11762
11835
  # </note>
11763
11836
  # @return [Types::ResourceLocation]
@@ -11966,6 +12039,21 @@ module Aws::Lightsail
11966
12039
  # IPv4 and IPv6.
11967
12040
  # @return [String]
11968
12041
  #
12042
+ # @!attribute [rw] https_redirection_enabled
12043
+ # A Boolean value that indicates whether HTTPS redirection is enabled
12044
+ # for the load balancer.
12045
+ # @return [Boolean]
12046
+ #
12047
+ # @!attribute [rw] tls_policy_name
12048
+ # The name of the TLS security policy for the load balancer.
12049
+ #
12050
+ # The following TLS security policy names are possible:
12051
+ #
12052
+ # * `TLS-2016-08`
12053
+ #
12054
+ # * `TLS-FS-Res-1-2-2019-08`
12055
+ # @return [String]
12056
+ #
11969
12057
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancer AWS API Documentation
11970
12058
  #
11971
12059
  class LoadBalancer < Struct.new(
@@ -11985,7 +12073,9 @@ module Aws::Lightsail
11985
12073
  :instance_health_summary,
11986
12074
  :tls_certificate_summaries,
11987
12075
  :configuration_options,
11988
- :ip_address_type)
12076
+ :ip_address_type,
12077
+ :https_redirection_enabled,
12078
+ :tls_policy_name)
11989
12079
  SENSITIVE = []
11990
12080
  include Aws::Structure
11991
12081
  end
@@ -12377,6 +12467,76 @@ module Aws::Lightsail
12377
12467
  include Aws::Structure
12378
12468
  end
12379
12469
 
12470
+ # Describes the TLS security policies that are available for Lightsail
12471
+ # load balancers.
12472
+ #
12473
+ # For more information about load balancer TLS security policies, see
12474
+ # [Load balancer TLS security policies][1] in the *Amazon Lightsail
12475
+ # Developer Guide*.
12476
+ #
12477
+ #
12478
+ #
12479
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-configure-load-balancer-tls-security-policy
12480
+ #
12481
+ # @!attribute [rw] name
12482
+ # The name of the TLS security policy.
12483
+ #
12484
+ # The following TLS security policy names are possible:
12485
+ #
12486
+ # * `TLS-2016-08`
12487
+ #
12488
+ # * `TLS-FS-Res-1-2-2019-08`
12489
+ #
12490
+ # You can specify either of these values for the
12491
+ # `tlsSecurityPolicyName` request parameter in the
12492
+ # [CreateLoadBalancer][1] action, and the `attributeValue` request
12493
+ # parameter in the [UpdateLoadBalancerAttribute][2] action.
12494
+ #
12495
+ #
12496
+ #
12497
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_CreateLoadBalancer.html
12498
+ # [2]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_UpdateLoadBalancerAttribute.html
12499
+ # @return [String]
12500
+ #
12501
+ # @!attribute [rw] is_default
12502
+ # A Boolean value that indicates whether the TLS security policy is
12503
+ # the default.
12504
+ # @return [Boolean]
12505
+ #
12506
+ # @!attribute [rw] description
12507
+ # The description of the TLS security policy.
12508
+ # @return [String]
12509
+ #
12510
+ # @!attribute [rw] protocols
12511
+ # The protocols used in a given TLS security policy.
12512
+ #
12513
+ # The following protocols are possible:
12514
+ #
12515
+ # * `Protocol-TLSv1`
12516
+ #
12517
+ # * `Protocol-TLSv1.1`
12518
+ #
12519
+ # * `Protocol-TLSv1.2`
12520
+ # @return [Array<String>]
12521
+ #
12522
+ # @!attribute [rw] ciphers
12523
+ # The ciphers used by the TLS security policy.
12524
+ #
12525
+ # The ciphers are listed in order of preference.
12526
+ # @return [Array<String>]
12527
+ #
12528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LoadBalancerTlsPolicy AWS API Documentation
12529
+ #
12530
+ class LoadBalancerTlsPolicy < Struct.new(
12531
+ :name,
12532
+ :is_default,
12533
+ :description,
12534
+ :protocols,
12535
+ :ciphers)
12536
+ SENSITIVE = []
12537
+ include Aws::Structure
12538
+ end
12539
+
12380
12540
  # Describes a database log event.
12381
12541
  #
12382
12542
  # @!attribute [rw] created_at
@@ -12580,7 +12740,7 @@ module Aws::Lightsail
12580
12740
  # @return [Time]
12581
12741
  #
12582
12742
  # @!attribute [rw] location
12583
- # The AWS Region and Availability Zone.
12743
+ # The Amazon Web Services Region and Availability Zone.
12584
12744
  # @return [Types::ResourceLocation]
12585
12745
  #
12586
12746
  # @!attribute [rw] is_terminal
@@ -13089,12 +13249,12 @@ module Aws::Lightsail
13089
13249
  # triggered.
13090
13250
  #
13091
13251
  # A notification is not sent if a contact protocol is not specified,
13092
- # if the specified contact protocol is not configured in the AWS
13093
- # Region, or if notifications are not enabled for the alarm using the
13094
- # `notificationEnabled` paramater.
13252
+ # if the specified contact protocol is not configured in the Amazon
13253
+ # Web Services Region, or if notifications are not enabled for the
13254
+ # alarm using the `notificationEnabled` paramater.
13095
13255
  #
13096
13256
  # Use the `CreateContactMethod` action to configure a contact protocol
13097
- # in an AWS Region.
13257
+ # in an Amazon Web Services Region.
13098
13258
  # @return [Array<String>]
13099
13259
  #
13100
13260
  # @!attribute [rw] notification_triggers
@@ -13421,8 +13581,8 @@ module Aws::Lightsail
13421
13581
  end
13422
13582
 
13423
13583
  # @!attribute [rw] container_image
13424
- # Describes a container image that is registered to an Amazon
13425
- # Lightsail container service.
13584
+ # An object that describes a container image that is registered to a
13585
+ # Lightsail container service
13426
13586
  # @return [Types::ContainerImage]
13427
13587
  #
13428
13588
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/RegisterContainerImageResult AWS API Documentation
@@ -14207,8 +14367,9 @@ module Aws::Lightsail
14207
14367
  # `LoadBalancer`.
14208
14368
  #
14209
14369
  # <note markdown="1"> Distribution-related APIs are available only in the N. Virginia
14210
- # (`us-east-1`) AWS Region. Set your AWS Region configuration to
14211
- # `us-east-1` to create, view, or edit distributions.
14370
+ # (`us-east-1`) Amazon Web Services Region. Set your Amazon Web
14371
+ # Services Region configuration to `us-east-1` to create, view, or
14372
+ # edit distributions.
14212
14373
  #
14213
14374
  # </note>
14214
14375
  # @return [String]
@@ -14831,10 +14992,11 @@ module Aws::Lightsail
14831
14992
  # @return [String]
14832
14993
  #
14833
14994
  # @!attribute [rw] readonly_access_accounts
14834
- # An array of strings to specify the AWS account IDs that can access
14835
- # the bucket.
14995
+ # An array of strings to specify the Amazon Web Services account IDs
14996
+ # that can access the bucket.
14836
14997
  #
14837
- # You can give a maximum of 10 AWS accounts access to a bucket.
14998
+ # You can give a maximum of 10 Amazon Web Services accounts access to
14999
+ # a bucket.
14838
15000
  # @return [Array<String>]
14839
15001
  #
14840
15002
  # @!attribute [rw] access_log_config
@@ -14996,7 +15158,9 @@ module Aws::Lightsail
14996
15158
  end
14997
15159
 
14998
15160
  # @!attribute [rw] operation
14999
- # Describes the API operation.
15161
+ # An object that describes the result of the action, such as the
15162
+ # status of the request, the timestamp of the request, and the
15163
+ # resources affected by the request.
15000
15164
  # @return [Types::Operation]
15001
15165
  #
15002
15166
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDistributionBundleResult AWS API Documentation
@@ -15168,7 +15332,7 @@ module Aws::Lightsail
15168
15332
  #
15169
15333
  # {
15170
15334
  # load_balancer_name: "ResourceName", # required
15171
- # attribute_name: "HealthCheckPath", # required, accepts HealthCheckPath, SessionStickinessEnabled, SessionStickiness_LB_CookieDurationSeconds
15335
+ # attribute_name: "HealthCheckPath", # required, accepts HealthCheckPath, SessionStickinessEnabled, SessionStickiness_LB_CookieDurationSeconds, HttpsRedirectionEnabled, TlsPolicyName
15172
15336
  # attribute_value: "StringMax256", # required
15173
15337
  # }
15174
15338
  #
@@ -15178,12 +15342,36 @@ module Aws::Lightsail
15178
15342
  # @return [String]
15179
15343
  #
15180
15344
  # @!attribute [rw] attribute_name
15181
- # The name of the attribute you want to update. Valid values are
15182
- # below.
15345
+ # The name of the attribute you want to update.
15183
15346
  # @return [String]
15184
15347
  #
15185
15348
  # @!attribute [rw] attribute_value
15186
15349
  # The value that you want to specify for the attribute name.
15350
+ #
15351
+ # The following values are supported depending on what you specify for
15352
+ # the `attributeName` request parameter:
15353
+ #
15354
+ # * If you specify `HealthCheckPath` for the `attributeName` request
15355
+ # parameter, then the `attributeValue` request parameter must be the
15356
+ # path to ping on the target (for example,
15357
+ # `/weather/us/wa/seattle`).
15358
+ #
15359
+ # * If you specify `SessionStickinessEnabled` for the `attributeName`
15360
+ # request parameter, then the `attributeValue` request parameter
15361
+ # must be `true` or `false`.
15362
+ #
15363
+ # * If you specify `SessionStickiness_LB_CookieDurationSeconds` for
15364
+ # the `attributeName` request parameter, then the `attributeValue`
15365
+ # request parameter must be an interger that represents the cookie
15366
+ # duration in seconds.
15367
+ #
15368
+ # * If you specify `HttpsRedirectionEnabled` for the `attributeName`
15369
+ # request parameter, then the `attributeValue` request parameter
15370
+ # must be `true` or `false`.
15371
+ #
15372
+ # * If you specify `TlsPolicyName` for the `attributeName` request
15373
+ # parameter, then the `attributeValue` request parameter must be
15374
+ # `TLS version 1.0, 1.1, and 1.2` or `TLS version 1.2`.
15187
15375
  # @return [String]
15188
15376
  #
15189
15377
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateLoadBalancerAttributeRequest AWS API Documentation
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-lightsail/customizations'
48
48
  # @!group service
49
49
  module Aws::Lightsail
50
50
 
51
- GEM_VERSION = '1.64.0'
51
+ GEM_VERSION = '1.65.0'
52
52
 
53
53
  end
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.64.0
4
+ version: 1.65.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: 2022-04-15 00:00:00.000000000 Z
11
+ date: 2022-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core