aws-sdk-internetmonitor 1.14.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-internetmonitor/client.rb +34 -4
- data/lib/aws-sdk-internetmonitor/client_api.rb +11 -0
- data/lib/aws-sdk-internetmonitor/types.rb +47 -10
- data/lib/aws-sdk-internetmonitor.rb +1 -1
- data/sig/client.rbs +10 -5
- data/sig/types.rbs +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fcb87fd29d2002c26e39668cd7d6e2e21ace29eb7ee412d1665a3868c0e5ee9
|
4
|
+
data.tar.gz: 59f9b516780658967c17e1f813f98ae70eb17a4d0058a4e14e58cfbceb1a10f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9644928eb11e1c0c9c8361d3fa42e2ad15dd5c164b42b1cc7aa329278f9f47b3c6332bebffef5a72fc95d91e9de4a37c0dfc652f3bd09f91e5eee20b10700a7e
|
7
|
+
data.tar.gz: 1ffad2d0d60a00bfb8477c6ef69f9393f091b41bace5065ba077977ca594a1074fdb100345360847c361fab9b36bd2eff534f9e772c7bf9366be8abfd77a0a9a
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2024-03-29)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support to allow customers to track cross account monitors through ListMonitor, GetMonitor, ListHealthEvents, GetHealthEvent, StartQuery APIs.
|
8
|
+
|
9
|
+
1.15.0 (2024-02-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds IPv4 prefixes to health events
|
13
|
+
|
4
14
|
1.14.0 (2024-01-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -587,6 +587,9 @@ module Aws::InternetMonitor
|
|
587
587
|
# `EventID` contains the forward slash (“/”) character, you must
|
588
588
|
# URL-encode the `EventID` field in the request URL.
|
589
589
|
#
|
590
|
+
# @option params [String] :linked_account_id
|
591
|
+
# TBD
|
592
|
+
#
|
590
593
|
# @return [Types::GetHealthEventOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
591
594
|
#
|
592
595
|
# * {Types::GetHealthEventOutput#event_arn #event_arn} => String
|
@@ -606,6 +609,7 @@ module Aws::InternetMonitor
|
|
606
609
|
# resp = client.get_health_event({
|
607
610
|
# monitor_name: "ResourceName", # required
|
608
611
|
# event_id: "HealthEventName", # required
|
612
|
+
# linked_account_id: "AccountId",
|
609
613
|
# })
|
610
614
|
#
|
611
615
|
# @example Response structure
|
@@ -645,6 +649,8 @@ module Aws::InternetMonitor
|
|
645
649
|
# resp.impacted_locations[0].internet_health.performance.round_trip_time.p50 #=> Float
|
646
650
|
# resp.impacted_locations[0].internet_health.performance.round_trip_time.p90 #=> Float
|
647
651
|
# resp.impacted_locations[0].internet_health.performance.round_trip_time.p95 #=> Float
|
652
|
+
# resp.impacted_locations[0].ipv_4_prefixes #=> Array
|
653
|
+
# resp.impacted_locations[0].ipv_4_prefixes[0] #=> String
|
648
654
|
# resp.status #=> String, one of "ACTIVE", "RESOLVED"
|
649
655
|
# resp.percent_of_total_traffic_impacted #=> Float
|
650
656
|
# resp.impact_type #=> String, one of "AVAILABILITY", "PERFORMANCE", "LOCAL_AVAILABILITY", "LOCAL_PERFORMANCE"
|
@@ -667,6 +673,9 @@ module Aws::InternetMonitor
|
|
667
673
|
# @option params [required, String] :monitor_name
|
668
674
|
# The name of the monitor.
|
669
675
|
#
|
676
|
+
# @option params [String] :linked_account_id
|
677
|
+
# TBD
|
678
|
+
#
|
670
679
|
# @return [Types::GetMonitorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
671
680
|
#
|
672
681
|
# * {Types::GetMonitorOutput#monitor_name #monitor_name} => String
|
@@ -687,6 +696,7 @@ module Aws::InternetMonitor
|
|
687
696
|
#
|
688
697
|
# resp = client.get_monitor({
|
689
698
|
# monitor_name: "ResourceName", # required
|
699
|
+
# linked_account_id: "AccountId",
|
690
700
|
# })
|
691
701
|
#
|
692
702
|
# @example Response structure
|
@@ -863,6 +873,9 @@ module Aws::InternetMonitor
|
|
863
873
|
# @option params [String] :event_status
|
864
874
|
# The status of a health event.
|
865
875
|
#
|
876
|
+
# @option params [String] :linked_account_id
|
877
|
+
# TBD
|
878
|
+
#
|
866
879
|
# @return [Types::ListHealthEventsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
867
880
|
#
|
868
881
|
# * {Types::ListHealthEventsOutput#health_events #health_events} => Array<Types::HealthEvent>
|
@@ -879,6 +892,7 @@ module Aws::InternetMonitor
|
|
879
892
|
# next_token: "String",
|
880
893
|
# max_results: 1,
|
881
894
|
# event_status: "ACTIVE", # accepts ACTIVE, RESOLVED
|
895
|
+
# linked_account_id: "AccountId",
|
882
896
|
# })
|
883
897
|
#
|
884
898
|
# @example Response structure
|
@@ -919,6 +933,8 @@ module Aws::InternetMonitor
|
|
919
933
|
# resp.health_events[0].impacted_locations[0].internet_health.performance.round_trip_time.p50 #=> Float
|
920
934
|
# resp.health_events[0].impacted_locations[0].internet_health.performance.round_trip_time.p90 #=> Float
|
921
935
|
# resp.health_events[0].impacted_locations[0].internet_health.performance.round_trip_time.p95 #=> Float
|
936
|
+
# resp.health_events[0].impacted_locations[0].ipv_4_prefixes #=> Array
|
937
|
+
# resp.health_events[0].impacted_locations[0].ipv_4_prefixes[0] #=> String
|
922
938
|
# resp.health_events[0].status #=> String, one of "ACTIVE", "RESOLVED"
|
923
939
|
# resp.health_events[0].percent_of_total_traffic_impacted #=> Float
|
924
940
|
# resp.health_events[0].impact_type #=> String, one of "AVAILABILITY", "PERFORMANCE", "LOCAL_AVAILABILITY", "LOCAL_PERFORMANCE"
|
@@ -955,6 +971,9 @@ module Aws::InternetMonitor
|
|
955
971
|
#
|
956
972
|
# [1]: https://docs.aws.amazon.com/internet-monitor/latest/api/API_Monitor.html
|
957
973
|
#
|
974
|
+
# @option params [Boolean] :include_linked_accounts
|
975
|
+
# TBD
|
976
|
+
#
|
958
977
|
# @return [Types::ListMonitorsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
959
978
|
#
|
960
979
|
# * {Types::ListMonitorsOutput#monitors #monitors} => Array<Types::Monitor>
|
@@ -968,6 +987,7 @@ module Aws::InternetMonitor
|
|
968
987
|
# next_token: "String",
|
969
988
|
# max_results: 1,
|
970
989
|
# monitor_status: "String",
|
990
|
+
# include_linked_accounts: false,
|
971
991
|
# })
|
972
992
|
#
|
973
993
|
# @example Response structure
|
@@ -1047,11 +1067,17 @@ module Aws::InternetMonitor
|
|
1047
1067
|
# The type of query to run. The following are the three types of queries
|
1048
1068
|
# that you can run using the Internet Monitor query interface:
|
1049
1069
|
#
|
1050
|
-
# * `MEASUREMENTS`:
|
1070
|
+
# * `MEASUREMENTS`: Provides availability score, performance score,
|
1071
|
+
# total traffic, and round-trip times, at 5 minute intervals.
|
1051
1072
|
#
|
1052
|
-
# * `TOP_LOCATIONS`:
|
1073
|
+
# * `TOP_LOCATIONS`: Provides availability score, performance score,
|
1074
|
+
# total traffic, and time to first byte (TTFB) information, for the
|
1075
|
+
# top location and ASN combinations that you're monitoring, by
|
1076
|
+
# traffic volume.
|
1053
1077
|
#
|
1054
|
-
# * `TOP_LOCATION_DETAILS`:
|
1078
|
+
# * `TOP_LOCATION_DETAILS`: Provides TTFB for Amazon CloudFront, your
|
1079
|
+
# current configuration, and the best performing EC2 configuration, at
|
1080
|
+
# 1 hour intervals.
|
1055
1081
|
#
|
1056
1082
|
# For lists of the fields returned with each query type and more
|
1057
1083
|
# information about how each type of query is performed, see [ Using the
|
@@ -1077,6 +1103,9 @@ module Aws::InternetMonitor
|
|
1077
1103
|
#
|
1078
1104
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html
|
1079
1105
|
#
|
1106
|
+
# @option params [String] :linked_account_id
|
1107
|
+
# TBD
|
1108
|
+
#
|
1080
1109
|
# @return [Types::StartQueryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1081
1110
|
#
|
1082
1111
|
# * {Types::StartQueryOutput#query_id #query_id} => String
|
@@ -1095,6 +1124,7 @@ module Aws::InternetMonitor
|
|
1095
1124
|
# values: ["String"],
|
1096
1125
|
# },
|
1097
1126
|
# ],
|
1127
|
+
# linked_account_id: "AccountId",
|
1098
1128
|
# })
|
1099
1129
|
#
|
1100
1130
|
# @example Response structure
|
@@ -1352,7 +1382,7 @@ module Aws::InternetMonitor
|
|
1352
1382
|
params: params,
|
1353
1383
|
config: config)
|
1354
1384
|
context[:gem_name] = 'aws-sdk-internetmonitor'
|
1355
|
-
context[:gem_version] = '1.
|
1385
|
+
context[:gem_version] = '1.16.0'
|
1356
1386
|
Seahorse::Client::Request.new(handlers, context)
|
1357
1387
|
end
|
1358
1388
|
|
@@ -14,9 +14,11 @@ module Aws::InternetMonitor
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AccountId = Shapes::StringShape.new(name: 'AccountId')
|
17
18
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
18
19
|
AvailabilityMeasurement = Shapes::StructureShape.new(name: 'AvailabilityMeasurement')
|
19
20
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
21
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
20
22
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
21
23
|
CreateMonitorInput = Shapes::StructureShape.new(name: 'CreateMonitorInput')
|
22
24
|
CreateMonitorOutput = Shapes::StructureShape.new(name: 'CreateMonitorOutput')
|
@@ -46,6 +48,7 @@ module Aws::InternetMonitor
|
|
46
48
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
47
49
|
InternetHealth = Shapes::StructureShape.new(name: 'InternetHealth')
|
48
50
|
InternetMeasurementsLogDelivery = Shapes::StructureShape.new(name: 'InternetMeasurementsLogDelivery')
|
51
|
+
Ipv4PrefixList = Shapes::ListShape.new(name: 'Ipv4PrefixList')
|
49
52
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
50
53
|
ListHealthEventsInput = Shapes::StructureShape.new(name: 'ListHealthEventsInput')
|
51
54
|
ListHealthEventsOutput = Shapes::StructureShape.new(name: 'ListHealthEventsOutput')
|
@@ -150,6 +153,7 @@ module Aws::InternetMonitor
|
|
150
153
|
|
151
154
|
GetHealthEventInput.add_member(:monitor_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MonitorName"))
|
152
155
|
GetHealthEventInput.add_member(:event_id, Shapes::ShapeRef.new(shape: HealthEventName, required: true, location: "uri", location_name: "EventId"))
|
156
|
+
GetHealthEventInput.add_member(:linked_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "LinkedAccountId"))
|
153
157
|
GetHealthEventInput.struct_class = Types::GetHealthEventInput
|
154
158
|
|
155
159
|
GetHealthEventOutput.add_member(:event_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventArn"))
|
@@ -166,6 +170,7 @@ module Aws::InternetMonitor
|
|
166
170
|
GetHealthEventOutput.struct_class = Types::GetHealthEventOutput
|
167
171
|
|
168
172
|
GetMonitorInput.add_member(:monitor_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MonitorName"))
|
173
|
+
GetMonitorInput.add_member(:linked_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "LinkedAccountId"))
|
169
174
|
GetMonitorInput.struct_class = Types::GetMonitorInput
|
170
175
|
|
171
176
|
GetMonitorOutput.add_member(:monitor_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "MonitorName"))
|
@@ -236,6 +241,7 @@ module Aws::InternetMonitor
|
|
236
241
|
ImpactedLocation.add_member(:status, Shapes::ShapeRef.new(shape: HealthEventStatus, required: true, location_name: "Status"))
|
237
242
|
ImpactedLocation.add_member(:caused_by, Shapes::ShapeRef.new(shape: NetworkImpairment, location_name: "CausedBy"))
|
238
243
|
ImpactedLocation.add_member(:internet_health, Shapes::ShapeRef.new(shape: InternetHealth, location_name: "InternetHealth"))
|
244
|
+
ImpactedLocation.add_member(:ipv_4_prefixes, Shapes::ShapeRef.new(shape: Ipv4PrefixList, location_name: "Ipv4Prefixes"))
|
239
245
|
ImpactedLocation.struct_class = Types::ImpactedLocation
|
240
246
|
|
241
247
|
ImpactedLocationsList.member = Shapes::ShapeRef.new(shape: ImpactedLocation)
|
@@ -253,6 +259,8 @@ module Aws::InternetMonitor
|
|
253
259
|
InternetMeasurementsLogDelivery.add_member(:s3_config, Shapes::ShapeRef.new(shape: S3Config, location_name: "S3Config"))
|
254
260
|
InternetMeasurementsLogDelivery.struct_class = Types::InternetMeasurementsLogDelivery
|
255
261
|
|
262
|
+
Ipv4PrefixList.member = Shapes::ShapeRef.new(shape: String)
|
263
|
+
|
256
264
|
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
257
265
|
LimitExceededException.struct_class = Types::LimitExceededException
|
258
266
|
|
@@ -262,6 +270,7 @@ module Aws::InternetMonitor
|
|
262
270
|
ListHealthEventsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "NextToken"))
|
263
271
|
ListHealthEventsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
264
272
|
ListHealthEventsInput.add_member(:event_status, Shapes::ShapeRef.new(shape: HealthEventStatus, location: "querystring", location_name: "EventStatus"))
|
273
|
+
ListHealthEventsInput.add_member(:linked_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "LinkedAccountId"))
|
265
274
|
ListHealthEventsInput.struct_class = Types::ListHealthEventsInput
|
266
275
|
|
267
276
|
ListHealthEventsOutput.add_member(:health_events, Shapes::ShapeRef.new(shape: HealthEventList, required: true, location_name: "HealthEvents"))
|
@@ -271,6 +280,7 @@ module Aws::InternetMonitor
|
|
271
280
|
ListMonitorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "NextToken"))
|
272
281
|
ListMonitorsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
273
282
|
ListMonitorsInput.add_member(:monitor_status, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "MonitorStatus"))
|
283
|
+
ListMonitorsInput.add_member(:include_linked_accounts, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "IncludeLinkedAccounts"))
|
274
284
|
ListMonitorsInput.struct_class = Types::ListMonitorsInput
|
275
285
|
|
276
286
|
ListMonitorsOutput.add_member(:monitors, Shapes::ShapeRef.new(shape: MonitorList, required: true, location_name: "Monitors"))
|
@@ -346,6 +356,7 @@ module Aws::InternetMonitor
|
|
346
356
|
StartQueryInput.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "EndTime"))
|
347
357
|
StartQueryInput.add_member(:query_type, Shapes::ShapeRef.new(shape: QueryType, required: true, location_name: "QueryType"))
|
348
358
|
StartQueryInput.add_member(:filter_parameters, Shapes::ShapeRef.new(shape: FilterParameters, location_name: "FilterParameters"))
|
359
|
+
StartQueryInput.add_member(:linked_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "LinkedAccountId"))
|
349
360
|
StartQueryInput.struct_class = Types::StartQueryInput
|
350
361
|
|
351
362
|
StartQueryOutput.add_member(:query_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueryId"))
|
@@ -337,11 +337,16 @@ module Aws::InternetMonitor
|
|
337
337
|
# URL-encode the `EventID` field in the request URL.
|
338
338
|
# @return [String]
|
339
339
|
#
|
340
|
+
# @!attribute [rw] linked_account_id
|
341
|
+
# TBD
|
342
|
+
# @return [String]
|
343
|
+
#
|
340
344
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetHealthEventInput AWS API Documentation
|
341
345
|
#
|
342
346
|
class GetHealthEventInput < Struct.new(
|
343
347
|
:monitor_name,
|
344
|
-
:event_id
|
348
|
+
:event_id,
|
349
|
+
:linked_account_id)
|
345
350
|
SENSITIVE = []
|
346
351
|
include Aws::Structure
|
347
352
|
end
|
@@ -421,10 +426,15 @@ module Aws::InternetMonitor
|
|
421
426
|
# The name of the monitor.
|
422
427
|
# @return [String]
|
423
428
|
#
|
429
|
+
# @!attribute [rw] linked_account_id
|
430
|
+
# TBD
|
431
|
+
# @return [String]
|
432
|
+
#
|
424
433
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetMonitorInput AWS API Documentation
|
425
434
|
#
|
426
435
|
class GetMonitorInput < Struct.new(
|
427
|
-
:monitor_name
|
436
|
+
:monitor_name,
|
437
|
+
:linked_account_id)
|
428
438
|
SENSITIVE = []
|
429
439
|
include Aws::Structure
|
430
440
|
end
|
@@ -840,6 +850,11 @@ module Aws::InternetMonitor
|
|
840
850
|
# The calculated health at a specific location.
|
841
851
|
# @return [Types::InternetHealth]
|
842
852
|
#
|
853
|
+
# @!attribute [rw] ipv_4_prefixes
|
854
|
+
# The IPv4 prefixes at the client location that was impacted by the
|
855
|
+
# health event.
|
856
|
+
# @return [Array<String>]
|
857
|
+
#
|
843
858
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ImpactedLocation AWS API Documentation
|
844
859
|
#
|
845
860
|
class ImpactedLocation < Struct.new(
|
@@ -856,7 +871,8 @@ module Aws::InternetMonitor
|
|
856
871
|
:service_location,
|
857
872
|
:status,
|
858
873
|
:caused_by,
|
859
|
-
:internet_health
|
874
|
+
:internet_health,
|
875
|
+
:ipv_4_prefixes)
|
860
876
|
SENSITIVE = []
|
861
877
|
include Aws::Structure
|
862
878
|
end
|
@@ -1000,6 +1016,10 @@ module Aws::InternetMonitor
|
|
1000
1016
|
# The status of a health event.
|
1001
1017
|
# @return [String]
|
1002
1018
|
#
|
1019
|
+
# @!attribute [rw] linked_account_id
|
1020
|
+
# TBD
|
1021
|
+
# @return [String]
|
1022
|
+
#
|
1003
1023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListHealthEventsInput AWS API Documentation
|
1004
1024
|
#
|
1005
1025
|
class ListHealthEventsInput < Struct.new(
|
@@ -1008,7 +1028,8 @@ module Aws::InternetMonitor
|
|
1008
1028
|
:end_time,
|
1009
1029
|
:next_token,
|
1010
1030
|
:max_results,
|
1011
|
-
:event_status
|
1031
|
+
:event_status,
|
1032
|
+
:linked_account_id)
|
1012
1033
|
SENSITIVE = []
|
1013
1034
|
include Aws::Structure
|
1014
1035
|
end
|
@@ -1052,12 +1073,17 @@ module Aws::InternetMonitor
|
|
1052
1073
|
# [1]: https://docs.aws.amazon.com/internet-monitor/latest/api/API_Monitor.html
|
1053
1074
|
# @return [String]
|
1054
1075
|
#
|
1076
|
+
# @!attribute [rw] include_linked_accounts
|
1077
|
+
# TBD
|
1078
|
+
# @return [Boolean]
|
1079
|
+
#
|
1055
1080
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListMonitorsInput AWS API Documentation
|
1056
1081
|
#
|
1057
1082
|
class ListMonitorsInput < Struct.new(
|
1058
1083
|
:next_token,
|
1059
1084
|
:max_results,
|
1060
|
-
:monitor_status
|
1085
|
+
:monitor_status,
|
1086
|
+
:include_linked_accounts)
|
1061
1087
|
SENSITIVE = []
|
1062
1088
|
include Aws::Structure
|
1063
1089
|
end
|
@@ -1143,7 +1169,7 @@ module Aws::InternetMonitor
|
|
1143
1169
|
# event when a threshold is crossed for a local health score.
|
1144
1170
|
#
|
1145
1171
|
# If you don't set a minimum traffic impact threshold, the default
|
1146
|
-
# value is 0.
|
1172
|
+
# value is 0.1%.
|
1147
1173
|
# @return [Float]
|
1148
1174
|
#
|
1149
1175
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/LocalHealthEventsConfig AWS API Documentation
|
@@ -1463,11 +1489,17 @@ module Aws::InternetMonitor
|
|
1463
1489
|
# The type of query to run. The following are the three types of
|
1464
1490
|
# queries that you can run using the Internet Monitor query interface:
|
1465
1491
|
#
|
1466
|
-
# * `MEASUREMENTS`:
|
1492
|
+
# * `MEASUREMENTS`: Provides availability score, performance score,
|
1493
|
+
# total traffic, and round-trip times, at 5 minute intervals.
|
1467
1494
|
#
|
1468
|
-
# * `TOP_LOCATIONS`:
|
1495
|
+
# * `TOP_LOCATIONS`: Provides availability score, performance score,
|
1496
|
+
# total traffic, and time to first byte (TTFB) information, for the
|
1497
|
+
# top location and ASN combinations that you're monitoring, by
|
1498
|
+
# traffic volume.
|
1469
1499
|
#
|
1470
|
-
# * `TOP_LOCATION_DETAILS`:
|
1500
|
+
# * `TOP_LOCATION_DETAILS`: Provides TTFB for Amazon CloudFront, your
|
1501
|
+
# current configuration, and the best performing EC2 configuration,
|
1502
|
+
# at 1 hour intervals.
|
1471
1503
|
#
|
1472
1504
|
# For lists of the fields returned with each query type and more
|
1473
1505
|
# information about how each type of query is performed, see [ Using
|
@@ -1495,6 +1527,10 @@ module Aws::InternetMonitor
|
|
1495
1527
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html
|
1496
1528
|
# @return [Array<Types::FilterParameter>]
|
1497
1529
|
#
|
1530
|
+
# @!attribute [rw] linked_account_id
|
1531
|
+
# TBD
|
1532
|
+
# @return [String]
|
1533
|
+
#
|
1498
1534
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/StartQueryInput AWS API Documentation
|
1499
1535
|
#
|
1500
1536
|
class StartQueryInput < Struct.new(
|
@@ -1502,7 +1538,8 @@ module Aws::InternetMonitor
|
|
1502
1538
|
:start_time,
|
1503
1539
|
:end_time,
|
1504
1540
|
:query_type,
|
1505
|
-
:filter_parameters
|
1541
|
+
:filter_parameters,
|
1542
|
+
:linked_account_id)
|
1506
1543
|
SENSITIVE = []
|
1507
1544
|
include Aws::Structure
|
1508
1545
|
end
|
data/sig/client.rbs
CHANGED
@@ -135,7 +135,8 @@ module Aws
|
|
135
135
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/InternetMonitor/Client.html#get_health_event-instance_method
|
136
136
|
def get_health_event: (
|
137
137
|
monitor_name: ::String,
|
138
|
-
event_id: ::String
|
138
|
+
event_id: ::String,
|
139
|
+
?linked_account_id: ::String
|
139
140
|
) -> _GetHealthEventResponseSuccess
|
140
141
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetHealthEventResponseSuccess
|
141
142
|
|
@@ -157,7 +158,8 @@ module Aws
|
|
157
158
|
end
|
158
159
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/InternetMonitor/Client.html#get_monitor-instance_method
|
159
160
|
def get_monitor: (
|
160
|
-
monitor_name: ::String
|
161
|
+
monitor_name: ::String,
|
162
|
+
?linked_account_id: ::String
|
161
163
|
) -> _GetMonitorResponseSuccess
|
162
164
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMonitorResponseSuccess
|
163
165
|
|
@@ -198,7 +200,8 @@ module Aws
|
|
198
200
|
?end_time: ::Time,
|
199
201
|
?next_token: ::String,
|
200
202
|
?max_results: ::Integer,
|
201
|
-
?event_status: ("ACTIVE" | "RESOLVED")
|
203
|
+
?event_status: ("ACTIVE" | "RESOLVED"),
|
204
|
+
?linked_account_id: ::String
|
202
205
|
) -> _ListHealthEventsResponseSuccess
|
203
206
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListHealthEventsResponseSuccess
|
204
207
|
|
@@ -211,7 +214,8 @@ module Aws
|
|
211
214
|
def list_monitors: (
|
212
215
|
?next_token: ::String,
|
213
216
|
?max_results: ::Integer,
|
214
|
-
?monitor_status: ::String
|
217
|
+
?monitor_status: ::String,
|
218
|
+
?include_linked_accounts: bool
|
215
219
|
) -> _ListMonitorsResponseSuccess
|
216
220
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMonitorsResponseSuccess
|
217
221
|
|
@@ -241,7 +245,8 @@ module Aws
|
|
241
245
|
operator: ("EQUALS" | "NOT_EQUALS")?,
|
242
246
|
values: Array[::String]?
|
243
247
|
},
|
244
|
-
]
|
248
|
+
],
|
249
|
+
?linked_account_id: ::String
|
245
250
|
) -> _StartQueryResponseSuccess
|
246
251
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartQueryResponseSuccess
|
247
252
|
|
data/sig/types.rbs
CHANGED
@@ -66,6 +66,7 @@ module Aws::InternetMonitor
|
|
66
66
|
class GetHealthEventInput
|
67
67
|
attr_accessor monitor_name: ::String
|
68
68
|
attr_accessor event_id: ::String
|
69
|
+
attr_accessor linked_account_id: ::String
|
69
70
|
SENSITIVE: []
|
70
71
|
end
|
71
72
|
|
@@ -86,6 +87,7 @@ module Aws::InternetMonitor
|
|
86
87
|
|
87
88
|
class GetMonitorInput
|
88
89
|
attr_accessor monitor_name: ::String
|
90
|
+
attr_accessor linked_account_id: ::String
|
89
91
|
SENSITIVE: []
|
90
92
|
end
|
91
93
|
|
@@ -170,6 +172,7 @@ module Aws::InternetMonitor
|
|
170
172
|
attr_accessor status: ("ACTIVE" | "RESOLVED")
|
171
173
|
attr_accessor caused_by: Types::NetworkImpairment
|
172
174
|
attr_accessor internet_health: Types::InternetHealth
|
175
|
+
attr_accessor ipv_4_prefixes: ::Array[::String]
|
173
176
|
SENSITIVE: []
|
174
177
|
end
|
175
178
|
|
@@ -206,6 +209,7 @@ module Aws::InternetMonitor
|
|
206
209
|
attr_accessor next_token: ::String
|
207
210
|
attr_accessor max_results: ::Integer
|
208
211
|
attr_accessor event_status: ("ACTIVE" | "RESOLVED")
|
212
|
+
attr_accessor linked_account_id: ::String
|
209
213
|
SENSITIVE: []
|
210
214
|
end
|
211
215
|
|
@@ -219,6 +223,7 @@ module Aws::InternetMonitor
|
|
219
223
|
attr_accessor next_token: ::String
|
220
224
|
attr_accessor max_results: ::Integer
|
221
225
|
attr_accessor monitor_status: ::String
|
226
|
+
attr_accessor include_linked_accounts: bool
|
222
227
|
SENSITIVE: []
|
223
228
|
end
|
224
229
|
|
@@ -310,6 +315,7 @@ module Aws::InternetMonitor
|
|
310
315
|
attr_accessor end_time: ::Time
|
311
316
|
attr_accessor query_type: ("MEASUREMENTS" | "TOP_LOCATIONS" | "TOP_LOCATION_DETAILS")
|
312
317
|
attr_accessor filter_parameters: ::Array[Types::FilterParameter]
|
318
|
+
attr_accessor linked_account_id: ::String
|
313
319
|
SENSITIVE: []
|
314
320
|
end
|
315
321
|
|
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.16.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: 2024-
|
11
|
+
date: 2024-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|