aws-sdk-lightsail 1.143.0 → 1.145.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail/client.rb +39 -1
- data/lib/aws-sdk-lightsail/client_api.rb +21 -0
- data/lib/aws-sdk-lightsail/types.rb +114 -3
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +17 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 890ad28fb4a376db18732cb0ed39c36e79240fe9d8b96b259cebb7f1ee6e8f24
|
|
4
|
+
data.tar.gz: 6c960cd7d44d7818556cd743d0bc37321a6f0f5288693871d9bcfb7bdd8fba56
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3f94918357a5272e620107b1b6c69a682d247071c518051d5695c906fea8def6e49b2180343f2f30c32a57fe4f9321d70c97d3bf07ddaf56e1fc6c5da7830e2
|
|
7
|
+
data.tar.gz: 91259591f17cfcc14f93f948b383567f6d04ddf34ae49b84d0e6e4a076707ea7494639696e66729b1f4de0ef9f228874fd4f4865b81835e4ba067a7caee32cb0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.145.0 (2026-11-04)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
8
|
+
|
|
9
|
+
1.144.0 (2026-10-29)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - This release adds support for instance health status checks and system status checks.
|
|
13
|
+
|
|
4
14
|
1.143.0 (2026-10-28)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.145.0
|
|
@@ -7787,6 +7787,14 @@ module Aws::Lightsail
|
|
|
7787
7787
|
# @option params [required, String] :instance_name
|
|
7788
7788
|
# The name of the instance.
|
|
7789
7789
|
#
|
|
7790
|
+
# @option params [Boolean] :include_health_status
|
|
7791
|
+
# Specifies whether to include the instance health status checks in the
|
|
7792
|
+
# response of your request.
|
|
7793
|
+
#
|
|
7794
|
+
# When set to `true`, the response includes the `instanceStatus` and
|
|
7795
|
+
# `systemStatus` of the instance. When omitted or set to `false`, the
|
|
7796
|
+
# response doesn't include them.
|
|
7797
|
+
#
|
|
7790
7798
|
# @return [Types::GetInstanceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7791
7799
|
#
|
|
7792
7800
|
# * {Types::GetInstanceResult#instance #instance} => Types::Instance
|
|
@@ -7795,6 +7803,7 @@ module Aws::Lightsail
|
|
|
7795
7803
|
#
|
|
7796
7804
|
# resp = client.get_instance({
|
|
7797
7805
|
# instance_name: "ResourceName", # required
|
|
7806
|
+
# include_health_status: false,
|
|
7798
7807
|
# })
|
|
7799
7808
|
#
|
|
7800
7809
|
# @example Response structure
|
|
@@ -7879,6 +7888,16 @@ module Aws::Lightsail
|
|
|
7879
7888
|
# resp.instance.metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
|
7880
7889
|
# resp.instance.metadata_options.http_put_response_hop_limit #=> Integer
|
|
7881
7890
|
# resp.instance.metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
|
|
7891
|
+
# resp.instance.instance_status.status #=> String, one of "ok", "impaired", "initializing", "insufficient-data", "not-applicable"
|
|
7892
|
+
# resp.instance.instance_status.details #=> Array
|
|
7893
|
+
# resp.instance.instance_status.details[0].name #=> String, one of "reachability"
|
|
7894
|
+
# resp.instance.instance_status.details[0].status #=> String, one of "passed", "failed", "insufficient-data", "initializing"
|
|
7895
|
+
# resp.instance.instance_status.details[0].impaired_since #=> Time
|
|
7896
|
+
# resp.instance.system_status.status #=> String, one of "ok", "impaired", "initializing", "insufficient-data", "not-applicable"
|
|
7897
|
+
# resp.instance.system_status.details #=> Array
|
|
7898
|
+
# resp.instance.system_status.details[0].name #=> String, one of "reachability"
|
|
7899
|
+
# resp.instance.system_status.details[0].status #=> String, one of "passed", "failed", "insufficient-data", "initializing"
|
|
7900
|
+
# resp.instance.system_status.details[0].impaired_since #=> Time
|
|
7882
7901
|
#
|
|
7883
7902
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstance AWS API Documentation
|
|
7884
7903
|
#
|
|
@@ -8463,6 +8482,14 @@ module Aws::Lightsail
|
|
|
8463
8482
|
# your results are paginated, the response will return a next page token
|
|
8464
8483
|
# that you can specify as the page token in a subsequent request.
|
|
8465
8484
|
#
|
|
8485
|
+
# @option params [Boolean] :include_health_status
|
|
8486
|
+
# Specifies whether to include the instance health status checks of each
|
|
8487
|
+
# instance in the response of your request.
|
|
8488
|
+
#
|
|
8489
|
+
# When set to `true`, the response includes the `instanceStatus` and
|
|
8490
|
+
# `systemStatus` of each instance. When omitted or set to `false`, the
|
|
8491
|
+
# response doesn't include them.
|
|
8492
|
+
#
|
|
8466
8493
|
# @return [Types::GetInstancesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
8467
8494
|
#
|
|
8468
8495
|
# * {Types::GetInstancesResult#instances #instances} => Array<Types::Instance>
|
|
@@ -8472,6 +8499,7 @@ module Aws::Lightsail
|
|
|
8472
8499
|
#
|
|
8473
8500
|
# resp = client.get_instances({
|
|
8474
8501
|
# page_token: "string",
|
|
8502
|
+
# include_health_status: false,
|
|
8475
8503
|
# })
|
|
8476
8504
|
#
|
|
8477
8505
|
# @example Response structure
|
|
@@ -8557,6 +8585,16 @@ module Aws::Lightsail
|
|
|
8557
8585
|
# resp.instances[0].metadata_options.http_endpoint #=> String, one of "disabled", "enabled"
|
|
8558
8586
|
# resp.instances[0].metadata_options.http_put_response_hop_limit #=> Integer
|
|
8559
8587
|
# resp.instances[0].metadata_options.http_protocol_ipv_6 #=> String, one of "disabled", "enabled"
|
|
8588
|
+
# resp.instances[0].instance_status.status #=> String, one of "ok", "impaired", "initializing", "insufficient-data", "not-applicable"
|
|
8589
|
+
# resp.instances[0].instance_status.details #=> Array
|
|
8590
|
+
# resp.instances[0].instance_status.details[0].name #=> String, one of "reachability"
|
|
8591
|
+
# resp.instances[0].instance_status.details[0].status #=> String, one of "passed", "failed", "insufficient-data", "initializing"
|
|
8592
|
+
# resp.instances[0].instance_status.details[0].impaired_since #=> Time
|
|
8593
|
+
# resp.instances[0].system_status.status #=> String, one of "ok", "impaired", "initializing", "insufficient-data", "not-applicable"
|
|
8594
|
+
# resp.instances[0].system_status.details #=> Array
|
|
8595
|
+
# resp.instances[0].system_status.details[0].name #=> String, one of "reachability"
|
|
8596
|
+
# resp.instances[0].system_status.details[0].status #=> String, one of "passed", "failed", "insufficient-data", "initializing"
|
|
8597
|
+
# resp.instances[0].system_status.details[0].impaired_since #=> Time
|
|
8560
8598
|
# resp.next_page_token #=> String
|
|
8561
8599
|
#
|
|
8562
8600
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstances AWS API Documentation
|
|
@@ -12993,7 +13031,7 @@ module Aws::Lightsail
|
|
|
12993
13031
|
tracer: tracer
|
|
12994
13032
|
)
|
|
12995
13033
|
context[:gem_name] = 'aws-sdk-lightsail'
|
|
12996
|
-
context[:gem_version] = '1.
|
|
13034
|
+
context[:gem_version] = '1.145.0'
|
|
12997
13035
|
Seahorse::Client::Request.new(handlers, context)
|
|
12998
13036
|
end
|
|
12999
13037
|
|
|
@@ -452,6 +452,12 @@ module Aws::Lightsail
|
|
|
452
452
|
InstanceHardware = Shapes::StructureShape.new(name: 'InstanceHardware')
|
|
453
453
|
InstanceHealthReason = Shapes::StringShape.new(name: 'InstanceHealthReason')
|
|
454
454
|
InstanceHealthState = Shapes::StringShape.new(name: 'InstanceHealthState')
|
|
455
|
+
InstanceHealthStatus = Shapes::StructureShape.new(name: 'InstanceHealthStatus')
|
|
456
|
+
InstanceHealthStatusDetail = Shapes::StructureShape.new(name: 'InstanceHealthStatusDetail')
|
|
457
|
+
InstanceHealthStatusDetailList = Shapes::ListShape.new(name: 'InstanceHealthStatusDetailList')
|
|
458
|
+
InstanceHealthStatusDetailName = Shapes::StringShape.new(name: 'InstanceHealthStatusDetailName')
|
|
459
|
+
InstanceHealthStatusDetailValue = Shapes::StringShape.new(name: 'InstanceHealthStatusDetailValue')
|
|
460
|
+
InstanceHealthStatusValue = Shapes::StringShape.new(name: 'InstanceHealthStatusValue')
|
|
455
461
|
InstanceHealthSummary = Shapes::StructureShape.new(name: 'InstanceHealthSummary')
|
|
456
462
|
InstanceHealthSummaryList = Shapes::ListShape.new(name: 'InstanceHealthSummaryList')
|
|
457
463
|
InstanceList = Shapes::ListShape.new(name: 'InstanceList')
|
|
@@ -2054,6 +2060,7 @@ module Aws::Lightsail
|
|
|
2054
2060
|
GetInstancePortStatesResult.struct_class = Types::GetInstancePortStatesResult
|
|
2055
2061
|
|
|
2056
2062
|
GetInstanceRequest.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "instanceName"))
|
|
2063
|
+
GetInstanceRequest.add_member(:include_health_status, Shapes::ShapeRef.new(shape: boolean, location_name: "includeHealthStatus"))
|
|
2057
2064
|
GetInstanceRequest.struct_class = Types::GetInstanceRequest
|
|
2058
2065
|
|
|
2059
2066
|
GetInstanceResult.add_member(:instance, Shapes::ShapeRef.new(shape: Instance, location_name: "instance"))
|
|
@@ -2079,6 +2086,7 @@ module Aws::Lightsail
|
|
|
2079
2086
|
GetInstanceStateResult.struct_class = Types::GetInstanceStateResult
|
|
2080
2087
|
|
|
2081
2088
|
GetInstancesRequest.add_member(:page_token, Shapes::ShapeRef.new(shape: string, location_name: "pageToken"))
|
|
2089
|
+
GetInstancesRequest.add_member(:include_health_status, Shapes::ShapeRef.new(shape: boolean, location_name: "includeHealthStatus"))
|
|
2082
2090
|
GetInstancesRequest.struct_class = Types::GetInstancesRequest
|
|
2083
2091
|
|
|
2084
2092
|
GetInstancesResult.add_member(:instances, Shapes::ShapeRef.new(shape: InstanceList, location_name: "instances"))
|
|
@@ -2345,6 +2353,8 @@ module Aws::Lightsail
|
|
|
2345
2353
|
Instance.add_member(:username, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "username"))
|
|
2346
2354
|
Instance.add_member(:ssh_key_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "sshKeyName"))
|
|
2347
2355
|
Instance.add_member(:metadata_options, Shapes::ShapeRef.new(shape: InstanceMetadataOptions, location_name: "metadataOptions"))
|
|
2356
|
+
Instance.add_member(:instance_status, Shapes::ShapeRef.new(shape: InstanceHealthStatus, location_name: "instanceStatus"))
|
|
2357
|
+
Instance.add_member(:system_status, Shapes::ShapeRef.new(shape: InstanceHealthStatus, location_name: "systemStatus"))
|
|
2348
2358
|
Instance.struct_class = Types::Instance
|
|
2349
2359
|
|
|
2350
2360
|
InstanceAccessDetails.add_member(:cert_key, Shapes::ShapeRef.new(shape: string, location_name: "certKey"))
|
|
@@ -2377,6 +2387,17 @@ module Aws::Lightsail
|
|
|
2377
2387
|
InstanceHardware.add_member(:ram_size_in_gb, Shapes::ShapeRef.new(shape: float, location_name: "ramSizeInGb"))
|
|
2378
2388
|
InstanceHardware.struct_class = Types::InstanceHardware
|
|
2379
2389
|
|
|
2390
|
+
InstanceHealthStatus.add_member(:status, Shapes::ShapeRef.new(shape: InstanceHealthStatusValue, location_name: "status"))
|
|
2391
|
+
InstanceHealthStatus.add_member(:details, Shapes::ShapeRef.new(shape: InstanceHealthStatusDetailList, location_name: "details"))
|
|
2392
|
+
InstanceHealthStatus.struct_class = Types::InstanceHealthStatus
|
|
2393
|
+
|
|
2394
|
+
InstanceHealthStatusDetail.add_member(:name, Shapes::ShapeRef.new(shape: InstanceHealthStatusDetailName, location_name: "name"))
|
|
2395
|
+
InstanceHealthStatusDetail.add_member(:status, Shapes::ShapeRef.new(shape: InstanceHealthStatusDetailValue, location_name: "status"))
|
|
2396
|
+
InstanceHealthStatusDetail.add_member(:impaired_since, Shapes::ShapeRef.new(shape: IsoDate, location_name: "impairedSince"))
|
|
2397
|
+
InstanceHealthStatusDetail.struct_class = Types::InstanceHealthStatusDetail
|
|
2398
|
+
|
|
2399
|
+
InstanceHealthStatusDetailList.member = Shapes::ShapeRef.new(shape: InstanceHealthStatusDetail)
|
|
2400
|
+
|
|
2380
2401
|
InstanceHealthSummary.add_member(:instance_name, Shapes::ShapeRef.new(shape: ResourceName, location_name: "instanceName"))
|
|
2381
2402
|
InstanceHealthSummary.add_member(:instance_health, Shapes::ShapeRef.new(shape: InstanceHealthState, location_name: "instanceHealth"))
|
|
2382
2403
|
InstanceHealthSummary.add_member(:instance_health_reason, Shapes::ShapeRef.new(shape: InstanceHealthReason, location_name: "instanceHealthReason"))
|
|
@@ -8523,10 +8523,20 @@ module Aws::Lightsail
|
|
|
8523
8523
|
# The name of the instance.
|
|
8524
8524
|
# @return [String]
|
|
8525
8525
|
#
|
|
8526
|
+
# @!attribute [rw] include_health_status
|
|
8527
|
+
# Specifies whether to include the instance health status checks in
|
|
8528
|
+
# the response of your request.
|
|
8529
|
+
#
|
|
8530
|
+
# When set to `true`, the response includes the `instanceStatus` and
|
|
8531
|
+
# `systemStatus` of the instance. When omitted or set to `false`, the
|
|
8532
|
+
# response doesn't include them.
|
|
8533
|
+
# @return [Boolean]
|
|
8534
|
+
#
|
|
8526
8535
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceRequest AWS API Documentation
|
|
8527
8536
|
#
|
|
8528
8537
|
class GetInstanceRequest < Struct.new(
|
|
8529
|
-
:instance_name
|
|
8538
|
+
:instance_name,
|
|
8539
|
+
:include_health_status)
|
|
8530
8540
|
SENSITIVE = []
|
|
8531
8541
|
include Aws::Structure
|
|
8532
8542
|
end
|
|
@@ -8644,10 +8654,20 @@ module Aws::Lightsail
|
|
|
8644
8654
|
# request.
|
|
8645
8655
|
# @return [String]
|
|
8646
8656
|
#
|
|
8657
|
+
# @!attribute [rw] include_health_status
|
|
8658
|
+
# Specifies whether to include the instance health status checks of
|
|
8659
|
+
# each instance in the response of your request.
|
|
8660
|
+
#
|
|
8661
|
+
# When set to `true`, the response includes the `instanceStatus` and
|
|
8662
|
+
# `systemStatus` of each instance. When omitted or set to `false`, the
|
|
8663
|
+
# response doesn't include them.
|
|
8664
|
+
# @return [Boolean]
|
|
8665
|
+
#
|
|
8647
8666
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancesRequest AWS API Documentation
|
|
8648
8667
|
#
|
|
8649
8668
|
class GetInstancesRequest < Struct.new(
|
|
8650
|
-
:page_token
|
|
8669
|
+
:page_token,
|
|
8670
|
+
:include_health_status)
|
|
8651
8671
|
SENSITIVE = []
|
|
8652
8672
|
include Aws::Structure
|
|
8653
8673
|
end
|
|
@@ -10346,6 +10366,23 @@ module Aws::Lightsail
|
|
|
10346
10366
|
# The metadata options for the Amazon Lightsail instance.
|
|
10347
10367
|
# @return [Types::InstanceMetadataOptions]
|
|
10348
10368
|
#
|
|
10369
|
+
# @!attribute [rw] instance_status
|
|
10370
|
+
# Reports impaired functionality that stems from issues internal to
|
|
10371
|
+
# the instance, such as impaired reachability.
|
|
10372
|
+
#
|
|
10373
|
+
# This value is returned only when you set `includeHealthStatus` to
|
|
10374
|
+
# `true` in your request.
|
|
10375
|
+
# @return [Types::InstanceHealthStatus]
|
|
10376
|
+
#
|
|
10377
|
+
# @!attribute [rw] system_status
|
|
10378
|
+
# Reports impaired functionality that stems from issues related to the
|
|
10379
|
+
# systems that support an instance, such as hardware failures and
|
|
10380
|
+
# network connectivity problems.
|
|
10381
|
+
#
|
|
10382
|
+
# This value is returned only when you set `includeHealthStatus` to
|
|
10383
|
+
# `true` in your request.
|
|
10384
|
+
# @return [Types::InstanceHealthStatus]
|
|
10385
|
+
#
|
|
10349
10386
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/Instance AWS API Documentation
|
|
10350
10387
|
#
|
|
10351
10388
|
class Instance < Struct.new(
|
|
@@ -10370,7 +10407,9 @@ module Aws::Lightsail
|
|
|
10370
10407
|
:state,
|
|
10371
10408
|
:username,
|
|
10372
10409
|
:ssh_key_name,
|
|
10373
|
-
:metadata_options
|
|
10410
|
+
:metadata_options,
|
|
10411
|
+
:instance_status,
|
|
10412
|
+
:system_status)
|
|
10374
10413
|
SENSITIVE = []
|
|
10375
10414
|
include Aws::Structure
|
|
10376
10415
|
end
|
|
@@ -10607,6 +10646,78 @@ module Aws::Lightsail
|
|
|
10607
10646
|
include Aws::Structure
|
|
10608
10647
|
end
|
|
10609
10648
|
|
|
10649
|
+
# Describes the status of an Amazon Lightsail instance.
|
|
10650
|
+
#
|
|
10651
|
+
# @!attribute [rw] status
|
|
10652
|
+
# The status.
|
|
10653
|
+
#
|
|
10654
|
+
# The following values are possible:
|
|
10655
|
+
#
|
|
10656
|
+
# * `ok` - All checks are passing. The instance is reachable.
|
|
10657
|
+
#
|
|
10658
|
+
# * `impaired` - One or more checks have failed.
|
|
10659
|
+
#
|
|
10660
|
+
# * `initializing` - The instance was recently started, and the checks
|
|
10661
|
+
# are in progress.
|
|
10662
|
+
#
|
|
10663
|
+
# * `insufficient-data` - There isn't enough data yet to determine
|
|
10664
|
+
# the result.
|
|
10665
|
+
#
|
|
10666
|
+
# * `not-applicable` - The check doesn't apply because the instance
|
|
10667
|
+
# isn't running.
|
|
10668
|
+
# @return [String]
|
|
10669
|
+
#
|
|
10670
|
+
# @!attribute [rw] details
|
|
10671
|
+
# The system instance health or instance health.
|
|
10672
|
+
# @return [Array<Types::InstanceHealthStatusDetail>]
|
|
10673
|
+
#
|
|
10674
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHealthStatus AWS API Documentation
|
|
10675
|
+
#
|
|
10676
|
+
class InstanceHealthStatus < Struct.new(
|
|
10677
|
+
:status,
|
|
10678
|
+
:details)
|
|
10679
|
+
SENSITIVE = []
|
|
10680
|
+
include Aws::Structure
|
|
10681
|
+
end
|
|
10682
|
+
|
|
10683
|
+
# Describes the instance status.
|
|
10684
|
+
#
|
|
10685
|
+
# @!attribute [rw] name
|
|
10686
|
+
# The type of instance status. The only possible value is
|
|
10687
|
+
# `reachability`.
|
|
10688
|
+
# @return [String]
|
|
10689
|
+
#
|
|
10690
|
+
# @!attribute [rw] status
|
|
10691
|
+
# The status.
|
|
10692
|
+
#
|
|
10693
|
+
# The following values are possible:
|
|
10694
|
+
#
|
|
10695
|
+
# * `passed` - The check passed.
|
|
10696
|
+
#
|
|
10697
|
+
# * `failed` - The check failed.
|
|
10698
|
+
#
|
|
10699
|
+
# * `initializing` - The check is in progress.
|
|
10700
|
+
#
|
|
10701
|
+
# * `insufficient-data` - There isn't enough data yet to determine
|
|
10702
|
+
# the result.
|
|
10703
|
+
# @return [String]
|
|
10704
|
+
#
|
|
10705
|
+
# @!attribute [rw] impaired_since
|
|
10706
|
+
# The time when a status check failed. For an instance that was
|
|
10707
|
+
# launched and impaired, this is the time when the instance was
|
|
10708
|
+
# launched.
|
|
10709
|
+
# @return [Time]
|
|
10710
|
+
#
|
|
10711
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstanceHealthStatusDetail AWS API Documentation
|
|
10712
|
+
#
|
|
10713
|
+
class InstanceHealthStatusDetail < Struct.new(
|
|
10714
|
+
:name,
|
|
10715
|
+
:status,
|
|
10716
|
+
:impaired_since)
|
|
10717
|
+
SENSITIVE = []
|
|
10718
|
+
include Aws::Structure
|
|
10719
|
+
end
|
|
10720
|
+
|
|
10610
10721
|
# Describes information about the health of the instance.
|
|
10611
10722
|
#
|
|
10612
10723
|
# @!attribute [rw] instance_name
|
data/lib/aws-sdk-lightsail.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -1350,7 +1350,8 @@ module Aws
|
|
|
1350
1350
|
end
|
|
1351
1351
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#get_instance-instance_method
|
|
1352
1352
|
def get_instance: (
|
|
1353
|
-
instance_name: ::String
|
|
1353
|
+
instance_name: ::String,
|
|
1354
|
+
?include_health_status: bool
|
|
1354
1355
|
) -> _GetInstanceResponseSuccess
|
|
1355
1356
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInstanceResponseSuccess
|
|
1356
1357
|
|
|
@@ -1430,7 +1431,8 @@ module Aws
|
|
|
1430
1431
|
end
|
|
1431
1432
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#get_instances-instance_method
|
|
1432
1433
|
def get_instances: (
|
|
1433
|
-
?page_token: ::String
|
|
1434
|
+
?page_token: ::String,
|
|
1435
|
+
?include_health_status: bool
|
|
1434
1436
|
) -> _GetInstancesResponseSuccess
|
|
1435
1437
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInstancesResponseSuccess
|
|
1436
1438
|
|
data/sig/types.rbs
CHANGED
|
@@ -1734,6 +1734,7 @@ module Aws::Lightsail
|
|
|
1734
1734
|
|
|
1735
1735
|
class GetInstanceRequest
|
|
1736
1736
|
attr_accessor instance_name: ::String
|
|
1737
|
+
attr_accessor include_health_status: bool
|
|
1737
1738
|
SENSITIVE: []
|
|
1738
1739
|
end
|
|
1739
1740
|
|
|
@@ -1775,6 +1776,7 @@ module Aws::Lightsail
|
|
|
1775
1776
|
|
|
1776
1777
|
class GetInstancesRequest
|
|
1777
1778
|
attr_accessor page_token: ::String
|
|
1779
|
+
attr_accessor include_health_status: bool
|
|
1778
1780
|
SENSITIVE: []
|
|
1779
1781
|
end
|
|
1780
1782
|
|
|
@@ -2158,6 +2160,8 @@ module Aws::Lightsail
|
|
|
2158
2160
|
attr_accessor username: ::String
|
|
2159
2161
|
attr_accessor ssh_key_name: ::String
|
|
2160
2162
|
attr_accessor metadata_options: Types::InstanceMetadataOptions
|
|
2163
|
+
attr_accessor instance_status: Types::InstanceHealthStatus
|
|
2164
|
+
attr_accessor system_status: Types::InstanceHealthStatus
|
|
2161
2165
|
SENSITIVE: []
|
|
2162
2166
|
end
|
|
2163
2167
|
|
|
@@ -2197,6 +2201,19 @@ module Aws::Lightsail
|
|
|
2197
2201
|
SENSITIVE: []
|
|
2198
2202
|
end
|
|
2199
2203
|
|
|
2204
|
+
class InstanceHealthStatus
|
|
2205
|
+
attr_accessor status: ("ok" | "impaired" | "initializing" | "insufficient-data" | "not-applicable")
|
|
2206
|
+
attr_accessor details: ::Array[Types::InstanceHealthStatusDetail]
|
|
2207
|
+
SENSITIVE: []
|
|
2208
|
+
end
|
|
2209
|
+
|
|
2210
|
+
class InstanceHealthStatusDetail
|
|
2211
|
+
attr_accessor name: ("reachability")
|
|
2212
|
+
attr_accessor status: ("passed" | "failed" | "insufficient-data" | "initializing")
|
|
2213
|
+
attr_accessor impaired_since: ::Time
|
|
2214
|
+
SENSITIVE: []
|
|
2215
|
+
end
|
|
2216
|
+
|
|
2200
2217
|
class InstanceHealthSummary
|
|
2201
2218
|
attr_accessor instance_name: ::String
|
|
2202
2219
|
attr_accessor instance_health: ("initial" | "healthy" | "unhealthy" | "unused" | "draining" | "unavailable")
|
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.
|
|
4
|
+
version: 1.145.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.
|
|
21
|
+
version: 3.264.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.
|
|
31
|
+
version: 3.264.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|