aws-sdk-lightsail 1.141.0 → 1.142.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: 728402fc8f95b0e4281a78bd5d3529c9208f0673de999a0a96621af74b845c7d
4
- data.tar.gz: a980ddbd0d4f054432ccc151e787632e941071196880823fc2a692543ff3aff4
3
+ metadata.gz: 3f818dad8b10e8b931c3dd8710354bc41fca15d4ec7392bac1d06edbc01b0ade
4
+ data.tar.gz: 4aca56e28cf4e7d5facd63357c7cc8c6d4ef0582f5dff89bc3aa3274c1202d78
5
5
  SHA512:
6
- metadata.gz: aed43f840cfec37cfe1bedfcf80658ce1a722cbbf1e239a8b56d854e326e5ac702fbe2316696d13b186282fde61ee9ee6763273ba604ab9cceb52fd4f901432c
7
- data.tar.gz: 35c4b9a84e0f21918a4f10b0e56657ff83a4e1807027a96e60a5c7ac8c56416811303cb49aba2665f280ab1492838132b641ba4c2d55867909fc2f5e0f983203
6
+ metadata.gz: 0f9fafbc758c47af5dd6cf1797262acfc0bb9a72503e73c929cd0e2efb803d979bda648a11c2194ba234d7fb1895956e4635f5ed453085044d7d53ba39b91337
7
+ data.tar.gz: 8427615b412f471f759dee29f9dea6164fe72ee625ff19b54bd41db31208d3faa9c8a9ef474f023e2c71cd63aa4ee3464314b52dab3d1bfab9aba6aee4f32556
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.142.0 (2026-10-27)
5
+ ------------------
6
+
7
+ * Feature - Added the attributeUpdates parameter to the Lightsail StartInstance API, which allows customers to update the attributes of a stopped instance when starting it.
8
+
4
9
  1.141.0 (2026-10-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.141.0
1
+ 1.142.0
@@ -11295,6 +11295,10 @@ module Aws::Lightsail
11295
11295
  # @option params [required, String] :instance_name
11296
11296
  # The name of the instance (a virtual private server) to start.
11297
11297
  #
11298
+ # @option params [Types::InstanceAttributeUpdates] :attribute_updates
11299
+ # An object that describes the attributes to update on the instance
11300
+ # before it starts.
11301
+ #
11298
11302
  # @return [Types::StartInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
11299
11303
  #
11300
11304
  # * {Types::StartInstanceResult#operations #operations} => Array<Types::Operation>
@@ -11303,6 +11307,9 @@ module Aws::Lightsail
11303
11307
  #
11304
11308
  # resp = client.start_instance({
11305
11309
  # instance_name: "ResourceName", # required
11310
+ # attribute_updates: {
11311
+ # bundle_id: "NonEmptyString",
11312
+ # },
11306
11313
  # })
11307
11314
  #
11308
11315
  # @example Response structure
@@ -12986,7 +12993,7 @@ module Aws::Lightsail
12986
12993
  tracer: tracer
12987
12994
  )
12988
12995
  context[:gem_name] = 'aws-sdk-lightsail'
12989
- context[:gem_version] = '1.141.0'
12996
+ context[:gem_version] = '1.142.0'
12990
12997
  Seahorse::Client::Request.new(handlers, context)
12991
12998
  end
12992
12999
 
@@ -446,6 +446,7 @@ module Aws::Lightsail
446
446
  Instance = Shapes::StructureShape.new(name: 'Instance')
447
447
  InstanceAccessDetails = Shapes::StructureShape.new(name: 'InstanceAccessDetails')
448
448
  InstanceAccessProtocol = Shapes::StringShape.new(name: 'InstanceAccessProtocol')
449
+ InstanceAttributeUpdates = Shapes::StructureShape.new(name: 'InstanceAttributeUpdates')
449
450
  InstanceEntry = Shapes::StructureShape.new(name: 'InstanceEntry')
450
451
  InstanceEntryList = Shapes::ListShape.new(name: 'InstanceEntryList')
451
452
  InstanceHardware = Shapes::StructureShape.new(name: 'InstanceHardware')
@@ -2359,6 +2360,9 @@ module Aws::Lightsail
2359
2360
  InstanceAccessDetails.add_member(:host_keys, Shapes::ShapeRef.new(shape: HostKeysList, location_name: "hostKeys"))
2360
2361
  InstanceAccessDetails.struct_class = Types::InstanceAccessDetails
2361
2362
 
2363
+ InstanceAttributeUpdates.add_member(:bundle_id, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "bundleId"))
2364
+ InstanceAttributeUpdates.struct_class = Types::InstanceAttributeUpdates
2365
+
2362
2366
  InstanceEntry.add_member(:source_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "sourceName"))
2363
2367
  InstanceEntry.add_member(:instance_type, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "instanceType"))
2364
2368
  InstanceEntry.add_member(:port_info_source, Shapes::ShapeRef.new(shape: PortInfoSourceType, required: true, location_name: "portInfoSource"))
@@ -3021,6 +3025,7 @@ module Aws::Lightsail
3021
3025
  StartGUISessionResult.struct_class = Types::StartGUISessionResult
3022
3026
 
3023
3027
  StartInstanceRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
3028
+ StartInstanceRequest.add_member(:attribute_updates, Shapes::ShapeRef.new(shape: InstanceAttributeUpdates, location_name: "attributeUpdates"))
3024
3029
  StartInstanceRequest.struct_class = Types::StartInstanceRequest
3025
3030
 
3026
3031
  StartInstanceResult.add_member(:operations, Shapes::ShapeRef.new(shape: OperationList, location_name: "operations"))
@@ -10462,6 +10462,45 @@ module Aws::Lightsail
10462
10462
  include Aws::Structure
10463
10463
  end
10464
10464
 
10465
+ # Describes the attributes to update on a Lightsail instance when it
10466
+ # starts.
10467
+ #
10468
+ # @!attribute [rw] bundle_id
10469
+ # The ID of the bundle to update the instance to.
10470
+ #
10471
+ # Specify one of the following values for the bundle ID:
10472
+ #
10473
+ # * <b> <code>auto</code> </b> – Updates an instance that runs on a
10474
+ # previous-generation bundle to the newer-generation equivalent of
10475
+ # that bundle. For example, specify `auto` to update an instance
10476
+ # that runs on `small_2_0` to `small_3_0`.
10477
+ #
10478
+ # * **Newer-generation bundle ID** – Updates an instance that runs on
10479
+ # a previous-generation bundle to the specified bundle. For example,
10480
+ # specify `small_3_0` to update an instance that runs on `small_2_0`
10481
+ # to `small_3_0`.
10482
+ #
10483
+ # * **Original bundle ID** – Updates an instance to the
10484
+ # previous-generation bundle that it ran on before an earlier
10485
+ # update. For example, specify `small_2_0` to return an instance
10486
+ # that runs on `small_3_0` to `small_2_0`.
10487
+ #
10488
+ # <note markdown="1"> The instance must be in the `stopped` state to update its bundle.
10489
+ #
10490
+ # There is no additional cost to update an instance to a
10491
+ # newer-generation bundle.
10492
+ #
10493
+ # </note>
10494
+ # @return [String]
10495
+ #
10496
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceAttributeUpdates AWS API Documentation
10497
+ #
10498
+ class InstanceAttributeUpdates < Struct.new(
10499
+ :bundle_id)
10500
+ SENSITIVE = []
10501
+ include Aws::Structure
10502
+ end
10503
+
10465
10504
  # Describes the Amazon Elastic Compute Cloud instance and related
10466
10505
  # resources to be created using the `create cloud formation stack`
10467
10506
  # operation.
@@ -14467,10 +14506,16 @@ module Aws::Lightsail
14467
14506
  # The name of the instance (a virtual private server) to start.
14468
14507
  # @return [String]
14469
14508
  #
14509
+ # @!attribute [rw] attribute_updates
14510
+ # An object that describes the attributes to update on the instance
14511
+ # before it starts.
14512
+ # @return [Types::InstanceAttributeUpdates]
14513
+ #
14470
14514
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/StartInstanceRequest AWS API Documentation
14471
14515
  #
14472
14516
  class StartInstanceRequest < Struct.new(
14473
- :instance_name)
14517
+ :instance_name,
14518
+ :attribute_updates)
14474
14519
  SENSITIVE = []
14475
14520
  include Aws::Structure
14476
14521
  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.141.0'
57
+ GEM_VERSION = '1.142.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -1946,7 +1946,10 @@ module Aws
1946
1946
  end
1947
1947
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#start_instance-instance_method
1948
1948
  def start_instance: (
1949
- instance_name: ::String
1949
+ instance_name: ::String,
1950
+ ?attribute_updates: {
1951
+ bundle_id: ::String?
1952
+ }
1950
1953
  ) -> _StartInstanceResponseSuccess
1951
1954
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartInstanceResponseSuccess
1952
1955
 
data/sig/types.rbs CHANGED
@@ -2176,6 +2176,11 @@ module Aws::Lightsail
2176
2176
  SENSITIVE: []
2177
2177
  end
2178
2178
 
2179
+ class InstanceAttributeUpdates
2180
+ attr_accessor bundle_id: ::String
2181
+ SENSITIVE: []
2182
+ end
2183
+
2179
2184
  class InstanceEntry
2180
2185
  attr_accessor source_name: ::String
2181
2186
  attr_accessor instance_type: ::String
@@ -2941,6 +2946,7 @@ module Aws::Lightsail
2941
2946
 
2942
2947
  class StartInstanceRequest
2943
2948
  attr_accessor instance_name: ::String
2949
+ attr_accessor attribute_updates: Types::InstanceAttributeUpdates
2944
2950
  SENSITIVE: []
2945
2951
  end
2946
2952
 
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.141.0
4
+ version: 1.142.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services