@aws-sdk/client-sagemaker-metrics 3.934.0 → 3.935.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-es/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export * from "./SageMakerMetricsClient";
2
2
  export * from "./SageMakerMetrics";
3
3
  export * from "./commands";
4
- export * from "./models";
4
+ export * from "./models/enums";
5
5
  export { SageMakerMetricsServiceException } from "./models/SageMakerMetricsServiceException";
@@ -0,0 +1,30 @@
1
+ export const MetricStatistic = {
2
+ AVG: "Avg",
3
+ COUNT: "Count",
4
+ LAST: "Last",
5
+ MAX: "Max",
6
+ MIN: "Min",
7
+ STD_DEV: "StdDev",
8
+ };
9
+ export const Period = {
10
+ FIVE_MINUTE: "FiveMinute",
11
+ ITERATION_NUMBER: "IterationNumber",
12
+ ONE_HOUR: "OneHour",
13
+ ONE_MINUTE: "OneMinute",
14
+ };
15
+ export const XAxisType = {
16
+ ITERATION_NUMBER: "IterationNumber",
17
+ TIMESTAMP: "Timestamp",
18
+ };
19
+ export const MetricQueryResultStatus = {
20
+ COMPLETE: "Complete",
21
+ INTERNAL_ERROR: "InternalError",
22
+ TRUNCATED: "Truncated",
23
+ VALIDATION_ERROR: "ValidationError",
24
+ };
25
+ export const PutMetricsErrorCode = {
26
+ CONFLICT_ERROR: "CONFLICT_ERROR",
27
+ INTERNAL_ERROR: "INTERNAL_ERROR",
28
+ METRIC_LIMIT_EXCEEDED: "METRIC_LIMIT_EXCEEDED",
29
+ VALIDATION_ERROR: "VALIDATION_ERROR",
30
+ };
@@ -1,30 +1 @@
1
- export const MetricStatistic = {
2
- AVG: "Avg",
3
- COUNT: "Count",
4
- LAST: "Last",
5
- MAX: "Max",
6
- MIN: "Min",
7
- STD_DEV: "StdDev",
8
- };
9
- export const Period = {
10
- FIVE_MINUTE: "FiveMinute",
11
- ITERATION_NUMBER: "IterationNumber",
12
- ONE_HOUR: "OneHour",
13
- ONE_MINUTE: "OneMinute",
14
- };
15
- export const XAxisType = {
16
- ITERATION_NUMBER: "IterationNumber",
17
- TIMESTAMP: "Timestamp",
18
- };
19
- export const MetricQueryResultStatus = {
20
- COMPLETE: "Complete",
21
- INTERNAL_ERROR: "InternalError",
22
- TRUNCATED: "Truncated",
23
- VALIDATION_ERROR: "ValidationError",
24
- };
25
- export const PutMetricsErrorCode = {
26
- CONFLICT_ERROR: "CONFLICT_ERROR",
27
- INTERNAL_ERROR: "INTERNAL_ERROR",
28
- METRIC_LIMIT_EXCEEDED: "METRIC_LIMIT_EXCEEDED",
29
- VALIDATION_ERROR: "VALIDATION_ERROR",
30
- };
1
+ export {};
@@ -17,5 +17,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
17
17
  export type { RuntimeExtension } from "./runtimeExtensions";
18
18
  export type { SageMakerMetricsExtensionConfiguration } from "./extensionConfiguration";
19
19
  export * from "./commands";
20
- export * from "./models";
20
+ export * from "./models/enums";
21
+ export type * from "./models/models_0";
21
22
  export { SageMakerMetricsServiceException } from "./models/SageMakerMetricsServiceException";
@@ -0,0 +1,70 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const MetricStatistic: {
6
+ readonly AVG: "Avg";
7
+ readonly COUNT: "Count";
8
+ readonly LAST: "Last";
9
+ readonly MAX: "Max";
10
+ readonly MIN: "Min";
11
+ readonly STD_DEV: "StdDev";
12
+ };
13
+ /**
14
+ * @public
15
+ */
16
+ export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
17
+ /**
18
+ * @public
19
+ * @enum
20
+ */
21
+ export declare const Period: {
22
+ readonly FIVE_MINUTE: "FiveMinute";
23
+ readonly ITERATION_NUMBER: "IterationNumber";
24
+ readonly ONE_HOUR: "OneHour";
25
+ readonly ONE_MINUTE: "OneMinute";
26
+ };
27
+ /**
28
+ * @public
29
+ */
30
+ export type Period = (typeof Period)[keyof typeof Period];
31
+ /**
32
+ * @public
33
+ * @enum
34
+ */
35
+ export declare const XAxisType: {
36
+ readonly ITERATION_NUMBER: "IterationNumber";
37
+ readonly TIMESTAMP: "Timestamp";
38
+ };
39
+ /**
40
+ * @public
41
+ */
42
+ export type XAxisType = (typeof XAxisType)[keyof typeof XAxisType];
43
+ /**
44
+ * @public
45
+ * @enum
46
+ */
47
+ export declare const MetricQueryResultStatus: {
48
+ readonly COMPLETE: "Complete";
49
+ readonly INTERNAL_ERROR: "InternalError";
50
+ readonly TRUNCATED: "Truncated";
51
+ readonly VALIDATION_ERROR: "ValidationError";
52
+ };
53
+ /**
54
+ * @public
55
+ */
56
+ export type MetricQueryResultStatus = (typeof MetricQueryResultStatus)[keyof typeof MetricQueryResultStatus];
57
+ /**
58
+ * @public
59
+ * @enum
60
+ */
61
+ export declare const PutMetricsErrorCode: {
62
+ readonly CONFLICT_ERROR: "CONFLICT_ERROR";
63
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
64
+ readonly METRIC_LIMIT_EXCEEDED: "METRIC_LIMIT_EXCEEDED";
65
+ readonly VALIDATION_ERROR: "VALIDATION_ERROR";
66
+ };
67
+ /**
68
+ * @public
69
+ */
70
+ export type PutMetricsErrorCode = (typeof PutMetricsErrorCode)[keyof typeof PutMetricsErrorCode];
@@ -1,45 +1,4 @@
1
- /**
2
- * @public
3
- * @enum
4
- */
5
- export declare const MetricStatistic: {
6
- readonly AVG: "Avg";
7
- readonly COUNT: "Count";
8
- readonly LAST: "Last";
9
- readonly MAX: "Max";
10
- readonly MIN: "Min";
11
- readonly STD_DEV: "StdDev";
12
- };
13
- /**
14
- * @public
15
- */
16
- export type MetricStatistic = (typeof MetricStatistic)[keyof typeof MetricStatistic];
17
- /**
18
- * @public
19
- * @enum
20
- */
21
- export declare const Period: {
22
- readonly FIVE_MINUTE: "FiveMinute";
23
- readonly ITERATION_NUMBER: "IterationNumber";
24
- readonly ONE_HOUR: "OneHour";
25
- readonly ONE_MINUTE: "OneMinute";
26
- };
27
- /**
28
- * @public
29
- */
30
- export type Period = (typeof Period)[keyof typeof Period];
31
- /**
32
- * @public
33
- * @enum
34
- */
35
- export declare const XAxisType: {
36
- readonly ITERATION_NUMBER: "IterationNumber";
37
- readonly TIMESTAMP: "Timestamp";
38
- };
39
- /**
40
- * @public
41
- */
42
- export type XAxisType = (typeof XAxisType)[keyof typeof XAxisType];
1
+ import { MetricQueryResultStatus, MetricStatistic, Period, PutMetricsErrorCode, XAxisType } from "./enums";
43
2
  /**
44
3
  * <p>Specifies a query to retrieve training metrics from SageMaker.</p>
45
4
  * @public
@@ -91,20 +50,6 @@ export interface BatchGetMetricsRequest {
91
50
  */
92
51
  MetricQueries: MetricQuery[] | undefined;
93
52
  }
94
- /**
95
- * @public
96
- * @enum
97
- */
98
- export declare const MetricQueryResultStatus: {
99
- readonly COMPLETE: "Complete";
100
- readonly INTERNAL_ERROR: "InternalError";
101
- readonly TRUNCATED: "Truncated";
102
- readonly VALIDATION_ERROR: "ValidationError";
103
- };
104
- /**
105
- * @public
106
- */
107
- export type MetricQueryResultStatus = (typeof MetricQueryResultStatus)[keyof typeof MetricQueryResultStatus];
108
53
  /**
109
54
  * <p>The result of a query to retrieve training metrics from SageMaker.</p>
110
55
  * @public
@@ -183,20 +128,6 @@ export interface BatchPutMetricsRequest {
183
128
  */
184
129
  MetricData: RawMetricData[] | undefined;
185
130
  }
186
- /**
187
- * @public
188
- * @enum
189
- */
190
- export declare const PutMetricsErrorCode: {
191
- readonly CONFLICT_ERROR: "CONFLICT_ERROR";
192
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
193
- readonly METRIC_LIMIT_EXCEEDED: "METRIC_LIMIT_EXCEEDED";
194
- readonly VALIDATION_ERROR: "VALIDATION_ERROR";
195
- };
196
- /**
197
- * @public
198
- */
199
- export type PutMetricsErrorCode = (typeof PutMetricsErrorCode)[keyof typeof PutMetricsErrorCode];
200
131
  /**
201
132
  * <p>An error that occured when putting the metric data.</p>
202
133
  * @public
@@ -4,5 +4,6 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { SageMakerMetricsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
- export * from "./models";
7
+ export * from "./models/enums";
8
+ export * from "./models/models_0";
8
9
  export { SageMakerMetricsServiceException } from "./models/SageMakerMetricsServiceException";
@@ -0,0 +1,38 @@
1
+ export declare const MetricStatistic: {
2
+ readonly AVG: "Avg";
3
+ readonly COUNT: "Count";
4
+ readonly LAST: "Last";
5
+ readonly MAX: "Max";
6
+ readonly MIN: "Min";
7
+ readonly STD_DEV: "StdDev";
8
+ };
9
+ export type MetricStatistic =
10
+ (typeof MetricStatistic)[keyof typeof MetricStatistic];
11
+ export declare const Period: {
12
+ readonly FIVE_MINUTE: "FiveMinute";
13
+ readonly ITERATION_NUMBER: "IterationNumber";
14
+ readonly ONE_HOUR: "OneHour";
15
+ readonly ONE_MINUTE: "OneMinute";
16
+ };
17
+ export type Period = (typeof Period)[keyof typeof Period];
18
+ export declare const XAxisType: {
19
+ readonly ITERATION_NUMBER: "IterationNumber";
20
+ readonly TIMESTAMP: "Timestamp";
21
+ };
22
+ export type XAxisType = (typeof XAxisType)[keyof typeof XAxisType];
23
+ export declare const MetricQueryResultStatus: {
24
+ readonly COMPLETE: "Complete";
25
+ readonly INTERNAL_ERROR: "InternalError";
26
+ readonly TRUNCATED: "Truncated";
27
+ readonly VALIDATION_ERROR: "ValidationError";
28
+ };
29
+ export type MetricQueryResultStatus =
30
+ (typeof MetricQueryResultStatus)[keyof typeof MetricQueryResultStatus];
31
+ export declare const PutMetricsErrorCode: {
32
+ readonly CONFLICT_ERROR: "CONFLICT_ERROR";
33
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
34
+ readonly METRIC_LIMIT_EXCEEDED: "METRIC_LIMIT_EXCEEDED";
35
+ readonly VALIDATION_ERROR: "VALIDATION_ERROR";
36
+ };
37
+ export type PutMetricsErrorCode =
38
+ (typeof PutMetricsErrorCode)[keyof typeof PutMetricsErrorCode];
@@ -1,25 +1,10 @@
1
- export declare const MetricStatistic: {
2
- readonly AVG: "Avg";
3
- readonly COUNT: "Count";
4
- readonly LAST: "Last";
5
- readonly MAX: "Max";
6
- readonly MIN: "Min";
7
- readonly STD_DEV: "StdDev";
8
- };
9
- export type MetricStatistic =
10
- (typeof MetricStatistic)[keyof typeof MetricStatistic];
11
- export declare const Period: {
12
- readonly FIVE_MINUTE: "FiveMinute";
13
- readonly ITERATION_NUMBER: "IterationNumber";
14
- readonly ONE_HOUR: "OneHour";
15
- readonly ONE_MINUTE: "OneMinute";
16
- };
17
- export type Period = (typeof Period)[keyof typeof Period];
18
- export declare const XAxisType: {
19
- readonly ITERATION_NUMBER: "IterationNumber";
20
- readonly TIMESTAMP: "Timestamp";
21
- };
22
- export type XAxisType = (typeof XAxisType)[keyof typeof XAxisType];
1
+ import {
2
+ MetricQueryResultStatus,
3
+ MetricStatistic,
4
+ Period,
5
+ PutMetricsErrorCode,
6
+ XAxisType,
7
+ } from "./enums";
23
8
  export interface MetricQuery {
24
9
  MetricName: string | undefined;
25
10
  ResourceArn: string | undefined;
@@ -32,14 +17,6 @@ export interface MetricQuery {
32
17
  export interface BatchGetMetricsRequest {
33
18
  MetricQueries: MetricQuery[] | undefined;
34
19
  }
35
- export declare const MetricQueryResultStatus: {
36
- readonly COMPLETE: "Complete";
37
- readonly INTERNAL_ERROR: "InternalError";
38
- readonly TRUNCATED: "Truncated";
39
- readonly VALIDATION_ERROR: "ValidationError";
40
- };
41
- export type MetricQueryResultStatus =
42
- (typeof MetricQueryResultStatus)[keyof typeof MetricQueryResultStatus];
43
20
  export interface MetricQueryResult {
44
21
  Status: MetricQueryResultStatus | undefined;
45
22
  Message?: string | undefined;
@@ -59,14 +36,6 @@ export interface BatchPutMetricsRequest {
59
36
  TrialComponentName: string | undefined;
60
37
  MetricData: RawMetricData[] | undefined;
61
38
  }
62
- export declare const PutMetricsErrorCode: {
63
- readonly CONFLICT_ERROR: "CONFLICT_ERROR";
64
- readonly INTERNAL_ERROR: "INTERNAL_ERROR";
65
- readonly METRIC_LIMIT_EXCEEDED: "METRIC_LIMIT_EXCEEDED";
66
- readonly VALIDATION_ERROR: "VALIDATION_ERROR";
67
- };
68
- export type PutMetricsErrorCode =
69
- (typeof PutMetricsErrorCode)[keyof typeof PutMetricsErrorCode];
70
39
  export interface BatchPutMetricsError {
71
40
  Code?: PutMetricsErrorCode | undefined;
72
41
  MetricIndex?: number | undefined;
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.934.0",
4
+ "version": "3.935.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,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.934.0",
24
- "@aws-sdk/credential-provider-node": "3.934.0",
23
+ "@aws-sdk/core": "3.935.0",
24
+ "@aws-sdk/credential-provider-node": "3.935.0",
25
25
  "@aws-sdk/middleware-host-header": "3.930.0",
26
26
  "@aws-sdk/middleware-logger": "3.930.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.933.0",
28
- "@aws-sdk/middleware-user-agent": "3.934.0",
28
+ "@aws-sdk/middleware-user-agent": "3.935.0",
29
29
  "@aws-sdk/region-config-resolver": "3.930.0",
30
30
  "@aws-sdk/types": "3.930.0",
31
31
  "@aws-sdk/util-endpoints": "3.930.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.930.0",
33
- "@aws-sdk/util-user-agent-node": "3.934.0",
33
+ "@aws-sdk/util-user-agent-node": "3.935.0",
34
34
  "@smithy/config-resolver": "^4.4.3",
35
- "@smithy/core": "^3.18.2",
35
+ "@smithy/core": "^3.18.5",
36
36
  "@smithy/fetch-http-handler": "^5.3.6",
37
37
  "@smithy/hash-node": "^4.2.5",
38
38
  "@smithy/invalid-dependency": "^4.2.5",
39
39
  "@smithy/middleware-content-length": "^4.2.5",
40
- "@smithy/middleware-endpoint": "^4.3.9",
41
- "@smithy/middleware-retry": "^4.4.9",
42
- "@smithy/middleware-serde": "^4.2.5",
40
+ "@smithy/middleware-endpoint": "^4.3.12",
41
+ "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-serde": "^4.2.6",
43
43
  "@smithy/middleware-stack": "^4.2.5",
44
44
  "@smithy/node-config-provider": "^4.3.5",
45
45
  "@smithy/node-http-handler": "^4.4.5",
46
46
  "@smithy/protocol-http": "^5.3.5",
47
- "@smithy/smithy-client": "^4.9.5",
47
+ "@smithy/smithy-client": "^4.9.8",
48
48
  "@smithy/types": "^4.9.0",
49
49
  "@smithy/url-parser": "^4.2.5",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.8",
54
- "@smithy/util-defaults-mode-node": "^4.2.11",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.11",
54
+ "@smithy/util-defaults-mode-node": "^4.2.14",
55
55
  "@smithy/util-endpoints": "^3.2.5",
56
56
  "@smithy/util-middleware": "^4.2.5",
57
57
  "@smithy/util-retry": "^4.2.5",
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";
@@ -1 +0,0 @@
1
- export * from "./models_0";