aws-sdk-lightsail 1.88.0 → 1.89.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5cd0efda301d1dead161c7c291a70897bb7a169800c36505c58199a538f3bc7
4
- data.tar.gz: 531d97e731e00917d33e4fe1714d9aaeb25f9d188a2b995221e7707e8f1015c8
3
+ metadata.gz: c8dd56a47f169533e1ded7cfa3ead092655187a028b7589cfac7a077b6218a52
4
+ data.tar.gz: 0d0bf0e4de1e8509dd875e3ecb3cef2e66e4719d68e29f4840dbd764e3f9eb4c
5
5
  SHA512:
6
- metadata.gz: e2252aae7331a1ad3074f1397608d700f1a0eab7d8b49650c6fd597ed81f76e0c27ad33794d89821d8a44537d39392313ba933c2a24cc080dca2f5215d3e9bc5
7
- data.tar.gz: f6cafea8ed724c892fb973cfc3141560be67ad27f255d44cbb02739d496c7821b0bd48a8923a69730477e23b056c0fb1326ad2ac987e3c0f05b7ca23a99a48ac
6
+ metadata.gz: e08d9cecebdf8d176005e0257ef7720890505e61fc6129bb569c489b93fdedb037a407913809b386f1c0006ca7157a60d49891958cd1e0a4b6d8ebcd889feb72
7
+ data.tar.gz: b9d197cca57a314576ade60b1c090b98056500983124e71f69b5effae94a046a1a4b6716db335f7babd3bfea1abdf2aa95cb3228547a5cb505b83215862cb675
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.89.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.88.0 (2024-02-13)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.88.0
1
+ 1.89.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
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
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
@@ -347,50 +356,65 @@ module Aws::Lightsail
347
356
  # @option options [Aws::Lightsail::EndpointProvider] :endpoint_provider
348
357
  # 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
358
  #
350
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
351
- # requests through. Formatted like 'http://proxy.com:123'.
352
- #
353
- # @option options [Float] :http_open_timeout (15) The number of
354
- # seconds to wait when opening a HTTP session before raising a
355
- # `Timeout::Error`.
356
- #
357
- # @option options [Float] :http_read_timeout (60) The default
358
- # number of seconds to wait for response data. This value can
359
- # safely be set per-request on the session.
360
- #
361
- # @option options [Float] :http_idle_timeout (5) The number of
362
- # seconds a connection is allowed to sit idle before it is
363
- # considered stale. Stale connections are closed and removed
364
- # from the pool before making a request.
365
- #
366
- # @option options [Float] :http_continue_timeout (1) The number of
367
- # seconds to wait for a 100-continue response before sending the
368
- # request body. This option has no effect unless the request has
369
- # "Expect" header set to "100-continue". Defaults to `nil` which
370
- # disables this behaviour. This value can safely be set per
371
- # request on the session.
359
+ # @option options [Float] :http_continue_timeout (1)
360
+ # The number of seconds to wait for a 100-continue response before sending the
361
+ # request body. This option has no effect unless the request has "Expect"
362
+ # header set to "100-continue". Defaults to `nil` which disables this
363
+ # behaviour. This value can safely be set per request on the session.
364
+ #
365
+ # @option options [Float] :http_idle_timeout (5)
366
+ # The number of seconds a connection is allowed to sit idle before it
367
+ # is considered stale. Stale connections are closed and removed from the
368
+ # pool before making a request.
369
+ #
370
+ # @option options [Float] :http_open_timeout (15)
371
+ # The default number of seconds to wait for response data.
372
+ # This value can safely be set per-request on the session.
373
+ #
374
+ # @option options [URI::HTTP,String] :http_proxy
375
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
376
+ #
377
+ # @option options [Float] :http_read_timeout (60)
378
+ # The default number of seconds to wait for response data.
379
+ # This value can safely be set per-request on the session.
380
+ #
381
+ # @option options [Boolean] :http_wire_trace (false)
382
+ # When `true`, HTTP debug output will be sent to the `:logger`.
383
+ #
384
+ # @option options [Proc] :on_chunk_received
385
+ # When a Proc object is provided, it will be used as callback when each chunk
386
+ # of the response body is received. It provides three arguments: the chunk,
387
+ # the number of bytes received, and the total number of
388
+ # bytes in the response (or nil if the server did not send a `content-length`).
389
+ #
390
+ # @option options [Proc] :on_chunk_sent
391
+ # When a Proc object is provided, it will be used as callback when each chunk
392
+ # of the request body is sent. It provides three arguments: the chunk,
393
+ # the number of bytes read from the body, and the total number of
394
+ # bytes in the body.
395
+ #
396
+ # @option options [Boolean] :raise_response_errors (true)
397
+ # When `true`, response errors are raised.
398
+ #
399
+ # @option options [String] :ssl_ca_bundle
400
+ # Full path to the SSL certificate authority bundle file that should be used when
401
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
402
+ # `:ssl_ca_directory` the the system default will be used if available.
403
+ #
404
+ # @option options [String] :ssl_ca_directory
405
+ # Full path of the directory that contains the unbundled SSL certificate
406
+ # authority files for verifying peer certificates. If you do
407
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
408
+ # default will be used if available.
372
409
  #
373
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
- # in seconds.
410
+ # @option options [String] :ssl_ca_store
411
+ # Sets the X509::Store to verify peer certificate.
375
412
  #
376
- # @option options [Boolean] :http_wire_trace (false) When `true`,
377
- # HTTP debug output will be sent to the `:logger`.
413
+ # @option options [Float] :ssl_timeout
414
+ # Sets the SSL timeout in seconds
378
415
  #
379
- # @option options [Boolean] :ssl_verify_peer (true) When `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.
416
+ # @option options [Boolean] :ssl_verify_peer (true)
417
+ # When `true`, SSL peer certificates are verified when establishing a connection.
394
418
  #
395
419
  def initialize(*args)
396
420
  super
@@ -2278,6 +2302,20 @@ module Aws::Lightsail
2278
2302
  #
2279
2303
  # Use the `TagResource` action to tag a resource after it's created.
2280
2304
  #
2305
+ # @option params [String] :certificate_name
2306
+ # The name of the SSL/TLS certificate that you want to attach to the
2307
+ # distribution.
2308
+ #
2309
+ # Use the [GetCertificates][1] action to get a list of certificate names
2310
+ # that you can specify.
2311
+ #
2312
+ #
2313
+ #
2314
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html
2315
+ #
2316
+ # @option params [String] :viewer_minimum_tls_protocol_version
2317
+ # The minimum TLS protocol version for the SSL/TLS certificate.
2318
+ #
2281
2319
  # @return [Types::CreateDistributionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2282
2320
  #
2283
2321
  # * {Types::CreateDistributionResult#distribution #distribution} => Types::LightsailDistribution
@@ -2291,6 +2329,7 @@ module Aws::Lightsail
2291
2329
  # name: "ResourceName",
2292
2330
  # 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
2331
  # protocol_policy: "http-only", # accepts http-only, https-only
2332
+ # response_timeout: 1,
2294
2333
  # },
2295
2334
  # default_cache_behavior: { # required
2296
2335
  # behavior: "dont-cache", # accepts dont-cache, cache
@@ -2328,6 +2367,8 @@ module Aws::Lightsail
2328
2367
  # value: "TagValue",
2329
2368
  # },
2330
2369
  # ],
2370
+ # certificate_name: "ResourceName",
2371
+ # viewer_minimum_tls_protocol_version: "TLSv1.1_2016", # accepts TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
2331
2372
  # })
2332
2373
  #
2333
2374
  # @example Response structure
@@ -2350,6 +2391,7 @@ module Aws::Lightsail
2350
2391
  # 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
2392
  # 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
2393
  # resp.distribution.origin.protocol_policy #=> String, one of "http-only", "https-only"
2394
+ # resp.distribution.origin.response_timeout #=> Integer
2353
2395
  # resp.distribution.origin_public_dns #=> String
2354
2396
  # resp.distribution.default_cache_behavior.behavior #=> String, one of "dont-cache", "cache"
2355
2397
  # resp.distribution.cache_behavior_settings.default_ttl #=> Integer
@@ -2374,6 +2416,7 @@ module Aws::Lightsail
2374
2416
  # resp.distribution.tags #=> Array
2375
2417
  # resp.distribution.tags[0].key #=> String
2376
2418
  # resp.distribution.tags[0].value #=> String
2419
+ # resp.distribution.viewer_minimum_tls_protocol_version #=> String
2377
2420
  # resp.operation.id #=> String
2378
2421
  # resp.operation.resource_name #=> String
2379
2422
  # 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 +7274,7 @@ module Aws::Lightsail
7231
7274
  # 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
7275
  # 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
7276
  # resp.distributions[0].origin.protocol_policy #=> String, one of "http-only", "https-only"
7277
+ # resp.distributions[0].origin.response_timeout #=> Integer
7234
7278
  # resp.distributions[0].origin_public_dns #=> String
7235
7279
  # resp.distributions[0].default_cache_behavior.behavior #=> String, one of "dont-cache", "cache"
7236
7280
  # resp.distributions[0].cache_behavior_settings.default_ttl #=> Integer
@@ -7255,6 +7299,7 @@ module Aws::Lightsail
7255
7299
  # resp.distributions[0].tags #=> Array
7256
7300
  # resp.distributions[0].tags[0].key #=> String
7257
7301
  # resp.distributions[0].tags[0].value #=> String
7302
+ # resp.distributions[0].viewer_minimum_tls_protocol_version #=> String
7258
7303
  # resp.next_page_token #=> String
7259
7304
  #
7260
7305
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetDistributions AWS API Documentation
@@ -11683,6 +11728,33 @@ module Aws::Lightsail
11683
11728
  # @option params [Boolean] :is_enabled
11684
11729
  # Indicates whether to enable the distribution.
11685
11730
  #
11731
+ # @option params [String] :viewer_minimum_tls_protocol_version
11732
+ # Use this parameter to update the minimum TLS protocol version for the
11733
+ # SSL/TLS certificate that's attached to the distribution.
11734
+ #
11735
+ # @option params [String] :certificate_name
11736
+ # The name of the SSL/TLS certificate that you want to attach to the
11737
+ # distribution.
11738
+ #
11739
+ # Only certificates with a status of `ISSUED` can be attached to a
11740
+ # distribution.
11741
+ #
11742
+ # Use the [GetCertificates][1] action to get a list of certificate names
11743
+ # that you can specify.
11744
+ #
11745
+ #
11746
+ #
11747
+ # [1]: https://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_GetCertificates.html
11748
+ #
11749
+ # @option params [Boolean] :use_default_certificate
11750
+ # Indicates whether the default SSL/TLS certificate is attached to the
11751
+ # distribution. The default value is `true`. When `true`, the
11752
+ # distribution uses the default domain name such as
11753
+ # `d111111abcdef8.cloudfront.net`.
11754
+ #
11755
+ # Set this value to `false` to attach a new certificate to the
11756
+ # distribution.
11757
+ #
11686
11758
  # @return [Types::UpdateDistributionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11687
11759
  #
11688
11760
  # * {Types::UpdateDistributionResult#operation #operation} => Types::Operation
@@ -11695,6 +11767,7 @@ module Aws::Lightsail
11695
11767
  # name: "ResourceName",
11696
11768
  # 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
11769
  # protocol_policy: "http-only", # accepts http-only, https-only
11770
+ # response_timeout: 1,
11698
11771
  # },
11699
11772
  # default_cache_behavior: {
11700
11773
  # behavior: "dont-cache", # accepts dont-cache, cache
@@ -11725,6 +11798,9 @@ module Aws::Lightsail
11725
11798
  # },
11726
11799
  # ],
11727
11800
  # is_enabled: false,
11801
+ # viewer_minimum_tls_protocol_version: "TLSv1.1_2016", # accepts TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
11802
+ # certificate_name: "ResourceName",
11803
+ # use_default_certificate: false,
11728
11804
  # })
11729
11805
  #
11730
11806
  # @example Response structure
@@ -12319,7 +12395,7 @@ module Aws::Lightsail
12319
12395
  params: params,
12320
12396
  config: config)
12321
12397
  context[:gem_name] = 'aws-sdk-lightsail'
12322
- context[:gem_version] = '1.88.0'
12398
+ context[:gem_version] = '1.89.0'
12323
12399
  Seahorse::Client::Request.new(handlers, context)
12324
12400
  end
12325
12401
 
@@ -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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-lightsail/customizations'
52
52
  # @!group service
53
53
  module Aws::Lightsail
54
54
 
55
- GEM_VERSION = '1.88.0'
55
+ GEM_VERSION = '1.89.0'
56
56
 
57
57
  end
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.88.0
4
+ version: 1.89.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-02-13 00:00:00.000000000 Z
11
+ date: 2024-04-25 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.191.0
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.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement