aws-sdk-lightsail 1.29.0 → 1.30.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-lightsail.rb +1 -1
- data/lib/aws-sdk-lightsail/client.rb +133 -105
- data/lib/aws-sdk-lightsail/client_api.rb +6 -0
- data/lib/aws-sdk-lightsail/resource.rb +1 -7
- data/lib/aws-sdk-lightsail/types.rb +415 -177
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 5fdb9d3952b6ecda6620d4a010a95dcb8f06c05816eb434a081b20c0b49aacd4
|
4
|
+
data.tar.gz: 83f02fb795c6a5a3d3440c66cc0319d1314e1802737524c7977e29f82a659334
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fbbc0f233dcf739ca9e296fd9ed495f6e1f9da01369b3c0f8a496a9da1cc244c21023cbb544e252d8269feb15224df94ddfb988b63b90b968f1a2e2034675ff
|
7
|
+
data.tar.gz: ab85ef661178c6e4e28382ffdb7bc3ebf5962d1884872785d20680630762edef347e141b23aa57a9a095f70b575e70a109bd01f068097ee8d1ded03242cac318
|
data/lib/aws-sdk-lightsail.rb
CHANGED
@@ -32,11 +32,11 @@ Aws::Plugins::GlobalConfiguration.add_identifier(:lightsail)
|
|
32
32
|
module Aws::Lightsail
|
33
33
|
# An API client for Lightsail. To construct a client, you need to configure a `:region` and `:credentials`.
|
34
34
|
#
|
35
|
-
#
|
36
|
-
#
|
37
|
-
#
|
38
|
-
#
|
39
|
-
#
|
35
|
+
# client = Aws::Lightsail::Client.new(
|
36
|
+
# region: region_name,
|
37
|
+
# credentials: credentials,
|
38
|
+
# # ...
|
39
|
+
# )
|
40
40
|
#
|
41
41
|
# For details on configuring region and credentials see
|
42
42
|
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
@@ -105,7 +105,7 @@ module Aws::Lightsail
|
|
105
105
|
# @option options [required, String] :region
|
106
106
|
# The AWS region to connect to. The configured `:region` is
|
107
107
|
# used to determine the service `:endpoint`. When not passed,
|
108
|
-
# a default `:region` is
|
108
|
+
# a default `:region` is searched for in the following locations:
|
109
109
|
#
|
110
110
|
# * `Aws.config[:region]`
|
111
111
|
# * `ENV['AWS_REGION']`
|
@@ -161,7 +161,7 @@ module Aws::Lightsail
|
|
161
161
|
# @option options [String] :endpoint
|
162
162
|
# The client endpoint is normally constructed from the `:region`
|
163
163
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be
|
164
|
+
# to test endpoints. This should be a valid HTTP(S) URI.
|
165
165
|
#
|
166
166
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
167
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -229,15 +229,19 @@ module Aws::Lightsail
|
|
229
229
|
#
|
230
230
|
# @option options [String] :retry_mode ("legacy")
|
231
231
|
# Specifies which retry algorithm to use. Values are:
|
232
|
-
#
|
233
|
-
#
|
234
|
-
#
|
235
|
-
#
|
236
|
-
#
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
232
|
+
#
|
233
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
234
|
+
# no retry mode is provided.
|
235
|
+
#
|
236
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
237
|
+
# This includes support for retry quotas, which limit the number of
|
238
|
+
# unsuccessful retries a client can make.
|
239
|
+
#
|
240
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
241
|
+
# functionality of `standard` mode along with automatic client side
|
242
|
+
# throttling. This is a provisional mode that may change behavior
|
243
|
+
# in the future.
|
244
|
+
#
|
241
245
|
#
|
242
246
|
# @option options [String] :secret_access_key
|
243
247
|
#
|
@@ -275,8 +279,7 @@ module Aws::Lightsail
|
|
275
279
|
#
|
276
280
|
# @option options [Integer] :http_read_timeout (60) The default
|
277
281
|
# number of seconds to wait for response data. This value can
|
278
|
-
# safely be set
|
279
|
-
# per-request on the session yielded by {#session_for}.
|
282
|
+
# safely be set per-request on the session.
|
280
283
|
#
|
281
284
|
# @option options [Float] :http_idle_timeout (5) The number of
|
282
285
|
# seconds a connection is allowed to sit idle before it is
|
@@ -288,7 +291,7 @@ module Aws::Lightsail
|
|
288
291
|
# request body. This option has no effect unless the request has
|
289
292
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
290
293
|
# disables this behaviour. This value can safely be set per
|
291
|
-
# request on the session
|
294
|
+
# request on the session.
|
292
295
|
#
|
293
296
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
294
297
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -589,11 +592,11 @@ module Aws::Lightsail
|
|
589
592
|
req.send_request(options)
|
590
593
|
end
|
591
594
|
|
592
|
-
# Closes
|
595
|
+
# Closes ports for a specific Amazon Lightsail instance.
|
593
596
|
#
|
594
|
-
# The `
|
597
|
+
# The `CloseInstancePublicPorts` action supports tag-based access
|
595
598
|
# control via resource tags applied to the resource identified by
|
596
|
-
# `
|
599
|
+
# `instanceName`. For more information, see the [Lightsail Dev
|
597
600
|
# Guide][1].
|
598
601
|
#
|
599
602
|
#
|
@@ -601,11 +604,10 @@ module Aws::Lightsail
|
|
601
604
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
|
602
605
|
#
|
603
606
|
# @option params [required, Types::PortInfo] :port_info
|
604
|
-
#
|
607
|
+
# An object to describe the ports to close for the specified instance.
|
605
608
|
#
|
606
609
|
# @option params [required, String] :instance_name
|
607
|
-
# The name of the instance
|
608
|
-
# public ports.
|
610
|
+
# The name of the instance for which to close ports.
|
609
611
|
#
|
610
612
|
# @return [Types::CloseInstancePublicPortsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
611
613
|
#
|
@@ -617,7 +619,9 @@ module Aws::Lightsail
|
|
617
619
|
# port_info: { # required
|
618
620
|
# from_port: 1,
|
619
621
|
# to_port: 1,
|
620
|
-
# protocol: "tcp", # accepts tcp, all, udp
|
622
|
+
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
623
|
+
# cidrs: ["string"],
|
624
|
+
# cidr_list_aliases: ["string"],
|
621
625
|
# },
|
622
626
|
# instance_name: "ResourceName", # required
|
623
627
|
# })
|
@@ -889,7 +893,7 @@ module Aws::Lightsail
|
|
889
893
|
# maximum of 15 digits, and they are prefixed with the plus character
|
890
894
|
# (+) and the country code. For example, a U.S. phone number in E.164
|
891
895
|
# format would be specified as +1XXX5550100. For more information, see
|
892
|
-
# [E.164][1]
|
896
|
+
# [E.164][1] on *Wikipedia*.
|
893
897
|
#
|
894
898
|
#
|
895
899
|
#
|
@@ -4502,11 +4506,15 @@ module Aws::Lightsail
|
|
4502
4506
|
# resp.instance.networking.ports #=> Array
|
4503
4507
|
# resp.instance.networking.ports[0].from_port #=> Integer
|
4504
4508
|
# resp.instance.networking.ports[0].to_port #=> Integer
|
4505
|
-
# resp.instance.networking.ports[0].protocol #=> String, one of "tcp", "all", "udp"
|
4509
|
+
# resp.instance.networking.ports[0].protocol #=> String, one of "tcp", "all", "udp", "icmp"
|
4506
4510
|
# resp.instance.networking.ports[0].access_from #=> String
|
4507
4511
|
# resp.instance.networking.ports[0].access_type #=> String, one of "Public", "Private"
|
4508
4512
|
# resp.instance.networking.ports[0].common_name #=> String
|
4509
4513
|
# resp.instance.networking.ports[0].access_direction #=> String, one of "inbound", "outbound"
|
4514
|
+
# resp.instance.networking.ports[0].cidrs #=> Array
|
4515
|
+
# resp.instance.networking.ports[0].cidrs[0] #=> String
|
4516
|
+
# resp.instance.networking.ports[0].cidr_list_aliases #=> Array
|
4517
|
+
# resp.instance.networking.ports[0].cidr_list_aliases[0] #=> String
|
4510
4518
|
# resp.instance.state.code #=> Integer
|
4511
4519
|
# resp.instance.state.name #=> String
|
4512
4520
|
# resp.instance.username #=> String
|
@@ -4593,7 +4601,7 @@ module Aws::Lightsail
|
|
4593
4601
|
# useful `statistics` to include in your request, and the published
|
4594
4602
|
# `unit` value.
|
4595
4603
|
#
|
4596
|
-
# * <b> <code>CPUUtilization</code> </b>
|
4604
|
+
# * <b> <code>CPUUtilization</code> </b> - The percentage of allocated
|
4597
4605
|
# compute units that are currently in use on the instance. This metric
|
4598
4606
|
# identifies the processing power to run the applications on the
|
4599
4607
|
# instance. Tools in your operating system can show a lower percentage
|
@@ -4605,7 +4613,7 @@ module Aws::Lightsail
|
|
4605
4613
|
#
|
4606
4614
|
# `Unit`\: The published unit is `Percent`.
|
4607
4615
|
#
|
4608
|
-
# * <b> <code>NetworkIn</code> </b>
|
4616
|
+
# * <b> <code>NetworkIn</code> </b> - The number of bytes received on
|
4609
4617
|
# all network interfaces by the instance. This metric identifies the
|
4610
4618
|
# volume of incoming network traffic to the instance. The number
|
4611
4619
|
# reported is the number of bytes received during the period. Because
|
@@ -4616,7 +4624,7 @@ module Aws::Lightsail
|
|
4616
4624
|
#
|
4617
4625
|
# `Unit`\: The published unit is `Bytes`.
|
4618
4626
|
#
|
4619
|
-
# * <b> <code>NetworkOut</code> </b>
|
4627
|
+
# * <b> <code>NetworkOut</code> </b> - The number of bytes sent out on
|
4620
4628
|
# all network interfaces by the instance. This metric identifies the
|
4621
4629
|
# volume of outgoing network traffic from the instance. The number
|
4622
4630
|
# reported is the number of bytes sent during the period. Because this
|
@@ -4627,7 +4635,7 @@ module Aws::Lightsail
|
|
4627
4635
|
#
|
4628
4636
|
# `Unit`\: The published unit is `Bytes`.
|
4629
4637
|
#
|
4630
|
-
# * <b> <code>StatusCheckFailed</code> </b>
|
4638
|
+
# * <b> <code>StatusCheckFailed</code> </b> - Reports whether the
|
4631
4639
|
# instance passed or failed both the instance status check and the
|
4632
4640
|
# system status check. This metric can be either 0 (passed) or 1
|
4633
4641
|
# (failed). This metric data is available in 1-minute (60 seconds)
|
@@ -4637,7 +4645,7 @@ module Aws::Lightsail
|
|
4637
4645
|
#
|
4638
4646
|
# `Unit`\: The published unit is `Count`.
|
4639
4647
|
#
|
4640
|
-
# * <b> <code>StatusCheckFailed_Instance</code> </b>
|
4648
|
+
# * <b> <code>StatusCheckFailed_Instance</code> </b> - Reports whether
|
4641
4649
|
# the instance passed or failed the instance status check. This metric
|
4642
4650
|
# can be either 0 (passed) or 1 (failed). This metric data is
|
4643
4651
|
# available in 1-minute (60 seconds) granularity.
|
@@ -4646,7 +4654,7 @@ module Aws::Lightsail
|
|
4646
4654
|
#
|
4647
4655
|
# `Unit`\: The published unit is `Count`.
|
4648
4656
|
#
|
4649
|
-
# * <b> <code>StatusCheckFailed_System</code> </b>
|
4657
|
+
# * <b> <code>StatusCheckFailed_System</code> </b> - Reports whether the
|
4650
4658
|
# instance passed or failed the system status check. This metric can
|
4651
4659
|
# be either 0 (passed) or 1 (failed). This metric data is available in
|
4652
4660
|
# 1-minute (60 seconds) granularity.
|
@@ -4671,34 +4679,34 @@ module Aws::Lightsail
|
|
4671
4679
|
#
|
4672
4680
|
# @option params [required, String] :unit
|
4673
4681
|
# The unit for the metric data request. Valid units depend on the metric
|
4674
|
-
# data being
|
4675
|
-
# see the `metricName` parameter.
|
4682
|
+
# data being requested. For the valid units to specify with each
|
4683
|
+
# available metric, see the `metricName` parameter.
|
4676
4684
|
#
|
4677
4685
|
# @option params [required, Array<String>] :statistics
|
4678
4686
|
# The statistic for the metric.
|
4679
4687
|
#
|
4680
4688
|
# The following statistics are available:
|
4681
4689
|
#
|
4682
|
-
# * `Minimum`
|
4690
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
4683
4691
|
# Use this value to determine low volumes of activity for your
|
4684
4692
|
# application.
|
4685
4693
|
#
|
4686
|
-
# * `Maximum`
|
4694
|
+
# * `Maximum` - The highest value observed during the specified period.
|
4687
4695
|
# Use this value to determine high volumes of activity for your
|
4688
4696
|
# application.
|
4689
4697
|
#
|
4690
|
-
# * `Sum`
|
4698
|
+
# * `Sum` - All values submitted for the matching metric added together.
|
4691
4699
|
# You can use this statistic to determine the total volume of a
|
4692
4700
|
# metric.
|
4693
4701
|
#
|
4694
|
-
# * `Average`
|
4702
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
4695
4703
|
# period. By comparing this statistic with the Minimum and Maximum
|
4696
4704
|
# values, you can determine the full scope of a metric and how close
|
4697
4705
|
# the average use is to the Minimum and Maximum values. This
|
4698
4706
|
# comparison helps you to know when to increase or decrease your
|
4699
4707
|
# resources.
|
4700
4708
|
#
|
4701
|
-
# * `SampleCount`
|
4709
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
4702
4710
|
# statistical calculation.
|
4703
4711
|
#
|
4704
4712
|
# @return [Types::GetInstanceMetricDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -4739,11 +4747,12 @@ module Aws::Lightsail
|
|
4739
4747
|
req.send_request(options)
|
4740
4748
|
end
|
4741
4749
|
|
4742
|
-
# Returns the port states for a specific
|
4743
|
-
#
|
4750
|
+
# Returns the firewall port states for a specific Amazon Lightsail
|
4751
|
+
# instance, the IP addresses allowed to connect to the instance through
|
4752
|
+
# the ports, and the protocol.
|
4744
4753
|
#
|
4745
4754
|
# @option params [required, String] :instance_name
|
4746
|
-
# The name of the instance.
|
4755
|
+
# The name of the instance for which to return firewall port states.
|
4747
4756
|
#
|
4748
4757
|
# @return [Types::GetInstancePortStatesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4749
4758
|
#
|
@@ -4760,8 +4769,12 @@ module Aws::Lightsail
|
|
4760
4769
|
# resp.port_states #=> Array
|
4761
4770
|
# resp.port_states[0].from_port #=> Integer
|
4762
4771
|
# resp.port_states[0].to_port #=> Integer
|
4763
|
-
# resp.port_states[0].protocol #=> String, one of "tcp", "all", "udp"
|
4772
|
+
# resp.port_states[0].protocol #=> String, one of "tcp", "all", "udp", "icmp"
|
4764
4773
|
# resp.port_states[0].state #=> String, one of "open", "closed"
|
4774
|
+
# resp.port_states[0].cidrs #=> Array
|
4775
|
+
# resp.port_states[0].cidrs[0] #=> String
|
4776
|
+
# resp.port_states[0].cidr_list_aliases #=> Array
|
4777
|
+
# resp.port_states[0].cidr_list_aliases[0] #=> String
|
4765
4778
|
#
|
4766
4779
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStates AWS API Documentation
|
4767
4780
|
#
|
@@ -5027,11 +5040,15 @@ module Aws::Lightsail
|
|
5027
5040
|
# resp.instances[0].networking.ports #=> Array
|
5028
5041
|
# resp.instances[0].networking.ports[0].from_port #=> Integer
|
5029
5042
|
# resp.instances[0].networking.ports[0].to_port #=> Integer
|
5030
|
-
# resp.instances[0].networking.ports[0].protocol #=> String, one of "tcp", "all", "udp"
|
5043
|
+
# resp.instances[0].networking.ports[0].protocol #=> String, one of "tcp", "all", "udp", "icmp"
|
5031
5044
|
# resp.instances[0].networking.ports[0].access_from #=> String
|
5032
5045
|
# resp.instances[0].networking.ports[0].access_type #=> String, one of "Public", "Private"
|
5033
5046
|
# resp.instances[0].networking.ports[0].common_name #=> String
|
5034
5047
|
# resp.instances[0].networking.ports[0].access_direction #=> String, one of "inbound", "outbound"
|
5048
|
+
# resp.instances[0].networking.ports[0].cidrs #=> Array
|
5049
|
+
# resp.instances[0].networking.ports[0].cidrs[0] #=> String
|
5050
|
+
# resp.instances[0].networking.ports[0].cidr_list_aliases #=> Array
|
5051
|
+
# resp.instances[0].networking.ports[0].cidr_list_aliases[0] #=> String
|
5035
5052
|
# resp.instances[0].state.code #=> Integer
|
5036
5053
|
# resp.instances[0].state.name #=> String
|
5037
5054
|
# resp.instances[0].username #=> String
|
@@ -5196,7 +5213,7 @@ module Aws::Lightsail
|
|
5196
5213
|
# useful `statistics` to include in your request, and the published
|
5197
5214
|
# `unit` value.
|
5198
5215
|
#
|
5199
|
-
# * <b> <code>ClientTLSNegotiationErrorCount</code> </b>
|
5216
|
+
# * <b> <code>ClientTLSNegotiationErrorCount</code> </b> - The number of
|
5200
5217
|
# TLS connections initiated by the client that did not establish a
|
5201
5218
|
# session with the load balancer due to a TLS error generated by the
|
5202
5219
|
# load balancer. Possible causes include a mismatch of ciphers or
|
@@ -5206,7 +5223,7 @@ module Aws::Lightsail
|
|
5206
5223
|
#
|
5207
5224
|
# `Unit`\: The published unit is `Count`.
|
5208
5225
|
#
|
5209
|
-
# * <b> <code>HealthyHostCount</code> </b>
|
5226
|
+
# * <b> <code>HealthyHostCount</code> </b> - The number of target
|
5210
5227
|
# instances that are considered healthy.
|
5211
5228
|
#
|
5212
5229
|
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
@@ -5214,7 +5231,7 @@ module Aws::Lightsail
|
|
5214
5231
|
#
|
5215
5232
|
# `Unit`\: The published unit is `Count`.
|
5216
5233
|
#
|
5217
|
-
# * <b> <code>HTTPCode_Instance_2XX_Count</code> </b>
|
5234
|
+
# * <b> <code>HTTPCode_Instance_2XX_Count</code> </b> - The number of
|
5218
5235
|
# HTTP 2XX response codes generated by the target instances. This does
|
5219
5236
|
# not include any response codes generated by the load balancer.
|
5220
5237
|
#
|
@@ -5223,7 +5240,7 @@ module Aws::Lightsail
|
|
5223
5240
|
#
|
5224
5241
|
# `Unit`\: The published unit is `Count`.
|
5225
5242
|
#
|
5226
|
-
# * <b> <code>HTTPCode_Instance_3XX_Count</code> </b>
|
5243
|
+
# * <b> <code>HTTPCode_Instance_3XX_Count</code> </b> - The number of
|
5227
5244
|
# HTTP 3XX response codes generated by the target instances. This does
|
5228
5245
|
# not include any response codes generated by the load balancer.
|
5229
5246
|
#
|
@@ -5232,7 +5249,7 @@ module Aws::Lightsail
|
|
5232
5249
|
#
|
5233
5250
|
# `Unit`\: The published unit is `Count`.
|
5234
5251
|
#
|
5235
|
-
# * <b> <code>HTTPCode_Instance_4XX_Count</code> </b>
|
5252
|
+
# * <b> <code>HTTPCode_Instance_4XX_Count</code> </b> - The number of
|
5236
5253
|
# HTTP 4XX response codes generated by the target instances. This does
|
5237
5254
|
# not include any response codes generated by the load balancer.
|
5238
5255
|
#
|
@@ -5241,7 +5258,7 @@ module Aws::Lightsail
|
|
5241
5258
|
#
|
5242
5259
|
# `Unit`\: The published unit is `Count`.
|
5243
5260
|
#
|
5244
|
-
# * <b> <code>HTTPCode_Instance_5XX_Count</code> </b>
|
5261
|
+
# * <b> <code>HTTPCode_Instance_5XX_Count</code> </b> - The number of
|
5245
5262
|
# HTTP 5XX response codes generated by the target instances. This does
|
5246
5263
|
# not include any response codes generated by the load balancer.
|
5247
5264
|
#
|
@@ -5250,7 +5267,7 @@ module Aws::Lightsail
|
|
5250
5267
|
#
|
5251
5268
|
# `Unit`\: The published unit is `Count`.
|
5252
5269
|
#
|
5253
|
-
# * <b> <code>HTTPCode_LB_4XX_Count</code> </b>
|
5270
|
+
# * <b> <code>HTTPCode_LB_4XX_Count</code> </b> - The number of HTTP 4XX
|
5254
5271
|
# client error codes that originated from the load balancer. Client
|
5255
5272
|
# errors are generated when requests are malformed or incomplete.
|
5256
5273
|
# These requests were not received by the target instance. This count
|
@@ -5261,7 +5278,7 @@ module Aws::Lightsail
|
|
5261
5278
|
#
|
5262
5279
|
# `Unit`\: The published unit is `Count`.
|
5263
5280
|
#
|
5264
|
-
# * <b> <code>HTTPCode_LB_5XX_Count</code> </b>
|
5281
|
+
# * <b> <code>HTTPCode_LB_5XX_Count</code> </b> - The number of HTTP 5XX
|
5265
5282
|
# server error codes that originated from the load balancer. This does
|
5266
5283
|
# not include any response codes generated by the target instance.
|
5267
5284
|
# This metric is reported if there are no healthy instances attached
|
@@ -5273,7 +5290,7 @@ module Aws::Lightsail
|
|
5273
5290
|
#
|
5274
5291
|
# `Unit`\: The published unit is `Count`.
|
5275
5292
|
#
|
5276
|
-
# * <b> <code>InstanceResponseTime</code> </b>
|
5293
|
+
# * <b> <code>InstanceResponseTime</code> </b> - The time elapsed, in
|
5277
5294
|
# seconds, after the request leaves the load balancer until a response
|
5278
5295
|
# from the target instance is received.
|
5279
5296
|
#
|
@@ -5281,7 +5298,7 @@ module Aws::Lightsail
|
|
5281
5298
|
#
|
5282
5299
|
# `Unit`\: The published unit is `Seconds`.
|
5283
5300
|
#
|
5284
|
-
# * <b> <code>RejectedConnectionCount</code> </b>
|
5301
|
+
# * <b> <code>RejectedConnectionCount</code> </b> - The number of
|
5285
5302
|
# connections that were rejected because the load balancer had reached
|
5286
5303
|
# its maximum number of connections.
|
5287
5304
|
#
|
@@ -5289,7 +5306,7 @@ module Aws::Lightsail
|
|
5289
5306
|
#
|
5290
5307
|
# `Unit`\: The published unit is `Count`.
|
5291
5308
|
#
|
5292
|
-
# * <b> <code>RequestCount</code> </b>
|
5309
|
+
# * <b> <code>RequestCount</code> </b> - The number of requests
|
5293
5310
|
# processed over IPv4. This count includes only the requests with a
|
5294
5311
|
# response generated by a target instance of the load balancer.
|
5295
5312
|
#
|
@@ -5298,7 +5315,7 @@ module Aws::Lightsail
|
|
5298
5315
|
#
|
5299
5316
|
# `Unit`\: The published unit is `Count`.
|
5300
5317
|
#
|
5301
|
-
# * <b> <code>UnhealthyHostCount</code> </b>
|
5318
|
+
# * <b> <code>UnhealthyHostCount</code> </b> - The number of target
|
5302
5319
|
# instances that are considered unhealthy.
|
5303
5320
|
#
|
5304
5321
|
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
@@ -5325,26 +5342,26 @@ module Aws::Lightsail
|
|
5325
5342
|
#
|
5326
5343
|
# The following statistics are available:
|
5327
5344
|
#
|
5328
|
-
# * `Minimum`
|
5345
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
5329
5346
|
# Use this value to determine low volumes of activity for your
|
5330
5347
|
# application.
|
5331
5348
|
#
|
5332
|
-
# * `Maximum`
|
5349
|
+
# * `Maximum` - The highest value observed during the specified period.
|
5333
5350
|
# Use this value to determine high volumes of activity for your
|
5334
5351
|
# application.
|
5335
5352
|
#
|
5336
|
-
# * `Sum`
|
5353
|
+
# * `Sum` - All values submitted for the matching metric added together.
|
5337
5354
|
# You can use this statistic to determine the total volume of a
|
5338
5355
|
# metric.
|
5339
5356
|
#
|
5340
|
-
# * `Average`
|
5357
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
5341
5358
|
# period. By comparing this statistic with the Minimum and Maximum
|
5342
5359
|
# values, you can determine the full scope of a metric and how close
|
5343
5360
|
# the average use is to the Minimum and Maximum values. This
|
5344
5361
|
# comparison helps you to know when to increase or decrease your
|
5345
5362
|
# resources.
|
5346
5363
|
#
|
5347
|
-
# * `SampleCount`
|
5364
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
5348
5365
|
# statistical calculation.
|
5349
5366
|
#
|
5350
5367
|
# @return [Types::GetLoadBalancerMetricDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -6105,7 +6122,7 @@ module Aws::Lightsail
|
|
6105
6122
|
# published `unit` value. All relational database metric data is
|
6106
6123
|
# available in 1-minute (60 seconds) granularity.
|
6107
6124
|
#
|
6108
|
-
# * <b> <code>CPUUtilization</code> </b>
|
6125
|
+
# * <b> <code>CPUUtilization</code> </b> - The percentage of CPU
|
6109
6126
|
# utilization currently in use on the database.
|
6110
6127
|
#
|
6111
6128
|
# `Statistics`\: The most useful statistics are `Maximum` and
|
@@ -6113,28 +6130,28 @@ module Aws::Lightsail
|
|
6113
6130
|
#
|
6114
6131
|
# `Unit`\: The published unit is `Percent`.
|
6115
6132
|
#
|
6116
|
-
# * <b> <code>DatabaseConnections</code> </b>
|
6133
|
+
# * <b> <code>DatabaseConnections</code> </b> - The number of database
|
6117
6134
|
# connections in use.
|
6118
6135
|
#
|
6119
6136
|
# `Statistics`\: The most useful statistics are `Maximum` and `Sum`.
|
6120
6137
|
#
|
6121
6138
|
# `Unit`\: The published unit is `Count`.
|
6122
6139
|
#
|
6123
|
-
# * <b> <code>DiskQueueDepth</code> </b>
|
6140
|
+
# * <b> <code>DiskQueueDepth</code> </b> - The number of outstanding IOs
|
6124
6141
|
# (read/write requests) that are waiting to access the disk.
|
6125
6142
|
#
|
6126
6143
|
# `Statistics`\: The most useful statistic is `Sum`.
|
6127
6144
|
#
|
6128
6145
|
# `Unit`\: The published unit is `Count`.
|
6129
6146
|
#
|
6130
|
-
# * <b> <code>FreeStorageSpace</code> </b>
|
6147
|
+
# * <b> <code>FreeStorageSpace</code> </b> - The amount of available
|
6131
6148
|
# storage space.
|
6132
6149
|
#
|
6133
6150
|
# `Statistics`\: The most useful statistic is `Sum`.
|
6134
6151
|
#
|
6135
6152
|
# `Unit`\: The published unit is `Bytes`.
|
6136
6153
|
#
|
6137
|
-
# * <b> <code>NetworkReceiveThroughput</code> </b>
|
6154
|
+
# * <b> <code>NetworkReceiveThroughput</code> </b> - The incoming
|
6138
6155
|
# (Receive) network traffic on the database, including both customer
|
6139
6156
|
# database traffic and AWS traffic used for monitoring and
|
6140
6157
|
# replication.
|
@@ -6143,7 +6160,7 @@ module Aws::Lightsail
|
|
6143
6160
|
#
|
6144
6161
|
# `Unit`\: The published unit is `Bytes/Second`.
|
6145
6162
|
#
|
6146
|
-
# * <b> <code>NetworkTransmitThroughput</code> </b>
|
6163
|
+
# * <b> <code>NetworkTransmitThroughput</code> </b> - The outgoing
|
6147
6164
|
# (Transmit) network traffic on the database, including both customer
|
6148
6165
|
# database traffic and AWS traffic used for monitoring and
|
6149
6166
|
# replication.
|
@@ -6192,26 +6209,26 @@ module Aws::Lightsail
|
|
6192
6209
|
#
|
6193
6210
|
# The following statistics are available:
|
6194
6211
|
#
|
6195
|
-
# * `Minimum`
|
6212
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
6196
6213
|
# Use this value to determine low volumes of activity for your
|
6197
6214
|
# application.
|
6198
6215
|
#
|
6199
|
-
# * `Maximum`
|
6216
|
+
# * `Maximum` - The highest value observed during the specified period.
|
6200
6217
|
# Use this value to determine high volumes of activity for your
|
6201
6218
|
# application.
|
6202
6219
|
#
|
6203
|
-
# * `Sum`
|
6220
|
+
# * `Sum` - All values submitted for the matching metric added together.
|
6204
6221
|
# You can use this statistic to determine the total volume of a
|
6205
6222
|
# metric.
|
6206
6223
|
#
|
6207
|
-
# * `Average`
|
6224
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
6208
6225
|
# period. By comparing this statistic with the Minimum and Maximum
|
6209
6226
|
# values, you can determine the full scope of a metric and how close
|
6210
6227
|
# the average use is to the Minimum and Maximum values. This
|
6211
6228
|
# comparison helps you to know when to increase or decrease your
|
6212
6229
|
# resources.
|
6213
6230
|
#
|
6214
|
-
# * `SampleCount`
|
6231
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
6215
6232
|
# statistical calculation.
|
6216
6233
|
#
|
6217
6234
|
# @return [Types::GetRelationalDatabaseMetricDataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
@@ -6623,11 +6640,13 @@ module Aws::Lightsail
|
|
6623
6640
|
req.send_request(options)
|
6624
6641
|
end
|
6625
6642
|
|
6626
|
-
#
|
6643
|
+
# Opens ports for a specific Amazon Lightsail instance, and specifies
|
6644
|
+
# the IP addresses allowed to connect to the instance through the ports,
|
6645
|
+
# and the protocol.
|
6627
6646
|
#
|
6628
|
-
# The `
|
6629
|
-
#
|
6630
|
-
# `
|
6647
|
+
# The `OpenInstancePublicPorts` action supports tag-based access control
|
6648
|
+
# via resource tags applied to the resource identified by
|
6649
|
+
# `instanceName`. For more information, see the [Lightsail Dev
|
6631
6650
|
# Guide][1].
|
6632
6651
|
#
|
6633
6652
|
#
|
@@ -6635,11 +6654,10 @@ module Aws::Lightsail
|
|
6635
6654
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
|
6636
6655
|
#
|
6637
6656
|
# @option params [required, Types::PortInfo] :port_info
|
6638
|
-
# An
|
6639
|
-
# mappings.
|
6657
|
+
# An object to describe the ports to open for the specified instance.
|
6640
6658
|
#
|
6641
6659
|
# @option params [required, String] :instance_name
|
6642
|
-
# The name of the instance for which
|
6660
|
+
# The name of the instance for which to open ports.
|
6643
6661
|
#
|
6644
6662
|
# @return [Types::OpenInstancePublicPortsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6645
6663
|
#
|
@@ -6651,7 +6669,9 @@ module Aws::Lightsail
|
|
6651
6669
|
# port_info: { # required
|
6652
6670
|
# from_port: 1,
|
6653
6671
|
# to_port: 1,
|
6654
|
-
# protocol: "tcp", # accepts tcp, all, udp
|
6672
|
+
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
6673
|
+
# cidrs: ["string"],
|
6674
|
+
# cidr_list_aliases: ["string"],
|
6655
6675
|
# },
|
6656
6676
|
# instance_name: "ResourceName", # required
|
6657
6677
|
# })
|
@@ -6799,18 +6819,18 @@ module Aws::Lightsail
|
|
6799
6819
|
#
|
6800
6820
|
# An alarm can treat missing data in the following ways:
|
6801
6821
|
#
|
6802
|
-
# * `breaching`
|
6822
|
+
# * `breaching` - Assume the missing data is not within the threshold.
|
6803
6823
|
# Missing data counts towards the number of times the metric is not
|
6804
6824
|
# within the threshold.
|
6805
6825
|
#
|
6806
|
-
# * `notBreaching`
|
6826
|
+
# * `notBreaching` - Assume the missing data is within the threshold.
|
6807
6827
|
# Missing data does not count towards the number of times the metric
|
6808
6828
|
# is not within the threshold.
|
6809
6829
|
#
|
6810
|
-
# * `ignore`
|
6830
|
+
# * `ignore` - Ignore the missing data. Maintains the current alarm
|
6811
6831
|
# state.
|
6812
6832
|
#
|
6813
|
-
# * `missing`
|
6833
|
+
# * `missing` - Missing data is treated as missing.
|
6814
6834
|
#
|
6815
6835
|
# If `treatMissingData` is not specified, the default behavior of
|
6816
6836
|
# `missing` is used.
|
@@ -6836,13 +6856,13 @@ module Aws::Lightsail
|
|
6836
6856
|
#
|
6837
6857
|
# An alarm has the following possible states:
|
6838
6858
|
#
|
6839
|
-
# * `ALARM`
|
6859
|
+
# * `ALARM` - The metric is outside of the defined threshold.
|
6840
6860
|
#
|
6841
|
-
# * `INSUFFICIENT_DATA`
|
6861
|
+
# * `INSUFFICIENT_DATA` - The alarm has just started, the metric is not
|
6842
6862
|
# available, or not enough data is available for the metric to
|
6843
6863
|
# determine the alarm state.
|
6844
6864
|
#
|
6845
|
-
# * `OK`
|
6865
|
+
# * `OK` - The metric is within the defined threshold.
|
6846
6866
|
#
|
6847
6867
|
# When you specify a notification trigger, the `ALARM` state must be
|
6848
6868
|
# specified. The `INSUFFICIENT_DATA` and `OK` states can be specified in
|
@@ -6912,13 +6932,17 @@ module Aws::Lightsail
|
|
6912
6932
|
req.send_request(options)
|
6913
6933
|
end
|
6914
6934
|
|
6915
|
-
#
|
6916
|
-
#
|
6917
|
-
#
|
6918
|
-
#
|
6919
|
-
#
|
6920
|
-
#
|
6921
|
-
#
|
6935
|
+
# Opens ports for a specific Amazon Lightsail instance, and specifies
|
6936
|
+
# the IP addresses allowed to connect to the instance through the ports,
|
6937
|
+
# and the protocol. This action also closes all currently open ports
|
6938
|
+
# that are not included in the request. Include all of the ports and the
|
6939
|
+
# protocols you want to open in your `PutInstancePublicPorts`request. Or
|
6940
|
+
# use the `OpenInstancePublicPorts` action to open ports without closing
|
6941
|
+
# currently open ports.
|
6942
|
+
#
|
6943
|
+
# The `PutInstancePublicPorts` action supports tag-based access control
|
6944
|
+
# via resource tags applied to the resource identified by
|
6945
|
+
# `instanceName`. For more information, see the [Lightsail Dev
|
6922
6946
|
# Guide][1].
|
6923
6947
|
#
|
6924
6948
|
#
|
@@ -6926,10 +6950,11 @@ module Aws::Lightsail
|
|
6926
6950
|
# [1]: https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags
|
6927
6951
|
#
|
6928
6952
|
# @option params [required, Array<Types::PortInfo>] :port_infos
|
6929
|
-
#
|
6953
|
+
# An array of objects to describe the ports to open for the specified
|
6954
|
+
# instance.
|
6930
6955
|
#
|
6931
6956
|
# @option params [required, String] :instance_name
|
6932
|
-
# The
|
6957
|
+
# The name of the instance for which to open ports.
|
6933
6958
|
#
|
6934
6959
|
# @return [Types::PutInstancePublicPortsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
6935
6960
|
#
|
@@ -6942,7 +6967,9 @@ module Aws::Lightsail
|
|
6942
6967
|
# {
|
6943
6968
|
# from_port: 1,
|
6944
6969
|
# to_port: 1,
|
6945
|
-
# protocol: "tcp", # accepts tcp, all, udp
|
6970
|
+
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
6971
|
+
# cidrs: ["string"],
|
6972
|
+
# cidr_list_aliases: ["string"],
|
6946
6973
|
# },
|
6947
6974
|
# ],
|
6948
6975
|
# instance_name: "ResourceName", # required
|
@@ -7113,8 +7140,9 @@ module Aws::Lightsail
|
|
7113
7140
|
req.send_request(options)
|
7114
7141
|
end
|
7115
7142
|
|
7116
|
-
# Sends a verification request to an email contact method to ensure
|
7117
|
-
# owned by the requester. SMS contact methods don
|
7143
|
+
# Sends a verification request to an email contact method to ensure
|
7144
|
+
# it's owned by the requester. SMS contact methods don't need to be
|
7145
|
+
# verified.
|
7118
7146
|
#
|
7119
7147
|
# A contact method is used to send you notifications about your Amazon
|
7120
7148
|
# Lightsail resources. You can add one email address and one mobile
|
@@ -7495,13 +7523,13 @@ module Aws::Lightsail
|
|
7495
7523
|
#
|
7496
7524
|
# An alarm has the following possible states that can be tested:
|
7497
7525
|
#
|
7498
|
-
# * `ALARM`
|
7526
|
+
# * `ALARM` - The metric is outside of the defined threshold.
|
7499
7527
|
#
|
7500
|
-
# * `INSUFFICIENT_DATA`
|
7528
|
+
# * `INSUFFICIENT_DATA` - The alarm has just started, the metric is not
|
7501
7529
|
# available, or not enough data is available for the metric to
|
7502
7530
|
# determine the alarm state.
|
7503
7531
|
#
|
7504
|
-
# * `OK`
|
7532
|
+
# * `OK` - The metric is within the defined threshold.
|
7505
7533
|
#
|
7506
7534
|
# @return [Types::TestAlarmResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
7507
7535
|
#
|
@@ -7988,7 +8016,7 @@ module Aws::Lightsail
|
|
7988
8016
|
params: params,
|
7989
8017
|
config: config)
|
7990
8018
|
context[:gem_name] = 'aws-sdk-lightsail'
|
7991
|
-
context[:gem_version] = '1.
|
8019
|
+
context[:gem_version] = '1.30.0'
|
7992
8020
|
Seahorse::Client::Request.new(handlers, context)
|
7993
8021
|
end
|
7994
8022
|
|