aws-sdk-lightsail 1.28.1 → 1.33.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,6 +6,35 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Lightsail
9
+
10
+ # When Lightsail returns an error response, the Ruby SDK constructs and raises an error.
11
+ # These errors all extend Aws::Lightsail::Errors::ServiceError < {Aws::Errors::ServiceError}
12
+ #
13
+ # You can rescue all Lightsail errors using ServiceError:
14
+ #
15
+ # begin
16
+ # # do stuff
17
+ # rescue Aws::Lightsail::Errors::ServiceError
18
+ # # rescues all Lightsail API errors
19
+ # end
20
+ #
21
+ #
22
+ # ## Request Context
23
+ # ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
24
+ # information about the request that generated the error.
25
+ # See {Seahorse::Client::RequestContext} for more information.
26
+ #
27
+ # ## Error Classes
28
+ # * {AccessDeniedException}
29
+ # * {AccountSetupInProgressException}
30
+ # * {InvalidInputException}
31
+ # * {NotFoundException}
32
+ # * {OperationFailureException}
33
+ # * {ServiceException}
34
+ # * {UnauthenticatedException}
35
+ #
36
+ # Additionally, error classes are dynamically generated for service errors based on the error code
37
+ # if they are not defined above.
9
38
  module Errors
10
39
 
11
40
  extend Aws::Errors::DynamicErrors
@@ -38,7 +67,6 @@ module Aws::Lightsail
38
67
  def tip
39
68
  @data[:tip]
40
69
  end
41
-
42
70
  end
43
71
 
44
72
  class AccountSetupInProgressException < ServiceError
@@ -69,7 +97,6 @@ module Aws::Lightsail
69
97
  def tip
70
98
  @data[:tip]
71
99
  end
72
-
73
100
  end
74
101
 
75
102
  class InvalidInputException < ServiceError
@@ -100,7 +127,6 @@ module Aws::Lightsail
100
127
  def tip
101
128
  @data[:tip]
102
129
  end
103
-
104
130
  end
105
131
 
106
132
  class NotFoundException < ServiceError
@@ -131,7 +157,6 @@ module Aws::Lightsail
131
157
  def tip
132
158
  @data[:tip]
133
159
  end
134
-
135
160
  end
136
161
 
137
162
  class OperationFailureException < ServiceError
@@ -162,7 +187,6 @@ module Aws::Lightsail
162
187
  def tip
163
188
  @data[:tip]
164
189
  end
165
-
166
190
  end
167
191
 
168
192
  class ServiceException < ServiceError
@@ -193,7 +217,6 @@ module Aws::Lightsail
193
217
  def tip
194
218
  @data[:tip]
195
219
  end
196
-
197
220
  end
198
221
 
199
222
  class UnauthenticatedException < ServiceError
@@ -224,7 +247,6 @@ module Aws::Lightsail
224
247
  def tip
225
248
  @data[:tip]
226
249
  end
227
-
228
250
  end
229
251
 
230
252
  end
@@ -6,6 +6,7 @@
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
8
  module Aws::Lightsail
9
+
9
10
  class Resource
10
11
 
11
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` Assume the missing data is not within the threshold.
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` Assume the missing data is within the threshold.
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` Ignore the missing data. Maintains the current alarm
216
+ # * `ignore` - Ignore the missing data. Maintains the current alarm
217
217
  # state.
218
218
  #
219
- # * `missing` Missing data is treated as 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` The lowest value observed during the specified period.
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` The highest value observed during the specified
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` All values submitted for the matching metric added
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` The value of Sum / SampleCount during the specified
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` The count, or number, of data points used for the
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` The metric is outside of the defined threshold.
259
+ # * `ALARM` - The metric is outside of the defined threshold.
260
260
  #
261
- # * `INSUFFICIENT_DATA` The alarm has just started, the metric is
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` The metric is within the defined threshold.
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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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
  #
@@ -718,7 +718,7 @@ module Aws::Lightsail
718
718
  # private server (or *instance*).
719
719
  #
720
720
  # @!attribute [rw] price
721
- # The price in US dollars (e.g., `5.0`).
721
+ # The price in US dollars (e.g., `5.0`) of the bundle.
722
722
  # @return [Float]
723
723
  #
724
724
  # @!attribute [rw] cpu_count
@@ -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
- # Information about the public port you are trying to close.
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 on which you're attempting to close the
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 array of objects that describe the result of the action, such as
820
- # the status of the request, the time stamp of the request, and the
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` The contact method has not yet been
933
+ # * `PendingVerification` - The contact method has not yet been
933
934
  # verified, and the verification has not yet expired.
934
935
  #
935
- # * `Valid` The contact method has been verified.
936
+ # * `Valid` - The contact method has been verified.
936
937
  #
937
- # * `InValid` An attempt was made to verify the contact method, but
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 time stamp of the request, and 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 time stamp of the request, and 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] in Wikipedia.
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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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 time stamp of the request, and 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
  #
@@ -4627,7 +4628,7 @@ module Aws::Lightsail
4627
4628
  #
4628
4629
  # {
4629
4630
  # instance_name: "ResourceName", # required
4630
- # metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System
4631
+ # metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, BurstCapacityTime, BurstCapacityPercentage
4631
4632
  # period: 1, # required
4632
4633
  # start_time: Time.now, # required
4633
4634
  # end_time: Time.now, # required
@@ -4646,7 +4647,39 @@ 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> The percentage of allocated
4650
+ # * <b> <code>BurstCapacityPercentage</code> </b> - The percentage of
4651
+ # CPU performance available for your instance to burst above its
4652
+ # baseline. Your instance continuously accrues and consumes burst
4653
+ # capacity. Burst capacity stops accruing when your instance's
4654
+ # `BurstCapacityPercentage` reaches 100%. For more information, see
4655
+ # [Viewing instance burst capacity in Amazon Lightsail][1].
4656
+ #
4657
+ # `Statistics`\: The most useful statistics are `Maximum` and
4658
+ # `Average`.
4659
+ #
4660
+ # `Unit`\: The published unit is `Percent`.
4661
+ #
4662
+ # * <b> <code>BurstCapacityTime</code> </b> - The available amount of
4663
+ # time for your instance to burst at 100% CPU utilization. Your
4664
+ # instance continuously accrues and consumes burst capacity. Burst
4665
+ # capacity time stops accruing when your instance's
4666
+ # `BurstCapacityPercentage` metric reaches 100%.
4667
+ #
4668
+ # Burst capacity time is consumed at the full rate only when your
4669
+ # instance operates at 100% CPU utilization. For example, if your
4670
+ # instance operates at 50% CPU utilization in the burstable zone for
4671
+ # a 5-minute period, then it consumes CPU burst capacity minutes at
4672
+ # a 50% rate in that period. Your instance consumed 2 minutes and 30
4673
+ # seconds of CPU burst capacity minutes in the 5-minute period. For
4674
+ # more information, see [Viewing instance burst capacity in Amazon
4675
+ # Lightsail][1].
4676
+ #
4677
+ # `Statistics`\: The most useful statistics are `Maximum` and
4678
+ # `Average`.
4679
+ #
4680
+ # `Unit`\: The published unit is `Seconds`.
4681
+ #
4682
+ # * <b> <code>CPUUtilization</code> </b> - The percentage of allocated
4650
4683
  # compute units that are currently in use on the instance. This
4651
4684
  # metric identifies the processing power to run the applications on
4652
4685
  # the instance. Tools in your operating system can show a lower
@@ -4658,7 +4691,7 @@ module Aws::Lightsail
4658
4691
  #
4659
4692
  # `Unit`\: The published unit is `Percent`.
4660
4693
  #
4661
- # * <b> <code>NetworkIn</code> </b> The number of bytes received on
4694
+ # * <b> <code>NetworkIn</code> </b> - The number of bytes received on
4662
4695
  # all network interfaces by the instance. This metric identifies the
4663
4696
  # volume of incoming network traffic to the instance. The number
4664
4697
  # reported is the number of bytes received during the period.
@@ -4669,7 +4702,7 @@ module Aws::Lightsail
4669
4702
  #
4670
4703
  # `Unit`\: The published unit is `Bytes`.
4671
4704
  #
4672
- # * <b> <code>NetworkOut</code> </b> The number of bytes sent out on
4705
+ # * <b> <code>NetworkOut</code> </b> - The number of bytes sent out on
4673
4706
  # all network interfaces by the instance. This metric identifies the
4674
4707
  # volume of outgoing network traffic from the instance. The number
4675
4708
  # reported is the number of bytes sent during the period. Because
@@ -4680,7 +4713,7 @@ module Aws::Lightsail
4680
4713
  #
4681
4714
  # `Unit`\: The published unit is `Bytes`.
4682
4715
  #
4683
- # * <b> <code>StatusCheckFailed</code> </b> Reports whether the
4716
+ # * <b> <code>StatusCheckFailed</code> </b> - Reports whether the
4684
4717
  # instance passed or failed both the instance status check and the
4685
4718
  # system status check. This metric can be either 0 (passed) or 1
4686
4719
  # (failed). This metric data is available in 1-minute (60 seconds)
@@ -4690,7 +4723,7 @@ module Aws::Lightsail
4690
4723
  #
4691
4724
  # `Unit`\: The published unit is `Count`.
4692
4725
  #
4693
- # * <b> <code>StatusCheckFailed_Instance</code> </b> Reports whether
4726
+ # * <b> <code>StatusCheckFailed_Instance</code> </b> - Reports whether
4694
4727
  # the instance passed or failed the instance status check. This
4695
4728
  # metric can be either 0 (passed) or 1 (failed). This metric data is
4696
4729
  # available in 1-minute (60 seconds) granularity.
@@ -4699,7 +4732,7 @@ module Aws::Lightsail
4699
4732
  #
4700
4733
  # `Unit`\: The published unit is `Count`.
4701
4734
  #
4702
- # * <b> <code>StatusCheckFailed_System</code> </b> Reports whether
4735
+ # * <b> <code>StatusCheckFailed_System</code> </b> - Reports whether
4703
4736
  # the instance passed or failed the system status check. This metric
4704
4737
  # can be either 0 (passed) or 1 (failed). This metric data is
4705
4738
  # available in 1-minute (60 seconds) granularity.
@@ -4707,6 +4740,10 @@ module Aws::Lightsail
4707
4740
  # `Statistics`\: The most useful statistic is `Sum`.
4708
4741
  #
4709
4742
  # `Unit`\: The published unit is `Count`.
4743
+ #
4744
+ #
4745
+ #
4746
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-instance-burst-capacity
4710
4747
  # @return [String]
4711
4748
  #
4712
4749
  # @!attribute [rw] period
@@ -4728,8 +4765,8 @@ module Aws::Lightsail
4728
4765
  #
4729
4766
  # @!attribute [rw] unit
4730
4767
  # The unit for the metric data request. Valid units depend on the
4731
- # metric data being required. For the valid units with each available
4732
- # metric, see the `metricName` parameter.
4768
+ # metric data being requested. For the valid units to specify with
4769
+ # each available metric, see the `metricName` parameter.
4733
4770
  # @return [String]
4734
4771
  #
4735
4772
  # @!attribute [rw] statistics
@@ -4737,26 +4774,26 @@ module Aws::Lightsail
4737
4774
  #
4738
4775
  # The following statistics are available:
4739
4776
  #
4740
- # * `Minimum` The lowest value observed during the specified period.
4777
+ # * `Minimum` - The lowest value observed during the specified period.
4741
4778
  # Use this value to determine low volumes of activity for your
4742
4779
  # application.
4743
4780
  #
4744
- # * `Maximum` The highest value observed during the specified
4781
+ # * `Maximum` - The highest value observed during the specified
4745
4782
  # period. Use this value to determine high volumes of activity for
4746
4783
  # your application.
4747
4784
  #
4748
- # * `Sum` All values submitted for the matching metric added
4785
+ # * `Sum` - All values submitted for the matching metric added
4749
4786
  # together. You can use this statistic to determine the total volume
4750
4787
  # of a metric.
4751
4788
  #
4752
- # * `Average` The value of Sum / SampleCount during the specified
4789
+ # * `Average` - The value of Sum / SampleCount during the specified
4753
4790
  # period. By comparing this statistic with the Minimum and Maximum
4754
4791
  # values, you can determine the full scope of a metric and how close
4755
4792
  # the average use is to the Minimum and Maximum values. This
4756
4793
  # comparison helps you to know when to increase or decrease your
4757
4794
  # resources.
4758
4795
  #
4759
- # * `SampleCount` The count, or number, of data points used for the
4796
+ # * `SampleCount` - The count, or number, of data points used for the
4760
4797
  # statistical calculation.
4761
4798
  # @return [Array<String>]
4762
4799
  #
@@ -4774,12 +4811,11 @@ module Aws::Lightsail
4774
4811
  end
4775
4812
 
4776
4813
  # @!attribute [rw] metric_name
4777
- # The metric name to return data for.
4814
+ # The name of the metric returned.
4778
4815
  # @return [String]
4779
4816
  #
4780
4817
  # @!attribute [rw] metric_data
4781
- # An array of key-value pairs containing information about the results
4782
- # of your get instance metric data request.
4818
+ # An array of objects that describe the metric data returned.
4783
4819
  # @return [Array<Types::MetricDatapoint>]
4784
4820
  #
4785
4821
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstanceMetricDataResult AWS API Documentation
@@ -4798,7 +4834,7 @@ module Aws::Lightsail
4798
4834
  # }
4799
4835
  #
4800
4836
  # @!attribute [rw] instance_name
4801
- # The name of the instance.
4837
+ # The name of the instance for which to return firewall port states.
4802
4838
  # @return [String]
4803
4839
  #
4804
4840
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesRequest AWS API Documentation
@@ -4809,7 +4845,8 @@ module Aws::Lightsail
4809
4845
  end
4810
4846
 
4811
4847
  # @!attribute [rw] port_states
4812
- # Information about the port states resulting from your request.
4848
+ # An array of objects that describe the firewall port states for the
4849
+ # specified instance.
4813
4850
  # @return [Array<Types::InstancePortState>]
4814
4851
  #
4815
4852
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetInstancePortStatesResult AWS API Documentation
@@ -5103,7 +5140,7 @@ module Aws::Lightsail
5103
5140
  # most useful `statistics` to include in your request, and the
5104
5141
  # published `unit` value.
5105
5142
  #
5106
- # * <b> <code>ClientTLSNegotiationErrorCount</code> </b> The number
5143
+ # * <b> <code>ClientTLSNegotiationErrorCount</code> </b> - The number
5107
5144
  # of TLS connections initiated by the client that did not establish
5108
5145
  # a session with the load balancer due to a TLS error generated by
5109
5146
  # the load balancer. Possible causes include a mismatch of ciphers
@@ -5113,7 +5150,7 @@ module Aws::Lightsail
5113
5150
  #
5114
5151
  # `Unit`\: The published unit is `Count`.
5115
5152
  #
5116
- # * <b> <code>HealthyHostCount</code> </b> The number of target
5153
+ # * <b> <code>HealthyHostCount</code> </b> - The number of target
5117
5154
  # instances that are considered healthy.
5118
5155
  #
5119
5156
  # `Statistics`\: The most useful statistic are `Average`, `Minimum`,
@@ -5121,7 +5158,7 @@ module Aws::Lightsail
5121
5158
  #
5122
5159
  # `Unit`\: The published unit is `Count`.
5123
5160
  #
5124
- # * <b> <code>HTTPCode_Instance_2XX_Count</code> </b> The number of
5161
+ # * <b> <code>HTTPCode_Instance_2XX_Count</code> </b> - The number of
5125
5162
  # HTTP 2XX response codes generated by the target instances. This
5126
5163
  # does not include any response codes generated by the load
5127
5164
  # balancer.
@@ -5131,7 +5168,7 @@ module Aws::Lightsail
5131
5168
  #
5132
5169
  # `Unit`\: The published unit is `Count`.
5133
5170
  #
5134
- # * <b> <code>HTTPCode_Instance_3XX_Count</code> </b> The number of
5171
+ # * <b> <code>HTTPCode_Instance_3XX_Count</code> </b> - The number of
5135
5172
  # HTTP 3XX response codes generated by the target instances. This
5136
5173
  # does not include any response codes generated by the load
5137
5174
  # balancer.
@@ -5141,7 +5178,7 @@ module Aws::Lightsail
5141
5178
  #
5142
5179
  # `Unit`\: The published unit is `Count`.
5143
5180
  #
5144
- # * <b> <code>HTTPCode_Instance_4XX_Count</code> </b> The number of
5181
+ # * <b> <code>HTTPCode_Instance_4XX_Count</code> </b> - The number of
5145
5182
  # HTTP 4XX response codes generated by the target instances. This
5146
5183
  # does not include any response codes generated by the load
5147
5184
  # balancer.
@@ -5151,7 +5188,7 @@ module Aws::Lightsail
5151
5188
  #
5152
5189
  # `Unit`\: The published unit is `Count`.
5153
5190
  #
5154
- # * <b> <code>HTTPCode_Instance_5XX_Count</code> </b> The number of
5191
+ # * <b> <code>HTTPCode_Instance_5XX_Count</code> </b> - The number of
5155
5192
  # HTTP 5XX response codes generated by the target instances. This
5156
5193
  # does not include any response codes generated by the load
5157
5194
  # balancer.
@@ -5161,7 +5198,7 @@ module Aws::Lightsail
5161
5198
  #
5162
5199
  # `Unit`\: The published unit is `Count`.
5163
5200
  #
5164
- # * <b> <code>HTTPCode_LB_4XX_Count</code> </b> The number of HTTP
5201
+ # * <b> <code>HTTPCode_LB_4XX_Count</code> </b> - The number of HTTP
5165
5202
  # 4XX client error codes that originated from the load balancer.
5166
5203
  # Client errors are generated when requests are malformed or
5167
5204
  # incomplete. These requests were not received by the target
@@ -5173,7 +5210,7 @@ module Aws::Lightsail
5173
5210
  #
5174
5211
  # `Unit`\: The published unit is `Count`.
5175
5212
  #
5176
- # * <b> <code>HTTPCode_LB_5XX_Count</code> </b> The number of HTTP
5213
+ # * <b> <code>HTTPCode_LB_5XX_Count</code> </b> - The number of HTTP
5177
5214
  # 5XX server error codes that originated from the load balancer.
5178
5215
  # This does not include any response codes generated by the target
5179
5216
  # instance. This metric is reported if there are no healthy
@@ -5186,7 +5223,7 @@ module Aws::Lightsail
5186
5223
  #
5187
5224
  # `Unit`\: The published unit is `Count`.
5188
5225
  #
5189
- # * <b> <code>InstanceResponseTime</code> </b> The time elapsed, in
5226
+ # * <b> <code>InstanceResponseTime</code> </b> - The time elapsed, in
5190
5227
  # seconds, after the request leaves the load balancer until a
5191
5228
  # response from the target instance is received.
5192
5229
  #
@@ -5194,7 +5231,7 @@ module Aws::Lightsail
5194
5231
  #
5195
5232
  # `Unit`\: The published unit is `Seconds`.
5196
5233
  #
5197
- # * <b> <code>RejectedConnectionCount</code> </b> The number of
5234
+ # * <b> <code>RejectedConnectionCount</code> </b> - The number of
5198
5235
  # connections that were rejected because the load balancer had
5199
5236
  # reached its maximum number of connections.
5200
5237
  #
@@ -5202,7 +5239,7 @@ module Aws::Lightsail
5202
5239
  #
5203
5240
  # `Unit`\: The published unit is `Count`.
5204
5241
  #
5205
- # * <b> <code>RequestCount</code> </b> The number of requests
5242
+ # * <b> <code>RequestCount</code> </b> - The number of requests
5206
5243
  # processed over IPv4. This count includes only the requests with a
5207
5244
  # response generated by a target instance of the load balancer.
5208
5245
  #
@@ -5211,7 +5248,7 @@ module Aws::Lightsail
5211
5248
  #
5212
5249
  # `Unit`\: The published unit is `Count`.
5213
5250
  #
5214
- # * <b> <code>UnhealthyHostCount</code> </b> The number of target
5251
+ # * <b> <code>UnhealthyHostCount</code> </b> - The number of target
5215
5252
  # instances that are considered unhealthy.
5216
5253
  #
5217
5254
  # `Statistics`\: The most useful statistic are `Average`, `Minimum`,
@@ -5234,7 +5271,7 @@ module Aws::Lightsail
5234
5271
  #
5235
5272
  # @!attribute [rw] unit
5236
5273
  # The unit for the metric data request. Valid units depend on the
5237
- # metric data being required. For the valid units with each available
5274
+ # metric data being requested. For the valid units with each available
5238
5275
  # metric, see the `metricName` parameter.
5239
5276
  # @return [String]
5240
5277
  #
@@ -5243,26 +5280,26 @@ module Aws::Lightsail
5243
5280
  #
5244
5281
  # The following statistics are available:
5245
5282
  #
5246
- # * `Minimum` The lowest value observed during the specified period.
5283
+ # * `Minimum` - The lowest value observed during the specified period.
5247
5284
  # Use this value to determine low volumes of activity for your
5248
5285
  # application.
5249
5286
  #
5250
- # * `Maximum` The highest value observed during the specified
5287
+ # * `Maximum` - The highest value observed during the specified
5251
5288
  # period. Use this value to determine high volumes of activity for
5252
5289
  # your application.
5253
5290
  #
5254
- # * `Sum` All values submitted for the matching metric added
5291
+ # * `Sum` - All values submitted for the matching metric added
5255
5292
  # together. You can use this statistic to determine the total volume
5256
5293
  # of a metric.
5257
5294
  #
5258
- # * `Average` The value of Sum / SampleCount during the specified
5295
+ # * `Average` - The value of Sum / SampleCount during the specified
5259
5296
  # period. By comparing this statistic with the Minimum and Maximum
5260
5297
  # values, you can determine the full scope of a metric and how close
5261
5298
  # the average use is to the Minimum and Maximum values. This
5262
5299
  # comparison helps you to know when to increase or decrease your
5263
5300
  # resources.
5264
5301
  #
5265
- # * `SampleCount` The count, or number, of data points used for the
5302
+ # * `SampleCount` - The count, or number, of data points used for the
5266
5303
  # statistical calculation.
5267
5304
  # @return [Array<String>]
5268
5305
  #
@@ -5280,98 +5317,11 @@ module Aws::Lightsail
5280
5317
  end
5281
5318
 
5282
5319
  # @!attribute [rw] metric_name
5283
- # The metric about which you are receiving information. Valid values
5284
- # are listed below, along with the most useful `statistics` to include
5285
- # in your request.
5286
- #
5287
- # * <b> <code>ClientTLSNegotiationErrorCount</code> </b> - The number
5288
- # of TLS connections initiated by the client that did not establish
5289
- # a session with the load balancer. Possible causes include a
5290
- # mismatch of ciphers or protocols.
5291
- #
5292
- # `Statistics`\: The most useful statistic is `Sum`.
5293
- #
5294
- # * <b> <code>HealthyHostCount</code> </b> - The number of target
5295
- # instances that are considered healthy.
5296
- #
5297
- # `Statistics`\: The most useful statistic are `Average`, `Minimum`,
5298
- # and `Maximum`.
5299
- #
5300
- # * <b> <code>UnhealthyHostCount</code> </b> - The number of target
5301
- # instances that are considered unhealthy.
5302
- #
5303
- # `Statistics`\: The most useful statistic are `Average`, `Minimum`,
5304
- # and `Maximum`.
5305
- #
5306
- # * <b> <code>HTTPCode_LB_4XX_Count</code> </b> - The number of HTTP
5307
- # 4XX client error codes that originate from the load balancer.
5308
- # Client errors are generated when requests are malformed or
5309
- # incomplete. These requests have not been received by the target
5310
- # instance. This count does not include any response codes generated
5311
- # by the target instances.
5312
- #
5313
- # `Statistics`\: The most useful statistic is `Sum`. Note that
5314
- # `Minimum`, `Maximum`, and `Average` all return `1`.
5315
- #
5316
- # * <b> <code>HTTPCode_LB_5XX_Count</code> </b> - The number of HTTP
5317
- # 5XX server error codes that originate from the load balancer. This
5318
- # count does not include any response codes generated by the target
5319
- # instances.
5320
- #
5321
- # `Statistics`\: The most useful statistic is `Sum`. Note that
5322
- # `Minimum`, `Maximum`, and `Average` all return `1`. Note that
5323
- # `Minimum`, `Maximum`, and `Average` all return `1`.
5324
- #
5325
- # * <b> <code>HTTPCode_Instance_2XX_Count</code> </b> - The number of
5326
- # HTTP response codes generated by the target instances. This does
5327
- # not include any response codes generated by the load balancer.
5328
- #
5329
- # `Statistics`\: The most useful statistic is `Sum`. Note that
5330
- # `Minimum`, `Maximum`, and `Average` all return `1`.
5331
- #
5332
- # * <b> <code>HTTPCode_Instance_3XX_Count</code> </b> - The number of
5333
- # HTTP response codes generated by the target instances. This does
5334
- # not include any response codes generated by the load balancer.
5335
- #
5336
- # `Statistics`\: The most useful statistic is `Sum`. Note that
5337
- # `Minimum`, `Maximum`, and `Average` all return `1`.
5338
- #
5339
- # * <b> <code>HTTPCode_Instance_4XX_Count</code> </b> - The number of
5340
- # HTTP response codes generated by the target instances. This does
5341
- # not include any response codes generated by the load balancer.
5342
- #
5343
- # `Statistics`\: The most useful statistic is `Sum`. Note that
5344
- # `Minimum`, `Maximum`, and `Average` all return `1`.
5345
- #
5346
- # * <b> <code>HTTPCode_Instance_5XX_Count</code> </b> - The number of
5347
- # HTTP response codes generated by the target instances. This does
5348
- # not include any response codes generated by the load balancer.
5349
- #
5350
- # `Statistics`\: The most useful statistic is `Sum`. Note that
5351
- # `Minimum`, `Maximum`, and `Average` all return `1`.
5352
- #
5353
- # * <b> <code>InstanceResponseTime</code> </b> - The time elapsed, in
5354
- # seconds, after the request leaves the load balancer until a
5355
- # response from the target instance is received.
5356
- #
5357
- # `Statistics`\: The most useful statistic is `Average`.
5358
- #
5359
- # * <b> <code>RejectedConnectionCount</code> </b> - The number of
5360
- # connections that were rejected because the load balancer had
5361
- # reached its maximum number of connections.
5362
- #
5363
- # `Statistics`\: The most useful statistic is `Sum`.
5364
- #
5365
- # * <b> <code>RequestCount</code> </b> - The number of requests
5366
- # processed over IPv4. This count includes only the requests with a
5367
- # response generated by a target instance of the load balancer.
5368
- #
5369
- # `Statistics`\: The most useful statistic is `Sum`. Note that
5370
- # `Minimum`, `Maximum`, and `Average` all return `1`.
5320
+ # The name of the metric returned.
5371
5321
  # @return [String]
5372
5322
  #
5373
5323
  # @!attribute [rw] metric_data
5374
- # An array of metric datapoint objects.
5324
+ # An array of objects that describe the metric data returned.
5375
5325
  # @return [Array<Types::MetricDatapoint>]
5376
5326
  #
5377
5327
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetLoadBalancerMetricDataResult AWS API Documentation
@@ -5508,7 +5458,7 @@ module Aws::Lightsail
5508
5458
 
5509
5459
  # @!attribute [rw] operation
5510
5460
  # An array of objects that describe the result of the action, such as
5511
- # the status of the request, the time stamp of the request, and the
5461
+ # the status of the request, the timestamp of the request, and the
5512
5462
  # resources affected by the request.
5513
5463
  # @return [Types::Operation]
5514
5464
  #
@@ -5550,7 +5500,7 @@ module Aws::Lightsail
5550
5500
 
5551
5501
  # @!attribute [rw] operations
5552
5502
  # An array of objects that describe the result of the action, such as
5553
- # the status of the request, the time stamp of the request, and the
5503
+ # the status of the request, the timestamp of the request, and the
5554
5504
  # resources affected by the request.
5555
5505
  # @return [Array<Types::Operation>]
5556
5506
  #
@@ -5609,7 +5559,7 @@ module Aws::Lightsail
5609
5559
 
5610
5560
  # @!attribute [rw] operations
5611
5561
  # An array of objects that describe the result of the action, such as
5612
- # the status of the request, the time stamp of the request, and the
5562
+ # the status of the request, the timestamp of the request, and the
5613
5563
  # resources affected by the request.
5614
5564
  # @return [Array<Types::Operation>]
5615
5565
  #
@@ -6042,7 +5992,7 @@ module Aws::Lightsail
6042
5992
  # published `unit` value. All relational database metric data is
6043
5993
  # available in 1-minute (60 seconds) granularity.
6044
5994
  #
6045
- # * <b> <code>CPUUtilization</code> </b> The percentage of CPU
5995
+ # * <b> <code>CPUUtilization</code> </b> - The percentage of CPU
6046
5996
  # utilization currently in use on the database.
6047
5997
  #
6048
5998
  # `Statistics`\: The most useful statistics are `Maximum` and
@@ -6050,28 +6000,28 @@ module Aws::Lightsail
6050
6000
  #
6051
6001
  # `Unit`\: The published unit is `Percent`.
6052
6002
  #
6053
- # * <b> <code>DatabaseConnections</code> </b> The number of database
6003
+ # * <b> <code>DatabaseConnections</code> </b> - The number of database
6054
6004
  # connections in use.
6055
6005
  #
6056
6006
  # `Statistics`\: The most useful statistics are `Maximum` and `Sum`.
6057
6007
  #
6058
6008
  # `Unit`\: The published unit is `Count`.
6059
6009
  #
6060
- # * <b> <code>DiskQueueDepth</code> </b> The number of outstanding
6010
+ # * <b> <code>DiskQueueDepth</code> </b> - The number of outstanding
6061
6011
  # IOs (read/write requests) that are waiting to access the disk.
6062
6012
  #
6063
6013
  # `Statistics`\: The most useful statistic is `Sum`.
6064
6014
  #
6065
6015
  # `Unit`\: The published unit is `Count`.
6066
6016
  #
6067
- # * <b> <code>FreeStorageSpace</code> </b> The amount of available
6017
+ # * <b> <code>FreeStorageSpace</code> </b> - The amount of available
6068
6018
  # storage space.
6069
6019
  #
6070
6020
  # `Statistics`\: The most useful statistic is `Sum`.
6071
6021
  #
6072
6022
  # `Unit`\: The published unit is `Bytes`.
6073
6023
  #
6074
- # * <b> <code>NetworkReceiveThroughput</code> </b> The incoming
6024
+ # * <b> <code>NetworkReceiveThroughput</code> </b> - The incoming
6075
6025
  # (Receive) network traffic on the database, including both customer
6076
6026
  # database traffic and AWS traffic used for monitoring and
6077
6027
  # replication.
@@ -6080,7 +6030,7 @@ module Aws::Lightsail
6080
6030
  #
6081
6031
  # `Unit`\: The published unit is `Bytes/Second`.
6082
6032
  #
6083
- # * <b> <code>NetworkTransmitThroughput</code> </b> The outgoing
6033
+ # * <b> <code>NetworkTransmitThroughput</code> </b> - The outgoing
6084
6034
  # (Transmit) network traffic on the database, including both
6085
6035
  # customer database traffic and AWS traffic used for monitoring and
6086
6036
  # replication.
@@ -6125,7 +6075,7 @@ module Aws::Lightsail
6125
6075
  #
6126
6076
  # @!attribute [rw] unit
6127
6077
  # The unit for the metric data request. Valid units depend on the
6128
- # metric data being required. For the valid units with each available
6078
+ # metric data being requested. For the valid units with each available
6129
6079
  # metric, see the `metricName` parameter.
6130
6080
  # @return [String]
6131
6081
  #
@@ -6134,26 +6084,26 @@ module Aws::Lightsail
6134
6084
  #
6135
6085
  # The following statistics are available:
6136
6086
  #
6137
- # * `Minimum` The lowest value observed during the specified period.
6087
+ # * `Minimum` - The lowest value observed during the specified period.
6138
6088
  # Use this value to determine low volumes of activity for your
6139
6089
  # application.
6140
6090
  #
6141
- # * `Maximum` The highest value observed during the specified
6091
+ # * `Maximum` - The highest value observed during the specified
6142
6092
  # period. Use this value to determine high volumes of activity for
6143
6093
  # your application.
6144
6094
  #
6145
- # * `Sum` All values submitted for the matching metric added
6095
+ # * `Sum` - All values submitted for the matching metric added
6146
6096
  # together. You can use this statistic to determine the total volume
6147
6097
  # of a metric.
6148
6098
  #
6149
- # * `Average` The value of Sum / SampleCount during the specified
6099
+ # * `Average` - The value of Sum / SampleCount during the specified
6150
6100
  # period. By comparing this statistic with the Minimum and Maximum
6151
6101
  # values, you can determine the full scope of a metric and how close
6152
6102
  # the average use is to the Minimum and Maximum values. This
6153
6103
  # comparison helps you to know when to increase or decrease your
6154
6104
  # resources.
6155
6105
  #
6156
- # * `SampleCount` The count, or number, of data points used for the
6106
+ # * `SampleCount` - The count, or number, of data points used for the
6157
6107
  # statistical calculation.
6158
6108
  # @return [Array<String>]
6159
6109
  #
@@ -6171,12 +6121,11 @@ module Aws::Lightsail
6171
6121
  end
6172
6122
 
6173
6123
  # @!attribute [rw] metric_name
6174
- # The name of the metric.
6124
+ # The name of the metric returned.
6175
6125
  # @return [String]
6176
6126
  #
6177
6127
  # @!attribute [rw] metric_data
6178
- # An object describing the result of your get relational database
6179
- # metric data request.
6128
+ # An array of objects that describe the metric data returned.
6180
6129
  # @return [Array<Types::MetricDatapoint>]
6181
6130
  #
6182
6131
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/GetRelationalDatabaseMetricDataResult AWS API Documentation
@@ -6566,7 +6515,7 @@ module Aws::Lightsail
6566
6515
 
6567
6516
  # @!attribute [rw] operation
6568
6517
  # An array of objects that describe the result of the action, such as
6569
- # the status of the request, the time stamp of the request, and the
6518
+ # the status of the request, the timestamp of the request, and the
6570
6519
  # resources affected by the request.
6571
6520
  # @return [Types::Operation]
6572
6521
  #
@@ -6816,14 +6765,22 @@ module Aws::Lightsail
6816
6765
  #
6817
6766
  # The following configuration options are available:
6818
6767
  #
6819
- # * DEFAULT Use the default firewall settings from the image.
6768
+ # * `DEFAULT` - Use the default firewall settings from the Lightsail
6769
+ # instance blueprint.
6820
6770
  #
6821
- # * INSTANCE Use the firewall settings from the source Lightsail
6822
- # instance.
6771
+ # * `INSTANCE` - Use the configured firewall settings from the source
6772
+ # Lightsail instance.
6823
6773
  #
6824
- # * NONE Default to Amazon EC2.
6774
+ # * `NONE` - Use the default Amazon EC2 security group.
6825
6775
  #
6826
- # * CLOSED All ports closed.
6776
+ # * `CLOSED` - All ports closed.
6777
+ #
6778
+ # <note markdown="1"> If you configured `lightsail-connect` as a `cidrListAliases` on your
6779
+ # instance, or if you chose to allow the Lightsail browser-based SSH
6780
+ # or RDP clients to connect to your instance, that configuration is
6781
+ # not carried over to your new Amazon EC2 instance.
6782
+ #
6783
+ # </note>
6827
6784
  # @return [String]
6828
6785
  #
6829
6786
  # @!attribute [rw] user_data
@@ -6978,18 +6935,46 @@ module Aws::Lightsail
6978
6935
  include Aws::Structure
6979
6936
  end
6980
6937
 
6981
- # Describes information about the instance ports.
6938
+ # Describes information about ports for an Amazon Lightsail instance.
6982
6939
  #
6983
6940
  # @!attribute [rw] from_port
6984
- # The first port in the range.
6941
+ # The first port in a range of open ports on an instance.
6942
+ #
6943
+ # Allowed ports:
6944
+ #
6945
+ # * TCP and UDP - `0` to `65535`
6946
+ #
6947
+ # * ICMP - The ICMP type. For example, specify `8` as the `fromPort`
6948
+ # (ICMP type), and `-1` as the `toPort` (ICMP code), to enable ICMP
6949
+ # Ping. For more information, see [Control Messages][1] on
6950
+ # *Wikipedia*.
6951
+ #
6952
+ #
6953
+ #
6954
+ # [1]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages
6985
6955
  # @return [Integer]
6986
6956
  #
6987
6957
  # @!attribute [rw] to_port
6988
- # The last port in the range.
6958
+ # The last port in a range of open ports on an instance.
6959
+ #
6960
+ # Allowed ports:
6961
+ #
6962
+ # * TCP and UDP - `0` to `65535`
6963
+ #
6964
+ # * ICMP - The ICMP code. For example, specify `8` as the `fromPort`
6965
+ # (ICMP type), and `-1` as the `toPort` (ICMP code), to enable ICMP
6966
+ # Ping. For more information, see [Control Messages][1] on
6967
+ # *Wikipedia*.
6968
+ #
6969
+ #
6970
+ #
6971
+ # [1]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages
6989
6972
  # @return [Integer]
6990
6973
  #
6991
6974
  # @!attribute [rw] protocol
6992
- # The protocol being used. Can be one of the following.
6975
+ # The IP protocol name.
6976
+ #
6977
+ # The name can be one of the following:
6993
6978
  #
6994
6979
  # * `tcp` - Transmission Control Protocol (TCP) provides reliable,
6995
6980
  # ordered, and error-checked delivery of streamed data between
@@ -6998,7 +6983,7 @@ module Aws::Lightsail
6998
6983
  # service, use UDP instead.
6999
6984
  #
7000
6985
  # * `all` - All transport layer protocol types. For more general
7001
- # information, see [Transport layer][1] on Wikipedia.
6986
+ # information, see [Transport layer][1] on *Wikipedia*.
7002
6987
  #
7003
6988
  # * `udp` - With User Datagram Protocol (UDP), computer applications
7004
6989
  # can send messages (or datagrams) to other hosts on an Internet
@@ -7009,14 +6994,23 @@ module Aws::Lightsail
7009
6994
  # latency over reliability. If you do require reliable data stream
7010
6995
  # service, use TCP instead.
7011
6996
  #
6997
+ # * `icmp` - Internet Control Message Protocol (ICMP) is used to send
6998
+ # error messages and operational information indicating success or
6999
+ # failure when communicating with an instance. For example, an error
7000
+ # is indicated when an instance could not be reached. When you
7001
+ # specify `icmp` as the `protocol`, you must specify the ICMP type
7002
+ # using the `fromPort` parameter, and ICMP code using the `toPort`
7003
+ # parameter.
7004
+ #
7012
7005
  #
7013
7006
  #
7014
7007
  # [1]: https://en.wikipedia.org/wiki/Transport_layer
7015
7008
  # @return [String]
7016
7009
  #
7017
7010
  # @!attribute [rw] access_from
7018
- # The location from which access is allowed (e.g., `Anywhere
7019
- # (0.0.0.0/0)`).
7011
+ # The location from which access is allowed. For example, `Anywhere
7012
+ # (0.0.0.0/0)`, or `Custom` if a specific IP address or range of IP
7013
+ # addresses is allowed.
7020
7014
  # @return [String]
7021
7015
  #
7022
7016
  # @!attribute [rw] access_type
@@ -7024,13 +7018,39 @@ module Aws::Lightsail
7024
7018
  # @return [String]
7025
7019
  #
7026
7020
  # @!attribute [rw] common_name
7027
- # The common name.
7021
+ # The common name of the port information.
7028
7022
  # @return [String]
7029
7023
  #
7030
7024
  # @!attribute [rw] access_direction
7031
7025
  # The access direction (`inbound` or `outbound`).
7026
+ #
7027
+ # <note markdown="1"> Lightsail currently supports only `inbound` access direction.
7028
+ #
7029
+ # </note>
7032
7030
  # @return [String]
7033
7031
  #
7032
+ # @!attribute [rw] cidrs
7033
+ # The IP address, or range of IP addresses in CIDR notation, that are
7034
+ # allowed to connect to an instance through the ports, and the
7035
+ # protocol. Lightsail supports IPv4 addresses.
7036
+ #
7037
+ # For more information about CIDR block notation, see [Classless
7038
+ # Inter-Domain Routing][1] on *Wikipedia*.
7039
+ #
7040
+ #
7041
+ #
7042
+ # [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation
7043
+ # @return [Array<String>]
7044
+ #
7045
+ # @!attribute [rw] cidr_list_aliases
7046
+ # An alias that defines access for a preconfigured range of IP
7047
+ # addresses.
7048
+ #
7049
+ # The only alias currently supported is `lightsail-connect`, which
7050
+ # allows IP addresses of the browser-based RDP/SSH client in the
7051
+ # Lightsail console to connect to your instance.
7052
+ # @return [Array<String>]
7053
+ #
7034
7054
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortInfo AWS API Documentation
7035
7055
  #
7036
7056
  class InstancePortInfo < Struct.new(
@@ -7040,22 +7060,53 @@ module Aws::Lightsail
7040
7060
  :access_from,
7041
7061
  :access_type,
7042
7062
  :common_name,
7043
- :access_direction)
7063
+ :access_direction,
7064
+ :cidrs,
7065
+ :cidr_list_aliases)
7044
7066
  include Aws::Structure
7045
7067
  end
7046
7068
 
7047
- # Describes the port state.
7069
+ # Describes open ports on an instance, the IP addresses allowed to
7070
+ # connect to the instance through the ports, and the protocol.
7048
7071
  #
7049
7072
  # @!attribute [rw] from_port
7050
- # The first port in the range.
7073
+ # The first port in a range of open ports on an instance.
7074
+ #
7075
+ # Allowed ports:
7076
+ #
7077
+ # * TCP and UDP - `0` to `65535`
7078
+ #
7079
+ # * ICMP - The ICMP type. For example, specify `8` as the `fromPort`
7080
+ # (ICMP type), and `-1` as the `toPort` (ICMP code), to enable ICMP
7081
+ # Ping. For more information, see [Control Messages][1] on
7082
+ # *Wikipedia*.
7083
+ #
7084
+ #
7085
+ #
7086
+ # [1]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages
7051
7087
  # @return [Integer]
7052
7088
  #
7053
7089
  # @!attribute [rw] to_port
7054
- # The last port in the range.
7090
+ # The last port in a range of open ports on an instance.
7091
+ #
7092
+ # Allowed ports:
7093
+ #
7094
+ # * TCP and UDP - `0` to `65535`
7095
+ #
7096
+ # * ICMP - The ICMP code. For example, specify `8` as the `fromPort`
7097
+ # (ICMP type), and `-1` as the `toPort` (ICMP code), to enable ICMP
7098
+ # Ping. For more information, see [Control Messages][1] on
7099
+ # *Wikipedia*.
7100
+ #
7101
+ #
7102
+ #
7103
+ # [1]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages
7055
7104
  # @return [Integer]
7056
7105
  #
7057
7106
  # @!attribute [rw] protocol
7058
- # The protocol being used. Can be one of the following.
7107
+ # The IP protocol name.
7108
+ #
7109
+ # The name can be one of the following:
7059
7110
  #
7060
7111
  # * `tcp` - Transmission Control Protocol (TCP) provides reliable,
7061
7112
  # ordered, and error-checked delivery of streamed data between
@@ -7064,7 +7115,7 @@ module Aws::Lightsail
7064
7115
  # service, use UDP instead.
7065
7116
  #
7066
7117
  # * `all` - All transport layer protocol types. For more general
7067
- # information, see [Transport layer][1] on Wikipedia.
7118
+ # information, see [Transport layer][1] on *Wikipedia*.
7068
7119
  #
7069
7120
  # * `udp` - With User Datagram Protocol (UDP), computer applications
7070
7121
  # can send messages (or datagrams) to other hosts on an Internet
@@ -7075,6 +7126,14 @@ module Aws::Lightsail
7075
7126
  # latency over reliability. If you do require reliable data stream
7076
7127
  # service, use TCP instead.
7077
7128
  #
7129
+ # * `icmp` - Internet Control Message Protocol (ICMP) is used to send
7130
+ # error messages and operational information indicating success or
7131
+ # failure when communicating with an instance. For example, an error
7132
+ # is indicated when an instance could not be reached. When you
7133
+ # specify `icmp` as the `protocol`, you must specify the ICMP type
7134
+ # using the `fromPort` parameter, and ICMP code using the `toPort`
7135
+ # parameter.
7136
+ #
7078
7137
  #
7079
7138
  #
7080
7139
  # [1]: https://en.wikipedia.org/wiki/Transport_layer
@@ -7082,15 +7141,43 @@ module Aws::Lightsail
7082
7141
  #
7083
7142
  # @!attribute [rw] state
7084
7143
  # Specifies whether the instance port is `open` or `closed`.
7144
+ #
7145
+ # <note markdown="1"> The port state for Lightsail instances is always `open`.
7146
+ #
7147
+ # </note>
7085
7148
  # @return [String]
7086
7149
  #
7150
+ # @!attribute [rw] cidrs
7151
+ # The IP address, or range of IP addresses in CIDR notation, that are
7152
+ # allowed to connect to an instance through the ports, and the
7153
+ # protocol. Lightsail supports IPv4 addresses.
7154
+ #
7155
+ # For more information about CIDR block notation, see [Classless
7156
+ # Inter-Domain Routing][1] on *Wikipedia*.
7157
+ #
7158
+ #
7159
+ #
7160
+ # [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation
7161
+ # @return [Array<String>]
7162
+ #
7163
+ # @!attribute [rw] cidr_list_aliases
7164
+ # An alias that defines access for a preconfigured range of IP
7165
+ # addresses.
7166
+ #
7167
+ # The only alias currently supported is `lightsail-connect`, which
7168
+ # allows IP addresses of the browser-based RDP/SSH client in the
7169
+ # Lightsail console to connect to your instance.
7170
+ # @return [Array<String>]
7171
+ #
7087
7172
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/InstancePortState AWS API Documentation
7088
7173
  #
7089
7174
  class InstancePortState < Struct.new(
7090
7175
  :from_port,
7091
7176
  :to_port,
7092
7177
  :protocol,
7093
- :state)
7178
+ :state,
7179
+ :cidrs,
7180
+ :cidr_list_aliases)
7094
7181
  include Aws::Structure
7095
7182
  end
7096
7183
 
@@ -7541,7 +7628,8 @@ module Aws::Lightsail
7541
7628
  # @return [Boolean]
7542
7629
  #
7543
7630
  # @!attribute [rw] status
7544
- # The status of the SSL/TLS certificate. Valid values are below.
7631
+ # The validation status of the SSL/TLS certificate. Valid values are
7632
+ # below.
7545
7633
  # @return [String]
7546
7634
  #
7547
7635
  # @!attribute [rw] domain_name
@@ -7881,19 +7969,19 @@ module Aws::Lightsail
7881
7969
  # port_info: { # required
7882
7970
  # from_port: 1,
7883
7971
  # to_port: 1,
7884
- # protocol: "tcp", # accepts tcp, all, udp
7972
+ # protocol: "tcp", # accepts tcp, all, udp, icmp
7973
+ # cidrs: ["string"],
7974
+ # cidr_list_aliases: ["string"],
7885
7975
  # },
7886
7976
  # instance_name: "ResourceName", # required
7887
7977
  # }
7888
7978
  #
7889
7979
  # @!attribute [rw] port_info
7890
- # An array of key-value pairs containing information about the port
7891
- # mappings.
7980
+ # An object to describe the ports to open for the specified instance.
7892
7981
  # @return [Types::PortInfo]
7893
7982
  #
7894
7983
  # @!attribute [rw] instance_name
7895
- # The name of the instance for which you want to open the public
7896
- # ports.
7984
+ # The name of the instance for which to open ports.
7897
7985
  # @return [String]
7898
7986
  #
7899
7987
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/OpenInstancePublicPortsRequest AWS API Documentation
@@ -7906,7 +7994,7 @@ module Aws::Lightsail
7906
7994
 
7907
7995
  # @!attribute [rw] operation
7908
7996
  # An array of objects that describe the result of the action, such as
7909
- # the status of the request, the time stamp of the request, and the
7997
+ # the status of the request, the timestamp of the request, and the
7910
7998
  # resources affected by the request.
7911
7999
  # @return [Types::Operation]
7912
8000
  #
@@ -8059,7 +8147,7 @@ module Aws::Lightsail
8059
8147
 
8060
8148
  # @!attribute [rw] operation
8061
8149
  # An array of objects that describe the result of the action, such as
8062
- # the status of the request, the time stamp of the request, and the
8150
+ # the status of the request, the timestamp of the request, and the
8063
8151
  # resources affected by the request.
8064
8152
  # @return [Types::Operation]
8065
8153
  #
@@ -8117,8 +8205,8 @@ module Aws::Lightsail
8117
8205
  include Aws::Structure
8118
8206
  end
8119
8207
 
8120
- # Describes information about the ports on your virtual private server
8121
- # (or *instance*).
8208
+ # Describes ports to open on an instance, the IP addresses allowed to
8209
+ # connect to the instance through the ports, and the protocol.
8122
8210
  #
8123
8211
  # @note When making an API call, you may pass PortInfo
8124
8212
  # data as a hash:
@@ -8126,27 +8214,119 @@ module Aws::Lightsail
8126
8214
  # {
8127
8215
  # from_port: 1,
8128
8216
  # to_port: 1,
8129
- # protocol: "tcp", # accepts tcp, all, udp
8217
+ # protocol: "tcp", # accepts tcp, all, udp, icmp
8218
+ # cidrs: ["string"],
8219
+ # cidr_list_aliases: ["string"],
8130
8220
  # }
8131
8221
  #
8132
8222
  # @!attribute [rw] from_port
8133
- # The first port in the range.
8223
+ # The first port in a range of open ports on an instance.
8224
+ #
8225
+ # Allowed ports:
8226
+ #
8227
+ # * TCP and UDP - `0` to `65535`
8228
+ #
8229
+ # * ICMP - The ICMP type. For example, specify `8` as the `fromPort`
8230
+ # (ICMP type), and `-1` as the `toPort` (ICMP code), to enable ICMP
8231
+ # Ping. For more information, see [Control Messages][1] on
8232
+ # *Wikipedia*.
8233
+ #
8234
+ #
8235
+ #
8236
+ # [1]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages
8134
8237
  # @return [Integer]
8135
8238
  #
8136
8239
  # @!attribute [rw] to_port
8137
- # The last port in the range.
8240
+ # The last port in a range of open ports on an instance.
8241
+ #
8242
+ # Allowed ports:
8243
+ #
8244
+ # * TCP and UDP - `0` to `65535`
8245
+ #
8246
+ # * ICMP - The ICMP code. For example, specify `8` as the `fromPort`
8247
+ # (ICMP type), and `-1` as the `toPort` (ICMP code), to enable ICMP
8248
+ # Ping. For more information, see [Control Messages][1] on
8249
+ # *Wikipedia*.
8250
+ #
8251
+ #
8252
+ #
8253
+ # [1]: https://en.wikipedia.org/wiki/Internet_Control_Message_Protocol#Control_messages
8138
8254
  # @return [Integer]
8139
8255
  #
8140
8256
  # @!attribute [rw] protocol
8141
- # The protocol.
8257
+ # The IP protocol name.
8258
+ #
8259
+ # The name can be one of the following:
8260
+ #
8261
+ # * `tcp` - Transmission Control Protocol (TCP) provides reliable,
8262
+ # ordered, and error-checked delivery of streamed data between
8263
+ # applications running on hosts communicating by an IP network. If
8264
+ # you have an application that doesn't require reliable data stream
8265
+ # service, use UDP instead.
8266
+ #
8267
+ # * `all` - All transport layer protocol types. For more general
8268
+ # information, see [Transport layer][1] on *Wikipedia*.
8269
+ #
8270
+ # * `udp` - With User Datagram Protocol (UDP), computer applications
8271
+ # can send messages (or datagrams) to other hosts on an Internet
8272
+ # Protocol (IP) network. Prior communications are not required to
8273
+ # set up transmission channels or data paths. Applications that
8274
+ # don't require reliable data stream service can use UDP, which
8275
+ # provides a connectionless datagram service that emphasizes reduced
8276
+ # latency over reliability. If you do require reliable data stream
8277
+ # service, use TCP instead.
8278
+ #
8279
+ # * `icmp` - Internet Control Message Protocol (ICMP) is used to send
8280
+ # error messages and operational information indicating success or
8281
+ # failure when communicating with an instance. For example, an error
8282
+ # is indicated when an instance could not be reached. When you
8283
+ # specify `icmp` as the `protocol`, you must specify the ICMP type
8284
+ # using the `fromPort` parameter, and ICMP code using the `toPort`
8285
+ # parameter.
8286
+ #
8287
+ #
8288
+ #
8289
+ # [1]: https://en.wikipedia.org/wiki/Transport_layer
8142
8290
  # @return [String]
8143
8291
  #
8292
+ # @!attribute [rw] cidrs
8293
+ # The IP address, or range of IP addresses in CIDR notation, that are
8294
+ # allowed to connect to an instance through the ports, and the
8295
+ # protocol. Lightsail supports IPv4 addresses.
8296
+ #
8297
+ # Examples:
8298
+ #
8299
+ # * To allow the IP address `192.0.2.44`, specify `192.0.2.44` or
8300
+ # `192.0.2.44/32`.
8301
+ #
8302
+ # * To allow the IP addresses `192.0.2.0` to `192.0.2.255`, specify
8303
+ # `192.0.2.0/24`.
8304
+ #
8305
+ # For more information about CIDR block notation, see [Classless
8306
+ # Inter-Domain Routing][1] on *Wikipedia*.
8307
+ #
8308
+ #
8309
+ #
8310
+ # [1]: https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing#CIDR_notation
8311
+ # @return [Array<String>]
8312
+ #
8313
+ # @!attribute [rw] cidr_list_aliases
8314
+ # An alias that defines access for a preconfigured range of IP
8315
+ # addresses.
8316
+ #
8317
+ # The only alias currently supported is `lightsail-connect`, which
8318
+ # allows IP addresses of the browser-based RDP/SSH client in the
8319
+ # Lightsail console to connect to your instance.
8320
+ # @return [Array<String>]
8321
+ #
8144
8322
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PortInfo AWS API Documentation
8145
8323
  #
8146
8324
  class PortInfo < Struct.new(
8147
8325
  :from_port,
8148
8326
  :to_port,
8149
- :protocol)
8327
+ :protocol,
8328
+ :cidrs,
8329
+ :cidr_list_aliases)
8150
8330
  include Aws::Structure
8151
8331
  end
8152
8332
 
@@ -8155,7 +8335,7 @@ module Aws::Lightsail
8155
8335
  #
8156
8336
  # {
8157
8337
  # alarm_name: "ResourceName", # required
8158
- # metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, ClientTLSNegotiationErrorCount, HealthyHostCount, UnhealthyHostCount, HTTPCode_LB_4XX_Count, HTTPCode_LB_5XX_Count, HTTPCode_Instance_2XX_Count, HTTPCode_Instance_3XX_Count, HTTPCode_Instance_4XX_Count, HTTPCode_Instance_5XX_Count, InstanceResponseTime, RejectedConnectionCount, RequestCount, DatabaseConnections, DiskQueueDepth, FreeStorageSpace, NetworkReceiveThroughput, NetworkTransmitThroughput
8338
+ # metric_name: "CPUUtilization", # required, accepts CPUUtilization, NetworkIn, NetworkOut, StatusCheckFailed, StatusCheckFailed_Instance, StatusCheckFailed_System, ClientTLSNegotiationErrorCount, HealthyHostCount, UnhealthyHostCount, HTTPCode_LB_4XX_Count, HTTPCode_LB_5XX_Count, HTTPCode_Instance_2XX_Count, HTTPCode_Instance_3XX_Count, HTTPCode_Instance_4XX_Count, HTTPCode_Instance_5XX_Count, InstanceResponseTime, RejectedConnectionCount, RequestCount, DatabaseConnections, DiskQueueDepth, FreeStorageSpace, NetworkReceiveThroughput, NetworkTransmitThroughput, BurstCapacityTime, BurstCapacityPercentage
8159
8339
  # monitored_resource_name: "ResourceName", # required
8160
8340
  # comparison_operator: "GreaterThanOrEqualToThreshold", # required, accepts GreaterThanOrEqualToThreshold, GreaterThanThreshold, LessThanThreshold, LessThanOrEqualToThreshold
8161
8341
  # threshold: 1.0, # required
@@ -8179,9 +8359,9 @@ module Aws::Lightsail
8179
8359
  #
8180
8360
  # The following metrics are available for each resource type:
8181
8361
  #
8182
- # * **Instances**\: `CPUUtilization`, `NetworkIn`, `NetworkOut`,
8183
- # `StatusCheckFailed`, `StatusCheckFailed_Instance`, and
8184
- # `StatusCheckFailed_System`.
8362
+ # * **Instances**\: `BurstCapacityPercentage`, `BurstCapacityTime`,
8363
+ # `CPUUtilization`, `NetworkIn`, `NetworkOut`, `StatusCheckFailed`,
8364
+ # `StatusCheckFailed_Instance`, and `StatusCheckFailed_System`.
8185
8365
  #
8186
8366
  # * **Load balancers**\: `ClientTLSNegotiationErrorCount`,
8187
8367
  # `HealthyHostCount`, `UnhealthyHostCount`, `HTTPCode_LB_4XX_Count`,
@@ -8193,6 +8373,13 @@ module Aws::Lightsail
8193
8373
  # * **Relational databases**\: `CPUUtilization`,
8194
8374
  # `DatabaseConnections`, `DiskQueueDepth`, `FreeStorageSpace`,
8195
8375
  # `NetworkReceiveThroughput`, and `NetworkTransmitThroughput`.
8376
+ #
8377
+ # For more information about these metrics, see [Metrics available in
8378
+ # Lightsail][1].
8379
+ #
8380
+ #
8381
+ #
8382
+ # [1]: https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-resource-health-metrics#available-metrics
8196
8383
  # @return [String]
8197
8384
  #
8198
8385
  # @!attribute [rw] monitored_resource_name
@@ -8241,18 +8428,18 @@ module Aws::Lightsail
8241
8428
  #
8242
8429
  # An alarm can treat missing data in the following ways:
8243
8430
  #
8244
- # * `breaching` Assume the missing data is not within the threshold.
8431
+ # * `breaching` - Assume the missing data is not within the threshold.
8245
8432
  # Missing data counts towards the number of times the metric is not
8246
8433
  # within the threshold.
8247
8434
  #
8248
- # * `notBreaching` Assume the missing data is within the threshold.
8435
+ # * `notBreaching` - Assume the missing data is within the threshold.
8249
8436
  # Missing data does not count towards the number of times the metric
8250
8437
  # is not within the threshold.
8251
8438
  #
8252
- # * `ignore` Ignore the missing data. Maintains the current alarm
8439
+ # * `ignore` - Ignore the missing data. Maintains the current alarm
8253
8440
  # state.
8254
8441
  #
8255
- # * `missing` Missing data is treated as missing.
8442
+ # * `missing` - Missing data is treated as missing.
8256
8443
  #
8257
8444
  # If `treatMissingData` is not specified, the default behavior of
8258
8445
  # `missing` is used.
@@ -8280,13 +8467,13 @@ module Aws::Lightsail
8280
8467
  #
8281
8468
  # An alarm has the following possible states:
8282
8469
  #
8283
- # * `ALARM` The metric is outside of the defined threshold.
8470
+ # * `ALARM` - The metric is outside of the defined threshold.
8284
8471
  #
8285
- # * `INSUFFICIENT_DATA` The alarm has just started, the metric is
8472
+ # * `INSUFFICIENT_DATA` - The alarm has just started, the metric is
8286
8473
  # not available, or not enough data is available for the metric to
8287
8474
  # determine the alarm state.
8288
8475
  #
8289
- # * `OK` The metric is within the defined threshold.
8476
+ # * `OK` - The metric is within the defined threshold.
8290
8477
  #
8291
8478
  # When you specify a notification trigger, the `ALARM` state must be
8292
8479
  # specified. The `INSUFFICIENT_DATA` and `OK` states can be specified
@@ -8331,7 +8518,7 @@ module Aws::Lightsail
8331
8518
 
8332
8519
  # @!attribute [rw] operations
8333
8520
  # An array of objects that describe the result of the action, such as
8334
- # the status of the request, the time stamp of the request, and the
8521
+ # the status of the request, the timestamp of the request, and the
8335
8522
  # resources affected by the request.
8336
8523
  # @return [Array<Types::Operation>]
8337
8524
  #
@@ -8350,18 +8537,21 @@ module Aws::Lightsail
8350
8537
  # {
8351
8538
  # from_port: 1,
8352
8539
  # to_port: 1,
8353
- # protocol: "tcp", # accepts tcp, all, udp
8540
+ # protocol: "tcp", # accepts tcp, all, udp, icmp
8541
+ # cidrs: ["string"],
8542
+ # cidr_list_aliases: ["string"],
8354
8543
  # },
8355
8544
  # ],
8356
8545
  # instance_name: "ResourceName", # required
8357
8546
  # }
8358
8547
  #
8359
8548
  # @!attribute [rw] port_infos
8360
- # Specifies information about the public port(s).
8549
+ # An array of objects to describe the ports to open for the specified
8550
+ # instance.
8361
8551
  # @return [Array<Types::PortInfo>]
8362
8552
  #
8363
8553
  # @!attribute [rw] instance_name
8364
- # The Lightsail instance name of the public port(s) you are setting.
8554
+ # The name of the instance for which to open ports.
8365
8555
  # @return [String]
8366
8556
  #
8367
8557
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/PutInstancePublicPortsRequest AWS API Documentation
@@ -8374,7 +8564,7 @@ module Aws::Lightsail
8374
8564
 
8375
8565
  # @!attribute [rw] operation
8376
8566
  # An array of objects that describe the result of the action, such as
8377
- # the status of the request, the time stamp of the request, and the
8567
+ # the status of the request, the timestamp of the request, and the
8378
8568
  # resources affected by the request.
8379
8569
  # @return [Types::Operation]
8380
8570
  #
@@ -8405,7 +8595,7 @@ module Aws::Lightsail
8405
8595
 
8406
8596
  # @!attribute [rw] operations
8407
8597
  # An array of objects that describe the result of the action, such as
8408
- # the status of the request, the time stamp of the request, and the
8598
+ # the status of the request, the timestamp of the request, and the
8409
8599
  # resources affected by the request.
8410
8600
  # @return [Array<Types::Operation>]
8411
8601
  #
@@ -8436,7 +8626,7 @@ module Aws::Lightsail
8436
8626
 
8437
8627
  # @!attribute [rw] operations
8438
8628
  # An array of objects that describe the result of the action, such as
8439
- # the status of the request, the time stamp of the request, and the
8629
+ # the status of the request, the timestamp of the request, and the
8440
8630
  # resources affected by the request.
8441
8631
  # @return [Array<Types::Operation>]
8442
8632
  #
@@ -9002,7 +9192,7 @@ module Aws::Lightsail
9002
9192
 
9003
9193
  # @!attribute [rw] operations
9004
9194
  # An array of objects that describe the result of the action, such as
9005
- # the status of the request, the time stamp of the request, and the
9195
+ # the status of the request, the timestamp of the request, and the
9006
9196
  # resources affected by the request.
9007
9197
  # @return [Array<Types::Operation>]
9008
9198
  #
@@ -9052,7 +9242,7 @@ module Aws::Lightsail
9052
9242
 
9053
9243
  # @!attribute [rw] operations
9054
9244
  # An array of objects that describe the result of the action, such as
9055
- # the status of the request, the time stamp of the request, and the
9245
+ # the status of the request, the timestamp of the request, and the
9056
9246
  # resources affected by the request.
9057
9247
  # @return [Array<Types::Operation>]
9058
9248
  #
@@ -9107,7 +9297,7 @@ module Aws::Lightsail
9107
9297
 
9108
9298
  # @!attribute [rw] operations
9109
9299
  # An array of objects that describe the result of the action, such as
9110
- # the status of the request, the time stamp of the request, and the
9300
+ # the status of the request, the timestamp of the request, and the
9111
9301
  # resources affected by the request.
9112
9302
  # @return [Array<Types::Operation>]
9113
9303
  #
@@ -9138,7 +9328,7 @@ module Aws::Lightsail
9138
9328
 
9139
9329
  # @!attribute [rw] operations
9140
9330
  # An array of objects that describe the result of the action, such as
9141
- # the status of the request, the time stamp of the request, and the
9331
+ # the status of the request, the timestamp of the request, and the
9142
9332
  # resources affected by the request.
9143
9333
  # @return [Array<Types::Operation>]
9144
9334
  #
@@ -9239,7 +9429,7 @@ module Aws::Lightsail
9239
9429
 
9240
9430
  # @!attribute [rw] operations
9241
9431
  # An array of objects that describe the result of the action, such as
9242
- # the status of the request, the time stamp of the request, and the
9432
+ # the status of the request, the timestamp of the request, and the
9243
9433
  # resources affected by the request.
9244
9434
  # @return [Array<Types::Operation>]
9245
9435
  #
@@ -9277,7 +9467,7 @@ module Aws::Lightsail
9277
9467
 
9278
9468
  # @!attribute [rw] operations
9279
9469
  # An array of objects that describe the result of the action, such as
9280
- # the status of the request, the time stamp of the request, and the
9470
+ # the status of the request, the timestamp of the request, and the
9281
9471
  # resources affected by the request.
9282
9472
  # @return [Array<Types::Operation>]
9283
9473
  #
@@ -9366,7 +9556,7 @@ module Aws::Lightsail
9366
9556
 
9367
9557
  # @!attribute [rw] operations
9368
9558
  # An array of objects that describe the result of the action, such as
9369
- # the status of the request, the time stamp of the request, and the
9559
+ # the status of the request, the timestamp of the request, and the
9370
9560
  # resources affected by the request.
9371
9561
  # @return [Array<Types::Operation>]
9372
9562
  #
@@ -9394,13 +9584,13 @@ module Aws::Lightsail
9394
9584
  #
9395
9585
  # An alarm has the following possible states that can be tested:
9396
9586
  #
9397
- # * `ALARM` The metric is outside of the defined threshold.
9587
+ # * `ALARM` - The metric is outside of the defined threshold.
9398
9588
  #
9399
- # * `INSUFFICIENT_DATA` The alarm has just started, the metric is
9589
+ # * `INSUFFICIENT_DATA` - The alarm has just started, the metric is
9400
9590
  # not available, or not enough data is available for the metric to
9401
9591
  # determine the alarm state.
9402
9592
  #
9403
- # * `OK` The metric is within the defined threshold.
9593
+ # * `OK` - The metric is within the defined threshold.
9404
9594
  # @return [String]
9405
9595
  #
9406
9596
  # @see http://docs.aws.amazon.com/goto/WebAPI/lightsail-2016-11-28/TestAlarmRequest AWS API Documentation
@@ -9413,7 +9603,7 @@ module Aws::Lightsail
9413
9603
 
9414
9604
  # @!attribute [rw] operations
9415
9605
  # An array of objects that describe the result of the action, such as
9416
- # the status of the request, the time stamp of the request, and the
9606
+ # the status of the request, the timestamp of the request, and the
9417
9607
  # resources affected by the request.
9418
9608
  # @return [Array<Types::Operation>]
9419
9609
  #
@@ -9457,7 +9647,7 @@ module Aws::Lightsail
9457
9647
 
9458
9648
  # @!attribute [rw] operation
9459
9649
  # An array of objects that describe the result of the action, such as
9460
- # the status of the request, the time stamp of the request, and the
9650
+ # the status of the request, the timestamp of the request, and the
9461
9651
  # resources affected by the request.
9462
9652
  # @return [Types::Operation]
9463
9653
  #
@@ -9501,7 +9691,7 @@ module Aws::Lightsail
9501
9691
 
9502
9692
  # @!attribute [rw] operations
9503
9693
  # An array of objects that describe the result of the action, such as
9504
- # the status of the request, the time stamp of the request, and the
9694
+ # the status of the request, the timestamp of the request, and the
9505
9695
  # resources affected by the request.
9506
9696
  # @return [Array<Types::Operation>]
9507
9697
  #
@@ -9548,7 +9738,7 @@ module Aws::Lightsail
9548
9738
 
9549
9739
  # @!attribute [rw] operations
9550
9740
  # An array of objects that describe the result of the action, such as
9551
- # the status of the request, the time stamp of the request, and the
9741
+ # the status of the request, the timestamp of the request, and the
9552
9742
  # resources affected by the request.
9553
9743
  # @return [Array<Types::Operation>]
9554
9744
  #
@@ -9593,7 +9783,7 @@ module Aws::Lightsail
9593
9783
 
9594
9784
  # @!attribute [rw] operations
9595
9785
  # An array of objects that describe the result of the action, such as
9596
- # the status of the request, the time stamp of the request, and the
9786
+ # the status of the request, the timestamp of the request, and the
9597
9787
  # resources affected by the request.
9598
9788
  # @return [Array<Types::Operation>]
9599
9789
  #
@@ -9641,7 +9831,7 @@ module Aws::Lightsail
9641
9831
 
9642
9832
  # @!attribute [rw] operations
9643
9833
  # An array of objects that describe the result of the action, such as
9644
- # the status of the request, the time stamp of the request, and the
9834
+ # the status of the request, the timestamp of the request, and the
9645
9835
  # resources affected by the request.
9646
9836
  # @return [Array<Types::Operation>]
9647
9837
  #
@@ -9783,7 +9973,7 @@ module Aws::Lightsail
9783
9973
 
9784
9974
  # @!attribute [rw] operations
9785
9975
  # An array of objects that describe the result of the action, such as
9786
- # the status of the request, the time stamp of the request, and the
9976
+ # the status of the request, the timestamp of the request, and the
9787
9977
  # resources affected by the request.
9788
9978
  # @return [Array<Types::Operation>]
9789
9979
  #