aws-sdk-internetmonitor 1.15.0 → 1.17.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 +206 -3
- data/lib/aws-sdk-internetmonitor/client_api.rb +93 -0
- data/lib/aws-sdk-internetmonitor/endpoints.rb +28 -0
- data/lib/aws-sdk-internetmonitor/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-internetmonitor/types.rb +307 -11
- data/lib/aws-sdk-internetmonitor.rb +1 -1
- data/sig/client.rbs +42 -5
- data/sig/types.rbs +60 -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: 8f226f9fb2baa5e7b4e2b6115e14e3b39b2a26107899ef00081812c2153d4a40
|
4
|
+
data.tar.gz: 4fe0ab3f388b086cf0406b602dec0589c7233e61eae12f00868b4d470abf935e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a727a395ccb24f6c7c7dcb1a83514aabdb8175f6d9da1e68c6f7f5ca18cbb09a6b5017e3521eb64ecb8fbc8583d17c3d064c12dbaf054c047f176653c5fb9bf
|
7
|
+
data.tar.gz: 8679254fb3b158268a74c98e7734f88ddba2a3569bd6c256cf577c4cb72eb5d1c3d7c1645104562c4e754697f9d1e94b79c0f8c83576c9dcc9c43d1bb47f9294
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.17.0 (2024-04-19)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This update introduces the GetInternetEvent and ListInternetEvents APIs, which provide access to internet events displayed on the Amazon CloudWatch Internet Weather Map.
|
8
|
+
|
9
|
+
1.16.0 (2024-03-29)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release adds support to allow customers to track cross account monitors through ListMonitor, GetMonitor, ListHealthEvents, GetHealthEvent, StartQuery APIs.
|
13
|
+
|
4
14
|
1.15.0 (2024-02-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.17.0
|
@@ -567,7 +567,7 @@ module Aws::InternetMonitor
|
|
567
567
|
req.send_request(options)
|
568
568
|
end
|
569
569
|
|
570
|
-
# Gets information
|
570
|
+
# Gets information that Amazon CloudWatch Internet Monitor has created
|
571
571
|
# and stored about a health event for a specified monitor. This
|
572
572
|
# information includes the impacted locations, and all the information
|
573
573
|
# related to the event, by location.
|
@@ -587,6 +587,18 @@ 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
|
+
# The account ID for an account that you've set up cross-account
|
592
|
+
# sharing for in Amazon CloudWatch Internet Monitor. You configure
|
593
|
+
# cross-account sharing by using Amazon CloudWatch Observability Access
|
594
|
+
# Manager. For more information, see [Internet Monitor cross-account
|
595
|
+
# observability][1] in the Amazon CloudWatch Internet Monitor User
|
596
|
+
# Guide.
|
597
|
+
#
|
598
|
+
#
|
599
|
+
#
|
600
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
|
601
|
+
#
|
590
602
|
# @return [Types::GetHealthEventOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
591
603
|
#
|
592
604
|
# * {Types::GetHealthEventOutput#event_arn #event_arn} => String
|
@@ -606,6 +618,7 @@ module Aws::InternetMonitor
|
|
606
618
|
# resp = client.get_health_event({
|
607
619
|
# monitor_name: "ResourceName", # required
|
608
620
|
# event_id: "HealthEventName", # required
|
621
|
+
# linked_account_id: "AccountId",
|
609
622
|
# })
|
610
623
|
#
|
611
624
|
# @example Response structure
|
@@ -661,6 +674,61 @@ module Aws::InternetMonitor
|
|
661
674
|
req.send_request(options)
|
662
675
|
end
|
663
676
|
|
677
|
+
# Gets information that Amazon CloudWatch Internet Monitor has generated
|
678
|
+
# about an internet event. Internet Monitor displays information about
|
679
|
+
# recent global health events, called internet events, on a global
|
680
|
+
# outages map that is available to all Amazon Web Services customers.
|
681
|
+
#
|
682
|
+
# The information returned here includes the impacted location, when the
|
683
|
+
# event started and (if the event is over) ended, the type of event
|
684
|
+
# (`PERFORMANCE` or `AVAILABILITY`), and the status (`ACTIVE` or
|
685
|
+
# `RESOLVED`).
|
686
|
+
#
|
687
|
+
# @option params [required, String] :event_id
|
688
|
+
# The `EventId` of the internet event to return information for.
|
689
|
+
#
|
690
|
+
# @return [Types::GetInternetEventOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
691
|
+
#
|
692
|
+
# * {Types::GetInternetEventOutput#event_id #event_id} => String
|
693
|
+
# * {Types::GetInternetEventOutput#event_arn #event_arn} => String
|
694
|
+
# * {Types::GetInternetEventOutput#started_at #started_at} => Time
|
695
|
+
# * {Types::GetInternetEventOutput#ended_at #ended_at} => Time
|
696
|
+
# * {Types::GetInternetEventOutput#client_location #client_location} => Types::ClientLocation
|
697
|
+
# * {Types::GetInternetEventOutput#event_type #event_type} => String
|
698
|
+
# * {Types::GetInternetEventOutput#event_status #event_status} => String
|
699
|
+
#
|
700
|
+
# @example Request syntax with placeholder values
|
701
|
+
#
|
702
|
+
# resp = client.get_internet_event({
|
703
|
+
# event_id: "InternetEventId", # required
|
704
|
+
# })
|
705
|
+
#
|
706
|
+
# @example Response structure
|
707
|
+
#
|
708
|
+
# resp.event_id #=> String
|
709
|
+
# resp.event_arn #=> String
|
710
|
+
# resp.started_at #=> Time
|
711
|
+
# resp.ended_at #=> Time
|
712
|
+
# resp.client_location.as_name #=> String
|
713
|
+
# resp.client_location.as_number #=> Integer
|
714
|
+
# resp.client_location.country #=> String
|
715
|
+
# resp.client_location.subdivision #=> String
|
716
|
+
# resp.client_location.metro #=> String
|
717
|
+
# resp.client_location.city #=> String
|
718
|
+
# resp.client_location.latitude #=> Float
|
719
|
+
# resp.client_location.longitude #=> Float
|
720
|
+
# resp.event_type #=> String, one of "AVAILABILITY", "PERFORMANCE"
|
721
|
+
# resp.event_status #=> String, one of "ACTIVE", "RESOLVED"
|
722
|
+
#
|
723
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetInternetEvent AWS API Documentation
|
724
|
+
#
|
725
|
+
# @overload get_internet_event(params = {})
|
726
|
+
# @param [Hash] params ({})
|
727
|
+
def get_internet_event(params = {}, options = {})
|
728
|
+
req = build_request(:get_internet_event, params)
|
729
|
+
req.send_request(options)
|
730
|
+
end
|
731
|
+
|
664
732
|
# Gets information about a monitor in Amazon CloudWatch Internet Monitor
|
665
733
|
# based on a monitor name. The information returned includes the Amazon
|
666
734
|
# Resource Name (ARN), create time, modified time, resources included in
|
@@ -669,6 +737,18 @@ module Aws::InternetMonitor
|
|
669
737
|
# @option params [required, String] :monitor_name
|
670
738
|
# The name of the monitor.
|
671
739
|
#
|
740
|
+
# @option params [String] :linked_account_id
|
741
|
+
# The account ID for an account that you've set up cross-account
|
742
|
+
# sharing for in Amazon CloudWatch Internet Monitor. You configure
|
743
|
+
# cross-account sharing by using Amazon CloudWatch Observability Access
|
744
|
+
# Manager. For more information, see [Internet Monitor cross-account
|
745
|
+
# observability][1] in the Amazon CloudWatch Internet Monitor User
|
746
|
+
# Guide.
|
747
|
+
#
|
748
|
+
#
|
749
|
+
#
|
750
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
|
751
|
+
#
|
672
752
|
# @return [Types::GetMonitorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
673
753
|
#
|
674
754
|
# * {Types::GetMonitorOutput#monitor_name #monitor_name} => String
|
@@ -689,6 +769,7 @@ module Aws::InternetMonitor
|
|
689
769
|
#
|
690
770
|
# resp = client.get_monitor({
|
691
771
|
# monitor_name: "ResourceName", # required
|
772
|
+
# linked_account_id: "AccountId",
|
692
773
|
# })
|
693
774
|
#
|
694
775
|
# @example Response structure
|
@@ -837,7 +918,7 @@ module Aws::InternetMonitor
|
|
837
918
|
|
838
919
|
# Lists all health events for a monitor in Amazon CloudWatch Internet
|
839
920
|
# Monitor. Returns information for health events including the event
|
840
|
-
# start and end
|
921
|
+
# start and end times, and the status.
|
841
922
|
#
|
842
923
|
# <note markdown="1"> Health events that have start times during the time frame that is
|
843
924
|
# requested are not included in the list of health events.
|
@@ -865,6 +946,18 @@ module Aws::InternetMonitor
|
|
865
946
|
# @option params [String] :event_status
|
866
947
|
# The status of a health event.
|
867
948
|
#
|
949
|
+
# @option params [String] :linked_account_id
|
950
|
+
# The account ID for an account that you've set up cross-account
|
951
|
+
# sharing for in Amazon CloudWatch Internet Monitor. You configure
|
952
|
+
# cross-account sharing by using Amazon CloudWatch Observability Access
|
953
|
+
# Manager. For more information, see [Internet Monitor cross-account
|
954
|
+
# observability][1] in the Amazon CloudWatch Internet Monitor User
|
955
|
+
# Guide.
|
956
|
+
#
|
957
|
+
#
|
958
|
+
#
|
959
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
|
960
|
+
#
|
868
961
|
# @return [Types::ListHealthEventsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
869
962
|
#
|
870
963
|
# * {Types::ListHealthEventsOutput#health_events #health_events} => Array<Types::HealthEvent>
|
@@ -881,6 +974,7 @@ module Aws::InternetMonitor
|
|
881
974
|
# next_token: "String",
|
882
975
|
# max_results: 1,
|
883
976
|
# event_status: "ACTIVE", # accepts ACTIVE, RESOLVED
|
977
|
+
# linked_account_id: "AccountId",
|
884
978
|
# })
|
885
979
|
#
|
886
980
|
# @example Response structure
|
@@ -938,6 +1032,88 @@ module Aws::InternetMonitor
|
|
938
1032
|
req.send_request(options)
|
939
1033
|
end
|
940
1034
|
|
1035
|
+
# Lists internet events that cause performance or availability issues
|
1036
|
+
# for client locations. Amazon CloudWatch Internet Monitor displays
|
1037
|
+
# information about recent global health events, called internet events,
|
1038
|
+
# on a global outages map that is available to all Amazon Web Services
|
1039
|
+
# customers.
|
1040
|
+
#
|
1041
|
+
# You can constrain the list of internet events returned by providing a
|
1042
|
+
# start time and end time to define a total time frame for events you
|
1043
|
+
# want to list. Both start time and end time specify the time when an
|
1044
|
+
# event started. End time is optional. If you don't include it, the
|
1045
|
+
# default end time is the current time.
|
1046
|
+
#
|
1047
|
+
# You can also limit the events returned to a specific status (`ACTIVE`
|
1048
|
+
# or `RESOLVED`) or type (`PERFORMANCE` or `AVAILABILITY`).
|
1049
|
+
#
|
1050
|
+
# @option params [String] :next_token
|
1051
|
+
# The token for the next set of results. You receive this token from a
|
1052
|
+
# previous call.
|
1053
|
+
#
|
1054
|
+
# @option params [Integer] :max_results
|
1055
|
+
# The number of query results that you want to return with this call.
|
1056
|
+
#
|
1057
|
+
# @option params [Time,DateTime,Date,Integer,String] :start_time
|
1058
|
+
# The start time of the time window that you want to get a list of
|
1059
|
+
# internet events for.
|
1060
|
+
#
|
1061
|
+
# @option params [Time,DateTime,Date,Integer,String] :end_time
|
1062
|
+
# The end time of the time window that you want to get a list of
|
1063
|
+
# internet events for.
|
1064
|
+
#
|
1065
|
+
# @option params [String] :event_status
|
1066
|
+
# The status of an internet event.
|
1067
|
+
#
|
1068
|
+
# @option params [String] :event_type
|
1069
|
+
# The type of network impairment.
|
1070
|
+
#
|
1071
|
+
# @return [Types::ListInternetEventsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1072
|
+
#
|
1073
|
+
# * {Types::ListInternetEventsOutput#internet_events #internet_events} => Array<Types::InternetEventSummary>
|
1074
|
+
# * {Types::ListInternetEventsOutput#next_token #next_token} => String
|
1075
|
+
#
|
1076
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1077
|
+
#
|
1078
|
+
# @example Request syntax with placeholder values
|
1079
|
+
#
|
1080
|
+
# resp = client.list_internet_events({
|
1081
|
+
# next_token: "String",
|
1082
|
+
# max_results: 1,
|
1083
|
+
# start_time: Time.now,
|
1084
|
+
# end_time: Time.now,
|
1085
|
+
# event_status: "String",
|
1086
|
+
# event_type: "String",
|
1087
|
+
# })
|
1088
|
+
#
|
1089
|
+
# @example Response structure
|
1090
|
+
#
|
1091
|
+
# resp.internet_events #=> Array
|
1092
|
+
# resp.internet_events[0].event_id #=> String
|
1093
|
+
# resp.internet_events[0].event_arn #=> String
|
1094
|
+
# resp.internet_events[0].started_at #=> Time
|
1095
|
+
# resp.internet_events[0].ended_at #=> Time
|
1096
|
+
# resp.internet_events[0].client_location.as_name #=> String
|
1097
|
+
# resp.internet_events[0].client_location.as_number #=> Integer
|
1098
|
+
# resp.internet_events[0].client_location.country #=> String
|
1099
|
+
# resp.internet_events[0].client_location.subdivision #=> String
|
1100
|
+
# resp.internet_events[0].client_location.metro #=> String
|
1101
|
+
# resp.internet_events[0].client_location.city #=> String
|
1102
|
+
# resp.internet_events[0].client_location.latitude #=> Float
|
1103
|
+
# resp.internet_events[0].client_location.longitude #=> Float
|
1104
|
+
# resp.internet_events[0].event_type #=> String, one of "AVAILABILITY", "PERFORMANCE"
|
1105
|
+
# resp.internet_events[0].event_status #=> String, one of "ACTIVE", "RESOLVED"
|
1106
|
+
# resp.next_token #=> String
|
1107
|
+
#
|
1108
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListInternetEvents AWS API Documentation
|
1109
|
+
#
|
1110
|
+
# @overload list_internet_events(params = {})
|
1111
|
+
# @param [Hash] params ({})
|
1112
|
+
def list_internet_events(params = {}, options = {})
|
1113
|
+
req = build_request(:list_internet_events, params)
|
1114
|
+
req.send_request(options)
|
1115
|
+
end
|
1116
|
+
|
941
1117
|
# Lists all of your monitors for Amazon CloudWatch Internet Monitor and
|
942
1118
|
# their statuses, along with the Amazon Resource Name (ARN) and name of
|
943
1119
|
# each monitor.
|
@@ -959,6 +1135,19 @@ module Aws::InternetMonitor
|
|
959
1135
|
#
|
960
1136
|
# [1]: https://docs.aws.amazon.com/internet-monitor/latest/api/API_Monitor.html
|
961
1137
|
#
|
1138
|
+
# @option params [Boolean] :include_linked_accounts
|
1139
|
+
# A boolean option that you can set to `TRUE` to include monitors for
|
1140
|
+
# linked accounts in a list of monitors, when you've set up
|
1141
|
+
# cross-account sharing in Amazon CloudWatch Internet Monitor. You
|
1142
|
+
# configure cross-account sharing by using Amazon CloudWatch
|
1143
|
+
# Observability Access Manager. For more information, see [Internet
|
1144
|
+
# Monitor cross-account observability][1] in the Amazon CloudWatch
|
1145
|
+
# Internet Monitor User Guide.
|
1146
|
+
#
|
1147
|
+
#
|
1148
|
+
#
|
1149
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
|
1150
|
+
#
|
962
1151
|
# @return [Types::ListMonitorsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
963
1152
|
#
|
964
1153
|
# * {Types::ListMonitorsOutput#monitors #monitors} => Array<Types::Monitor>
|
@@ -972,6 +1161,7 @@ module Aws::InternetMonitor
|
|
972
1161
|
# next_token: "String",
|
973
1162
|
# max_results: 1,
|
974
1163
|
# monitor_status: "String",
|
1164
|
+
# include_linked_accounts: false,
|
975
1165
|
# })
|
976
1166
|
#
|
977
1167
|
# @example Response structure
|
@@ -1087,6 +1277,18 @@ module Aws::InternetMonitor
|
|
1087
1277
|
#
|
1088
1278
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html
|
1089
1279
|
#
|
1280
|
+
# @option params [String] :linked_account_id
|
1281
|
+
# The account ID for an account that you've set up cross-account
|
1282
|
+
# sharing for in Amazon CloudWatch Internet Monitor. You configure
|
1283
|
+
# cross-account sharing by using Amazon CloudWatch Observability Access
|
1284
|
+
# Manager. For more information, see [Internet Monitor cross-account
|
1285
|
+
# observability][1] in the Amazon CloudWatch Internet Monitor User
|
1286
|
+
# Guide.
|
1287
|
+
#
|
1288
|
+
#
|
1289
|
+
#
|
1290
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
|
1291
|
+
#
|
1090
1292
|
# @return [Types::StartQueryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1091
1293
|
#
|
1092
1294
|
# * {Types::StartQueryOutput#query_id #query_id} => String
|
@@ -1105,6 +1307,7 @@ module Aws::InternetMonitor
|
|
1105
1307
|
# values: ["String"],
|
1106
1308
|
# },
|
1107
1309
|
# ],
|
1310
|
+
# linked_account_id: "AccountId",
|
1108
1311
|
# })
|
1109
1312
|
#
|
1110
1313
|
# @example Response structure
|
@@ -1362,7 +1565,7 @@ module Aws::InternetMonitor
|
|
1362
1565
|
params: params,
|
1363
1566
|
config: config)
|
1364
1567
|
context[:gem_name] = 'aws-sdk-internetmonitor'
|
1365
|
-
context[:gem_version] = '1.
|
1568
|
+
context[:gem_version] = '1.17.0'
|
1366
1569
|
Seahorse::Client::Request.new(handlers, context)
|
1367
1570
|
end
|
1368
1571
|
|
@@ -14,9 +14,12 @@ 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')
|
22
|
+
ClientLocation = Shapes::StructureShape.new(name: 'ClientLocation')
|
20
23
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
21
24
|
CreateMonitorInput = Shapes::StructureShape.new(name: 'CreateMonitorInput')
|
22
25
|
CreateMonitorOutput = Shapes::StructureShape.new(name: 'CreateMonitorOutput')
|
@@ -28,6 +31,8 @@ module Aws::InternetMonitor
|
|
28
31
|
FilterParameters = Shapes::ListShape.new(name: 'FilterParameters')
|
29
32
|
GetHealthEventInput = Shapes::StructureShape.new(name: 'GetHealthEventInput')
|
30
33
|
GetHealthEventOutput = Shapes::StructureShape.new(name: 'GetHealthEventOutput')
|
34
|
+
GetInternetEventInput = Shapes::StructureShape.new(name: 'GetInternetEventInput')
|
35
|
+
GetInternetEventOutput = Shapes::StructureShape.new(name: 'GetInternetEventOutput')
|
31
36
|
GetMonitorInput = Shapes::StructureShape.new(name: 'GetMonitorInput')
|
32
37
|
GetMonitorOutput = Shapes::StructureShape.new(name: 'GetMonitorOutput')
|
33
38
|
GetQueryResultsInput = Shapes::StructureShape.new(name: 'GetQueryResultsInput')
|
@@ -44,12 +49,20 @@ module Aws::InternetMonitor
|
|
44
49
|
ImpactedLocationsList = Shapes::ListShape.new(name: 'ImpactedLocationsList')
|
45
50
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
46
51
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
52
|
+
InternetEventId = Shapes::StringShape.new(name: 'InternetEventId')
|
53
|
+
InternetEventMaxResults = Shapes::IntegerShape.new(name: 'InternetEventMaxResults')
|
54
|
+
InternetEventStatus = Shapes::StringShape.new(name: 'InternetEventStatus')
|
55
|
+
InternetEventSummary = Shapes::StructureShape.new(name: 'InternetEventSummary')
|
56
|
+
InternetEventType = Shapes::StringShape.new(name: 'InternetEventType')
|
57
|
+
InternetEventsList = Shapes::ListShape.new(name: 'InternetEventsList')
|
47
58
|
InternetHealth = Shapes::StructureShape.new(name: 'InternetHealth')
|
48
59
|
InternetMeasurementsLogDelivery = Shapes::StructureShape.new(name: 'InternetMeasurementsLogDelivery')
|
49
60
|
Ipv4PrefixList = Shapes::ListShape.new(name: 'Ipv4PrefixList')
|
50
61
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
51
62
|
ListHealthEventsInput = Shapes::StructureShape.new(name: 'ListHealthEventsInput')
|
52
63
|
ListHealthEventsOutput = Shapes::StructureShape.new(name: 'ListHealthEventsOutput')
|
64
|
+
ListInternetEventsInput = Shapes::StructureShape.new(name: 'ListInternetEventsInput')
|
65
|
+
ListInternetEventsOutput = Shapes::StructureShape.new(name: 'ListInternetEventsOutput')
|
53
66
|
ListMonitorsInput = Shapes::StructureShape.new(name: 'ListMonitorsInput')
|
54
67
|
ListMonitorsOutput = Shapes::StructureShape.new(name: 'ListMonitorsOutput')
|
55
68
|
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
@@ -118,6 +131,16 @@ module Aws::InternetMonitor
|
|
118
131
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
119
132
|
BadRequestException.struct_class = Types::BadRequestException
|
120
133
|
|
134
|
+
ClientLocation.add_member(:as_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ASName"))
|
135
|
+
ClientLocation.add_member(:as_number, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "ASNumber"))
|
136
|
+
ClientLocation.add_member(:country, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Country"))
|
137
|
+
ClientLocation.add_member(:subdivision, Shapes::ShapeRef.new(shape: String, location_name: "Subdivision"))
|
138
|
+
ClientLocation.add_member(:metro, Shapes::ShapeRef.new(shape: String, location_name: "Metro"))
|
139
|
+
ClientLocation.add_member(:city, Shapes::ShapeRef.new(shape: String, required: true, location_name: "City"))
|
140
|
+
ClientLocation.add_member(:latitude, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "Latitude"))
|
141
|
+
ClientLocation.add_member(:longitude, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "Longitude"))
|
142
|
+
ClientLocation.struct_class = Types::ClientLocation
|
143
|
+
|
121
144
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
122
145
|
ConflictException.struct_class = Types::ConflictException
|
123
146
|
|
@@ -151,6 +174,7 @@ module Aws::InternetMonitor
|
|
151
174
|
|
152
175
|
GetHealthEventInput.add_member(:monitor_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MonitorName"))
|
153
176
|
GetHealthEventInput.add_member(:event_id, Shapes::ShapeRef.new(shape: HealthEventName, required: true, location: "uri", location_name: "EventId"))
|
177
|
+
GetHealthEventInput.add_member(:linked_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "LinkedAccountId"))
|
154
178
|
GetHealthEventInput.struct_class = Types::GetHealthEventInput
|
155
179
|
|
156
180
|
GetHealthEventOutput.add_member(:event_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventArn"))
|
@@ -166,7 +190,20 @@ module Aws::InternetMonitor
|
|
166
190
|
GetHealthEventOutput.add_member(:health_score_threshold, Shapes::ShapeRef.new(shape: Percentage, location_name: "HealthScoreThreshold"))
|
167
191
|
GetHealthEventOutput.struct_class = Types::GetHealthEventOutput
|
168
192
|
|
193
|
+
GetInternetEventInput.add_member(:event_id, Shapes::ShapeRef.new(shape: InternetEventId, required: true, location: "uri", location_name: "EventId"))
|
194
|
+
GetInternetEventInput.struct_class = Types::GetInternetEventInput
|
195
|
+
|
196
|
+
GetInternetEventOutput.add_member(:event_id, Shapes::ShapeRef.new(shape: InternetEventId, required: true, location_name: "EventId"))
|
197
|
+
GetInternetEventOutput.add_member(:event_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventArn"))
|
198
|
+
GetInternetEventOutput.add_member(:started_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "StartedAt"))
|
199
|
+
GetInternetEventOutput.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "EndedAt"))
|
200
|
+
GetInternetEventOutput.add_member(:client_location, Shapes::ShapeRef.new(shape: ClientLocation, required: true, location_name: "ClientLocation"))
|
201
|
+
GetInternetEventOutput.add_member(:event_type, Shapes::ShapeRef.new(shape: InternetEventType, required: true, location_name: "EventType"))
|
202
|
+
GetInternetEventOutput.add_member(:event_status, Shapes::ShapeRef.new(shape: InternetEventStatus, required: true, location_name: "EventStatus"))
|
203
|
+
GetInternetEventOutput.struct_class = Types::GetInternetEventOutput
|
204
|
+
|
169
205
|
GetMonitorInput.add_member(:monitor_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MonitorName"))
|
206
|
+
GetMonitorInput.add_member(:linked_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "LinkedAccountId"))
|
170
207
|
GetMonitorInput.struct_class = Types::GetMonitorInput
|
171
208
|
|
172
209
|
GetMonitorOutput.add_member(:monitor_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "MonitorName"))
|
@@ -248,6 +285,17 @@ module Aws::InternetMonitor
|
|
248
285
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
249
286
|
InternalServerException.struct_class = Types::InternalServerException
|
250
287
|
|
288
|
+
InternetEventSummary.add_member(:event_id, Shapes::ShapeRef.new(shape: InternetEventId, required: true, location_name: "EventId"))
|
289
|
+
InternetEventSummary.add_member(:event_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventArn"))
|
290
|
+
InternetEventSummary.add_member(:started_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "StartedAt"))
|
291
|
+
InternetEventSummary.add_member(:ended_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "EndedAt"))
|
292
|
+
InternetEventSummary.add_member(:client_location, Shapes::ShapeRef.new(shape: ClientLocation, required: true, location_name: "ClientLocation"))
|
293
|
+
InternetEventSummary.add_member(:event_type, Shapes::ShapeRef.new(shape: InternetEventType, required: true, location_name: "EventType"))
|
294
|
+
InternetEventSummary.add_member(:event_status, Shapes::ShapeRef.new(shape: InternetEventStatus, required: true, location_name: "EventStatus"))
|
295
|
+
InternetEventSummary.struct_class = Types::InternetEventSummary
|
296
|
+
|
297
|
+
InternetEventsList.member = Shapes::ShapeRef.new(shape: InternetEventSummary)
|
298
|
+
|
251
299
|
InternetHealth.add_member(:availability, Shapes::ShapeRef.new(shape: AvailabilityMeasurement, location_name: "Availability"))
|
252
300
|
InternetHealth.add_member(:performance, Shapes::ShapeRef.new(shape: PerformanceMeasurement, location_name: "Performance"))
|
253
301
|
InternetHealth.struct_class = Types::InternetHealth
|
@@ -266,15 +314,29 @@ module Aws::InternetMonitor
|
|
266
314
|
ListHealthEventsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "NextToken"))
|
267
315
|
ListHealthEventsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
268
316
|
ListHealthEventsInput.add_member(:event_status, Shapes::ShapeRef.new(shape: HealthEventStatus, location: "querystring", location_name: "EventStatus"))
|
317
|
+
ListHealthEventsInput.add_member(:linked_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "LinkedAccountId"))
|
269
318
|
ListHealthEventsInput.struct_class = Types::ListHealthEventsInput
|
270
319
|
|
271
320
|
ListHealthEventsOutput.add_member(:health_events, Shapes::ShapeRef.new(shape: HealthEventList, required: true, location_name: "HealthEvents"))
|
272
321
|
ListHealthEventsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
273
322
|
ListHealthEventsOutput.struct_class = Types::ListHealthEventsOutput
|
274
323
|
|
324
|
+
ListInternetEventsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "NextToken"))
|
325
|
+
ListInternetEventsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: InternetEventMaxResults, location: "querystring", location_name: "InternetEventMaxResults"))
|
326
|
+
ListInternetEventsInput.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location: "querystring", location_name: "StartTime"))
|
327
|
+
ListInternetEventsInput.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location: "querystring", location_name: "EndTime"))
|
328
|
+
ListInternetEventsInput.add_member(:event_status, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "EventStatus"))
|
329
|
+
ListInternetEventsInput.add_member(:event_type, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "EventType"))
|
330
|
+
ListInternetEventsInput.struct_class = Types::ListInternetEventsInput
|
331
|
+
|
332
|
+
ListInternetEventsOutput.add_member(:internet_events, Shapes::ShapeRef.new(shape: InternetEventsList, required: true, location_name: "InternetEvents"))
|
333
|
+
ListInternetEventsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
334
|
+
ListInternetEventsOutput.struct_class = Types::ListInternetEventsOutput
|
335
|
+
|
275
336
|
ListMonitorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "NextToken"))
|
276
337
|
ListMonitorsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
277
338
|
ListMonitorsInput.add_member(:monitor_status, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "MonitorStatus"))
|
339
|
+
ListMonitorsInput.add_member(:include_linked_accounts, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "IncludeLinkedAccounts"))
|
278
340
|
ListMonitorsInput.struct_class = Types::ListMonitorsInput
|
279
341
|
|
280
342
|
ListMonitorsOutput.add_member(:monitors, Shapes::ShapeRef.new(shape: MonitorList, required: true, location_name: "Monitors"))
|
@@ -350,6 +412,7 @@ module Aws::InternetMonitor
|
|
350
412
|
StartQueryInput.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "EndTime"))
|
351
413
|
StartQueryInput.add_member(:query_type, Shapes::ShapeRef.new(shape: QueryType, required: true, location_name: "QueryType"))
|
352
414
|
StartQueryInput.add_member(:filter_parameters, Shapes::ShapeRef.new(shape: FilterParameters, location_name: "FilterParameters"))
|
415
|
+
StartQueryInput.add_member(:linked_account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "LinkedAccountId"))
|
353
416
|
StartQueryInput.struct_class = Types::StartQueryInput
|
354
417
|
|
355
418
|
StartQueryOutput.add_member(:query_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "QueryId"))
|
@@ -458,6 +521,18 @@ module Aws::InternetMonitor
|
|
458
521
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
459
522
|
end)
|
460
523
|
|
524
|
+
api.add_operation(:get_internet_event, Seahorse::Model::Operation.new.tap do |o|
|
525
|
+
o.name = "GetInternetEvent"
|
526
|
+
o.http_method = "GET"
|
527
|
+
o.http_request_uri = "/v20210603/InternetEvents/{EventId}"
|
528
|
+
o.input = Shapes::ShapeRef.new(shape: GetInternetEventInput)
|
529
|
+
o.output = Shapes::ShapeRef.new(shape: GetInternetEventOutput)
|
530
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
531
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
532
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
533
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
534
|
+
end)
|
535
|
+
|
461
536
|
api.add_operation(:get_monitor, Seahorse::Model::Operation.new.tap do |o|
|
462
537
|
o.name = "GetMonitor"
|
463
538
|
o.http_method = "GET"
|
@@ -520,6 +595,24 @@ module Aws::InternetMonitor
|
|
520
595
|
)
|
521
596
|
end)
|
522
597
|
|
598
|
+
api.add_operation(:list_internet_events, Seahorse::Model::Operation.new.tap do |o|
|
599
|
+
o.name = "ListInternetEvents"
|
600
|
+
o.http_method = "GET"
|
601
|
+
o.http_request_uri = "/v20210603/InternetEvents"
|
602
|
+
o.input = Shapes::ShapeRef.new(shape: ListInternetEventsInput)
|
603
|
+
o.output = Shapes::ShapeRef.new(shape: ListInternetEventsOutput)
|
604
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
605
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
606
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
607
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
608
|
+
o[:pager] = Aws::Pager.new(
|
609
|
+
limit_key: "max_results",
|
610
|
+
tokens: {
|
611
|
+
"next_token" => "next_token"
|
612
|
+
}
|
613
|
+
)
|
614
|
+
end)
|
615
|
+
|
523
616
|
api.add_operation(:list_monitors, Seahorse::Model::Operation.new.tap do |o|
|
524
617
|
o.name = "ListMonitors"
|
525
618
|
o.http_method = "GET"
|
@@ -54,6 +54,20 @@ module Aws::InternetMonitor
|
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
|
+
class GetInternetEvent
|
58
|
+
def self.build(context)
|
59
|
+
unless context.config.regional_endpoint
|
60
|
+
endpoint = context.config.endpoint.to_s
|
61
|
+
end
|
62
|
+
Aws::InternetMonitor::EndpointParameters.new(
|
63
|
+
region: context.config.region,
|
64
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
65
|
+
use_fips: context.config.use_fips_endpoint,
|
66
|
+
endpoint: endpoint,
|
67
|
+
)
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
57
71
|
class GetMonitor
|
58
72
|
def self.build(context)
|
59
73
|
unless context.config.regional_endpoint
|
@@ -110,6 +124,20 @@ module Aws::InternetMonitor
|
|
110
124
|
end
|
111
125
|
end
|
112
126
|
|
127
|
+
class ListInternetEvents
|
128
|
+
def self.build(context)
|
129
|
+
unless context.config.regional_endpoint
|
130
|
+
endpoint = context.config.endpoint.to_s
|
131
|
+
end
|
132
|
+
Aws::InternetMonitor::EndpointParameters.new(
|
133
|
+
region: context.config.region,
|
134
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
135
|
+
use_fips: context.config.use_fips_endpoint,
|
136
|
+
endpoint: endpoint,
|
137
|
+
)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
113
141
|
class ListMonitors
|
114
142
|
def self.build(context)
|
115
143
|
unless context.config.regional_endpoint
|
@@ -64,6 +64,8 @@ module Aws::InternetMonitor
|
|
64
64
|
Aws::InternetMonitor::Endpoints::DeleteMonitor.build(context)
|
65
65
|
when :get_health_event
|
66
66
|
Aws::InternetMonitor::Endpoints::GetHealthEvent.build(context)
|
67
|
+
when :get_internet_event
|
68
|
+
Aws::InternetMonitor::Endpoints::GetInternetEvent.build(context)
|
67
69
|
when :get_monitor
|
68
70
|
Aws::InternetMonitor::Endpoints::GetMonitor.build(context)
|
69
71
|
when :get_query_results
|
@@ -72,6 +74,8 @@ module Aws::InternetMonitor
|
|
72
74
|
Aws::InternetMonitor::Endpoints::GetQueryStatus.build(context)
|
73
75
|
when :list_health_events
|
74
76
|
Aws::InternetMonitor::Endpoints::ListHealthEvents.build(context)
|
77
|
+
when :list_internet_events
|
78
|
+
Aws::InternetMonitor::Endpoints::ListInternetEvents.build(context)
|
75
79
|
when :list_monitors
|
76
80
|
Aws::InternetMonitor::Endpoints::ListMonitors.build(context)
|
77
81
|
when :list_tags_for_resource
|
@@ -123,6 +123,66 @@ module Aws::InternetMonitor
|
|
123
123
|
include Aws::Structure
|
124
124
|
end
|
125
125
|
|
126
|
+
# The impacted location, such as a city, that Amazon Web Services
|
127
|
+
# clients access application resources from.
|
128
|
+
#
|
129
|
+
# @!attribute [rw] as_name
|
130
|
+
# The name of the internet service provider (ISP) or network (ASN).
|
131
|
+
# @return [String]
|
132
|
+
#
|
133
|
+
# @!attribute [rw] as_number
|
134
|
+
# The Autonomous System Number (ASN) of the network at an impacted
|
135
|
+
# location.
|
136
|
+
# @return [Integer]
|
137
|
+
#
|
138
|
+
# @!attribute [rw] country
|
139
|
+
# The name of the country where the internet event is located.
|
140
|
+
# @return [String]
|
141
|
+
#
|
142
|
+
# @!attribute [rw] subdivision
|
143
|
+
# The subdivision location where the health event is located. The
|
144
|
+
# subdivision usually maps to states in most countries (including the
|
145
|
+
# United States). For United Kingdom, it maps to a country (England,
|
146
|
+
# Scotland, Wales) or province (Northern Ireland).
|
147
|
+
# @return [String]
|
148
|
+
#
|
149
|
+
# @!attribute [rw] metro
|
150
|
+
# The metro area where the health event is located.
|
151
|
+
#
|
152
|
+
# Metro indicates a metropolitan region in the United States, such as
|
153
|
+
# the region around New York City. In non-US countries, this is a
|
154
|
+
# second-level subdivision. For example, in the United Kingdom, it
|
155
|
+
# could be a county, a London borough, a unitary authority, council
|
156
|
+
# area, and so on.
|
157
|
+
# @return [String]
|
158
|
+
#
|
159
|
+
# @!attribute [rw] city
|
160
|
+
# The name of the city where the internet event is located.
|
161
|
+
# @return [String]
|
162
|
+
#
|
163
|
+
# @!attribute [rw] latitude
|
164
|
+
# The latitude where the internet event is located.
|
165
|
+
# @return [Float]
|
166
|
+
#
|
167
|
+
# @!attribute [rw] longitude
|
168
|
+
# The longitude where the internet event is located.
|
169
|
+
# @return [Float]
|
170
|
+
#
|
171
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ClientLocation AWS API Documentation
|
172
|
+
#
|
173
|
+
class ClientLocation < Struct.new(
|
174
|
+
:as_name,
|
175
|
+
:as_number,
|
176
|
+
:country,
|
177
|
+
:subdivision,
|
178
|
+
:metro,
|
179
|
+
:city,
|
180
|
+
:latitude,
|
181
|
+
:longitude)
|
182
|
+
SENSITIVE = []
|
183
|
+
include Aws::Structure
|
184
|
+
end
|
185
|
+
|
126
186
|
# The requested resource is in use.
|
127
187
|
#
|
128
188
|
# @!attribute [rw] message
|
@@ -337,11 +397,25 @@ module Aws::InternetMonitor
|
|
337
397
|
# URL-encode the `EventID` field in the request URL.
|
338
398
|
# @return [String]
|
339
399
|
#
|
400
|
+
# @!attribute [rw] linked_account_id
|
401
|
+
# The account ID for an account that you've set up cross-account
|
402
|
+
# sharing for in Amazon CloudWatch Internet Monitor. You configure
|
403
|
+
# cross-account sharing by using Amazon CloudWatch Observability
|
404
|
+
# Access Manager. For more information, see [Internet Monitor
|
405
|
+
# cross-account observability][1] in the Amazon CloudWatch Internet
|
406
|
+
# Monitor User Guide.
|
407
|
+
#
|
408
|
+
#
|
409
|
+
#
|
410
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
|
411
|
+
# @return [String]
|
412
|
+
#
|
340
413
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetHealthEventInput AWS API Documentation
|
341
414
|
#
|
342
415
|
class GetHealthEventInput < Struct.new(
|
343
416
|
:monitor_name,
|
344
|
-
:event_id
|
417
|
+
:event_id,
|
418
|
+
:linked_account_id)
|
345
419
|
SENSITIVE = []
|
346
420
|
include Aws::Structure
|
347
421
|
end
|
@@ -417,14 +491,84 @@ module Aws::InternetMonitor
|
|
417
491
|
include Aws::Structure
|
418
492
|
end
|
419
493
|
|
494
|
+
# @!attribute [rw] event_id
|
495
|
+
# The `EventId` of the internet event to return information for.
|
496
|
+
# @return [String]
|
497
|
+
#
|
498
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetInternetEventInput AWS API Documentation
|
499
|
+
#
|
500
|
+
class GetInternetEventInput < Struct.new(
|
501
|
+
:event_id)
|
502
|
+
SENSITIVE = []
|
503
|
+
include Aws::Structure
|
504
|
+
end
|
505
|
+
|
506
|
+
# @!attribute [rw] event_id
|
507
|
+
# The internally-generated identifier of an internet event.
|
508
|
+
# @return [String]
|
509
|
+
#
|
510
|
+
# @!attribute [rw] event_arn
|
511
|
+
# The Amazon Resource Name (ARN) of the internet event.
|
512
|
+
# @return [String]
|
513
|
+
#
|
514
|
+
# @!attribute [rw] started_at
|
515
|
+
# The time when the internet event started.
|
516
|
+
# @return [Time]
|
517
|
+
#
|
518
|
+
# @!attribute [rw] ended_at
|
519
|
+
# The time when the internet event ended. If the event hasn't ended
|
520
|
+
# yet, this value is empty.
|
521
|
+
# @return [Time]
|
522
|
+
#
|
523
|
+
# @!attribute [rw] client_location
|
524
|
+
# The impacted location, such as a city, where clients access Amazon
|
525
|
+
# Web Services application resources.
|
526
|
+
# @return [Types::ClientLocation]
|
527
|
+
#
|
528
|
+
# @!attribute [rw] event_type
|
529
|
+
# The type of network impairment.
|
530
|
+
# @return [String]
|
531
|
+
#
|
532
|
+
# @!attribute [rw] event_status
|
533
|
+
# The status of the internet event.
|
534
|
+
# @return [String]
|
535
|
+
#
|
536
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetInternetEventOutput AWS API Documentation
|
537
|
+
#
|
538
|
+
class GetInternetEventOutput < Struct.new(
|
539
|
+
:event_id,
|
540
|
+
:event_arn,
|
541
|
+
:started_at,
|
542
|
+
:ended_at,
|
543
|
+
:client_location,
|
544
|
+
:event_type,
|
545
|
+
:event_status)
|
546
|
+
SENSITIVE = []
|
547
|
+
include Aws::Structure
|
548
|
+
end
|
549
|
+
|
420
550
|
# @!attribute [rw] monitor_name
|
421
551
|
# The name of the monitor.
|
422
552
|
# @return [String]
|
423
553
|
#
|
554
|
+
# @!attribute [rw] linked_account_id
|
555
|
+
# The account ID for an account that you've set up cross-account
|
556
|
+
# sharing for in Amazon CloudWatch Internet Monitor. You configure
|
557
|
+
# cross-account sharing by using Amazon CloudWatch Observability
|
558
|
+
# Access Manager. For more information, see [Internet Monitor
|
559
|
+
# cross-account observability][1] in the Amazon CloudWatch Internet
|
560
|
+
# Monitor User Guide.
|
561
|
+
#
|
562
|
+
#
|
563
|
+
#
|
564
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
|
565
|
+
# @return [String]
|
566
|
+
#
|
424
567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetMonitorInput AWS API Documentation
|
425
568
|
#
|
426
569
|
class GetMonitorInput < Struct.new(
|
427
|
-
:monitor_name
|
570
|
+
:monitor_name,
|
571
|
+
:linked_account_id)
|
428
572
|
SENSITIVE = []
|
429
573
|
include Aws::Structure
|
430
574
|
end
|
@@ -660,7 +804,7 @@ module Aws::InternetMonitor
|
|
660
804
|
# @return [Array<Types::ImpactedLocation>]
|
661
805
|
#
|
662
806
|
# @!attribute [rw] status
|
663
|
-
#
|
807
|
+
# The status of a health event.
|
664
808
|
# @return [String]
|
665
809
|
#
|
666
810
|
# @!attribute [rw] percent_of_total_traffic_impacted
|
@@ -770,7 +914,7 @@ module Aws::InternetMonitor
|
|
770
914
|
# locations.
|
771
915
|
#
|
772
916
|
# @!attribute [rw] as_name
|
773
|
-
# The name of the
|
917
|
+
# The name of the internet service provider (ISP) or network (ASN).
|
774
918
|
# @return [String]
|
775
919
|
#
|
776
920
|
# @!attribute [rw] as_number
|
@@ -893,6 +1037,57 @@ module Aws::InternetMonitor
|
|
893
1037
|
include Aws::Structure
|
894
1038
|
end
|
895
1039
|
|
1040
|
+
# A summary of information about an internet event in Amazon CloudWatch
|
1041
|
+
# Internet Monitor. Internet events are issues that cause performance
|
1042
|
+
# degradation or availability problems for impacted Amazon Web Services
|
1043
|
+
# client locations. Internet Monitor displays information about recent
|
1044
|
+
# global health events, called internet events, on a global outages map
|
1045
|
+
# that is available to all Amazon Web Services customers.
|
1046
|
+
#
|
1047
|
+
# @!attribute [rw] event_id
|
1048
|
+
# The internally-generated identifier of an internet event.
|
1049
|
+
# @return [String]
|
1050
|
+
#
|
1051
|
+
# @!attribute [rw] event_arn
|
1052
|
+
# The Amazon Resource Name (ARN) of the internet event.
|
1053
|
+
# @return [String]
|
1054
|
+
#
|
1055
|
+
# @!attribute [rw] started_at
|
1056
|
+
# The time when an internet event started.
|
1057
|
+
# @return [Time]
|
1058
|
+
#
|
1059
|
+
# @!attribute [rw] ended_at
|
1060
|
+
# The time when an internet event ended. If the event hasn't ended
|
1061
|
+
# yet, this value is empty.
|
1062
|
+
# @return [Time]
|
1063
|
+
#
|
1064
|
+
# @!attribute [rw] client_location
|
1065
|
+
# The impacted location, such as a city, that Amazon Web Services
|
1066
|
+
# clients access application resources from.
|
1067
|
+
# @return [Types::ClientLocation]
|
1068
|
+
#
|
1069
|
+
# @!attribute [rw] event_type
|
1070
|
+
# The type of network impairment.
|
1071
|
+
# @return [String]
|
1072
|
+
#
|
1073
|
+
# @!attribute [rw] event_status
|
1074
|
+
# The status of an internet event.
|
1075
|
+
# @return [String]
|
1076
|
+
#
|
1077
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/InternetEventSummary AWS API Documentation
|
1078
|
+
#
|
1079
|
+
class InternetEventSummary < Struct.new(
|
1080
|
+
:event_id,
|
1081
|
+
:event_arn,
|
1082
|
+
:started_at,
|
1083
|
+
:ended_at,
|
1084
|
+
:client_location,
|
1085
|
+
:event_type,
|
1086
|
+
:event_status)
|
1087
|
+
SENSITIVE = []
|
1088
|
+
include Aws::Structure
|
1089
|
+
end
|
1090
|
+
|
896
1091
|
# Internet health includes measurements calculated by Amazon CloudWatch
|
897
1092
|
# Internet Monitor about the performance and availability for your
|
898
1093
|
# application on the internet. Amazon Web Services has substantial
|
@@ -1006,6 +1201,19 @@ module Aws::InternetMonitor
|
|
1006
1201
|
# The status of a health event.
|
1007
1202
|
# @return [String]
|
1008
1203
|
#
|
1204
|
+
# @!attribute [rw] linked_account_id
|
1205
|
+
# The account ID for an account that you've set up cross-account
|
1206
|
+
# sharing for in Amazon CloudWatch Internet Monitor. You configure
|
1207
|
+
# cross-account sharing by using Amazon CloudWatch Observability
|
1208
|
+
# Access Manager. For more information, see [Internet Monitor
|
1209
|
+
# cross-account observability][1] in the Amazon CloudWatch Internet
|
1210
|
+
# Monitor User Guide.
|
1211
|
+
#
|
1212
|
+
#
|
1213
|
+
#
|
1214
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
|
1215
|
+
# @return [String]
|
1216
|
+
#
|
1009
1217
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListHealthEventsInput AWS API Documentation
|
1010
1218
|
#
|
1011
1219
|
class ListHealthEventsInput < Struct.new(
|
@@ -1014,7 +1222,8 @@ module Aws::InternetMonitor
|
|
1014
1222
|
:end_time,
|
1015
1223
|
:next_token,
|
1016
1224
|
:max_results,
|
1017
|
-
:event_status
|
1225
|
+
:event_status,
|
1226
|
+
:linked_account_id)
|
1018
1227
|
SENSITIVE = []
|
1019
1228
|
include Aws::Structure
|
1020
1229
|
end
|
@@ -1037,6 +1246,64 @@ module Aws::InternetMonitor
|
|
1037
1246
|
include Aws::Structure
|
1038
1247
|
end
|
1039
1248
|
|
1249
|
+
# @!attribute [rw] next_token
|
1250
|
+
# The token for the next set of results. You receive this token from a
|
1251
|
+
# previous call.
|
1252
|
+
# @return [String]
|
1253
|
+
#
|
1254
|
+
# @!attribute [rw] max_results
|
1255
|
+
# The number of query results that you want to return with this call.
|
1256
|
+
# @return [Integer]
|
1257
|
+
#
|
1258
|
+
# @!attribute [rw] start_time
|
1259
|
+
# The start time of the time window that you want to get a list of
|
1260
|
+
# internet events for.
|
1261
|
+
# @return [Time]
|
1262
|
+
#
|
1263
|
+
# @!attribute [rw] end_time
|
1264
|
+
# The end time of the time window that you want to get a list of
|
1265
|
+
# internet events for.
|
1266
|
+
# @return [Time]
|
1267
|
+
#
|
1268
|
+
# @!attribute [rw] event_status
|
1269
|
+
# The status of an internet event.
|
1270
|
+
# @return [String]
|
1271
|
+
#
|
1272
|
+
# @!attribute [rw] event_type
|
1273
|
+
# The type of network impairment.
|
1274
|
+
# @return [String]
|
1275
|
+
#
|
1276
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListInternetEventsInput AWS API Documentation
|
1277
|
+
#
|
1278
|
+
class ListInternetEventsInput < Struct.new(
|
1279
|
+
:next_token,
|
1280
|
+
:max_results,
|
1281
|
+
:start_time,
|
1282
|
+
:end_time,
|
1283
|
+
:event_status,
|
1284
|
+
:event_type)
|
1285
|
+
SENSITIVE = []
|
1286
|
+
include Aws::Structure
|
1287
|
+
end
|
1288
|
+
|
1289
|
+
# @!attribute [rw] internet_events
|
1290
|
+
# A set of internet events returned for the list operation.
|
1291
|
+
# @return [Array<Types::InternetEventSummary>]
|
1292
|
+
#
|
1293
|
+
# @!attribute [rw] next_token
|
1294
|
+
# The token for the next set of results. You receive this token from a
|
1295
|
+
# previous call.
|
1296
|
+
# @return [String]
|
1297
|
+
#
|
1298
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListInternetEventsOutput AWS API Documentation
|
1299
|
+
#
|
1300
|
+
class ListInternetEventsOutput < Struct.new(
|
1301
|
+
:internet_events,
|
1302
|
+
:next_token)
|
1303
|
+
SENSITIVE = []
|
1304
|
+
include Aws::Structure
|
1305
|
+
end
|
1306
|
+
|
1040
1307
|
# @!attribute [rw] next_token
|
1041
1308
|
# The token for the next set of results. You receive this token from a
|
1042
1309
|
# previous call.
|
@@ -1058,12 +1325,27 @@ module Aws::InternetMonitor
|
|
1058
1325
|
# [1]: https://docs.aws.amazon.com/internet-monitor/latest/api/API_Monitor.html
|
1059
1326
|
# @return [String]
|
1060
1327
|
#
|
1328
|
+
# @!attribute [rw] include_linked_accounts
|
1329
|
+
# A boolean option that you can set to `TRUE` to include monitors for
|
1330
|
+
# linked accounts in a list of monitors, when you've set up
|
1331
|
+
# cross-account sharing in Amazon CloudWatch Internet Monitor. You
|
1332
|
+
# configure cross-account sharing by using Amazon CloudWatch
|
1333
|
+
# Observability Access Manager. For more information, see [Internet
|
1334
|
+
# Monitor cross-account observability][1] in the Amazon CloudWatch
|
1335
|
+
# Internet Monitor User Guide.
|
1336
|
+
#
|
1337
|
+
#
|
1338
|
+
#
|
1339
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
|
1340
|
+
# @return [Boolean]
|
1341
|
+
#
|
1061
1342
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListMonitorsInput AWS API Documentation
|
1062
1343
|
#
|
1063
1344
|
class ListMonitorsInput < Struct.new(
|
1064
1345
|
:next_token,
|
1065
1346
|
:max_results,
|
1066
|
-
:monitor_status
|
1347
|
+
:monitor_status,
|
1348
|
+
:include_linked_accounts)
|
1067
1349
|
SENSITIVE = []
|
1068
1350
|
include Aws::Structure
|
1069
1351
|
end
|
@@ -1192,11 +1474,11 @@ module Aws::InternetMonitor
|
|
1192
1474
|
include Aws::Structure
|
1193
1475
|
end
|
1194
1476
|
|
1195
|
-
# An internet service provider (ISP) or network in Amazon
|
1196
|
-
# Internet Monitor.
|
1477
|
+
# An internet service provider (ISP) or network (ASN) in Amazon
|
1478
|
+
# CloudWatch Internet Monitor.
|
1197
1479
|
#
|
1198
1480
|
# @!attribute [rw] as_name
|
1199
|
-
# The internet provider
|
1481
|
+
# The name of the internet service provider (ISP) or network (ASN).
|
1200
1482
|
# @return [String]
|
1201
1483
|
#
|
1202
1484
|
# @!attribute [rw] as_number
|
@@ -1226,7 +1508,7 @@ module Aws::InternetMonitor
|
|
1226
1508
|
# @return [Array<Types::Network>]
|
1227
1509
|
#
|
1228
1510
|
# @!attribute [rw] network_event_type
|
1229
|
-
#
|
1511
|
+
# The type of network impairment.
|
1230
1512
|
# @return [String]
|
1231
1513
|
#
|
1232
1514
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/NetworkImpairment AWS API Documentation
|
@@ -1507,6 +1789,19 @@ module Aws::InternetMonitor
|
|
1507
1789
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html
|
1508
1790
|
# @return [Array<Types::FilterParameter>]
|
1509
1791
|
#
|
1792
|
+
# @!attribute [rw] linked_account_id
|
1793
|
+
# The account ID for an account that you've set up cross-account
|
1794
|
+
# sharing for in Amazon CloudWatch Internet Monitor. You configure
|
1795
|
+
# cross-account sharing by using Amazon CloudWatch Observability
|
1796
|
+
# Access Manager. For more information, see [Internet Monitor
|
1797
|
+
# cross-account observability][1] in the Amazon CloudWatch Internet
|
1798
|
+
# Monitor User Guide.
|
1799
|
+
#
|
1800
|
+
#
|
1801
|
+
#
|
1802
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
|
1803
|
+
# @return [String]
|
1804
|
+
#
|
1510
1805
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/StartQueryInput AWS API Documentation
|
1511
1806
|
#
|
1512
1807
|
class StartQueryInput < Struct.new(
|
@@ -1514,7 +1809,8 @@ module Aws::InternetMonitor
|
|
1514
1809
|
:start_time,
|
1515
1810
|
:end_time,
|
1516
1811
|
:query_type,
|
1517
|
-
:filter_parameters
|
1812
|
+
:filter_parameters,
|
1813
|
+
:linked_account_id)
|
1518
1814
|
SENSITIVE = []
|
1519
1815
|
include Aws::Structure
|
1520
1816
|
end
|
data/sig/client.rbs
CHANGED
@@ -135,10 +135,27 @@ 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
|
|
143
|
+
interface _GetInternetEventResponseSuccess
|
144
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetInternetEventOutput]
|
145
|
+
def event_id: () -> ::String
|
146
|
+
def event_arn: () -> ::String
|
147
|
+
def started_at: () -> ::Time
|
148
|
+
def ended_at: () -> ::Time
|
149
|
+
def client_location: () -> Types::ClientLocation
|
150
|
+
def event_type: () -> ("AVAILABILITY" | "PERFORMANCE")
|
151
|
+
def event_status: () -> ("ACTIVE" | "RESOLVED")
|
152
|
+
end
|
153
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/InternetMonitor/Client.html#get_internet_event-instance_method
|
154
|
+
def get_internet_event: (
|
155
|
+
event_id: ::String
|
156
|
+
) -> _GetInternetEventResponseSuccess
|
157
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetInternetEventResponseSuccess
|
158
|
+
|
142
159
|
interface _GetMonitorResponseSuccess
|
143
160
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetMonitorOutput]
|
144
161
|
def monitor_name: () -> ::String
|
@@ -157,7 +174,8 @@ module Aws
|
|
157
174
|
end
|
158
175
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/InternetMonitor/Client.html#get_monitor-instance_method
|
159
176
|
def get_monitor: (
|
160
|
-
monitor_name: ::String
|
177
|
+
monitor_name: ::String,
|
178
|
+
?linked_account_id: ::String
|
161
179
|
) -> _GetMonitorResponseSuccess
|
162
180
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMonitorResponseSuccess
|
163
181
|
|
@@ -198,10 +216,27 @@ module Aws
|
|
198
216
|
?end_time: ::Time,
|
199
217
|
?next_token: ::String,
|
200
218
|
?max_results: ::Integer,
|
201
|
-
?event_status: ("ACTIVE" | "RESOLVED")
|
219
|
+
?event_status: ("ACTIVE" | "RESOLVED"),
|
220
|
+
?linked_account_id: ::String
|
202
221
|
) -> _ListHealthEventsResponseSuccess
|
203
222
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListHealthEventsResponseSuccess
|
204
223
|
|
224
|
+
interface _ListInternetEventsResponseSuccess
|
225
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListInternetEventsOutput]
|
226
|
+
def internet_events: () -> ::Array[Types::InternetEventSummary]
|
227
|
+
def next_token: () -> ::String
|
228
|
+
end
|
229
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/InternetMonitor/Client.html#list_internet_events-instance_method
|
230
|
+
def list_internet_events: (
|
231
|
+
?next_token: ::String,
|
232
|
+
?max_results: ::Integer,
|
233
|
+
?start_time: ::Time,
|
234
|
+
?end_time: ::Time,
|
235
|
+
?event_status: ::String,
|
236
|
+
?event_type: ::String
|
237
|
+
) -> _ListInternetEventsResponseSuccess
|
238
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListInternetEventsResponseSuccess
|
239
|
+
|
205
240
|
interface _ListMonitorsResponseSuccess
|
206
241
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListMonitorsOutput]
|
207
242
|
def monitors: () -> ::Array[Types::Monitor]
|
@@ -211,7 +246,8 @@ module Aws
|
|
211
246
|
def list_monitors: (
|
212
247
|
?next_token: ::String,
|
213
248
|
?max_results: ::Integer,
|
214
|
-
?monitor_status: ::String
|
249
|
+
?monitor_status: ::String,
|
250
|
+
?include_linked_accounts: bool
|
215
251
|
) -> _ListMonitorsResponseSuccess
|
216
252
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMonitorsResponseSuccess
|
217
253
|
|
@@ -241,7 +277,8 @@ module Aws
|
|
241
277
|
operator: ("EQUALS" | "NOT_EQUALS")?,
|
242
278
|
values: Array[::String]?
|
243
279
|
},
|
244
|
-
]
|
280
|
+
],
|
281
|
+
?linked_account_id: ::String
|
245
282
|
) -> _StartQueryResponseSuccess
|
246
283
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartQueryResponseSuccess
|
247
284
|
|
data/sig/types.rbs
CHANGED
@@ -25,6 +25,18 @@ module Aws::InternetMonitor
|
|
25
25
|
SENSITIVE: []
|
26
26
|
end
|
27
27
|
|
28
|
+
class ClientLocation
|
29
|
+
attr_accessor as_name: ::String
|
30
|
+
attr_accessor as_number: ::Integer
|
31
|
+
attr_accessor country: ::String
|
32
|
+
attr_accessor subdivision: ::String
|
33
|
+
attr_accessor metro: ::String
|
34
|
+
attr_accessor city: ::String
|
35
|
+
attr_accessor latitude: ::Float
|
36
|
+
attr_accessor longitude: ::Float
|
37
|
+
SENSITIVE: []
|
38
|
+
end
|
39
|
+
|
28
40
|
class ConflictException
|
29
41
|
attr_accessor message: ::String
|
30
42
|
SENSITIVE: []
|
@@ -66,6 +78,7 @@ module Aws::InternetMonitor
|
|
66
78
|
class GetHealthEventInput
|
67
79
|
attr_accessor monitor_name: ::String
|
68
80
|
attr_accessor event_id: ::String
|
81
|
+
attr_accessor linked_account_id: ::String
|
69
82
|
SENSITIVE: []
|
70
83
|
end
|
71
84
|
|
@@ -84,8 +97,25 @@ module Aws::InternetMonitor
|
|
84
97
|
SENSITIVE: []
|
85
98
|
end
|
86
99
|
|
100
|
+
class GetInternetEventInput
|
101
|
+
attr_accessor event_id: ::String
|
102
|
+
SENSITIVE: []
|
103
|
+
end
|
104
|
+
|
105
|
+
class GetInternetEventOutput
|
106
|
+
attr_accessor event_id: ::String
|
107
|
+
attr_accessor event_arn: ::String
|
108
|
+
attr_accessor started_at: ::Time
|
109
|
+
attr_accessor ended_at: ::Time
|
110
|
+
attr_accessor client_location: Types::ClientLocation
|
111
|
+
attr_accessor event_type: ("AVAILABILITY" | "PERFORMANCE")
|
112
|
+
attr_accessor event_status: ("ACTIVE" | "RESOLVED")
|
113
|
+
SENSITIVE: []
|
114
|
+
end
|
115
|
+
|
87
116
|
class GetMonitorInput
|
88
117
|
attr_accessor monitor_name: ::String
|
118
|
+
attr_accessor linked_account_id: ::String
|
89
119
|
SENSITIVE: []
|
90
120
|
end
|
91
121
|
|
@@ -184,6 +214,17 @@ module Aws::InternetMonitor
|
|
184
214
|
SENSITIVE: []
|
185
215
|
end
|
186
216
|
|
217
|
+
class InternetEventSummary
|
218
|
+
attr_accessor event_id: ::String
|
219
|
+
attr_accessor event_arn: ::String
|
220
|
+
attr_accessor started_at: ::Time
|
221
|
+
attr_accessor ended_at: ::Time
|
222
|
+
attr_accessor client_location: Types::ClientLocation
|
223
|
+
attr_accessor event_type: ("AVAILABILITY" | "PERFORMANCE")
|
224
|
+
attr_accessor event_status: ("ACTIVE" | "RESOLVED")
|
225
|
+
SENSITIVE: []
|
226
|
+
end
|
227
|
+
|
187
228
|
class InternetHealth
|
188
229
|
attr_accessor availability: Types::AvailabilityMeasurement
|
189
230
|
attr_accessor performance: Types::PerformanceMeasurement
|
@@ -207,6 +248,7 @@ module Aws::InternetMonitor
|
|
207
248
|
attr_accessor next_token: ::String
|
208
249
|
attr_accessor max_results: ::Integer
|
209
250
|
attr_accessor event_status: ("ACTIVE" | "RESOLVED")
|
251
|
+
attr_accessor linked_account_id: ::String
|
210
252
|
SENSITIVE: []
|
211
253
|
end
|
212
254
|
|
@@ -216,10 +258,27 @@ module Aws::InternetMonitor
|
|
216
258
|
SENSITIVE: []
|
217
259
|
end
|
218
260
|
|
261
|
+
class ListInternetEventsInput
|
262
|
+
attr_accessor next_token: ::String
|
263
|
+
attr_accessor max_results: ::Integer
|
264
|
+
attr_accessor start_time: ::Time
|
265
|
+
attr_accessor end_time: ::Time
|
266
|
+
attr_accessor event_status: ::String
|
267
|
+
attr_accessor event_type: ::String
|
268
|
+
SENSITIVE: []
|
269
|
+
end
|
270
|
+
|
271
|
+
class ListInternetEventsOutput
|
272
|
+
attr_accessor internet_events: ::Array[Types::InternetEventSummary]
|
273
|
+
attr_accessor next_token: ::String
|
274
|
+
SENSITIVE: []
|
275
|
+
end
|
276
|
+
|
219
277
|
class ListMonitorsInput
|
220
278
|
attr_accessor next_token: ::String
|
221
279
|
attr_accessor max_results: ::Integer
|
222
280
|
attr_accessor monitor_status: ::String
|
281
|
+
attr_accessor include_linked_accounts: bool
|
223
282
|
SENSITIVE: []
|
224
283
|
end
|
225
284
|
|
@@ -311,6 +370,7 @@ module Aws::InternetMonitor
|
|
311
370
|
attr_accessor end_time: ::Time
|
312
371
|
attr_accessor query_type: ("MEASUREMENTS" | "TOP_LOCATIONS" | "TOP_LOCATION_DETAILS")
|
313
372
|
attr_accessor filter_parameters: ::Array[Types::FilterParameter]
|
373
|
+
attr_accessor linked_account_id: ::String
|
314
374
|
SENSITIVE: []
|
315
375
|
end
|
316
376
|
|
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.17.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-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|