aws-sdk-internetmonitor 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-internetmonitor/client.rb +17 -6
- data/lib/aws-sdk-internetmonitor/client_api.rb +6 -2
- data/lib/aws-sdk-internetmonitor/types.rb +24 -9
- data/lib/aws-sdk-internetmonitor.rb +1 -1
- 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: e7ea1492a3cc1dafd274eba8d6e5a468c2116c7aef7698cb4571181b9e45d353
|
4
|
+
data.tar.gz: 44ad1747125596e48e9e513527ce3396315bcd6a038e05e1c383c8647ad06541
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3f871acf6cd9d6d5f4a67e7970d4da9ae2c539e83b082c75d315bd400c76fed48022276bd20c463d942ad0905e804111c2ef4df7c30c15602f6d524510f4b12
|
7
|
+
data.tar.gz: 6b343f3828f6458ee5ef608af0dcd4bd32f8dfa00f505bd731cc8d3a231526f4d1594f4344abd15f4b4eed40ef82034d7fe2b8ba9bcdda25300f60d28b53fea9
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.2.0 (2023-04-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release includes a new configurable value, TrafficPercentageToMonitor, which allows users to adjust the amount of traffic monitored by percentage
|
8
|
+
|
4
9
|
1.1.0 (2023-03-31)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -420,7 +420,7 @@ module Aws::InternetMonitor
|
|
420
420
|
# The tags for a monitor. You can add a maximum of 50 tags in Internet
|
421
421
|
# Monitor.
|
422
422
|
#
|
423
|
-
# @option params [
|
423
|
+
# @option params [Integer] :max_city_networks_to_monitor
|
424
424
|
# The maximum number of city-networks to monitor for your resources. A
|
425
425
|
# city-network is the location (city) where clients access your
|
426
426
|
# application resources from and the network or ASN, such as an internet
|
@@ -436,9 +436,12 @@ module Aws::InternetMonitor
|
|
436
436
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMCityNetworksMaximum.html
|
437
437
|
#
|
438
438
|
# @option params [Types::InternetMeasurementsLogDelivery] :internet_measurements_log_delivery
|
439
|
-
# Publish internet measurements for Internet Monitor to
|
440
|
-
#
|
441
|
-
#
|
439
|
+
# Publish internet measurements for Internet Monitor to an Amazon S3
|
440
|
+
# bucket in addition to CloudWatch Logs.
|
441
|
+
#
|
442
|
+
# @option params [Integer] :traffic_percentage_to_monitor
|
443
|
+
# The percentage of the internet-facing traffic for your application
|
444
|
+
# that you want to monitor with this monitor.
|
442
445
|
#
|
443
446
|
# @return [Types::CreateMonitorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
444
447
|
#
|
@@ -454,7 +457,7 @@ module Aws::InternetMonitor
|
|
454
457
|
# tags: {
|
455
458
|
# "TagKey" => "TagValue",
|
456
459
|
# },
|
457
|
-
# max_city_networks_to_monitor: 1,
|
460
|
+
# max_city_networks_to_monitor: 1,
|
458
461
|
# internet_measurements_log_delivery: {
|
459
462
|
# s3_config: {
|
460
463
|
# bucket_name: "S3ConfigBucketNameString",
|
@@ -462,6 +465,7 @@ module Aws::InternetMonitor
|
|
462
465
|
# log_delivery_status: "ENABLED", # accepts ENABLED, DISABLED
|
463
466
|
# },
|
464
467
|
# },
|
468
|
+
# traffic_percentage_to_monitor: 1,
|
465
469
|
# })
|
466
470
|
#
|
467
471
|
# @example Response structure
|
@@ -611,6 +615,7 @@ module Aws::InternetMonitor
|
|
611
615
|
# * {Types::GetMonitorOutput#tags #tags} => Hash<String,String>
|
612
616
|
# * {Types::GetMonitorOutput#max_city_networks_to_monitor #max_city_networks_to_monitor} => Integer
|
613
617
|
# * {Types::GetMonitorOutput#internet_measurements_log_delivery #internet_measurements_log_delivery} => Types::InternetMeasurementsLogDelivery
|
618
|
+
# * {Types::GetMonitorOutput#traffic_percentage_to_monitor #traffic_percentage_to_monitor} => Integer
|
614
619
|
#
|
615
620
|
# @example Request syntax with placeholder values
|
616
621
|
#
|
@@ -635,6 +640,7 @@ module Aws::InternetMonitor
|
|
635
640
|
# resp.internet_measurements_log_delivery.s3_config.bucket_name #=> String
|
636
641
|
# resp.internet_measurements_log_delivery.s3_config.bucket_prefix #=> String
|
637
642
|
# resp.internet_measurements_log_delivery.s3_config.log_delivery_status #=> String, one of "ENABLED", "DISABLED"
|
643
|
+
# resp.traffic_percentage_to_monitor #=> Integer
|
638
644
|
#
|
639
645
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetMonitor AWS API Documentation
|
640
646
|
#
|
@@ -951,6 +957,10 @@ module Aws::InternetMonitor
|
|
951
957
|
# location, such as an Amazon S3 bucket. The measurements are also
|
952
958
|
# published to Amazon CloudWatch Logs.
|
953
959
|
#
|
960
|
+
# @option params [Integer] :traffic_percentage_to_monitor
|
961
|
+
# The percentage of the internet-facing traffic for your application
|
962
|
+
# that you want to monitor with this monitor.
|
963
|
+
#
|
954
964
|
# @return [Types::UpdateMonitorOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
955
965
|
#
|
956
966
|
# * {Types::UpdateMonitorOutput#monitor_arn #monitor_arn} => String
|
@@ -972,6 +982,7 @@ module Aws::InternetMonitor
|
|
972
982
|
# log_delivery_status: "ENABLED", # accepts ENABLED, DISABLED
|
973
983
|
# },
|
974
984
|
# },
|
985
|
+
# traffic_percentage_to_monitor: 1,
|
975
986
|
# })
|
976
987
|
#
|
977
988
|
# @example Response structure
|
@@ -1001,7 +1012,7 @@ module Aws::InternetMonitor
|
|
1001
1012
|
params: params,
|
1002
1013
|
config: config)
|
1003
1014
|
context[:gem_name] = 'aws-sdk-internetmonitor'
|
1004
|
-
context[:gem_version] = '1.
|
1015
|
+
context[:gem_version] = '1.2.0'
|
1005
1016
|
Seahorse::Client::Request.new(handlers, context)
|
1006
1017
|
end
|
1007
1018
|
|
@@ -75,6 +75,7 @@ module Aws::InternetMonitor
|
|
75
75
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
76
76
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
77
77
|
TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
|
78
|
+
TrafficPercentageToMonitor = Shapes::IntegerShape.new(name: 'TrafficPercentageToMonitor')
|
78
79
|
TriangulationEventType = Shapes::StringShape.new(name: 'TriangulationEventType')
|
79
80
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
80
81
|
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
@@ -100,8 +101,9 @@ module Aws::InternetMonitor
|
|
100
101
|
CreateMonitorInput.add_member(:resources, Shapes::ShapeRef.new(shape: SetOfARNs, location_name: "Resources"))
|
101
102
|
CreateMonitorInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
102
103
|
CreateMonitorInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
103
|
-
CreateMonitorInput.add_member(:max_city_networks_to_monitor, Shapes::ShapeRef.new(shape: MaxCityNetworksToMonitor,
|
104
|
+
CreateMonitorInput.add_member(:max_city_networks_to_monitor, Shapes::ShapeRef.new(shape: MaxCityNetworksToMonitor, location_name: "MaxCityNetworksToMonitor"))
|
104
105
|
CreateMonitorInput.add_member(:internet_measurements_log_delivery, Shapes::ShapeRef.new(shape: InternetMeasurementsLogDelivery, location_name: "InternetMeasurementsLogDelivery"))
|
106
|
+
CreateMonitorInput.add_member(:traffic_percentage_to_monitor, Shapes::ShapeRef.new(shape: TrafficPercentageToMonitor, location_name: "TrafficPercentageToMonitor"))
|
105
107
|
CreateMonitorInput.struct_class = Types::CreateMonitorInput
|
106
108
|
|
107
109
|
CreateMonitorOutput.add_member(:arn, Shapes::ShapeRef.new(shape: MonitorArn, required: true, location_name: "Arn"))
|
@@ -141,8 +143,9 @@ module Aws::InternetMonitor
|
|
141
143
|
GetMonitorOutput.add_member(:processing_status, Shapes::ShapeRef.new(shape: MonitorProcessingStatusCode, location_name: "ProcessingStatus"))
|
142
144
|
GetMonitorOutput.add_member(:processing_status_info, Shapes::ShapeRef.new(shape: String, location_name: "ProcessingStatusInfo"))
|
143
145
|
GetMonitorOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
|
144
|
-
GetMonitorOutput.add_member(:max_city_networks_to_monitor, Shapes::ShapeRef.new(shape: MaxCityNetworksToMonitor,
|
146
|
+
GetMonitorOutput.add_member(:max_city_networks_to_monitor, Shapes::ShapeRef.new(shape: MaxCityNetworksToMonitor, location_name: "MaxCityNetworksToMonitor"))
|
145
147
|
GetMonitorOutput.add_member(:internet_measurements_log_delivery, Shapes::ShapeRef.new(shape: InternetMeasurementsLogDelivery, location_name: "InternetMeasurementsLogDelivery"))
|
148
|
+
GetMonitorOutput.add_member(:traffic_percentage_to_monitor, Shapes::ShapeRef.new(shape: TrafficPercentageToMonitor, location_name: "TrafficPercentageToMonitor"))
|
146
149
|
GetMonitorOutput.struct_class = Types::GetMonitorOutput
|
147
150
|
|
148
151
|
HealthEvent.add_member(:event_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "EventArn"))
|
@@ -293,6 +296,7 @@ module Aws::InternetMonitor
|
|
293
296
|
UpdateMonitorInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
294
297
|
UpdateMonitorInput.add_member(:max_city_networks_to_monitor, Shapes::ShapeRef.new(shape: MaxCityNetworksToMonitor, location_name: "MaxCityNetworksToMonitor"))
|
295
298
|
UpdateMonitorInput.add_member(:internet_measurements_log_delivery, Shapes::ShapeRef.new(shape: InternetMeasurementsLogDelivery, location_name: "InternetMeasurementsLogDelivery"))
|
299
|
+
UpdateMonitorInput.add_member(:traffic_percentage_to_monitor, Shapes::ShapeRef.new(shape: TrafficPercentageToMonitor, location_name: "TrafficPercentageToMonitor"))
|
296
300
|
UpdateMonitorInput.struct_class = Types::UpdateMonitorInput
|
297
301
|
|
298
302
|
UpdateMonitorOutput.add_member(:monitor_arn, Shapes::ShapeRef.new(shape: MonitorArn, required: true, location_name: "MonitorArn"))
|
@@ -181,11 +181,15 @@ module Aws::InternetMonitor
|
|
181
181
|
# @return [Integer]
|
182
182
|
#
|
183
183
|
# @!attribute [rw] internet_measurements_log_delivery
|
184
|
-
# Publish internet measurements for Internet Monitor to
|
185
|
-
#
|
186
|
-
# published to Amazon CloudWatch Logs.
|
184
|
+
# Publish internet measurements for Internet Monitor to an Amazon S3
|
185
|
+
# bucket in addition to CloudWatch Logs.
|
187
186
|
# @return [Types::InternetMeasurementsLogDelivery]
|
188
187
|
#
|
188
|
+
# @!attribute [rw] traffic_percentage_to_monitor
|
189
|
+
# The percentage of the internet-facing traffic for your application
|
190
|
+
# that you want to monitor with this monitor.
|
191
|
+
# @return [Integer]
|
192
|
+
#
|
189
193
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/CreateMonitorInput AWS API Documentation
|
190
194
|
#
|
191
195
|
class CreateMonitorInput < Struct.new(
|
@@ -194,7 +198,8 @@ module Aws::InternetMonitor
|
|
194
198
|
:client_token,
|
195
199
|
:tags,
|
196
200
|
:max_city_networks_to_monitor,
|
197
|
-
:internet_measurements_log_delivery
|
201
|
+
:internet_measurements_log_delivery,
|
202
|
+
:traffic_percentage_to_monitor)
|
198
203
|
SENSITIVE = []
|
199
204
|
include Aws::Structure
|
200
205
|
end
|
@@ -381,6 +386,11 @@ module Aws::InternetMonitor
|
|
381
386
|
# published to Amazon CloudWatch Logs.
|
382
387
|
# @return [Types::InternetMeasurementsLogDelivery]
|
383
388
|
#
|
389
|
+
# @!attribute [rw] traffic_percentage_to_monitor
|
390
|
+
# The percentage of the internet-facing traffic for your application
|
391
|
+
# that you want to monitor with this monitor.
|
392
|
+
# @return [Integer]
|
393
|
+
#
|
384
394
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/GetMonitorOutput AWS API Documentation
|
385
395
|
#
|
386
396
|
class GetMonitorOutput < Struct.new(
|
@@ -394,7 +404,8 @@ module Aws::InternetMonitor
|
|
394
404
|
:processing_status_info,
|
395
405
|
:tags,
|
396
406
|
:max_city_networks_to_monitor,
|
397
|
-
:internet_measurements_log_delivery
|
407
|
+
:internet_measurements_log_delivery,
|
408
|
+
:traffic_percentage_to_monitor)
|
398
409
|
SENSITIVE = []
|
399
410
|
include Aws::Structure
|
400
411
|
end
|
@@ -641,9 +652,7 @@ module Aws::InternetMonitor
|
|
641
652
|
include Aws::Structure
|
642
653
|
end
|
643
654
|
|
644
|
-
#
|
645
|
-
# publish Amazon CloudWatch Internet Monitor internet measurements to,
|
646
|
-
# such as Amazon S3. The measurements are also published to Amazon
|
655
|
+
# Publish internet measurements to an Amazon S3 bucket in addition to
|
647
656
|
# CloudWatch Logs.
|
648
657
|
#
|
649
658
|
# @!attribute [rw] s3_config
|
@@ -1192,6 +1201,11 @@ module Aws::InternetMonitor
|
|
1192
1201
|
# published to Amazon CloudWatch Logs.
|
1193
1202
|
# @return [Types::InternetMeasurementsLogDelivery]
|
1194
1203
|
#
|
1204
|
+
# @!attribute [rw] traffic_percentage_to_monitor
|
1205
|
+
# The percentage of the internet-facing traffic for your application
|
1206
|
+
# that you want to monitor with this monitor.
|
1207
|
+
# @return [Integer]
|
1208
|
+
#
|
1195
1209
|
# @see http://docs.aws.amazon.com/goto/WebAPI/internetmonitor-2021-06-03/UpdateMonitorInput AWS API Documentation
|
1196
1210
|
#
|
1197
1211
|
class UpdateMonitorInput < Struct.new(
|
@@ -1201,7 +1215,8 @@ module Aws::InternetMonitor
|
|
1201
1215
|
:status,
|
1202
1216
|
:client_token,
|
1203
1217
|
:max_city_networks_to_monitor,
|
1204
|
-
:internet_measurements_log_delivery
|
1218
|
+
:internet_measurements_log_delivery,
|
1219
|
+
:traffic_percentage_to_monitor)
|
1205
1220
|
SENSITIVE = []
|
1206
1221
|
include Aws::Structure
|
1207
1222
|
end
|
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.2.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: 2023-
|
11
|
+
date: 2023-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|