aws-sdk-networkmonitor 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ba76cc2e4d71078189adc5974a3ef96e57a5be6b368f0b756e29774cba863d56
4
- data.tar.gz: 4198def4e6533c33d0f77231612dc60888881c7fab0fce3208305df0e930a6b5
3
+ metadata.gz: 91f1f19ffb2f7607fb13fd16c425f03249b7d18903b2030c4f23335230dc4e6f
4
+ data.tar.gz: 650137e08d4275ab1819435264a72483cf1bba99ab4d000eab879c19c274a133
5
5
  SHA512:
6
- metadata.gz: 1f6a7183eb6f2d3a8fb3f624cdcbf9e56ec7e6cb80e783afb02277b9d4f0f14bf81b05ead35066768db3c32f716cf148d11702a374f321fad450372eaa20f6b0
7
- data.tar.gz: 75ce86b97ad2e37fa2e8bc835da6edb92198e8df0bb5a703511d3aa7336eb4a9ce5ab79b589813c74e3d259ed58507318a6e2f06a8f46d65d3d2774c98051926
6
+ metadata.gz: 7d6c236fcd7988dcf96dba3a68f8335541c3b2934593c904d79378cdfbc42a215406a13ebd642d2869ec6c046d6be2909477ffbb7b2330b109f0ca319ddf161a
7
+ data.tar.gz: df913cc8af1f4539db051f637a8c759fcf9e6dda7b328001f2bf95aae213ec5021c0779950d2fefb14497c4b529032d44af113b6d79d2e18bae53759a5ff8120
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.1.0 (2024-01-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.0
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 255 characters.
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. To get a list of
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. Use the `ListMonitors` action to
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 monitor. Once a probe is deleted you'll no
574
- # longer incur any billing fees for that probe.
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. For a list of the available
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. Run `GetMonitor` to get a lst of all
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. You'll need both the `monitorName`
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. Run `ListMonitors` to get a list of
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
- # Run `GetMonitor` to get a list of probes and probe IDs.
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.1.0'
1043
+ context[:gem_version] = '1.2.0'
995
1044
  Seahorse::Client::Request.new(handlers, context)
996
1045
  end
997
1046
 
@@ -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 255 characters.
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 will be either `IPV4` or `IPV6`.
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 will be either `TCP` or `ICMP`.
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 will be a number between `56` and `8500`.
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. To get a list
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 will be either an
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 will be either `TCP` or `ICMP`.
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 will be a number between `56` and `8500`.
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. Use the `ListMonitors` action to
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. For a list of the available
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. Run `GetMonitor` to get a lst of all
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. To get a list of the current monitors and
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
- # Returns a list of the state of each monitor.
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 will be either an
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 will be either `TCP` or `ICMP`.
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 will be a number between `56` and `8500`.
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 will be either `IPV4` or `IPV6`.
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 will be either `TCP` or `ICMP`.
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 will be a number between `56` and `8500`.
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. Run `ListMonitors` to get a list
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
- # Run `GetMonitor` to get a list of probes and probe IDs.
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 will be a number between `1` and
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 will be either `IPV4` or `IPV6`.
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
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-networkmonitor/customizations'
53
53
  # @!group service
54
54
  module Aws::NetworkMonitor
55
55
 
56
- GEM_VERSION = '1.1.0'
56
+ GEM_VERSION = '1.2.0'
57
57
 
58
58
  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.1.0
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: 2024-01-26 00:00:00.000000000 Z
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