@aws-sdk/client-sagemaker-metrics 3.1077.0 → 3.1078.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
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -389,28 +390,14 @@ class SageMakerMetricsClient extends Client {
389
390
  }
390
391
  }
391
392
 
392
- class BatchGetMetricsCommand extends Command
393
- .classBuilder()
394
- .ep(commonParams)
395
- .m(function (Command, cs, config, o) {
396
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
397
- })
398
- .s("SageMakerMetricsService", "BatchGetMetrics", {})
399
- .n("SageMakerMetricsClient", "BatchGetMetricsCommand")
400
- .sc(BatchGetMetrics$)
401
- .build() {
393
+ const command = makeBuilder(commonParams, "SageMakerMetricsService", "SageMakerMetricsClient", getEndpointPlugin);
394
+ const _ep0 = {};
395
+ const _mw0 = (Command, cs, config, o) => [];
396
+
397
+ class BatchGetMetricsCommand extends command(_ep0, _mw0, "BatchGetMetrics", BatchGetMetrics$) {
402
398
  }
403
399
 
404
- class BatchPutMetricsCommand extends Command
405
- .classBuilder()
406
- .ep(commonParams)
407
- .m(function (Command, cs, config, o) {
408
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
409
- })
410
- .s("SageMakerMetricsService", "BatchPutMetrics", {})
411
- .n("SageMakerMetricsClient", "BatchPutMetricsCommand")
412
- .sc(BatchPutMetrics$)
413
- .build() {
400
+ class BatchPutMetricsCommand extends command(_ep0, _mw0, "BatchPutMetrics", BatchPutMetrics$) {
414
401
  }
415
402
 
416
403
  const commands = {
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "SageMakerMetricsService", "SageMakerMetricsClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchGetMetrics$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetMetricsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerMetricsService", "BatchGetMetrics", {})
13
- .n("SageMakerMetricsClient", "BatchGetMetricsCommand")
14
- .sc(BatchGetMetrics$)
15
- .build() {
3
+ export class BatchGetMetricsCommand extends command(_ep0, _mw0, "BatchGetMetrics", BatchGetMetrics$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchPutMetrics$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchPutMetricsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("SageMakerMetricsService", "BatchPutMetrics", {})
13
- .n("SageMakerMetricsClient", "BatchPutMetricsCommand")
14
- .sc(BatchPutMetrics$)
15
- .build() {
3
+ export class BatchPutMetricsCommand extends command(_ep0, _mw0, "BatchPutMetrics", BatchPutMetrics$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./SageMakerMetricsClient";
2
2
  export * from "./SageMakerMetrics";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./models/enums";
6
7
  export * from "./models/models_0";
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { SageMakerMetricsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./SageMakerMetricsClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, SageMakerMetricsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, SageMakerMetricsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { BatchGetMetricsRequest, BatchGetMetricsResponse } from "../models/models_0";
4
- import type { SageMakerMetricsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerMetricsClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface BatchGetMetricsCommandInput extends BatchGetMetricsRequest {
22
19
  export interface BatchGetMetricsCommandOutput extends BatchGetMetricsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const BatchGetMetricsCommand_base: {
25
- new (input: BatchGetMetricsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetMetricsCommandInput, BatchGetMetricsCommandOutput, SageMakerMetricsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: BatchGetMetricsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetMetricsCommandInput, BatchGetMetricsCommandOutput, SageMakerMetricsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: BatchGetMetricsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetMetricsCommandInput, BatchGetMetricsCommandOutput, import("..").SageMakerMetricsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchGetMetricsCommandInput): import("@smithy/core/client").CommandImpl<BatchGetMetricsCommandInput, BatchGetMetricsCommandOutput, import("..").SageMakerMetricsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Used to retrieve training metrics from SageMaker.</p>
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import type { BatchPutMetricsRequest, BatchPutMetricsResponse } from "../models/models_0";
4
- import type { SageMakerMetricsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerMetricsClient";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface BatchPutMetricsCommandInput extends BatchPutMetricsRequest {
22
19
  export interface BatchPutMetricsCommandOutput extends BatchPutMetricsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const BatchPutMetricsCommand_base: {
25
- new (input: BatchPutMetricsCommandInput): import("@smithy/core/client").CommandImpl<BatchPutMetricsCommandInput, BatchPutMetricsCommandOutput, SageMakerMetricsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: BatchPutMetricsCommandInput): import("@smithy/core/client").CommandImpl<BatchPutMetricsCommandInput, BatchPutMetricsCommandOutput, SageMakerMetricsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: BatchPutMetricsCommandInput): import("@smithy/core/client").CommandImpl<BatchPutMetricsCommandInput, BatchPutMetricsCommandOutput, import("..").SageMakerMetricsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: BatchPutMetricsCommandInput): import("@smithy/core/client").CommandImpl<BatchPutMetricsCommandInput, BatchPutMetricsCommandOutput, import("..").SageMakerMetricsClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Used to ingest training metrics into SageMaker. These metrics can be visualized in SageMaker Studio.
@@ -17,6 +17,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
17
17
  export type { RuntimeExtension } from "./runtimeExtensions";
18
18
  export type { SageMakerMetricsExtensionConfiguration } from "./extensionConfiguration";
19
19
  export * from "./commands";
20
+ export { Command as $Command } from "@smithy/core/client";
20
21
  export * from "./schemas/schemas_0";
21
22
  export * from "./models/enums";
22
23
  export * from "./models/models_0";
@@ -0,0 +1,46 @@
1
+ import { EndpointParameterInstructions } from "@smithy/types";
2
+ import {
3
+ SageMakerMetricsClientResolvedConfig,
4
+ ServiceInputTypes,
5
+ ServiceOutputTypes,
6
+ } from "./SageMakerMetricsClient";
7
+ export declare const command: <
8
+ I extends ServiceInputTypes,
9
+ O extends ServiceOutputTypes
10
+ >(
11
+ added: EndpointParameterInstructions,
12
+ plugins: (
13
+ CommandCtor: any,
14
+ clientStack: any,
15
+ config: any,
16
+ options: any
17
+ ) => import("@smithy/types").Pluggable<any, any>[],
18
+ op: string,
19
+ $: import("@smithy/types").StaticOperationSchema,
20
+ smithyContext?: Record<string, unknown>
21
+ ) => {
22
+ new (input: I): import("@smithy/core/client").CommandImpl<
23
+ I,
24
+ O,
25
+ SageMakerMetricsClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: import("@smithy/types").OptionalParameter<I>
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ I,
33
+ O,
34
+ SageMakerMetricsClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
39
+ };
40
+ export declare const _ep0: EndpointParameterInstructions;
41
+ export declare const _mw0: (
42
+ Command: any,
43
+ cs: any,
44
+ config: any,
45
+ o: any
46
+ ) => never[];
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  BatchGetMetricsRequest,
5
4
  BatchGetMetricsResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- SageMakerMetricsClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../SageMakerMetricsClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface BatchGetMetricsCommandInput extends BatchGetMetricsRequest {}
15
8
  export interface BatchGetMetricsCommandOutput
16
9
  extends BatchGetMetricsResponse,
@@ -21,22 +14,20 @@ declare const BatchGetMetricsCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  BatchGetMetricsCommandInput,
23
16
  BatchGetMetricsCommandOutput,
24
- SageMakerMetricsClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").SageMakerMetricsClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: BatchGetMetricsCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  BatchGetMetricsCommandInput,
32
25
  BatchGetMetricsCommandOutput,
33
- SageMakerMetricsClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").SageMakerMetricsClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class BatchGetMetricsCommand extends BatchGetMetricsCommand_base {
42
33
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  BatchPutMetricsRequest,
5
4
  BatchPutMetricsResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- SageMakerMetricsClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../SageMakerMetricsClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface BatchPutMetricsCommandInput extends BatchPutMetricsRequest {}
15
8
  export interface BatchPutMetricsCommandOutput
16
9
  extends BatchPutMetricsResponse,
@@ -21,22 +14,20 @@ declare const BatchPutMetricsCommand_base: {
21
14
  ): import("@smithy/core/client").CommandImpl<
22
15
  BatchPutMetricsCommandInput,
23
16
  BatchPutMetricsCommandOutput,
24
- SageMakerMetricsClientResolvedConfig,
25
- ServiceInputTypes,
26
- ServiceOutputTypes
17
+ import("..").SageMakerMetricsClientResolvedConfig,
18
+ import("..").ServiceInputTypes,
19
+ import("..").ServiceOutputTypes
27
20
  >;
28
21
  new (
29
22
  input: BatchPutMetricsCommandInput
30
23
  ): import("@smithy/core/client").CommandImpl<
31
24
  BatchPutMetricsCommandInput,
32
25
  BatchPutMetricsCommandOutput,
33
- SageMakerMetricsClientResolvedConfig,
34
- ServiceInputTypes,
35
- ServiceOutputTypes
26
+ import("..").SageMakerMetricsClientResolvedConfig,
27
+ import("..").ServiceInputTypes,
28
+ import("..").ServiceOutputTypes
36
29
  >;
37
- getEndpointParameterInstructions(): {
38
- [x: string]: unknown;
39
- };
30
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
40
31
  };
41
32
  export declare class BatchPutMetricsCommand extends BatchPutMetricsCommand_base {
42
33
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { SageMakerMetricsExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./models/enums";
9
10
  export * from "./models/models_0";
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.1077.0",
4
+ "version": "3.1078.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -19,13 +19,13 @@
19
19
  "module": "./dist-es/index.js",
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
- "@aws-sdk/core": "^3.974.25",
23
- "@aws-sdk/credential-provider-node": "^3.972.60",
24
- "@aws-sdk/types": "^3.973.14",
25
- "@smithy/core": "^3.28.0",
26
- "@smithy/fetch-http-handler": "^5.6.1",
27
- "@smithy/node-http-handler": "^4.9.1",
28
- "@smithy/types": "^4.15.0",
22
+ "@aws-sdk/core": "^3.974.26",
23
+ "@aws-sdk/credential-provider-node": "^3.972.61",
24
+ "@aws-sdk/types": "^3.973.15",
25
+ "@smithy/core": "^3.29.0",
26
+ "@smithy/fetch-http-handler": "^5.6.2",
27
+ "@smithy/node-http-handler": "^4.9.2",
28
+ "@smithy/types": "^4.15.1",
29
29
  "tslib": "^2.6.2"
30
30
  },
31
31
  "devDependencies": {