@aws-sdk/client-lightsail 3.1154.0 → 3.1156.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.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1153.0";
72
+ var version = "3.1155.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -5355,6 +5355,13 @@ const MetricName = {
5355
5355
  ClientTLSNegotiationErrorCount: "ClientTLSNegotiationErrorCount",
5356
5356
  DatabaseConnections: "DatabaseConnections",
5357
5357
  DiskQueueDepth: "DiskQueueDepth",
5358
+ DiskQueueLength: "DiskQueueLength",
5359
+ DiskReadBytes: "DiskReadBytes",
5360
+ DiskReadOps: "DiskReadOps",
5361
+ DiskTotalReadTime: "DiskTotalReadTime",
5362
+ DiskTotalWriteTime: "DiskTotalWriteTime",
5363
+ DiskWriteBytes: "DiskWriteBytes",
5364
+ DiskWriteOps: "DiskWriteOps",
5358
5365
  FreeStorageSpace: "FreeStorageSpace",
5359
5366
  FreeableMemory: "FreeableMemory",
5360
5367
  HTTPCode_Instance_2XX_Count: "HTTPCode_Instance_2XX_Count",
@@ -5800,6 +5807,13 @@ const InstanceMetricName = {
5800
5807
  BurstCapacityPercentage: "BurstCapacityPercentage",
5801
5808
  BurstCapacityTime: "BurstCapacityTime",
5802
5809
  CPUUtilization: "CPUUtilization",
5810
+ DiskQueueLength: "DiskQueueLength",
5811
+ DiskReadBytes: "DiskReadBytes",
5812
+ DiskReadOps: "DiskReadOps",
5813
+ DiskTotalReadTime: "DiskTotalReadTime",
5814
+ DiskTotalWriteTime: "DiskTotalWriteTime",
5815
+ DiskWriteBytes: "DiskWriteBytes",
5816
+ DiskWriteOps: "DiskWriteOps",
5803
5817
  MetadataNoToken: "MetadataNoToken",
5804
5818
  NetworkIn: "NetworkIn",
5805
5819
  NetworkOut: "NetworkOut",
@@ -65,6 +65,13 @@ export const MetricName = {
65
65
  ClientTLSNegotiationErrorCount: "ClientTLSNegotiationErrorCount",
66
66
  DatabaseConnections: "DatabaseConnections",
67
67
  DiskQueueDepth: "DiskQueueDepth",
68
+ DiskQueueLength: "DiskQueueLength",
69
+ DiskReadBytes: "DiskReadBytes",
70
+ DiskReadOps: "DiskReadOps",
71
+ DiskTotalReadTime: "DiskTotalReadTime",
72
+ DiskTotalWriteTime: "DiskTotalWriteTime",
73
+ DiskWriteBytes: "DiskWriteBytes",
74
+ DiskWriteOps: "DiskWriteOps",
68
75
  FreeStorageSpace: "FreeStorageSpace",
69
76
  FreeableMemory: "FreeableMemory",
70
77
  HTTPCode_Instance_2XX_Count: "HTTPCode_Instance_2XX_Count",
@@ -510,6 +517,13 @@ export const InstanceMetricName = {
510
517
  BurstCapacityPercentage: "BurstCapacityPercentage",
511
518
  BurstCapacityTime: "BurstCapacityTime",
512
519
  CPUUtilization: "CPUUtilization",
520
+ DiskQueueLength: "DiskQueueLength",
521
+ DiskReadBytes: "DiskReadBytes",
522
+ DiskReadOps: "DiskReadOps",
523
+ DiskTotalReadTime: "DiskTotalReadTime",
524
+ DiskTotalWriteTime: "DiskTotalWriteTime",
525
+ DiskWriteBytes: "DiskWriteBytes",
526
+ DiskWriteOps: "DiskWriteOps",
513
527
  MetadataNoToken: "MetadataNoToken",
514
528
  NetworkIn: "NetworkIn",
515
529
  NetworkOut: "NetworkOut",
@@ -290,7 +290,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
290
290
  maxAttempts?: number | __Provider<number>;
291
291
  /**
292
292
  * Specifies which retry algorithm to use.
293
- * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
293
+ * Accepted values are "standard" and "adaptive".
294
+ * @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
294
295
  *
295
296
  */
296
297
  retryMode?: string | __Provider<string>;
@@ -70,7 +70,7 @@ declare const GetAlarmsCommand_base: {
70
70
  * // datapointsToAlarm: Number("int"),
71
71
  * // treatMissingData: "breaching" || "notBreaching" || "ignore" || "missing",
72
72
  * // statistic: "Minimum" || "Maximum" || "Sum" || "Average" || "SampleCount",
73
- * // metricName: "CPUUtilization" || "NetworkIn" || "NetworkOut" || "StatusCheckFailed" || "StatusCheckFailed_Instance" || "StatusCheckFailed_System" || "ClientTLSNegotiationErrorCount" || "HealthyHostCount" || "UnhealthyHostCount" || "HTTPCode_LB_4XX_Count" || "HTTPCode_LB_5XX_Count" || "HTTPCode_Instance_2XX_Count" || "HTTPCode_Instance_3XX_Count" || "HTTPCode_Instance_4XX_Count" || "HTTPCode_Instance_5XX_Count" || "InstanceResponseTime" || "RejectedConnectionCount" || "RequestCount" || "DatabaseConnections" || "DiskQueueDepth" || "FreeStorageSpace" || "NetworkReceiveThroughput" || "NetworkTransmitThroughput" || "FreeableMemory" || "SwapUsage" || "BurstCapacityTime" || "BurstCapacityPercentage",
73
+ * // metricName: "CPUUtilization" || "NetworkIn" || "NetworkOut" || "StatusCheckFailed" || "StatusCheckFailed_Instance" || "StatusCheckFailed_System" || "ClientTLSNegotiationErrorCount" || "HealthyHostCount" || "UnhealthyHostCount" || "HTTPCode_LB_4XX_Count" || "HTTPCode_LB_5XX_Count" || "HTTPCode_Instance_2XX_Count" || "HTTPCode_Instance_3XX_Count" || "HTTPCode_Instance_4XX_Count" || "HTTPCode_Instance_5XX_Count" || "InstanceResponseTime" || "RejectedConnectionCount" || "RequestCount" || "DatabaseConnections" || "DiskQueueDepth" || "FreeStorageSpace" || "NetworkReceiveThroughput" || "NetworkTransmitThroughput" || "FreeableMemory" || "SwapUsage" || "BurstCapacityTime" || "BurstCapacityPercentage" || "DiskReadOps" || "DiskWriteOps" || "DiskReadBytes" || "DiskWriteBytes" || "DiskTotalReadTime" || "DiskTotalWriteTime" || "DiskQueueLength",
74
74
  * // state: "OK" || "ALARM" || "INSUFFICIENT_DATA",
75
75
  * // unit: "Seconds" || "Microseconds" || "Milliseconds" || "Bytes" || "Kilobytes" || "Megabytes" || "Gigabytes" || "Terabytes" || "Bits" || "Kilobits" || "Megabits" || "Gigabits" || "Terabits" || "Percent" || "Count" || "Bytes/Second" || "Kilobytes/Second" || "Megabytes/Second" || "Gigabytes/Second" || "Terabytes/Second" || "Bits/Second" || "Kilobits/Second" || "Megabits/Second" || "Gigabits/Second" || "Terabits/Second" || "Count/Second" || "None",
76
76
  * // contactProtocols: [ // ContactProtocolsList
@@ -39,7 +39,7 @@ declare const GetInstanceMetricDataCommand_base: {
39
39
  * const client = new LightsailClient(config);
40
40
  * const input = { // GetInstanceMetricDataRequest
41
41
  * instanceName: "STRING_VALUE", // required
42
- * metricName: "CPUUtilization" || "NetworkIn" || "NetworkOut" || "StatusCheckFailed" || "StatusCheckFailed_Instance" || "StatusCheckFailed_System" || "BurstCapacityTime" || "BurstCapacityPercentage" || "MetadataNoToken", // required
42
+ * metricName: "CPUUtilization" || "NetworkIn" || "NetworkOut" || "StatusCheckFailed" || "StatusCheckFailed_Instance" || "StatusCheckFailed_System" || "BurstCapacityTime" || "BurstCapacityPercentage" || "MetadataNoToken" || "DiskReadOps" || "DiskWriteOps" || "DiskReadBytes" || "DiskWriteBytes" || "DiskTotalReadTime" || "DiskTotalWriteTime" || "DiskQueueLength", // required
43
43
  * period: Number("int"), // required
44
44
  * startTime: new Date("TIMESTAMP"), // required
45
45
  * endTime: new Date("TIMESTAMP"), // required
@@ -51,7 +51,7 @@ declare const GetInstanceMetricDataCommand_base: {
51
51
  * const command = new GetInstanceMetricDataCommand(input);
52
52
  * const response = await client.send(command);
53
53
  * // { // GetInstanceMetricDataResult
54
- * // metricName: "CPUUtilization" || "NetworkIn" || "NetworkOut" || "StatusCheckFailed" || "StatusCheckFailed_Instance" || "StatusCheckFailed_System" || "BurstCapacityTime" || "BurstCapacityPercentage" || "MetadataNoToken",
54
+ * // metricName: "CPUUtilization" || "NetworkIn" || "NetworkOut" || "StatusCheckFailed" || "StatusCheckFailed_Instance" || "StatusCheckFailed_System" || "BurstCapacityTime" || "BurstCapacityPercentage" || "MetadataNoToken" || "DiskReadOps" || "DiskWriteOps" || "DiskReadBytes" || "DiskWriteBytes" || "DiskTotalReadTime" || "DiskTotalWriteTime" || "DiskQueueLength",
55
55
  * // metricData: [ // MetricDatapointList
56
56
  * // { // MetricDatapoint
57
57
  * // average: Number("double"),
@@ -47,7 +47,7 @@ declare const PutAlarmCommand_base: {
47
47
  * const client = new LightsailClient(config);
48
48
  * const input = { // PutAlarmRequest
49
49
  * alarmName: "STRING_VALUE", // required
50
- * metricName: "CPUUtilization" || "NetworkIn" || "NetworkOut" || "StatusCheckFailed" || "StatusCheckFailed_Instance" || "StatusCheckFailed_System" || "ClientTLSNegotiationErrorCount" || "HealthyHostCount" || "UnhealthyHostCount" || "HTTPCode_LB_4XX_Count" || "HTTPCode_LB_5XX_Count" || "HTTPCode_Instance_2XX_Count" || "HTTPCode_Instance_3XX_Count" || "HTTPCode_Instance_4XX_Count" || "HTTPCode_Instance_5XX_Count" || "InstanceResponseTime" || "RejectedConnectionCount" || "RequestCount" || "DatabaseConnections" || "DiskQueueDepth" || "FreeStorageSpace" || "NetworkReceiveThroughput" || "NetworkTransmitThroughput" || "FreeableMemory" || "SwapUsage" || "BurstCapacityTime" || "BurstCapacityPercentage", // required
50
+ * metricName: "CPUUtilization" || "NetworkIn" || "NetworkOut" || "StatusCheckFailed" || "StatusCheckFailed_Instance" || "StatusCheckFailed_System" || "ClientTLSNegotiationErrorCount" || "HealthyHostCount" || "UnhealthyHostCount" || "HTTPCode_LB_4XX_Count" || "HTTPCode_LB_5XX_Count" || "HTTPCode_Instance_2XX_Count" || "HTTPCode_Instance_3XX_Count" || "HTTPCode_Instance_4XX_Count" || "HTTPCode_Instance_5XX_Count" || "InstanceResponseTime" || "RejectedConnectionCount" || "RequestCount" || "DatabaseConnections" || "DiskQueueDepth" || "FreeStorageSpace" || "NetworkReceiveThroughput" || "NetworkTransmitThroughput" || "FreeableMemory" || "SwapUsage" || "BurstCapacityTime" || "BurstCapacityPercentage" || "DiskReadOps" || "DiskWriteOps" || "DiskReadBytes" || "DiskWriteBytes" || "DiskTotalReadTime" || "DiskTotalWriteTime" || "DiskQueueLength", // required
51
51
  * monitoredResourceName: "STRING_VALUE", // required
52
52
  * comparisonOperator: "GreaterThanOrEqualToThreshold" || "GreaterThanThreshold" || "LessThanThreshold" || "LessThanOrEqualToThreshold", // required
53
53
  * threshold: Number("double"), // required
@@ -141,6 +141,13 @@ export declare const MetricName: {
141
141
  readonly ClientTLSNegotiationErrorCount: "ClientTLSNegotiationErrorCount";
142
142
  readonly DatabaseConnections: "DatabaseConnections";
143
143
  readonly DiskQueueDepth: "DiskQueueDepth";
144
+ readonly DiskQueueLength: "DiskQueueLength";
145
+ readonly DiskReadBytes: "DiskReadBytes";
146
+ readonly DiskReadOps: "DiskReadOps";
147
+ readonly DiskTotalReadTime: "DiskTotalReadTime";
148
+ readonly DiskTotalWriteTime: "DiskTotalWriteTime";
149
+ readonly DiskWriteBytes: "DiskWriteBytes";
150
+ readonly DiskWriteOps: "DiskWriteOps";
144
151
  readonly FreeStorageSpace: "FreeStorageSpace";
145
152
  readonly FreeableMemory: "FreeableMemory";
146
153
  readonly HTTPCode_Instance_2XX_Count: "HTTPCode_Instance_2XX_Count";
@@ -1010,6 +1017,13 @@ export declare const InstanceMetricName: {
1010
1017
  readonly BurstCapacityPercentage: "BurstCapacityPercentage";
1011
1018
  readonly BurstCapacityTime: "BurstCapacityTime";
1012
1019
  readonly CPUUtilization: "CPUUtilization";
1020
+ readonly DiskQueueLength: "DiskQueueLength";
1021
+ readonly DiskReadBytes: "DiskReadBytes";
1022
+ readonly DiskReadOps: "DiskReadOps";
1023
+ readonly DiskTotalReadTime: "DiskTotalReadTime";
1024
+ readonly DiskTotalWriteTime: "DiskTotalWriteTime";
1025
+ readonly DiskWriteBytes: "DiskWriteBytes";
1026
+ readonly DiskWriteOps: "DiskWriteOps";
1013
1027
  readonly MetadataNoToken: "MetadataNoToken";
1014
1028
  readonly NetworkIn: "NetworkIn";
1015
1029
  readonly NetworkOut: "NetworkOut";
@@ -8929,7 +8929,94 @@ export interface GetInstanceMetricDataRequest {
8929
8929
  * <p>
8930
8930
  * <code>Unit</code>: The published unit is <code>Count</code>.</p>
8931
8931
  * </li>
8932
+ * <li>
8933
+ * <p>
8934
+ * <b>
8935
+ * <code>DiskReadOps</code>
8936
+ * </b> - The number of read
8937
+ * operations completed on the system disk of the instance during the period. This metric
8938
+ * doesn't include activity on additional disks that you attach to the instance.</p>
8939
+ * <p>
8940
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
8941
+ * <p>
8942
+ * <code>Unit</code>: The published unit is <code>Count</code>.</p>
8943
+ * </li>
8944
+ * <li>
8945
+ * <p>
8946
+ * <b>
8947
+ * <code>DiskWriteOps</code>
8948
+ * </b> - The number of write
8949
+ * operations completed on the system disk of the instance during the period. This metric
8950
+ * doesn't include activity on additional disks that you attach to the instance.</p>
8951
+ * <p>
8952
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
8953
+ * <p>
8954
+ * <code>Unit</code>: The published unit is <code>Count</code>.</p>
8955
+ * </li>
8956
+ * <li>
8957
+ * <p>
8958
+ * <b>
8959
+ * <code>DiskReadBytes</code>
8960
+ * </b> - The number of bytes read
8961
+ * from the system disk of the instance during the period. This metric doesn't include
8962
+ * activity on additional disks that you attach to the instance.</p>
8963
+ * <p>
8964
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
8965
+ * <p>
8966
+ * <code>Unit</code>: The published unit is <code>Bytes</code>.</p>
8967
+ * </li>
8968
+ * <li>
8969
+ * <p>
8970
+ * <b>
8971
+ * <code>DiskWriteBytes</code>
8972
+ * </b> - The number of bytes
8973
+ * written to the system disk of the instance during the period. This metric doesn't include
8974
+ * activity on additional disks that you attach to the instance.</p>
8975
+ * <p>
8976
+ * <code>Statistics</code>: The most useful statistic is <code>Sum</code>.</p>
8977
+ * <p>
8978
+ * <code>Unit</code>: The published unit is <code>Bytes</code>.</p>
8979
+ * </li>
8980
+ * <li>
8981
+ * <p>
8982
+ * <b>
8983
+ * <code>DiskTotalReadTime</code>
8984
+ * </b> - The total number of
8985
+ * seconds spent by all read operations that completed on the system disk of the instance
8986
+ * during the period. This metric doesn't include activity on additional disks that you
8987
+ * attach to the instance.</p>
8988
+ * <p>
8989
+ * <code>Statistics</code>: The most useful statistic is <code>Average</code>.</p>
8990
+ * <p>
8991
+ * <code>Unit</code>: The published unit is <code>Seconds</code>.</p>
8992
+ * </li>
8993
+ * <li>
8994
+ * <p>
8995
+ * <b>
8996
+ * <code>DiskTotalWriteTime</code>
8997
+ * </b> - The total number of
8998
+ * seconds spent by all write operations that completed on the system disk of the instance
8999
+ * during the period. This metric doesn't include activity on additional disks that you
9000
+ * attach to the instance.</p>
9001
+ * <p>
9002
+ * <code>Statistics</code>: The most useful statistic is <code>Average</code>.</p>
9003
+ * <p>
9004
+ * <code>Unit</code>: The published unit is <code>Seconds</code>.</p>
9005
+ * </li>
9006
+ * <li>
9007
+ * <p>
9008
+ * <b>
9009
+ * <code>DiskQueueLength</code>
9010
+ * </b> - The number of read and
9011
+ * write requests that are waiting to access the system disk of the instance. This metric
9012
+ * doesn't include activity on additional disks that you attach to the instance.</p>
9013
+ * <p>
9014
+ * <code>Statistics</code>: The most useful statistic is <code>Average</code>.</p>
9015
+ * <p>
9016
+ * <code>Unit</code>: The published unit is <code>Count</code>.</p>
9017
+ * </li>
8932
9018
  * </ul>
9019
+ * <p>For more information about system disk performance metrics, see <a href="https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-viewing-instance-disk-performance-metrics">View system disk performance metrics for your Lightsail instance</a>.</p>
8933
9020
  * @public
8934
9021
  */
8935
9022
  metricName: InstanceMetricName | undefined;
@@ -2829,8 +2829,10 @@ export interface PutAlarmRequest {
2829
2829
  * <b>Instances</b>: <code>BurstCapacityPercentage</code>,
2830
2830
  * <code>BurstCapacityTime</code>, <code>CPUUtilization</code>, <code>NetworkIn</code>,
2831
2831
  * <code>NetworkOut</code>, <code>StatusCheckFailed</code>,
2832
- * <code>StatusCheckFailed_Instance</code>, and
2833
- * <code>StatusCheckFailed_System</code>.</p>
2832
+ * <code>StatusCheckFailed_Instance</code>, <code>StatusCheckFailed_System</code>,
2833
+ * <code>DiskReadOps</code>, <code>DiskWriteOps</code>, <code>DiskReadBytes</code>,
2834
+ * <code>DiskWriteBytes</code>, <code>DiskTotalReadTime</code>,
2835
+ * <code>DiskTotalWriteTime</code>, and <code>DiskQueueLength</code>.</p>
2834
2836
  * </li>
2835
2837
  * <li>
2836
2838
  * <p>
@@ -75,6 +75,13 @@ export declare const MetricName: {
75
75
  readonly ClientTLSNegotiationErrorCount: "ClientTLSNegotiationErrorCount";
76
76
  readonly DatabaseConnections: "DatabaseConnections";
77
77
  readonly DiskQueueDepth: "DiskQueueDepth";
78
+ readonly DiskQueueLength: "DiskQueueLength";
79
+ readonly DiskReadBytes: "DiskReadBytes";
80
+ readonly DiskReadOps: "DiskReadOps";
81
+ readonly DiskTotalReadTime: "DiskTotalReadTime";
82
+ readonly DiskTotalWriteTime: "DiskTotalWriteTime";
83
+ readonly DiskWriteBytes: "DiskWriteBytes";
84
+ readonly DiskWriteOps: "DiskWriteOps";
78
85
  readonly FreeStorageSpace: "FreeStorageSpace";
79
86
  readonly FreeableMemory: "FreeableMemory";
80
87
  readonly HTTPCode_Instance_2XX_Count: "HTTPCode_Instance_2XX_Count";
@@ -592,6 +599,13 @@ export declare const InstanceMetricName: {
592
599
  readonly BurstCapacityPercentage: "BurstCapacityPercentage";
593
600
  readonly BurstCapacityTime: "BurstCapacityTime";
594
601
  readonly CPUUtilization: "CPUUtilization";
602
+ readonly DiskQueueLength: "DiskQueueLength";
603
+ readonly DiskReadBytes: "DiskReadBytes";
604
+ readonly DiskReadOps: "DiskReadOps";
605
+ readonly DiskTotalReadTime: "DiskTotalReadTime";
606
+ readonly DiskTotalWriteTime: "DiskTotalWriteTime";
607
+ readonly DiskWriteBytes: "DiskWriteBytes";
608
+ readonly DiskWriteOps: "DiskWriteOps";
595
609
  readonly MetadataNoToken: "MetadataNoToken";
596
610
  readonly NetworkIn: "NetworkIn";
597
611
  readonly NetworkOut: "NetworkOut";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lightsail",
3
- "version": "3.1154.0",
3
+ "version": "3.1156.0",
4
4
  "description": "AWS SDK for JavaScript Lightsail Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lightsail",
6
6
  "license": "Apache-2.0",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.4",
50
- "@aws-sdk/credential-provider-node": "^3.972.87",
51
- "@aws-sdk/types": "^3.974.6",
52
- "@smithy/core": "^3.36.0",
49
+ "@aws-sdk/core": "^3.978.5",
50
+ "@aws-sdk/credential-provider-node": "^3.972.88",
51
+ "@aws-sdk/types": "^3.975.0",
52
+ "@smithy/core": "^3.36.1",
53
53
  "@smithy/fetch-http-handler": "^5.8.0",
54
54
  "@smithy/node-http-handler": "^4.12.1",
55
55
  "@smithy/types": "^4.19.0",