@aws-sdk/client-sagemaker-metrics 3.229.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/LICENSE +201 -0
- package/README.md +213 -0
- package/dist-cjs/SageMakerMetrics.js +22 -0
- package/dist-cjs/SageMakerMetricsClient.js +40 -0
- package/dist-cjs/commands/BatchPutMetricsCommand.js +46 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +303 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/SageMakerMetricsServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +26 -0
- package/dist-cjs/protocols/Aws_restJson1.js +147 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +51 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/SageMakerMetrics.js +18 -0
- package/dist-es/SageMakerMetricsClient.js +36 -0
- package/dist-es/commands/BatchPutMetricsCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +300 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/SageMakerMetricsServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +19 -0
- package/dist-es/protocols/Aws_restJson1.js +142 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +46 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/SageMakerMetrics.d.ts +24 -0
- package/dist-types/SageMakerMetricsClient.d.ts +150 -0
- package/dist-types/commands/BatchPutMetricsCommand.d.ts +39 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/SageMakerMetricsServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +91 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/SageMakerMetrics.d.ts +21 -0
- package/dist-types/ts3.4/SageMakerMetricsClient.d.ts +116 -0
- package/dist-types/ts3.4/commands/BatchPutMetricsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/SageMakerMetricsServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +35 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +17 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +93 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +82 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- package/package.json +102 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RegionInputConfig,
|
|
3
|
+
RegionResolvedConfig,
|
|
4
|
+
} from "@aws-sdk/config-resolver";
|
|
5
|
+
import {
|
|
6
|
+
EndpointInputConfig,
|
|
7
|
+
EndpointResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-endpoint";
|
|
9
|
+
import {
|
|
10
|
+
HostHeaderInputConfig,
|
|
11
|
+
HostHeaderResolvedConfig,
|
|
12
|
+
} from "@aws-sdk/middleware-host-header";
|
|
13
|
+
import {
|
|
14
|
+
RetryInputConfig,
|
|
15
|
+
RetryResolvedConfig,
|
|
16
|
+
} from "@aws-sdk/middleware-retry";
|
|
17
|
+
import {
|
|
18
|
+
AwsAuthInputConfig,
|
|
19
|
+
AwsAuthResolvedConfig,
|
|
20
|
+
} from "@aws-sdk/middleware-signing";
|
|
21
|
+
import {
|
|
22
|
+
UserAgentInputConfig,
|
|
23
|
+
UserAgentResolvedConfig,
|
|
24
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
25
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
26
|
+
import {
|
|
27
|
+
Client as __Client,
|
|
28
|
+
DefaultsMode,
|
|
29
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
30
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
31
|
+
} from "@aws-sdk/smithy-client";
|
|
32
|
+
import {
|
|
33
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
|
+
Credentials as __Credentials,
|
|
35
|
+
Decoder as __Decoder,
|
|
36
|
+
Encoder as __Encoder,
|
|
37
|
+
HashConstructor as __HashConstructor,
|
|
38
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
39
|
+
Logger as __Logger,
|
|
40
|
+
Provider as __Provider,
|
|
41
|
+
Provider,
|
|
42
|
+
StreamCollector as __StreamCollector,
|
|
43
|
+
UrlParser as __UrlParser,
|
|
44
|
+
UserAgent as __UserAgent,
|
|
45
|
+
} from "@aws-sdk/types";
|
|
46
|
+
import {
|
|
47
|
+
BatchPutMetricsCommandInput,
|
|
48
|
+
BatchPutMetricsCommandOutput,
|
|
49
|
+
} from "./commands/BatchPutMetricsCommand";
|
|
50
|
+
import {
|
|
51
|
+
ClientInputEndpointParameters,
|
|
52
|
+
ClientResolvedEndpointParameters,
|
|
53
|
+
EndpointParameters,
|
|
54
|
+
} from "./endpoint/EndpointParameters";
|
|
55
|
+
export declare type ServiceInputTypes = BatchPutMetricsCommandInput;
|
|
56
|
+
export declare type ServiceOutputTypes = BatchPutMetricsCommandOutput;
|
|
57
|
+
export interface ClientDefaults
|
|
58
|
+
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
59
|
+
requestHandler?: __HttpHandler;
|
|
60
|
+
sha256?: __HashConstructor;
|
|
61
|
+
urlParser?: __UrlParser;
|
|
62
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
63
|
+
streamCollector?: __StreamCollector;
|
|
64
|
+
base64Decoder?: __Decoder;
|
|
65
|
+
base64Encoder?: __Encoder;
|
|
66
|
+
utf8Decoder?: __Decoder;
|
|
67
|
+
utf8Encoder?: __Encoder;
|
|
68
|
+
runtime?: string;
|
|
69
|
+
disableHostPrefix?: boolean;
|
|
70
|
+
maxAttempts?: number | __Provider<number>;
|
|
71
|
+
retryMode?: string | __Provider<string>;
|
|
72
|
+
logger?: __Logger;
|
|
73
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
74
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
75
|
+
serviceId?: string;
|
|
76
|
+
region?: string | __Provider<string>;
|
|
77
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
78
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
79
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
80
|
+
}
|
|
81
|
+
declare type SageMakerMetricsClientConfigType = Partial<
|
|
82
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
83
|
+
> &
|
|
84
|
+
ClientDefaults &
|
|
85
|
+
RegionInputConfig &
|
|
86
|
+
EndpointInputConfig<EndpointParameters> &
|
|
87
|
+
RetryInputConfig &
|
|
88
|
+
HostHeaderInputConfig &
|
|
89
|
+
AwsAuthInputConfig &
|
|
90
|
+
UserAgentInputConfig &
|
|
91
|
+
ClientInputEndpointParameters;
|
|
92
|
+
export interface SageMakerMetricsClientConfig
|
|
93
|
+
extends SageMakerMetricsClientConfigType {}
|
|
94
|
+
declare type SageMakerMetricsClientResolvedConfigType =
|
|
95
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
96
|
+
Required<ClientDefaults> &
|
|
97
|
+
RegionResolvedConfig &
|
|
98
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
99
|
+
RetryResolvedConfig &
|
|
100
|
+
HostHeaderResolvedConfig &
|
|
101
|
+
AwsAuthResolvedConfig &
|
|
102
|
+
UserAgentResolvedConfig &
|
|
103
|
+
ClientResolvedEndpointParameters;
|
|
104
|
+
export interface SageMakerMetricsClientResolvedConfig
|
|
105
|
+
extends SageMakerMetricsClientResolvedConfigType {}
|
|
106
|
+
export declare class SageMakerMetricsClient extends __Client<
|
|
107
|
+
__HttpHandlerOptions,
|
|
108
|
+
ServiceInputTypes,
|
|
109
|
+
ServiceOutputTypes,
|
|
110
|
+
SageMakerMetricsClientResolvedConfig
|
|
111
|
+
> {
|
|
112
|
+
readonly config: SageMakerMetricsClientResolvedConfig;
|
|
113
|
+
constructor(configuration: SageMakerMetricsClientConfig);
|
|
114
|
+
destroy(): void;
|
|
115
|
+
}
|
|
116
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
BatchPutMetricsRequest,
|
|
11
|
+
BatchPutMetricsResponse,
|
|
12
|
+
} from "../models/models_0";
|
|
13
|
+
import {
|
|
14
|
+
SageMakerMetricsClientResolvedConfig,
|
|
15
|
+
ServiceInputTypes,
|
|
16
|
+
ServiceOutputTypes,
|
|
17
|
+
} from "../SageMakerMetricsClient";
|
|
18
|
+
export interface BatchPutMetricsCommandInput extends BatchPutMetricsRequest {}
|
|
19
|
+
export interface BatchPutMetricsCommandOutput
|
|
20
|
+
extends BatchPutMetricsResponse,
|
|
21
|
+
__MetadataBearer {}
|
|
22
|
+
export declare class BatchPutMetricsCommand extends $Command<
|
|
23
|
+
BatchPutMetricsCommandInput,
|
|
24
|
+
BatchPutMetricsCommandOutput,
|
|
25
|
+
SageMakerMetricsClientResolvedConfig
|
|
26
|
+
> {
|
|
27
|
+
readonly input: BatchPutMetricsCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
29
|
+
constructor(input: BatchPutMetricsCommandInput);
|
|
30
|
+
resolveMiddleware(
|
|
31
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
32
|
+
configuration: SageMakerMetricsClientResolvedConfig,
|
|
33
|
+
options?: __HttpHandlerOptions
|
|
34
|
+
): Handler<BatchPutMetricsCommandInput, BatchPutMetricsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./BatchPutMetricsCommand";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@aws-sdk/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
region?: string | Provider<string>;
|
|
9
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
10
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
11
|
+
endpoint?:
|
|
12
|
+
| string
|
|
13
|
+
| Provider<string>
|
|
14
|
+
| Endpoint
|
|
15
|
+
| Provider<Endpoint>
|
|
16
|
+
| EndpointV2
|
|
17
|
+
| Provider<EndpointV2>;
|
|
18
|
+
}
|
|
19
|
+
export declare type ClientResolvedEndpointParameters =
|
|
20
|
+
ClientInputEndpointParameters & {
|
|
21
|
+
defaultSigningName: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
24
|
+
options: T & ClientInputEndpointParameters
|
|
25
|
+
) => T &
|
|
26
|
+
ClientInputEndpointParameters & {
|
|
27
|
+
defaultSigningName: string;
|
|
28
|
+
};
|
|
29
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
+
Region: string;
|
|
31
|
+
UseDualStack?: boolean;
|
|
32
|
+
UseFIPS?: boolean;
|
|
33
|
+
Endpoint?: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export declare class SageMakerMetricsServiceException extends __ServiceException {
|
|
6
|
+
constructor(options: __ServiceExceptionOptions);
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export interface RawMetricData {
|
|
2
|
+
MetricName: string | undefined;
|
|
3
|
+
Timestamp: Date | undefined;
|
|
4
|
+
Step?: number;
|
|
5
|
+
Value: number | undefined;
|
|
6
|
+
}
|
|
7
|
+
export interface BatchPutMetricsRequest {
|
|
8
|
+
TrialComponentName: string | undefined;
|
|
9
|
+
MetricData: RawMetricData[] | undefined;
|
|
10
|
+
}
|
|
11
|
+
export declare enum PutMetricsErrorCode {
|
|
12
|
+
CONFLICT_ERROR = "CONFLICT_ERROR",
|
|
13
|
+
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
14
|
+
METRIC_LIMIT_EXCEEDED = "METRIC_LIMIT_EXCEEDED",
|
|
15
|
+
VALIDATION_ERROR = "VALIDATION_ERROR",
|
|
16
|
+
}
|
|
17
|
+
export interface BatchPutMetricsError {
|
|
18
|
+
Code?: PutMetricsErrorCode | string;
|
|
19
|
+
MetricIndex?: number;
|
|
20
|
+
}
|
|
21
|
+
export interface BatchPutMetricsResponse {
|
|
22
|
+
Errors?: BatchPutMetricsError[];
|
|
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;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@aws-sdk/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
6
|
+
import {
|
|
7
|
+
BatchPutMetricsCommandInput,
|
|
8
|
+
BatchPutMetricsCommandOutput,
|
|
9
|
+
} from "../commands/BatchPutMetricsCommand";
|
|
10
|
+
export declare const serializeAws_restJson1BatchPutMetricsCommand: (
|
|
11
|
+
input: BatchPutMetricsCommandInput,
|
|
12
|
+
context: __SerdeContext
|
|
13
|
+
) => Promise<__HttpRequest>;
|
|
14
|
+
export declare const deserializeAws_restJson1BatchPutMetricsCommand: (
|
|
15
|
+
output: __HttpResponse,
|
|
16
|
+
context: __SerdeContext
|
|
17
|
+
) => Promise<BatchPutMetricsCommandOutput>;
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { SageMakerMetricsClientConfig } from "./SageMakerMetricsClient";
|
|
3
|
+
export declare const getRuntimeConfig: (
|
|
4
|
+
config: SageMakerMetricsClientConfig
|
|
5
|
+
) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
defaultsMode: import("@aws-sdk/types").Provider<
|
|
8
|
+
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
9
|
+
>;
|
|
10
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
11
|
+
credentialDefaultProvider: (
|
|
12
|
+
input: any
|
|
13
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
14
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
15
|
+
import("@aws-sdk/types").UserAgent
|
|
16
|
+
>;
|
|
17
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
18
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
19
|
+
requestHandler:
|
|
20
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
21
|
+
any,
|
|
22
|
+
any,
|
|
23
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
24
|
+
> &
|
|
25
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
26
|
+
| RequestHandler;
|
|
27
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
28
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
29
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
30
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
31
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
32
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
33
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
apiVersion: string;
|
|
35
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
36
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
37
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
38
|
+
disableHostPrefix: boolean;
|
|
39
|
+
logger: import("@aws-sdk/types").Logger;
|
|
40
|
+
serviceId: string;
|
|
41
|
+
endpoint?:
|
|
42
|
+
| ((
|
|
43
|
+
| string
|
|
44
|
+
| import("@aws-sdk/types").Endpoint
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
46
|
+
| import("@aws-sdk/types").EndpointV2
|
|
47
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
48
|
+
) &
|
|
49
|
+
(
|
|
50
|
+
| string
|
|
51
|
+
| import("@aws-sdk/types").Endpoint
|
|
52
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
53
|
+
| import("@aws-sdk/types").Provider<string>
|
|
54
|
+
| import("@aws-sdk/types").EndpointV2
|
|
55
|
+
| import("@aws-sdk/types").Provider<
|
|
56
|
+
import("@aws-sdk/types").EndpointV2
|
|
57
|
+
>
|
|
58
|
+
))
|
|
59
|
+
| undefined;
|
|
60
|
+
endpointProvider: (
|
|
61
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
62
|
+
context?: {
|
|
63
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
64
|
+
}
|
|
65
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
66
|
+
tls?: boolean | undefined;
|
|
67
|
+
retryStrategy?:
|
|
68
|
+
| import("@aws-sdk/types").RetryStrategy
|
|
69
|
+
| import("@aws-sdk/types").RetryStrategyV2
|
|
70
|
+
| undefined;
|
|
71
|
+
credentials?:
|
|
72
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
73
|
+
| import("@aws-sdk/types").Provider<
|
|
74
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
75
|
+
>
|
|
76
|
+
| undefined;
|
|
77
|
+
signer?:
|
|
78
|
+
| import("@aws-sdk/types").RequestSigner
|
|
79
|
+
| ((
|
|
80
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
81
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
82
|
+
| undefined;
|
|
83
|
+
signingEscapePath?: boolean | undefined;
|
|
84
|
+
systemClockOffset?: number | undefined;
|
|
85
|
+
signingRegion?: string | undefined;
|
|
86
|
+
signerConstructor?:
|
|
87
|
+
| (new (
|
|
88
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
89
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
90
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
91
|
+
| undefined;
|
|
92
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
93
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { SageMakerMetricsClientConfig } from "./SageMakerMetricsClient";
|
|
3
|
+
export declare const getRuntimeConfig: (
|
|
4
|
+
config: SageMakerMetricsClientConfig
|
|
5
|
+
) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
defaultsMode: import("@aws-sdk/types").Provider<
|
|
8
|
+
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
9
|
+
>;
|
|
10
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
11
|
+
credentialDefaultProvider: (
|
|
12
|
+
input: any
|
|
13
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
14
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
15
|
+
import("@aws-sdk/types").UserAgent
|
|
16
|
+
>;
|
|
17
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
18
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
19
|
+
requestHandler:
|
|
20
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
21
|
+
any,
|
|
22
|
+
any,
|
|
23
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
24
|
+
> &
|
|
25
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
26
|
+
| RequestHandler;
|
|
27
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
28
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
29
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
30
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
31
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
32
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
33
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
apiVersion: string;
|
|
35
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
36
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
37
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
38
|
+
disableHostPrefix: boolean;
|
|
39
|
+
logger: import("@aws-sdk/types").Logger;
|
|
40
|
+
serviceId: string;
|
|
41
|
+
endpoint?:
|
|
42
|
+
| ((
|
|
43
|
+
| string
|
|
44
|
+
| import("@aws-sdk/types").Endpoint
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
46
|
+
| import("@aws-sdk/types").EndpointV2
|
|
47
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
48
|
+
) &
|
|
49
|
+
(
|
|
50
|
+
| string
|
|
51
|
+
| import("@aws-sdk/types").Endpoint
|
|
52
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
53
|
+
| import("@aws-sdk/types").Provider<string>
|
|
54
|
+
| import("@aws-sdk/types").EndpointV2
|
|
55
|
+
| import("@aws-sdk/types").Provider<
|
|
56
|
+
import("@aws-sdk/types").EndpointV2
|
|
57
|
+
>
|
|
58
|
+
))
|
|
59
|
+
| undefined;
|
|
60
|
+
endpointProvider: (
|
|
61
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
62
|
+
context?: {
|
|
63
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
64
|
+
}
|
|
65
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
66
|
+
tls?: boolean | undefined;
|
|
67
|
+
retryStrategy?:
|
|
68
|
+
| import("@aws-sdk/types").RetryStrategy
|
|
69
|
+
| import("@aws-sdk/types").RetryStrategyV2
|
|
70
|
+
| undefined;
|
|
71
|
+
credentials?:
|
|
72
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
73
|
+
| import("@aws-sdk/types").Provider<
|
|
74
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
75
|
+
>
|
|
76
|
+
| undefined;
|
|
77
|
+
signer?:
|
|
78
|
+
| import("@aws-sdk/types").RequestSigner
|
|
79
|
+
| ((
|
|
80
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
81
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
82
|
+
| undefined;
|
|
83
|
+
signingEscapePath?: boolean | undefined;
|
|
84
|
+
systemClockOffset?: number | undefined;
|
|
85
|
+
signingRegion?: string | undefined;
|
|
86
|
+
signerConstructor?:
|
|
87
|
+
| (new (
|
|
88
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
89
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
90
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
91
|
+
| undefined;
|
|
92
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
93
|
+
};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { SageMakerMetricsClientConfig } from "./SageMakerMetricsClient";
|
|
2
|
+
export declare const getRuntimeConfig: (
|
|
3
|
+
config: SageMakerMetricsClientConfig
|
|
4
|
+
) => {
|
|
5
|
+
runtime: string;
|
|
6
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
7
|
+
requestHandler:
|
|
8
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
9
|
+
any,
|
|
10
|
+
any,
|
|
11
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
12
|
+
> &
|
|
13
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
14
|
+
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
15
|
+
apiVersion: string;
|
|
16
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
17
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
18
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
19
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
22
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
23
|
+
disableHostPrefix: boolean;
|
|
24
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
25
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
26
|
+
logger: import("@aws-sdk/types").Logger;
|
|
27
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
28
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
|
+
serviceId: string;
|
|
30
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
31
|
+
credentialDefaultProvider: (
|
|
32
|
+
input: any
|
|
33
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
34
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
35
|
+
import("@aws-sdk/types").UserAgent
|
|
36
|
+
>;
|
|
37
|
+
defaultsMode:
|
|
38
|
+
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
39
|
+
| import("@aws-sdk/types").Provider<
|
|
40
|
+
import("@aws-sdk/smithy-client").DefaultsMode
|
|
41
|
+
>;
|
|
42
|
+
endpoint?:
|
|
43
|
+
| string
|
|
44
|
+
| import("@aws-sdk/types").Endpoint
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
46
|
+
| import("@aws-sdk/types").EndpointV2
|
|
47
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
48
|
+
| undefined;
|
|
49
|
+
endpointProvider: (
|
|
50
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
51
|
+
context?: {
|
|
52
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
53
|
+
}
|
|
54
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
55
|
+
tls?: boolean | undefined;
|
|
56
|
+
retryStrategy?:
|
|
57
|
+
| import("@aws-sdk/types").RetryStrategy
|
|
58
|
+
| import("@aws-sdk/types").RetryStrategyV2
|
|
59
|
+
| undefined;
|
|
60
|
+
credentials?:
|
|
61
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
62
|
+
| import("@aws-sdk/types").Provider<
|
|
63
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
64
|
+
>
|
|
65
|
+
| undefined;
|
|
66
|
+
signer?:
|
|
67
|
+
| import("@aws-sdk/types").RequestSigner
|
|
68
|
+
| ((
|
|
69
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
70
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
71
|
+
| undefined;
|
|
72
|
+
signingEscapePath?: boolean | undefined;
|
|
73
|
+
systemClockOffset?: number | undefined;
|
|
74
|
+
signingRegion?: string | undefined;
|
|
75
|
+
signerConstructor?:
|
|
76
|
+
| (new (
|
|
77
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
78
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
79
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
80
|
+
| undefined;
|
|
81
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
82
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { SageMakerMetricsClientConfig } from "./SageMakerMetricsClient";
|
|
2
|
+
export declare const getRuntimeConfig: (
|
|
3
|
+
config: SageMakerMetricsClientConfig
|
|
4
|
+
) => {
|
|
5
|
+
apiVersion: string;
|
|
6
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
|
+
disableHostPrefix: boolean;
|
|
9
|
+
endpointProvider: (
|
|
10
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
11
|
+
context?: {
|
|
12
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
13
|
+
}
|
|
14
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
15
|
+
logger: import("@aws-sdk/types").Logger;
|
|
16
|
+
serviceId: string;
|
|
17
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
18
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-sdk/client-sagemaker-metrics",
|
|
3
|
+
"description": "AWS SDK for JavaScript Sagemaker Metrics Client for Node.js, Browser and React Native",
|
|
4
|
+
"version": "3.229.0",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
10
|
+
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
11
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
12
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
|
|
14
|
+
},
|
|
15
|
+
"main": "./dist-cjs/index.js",
|
|
16
|
+
"types": "./dist-types/index.d.ts",
|
|
17
|
+
"module": "./dist-es/index.js",
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
|
+
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
+
"@aws-sdk/client-sts": "3.229.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.226.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.229.0",
|
|
25
|
+
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
26
|
+
"@aws-sdk/hash-node": "3.226.0",
|
|
27
|
+
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
28
|
+
"@aws-sdk/middleware-content-length": "3.226.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.226.0",
|
|
30
|
+
"@aws-sdk/middleware-host-header": "3.226.0",
|
|
31
|
+
"@aws-sdk/middleware-logger": "3.226.0",
|
|
32
|
+
"@aws-sdk/middleware-recursion-detection": "3.226.0",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.229.0",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.226.0",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.226.0",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.226.0",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.226.0",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.226.0",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.226.0",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.226.0",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.226.0",
|
|
42
|
+
"@aws-sdk/types": "3.226.0",
|
|
43
|
+
"@aws-sdk/url-parser": "3.226.0",
|
|
44
|
+
"@aws-sdk/util-base64": "3.208.0",
|
|
45
|
+
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
|
+
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-browser": "3.226.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.226.0",
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.226.0",
|
|
50
|
+
"@aws-sdk/util-retry": "3.229.0",
|
|
51
|
+
"@aws-sdk/util-user-agent-browser": "3.226.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-node": "3.226.0",
|
|
53
|
+
"@aws-sdk/util-utf8-browser": "3.188.0",
|
|
54
|
+
"@aws-sdk/util-utf8-node": "3.208.0",
|
|
55
|
+
"tslib": "^2.3.1"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.208.0",
|
|
59
|
+
"@tsconfig/node14": "1.0.3",
|
|
60
|
+
"@types/node": "^14.14.31",
|
|
61
|
+
"concurrently": "7.0.0",
|
|
62
|
+
"downlevel-dts": "0.10.1",
|
|
63
|
+
"rimraf": "3.0.2",
|
|
64
|
+
"typedoc": "0.19.2",
|
|
65
|
+
"typescript": "~4.6.2"
|
|
66
|
+
},
|
|
67
|
+
"overrides": {
|
|
68
|
+
"typedoc": {
|
|
69
|
+
"typescript": "~4.6.2"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"engines": {
|
|
73
|
+
"node": ">=14.0.0"
|
|
74
|
+
},
|
|
75
|
+
"typesVersions": {
|
|
76
|
+
"<4.0": {
|
|
77
|
+
"dist-types/*": [
|
|
78
|
+
"dist-types/ts3.4/*"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"files": [
|
|
83
|
+
"dist-*"
|
|
84
|
+
],
|
|
85
|
+
"author": {
|
|
86
|
+
"name": "AWS SDK for JavaScript Team",
|
|
87
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
88
|
+
},
|
|
89
|
+
"license": "Apache-2.0",
|
|
90
|
+
"browser": {
|
|
91
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
92
|
+
},
|
|
93
|
+
"react-native": {
|
|
94
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
95
|
+
},
|
|
96
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-sagemaker-metrics",
|
|
97
|
+
"repository": {
|
|
98
|
+
"type": "git",
|
|
99
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
100
|
+
"directory": "clients/client-sagemaker-metrics"
|
|
101
|
+
}
|
|
102
|
+
}
|