aws-sdk-lightsail 1.31.0 → 1.32.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/lib/aws-sdk-lightsail.rb +1 -1
- data/lib/aws-sdk-lightsail/client.rb +68 -10
- data/lib/aws-sdk-lightsail/types.rb +59 -104
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a4ba815a6cd4b7fa4ac80a89d936dc4d7b2a89761de4022b912a5bad6c9c226e
|
|
4
|
+
data.tar.gz: 665b408318dea8ef635da22a05f76330751bb5444a172d7e58f9f099c6dd3f0b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec499837b6e002a38b02848edc749d46eaec0eff0e644cdfd3715df0a5ff21fa328ef643946d642f9d92a24f8945bba5530165f5236b2488b4cd44ebe301d48a
|
|
7
|
+
data.tar.gz: 5d8d3074bff9d5f5dc9e64b1ed781cdaadfa1720366120c8bdffaeb1cddcdbae5a2f59f437b9854d81b7672e226fa1777fdf26ef18bd201e1f0e00cbc93b6706
|
data/lib/aws-sdk-lightsail.rb
CHANGED
|
@@ -3782,7 +3782,7 @@ module Aws::Lightsail
|
|
|
3782
3782
|
# resp.alarms[0].datapoints_to_alarm #=> Integer
|
|
3783
3783
|
# resp.alarms[0].treat_missing_data #=> String, one of "breaching", "notBreaching", "ignore", "missing"
|
|
3784
3784
|
# resp.alarms[0].statistic #=> String, one of "Minimum", "Maximum", "Sum", "Average", "SampleCount"
|
|
3785
|
-
# 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"
|
|
3785
|
+
# 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", "BurstCapacityTime", "BurstCapacityPercentage"
|
|
3786
3786
|
# resp.alarms[0].state #=> String, one of "OK", "ALARM", "INSUFFICIENT_DATA"
|
|
3787
3787
|
# 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"
|
|
3788
3788
|
# resp.alarms[0].contact_protocols #=> Array
|
|
@@ -4591,6 +4591,11 @@ module Aws::Lightsail
|
|
|
4591
4591
|
# Returns the data points for the specified Amazon Lightsail instance
|
|
4592
4592
|
# metric, given an instance name.
|
|
4593
4593
|
#
|
|
4594
|
+
# Metrics report the utilization of your resources, and the error counts
|
|
4595
|
+
# generated by them. Monitor and collect metric data regularly to
|
|
4596
|
+
# maintain the reliability, availability, and performance of your
|
|
4597
|
+
# resources.
|
|
4598
|
+
#
|
|
4594
4599
|
# @option params [required, String] :instance_name
|
|
4595
4600
|
# The name of the instance for which you want to get metrics data.
|
|
4596
4601
|
#
|
|
@@ -4601,6 +4606,38 @@ module Aws::Lightsail
|
|
|
4601
4606
|
# useful `statistics` to include in your request, and the published
|
|
4602
4607
|
# `unit` value.
|
|
4603
4608
|
#
|
|
4609
|
+
# * <b> <code>BurstCapacityPercentage</code> </b> - The percentage of
|
|
4610
|
+
# CPU performance available for your instance to burst above its
|
|
4611
|
+
# baseline. Your instance continously accrues and consumes burst
|
|
4612
|
+
# capacity. Burst capacity stops accruing when your instance's
|
|
4613
|
+
# `BurstCapacityPercentage` reaches 100%. For more information, see
|
|
4614
|
+
# [Viewing instance burst capacity in Amazon Lightsail][1].
|
|
4615
|
+
#
|
|
4616
|
+
# `Statistics`\: The most useful statistics are `Maximum` and
|
|
4617
|
+
# `Average`.
|
|
4618
|
+
#
|
|
4619
|
+
# `Unit`\: The published unit is `Percent`.
|
|
4620
|
+
#
|
|
4621
|
+
# * <b> <code>BurstCapacityTime</code> </b> - The available amount of
|
|
4622
|
+
# time for your instance to burst at 100% CPU utilization. Your
|
|
4623
|
+
# instance continously accrues and consumes burst capacity. Burst
|
|
4624
|
+
# capacity time stops accruing when your instance's
|
|
4625
|
+
# `BurstCapacityPercentage` metric reaches 100%.
|
|
4626
|
+
#
|
|
4627
|
+
# Burst capacity time is consumed at the full rate only when your
|
|
4628
|
+
# instance operates at 100% CPU utilization. For example, if your
|
|
4629
|
+
# instance operates at 50% CPU utilization in the burstable zone for a
|
|
4630
|
+
# 5-minute period, then it consumes CPU burst capacity minutes at a
|
|
4631
|
+
# 50% rate in that period. Your instance consumed 2 minutes and 30
|
|
4632
|
+
# seconds of CPU burst capacity minutes in the 5-minute period. For
|
|
4633
|
+
# more information, see [Viewing instance burst capacity in Amazon
|
|
4634
|
+
# Lightsail][1].
|
|
4635
|
+
#
|
|
4636
|
+
# `Statistics`\: The most useful statistics are `Maximum` and
|
|
4637
|
+
# `Average`.
|
|
4638
|
+
#
|
|
4639
|
+
# `Unit`\: The published unit is `Seconds`.
|
|
4640
|
+
#
|
|
4604
4641
|
# * <b> <code>CPUUtilization</code> </b> - The percentage of allocated
|
|
4605
4642
|
# compute units that are currently in use on the instance. This metric
|
|
4606
4643
|
# identifies the processing power to run the applications on the
|
|
@@ -4663,6 +4700,10 @@ module Aws::Lightsail
|
|
|
4663
4700
|
#
|
|
4664
4701
|
# `Unit`\: The published unit is `Count`.
|
|
4665
4702
|
#
|
|
4703
|
+
#
|
|
4704
|
+
#
|
|
4705
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-instance-burst-capacity
|
|
4706
|
+
#
|
|
4666
4707
|
# @option params [required, Integer] :period
|
|
4667
4708
|
# The granularity, in seconds, of the returned data points.
|
|
4668
4709
|
#
|
|
@@ -4718,7 +4759,7 @@ module Aws::Lightsail
|
|
|
4718
4759
|
#
|
|
4719
4760
|
# resp = client.get_instance_metric_data({
|
|
4720
4761
|
# instance_name: "ResourceName", # required
|
|
4721
|
-
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System
|
|
4762
|
+
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, BurstCapacityTime, BurstCapacityPercentage
|
|
4722
4763
|
# period: 1, # required
|
|
4723
4764
|
# start_time: Time.now, # required
|
|
4724
4765
|
# end_time: Time.now, # required
|
|
@@ -4728,7 +4769,7 @@ module Aws::Lightsail
|
|
|
4728
4769
|
#
|
|
4729
4770
|
# @example Response structure
|
|
4730
4771
|
#
|
|
4731
|
-
# resp.metric_name #=> String, one of "CPUUtilization", "NetworkIn", "NetworkOut", "StatusCheckFailed", "StatusCheckFailed_Instance", "StatusCheckFailed_System"
|
|
4772
|
+
# resp.metric_name #=> String, one of "CPUUtilization", "NetworkIn", "NetworkOut", "StatusCheckFailed", "StatusCheckFailed_Instance", "StatusCheckFailed_System", "BurstCapacityTime", "BurstCapacityPercentage"
|
|
4732
4773
|
# resp.metric_data #=> Array
|
|
4733
4774
|
# resp.metric_data[0].average #=> Float
|
|
4734
4775
|
# resp.metric_data[0].maximum #=> Float
|
|
@@ -5203,6 +5244,11 @@ module Aws::Lightsail
|
|
|
5203
5244
|
# Returns information about health metrics for your Lightsail load
|
|
5204
5245
|
# balancer.
|
|
5205
5246
|
#
|
|
5247
|
+
# Metrics report the utilization of your resources, and the error counts
|
|
5248
|
+
# generated by them. Monitor and collect metric data regularly to
|
|
5249
|
+
# maintain the reliability, availability, and performance of your
|
|
5250
|
+
# resources.
|
|
5251
|
+
#
|
|
5206
5252
|
# @option params [required, String] :load_balancer_name
|
|
5207
5253
|
# The name of the load balancer.
|
|
5208
5254
|
#
|
|
@@ -5334,7 +5380,7 @@ module Aws::Lightsail
|
|
|
5334
5380
|
#
|
|
5335
5381
|
# @option params [required, String] :unit
|
|
5336
5382
|
# The unit for the metric data request. Valid units depend on the metric
|
|
5337
|
-
# data being
|
|
5383
|
+
# data being requested. For the valid units with each available metric,
|
|
5338
5384
|
# see the `metricName` parameter.
|
|
5339
5385
|
#
|
|
5340
5386
|
# @option params [required, Array<String>] :statistics
|
|
@@ -6111,6 +6157,11 @@ module Aws::Lightsail
|
|
|
6111
6157
|
# Returns the data points of the specified metric for a database in
|
|
6112
6158
|
# Amazon Lightsail.
|
|
6113
6159
|
#
|
|
6160
|
+
# Metrics report the utilization of your resources, and the error counts
|
|
6161
|
+
# generated by them. Monitor and collect metric data regularly to
|
|
6162
|
+
# maintain the reliability, availability, and performance of your
|
|
6163
|
+
# resources.
|
|
6164
|
+
#
|
|
6114
6165
|
# @option params [required, String] :relational_database_name
|
|
6115
6166
|
# The name of your database from which to get metric data.
|
|
6116
6167
|
#
|
|
@@ -6201,7 +6252,7 @@ module Aws::Lightsail
|
|
|
6201
6252
|
#
|
|
6202
6253
|
# @option params [required, String] :unit
|
|
6203
6254
|
# The unit for the metric data request. Valid units depend on the metric
|
|
6204
|
-
# data being
|
|
6255
|
+
# data being requested. For the valid units with each available metric,
|
|
6205
6256
|
# see the `metricName` parameter.
|
|
6206
6257
|
#
|
|
6207
6258
|
# @option params [required, Array<String>] :statistics
|
|
@@ -6764,9 +6815,9 @@ module Aws::Lightsail
|
|
|
6764
6815
|
#
|
|
6765
6816
|
# The following metrics are available for each resource type:
|
|
6766
6817
|
#
|
|
6767
|
-
# * **Instances**\: `
|
|
6768
|
-
# `
|
|
6769
|
-
# `StatusCheckFailed_System`.
|
|
6818
|
+
# * **Instances**\: `BurstCapacityPercentage`, `BurstCapacityTime`,
|
|
6819
|
+
# `CPUUtilization`, `NetworkIn`, `NetworkOut`, `StatusCheckFailed`,
|
|
6820
|
+
# `StatusCheckFailed_Instance`, and `StatusCheckFailed_System`.
|
|
6770
6821
|
#
|
|
6771
6822
|
# * **Load balancers**\: `ClientTLSNegotiationErrorCount`,
|
|
6772
6823
|
# `HealthyHostCount`, `UnhealthyHostCount`, `HTTPCode_LB_4XX_Count`,
|
|
@@ -6779,6 +6830,13 @@ module Aws::Lightsail
|
|
|
6779
6830
|
# `DiskQueueDepth`, `FreeStorageSpace`, `NetworkReceiveThroughput`,
|
|
6780
6831
|
# and `NetworkTransmitThroughput`.
|
|
6781
6832
|
#
|
|
6833
|
+
# For more information about these metrics, see [Metrics available in
|
|
6834
|
+
# Lightsail][1].
|
|
6835
|
+
#
|
|
6836
|
+
#
|
|
6837
|
+
#
|
|
6838
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-resource-health-metrics#available-metrics
|
|
6839
|
+
#
|
|
6782
6840
|
# @option params [required, String] :monitored_resource_name
|
|
6783
6841
|
# The name of the Lightsail resource that will be monitored.
|
|
6784
6842
|
#
|
|
@@ -6894,7 +6952,7 @@ module Aws::Lightsail
|
|
|
6894
6952
|
#
|
|
6895
6953
|
# resp = client.put_alarm({
|
|
6896
6954
|
# alarm_name: "ResourceName", # required
|
|
6897
|
-
# 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
|
|
6955
|
+
# 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, BurstCapacityTime, BurstCapacityPercentage
|
|
6898
6956
|
# monitored_resource_name: "ResourceName", # required
|
|
6899
6957
|
# comparison_operator: "GreaterThanOrEqualToThreshold", # required, accepts GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold
|
|
6900
6958
|
# threshold: 1.0, # required
|
|
@@ -8016,7 +8074,7 @@ module Aws::Lightsail
|
|
|
8016
8074
|
params: params,
|
|
8017
8075
|
config: config)
|
|
8018
8076
|
context[:gem_name] = 'aws-sdk-lightsail'
|
|
8019
|
-
context[:gem_version] = '1.
|
|
8077
|
+
context[:gem_version] = '1.32.0'
|
|
8020
8078
|
Seahorse::Client::Request.new(handlers, context)
|
|
8021
8079
|
end
|
|
8022
8080
|
|
|
@@ -718,7 +718,7 @@ module Aws::Lightsail
|
|
|
718
718
|
# private server (or *instance*).
|
|
719
719
|
#
|
|
720
720
|
# @!attribute [rw] price
|
|
721
|
-
# The price in US dollars (e.g., `5.0`).
|
|
721
|
+
# The price in US dollars (e.g., `5.0`) of the bundle.
|
|
722
722
|
# @return [Float]
|
|
723
723
|
#
|
|
724
724
|
# @!attribute [rw] cpu_count
|
|
@@ -4628,7 +4628,7 @@ module Aws::Lightsail
|
|
|
4628
4628
|
#
|
|
4629
4629
|
# {
|
|
4630
4630
|
# instance_name: "ResourceName", # required
|
|
4631
|
-
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System
|
|
4631
|
+
# metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, BurstCapacityTime, BurstCapacityPercentage
|
|
4632
4632
|
# period: 1, # required
|
|
4633
4633
|
# start_time: Time.now, # required
|
|
4634
4634
|
# end_time: Time.now, # required
|
|
@@ -4647,6 +4647,38 @@ module Aws::Lightsail
|
|
|
4647
4647
|
# useful `statistics` to include in your request, and the published
|
|
4648
4648
|
# `unit` value.
|
|
4649
4649
|
#
|
|
4650
|
+
# * <b> <code>BurstCapacityPercentage</code> </b> - The percentage of
|
|
4651
|
+
# CPU performance available for your instance to burst above its
|
|
4652
|
+
# baseline. Your instance continously accrues and consumes burst
|
|
4653
|
+
# capacity. Burst capacity stops accruing when your instance's
|
|
4654
|
+
# `BurstCapacityPercentage` reaches 100%. For more information, see
|
|
4655
|
+
# [Viewing instance burst capacity in Amazon Lightsail][1].
|
|
4656
|
+
#
|
|
4657
|
+
# `Statistics`\: The most useful statistics are `Maximum` and
|
|
4658
|
+
# `Average`.
|
|
4659
|
+
#
|
|
4660
|
+
# `Unit`\: The published unit is `Percent`.
|
|
4661
|
+
#
|
|
4662
|
+
# * <b> <code>BurstCapacityTime</code> </b> - The available amount of
|
|
4663
|
+
# time for your instance to burst at 100% CPU utilization. Your
|
|
4664
|
+
# instance continously accrues and consumes burst capacity. Burst
|
|
4665
|
+
# capacity time stops accruing when your instance's
|
|
4666
|
+
# `BurstCapacityPercentage` metric reaches 100%.
|
|
4667
|
+
#
|
|
4668
|
+
# Burst capacity time is consumed at the full rate only when your
|
|
4669
|
+
# instance operates at 100% CPU utilization. For example, if your
|
|
4670
|
+
# instance operates at 50% CPU utilization in the burstable zone for
|
|
4671
|
+
# a 5-minute period, then it consumes CPU burst capacity minutes at
|
|
4672
|
+
# a 50% rate in that period. Your instance consumed 2 minutes and 30
|
|
4673
|
+
# seconds of CPU burst capacity minutes in the 5-minute period. For
|
|
4674
|
+
# more information, see [Viewing instance burst capacity in Amazon
|
|
4675
|
+
# Lightsail][1].
|
|
4676
|
+
#
|
|
4677
|
+
# `Statistics`\: The most useful statistics are `Maximum` and
|
|
4678
|
+
# `Average`.
|
|
4679
|
+
#
|
|
4680
|
+
# `Unit`\: The published unit is `Seconds`.
|
|
4681
|
+
#
|
|
4650
4682
|
# * <b> <code>CPUUtilization</code> </b> - The percentage of allocated
|
|
4651
4683
|
# compute units that are currently in use on the instance. This
|
|
4652
4684
|
# metric identifies the processing power to run the applications on
|
|
@@ -4708,6 +4740,10 @@ module Aws::Lightsail
|
|
|
4708
4740
|
# `Statistics`\: The most useful statistic is `Sum`.
|
|
4709
4741
|
#
|
|
4710
4742
|
# `Unit`\: The published unit is `Count`.
|
|
4743
|
+
#
|
|
4744
|
+
#
|
|
4745
|
+
#
|
|
4746
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-instance-burst-capacity
|
|
4711
4747
|
# @return [String]
|
|
4712
4748
|
#
|
|
4713
4749
|
# @!attribute [rw] period
|
|
@@ -4775,12 +4811,11 @@ module Aws::Lightsail
|
|
|
4775
4811
|
end
|
|
4776
4812
|
|
|
4777
4813
|
# @!attribute [rw] metric_name
|
|
4778
|
-
# The
|
|
4814
|
+
# The name of the metric returned.
|
|
4779
4815
|
# @return [String]
|
|
4780
4816
|
#
|
|
4781
4817
|
# @!attribute [rw] metric_data
|
|
4782
|
-
# An array of
|
|
4783
|
-
# of your get instance metric data request.
|
|
4818
|
+
# An array of objects that describe the metric data returned.
|
|
4784
4819
|
# @return [Array<Types::MetricDatapoint>]
|
|
4785
4820
|
#
|
|
4786
4821
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricDataResult AWS API Documentation
|
|
@@ -5236,7 +5271,7 @@ module Aws::Lightsail
|
|
|
5236
5271
|
#
|
|
5237
5272
|
# @!attribute [rw] unit
|
|
5238
5273
|
# The unit for the metric data request. Valid units depend on the
|
|
5239
|
-
# metric data being
|
|
5274
|
+
# metric data being requested. For the valid units with each available
|
|
5240
5275
|
# metric, see the `metricName` parameter.
|
|
5241
5276
|
# @return [String]
|
|
5242
5277
|
#
|
|
@@ -5282,98 +5317,11 @@ module Aws::Lightsail
|
|
|
5282
5317
|
end
|
|
5283
5318
|
|
|
5284
5319
|
# @!attribute [rw] metric_name
|
|
5285
|
-
# The
|
|
5286
|
-
# are listed below, along with the most useful `statistics` to include
|
|
5287
|
-
# in your request.
|
|
5288
|
-
#
|
|
5289
|
-
# * <b> <code>ClientTLSNegotiationErrorCount</code> </b> - The number
|
|
5290
|
-
# of TLS connections initiated by the client that did not establish
|
|
5291
|
-
# a session with the load balancer. Possible causes include a
|
|
5292
|
-
# mismatch of ciphers or protocols.
|
|
5293
|
-
#
|
|
5294
|
-
# `Statistics`\: The most useful statistic is `Sum`.
|
|
5295
|
-
#
|
|
5296
|
-
# * <b> <code>HealthyHostCount</code> </b> - The number of target
|
|
5297
|
-
# instances that are considered healthy.
|
|
5298
|
-
#
|
|
5299
|
-
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
|
5300
|
-
# and `Maximum`.
|
|
5301
|
-
#
|
|
5302
|
-
# * <b> <code>UnhealthyHostCount</code> </b> - The number of target
|
|
5303
|
-
# instances that are considered unhealthy.
|
|
5304
|
-
#
|
|
5305
|
-
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
|
5306
|
-
# and `Maximum`.
|
|
5307
|
-
#
|
|
5308
|
-
# * <b> <code>HTTPCode_LB_4XX_Count</code> </b> - The number of HTTP
|
|
5309
|
-
# 4XX client error codes that originate from the load balancer.
|
|
5310
|
-
# Client errors are generated when requests are malformed or
|
|
5311
|
-
# incomplete. These requests have not been received by the target
|
|
5312
|
-
# instance. This count does not include any response codes generated
|
|
5313
|
-
# by the target instances.
|
|
5314
|
-
#
|
|
5315
|
-
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
|
5316
|
-
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
|
5317
|
-
#
|
|
5318
|
-
# * <b> <code>HTTPCode_LB_5XX_Count</code> </b> - The number of HTTP
|
|
5319
|
-
# 5XX server error codes that originate from the load balancer. This
|
|
5320
|
-
# count does not include any response codes generated by the target
|
|
5321
|
-
# instances.
|
|
5322
|
-
#
|
|
5323
|
-
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
|
5324
|
-
# `Minimum`, `Maximum`, and `Average` all return `1`. Note that
|
|
5325
|
-
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
|
5326
|
-
#
|
|
5327
|
-
# * <b> <code>HTTPCode_Instance_2XX_Count</code> </b> - The number of
|
|
5328
|
-
# HTTP response codes generated by the target instances. This does
|
|
5329
|
-
# not include any response codes generated by the load balancer.
|
|
5330
|
-
#
|
|
5331
|
-
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
|
5332
|
-
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
|
5333
|
-
#
|
|
5334
|
-
# * <b> <code>HTTPCode_Instance_3XX_Count</code> </b> - The number of
|
|
5335
|
-
# HTTP response codes generated by the target instances. This does
|
|
5336
|
-
# not include any response codes generated by the load balancer.
|
|
5337
|
-
#
|
|
5338
|
-
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
|
5339
|
-
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
|
5340
|
-
#
|
|
5341
|
-
# * <b> <code>HTTPCode_Instance_4XX_Count</code> </b> - The number of
|
|
5342
|
-
# HTTP response codes generated by the target instances. This does
|
|
5343
|
-
# not include any response codes generated by the load balancer.
|
|
5344
|
-
#
|
|
5345
|
-
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
|
5346
|
-
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
|
5347
|
-
#
|
|
5348
|
-
# * <b> <code>HTTPCode_Instance_5XX_Count</code> </b> - The number of
|
|
5349
|
-
# HTTP response codes generated by the target instances. This does
|
|
5350
|
-
# not include any response codes generated by the load balancer.
|
|
5351
|
-
#
|
|
5352
|
-
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
|
5353
|
-
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
|
5354
|
-
#
|
|
5355
|
-
# * <b> <code>InstanceResponseTime</code> </b> - The time elapsed, in
|
|
5356
|
-
# seconds, after the request leaves the load balancer until a
|
|
5357
|
-
# response from the target instance is received.
|
|
5358
|
-
#
|
|
5359
|
-
# `Statistics`\: The most useful statistic is `Average`.
|
|
5360
|
-
#
|
|
5361
|
-
# * <b> <code>RejectedConnectionCount</code> </b> - The number of
|
|
5362
|
-
# connections that were rejected because the load balancer had
|
|
5363
|
-
# reached its maximum number of connections.
|
|
5364
|
-
#
|
|
5365
|
-
# `Statistics`\: The most useful statistic is `Sum`.
|
|
5366
|
-
#
|
|
5367
|
-
# * <b> <code>RequestCount</code> </b> - The number of requests
|
|
5368
|
-
# processed over IPv4. This count includes only the requests with a
|
|
5369
|
-
# response generated by a target instance of the load balancer.
|
|
5370
|
-
#
|
|
5371
|
-
# `Statistics`\: The most useful statistic is `Sum`. Note that
|
|
5372
|
-
# `Minimum`, `Maximum`, and `Average` all return `1`.
|
|
5320
|
+
# The name of the metric returned.
|
|
5373
5321
|
# @return [String]
|
|
5374
5322
|
#
|
|
5375
5323
|
# @!attribute [rw] metric_data
|
|
5376
|
-
# An array of metric
|
|
5324
|
+
# An array of objects that describe the metric data returned.
|
|
5377
5325
|
# @return [Array<Types::MetricDatapoint>]
|
|
5378
5326
|
#
|
|
5379
5327
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricDataResult AWS API Documentation
|
|
@@ -6127,7 +6075,7 @@ module Aws::Lightsail
|
|
|
6127
6075
|
#
|
|
6128
6076
|
# @!attribute [rw] unit
|
|
6129
6077
|
# The unit for the metric data request. Valid units depend on the
|
|
6130
|
-
# metric data being
|
|
6078
|
+
# metric data being requested. For the valid units with each available
|
|
6131
6079
|
# metric, see the `metricName` parameter.
|
|
6132
6080
|
# @return [String]
|
|
6133
6081
|
#
|
|
@@ -6173,12 +6121,11 @@ module Aws::Lightsail
|
|
|
6173
6121
|
end
|
|
6174
6122
|
|
|
6175
6123
|
# @!attribute [rw] metric_name
|
|
6176
|
-
# The name of the metric.
|
|
6124
|
+
# The name of the metric returned.
|
|
6177
6125
|
# @return [String]
|
|
6178
6126
|
#
|
|
6179
6127
|
# @!attribute [rw] metric_data
|
|
6180
|
-
# An
|
|
6181
|
-
# metric data request.
|
|
6128
|
+
# An array of objects that describe the metric data returned.
|
|
6182
6129
|
# @return [Array<Types::MetricDatapoint>]
|
|
6183
6130
|
#
|
|
6184
6131
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMetricDataResult AWS API Documentation
|
|
@@ -7683,7 +7630,8 @@ module Aws::Lightsail
|
|
|
7683
7630
|
# @return [Boolean]
|
|
7684
7631
|
#
|
|
7685
7632
|
# @!attribute [rw] status
|
|
7686
|
-
# The status of the SSL/TLS certificate. Valid values are
|
|
7633
|
+
# The validation status of the SSL/TLS certificate. Valid values are
|
|
7634
|
+
# below.
|
|
7687
7635
|
# @return [String]
|
|
7688
7636
|
#
|
|
7689
7637
|
# @!attribute [rw] domain_name
|
|
@@ -8390,7 +8338,7 @@ module Aws::Lightsail
|
|
|
8390
8338
|
#
|
|
8391
8339
|
# {
|
|
8392
8340
|
# alarm_name: "ResourceName", # required
|
|
8393
|
-
# 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
|
|
8341
|
+
# 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, BurstCapacityTime, BurstCapacityPercentage
|
|
8394
8342
|
# monitored_resource_name: "ResourceName", # required
|
|
8395
8343
|
# comparison_operator: "GreaterThanOrEqualToThreshold", # required, accepts GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold
|
|
8396
8344
|
# threshold: 1.0, # required
|
|
@@ -8414,9 +8362,9 @@ module Aws::Lightsail
|
|
|
8414
8362
|
#
|
|
8415
8363
|
# The following metrics are available for each resource type:
|
|
8416
8364
|
#
|
|
8417
|
-
# * **Instances**\: `
|
|
8418
|
-
# `
|
|
8419
|
-
# `StatusCheckFailed_System`.
|
|
8365
|
+
# * **Instances**\: `BurstCapacityPercentage`, `BurstCapacityTime`,
|
|
8366
|
+
# `CPUUtilization`, `NetworkIn`, `NetworkOut`, `StatusCheckFailed`,
|
|
8367
|
+
# `StatusCheckFailed_Instance`, and `StatusCheckFailed_System`.
|
|
8420
8368
|
#
|
|
8421
8369
|
# * **Load balancers**\: `ClientTLSNegotiationErrorCount`,
|
|
8422
8370
|
# `HealthyHostCount`, `UnhealthyHostCount`, `HTTPCode_LB_4XX_Count`,
|
|
@@ -8428,6 +8376,13 @@ module Aws::Lightsail
|
|
|
8428
8376
|
# * **Relational databases**\: `CPUUtilization`,
|
|
8429
8377
|
# `DatabaseConnections`, `DiskQueueDepth`, `FreeStorageSpace`,
|
|
8430
8378
|
# `NetworkReceiveThroughput`, and `NetworkTransmitThroughput`.
|
|
8379
|
+
#
|
|
8380
|
+
# For more information about these metrics, see [Metrics available in
|
|
8381
|
+
# Lightsail][1].
|
|
8382
|
+
#
|
|
8383
|
+
#
|
|
8384
|
+
#
|
|
8385
|
+
# [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-resource-health-metrics#available-metrics
|
|
8431
8386
|
# @return [String]
|
|
8432
8387
|
#
|
|
8433
8388
|
# @!attribute [rw] monitored_resource_name
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.32.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-06-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|