aws-sdk-lightsail 1.138.0 → 1.140.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 +84 -8
- data/lib/aws-sdk-lightsail/types.rb +73 -1
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/sig/client.rbs +4 -3
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +4 -4
- 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: 8e806df52786d1b3fe79389a8b2079dc68b3af1bea14cbbe1f193e41c0fd76ad
|
|
4
|
+
data.tar.gz: 6040587f88b4ecc8f5f25daf61bb967999c94e98419d258848152300c1591fc4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8514e9e1e28f47799de4f27a9ebc044ec88eb151bbcb232960b0e44ee927ecbc87d9a8176bc41de233bc1075e2fe55318837fea2f7ee43d88d9efd610a0c2085
|
|
7
|
+
data.tar.gz: 2f79ad2efd2d96ffbda6bfd2f20f10e2b2ba29257b2ca65679915d1c86c20f7973af19c104fd54142dc36347d9e1e4222e092ee69256b0cea596ae694f7a1afb
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.140.0 (2026-10-21)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support for metrics related to system-disk performance.
|
|
8
|
+
|
|
9
|
+
1.139.0 (2026-10-20)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
|
13
|
+
|
|
4
14
|
1.138.0 (2026-10-19)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.140.0
|
|
@@ -199,13 +199,20 @@ module Aws::Lightsail
|
|
|
199
199
|
# the required types.
|
|
200
200
|
#
|
|
201
201
|
# @option options [Boolean] :correct_clock_skew (true)
|
|
202
|
-
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
-
# a clock skew correction and retry requests with skewed client
|
|
202
|
+
# Used only in `standard` and `adaptive` retry modes. Specifies whether
|
|
203
|
+
# to apply a clock skew correction and retry requests with skewed client
|
|
204
|
+
# clocks. Takes effect only when `disable_clock_skew_correction` is not set.
|
|
204
205
|
#
|
|
205
206
|
# @option options [String] :defaults_mode ("legacy")
|
|
206
207
|
# See {Aws::DefaultsModeConfiguration} for a list of the
|
|
207
208
|
# accepted modes and the configuration defaults that are included.
|
|
208
209
|
#
|
|
210
|
+
# @option options [Boolean] :disable_clock_skew_correction
|
|
211
|
+
# Used only in `standard` and `adaptive` retry modes. When `true`, the
|
|
212
|
+
# SDK does not apply a clock skew correction, does not update its stored
|
|
213
|
+
# skew from responses, and does not retry clock skew errors. Clock skew
|
|
214
|
+
# correction is enabled by default.
|
|
215
|
+
#
|
|
209
216
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
|
210
217
|
# When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
|
|
211
218
|
#
|
|
@@ -5597,7 +5604,7 @@ module Aws::Lightsail
|
|
|
5597
5604
|
# resp.alarms[0].datapoints_to_alarm #=> Integer
|
|
5598
5605
|
# resp.alarms[0].treat_missing_data #=> String, one of "breaching", "notBreaching", "ignore", "missing"
|
|
5599
5606
|
# resp.alarms[0].statistic #=> String, one of "Minimum", "Maximum", "Sum", "Average", "SampleCount"
|
|
5600
|
-
# resp.alarms[0].metric_name #=> String, one of "CPUUtilization", "NetworkIn", "NetworkOut", "StatusCheckFailed", "StatusCheckFailed_Instance", "StatusCheckFailed_System", "ClientTLSNegotiationErrorCount", "HealthyHostCount", "UnhealthyHostCount", "HTTPCode_LB_4XX_Count", "HTTPCode_LB_5XX_Count", "HTTPCode_Instance_2XX_Count", "HTTPCode_Instance_3XX_Count", "HTTPCode_Instance_4XX_Count", "HTTPCode_Instance_5XX_Count", "InstanceResponseTime", "RejectedConnectionCount", "RequestCount", "DatabaseConnections", "DiskQueueDepth", "FreeStorageSpace", "NetworkReceiveThroughput", "NetworkTransmitThroughput", "FreeableMemory", "SwapUsage", "BurstCapacityTime", "BurstCapacityPercentage"
|
|
5607
|
+
# resp.alarms[0].metric_name #=> String, one of "CPUUtilization", "NetworkIn", "NetworkOut", "StatusCheckFailed", "StatusCheckFailed_Instance", "StatusCheckFailed_System", "ClientTLSNegotiationErrorCount", "HealthyHostCount", "UnhealthyHostCount", "HTTPCode_LB_4XX_Count", "HTTPCode_LB_5XX_Count", "HTTPCode_Instance_2XX_Count", "HTTPCode_Instance_3XX_Count", "HTTPCode_Instance_4XX_Count", "HTTPCode_Instance_5XX_Count", "InstanceResponseTime", "RejectedConnectionCount", "RequestCount", "DatabaseConnections", "DiskQueueDepth", "FreeStorageSpace", "NetworkReceiveThroughput", "NetworkTransmitThroughput", "FreeableMemory", "SwapUsage", "BurstCapacityTime", "BurstCapacityPercentage", "DiskReadOps", "DiskWriteOps", "DiskReadBytes", "DiskWriteBytes", "DiskTotalReadTime", "DiskTotalWriteTime", "DiskQueueLength"
|
|
5601
5608
|
# resp.alarms[0].state #=> String, one of "OK", "ALARM", "INSUFFICIENT_DATA"
|
|
5602
5609
|
# resp.alarms[0].unit #=> String, one of "Seconds", "Microseconds", "Milliseconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Count", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second", "None"
|
|
5603
5610
|
# resp.alarms[0].contact_protocols #=> Array
|
|
@@ -7951,9 +7958,76 @@ module Aws::Lightsail
|
|
|
7951
7958
|
#
|
|
7952
7959
|
# `Unit`: The published unit is `Count`.
|
|
7953
7960
|
#
|
|
7961
|
+
# * <b> <code>DiskReadOps</code> </b> - The number of read operations
|
|
7962
|
+
# completed on the system disk of the instance during the period. This
|
|
7963
|
+
# metric doesn't include activity on additional disks that you attach
|
|
7964
|
+
# to the instance.
|
|
7965
|
+
#
|
|
7966
|
+
# `Statistics`: The most useful statistic is `Sum`.
|
|
7967
|
+
#
|
|
7968
|
+
# `Unit`: The published unit is `Count`.
|
|
7969
|
+
#
|
|
7970
|
+
# * <b> <code>DiskWriteOps</code> </b> - The number of write operations
|
|
7971
|
+
# completed on the system disk of the instance during the period. This
|
|
7972
|
+
# metric doesn't include activity on additional disks that you attach
|
|
7973
|
+
# to the instance.
|
|
7974
|
+
#
|
|
7975
|
+
# `Statistics`: The most useful statistic is `Sum`.
|
|
7976
|
+
#
|
|
7977
|
+
# `Unit`: The published unit is `Count`.
|
|
7978
|
+
#
|
|
7979
|
+
# * <b> <code>DiskReadBytes</code> </b> - The number of bytes read from
|
|
7980
|
+
# the system disk of the instance during the period. This metric
|
|
7981
|
+
# doesn't include activity on additional disks that you attach to the
|
|
7982
|
+
# instance.
|
|
7983
|
+
#
|
|
7984
|
+
# `Statistics`: The most useful statistic is `Sum`.
|
|
7985
|
+
#
|
|
7986
|
+
# `Unit`: The published unit is `Bytes`.
|
|
7987
|
+
#
|
|
7988
|
+
# * <b> <code>DiskWriteBytes</code> </b> - The number of bytes written
|
|
7989
|
+
# to the system disk of the instance during the period. This metric
|
|
7990
|
+
# doesn't include activity on additional disks that you attach to the
|
|
7991
|
+
# instance.
|
|
7992
|
+
#
|
|
7993
|
+
# `Statistics`: The most useful statistic is `Sum`.
|
|
7994
|
+
#
|
|
7995
|
+
# `Unit`: The published unit is `Bytes`.
|
|
7996
|
+
#
|
|
7997
|
+
# * <b> <code>DiskTotalReadTime</code> </b> - The total number of
|
|
7998
|
+
# seconds spent by all read operations that completed on the system
|
|
7999
|
+
# disk of the instance during the period. This metric doesn't include
|
|
8000
|
+
# activity on additional disks that you attach to the instance.
|
|
8001
|
+
#
|
|
8002
|
+
# `Statistics`: The most useful statistic is `Average`.
|
|
8003
|
+
#
|
|
8004
|
+
# `Unit`: The published unit is `Seconds`.
|
|
8005
|
+
#
|
|
8006
|
+
# * <b> <code>DiskTotalWriteTime</code> </b> - The total number of
|
|
8007
|
+
# seconds spent by all write operations that completed on the system
|
|
8008
|
+
# disk of the instance during the period. This metric doesn't include
|
|
8009
|
+
# activity on additional disks that you attach to the instance.
|
|
8010
|
+
#
|
|
8011
|
+
# `Statistics`: The most useful statistic is `Average`.
|
|
8012
|
+
#
|
|
8013
|
+
# `Unit`: The published unit is `Seconds`.
|
|
8014
|
+
#
|
|
8015
|
+
# * <b> <code>DiskQueueLength</code> </b> - The number of read and write
|
|
8016
|
+
# requests that are waiting to access the system disk of the instance.
|
|
8017
|
+
# This metric doesn't include activity on additional disks that you
|
|
8018
|
+
# attach to the instance.
|
|
8019
|
+
#
|
|
8020
|
+
# `Statistics`: The most useful statistic is `Average`.
|
|
8021
|
+
#
|
|
8022
|
+
# `Unit`: The published unit is `Count`.
|
|
8023
|
+
#
|
|
8024
|
+
# For more information about system disk performance metrics, see [View
|
|
8025
|
+
# system disk performance metrics for your Lightsail instance][2].
|
|
8026
|
+
#
|
|
7954
8027
|
#
|
|
7955
8028
|
#
|
|
7956
8029
|
# [1]: https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-viewing-instance-burst-capacity
|
|
8030
|
+
# [2]: https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-viewing-instance-disk-performance-metrics
|
|
7957
8031
|
#
|
|
7958
8032
|
# @option params [required, Integer] :period
|
|
7959
8033
|
# The granularity, in seconds, of the returned data points.
|
|
@@ -8010,7 +8084,7 @@ module Aws::Lightsail
|
|
|
8010
8084
|
#
|
|
8011
8085
|
# resp = client.get_instance_metric_data({
|
|
8012
8086
|
# instance_name: "ResourceName", # required
|
|
8013
|
-
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, BurstCapacityTime, BurstCapacityPercentage, MetadataNoToken
|
|
8087
|
+
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, BurstCapacityTime, BurstCapacityPercentage, MetadataNoToken, DiskReadOps, DiskWriteOps, DiskReadBytes, DiskWriteBytes, DiskTotalReadTime, DiskTotalWriteTime, DiskQueueLength
|
|
8014
8088
|
# period: 1, # required
|
|
8015
8089
|
# start_time: Time.now, # required
|
|
8016
8090
|
# end_time: Time.now, # required
|
|
@@ -8020,7 +8094,7 @@ module Aws::Lightsail
|
|
|
8020
8094
|
#
|
|
8021
8095
|
# @example Response structure
|
|
8022
8096
|
#
|
|
8023
|
-
# resp.metric_name #=> String, one of "CPUUtilization", "NetworkIn", "NetworkOut", "StatusCheckFailed", "StatusCheckFailed_Instance", "StatusCheckFailed_System", "BurstCapacityTime", "BurstCapacityPercentage", "MetadataNoToken"
|
|
8097
|
+
# resp.metric_name #=> String, one of "CPUUtilization", "NetworkIn", "NetworkOut", "StatusCheckFailed", "StatusCheckFailed_Instance", "StatusCheckFailed_System", "BurstCapacityTime", "BurstCapacityPercentage", "MetadataNoToken", "DiskReadOps", "DiskWriteOps", "DiskReadBytes", "DiskWriteBytes", "DiskTotalReadTime", "DiskTotalWriteTime", "DiskQueueLength"
|
|
8024
8098
|
# resp.metric_data #=> Array
|
|
8025
8099
|
# resp.metric_data[0].average #=> Float
|
|
8026
8100
|
# resp.metric_data[0].maximum #=> Float
|
|
@@ -10249,7 +10323,9 @@ module Aws::Lightsail
|
|
|
10249
10323
|
#
|
|
10250
10324
|
# * **Instances**: `BurstCapacityPercentage`, `BurstCapacityTime`,
|
|
10251
10325
|
# `CPUUtilization`, `NetworkIn`, `NetworkOut`, `StatusCheckFailed`,
|
|
10252
|
-
# `StatusCheckFailed_Instance`,
|
|
10326
|
+
# `StatusCheckFailed_Instance`, `StatusCheckFailed_System`,
|
|
10327
|
+
# `DiskReadOps`, `DiskWriteOps`, `DiskReadBytes`, `DiskWriteBytes`,
|
|
10328
|
+
# `DiskTotalReadTime`, `DiskTotalWriteTime`, and `DiskQueueLength`.
|
|
10253
10329
|
#
|
|
10254
10330
|
# * **Load balancers**: `ClientTLSNegotiationErrorCount`,
|
|
10255
10331
|
# `HealthyHostCount`, `UnhealthyHostCount`, `HTTPCode_LB_4XX_Count`,
|
|
@@ -10389,7 +10465,7 @@ module Aws::Lightsail
|
|
|
10389
10465
|
#
|
|
10390
10466
|
# resp = client.put_alarm({
|
|
10391
10467
|
# alarm_name: "ResourceName", # required
|
|
10392
|
-
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, ClientTLSNegotiationErrorCount, HealthyHostCount, UnhealthyHostCount, HTTPCode_LB_4XX_Count, HTTPCode_LB_5XX_Count, HTTPCode_Instance_2XX_Count, HTTPCode_Instance_3XX_Count, HTTPCode_Instance_4XX_Count, HTTPCode_Instance_5XX_Count, InstanceResponseTime, RejectedConnectionCount, RequestCount, DatabaseConnections, DiskQueueDepth, FreeStorageSpace, NetworkReceiveThroughput, NetworkTransmitThroughput, FreeableMemory, SwapUsage, BurstCapacityTime, BurstCapacityPercentage
|
|
10468
|
+
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, ClientTLSNegotiationErrorCount, HealthyHostCount, UnhealthyHostCount, HTTPCode_LB_4XX_Count, HTTPCode_LB_5XX_Count, HTTPCode_Instance_2XX_Count, HTTPCode_Instance_3XX_Count, HTTPCode_Instance_4XX_Count, HTTPCode_Instance_5XX_Count, InstanceResponseTime, RejectedConnectionCount, RequestCount, DatabaseConnections, DiskQueueDepth, FreeStorageSpace, NetworkReceiveThroughput, NetworkTransmitThroughput, FreeableMemory, SwapUsage, BurstCapacityTime, BurstCapacityPercentage, DiskReadOps, DiskWriteOps, DiskReadBytes, DiskWriteBytes, DiskTotalReadTime, DiskTotalWriteTime, DiskQueueLength
|
|
10393
10469
|
# monitored_resource_name: "ResourceName", # required
|
|
10394
10470
|
# comparison_operator: "GreaterThanOrEqualToThreshold", # required, accepts GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold
|
|
10395
10471
|
# threshold: 1.0, # required
|
|
@@ -12721,7 +12797,7 @@ module Aws::Lightsail
|
|
|
12721
12797
|
tracer: tracer
|
|
12722
12798
|
)
|
|
12723
12799
|
context[:gem_name] = 'aws-sdk-lightsail'
|
|
12724
|
-
context[:gem_version] = '1.
|
|
12800
|
+
context[:gem_version] = '1.140.0'
|
|
12725
12801
|
Seahorse::Client::Request.new(handlers, context)
|
|
12726
12802
|
end
|
|
12727
12803
|
|
|
@@ -8283,9 +8283,79 @@ module Aws::Lightsail
|
|
|
8283
8283
|
#
|
|
8284
8284
|
# `Unit`: The published unit is `Count`.
|
|
8285
8285
|
#
|
|
8286
|
+
# * <b> <code>DiskReadOps</code> </b> - The number of read operations
|
|
8287
|
+
# completed on the system disk of the instance during the period.
|
|
8288
|
+
# This metric doesn't include activity on additional disks that you
|
|
8289
|
+
# attach to the instance.
|
|
8290
|
+
#
|
|
8291
|
+
# `Statistics`: The most useful statistic is `Sum`.
|
|
8292
|
+
#
|
|
8293
|
+
# `Unit`: The published unit is `Count`.
|
|
8294
|
+
#
|
|
8295
|
+
# * <b> <code>DiskWriteOps</code> </b> - The number of write
|
|
8296
|
+
# operations completed on the system disk of the instance during the
|
|
8297
|
+
# period. This metric doesn't include activity on additional disks
|
|
8298
|
+
# that you attach to the instance.
|
|
8299
|
+
#
|
|
8300
|
+
# `Statistics`: The most useful statistic is `Sum`.
|
|
8301
|
+
#
|
|
8302
|
+
# `Unit`: The published unit is `Count`.
|
|
8303
|
+
#
|
|
8304
|
+
# * <b> <code>DiskReadBytes</code> </b> - The number of bytes read
|
|
8305
|
+
# from the system disk of the instance during the period. This
|
|
8306
|
+
# metric doesn't include activity on additional disks that you
|
|
8307
|
+
# attach to the instance.
|
|
8308
|
+
#
|
|
8309
|
+
# `Statistics`: The most useful statistic is `Sum`.
|
|
8310
|
+
#
|
|
8311
|
+
# `Unit`: The published unit is `Bytes`.
|
|
8312
|
+
#
|
|
8313
|
+
# * <b> <code>DiskWriteBytes</code> </b> - The number of bytes written
|
|
8314
|
+
# to the system disk of the instance during the period. This metric
|
|
8315
|
+
# doesn't include activity on additional disks that you attach to
|
|
8316
|
+
# the instance.
|
|
8317
|
+
#
|
|
8318
|
+
# `Statistics`: The most useful statistic is `Sum`.
|
|
8319
|
+
#
|
|
8320
|
+
# `Unit`: The published unit is `Bytes`.
|
|
8321
|
+
#
|
|
8322
|
+
# * <b> <code>DiskTotalReadTime</code> </b> - The total number of
|
|
8323
|
+
# seconds spent by all read operations that completed on the system
|
|
8324
|
+
# disk of the instance during the period. This metric doesn't
|
|
8325
|
+
# include activity on additional disks that you attach to the
|
|
8326
|
+
# instance.
|
|
8327
|
+
#
|
|
8328
|
+
# `Statistics`: The most useful statistic is `Average`.
|
|
8329
|
+
#
|
|
8330
|
+
# `Unit`: The published unit is `Seconds`.
|
|
8331
|
+
#
|
|
8332
|
+
# * <b> <code>DiskTotalWriteTime</code> </b> - The total number of
|
|
8333
|
+
# seconds spent by all write operations that completed on the system
|
|
8334
|
+
# disk of the instance during the period. This metric doesn't
|
|
8335
|
+
# include activity on additional disks that you attach to the
|
|
8336
|
+
# instance.
|
|
8337
|
+
#
|
|
8338
|
+
# `Statistics`: The most useful statistic is `Average`.
|
|
8339
|
+
#
|
|
8340
|
+
# `Unit`: The published unit is `Seconds`.
|
|
8341
|
+
#
|
|
8342
|
+
# * <b> <code>DiskQueueLength</code> </b> - The number of read and
|
|
8343
|
+
# write requests that are waiting to access the system disk of the
|
|
8344
|
+
# instance. This metric doesn't include activity on additional
|
|
8345
|
+
# disks that you attach to the instance.
|
|
8346
|
+
#
|
|
8347
|
+
# `Statistics`: The most useful statistic is `Average`.
|
|
8348
|
+
#
|
|
8349
|
+
# `Unit`: The published unit is `Count`.
|
|
8350
|
+
#
|
|
8351
|
+
# For more information about system disk performance metrics, see
|
|
8352
|
+
# [View system disk performance metrics for your Lightsail
|
|
8353
|
+
# instance][2].
|
|
8354
|
+
#
|
|
8286
8355
|
#
|
|
8287
8356
|
#
|
|
8288
8357
|
# [1]: https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-viewing-instance-burst-capacity
|
|
8358
|
+
# [2]: https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-viewing-instance-disk-performance-metrics
|
|
8289
8359
|
# @return [String]
|
|
8290
8360
|
#
|
|
8291
8361
|
# @!attribute [rw] period
|
|
@@ -12715,7 +12785,9 @@ module Aws::Lightsail
|
|
|
12715
12785
|
#
|
|
12716
12786
|
# * **Instances**: `BurstCapacityPercentage`, `BurstCapacityTime`,
|
|
12717
12787
|
# `CPUUtilization`, `NetworkIn`, `NetworkOut`, `StatusCheckFailed`,
|
|
12718
|
-
# `StatusCheckFailed_Instance`,
|
|
12788
|
+
# `StatusCheckFailed_Instance`, `StatusCheckFailed_System`,
|
|
12789
|
+
# `DiskReadOps`, `DiskWriteOps`, `DiskReadBytes`, `DiskWriteBytes`,
|
|
12790
|
+
# `DiskTotalReadTime`, `DiskTotalWriteTime`, and `DiskQueueLength`.
|
|
12719
12791
|
#
|
|
12720
12792
|
# * **Load balancers**: `ClientTLSNegotiationErrorCount`,
|
|
12721
12793
|
# `HealthyHostCount`, `UnhealthyHostCount`, `HTTPCode_LB_4XX_Count`,
|
data/lib/aws-sdk-lightsail.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -27,6 +27,7 @@ module Aws
|
|
|
27
27
|
?convert_params: bool,
|
|
28
28
|
?correct_clock_skew: bool,
|
|
29
29
|
?defaults_mode: String,
|
|
30
|
+
?disable_clock_skew_correction: bool,
|
|
30
31
|
?disable_host_prefix_injection: bool,
|
|
31
32
|
?disable_request_compression: bool,
|
|
32
33
|
?endpoint: String,
|
|
@@ -1362,13 +1363,13 @@ module Aws
|
|
|
1362
1363
|
|
|
1363
1364
|
interface _GetInstanceMetricDataResponseSuccess
|
|
1364
1365
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceMetricDataResult]
|
|
1365
|
-
def metric_name: () -> ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "BurstCapacityTime" | "BurstCapacityPercentage" | "MetadataNoToken")
|
|
1366
|
+
def metric_name: () -> ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "BurstCapacityTime" | "BurstCapacityPercentage" | "MetadataNoToken" | "DiskReadOps" | "DiskWriteOps" | "DiskReadBytes" | "DiskWriteBytes" | "DiskTotalReadTime" | "DiskTotalWriteTime" | "DiskQueueLength")
|
|
1366
1367
|
def metric_data: () -> ::Array[Types::MetricDatapoint]
|
|
1367
1368
|
end
|
|
1368
1369
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#get_instance_metric_data-instance_method
|
|
1369
1370
|
def get_instance_metric_data: (
|
|
1370
1371
|
instance_name: ::String,
|
|
1371
|
-
metric_name: ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "BurstCapacityTime" | "BurstCapacityPercentage" | "MetadataNoToken"),
|
|
1372
|
+
metric_name: ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "BurstCapacityTime" | "BurstCapacityPercentage" | "MetadataNoToken" | "DiskReadOps" | "DiskWriteOps" | "DiskReadBytes" | "DiskWriteBytes" | "DiskTotalReadTime" | "DiskTotalWriteTime" | "DiskQueueLength"),
|
|
1372
1373
|
period: ::Integer,
|
|
1373
1374
|
start_time: ::Time,
|
|
1374
1375
|
end_time: ::Time,
|
|
@@ -1791,7 +1792,7 @@ module Aws
|
|
|
1791
1792
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#put_alarm-instance_method
|
|
1792
1793
|
def put_alarm: (
|
|
1793
1794
|
alarm_name: ::String,
|
|
1794
|
-
metric_name: ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "ClientTLSNegotiationErrorCount" | "HealthyHostCount" | "UnhealthyHostCount" | "HTTPCode_LB_4XX_Count" | "HTTPCode_LB_5XX_Count" | "HTTPCode_Instance_2XX_Count" | "HTTPCode_Instance_3XX_Count" | "HTTPCode_Instance_4XX_Count" | "HTTPCode_Instance_5XX_Count" | "InstanceResponseTime" | "RejectedConnectionCount" | "RequestCount" | "DatabaseConnections" | "DiskQueueDepth" | "FreeStorageSpace" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "FreeableMemory" | "SwapUsage" | "BurstCapacityTime" | "BurstCapacityPercentage"),
|
|
1795
|
+
metric_name: ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "ClientTLSNegotiationErrorCount" | "HealthyHostCount" | "UnhealthyHostCount" | "HTTPCode_LB_4XX_Count" | "HTTPCode_LB_5XX_Count" | "HTTPCode_Instance_2XX_Count" | "HTTPCode_Instance_3XX_Count" | "HTTPCode_Instance_4XX_Count" | "HTTPCode_Instance_5XX_Count" | "InstanceResponseTime" | "RejectedConnectionCount" | "RequestCount" | "DatabaseConnections" | "DiskQueueDepth" | "FreeStorageSpace" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "FreeableMemory" | "SwapUsage" | "BurstCapacityTime" | "BurstCapacityPercentage" | "DiskReadOps" | "DiskWriteOps" | "DiskReadBytes" | "DiskWriteBytes" | "DiskTotalReadTime" | "DiskTotalWriteTime" | "DiskQueueLength"),
|
|
1795
1796
|
monitored_resource_name: ::String,
|
|
1796
1797
|
comparison_operator: ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold"),
|
|
1797
1798
|
threshold: ::Float,
|
data/sig/resource.rbs
CHANGED
data/sig/types.rbs
CHANGED
|
@@ -86,7 +86,7 @@ module Aws::Lightsail
|
|
|
86
86
|
attr_accessor datapoints_to_alarm: ::Integer
|
|
87
87
|
attr_accessor treat_missing_data: ("breaching" | "notBreaching" | "ignore" | "missing")
|
|
88
88
|
attr_accessor statistic: ("Minimum" | "Maximum" | "Sum" | "Average" | "SampleCount")
|
|
89
|
-
attr_accessor metric_name: ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "ClientTLSNegotiationErrorCount" | "HealthyHostCount" | "UnhealthyHostCount" | "HTTPCode_LB_4XX_Count" | "HTTPCode_LB_5XX_Count" | "HTTPCode_Instance_2XX_Count" | "HTTPCode_Instance_3XX_Count" | "HTTPCode_Instance_4XX_Count" | "HTTPCode_Instance_5XX_Count" | "InstanceResponseTime" | "RejectedConnectionCount" | "RequestCount" | "DatabaseConnections" | "DiskQueueDepth" | "FreeStorageSpace" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "FreeableMemory" | "SwapUsage" | "BurstCapacityTime" | "BurstCapacityPercentage")
|
|
89
|
+
attr_accessor metric_name: ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "ClientTLSNegotiationErrorCount" | "HealthyHostCount" | "UnhealthyHostCount" | "HTTPCode_LB_4XX_Count" | "HTTPCode_LB_5XX_Count" | "HTTPCode_Instance_2XX_Count" | "HTTPCode_Instance_3XX_Count" | "HTTPCode_Instance_4XX_Count" | "HTTPCode_Instance_5XX_Count" | "InstanceResponseTime" | "RejectedConnectionCount" | "RequestCount" | "DatabaseConnections" | "DiskQueueDepth" | "FreeStorageSpace" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "FreeableMemory" | "SwapUsage" | "BurstCapacityTime" | "BurstCapacityPercentage" | "DiskReadOps" | "DiskWriteOps" | "DiskReadBytes" | "DiskWriteBytes" | "DiskTotalReadTime" | "DiskTotalWriteTime" | "DiskQueueLength")
|
|
90
90
|
attr_accessor state: ("OK" | "ALARM" | "INSUFFICIENT_DATA")
|
|
91
91
|
attr_accessor unit: ("Seconds" | "Microseconds" | "Milliseconds" | "Bytes" | "Kilobytes" | "Megabytes" | "Gigabytes" | "Terabytes" | "Bits" | "Kilobits" | "Megabits" | "Gigabits" | "Terabits" | "Percent" | "Count" | "Bytes/Second" | "Kilobytes/Second" | "Megabytes/Second" | "Gigabytes/Second" | "Terabytes/Second" | "Bits/Second" | "Kilobits/Second" | "Megabits/Second" | "Gigabits/Second" | "Terabits/Second" | "Count/Second" | "None")
|
|
92
92
|
attr_accessor contact_protocols: ::Array[("Email" | "SMS")]
|
|
@@ -1705,7 +1705,7 @@ module Aws::Lightsail
|
|
|
1705
1705
|
|
|
1706
1706
|
class GetInstanceMetricDataRequest
|
|
1707
1707
|
attr_accessor instance_name: ::String
|
|
1708
|
-
attr_accessor metric_name: ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "BurstCapacityTime" | "BurstCapacityPercentage" | "MetadataNoToken")
|
|
1708
|
+
attr_accessor metric_name: ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "BurstCapacityTime" | "BurstCapacityPercentage" | "MetadataNoToken" | "DiskReadOps" | "DiskWriteOps" | "DiskReadBytes" | "DiskWriteBytes" | "DiskTotalReadTime" | "DiskTotalWriteTime" | "DiskQueueLength")
|
|
1709
1709
|
attr_accessor period: ::Integer
|
|
1710
1710
|
attr_accessor start_time: ::Time
|
|
1711
1711
|
attr_accessor end_time: ::Time
|
|
@@ -1715,7 +1715,7 @@ module Aws::Lightsail
|
|
|
1715
1715
|
end
|
|
1716
1716
|
|
|
1717
1717
|
class GetInstanceMetricDataResult
|
|
1718
|
-
attr_accessor metric_name: ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "BurstCapacityTime" | "BurstCapacityPercentage" | "MetadataNoToken")
|
|
1718
|
+
attr_accessor metric_name: ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "BurstCapacityTime" | "BurstCapacityPercentage" | "MetadataNoToken" | "DiskReadOps" | "DiskWriteOps" | "DiskReadBytes" | "DiskWriteBytes" | "DiskTotalReadTime" | "DiskTotalWriteTime" | "DiskQueueLength")
|
|
1719
1719
|
attr_accessor metric_data: ::Array[Types::MetricDatapoint]
|
|
1720
1720
|
SENSITIVE: []
|
|
1721
1721
|
end
|
|
@@ -2566,7 +2566,7 @@ module Aws::Lightsail
|
|
|
2566
2566
|
|
|
2567
2567
|
class PutAlarmRequest
|
|
2568
2568
|
attr_accessor alarm_name: ::String
|
|
2569
|
-
attr_accessor metric_name: ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "ClientTLSNegotiationErrorCount" | "HealthyHostCount" | "UnhealthyHostCount" | "HTTPCode_LB_4XX_Count" | "HTTPCode_LB_5XX_Count" | "HTTPCode_Instance_2XX_Count" | "HTTPCode_Instance_3XX_Count" | "HTTPCode_Instance_4XX_Count" | "HTTPCode_Instance_5XX_Count" | "InstanceResponseTime" | "RejectedConnectionCount" | "RequestCount" | "DatabaseConnections" | "DiskQueueDepth" | "FreeStorageSpace" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "FreeableMemory" | "SwapUsage" | "BurstCapacityTime" | "BurstCapacityPercentage")
|
|
2569
|
+
attr_accessor metric_name: ("CPUUtilization" | "NetworkIn" | "NetworkOut" | "StatusCheckFailed" | "StatusCheckFailed_Instance" | "StatusCheckFailed_System" | "ClientTLSNegotiationErrorCount" | "HealthyHostCount" | "UnhealthyHostCount" | "HTTPCode_LB_4XX_Count" | "HTTPCode_LB_5XX_Count" | "HTTPCode_Instance_2XX_Count" | "HTTPCode_Instance_3XX_Count" | "HTTPCode_Instance_4XX_Count" | "HTTPCode_Instance_5XX_Count" | "InstanceResponseTime" | "RejectedConnectionCount" | "RequestCount" | "DatabaseConnections" | "DiskQueueDepth" | "FreeStorageSpace" | "NetworkReceiveThroughput" | "NetworkTransmitThroughput" | "FreeableMemory" | "SwapUsage" | "BurstCapacityTime" | "BurstCapacityPercentage" | "DiskReadOps" | "DiskWriteOps" | "DiskReadBytes" | "DiskWriteBytes" | "DiskTotalReadTime" | "DiskTotalWriteTime" | "DiskQueueLength")
|
|
2570
2570
|
attr_accessor monitored_resource_name: ::String
|
|
2571
2571
|
attr_accessor comparison_operator: ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold")
|
|
2572
2572
|
attr_accessor threshold: ::Float
|
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.140.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.260.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.260.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|