@aws-sdk/client-sagemaker-metrics 3.687.0 → 3.692.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.
@@ -74,12 +74,12 @@ export interface MetricQuery {
74
74
  * <p>The start time of metrics to retrieve.</p>
75
75
  * @public
76
76
  */
77
- Start?: number;
77
+ Start?: number | undefined;
78
78
  /**
79
79
  * <p>The end time of metrics to retrieve.</p>
80
80
  * @public
81
81
  */
82
- End?: number;
82
+ End?: number | undefined;
83
83
  }
84
84
  /**
85
85
  * @public
@@ -119,7 +119,7 @@ export interface MetricQueryResult {
119
119
  * <p>A message describing the status of the metric query.</p>
120
120
  * @public
121
121
  */
122
- Message?: string;
122
+ Message?: string | undefined;
123
123
  /**
124
124
  * <p>The values for the x-axis of the metrics.</p>
125
125
  * @public
@@ -139,7 +139,7 @@ export interface BatchGetMetricsResponse {
139
139
  * <p>The results of a query to retrieve training metrics from SageMaker.</p>
140
140
  * @public
141
141
  */
142
- MetricQueryResults?: MetricQueryResult[];
142
+ MetricQueryResults?: MetricQueryResult[] | undefined;
143
143
  }
144
144
  /**
145
145
  * <p>The raw metric data to associate with the resource.</p>
@@ -161,7 +161,7 @@ export interface RawMetricData {
161
161
  * </p>
162
162
  * @public
163
163
  */
164
- Step?: number;
164
+ Step?: number | undefined;
165
165
  /**
166
166
  * <p>The metric value.</p>
167
167
  * @public
@@ -226,12 +226,12 @@ export interface BatchPutMetricsError {
226
226
  * </ul>
227
227
  * @public
228
228
  */
229
- Code?: PutMetricsErrorCode;
229
+ Code?: PutMetricsErrorCode | undefined;
230
230
  /**
231
231
  * <p>An index that corresponds to the metric in the request.</p>
232
232
  * @public
233
233
  */
234
- MetricIndex?: number;
234
+ MetricIndex?: number | undefined;
235
235
  }
236
236
  /**
237
237
  * @public
@@ -241,5 +241,5 @@ export interface BatchPutMetricsResponse {
241
241
  * <p>Lists any errors that occur when inserting metric data.</p>
242
242
  * @public
243
243
  */
244
- Errors?: BatchPutMetricsError[];
244
+ Errors?: BatchPutMetricsError[] | undefined;
245
245
  }
@@ -26,8 +26,8 @@ export interface MetricQuery {
26
26
  MetricStat: MetricStatistic | undefined;
27
27
  Period: Period | undefined;
28
28
  XAxisType: XAxisType | undefined;
29
- Start?: number;
30
- End?: number;
29
+ Start?: number | undefined;
30
+ End?: number | undefined;
31
31
  }
32
32
  export interface BatchGetMetricsRequest {
33
33
  MetricQueries: MetricQuery[] | undefined;
@@ -42,17 +42,17 @@ export type MetricQueryResultStatus =
42
42
  (typeof MetricQueryResultStatus)[keyof typeof MetricQueryResultStatus];
43
43
  export interface MetricQueryResult {
44
44
  Status: MetricQueryResultStatus | undefined;
45
- Message?: string;
45
+ Message?: string | undefined;
46
46
  XAxisValues: number[] | undefined;
47
47
  MetricValues: number[] | undefined;
48
48
  }
49
49
  export interface BatchGetMetricsResponse {
50
- MetricQueryResults?: MetricQueryResult[];
50
+ MetricQueryResults?: MetricQueryResult[] | undefined;
51
51
  }
52
52
  export interface RawMetricData {
53
53
  MetricName: string | undefined;
54
54
  Timestamp: Date | undefined;
55
- Step?: number;
55
+ Step?: number | undefined;
56
56
  Value: number | undefined;
57
57
  }
58
58
  export interface BatchPutMetricsRequest {
@@ -68,9 +68,9 @@ export declare const PutMetricsErrorCode: {
68
68
  export type PutMetricsErrorCode =
69
69
  (typeof PutMetricsErrorCode)[keyof typeof PutMetricsErrorCode];
70
70
  export interface BatchPutMetricsError {
71
- Code?: PutMetricsErrorCode;
72
- MetricIndex?: number;
71
+ Code?: PutMetricsErrorCode | undefined;
72
+ MetricIndex?: number | undefined;
73
73
  }
74
74
  export interface BatchPutMetricsResponse {
75
- Errors?: BatchPutMetricsError[];
75
+ Errors?: BatchPutMetricsError[] | undefined;
76
76
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-metrics",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Metrics Client for Node.js, Browser and React Native",
4
- "version": "3.687.0",
4
+ "version": "3.692.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker-metrics",
@@ -20,43 +20,43 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
27
- "@aws-sdk/middleware-host-header": "3.686.0",
28
- "@aws-sdk/middleware-logger": "3.686.0",
29
- "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
31
- "@aws-sdk/region-config-resolver": "3.686.0",
32
- "@aws-sdk/types": "3.686.0",
33
- "@aws-sdk/util-endpoints": "3.686.0",
34
- "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
36
- "@smithy/config-resolver": "^3.0.10",
37
- "@smithy/core": "^2.5.1",
38
- "@smithy/fetch-http-handler": "^4.0.0",
39
- "@smithy/hash-node": "^3.0.8",
40
- "@smithy/invalid-dependency": "^3.0.8",
41
- "@smithy/middleware-content-length": "^3.0.10",
42
- "@smithy/middleware-endpoint": "^3.2.1",
43
- "@smithy/middleware-retry": "^3.0.25",
44
- "@smithy/middleware-serde": "^3.0.8",
45
- "@smithy/middleware-stack": "^3.0.8",
46
- "@smithy/node-config-provider": "^3.1.9",
47
- "@smithy/node-http-handler": "^3.2.5",
48
- "@smithy/protocol-http": "^4.1.5",
49
- "@smithy/smithy-client": "^3.4.2",
50
- "@smithy/types": "^3.6.0",
51
- "@smithy/url-parser": "^3.0.8",
23
+ "@aws-sdk/client-sso-oidc": "3.692.0",
24
+ "@aws-sdk/client-sts": "3.692.0",
25
+ "@aws-sdk/core": "3.692.0",
26
+ "@aws-sdk/credential-provider-node": "3.692.0",
27
+ "@aws-sdk/middleware-host-header": "3.692.0",
28
+ "@aws-sdk/middleware-logger": "3.692.0",
29
+ "@aws-sdk/middleware-recursion-detection": "3.692.0",
30
+ "@aws-sdk/middleware-user-agent": "3.692.0",
31
+ "@aws-sdk/region-config-resolver": "3.692.0",
32
+ "@aws-sdk/types": "3.692.0",
33
+ "@aws-sdk/util-endpoints": "3.692.0",
34
+ "@aws-sdk/util-user-agent-browser": "3.692.0",
35
+ "@aws-sdk/util-user-agent-node": "3.692.0",
36
+ "@smithy/config-resolver": "^3.0.11",
37
+ "@smithy/core": "^2.5.2",
38
+ "@smithy/fetch-http-handler": "^4.1.0",
39
+ "@smithy/hash-node": "^3.0.9",
40
+ "@smithy/invalid-dependency": "^3.0.9",
41
+ "@smithy/middleware-content-length": "^3.0.11",
42
+ "@smithy/middleware-endpoint": "^3.2.2",
43
+ "@smithy/middleware-retry": "^3.0.26",
44
+ "@smithy/middleware-serde": "^3.0.9",
45
+ "@smithy/middleware-stack": "^3.0.9",
46
+ "@smithy/node-config-provider": "^3.1.10",
47
+ "@smithy/node-http-handler": "^3.3.0",
48
+ "@smithy/protocol-http": "^4.1.6",
49
+ "@smithy/smithy-client": "^3.4.3",
50
+ "@smithy/types": "^3.7.0",
51
+ "@smithy/url-parser": "^3.0.9",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.25",
56
- "@smithy/util-defaults-mode-node": "^3.0.25",
57
- "@smithy/util-endpoints": "^2.1.4",
58
- "@smithy/util-middleware": "^3.0.8",
59
- "@smithy/util-retry": "^3.0.8",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.26",
56
+ "@smithy/util-defaults-mode-node": "^3.0.26",
57
+ "@smithy/util-endpoints": "^2.1.5",
58
+ "@smithy/util-middleware": "^3.0.9",
59
+ "@smithy/util-retry": "^3.0.9",
60
60
  "@smithy/util-utf8": "^3.0.0",
61
61
  "tslib": "^2.6.2"
62
62
  },