aws-sdk-lightsail 1.128.0 → 1.130.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: 3b541fe8e4f93badc6396d3a34297c94d6f5f68c3ef5bae5459866b1ac930c24
4
- data.tar.gz: 613fdf0d15b695de2d06cfe1497a24db3192105c4a970eef74cfb6cdae0cf331
3
+ metadata.gz: 9d3a623764570416a705ffbf87a6acdeed73d77df7f6bfa1aae113db3190fcfb
4
+ data.tar.gz: 883e36c8893fdc07c85998850956a8642cb14a82b3bf2b4f7a4f084da03e81d9
5
5
  SHA512:
6
- metadata.gz: eab4d556eda2afc7bcbd513ee161d6cc9248f55492140e0e0392c5721d013490a87ec1f6ba6a70bf34b33cce6df27db120367659d1fe5621bf8d9c23bc854678
7
- data.tar.gz: 220126277e2d06342370e11735ad290be84289f177618bf02c88564efa78b36c8998540a37b108ceead8a3e8d7c094e3ba5f4e9d1c7aee1cb5c82632cbafb9a7
6
+ metadata.gz: 1481228e330b89b9608946e0d31202415446855c1606211b9d8b1f33d833ce1e7dac5d9aa6baaeabe9604f057fbafdd3aa8dabf3e1daf3c6d4876adf522e0a4f
7
+ data.tar.gz: 6759eafe471c20d4d4e11d41031d869f559e8045f58840caf9b9d99dbefb743428e90e9cd95c9d47f6bbbfd05102e6cbee5fd0270b49d088ab522a42d05087eb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.130.0 (2026-05-19)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.129.0 (2026-05-13)
10
+ ------------------
11
+
12
+ * Feature - Added OriginIpAddressTypeEnum (ipv4, ipv6, dualstack) and ipAddressType field to Origin and InputOrigin structures for Lightsail CDN distributions. Allows customers to specify how the distribution connects to origins, using IPv4, IPv6, or dualstack networking
13
+
4
14
  1.128.0 (2026-04-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.128.0
1
+ 1.130.0
@@ -2419,6 +2419,7 @@ module Aws::Lightsail
2419
2419
  # 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, eu-north-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, ap-southeast-3, ap-southeast-5
2420
2420
  # protocol_policy: "http-only", # accepts http-only, https-only
2421
2421
  # response_timeout: 1,
2422
+ # ip_address_type: "ipv4", # accepts ipv4, ipv6, dualstack
2422
2423
  # },
2423
2424
  # default_cache_behavior: { # required
2424
2425
  # behavior: "dont-cache", # accepts dont-cache, cache
@@ -2481,6 +2482,7 @@ module Aws::Lightsail
2481
2482
  # 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", "eu-north-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "ap-southeast-3", "ap-southeast-5"
2482
2483
  # resp.distribution.origin.protocol_policy #=> String, one of "http-only", "https-only"
2483
2484
  # resp.distribution.origin.response_timeout #=> Integer
2485
+ # resp.distribution.origin.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
2484
2486
  # resp.distribution.origin_public_dns #=> String
2485
2487
  # resp.distribution.default_cache_behavior.behavior #=> String, one of "dont-cache", "cache"
2486
2488
  # resp.distribution.cache_behavior_settings.default_ttl #=> Integer
@@ -7397,6 +7399,7 @@ module Aws::Lightsail
7397
7399
  # 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", "eu-north-1", "ca-central-1", "ap-south-1", "ap-southeast-1", "ap-southeast-2", "ap-northeast-1", "ap-northeast-2", "ap-southeast-3", "ap-southeast-5"
7398
7400
  # resp.distributions[0].origin.protocol_policy #=> String, one of "http-only", "https-only"
7399
7401
  # resp.distributions[0].origin.response_timeout #=> Integer
7402
+ # resp.distributions[0].origin.ip_address_type #=> String, one of "ipv4", "ipv6", "dualstack"
7400
7403
  # resp.distributions[0].origin_public_dns #=> String
7401
7404
  # resp.distributions[0].default_cache_behavior.behavior #=> String, one of "dont-cache", "cache"
7402
7405
  # resp.distributions[0].cache_behavior_settings.default_ttl #=> Integer
@@ -11968,6 +11971,7 @@ module Aws::Lightsail
11968
11971
  # 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, eu-north-1, ca-central-1, ap-south-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, ap-southeast-3, ap-southeast-5
11969
11972
  # protocol_policy: "http-only", # accepts http-only, https-only
11970
11973
  # response_timeout: 1,
11974
+ # ip_address_type: "ipv4", # accepts ipv4, ipv6, dualstack
11971
11975
  # },
11972
11976
  # default_cache_behavior: {
11973
11977
  # behavior: "dont-cache", # accepts dont-cache, cache
@@ -12600,7 +12604,7 @@ module Aws::Lightsail
12600
12604
  tracer: tracer
12601
12605
  )
12602
12606
  context[:gem_name] = 'aws-sdk-lightsail'
12603
- context[:gem_version] = '1.128.0'
12607
+ context[:gem_version] = '1.130.0'
12604
12608
  Seahorse::Client::Request.new(handlers, context)
12605
12609
  end
12606
12610
 
@@ -528,6 +528,7 @@ module Aws::Lightsail
528
528
  OperationStatus = Shapes::StringShape.new(name: 'OperationStatus')
529
529
  OperationType = Shapes::StringShape.new(name: 'OperationType')
530
530
  Origin = Shapes::StructureShape.new(name: 'Origin')
531
+ OriginIpAddressTypeEnum = Shapes::StringShape.new(name: 'OriginIpAddressTypeEnum')
531
532
  OriginProtocolPolicyEnum = Shapes::StringShape.new(name: 'OriginProtocolPolicyEnum')
532
533
  PartnerIdList = Shapes::ListShape.new(name: 'PartnerIdList')
533
534
  PasswordData = Shapes::StructureShape.new(name: 'PasswordData')
@@ -2281,6 +2282,7 @@ module Aws::Lightsail
2281
2282
  InputOrigin.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "regionName"))
2282
2283
  InputOrigin.add_member(:protocol_policy, Shapes::ShapeRef.new(shape: OriginProtocolPolicyEnum, location_name: "protocolPolicy"))
2283
2284
  InputOrigin.add_member(:response_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "responseTimeout"))
2285
+ InputOrigin.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: OriginIpAddressTypeEnum, location_name: "ipAddressType"))
2284
2286
  InputOrigin.struct_class = Types::InputOrigin
2285
2287
 
2286
2288
  Instance.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "name"))
@@ -2625,6 +2627,7 @@ module Aws::Lightsail
2625
2627
  Origin.add_member(:region_name, Shapes::ShapeRef.new(shape: RegionName, location_name: "regionName"))
2626
2628
  Origin.add_member(:protocol_policy, Shapes::ShapeRef.new(shape: OriginProtocolPolicyEnum, location_name: "protocolPolicy"))
2627
2629
  Origin.add_member(:response_timeout, Shapes::ShapeRef.new(shape: integer, location_name: "responseTimeout"))
2630
+ Origin.add_member(:ip_address_type, Shapes::ShapeRef.new(shape: OriginIpAddressTypeEnum, location_name: "ipAddressType"))
2628
2631
  Origin.struct_class = Types::Origin
2629
2632
 
2630
2633
  PartnerIdList.member = Shapes::ShapeRef.new(shape: NonEmptyString)
@@ -9984,13 +9984,22 @@ module Aws::Lightsail
9984
9984
  # you don't specify otherwise) is 30 seconds.
9985
9985
  # @return [Integer]
9986
9986
  #
9987
+ # @!attribute [rw] ip_address_type
9988
+ # The IP address type that the distribution uses when connecting to
9989
+ # the origin.
9990
+ #
9991
+ # The possible values are `ipv4` for IPv4 only, `ipv6` for IPv6 only,
9992
+ # and `dualstack` for IPv4 and IPv6.
9993
+ # @return [String]
9994
+ #
9987
9995
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InputOrigin AWS API Documentation
9988
9996
  #
9989
9997
  class InputOrigin < Struct.new(
9990
9998
  :name,
9991
9999
  :region_name,
9992
10000
  :protocol_policy,
9993
- :response_timeout)
10001
+ :response_timeout,
10002
+ :ip_address_type)
9994
10003
  SENSITIVE = []
9995
10004
  include Aws::Structure
9996
10005
  end
@@ -12180,6 +12189,14 @@ module Aws::Lightsail
12180
12189
  # you don't specify otherwise) is 30 seconds.
12181
12190
  # @return [Integer]
12182
12191
  #
12192
+ # @!attribute [rw] ip_address_type
12193
+ # The IP address type that the distribution uses when connecting to
12194
+ # the origin.
12195
+ #
12196
+ # The possible values are `ipv4` for IPv4 only, `ipv6` for IPv6 only,
12197
+ # and `dualstack` for IPv4 and IPv6.
12198
+ # @return [String]
12199
+ #
12183
12200
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Origin AWS API Documentation
12184
12201
  #
12185
12202
  class Origin < Struct.new(
@@ -12187,7 +12204,8 @@ module Aws::Lightsail
12187
12204
  :resource_type,
12188
12205
  :region_name,
12189
12206
  :protocol_policy,
12190
- :response_timeout)
12207
+ :response_timeout,
12208
+ :ip_address_type)
12191
12209
  SENSITIVE = []
12192
12210
  include Aws::Structure
12193
12211
  end
@@ -54,7 +54,7 @@ module Aws::Lightsail
54
54
  autoload :EndpointProvider, 'aws-sdk-lightsail/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-lightsail/endpoints'
56
56
 
57
- GEM_VERSION = '1.128.0'
57
+ GEM_VERSION = '1.130.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -152,14 +152,7 @@ module Aws
152
152
  end
153
153
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#close_instance_public_ports-instance_method
154
154
  def close_instance_public_ports: (
155
- port_info: {
156
- from_port: ::Integer?,
157
- to_port: ::Integer?,
158
- protocol: ("tcp" | "all" | "udp" | "icmp" | "icmpv6")?,
159
- cidrs: Array[::String]?,
160
- ipv6_cidrs: Array[::String]?,
161
- cidr_list_aliases: Array[::String]?
162
- },
155
+ port_info: Params::port_info,
163
156
  instance_name: ::String
164
157
  ) -> _CloseInstancePublicPortsResponseSuccess
165
158
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CloseInstancePublicPortsResponseSuccess
@@ -192,7 +185,7 @@ module Aws
192
185
  {
193
186
  key: ::String?,
194
187
  value: ::String?
195
- },
188
+ }
196
189
  ],
197
190
  ?enable_object_versioning: bool
198
191
  ) -> _CreateBucketResponseSuccess
@@ -223,7 +216,7 @@ module Aws
223
216
  {
224
217
  key: ::String?,
225
218
  value: ::String?
226
- },
219
+ }
227
220
  ]
228
221
  ) -> _CreateCertificateResponseSuccess
229
222
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCertificateResponseSuccess
@@ -241,7 +234,7 @@ module Aws
241
234
  port_info_source: ("DEFAULT" | "INSTANCE" | "NONE" | "CLOSED"),
242
235
  user_data: ::String?,
243
236
  availability_zone: ::String
244
- },
237
+ }
245
238
  ]
246
239
  ) -> _CreateCloudFormationStackResponseSuccess
247
240
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCloudFormationStackResponseSuccess
@@ -258,7 +251,7 @@ module Aws
258
251
  {
259
252
  key: ::String?,
260
253
  value: ::String?
261
- },
254
+ }
262
255
  ]
263
256
  ) -> _CreateContactMethodResponseSuccess
264
257
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateContactMethodResponseSuccess
@@ -276,7 +269,7 @@ module Aws
276
269
  {
277
270
  key: ::String?,
278
271
  value: ::String?
279
- },
272
+ }
280
273
  ],
281
274
  ?public_domain_names: Hash[::String, Array[::String]],
282
275
  ?deployment: {
@@ -286,18 +279,7 @@ module Aws
286
279
  environment: Hash[::String, ::String]?,
287
280
  ports: Hash[::String, ("HTTP" | "HTTPS" | "TCP" | "UDP")]?
288
281
  }]?,
289
- public_endpoint: {
290
- container_name: ::String,
291
- container_port: ::Integer,
292
- health_check: {
293
- healthy_threshold: ::Integer?,
294
- unhealthy_threshold: ::Integer?,
295
- timeout_seconds: ::Integer?,
296
- interval_seconds: ::Integer?,
297
- path: ::String?,
298
- success_codes: ::String?
299
- }?
300
- }?
282
+ public_endpoint: Params::endpoint_request?
301
283
  },
302
284
  ?private_registry_access: {
303
285
  ecr_image_puller_role: {
@@ -320,18 +302,7 @@ module Aws
320
302
  environment: Hash[::String, ::String]?,
321
303
  ports: Hash[::String, ("HTTP" | "HTTPS" | "TCP" | "UDP")]?
322
304
  }],
323
- ?public_endpoint: {
324
- container_name: ::String,
325
- container_port: ::Integer,
326
- health_check: {
327
- healthy_threshold: ::Integer?,
328
- unhealthy_threshold: ::Integer?,
329
- timeout_seconds: ::Integer?,
330
- interval_seconds: ::Integer?,
331
- path: ::String?,
332
- success_codes: ::String?
333
- }?
334
- }
305
+ ?public_endpoint: Params::endpoint_request
335
306
  ) -> _CreateContainerServiceDeploymentResponseSuccess
336
307
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateContainerServiceDeploymentResponseSuccess
337
308
 
@@ -357,19 +328,10 @@ module Aws
357
328
  {
358
329
  key: ::String?,
359
330
  value: ::String?
360
- },
331
+ }
361
332
  ],
362
333
  ?add_ons: Array[
363
- {
364
- add_on_type: ("AutoSnapshot" | "StopInstanceOnIdle"),
365
- auto_snapshot_add_on_request: {
366
- snapshot_time_of_day: ::String?
367
- }?,
368
- stop_instance_on_idle_request: {
369
- threshold: ::String?,
370
- duration: ::String?
371
- }?
372
- },
334
+ Params::add_on_request
373
335
  ]
374
336
  ) -> _CreateDiskResponseSuccess
375
337
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDiskResponseSuccess
@@ -388,19 +350,10 @@ module Aws
388
350
  {
389
351
  key: ::String?,
390
352
  value: ::String?
391
- },
353
+ }
392
354
  ],
393
355
  ?add_ons: Array[
394
- {
395
- add_on_type: ("AutoSnapshot" | "StopInstanceOnIdle"),
396
- auto_snapshot_add_on_request: {
397
- snapshot_time_of_day: ::String?
398
- }?,
399
- stop_instance_on_idle_request: {
400
- threshold: ::String?,
401
- duration: ::String?
402
- }?
403
- },
356
+ Params::add_on_request
404
357
  ],
405
358
  ?source_disk_name: ::String,
406
359
  ?restore_date: ::String,
@@ -421,7 +374,7 @@ module Aws
421
374
  {
422
375
  key: ::String?,
423
376
  value: ::String?
424
- },
377
+ }
425
378
  ]
426
379
  ) -> _CreateDiskSnapshotResponseSuccess
427
380
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDiskSnapshotResponseSuccess
@@ -438,35 +391,18 @@ module Aws
438
391
  name: ::String?,
439
392
  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" | "eu-north-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-southeast-3" | "ap-southeast-5")?,
440
393
  protocol_policy: ("http-only" | "https-only")?,
441
- response_timeout: ::Integer?
394
+ response_timeout: ::Integer?,
395
+ ip_address_type: ("ipv4" | "ipv6" | "dualstack")?
442
396
  },
443
397
  default_cache_behavior: {
444
398
  behavior: ("dont-cache" | "cache")?
445
399
  },
446
- ?cache_behavior_settings: {
447
- default_ttl: ::Integer?,
448
- minimum_ttl: ::Integer?,
449
- maximum_ttl: ::Integer?,
450
- allowed_http_methods: ::String?,
451
- cached_http_methods: ::String?,
452
- forwarded_cookies: {
453
- option: ("none" | "allow-list" | "all")?,
454
- cookies_allow_list: Array[::String]?
455
- }?,
456
- forwarded_headers: {
457
- option: ("none" | "allow-list" | "all")?,
458
- headers_allow_list: Array[("Accept" | "Accept-Charset" | "Accept-Datetime" | "Accept-Encoding" | "Accept-Language" | "Authorization" | "CloudFront-Forwarded-Proto" | "CloudFront-Is-Desktop-Viewer" | "CloudFront-Is-Mobile-Viewer" | "CloudFront-Is-SmartTV-Viewer" | "CloudFront-Is-Tablet-Viewer" | "CloudFront-Viewer-Country" | "Host" | "Origin" | "Referer")]?
459
- }?,
460
- forwarded_query_strings: {
461
- option: bool?,
462
- query_strings_allow_list: Array[::String]?
463
- }?
464
- },
400
+ ?cache_behavior_settings: Params::cache_settings,
465
401
  ?cache_behaviors: Array[
466
402
  {
467
403
  path: ::String?,
468
404
  behavior: ("dont-cache" | "cache")?
469
- },
405
+ }
470
406
  ],
471
407
  bundle_id: ::String,
472
408
  ?ip_address_type: ("dualstack" | "ipv4" | "ipv6"),
@@ -474,7 +410,7 @@ module Aws
474
410
  {
475
411
  key: ::String?,
476
412
  value: ::String?
477
- },
413
+ }
478
414
  ],
479
415
  ?certificate_name: ::String,
480
416
  ?viewer_minimum_tls_protocol_version: ("TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021")
@@ -492,7 +428,7 @@ module Aws
492
428
  {
493
429
  key: ::String?,
494
430
  value: ::String?
495
- },
431
+ }
496
432
  ]
497
433
  ) -> _CreateDomainResponseSuccess
498
434
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainResponseSuccess
@@ -504,14 +440,7 @@ module Aws
504
440
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#create_domain_entry-instance_method
505
441
  def create_domain_entry: (
506
442
  domain_name: ::String,
507
- domain_entry: {
508
- id: ::String?,
509
- name: ::String?,
510
- target: ::String?,
511
- is_alias: bool?,
512
- type: ::String?,
513
- options: Hash[::String, ::String]?
514
- }
443
+ domain_entry: Params::domain_entry
515
444
  ) -> _CreateDomainEntryResponseSuccess
516
445
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDomainEntryResponseSuccess
517
446
 
@@ -541,7 +470,7 @@ module Aws
541
470
  {
542
471
  key: ::String?,
543
472
  value: ::String?
544
- },
473
+ }
545
474
  ]
546
475
  ) -> _CreateInstanceSnapshotResponseSuccess
547
476
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInstanceSnapshotResponseSuccess
@@ -563,19 +492,10 @@ module Aws
563
492
  {
564
493
  key: ::String?,
565
494
  value: ::String?
566
- },
495
+ }
567
496
  ],
568
497
  ?add_ons: Array[
569
- {
570
- add_on_type: ("AutoSnapshot" | "StopInstanceOnIdle"),
571
- auto_snapshot_add_on_request: {
572
- snapshot_time_of_day: ::String?
573
- }?,
574
- stop_instance_on_idle_request: {
575
- threshold: ::String?,
576
- duration: ::String?
577
- }?
578
- },
498
+ Params::add_on_request
579
499
  ],
580
500
  ?ip_address_type: ("dualstack" | "ipv4" | "ipv6")
581
501
  ) -> _CreateInstancesResponseSuccess
@@ -592,7 +512,7 @@ module Aws
592
512
  {
593
513
  original_disk_path: ::String?,
594
514
  new_disk_name: ::String?
595
- },
515
+ }
596
516
  ]],
597
517
  availability_zone: ::String,
598
518
  ?instance_snapshot_name: ::String,
@@ -603,19 +523,10 @@ module Aws
603
523
  {
604
524
  key: ::String?,
605
525
  value: ::String?
606
- },
526
+ }
607
527
  ],
608
528
  ?add_ons: Array[
609
- {
610
- add_on_type: ("AutoSnapshot" | "StopInstanceOnIdle"),
611
- auto_snapshot_add_on_request: {
612
- snapshot_time_of_day: ::String?
613
- }?,
614
- stop_instance_on_idle_request: {
615
- threshold: ::String?,
616
- duration: ::String?
617
- }?
618
- },
529
+ Params::add_on_request
619
530
  ],
620
531
  ?ip_address_type: ("dualstack" | "ipv4" | "ipv6"),
621
532
  ?source_instance_name: ::String,
@@ -638,7 +549,7 @@ module Aws
638
549
  {
639
550
  key: ::String?,
640
551
  value: ::String?
641
- },
552
+ }
642
553
  ]
643
554
  ) -> _CreateKeyPairResponseSuccess
644
555
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateKeyPairResponseSuccess
@@ -659,7 +570,7 @@ module Aws
659
570
  {
660
571
  key: ::String?,
661
572
  value: ::String?
662
- },
573
+ }
663
574
  ],
664
575
  ?ip_address_type: ("dualstack" | "ipv4" | "ipv6"),
665
576
  ?tls_policy_name: ::String
@@ -680,7 +591,7 @@ module Aws
680
591
  {
681
592
  key: ::String?,
682
593
  value: ::String?
683
- },
594
+ }
684
595
  ]
685
596
  ) -> _CreateLoadBalancerTlsCertificateResponseSuccess
686
597
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLoadBalancerTlsCertificateResponseSuccess
@@ -705,7 +616,7 @@ module Aws
705
616
  {
706
617
  key: ::String?,
707
618
  value: ::String?
708
- },
619
+ }
709
620
  ]
710
621
  ) -> _CreateRelationalDatabaseResponseSuccess
711
622
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRelationalDatabaseResponseSuccess
@@ -728,7 +639,7 @@ module Aws
728
639
  {
729
640
  key: ::String?,
730
641
  value: ::String?
731
- },
642
+ }
732
643
  ]
733
644
  ) -> _CreateRelationalDatabaseFromSnapshotResponseSuccess
734
645
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRelationalDatabaseFromSnapshotResponseSuccess
@@ -745,7 +656,7 @@ module Aws
745
656
  {
746
657
  key: ::String?,
747
658
  value: ::String?
748
- },
659
+ }
749
660
  ]
750
661
  ) -> _CreateRelationalDatabaseSnapshotResponseSuccess
751
662
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRelationalDatabaseSnapshotResponseSuccess
@@ -880,14 +791,7 @@ module Aws
880
791
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#delete_domain_entry-instance_method
881
792
  def delete_domain_entry: (
882
793
  domain_name: ::String,
883
- domain_entry: {
884
- id: ::String?,
885
- name: ::String?,
886
- target: ::String?,
887
- is_alias: bool?,
888
- type: ::String?,
889
- options: Hash[::String, ::String]?
890
- }
794
+ domain_entry: Params::domain_entry
891
795
  ) -> _DeleteDomainEntryResponseSuccess
892
796
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDomainEntryResponseSuccess
893
797
 
@@ -1047,16 +951,7 @@ module Aws
1047
951
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#enable_add_on-instance_method
1048
952
  def enable_add_on: (
1049
953
  resource_name: ::String,
1050
- add_on_request: {
1051
- add_on_type: ("AutoSnapshot" | "StopInstanceOnIdle"),
1052
- auto_snapshot_add_on_request: {
1053
- snapshot_time_of_day: ::String?
1054
- }?,
1055
- stop_instance_on_idle_request: {
1056
- threshold: ::String?,
1057
- duration: ::String?
1058
- }?
1059
- }
954
+ add_on_request: Params::add_on_request
1060
955
  ) -> _EnableAddOnResponseSuccess
1061
956
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableAddOnResponseSuccess
1062
957
 
@@ -1855,14 +1750,7 @@ module Aws
1855
1750
  end
1856
1751
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#open_instance_public_ports-instance_method
1857
1752
  def open_instance_public_ports: (
1858
- port_info: {
1859
- from_port: ::Integer?,
1860
- to_port: ::Integer?,
1861
- protocol: ("tcp" | "all" | "udp" | "icmp" | "icmpv6")?,
1862
- cidrs: Array[::String]?,
1863
- ipv6_cidrs: Array[::String]?,
1864
- cidr_list_aliases: Array[::String]?
1865
- },
1753
+ port_info: Params::port_info,
1866
1754
  instance_name: ::String
1867
1755
  ) -> _OpenInstancePublicPortsResponseSuccess
1868
1756
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _OpenInstancePublicPortsResponseSuccess
@@ -1897,7 +1785,7 @@ module Aws
1897
1785
  {
1898
1786
  key: ::String?,
1899
1787
  value: ::String?
1900
- },
1788
+ }
1901
1789
  ]
1902
1790
  ) -> _PutAlarmResponseSuccess
1903
1791
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutAlarmResponseSuccess
@@ -1909,14 +1797,7 @@ module Aws
1909
1797
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#put_instance_public_ports-instance_method
1910
1798
  def put_instance_public_ports: (
1911
1799
  port_infos: Array[
1912
- {
1913
- from_port: ::Integer?,
1914
- to_port: ::Integer?,
1915
- protocol: ("tcp" | "all" | "udp" | "icmp" | "icmpv6")?,
1916
- cidrs: Array[::String]?,
1917
- ipv6_cidrs: Array[::String]?,
1918
- cidr_list_aliases: Array[::String]?
1919
- },
1800
+ Params::port_info
1920
1801
  ],
1921
1802
  instance_name: ::String
1922
1803
  ) -> _PutInstancePublicPortsResponseSuccess
@@ -2098,7 +1979,7 @@ module Aws
2098
1979
  {
2099
1980
  key: ::String?,
2100
1981
  value: ::String?
2101
- },
1982
+ }
2102
1983
  ]
2103
1984
  ) -> _TagResourceResponseSuccess
2104
1985
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
@@ -2163,7 +2044,7 @@ module Aws
2163
2044
  allowed_headers: Array[::String]?,
2164
2045
  expose_headers: Array[::String]?,
2165
2046
  max_age_seconds: ::Integer?
2166
- },
2047
+ }
2167
2048
  ]?
2168
2049
  }
2169
2050
  ) -> _UpdateBucketResponseSuccess
@@ -2210,35 +2091,18 @@ module Aws
2210
2091
  name: ::String?,
2211
2092
  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" | "eu-north-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-southeast-3" | "ap-southeast-5")?,
2212
2093
  protocol_policy: ("http-only" | "https-only")?,
2213
- response_timeout: ::Integer?
2094
+ response_timeout: ::Integer?,
2095
+ ip_address_type: ("ipv4" | "ipv6" | "dualstack")?
2214
2096
  },
2215
2097
  ?default_cache_behavior: {
2216
2098
  behavior: ("dont-cache" | "cache")?
2217
2099
  },
2218
- ?cache_behavior_settings: {
2219
- default_ttl: ::Integer?,
2220
- minimum_ttl: ::Integer?,
2221
- maximum_ttl: ::Integer?,
2222
- allowed_http_methods: ::String?,
2223
- cached_http_methods: ::String?,
2224
- forwarded_cookies: {
2225
- option: ("none" | "allow-list" | "all")?,
2226
- cookies_allow_list: Array[::String]?
2227
- }?,
2228
- forwarded_headers: {
2229
- option: ("none" | "allow-list" | "all")?,
2230
- headers_allow_list: Array[("Accept" | "Accept-Charset" | "Accept-Datetime" | "Accept-Encoding" | "Accept-Language" | "Authorization" | "CloudFront-Forwarded-Proto" | "CloudFront-Is-Desktop-Viewer" | "CloudFront-Is-Mobile-Viewer" | "CloudFront-Is-SmartTV-Viewer" | "CloudFront-Is-Tablet-Viewer" | "CloudFront-Viewer-Country" | "Host" | "Origin" | "Referer")]?
2231
- }?,
2232
- forwarded_query_strings: {
2233
- option: bool?,
2234
- query_strings_allow_list: Array[::String]?
2235
- }?
2236
- },
2100
+ ?cache_behavior_settings: Params::cache_settings,
2237
2101
  ?cache_behaviors: Array[
2238
2102
  {
2239
2103
  path: ::String?,
2240
2104
  behavior: ("dont-cache" | "cache")?
2241
- },
2105
+ }
2242
2106
  ],
2243
2107
  ?is_enabled: bool,
2244
2108
  ?viewer_minimum_tls_protocol_version: ("TLSv1.1_2016" | "TLSv1.2_2018" | "TLSv1.2_2019" | "TLSv1.2_2021"),
@@ -2265,14 +2129,7 @@ module Aws
2265
2129
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#update_domain_entry-instance_method
2266
2130
  def update_domain_entry: (
2267
2131
  domain_name: ::String,
2268
- domain_entry: {
2269
- id: ::String?,
2270
- name: ::String?,
2271
- target: ::String?,
2272
- is_alias: bool?,
2273
- type: ::String?,
2274
- options: Hash[::String, ::String]?
2275
- }
2132
+ domain_entry: Params::domain_entry
2276
2133
  ) -> _UpdateDomainEntryResponseSuccess
2277
2134
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainEntryResponseSuccess
2278
2135
 
@@ -2339,7 +2196,7 @@ module Aws
2339
2196
  is_modifiable: bool?,
2340
2197
  parameter_name: ::String?,
2341
2198
  parameter_value: ::String?
2342
- },
2199
+ }
2343
2200
  ]
2344
2201
  ) -> _UpdateRelationalDatabaseParametersResponseSuccess
2345
2202
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRelationalDatabaseParametersResponseSuccess
data/sig/params.rbs ADDED
@@ -0,0 +1,77 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module Lightsail
10
+ module Params
11
+ type port_info = {
12
+ from_port: ::Integer?,
13
+ to_port: ::Integer?,
14
+ protocol: ("tcp" | "all" | "udp" | "icmp" | "icmpv6")?,
15
+ cidrs: Array[::String]?,
16
+ ipv6_cidrs: Array[::String]?,
17
+ cidr_list_aliases: Array[::String]?
18
+ }
19
+
20
+ type container_service_health_check_config = {
21
+ healthy_threshold: ::Integer?,
22
+ unhealthy_threshold: ::Integer?,
23
+ timeout_seconds: ::Integer?,
24
+ interval_seconds: ::Integer?,
25
+ path: ::String?,
26
+ success_codes: ::String?
27
+ }
28
+
29
+ type endpoint_request = {
30
+ container_name: ::String,
31
+ container_port: ::Integer,
32
+ health_check: Params::container_service_health_check_config?
33
+ }
34
+
35
+ type add_on_request = {
36
+ add_on_type: ("AutoSnapshot" | "StopInstanceOnIdle"),
37
+ auto_snapshot_add_on_request: {
38
+ snapshot_time_of_day: ::String?
39
+ }?,
40
+ stop_instance_on_idle_request: {
41
+ threshold: ::String?,
42
+ duration: ::String?
43
+ }?
44
+ }
45
+
46
+ type cache_settings = {
47
+ default_ttl: ::Integer?,
48
+ minimum_ttl: ::Integer?,
49
+ maximum_ttl: ::Integer?,
50
+ allowed_http_methods: ::String?,
51
+ cached_http_methods: ::String?,
52
+ forwarded_cookies: {
53
+ option: ("none" | "allow-list" | "all")?,
54
+ cookies_allow_list: Array[::String]?
55
+ }?,
56
+ forwarded_headers: {
57
+ option: ("none" | "allow-list" | "all")?,
58
+ headers_allow_list: Array[("Accept" | "Accept-Charset" | "Accept-Datetime" | "Accept-Encoding" | "Accept-Language" | "Authorization" | "CloudFront-Forwarded-Proto" | "CloudFront-Is-Desktop-Viewer" | "CloudFront-Is-Mobile-Viewer" | "CloudFront-Is-SmartTV-Viewer" | "CloudFront-Is-Tablet-Viewer" | "CloudFront-Viewer-Country" | "Host" | "Origin" | "Referer")]?
59
+ }?,
60
+ forwarded_query_strings: {
61
+ option: bool?,
62
+ query_strings_allow_list: Array[::String]?
63
+ }?
64
+ }
65
+
66
+ type domain_entry = {
67
+ id: ::String?,
68
+ name: ::String?,
69
+ target: ::String?,
70
+ is_alias: bool?,
71
+ type: ::String?,
72
+ options: Hash[::String, ::String]?
73
+ }
74
+
75
+ end
76
+ end
77
+ end
data/sig/types.rbs CHANGED
@@ -2109,6 +2109,7 @@ module Aws::Lightsail
2109
2109
  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" | "eu-north-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-southeast-3" | "ap-southeast-5")
2110
2110
  attr_accessor protocol_policy: ("http-only" | "https-only")
2111
2111
  attr_accessor response_timeout: ::Integer
2112
+ attr_accessor ip_address_type: ("ipv4" | "ipv6" | "dualstack")
2112
2113
  SENSITIVE: []
2113
2114
  end
2114
2115
 
@@ -2481,6 +2482,7 @@ module Aws::Lightsail
2481
2482
  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" | "eu-north-1" | "ca-central-1" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ap-northeast-1" | "ap-northeast-2" | "ap-southeast-3" | "ap-southeast-5")
2482
2483
  attr_accessor protocol_policy: ("http-only" | "https-only")
2483
2484
  attr_accessor response_timeout: ::Integer
2485
+ attr_accessor ip_address_type: ("ipv4" | "ipv6" | "dualstack")
2484
2486
  SENSITIVE: []
2485
2487
  end
2486
2488
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lightsail
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.128.0
4
+ version: 1.130.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.244.0
21
+ version: 3.247.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.244.0
31
+ version: 3.247.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -67,6 +67,7 @@ files:
67
67
  - lib/aws-sdk-lightsail/types.rb
68
68
  - sig/client.rbs
69
69
  - sig/errors.rbs
70
+ - sig/params.rbs
70
71
  - sig/resource.rbs
71
72
  - sig/types.rbs
72
73
  - sig/waiters.rbs