aws-sdk-internetmonitor 1.16.0 → 1.17.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 +191 -8
- data/lib/aws-sdk-internetmonitor/client_api.rb +86 -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 +282 -11
- data/lib/aws-sdk-internetmonitor.rb +1 -1
- data/sig/client.rbs +32 -0
- data/sig/types.rbs +55 -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,11 @@
|
|
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
|
+
|
4
9
|
1.16.0 (2024-03-29)
|
5
10
|
------------------
|
6
11
|
|
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.
|
@@ -588,7 +588,16 @@ module Aws::InternetMonitor
|
|
588
588
|
# URL-encode the `EventID` field in the request URL.
|
589
589
|
#
|
590
590
|
# @option params [String] :linked_account_id
|
591
|
-
#
|
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
|
592
601
|
#
|
593
602
|
# @return [Types::GetHealthEventOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
594
603
|
#
|
@@ -665,6 +674,61 @@ module Aws::InternetMonitor
|
|
665
674
|
req.send_request(options)
|
666
675
|
end
|
667
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
|
+
|
668
732
|
# Gets information about a monitor in Amazon CloudWatch Internet Monitor
|
669
733
|
# based on a monitor name. The information returned includes the Amazon
|
670
734
|
# Resource Name (ARN), create time, modified time, resources included in
|
@@ -674,7 +738,16 @@ module Aws::InternetMonitor
|
|
674
738
|
# The name of the monitor.
|
675
739
|
#
|
676
740
|
# @option params [String] :linked_account_id
|
677
|
-
#
|
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
|
678
751
|
#
|
679
752
|
# @return [Types::GetMonitorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
680
753
|
#
|
@@ -845,7 +918,7 @@ module Aws::InternetMonitor
|
|
845
918
|
|
846
919
|
# Lists all health events for a monitor in Amazon CloudWatch Internet
|
847
920
|
# Monitor. Returns information for health events including the event
|
848
|
-
# start and end
|
921
|
+
# start and end times, and the status.
|
849
922
|
#
|
850
923
|
# <note markdown="1"> Health events that have start times during the time frame that is
|
851
924
|
# requested are not included in the list of health events.
|
@@ -874,7 +947,16 @@ module Aws::InternetMonitor
|
|
874
947
|
# The status of a health event.
|
875
948
|
#
|
876
949
|
# @option params [String] :linked_account_id
|
877
|
-
#
|
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
|
878
960
|
#
|
879
961
|
# @return [Types::ListHealthEventsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
880
962
|
#
|
@@ -950,6 +1032,88 @@ module Aws::InternetMonitor
|
|
950
1032
|
req.send_request(options)
|
951
1033
|
end
|
952
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
|
+
|
953
1117
|
# Lists all of your monitors for Amazon CloudWatch Internet Monitor and
|
954
1118
|
# their statuses, along with the Amazon Resource Name (ARN) and name of
|
955
1119
|
# each monitor.
|
@@ -972,7 +1136,17 @@ module Aws::InternetMonitor
|
|
972
1136
|
# [1]: https://docs.aws.amazon.com/internet-monitor/latest/api/API_Monitor.html
|
973
1137
|
#
|
974
1138
|
# @option params [Boolean] :include_linked_accounts
|
975
|
-
#
|
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
|
976
1150
|
#
|
977
1151
|
# @return [Types::ListMonitorsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
978
1152
|
#
|
@@ -1104,7 +1278,16 @@ module Aws::InternetMonitor
|
|
1104
1278
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html
|
1105
1279
|
#
|
1106
1280
|
# @option params [String] :linked_account_id
|
1107
|
-
#
|
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
|
1108
1291
|
#
|
1109
1292
|
# @return [Types::StartQueryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1110
1293
|
#
|
@@ -1382,7 +1565,7 @@ module Aws::InternetMonitor
|
|
1382
1565
|
params: params,
|
1383
1566
|
config: config)
|
1384
1567
|
context[:gem_name] = 'aws-sdk-internetmonitor'
|
1385
|
-
context[:gem_version] = '1.
|
1568
|
+
context[:gem_version] = '1.17.0'
|
1386
1569
|
Seahorse::Client::Request.new(handlers, context)
|
1387
1570
|
end
|
1388
1571
|
|
@@ -19,6 +19,7 @@ module Aws::InternetMonitor
|
|
19
19
|
AvailabilityMeasurement = Shapes::StructureShape.new(name: 'AvailabilityMeasurement')
|
20
20
|
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
|
21
21
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
22
|
+
ClientLocation = Shapes::StructureShape.new(name: 'ClientLocation')
|
22
23
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
23
24
|
CreateMonitorInput = Shapes::StructureShape.new(name: 'CreateMonitorInput')
|
24
25
|
CreateMonitorOutput = Shapes::StructureShape.new(name: 'CreateMonitorOutput')
|
@@ -30,6 +31,8 @@ module Aws::InternetMonitor
|
|
30
31
|
FilterParameters = Shapes::ListShape.new(name: 'FilterParameters')
|
31
32
|
GetHealthEventInput = Shapes::StructureShape.new(name: 'GetHealthEventInput')
|
32
33
|
GetHealthEventOutput = Shapes::StructureShape.new(name: 'GetHealthEventOutput')
|
34
|
+
GetInternetEventInput = Shapes::StructureShape.new(name: 'GetInternetEventInput')
|
35
|
+
GetInternetEventOutput = Shapes::StructureShape.new(name: 'GetInternetEventOutput')
|
33
36
|
GetMonitorInput = Shapes::StructureShape.new(name: 'GetMonitorInput')
|
34
37
|
GetMonitorOutput = Shapes::StructureShape.new(name: 'GetMonitorOutput')
|
35
38
|
GetQueryResultsInput = Shapes::StructureShape.new(name: 'GetQueryResultsInput')
|
@@ -46,12 +49,20 @@ module Aws::InternetMonitor
|
|
46
49
|
ImpactedLocationsList = Shapes::ListShape.new(name: 'ImpactedLocationsList')
|
47
50
|
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
|
48
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')
|
49
58
|
InternetHealth = Shapes::StructureShape.new(name: 'InternetHealth')
|
50
59
|
InternetMeasurementsLogDelivery = Shapes::StructureShape.new(name: 'InternetMeasurementsLogDelivery')
|
51
60
|
Ipv4PrefixList = Shapes::ListShape.new(name: 'Ipv4PrefixList')
|
52
61
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
53
62
|
ListHealthEventsInput = Shapes::StructureShape.new(name: 'ListHealthEventsInput')
|
54
63
|
ListHealthEventsOutput = Shapes::StructureShape.new(name: 'ListHealthEventsOutput')
|
64
|
+
ListInternetEventsInput = Shapes::StructureShape.new(name: 'ListInternetEventsInput')
|
65
|
+
ListInternetEventsOutput = Shapes::StructureShape.new(name: 'ListInternetEventsOutput')
|
55
66
|
ListMonitorsInput = Shapes::StructureShape.new(name: 'ListMonitorsInput')
|
56
67
|
ListMonitorsOutput = Shapes::StructureShape.new(name: 'ListMonitorsOutput')
|
57
68
|
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
@@ -120,6 +131,16 @@ module Aws::InternetMonitor
|
|
120
131
|
BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
121
132
|
BadRequestException.struct_class = Types::BadRequestException
|
122
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
|
+
|
123
144
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
124
145
|
ConflictException.struct_class = Types::ConflictException
|
125
146
|
|
@@ -169,6 +190,18 @@ module Aws::InternetMonitor
|
|
169
190
|
GetHealthEventOutput.add_member(:health_score_threshold, Shapes::ShapeRef.new(shape: Percentage, location_name: "HealthScoreThreshold"))
|
170
191
|
GetHealthEventOutput.struct_class = Types::GetHealthEventOutput
|
171
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
|
+
|
172
205
|
GetMonitorInput.add_member(:monitor_name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location: "uri", location_name: "MonitorName"))
|
173
206
|
GetMonitorInput.add_member(:linked_account_id, Shapes::ShapeRef.new(shape: AccountId, location: "querystring", location_name: "LinkedAccountId"))
|
174
207
|
GetMonitorInput.struct_class = Types::GetMonitorInput
|
@@ -252,6 +285,17 @@ module Aws::InternetMonitor
|
|
252
285
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
253
286
|
InternalServerException.struct_class = Types::InternalServerException
|
254
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
|
+
|
255
299
|
InternetHealth.add_member(:availability, Shapes::ShapeRef.new(shape: AvailabilityMeasurement, location_name: "Availability"))
|
256
300
|
InternetHealth.add_member(:performance, Shapes::ShapeRef.new(shape: PerformanceMeasurement, location_name: "Performance"))
|
257
301
|
InternetHealth.struct_class = Types::InternetHealth
|
@@ -277,6 +321,18 @@ module Aws::InternetMonitor
|
|
277
321
|
ListHealthEventsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
278
322
|
ListHealthEventsOutput.struct_class = Types::ListHealthEventsOutput
|
279
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
|
+
|
280
336
|
ListMonitorsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "NextToken"))
|
281
337
|
ListMonitorsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
282
338
|
ListMonitorsInput.add_member(:monitor_status, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "MonitorStatus"))
|
@@ -465,6 +521,18 @@ module Aws::InternetMonitor
|
|
465
521
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
466
522
|
end)
|
467
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
|
+
|
468
536
|
api.add_operation(:get_monitor, Seahorse::Model::Operation.new.tap do |o|
|
469
537
|
o.name = "GetMonitor"
|
470
538
|
o.http_method = "GET"
|
@@ -527,6 +595,24 @@ module Aws::InternetMonitor
|
|
527
595
|
)
|
528
596
|
end)
|
529
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
|
+
|
530
616
|
api.add_operation(:list_monitors, Seahorse::Model::Operation.new.tap do |o|
|
531
617
|
o.name = "ListMonitors"
|
532
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
|
@@ -338,7 +398,16 @@ module Aws::InternetMonitor
|
|
338
398
|
# @return [String]
|
339
399
|
#
|
340
400
|
# @!attribute [rw] linked_account_id
|
341
|
-
#
|
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
|
342
411
|
# @return [String]
|
343
412
|
#
|
344
413
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetHealthEventInput AWS API Documentation
|
@@ -422,12 +491,77 @@ module Aws::InternetMonitor
|
|
422
491
|
include Aws::Structure
|
423
492
|
end
|
424
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
|
+
|
425
550
|
# @!attribute [rw] monitor_name
|
426
551
|
# The name of the monitor.
|
427
552
|
# @return [String]
|
428
553
|
#
|
429
554
|
# @!attribute [rw] linked_account_id
|
430
|
-
#
|
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
|
431
565
|
# @return [String]
|
432
566
|
#
|
433
567
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetMonitorInput AWS API Documentation
|
@@ -670,7 +804,7 @@ module Aws::InternetMonitor
|
|
670
804
|
# @return [Array<Types::ImpactedLocation>]
|
671
805
|
#
|
672
806
|
# @!attribute [rw] status
|
673
|
-
#
|
807
|
+
# The status of a health event.
|
674
808
|
# @return [String]
|
675
809
|
#
|
676
810
|
# @!attribute [rw] percent_of_total_traffic_impacted
|
@@ -780,7 +914,7 @@ module Aws::InternetMonitor
|
|
780
914
|
# locations.
|
781
915
|
#
|
782
916
|
# @!attribute [rw] as_name
|
783
|
-
# The name of the
|
917
|
+
# The name of the internet service provider (ISP) or network (ASN).
|
784
918
|
# @return [String]
|
785
919
|
#
|
786
920
|
# @!attribute [rw] as_number
|
@@ -903,6 +1037,57 @@ module Aws::InternetMonitor
|
|
903
1037
|
include Aws::Structure
|
904
1038
|
end
|
905
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
|
+
|
906
1091
|
# Internet health includes measurements calculated by Amazon CloudWatch
|
907
1092
|
# Internet Monitor about the performance and availability for your
|
908
1093
|
# application on the internet. Amazon Web Services has substantial
|
@@ -1017,7 +1202,16 @@ module Aws::InternetMonitor
|
|
1017
1202
|
# @return [String]
|
1018
1203
|
#
|
1019
1204
|
# @!attribute [rw] linked_account_id
|
1020
|
-
#
|
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
|
1021
1215
|
# @return [String]
|
1022
1216
|
#
|
1023
1217
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListHealthEventsInput AWS API Documentation
|
@@ -1052,6 +1246,64 @@ module Aws::InternetMonitor
|
|
1052
1246
|
include Aws::Structure
|
1053
1247
|
end
|
1054
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
|
+
|
1055
1307
|
# @!attribute [rw] next_token
|
1056
1308
|
# The token for the next set of results. You receive this token from a
|
1057
1309
|
# previous call.
|
@@ -1074,7 +1326,17 @@ module Aws::InternetMonitor
|
|
1074
1326
|
# @return [String]
|
1075
1327
|
#
|
1076
1328
|
# @!attribute [rw] include_linked_accounts
|
1077
|
-
#
|
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
|
1078
1340
|
# @return [Boolean]
|
1079
1341
|
#
|
1080
1342
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListMonitorsInput AWS API Documentation
|
@@ -1212,11 +1474,11 @@ module Aws::InternetMonitor
|
|
1212
1474
|
include Aws::Structure
|
1213
1475
|
end
|
1214
1476
|
|
1215
|
-
# An internet service provider (ISP) or network in Amazon
|
1216
|
-
# Internet Monitor.
|
1477
|
+
# An internet service provider (ISP) or network (ASN) in Amazon
|
1478
|
+
# CloudWatch Internet Monitor.
|
1217
1479
|
#
|
1218
1480
|
# @!attribute [rw] as_name
|
1219
|
-
# The internet provider
|
1481
|
+
# The name of the internet service provider (ISP) or network (ASN).
|
1220
1482
|
# @return [String]
|
1221
1483
|
#
|
1222
1484
|
# @!attribute [rw] as_number
|
@@ -1246,7 +1508,7 @@ module Aws::InternetMonitor
|
|
1246
1508
|
# @return [Array<Types::Network>]
|
1247
1509
|
#
|
1248
1510
|
# @!attribute [rw] network_event_type
|
1249
|
-
#
|
1511
|
+
# The type of network impairment.
|
1250
1512
|
# @return [String]
|
1251
1513
|
#
|
1252
1514
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/NetworkImpairment AWS API Documentation
|
@@ -1528,7 +1790,16 @@ module Aws::InternetMonitor
|
|
1528
1790
|
# @return [Array<Types::FilterParameter>]
|
1529
1791
|
#
|
1530
1792
|
# @!attribute [rw] linked_account_id
|
1531
|
-
#
|
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
|
1532
1803
|
# @return [String]
|
1533
1804
|
#
|
1534
1805
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/StartQueryInput AWS API Documentation
|
data/sig/client.rbs
CHANGED
@@ -140,6 +140,22 @@ module Aws
|
|
140
140
|
) -> _GetHealthEventResponseSuccess
|
141
141
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetHealthEventResponseSuccess
|
142
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
|
+
|
143
159
|
interface _GetMonitorResponseSuccess
|
144
160
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetMonitorOutput]
|
145
161
|
def monitor_name: () -> ::String
|
@@ -205,6 +221,22 @@ module Aws
|
|
205
221
|
) -> _ListHealthEventsResponseSuccess
|
206
222
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListHealthEventsResponseSuccess
|
207
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
|
+
|
208
240
|
interface _ListMonitorsResponseSuccess
|
209
241
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListMonitorsOutput]
|
210
242
|
def monitors: () -> ::Array[Types::Monitor]
|
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: []
|
@@ -85,6 +97,22 @@ module Aws::InternetMonitor
|
|
85
97
|
SENSITIVE: []
|
86
98
|
end
|
87
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
|
+
|
88
116
|
class GetMonitorInput
|
89
117
|
attr_accessor monitor_name: ::String
|
90
118
|
attr_accessor linked_account_id: ::String
|
@@ -186,6 +214,17 @@ module Aws::InternetMonitor
|
|
186
214
|
SENSITIVE: []
|
187
215
|
end
|
188
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
|
+
|
189
228
|
class InternetHealth
|
190
229
|
attr_accessor availability: Types::AvailabilityMeasurement
|
191
230
|
attr_accessor performance: Types::PerformanceMeasurement
|
@@ -219,6 +258,22 @@ module Aws::InternetMonitor
|
|
219
258
|
SENSITIVE: []
|
220
259
|
end
|
221
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
|
+
|
222
277
|
class ListMonitorsInput
|
223
278
|
attr_accessor next_token: ::String
|
224
279
|
attr_accessor max_results: ::Integer
|
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
|