aws-sdk-internetmonitor 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47cf6b7c7e1123e95d0a9f47867184166af8e36037f66fb92a7e92b46961a537
4
- data.tar.gz: f5329251ab6935d22fec2676c5a6ecc0a8bbaa5551263722993ee5707b40e256
3
+ metadata.gz: 9bf00fe9dd1bbbfb8e5a765eb75deee232f006e64f8e51f3846eca3ecb223c85
4
+ data.tar.gz: 226b14a2a9c2b9153db58a2efe664d27fdba55bc072368374978fca8c96a2142
5
5
  SHA512:
6
- metadata.gz: 34d54817c7951af1fe738479d298ffc38d039dc5ecfbbef8651f92d852d92586f0047835a6a37721d7b06c8c0e5ecc039d9be02b6e4d4c140e79e1f4edd142f8
7
- data.tar.gz: 356c1e8dbf1274ea19bd9a1359835f0e8584dc5480da6fb80105164d54e1ba4f50ed6007ded82c22d2723840bf5ade1a17d07d6334c17b09622c7ce1e3811341
6
+ metadata.gz: 9ab2d63cb0ef5f132c843d4ba98015e25917b27bbc492b264031364e53529835ac60f48b0c2708706fb700d62937135c4e7aa976fb599d7a0f10bc12e2533480
7
+ data.tar.gz: 77cd6d222bc22919248411829da8a5933dc05b00f3b84f02ce4e7d1833b46a0095fdf00db8395926e8da29a3f0d7fb68cc2d9d8d5e379c089fc5d2cebcc845a1
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.5.0 (2023-06-28)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.4.0 (2023-06-15)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.0
1
+ 1.5.0
@@ -448,6 +448,13 @@ module Aws::InternetMonitor
448
448
  # The percentage of the internet-facing traffic for your application
449
449
  # that you want to monitor with this monitor.
450
450
  #
451
+ # @option params [Types::HealthEventsConfig] :health_events_config
452
+ # Defines the health event threshold percentages, for performance score
453
+ # and availability score. Internet Monitor creates a health event when
454
+ # there's an internet issue that affects your application end users
455
+ # where a health score percentage is at or below a set threshold. If you
456
+ # don't set a health event threshold, the default calue is 95%.
457
+ #
451
458
  # @return [Types::CreateMonitorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
452
459
  #
453
460
  # * {Types::CreateMonitorOutput#arn #arn} => String
@@ -471,6 +478,10 @@ module Aws::InternetMonitor
471
478
  # },
472
479
  # },
473
480
  # traffic_percentage_to_monitor: 1,
481
+ # health_events_config: {
482
+ # availability_score_threshold: 1.0,
483
+ # performance_score_threshold: 1.0,
484
+ # },
474
485
  # })
475
486
  #
476
487
  # @example Response structure
@@ -541,6 +552,7 @@ module Aws::InternetMonitor
541
552
  # * {Types::GetHealthEventOutput#status #status} => String
542
553
  # * {Types::GetHealthEventOutput#percent_of_total_traffic_impacted #percent_of_total_traffic_impacted} => Float
543
554
  # * {Types::GetHealthEventOutput#impact_type #impact_type} => String
555
+ # * {Types::GetHealthEventOutput#health_score_threshold #health_score_threshold} => Float
544
556
  #
545
557
  # @example Request syntax with placeholder values
546
558
  #
@@ -589,6 +601,7 @@ module Aws::InternetMonitor
589
601
  # resp.status #=> String, one of "ACTIVE", "RESOLVED"
590
602
  # resp.percent_of_total_traffic_impacted #=> Float
591
603
  # resp.impact_type #=> String, one of "AVAILABILITY", "PERFORMANCE"
604
+ # resp.health_score_threshold #=> Float
592
605
  #
593
606
  # @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetHealthEvent AWS API Documentation
594
607
  #
@@ -621,6 +634,7 @@ module Aws::InternetMonitor
621
634
  # * {Types::GetMonitorOutput#max_city_networks_to_monitor #max_city_networks_to_monitor} => Integer
622
635
  # * {Types::GetMonitorOutput#internet_measurements_log_delivery #internet_measurements_log_delivery} => Types::InternetMeasurementsLogDelivery
623
636
  # * {Types::GetMonitorOutput#traffic_percentage_to_monitor #traffic_percentage_to_monitor} => Integer
637
+ # * {Types::GetMonitorOutput#health_events_config #health_events_config} => Types::HealthEventsConfig
624
638
  #
625
639
  # @example Request syntax with placeholder values
626
640
  #
@@ -646,6 +660,8 @@ module Aws::InternetMonitor
646
660
  # resp.internet_measurements_log_delivery.s3_config.bucket_prefix #=> String
647
661
  # resp.internet_measurements_log_delivery.s3_config.log_delivery_status #=> String, one of "ENABLED", "DISABLED"
648
662
  # resp.traffic_percentage_to_monitor #=> Integer
663
+ # resp.health_events_config.availability_score_threshold #=> Float
664
+ # resp.health_events_config.performance_score_threshold #=> Float
649
665
  #
650
666
  # @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetMonitor AWS API Documentation
651
667
  #
@@ -746,6 +762,7 @@ module Aws::InternetMonitor
746
762
  # resp.health_events[0].status #=> String, one of "ACTIVE", "RESOLVED"
747
763
  # resp.health_events[0].percent_of_total_traffic_impacted #=> Float
748
764
  # resp.health_events[0].impact_type #=> String, one of "AVAILABILITY", "PERFORMANCE"
765
+ # resp.health_events[0].health_score_threshold #=> Float
749
766
  # resp.next_token #=> String
750
767
  #
751
768
  # @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListHealthEvents AWS API Documentation
@@ -966,6 +983,12 @@ module Aws::InternetMonitor
966
983
  # The percentage of the internet-facing traffic for your application
967
984
  # that you want to monitor with this monitor.
968
985
  #
986
+ # @option params [Types::HealthEventsConfig] :health_events_config
987
+ # The list of health event thresholds. A health event threshold
988
+ # percentage, for performance and availability, determines when Internet
989
+ # Monitor creates a health event when there's an internet issue that
990
+ # affects your application end users.
991
+ #
969
992
  # @return [Types::UpdateMonitorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
970
993
  #
971
994
  # * {Types::UpdateMonitorOutput#monitor_arn #monitor_arn} => String
@@ -988,6 +1011,10 @@ module Aws::InternetMonitor
988
1011
  # },
989
1012
  # },
990
1013
  # traffic_percentage_to_monitor: 1,
1014
+ # health_events_config: {
1015
+ # availability_score_threshold: 1.0,
1016
+ # performance_score_threshold: 1.0,
1017
+ # },
991
1018
  # })
992
1019
  #
993
1020
  # @example Response structure
@@ -1017,7 +1044,7 @@ module Aws::InternetMonitor
1017
1044
  params: params,
1018
1045
  config: config)
1019
1046
  context[:gem_name] = 'aws-sdk-internetmonitor'
1020
- context[:gem_version] = '1.4.0'
1047
+ context[:gem_version] = '1.5.0'
1021
1048
  Seahorse::Client::Request.new(handlers, context)
1022
1049
  end
1023
1050
 
@@ -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
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-internetmonitor/customizations'
53
53
  # @!group service
54
54
  module Aws::InternetMonitor
55
55
 
56
- GEM_VERSION = '1.4.0'
56
+ GEM_VERSION = '1.5.0'
57
57
 
58
58
  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.0
4
+ version: 1.5.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-15 00:00:00.000000000 Z
11
+ date: 2023-06-28 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.174.0
22
+ version: 3.176.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.174.0
32
+ version: 3.176.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement