Skip to content

Commit 42abf0e

Browse files
author
awstools
committed
feat(client-networkmonitor): Updated the allowed monitorName length for CloudWatch Network Monitor.
1 parent 5b18eb2 commit 42abf0e

File tree

3 files changed

+39
-39
lines changed

3 files changed

+39
-39
lines changed

clients/client-networkmonitor/package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -33,26 +33,26 @@
3333
"@aws-sdk/util-user-agent-browser": "*",
3434
"@aws-sdk/util-user-agent-node": "*",
3535
"@smithy/config-resolver": "^2.2.0",
36-
"@smithy/core": "^1.4.1",
36+
"@smithy/core": "^1.4.2",
3737
"@smithy/fetch-http-handler": "^2.5.0",
3838
"@smithy/hash-node": "^2.2.0",
3939
"@smithy/invalid-dependency": "^2.2.0",
4040
"@smithy/middleware-content-length": "^2.2.0",
41-
"@smithy/middleware-endpoint": "^2.5.0",
42-
"@smithy/middleware-retry": "^2.3.0",
41+
"@smithy/middleware-endpoint": "^2.5.1",
42+
"@smithy/middleware-retry": "^2.3.1",
4343
"@smithy/middleware-serde": "^2.3.0",
4444
"@smithy/middleware-stack": "^2.2.0",
4545
"@smithy/node-config-provider": "^2.3.0",
4646
"@smithy/node-http-handler": "^2.5.0",
4747
"@smithy/protocol-http": "^3.3.0",
48-
"@smithy/smithy-client": "^2.5.0",
48+
"@smithy/smithy-client": "^2.5.1",
4949
"@smithy/types": "^2.12.0",
5050
"@smithy/url-parser": "^2.2.0",
5151
"@smithy/util-base64": "^2.3.0",
5252
"@smithy/util-body-length-browser": "^2.2.0",
5353
"@smithy/util-body-length-node": "^2.3.0",
54-
"@smithy/util-defaults-mode-browser": "^2.2.0",
55-
"@smithy/util-defaults-mode-node": "^2.3.0",
54+
"@smithy/util-defaults-mode-browser": "^2.2.1",
55+
"@smithy/util-defaults-mode-node": "^2.3.1",
5656
"@smithy/util-endpoints": "^1.2.0",
5757
"@smithy/util-middleware": "^2.2.0",
5858
"@smithy/util-retry": "^2.2.0",

clients/client-networkmonitor/src/models/models_0.ts

+16-16
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export interface CreateMonitorProbeInput {
8383
sourceArn: string | undefined;
8484

8585
/**
86-
* <p>The destination IP address. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>
86+
* <p>The destination IP address. This must be either <code>IPV4</code> or <code>IPV6</code>.</p>
8787
* @public
8888
*/
8989
destination: string | undefined;
@@ -95,13 +95,13 @@ export interface CreateMonitorProbeInput {
9595
destinationPort?: number;
9696

9797
/**
98-
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
98+
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This must be either <code>TCP</code> or <code>ICMP</code>.</p>
9999
* @public
100100
*/
101101
protocol: Protocol | undefined;
102102

103103
/**
104-
* <p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>
104+
* <p>The size of the packets sent between the source and destination. This must be a number between <code>56</code> and <code>8500</code>.</p>
105105
* @public
106106
*/
107107
packetSize?: number;
@@ -118,7 +118,7 @@ export interface CreateMonitorProbeInput {
118118
*/
119119
export interface CreateMonitorInput {
120120
/**
121-
* <p>The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 255 characters.</p>
121+
* <p>The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.</p>
122122
* @public
123123
*/
124124
monitorName: string | undefined;
@@ -188,7 +188,7 @@ export interface CreateMonitorOutput {
188188
state: MonitorState | undefined;
189189

190190
/**
191-
* <p>The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This will be either <code>30</code> or <code>60</code>. </p>
191+
* <p>The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This must be either <code>30</code> or <code>60</code>. </p>
192192
* @public
193193
*/
194194
aggregationPeriod?: number;
@@ -296,7 +296,7 @@ export interface ProbeInput {
296296
sourceArn: string | undefined;
297297

298298
/**
299-
* <p>The destination IP address. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>
299+
* <p>The destination IP address. This must be either <code>IPV4</code> or <code>IPV6</code>.</p>
300300
* @public
301301
*/
302302
destination: string | undefined;
@@ -308,13 +308,13 @@ export interface ProbeInput {
308308
destinationPort?: number;
309309

310310
/**
311-
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
311+
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This must be either <code>TCP</code> or <code>ICMP</code>.</p>
312312
* @public
313313
*/
314314
protocol: Protocol | undefined;
315315

316316
/**
317-
* <p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>
317+
* <p>The size of the packets sent between the source and destination. This must be a number between <code>56</code> and <code>8500</code>.</p>
318318
* @public
319319
*/
320320
packetSize?: number;
@@ -396,7 +396,7 @@ export interface CreateProbeOutput {
396396
sourceArn: string | undefined;
397397

398398
/**
399-
* <p>The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.</p>
399+
* <p>The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.</p>
400400
* @public
401401
*/
402402
destination: string | undefined;
@@ -408,13 +408,13 @@ export interface CreateProbeOutput {
408408
destinationPort?: number;
409409

410410
/**
411-
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
411+
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This must be either <code>TCP</code> or <code>ICMP</code>.</p>
412412
* @public
413413
*/
414414
protocol: Protocol | undefined;
415415

416416
/**
417-
* <p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>
417+
* <p>The size of the packets sent between the source and destination. This must be a number between <code>56</code> and <code>8500</code>.</p>
418418
* @public
419419
*/
420420
packetSize?: number;
@@ -702,7 +702,7 @@ export interface GetProbeOutput {
702702
sourceArn: string | undefined;
703703

704704
/**
705-
* <p>The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.</p>
705+
* <p>The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.</p>
706706
* @public
707707
*/
708708
destination: string | undefined;
@@ -714,13 +714,13 @@ export interface GetProbeOutput {
714714
destinationPort?: number;
715715

716716
/**
717-
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>
717+
* <p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This must be either <code>TCP</code> or <code>ICMP</code>.</p>
718718
* @public
719719
*/
720720
protocol: Protocol | undefined;
721721

722722
/**
723-
* <p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>
723+
* <p>The size of the packets sent between the source and destination. This must be a number between <code>56</code> and <code>8500</code>.</p>
724724
* @public
725725
*/
726726
packetSize?: number;
@@ -991,7 +991,7 @@ export interface UpdateProbeOutput {
991991
destination: string | undefined;
992992

993993
/**
994-
* <p>The updated destination port. This will be a number between <code>1</code> and <code>65536</code>.</p>
994+
* <p>The updated destination port. This must be a number between <code>1</code> and <code>65536</code>.</p>
995995
* @public
996996
*/
997997
destinationPort?: number;
@@ -1009,7 +1009,7 @@ export interface UpdateProbeOutput {
10091009
packetSize?: number;
10101010

10111011
/**
1012-
* <p>The updated IP address family. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>
1012+
* <p>The updated IP address family. This must be either <code>IPV4</code> or <code>IPV6</code>.</p>
10131013
* @public
10141014
*/
10151015
addressFamily?: AddressFamily;

codegen/sdk-codegen/aws-models/networkmonitor.json

+17-17
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"monitorName": {
109109
"target": "com.amazonaws.networkmonitor#ResourceName",
110110
"traits": {
111-
"smithy.api#documentation": "<p>The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 255 characters.</p>",
111+
"smithy.api#documentation": "<p>The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.</p>",
112112
"smithy.api#required": {}
113113
}
114114
},
@@ -169,7 +169,7 @@
169169
"aggregationPeriod": {
170170
"target": "com.amazonaws.networkmonitor#AggregationPeriod",
171171
"traits": {
172-
"smithy.api#documentation": "<p>The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This will be either <code>30</code> or <code>60</code>. </p>"
172+
"smithy.api#documentation": "<p>The number of seconds that metrics are aggregated by and sent to Amazon CloudWatch. This must be either <code>30</code> or <code>60</code>. </p>"
173173
}
174174
},
175175
"tags": {
@@ -196,7 +196,7 @@
196196
"destination": {
197197
"target": "com.amazonaws.networkmonitor#Destination",
198198
"traits": {
199-
"smithy.api#documentation": "<p>The destination IP address. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>",
199+
"smithy.api#documentation": "<p>The destination IP address. This must be either <code>IPV4</code> or <code>IPV6</code>.</p>",
200200
"smithy.api#required": {}
201201
}
202202
},
@@ -209,14 +209,14 @@
209209
"protocol": {
210210
"target": "com.amazonaws.networkmonitor#Protocol",
211211
"traits": {
212-
"smithy.api#documentation": "<p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>",
212+
"smithy.api#documentation": "<p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This must be either <code>TCP</code> or <code>ICMP</code>.</p>",
213213
"smithy.api#required": {}
214214
}
215215
},
216216
"packetSize": {
217217
"target": "com.amazonaws.networkmonitor#PacketSize",
218218
"traits": {
219-
"smithy.api#documentation": "<p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>"
219+
"smithy.api#documentation": "<p>The size of the packets sent between the source and destination. This must be a number between <code>56</code> and <code>8500</code>.</p>"
220220
}
221221
},
222222
"probeTags": {
@@ -337,7 +337,7 @@
337337
"destination": {
338338
"target": "com.amazonaws.networkmonitor#Destination",
339339
"traits": {
340-
"smithy.api#documentation": "<p>The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.</p>",
340+
"smithy.api#documentation": "<p>The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.</p>",
341341
"smithy.api#required": {}
342342
}
343343
},
@@ -350,14 +350,14 @@
350350
"protocol": {
351351
"target": "com.amazonaws.networkmonitor#Protocol",
352352
"traits": {
353-
"smithy.api#documentation": "<p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>",
353+
"smithy.api#documentation": "<p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This must be either <code>TCP</code> or <code>ICMP</code>.</p>",
354354
"smithy.api#required": {}
355355
}
356356
},
357357
"packetSize": {
358358
"target": "com.amazonaws.networkmonitor#PacketSize",
359359
"traits": {
360-
"smithy.api#documentation": "<p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>"
360+
"smithy.api#documentation": "<p>The size of the packets sent between the source and destination. This must be a number between <code>56</code> and <code>8500</code>.</p>"
361361
}
362362
},
363363
"addressFamily": {
@@ -742,7 +742,7 @@
742742
"destination": {
743743
"target": "com.amazonaws.networkmonitor#Destination",
744744
"traits": {
745-
"smithy.api#documentation": "<p>The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.</p>",
745+
"smithy.api#documentation": "<p>The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.</p>",
746746
"smithy.api#required": {}
747747
}
748748
},
@@ -755,14 +755,14 @@
755755
"protocol": {
756756
"target": "com.amazonaws.networkmonitor#Protocol",
757757
"traits": {
758-
"smithy.api#documentation": "<p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>",
758+
"smithy.api#documentation": "<p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This must be either <code>TCP</code> or <code>ICMP</code>.</p>",
759759
"smithy.api#required": {}
760760
}
761761
},
762762
"packetSize": {
763763
"target": "com.amazonaws.networkmonitor#PacketSize",
764764
"traits": {
765-
"smithy.api#documentation": "<p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>"
765+
"smithy.api#documentation": "<p>The size of the packets sent between the source and destination. This must be a number between <code>56</code> and <code>8500</code>.</p>"
766766
}
767767
},
768768
"addressFamily": {
@@ -1990,7 +1990,7 @@
19901990
"destination": {
19911991
"target": "com.amazonaws.networkmonitor#Destination",
19921992
"traits": {
1993-
"smithy.api#documentation": "<p>The destination IP address. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>",
1993+
"smithy.api#documentation": "<p>The destination IP address. This must be either <code>IPV4</code> or <code>IPV6</code>.</p>",
19941994
"smithy.api#required": {}
19951995
}
19961996
},
@@ -2003,14 +2003,14 @@
20032003
"protocol": {
20042004
"target": "com.amazonaws.networkmonitor#Protocol",
20052005
"traits": {
2006-
"smithy.api#documentation": "<p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This will be either <code>TCP</code> or <code>ICMP</code>.</p>",
2006+
"smithy.api#documentation": "<p>The protocol used for the network traffic between the <code>source</code> and <code>destination</code>. This must be either <code>TCP</code> or <code>ICMP</code>.</p>",
20072007
"smithy.api#required": {}
20082008
}
20092009
},
20102010
"packetSize": {
20112011
"target": "com.amazonaws.networkmonitor#PacketSize",
20122012
"traits": {
2013-
"smithy.api#documentation": "<p>The size of the packets sent between the source and destination. This will be a number between <code>56</code> and <code>8500</code>.</p>"
2013+
"smithy.api#documentation": "<p>The size of the packets sent between the source and destination. This must be a number between <code>56</code> and <code>8500</code>.</p>"
20142014
}
20152015
},
20162016
"tags": {
@@ -2123,7 +2123,7 @@
21232123
"traits": {
21242124
"smithy.api#length": {
21252125
"min": 1,
2126-
"max": 255
2126+
"max": 200
21272127
},
21282128
"smithy.api#pattern": "^[a-zA-Z0-9_-]+$"
21292129
}
@@ -2619,7 +2619,7 @@
26192619
"destinationPort": {
26202620
"target": "com.amazonaws.networkmonitor#Port",
26212621
"traits": {
2622-
"smithy.api#documentation": "<p>The updated destination port. This will be a number between <code>1</code> and <code>65536</code>.</p>"
2622+
"smithy.api#documentation": "<p>The updated destination port. This must be a number between <code>1</code> and <code>65536</code>.</p>"
26232623
}
26242624
},
26252625
"protocol": {
@@ -2638,7 +2638,7 @@
26382638
"addressFamily": {
26392639
"target": "com.amazonaws.networkmonitor#AddressFamily",
26402640
"traits": {
2641-
"smithy.api#documentation": "<p>The updated IP address family. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>"
2641+
"smithy.api#documentation": "<p>The updated IP address family. This must be either <code>IPV4</code> or <code>IPV6</code>.</p>"
26422642
}
26432643
},
26442644
"vpcId": {

0 commit comments

Comments
 (0)