aws-sdk-internetmonitor 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-internetmonitor/client.rb +39 -1
- data/lib/aws-sdk-internetmonitor/client_api.rb +11 -0
- data/lib/aws-sdk-internetmonitor/types.rb +69 -5
- data/lib/aws-sdk-internetmonitor.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c3e7bae5364e9e99eb554c7211d7adbcfcfc6492c11b7074f137734111f93275
|
4
|
+
data.tar.gz: cef56ffc729c0777edf1f6e1db2f04d00d8dce9a8b79a04e6b09913ad166e1c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f4cf47a8678878864c5e0f1c06d3d36844991e98e3892cd9e25091da431c8b4120a97cb7c75742b8a69de9f46d9a616c6b2c426c7bb713e6c60f61e82c03e25
|
7
|
+
data.tar.gz: 77092392af7cd8cc633a598c4a823200a88817768329fe5f3ac3f8c722055dba2f3100d7ce70fc93bdd47aa14404f2e339d7cd9e6c714a0483c2094b7e897145
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.6.0 (2023-07-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.5.0 (2023-06-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds a new feature for Amazon CloudWatch Internet Monitor that enables customers to set custom thresholds, for performance and availability drops, for triggering when to create a health event.
|
13
|
+
|
4
14
|
1.4.0 (2023-06-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.6.0
|
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
31
32
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
33
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
34
|
require 'aws-sdk-core/plugins/sign.rb'
|
@@ -77,6 +78,7 @@ module Aws::InternetMonitor
|
|
77
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
78
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
80
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
80
82
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
83
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
84
|
add_plugin(Aws::Plugins::Sign)
|
@@ -190,6 +192,10 @@ module Aws::InternetMonitor
|
|
190
192
|
# Set to true to disable SDK automatically adding host prefix
|
191
193
|
# to default service endpoint when available.
|
192
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
193
199
|
# @option options [String] :endpoint
|
194
200
|
# The client endpoint is normally constructed from the `:region`
|
195
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -230,6 +236,11 @@ module Aws::InternetMonitor
|
|
230
236
|
# Used when loading credentials from the shared credentials file
|
231
237
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
232
238
|
#
|
239
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
240
|
+
# The minimum size in bytes that triggers compression for request
|
241
|
+
# bodies. The value must be non-negative integer value between 0
|
242
|
+
# and 10485780 bytes inclusive.
|
243
|
+
#
|
233
244
|
# @option options [Proc] :retry_backoff
|
234
245
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
235
246
|
# This option is only used in the `legacy` retry mode.
|
@@ -448,6 +459,13 @@ module Aws::InternetMonitor
|
|
448
459
|
# The percentage of the internet-facing traffic for your application
|
449
460
|
# that you want to monitor with this monitor.
|
450
461
|
#
|
462
|
+
# @option params [Types::HealthEventsConfig] :health_events_config
|
463
|
+
# Defines the health event threshold percentages, for performance score
|
464
|
+
# and availability score. Internet Monitor creates a health event when
|
465
|
+
# there's an internet issue that affects your application end users
|
466
|
+
# where a health score percentage is at or below a set threshold. If you
|
467
|
+
# don't set a health event threshold, the default calue is 95%.
|
468
|
+
#
|
451
469
|
# @return [Types::CreateMonitorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
452
470
|
#
|
453
471
|
# * {Types::CreateMonitorOutput#arn #arn} => String
|
@@ -471,6 +489,10 @@ module Aws::InternetMonitor
|
|
471
489
|
# },
|
472
490
|
# },
|
473
491
|
# traffic_percentage_to_monitor: 1,
|
492
|
+
# health_events_config: {
|
493
|
+
# availability_score_threshold: 1.0,
|
494
|
+
# performance_score_threshold: 1.0,
|
495
|
+
# },
|
474
496
|
# })
|
475
497
|
#
|
476
498
|
# @example Response structure
|
@@ -541,6 +563,7 @@ module Aws::InternetMonitor
|
|
541
563
|
# * {Types::GetHealthEventOutput#status #status} => String
|
542
564
|
# * {Types::GetHealthEventOutput#percent_of_total_traffic_impacted #percent_of_total_traffic_impacted} => Float
|
543
565
|
# * {Types::GetHealthEventOutput#impact_type #impact_type} => String
|
566
|
+
# * {Types::GetHealthEventOutput#health_score_threshold #health_score_threshold} => Float
|
544
567
|
#
|
545
568
|
# @example Request syntax with placeholder values
|
546
569
|
#
|
@@ -589,6 +612,7 @@ module Aws::InternetMonitor
|
|
589
612
|
# resp.status #=> String, one of "ACTIVE", "RESOLVED"
|
590
613
|
# resp.percent_of_total_traffic_impacted #=> Float
|
591
614
|
# resp.impact_type #=> String, one of "AVAILABILITY", "PERFORMANCE"
|
615
|
+
# resp.health_score_threshold #=> Float
|
592
616
|
#
|
593
617
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetHealthEvent AWS API Documentation
|
594
618
|
#
|
@@ -621,6 +645,7 @@ module Aws::InternetMonitor
|
|
621
645
|
# * {Types::GetMonitorOutput#max_city_networks_to_monitor #max_city_networks_to_monitor} => Integer
|
622
646
|
# * {Types::GetMonitorOutput#internet_measurements_log_delivery #internet_measurements_log_delivery} => Types::InternetMeasurementsLogDelivery
|
623
647
|
# * {Types::GetMonitorOutput#traffic_percentage_to_monitor #traffic_percentage_to_monitor} => Integer
|
648
|
+
# * {Types::GetMonitorOutput#health_events_config #health_events_config} => Types::HealthEventsConfig
|
624
649
|
#
|
625
650
|
# @example Request syntax with placeholder values
|
626
651
|
#
|
@@ -646,6 +671,8 @@ module Aws::InternetMonitor
|
|
646
671
|
# resp.internet_measurements_log_delivery.s3_config.bucket_prefix #=> String
|
647
672
|
# resp.internet_measurements_log_delivery.s3_config.log_delivery_status #=> String, one of "ENABLED", "DISABLED"
|
648
673
|
# resp.traffic_percentage_to_monitor #=> Integer
|
674
|
+
# resp.health_events_config.availability_score_threshold #=> Float
|
675
|
+
# resp.health_events_config.performance_score_threshold #=> Float
|
649
676
|
#
|
650
677
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetMonitor AWS API Documentation
|
651
678
|
#
|
@@ -746,6 +773,7 @@ module Aws::InternetMonitor
|
|
746
773
|
# resp.health_events[0].status #=> String, one of "ACTIVE", "RESOLVED"
|
747
774
|
# resp.health_events[0].percent_of_total_traffic_impacted #=> Float
|
748
775
|
# resp.health_events[0].impact_type #=> String, one of "AVAILABILITY", "PERFORMANCE"
|
776
|
+
# resp.health_events[0].health_score_threshold #=> Float
|
749
777
|
# resp.next_token #=> String
|
750
778
|
#
|
751
779
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListHealthEvents AWS API Documentation
|
@@ -966,6 +994,12 @@ module Aws::InternetMonitor
|
|
966
994
|
# The percentage of the internet-facing traffic for your application
|
967
995
|
# that you want to monitor with this monitor.
|
968
996
|
#
|
997
|
+
# @option params [Types::HealthEventsConfig] :health_events_config
|
998
|
+
# The list of health event thresholds. A health event threshold
|
999
|
+
# percentage, for performance and availability, determines when Internet
|
1000
|
+
# Monitor creates a health event when there's an internet issue that
|
1001
|
+
# affects your application end users.
|
1002
|
+
#
|
969
1003
|
# @return [Types::UpdateMonitorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
970
1004
|
#
|
971
1005
|
# * {Types::UpdateMonitorOutput#monitor_arn #monitor_arn} => String
|
@@ -988,6 +1022,10 @@ module Aws::InternetMonitor
|
|
988
1022
|
# },
|
989
1023
|
# },
|
990
1024
|
# traffic_percentage_to_monitor: 1,
|
1025
|
+
# health_events_config: {
|
1026
|
+
# availability_score_threshold: 1.0,
|
1027
|
+
# performance_score_threshold: 1.0,
|
1028
|
+
# },
|
991
1029
|
# })
|
992
1030
|
#
|
993
1031
|
# @example Response structure
|
@@ -1017,7 +1055,7 @@ module Aws::InternetMonitor
|
|
1017
1055
|
params: params,
|
1018
1056
|
config: config)
|
1019
1057
|
context[:gem_name] = 'aws-sdk-internetmonitor'
|
1020
|
-
context[:gem_version] = '1.
|
1058
|
+
context[:gem_version] = '1.6.0'
|
1021
1059
|
Seahorse::Client::Request.new(handlers, context)
|
1022
1060
|
end
|
1023
1061
|
|
@@ -32,6 +32,7 @@ module Aws::InternetMonitor
|
|
32
32
|
HealthEventList = Shapes::ListShape.new(name: 'HealthEventList')
|
33
33
|
HealthEventName = Shapes::StringShape.new(name: 'HealthEventName')
|
34
34
|
HealthEventStatus = Shapes::StringShape.new(name: 'HealthEventStatus')
|
35
|
+
HealthEventsConfig = Shapes::StructureShape.new(name: 'HealthEventsConfig')
|
35
36
|
ImpactedLocation = Shapes::StructureShape.new(name: 'ImpactedLocation')
|
36
37
|
ImpactedLocationsList = Shapes::ListShape.new(name: 'ImpactedLocationsList')
|
37
38
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
@@ -58,6 +59,7 @@ module Aws::InternetMonitor
|
|
58
59
|
NetworkImpairment = Shapes::StructureShape.new(name: 'NetworkImpairment')
|
59
60
|
NetworkList = Shapes::ListShape.new(name: 'NetworkList')
|
60
61
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
62
|
+
Percentage = Shapes::FloatShape.new(name: 'Percentage')
|
61
63
|
PerformanceMeasurement = Shapes::StructureShape.new(name: 'PerformanceMeasurement')
|
62
64
|
ResourceName = Shapes::StringShape.new(name: 'ResourceName')
|
63
65
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -104,6 +106,7 @@ module Aws::InternetMonitor
|
|
104
106
|
CreateMonitorInput.add_member(:max_city_networks_to_monitor, Shapes::ShapeRef.new(shape: MaxCityNetworksToMonitor, location_name: "MaxCityNetworksToMonitor"))
|
105
107
|
CreateMonitorInput.add_member(:internet_measurements_log_delivery, Shapes::ShapeRef.new(shape: InternetMeasurementsLogDelivery, location_name: "InternetMeasurementsLogDelivery"))
|
106
108
|
CreateMonitorInput.add_member(:traffic_percentage_to_monitor, Shapes::ShapeRef.new(shape: TrafficPercentageToMonitor, location_name: "TrafficPercentageToMonitor"))
|
109
|
+
CreateMonitorInput.add_member(:health_events_config, Shapes::ShapeRef.new(shape: HealthEventsConfig, location_name: "HealthEventsConfig"))
|
107
110
|
CreateMonitorInput.struct_class = Types::CreateMonitorInput
|
108
111
|
|
109
112
|
CreateMonitorOutput.add_member(:arn, Shapes::ShapeRef.new(shape: MonitorArn, required: true, location_name: "Arn"))
|
@@ -129,6 +132,7 @@ module Aws::InternetMonitor
|
|
129
132
|
GetHealthEventOutput.add_member(:status, Shapes::ShapeRef.new(shape: HealthEventStatus, required: true, location_name: "Status"))
|
130
133
|
GetHealthEventOutput.add_member(:percent_of_total_traffic_impacted, Shapes::ShapeRef.new(shape: Double, location_name: "PercentOfTotalTrafficImpacted"))
|
131
134
|
GetHealthEventOutput.add_member(:impact_type, Shapes::ShapeRef.new(shape: HealthEventImpactType, required: true, location_name: "ImpactType"))
|
135
|
+
GetHealthEventOutput.add_member(:health_score_threshold, Shapes::ShapeRef.new(shape: Percentage, location_name: "HealthScoreThreshold"))
|
132
136
|
GetHealthEventOutput.struct_class = Types::GetHealthEventOutput
|
133
137
|
|
134
138
|
GetMonitorInput.add_member(:monitor_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MonitorName"))
|
@@ -146,6 +150,7 @@ module Aws::InternetMonitor
|
|
146
150
|
GetMonitorOutput.add_member(:max_city_networks_to_monitor, Shapes::ShapeRef.new(shape: MaxCityNetworksToMonitor, location_name: "MaxCityNetworksToMonitor"))
|
147
151
|
GetMonitorOutput.add_member(:internet_measurements_log_delivery, Shapes::ShapeRef.new(shape: InternetMeasurementsLogDelivery, location_name: "InternetMeasurementsLogDelivery"))
|
148
152
|
GetMonitorOutput.add_member(:traffic_percentage_to_monitor, Shapes::ShapeRef.new(shape: TrafficPercentageToMonitor, location_name: "TrafficPercentageToMonitor"))
|
153
|
+
GetMonitorOutput.add_member(:health_events_config, Shapes::ShapeRef.new(shape: HealthEventsConfig, location_name: "HealthEventsConfig"))
|
149
154
|
GetMonitorOutput.struct_class = Types::GetMonitorOutput
|
150
155
|
|
151
156
|
HealthEvent.add_member(:event_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventArn"))
|
@@ -158,10 +163,15 @@ module Aws::InternetMonitor
|
|
158
163
|
HealthEvent.add_member(:status, Shapes::ShapeRef.new(shape: HealthEventStatus, required: true, location_name: "Status"))
|
159
164
|
HealthEvent.add_member(:percent_of_total_traffic_impacted, Shapes::ShapeRef.new(shape: Double, location_name: "PercentOfTotalTrafficImpacted"))
|
160
165
|
HealthEvent.add_member(:impact_type, Shapes::ShapeRef.new(shape: HealthEventImpactType, required: true, location_name: "ImpactType"))
|
166
|
+
HealthEvent.add_member(:health_score_threshold, Shapes::ShapeRef.new(shape: Percentage, location_name: "HealthScoreThreshold"))
|
161
167
|
HealthEvent.struct_class = Types::HealthEvent
|
162
168
|
|
163
169
|
HealthEventList.member = Shapes::ShapeRef.new(shape: HealthEvent)
|
164
170
|
|
171
|
+
HealthEventsConfig.add_member(:availability_score_threshold, Shapes::ShapeRef.new(shape: Percentage, location_name: "AvailabilityScoreThreshold"))
|
172
|
+
HealthEventsConfig.add_member(:performance_score_threshold, Shapes::ShapeRef.new(shape: Percentage, location_name: "PerformanceScoreThreshold"))
|
173
|
+
HealthEventsConfig.struct_class = Types::HealthEventsConfig
|
174
|
+
|
165
175
|
ImpactedLocation.add_member(:as_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ASName"))
|
166
176
|
ImpactedLocation.add_member(:as_number, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "ASNumber"))
|
167
177
|
ImpactedLocation.add_member(:country, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Country"))
|
@@ -297,6 +307,7 @@ module Aws::InternetMonitor
|
|
297
307
|
UpdateMonitorInput.add_member(:max_city_networks_to_monitor, Shapes::ShapeRef.new(shape: MaxCityNetworksToMonitor, location_name: "MaxCityNetworksToMonitor"))
|
298
308
|
UpdateMonitorInput.add_member(:internet_measurements_log_delivery, Shapes::ShapeRef.new(shape: InternetMeasurementsLogDelivery, location_name: "InternetMeasurementsLogDelivery"))
|
299
309
|
UpdateMonitorInput.add_member(:traffic_percentage_to_monitor, Shapes::ShapeRef.new(shape: TrafficPercentageToMonitor, location_name: "TrafficPercentageToMonitor"))
|
310
|
+
UpdateMonitorInput.add_member(:health_events_config, Shapes::ShapeRef.new(shape: HealthEventsConfig, location_name: "HealthEventsConfig"))
|
300
311
|
UpdateMonitorInput.struct_class = Types::UpdateMonitorInput
|
301
312
|
|
302
313
|
UpdateMonitorOutput.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: MonitorArn, required: true, location_name: "MonitorArn"))
|
@@ -190,6 +190,15 @@ module Aws::InternetMonitor
|
|
190
190
|
# that you want to monitor with this monitor.
|
191
191
|
# @return [Integer]
|
192
192
|
#
|
193
|
+
# @!attribute [rw] health_events_config
|
194
|
+
# Defines the health event threshold percentages, for performance
|
195
|
+
# score and availability score. Internet Monitor creates a health
|
196
|
+
# event when there's an internet issue that affects your application
|
197
|
+
# end users where a health score percentage is at or below a set
|
198
|
+
# threshold. If you don't set a health event threshold, the default
|
199
|
+
# calue is 95%.
|
200
|
+
# @return [Types::HealthEventsConfig]
|
201
|
+
#
|
193
202
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/CreateMonitorInput AWS API Documentation
|
194
203
|
#
|
195
204
|
class CreateMonitorInput < Struct.new(
|
@@ -199,7 +208,8 @@ module Aws::InternetMonitor
|
|
199
208
|
:tags,
|
200
209
|
:max_city_networks_to_monitor,
|
201
210
|
:internet_measurements_log_delivery,
|
202
|
-
:traffic_percentage_to_monitor
|
211
|
+
:traffic_percentage_to_monitor,
|
212
|
+
:health_events_config)
|
203
213
|
SENSITIVE = []
|
204
214
|
include Aws::Structure
|
205
215
|
end
|
@@ -297,6 +307,11 @@ module Aws::InternetMonitor
|
|
297
307
|
# The type of impairment of a specific health event.
|
298
308
|
# @return [String]
|
299
309
|
#
|
310
|
+
# @!attribute [rw] health_score_threshold
|
311
|
+
# The threshold percentage for health events when Amazon CloudWatch
|
312
|
+
# Internet Monitor creates a health event.
|
313
|
+
# @return [Float]
|
314
|
+
#
|
300
315
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetHealthEventOutput AWS API Documentation
|
301
316
|
#
|
302
317
|
class GetHealthEventOutput < Struct.new(
|
@@ -309,7 +324,8 @@ module Aws::InternetMonitor
|
|
309
324
|
:impacted_locations,
|
310
325
|
:status,
|
311
326
|
:percent_of_total_traffic_impacted,
|
312
|
-
:impact_type
|
327
|
+
:impact_type,
|
328
|
+
:health_score_threshold)
|
313
329
|
SENSITIVE = []
|
314
330
|
include Aws::Structure
|
315
331
|
end
|
@@ -391,6 +407,14 @@ module Aws::InternetMonitor
|
|
391
407
|
# that you want to monitor with this monitor.
|
392
408
|
# @return [Integer]
|
393
409
|
#
|
410
|
+
# @!attribute [rw] health_events_config
|
411
|
+
# The list of health event thresholds. A health event threshold
|
412
|
+
# percentage, for performance and availability, determines the level
|
413
|
+
# of impact at which Amazon CloudWatch Internet Monitor creates a
|
414
|
+
# health event when there's an internet issue that affects your
|
415
|
+
# application end users.
|
416
|
+
# @return [Types::HealthEventsConfig]
|
417
|
+
#
|
394
418
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetMonitorOutput AWS API Documentation
|
395
419
|
#
|
396
420
|
class GetMonitorOutput < Struct.new(
|
@@ -405,7 +429,8 @@ module Aws::InternetMonitor
|
|
405
429
|
:tags,
|
406
430
|
:max_city_networks_to_monitor,
|
407
431
|
:internet_measurements_log_delivery,
|
408
|
-
:traffic_percentage_to_monitor
|
432
|
+
:traffic_percentage_to_monitor,
|
433
|
+
:health_events_config)
|
409
434
|
SENSITIVE = []
|
410
435
|
include Aws::Structure
|
411
436
|
end
|
@@ -456,6 +481,12 @@ module Aws::InternetMonitor
|
|
456
481
|
# The type of impairment for a health event.
|
457
482
|
# @return [String]
|
458
483
|
#
|
484
|
+
# @!attribute [rw] health_score_threshold
|
485
|
+
# The value of the threshold percentage for performance or
|
486
|
+
# availability that was configured when Amazon CloudWatch Internet
|
487
|
+
# Monitor created the health event.
|
488
|
+
# @return [Float]
|
489
|
+
#
|
459
490
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/HealthEvent AWS API Documentation
|
460
491
|
#
|
461
492
|
class HealthEvent < Struct.new(
|
@@ -468,7 +499,32 @@ module Aws::InternetMonitor
|
|
468
499
|
:impacted_locations,
|
469
500
|
:status,
|
470
501
|
:percent_of_total_traffic_impacted,
|
471
|
-
:impact_type
|
502
|
+
:impact_type,
|
503
|
+
:health_score_threshold)
|
504
|
+
SENSITIVE = []
|
505
|
+
include Aws::Structure
|
506
|
+
end
|
507
|
+
|
508
|
+
# A complex type for the configuration. Defines the health event
|
509
|
+
# threshold percentages, for performance score and availability score.
|
510
|
+
# Amazon CloudWatch Internet Monitor creates a health event when
|
511
|
+
# there's an internet issue that affects your application end users
|
512
|
+
# where a health score percentage is at or below a set threshold. If you
|
513
|
+
# don't set a health event threshold, the default value is 95%.
|
514
|
+
#
|
515
|
+
# @!attribute [rw] availability_score_threshold
|
516
|
+
# The health event threshold percentage set for availability scores.
|
517
|
+
# @return [Float]
|
518
|
+
#
|
519
|
+
# @!attribute [rw] performance_score_threshold
|
520
|
+
# The health event threshold percentage set for performance scores.
|
521
|
+
# @return [Float]
|
522
|
+
#
|
523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/HealthEventsConfig AWS API Documentation
|
524
|
+
#
|
525
|
+
class HealthEventsConfig < Struct.new(
|
526
|
+
:availability_score_threshold,
|
527
|
+
:performance_score_threshold)
|
472
528
|
SENSITIVE = []
|
473
529
|
include Aws::Structure
|
474
530
|
end
|
@@ -1206,6 +1262,13 @@ module Aws::InternetMonitor
|
|
1206
1262
|
# that you want to monitor with this monitor.
|
1207
1263
|
# @return [Integer]
|
1208
1264
|
#
|
1265
|
+
# @!attribute [rw] health_events_config
|
1266
|
+
# The list of health event thresholds. A health event threshold
|
1267
|
+
# percentage, for performance and availability, determines when
|
1268
|
+
# Internet Monitor creates a health event when there's an internet
|
1269
|
+
# issue that affects your application end users.
|
1270
|
+
# @return [Types::HealthEventsConfig]
|
1271
|
+
#
|
1209
1272
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/UpdateMonitorInput AWS API Documentation
|
1210
1273
|
#
|
1211
1274
|
class UpdateMonitorInput < Struct.new(
|
@@ -1216,7 +1279,8 @@ module Aws::InternetMonitor
|
|
1216
1279
|
:client_token,
|
1217
1280
|
:max_city_networks_to_monitor,
|
1218
1281
|
:internet_measurements_log_delivery,
|
1219
|
-
:traffic_percentage_to_monitor
|
1282
|
+
:traffic_percentage_to_monitor,
|
1283
|
+
:health_events_config)
|
1220
1284
|
SENSITIVE = []
|
1221
1285
|
include Aws::Structure
|
1222
1286
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-internetmonitor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06
|
11
|
+
date: 2023-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.177.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.177.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|