@aws-sdk/client-internetmonitor 3.312.0 → 3.315.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.
@@ -41,7 +41,7 @@ export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __Metad
41
41
  * Tags: { // TagMap
42
42
  * "<keys>": "STRING_VALUE",
43
43
  * },
44
- * MaxCityNetworksToMonitor: Number("int"), // required
44
+ * MaxCityNetworksToMonitor: Number("int"),
45
45
  * InternetMeasurementsLogDelivery: { // InternetMeasurementsLogDelivery
46
46
  * S3Config: { // S3Config
47
47
  * BucketName: "STRING_VALUE",
@@ -49,6 +49,7 @@ export interface CreateMonitorCommandOutput extends CreateMonitorOutput, __Metad
49
49
  * LogDeliveryStatus: "STRING_VALUE",
50
50
  * },
51
51
  * },
52
+ * TrafficPercentageToMonitor: Number("int"),
52
53
  * };
53
54
  * const command = new CreateMonitorCommand(input);
54
55
  * const response = await client.send(command);
@@ -48,6 +48,7 @@ export interface UpdateMonitorCommandOutput extends UpdateMonitorOutput, __Metad
48
48
  * LogDeliveryStatus: "STRING_VALUE",
49
49
  * },
50
50
  * },
51
+ * TrafficPercentageToMonitor: Number("int"),
51
52
  * };
52
53
  * const command = new UpdateMonitorCommand(input);
53
54
  * const response = await client.send(command);
@@ -104,8 +104,7 @@ export interface S3Config {
104
104
  }
105
105
  /**
106
106
  * @public
107
- * <p>Configuration information for other locations that you choose to publish Amazon CloudWatch Internet Monitor internet measurements to, such as Amazon S3.
108
- * The measurements are also published to Amazon CloudWatch Logs.</p>
107
+ * <p>Publish internet measurements to an Amazon S3 bucket in addition to CloudWatch Logs.</p>
109
108
  */
110
109
  export interface InternetMeasurementsLogDelivery {
111
110
  /**
@@ -147,11 +146,15 @@ export interface CreateMonitorInput {
147
146
  * <p>To learn more, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMCityNetworksMaximum.html">Choosing a city-network maximum value
148
147
  * </a> in the Amazon CloudWatch Internet Monitor section of the <i>CloudWatch User Guide</i>.</p>
149
148
  */
150
- MaxCityNetworksToMonitor: number | undefined;
149
+ MaxCityNetworksToMonitor?: number;
151
150
  /**
152
- * <p>Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.</p>
151
+ * <p>Publish internet measurements for Internet Monitor to an Amazon S3 bucket in addition to CloudWatch Logs.</p>
153
152
  */
154
153
  InternetMeasurementsLogDelivery?: InternetMeasurementsLogDelivery;
154
+ /**
155
+ * <p>The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.</p>
156
+ */
157
+ TrafficPercentageToMonitor?: number;
155
158
  }
156
159
  /**
157
160
  * @public
@@ -602,11 +605,15 @@ export interface GetMonitorOutput {
602
605
  * <p>To learn more, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/IMCityNetworksMaximum.html">Choosing a city-network maximum value
603
606
  * </a> in the Amazon CloudWatch Internet Monitor section of the <i>CloudWatch User Guide</i>.</p>
604
607
  */
605
- MaxCityNetworksToMonitor: number | undefined;
608
+ MaxCityNetworksToMonitor?: number;
606
609
  /**
607
610
  * <p>Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.</p>
608
611
  */
609
612
  InternetMeasurementsLogDelivery?: InternetMeasurementsLogDelivery;
613
+ /**
614
+ * <p>The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.</p>
615
+ */
616
+ TrafficPercentageToMonitor?: number;
610
617
  }
611
618
  /**
612
619
  * @public
@@ -862,6 +869,10 @@ export interface UpdateMonitorInput {
862
869
  * <p>Publish internet measurements for Internet Monitor to another location, such as an Amazon S3 bucket. The measurements are also published to Amazon CloudWatch Logs.</p>
863
870
  */
864
871
  InternetMeasurementsLogDelivery?: InternetMeasurementsLogDelivery;
872
+ /**
873
+ * <p>The percentage of the internet-facing traffic for your application that you want to monitor with this monitor.</p>
874
+ */
875
+ TrafficPercentageToMonitor?: number;
865
876
  }
866
877
  /**
867
878
  * @public
@@ -43,8 +43,9 @@ export interface CreateMonitorInput {
43
43
  Resources?: string[];
44
44
  ClientToken?: string;
45
45
  Tags?: Record<string, string>;
46
- MaxCityNetworksToMonitor: number | undefined;
46
+ MaxCityNetworksToMonitor?: number;
47
47
  InternetMeasurementsLogDelivery?: InternetMeasurementsLogDelivery;
48
+ TrafficPercentageToMonitor?: number;
48
49
  }
49
50
  export declare const MonitorConfigState: {
50
51
  readonly ACTIVE: "ACTIVE";
@@ -191,8 +192,9 @@ export interface GetMonitorOutput {
191
192
  ProcessingStatus?: MonitorProcessingStatusCode | string;
192
193
  ProcessingStatusInfo?: string;
193
194
  Tags?: Record<string, string>;
194
- MaxCityNetworksToMonitor: number | undefined;
195
+ MaxCityNetworksToMonitor?: number;
195
196
  InternetMeasurementsLogDelivery?: InternetMeasurementsLogDelivery;
197
+ TrafficPercentageToMonitor?: number;
196
198
  }
197
199
  export interface HealthEvent {
198
200
  EventArn: string | undefined;
@@ -277,6 +279,7 @@ export interface UpdateMonitorInput {
277
279
  ClientToken?: string;
278
280
  MaxCityNetworksToMonitor?: number;
279
281
  InternetMeasurementsLogDelivery?: InternetMeasurementsLogDelivery;
282
+ TrafficPercentageToMonitor?: number;
280
283
  }
281
284
  export interface UpdateMonitorOutput {
282
285
  MonitorArn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-internetmonitor",
3
3
  "description": "AWS SDK for JavaScript Internetmonitor Client for Node.js, Browser and React Native",
4
- "version": "3.312.0",
4
+ "version": "3.315.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.312.0",
24
+ "@aws-sdk/client-sts": "3.315.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.310.0",
26
+ "@aws-sdk/credential-provider-node": "3.315.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.310.0",
43
+ "@aws-sdk/smithy-client": "3.315.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.310.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.315.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.315.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",