aws-sdk-lightsail 1.88.0 → 1.90.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail/client.rb +125 -48
- data/lib/aws-sdk-lightsail/client_api.rb +9 -0
- data/lib/aws-sdk-lightsail/types.rb +78 -5
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/sig/client.rbs +11 -4
- data/sig/types.rbs +8 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cdab5d03948de0138fcf9809a529f6c68ac1737bbd9435f4eaaf991eae449cce
|
4
|
+
data.tar.gz: 7f603f0097887062f241c08be8ff6a5a80643abf03d2de4b38b364068ae56786
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bd226d4fc642143313b5ea5b9c1571653325e6f75be99b3b6ee4a41fa72c29f1e07abdbe86706abc0397f87ec56794f330fb0ce5fcea9fbb62a18b2254439ac
|
7
|
+
data.tar.gz: d2e1d24711659911b0d6e22e985da635d1dd712171099987cc50b3f2a5259b42f64eba336d4965a10861f8b7b90776f0d6fee961193b4aecb477efee47036257
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.90.0 (2024-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.89.0 (2024-04-25)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.88.0 (2024-02-13)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.90.0
|
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
|
|
22
22
|
require 'aws-sdk-core/plugins/response_paging.rb'
|
23
23
|
require 'aws-sdk-core/plugins/stub_responses.rb'
|
24
24
|
require 'aws-sdk-core/plugins/idempotency_token.rb'
|
25
|
+
require 'aws-sdk-core/plugins/invocation_id.rb'
|
25
26
|
require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
26
27
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
27
28
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
@@ -72,6 +73,7 @@ module Aws::Lightsail
|
|
72
73
|
add_plugin(Aws::Plugins::ResponsePaging)
|
73
74
|
add_plugin(Aws::Plugins::StubResponses)
|
74
75
|
add_plugin(Aws::Plugins::IdempotencyToken)
|
76
|
+
add_plugin(Aws::Plugins::InvocationId)
|
75
77
|
add_plugin(Aws::Plugins::JsonvalueConverter)
|
76
78
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
77
79
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
@@ -196,10 +198,17 @@ module Aws::Lightsail
|
|
196
198
|
# When set to 'true' the request body will not be compressed
|
197
199
|
# for supported operations.
|
198
200
|
#
|
199
|
-
# @option options [String] :endpoint
|
200
|
-
#
|
201
|
-
#
|
202
|
-
#
|
201
|
+
# @option options [String, URI::HTTPS, URI::HTTP] :endpoint
|
202
|
+
# Normally you should not configure the `:endpoint` option
|
203
|
+
# directly. This is normally constructed from the `:region`
|
204
|
+
# option. Configuring `:endpoint` is normally reserved for
|
205
|
+
# connecting to test or custom endpoints. The endpoint should
|
206
|
+
# be a URI formatted like:
|
207
|
+
#
|
208
|
+
# 'http://example.com'
|
209
|
+
# 'https://example.com'
|
210
|
+
# 'http://example.com:123'
|
211
|
+
#
|
203
212
|
#
|
204
213
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
205
214
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -292,8 +301,9 @@ module Aws::Lightsail
|
|
292
301
|
#
|
293
302
|
# @option options [String] :sdk_ua_app_id
|
294
303
|
# A unique and opaque application ID that is appended to the
|
295
|
-
# User-Agent header as app
|
296
|
-
# maximum length of 50.
|
304
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
305
|
+
# maximum length of 50. This variable is sourced from environment
|
306
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
297
307
|
#
|
298
308
|
# @option options [String] :secret_access_key
|
299
309
|
#
|
@@ -347,50 +357,65 @@ module Aws::Lightsail
|
|
347
357
|
# @option options [Aws::Lightsail::EndpointProvider] :endpoint_provider
|
348
358
|
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Lightsail::EndpointParameters`
|
349
359
|
#
|
350
|
-
# @option options [
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
#
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
# @option options [Float] :
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
370
|
-
#
|
371
|
-
#
|
360
|
+
# @option options [Float] :http_continue_timeout (1)
|
361
|
+
# The number of seconds to wait for a 100-continue response before sending the
|
362
|
+
# request body. This option has no effect unless the request has "Expect"
|
363
|
+
# header set to "100-continue". Defaults to `nil` which disables this
|
364
|
+
# behaviour. This value can safely be set per request on the session.
|
365
|
+
#
|
366
|
+
# @option options [Float] :http_idle_timeout (5)
|
367
|
+
# The number of seconds a connection is allowed to sit idle before it
|
368
|
+
# is considered stale. Stale connections are closed and removed from the
|
369
|
+
# pool before making a request.
|
370
|
+
#
|
371
|
+
# @option options [Float] :http_open_timeout (15)
|
372
|
+
# The default number of seconds to wait for response data.
|
373
|
+
# This value can safely be set per-request on the session.
|
374
|
+
#
|
375
|
+
# @option options [URI::HTTP,String] :http_proxy
|
376
|
+
# A proxy to send requests through. Formatted like 'http://proxy.com:123'.
|
377
|
+
#
|
378
|
+
# @option options [Float] :http_read_timeout (60)
|
379
|
+
# The default number of seconds to wait for response data.
|
380
|
+
# This value can safely be set per-request on the session.
|
381
|
+
#
|
382
|
+
# @option options [Boolean] :http_wire_trace (false)
|
383
|
+
# When `true`, HTTP debug output will be sent to the `:logger`.
|
384
|
+
#
|
385
|
+
# @option options [Proc] :on_chunk_received
|
386
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
387
|
+
# of the response body is received. It provides three arguments: the chunk,
|
388
|
+
# the number of bytes received, and the total number of
|
389
|
+
# bytes in the response (or nil if the server did not send a `content-length`).
|
390
|
+
#
|
391
|
+
# @option options [Proc] :on_chunk_sent
|
392
|
+
# When a Proc object is provided, it will be used as callback when each chunk
|
393
|
+
# of the request body is sent. It provides three arguments: the chunk,
|
394
|
+
# the number of bytes read from the body, and the total number of
|
395
|
+
# bytes in the body.
|
396
|
+
#
|
397
|
+
# @option options [Boolean] :raise_response_errors (true)
|
398
|
+
# When `true`, response errors are raised.
|
399
|
+
#
|
400
|
+
# @option options [String] :ssl_ca_bundle
|
401
|
+
# Full path to the SSL certificate authority bundle file that should be used when
|
402
|
+
# verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
|
403
|
+
# `:ssl_ca_directory` the the system default will be used if available.
|
404
|
+
#
|
405
|
+
# @option options [String] :ssl_ca_directory
|
406
|
+
# Full path of the directory that contains the unbundled SSL certificate
|
407
|
+
# authority files for verifying peer certificates. If you do
|
408
|
+
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
|
409
|
+
# default will be used if available.
|
372
410
|
#
|
373
|
-
# @option options [
|
374
|
-
#
|
411
|
+
# @option options [String] :ssl_ca_store
|
412
|
+
# Sets the X509::Store to verify peer certificate.
|
375
413
|
#
|
376
|
-
# @option options [
|
377
|
-
#
|
414
|
+
# @option options [Float] :ssl_timeout
|
415
|
+
# Sets the SSL timeout in seconds
|
378
416
|
#
|
379
|
-
# @option options [Boolean] :ssl_verify_peer (true)
|
380
|
-
# SSL peer certificates are verified when establishing a
|
381
|
-
# connection.
|
382
|
-
#
|
383
|
-
# @option options [String] :ssl_ca_bundle Full path to the SSL
|
384
|
-
# certificate authority bundle file that should be used when
|
385
|
-
# verifying peer certificates. If you do not pass
|
386
|
-
# `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
|
387
|
-
# will be used if available.
|
388
|
-
#
|
389
|
-
# @option options [String] :ssl_ca_directory Full path of the
|
390
|
-
# directory that contains the unbundled SSL certificate
|
391
|
-
# authority files for verifying peer certificates. If you do
|
392
|
-
# not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
|
393
|
-
# system default will be used if available.
|
417
|
+
# @option options [Boolean] :ssl_verify_peer (true)
|
418
|
+
# When `true`, SSL peer certificates are verified when establishing a connection.
|
394
419
|
#
|
395
420
|
def initialize(*args)
|
396
421
|
super
|
@@ -2278,6 +2303,20 @@ module Aws::Lightsail
|
|
2278
2303
|
#
|
2279
2304
|
# Use the `TagResource` action to tag a resource after it's created.
|
2280
2305
|
#
|
2306
|
+
# @option params [String] :certificate_name
|
2307
|
+
# The name of the SSL/TLS certificate that you want to attach to the
|
2308
|
+
# distribution.
|
2309
|
+
#
|
2310
|
+
# Use the [GetCertificates][1] action to get a list of certificate names
|
2311
|
+
# that you can specify.
|
2312
|
+
#
|
2313
|
+
#
|
2314
|
+
#
|
2315
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html
|
2316
|
+
#
|
2317
|
+
# @option params [String] :viewer_minimum_tls_protocol_version
|
2318
|
+
# The minimum TLS protocol version for the SSL/TLS certificate.
|
2319
|
+
#
|
2281
2320
|
# @return [Types::CreateDistributionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2282
2321
|
#
|
2283
2322
|
# * {Types::CreateDistributionResult#distribution #distribution} => Types::LightsailDistribution
|
@@ -2291,6 +2330,7 @@ module Aws::Lightsail
|
|
2291
2330
|
# name: "ResourceName",
|
2292
2331
|
# region_name: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, eu-north-1
|
2293
2332
|
# protocol_policy: "http-only", # accepts http-only, https-only
|
2333
|
+
# response_timeout: 1,
|
2294
2334
|
# },
|
2295
2335
|
# default_cache_behavior: { # required
|
2296
2336
|
# behavior: "dont-cache", # accepts dont-cache, cache
|
@@ -2328,6 +2368,8 @@ module Aws::Lightsail
|
|
2328
2368
|
# value: "TagValue",
|
2329
2369
|
# },
|
2330
2370
|
# ],
|
2371
|
+
# certificate_name: "ResourceName",
|
2372
|
+
# viewer_minimum_tls_protocol_version: "TLSv1.1_2016", # accepts TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
|
2331
2373
|
# })
|
2332
2374
|
#
|
2333
2375
|
# @example Response structure
|
@@ -2350,6 +2392,7 @@ module Aws::Lightsail
|
|
2350
2392
|
# resp.distribution.origin.resource_type #=> String, one of "ContainerService", "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod", "Distribution", "Certificate", "Bucket"
|
2351
2393
|
# resp.distribution.origin.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "eu-north-1"
|
2352
2394
|
# resp.distribution.origin.protocol_policy #=> String, one of "http-only", "https-only"
|
2395
|
+
# resp.distribution.origin.response_timeout #=> Integer
|
2353
2396
|
# resp.distribution.origin_public_dns #=> String
|
2354
2397
|
# resp.distribution.default_cache_behavior.behavior #=> String, one of "dont-cache", "cache"
|
2355
2398
|
# resp.distribution.cache_behavior_settings.default_ttl #=> Integer
|
@@ -2374,6 +2417,7 @@ module Aws::Lightsail
|
|
2374
2417
|
# resp.distribution.tags #=> Array
|
2375
2418
|
# resp.distribution.tags[0].key #=> String
|
2376
2419
|
# resp.distribution.tags[0].value #=> String
|
2420
|
+
# resp.distribution.viewer_minimum_tls_protocol_version #=> String
|
2377
2421
|
# resp.operation.id #=> String
|
2378
2422
|
# resp.operation.resource_name #=> String
|
2379
2423
|
# resp.operation.resource_type #=> String, one of "ContainerService", "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod", "Distribution", "Certificate", "Bucket"
|
@@ -7231,6 +7275,7 @@ module Aws::Lightsail
|
|
7231
7275
|
# resp.distributions[0].origin.resource_type #=> String, one of "ContainerService", "Instance", "StaticIp", "KeyPair", "InstanceSnapshot", "Domain", "PeeredVpc", "LoadBalancer", "LoadBalancerTlsCertificate", "Disk", "DiskSnapshot", "RelationalDatabase", "RelationalDatabaseSnapshot", "ExportSnapshotRecord", "CloudFormationStackRecord", "Alarm", "ContactMethod", "Distribution", "Certificate", "Bucket"
|
7232
7276
|
# resp.distributions[0].origin.region_name #=> String, one of "us-east-1", "us-east-2", "us-west-1", "us-west-2", "eu-west-1", "eu-west-2", "eu-west-3", "eu-central-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "eu-north-1"
|
7233
7277
|
# resp.distributions[0].origin.protocol_policy #=> String, one of "http-only", "https-only"
|
7278
|
+
# resp.distributions[0].origin.response_timeout #=> Integer
|
7234
7279
|
# resp.distributions[0].origin_public_dns #=> String
|
7235
7280
|
# resp.distributions[0].default_cache_behavior.behavior #=> String, one of "dont-cache", "cache"
|
7236
7281
|
# resp.distributions[0].cache_behavior_settings.default_ttl #=> Integer
|
@@ -7255,6 +7300,7 @@ module Aws::Lightsail
|
|
7255
7300
|
# resp.distributions[0].tags #=> Array
|
7256
7301
|
# resp.distributions[0].tags[0].key #=> String
|
7257
7302
|
# resp.distributions[0].tags[0].value #=> String
|
7303
|
+
# resp.distributions[0].viewer_minimum_tls_protocol_version #=> String
|
7258
7304
|
# resp.next_page_token #=> String
|
7259
7305
|
#
|
7260
7306
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributions AWS API Documentation
|
@@ -11683,6 +11729,33 @@ module Aws::Lightsail
|
|
11683
11729
|
# @option params [Boolean] :is_enabled
|
11684
11730
|
# Indicates whether to enable the distribution.
|
11685
11731
|
#
|
11732
|
+
# @option params [String] :viewer_minimum_tls_protocol_version
|
11733
|
+
# Use this parameter to update the minimum TLS protocol version for the
|
11734
|
+
# SSL/TLS certificate that's attached to the distribution.
|
11735
|
+
#
|
11736
|
+
# @option params [String] :certificate_name
|
11737
|
+
# The name of the SSL/TLS certificate that you want to attach to the
|
11738
|
+
# distribution.
|
11739
|
+
#
|
11740
|
+
# Only certificates with a status of `ISSUED` can be attached to a
|
11741
|
+
# distribution.
|
11742
|
+
#
|
11743
|
+
# Use the [GetCertificates][1] action to get a list of certificate names
|
11744
|
+
# that you can specify.
|
11745
|
+
#
|
11746
|
+
#
|
11747
|
+
#
|
11748
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html
|
11749
|
+
#
|
11750
|
+
# @option params [Boolean] :use_default_certificate
|
11751
|
+
# Indicates whether the default SSL/TLS certificate is attached to the
|
11752
|
+
# distribution. The default value is `true`. When `true`, the
|
11753
|
+
# distribution uses the default domain name such as
|
11754
|
+
# `d111111abcdef8.cloudfront.net`.
|
11755
|
+
#
|
11756
|
+
# Set this value to `false` to attach a new certificate to the
|
11757
|
+
# distribution.
|
11758
|
+
#
|
11686
11759
|
# @return [Types::UpdateDistributionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
11687
11760
|
#
|
11688
11761
|
# * {Types::UpdateDistributionResult#operation #operation} => Types::Operation
|
@@ -11695,6 +11768,7 @@ module Aws::Lightsail
|
|
11695
11768
|
# name: "ResourceName",
|
11696
11769
|
# region_name: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, eu-west-1, eu-west-2, eu-west-3, eu-central-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, eu-north-1
|
11697
11770
|
# protocol_policy: "http-only", # accepts http-only, https-only
|
11771
|
+
# response_timeout: 1,
|
11698
11772
|
# },
|
11699
11773
|
# default_cache_behavior: {
|
11700
11774
|
# behavior: "dont-cache", # accepts dont-cache, cache
|
@@ -11725,6 +11799,9 @@ module Aws::Lightsail
|
|
11725
11799
|
# },
|
11726
11800
|
# ],
|
11727
11801
|
# is_enabled: false,
|
11802
|
+
# viewer_minimum_tls_protocol_version: "TLSv1.1_2016", # accepts TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
|
11803
|
+
# certificate_name: "ResourceName",
|
11804
|
+
# use_default_certificate: false,
|
11728
11805
|
# })
|
11729
11806
|
#
|
11730
11807
|
# @example Response structure
|
@@ -12319,7 +12396,7 @@ module Aws::Lightsail
|
|
12319
12396
|
params: params,
|
12320
12397
|
config: config)
|
12321
12398
|
context[:gem_name] = 'aws-sdk-lightsail'
|
12322
|
-
context[:gem_version] = '1.
|
12399
|
+
context[:gem_version] = '1.90.0'
|
12323
12400
|
Seahorse::Client::Request.new(handlers, context)
|
12324
12401
|
end
|
12325
12402
|
|
@@ -671,6 +671,7 @@ module Aws::Lightsail
|
|
671
671
|
UpdateRelationalDatabaseParametersResult = Shapes::StructureShape.new(name: 'UpdateRelationalDatabaseParametersResult')
|
672
672
|
UpdateRelationalDatabaseRequest = Shapes::StructureShape.new(name: 'UpdateRelationalDatabaseRequest')
|
673
673
|
UpdateRelationalDatabaseResult = Shapes::StructureShape.new(name: 'UpdateRelationalDatabaseResult')
|
674
|
+
ViewerMinimumTlsProtocolVersionEnum = Shapes::StringShape.new(name: 'ViewerMinimumTlsProtocolVersionEnum')
|
674
675
|
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
675
676
|
double = Shapes::FloatShape.new(name: 'double')
|
676
677
|
float = Shapes::FloatShape.new(name: 'float')
|
@@ -1235,6 +1236,8 @@ module Aws::Lightsail
|
|
1235
1236
|
CreateDistributionRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: string, required: true, location_name: "bundleId"))
|
1236
1237
|
CreateDistributionRequest.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
1237
1238
|
CreateDistributionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
1239
|
+
CreateDistributionRequest.add_member(:certificate_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "certificateName"))
|
1240
|
+
CreateDistributionRequest.add_member(:viewer_minimum_tls_protocol_version, Shapes::ShapeRef.new(shape: ViewerMinimumTlsProtocolVersionEnum, location_name: "viewerMinimumTlsProtocolVersion"))
|
1238
1241
|
CreateDistributionRequest.struct_class = Types::CreateDistributionRequest
|
1239
1242
|
|
1240
1243
|
CreateDistributionResult.add_member(:distribution, Shapes::ShapeRef.new(shape: LightsailDistribution, location_name: "distribution"))
|
@@ -2240,6 +2243,7 @@ module Aws::Lightsail
|
|
2240
2243
|
InputOrigin.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
2241
2244
|
InputOrigin.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "regionName"))
|
2242
2245
|
InputOrigin.add_member(:protocol_policy, Shapes::ShapeRef.new(shape: OriginProtocolPolicyEnum, location_name: "protocolPolicy"))
|
2246
|
+
InputOrigin.add_member(:response_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "responseTimeout"))
|
2243
2247
|
InputOrigin.struct_class = Types::InputOrigin
|
2244
2248
|
|
2245
2249
|
Instance.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
@@ -2414,6 +2418,7 @@ module Aws::Lightsail
|
|
2414
2418
|
LightsailDistribution.add_member(:able_to_update_bundle, Shapes::ShapeRef.new(shape: boolean, location_name: "ableToUpdateBundle"))
|
2415
2419
|
LightsailDistribution.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: IpAddressType, location_name: "ipAddressType"))
|
2416
2420
|
LightsailDistribution.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
|
2421
|
+
LightsailDistribution.add_member(:viewer_minimum_tls_protocol_version, Shapes::ShapeRef.new(shape: string, location_name: "viewerMinimumTlsProtocolVersion"))
|
2417
2422
|
LightsailDistribution.struct_class = Types::LightsailDistribution
|
2418
2423
|
|
2419
2424
|
LoadBalancer.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
|
@@ -2582,6 +2587,7 @@ module Aws::Lightsail
|
|
2582
2587
|
Origin.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, location_name: "resourceType"))
|
2583
2588
|
Origin.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "regionName"))
|
2584
2589
|
Origin.add_member(:protocol_policy, Shapes::ShapeRef.new(shape: OriginProtocolPolicyEnum, location_name: "protocolPolicy"))
|
2590
|
+
Origin.add_member(:response_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "responseTimeout"))
|
2585
2591
|
Origin.struct_class = Types::Origin
|
2586
2592
|
|
2587
2593
|
PartnerIdList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
|
@@ -3061,6 +3067,9 @@ module Aws::Lightsail
|
|
3061
3067
|
UpdateDistributionRequest.add_member(:cache_behavior_settings, Shapes::ShapeRef.new(shape: CacheSettings, location_name: "cacheBehaviorSettings"))
|
3062
3068
|
UpdateDistributionRequest.add_member(:cache_behaviors, Shapes::ShapeRef.new(shape: CacheBehaviorList, location_name: "cacheBehaviors"))
|
3063
3069
|
UpdateDistributionRequest.add_member(:is_enabled, Shapes::ShapeRef.new(shape: boolean, location_name: "isEnabled"))
|
3070
|
+
UpdateDistributionRequest.add_member(:viewer_minimum_tls_protocol_version, Shapes::ShapeRef.new(shape: ViewerMinimumTlsProtocolVersionEnum, location_name: "viewerMinimumTlsProtocolVersion"))
|
3071
|
+
UpdateDistributionRequest.add_member(:certificate_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "certificateName"))
|
3072
|
+
UpdateDistributionRequest.add_member(:use_default_certificate, Shapes::ShapeRef.new(shape: boolean, location_name: "useDefaultCertificate"))
|
3064
3073
|
UpdateDistributionRequest.struct_class = Types::UpdateDistributionRequest
|
3065
3074
|
|
3066
3075
|
UpdateDistributionResult.add_member(:operation, Shapes::ShapeRef.new(shape: Operation, location_name: "operation"))
|
@@ -3605,6 +3605,22 @@ module Aws::Lightsail
|
|
3605
3605
|
# Use the `TagResource` action to tag a resource after it's created.
|
3606
3606
|
# @return [Array<Types::Tag>]
|
3607
3607
|
#
|
3608
|
+
# @!attribute [rw] certificate_name
|
3609
|
+
# The name of the SSL/TLS certificate that you want to attach to the
|
3610
|
+
# distribution.
|
3611
|
+
#
|
3612
|
+
# Use the [GetCertificates][1] action to get a list of certificate
|
3613
|
+
# names that you can specify.
|
3614
|
+
#
|
3615
|
+
#
|
3616
|
+
#
|
3617
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html
|
3618
|
+
# @return [String]
|
3619
|
+
#
|
3620
|
+
# @!attribute [rw] viewer_minimum_tls_protocol_version
|
3621
|
+
# The minimum TLS protocol version for the SSL/TLS certificate.
|
3622
|
+
# @return [String]
|
3623
|
+
#
|
3608
3624
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CreateDistributionRequest AWS API Documentation
|
3609
3625
|
#
|
3610
3626
|
class CreateDistributionRequest < Struct.new(
|
@@ -3615,7 +3631,9 @@ module Aws::Lightsail
|
|
3615
3631
|
:cache_behaviors,
|
3616
3632
|
:bundle_id,
|
3617
3633
|
:ip_address_type,
|
3618
|
-
:tags
|
3634
|
+
:tags,
|
3635
|
+
:certificate_name,
|
3636
|
+
:viewer_minimum_tls_protocol_version)
|
3619
3637
|
SENSITIVE = []
|
3620
3638
|
include Aws::Structure
|
3621
3639
|
end
|
@@ -9799,12 +9817,20 @@ module Aws::Lightsail
|
|
9799
9817
|
# establishing a connection with your origin to pull content.
|
9800
9818
|
# @return [String]
|
9801
9819
|
#
|
9820
|
+
# @!attribute [rw] response_timeout
|
9821
|
+
# The amount of time, in seconds, that the distribution waits for a
|
9822
|
+
# response after forwarding a request to the origin. The minimum
|
9823
|
+
# timeout is 1 second, the maximum is 60 seconds, and the default (if
|
9824
|
+
# you don't specify otherwise) is 30 seconds.
|
9825
|
+
# @return [Integer]
|
9826
|
+
#
|
9802
9827
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InputOrigin AWS API Documentation
|
9803
9828
|
#
|
9804
9829
|
class InputOrigin < Struct.new(
|
9805
9830
|
:name,
|
9806
9831
|
:region_name,
|
9807
|
-
:protocol_policy
|
9832
|
+
:protocol_policy,
|
9833
|
+
:response_timeout)
|
9808
9834
|
SENSITIVE = []
|
9809
9835
|
include Aws::Structure
|
9810
9836
|
end
|
@@ -11020,6 +11046,11 @@ module Aws::Lightsail
|
|
11020
11046
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-tags
|
11021
11047
|
# @return [Array<Types::Tag>]
|
11022
11048
|
#
|
11049
|
+
# @!attribute [rw] viewer_minimum_tls_protocol_version
|
11050
|
+
# The minimum TLS protocol version that the distribution can use to
|
11051
|
+
# communicate with viewers.
|
11052
|
+
# @return [String]
|
11053
|
+
#
|
11023
11054
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/LightsailDistribution AWS API Documentation
|
11024
11055
|
#
|
11025
11056
|
class LightsailDistribution < Struct.new(
|
@@ -11042,7 +11073,8 @@ module Aws::Lightsail
|
|
11042
11073
|
:cache_behaviors,
|
11043
11074
|
:able_to_update_bundle,
|
11044
11075
|
:ip_address_type,
|
11045
|
-
:tags
|
11076
|
+
:tags,
|
11077
|
+
:viewer_minimum_tls_protocol_version)
|
11046
11078
|
SENSITIVE = []
|
11047
11079
|
include Aws::Structure
|
11048
11080
|
end
|
@@ -11970,13 +12002,21 @@ module Aws::Lightsail
|
|
11970
12002
|
# establishing a connection with your origin to pull content.
|
11971
12003
|
# @return [String]
|
11972
12004
|
#
|
12005
|
+
# @!attribute [rw] response_timeout
|
12006
|
+
# The amount of time, in seconds, that the distribution waits for a
|
12007
|
+
# response after forwarding a request to the origin. The minimum
|
12008
|
+
# timeout is 1 second, the maximum is 60 seconds, and the default (if
|
12009
|
+
# you don't specify otherwise) is 30 seconds.
|
12010
|
+
# @return [Integer]
|
12011
|
+
#
|
11973
12012
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Origin AWS API Documentation
|
11974
12013
|
#
|
11975
12014
|
class Origin < Struct.new(
|
11976
12015
|
:name,
|
11977
12016
|
:resource_type,
|
11978
12017
|
:region_name,
|
11979
|
-
:protocol_policy
|
12018
|
+
:protocol_policy,
|
12019
|
+
:response_timeout)
|
11980
12020
|
SENSITIVE = []
|
11981
12021
|
include Aws::Structure
|
11982
12022
|
end
|
@@ -14592,6 +14632,36 @@ module Aws::Lightsail
|
|
14592
14632
|
# Indicates whether to enable the distribution.
|
14593
14633
|
# @return [Boolean]
|
14594
14634
|
#
|
14635
|
+
# @!attribute [rw] viewer_minimum_tls_protocol_version
|
14636
|
+
# Use this parameter to update the minimum TLS protocol version for
|
14637
|
+
# the SSL/TLS certificate that's attached to the distribution.
|
14638
|
+
# @return [String]
|
14639
|
+
#
|
14640
|
+
# @!attribute [rw] certificate_name
|
14641
|
+
# The name of the SSL/TLS certificate that you want to attach to the
|
14642
|
+
# distribution.
|
14643
|
+
#
|
14644
|
+
# Only certificates with a status of `ISSUED` can be attached to a
|
14645
|
+
# distribution.
|
14646
|
+
#
|
14647
|
+
# Use the [GetCertificates][1] action to get a list of certificate
|
14648
|
+
# names that you can specify.
|
14649
|
+
#
|
14650
|
+
#
|
14651
|
+
#
|
14652
|
+
# [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html
|
14653
|
+
# @return [String]
|
14654
|
+
#
|
14655
|
+
# @!attribute [rw] use_default_certificate
|
14656
|
+
# Indicates whether the default SSL/TLS certificate is attached to the
|
14657
|
+
# distribution. The default value is `true`. When `true`, the
|
14658
|
+
# distribution uses the default domain name such as
|
14659
|
+
# `d111111abcdef8.cloudfront.net`.
|
14660
|
+
#
|
14661
|
+
# Set this value to `false` to attach a new certificate to the
|
14662
|
+
# distribution.
|
14663
|
+
# @return [Boolean]
|
14664
|
+
#
|
14595
14665
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/UpdateDistributionRequest AWS API Documentation
|
14596
14666
|
#
|
14597
14667
|
class UpdateDistributionRequest < Struct.new(
|
@@ -14600,7 +14670,10 @@ module Aws::Lightsail
|
|
14600
14670
|
:default_cache_behavior,
|
14601
14671
|
:cache_behavior_settings,
|
14602
14672
|
:cache_behaviors,
|
14603
|
-
:is_enabled
|
14673
|
+
:is_enabled,
|
14674
|
+
:viewer_minimum_tls_protocol_version,
|
14675
|
+
:certificate_name,
|
14676
|
+
:use_default_certificate)
|
14604
14677
|
SENSITIVE = []
|
14605
14678
|
include Aws::Structure
|
14606
14679
|
end
|
data/lib/aws-sdk-lightsail.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -425,7 +425,8 @@ module Aws
|
|
425
425
|
origin: {
|
426
426
|
name: ::String?,
|
427
427
|
region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1")?,
|
428
|
-
protocol_policy: ("http-only" | "https-only")
|
428
|
+
protocol_policy: ("http-only" | "https-only")?,
|
429
|
+
response_timeout: ::Integer?
|
429
430
|
},
|
430
431
|
default_cache_behavior: {
|
431
432
|
behavior: ("dont-cache" | "cache")?
|
@@ -462,7 +463,9 @@ module Aws
|
|
462
463
|
key: ::String?,
|
463
464
|
value: ::String?
|
464
465
|
},
|
465
|
-
]
|
466
|
+
],
|
467
|
+
?certificate_name: ::String,
|
468
|
+
?viewer_minimum_tls_protocol_version: ("TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021")
|
466
469
|
) -> _CreateDistributionResponseSuccess
|
467
470
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDistributionResponseSuccess
|
468
471
|
|
@@ -2174,7 +2177,8 @@ module Aws
|
|
2174
2177
|
?origin: {
|
2175
2178
|
name: ::String?,
|
2176
2179
|
region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1")?,
|
2177
|
-
protocol_policy: ("http-only" | "https-only")
|
2180
|
+
protocol_policy: ("http-only" | "https-only")?,
|
2181
|
+
response_timeout: ::Integer?
|
2178
2182
|
},
|
2179
2183
|
?default_cache_behavior: {
|
2180
2184
|
behavior: ("dont-cache" | "cache")?
|
@@ -2204,7 +2208,10 @@ module Aws
|
|
2204
2208
|
behavior: ("dont-cache" | "cache")?
|
2205
2209
|
},
|
2206
2210
|
],
|
2207
|
-
?is_enabled: bool
|
2211
|
+
?is_enabled: bool,
|
2212
|
+
?viewer_minimum_tls_protocol_version: ("TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021"),
|
2213
|
+
?certificate_name: ::String,
|
2214
|
+
?use_default_certificate: bool
|
2208
2215
|
) -> _UpdateDistributionResponseSuccess
|
2209
2216
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDistributionResponseSuccess
|
2210
2217
|
|
data/sig/types.rbs
CHANGED
@@ -657,6 +657,8 @@ module Aws::Lightsail
|
|
657
657
|
attr_accessor bundle_id: ::String
|
658
658
|
attr_accessor ip_address_type: ("dualstack" | "ipv4")
|
659
659
|
attr_accessor tags: ::Array[Types::Tag]
|
660
|
+
attr_accessor certificate_name: ::String
|
661
|
+
attr_accessor viewer_minimum_tls_protocol_version: ("TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021")
|
660
662
|
SENSITIVE: []
|
661
663
|
end
|
662
664
|
|
@@ -2086,6 +2088,7 @@ module Aws::Lightsail
|
|
2086
2088
|
attr_accessor name: ::String
|
2087
2089
|
attr_accessor region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1")
|
2088
2090
|
attr_accessor protocol_policy: ("http-only" | "https-only")
|
2091
|
+
attr_accessor response_timeout: ::Integer
|
2089
2092
|
SENSITIVE: []
|
2090
2093
|
end
|
2091
2094
|
|
@@ -2275,6 +2278,7 @@ module Aws::Lightsail
|
|
2275
2278
|
attr_accessor able_to_update_bundle: bool
|
2276
2279
|
attr_accessor ip_address_type: ("dualstack" | "ipv4")
|
2277
2280
|
attr_accessor tags: ::Array[Types::Tag]
|
2281
|
+
attr_accessor viewer_minimum_tls_protocol_version: ::String
|
2278
2282
|
SENSITIVE: []
|
2279
2283
|
end
|
2280
2284
|
|
@@ -2456,6 +2460,7 @@ module Aws::Lightsail
|
|
2456
2460
|
attr_accessor resource_type: ("ContainerService" | "Instance" | "StaticIp" | "KeyPair" | "InstanceSnapshot" | "Domain" | "PeeredVpc" | "LoadBalancer" | "LoadBalancerTlsCertificate" | "Disk" | "DiskSnapshot" | "RelationalDatabase" | "RelationalDatabaseSnapshot" | "ExportSnapshotRecord" | "CloudFormationStackRecord" | "Alarm" | "ContactMethod" | "Distribution" | "Certificate" | "Bucket")
|
2457
2461
|
attr_accessor region_name: ("us-east-1" | "us-east-2" | "us-west-1" | "us-west-2" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "eu-central-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "eu-north-1")
|
2458
2462
|
attr_accessor protocol_policy: ("http-only" | "https-only")
|
2463
|
+
attr_accessor response_timeout: ::Integer
|
2459
2464
|
SENSITIVE: []
|
2460
2465
|
end
|
2461
2466
|
|
@@ -3062,6 +3067,9 @@ module Aws::Lightsail
|
|
3062
3067
|
attr_accessor cache_behavior_settings: Types::CacheSettings
|
3063
3068
|
attr_accessor cache_behaviors: ::Array[Types::CacheBehaviorPerPath]
|
3064
3069
|
attr_accessor is_enabled: bool
|
3070
|
+
attr_accessor viewer_minimum_tls_protocol_version: ("TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021")
|
3071
|
+
attr_accessor certificate_name: ::String
|
3072
|
+
attr_accessor use_default_certificate: bool
|
3065
3073
|
SENSITIVE: []
|
3066
3074
|
end
|
3067
3075
|
|
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.90.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: 2024-
|
11
|
+
date: 2024-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.193.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.193.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|