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
@@ -1477,6 +1477,8 @@ module Aws::Lightsail
|
|
1477
1477
|
InstancePortInfo.add_member(:access_type, Shapes::ShapeRef.new(shape: PortAccessType, location_name: "accessType"))
|
1478
1478
|
InstancePortInfo.add_member(:common_name, Shapes::ShapeRef.new(shape: string, location_name: "commonName"))
|
1479
1479
|
InstancePortInfo.add_member(:access_direction, Shapes::ShapeRef.new(shape: AccessDirection, location_name: "accessDirection"))
|
1480
|
+
InstancePortInfo.add_member(:cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrs"))
|
1481
|
+
InstancePortInfo.add_member(:cidr_list_aliases, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrListAliases"))
|
1480
1482
|
InstancePortInfo.struct_class = Types::InstancePortInfo
|
1481
1483
|
|
1482
1484
|
InstancePortInfoList.member = Shapes::ShapeRef.new(shape: InstancePortInfo)
|
@@ -1485,6 +1487,8 @@ module Aws::Lightsail
|
|
1485
1487
|
InstancePortState.add_member(:to_port, Shapes::ShapeRef.new(shape: Port, location_name: "toPort"))
|
1486
1488
|
InstancePortState.add_member(:protocol, Shapes::ShapeRef.new(shape: NetworkProtocol, location_name: "protocol"))
|
1487
1489
|
InstancePortState.add_member(:state, Shapes::ShapeRef.new(shape: PortState, location_name: "state"))
|
1490
|
+
InstancePortState.add_member(:cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrs"))
|
1491
|
+
InstancePortState.add_member(:cidr_list_aliases, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrListAliases"))
|
1488
1492
|
InstancePortState.struct_class = Types::InstancePortState
|
1489
1493
|
|
1490
1494
|
InstancePortStateList.member = Shapes::ShapeRef.new(shape: InstancePortState)
|
@@ -1706,6 +1710,8 @@ module Aws::Lightsail
|
|
1706
1710
|
PortInfo.add_member(:from_port, Shapes::ShapeRef.new(shape: Port, location_name: "fromPort"))
|
1707
1711
|
PortInfo.add_member(:to_port, Shapes::ShapeRef.new(shape: Port, location_name: "toPort"))
|
1708
1712
|
PortInfo.add_member(:protocol, Shapes::ShapeRef.new(shape: NetworkProtocol, location_name: "protocol"))
|
1713
|
+
PortInfo.add_member(:cidrs, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrs"))
|
1714
|
+
PortInfo.add_member(:cidr_list_aliases, Shapes::ShapeRef.new(shape: StringList, location_name: "cidrListAliases"))
|
1709
1715
|
PortInfo.struct_class = Types::PortInfo
|
1710
1716
|
|
1711
1717
|
PortInfoList.member = Shapes::ShapeRef.new(shape: PortInfo)
|
@@ -6,13 +6,7 @@
|
|
6
6
|
# WARNING ABOUT GENERATED CODE
|
7
7
|
|
8
8
|
module Aws::Lightsail
|
9
|
-
|
10
|
-
# To create a resource object:
|
11
|
-
# resource = Aws::Lightsail::Resource.new(region: 'us-west-2')
|
12
|
-
# You can supply a client object with custom configuration that will be used for all resource operations.
|
13
|
-
# If you do not pass +:client+, a default client will be constructed.
|
14
|
-
# client = Aws::Lightsail::Client.new(region: 'us-west-2')
|
15
|
-
# resource = Aws::Lightsail::Resource.new(client: client)
|
9
|
+
|
16
10
|
class Resource
|
17
11
|
|
18
12
|
# @param options ({})
|
@@ -205,18 +205,18 @@ module Aws::Lightsail
|
|
205
205
|
#
|
206
206
|
# An alarm can treat missing data in the following ways:
|
207
207
|
#
|
208
|
-
# * `breaching`
|
208
|
+
# * `breaching` - Assume the missing data is not within the threshold.
|
209
209
|
# Missing data counts towards the number of times the metric is not
|
210
210
|
# within the threshold.
|
211
211
|
#
|
212
|
-
# * `notBreaching`
|
212
|
+
# * `notBreaching` - Assume the missing data is within the threshold.
|
213
213
|
# Missing data does not count towards the number of times the metric
|
214
214
|
# is not within the threshold.
|
215
215
|
#
|
216
|
-
# * `ignore`
|
216
|
+
# * `ignore` - Ignore the missing data. Maintains the current alarm
|
217
217
|
# state.
|
218
218
|
#
|
219
|
-
# * `missing`
|
219
|
+
# * `missing` - Missing data is treated as missing.
|
220
220
|
# @return [String]
|
221
221
|
#
|
222
222
|
# @!attribute [rw] statistic
|
@@ -224,26 +224,26 @@ module Aws::Lightsail
|
|
224
224
|
#
|
225
225
|
# The following statistics are available:
|
226
226
|
#
|
227
|
-
# * `Minimum`
|
227
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
228
228
|
# Use this value to determine low volumes of activity for your
|
229
229
|
# application.
|
230
230
|
#
|
231
|
-
# * `Maximum`
|
231
|
+
# * `Maximum` - The highest value observed during the specified
|
232
232
|
# period. Use this value to determine high volumes of activity for
|
233
233
|
# your application.
|
234
234
|
#
|
235
|
-
# * `Sum`
|
235
|
+
# * `Sum` - All values submitted for the matching metric added
|
236
236
|
# together. You can use this statistic to determine the total volume
|
237
237
|
# of a metric.
|
238
238
|
#
|
239
|
-
# * `Average`
|
239
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
240
240
|
# period. By comparing this statistic with the Minimum and Maximum
|
241
241
|
# values, you can determine the full scope of a metric and how close
|
242
242
|
# the average use is to the Minimum and Maximum values. This
|
243
243
|
# comparison helps you to know when to increase or decrease your
|
244
244
|
# resources.
|
245
245
|
#
|
246
|
-
# * `SampleCount`
|
246
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
247
247
|
# statistical calculation.
|
248
248
|
# @return [String]
|
249
249
|
#
|
@@ -256,13 +256,13 @@ module Aws::Lightsail
|
|
256
256
|
#
|
257
257
|
# An alarm has the following possible states:
|
258
258
|
#
|
259
|
-
# * `ALARM`
|
259
|
+
# * `ALARM` - The metric is outside of the defined threshold.
|
260
260
|
#
|
261
|
-
# * `INSUFFICIENT_DATA`
|
261
|
+
# * `INSUFFICIENT_DATA` - The alarm has just started, the metric is
|
262
262
|
# not available, or not enough data is available for the metric to
|
263
263
|
# determine the alarm state.
|
264
264
|
#
|
265
|
-
# * `OK`
|
265
|
+
# * `OK` - The metric is within the defined threshold.
|
266
266
|
# @return [String]
|
267
267
|
#
|
268
268
|
# @!attribute [rw] unit
|
@@ -328,7 +328,7 @@ module Aws::Lightsail
|
|
328
328
|
|
329
329
|
# @!attribute [rw] operations
|
330
330
|
# An array of objects that describe the result of the action, such as
|
331
|
-
# the status of the request, the
|
331
|
+
# the status of the request, the timestamp of the request, and the
|
332
332
|
# resources affected by the request.
|
333
333
|
# @return [Array<Types::Operation>]
|
334
334
|
#
|
@@ -372,7 +372,7 @@ module Aws::Lightsail
|
|
372
372
|
|
373
373
|
# @!attribute [rw] operations
|
374
374
|
# An array of objects that describe the result of the action, such as
|
375
|
-
# the status of the request, the
|
375
|
+
# the status of the request, the timestamp of the request, and the
|
376
376
|
# resources affected by the request.
|
377
377
|
# @return [Array<Types::Operation>]
|
378
378
|
#
|
@@ -417,7 +417,7 @@ module Aws::Lightsail
|
|
417
417
|
|
418
418
|
# @!attribute [rw] operations
|
419
419
|
# An array of objects that describe the result of the action, such as
|
420
|
-
# the status of the request, the
|
420
|
+
# the status of the request, the timestamp of the request, and the
|
421
421
|
# resources affected by the request.
|
422
422
|
# @return [Array<Types::Operation>]
|
423
423
|
#
|
@@ -455,7 +455,7 @@ module Aws::Lightsail
|
|
455
455
|
|
456
456
|
# @!attribute [rw] operations
|
457
457
|
# An array of objects that describe the result of the action, such as
|
458
|
-
# the status of the request, the
|
458
|
+
# the status of the request, the timestamp of the request, and the
|
459
459
|
# resources affected by the request.
|
460
460
|
#
|
461
461
|
# These SSL/TLS certificates are only usable by Lightsail load
|
@@ -496,7 +496,7 @@ module Aws::Lightsail
|
|
496
496
|
|
497
497
|
# @!attribute [rw] operations
|
498
498
|
# An array of objects that describe the result of the action, such as
|
499
|
-
# the status of the request, the
|
499
|
+
# the status of the request, the timestamp of the request, and the
|
500
500
|
# resources affected by the request.
|
501
501
|
# @return [Array<Types::Operation>]
|
502
502
|
#
|
@@ -793,18 +793,19 @@ module Aws::Lightsail
|
|
793
793
|
# port_info: { # required
|
794
794
|
# from_port: 1,
|
795
795
|
# to_port: 1,
|
796
|
-
# protocol: "tcp", # accepts tcp, all, udp
|
796
|
+
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
797
|
+
# cidrs: ["string"],
|
798
|
+
# cidr_list_aliases: ["string"],
|
797
799
|
# },
|
798
800
|
# instance_name: "ResourceName", # required
|
799
801
|
# }
|
800
802
|
#
|
801
803
|
# @!attribute [rw] port_info
|
802
|
-
#
|
804
|
+
# An object to describe the ports to close for the specified instance.
|
803
805
|
# @return [Types::PortInfo]
|
804
806
|
#
|
805
807
|
# @!attribute [rw] instance_name
|
806
|
-
# The name of the instance
|
807
|
-
# public ports.
|
808
|
+
# The name of the instance for which to close ports.
|
808
809
|
# @return [String]
|
809
810
|
#
|
810
811
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/CloseInstancePublicPortsRequest AWS API Documentation
|
@@ -816,8 +817,8 @@ module Aws::Lightsail
|
|
816
817
|
end
|
817
818
|
|
818
819
|
# @!attribute [rw] operation
|
819
|
-
# An
|
820
|
-
#
|
820
|
+
# An object that describes the result of the action, such as the
|
821
|
+
# status of the request, the timestamp of the request, and the
|
821
822
|
# resources affected by the request.
|
822
823
|
# @return [Types::Operation]
|
823
824
|
#
|
@@ -929,12 +930,12 @@ module Aws::Lightsail
|
|
929
930
|
#
|
930
931
|
# A contact method has the following possible status:
|
931
932
|
#
|
932
|
-
# * `PendingVerification`
|
933
|
+
# * `PendingVerification` - The contact method has not yet been
|
933
934
|
# verified, and the verification has not yet expired.
|
934
935
|
#
|
935
|
-
# * `Valid`
|
936
|
+
# * `Valid` - The contact method has been verified.
|
936
937
|
#
|
937
|
-
# * `InValid`
|
938
|
+
# * `InValid` - An attempt was made to verify the contact method, but
|
938
939
|
# the verification has expired.
|
939
940
|
# @return [String]
|
940
941
|
#
|
@@ -1090,7 +1091,7 @@ module Aws::Lightsail
|
|
1090
1091
|
|
1091
1092
|
# @!attribute [rw] operations
|
1092
1093
|
# An array of objects that describe the result of the action, such as
|
1093
|
-
# the status of the request, the
|
1094
|
+
# the status of the request, the timestamp of the request, and the
|
1094
1095
|
# resources affected by the request.
|
1095
1096
|
# @return [Array<Types::Operation>]
|
1096
1097
|
#
|
@@ -1132,7 +1133,7 @@ module Aws::Lightsail
|
|
1132
1133
|
|
1133
1134
|
# @!attribute [rw] operations
|
1134
1135
|
# An array of objects that describe the result of the action, such as
|
1135
|
-
# the status of the request, the
|
1136
|
+
# the status of the request, the timestamp of the request, and the
|
1136
1137
|
# resources affected by the request.
|
1137
1138
|
# @return [Array<Types::Operation>]
|
1138
1139
|
#
|
@@ -1193,7 +1194,7 @@ module Aws::Lightsail
|
|
1193
1194
|
# maximum of 15 digits, and they are prefixed with the plus character
|
1194
1195
|
# (+) and the country code. For example, a U.S. phone number in E.164
|
1195
1196
|
# format would be specified as +1XXX5550100. For more information, see
|
1196
|
-
# [E.164][1]
|
1197
|
+
# [E.164][1] on *Wikipedia*.
|
1197
1198
|
#
|
1198
1199
|
#
|
1199
1200
|
#
|
@@ -1210,7 +1211,7 @@ module Aws::Lightsail
|
|
1210
1211
|
|
1211
1212
|
# @!attribute [rw] operations
|
1212
1213
|
# An array of objects that describe the result of the action, such as
|
1213
|
-
# the status of the request, the
|
1214
|
+
# the status of the request, the timestamp of the request, and the
|
1214
1215
|
# resources affected by the request.
|
1215
1216
|
# @return [Array<Types::Operation>]
|
1216
1217
|
#
|
@@ -1369,7 +1370,7 @@ module Aws::Lightsail
|
|
1369
1370
|
|
1370
1371
|
# @!attribute [rw] operations
|
1371
1372
|
# An array of objects that describe the result of the action, such as
|
1372
|
-
# the status of the request, the
|
1373
|
+
# the status of the request, the timestamp of the request, and the
|
1373
1374
|
# resources affected by the request.
|
1374
1375
|
# @return [Array<Types::Operation>]
|
1375
1376
|
#
|
@@ -1446,7 +1447,7 @@ module Aws::Lightsail
|
|
1446
1447
|
|
1447
1448
|
# @!attribute [rw] operations
|
1448
1449
|
# An array of objects that describe the result of the action, such as
|
1449
|
-
# the status of the request, the
|
1450
|
+
# the status of the request, the timestamp of the request, and the
|
1450
1451
|
# resources affected by the request.
|
1451
1452
|
# @return [Array<Types::Operation>]
|
1452
1453
|
#
|
@@ -1519,7 +1520,7 @@ module Aws::Lightsail
|
|
1519
1520
|
|
1520
1521
|
# @!attribute [rw] operations
|
1521
1522
|
# An array of objects that describe the result of the action, such as
|
1522
|
-
# the status of the request, the
|
1523
|
+
# the status of the request, the timestamp of the request, and the
|
1523
1524
|
# resources affected by the request.
|
1524
1525
|
# @return [Array<Types::Operation>]
|
1525
1526
|
#
|
@@ -1567,7 +1568,7 @@ module Aws::Lightsail
|
|
1567
1568
|
|
1568
1569
|
# @!attribute [rw] operation
|
1569
1570
|
# An array of objects that describe the result of the action, such as
|
1570
|
-
# the status of the request, the
|
1571
|
+
# the status of the request, the timestamp of the request, and the
|
1571
1572
|
# resources affected by the request.
|
1572
1573
|
# @return [Types::Operation]
|
1573
1574
|
#
|
@@ -1621,7 +1622,7 @@ module Aws::Lightsail
|
|
1621
1622
|
|
1622
1623
|
# @!attribute [rw] operation
|
1623
1624
|
# An array of objects that describe the result of the action, such as
|
1624
|
-
# the status of the request, the
|
1625
|
+
# the status of the request, the timestamp of the request, and the
|
1625
1626
|
# resources affected by the request.
|
1626
1627
|
# @return [Types::Operation]
|
1627
1628
|
#
|
@@ -1673,7 +1674,7 @@ module Aws::Lightsail
|
|
1673
1674
|
|
1674
1675
|
# @!attribute [rw] operations
|
1675
1676
|
# An array of objects that describe the result of the action, such as
|
1676
|
-
# the status of the request, the
|
1677
|
+
# the status of the request, the timestamp of the request, and the
|
1677
1678
|
# resources affected by the request.
|
1678
1679
|
# @return [Array<Types::Operation>]
|
1679
1680
|
#
|
@@ -1875,7 +1876,7 @@ module Aws::Lightsail
|
|
1875
1876
|
|
1876
1877
|
# @!attribute [rw] operations
|
1877
1878
|
# An array of objects that describe the result of the action, such as
|
1878
|
-
# the status of the request, the
|
1879
|
+
# the status of the request, the timestamp of the request, and the
|
1879
1880
|
# resources affected by the request.
|
1880
1881
|
# @return [Array<Types::Operation>]
|
1881
1882
|
#
|
@@ -2011,7 +2012,7 @@ module Aws::Lightsail
|
|
2011
2012
|
|
2012
2013
|
# @!attribute [rw] operations
|
2013
2014
|
# An array of objects that describe the result of the action, such as
|
2014
|
-
# the status of the request, the
|
2015
|
+
# the status of the request, the timestamp of the request, and the
|
2015
2016
|
# resources affected by the request.
|
2016
2017
|
# @return [Array<Types::Operation>]
|
2017
2018
|
#
|
@@ -2070,7 +2071,7 @@ module Aws::Lightsail
|
|
2070
2071
|
#
|
2071
2072
|
# @!attribute [rw] operation
|
2072
2073
|
# An array of objects that describe the result of the action, such as
|
2073
|
-
# the status of the request, the
|
2074
|
+
# the status of the request, the timestamp of the request, and the
|
2074
2075
|
# resources affected by the request.
|
2075
2076
|
# @return [Types::Operation]
|
2076
2077
|
#
|
@@ -2164,7 +2165,7 @@ module Aws::Lightsail
|
|
2164
2165
|
|
2165
2166
|
# @!attribute [rw] operations
|
2166
2167
|
# An array of objects that describe the result of the action, such as
|
2167
|
-
# the status of the request, the
|
2168
|
+
# the status of the request, the timestamp of the request, and the
|
2168
2169
|
# resources affected by the request.
|
2169
2170
|
# @return [Array<Types::Operation>]
|
2170
2171
|
#
|
@@ -2243,7 +2244,7 @@ module Aws::Lightsail
|
|
2243
2244
|
|
2244
2245
|
# @!attribute [rw] operations
|
2245
2246
|
# An array of objects that describe the result of the action, such as
|
2246
|
-
# the status of the request, the
|
2247
|
+
# the status of the request, the timestamp of the request, and the
|
2247
2248
|
# resources affected by the request.
|
2248
2249
|
# @return [Array<Types::Operation>]
|
2249
2250
|
#
|
@@ -2374,7 +2375,7 @@ module Aws::Lightsail
|
|
2374
2375
|
|
2375
2376
|
# @!attribute [rw] operations
|
2376
2377
|
# An array of objects that describe the result of the action, such as
|
2377
|
-
# the status of the request, the
|
2378
|
+
# the status of the request, the timestamp of the request, and the
|
2378
2379
|
# resources affected by the request.
|
2379
2380
|
# @return [Array<Types::Operation>]
|
2380
2381
|
#
|
@@ -2567,7 +2568,7 @@ module Aws::Lightsail
|
|
2567
2568
|
|
2568
2569
|
# @!attribute [rw] operations
|
2569
2570
|
# An array of objects that describe the result of the action, such as
|
2570
|
-
# the status of the request, the
|
2571
|
+
# the status of the request, the timestamp of the request, and the
|
2571
2572
|
# resources affected by the request.
|
2572
2573
|
# @return [Array<Types::Operation>]
|
2573
2574
|
#
|
@@ -2625,7 +2626,7 @@ module Aws::Lightsail
|
|
2625
2626
|
|
2626
2627
|
# @!attribute [rw] operations
|
2627
2628
|
# An array of objects that describe the result of the action, such as
|
2628
|
-
# the status of the request, the
|
2629
|
+
# the status of the request, the timestamp of the request, and the
|
2629
2630
|
# resources affected by the request.
|
2630
2631
|
# @return [Array<Types::Operation>]
|
2631
2632
|
#
|
@@ -2656,7 +2657,7 @@ module Aws::Lightsail
|
|
2656
2657
|
|
2657
2658
|
# @!attribute [rw] operations
|
2658
2659
|
# An array of objects that describe the result of the action, such as
|
2659
|
-
# the status of the request, the
|
2660
|
+
# the status of the request, the timestamp of the request, and the
|
2660
2661
|
# resources affected by the request.
|
2661
2662
|
# @return [Array<Types::Operation>]
|
2662
2663
|
#
|
@@ -2696,7 +2697,7 @@ module Aws::Lightsail
|
|
2696
2697
|
|
2697
2698
|
# @!attribute [rw] operations
|
2698
2699
|
# An array of objects that describe the result of the action, such as
|
2699
|
-
# the status of the request, the
|
2700
|
+
# the status of the request, the timestamp of the request, and the
|
2700
2701
|
# resources affected by the request.
|
2701
2702
|
# @return [Array<Types::Operation>]
|
2702
2703
|
#
|
@@ -2734,7 +2735,7 @@ module Aws::Lightsail
|
|
2734
2735
|
|
2735
2736
|
# @!attribute [rw] operations
|
2736
2737
|
# An array of objects that describe the result of the action, such as
|
2737
|
-
# the status of the request, the
|
2738
|
+
# the status of the request, the timestamp of the request, and the
|
2738
2739
|
# resources affected by the request.
|
2739
2740
|
# @return [Array<Types::Operation>]
|
2740
2741
|
#
|
@@ -2772,7 +2773,7 @@ module Aws::Lightsail
|
|
2772
2773
|
|
2773
2774
|
# @!attribute [rw] operations
|
2774
2775
|
# An array of objects that describe the result of the action, such as
|
2775
|
-
# the status of the request, the
|
2776
|
+
# the status of the request, the timestamp of the request, and the
|
2776
2777
|
# resources affected by the request.
|
2777
2778
|
# @return [Array<Types::Operation>]
|
2778
2779
|
#
|
@@ -2804,7 +2805,7 @@ module Aws::Lightsail
|
|
2804
2805
|
|
2805
2806
|
# @!attribute [rw] operations
|
2806
2807
|
# An array of objects that describe the result of the action, such as
|
2807
|
-
# the status of the request, the
|
2808
|
+
# the status of the request, the timestamp of the request, and the
|
2808
2809
|
# resources affected by the request.
|
2809
2810
|
# @return [Array<Types::Operation>]
|
2810
2811
|
#
|
@@ -2851,7 +2852,7 @@ module Aws::Lightsail
|
|
2851
2852
|
|
2852
2853
|
# @!attribute [rw] operation
|
2853
2854
|
# An array of objects that describe the result of the action, such as
|
2854
|
-
# the status of the request, the
|
2855
|
+
# the status of the request, the timestamp of the request, and the
|
2855
2856
|
# resources affected by the request.
|
2856
2857
|
# @return [Types::Operation]
|
2857
2858
|
#
|
@@ -2882,7 +2883,7 @@ module Aws::Lightsail
|
|
2882
2883
|
|
2883
2884
|
# @!attribute [rw] operation
|
2884
2885
|
# An array of objects that describe the result of the action, such as
|
2885
|
-
# the status of the request, the
|
2886
|
+
# the status of the request, the timestamp of the request, and the
|
2886
2887
|
# resources affected by the request.
|
2887
2888
|
# @return [Types::Operation]
|
2888
2889
|
#
|
@@ -2920,7 +2921,7 @@ module Aws::Lightsail
|
|
2920
2921
|
|
2921
2922
|
# @!attribute [rw] operations
|
2922
2923
|
# An array of objects that describe the result of the action, such as
|
2923
|
-
# the status of the request, the
|
2924
|
+
# the status of the request, the timestamp of the request, and the
|
2924
2925
|
# resources affected by the request.
|
2925
2926
|
# @return [Array<Types::Operation>]
|
2926
2927
|
#
|
@@ -2951,7 +2952,7 @@ module Aws::Lightsail
|
|
2951
2952
|
|
2952
2953
|
# @!attribute [rw] operations
|
2953
2954
|
# An array of objects that describe the result of the action, such as
|
2954
|
-
# the status of the request, the
|
2955
|
+
# the status of the request, the timestamp of the request, and the
|
2955
2956
|
# resources affected by the request.
|
2956
2957
|
# @return [Array<Types::Operation>]
|
2957
2958
|
#
|
@@ -2982,7 +2983,7 @@ module Aws::Lightsail
|
|
2982
2983
|
|
2983
2984
|
# @!attribute [rw] operation
|
2984
2985
|
# An array of objects that describe the result of the action, such as
|
2985
|
-
# the status of the request, the
|
2986
|
+
# the status of the request, the timestamp of the request, and the
|
2986
2987
|
# resources affected by the request.
|
2987
2988
|
# @return [Types::Operation]
|
2988
2989
|
#
|
@@ -3014,7 +3015,7 @@ module Aws::Lightsail
|
|
3014
3015
|
|
3015
3016
|
# @!attribute [rw] operations
|
3016
3017
|
# An array of objects that describe the result of the action, such as
|
3017
|
-
# the status of the request, the
|
3018
|
+
# the status of the request, the timestamp of the request, and the
|
3018
3019
|
# resources affected by the request.
|
3019
3020
|
# @return [Array<Types::Operation>]
|
3020
3021
|
#
|
@@ -3045,7 +3046,7 @@ module Aws::Lightsail
|
|
3045
3046
|
|
3046
3047
|
# @!attribute [rw] operations
|
3047
3048
|
# An array of objects that describe the result of the action, such as
|
3048
|
-
# the status of the request, the
|
3049
|
+
# the status of the request, the timestamp of the request, and the
|
3049
3050
|
# resources affected by the request.
|
3050
3051
|
# @return [Array<Types::Operation>]
|
3051
3052
|
#
|
@@ -3093,7 +3094,7 @@ module Aws::Lightsail
|
|
3093
3094
|
|
3094
3095
|
# @!attribute [rw] operations
|
3095
3096
|
# An array of objects that describe the result of the action, such as
|
3096
|
-
# the status of the request, the
|
3097
|
+
# the status of the request, the timestamp of the request, and the
|
3097
3098
|
# resources affected by the request.
|
3098
3099
|
# @return [Array<Types::Operation>]
|
3099
3100
|
#
|
@@ -3156,7 +3157,7 @@ module Aws::Lightsail
|
|
3156
3157
|
|
3157
3158
|
# @!attribute [rw] operations
|
3158
3159
|
# An array of objects that describe the result of the action, such as
|
3159
|
-
# the status of the request, the
|
3160
|
+
# the status of the request, the timestamp of the request, and the
|
3160
3161
|
# resources affected by the request.
|
3161
3162
|
# @return [Array<Types::Operation>]
|
3162
3163
|
#
|
@@ -3187,7 +3188,7 @@ module Aws::Lightsail
|
|
3187
3188
|
|
3188
3189
|
# @!attribute [rw] operations
|
3189
3190
|
# An array of objects that describe the result of the action, such as
|
3190
|
-
# the status of the request, the
|
3191
|
+
# the status of the request, the timestamp of the request, and the
|
3191
3192
|
# resources affected by the request.
|
3192
3193
|
# @return [Array<Types::Operation>]
|
3193
3194
|
#
|
@@ -3237,7 +3238,7 @@ module Aws::Lightsail
|
|
3237
3238
|
|
3238
3239
|
# @!attribute [rw] operations
|
3239
3240
|
# An array of objects that describe the result of the action, such as
|
3240
|
-
# the status of the request, the
|
3241
|
+
# the status of the request, the timestamp of the request, and the
|
3241
3242
|
# resources affected by the request.
|
3242
3243
|
# @return [Array<Types::Operation>]
|
3243
3244
|
#
|
@@ -3275,7 +3276,7 @@ module Aws::Lightsail
|
|
3275
3276
|
|
3276
3277
|
# @!attribute [rw] operations
|
3277
3278
|
# An array of objects that describe the result of the action, such as
|
3278
|
-
# the status of the request, the
|
3279
|
+
# the status of the request, the timestamp of the request, and the
|
3279
3280
|
# resources affected by the request.
|
3280
3281
|
# @return [Array<Types::Operation>]
|
3281
3282
|
#
|
@@ -3306,7 +3307,7 @@ module Aws::Lightsail
|
|
3306
3307
|
|
3307
3308
|
# @!attribute [rw] operations
|
3308
3309
|
# An array of objects that describe the result of the action, such as
|
3309
|
-
# the status of the request, the
|
3310
|
+
# the status of the request, the timestamp of the request, and the
|
3310
3311
|
# resources affected by the request.
|
3311
3312
|
# @return [Array<Types::Operation>]
|
3312
3313
|
#
|
@@ -3343,7 +3344,7 @@ module Aws::Lightsail
|
|
3343
3344
|
|
3344
3345
|
# @!attribute [rw] operations
|
3345
3346
|
# An array of objects that describe the result of the action, such as
|
3346
|
-
# the status of the request, the
|
3347
|
+
# the status of the request, the timestamp of the request, and the
|
3347
3348
|
# resources affected by the request.
|
3348
3349
|
# @return [Array<Types::Operation>]
|
3349
3350
|
#
|
@@ -3833,7 +3834,7 @@ module Aws::Lightsail
|
|
3833
3834
|
|
3834
3835
|
# @!attribute [rw] operations
|
3835
3836
|
# An array of objects that describe the result of the action, such as
|
3836
|
-
# the status of the request, the
|
3837
|
+
# the status of the request, the timestamp of the request, and the
|
3837
3838
|
# resources affected by the request.
|
3838
3839
|
# @return [Array<Types::Operation>]
|
3839
3840
|
#
|
@@ -3967,7 +3968,7 @@ module Aws::Lightsail
|
|
3967
3968
|
|
3968
3969
|
# @!attribute [rw] operations
|
3969
3970
|
# An array of objects that describe the result of the action, such as
|
3970
|
-
# the status of the request, the
|
3971
|
+
# the status of the request, the timestamp of the request, and the
|
3971
3972
|
# resources affected by the request.
|
3972
3973
|
# @return [Array<Types::Operation>]
|
3973
3974
|
#
|
@@ -4646,7 +4647,7 @@ module Aws::Lightsail
|
|
4646
4647
|
# useful `statistics` to include in your request, and the published
|
4647
4648
|
# `unit` value.
|
4648
4649
|
#
|
4649
|
-
# * <b> <code>CPUUtilization</code> </b>
|
4650
|
+
# * <b> <code>CPUUtilization</code> </b> - The percentage of allocated
|
4650
4651
|
# compute units that are currently in use on the instance. This
|
4651
4652
|
# metric identifies the processing power to run the applications on
|
4652
4653
|
# the instance. Tools in your operating system can show a lower
|
@@ -4658,7 +4659,7 @@ module Aws::Lightsail
|
|
4658
4659
|
#
|
4659
4660
|
# `Unit`\: The published unit is `Percent`.
|
4660
4661
|
#
|
4661
|
-
# * <b> <code>NetworkIn</code> </b>
|
4662
|
+
# * <b> <code>NetworkIn</code> </b> - The number of bytes received on
|
4662
4663
|
# all network interfaces by the instance. This metric identifies the
|
4663
4664
|
# volume of incoming network traffic to the instance. The number
|
4664
4665
|
# reported is the number of bytes received during the period.
|
@@ -4669,7 +4670,7 @@ module Aws::Lightsail
|
|
4669
4670
|
#
|
4670
4671
|
# `Unit`\: The published unit is `Bytes`.
|
4671
4672
|
#
|
4672
|
-
# * <b> <code>NetworkOut</code> </b>
|
4673
|
+
# * <b> <code>NetworkOut</code> </b> - The number of bytes sent out on
|
4673
4674
|
# all network interfaces by the instance. This metric identifies the
|
4674
4675
|
# volume of outgoing network traffic from the instance. The number
|
4675
4676
|
# reported is the number of bytes sent during the period. Because
|
@@ -4680,7 +4681,7 @@ module Aws::Lightsail
|
|
4680
4681
|
#
|
4681
4682
|
# `Unit`\: The published unit is `Bytes`.
|
4682
4683
|
#
|
4683
|
-
# * <b> <code>StatusCheckFailed</code> </b>
|
4684
|
+
# * <b> <code>StatusCheckFailed</code> </b> - Reports whether the
|
4684
4685
|
# instance passed or failed both the instance status check and the
|
4685
4686
|
# system status check. This metric can be either 0 (passed) or 1
|
4686
4687
|
# (failed). This metric data is available in 1-minute (60 seconds)
|
@@ -4690,7 +4691,7 @@ module Aws::Lightsail
|
|
4690
4691
|
#
|
4691
4692
|
# `Unit`\: The published unit is `Count`.
|
4692
4693
|
#
|
4693
|
-
# * <b> <code>StatusCheckFailed_Instance</code> </b>
|
4694
|
+
# * <b> <code>StatusCheckFailed_Instance</code> </b> - Reports whether
|
4694
4695
|
# the instance passed or failed the instance status check. This
|
4695
4696
|
# metric can be either 0 (passed) or 1 (failed). This metric data is
|
4696
4697
|
# available in 1-minute (60 seconds) granularity.
|
@@ -4699,7 +4700,7 @@ module Aws::Lightsail
|
|
4699
4700
|
#
|
4700
4701
|
# `Unit`\: The published unit is `Count`.
|
4701
4702
|
#
|
4702
|
-
# * <b> <code>StatusCheckFailed_System</code> </b>
|
4703
|
+
# * <b> <code>StatusCheckFailed_System</code> </b> - Reports whether
|
4703
4704
|
# the instance passed or failed the system status check. This metric
|
4704
4705
|
# can be either 0 (passed) or 1 (failed). This metric data is
|
4705
4706
|
# available in 1-minute (60 seconds) granularity.
|
@@ -4728,8 +4729,8 @@ module Aws::Lightsail
|
|
4728
4729
|
#
|
4729
4730
|
# @!attribute [rw] unit
|
4730
4731
|
# The unit for the metric data request. Valid units depend on the
|
4731
|
-
# metric data being
|
4732
|
-
# metric, see the `metricName` parameter.
|
4732
|
+
# metric data being requested. For the valid units to specify with
|
4733
|
+
# each available metric, see the `metricName` parameter.
|
4733
4734
|
# @return [String]
|
4734
4735
|
#
|
4735
4736
|
# @!attribute [rw] statistics
|
@@ -4737,26 +4738,26 @@ module Aws::Lightsail
|
|
4737
4738
|
#
|
4738
4739
|
# The following statistics are available:
|
4739
4740
|
#
|
4740
|
-
# * `Minimum`
|
4741
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
4741
4742
|
# Use this value to determine low volumes of activity for your
|
4742
4743
|
# application.
|
4743
4744
|
#
|
4744
|
-
# * `Maximum`
|
4745
|
+
# * `Maximum` - The highest value observed during the specified
|
4745
4746
|
# period. Use this value to determine high volumes of activity for
|
4746
4747
|
# your application.
|
4747
4748
|
#
|
4748
|
-
# * `Sum`
|
4749
|
+
# * `Sum` - All values submitted for the matching metric added
|
4749
4750
|
# together. You can use this statistic to determine the total volume
|
4750
4751
|
# of a metric.
|
4751
4752
|
#
|
4752
|
-
# * `Average`
|
4753
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
4753
4754
|
# period. By comparing this statistic with the Minimum and Maximum
|
4754
4755
|
# values, you can determine the full scope of a metric and how close
|
4755
4756
|
# the average use is to the Minimum and Maximum values. This
|
4756
4757
|
# comparison helps you to know when to increase or decrease your
|
4757
4758
|
# resources.
|
4758
4759
|
#
|
4759
|
-
# * `SampleCount`
|
4760
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
4760
4761
|
# statistical calculation.
|
4761
4762
|
# @return [Array<String>]
|
4762
4763
|
#
|
@@ -4798,7 +4799,7 @@ module Aws::Lightsail
|
|
4798
4799
|
# }
|
4799
4800
|
#
|
4800
4801
|
# @!attribute [rw] instance_name
|
4801
|
-
# The name of the instance.
|
4802
|
+
# The name of the instance for which to return firewall port states.
|
4802
4803
|
# @return [String]
|
4803
4804
|
#
|
4804
4805
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesRequest AWS API Documentation
|
@@ -4809,7 +4810,8 @@ module Aws::Lightsail
|
|
4809
4810
|
end
|
4810
4811
|
|
4811
4812
|
# @!attribute [rw] port_states
|
4812
|
-
#
|
4813
|
+
# An array of objects that describe the firewall port states for the
|
4814
|
+
# specified instance.
|
4813
4815
|
# @return [Array<Types::InstancePortState>]
|
4814
4816
|
#
|
4815
4817
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesResult AWS API Documentation
|
@@ -5103,7 +5105,7 @@ module Aws::Lightsail
|
|
5103
5105
|
# most useful `statistics` to include in your request, and the
|
5104
5106
|
# published `unit` value.
|
5105
5107
|
#
|
5106
|
-
# * <b> <code>ClientTLSNegotiationErrorCount</code> </b>
|
5108
|
+
# * <b> <code>ClientTLSNegotiationErrorCount</code> </b> - The number
|
5107
5109
|
# of TLS connections initiated by the client that did not establish
|
5108
5110
|
# a session with the load balancer due to a TLS error generated by
|
5109
5111
|
# the load balancer. Possible causes include a mismatch of ciphers
|
@@ -5113,7 +5115,7 @@ module Aws::Lightsail
|
|
5113
5115
|
#
|
5114
5116
|
# `Unit`\: The published unit is `Count`.
|
5115
5117
|
#
|
5116
|
-
# * <b> <code>HealthyHostCount</code> </b>
|
5118
|
+
# * <b> <code>HealthyHostCount</code> </b> - The number of target
|
5117
5119
|
# instances that are considered healthy.
|
5118
5120
|
#
|
5119
5121
|
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
@@ -5121,7 +5123,7 @@ module Aws::Lightsail
|
|
5121
5123
|
#
|
5122
5124
|
# `Unit`\: The published unit is `Count`.
|
5123
5125
|
#
|
5124
|
-
# * <b> <code>HTTPCode_Instance_2XX_Count</code> </b>
|
5126
|
+
# * <b> <code>HTTPCode_Instance_2XX_Count</code> </b> - The number of
|
5125
5127
|
# HTTP 2XX response codes generated by the target instances. This
|
5126
5128
|
# does not include any response codes generated by the load
|
5127
5129
|
# balancer.
|
@@ -5131,7 +5133,7 @@ module Aws::Lightsail
|
|
5131
5133
|
#
|
5132
5134
|
# `Unit`\: The published unit is `Count`.
|
5133
5135
|
#
|
5134
|
-
# * <b> <code>HTTPCode_Instance_3XX_Count</code> </b>
|
5136
|
+
# * <b> <code>HTTPCode_Instance_3XX_Count</code> </b> - The number of
|
5135
5137
|
# HTTP 3XX response codes generated by the target instances. This
|
5136
5138
|
# does not include any response codes generated by the load
|
5137
5139
|
# balancer.
|
@@ -5141,7 +5143,7 @@ module Aws::Lightsail
|
|
5141
5143
|
#
|
5142
5144
|
# `Unit`\: The published unit is `Count`.
|
5143
5145
|
#
|
5144
|
-
# * <b> <code>HTTPCode_Instance_4XX_Count</code> </b>
|
5146
|
+
# * <b> <code>HTTPCode_Instance_4XX_Count</code> </b> - The number of
|
5145
5147
|
# HTTP 4XX response codes generated by the target instances. This
|
5146
5148
|
# does not include any response codes generated by the load
|
5147
5149
|
# balancer.
|
@@ -5151,7 +5153,7 @@ module Aws::Lightsail
|
|
5151
5153
|
#
|
5152
5154
|
# `Unit`\: The published unit is `Count`.
|
5153
5155
|
#
|
5154
|
-
# * <b> <code>HTTPCode_Instance_5XX_Count</code> </b>
|
5156
|
+
# * <b> <code>HTTPCode_Instance_5XX_Count</code> </b> - The number of
|
5155
5157
|
# HTTP 5XX response codes generated by the target instances. This
|
5156
5158
|
# does not include any response codes generated by the load
|
5157
5159
|
# balancer.
|
@@ -5161,7 +5163,7 @@ module Aws::Lightsail
|
|
5161
5163
|
#
|
5162
5164
|
# `Unit`\: The published unit is `Count`.
|
5163
5165
|
#
|
5164
|
-
# * <b> <code>HTTPCode_LB_4XX_Count</code> </b>
|
5166
|
+
# * <b> <code>HTTPCode_LB_4XX_Count</code> </b> - The number of HTTP
|
5165
5167
|
# 4XX client error codes that originated from the load balancer.
|
5166
5168
|
# Client errors are generated when requests are malformed or
|
5167
5169
|
# incomplete. These requests were not received by the target
|
@@ -5173,7 +5175,7 @@ module Aws::Lightsail
|
|
5173
5175
|
#
|
5174
5176
|
# `Unit`\: The published unit is `Count`.
|
5175
5177
|
#
|
5176
|
-
# * <b> <code>HTTPCode_LB_5XX_Count</code> </b>
|
5178
|
+
# * <b> <code>HTTPCode_LB_5XX_Count</code> </b> - The number of HTTP
|
5177
5179
|
# 5XX server error codes that originated from the load balancer.
|
5178
5180
|
# This does not include any response codes generated by the target
|
5179
5181
|
# instance. This metric is reported if there are no healthy
|
@@ -5186,7 +5188,7 @@ module Aws::Lightsail
|
|
5186
5188
|
#
|
5187
5189
|
# `Unit`\: The published unit is `Count`.
|
5188
5190
|
#
|
5189
|
-
# * <b> <code>InstanceResponseTime</code> </b>
|
5191
|
+
# * <b> <code>InstanceResponseTime</code> </b> - The time elapsed, in
|
5190
5192
|
# seconds, after the request leaves the load balancer until a
|
5191
5193
|
# response from the target instance is received.
|
5192
5194
|
#
|
@@ -5194,7 +5196,7 @@ module Aws::Lightsail
|
|
5194
5196
|
#
|
5195
5197
|
# `Unit`\: The published unit is `Seconds`.
|
5196
5198
|
#
|
5197
|
-
# * <b> <code>RejectedConnectionCount</code> </b>
|
5199
|
+
# * <b> <code>RejectedConnectionCount</code> </b> - The number of
|
5198
5200
|
# connections that were rejected because the load balancer had
|
5199
5201
|
# reached its maximum number of connections.
|
5200
5202
|
#
|
@@ -5202,7 +5204,7 @@ module Aws::Lightsail
|
|
5202
5204
|
#
|
5203
5205
|
# `Unit`\: The published unit is `Count`.
|
5204
5206
|
#
|
5205
|
-
# * <b> <code>RequestCount</code> </b>
|
5207
|
+
# * <b> <code>RequestCount</code> </b> - The number of requests
|
5206
5208
|
# processed over IPv4. This count includes only the requests with a
|
5207
5209
|
# response generated by a target instance of the load balancer.
|
5208
5210
|
#
|
@@ -5211,7 +5213,7 @@ module Aws::Lightsail
|
|
5211
5213
|
#
|
5212
5214
|
# `Unit`\: The published unit is `Count`.
|
5213
5215
|
#
|
5214
|
-
# * <b> <code>UnhealthyHostCount</code> </b>
|
5216
|
+
# * <b> <code>UnhealthyHostCount</code> </b> - The number of target
|
5215
5217
|
# instances that are considered unhealthy.
|
5216
5218
|
#
|
5217
5219
|
# `Statistics`\: The most useful statistic are `Average`, `Minimum`,
|
@@ -5243,26 +5245,26 @@ module Aws::Lightsail
|
|
5243
5245
|
#
|
5244
5246
|
# The following statistics are available:
|
5245
5247
|
#
|
5246
|
-
# * `Minimum`
|
5248
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
5247
5249
|
# Use this value to determine low volumes of activity for your
|
5248
5250
|
# application.
|
5249
5251
|
#
|
5250
|
-
# * `Maximum`
|
5252
|
+
# * `Maximum` - The highest value observed during the specified
|
5251
5253
|
# period. Use this value to determine high volumes of activity for
|
5252
5254
|
# your application.
|
5253
5255
|
#
|
5254
|
-
# * `Sum`
|
5256
|
+
# * `Sum` - All values submitted for the matching metric added
|
5255
5257
|
# together. You can use this statistic to determine the total volume
|
5256
5258
|
# of a metric.
|
5257
5259
|
#
|
5258
|
-
# * `Average`
|
5260
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
5259
5261
|
# period. By comparing this statistic with the Minimum and Maximum
|
5260
5262
|
# values, you can determine the full scope of a metric and how close
|
5261
5263
|
# the average use is to the Minimum and Maximum values. This
|
5262
5264
|
# comparison helps you to know when to increase or decrease your
|
5263
5265
|
# resources.
|
5264
5266
|
#
|
5265
|
-
# * `SampleCount`
|
5267
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
5266
5268
|
# statistical calculation.
|
5267
5269
|
# @return [Array<String>]
|
5268
5270
|
#
|
@@ -5508,7 +5510,7 @@ module Aws::Lightsail
|
|
5508
5510
|
|
5509
5511
|
# @!attribute [rw] operation
|
5510
5512
|
# An array of objects that describe the result of the action, such as
|
5511
|
-
# the status of the request, the
|
5513
|
+
# the status of the request, the timestamp of the request, and the
|
5512
5514
|
# resources affected by the request.
|
5513
5515
|
# @return [Types::Operation]
|
5514
5516
|
#
|
@@ -5550,7 +5552,7 @@ module Aws::Lightsail
|
|
5550
5552
|
|
5551
5553
|
# @!attribute [rw] operations
|
5552
5554
|
# An array of objects that describe the result of the action, such as
|
5553
|
-
# the status of the request, the
|
5555
|
+
# the status of the request, the timestamp of the request, and the
|
5554
5556
|
# resources affected by the request.
|
5555
5557
|
# @return [Array<Types::Operation>]
|
5556
5558
|
#
|
@@ -5609,7 +5611,7 @@ module Aws::Lightsail
|
|
5609
5611
|
|
5610
5612
|
# @!attribute [rw] operations
|
5611
5613
|
# An array of objects that describe the result of the action, such as
|
5612
|
-
# the status of the request, the
|
5614
|
+
# the status of the request, the timestamp of the request, and the
|
5613
5615
|
# resources affected by the request.
|
5614
5616
|
# @return [Array<Types::Operation>]
|
5615
5617
|
#
|
@@ -6042,7 +6044,7 @@ module Aws::Lightsail
|
|
6042
6044
|
# published `unit` value. All relational database metric data is
|
6043
6045
|
# available in 1-minute (60 seconds) granularity.
|
6044
6046
|
#
|
6045
|
-
# * <b> <code>CPUUtilization</code> </b>
|
6047
|
+
# * <b> <code>CPUUtilization</code> </b> - The percentage of CPU
|
6046
6048
|
# utilization currently in use on the database.
|
6047
6049
|
#
|
6048
6050
|
# `Statistics`\: The most useful statistics are `Maximum` and
|
@@ -6050,28 +6052,28 @@ module Aws::Lightsail
|
|
6050
6052
|
#
|
6051
6053
|
# `Unit`\: The published unit is `Percent`.
|
6052
6054
|
#
|
6053
|
-
# * <b> <code>DatabaseConnections</code> </b>
|
6055
|
+
# * <b> <code>DatabaseConnections</code> </b> - The number of database
|
6054
6056
|
# connections in use.
|
6055
6057
|
#
|
6056
6058
|
# `Statistics`\: The most useful statistics are `Maximum` and `Sum`.
|
6057
6059
|
#
|
6058
6060
|
# `Unit`\: The published unit is `Count`.
|
6059
6061
|
#
|
6060
|
-
# * <b> <code>DiskQueueDepth</code> </b>
|
6062
|
+
# * <b> <code>DiskQueueDepth</code> </b> - The number of outstanding
|
6061
6063
|
# IOs (read/write requests) that are waiting to access the disk.
|
6062
6064
|
#
|
6063
6065
|
# `Statistics`\: The most useful statistic is `Sum`.
|
6064
6066
|
#
|
6065
6067
|
# `Unit`\: The published unit is `Count`.
|
6066
6068
|
#
|
6067
|
-
# * <b> <code>FreeStorageSpace</code> </b>
|
6069
|
+
# * <b> <code>FreeStorageSpace</code> </b> - The amount of available
|
6068
6070
|
# storage space.
|
6069
6071
|
#
|
6070
6072
|
# `Statistics`\: The most useful statistic is `Sum`.
|
6071
6073
|
#
|
6072
6074
|
# `Unit`\: The published unit is `Bytes`.
|
6073
6075
|
#
|
6074
|
-
# * <b> <code>NetworkReceiveThroughput</code> </b>
|
6076
|
+
# * <b> <code>NetworkReceiveThroughput</code> </b> - The incoming
|
6075
6077
|
# (Receive) network traffic on the database, including both customer
|
6076
6078
|
# database traffic and AWS traffic used for monitoring and
|
6077
6079
|
# replication.
|
@@ -6080,7 +6082,7 @@ module Aws::Lightsail
|
|
6080
6082
|
#
|
6081
6083
|
# `Unit`\: The published unit is `Bytes/Second`.
|
6082
6084
|
#
|
6083
|
-
# * <b> <code>NetworkTransmitThroughput</code> </b>
|
6085
|
+
# * <b> <code>NetworkTransmitThroughput</code> </b> - The outgoing
|
6084
6086
|
# (Transmit) network traffic on the database, including both
|
6085
6087
|
# customer database traffic and AWS traffic used for monitoring and
|
6086
6088
|
# replication.
|
@@ -6134,26 +6136,26 @@ module Aws::Lightsail
|
|
6134
6136
|
#
|
6135
6137
|
# The following statistics are available:
|
6136
6138
|
#
|
6137
|
-
# * `Minimum`
|
6139
|
+
# * `Minimum` - The lowest value observed during the specified period.
|
6138
6140
|
# Use this value to determine low volumes of activity for your
|
6139
6141
|
# application.
|
6140
6142
|
#
|
6141
|
-
# * `Maximum`
|
6143
|
+
# * `Maximum` - The highest value observed during the specified
|
6142
6144
|
# period. Use this value to determine high volumes of activity for
|
6143
6145
|
# your application.
|
6144
6146
|
#
|
6145
|
-
# * `Sum`
|
6147
|
+
# * `Sum` - All values submitted for the matching metric added
|
6146
6148
|
# together. You can use this statistic to determine the total volume
|
6147
6149
|
# of a metric.
|
6148
6150
|
#
|
6149
|
-
# * `Average`
|
6151
|
+
# * `Average` - The value of Sum / SampleCount during the specified
|
6150
6152
|
# period. By comparing this statistic with the Minimum and Maximum
|
6151
6153
|
# values, you can determine the full scope of a metric and how close
|
6152
6154
|
# the average use is to the Minimum and Maximum values. This
|
6153
6155
|
# comparison helps you to know when to increase or decrease your
|
6154
6156
|
# resources.
|
6155
6157
|
#
|
6156
|
-
# * `SampleCount`
|
6158
|
+
# * `SampleCount` - The count, or number, of data points used for the
|
6157
6159
|
# statistical calculation.
|
6158
6160
|
# @return [Array<String>]
|
6159
6161
|
#
|
@@ -6566,7 +6568,7 @@ module Aws::Lightsail
|
|
6566
6568
|
|
6567
6569
|
# @!attribute [rw] operation
|
6568
6570
|
# An array of objects that describe the result of the action, such as
|
6569
|
-
# the status of the request, the
|
6571
|
+
# the status of the request, the timestamp of the request, and the
|
6570
6572
|
# resources affected by the request.
|
6571
6573
|
# @return [Types::Operation]
|
6572
6574
|
#
|
@@ -6816,14 +6818,22 @@ module Aws::Lightsail
|
|
6816
6818
|
#
|
6817
6819
|
# The following configuration options are available:
|
6818
6820
|
#
|
6819
|
-
# * DEFAULT
|
6821
|
+
# * `DEFAULT` - Use the default firewall settings from the Lightsail
|
6822
|
+
# instance blueprint.
|
6823
|
+
#
|
6824
|
+
# * `INSTANCE` - Use the configured firewall settings from the source
|
6825
|
+
# Lightsail instance.
|
6820
6826
|
#
|
6821
|
-
# *
|
6822
|
-
# instance.
|
6827
|
+
# * `NONE` - Use the default Amazon EC2 security group.
|
6823
6828
|
#
|
6824
|
-
# *
|
6829
|
+
# * `CLOSED` - All ports closed.
|
6825
6830
|
#
|
6826
|
-
#
|
6831
|
+
# <note markdown="1"> If you configured `lightsail-connect` as a `cidrListAliases` on your
|
6832
|
+
# instance, or if you chose to allow the Lightsail browser-based SSH
|
6833
|
+
# or RDP clients to connect to your instance, that configuration is
|
6834
|
+
# not carried over to your new Amazon EC2 instance.
|
6835
|
+
#
|
6836
|
+
# </note>
|
6827
6837
|
# @return [String]
|
6828
6838
|
#
|
6829
6839
|
# @!attribute [rw] user_data
|
@@ -6978,18 +6988,44 @@ module Aws::Lightsail
|
|
6978
6988
|
include Aws::Structure
|
6979
6989
|
end
|
6980
6990
|
|
6981
|
-
# Describes information about
|
6991
|
+
# Describes information about ports for an Amazon Lightsail instance.
|
6982
6992
|
#
|
6983
6993
|
# @!attribute [rw] from_port
|
6984
|
-
# The first port in
|
6994
|
+
# The first port in a range of open ports on an instance.
|
6995
|
+
#
|
6996
|
+
# Allowed ports:
|
6997
|
+
#
|
6998
|
+
# * TCP and UDP - `0` to `65535`
|
6999
|
+
#
|
7000
|
+
# * ICMP - `8` (to configure Ping)
|
7001
|
+
#
|
7002
|
+
# <note markdown="1"> Ping is the only communication supported through the ICMP protocol
|
7003
|
+
# in Lightsail. To configure ping, specify the `fromPort` parameter
|
7004
|
+
# as `8`, and the `toPort` parameter as `-1`.
|
7005
|
+
#
|
7006
|
+
# </note>
|
6985
7007
|
# @return [Integer]
|
6986
7008
|
#
|
6987
7009
|
# @!attribute [rw] to_port
|
6988
|
-
# The last port in
|
7010
|
+
# The last port in a range of open ports on an instance.
|
7011
|
+
#
|
7012
|
+
# Allowed ports:
|
7013
|
+
#
|
7014
|
+
# * TCP and UDP - `0` to `65535`
|
7015
|
+
#
|
7016
|
+
# * ICMP - `-1` (to configure Ping)
|
7017
|
+
#
|
7018
|
+
# <note markdown="1"> Ping is the only communication supported through the ICMP protocol
|
7019
|
+
# in Lightsail. To configure ping, specify the `fromPort` parameter
|
7020
|
+
# as `8`, and the `toPort` parameter as `-1`.
|
7021
|
+
#
|
7022
|
+
# </note>
|
6989
7023
|
# @return [Integer]
|
6990
7024
|
#
|
6991
7025
|
# @!attribute [rw] protocol
|
6992
|
-
# The protocol
|
7026
|
+
# The IP protocol name.
|
7027
|
+
#
|
7028
|
+
# The name can be one of the following:
|
6993
7029
|
#
|
6994
7030
|
# * `tcp` - Transmission Control Protocol (TCP) provides reliable,
|
6995
7031
|
# ordered, and error-checked delivery of streamed data between
|
@@ -6998,7 +7034,7 @@ module Aws::Lightsail
|
|
6998
7034
|
# service, use UDP instead.
|
6999
7035
|
#
|
7000
7036
|
# * `all` - All transport layer protocol types. For more general
|
7001
|
-
# information, see [Transport layer][1] on Wikipedia
|
7037
|
+
# information, see [Transport layer][1] on *Wikipedia*.
|
7002
7038
|
#
|
7003
7039
|
# * `udp` - With User Datagram Protocol (UDP), computer applications
|
7004
7040
|
# can send messages (or datagrams) to other hosts on an Internet
|
@@ -7009,14 +7045,26 @@ module Aws::Lightsail
|
|
7009
7045
|
# latency over reliability. If you do require reliable data stream
|
7010
7046
|
# service, use TCP instead.
|
7011
7047
|
#
|
7048
|
+
# * `icmp` - Internet Control Message Protocol (ICMP) is used to send
|
7049
|
+
# error messages and operational information indicating success or
|
7050
|
+
# failure when communicating with an instance. For example, an error
|
7051
|
+
# is indicated when an instance could not be reached.
|
7052
|
+
#
|
7053
|
+
# <note markdown="1"> Ping is the only communication supported through the ICMP protocol
|
7054
|
+
# in Lightsail. To configure ping, specify the `fromPort` parameter
|
7055
|
+
# as `8`, and the `toPort` parameter as `-1`.
|
7056
|
+
#
|
7057
|
+
# </note>
|
7058
|
+
#
|
7012
7059
|
#
|
7013
7060
|
#
|
7014
7061
|
# [1]: https://en.wikipedia.org/wiki/Transport_layer
|
7015
7062
|
# @return [String]
|
7016
7063
|
#
|
7017
7064
|
# @!attribute [rw] access_from
|
7018
|
-
# The location from which access is allowed
|
7019
|
-
# (0.0.0.0/0)`
|
7065
|
+
# The location from which access is allowed. For example, `Anywhere
|
7066
|
+
# (0.0.0.0/0)`, or `Custom` if a specific IP address or range of IP
|
7067
|
+
# addresses is allowed.
|
7020
7068
|
# @return [String]
|
7021
7069
|
#
|
7022
7070
|
# @!attribute [rw] access_type
|
@@ -7024,13 +7072,39 @@ module Aws::Lightsail
|
|
7024
7072
|
# @return [String]
|
7025
7073
|
#
|
7026
7074
|
# @!attribute [rw] common_name
|
7027
|
-
# The common name.
|
7075
|
+
# The common name of the port information.
|
7028
7076
|
# @return [String]
|
7029
7077
|
#
|
7030
7078
|
# @!attribute [rw] access_direction
|
7031
7079
|
# The access direction (`inbound` or `outbound`).
|
7080
|
+
#
|
7081
|
+
# <note markdown="1"> Lightsail currently supports only `inbound` access direction.
|
7082
|
+
#
|
7083
|
+
# </note>
|
7032
7084
|
# @return [String]
|
7033
7085
|
#
|
7086
|
+
# @!attribute [rw] cidrs
|
7087
|
+
# The IP address, or range of IP addresses in CIDR notation, that are
|
7088
|
+
# allowed to connect to an instance through the ports, and the
|
7089
|
+
# protocol. Lightsail supports IPv4 addresses.
|
7090
|
+
#
|
7091
|
+
# For more information about CIDR block notation, see [Classless
|
7092
|
+
# Inter-Domain Routing][1] on *Wikipedia*.
|
7093
|
+
#
|
7094
|
+
#
|
7095
|
+
#
|
7096
|
+
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation
|
7097
|
+
# @return [Array<String>]
|
7098
|
+
#
|
7099
|
+
# @!attribute [rw] cidr_list_aliases
|
7100
|
+
# An alias that defines access for a preconfigured range of IP
|
7101
|
+
# addresses.
|
7102
|
+
#
|
7103
|
+
# The only alias currently supported is `lightsail-connect`, which
|
7104
|
+
# allows IP addresses of the browser-based RDP/SSH client in the
|
7105
|
+
# Lightsail console to connect to your instance.
|
7106
|
+
# @return [Array<String>]
|
7107
|
+
#
|
7034
7108
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortInfo AWS API Documentation
|
7035
7109
|
#
|
7036
7110
|
class InstancePortInfo < Struct.new(
|
@@ -7040,22 +7114,51 @@ module Aws::Lightsail
|
|
7040
7114
|
:access_from,
|
7041
7115
|
:access_type,
|
7042
7116
|
:common_name,
|
7043
|
-
:access_direction
|
7117
|
+
:access_direction,
|
7118
|
+
:cidrs,
|
7119
|
+
:cidr_list_aliases)
|
7044
7120
|
include Aws::Structure
|
7045
7121
|
end
|
7046
7122
|
|
7047
|
-
# Describes the
|
7123
|
+
# Describes open ports on an instance, the IP addresses allowed to
|
7124
|
+
# connect to the instance through the ports, and the protocol.
|
7048
7125
|
#
|
7049
7126
|
# @!attribute [rw] from_port
|
7050
|
-
# The first port in
|
7127
|
+
# The first port in a range of open ports on an instance.
|
7128
|
+
#
|
7129
|
+
# Allowed ports:
|
7130
|
+
#
|
7131
|
+
# * TCP and UDP - `0` to `65535`
|
7132
|
+
#
|
7133
|
+
# * ICMP - `8` (to configure Ping)
|
7134
|
+
#
|
7135
|
+
# <note markdown="1"> Ping is the only communication supported through the ICMP protocol
|
7136
|
+
# in Lightsail. To configure ping, specify the `fromPort` parameter
|
7137
|
+
# as `8`, and the `toPort` parameter as `-1`.
|
7138
|
+
#
|
7139
|
+
# </note>
|
7051
7140
|
# @return [Integer]
|
7052
7141
|
#
|
7053
7142
|
# @!attribute [rw] to_port
|
7054
|
-
# The last port in
|
7143
|
+
# The last port in a range of open ports on an instance.
|
7144
|
+
#
|
7145
|
+
# Allowed ports:
|
7146
|
+
#
|
7147
|
+
# * TCP and UDP - `0` to `65535`
|
7148
|
+
#
|
7149
|
+
# * ICMP - `-1` (to configure Ping)
|
7150
|
+
#
|
7151
|
+
# <note markdown="1"> Ping is the only communication supported through the ICMP protocol
|
7152
|
+
# in Lightsail. To configure ping, specify the `fromPort` parameter
|
7153
|
+
# as `8`, and the `toPort` parameter as `-1`.
|
7154
|
+
#
|
7155
|
+
# </note>
|
7055
7156
|
# @return [Integer]
|
7056
7157
|
#
|
7057
7158
|
# @!attribute [rw] protocol
|
7058
|
-
# The protocol
|
7159
|
+
# The IP protocol name.
|
7160
|
+
#
|
7161
|
+
# The name can be one of the following:
|
7059
7162
|
#
|
7060
7163
|
# * `tcp` - Transmission Control Protocol (TCP) provides reliable,
|
7061
7164
|
# ordered, and error-checked delivery of streamed data between
|
@@ -7064,7 +7167,7 @@ module Aws::Lightsail
|
|
7064
7167
|
# service, use UDP instead.
|
7065
7168
|
#
|
7066
7169
|
# * `all` - All transport layer protocol types. For more general
|
7067
|
-
# information, see [Transport layer][1] on Wikipedia
|
7170
|
+
# information, see [Transport layer][1] on *Wikipedia*.
|
7068
7171
|
#
|
7069
7172
|
# * `udp` - With User Datagram Protocol (UDP), computer applications
|
7070
7173
|
# can send messages (or datagrams) to other hosts on an Internet
|
@@ -7075,6 +7178,17 @@ module Aws::Lightsail
|
|
7075
7178
|
# latency over reliability. If you do require reliable data stream
|
7076
7179
|
# service, use TCP instead.
|
7077
7180
|
#
|
7181
|
+
# * `icmp` - Internet Control Message Protocol (ICMP) is used to send
|
7182
|
+
# error messages and operational information indicating success or
|
7183
|
+
# failure when communicating with an instance. For example, an error
|
7184
|
+
# is indicated when an instance could not be reached.
|
7185
|
+
#
|
7186
|
+
# <note markdown="1"> Ping is the only communication supported through the ICMP protocol
|
7187
|
+
# in Lightsail. To configure ping, specify the `fromPort` parameter
|
7188
|
+
# as `8`, and the `toPort` parameter as `-1`.
|
7189
|
+
#
|
7190
|
+
# </note>
|
7191
|
+
#
|
7078
7192
|
#
|
7079
7193
|
#
|
7080
7194
|
# [1]: https://en.wikipedia.org/wiki/Transport_layer
|
@@ -7082,15 +7196,43 @@ module Aws::Lightsail
|
|
7082
7196
|
#
|
7083
7197
|
# @!attribute [rw] state
|
7084
7198
|
# Specifies whether the instance port is `open` or `closed`.
|
7199
|
+
#
|
7200
|
+
# <note markdown="1"> The port state for Lightsail instances is always `open`.
|
7201
|
+
#
|
7202
|
+
# </note>
|
7085
7203
|
# @return [String]
|
7086
7204
|
#
|
7205
|
+
# @!attribute [rw] cidrs
|
7206
|
+
# The IP address, or range of IP addresses in CIDR notation, that are
|
7207
|
+
# allowed to connect to an instance through the ports, and the
|
7208
|
+
# protocol. Lightsail supports IPv4 addresses.
|
7209
|
+
#
|
7210
|
+
# For more information about CIDR block notation, see [Classless
|
7211
|
+
# Inter-Domain Routing][1] on *Wikipedia*.
|
7212
|
+
#
|
7213
|
+
#
|
7214
|
+
#
|
7215
|
+
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation
|
7216
|
+
# @return [Array<String>]
|
7217
|
+
#
|
7218
|
+
# @!attribute [rw] cidr_list_aliases
|
7219
|
+
# An alias that defines access for a preconfigured range of IP
|
7220
|
+
# addresses.
|
7221
|
+
#
|
7222
|
+
# The only alias currently supported is `lightsail-connect`, which
|
7223
|
+
# allows IP addresses of the browser-based RDP/SSH client in the
|
7224
|
+
# Lightsail console to connect to your instance.
|
7225
|
+
# @return [Array<String>]
|
7226
|
+
#
|
7087
7227
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortState AWS API Documentation
|
7088
7228
|
#
|
7089
7229
|
class InstancePortState < Struct.new(
|
7090
7230
|
:from_port,
|
7091
7231
|
:to_port,
|
7092
7232
|
:protocol,
|
7093
|
-
:state
|
7233
|
+
:state,
|
7234
|
+
:cidrs,
|
7235
|
+
:cidr_list_aliases)
|
7094
7236
|
include Aws::Structure
|
7095
7237
|
end
|
7096
7238
|
|
@@ -7881,19 +8023,19 @@ module Aws::Lightsail
|
|
7881
8023
|
# port_info: { # required
|
7882
8024
|
# from_port: 1,
|
7883
8025
|
# to_port: 1,
|
7884
|
-
# protocol: "tcp", # accepts tcp, all, udp
|
8026
|
+
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
8027
|
+
# cidrs: ["string"],
|
8028
|
+
# cidr_list_aliases: ["string"],
|
7885
8029
|
# },
|
7886
8030
|
# instance_name: "ResourceName", # required
|
7887
8031
|
# }
|
7888
8032
|
#
|
7889
8033
|
# @!attribute [rw] port_info
|
7890
|
-
# An
|
7891
|
-
# mappings.
|
8034
|
+
# An object to describe the ports to open for the specified instance.
|
7892
8035
|
# @return [Types::PortInfo]
|
7893
8036
|
#
|
7894
8037
|
# @!attribute [rw] instance_name
|
7895
|
-
# The name of the instance for which
|
7896
|
-
# ports.
|
8038
|
+
# The name of the instance for which to open ports.
|
7897
8039
|
# @return [String]
|
7898
8040
|
#
|
7899
8041
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsRequest AWS API Documentation
|
@@ -7906,7 +8048,7 @@ module Aws::Lightsail
|
|
7906
8048
|
|
7907
8049
|
# @!attribute [rw] operation
|
7908
8050
|
# An array of objects that describe the result of the action, such as
|
7909
|
-
# the status of the request, the
|
8051
|
+
# the status of the request, the timestamp of the request, and the
|
7910
8052
|
# resources affected by the request.
|
7911
8053
|
# @return [Types::Operation]
|
7912
8054
|
#
|
@@ -8059,7 +8201,7 @@ module Aws::Lightsail
|
|
8059
8201
|
|
8060
8202
|
# @!attribute [rw] operation
|
8061
8203
|
# An array of objects that describe the result of the action, such as
|
8062
|
-
# the status of the request, the
|
8204
|
+
# the status of the request, the timestamp of the request, and the
|
8063
8205
|
# resources affected by the request.
|
8064
8206
|
# @return [Types::Operation]
|
8065
8207
|
#
|
@@ -8117,8 +8259,8 @@ module Aws::Lightsail
|
|
8117
8259
|
include Aws::Structure
|
8118
8260
|
end
|
8119
8261
|
|
8120
|
-
# Describes
|
8121
|
-
#
|
8262
|
+
# Describes ports to open on an instance, the IP addresses allowed to
|
8263
|
+
# connect to the instance through the ports, and the protocol.
|
8122
8264
|
#
|
8123
8265
|
# @note When making an API call, you may pass PortInfo
|
8124
8266
|
# data as a hash:
|
@@ -8126,27 +8268,120 @@ module Aws::Lightsail
|
|
8126
8268
|
# {
|
8127
8269
|
# from_port: 1,
|
8128
8270
|
# to_port: 1,
|
8129
|
-
# protocol: "tcp", # accepts tcp, all, udp
|
8271
|
+
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
8272
|
+
# cidrs: ["string"],
|
8273
|
+
# cidr_list_aliases: ["string"],
|
8130
8274
|
# }
|
8131
8275
|
#
|
8132
8276
|
# @!attribute [rw] from_port
|
8133
|
-
# The first port in
|
8277
|
+
# The first port in a range of open ports on an instance.
|
8278
|
+
#
|
8279
|
+
# Allowed ports:
|
8280
|
+
#
|
8281
|
+
# * TCP and UDP - `0` to `65535`
|
8282
|
+
#
|
8283
|
+
# * ICMP - `8` (to configure Ping)
|
8284
|
+
#
|
8285
|
+
# <note markdown="1"> Ping is the only communication supported through the ICMP protocol
|
8286
|
+
# in Lightsail. To configure ping, specify the `fromPort` parameter
|
8287
|
+
# as `8`, and the `toPort` parameter as `-1`.
|
8288
|
+
#
|
8289
|
+
# </note>
|
8134
8290
|
# @return [Integer]
|
8135
8291
|
#
|
8136
8292
|
# @!attribute [rw] to_port
|
8137
|
-
# The last port in
|
8293
|
+
# The last port in a range of open ports on an instance.
|
8294
|
+
#
|
8295
|
+
# Allowed ports:
|
8296
|
+
#
|
8297
|
+
# * TCP and UDP - `0` to `65535`
|
8298
|
+
#
|
8299
|
+
# * ICMP - `-1` (to configure Ping)
|
8300
|
+
#
|
8301
|
+
# <note markdown="1"> Ping is the only communication supported through the ICMP protocol
|
8302
|
+
# in Lightsail. To configure ping, specify the `fromPort` parameter
|
8303
|
+
# as `8`, and the `toPort` parameter as `-1`.
|
8304
|
+
#
|
8305
|
+
# </note>
|
8138
8306
|
# @return [Integer]
|
8139
8307
|
#
|
8140
8308
|
# @!attribute [rw] protocol
|
8141
|
-
# The protocol.
|
8309
|
+
# The IP protocol name.
|
8310
|
+
#
|
8311
|
+
# The name can be one of the following:
|
8312
|
+
#
|
8313
|
+
# * `tcp` - Transmission Control Protocol (TCP) provides reliable,
|
8314
|
+
# ordered, and error-checked delivery of streamed data between
|
8315
|
+
# applications running on hosts communicating by an IP network. If
|
8316
|
+
# you have an application that doesn't require reliable data stream
|
8317
|
+
# service, use UDP instead.
|
8318
|
+
#
|
8319
|
+
# * `all` - All transport layer protocol types. For more general
|
8320
|
+
# information, see [Transport layer][1] on *Wikipedia*.
|
8321
|
+
#
|
8322
|
+
# * `udp` - With User Datagram Protocol (UDP), computer applications
|
8323
|
+
# can send messages (or datagrams) to other hosts on an Internet
|
8324
|
+
# Protocol (IP) network. Prior communications are not required to
|
8325
|
+
# set up transmission channels or data paths. Applications that
|
8326
|
+
# don't require reliable data stream service can use UDP, which
|
8327
|
+
# provides a connectionless datagram service that emphasizes reduced
|
8328
|
+
# latency over reliability. If you do require reliable data stream
|
8329
|
+
# service, use TCP instead.
|
8330
|
+
#
|
8331
|
+
# * `icmp` - Internet Control Message Protocol (ICMP) is used to send
|
8332
|
+
# error messages and operational information indicating success or
|
8333
|
+
# failure when communicating with an instance. For example, an error
|
8334
|
+
# is indicated when an instance could not be reached.
|
8335
|
+
#
|
8336
|
+
# <note markdown="1"> Ping is the only communication supported through the ICMP protocol
|
8337
|
+
# in Lightsail. To configure ping, specify the `fromPort` parameter
|
8338
|
+
# as `8`, and the `toPort` parameter as `-1`.
|
8339
|
+
#
|
8340
|
+
# </note>
|
8341
|
+
#
|
8342
|
+
#
|
8343
|
+
#
|
8344
|
+
# [1]: https://en.wikipedia.org/wiki/Transport_layer
|
8142
8345
|
# @return [String]
|
8143
8346
|
#
|
8347
|
+
# @!attribute [rw] cidrs
|
8348
|
+
# The IP address, or range of IP addresses in CIDR notation, that are
|
8349
|
+
# allowed to connect to an instance through the ports, and the
|
8350
|
+
# protocol. Lightsail supports IPv4 addresses.
|
8351
|
+
#
|
8352
|
+
# Examples:
|
8353
|
+
#
|
8354
|
+
# * To allow the IP address `192.0.2.44`, specify `192.0.2.44` or
|
8355
|
+
# `192.0.2.44/32`.
|
8356
|
+
#
|
8357
|
+
# * To allow the IP addresses `192.0.2.0` to `192.0.2.255`, specify
|
8358
|
+
# `192.0.2.0/24`.
|
8359
|
+
#
|
8360
|
+
# For more information about CIDR block notation, see [Classless
|
8361
|
+
# Inter-Domain Routing][1] on *Wikipedia*.
|
8362
|
+
#
|
8363
|
+
#
|
8364
|
+
#
|
8365
|
+
# [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation
|
8366
|
+
# @return [Array<String>]
|
8367
|
+
#
|
8368
|
+
# @!attribute [rw] cidr_list_aliases
|
8369
|
+
# An alias that defines access for a preconfigured range of IP
|
8370
|
+
# addresses.
|
8371
|
+
#
|
8372
|
+
# The only alias currently supported is `lightsail-connect`, which
|
8373
|
+
# allows IP addresses of the browser-based RDP/SSH client in the
|
8374
|
+
# Lightsail console to connect to your instance.
|
8375
|
+
# @return [Array<String>]
|
8376
|
+
#
|
8144
8377
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PortInfo AWS API Documentation
|
8145
8378
|
#
|
8146
8379
|
class PortInfo < Struct.new(
|
8147
8380
|
:from_port,
|
8148
8381
|
:to_port,
|
8149
|
-
:protocol
|
8382
|
+
:protocol,
|
8383
|
+
:cidrs,
|
8384
|
+
:cidr_list_aliases)
|
8150
8385
|
include Aws::Structure
|
8151
8386
|
end
|
8152
8387
|
|
@@ -8241,18 +8476,18 @@ module Aws::Lightsail
|
|
8241
8476
|
#
|
8242
8477
|
# An alarm can treat missing data in the following ways:
|
8243
8478
|
#
|
8244
|
-
# * `breaching`
|
8479
|
+
# * `breaching` - Assume the missing data is not within the threshold.
|
8245
8480
|
# Missing data counts towards the number of times the metric is not
|
8246
8481
|
# within the threshold.
|
8247
8482
|
#
|
8248
|
-
# * `notBreaching`
|
8483
|
+
# * `notBreaching` - Assume the missing data is within the threshold.
|
8249
8484
|
# Missing data does not count towards the number of times the metric
|
8250
8485
|
# is not within the threshold.
|
8251
8486
|
#
|
8252
|
-
# * `ignore`
|
8487
|
+
# * `ignore` - Ignore the missing data. Maintains the current alarm
|
8253
8488
|
# state.
|
8254
8489
|
#
|
8255
|
-
# * `missing`
|
8490
|
+
# * `missing` - Missing data is treated as missing.
|
8256
8491
|
#
|
8257
8492
|
# If `treatMissingData` is not specified, the default behavior of
|
8258
8493
|
# `missing` is used.
|
@@ -8280,13 +8515,13 @@ module Aws::Lightsail
|
|
8280
8515
|
#
|
8281
8516
|
# An alarm has the following possible states:
|
8282
8517
|
#
|
8283
|
-
# * `ALARM`
|
8518
|
+
# * `ALARM` - The metric is outside of the defined threshold.
|
8284
8519
|
#
|
8285
|
-
# * `INSUFFICIENT_DATA`
|
8520
|
+
# * `INSUFFICIENT_DATA` - The alarm has just started, the metric is
|
8286
8521
|
# not available, or not enough data is available for the metric to
|
8287
8522
|
# determine the alarm state.
|
8288
8523
|
#
|
8289
|
-
# * `OK`
|
8524
|
+
# * `OK` - The metric is within the defined threshold.
|
8290
8525
|
#
|
8291
8526
|
# When you specify a notification trigger, the `ALARM` state must be
|
8292
8527
|
# specified. The `INSUFFICIENT_DATA` and `OK` states can be specified
|
@@ -8331,7 +8566,7 @@ module Aws::Lightsail
|
|
8331
8566
|
|
8332
8567
|
# @!attribute [rw] operations
|
8333
8568
|
# An array of objects that describe the result of the action, such as
|
8334
|
-
# the status of the request, the
|
8569
|
+
# the status of the request, the timestamp of the request, and the
|
8335
8570
|
# resources affected by the request.
|
8336
8571
|
# @return [Array<Types::Operation>]
|
8337
8572
|
#
|
@@ -8350,18 +8585,21 @@ module Aws::Lightsail
|
|
8350
8585
|
# {
|
8351
8586
|
# from_port: 1,
|
8352
8587
|
# to_port: 1,
|
8353
|
-
# protocol: "tcp", # accepts tcp, all, udp
|
8588
|
+
# protocol: "tcp", # accepts tcp, all, udp, icmp
|
8589
|
+
# cidrs: ["string"],
|
8590
|
+
# cidr_list_aliases: ["string"],
|
8354
8591
|
# },
|
8355
8592
|
# ],
|
8356
8593
|
# instance_name: "ResourceName", # required
|
8357
8594
|
# }
|
8358
8595
|
#
|
8359
8596
|
# @!attribute [rw] port_infos
|
8360
|
-
#
|
8597
|
+
# An array of objects to describe the ports to open for the specified
|
8598
|
+
# instance.
|
8361
8599
|
# @return [Array<Types::PortInfo>]
|
8362
8600
|
#
|
8363
8601
|
# @!attribute [rw] instance_name
|
8364
|
-
# The
|
8602
|
+
# The name of the instance for which to open ports.
|
8365
8603
|
# @return [String]
|
8366
8604
|
#
|
8367
8605
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsRequest AWS API Documentation
|
@@ -8374,7 +8612,7 @@ module Aws::Lightsail
|
|
8374
8612
|
|
8375
8613
|
# @!attribute [rw] operation
|
8376
8614
|
# An array of objects that describe the result of the action, such as
|
8377
|
-
# the status of the request, the
|
8615
|
+
# the status of the request, the timestamp of the request, and the
|
8378
8616
|
# resources affected by the request.
|
8379
8617
|
# @return [Types::Operation]
|
8380
8618
|
#
|
@@ -8405,7 +8643,7 @@ module Aws::Lightsail
|
|
8405
8643
|
|
8406
8644
|
# @!attribute [rw] operations
|
8407
8645
|
# An array of objects that describe the result of the action, such as
|
8408
|
-
# the status of the request, the
|
8646
|
+
# the status of the request, the timestamp of the request, and the
|
8409
8647
|
# resources affected by the request.
|
8410
8648
|
# @return [Array<Types::Operation>]
|
8411
8649
|
#
|
@@ -8436,7 +8674,7 @@ module Aws::Lightsail
|
|
8436
8674
|
|
8437
8675
|
# @!attribute [rw] operations
|
8438
8676
|
# An array of objects that describe the result of the action, such as
|
8439
|
-
# the status of the request, the
|
8677
|
+
# the status of the request, the timestamp of the request, and the
|
8440
8678
|
# resources affected by the request.
|
8441
8679
|
# @return [Array<Types::Operation>]
|
8442
8680
|
#
|
@@ -9002,7 +9240,7 @@ module Aws::Lightsail
|
|
9002
9240
|
|
9003
9241
|
# @!attribute [rw] operations
|
9004
9242
|
# An array of objects that describe the result of the action, such as
|
9005
|
-
# the status of the request, the
|
9243
|
+
# the status of the request, the timestamp of the request, and the
|
9006
9244
|
# resources affected by the request.
|
9007
9245
|
# @return [Array<Types::Operation>]
|
9008
9246
|
#
|
@@ -9052,7 +9290,7 @@ module Aws::Lightsail
|
|
9052
9290
|
|
9053
9291
|
# @!attribute [rw] operations
|
9054
9292
|
# An array of objects that describe the result of the action, such as
|
9055
|
-
# the status of the request, the
|
9293
|
+
# the status of the request, the timestamp of the request, and the
|
9056
9294
|
# resources affected by the request.
|
9057
9295
|
# @return [Array<Types::Operation>]
|
9058
9296
|
#
|
@@ -9107,7 +9345,7 @@ module Aws::Lightsail
|
|
9107
9345
|
|
9108
9346
|
# @!attribute [rw] operations
|
9109
9347
|
# An array of objects that describe the result of the action, such as
|
9110
|
-
# the status of the request, the
|
9348
|
+
# the status of the request, the timestamp of the request, and the
|
9111
9349
|
# resources affected by the request.
|
9112
9350
|
# @return [Array<Types::Operation>]
|
9113
9351
|
#
|
@@ -9138,7 +9376,7 @@ module Aws::Lightsail
|
|
9138
9376
|
|
9139
9377
|
# @!attribute [rw] operations
|
9140
9378
|
# An array of objects that describe the result of the action, such as
|
9141
|
-
# the status of the request, the
|
9379
|
+
# the status of the request, the timestamp of the request, and the
|
9142
9380
|
# resources affected by the request.
|
9143
9381
|
# @return [Array<Types::Operation>]
|
9144
9382
|
#
|
@@ -9239,7 +9477,7 @@ module Aws::Lightsail
|
|
9239
9477
|
|
9240
9478
|
# @!attribute [rw] operations
|
9241
9479
|
# An array of objects that describe the result of the action, such as
|
9242
|
-
# the status of the request, the
|
9480
|
+
# the status of the request, the timestamp of the request, and the
|
9243
9481
|
# resources affected by the request.
|
9244
9482
|
# @return [Array<Types::Operation>]
|
9245
9483
|
#
|
@@ -9277,7 +9515,7 @@ module Aws::Lightsail
|
|
9277
9515
|
|
9278
9516
|
# @!attribute [rw] operations
|
9279
9517
|
# An array of objects that describe the result of the action, such as
|
9280
|
-
# the status of the request, the
|
9518
|
+
# the status of the request, the timestamp of the request, and the
|
9281
9519
|
# resources affected by the request.
|
9282
9520
|
# @return [Array<Types::Operation>]
|
9283
9521
|
#
|
@@ -9366,7 +9604,7 @@ module Aws::Lightsail
|
|
9366
9604
|
|
9367
9605
|
# @!attribute [rw] operations
|
9368
9606
|
# An array of objects that describe the result of the action, such as
|
9369
|
-
# the status of the request, the
|
9607
|
+
# the status of the request, the timestamp of the request, and the
|
9370
9608
|
# resources affected by the request.
|
9371
9609
|
# @return [Array<Types::Operation>]
|
9372
9610
|
#
|
@@ -9394,13 +9632,13 @@ module Aws::Lightsail
|
|
9394
9632
|
#
|
9395
9633
|
# An alarm has the following possible states that can be tested:
|
9396
9634
|
#
|
9397
|
-
# * `ALARM`
|
9635
|
+
# * `ALARM` - The metric is outside of the defined threshold.
|
9398
9636
|
#
|
9399
|
-
# * `INSUFFICIENT_DATA`
|
9637
|
+
# * `INSUFFICIENT_DATA` - The alarm has just started, the metric is
|
9400
9638
|
# not available, or not enough data is available for the metric to
|
9401
9639
|
# determine the alarm state.
|
9402
9640
|
#
|
9403
|
-
# * `OK`
|
9641
|
+
# * `OK` - The metric is within the defined threshold.
|
9404
9642
|
# @return [String]
|
9405
9643
|
#
|
9406
9644
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TestAlarmRequest AWS API Documentation
|
@@ -9413,7 +9651,7 @@ module Aws::Lightsail
|
|
9413
9651
|
|
9414
9652
|
# @!attribute [rw] operations
|
9415
9653
|
# An array of objects that describe the result of the action, such as
|
9416
|
-
# the status of the request, the
|
9654
|
+
# the status of the request, the timestamp of the request, and the
|
9417
9655
|
# resources affected by the request.
|
9418
9656
|
# @return [Array<Types::Operation>]
|
9419
9657
|
#
|
@@ -9457,7 +9695,7 @@ module Aws::Lightsail
|
|
9457
9695
|
|
9458
9696
|
# @!attribute [rw] operation
|
9459
9697
|
# An array of objects that describe the result of the action, such as
|
9460
|
-
# the status of the request, the
|
9698
|
+
# the status of the request, the timestamp of the request, and the
|
9461
9699
|
# resources affected by the request.
|
9462
9700
|
# @return [Types::Operation]
|
9463
9701
|
#
|
@@ -9501,7 +9739,7 @@ module Aws::Lightsail
|
|
9501
9739
|
|
9502
9740
|
# @!attribute [rw] operations
|
9503
9741
|
# An array of objects that describe the result of the action, such as
|
9504
|
-
# the status of the request, the
|
9742
|
+
# the status of the request, the timestamp of the request, and the
|
9505
9743
|
# resources affected by the request.
|
9506
9744
|
# @return [Array<Types::Operation>]
|
9507
9745
|
#
|
@@ -9548,7 +9786,7 @@ module Aws::Lightsail
|
|
9548
9786
|
|
9549
9787
|
# @!attribute [rw] operations
|
9550
9788
|
# An array of objects that describe the result of the action, such as
|
9551
|
-
# the status of the request, the
|
9789
|
+
# the status of the request, the timestamp of the request, and the
|
9552
9790
|
# resources affected by the request.
|
9553
9791
|
# @return [Array<Types::Operation>]
|
9554
9792
|
#
|
@@ -9593,7 +9831,7 @@ module Aws::Lightsail
|
|
9593
9831
|
|
9594
9832
|
# @!attribute [rw] operations
|
9595
9833
|
# An array of objects that describe the result of the action, such as
|
9596
|
-
# the status of the request, the
|
9834
|
+
# the status of the request, the timestamp of the request, and the
|
9597
9835
|
# resources affected by the request.
|
9598
9836
|
# @return [Array<Types::Operation>]
|
9599
9837
|
#
|
@@ -9641,7 +9879,7 @@ module Aws::Lightsail
|
|
9641
9879
|
|
9642
9880
|
# @!attribute [rw] operations
|
9643
9881
|
# An array of objects that describe the result of the action, such as
|
9644
|
-
# the status of the request, the
|
9882
|
+
# the status of the request, the timestamp of the request, and the
|
9645
9883
|
# resources affected by the request.
|
9646
9884
|
# @return [Array<Types::Operation>]
|
9647
9885
|
#
|
@@ -9783,7 +10021,7 @@ module Aws::Lightsail
|
|
9783
10021
|
|
9784
10022
|
# @!attribute [rw] operations
|
9785
10023
|
# An array of objects that describe the result of the action, such as
|
9786
|
-
# the status of the request, the
|
10024
|
+
# the status of the request, the timestamp of the request, and the
|
9787
10025
|
# resources affected by the request.
|
9788
10026
|
# @return [Array<Types::Operation>]
|
9789
10027
|
#
|