@aws-sdk/client-sagemaker-metrics 3.529.1 → 3.535.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.
@@ -10,7 +10,6 @@ export interface SageMakerMetrics {
10
10
  batchPutMetrics(args: BatchPutMetricsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchPutMetricsCommandOutput) => void): void;
11
11
  }
12
12
  /**
13
- * @public
14
13
  * <p>Contains all data plane API operations and data types for Amazon SageMaker Metrics.
15
14
  * Use these APIs to put and retrieve (get) features related to your training run.</p>
16
15
  * <ul>
@@ -20,6 +19,7 @@ export interface SageMakerMetrics {
20
19
  * </p>
21
20
  * </li>
22
21
  * </ul>
22
+ * @public
23
23
  */
24
24
  export declare class SageMakerMetrics extends SageMakerMetricsClient implements SageMakerMetrics {
25
25
  }
@@ -152,7 +152,6 @@ export type SageMakerMetricsClientResolvedConfigType = __SmithyResolvedConfigura
152
152
  export interface SageMakerMetricsClientResolvedConfig extends SageMakerMetricsClientResolvedConfigType {
153
153
  }
154
154
  /**
155
- * @public
156
155
  * <p>Contains all data plane API operations and data types for Amazon SageMaker Metrics.
157
156
  * Use these APIs to put and retrieve (get) features related to your training run.</p>
158
157
  * <ul>
@@ -162,6 +161,7 @@ export interface SageMakerMetricsClientResolvedConfig extends SageMakerMetricsCl
162
161
  * </p>
163
162
  * </li>
164
163
  * </ul>
164
+ * @public
165
165
  */
166
166
  export declare class SageMakerMetricsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SageMakerMetricsClientResolvedConfig> {
167
167
  /**
@@ -22,10 +22,10 @@ export interface BatchPutMetricsCommandOutput extends BatchPutMetricsResponse, _
22
22
  }
23
23
  declare const BatchPutMetricsCommand_base: {
24
24
  new (input: BatchPutMetricsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchPutMetricsCommandInput, BatchPutMetricsCommandOutput, SageMakerMetricsClientResolvedConfig, BatchPutMetricsCommandInput, BatchPutMetricsCommandOutput>;
25
+ new (__0_0: BatchPutMetricsCommandInput): import("@smithy/smithy-client").CommandImpl<BatchPutMetricsCommandInput, BatchPutMetricsCommandOutput, SageMakerMetricsClientResolvedConfig, BatchPutMetricsCommandInput, BatchPutMetricsCommandOutput>;
25
26
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
27
  };
27
28
  /**
28
- * @public
29
29
  * <p>Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio and
30
30
  * retrieved with the <code>GetMetrics</code> API.
31
31
  * </p>
@@ -68,6 +68,7 @@ declare const BatchPutMetricsCommand_base: {
68
68
  * @throws {@link SageMakerMetricsServiceException}
69
69
  * <p>Base exception class for all service exceptions from SageMakerMetrics service.</p>
70
70
  *
71
+ * @public
71
72
  */
72
73
  export declare class BatchPutMetricsCommand extends BatchPutMetricsCommand_base {
73
74
  }
@@ -1,27 +1,27 @@
1
1
  /**
2
- * @public
3
2
  * <p>The raw metric data to associate with the resource.</p>
3
+ * @public
4
4
  */
5
5
  export interface RawMetricData {
6
6
  /**
7
- * @public
8
7
  * <p>The name of the metric.</p>
8
+ * @public
9
9
  */
10
10
  MetricName: string | undefined;
11
11
  /**
12
- * @public
13
12
  * <p>The time that the metric was recorded.</p>
13
+ * @public
14
14
  */
15
15
  Timestamp: Date | undefined;
16
16
  /**
17
- * @public
18
17
  * <p>The metric step (epoch).
19
18
  * </p>
19
+ * @public
20
20
  */
21
21
  Step?: number;
22
22
  /**
23
- * @public
24
23
  * <p>The metric value.</p>
24
+ * @public
25
25
  */
26
26
  Value: number | undefined;
27
27
  }
@@ -30,13 +30,13 @@ export interface RawMetricData {
30
30
  */
31
31
  export interface BatchPutMetricsRequest {
32
32
  /**
33
- * @public
34
33
  * <p>The name of the Trial Component to associate with the metrics.</p>
34
+ * @public
35
35
  */
36
36
  TrialComponentName: string | undefined;
37
37
  /**
38
- * @public
39
38
  * <p>A list of raw metric values to put.</p>
39
+ * @public
40
40
  */
41
41
  MetricData: RawMetricData[] | undefined;
42
42
  }
@@ -55,12 +55,11 @@ export declare const PutMetricsErrorCode: {
55
55
  */
56
56
  export type PutMetricsErrorCode = (typeof PutMetricsErrorCode)[keyof typeof PutMetricsErrorCode];
57
57
  /**
58
- * @public
59
58
  * <p>An error that occured when putting the metric data.</p>
59
+ * @public
60
60
  */
61
61
  export interface BatchPutMetricsError {
62
62
  /**
63
- * @public
64
63
  * <p>The error code of an error that occured when attempting to put metrics.</p>
65
64
  * <ul>
66
65
  * <li>
@@ -82,11 +81,12 @@ export interface BatchPutMetricsError {
82
81
  * simultaneously.</p>
83
82
  * </li>
84
83
  * </ul>
84
+ * @public
85
85
  */
86
86
  Code?: PutMetricsErrorCode;
87
87
  /**
88
- * @public
89
88
  * <p>An index that corresponds to the metric in the request.</p>
89
+ * @public
90
90
  */
91
91
  MetricIndex?: number;
92
92
  }
@@ -95,8 +95,8 @@ export interface BatchPutMetricsError {
95
95
  */
96
96
  export interface BatchPutMetricsResponse {
97
97
  /**
98
- * @public
99
98
  * <p>Lists any errors that occur when inserting metric data.</p>
99
+ * @public
100
100
  */
101
101
  Errors?: BatchPutMetricsError[];
102
102
  }
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: SageMakerMetricsClientConfig) =>
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
- base64Encoder: import("@smithy/types").Encoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
- utf8Encoder: import("@smithy/types").Encoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
@@ -20,9 +20,9 @@ export declare const getRuntimeConfig: (config: SageMakerMetricsClientConfig) =>
20
20
  apiVersion: string;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  base64Decoder: import("@smithy/types").Decoder;
23
- base64Encoder: import("@smithy/types").Encoder;
23
+ base64Encoder: (_input: string | Uint8Array) => string;
24
24
  utf8Decoder: import("@smithy/types").Decoder;
25
- utf8Encoder: import("@smithy/types").Encoder;
25
+ utf8Encoder: (input: string | Uint8Array) => string;
26
26
  disableHostPrefix: boolean;
27
27
  serviceId: string;
28
28
  logger: import("@smithy/types").Logger;
@@ -11,9 +11,9 @@ export declare const getRuntimeConfig: (config: SageMakerMetricsClientConfig) =>
11
11
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
12
12
  streamCollector: import("@smithy/types").StreamCollector;
13
13
  base64Decoder: import("@smithy/types").Decoder;
14
- base64Encoder: import("@smithy/types").Encoder;
14
+ base64Encoder: (_input: string | Uint8Array) => string;
15
15
  utf8Decoder: import("@smithy/types").Decoder;
16
- utf8Encoder: import("@smithy/types").Encoder;
16
+ utf8Encoder: (input: string | Uint8Array) => string;
17
17
  disableHostPrefix: boolean;
18
18
  serviceId: string;
19
19
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -5,7 +5,7 @@ import { SageMakerMetricsClientConfig } from "./SageMakerMetricsClient";
5
5
  export declare const getRuntimeConfig: (config: SageMakerMetricsClientConfig) => {
6
6
  apiVersion: string;
7
7
  base64Decoder: import("@smithy/types").Decoder;
8
- base64Encoder: import("@smithy/types").Encoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
9
  disableHostPrefix: boolean;
10
10
  endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
11
  logger?: import("@smithy/types").Logger | undefined;
@@ -17,5 +17,5 @@ export declare const getRuntimeConfig: (config: SageMakerMetricsClientConfig) =>
17
17
  serviceId: string;
18
18
  urlParser: import("@smithy/types").UrlParser;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  };
@@ -20,6 +20,15 @@ declare const BatchPutMetricsCommand_base: {
20
20
  BatchPutMetricsCommandInput,
21
21
  BatchPutMetricsCommandOutput
22
22
  >;
23
+ new (
24
+ __0_0: BatchPutMetricsCommandInput
25
+ ): import("@smithy/smithy-client").CommandImpl<
26
+ BatchPutMetricsCommandInput,
27
+ BatchPutMetricsCommandOutput,
28
+ SageMakerMetricsClientResolvedConfig,
29
+ BatchPutMetricsCommandInput,
30
+ BatchPutMetricsCommandOutput
31
+ >;
23
32
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
24
33
  };
25
34
  export declare class BatchPutMetricsCommand extends BatchPutMetricsCommand_base {}
@@ -27,9 +27,9 @@ export declare const getRuntimeConfig: (
27
27
  apiVersion: string;
28
28
  urlParser: import("@smithy/types").UrlParser;
29
29
  base64Decoder: import("@smithy/types").Decoder;
30
- base64Encoder: import("@smithy/types").Encoder;
30
+ base64Encoder: (_input: string | Uint8Array) => string;
31
31
  utf8Decoder: import("@smithy/types").Decoder;
32
- utf8Encoder: import("@smithy/types").Encoder;
32
+ utf8Encoder: (input: string | Uint8Array) => string;
33
33
  disableHostPrefix: boolean;
34
34
  serviceId: string;
35
35
  logger: import("@smithy/types").Logger;
@@ -31,9 +31,9 @@ export declare const getRuntimeConfig: (
31
31
  apiVersion: string;
32
32
  urlParser: import("@smithy/types").UrlParser;
33
33
  base64Decoder: import("@smithy/types").Decoder;
34
- base64Encoder: import("@smithy/types").Encoder;
34
+ base64Encoder: (_input: string | Uint8Array) => string;
35
35
  utf8Decoder: import("@smithy/types").Decoder;
36
- utf8Encoder: import("@smithy/types").Encoder;
36
+ utf8Encoder: (input: string | Uint8Array) => string;
37
37
  disableHostPrefix: boolean;
38
38
  serviceId: string;
39
39
  logger: import("@smithy/types").Logger;
@@ -15,9 +15,9 @@ export declare const getRuntimeConfig: (
15
15
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
16
16
  streamCollector: import("@smithy/types").StreamCollector;
17
17
  base64Decoder: import("@smithy/types").Decoder;
18
- base64Encoder: import("@smithy/types").Encoder;
18
+ base64Encoder: (_input: string | Uint8Array) => string;
19
19
  utf8Decoder: import("@smithy/types").Decoder;
20
- utf8Encoder: import("@smithy/types").Encoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
21
  disableHostPrefix: boolean;
22
22
  serviceId: string;
23
23
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -4,7 +4,7 @@ export declare const getRuntimeConfig: (
4
4
  ) => {
5
5
  apiVersion: string;
6
6
  base64Decoder: import("@smithy/types").Decoder;
7
- base64Encoder: import("@smithy/types").Encoder;
7
+ base64Encoder: (_input: string | Uint8Array) => string;
8
8
  disableHostPrefix: boolean;
9
9
  endpointProvider: (
10
10
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
@@ -19,5 +19,5 @@ export declare const getRuntimeConfig: (
19
19
  serviceId: string;
20
20
  urlParser: import("@smithy/types").UrlParser;
21
21
  utf8Decoder: import("@smithy/types").Decoder;
22
- utf8Encoder: import("@smithy/types").Encoder;
22
+ utf8Encoder: (input: string | Uint8Array) => string;
23
23
  };
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.529.1",
4
+ "version": "3.535.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,47 +20,47 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.529.1",
24
- "@aws-sdk/core": "3.529.1",
25
- "@aws-sdk/credential-provider-node": "3.529.1",
26
- "@aws-sdk/middleware-host-header": "3.523.0",
27
- "@aws-sdk/middleware-logger": "3.523.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.523.0",
29
- "@aws-sdk/middleware-user-agent": "3.525.0",
30
- "@aws-sdk/region-config-resolver": "3.525.0",
31
- "@aws-sdk/types": "3.523.0",
32
- "@aws-sdk/util-endpoints": "3.525.0",
33
- "@aws-sdk/util-user-agent-browser": "3.523.0",
34
- "@aws-sdk/util-user-agent-node": "3.525.0",
35
- "@smithy/config-resolver": "^2.1.4",
36
- "@smithy/core": "^1.3.5",
37
- "@smithy/fetch-http-handler": "^2.4.3",
38
- "@smithy/hash-node": "^2.1.3",
39
- "@smithy/invalid-dependency": "^2.1.3",
40
- "@smithy/middleware-content-length": "^2.1.3",
41
- "@smithy/middleware-endpoint": "^2.4.4",
42
- "@smithy/middleware-retry": "^2.1.4",
43
- "@smithy/middleware-serde": "^2.1.3",
44
- "@smithy/middleware-stack": "^2.1.3",
45
- "@smithy/node-config-provider": "^2.2.4",
46
- "@smithy/node-http-handler": "^2.4.1",
47
- "@smithy/protocol-http": "^3.2.1",
48
- "@smithy/smithy-client": "^2.4.2",
49
- "@smithy/types": "^2.10.1",
50
- "@smithy/url-parser": "^2.1.3",
51
- "@smithy/util-base64": "^2.1.1",
52
- "@smithy/util-body-length-browser": "^2.1.1",
53
- "@smithy/util-body-length-node": "^2.2.1",
54
- "@smithy/util-defaults-mode-browser": "^2.1.4",
55
- "@smithy/util-defaults-mode-node": "^2.2.3",
56
- "@smithy/util-endpoints": "^1.1.4",
57
- "@smithy/util-middleware": "^2.1.3",
58
- "@smithy/util-retry": "^2.1.3",
59
- "@smithy/util-utf8": "^2.1.1",
60
- "tslib": "^2.5.0"
23
+ "@aws-sdk/client-sts": "3.535.0",
24
+ "@aws-sdk/core": "3.535.0",
25
+ "@aws-sdk/credential-provider-node": "3.535.0",
26
+ "@aws-sdk/middleware-host-header": "3.535.0",
27
+ "@aws-sdk/middleware-logger": "3.535.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.535.0",
29
+ "@aws-sdk/middleware-user-agent": "3.535.0",
30
+ "@aws-sdk/region-config-resolver": "3.535.0",
31
+ "@aws-sdk/types": "3.535.0",
32
+ "@aws-sdk/util-endpoints": "3.535.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.535.0",
34
+ "@aws-sdk/util-user-agent-node": "3.535.0",
35
+ "@smithy/config-resolver": "^2.2.0",
36
+ "@smithy/core": "^1.4.0",
37
+ "@smithy/fetch-http-handler": "^2.5.0",
38
+ "@smithy/hash-node": "^2.2.0",
39
+ "@smithy/invalid-dependency": "^2.2.0",
40
+ "@smithy/middleware-content-length": "^2.2.0",
41
+ "@smithy/middleware-endpoint": "^2.5.0",
42
+ "@smithy/middleware-retry": "^2.2.0",
43
+ "@smithy/middleware-serde": "^2.3.0",
44
+ "@smithy/middleware-stack": "^2.2.0",
45
+ "@smithy/node-config-provider": "^2.3.0",
46
+ "@smithy/node-http-handler": "^2.5.0",
47
+ "@smithy/protocol-http": "^3.3.0",
48
+ "@smithy/smithy-client": "^2.5.0",
49
+ "@smithy/types": "^2.12.0",
50
+ "@smithy/url-parser": "^2.2.0",
51
+ "@smithy/util-base64": "^2.3.0",
52
+ "@smithy/util-body-length-browser": "^2.2.0",
53
+ "@smithy/util-body-length-node": "^2.3.0",
54
+ "@smithy/util-defaults-mode-browser": "^2.2.0",
55
+ "@smithy/util-defaults-mode-node": "^2.3.0",
56
+ "@smithy/util-endpoints": "^1.2.0",
57
+ "@smithy/util-middleware": "^2.2.0",
58
+ "@smithy/util-retry": "^2.2.0",
59
+ "@smithy/util-utf8": "^2.3.0",
60
+ "tslib": "^2.6.2"
61
61
  },
62
62
  "devDependencies": {
63
- "@smithy/service-client-documentation-generator": "^2.1.1",
63
+ "@smithy/service-client-documentation-generator": "^2.2.0",
64
64
  "@tsconfig/node14": "1.0.3",
65
65
  "@types/node": "^14.14.31",
66
66
  "concurrently": "7.0.0",