@aws-sdk/client-sagemaker-a2i-runtime 3.928.0 → 3.929.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.
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.sagemakera2iruntime" }),
28
30
  serviceId: config?.serviceId ?? "SageMaker A2I Runtime",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class SageMakerA2IRuntimeClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteHumanLoopCommand, se_DeleteHumanLoopCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteHumanLoop } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteHumanLoopCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSageMakerA2IRuntime", "DeleteHumanLoop", {})
17
13
  .n("SageMakerA2IRuntimeClient", "DeleteHumanLoopCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteHumanLoopCommand)
20
- .de(de_DeleteHumanLoopCommand)
14
+ .sc(DeleteHumanLoop)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeHumanLoopCommand, se_DescribeHumanLoopCommand } from "../protocols/Aws_restJson1";
4
+ import { DescribeHumanLoop } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeHumanLoopCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSageMakerA2IRuntime", "DescribeHumanLoop", {})
17
13
  .n("SageMakerA2IRuntimeClient", "DescribeHumanLoopCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeHumanLoopCommand)
20
- .de(de_DescribeHumanLoopCommand)
14
+ .sc(DescribeHumanLoop)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListHumanLoopsCommand, se_ListHumanLoopsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListHumanLoops } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListHumanLoopsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSageMakerA2IRuntime", "ListHumanLoops", {})
17
13
  .n("SageMakerA2IRuntimeClient", "ListHumanLoopsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListHumanLoopsCommand)
20
- .de(de_ListHumanLoopsCommand)
14
+ .sc(ListHumanLoops)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StartHumanLoopCommand, se_StartHumanLoopCommand } from "../protocols/Aws_restJson1";
4
+ import { StartHumanLoop } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StartHumanLoopCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSageMakerA2IRuntime", "StartHumanLoop", {})
17
13
  .n("SageMakerA2IRuntimeClient", "StartHumanLoopCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StartHumanLoopCommand)
20
- .de(de_StartHumanLoopCommand)
14
+ .sc(StartHumanLoop)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopHumanLoopCommand, se_StopHumanLoopCommand } from "../protocols/Aws_restJson1";
4
+ import { StopHumanLoop } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopHumanLoopCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("AmazonSageMakerA2IRuntime", "StopHumanLoop", {})
17
13
  .n("SageMakerA2IRuntimeClient", "StopHumanLoopCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopHumanLoopCommand)
20
- .de(de_StopHumanLoopCommand)
14
+ .sc(StopHumanLoop)
21
15
  .build() {
22
16
  }
@@ -1,4 +1,5 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core";
2
+ import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
2
3
  import { NoOpLogger } from "@smithy/smithy-client";
3
4
  import { parseUrl } from "@smithy/url-parser";
4
5
  import { fromBase64, toBase64 } from "@smithy/util-base64";
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
22
23
  },
23
24
  ],
24
25
  logger: config?.logger ?? new NoOpLogger(),
26
+ protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.sagemakera2iruntime" }),
25
27
  serviceId: config?.serviceId ?? "SageMaker A2I Runtime",
26
28
  urlParser: config?.urlParser ?? parseUrl,
27
29
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
@@ -0,0 +1,267 @@
1
+ const _CC = "ContentClassifiers";
2
+ const _CE = "ConflictException";
3
+ const _CT = "CreationTime";
4
+ const _CTA = "CreationTimeAfter";
5
+ const _CTB = "CreationTimeBefore";
6
+ const _DA = "DataAttributes";
7
+ const _DHL = "DeleteHumanLoop";
8
+ const _DHLR = "DeleteHumanLoopRequest";
9
+ const _DHLRe = "DeleteHumanLoopResponse";
10
+ const _DHLRes = "DescribeHumanLoopRequest";
11
+ const _DHLResc = "DescribeHumanLoopResponse";
12
+ const _DHLe = "DescribeHumanLoop";
13
+ const _FC = "FailureCode";
14
+ const _FDA = "FlowDefinitionArn";
15
+ const _FR = "FailureReason";
16
+ const _HLA = "HumanLoopArn";
17
+ const _HLDA = "HumanLoopDataAttributes";
18
+ const _HLI = "HumanLoopInput";
19
+ const _HLN = "HumanLoopName";
20
+ const _HLO = "HumanLoopOutput";
21
+ const _HLS = "HumanLoopStatus";
22
+ const _HLSu = "HumanLoopSummary";
23
+ const _HLSum = "HumanLoopSummaries";
24
+ const _IC = "InputContent";
25
+ const _ISE = "InternalServerException";
26
+ const _LHL = "ListHumanLoops";
27
+ const _LHLR = "ListHumanLoopsRequest";
28
+ const _LHLRi = "ListHumanLoopsResponse";
29
+ const _M = "Message";
30
+ const _MR = "MaxResults";
31
+ const _NT = "NextToken";
32
+ const _OSU = "OutputS3Uri";
33
+ const _RNFE = "ResourceNotFoundException";
34
+ const _SHL = "StartHumanLoop";
35
+ const _SHLR = "StartHumanLoopRequest";
36
+ const _SHLRt = "StartHumanLoopResponse";
37
+ const _SHLRto = "StopHumanLoopRequest";
38
+ const _SHLRtop = "StopHumanLoopResponse";
39
+ const _SHLt = "StopHumanLoop";
40
+ const _SO = "SortOrder";
41
+ const _SQEE = "ServiceQuotaExceededException";
42
+ const _TE = "ThrottlingException";
43
+ const _VE = "ValidationException";
44
+ const _c = "client";
45
+ const _e = "error";
46
+ const _h = "http";
47
+ const _hE = "httpError";
48
+ const _hQ = "httpQuery";
49
+ const _s = "server";
50
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.sagemakera2iruntime";
51
+ const n0 = "com.amazonaws.sagemakera2iruntime";
52
+ import { TypeRegistry } from "@smithy/core/schema";
53
+ import { ConflictException as __ConflictException, InternalServerException as __InternalServerException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/index";
54
+ import { SageMakerA2IRuntimeServiceException as __SageMakerA2IRuntimeServiceException } from "../models/SageMakerA2IRuntimeServiceException";
55
+ export var ConflictException = [
56
+ -3,
57
+ n0,
58
+ _CE,
59
+ {
60
+ [_e]: _c,
61
+ [_hE]: 409,
62
+ },
63
+ [_M],
64
+ [0],
65
+ ];
66
+ TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
67
+ export var DeleteHumanLoopRequest = [3, n0, _DHLR, 0, [_HLN], [[0, 1]]];
68
+ export var DeleteHumanLoopResponse = [3, n0, _DHLRe, 0, [], []];
69
+ export var DescribeHumanLoopRequest = [3, n0, _DHLRes, 0, [_HLN], [[0, 1]]];
70
+ export var DescribeHumanLoopResponse = [
71
+ 3,
72
+ n0,
73
+ _DHLResc,
74
+ 0,
75
+ [_CT, _FR, _FC, _HLS, _HLN, _HLA, _FDA, _HLO],
76
+ [5, 0, 0, 0, 0, 0, 0, () => HumanLoopOutput],
77
+ ];
78
+ export var HumanLoopDataAttributes = [3, n0, _HLDA, 0, [_CC], [64 | 0]];
79
+ export var HumanLoopInput = [3, n0, _HLI, 0, [_IC], [0]];
80
+ export var HumanLoopOutput = [3, n0, _HLO, 0, [_OSU], [0]];
81
+ export var HumanLoopSummary = [3, n0, _HLSu, 0, [_HLN, _HLS, _CT, _FR, _FDA], [0, 0, 5, 0, 0]];
82
+ export var InternalServerException = [
83
+ -3,
84
+ n0,
85
+ _ISE,
86
+ {
87
+ [_e]: _s,
88
+ [_hE]: 500,
89
+ },
90
+ [_M],
91
+ [0],
92
+ ];
93
+ TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
94
+ export var ListHumanLoopsRequest = [
95
+ 3,
96
+ n0,
97
+ _LHLR,
98
+ 0,
99
+ [_CTA, _CTB, _FDA, _SO, _NT, _MR],
100
+ [
101
+ [
102
+ 5,
103
+ {
104
+ [_hQ]: _CTA,
105
+ },
106
+ ],
107
+ [
108
+ 5,
109
+ {
110
+ [_hQ]: _CTB,
111
+ },
112
+ ],
113
+ [
114
+ 0,
115
+ {
116
+ [_hQ]: _FDA,
117
+ },
118
+ ],
119
+ [
120
+ 0,
121
+ {
122
+ [_hQ]: _SO,
123
+ },
124
+ ],
125
+ [
126
+ 0,
127
+ {
128
+ [_hQ]: _NT,
129
+ },
130
+ ],
131
+ [
132
+ 1,
133
+ {
134
+ [_hQ]: _MR,
135
+ },
136
+ ],
137
+ ],
138
+ ];
139
+ export var ListHumanLoopsResponse = [
140
+ 3,
141
+ n0,
142
+ _LHLRi,
143
+ 0,
144
+ [_HLSum, _NT],
145
+ [() => HumanLoopSummaries, 0],
146
+ ];
147
+ export var ResourceNotFoundException = [
148
+ -3,
149
+ n0,
150
+ _RNFE,
151
+ {
152
+ [_e]: _c,
153
+ [_hE]: 404,
154
+ },
155
+ [_M],
156
+ [0],
157
+ ];
158
+ TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
159
+ export var ServiceQuotaExceededException = [
160
+ -3,
161
+ n0,
162
+ _SQEE,
163
+ {
164
+ [_e]: _c,
165
+ [_hE]: 402,
166
+ },
167
+ [_M],
168
+ [0],
169
+ ];
170
+ TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
171
+ export var StartHumanLoopRequest = [
172
+ 3,
173
+ n0,
174
+ _SHLR,
175
+ 0,
176
+ [_HLN, _FDA, _HLI, _DA],
177
+ [0, 0, () => HumanLoopInput, () => HumanLoopDataAttributes],
178
+ ];
179
+ export var StartHumanLoopResponse = [3, n0, _SHLRt, 0, [_HLA], [0]];
180
+ export var StopHumanLoopRequest = [3, n0, _SHLRto, 0, [_HLN], [0]];
181
+ export var StopHumanLoopResponse = [3, n0, _SHLRtop, 0, [], []];
182
+ export var ThrottlingException = [
183
+ -3,
184
+ n0,
185
+ _TE,
186
+ {
187
+ [_e]: _c,
188
+ [_hE]: 429,
189
+ },
190
+ [_M],
191
+ [0],
192
+ ];
193
+ TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
194
+ export var ValidationException = [
195
+ -3,
196
+ n0,
197
+ _VE,
198
+ {
199
+ [_e]: _c,
200
+ [_hE]: 400,
201
+ },
202
+ [_M],
203
+ [0],
204
+ ];
205
+ TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
206
+ export var __Unit = "unit";
207
+ export var SageMakerA2IRuntimeServiceException = [
208
+ -3,
209
+ _sm,
210
+ "SageMakerA2IRuntimeServiceException",
211
+ 0,
212
+ [],
213
+ [],
214
+ ];
215
+ TypeRegistry.for(_sm).registerError(SageMakerA2IRuntimeServiceException, __SageMakerA2IRuntimeServiceException);
216
+ export var ContentClassifiers = 64 | 0;
217
+ export var HumanLoopSummaries = [1, n0, _HLSum, 0, () => HumanLoopSummary];
218
+ export var DeleteHumanLoop = [
219
+ 9,
220
+ n0,
221
+ _DHL,
222
+ {
223
+ [_h]: ["DELETE", "/human-loops/{HumanLoopName}", 200],
224
+ },
225
+ () => DeleteHumanLoopRequest,
226
+ () => DeleteHumanLoopResponse,
227
+ ];
228
+ export var DescribeHumanLoop = [
229
+ 9,
230
+ n0,
231
+ _DHLe,
232
+ {
233
+ [_h]: ["GET", "/human-loops/{HumanLoopName}", 200],
234
+ },
235
+ () => DescribeHumanLoopRequest,
236
+ () => DescribeHumanLoopResponse,
237
+ ];
238
+ export var ListHumanLoops = [
239
+ 9,
240
+ n0,
241
+ _LHL,
242
+ {
243
+ [_h]: ["GET", "/human-loops", 200],
244
+ },
245
+ () => ListHumanLoopsRequest,
246
+ () => ListHumanLoopsResponse,
247
+ ];
248
+ export var StartHumanLoop = [
249
+ 9,
250
+ n0,
251
+ _SHL,
252
+ {
253
+ [_h]: ["POST", "/human-loops", 200],
254
+ },
255
+ () => StartHumanLoopRequest,
256
+ () => StartHumanLoopResponse,
257
+ ];
258
+ export var StopHumanLoop = [
259
+ 9,
260
+ n0,
261
+ _SHLt,
262
+ {
263
+ [_h]: ["POST", "/human-loops/stop", 200],
264
+ },
265
+ () => StopHumanLoopRequest,
266
+ () => StopHumanLoopResponse,
267
+ ];
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
5
5
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
6
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
7
  import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
8
+ import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
9
  import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { DeleteHumanLoopCommandInput, DeleteHumanLoopCommandOutput } from "./commands/DeleteHumanLoopCommand";
11
11
  import { DescribeHumanLoopCommandInput, DescribeHumanLoopCommandOutput } from "./commands/DescribeHumanLoopCommand";
@@ -146,6 +146,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
146
146
  * Optional extensions
147
147
  */
148
148
  extensions?: RuntimeExtension[];
149
+ /**
150
+ * The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
151
+ * may be overridden. A default will always be set by the client.
152
+ * Available options depend on the service's supported protocols and will not be validated by
153
+ * the client.
154
+ * @alpha
155
+ *
156
+ */
157
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
149
158
  /**
150
159
  * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
151
160
  */
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
29
29
  profile?: string;
30
30
  logger: import("@smithy/types").Logger;
31
31
  extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
32
33
  customUserAgent?: string | import("@smithy/types").UserAgent;
33
34
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
34
35
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
31
31
  profile?: string;
32
32
  logger: import("@smithy/types").Logger;
33
33
  extensions: import("./runtimeExtensions").RuntimeExtension[];
34
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
34
35
  customUserAgent?: string | import("@smithy/types").UserAgent;
35
36
  retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
36
37
  endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
27
27
  retryMode: string | import("@smithy/types").Provider<string>;
28
28
  logger: import("@smithy/types").Logger;
29
29
  extensions: import("./runtimeExtensions").RuntimeExtension[];
30
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
30
31
  defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
31
32
  customUserAgent?: string | import("@smithy/types").UserAgent;
32
33
  userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: SageMakerA2IRuntimeClientConfig)
14
14
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerA2IRuntimeHttpAuthSchemeProvider;
15
15
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
16
  logger: import("@smithy/types").Logger;
17
+ protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
17
18
  serviceId: string;
18
19
  urlParser: import("@smithy/types").UrlParser;
19
20
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,30 @@
1
+ import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
2
+ export declare var ConflictException: StaticErrorSchema;
3
+ export declare var DeleteHumanLoopRequest: StaticStructureSchema;
4
+ export declare var DeleteHumanLoopResponse: StaticStructureSchema;
5
+ export declare var DescribeHumanLoopRequest: StaticStructureSchema;
6
+ export declare var DescribeHumanLoopResponse: StaticStructureSchema;
7
+ export declare var HumanLoopDataAttributes: StaticStructureSchema;
8
+ export declare var HumanLoopInput: StaticStructureSchema;
9
+ export declare var HumanLoopOutput: StaticStructureSchema;
10
+ export declare var HumanLoopSummary: StaticStructureSchema;
11
+ export declare var InternalServerException: StaticErrorSchema;
12
+ export declare var ListHumanLoopsRequest: StaticStructureSchema;
13
+ export declare var ListHumanLoopsResponse: StaticStructureSchema;
14
+ export declare var ResourceNotFoundException: StaticErrorSchema;
15
+ export declare var ServiceQuotaExceededException: StaticErrorSchema;
16
+ export declare var StartHumanLoopRequest: StaticStructureSchema;
17
+ export declare var StartHumanLoopResponse: StaticStructureSchema;
18
+ export declare var StopHumanLoopRequest: StaticStructureSchema;
19
+ export declare var StopHumanLoopResponse: StaticStructureSchema;
20
+ export declare var ThrottlingException: StaticErrorSchema;
21
+ export declare var ValidationException: StaticErrorSchema;
22
+ export declare var __Unit: "unit";
23
+ export declare var SageMakerA2IRuntimeServiceException: StaticErrorSchema;
24
+ export declare var ContentClassifiers: number;
25
+ export declare var HumanLoopSummaries: StaticListSchema;
26
+ export declare var DeleteHumanLoop: StaticOperationSchema;
27
+ export declare var DescribeHumanLoop: StaticOperationSchema;
28
+ export declare var ListHumanLoops: StaticOperationSchema;
29
+ export declare var StartHumanLoop: StaticOperationSchema;
30
+ export declare var StopHumanLoop: StaticOperationSchema;
@@ -30,10 +30,13 @@ import {
30
30
  BodyLengthCalculator as __BodyLengthCalculator,
31
31
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
32
  ChecksumConstructor as __ChecksumConstructor,
33
+ ClientProtocol,
33
34
  Decoder as __Decoder,
34
35
  Encoder as __Encoder,
35
36
  HashConstructor as __HashConstructor,
36
37
  HttpHandlerOptions as __HttpHandlerOptions,
38
+ HttpRequest,
39
+ HttpResponse,
37
40
  Logger as __Logger,
38
41
  Provider as __Provider,
39
42
  Provider,
@@ -108,6 +111,7 @@ export interface ClientDefaults
108
111
  retryMode?: string | __Provider<string>;
109
112
  logger?: __Logger;
110
113
  extensions?: RuntimeExtension[];
114
+ protocol?: ClientProtocol<HttpRequest, HttpResponse>;
111
115
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
112
116
  }
113
117
  export type SageMakerA2IRuntimeClientConfigType = Partial<
@@ -40,6 +40,10 @@ export declare const getRuntimeConfig: (
40
40
  profile?: string;
41
41
  logger: import("@smithy/types").Logger;
42
42
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
+ protocol: import("@smithy/types").ClientProtocol<
44
+ import("@smithy/types").HttpRequest,
45
+ import("@smithy/types").HttpResponse
46
+ >;
43
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
44
48
  userAgentAppId?:
45
49
  | string
@@ -40,6 +40,10 @@ export declare const getRuntimeConfig: (
40
40
  profile?: string;
41
41
  logger: import("@smithy/types").Logger;
42
42
  extensions: import("./runtimeExtensions").RuntimeExtension[];
43
+ protocol: import("@smithy/types").ClientProtocol<
44
+ import("@smithy/types").HttpRequest,
45
+ import("@smithy/types").HttpResponse
46
+ >;
43
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
44
48
  retryStrategy?:
45
49
  | import("@smithy/types").RetryStrategy
@@ -39,6 +39,10 @@ export declare const getRuntimeConfig: (
39
39
  retryMode: string | import("@smithy/types").Provider<string>;
40
40
  logger: import("@smithy/types").Logger;
41
41
  extensions: import("./runtimeExtensions").RuntimeExtension[];
42
+ protocol: import("@smithy/types").ClientProtocol<
43
+ import("@smithy/types").HttpRequest,
44
+ import("@smithy/types").HttpResponse
45
+ >;
42
46
  defaultsMode:
43
47
  | import("@smithy/smithy-client").DefaultsMode
44
48
  | import("@smithy/types").Provider<
@@ -16,6 +16,10 @@ export declare const getRuntimeConfig: (
16
16
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").SageMakerA2IRuntimeHttpAuthSchemeProvider;
17
17
  httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
18
18
  logger: import("@smithy/types").Logger;
19
+ protocol: import("@smithy/types").ClientProtocol<
20
+ import("@smithy/types").HttpRequest,
21
+ import("@smithy/types").HttpResponse
22
+ >;
19
23
  serviceId: string;
20
24
  urlParser: import("@smithy/types").UrlParser;
21
25
  utf8Decoder: import("@smithy/types").Decoder;
@@ -0,0 +1,35 @@
1
+ import {
2
+ StaticErrorSchema,
3
+ StaticListSchema,
4
+ StaticOperationSchema,
5
+ StaticStructureSchema,
6
+ } from "@smithy/types";
7
+ export declare var ConflictException: StaticErrorSchema;
8
+ export declare var DeleteHumanLoopRequest: StaticStructureSchema;
9
+ export declare var DeleteHumanLoopResponse: StaticStructureSchema;
10
+ export declare var DescribeHumanLoopRequest: StaticStructureSchema;
11
+ export declare var DescribeHumanLoopResponse: StaticStructureSchema;
12
+ export declare var HumanLoopDataAttributes: StaticStructureSchema;
13
+ export declare var HumanLoopInput: StaticStructureSchema;
14
+ export declare var HumanLoopOutput: StaticStructureSchema;
15
+ export declare var HumanLoopSummary: StaticStructureSchema;
16
+ export declare var InternalServerException: StaticErrorSchema;
17
+ export declare var ListHumanLoopsRequest: StaticStructureSchema;
18
+ export declare var ListHumanLoopsResponse: StaticStructureSchema;
19
+ export declare var ResourceNotFoundException: StaticErrorSchema;
20
+ export declare var ServiceQuotaExceededException: StaticErrorSchema;
21
+ export declare var StartHumanLoopRequest: StaticStructureSchema;
22
+ export declare var StartHumanLoopResponse: StaticStructureSchema;
23
+ export declare var StopHumanLoopRequest: StaticStructureSchema;
24
+ export declare var StopHumanLoopResponse: StaticStructureSchema;
25
+ export declare var ThrottlingException: StaticErrorSchema;
26
+ export declare var ValidationException: StaticErrorSchema;
27
+ export declare var __Unit: "unit";
28
+ export declare var SageMakerA2IRuntimeServiceException: StaticErrorSchema;
29
+ export declare var ContentClassifiers: number;
30
+ export declare var HumanLoopSummaries: StaticListSchema;
31
+ export declare var DeleteHumanLoop: StaticOperationSchema;
32
+ export declare var DescribeHumanLoop: StaticOperationSchema;
33
+ export declare var ListHumanLoops: StaticOperationSchema;
34
+ export declare var StartHumanLoop: StaticOperationSchema;
35
+ export declare var StopHumanLoop: StaticOperationSchema;