aws-sdk-lightsail 1.139.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lightsail/client.rb +75 -6
- data/lib/aws-sdk-lightsail/types.rb +73 -1
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/sig/client.rbs +3 -3
- 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
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.140.0
|
|
@@ -5604,7 +5604,7 @@ module Aws::Lightsail
|
|
|
5604
5604
|
# resp.alarms[0].datapoints_to_alarm #=> Integer
|
|
5605
5605
|
# resp.alarms[0].treat_missing_data #=> String, one of "breaching", "notBreaching", "ignore", "missing"
|
|
5606
5606
|
# resp.alarms[0].statistic #=> String, one of "Minimum", "Maximum", "Sum", "Average", "SampleCount"
|
|
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"
|
|
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"
|
|
5608
5608
|
# resp.alarms[0].state #=> String, one of "OK", "ALARM", "INSUFFICIENT_DATA"
|
|
5609
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"
|
|
5610
5610
|
# resp.alarms[0].contact_protocols #=> Array
|
|
@@ -7958,9 +7958,76 @@ module Aws::Lightsail
|
|
|
7958
7958
|
#
|
|
7959
7959
|
# `Unit`: The published unit is `Count`.
|
|
7960
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
|
+
#
|
|
7961
8027
|
#
|
|
7962
8028
|
#
|
|
7963
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
|
|
7964
8031
|
#
|
|
7965
8032
|
# @option params [required, Integer] :period
|
|
7966
8033
|
# The granularity, in seconds, of the returned data points.
|
|
@@ -8017,7 +8084,7 @@ module Aws::Lightsail
|
|
|
8017
8084
|
#
|
|
8018
8085
|
# resp = client.get_instance_metric_data({
|
|
8019
8086
|
# instance_name: "ResourceName", # required
|
|
8020
|
-
# 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
|
|
8021
8088
|
# period: 1, # required
|
|
8022
8089
|
# start_time: Time.now, # required
|
|
8023
8090
|
# end_time: Time.now, # required
|
|
@@ -8027,7 +8094,7 @@ module Aws::Lightsail
|
|
|
8027
8094
|
#
|
|
8028
8095
|
# @example Response structure
|
|
8029
8096
|
#
|
|
8030
|
-
# 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"
|
|
8031
8098
|
# resp.metric_data #=> Array
|
|
8032
8099
|
# resp.metric_data[0].average #=> Float
|
|
8033
8100
|
# resp.metric_data[0].maximum #=> Float
|
|
@@ -10256,7 +10323,9 @@ module Aws::Lightsail
|
|
|
10256
10323
|
#
|
|
10257
10324
|
# * **Instances**: `BurstCapacityPercentage`, `BurstCapacityTime`,
|
|
10258
10325
|
# `CPUUtilization`, `NetworkIn`, `NetworkOut`, `StatusCheckFailed`,
|
|
10259
|
-
# `StatusCheckFailed_Instance`,
|
|
10326
|
+
# `StatusCheckFailed_Instance`, `StatusCheckFailed_System`,
|
|
10327
|
+
# `DiskReadOps`, `DiskWriteOps`, `DiskReadBytes`, `DiskWriteBytes`,
|
|
10328
|
+
# `DiskTotalReadTime`, `DiskTotalWriteTime`, and `DiskQueueLength`.
|
|
10260
10329
|
#
|
|
10261
10330
|
# * **Load balancers**: `ClientTLSNegotiationErrorCount`,
|
|
10262
10331
|
# `HealthyHostCount`, `UnhealthyHostCount`, `HTTPCode_LB_4XX_Count`,
|
|
@@ -10396,7 +10465,7 @@ module Aws::Lightsail
|
|
|
10396
10465
|
#
|
|
10397
10466
|
# resp = client.put_alarm({
|
|
10398
10467
|
# alarm_name: "ResourceName", # required
|
|
10399
|
-
# 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
|
|
10400
10469
|
# monitored_resource_name: "ResourceName", # required
|
|
10401
10470
|
# comparison_operator: "GreaterThanOrEqualToThreshold", # required, accepts GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold
|
|
10402
10471
|
# threshold: 1.0, # required
|
|
@@ -12728,7 +12797,7 @@ module Aws::Lightsail
|
|
|
12728
12797
|
tracer: tracer
|
|
12729
12798
|
)
|
|
12730
12799
|
context[:gem_name] = 'aws-sdk-lightsail'
|
|
12731
|
-
context[:gem_version] = '1.
|
|
12800
|
+
context[:gem_version] = '1.140.0'
|
|
12732
12801
|
Seahorse::Client::Request.new(handlers, context)
|
|
12733
12802
|
end
|
|
12734
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
|
@@ -1363,13 +1363,13 @@ module Aws
|
|
|
1363
1363
|
|
|
1364
1364
|
interface _GetInstanceMetricDataResponseSuccess
|
|
1365
1365
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetInstanceMetricDataResult]
|
|
1366
|
-
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")
|
|
1367
1367
|
def metric_data: () -> ::Array[Types::MetricDatapoint]
|
|
1368
1368
|
end
|
|
1369
1369
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#get_instance_metric_data-instance_method
|
|
1370
1370
|
def get_instance_metric_data: (
|
|
1371
1371
|
instance_name: ::String,
|
|
1372
|
-
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"),
|
|
1373
1373
|
period: ::Integer,
|
|
1374
1374
|
start_time: ::Time,
|
|
1375
1375
|
end_time: ::Time,
|
|
@@ -1792,7 +1792,7 @@ module Aws
|
|
|
1792
1792
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lightsail/Client.html#put_alarm-instance_method
|
|
1793
1793
|
def put_alarm: (
|
|
1794
1794
|
alarm_name: ::String,
|
|
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"),
|
|
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"),
|
|
1796
1796
|
monitored_resource_name: ::String,
|
|
1797
1797
|
comparison_operator: ("GreaterThanOrEqualToThreshold" | "GreaterThanThreshold" | "LessThanThreshold" | "LessThanOrEqualToThreshold"),
|
|
1798
1798
|
threshold: ::Float,
|
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
|