aws-sdk-internetmonitor 1.16.0 → 1.18.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5fcb87fd29d2002c26e39668cd7d6e2e21ace29eb7ee412d1665a3868c0e5ee9
4
- data.tar.gz: 59f9b516780658967c17e1f813f98ae70eb17a4d0058a4e14e58cfbceb1a10f9
3
+ metadata.gz: 2b1179f8d8efbfba981c5f0e0987a57b9ba7457eecaca4b84e7ef451663df24b
4
+ data.tar.gz: bff4e41bd375a43522c7f1c7328896c64b721029bc42e2db935bc313d0971be7
5
5
  SHA512:
6
- metadata.gz: 9644928eb11e1c0c9c8361d3fa42e2ad15dd5c164b42b1cc7aa329278f9f47b3c6332bebffef5a72fc95d91e9de4a37c0dfc652f3bd09f91e5eee20b10700a7e
7
- data.tar.gz: 1ffad2d0d60a00bfb8477c6ef69f9393f091b41bace5065ba077977ca594a1074fdb100345360847c361fab9b36bd2eff534f9e772c7bf9366be8abfd77a0a9a
6
+ metadata.gz: b91c0e5e37b07f4e53a92f9287248b5e8bfac42554c4d27c7a2b3e9f04c2fcdc664f04b8132d80fe92a2f2dcd280fd5db5a0f526e9432ac83f17e7a50bafb1bf
7
+ data.tar.gz: 755ae32e331dfa94ce1a584ebc69fa145dc6ccb1ef24d32d5c283270397bbcda0cee170a85d975467c539b5ef0a4ff74558f5fdab0d60f61d2e768cf6913196f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.18.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.17.0 (2024-04-19)
10
+ ------------------
11
+
12
+ * Feature - This update introduces the GetInternetEvent and ListInternetEvents APIs, which provide access to internet events displayed on the Amazon CloudWatch Internet Weather Map.
13
+
4
14
  1.16.0 (2024-03-29)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.16.0
1
+ 1.18.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::InternetMonitor
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::InternetMonitor
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::InternetMonitor
337
346
  # @option options [Aws::InternetMonitor::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::InternetMonitor::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
365
399
  #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
368
402
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
372
405
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
378
- #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -567,7 +591,7 @@ module Aws::InternetMonitor
567
591
  req.send_request(options)
568
592
  end
569
593
 
570
- # Gets information the Amazon CloudWatch Internet Monitor has created
594
+ # Gets information that Amazon CloudWatch Internet Monitor has created
571
595
  # and stored about a health event for a specified monitor. This
572
596
  # information includes the impacted locations, and all the information
573
597
  # related to the event, by location.
@@ -588,7 +612,16 @@ module Aws::InternetMonitor
588
612
  # URL-encode the `EventID` field in the request URL.
589
613
  #
590
614
  # @option params [String] :linked_account_id
591
- # TBD
615
+ # The account ID for an account that you've set up cross-account
616
+ # sharing for in Amazon CloudWatch Internet Monitor. You configure
617
+ # cross-account sharing by using Amazon CloudWatch Observability Access
618
+ # Manager. For more information, see [Internet Monitor cross-account
619
+ # observability][1] in the Amazon CloudWatch Internet Monitor User
620
+ # Guide.
621
+ #
622
+ #
623
+ #
624
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
592
625
  #
593
626
  # @return [Types::GetHealthEventOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
594
627
  #
@@ -665,6 +698,61 @@ module Aws::InternetMonitor
665
698
  req.send_request(options)
666
699
  end
667
700
 
701
+ # Gets information that Amazon CloudWatch Internet Monitor has generated
702
+ # about an internet event. Internet Monitor displays information about
703
+ # recent global health events, called internet events, on a global
704
+ # outages map that is available to all Amazon Web Services customers.
705
+ #
706
+ # The information returned here includes the impacted location, when the
707
+ # event started and (if the event is over) ended, the type of event
708
+ # (`PERFORMANCE` or `AVAILABILITY`), and the status (`ACTIVE` or
709
+ # `RESOLVED`).
710
+ #
711
+ # @option params [required, String] :event_id
712
+ # The `EventId` of the internet event to return information for.
713
+ #
714
+ # @return [Types::GetInternetEventOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
715
+ #
716
+ # * {Types::GetInternetEventOutput#event_id #event_id} => String
717
+ # * {Types::GetInternetEventOutput#event_arn #event_arn} => String
718
+ # * {Types::GetInternetEventOutput#started_at #started_at} => Time
719
+ # * {Types::GetInternetEventOutput#ended_at #ended_at} => Time
720
+ # * {Types::GetInternetEventOutput#client_location #client_location} => Types::ClientLocation
721
+ # * {Types::GetInternetEventOutput#event_type #event_type} => String
722
+ # * {Types::GetInternetEventOutput#event_status #event_status} => String
723
+ #
724
+ # @example Request syntax with placeholder values
725
+ #
726
+ # resp = client.get_internet_event({
727
+ # event_id: "InternetEventId", # required
728
+ # })
729
+ #
730
+ # @example Response structure
731
+ #
732
+ # resp.event_id #=> String
733
+ # resp.event_arn #=> String
734
+ # resp.started_at #=> Time
735
+ # resp.ended_at #=> Time
736
+ # resp.client_location.as_name #=> String
737
+ # resp.client_location.as_number #=> Integer
738
+ # resp.client_location.country #=> String
739
+ # resp.client_location.subdivision #=> String
740
+ # resp.client_location.metro #=> String
741
+ # resp.client_location.city #=> String
742
+ # resp.client_location.latitude #=> Float
743
+ # resp.client_location.longitude #=> Float
744
+ # resp.event_type #=> String, one of "AVAILABILITY", "PERFORMANCE"
745
+ # resp.event_status #=> String, one of "ACTIVE", "RESOLVED"
746
+ #
747
+ # @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetInternetEvent AWS API Documentation
748
+ #
749
+ # @overload get_internet_event(params = {})
750
+ # @param [Hash] params ({})
751
+ def get_internet_event(params = {}, options = {})
752
+ req = build_request(:get_internet_event, params)
753
+ req.send_request(options)
754
+ end
755
+
668
756
  # Gets information about a monitor in Amazon CloudWatch Internet Monitor
669
757
  # based on a monitor name. The information returned includes the Amazon
670
758
  # Resource Name (ARN), create time, modified time, resources included in
@@ -674,7 +762,16 @@ module Aws::InternetMonitor
674
762
  # The name of the monitor.
675
763
  #
676
764
  # @option params [String] :linked_account_id
677
- # TBD
765
+ # The account ID for an account that you've set up cross-account
766
+ # sharing for in Amazon CloudWatch Internet Monitor. You configure
767
+ # cross-account sharing by using Amazon CloudWatch Observability Access
768
+ # Manager. For more information, see [Internet Monitor cross-account
769
+ # observability][1] in the Amazon CloudWatch Internet Monitor User
770
+ # Guide.
771
+ #
772
+ #
773
+ #
774
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
678
775
  #
679
776
  # @return [Types::GetMonitorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
680
777
  #
@@ -845,7 +942,7 @@ module Aws::InternetMonitor
845
942
 
846
943
  # Lists all health events for a monitor in Amazon CloudWatch Internet
847
944
  # Monitor. Returns information for health events including the event
848
- # start and end time and the status.
945
+ # start and end times, and the status.
849
946
  #
850
947
  # <note markdown="1"> Health events that have start times during the time frame that is
851
948
  # requested are not included in the list of health events.
@@ -874,7 +971,16 @@ module Aws::InternetMonitor
874
971
  # The status of a health event.
875
972
  #
876
973
  # @option params [String] :linked_account_id
877
- # TBD
974
+ # The account ID for an account that you've set up cross-account
975
+ # sharing for in Amazon CloudWatch Internet Monitor. You configure
976
+ # cross-account sharing by using Amazon CloudWatch Observability Access
977
+ # Manager. For more information, see [Internet Monitor cross-account
978
+ # observability][1] in the Amazon CloudWatch Internet Monitor User
979
+ # Guide.
980
+ #
981
+ #
982
+ #
983
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
878
984
  #
879
985
  # @return [Types::ListHealthEventsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
880
986
  #
@@ -950,6 +1056,88 @@ module Aws::InternetMonitor
950
1056
  req.send_request(options)
951
1057
  end
952
1058
 
1059
+ # Lists internet events that cause performance or availability issues
1060
+ # for client locations. Amazon CloudWatch Internet Monitor displays
1061
+ # information about recent global health events, called internet events,
1062
+ # on a global outages map that is available to all Amazon Web Services
1063
+ # customers.
1064
+ #
1065
+ # You can constrain the list of internet events returned by providing a
1066
+ # start time and end time to define a total time frame for events you
1067
+ # want to list. Both start time and end time specify the time when an
1068
+ # event started. End time is optional. If you don't include it, the
1069
+ # default end time is the current time.
1070
+ #
1071
+ # You can also limit the events returned to a specific status (`ACTIVE`
1072
+ # or `RESOLVED`) or type (`PERFORMANCE` or `AVAILABILITY`).
1073
+ #
1074
+ # @option params [String] :next_token
1075
+ # The token for the next set of results. You receive this token from a
1076
+ # previous call.
1077
+ #
1078
+ # @option params [Integer] :max_results
1079
+ # The number of query results that you want to return with this call.
1080
+ #
1081
+ # @option params [Time,DateTime,Date,Integer,String] :start_time
1082
+ # The start time of the time window that you want to get a list of
1083
+ # internet events for.
1084
+ #
1085
+ # @option params [Time,DateTime,Date,Integer,String] :end_time
1086
+ # The end time of the time window that you want to get a list of
1087
+ # internet events for.
1088
+ #
1089
+ # @option params [String] :event_status
1090
+ # The status of an internet event.
1091
+ #
1092
+ # @option params [String] :event_type
1093
+ # The type of network impairment.
1094
+ #
1095
+ # @return [Types::ListInternetEventsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1096
+ #
1097
+ # * {Types::ListInternetEventsOutput#internet_events #internet_events} => Array&lt;Types::InternetEventSummary&gt;
1098
+ # * {Types::ListInternetEventsOutput#next_token #next_token} => String
1099
+ #
1100
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1101
+ #
1102
+ # @example Request syntax with placeholder values
1103
+ #
1104
+ # resp = client.list_internet_events({
1105
+ # next_token: "String",
1106
+ # max_results: 1,
1107
+ # start_time: Time.now,
1108
+ # end_time: Time.now,
1109
+ # event_status: "String",
1110
+ # event_type: "String",
1111
+ # })
1112
+ #
1113
+ # @example Response structure
1114
+ #
1115
+ # resp.internet_events #=> Array
1116
+ # resp.internet_events[0].event_id #=> String
1117
+ # resp.internet_events[0].event_arn #=> String
1118
+ # resp.internet_events[0].started_at #=> Time
1119
+ # resp.internet_events[0].ended_at #=> Time
1120
+ # resp.internet_events[0].client_location.as_name #=> String
1121
+ # resp.internet_events[0].client_location.as_number #=> Integer
1122
+ # resp.internet_events[0].client_location.country #=> String
1123
+ # resp.internet_events[0].client_location.subdivision #=> String
1124
+ # resp.internet_events[0].client_location.metro #=> String
1125
+ # resp.internet_events[0].client_location.city #=> String
1126
+ # resp.internet_events[0].client_location.latitude #=> Float
1127
+ # resp.internet_events[0].client_location.longitude #=> Float
1128
+ # resp.internet_events[0].event_type #=> String, one of "AVAILABILITY", "PERFORMANCE"
1129
+ # resp.internet_events[0].event_status #=> String, one of "ACTIVE", "RESOLVED"
1130
+ # resp.next_token #=> String
1131
+ #
1132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/ListInternetEvents AWS API Documentation
1133
+ #
1134
+ # @overload list_internet_events(params = {})
1135
+ # @param [Hash] params ({})
1136
+ def list_internet_events(params = {}, options = {})
1137
+ req = build_request(:list_internet_events, params)
1138
+ req.send_request(options)
1139
+ end
1140
+
953
1141
  # Lists all of your monitors for Amazon CloudWatch Internet Monitor and
954
1142
  # their statuses, along with the Amazon Resource Name (ARN) and name of
955
1143
  # each monitor.
@@ -972,7 +1160,17 @@ module Aws::InternetMonitor
972
1160
  # [1]: https://docs.aws.amazon.com/internet-monitor/latest/api/API_Monitor.html
973
1161
  #
974
1162
  # @option params [Boolean] :include_linked_accounts
975
- # TBD
1163
+ # A boolean option that you can set to `TRUE` to include monitors for
1164
+ # linked accounts in a list of monitors, when you've set up
1165
+ # cross-account sharing in Amazon CloudWatch Internet Monitor. You
1166
+ # configure cross-account sharing by using Amazon CloudWatch
1167
+ # Observability Access Manager. For more information, see [Internet
1168
+ # Monitor cross-account observability][1] in the Amazon CloudWatch
1169
+ # Internet Monitor User Guide.
1170
+ #
1171
+ #
1172
+ #
1173
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
976
1174
  #
977
1175
  # @return [Types::ListMonitorsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
978
1176
  #
@@ -1104,7 +1302,16 @@ module Aws::InternetMonitor
1104
1302
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-IM-view-cw-tools-cwim-query.html
1105
1303
  #
1106
1304
  # @option params [String] :linked_account_id
1107
- # TBD
1305
+ # The account ID for an account that you've set up cross-account
1306
+ # sharing for in Amazon CloudWatch Internet Monitor. You configure
1307
+ # cross-account sharing by using Amazon CloudWatch Observability Access
1308
+ # Manager. For more information, see [Internet Monitor cross-account
1309
+ # observability][1] in the Amazon CloudWatch Internet Monitor User
1310
+ # Guide.
1311
+ #
1312
+ #
1313
+ #
1314
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cwim-cross-account.html
1108
1315
  #
1109
1316
  # @return [Types::StartQueryOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1110
1317
  #
@@ -1382,7 +1589,7 @@ module Aws::InternetMonitor
1382
1589
  params: params,
1383
1590
  config: config)
1384
1591
  context[:gem_name] = 'aws-sdk-internetmonitor'
1385
- context[:gem_version] = '1.16.0'
1592
+ context[:gem_version] = '1.18.0'
1386
1593
  Seahorse::Client::Request.new(handlers, context)
1387
1594
  end
1388
1595
 
@@ -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
- # TBD
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
- # TBD
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
- # Health event list member.
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 network at an impacted location.
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
- # TBD
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
- # TBD
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 CloudWatch
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 name or network name.
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
- # Type of network impairment.
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
- # TBD
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
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-internetmonitor/customizations'
53
53
  # @!group service
54
54
  module Aws::InternetMonitor
55
55
 
56
- GEM_VERSION = '1.16.0'
56
+ GEM_VERSION = '1.18.0'
57
57
 
58
58
  end
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.16.0
4
+ version: 1.18.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-03-29 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.191.0
22
+ version: 3.193.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.191.0
32
+ version: 3.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement