@aws-sdk/client-sagemaker-metrics 3.297.0 → 3.298.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/commands/BatchPutMetricsCommand.js +2 -3
- package/dist-cjs/models/models_0.js +1 -17
- package/dist-es/commands/BatchPutMetricsCommand.js +2 -3
- package/dist-es/models/models_0.js +0 -12
- package/dist-types/models/models_0.d.ts +0 -16
- package/dist-types/ts3.4/models/models_0.d.ts +0 -12
- package/package.json +4 -3
|
@@ -4,7 +4,6 @@ exports.BatchPutMetricsCommand = void 0;
|
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
-
const models_0_1 = require("../models/models_0");
|
|
8
7
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
8
|
class BatchPutMetricsCommand extends smithy_client_1.Command {
|
|
10
9
|
static getEndpointParameterInstructions() {
|
|
@@ -30,8 +29,8 @@ class BatchPutMetricsCommand extends smithy_client_1.Command {
|
|
|
30
29
|
logger,
|
|
31
30
|
clientName,
|
|
32
31
|
commandName,
|
|
33
|
-
inputFilterSensitiveLog:
|
|
34
|
-
outputFilterSensitiveLog:
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
34
|
};
|
|
36
35
|
const { requestHandler } = configuration;
|
|
37
36
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.PutMetricsErrorCode = void 0;
|
|
4
4
|
var PutMetricsErrorCode;
|
|
5
5
|
(function (PutMetricsErrorCode) {
|
|
6
6
|
PutMetricsErrorCode["CONFLICT_ERROR"] = "CONFLICT_ERROR";
|
|
@@ -8,19 +8,3 @@ var PutMetricsErrorCode;
|
|
|
8
8
|
PutMetricsErrorCode["METRIC_LIMIT_EXCEEDED"] = "METRIC_LIMIT_EXCEEDED";
|
|
9
9
|
PutMetricsErrorCode["VALIDATION_ERROR"] = "VALIDATION_ERROR";
|
|
10
10
|
})(PutMetricsErrorCode = exports.PutMetricsErrorCode || (exports.PutMetricsErrorCode = {}));
|
|
11
|
-
const RawMetricDataFilterSensitiveLog = (obj) => ({
|
|
12
|
-
...obj,
|
|
13
|
-
});
|
|
14
|
-
exports.RawMetricDataFilterSensitiveLog = RawMetricDataFilterSensitiveLog;
|
|
15
|
-
const BatchPutMetricsRequestFilterSensitiveLog = (obj) => ({
|
|
16
|
-
...obj,
|
|
17
|
-
});
|
|
18
|
-
exports.BatchPutMetricsRequestFilterSensitiveLog = BatchPutMetricsRequestFilterSensitiveLog;
|
|
19
|
-
const BatchPutMetricsErrorFilterSensitiveLog = (obj) => ({
|
|
20
|
-
...obj,
|
|
21
|
-
});
|
|
22
|
-
exports.BatchPutMetricsErrorFilterSensitiveLog = BatchPutMetricsErrorFilterSensitiveLog;
|
|
23
|
-
const BatchPutMetricsResponseFilterSensitiveLog = (obj) => ({
|
|
24
|
-
...obj,
|
|
25
|
-
});
|
|
26
|
-
exports.BatchPutMetricsResponseFilterSensitiveLog = BatchPutMetricsResponseFilterSensitiveLog;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { BatchPutMetricsRequestFilterSensitiveLog, BatchPutMetricsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
4
|
import { deserializeAws_restJson1BatchPutMetricsCommand, serializeAws_restJson1BatchPutMetricsCommand, } from "../protocols/Aws_restJson1";
|
|
6
5
|
export class BatchPutMetricsCommand extends $Command {
|
|
7
6
|
static getEndpointParameterInstructions() {
|
|
@@ -27,8 +26,8 @@ export class BatchPutMetricsCommand extends $Command {
|
|
|
27
26
|
logger,
|
|
28
27
|
clientName,
|
|
29
28
|
commandName,
|
|
30
|
-
inputFilterSensitiveLog:
|
|
31
|
-
outputFilterSensitiveLog:
|
|
29
|
+
inputFilterSensitiveLog: (_) => _,
|
|
30
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
31
|
};
|
|
33
32
|
const { requestHandler } = configuration;
|
|
34
33
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -5,15 +5,3 @@ export var PutMetricsErrorCode;
|
|
|
5
5
|
PutMetricsErrorCode["METRIC_LIMIT_EXCEEDED"] = "METRIC_LIMIT_EXCEEDED";
|
|
6
6
|
PutMetricsErrorCode["VALIDATION_ERROR"] = "VALIDATION_ERROR";
|
|
7
7
|
})(PutMetricsErrorCode || (PutMetricsErrorCode = {}));
|
|
8
|
-
export const RawMetricDataFilterSensitiveLog = (obj) => ({
|
|
9
|
-
...obj,
|
|
10
|
-
});
|
|
11
|
-
export const BatchPutMetricsRequestFilterSensitiveLog = (obj) => ({
|
|
12
|
-
...obj,
|
|
13
|
-
});
|
|
14
|
-
export const BatchPutMetricsErrorFilterSensitiveLog = (obj) => ({
|
|
15
|
-
...obj,
|
|
16
|
-
});
|
|
17
|
-
export const BatchPutMetricsResponseFilterSensitiveLog = (obj) => ({
|
|
18
|
-
...obj,
|
|
19
|
-
});
|
|
@@ -86,19 +86,3 @@ export interface BatchPutMetricsResponse {
|
|
|
86
86
|
*/
|
|
87
87
|
Errors?: BatchPutMetricsError[];
|
|
88
88
|
}
|
|
89
|
-
/**
|
|
90
|
-
* @internal
|
|
91
|
-
*/
|
|
92
|
-
export declare const RawMetricDataFilterSensitiveLog: (obj: RawMetricData) => any;
|
|
93
|
-
/**
|
|
94
|
-
* @internal
|
|
95
|
-
*/
|
|
96
|
-
export declare const BatchPutMetricsRequestFilterSensitiveLog: (obj: BatchPutMetricsRequest) => any;
|
|
97
|
-
/**
|
|
98
|
-
* @internal
|
|
99
|
-
*/
|
|
100
|
-
export declare const BatchPutMetricsErrorFilterSensitiveLog: (obj: BatchPutMetricsError) => any;
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
export declare const BatchPutMetricsResponseFilterSensitiveLog: (obj: BatchPutMetricsResponse) => any;
|
|
@@ -21,15 +21,3 @@ export interface BatchPutMetricsError {
|
|
|
21
21
|
export interface BatchPutMetricsResponse {
|
|
22
22
|
Errors?: BatchPutMetricsError[];
|
|
23
23
|
}
|
|
24
|
-
export declare const RawMetricDataFilterSensitiveLog: (
|
|
25
|
-
obj: RawMetricData
|
|
26
|
-
) => any;
|
|
27
|
-
export declare const BatchPutMetricsRequestFilterSensitiveLog: (
|
|
28
|
-
obj: BatchPutMetricsRequest
|
|
29
|
-
) => any;
|
|
30
|
-
export declare const BatchPutMetricsErrorFilterSensitiveLog: (
|
|
31
|
-
obj: BatchPutMetricsError
|
|
32
|
-
) => any;
|
|
33
|
-
export declare const BatchPutMetricsResponseFilterSensitiveLog: (
|
|
34
|
-
obj: BatchPutMetricsResponse
|
|
35
|
-
) => any;
|
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.
|
|
4
|
+
"version": "3.298.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",
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
"build:types": "tsc -p tsconfig.types.json",
|
|
12
12
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
13
|
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"extract:docs": "api-extractor run --local",
|
|
14
15
|
"generate:client": "node ../../scripts/generate-clients/single-service --solo sagemaker-metrics"
|
|
15
16
|
},
|
|
16
17
|
"main": "./dist-cjs/index.js",
|
|
@@ -20,9 +21,9 @@
|
|
|
20
21
|
"dependencies": {
|
|
21
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.298.0",
|
|
24
25
|
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.298.0",
|
|
26
27
|
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
28
|
"@aws-sdk/hash-node": "3.296.0",
|
|
28
29
|
"@aws-sdk/invalid-dependency": "3.296.0",
|