aws-sdk-networkmonitor 1.0.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-networkmonitor/client.rb +69 -20
- data/lib/aws-sdk-networkmonitor/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-networkmonitor/types.rb +26 -31
- data/lib/aws-sdk-networkmonitor.rb +1 -1
- data/sig/client.rbs +281 -0
- data/sig/errors.rbs +37 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +276 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 91f1f19ffb2f7607fb13fd16c425f03249b7d18903b2030c4f23335230dc4e6f
|
4
|
+
data.tar.gz: 650137e08d4275ab1819435264a72483cf1bba99ab4d000eab879c19c274a133
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d6c236fcd7988dcf96dba3a68f8335541c3b2934593c904d79378cdfbc42a215406a13ebd642d2869ec6c046d6be2909477ffbb7b2330b109f0ca319ddf161a
|
7
|
+
data.tar.gz: df913cc8af1f4539db051f637a8c759fcf9e6dda7b328001f2bf95aae213ec5021c0779950d2fefb14497c4b529032d44af113b6d79d2e18bae53759a5ff8120
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.2.0 (2024-04-10)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Examples were added to CloudWatch Network Monitor commands.
|
8
|
+
|
9
|
+
1.1.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.0.0 (2023-12-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.2.0
|
@@ -394,16 +394,35 @@ module Aws::NetworkMonitor
|
|
394
394
|
# and your destination IP addresses. Each probe then aggregates and
|
395
395
|
# sends metrics to Amazon CloudWatch.
|
396
396
|
#
|
397
|
+
# You can also create a monitor with probes using this command. For each
|
398
|
+
# probe, you define the following:
|
399
|
+
#
|
400
|
+
# * `source`—The subnet IDs where the probes will be created.
|
401
|
+
#
|
402
|
+
# * `destination`— The target destination IP address for the probe.
|
403
|
+
#
|
404
|
+
# * `destinationPort`—Required only if the protocol is `TCP`.
|
405
|
+
#
|
406
|
+
# * `protocol`—The communication protocol between the source and
|
407
|
+
# destination. This will be either `TCP` or `ICMP`.
|
408
|
+
#
|
409
|
+
# * `packetSize`—The size of the packets. This must be a number between
|
410
|
+
# `56` and `8500`.
|
411
|
+
#
|
412
|
+
# * (Optional) `tags` —Key-value pairs created and assigned to the
|
413
|
+
# probe.
|
414
|
+
#
|
397
415
|
# @option params [required, String] :monitor_name
|
398
416
|
# The name identifying the monitor. It can contain only letters,
|
399
|
-
# underscores (\_), or dashes (-), and can be up to
|
417
|
+
# underscores (\_), or dashes (-), and can be up to 200 characters.
|
400
418
|
#
|
401
419
|
# @option params [Array<Types::CreateMonitorProbeInput>] :probes
|
402
420
|
# Displays a list of all of the probes created for a monitor.
|
403
421
|
#
|
404
422
|
# @option params [Integer] :aggregation_period
|
405
423
|
# The time, in seconds, that metrics are aggregated and sent to Amazon
|
406
|
-
# CloudWatch. Valid values are either `30` or `60`.
|
424
|
+
# CloudWatch. Valid values are either `30` or `60`. `60` is the default
|
425
|
+
# if no period is chosen.
|
407
426
|
#
|
408
427
|
# @option params [String] :client_token
|
409
428
|
# Unique, case-sensitive identifier to ensure the idempotency of the
|
@@ -466,11 +485,12 @@ module Aws::NetworkMonitor
|
|
466
485
|
|
467
486
|
# Create a probe within a monitor. Once you create a probe, and it
|
468
487
|
# begins monitoring your network traffic, you'll incur billing charges
|
469
|
-
# for that probe.
|
488
|
+
# for that probe. This action requires the `monitorName` parameter. Run
|
489
|
+
# `ListMonitors` to get a list of monitor names. Note the name of the
|
490
|
+
# `monitorName` you want to create the probe for.
|
470
491
|
#
|
471
492
|
# @option params [required, String] :monitor_name
|
472
|
-
# The name of the monitor to associated with the probe.
|
473
|
-
# available monitors, use `ListMonitors`.
|
493
|
+
# The name of the monitor to associated with the probe.
|
474
494
|
#
|
475
495
|
# @option params [required, Types::ProbeInput] :probe
|
476
496
|
# Describes the details of an individual probe for a monitor.
|
@@ -549,9 +569,11 @@ module Aws::NetworkMonitor
|
|
549
569
|
|
550
570
|
# Deletes a specified monitor.
|
551
571
|
#
|
572
|
+
# This action requires the `monitorName` parameter. Run `ListMonitors`
|
573
|
+
# to get a list of monitor names.
|
574
|
+
#
|
552
575
|
# @option params [required, String] :monitor_name
|
553
|
-
# The name of the monitor to delete.
|
554
|
-
# get a list of your current monitors.
|
576
|
+
# The name of the monitor to delete.
|
555
577
|
#
|
556
578
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
557
579
|
#
|
@@ -570,16 +592,19 @@ module Aws::NetworkMonitor
|
|
570
592
|
req.send_request(options)
|
571
593
|
end
|
572
594
|
|
573
|
-
# Deletes the specified
|
574
|
-
#
|
595
|
+
# Deletes the specified probe. Once a probe is deleted you'll no longer
|
596
|
+
# incur any billing fees for that probe.
|
597
|
+
#
|
598
|
+
# This action requires both the `monitorName` and `probeId` parameters.
|
599
|
+
# Run `ListMonitors` to get a list of monitor names. Run `GetMonitor` to
|
600
|
+
# get a list of probes and probe IDs. You can only delete a single probe
|
601
|
+
# at a time using this action.
|
575
602
|
#
|
576
603
|
# @option params [required, String] :monitor_name
|
577
|
-
# The name of the monitor to delete.
|
578
|
-
# monitors, use the `ListMonitors` action.
|
604
|
+
# The name of the monitor to delete.
|
579
605
|
#
|
580
606
|
# @option params [required, String] :probe_id
|
581
|
-
# The ID of the probe to delete.
|
582
|
-
# probes and probe IDs associated with the monitor.
|
607
|
+
# The ID of the probe to delete.
|
583
608
|
#
|
584
609
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
585
610
|
#
|
@@ -601,6 +626,9 @@ module Aws::NetworkMonitor
|
|
601
626
|
|
602
627
|
# Returns details about a specific monitor.
|
603
628
|
#
|
629
|
+
# This action requires the `monitorName` parameter. Run `ListMonitors`
|
630
|
+
# to get a list of monitor names.
|
631
|
+
#
|
604
632
|
# @option params [required, String] :monitor_name
|
605
633
|
# The name of the monitor that details are returned for.
|
606
634
|
#
|
@@ -656,8 +684,10 @@ module Aws::NetworkMonitor
|
|
656
684
|
req.send_request(options)
|
657
685
|
end
|
658
686
|
|
659
|
-
# Returns the details about a probe.
|
660
|
-
# and `probeId
|
687
|
+
# Returns the details about a probe. This action requires both the
|
688
|
+
# `monitorName` and `probeId` parameters. Run `ListMonitors` to get a
|
689
|
+
# list of monitor names. Run `GetMonitor` to get a list of probes and
|
690
|
+
# probe IDs.
|
661
691
|
#
|
662
692
|
# @option params [required, String] :monitor_name
|
663
693
|
# The name of the monitor associated with the probe. Run `ListMonitors`
|
@@ -851,11 +881,12 @@ module Aws::NetworkMonitor
|
|
851
881
|
end
|
852
882
|
|
853
883
|
# Updates the `aggregationPeriod` for a monitor. Monitors support an
|
854
|
-
# `aggregationPeriod` of either `30` or `60` seconds.
|
884
|
+
# `aggregationPeriod` of either `30` or `60` seconds. This action
|
885
|
+
# requires the `monitorName` and `probeId` parameter. Run `ListMonitors`
|
886
|
+
# to get a list of monitor names.
|
855
887
|
#
|
856
888
|
# @option params [required, String] :monitor_name
|
857
|
-
# The name of the monitor to update.
|
858
|
-
# monitor names.
|
889
|
+
# The name of the monitor to update.
|
859
890
|
#
|
860
891
|
# @option params [required, Integer] :aggregation_period
|
861
892
|
# The aggregation time, in seconds, to change to. This must be either
|
@@ -898,11 +929,29 @@ module Aws::NetworkMonitor
|
|
898
929
|
# and `probeId` parameters. Run `ListMonitors` to get a list of monitor
|
899
930
|
# names. Run `GetMonitor` to get a list of probes and probe IDs.
|
900
931
|
#
|
932
|
+
# You can update the following para create a monitor with probes using
|
933
|
+
# this command. For each probe, you define the following:
|
934
|
+
#
|
935
|
+
# * `state`—The state of the probe.
|
936
|
+
#
|
937
|
+
# * `destination`— The target destination IP address for the probe.
|
938
|
+
#
|
939
|
+
# * `destinationPort`—Required only if the protocol is `TCP`.
|
940
|
+
#
|
941
|
+
# * `protocol`—The communication protocol between the source and
|
942
|
+
# destination. This will be either `TCP` or `ICMP`.
|
943
|
+
#
|
944
|
+
# * `packetSize`—The size of the packets. This must be a number between
|
945
|
+
# `56` and `8500`.
|
946
|
+
#
|
947
|
+
# * (Optional) `tags` —Key-value pairs created and assigned to the
|
948
|
+
# probe.
|
949
|
+
#
|
901
950
|
# @option params [required, String] :monitor_name
|
902
951
|
# The name of the monitor that the probe was updated for.
|
903
952
|
#
|
904
953
|
# @option params [required, String] :probe_id
|
905
|
-
#
|
954
|
+
# The ID of the probe to update.
|
906
955
|
#
|
907
956
|
# @option params [String] :state
|
908
957
|
# The state of the probe update.
|
@@ -991,7 +1040,7 @@ module Aws::NetworkMonitor
|
|
991
1040
|
params: params,
|
992
1041
|
config: config)
|
993
1042
|
context[:gem_name] = 'aws-sdk-networkmonitor'
|
994
|
-
context[:gem_version] = '1.
|
1043
|
+
context[:gem_version] = '1.2.0'
|
995
1044
|
Seahorse::Client::Request.new(handlers, context)
|
996
1045
|
end
|
997
1046
|
|
@@ -14,6 +14,7 @@ module Aws::NetworkMonitor
|
|
14
14
|
option(
|
15
15
|
:endpoint_provider,
|
16
16
|
doc_type: 'Aws::NetworkMonitor::EndpointProvider',
|
17
|
+
rbs_type: 'untyped',
|
17
18
|
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
19
|
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
20
|
'where `parameters` is a Struct similar to '\
|
@@ -38,7 +38,7 @@ module Aws::NetworkMonitor
|
|
38
38
|
|
39
39
|
# @!attribute [rw] monitor_name
|
40
40
|
# The name identifying the monitor. It can contain only letters,
|
41
|
-
# underscores (\_), or dashes (-), and can be up to
|
41
|
+
# underscores (\_), or dashes (-), and can be up to 200 characters.
|
42
42
|
# @return [String]
|
43
43
|
#
|
44
44
|
# @!attribute [rw] probes
|
@@ -47,7 +47,8 @@ module Aws::NetworkMonitor
|
|
47
47
|
#
|
48
48
|
# @!attribute [rw] aggregation_period
|
49
49
|
# The time, in seconds, that metrics are aggregated and sent to Amazon
|
50
|
-
# CloudWatch. Valid values are either `30` or `60`.
|
50
|
+
# CloudWatch. Valid values are either `30` or `60`. `60` is the
|
51
|
+
# default if no period is chosen.
|
51
52
|
# @return [Integer]
|
52
53
|
#
|
53
54
|
# @!attribute [rw] client_token
|
@@ -115,7 +116,7 @@ module Aws::NetworkMonitor
|
|
115
116
|
# @return [String]
|
116
117
|
#
|
117
118
|
# @!attribute [rw] destination
|
118
|
-
# The destination IP address. This
|
119
|
+
# The destination IP address. This must be either `IPV4` or `IPV6`.
|
119
120
|
# @return [String]
|
120
121
|
#
|
121
122
|
# @!attribute [rw] destination_port
|
@@ -126,12 +127,12 @@ module Aws::NetworkMonitor
|
|
126
127
|
#
|
127
128
|
# @!attribute [rw] protocol
|
128
129
|
# The protocol used for the network traffic between the `source` and
|
129
|
-
# `destination`. This
|
130
|
+
# `destination`. This must be either `TCP` or `ICMP`.
|
130
131
|
# @return [String]
|
131
132
|
#
|
132
133
|
# @!attribute [rw] packet_size
|
133
134
|
# The size of the packets sent between the source and destination.
|
134
|
-
# This
|
135
|
+
# This must be a number between `56` and `8500`.
|
135
136
|
# @return [Integer]
|
136
137
|
#
|
137
138
|
# @!attribute [rw] probe_tags
|
@@ -152,8 +153,7 @@ module Aws::NetworkMonitor
|
|
152
153
|
end
|
153
154
|
|
154
155
|
# @!attribute [rw] monitor_name
|
155
|
-
# The name of the monitor to associated with the probe.
|
156
|
-
# of available monitors, use `ListMonitors`.
|
156
|
+
# The name of the monitor to associated with the probe.
|
157
157
|
# @return [String]
|
158
158
|
#
|
159
159
|
# @!attribute [rw] probe
|
@@ -197,7 +197,7 @@ module Aws::NetworkMonitor
|
|
197
197
|
# @return [String]
|
198
198
|
#
|
199
199
|
# @!attribute [rw] destination
|
200
|
-
# The destination IP address for the monitor. This
|
200
|
+
# The destination IP address for the monitor. This must be either an
|
201
201
|
# IPv4 or IPv6 address.
|
202
202
|
# @return [String]
|
203
203
|
#
|
@@ -209,12 +209,12 @@ module Aws::NetworkMonitor
|
|
209
209
|
#
|
210
210
|
# @!attribute [rw] protocol
|
211
211
|
# The protocol used for the network traffic between the `source` and
|
212
|
-
# `destination`. This
|
212
|
+
# `destination`. This must be either `TCP` or `ICMP`.
|
213
213
|
# @return [String]
|
214
214
|
#
|
215
215
|
# @!attribute [rw] packet_size
|
216
216
|
# The size of the packets sent between the source and destination.
|
217
|
-
# This
|
217
|
+
# This must be a number between `56` and `8500`.
|
218
218
|
# @return [Integer]
|
219
219
|
#
|
220
220
|
# @!attribute [rw] address_family
|
@@ -262,8 +262,7 @@ module Aws::NetworkMonitor
|
|
262
262
|
end
|
263
263
|
|
264
264
|
# @!attribute [rw] monitor_name
|
265
|
-
# The name of the monitor to delete.
|
266
|
-
# get a list of your current monitors.
|
265
|
+
# The name of the monitor to delete.
|
267
266
|
# @return [String]
|
268
267
|
#
|
269
268
|
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmonitor-2023-08-01/DeleteMonitorInput AWS API Documentation
|
@@ -279,13 +278,11 @@ module Aws::NetworkMonitor
|
|
279
278
|
class DeleteMonitorOutput < Aws::EmptyStructure; end
|
280
279
|
|
281
280
|
# @!attribute [rw] monitor_name
|
282
|
-
# The name of the monitor to delete.
|
283
|
-
# monitors, use the `ListMonitors` action.
|
281
|
+
# The name of the monitor to delete.
|
284
282
|
# @return [String]
|
285
283
|
#
|
286
284
|
# @!attribute [rw] probe_id
|
287
|
-
# The ID of the probe to delete.
|
288
|
-
# probes and probe IDs associated with the monitor.
|
285
|
+
# The ID of the probe to delete.
|
289
286
|
# @return [String]
|
290
287
|
#
|
291
288
|
# @see http://docs.aws.amazon.com/goto/WebAPI/networkmonitor-2023-08-01/DeleteProbeInput AWS API Documentation
|
@@ -318,12 +315,11 @@ module Aws::NetworkMonitor
|
|
318
315
|
# @return [String]
|
319
316
|
#
|
320
317
|
# @!attribute [rw] monitor_name
|
321
|
-
# The name of the monitor.
|
322
|
-
# their names, use the `ListMonitors` action.
|
318
|
+
# The name of the monitor.
|
323
319
|
# @return [String]
|
324
320
|
#
|
325
321
|
# @!attribute [rw] state
|
326
|
-
#
|
322
|
+
# Lists the status of the `state` of each monitor.
|
327
323
|
# @return [String]
|
328
324
|
#
|
329
325
|
# @!attribute [rw] aggregation_period
|
@@ -393,7 +389,7 @@ module Aws::NetworkMonitor
|
|
393
389
|
# @return [String]
|
394
390
|
#
|
395
391
|
# @!attribute [rw] destination
|
396
|
-
# The destination IP address for the monitor. This
|
392
|
+
# The destination IP address for the monitor. This must be either an
|
397
393
|
# IPv4 or IPv6 address.
|
398
394
|
# @return [String]
|
399
395
|
#
|
@@ -405,12 +401,12 @@ module Aws::NetworkMonitor
|
|
405
401
|
#
|
406
402
|
# @!attribute [rw] protocol
|
407
403
|
# The protocol used for the network traffic between the `source` and
|
408
|
-
# `destination`. This
|
404
|
+
# `destination`. This must be either `TCP` or `ICMP`.
|
409
405
|
# @return [String]
|
410
406
|
#
|
411
407
|
# @!attribute [rw] packet_size
|
412
408
|
# The size of the packets sent between the source and destination.
|
413
|
-
# This
|
409
|
+
# This must be a number between `56` and `8500`.
|
414
410
|
# @return [Integer]
|
415
411
|
#
|
416
412
|
# @!attribute [rw] address_family
|
@@ -574,7 +570,7 @@ module Aws::NetworkMonitor
|
|
574
570
|
include Aws::Structure
|
575
571
|
end
|
576
572
|
|
577
|
-
# Describes information about a monitor probe.
|
573
|
+
# Describes information about a network monitor probe.
|
578
574
|
#
|
579
575
|
# @!attribute [rw] probe_id
|
580
576
|
# The ID of the probe.
|
@@ -659,7 +655,7 @@ module Aws::NetworkMonitor
|
|
659
655
|
# @return [String]
|
660
656
|
#
|
661
657
|
# @!attribute [rw] destination
|
662
|
-
# The destination IP address. This
|
658
|
+
# The destination IP address. This must be either `IPV4` or `IPV6`.
|
663
659
|
# @return [String]
|
664
660
|
#
|
665
661
|
# @!attribute [rw] destination_port
|
@@ -670,12 +666,12 @@ module Aws::NetworkMonitor
|
|
670
666
|
#
|
671
667
|
# @!attribute [rw] protocol
|
672
668
|
# The protocol used for the network traffic between the `source` and
|
673
|
-
# `destination`. This
|
669
|
+
# `destination`. This must be either `TCP` or `ICMP`.
|
674
670
|
# @return [String]
|
675
671
|
#
|
676
672
|
# @!attribute [rw] packet_size
|
677
673
|
# The size of the packets sent between the source and destination.
|
678
|
-
# This
|
674
|
+
# This must be a number between `56` and `8500`.
|
679
675
|
# @return [Integer]
|
680
676
|
#
|
681
677
|
# @!attribute [rw] tags
|
@@ -777,8 +773,7 @@ module Aws::NetworkMonitor
|
|
777
773
|
class UntagResourceOutput < Aws::EmptyStructure; end
|
778
774
|
|
779
775
|
# @!attribute [rw] monitor_name
|
780
|
-
# The name of the monitor to update.
|
781
|
-
# of monitor names.
|
776
|
+
# The name of the monitor to update.
|
782
777
|
# @return [String]
|
783
778
|
#
|
784
779
|
# @!attribute [rw] aggregation_period
|
@@ -832,7 +827,7 @@ module Aws::NetworkMonitor
|
|
832
827
|
# @return [String]
|
833
828
|
#
|
834
829
|
# @!attribute [rw] probe_id
|
835
|
-
#
|
830
|
+
# The ID of the probe to update.
|
836
831
|
# @return [String]
|
837
832
|
#
|
838
833
|
# @!attribute [rw] state
|
@@ -892,7 +887,7 @@ module Aws::NetworkMonitor
|
|
892
887
|
# @return [String]
|
893
888
|
#
|
894
889
|
# @!attribute [rw] destination_port
|
895
|
-
# The updated destination port. This
|
890
|
+
# The updated destination port. This must be a number between `1` and
|
896
891
|
# `65536`.
|
897
892
|
# @return [Integer]
|
898
893
|
#
|
@@ -905,7 +900,7 @@ module Aws::NetworkMonitor
|
|
905
900
|
# @return [Integer]
|
906
901
|
#
|
907
902
|
# @!attribute [rw] address_family
|
908
|
-
# The updated IP address family. This
|
903
|
+
# The updated IP address family. This must be either `IPV4` or `IPV6`.
|
909
904
|
# @return [String]
|
910
905
|
#
|
911
906
|
# @!attribute [rw] vpc_id
|
data/sig/client.rbs
ADDED
@@ -0,0 +1,281 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module NetworkMonitor
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#initialize-instance_method
|
14
|
+
def self.new: (
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> instance
|
72
|
+
| (?Hash[Symbol, untyped]) -> instance
|
73
|
+
|
74
|
+
|
75
|
+
interface _CreateMonitorResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateMonitorOutput]
|
77
|
+
def monitor_arn: () -> ::String
|
78
|
+
def monitor_name: () -> ::String
|
79
|
+
def state: () -> ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
80
|
+
def aggregation_period: () -> ::Integer
|
81
|
+
def tags: () -> ::Hash[::String, ::String]
|
82
|
+
end
|
83
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#create_monitor-instance_method
|
84
|
+
def create_monitor: (
|
85
|
+
monitor_name: ::String,
|
86
|
+
?probes: Array[
|
87
|
+
{
|
88
|
+
source_arn: ::String,
|
89
|
+
destination: ::String,
|
90
|
+
destination_port: ::Integer?,
|
91
|
+
protocol: ("TCP" | "ICMP"),
|
92
|
+
packet_size: ::Integer?,
|
93
|
+
probe_tags: Hash[::String, ::String]?
|
94
|
+
},
|
95
|
+
],
|
96
|
+
?aggregation_period: ::Integer,
|
97
|
+
?client_token: ::String,
|
98
|
+
?tags: Hash[::String, ::String]
|
99
|
+
) -> _CreateMonitorResponseSuccess
|
100
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMonitorResponseSuccess
|
101
|
+
|
102
|
+
interface _CreateProbeResponseSuccess
|
103
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateProbeOutput]
|
104
|
+
def probe_id: () -> ::String
|
105
|
+
def probe_arn: () -> ::String
|
106
|
+
def source_arn: () -> ::String
|
107
|
+
def destination: () -> ::String
|
108
|
+
def destination_port: () -> ::Integer
|
109
|
+
def protocol: () -> ("TCP" | "ICMP")
|
110
|
+
def packet_size: () -> ::Integer
|
111
|
+
def address_family: () -> ("IPV4" | "IPV6")
|
112
|
+
def vpc_id: () -> ::String
|
113
|
+
def state: () -> ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
114
|
+
def created_at: () -> ::Time
|
115
|
+
def modified_at: () -> ::Time
|
116
|
+
def tags: () -> ::Hash[::String, ::String]
|
117
|
+
end
|
118
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#create_probe-instance_method
|
119
|
+
def create_probe: (
|
120
|
+
monitor_name: ::String,
|
121
|
+
probe: {
|
122
|
+
source_arn: ::String,
|
123
|
+
destination: ::String,
|
124
|
+
destination_port: ::Integer?,
|
125
|
+
protocol: ("TCP" | "ICMP"),
|
126
|
+
packet_size: ::Integer?,
|
127
|
+
tags: Hash[::String, ::String]?
|
128
|
+
},
|
129
|
+
?client_token: ::String,
|
130
|
+
?tags: Hash[::String, ::String]
|
131
|
+
) -> _CreateProbeResponseSuccess
|
132
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProbeResponseSuccess
|
133
|
+
|
134
|
+
interface _DeleteMonitorResponseSuccess
|
135
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMonitorOutput]
|
136
|
+
end
|
137
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#delete_monitor-instance_method
|
138
|
+
def delete_monitor: (
|
139
|
+
monitor_name: ::String
|
140
|
+
) -> _DeleteMonitorResponseSuccess
|
141
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMonitorResponseSuccess
|
142
|
+
|
143
|
+
interface _DeleteProbeResponseSuccess
|
144
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteProbeOutput]
|
145
|
+
end
|
146
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#delete_probe-instance_method
|
147
|
+
def delete_probe: (
|
148
|
+
monitor_name: ::String,
|
149
|
+
probe_id: ::String
|
150
|
+
) -> _DeleteProbeResponseSuccess
|
151
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProbeResponseSuccess
|
152
|
+
|
153
|
+
interface _GetMonitorResponseSuccess
|
154
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMonitorOutput]
|
155
|
+
def monitor_arn: () -> ::String
|
156
|
+
def monitor_name: () -> ::String
|
157
|
+
def state: () -> ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
158
|
+
def aggregation_period: () -> ::Integer
|
159
|
+
def tags: () -> ::Hash[::String, ::String]
|
160
|
+
def probes: () -> ::Array[Types::Probe]
|
161
|
+
def created_at: () -> ::Time
|
162
|
+
def modified_at: () -> ::Time
|
163
|
+
end
|
164
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#get_monitor-instance_method
|
165
|
+
def get_monitor: (
|
166
|
+
monitor_name: ::String
|
167
|
+
) -> _GetMonitorResponseSuccess
|
168
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMonitorResponseSuccess
|
169
|
+
|
170
|
+
interface _GetProbeResponseSuccess
|
171
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetProbeOutput]
|
172
|
+
def probe_id: () -> ::String
|
173
|
+
def probe_arn: () -> ::String
|
174
|
+
def source_arn: () -> ::String
|
175
|
+
def destination: () -> ::String
|
176
|
+
def destination_port: () -> ::Integer
|
177
|
+
def protocol: () -> ("TCP" | "ICMP")
|
178
|
+
def packet_size: () -> ::Integer
|
179
|
+
def address_family: () -> ("IPV4" | "IPV6")
|
180
|
+
def vpc_id: () -> ::String
|
181
|
+
def state: () -> ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
182
|
+
def created_at: () -> ::Time
|
183
|
+
def modified_at: () -> ::Time
|
184
|
+
def tags: () -> ::Hash[::String, ::String]
|
185
|
+
end
|
186
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#get_probe-instance_method
|
187
|
+
def get_probe: (
|
188
|
+
monitor_name: ::String,
|
189
|
+
probe_id: ::String
|
190
|
+
) -> _GetProbeResponseSuccess
|
191
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProbeResponseSuccess
|
192
|
+
|
193
|
+
interface _ListMonitorsResponseSuccess
|
194
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListMonitorsOutput]
|
195
|
+
def monitors: () -> ::Array[Types::MonitorSummary]
|
196
|
+
def next_token: () -> ::String
|
197
|
+
end
|
198
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#list_monitors-instance_method
|
199
|
+
def list_monitors: (
|
200
|
+
?next_token: ::String,
|
201
|
+
?max_results: ::Integer,
|
202
|
+
?state: ::String
|
203
|
+
) -> _ListMonitorsResponseSuccess
|
204
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMonitorsResponseSuccess
|
205
|
+
|
206
|
+
interface _ListTagsForResourceResponseSuccess
|
207
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
|
208
|
+
def tags: () -> ::Hash[::String, ::String]
|
209
|
+
end
|
210
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#list_tags_for_resource-instance_method
|
211
|
+
def list_tags_for_resource: (
|
212
|
+
resource_arn: ::String
|
213
|
+
) -> _ListTagsForResourceResponseSuccess
|
214
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
215
|
+
|
216
|
+
interface _TagResourceResponseSuccess
|
217
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
|
218
|
+
end
|
219
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#tag_resource-instance_method
|
220
|
+
def tag_resource: (
|
221
|
+
resource_arn: ::String,
|
222
|
+
tags: Hash[::String, ::String]
|
223
|
+
) -> _TagResourceResponseSuccess
|
224
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
225
|
+
|
226
|
+
interface _UntagResourceResponseSuccess
|
227
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
|
228
|
+
end
|
229
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#untag_resource-instance_method
|
230
|
+
def untag_resource: (
|
231
|
+
resource_arn: ::String,
|
232
|
+
tag_keys: Array[::String]
|
233
|
+
) -> _UntagResourceResponseSuccess
|
234
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
235
|
+
|
236
|
+
interface _UpdateMonitorResponseSuccess
|
237
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateMonitorOutput]
|
238
|
+
def monitor_arn: () -> ::String
|
239
|
+
def monitor_name: () -> ::String
|
240
|
+
def state: () -> ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
241
|
+
def aggregation_period: () -> ::Integer
|
242
|
+
def tags: () -> ::Hash[::String, ::String]
|
243
|
+
end
|
244
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#update_monitor-instance_method
|
245
|
+
def update_monitor: (
|
246
|
+
monitor_name: ::String,
|
247
|
+
aggregation_period: ::Integer
|
248
|
+
) -> _UpdateMonitorResponseSuccess
|
249
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateMonitorResponseSuccess
|
250
|
+
|
251
|
+
interface _UpdateProbeResponseSuccess
|
252
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateProbeOutput]
|
253
|
+
def probe_id: () -> ::String
|
254
|
+
def probe_arn: () -> ::String
|
255
|
+
def source_arn: () -> ::String
|
256
|
+
def destination: () -> ::String
|
257
|
+
def destination_port: () -> ::Integer
|
258
|
+
def protocol: () -> ("TCP" | "ICMP")
|
259
|
+
def packet_size: () -> ::Integer
|
260
|
+
def address_family: () -> ("IPV4" | "IPV6")
|
261
|
+
def vpc_id: () -> ::String
|
262
|
+
def state: () -> ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
263
|
+
def created_at: () -> ::Time
|
264
|
+
def modified_at: () -> ::Time
|
265
|
+
def tags: () -> ::Hash[::String, ::String]
|
266
|
+
end
|
267
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Client.html#update_probe-instance_method
|
268
|
+
def update_probe: (
|
269
|
+
monitor_name: ::String,
|
270
|
+
probe_id: ::String,
|
271
|
+
?state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED"),
|
272
|
+
?destination: ::String,
|
273
|
+
?destination_port: ::Integer,
|
274
|
+
?protocol: ("TCP" | "ICMP"),
|
275
|
+
?packet_size: ::Integer
|
276
|
+
) -> _UpdateProbeResponseSuccess
|
277
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateProbeResponseSuccess
|
278
|
+
end
|
279
|
+
end
|
280
|
+
end
|
281
|
+
|
data/sig/errors.rbs
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module NetworkMonitor
|
10
|
+
module Errors
|
11
|
+
class ServiceError < ::Aws::Errors::ServiceError
|
12
|
+
end
|
13
|
+
|
14
|
+
class AccessDeniedException < ::Aws::Errors::ServiceError
|
15
|
+
def message: () -> ::String
|
16
|
+
end
|
17
|
+
class ConflictException < ::Aws::Errors::ServiceError
|
18
|
+
def message: () -> ::String
|
19
|
+
end
|
20
|
+
class InternalServerException < ::Aws::Errors::ServiceError
|
21
|
+
def message: () -> ::String
|
22
|
+
end
|
23
|
+
class ResourceNotFoundException < ::Aws::Errors::ServiceError
|
24
|
+
def message: () -> ::String
|
25
|
+
end
|
26
|
+
class ServiceQuotaExceededException < ::Aws::Errors::ServiceError
|
27
|
+
def message: () -> ::String
|
28
|
+
end
|
29
|
+
class ThrottlingException < ::Aws::Errors::ServiceError
|
30
|
+
def message: () -> ::String
|
31
|
+
end
|
32
|
+
class ValidationException < ::Aws::Errors::ServiceError
|
33
|
+
def message: () -> ::String
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
data/sig/resource.rbs
ADDED
@@ -0,0 +1,79 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module NetworkMonitor
|
10
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Resource.html
|
11
|
+
class Resource
|
12
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/NetworkMonitor/Resource.html#initialize-instance_method
|
13
|
+
def initialize: (
|
14
|
+
?client: Client,
|
15
|
+
?credentials: untyped,
|
16
|
+
?region: String,
|
17
|
+
?access_key_id: String,
|
18
|
+
?active_endpoint_cache: bool,
|
19
|
+
?adaptive_retry_wait_to_fill: bool,
|
20
|
+
?client_side_monitoring: bool,
|
21
|
+
?client_side_monitoring_client_id: String,
|
22
|
+
?client_side_monitoring_host: String,
|
23
|
+
?client_side_monitoring_port: Integer,
|
24
|
+
?client_side_monitoring_publisher: untyped,
|
25
|
+
?convert_params: bool,
|
26
|
+
?correct_clock_skew: bool,
|
27
|
+
?defaults_mode: String,
|
28
|
+
?disable_host_prefix_injection: bool,
|
29
|
+
?disable_request_compression: bool,
|
30
|
+
?endpoint: String,
|
31
|
+
?endpoint_cache_max_entries: Integer,
|
32
|
+
?endpoint_cache_max_threads: Integer,
|
33
|
+
?endpoint_cache_poll_interval: Integer,
|
34
|
+
?endpoint_discovery: bool,
|
35
|
+
?ignore_configured_endpoint_urls: bool,
|
36
|
+
?log_formatter: untyped,
|
37
|
+
?log_level: Symbol,
|
38
|
+
?logger: untyped,
|
39
|
+
?max_attempts: Integer,
|
40
|
+
?profile: String,
|
41
|
+
?request_min_compression_size_bytes: Integer,
|
42
|
+
?retry_backoff: Proc,
|
43
|
+
?retry_base_delay: Float,
|
44
|
+
?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
|
45
|
+
?retry_limit: Integer,
|
46
|
+
?retry_max_delay: Integer,
|
47
|
+
?retry_mode: ("legacy" | "standard" | "adaptive"),
|
48
|
+
?sdk_ua_app_id: String,
|
49
|
+
?secret_access_key: String,
|
50
|
+
?session_token: String,
|
51
|
+
?stub_responses: untyped,
|
52
|
+
?token_provider: untyped,
|
53
|
+
?use_dualstack_endpoint: bool,
|
54
|
+
?use_fips_endpoint: bool,
|
55
|
+
?validate_params: bool,
|
56
|
+
?endpoint_provider: untyped,
|
57
|
+
?http_proxy: String,
|
58
|
+
?http_open_timeout: (Float | Integer),
|
59
|
+
?http_read_timeout: (Float | Integer),
|
60
|
+
?http_idle_timeout: (Float | Integer),
|
61
|
+
?http_continue_timeout: (Float | Integer),
|
62
|
+
?ssl_timeout: (Float | Integer | nil),
|
63
|
+
?http_wire_trace: bool,
|
64
|
+
?ssl_verify_peer: bool,
|
65
|
+
?ssl_ca_bundle: String,
|
66
|
+
?ssl_ca_directory: String,
|
67
|
+
?ssl_ca_store: String,
|
68
|
+
?on_chunk_received: Proc,
|
69
|
+
?on_chunk_sent: Proc,
|
70
|
+
?raise_response_errors: bool
|
71
|
+
) -> void
|
72
|
+
| (?Hash[Symbol, untyped]) -> void
|
73
|
+
|
74
|
+
def client: () -> Client
|
75
|
+
|
76
|
+
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
data/sig/types.rbs
ADDED
@@ -0,0 +1,276 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws::NetworkMonitor
|
9
|
+
module Types
|
10
|
+
|
11
|
+
class AccessDeniedException
|
12
|
+
attr_accessor message: ::String
|
13
|
+
SENSITIVE: []
|
14
|
+
end
|
15
|
+
|
16
|
+
class ConflictException
|
17
|
+
attr_accessor message: ::String
|
18
|
+
SENSITIVE: []
|
19
|
+
end
|
20
|
+
|
21
|
+
class CreateMonitorInput
|
22
|
+
attr_accessor monitor_name: ::String
|
23
|
+
attr_accessor probes: ::Array[Types::CreateMonitorProbeInput]
|
24
|
+
attr_accessor aggregation_period: ::Integer
|
25
|
+
attr_accessor client_token: ::String
|
26
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
27
|
+
SENSITIVE: []
|
28
|
+
end
|
29
|
+
|
30
|
+
class CreateMonitorOutput
|
31
|
+
attr_accessor monitor_arn: ::String
|
32
|
+
attr_accessor monitor_name: ::String
|
33
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
34
|
+
attr_accessor aggregation_period: ::Integer
|
35
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
36
|
+
SENSITIVE: []
|
37
|
+
end
|
38
|
+
|
39
|
+
class CreateMonitorProbeInput
|
40
|
+
attr_accessor source_arn: ::String
|
41
|
+
attr_accessor destination: ::String
|
42
|
+
attr_accessor destination_port: ::Integer
|
43
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
44
|
+
attr_accessor packet_size: ::Integer
|
45
|
+
attr_accessor probe_tags: ::Hash[::String, ::String]
|
46
|
+
SENSITIVE: []
|
47
|
+
end
|
48
|
+
|
49
|
+
class CreateProbeInput
|
50
|
+
attr_accessor monitor_name: ::String
|
51
|
+
attr_accessor probe: Types::ProbeInput
|
52
|
+
attr_accessor client_token: ::String
|
53
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
54
|
+
SENSITIVE: []
|
55
|
+
end
|
56
|
+
|
57
|
+
class CreateProbeOutput
|
58
|
+
attr_accessor probe_id: ::String
|
59
|
+
attr_accessor probe_arn: ::String
|
60
|
+
attr_accessor source_arn: ::String
|
61
|
+
attr_accessor destination: ::String
|
62
|
+
attr_accessor destination_port: ::Integer
|
63
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
64
|
+
attr_accessor packet_size: ::Integer
|
65
|
+
attr_accessor address_family: ("IPV4" | "IPV6")
|
66
|
+
attr_accessor vpc_id: ::String
|
67
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
68
|
+
attr_accessor created_at: ::Time
|
69
|
+
attr_accessor modified_at: ::Time
|
70
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
71
|
+
SENSITIVE: []
|
72
|
+
end
|
73
|
+
|
74
|
+
class DeleteMonitorInput
|
75
|
+
attr_accessor monitor_name: ::String
|
76
|
+
SENSITIVE: []
|
77
|
+
end
|
78
|
+
|
79
|
+
class DeleteMonitorOutput < Aws::EmptyStructure
|
80
|
+
end
|
81
|
+
|
82
|
+
class DeleteProbeInput
|
83
|
+
attr_accessor monitor_name: ::String
|
84
|
+
attr_accessor probe_id: ::String
|
85
|
+
SENSITIVE: []
|
86
|
+
end
|
87
|
+
|
88
|
+
class DeleteProbeOutput < Aws::EmptyStructure
|
89
|
+
end
|
90
|
+
|
91
|
+
class GetMonitorInput
|
92
|
+
attr_accessor monitor_name: ::String
|
93
|
+
SENSITIVE: []
|
94
|
+
end
|
95
|
+
|
96
|
+
class GetMonitorOutput
|
97
|
+
attr_accessor monitor_arn: ::String
|
98
|
+
attr_accessor monitor_name: ::String
|
99
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
100
|
+
attr_accessor aggregation_period: ::Integer
|
101
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
102
|
+
attr_accessor probes: ::Array[Types::Probe]
|
103
|
+
attr_accessor created_at: ::Time
|
104
|
+
attr_accessor modified_at: ::Time
|
105
|
+
SENSITIVE: []
|
106
|
+
end
|
107
|
+
|
108
|
+
class GetProbeInput
|
109
|
+
attr_accessor monitor_name: ::String
|
110
|
+
attr_accessor probe_id: ::String
|
111
|
+
SENSITIVE: []
|
112
|
+
end
|
113
|
+
|
114
|
+
class GetProbeOutput
|
115
|
+
attr_accessor probe_id: ::String
|
116
|
+
attr_accessor probe_arn: ::String
|
117
|
+
attr_accessor source_arn: ::String
|
118
|
+
attr_accessor destination: ::String
|
119
|
+
attr_accessor destination_port: ::Integer
|
120
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
121
|
+
attr_accessor packet_size: ::Integer
|
122
|
+
attr_accessor address_family: ("IPV4" | "IPV6")
|
123
|
+
attr_accessor vpc_id: ::String
|
124
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
125
|
+
attr_accessor created_at: ::Time
|
126
|
+
attr_accessor modified_at: ::Time
|
127
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
128
|
+
SENSITIVE: []
|
129
|
+
end
|
130
|
+
|
131
|
+
class InternalServerException
|
132
|
+
attr_accessor message: ::String
|
133
|
+
SENSITIVE: []
|
134
|
+
end
|
135
|
+
|
136
|
+
class ListMonitorsInput
|
137
|
+
attr_accessor next_token: ::String
|
138
|
+
attr_accessor max_results: ::Integer
|
139
|
+
attr_accessor state: ::String
|
140
|
+
SENSITIVE: []
|
141
|
+
end
|
142
|
+
|
143
|
+
class ListMonitorsOutput
|
144
|
+
attr_accessor monitors: ::Array[Types::MonitorSummary]
|
145
|
+
attr_accessor next_token: ::String
|
146
|
+
SENSITIVE: []
|
147
|
+
end
|
148
|
+
|
149
|
+
class ListTagsForResourceInput
|
150
|
+
attr_accessor resource_arn: ::String
|
151
|
+
SENSITIVE: []
|
152
|
+
end
|
153
|
+
|
154
|
+
class ListTagsForResourceOutput
|
155
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
156
|
+
SENSITIVE: []
|
157
|
+
end
|
158
|
+
|
159
|
+
class MonitorSummary
|
160
|
+
attr_accessor monitor_arn: ::String
|
161
|
+
attr_accessor monitor_name: ::String
|
162
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
163
|
+
attr_accessor aggregation_period: ::Integer
|
164
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
165
|
+
SENSITIVE: []
|
166
|
+
end
|
167
|
+
|
168
|
+
class Probe
|
169
|
+
attr_accessor probe_id: ::String
|
170
|
+
attr_accessor probe_arn: ::String
|
171
|
+
attr_accessor source_arn: ::String
|
172
|
+
attr_accessor destination: ::String
|
173
|
+
attr_accessor destination_port: ::Integer
|
174
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
175
|
+
attr_accessor packet_size: ::Integer
|
176
|
+
attr_accessor address_family: ("IPV4" | "IPV6")
|
177
|
+
attr_accessor vpc_id: ::String
|
178
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
179
|
+
attr_accessor created_at: ::Time
|
180
|
+
attr_accessor modified_at: ::Time
|
181
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
182
|
+
SENSITIVE: []
|
183
|
+
end
|
184
|
+
|
185
|
+
class ProbeInput
|
186
|
+
attr_accessor source_arn: ::String
|
187
|
+
attr_accessor destination: ::String
|
188
|
+
attr_accessor destination_port: ::Integer
|
189
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
190
|
+
attr_accessor packet_size: ::Integer
|
191
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
192
|
+
SENSITIVE: []
|
193
|
+
end
|
194
|
+
|
195
|
+
class ResourceNotFoundException
|
196
|
+
attr_accessor message: ::String
|
197
|
+
SENSITIVE: []
|
198
|
+
end
|
199
|
+
|
200
|
+
class ServiceQuotaExceededException
|
201
|
+
attr_accessor message: ::String
|
202
|
+
SENSITIVE: []
|
203
|
+
end
|
204
|
+
|
205
|
+
class TagResourceInput
|
206
|
+
attr_accessor resource_arn: ::String
|
207
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
208
|
+
SENSITIVE: []
|
209
|
+
end
|
210
|
+
|
211
|
+
class TagResourceOutput < Aws::EmptyStructure
|
212
|
+
end
|
213
|
+
|
214
|
+
class ThrottlingException
|
215
|
+
attr_accessor message: ::String
|
216
|
+
SENSITIVE: []
|
217
|
+
end
|
218
|
+
|
219
|
+
class UntagResourceInput
|
220
|
+
attr_accessor resource_arn: ::String
|
221
|
+
attr_accessor tag_keys: ::Array[::String]
|
222
|
+
SENSITIVE: []
|
223
|
+
end
|
224
|
+
|
225
|
+
class UntagResourceOutput < Aws::EmptyStructure
|
226
|
+
end
|
227
|
+
|
228
|
+
class UpdateMonitorInput
|
229
|
+
attr_accessor monitor_name: ::String
|
230
|
+
attr_accessor aggregation_period: ::Integer
|
231
|
+
SENSITIVE: []
|
232
|
+
end
|
233
|
+
|
234
|
+
class UpdateMonitorOutput
|
235
|
+
attr_accessor monitor_arn: ::String
|
236
|
+
attr_accessor monitor_name: ::String
|
237
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING")
|
238
|
+
attr_accessor aggregation_period: ::Integer
|
239
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
240
|
+
SENSITIVE: []
|
241
|
+
end
|
242
|
+
|
243
|
+
class UpdateProbeInput
|
244
|
+
attr_accessor monitor_name: ::String
|
245
|
+
attr_accessor probe_id: ::String
|
246
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
247
|
+
attr_accessor destination: ::String
|
248
|
+
attr_accessor destination_port: ::Integer
|
249
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
250
|
+
attr_accessor packet_size: ::Integer
|
251
|
+
SENSITIVE: []
|
252
|
+
end
|
253
|
+
|
254
|
+
class UpdateProbeOutput
|
255
|
+
attr_accessor probe_id: ::String
|
256
|
+
attr_accessor probe_arn: ::String
|
257
|
+
attr_accessor source_arn: ::String
|
258
|
+
attr_accessor destination: ::String
|
259
|
+
attr_accessor destination_port: ::Integer
|
260
|
+
attr_accessor protocol: ("TCP" | "ICMP")
|
261
|
+
attr_accessor packet_size: ::Integer
|
262
|
+
attr_accessor address_family: ("IPV4" | "IPV6")
|
263
|
+
attr_accessor vpc_id: ::String
|
264
|
+
attr_accessor state: ("PENDING" | "ACTIVE" | "INACTIVE" | "ERROR" | "DELETING" | "DELETED")
|
265
|
+
attr_accessor created_at: ::Time
|
266
|
+
attr_accessor modified_at: ::Time
|
267
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
268
|
+
SENSITIVE: []
|
269
|
+
end
|
270
|
+
|
271
|
+
class ValidationException
|
272
|
+
attr_accessor message: ::String
|
273
|
+
SENSITIVE: []
|
274
|
+
end
|
275
|
+
end
|
276
|
+
end
|
data/sig/waiters.rbs
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# WARNING ABOUT GENERATED CODE
|
2
|
+
#
|
3
|
+
# This file is generated. See the contributing guide for more information:
|
4
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
5
|
+
#
|
6
|
+
# WARNING ABOUT GENERATED CODE
|
7
|
+
|
8
|
+
module Aws
|
9
|
+
module NetworkMonitor
|
10
|
+
module Waiters
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-networkmonitor
|
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
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-10 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.
|
22
|
+
version: 3.191.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.
|
32
|
+
version: 3.191.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,13 +67,18 @@ files:
|
|
67
67
|
- lib/aws-sdk-networkmonitor/resource.rb
|
68
68
|
- lib/aws-sdk-networkmonitor/types.rb
|
69
69
|
- lib/aws-sdk-networkmonitor/waiters.rb
|
70
|
+
- sig/client.rbs
|
71
|
+
- sig/errors.rbs
|
72
|
+
- sig/resource.rbs
|
73
|
+
- sig/types.rbs
|
74
|
+
- sig/waiters.rbs
|
70
75
|
homepage: https://github.com/aws/aws-sdk-ruby
|
71
76
|
licenses:
|
72
77
|
- Apache-2.0
|
73
78
|
metadata:
|
74
79
|
source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-networkmonitor
|
75
80
|
changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-networkmonitor/CHANGELOG.md
|
76
|
-
post_install_message:
|
81
|
+
post_install_message:
|
77
82
|
rdoc_options: []
|
78
83
|
require_paths:
|
79
84
|
- lib
|
@@ -88,8 +93,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
93
|
- !ruby/object:Gem::Version
|
89
94
|
version: '0'
|
90
95
|
requirements: []
|
91
|
-
rubygems_version: 3.
|
92
|
-
signing_key:
|
96
|
+
rubygems_version: 3.4.10
|
97
|
+
signing_key:
|
93
98
|
specification_version: 4
|
94
99
|
summary: AWS SDK for Ruby - Amazon CloudWatch Network Monitor
|
95
100
|
test_files: []
|