aws-sdk-internetmonitor 1.15.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-internetmonitor/client.rb +21 -1
- data/lib/aws-sdk-internetmonitor/client_api.rb +7 -0
- data/lib/aws-sdk-internetmonitor/types.rb +30 -5
- data/lib/aws-sdk-internetmonitor.rb +1 -1
- data/sig/client.rbs +10 -5
- data/sig/types.rbs +5 -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,11 @@
|
|
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
|
+
|
4
9
|
1.15.0 (2024-02-22)
|
5
10
|
------------------
|
6
11
|
|
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
|
@@ -669,6 +673,9 @@ module Aws::InternetMonitor
|
|
669
673
|
# @option params [required, String] :monitor_name
|
670
674
|
# The name of the monitor.
|
671
675
|
#
|
676
|
+
# @option params [String] :linked_account_id
|
677
|
+
# TBD
|
678
|
+
#
|
672
679
|
# @return [Types::GetMonitorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
673
680
|
#
|
674
681
|
# * {Types::GetMonitorOutput#monitor_name #monitor_name} => String
|
@@ -689,6 +696,7 @@ module Aws::InternetMonitor
|
|
689
696
|
#
|
690
697
|
# resp = client.get_monitor({
|
691
698
|
# monitor_name: "ResourceName", # required
|
699
|
+
# linked_account_id: "AccountId",
|
692
700
|
# })
|
693
701
|
#
|
694
702
|
# @example Response structure
|
@@ -865,6 +873,9 @@ module Aws::InternetMonitor
|
|
865
873
|
# @option params [String] :event_status
|
866
874
|
# The status of a health event.
|
867
875
|
#
|
876
|
+
# @option params [String] :linked_account_id
|
877
|
+
# TBD
|
878
|
+
#
|
868
879
|
# @return [Types::ListHealthEventsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
869
880
|
#
|
870
881
|
# * {Types::ListHealthEventsOutput#health_events #health_events} => Array<Types::HealthEvent>
|
@@ -881,6 +892,7 @@ module Aws::InternetMonitor
|
|
881
892
|
# next_token: "String",
|
882
893
|
# max_results: 1,
|
883
894
|
# event_status: "ACTIVE", # accepts ACTIVE, RESOLVED
|
895
|
+
# linked_account_id: "AccountId",
|
884
896
|
# })
|
885
897
|
#
|
886
898
|
# @example Response structure
|
@@ -959,6 +971,9 @@ module Aws::InternetMonitor
|
|
959
971
|
#
|
960
972
|
# [1]: https://docs.aws.amazon.com/internet-monitor/latest/api/API_Monitor.html
|
961
973
|
#
|
974
|
+
# @option params [Boolean] :include_linked_accounts
|
975
|
+
# TBD
|
976
|
+
#
|
962
977
|
# @return [Types::ListMonitorsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
963
978
|
#
|
964
979
|
# * {Types::ListMonitorsOutput#monitors #monitors} => Array<Types::Monitor>
|
@@ -972,6 +987,7 @@ module Aws::InternetMonitor
|
|
972
987
|
# next_token: "String",
|
973
988
|
# max_results: 1,
|
974
989
|
# monitor_status: "String",
|
990
|
+
# include_linked_accounts: false,
|
975
991
|
# })
|
976
992
|
#
|
977
993
|
# @example Response structure
|
@@ -1087,6 +1103,9 @@ module Aws::InternetMonitor
|
|
1087
1103
|
#
|
1088
1104
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html
|
1089
1105
|
#
|
1106
|
+
# @option params [String] :linked_account_id
|
1107
|
+
# TBD
|
1108
|
+
#
|
1090
1109
|
# @return [Types::StartQueryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1091
1110
|
#
|
1092
1111
|
# * {Types::StartQueryOutput#query_id #query_id} => String
|
@@ -1105,6 +1124,7 @@ module Aws::InternetMonitor
|
|
1105
1124
|
# values: ["String"],
|
1106
1125
|
# },
|
1107
1126
|
# ],
|
1127
|
+
# linked_account_id: "AccountId",
|
1108
1128
|
# })
|
1109
1129
|
#
|
1110
1130
|
# @example Response structure
|
@@ -1362,7 +1382,7 @@ module Aws::InternetMonitor
|
|
1362
1382
|
params: params,
|
1363
1383
|
config: config)
|
1364
1384
|
context[:gem_name] = 'aws-sdk-internetmonitor'
|
1365
|
-
context[:gem_version] = '1.
|
1385
|
+
context[:gem_version] = '1.16.0'
|
1366
1386
|
Seahorse::Client::Request.new(handlers, context)
|
1367
1387
|
end
|
1368
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')
|
@@ -151,6 +153,7 @@ module Aws::InternetMonitor
|
|
151
153
|
|
152
154
|
GetHealthEventInput.add_member(:monitor_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MonitorName"))
|
153
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"))
|
154
157
|
GetHealthEventInput.struct_class = Types::GetHealthEventInput
|
155
158
|
|
156
159
|
GetHealthEventOutput.add_member(:event_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventArn"))
|
@@ -167,6 +170,7 @@ module Aws::InternetMonitor
|
|
167
170
|
GetHealthEventOutput.struct_class = Types::GetHealthEventOutput
|
168
171
|
|
169
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"))
|
170
174
|
GetMonitorInput.struct_class = Types::GetMonitorInput
|
171
175
|
|
172
176
|
GetMonitorOutput.add_member(:monitor_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "MonitorName"))
|
@@ -266,6 +270,7 @@ module Aws::InternetMonitor
|
|
266
270
|
ListHealthEventsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "NextToken"))
|
267
271
|
ListHealthEventsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
268
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"))
|
269
274
|
ListHealthEventsInput.struct_class = Types::ListHealthEventsInput
|
270
275
|
|
271
276
|
ListHealthEventsOutput.add_member(:health_events, Shapes::ShapeRef.new(shape: HealthEventList, required: true, location_name: "HealthEvents"))
|
@@ -275,6 +280,7 @@ module Aws::InternetMonitor
|
|
275
280
|
ListMonitorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "NextToken"))
|
276
281
|
ListMonitorsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
277
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"))
|
278
284
|
ListMonitorsInput.struct_class = Types::ListMonitorsInput
|
279
285
|
|
280
286
|
ListMonitorsOutput.add_member(:monitors, Shapes::ShapeRef.new(shape: MonitorList, required: true, location_name: "Monitors"))
|
@@ -350,6 +356,7 @@ module Aws::InternetMonitor
|
|
350
356
|
StartQueryInput.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "EndTime"))
|
351
357
|
StartQueryInput.add_member(:query_type, Shapes::ShapeRef.new(shape: QueryType, required: true, location_name: "QueryType"))
|
352
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"))
|
353
360
|
StartQueryInput.struct_class = Types::StartQueryInput
|
354
361
|
|
355
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
|
@@ -1006,6 +1016,10 @@ module Aws::InternetMonitor
|
|
1006
1016
|
# The status of a health event.
|
1007
1017
|
# @return [String]
|
1008
1018
|
#
|
1019
|
+
# @!attribute [rw] linked_account_id
|
1020
|
+
# TBD
|
1021
|
+
# @return [String]
|
1022
|
+
#
|
1009
1023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListHealthEventsInput AWS API Documentation
|
1010
1024
|
#
|
1011
1025
|
class ListHealthEventsInput < Struct.new(
|
@@ -1014,7 +1028,8 @@ module Aws::InternetMonitor
|
|
1014
1028
|
:end_time,
|
1015
1029
|
:next_token,
|
1016
1030
|
:max_results,
|
1017
|
-
:event_status
|
1031
|
+
:event_status,
|
1032
|
+
:linked_account_id)
|
1018
1033
|
SENSITIVE = []
|
1019
1034
|
include Aws::Structure
|
1020
1035
|
end
|
@@ -1058,12 +1073,17 @@ module Aws::InternetMonitor
|
|
1058
1073
|
# [1]: https://docs.aws.amazon.com/internet-monitor/latest/api/API_Monitor.html
|
1059
1074
|
# @return [String]
|
1060
1075
|
#
|
1076
|
+
# @!attribute [rw] include_linked_accounts
|
1077
|
+
# TBD
|
1078
|
+
# @return [Boolean]
|
1079
|
+
#
|
1061
1080
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListMonitorsInput AWS API Documentation
|
1062
1081
|
#
|
1063
1082
|
class ListMonitorsInput < Struct.new(
|
1064
1083
|
:next_token,
|
1065
1084
|
:max_results,
|
1066
|
-
:monitor_status
|
1085
|
+
:monitor_status,
|
1086
|
+
:include_linked_accounts)
|
1067
1087
|
SENSITIVE = []
|
1068
1088
|
include Aws::Structure
|
1069
1089
|
end
|
@@ -1507,6 +1527,10 @@ module Aws::InternetMonitor
|
|
1507
1527
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html
|
1508
1528
|
# @return [Array<Types::FilterParameter>]
|
1509
1529
|
#
|
1530
|
+
# @!attribute [rw] linked_account_id
|
1531
|
+
# TBD
|
1532
|
+
# @return [String]
|
1533
|
+
#
|
1510
1534
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/StartQueryInput AWS API Documentation
|
1511
1535
|
#
|
1512
1536
|
class StartQueryInput < Struct.new(
|
@@ -1514,7 +1538,8 @@ module Aws::InternetMonitor
|
|
1514
1538
|
:start_time,
|
1515
1539
|
:end_time,
|
1516
1540
|
:query_type,
|
1517
|
-
:filter_parameters
|
1541
|
+
:filter_parameters,
|
1542
|
+
:linked_account_id)
|
1518
1543
|
SENSITIVE = []
|
1519
1544
|
include Aws::Structure
|
1520
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
|
|
@@ -207,6 +209,7 @@ module Aws::InternetMonitor
|
|
207
209
|
attr_accessor next_token: ::String
|
208
210
|
attr_accessor max_results: ::Integer
|
209
211
|
attr_accessor event_status: ("ACTIVE" | "RESOLVED")
|
212
|
+
attr_accessor linked_account_id: ::String
|
210
213
|
SENSITIVE: []
|
211
214
|
end
|
212
215
|
|
@@ -220,6 +223,7 @@ module Aws::InternetMonitor
|
|
220
223
|
attr_accessor next_token: ::String
|
221
224
|
attr_accessor max_results: ::Integer
|
222
225
|
attr_accessor monitor_status: ::String
|
226
|
+
attr_accessor include_linked_accounts: bool
|
223
227
|
SENSITIVE: []
|
224
228
|
end
|
225
229
|
|
@@ -311,6 +315,7 @@ module Aws::InternetMonitor
|
|
311
315
|
attr_accessor end_time: ::Time
|
312
316
|
attr_accessor query_type: ("MEASUREMENTS" | "TOP_LOCATIONS" | "TOP_LOCATION_DETAILS")
|
313
317
|
attr_accessor filter_parameters: ::Array[Types::FilterParameter]
|
318
|
+
attr_accessor linked_account_id: ::String
|
314
319
|
SENSITIVE: []
|
315
320
|
end
|
316
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
|