@aws-sdk/client-sagemaker-a2i-runtime 3.758.0 → 3.774.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
|
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
20
|
|
|
21
21
|
// src/index.ts
|
|
22
|
-
var
|
|
23
|
-
__export(
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
24
|
ConflictException: () => ConflictException,
|
|
25
25
|
ContentClassifier: () => ContentClassifier,
|
|
26
26
|
DeleteHumanLoopCommand: () => DeleteHumanLoopCommand,
|
|
@@ -41,7 +41,7 @@ __export(src_exports, {
|
|
|
41
41
|
__Client: () => import_smithy_client.Client,
|
|
42
42
|
paginateListHumanLoops: () => paginateListHumanLoops
|
|
43
43
|
});
|
|
44
|
-
module.exports = __toCommonJS(
|
|
44
|
+
module.exports = __toCommonJS(index_exports);
|
|
45
45
|
|
|
46
46
|
// src/SageMakerA2IRuntimeClient.ts
|
|
47
47
|
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
@@ -168,9 +168,9 @@ var SageMakerA2IRuntimeClient = class extends import_smithy_client.Client {
|
|
|
168
168
|
this.middlewareStack.use(
|
|
169
169
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
170
170
|
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultSageMakerA2IRuntimeHttpAuthSchemeParametersProvider,
|
|
171
|
-
identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
171
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
172
172
|
"aws.auth#sigv4": config.credentials
|
|
173
|
-
})
|
|
173
|
+
}), "identityProviderConfigProvider")
|
|
174
174
|
})
|
|
175
175
|
);
|
|
176
176
|
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
@@ -394,9 +394,9 @@ var se_StartHumanLoopCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
394
394
|
let body;
|
|
395
395
|
body = JSON.stringify(
|
|
396
396
|
(0, import_smithy_client.take)(input, {
|
|
397
|
-
DataAttributes: (_) => (0, import_smithy_client._json)(_),
|
|
397
|
+
DataAttributes: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "DataAttributes"),
|
|
398
398
|
FlowDefinitionArn: [],
|
|
399
|
-
HumanLoopInput: (_) => (0, import_smithy_client._json)(_),
|
|
399
|
+
HumanLoopInput: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "HumanLoopInput"),
|
|
400
400
|
HumanLoopName: []
|
|
401
401
|
})
|
|
402
402
|
);
|
|
@@ -437,7 +437,7 @@ var de_DescribeHumanLoopCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
437
437
|
});
|
|
438
438
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
439
439
|
const doc = (0, import_smithy_client.take)(data, {
|
|
440
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
440
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationTime"),
|
|
441
441
|
FailureCode: import_smithy_client.expectString,
|
|
442
442
|
FailureReason: import_smithy_client.expectString,
|
|
443
443
|
FlowDefinitionArn: import_smithy_client.expectString,
|
|
@@ -458,7 +458,7 @@ var de_ListHumanLoopsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
458
458
|
});
|
|
459
459
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
460
460
|
const doc = (0, import_smithy_client.take)(data, {
|
|
461
|
-
HumanLoopSummaries: (_) => de_HumanLoopSummaries(_, context),
|
|
461
|
+
HumanLoopSummaries: /* @__PURE__ */ __name((_) => de_HumanLoopSummaries(_, context), "HumanLoopSummaries"),
|
|
462
462
|
NextToken: import_smithy_client.expectString
|
|
463
463
|
});
|
|
464
464
|
Object.assign(contents, doc);
|
|
@@ -609,7 +609,7 @@ var de_HumanLoopSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
|
609
609
|
}, "de_HumanLoopSummaries");
|
|
610
610
|
var de_HumanLoopSummary = /* @__PURE__ */ __name((output, context) => {
|
|
611
611
|
return (0, import_smithy_client.take)(output, {
|
|
612
|
-
CreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
612
|
+
CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "CreationTime"),
|
|
613
613
|
FailureReason: import_smithy_client.expectString,
|
|
614
614
|
FlowDefinitionArn: import_smithy_client.expectString,
|
|
615
615
|
HumanLoopName: import_smithy_client.expectString,
|
|
@@ -45,8 +45,5 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
|
|
|
45
45
|
signingEscapePath?: boolean | undefined;
|
|
46
46
|
systemClockOffset?: number | undefined;
|
|
47
47
|
signingRegion?: string | undefined;
|
|
48
|
-
/**
|
|
49
|
-
* @internal
|
|
50
|
-
*/
|
|
51
48
|
signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
|
|
52
49
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker-a2i-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker A2i Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.774.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-a2i-runtime",
|
|
@@ -20,17 +20,17 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/core": "3.774.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.774.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.774.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.774.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.774.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
35
|
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|