Skip to content

Commit

Permalink
feat(client-networkmonitor): Updated the allowed monitorName length f…
Browse files Browse the repository at this point in the history
…or CloudWatch Network Monitor.
  • Loading branch information
awstools committed Apr 8, 2024
1 parent 5b18eb2 commit 42abf0e
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 39 deletions.
12 changes: 6 additions & 6 deletions clients/client-networkmonitor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,26 @@
"@aws-sdk/util-user-agent-browser": "*",
"@aws-sdk/util-user-agent-node": "*",
"@smithy/config-resolver": "^2.2.0",
"@smithy/core": "^1.4.1",
"@smithy/core": "^1.4.2",
"@smithy/fetch-http-handler": "^2.5.0",
"@smithy/hash-node": "^2.2.0",
"@smithy/invalid-dependency": "^2.2.0",
"@smithy/middleware-content-length": "^2.2.0",
"@smithy/middleware-endpoint": "^2.5.0",
"@smithy/middleware-retry": "^2.3.0",
"@smithy/middleware-endpoint": "^2.5.1",
"@smithy/middleware-retry": "^2.3.1",
"@smithy/middleware-serde": "^2.3.0",
"@smithy/middleware-stack": "^2.2.0",
"@smithy/node-config-provider": "^2.3.0",
"@smithy/node-http-handler": "^2.5.0",
"@smithy/protocol-http": "^3.3.0",
"@smithy/smithy-client": "^2.5.0",
"@smithy/smithy-client": "^2.5.1",
"@smithy/types": "^2.12.0",
"@smithy/url-parser": "^2.2.0",
"@smithy/util-base64": "^2.3.0",
"@smithy/util-body-length-browser": "^2.2.0",
"@smithy/util-body-length-node": "^2.3.0",
"@smithy/util-defaults-mode-browser": "^2.2.0",
"@smithy/util-defaults-mode-node": "^2.3.0",
"@smithy/util-defaults-mode-browser": "^2.2.1",
"@smithy/util-defaults-mode-node": "^2.3.1",
"@smithy/util-endpoints": "^1.2.0",
"@smithy/util-middleware": "^2.2.0",
"@smithy/util-retry": "^2.2.0",
Expand Down
32 changes: 16 additions & 16 deletions clients/client-networkmonitor/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export interface CreateMonitorProbeInput {
sourceArn: string | undefined;

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

/**
* <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>
* <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>
* @public
*/
protocol: Protocol | undefined;

/**
* <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>
* <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>
* @public
*/
packetSize?: number;
Expand All @@ -118,7 +118,7 @@ export interface CreateMonitorProbeInput {
*/
export interface CreateMonitorInput {
/**
* <p>The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 255 characters.</p>
* <p>The name identifying the monitor. It can contain only letters, underscores (_), or dashes (-), and can be up to 200 characters.</p>
* @public
*/
monitorName: string | undefined;
Expand Down Expand Up @@ -188,7 +188,7 @@ export interface CreateMonitorOutput {
state: MonitorState | undefined;

/**
* <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>
* <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>
* @public
*/
aggregationPeriod?: number;
Expand Down Expand Up @@ -296,7 +296,7 @@ export interface ProbeInput {
sourceArn: string | undefined;

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

/**
* <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>
* <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>
* @public
*/
protocol: Protocol | undefined;

/**
* <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>
* <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>
* @public
*/
packetSize?: number;
Expand Down Expand Up @@ -396,7 +396,7 @@ export interface CreateProbeOutput {
sourceArn: string | undefined;

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

/**
* <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>
* <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>
* @public
*/
protocol: Protocol | undefined;

/**
* <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>
* <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>
* @public
*/
packetSize?: number;
Expand Down Expand Up @@ -702,7 +702,7 @@ export interface GetProbeOutput {
sourceArn: string | undefined;

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

/**
* <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>
* <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>
* @public
*/
protocol: Protocol | undefined;

/**
* <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>
* <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>
* @public
*/
packetSize?: number;
Expand Down Expand Up @@ -991,7 +991,7 @@ export interface UpdateProbeOutput {
destination: string | undefined;

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

/**
* <p>The updated IP address family. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>
* <p>The updated IP address family. This must be either <code>IPV4</code> or <code>IPV6</code>.</p>
* @public
*/
addressFamily?: AddressFamily;
Expand Down
34 changes: 17 additions & 17 deletions codegen/sdk-codegen/aws-models/networkmonitor.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
"monitorName": {
"target": "com.amazonaws.networkmonitor#ResourceName",
"traits": {
"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>",
"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>",
"smithy.api#required": {}
}
},
Expand Down Expand Up @@ -169,7 +169,7 @@
"aggregationPeriod": {
"target": "com.amazonaws.networkmonitor#AggregationPeriod",
"traits": {
"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>"
"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>"
}
},
"tags": {
Expand All @@ -196,7 +196,7 @@
"destination": {
"target": "com.amazonaws.networkmonitor#Destination",
"traits": {
"smithy.api#documentation": "<p>The destination IP address. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>",
"smithy.api#documentation": "<p>The destination IP address. This must be either <code>IPV4</code> or <code>IPV6</code>.</p>",
"smithy.api#required": {}
}
},
Expand All @@ -209,14 +209,14 @@
"protocol": {
"target": "com.amazonaws.networkmonitor#Protocol",
"traits": {
"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>",
"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>",
"smithy.api#required": {}
}
},
"packetSize": {
"target": "com.amazonaws.networkmonitor#PacketSize",
"traits": {
"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>"
"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>"
}
},
"probeTags": {
Expand Down Expand Up @@ -337,7 +337,7 @@
"destination": {
"target": "com.amazonaws.networkmonitor#Destination",
"traits": {
"smithy.api#documentation": "<p>The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.</p>",
"smithy.api#documentation": "<p>The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.</p>",
"smithy.api#required": {}
}
},
Expand All @@ -350,14 +350,14 @@
"protocol": {
"target": "com.amazonaws.networkmonitor#Protocol",
"traits": {
"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>",
"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>",
"smithy.api#required": {}
}
},
"packetSize": {
"target": "com.amazonaws.networkmonitor#PacketSize",
"traits": {
"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>"
"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>"
}
},
"addressFamily": {
Expand Down Expand Up @@ -742,7 +742,7 @@
"destination": {
"target": "com.amazonaws.networkmonitor#Destination",
"traits": {
"smithy.api#documentation": "<p>The destination IP address for the monitor. This will be either an IPv4 or IPv6 address.</p>",
"smithy.api#documentation": "<p>The destination IP address for the monitor. This must be either an IPv4 or IPv6 address.</p>",
"smithy.api#required": {}
}
},
Expand All @@ -755,14 +755,14 @@
"protocol": {
"target": "com.amazonaws.networkmonitor#Protocol",
"traits": {
"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>",
"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>",
"smithy.api#required": {}
}
},
"packetSize": {
"target": "com.amazonaws.networkmonitor#PacketSize",
"traits": {
"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>"
"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>"
}
},
"addressFamily": {
Expand Down Expand Up @@ -1990,7 +1990,7 @@
"destination": {
"target": "com.amazonaws.networkmonitor#Destination",
"traits": {
"smithy.api#documentation": "<p>The destination IP address. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>",
"smithy.api#documentation": "<p>The destination IP address. This must be either <code>IPV4</code> or <code>IPV6</code>.</p>",
"smithy.api#required": {}
}
},
Expand All @@ -2003,14 +2003,14 @@
"protocol": {
"target": "com.amazonaws.networkmonitor#Protocol",
"traits": {
"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>",
"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>",
"smithy.api#required": {}
}
},
"packetSize": {
"target": "com.amazonaws.networkmonitor#PacketSize",
"traits": {
"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>"
"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>"
}
},
"tags": {
Expand Down Expand Up @@ -2123,7 +2123,7 @@
"traits": {
"smithy.api#length": {
"min": 1,
"max": 255
"max": 200
},
"smithy.api#pattern": "^[a-zA-Z0-9_-]+$"
}
Expand Down Expand Up @@ -2619,7 +2619,7 @@
"destinationPort": {
"target": "com.amazonaws.networkmonitor#Port",
"traits": {
"smithy.api#documentation": "<p>The updated destination port. This will be a number between <code>1</code> and <code>65536</code>.</p>"
"smithy.api#documentation": "<p>The updated destination port. This must be a number between <code>1</code> and <code>65536</code>.</p>"
}
},
"protocol": {
Expand All @@ -2638,7 +2638,7 @@
"addressFamily": {
"target": "com.amazonaws.networkmonitor#AddressFamily",
"traits": {
"smithy.api#documentation": "<p>The updated IP address family. This will be either <code>IPV4</code> or <code>IPV6</code>.</p>"
"smithy.api#documentation": "<p>The updated IP address family. This must be either <code>IPV4</code> or <code>IPV6</code>.</p>"
}
},
"vpcId": {
Expand Down

0 comments on commit 42abf0e

Please sign in to comment.