@aws-sdk/client-s3outposts 3.306.0 → 3.309.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.
@@ -36,10 +36,10 @@ class CreateEndpointCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1CreateEndpointCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_CreateEndpointCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1CreateEndpointCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_CreateEndpointCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.CreateEndpointCommand = CreateEndpointCommand;
@@ -36,10 +36,10 @@ class DeleteEndpointCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1DeleteEndpointCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_DeleteEndpointCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1DeleteEndpointCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_DeleteEndpointCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.DeleteEndpointCommand = DeleteEndpointCommand;
@@ -36,10 +36,10 @@ class ListEndpointsCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1ListEndpointsCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_ListEndpointsCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1ListEndpointsCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_ListEndpointsCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListEndpointsCommand = ListEndpointsCommand;
@@ -36,10 +36,10 @@ class ListOutpostsWithS3Command extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1ListOutpostsWithS3Command)(input, context);
39
+ return (0, Aws_restJson1_1.se_ListOutpostsWithS3Command)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1ListOutpostsWithS3Command)(output, context);
42
+ return (0, Aws_restJson1_1.de_ListOutpostsWithS3Command)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListOutpostsWithS3Command = ListOutpostsWithS3Command;
@@ -36,10 +36,10 @@ class ListSharedEndpointsCommand extends smithy_client_1.Command {
36
36
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
37
37
  }
38
38
  serialize(input, context) {
39
- return (0, Aws_restJson1_1.serializeAws_restJson1ListSharedEndpointsCommand)(input, context);
39
+ return (0, Aws_restJson1_1.se_ListSharedEndpointsCommand)(input, context);
40
40
  }
41
41
  deserialize(output, context) {
42
- return (0, Aws_restJson1_1.deserializeAws_restJson1ListSharedEndpointsCommand)(output, context);
42
+ return (0, Aws_restJson1_1.de_ListSharedEndpointsCommand)(output, context);
43
43
  }
44
44
  }
45
45
  exports.ListSharedEndpointsCommand = ListSharedEndpointsCommand;
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_restJson1ListSharedEndpointsCommand = exports.deserializeAws_restJson1ListOutpostsWithS3Command = exports.deserializeAws_restJson1ListEndpointsCommand = exports.deserializeAws_restJson1DeleteEndpointCommand = exports.deserializeAws_restJson1CreateEndpointCommand = exports.serializeAws_restJson1ListSharedEndpointsCommand = exports.serializeAws_restJson1ListOutpostsWithS3Command = exports.serializeAws_restJson1ListEndpointsCommand = exports.serializeAws_restJson1DeleteEndpointCommand = exports.serializeAws_restJson1CreateEndpointCommand = void 0;
3
+ exports.de_ListSharedEndpointsCommand = exports.de_ListOutpostsWithS3Command = exports.de_ListEndpointsCommand = exports.de_DeleteEndpointCommand = exports.de_CreateEndpointCommand = exports.se_ListSharedEndpointsCommand = exports.se_ListOutpostsWithS3Command = exports.se_ListEndpointsCommand = exports.se_DeleteEndpointCommand = exports.se_CreateEndpointCommand = void 0;
4
4
  const protocol_http_1 = require("@aws-sdk/protocol-http");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const S3OutpostsServiceException_1 = require("../models/S3OutpostsServiceException");
8
- const serializeAws_restJson1CreateEndpointCommand = async (input, context) => {
8
+ const se_CreateEndpointCommand = async (input, context) => {
9
9
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
10
10
  const headers = {
11
11
  "content-type": "application/json",
@@ -29,8 +29,8 @@ const serializeAws_restJson1CreateEndpointCommand = async (input, context) => {
29
29
  body,
30
30
  });
31
31
  };
32
- exports.serializeAws_restJson1CreateEndpointCommand = serializeAws_restJson1CreateEndpointCommand;
33
- const serializeAws_restJson1DeleteEndpointCommand = async (input, context) => {
32
+ exports.se_CreateEndpointCommand = se_CreateEndpointCommand;
33
+ const se_DeleteEndpointCommand = async (input, context) => {
34
34
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
35
35
  const headers = {};
36
36
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/DeleteEndpoint";
@@ -50,8 +50,8 @@ const serializeAws_restJson1DeleteEndpointCommand = async (input, context) => {
50
50
  body,
51
51
  });
52
52
  };
53
- exports.serializeAws_restJson1DeleteEndpointCommand = serializeAws_restJson1DeleteEndpointCommand;
54
- const serializeAws_restJson1ListEndpointsCommand = async (input, context) => {
53
+ exports.se_DeleteEndpointCommand = se_DeleteEndpointCommand;
54
+ const se_ListEndpointsCommand = async (input, context) => {
55
55
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
56
56
  const headers = {};
57
57
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/ListEndpoints";
@@ -71,8 +71,8 @@ const serializeAws_restJson1ListEndpointsCommand = async (input, context) => {
71
71
  body,
72
72
  });
73
73
  };
74
- exports.serializeAws_restJson1ListEndpointsCommand = serializeAws_restJson1ListEndpointsCommand;
75
- const serializeAws_restJson1ListOutpostsWithS3Command = async (input, context) => {
74
+ exports.se_ListEndpointsCommand = se_ListEndpointsCommand;
75
+ const se_ListOutpostsWithS3Command = async (input, context) => {
76
76
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
77
77
  const headers = {};
78
78
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/ListOutpostsWithS3";
@@ -92,8 +92,8 @@ const serializeAws_restJson1ListOutpostsWithS3Command = async (input, context) =
92
92
  body,
93
93
  });
94
94
  };
95
- exports.serializeAws_restJson1ListOutpostsWithS3Command = serializeAws_restJson1ListOutpostsWithS3Command;
96
- const serializeAws_restJson1ListSharedEndpointsCommand = async (input, context) => {
95
+ exports.se_ListOutpostsWithS3Command = se_ListOutpostsWithS3Command;
96
+ const se_ListSharedEndpointsCommand = async (input, context) => {
97
97
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
98
98
  const headers = {};
99
99
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/ListSharedEndpoints";
@@ -114,10 +114,10 @@ const serializeAws_restJson1ListSharedEndpointsCommand = async (input, context)
114
114
  body,
115
115
  });
116
116
  };
117
- exports.serializeAws_restJson1ListSharedEndpointsCommand = serializeAws_restJson1ListSharedEndpointsCommand;
118
- const deserializeAws_restJson1CreateEndpointCommand = async (output, context) => {
117
+ exports.se_ListSharedEndpointsCommand = se_ListSharedEndpointsCommand;
118
+ const de_CreateEndpointCommand = async (output, context) => {
119
119
  if (output.statusCode !== 200 && output.statusCode >= 300) {
120
- return deserializeAws_restJson1CreateEndpointCommandError(output, context);
120
+ return de_CreateEndpointCommandError(output, context);
121
121
  }
122
122
  const contents = map({
123
123
  $metadata: deserializeMetadata(output),
@@ -128,8 +128,8 @@ const deserializeAws_restJson1CreateEndpointCommand = async (output, context) =>
128
128
  }
129
129
  return contents;
130
130
  };
131
- exports.deserializeAws_restJson1CreateEndpointCommand = deserializeAws_restJson1CreateEndpointCommand;
132
- const deserializeAws_restJson1CreateEndpointCommandError = async (output, context) => {
131
+ exports.de_CreateEndpointCommand = de_CreateEndpointCommand;
132
+ const de_CreateEndpointCommandError = async (output, context) => {
133
133
  const parsedOutput = {
134
134
  ...output,
135
135
  body: await parseErrorBody(output.body, context),
@@ -138,25 +138,25 @@ const deserializeAws_restJson1CreateEndpointCommandError = async (output, contex
138
138
  switch (errorCode) {
139
139
  case "AccessDeniedException":
140
140
  case "com.amazonaws.s3outposts#AccessDeniedException":
141
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
141
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
142
142
  case "ConflictException":
143
143
  case "com.amazonaws.s3outposts#ConflictException":
144
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
144
+ throw await de_ConflictExceptionRes(parsedOutput, context);
145
145
  case "InternalServerException":
146
146
  case "com.amazonaws.s3outposts#InternalServerException":
147
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
147
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
148
148
  case "OutpostOfflineException":
149
149
  case "com.amazonaws.s3outposts#OutpostOfflineException":
150
- throw await deserializeAws_restJson1OutpostOfflineExceptionResponse(parsedOutput, context);
150
+ throw await de_OutpostOfflineExceptionRes(parsedOutput, context);
151
151
  case "ResourceNotFoundException":
152
152
  case "com.amazonaws.s3outposts#ResourceNotFoundException":
153
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
153
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
154
154
  case "ThrottlingException":
155
155
  case "com.amazonaws.s3outposts#ThrottlingException":
156
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
156
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
157
157
  case "ValidationException":
158
158
  case "com.amazonaws.s3outposts#ValidationException":
159
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
159
+ throw await de_ValidationExceptionRes(parsedOutput, context);
160
160
  default:
161
161
  const parsedBody = parsedOutput.body;
162
162
  (0, smithy_client_1.throwDefaultError)({
@@ -167,9 +167,9 @@ const deserializeAws_restJson1CreateEndpointCommandError = async (output, contex
167
167
  });
168
168
  }
169
169
  };
170
- const deserializeAws_restJson1DeleteEndpointCommand = async (output, context) => {
170
+ const de_DeleteEndpointCommand = async (output, context) => {
171
171
  if (output.statusCode !== 200 && output.statusCode >= 300) {
172
- return deserializeAws_restJson1DeleteEndpointCommandError(output, context);
172
+ return de_DeleteEndpointCommandError(output, context);
173
173
  }
174
174
  const contents = map({
175
175
  $metadata: deserializeMetadata(output),
@@ -177,8 +177,8 @@ const deserializeAws_restJson1DeleteEndpointCommand = async (output, context) =>
177
177
  await collectBody(output.body, context);
178
178
  return contents;
179
179
  };
180
- exports.deserializeAws_restJson1DeleteEndpointCommand = deserializeAws_restJson1DeleteEndpointCommand;
181
- const deserializeAws_restJson1DeleteEndpointCommandError = async (output, context) => {
180
+ exports.de_DeleteEndpointCommand = de_DeleteEndpointCommand;
181
+ const de_DeleteEndpointCommandError = async (output, context) => {
182
182
  const parsedOutput = {
183
183
  ...output,
184
184
  body: await parseErrorBody(output.body, context),
@@ -187,22 +187,22 @@ const deserializeAws_restJson1DeleteEndpointCommandError = async (output, contex
187
187
  switch (errorCode) {
188
188
  case "AccessDeniedException":
189
189
  case "com.amazonaws.s3outposts#AccessDeniedException":
190
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
190
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
191
191
  case "InternalServerException":
192
192
  case "com.amazonaws.s3outposts#InternalServerException":
193
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
193
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
194
194
  case "OutpostOfflineException":
195
195
  case "com.amazonaws.s3outposts#OutpostOfflineException":
196
- throw await deserializeAws_restJson1OutpostOfflineExceptionResponse(parsedOutput, context);
196
+ throw await de_OutpostOfflineExceptionRes(parsedOutput, context);
197
197
  case "ResourceNotFoundException":
198
198
  case "com.amazonaws.s3outposts#ResourceNotFoundException":
199
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
199
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
200
200
  case "ThrottlingException":
201
201
  case "com.amazonaws.s3outposts#ThrottlingException":
202
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
202
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
203
203
  case "ValidationException":
204
204
  case "com.amazonaws.s3outposts#ValidationException":
205
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
205
+ throw await de_ValidationExceptionRes(parsedOutput, context);
206
206
  default:
207
207
  const parsedBody = parsedOutput.body;
208
208
  (0, smithy_client_1.throwDefaultError)({
@@ -213,24 +213,24 @@ const deserializeAws_restJson1DeleteEndpointCommandError = async (output, contex
213
213
  });
214
214
  }
215
215
  };
216
- const deserializeAws_restJson1ListEndpointsCommand = async (output, context) => {
216
+ const de_ListEndpointsCommand = async (output, context) => {
217
217
  if (output.statusCode !== 200 && output.statusCode >= 300) {
218
- return deserializeAws_restJson1ListEndpointsCommandError(output, context);
218
+ return de_ListEndpointsCommandError(output, context);
219
219
  }
220
220
  const contents = map({
221
221
  $metadata: deserializeMetadata(output),
222
222
  });
223
223
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
224
224
  if (data.Endpoints != null) {
225
- contents.Endpoints = deserializeAws_restJson1Endpoints(data.Endpoints, context);
225
+ contents.Endpoints = de_Endpoints(data.Endpoints, context);
226
226
  }
227
227
  if (data.NextToken != null) {
228
228
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
229
229
  }
230
230
  return contents;
231
231
  };
232
- exports.deserializeAws_restJson1ListEndpointsCommand = deserializeAws_restJson1ListEndpointsCommand;
233
- const deserializeAws_restJson1ListEndpointsCommandError = async (output, context) => {
232
+ exports.de_ListEndpointsCommand = de_ListEndpointsCommand;
233
+ const de_ListEndpointsCommandError = async (output, context) => {
234
234
  const parsedOutput = {
235
235
  ...output,
236
236
  body: await parseErrorBody(output.body, context),
@@ -239,19 +239,19 @@ const deserializeAws_restJson1ListEndpointsCommandError = async (output, context
239
239
  switch (errorCode) {
240
240
  case "AccessDeniedException":
241
241
  case "com.amazonaws.s3outposts#AccessDeniedException":
242
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
242
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
243
243
  case "InternalServerException":
244
244
  case "com.amazonaws.s3outposts#InternalServerException":
245
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
245
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
246
246
  case "ResourceNotFoundException":
247
247
  case "com.amazonaws.s3outposts#ResourceNotFoundException":
248
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
248
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
249
249
  case "ThrottlingException":
250
250
  case "com.amazonaws.s3outposts#ThrottlingException":
251
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
251
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
252
252
  case "ValidationException":
253
253
  case "com.amazonaws.s3outposts#ValidationException":
254
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
254
+ throw await de_ValidationExceptionRes(parsedOutput, context);
255
255
  default:
256
256
  const parsedBody = parsedOutput.body;
257
257
  (0, smithy_client_1.throwDefaultError)({
@@ -262,9 +262,9 @@ const deserializeAws_restJson1ListEndpointsCommandError = async (output, context
262
262
  });
263
263
  }
264
264
  };
265
- const deserializeAws_restJson1ListOutpostsWithS3Command = async (output, context) => {
265
+ const de_ListOutpostsWithS3Command = async (output, context) => {
266
266
  if (output.statusCode !== 200 && output.statusCode >= 300) {
267
- return deserializeAws_restJson1ListOutpostsWithS3CommandError(output, context);
267
+ return de_ListOutpostsWithS3CommandError(output, context);
268
268
  }
269
269
  const contents = map({
270
270
  $metadata: deserializeMetadata(output),
@@ -274,12 +274,12 @@ const deserializeAws_restJson1ListOutpostsWithS3Command = async (output, context
274
274
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
275
275
  }
276
276
  if (data.Outposts != null) {
277
- contents.Outposts = deserializeAws_restJson1Outposts(data.Outposts, context);
277
+ contents.Outposts = de_Outposts(data.Outposts, context);
278
278
  }
279
279
  return contents;
280
280
  };
281
- exports.deserializeAws_restJson1ListOutpostsWithS3Command = deserializeAws_restJson1ListOutpostsWithS3Command;
282
- const deserializeAws_restJson1ListOutpostsWithS3CommandError = async (output, context) => {
281
+ exports.de_ListOutpostsWithS3Command = de_ListOutpostsWithS3Command;
282
+ const de_ListOutpostsWithS3CommandError = async (output, context) => {
283
283
  const parsedOutput = {
284
284
  ...output,
285
285
  body: await parseErrorBody(output.body, context),
@@ -288,16 +288,16 @@ const deserializeAws_restJson1ListOutpostsWithS3CommandError = async (output, co
288
288
  switch (errorCode) {
289
289
  case "AccessDeniedException":
290
290
  case "com.amazonaws.s3outposts#AccessDeniedException":
291
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
291
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
292
292
  case "InternalServerException":
293
293
  case "com.amazonaws.s3outposts#InternalServerException":
294
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
294
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
295
295
  case "ThrottlingException":
296
296
  case "com.amazonaws.s3outposts#ThrottlingException":
297
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
297
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
298
298
  case "ValidationException":
299
299
  case "com.amazonaws.s3outposts#ValidationException":
300
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
300
+ throw await de_ValidationExceptionRes(parsedOutput, context);
301
301
  default:
302
302
  const parsedBody = parsedOutput.body;
303
303
  (0, smithy_client_1.throwDefaultError)({
@@ -308,24 +308,24 @@ const deserializeAws_restJson1ListOutpostsWithS3CommandError = async (output, co
308
308
  });
309
309
  }
310
310
  };
311
- const deserializeAws_restJson1ListSharedEndpointsCommand = async (output, context) => {
311
+ const de_ListSharedEndpointsCommand = async (output, context) => {
312
312
  if (output.statusCode !== 200 && output.statusCode >= 300) {
313
- return deserializeAws_restJson1ListSharedEndpointsCommandError(output, context);
313
+ return de_ListSharedEndpointsCommandError(output, context);
314
314
  }
315
315
  const contents = map({
316
316
  $metadata: deserializeMetadata(output),
317
317
  });
318
318
  const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
319
319
  if (data.Endpoints != null) {
320
- contents.Endpoints = deserializeAws_restJson1Endpoints(data.Endpoints, context);
320
+ contents.Endpoints = de_Endpoints(data.Endpoints, context);
321
321
  }
322
322
  if (data.NextToken != null) {
323
323
  contents.NextToken = (0, smithy_client_1.expectString)(data.NextToken);
324
324
  }
325
325
  return contents;
326
326
  };
327
- exports.deserializeAws_restJson1ListSharedEndpointsCommand = deserializeAws_restJson1ListSharedEndpointsCommand;
328
- const deserializeAws_restJson1ListSharedEndpointsCommandError = async (output, context) => {
327
+ exports.de_ListSharedEndpointsCommand = de_ListSharedEndpointsCommand;
328
+ const de_ListSharedEndpointsCommandError = async (output, context) => {
329
329
  const parsedOutput = {
330
330
  ...output,
331
331
  body: await parseErrorBody(output.body, context),
@@ -334,19 +334,19 @@ const deserializeAws_restJson1ListSharedEndpointsCommandError = async (output, c
334
334
  switch (errorCode) {
335
335
  case "AccessDeniedException":
336
336
  case "com.amazonaws.s3outposts#AccessDeniedException":
337
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
337
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
338
338
  case "InternalServerException":
339
339
  case "com.amazonaws.s3outposts#InternalServerException":
340
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
340
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
341
341
  case "ResourceNotFoundException":
342
342
  case "com.amazonaws.s3outposts#ResourceNotFoundException":
343
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
343
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
344
344
  case "ThrottlingException":
345
345
  case "com.amazonaws.s3outposts#ThrottlingException":
346
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
346
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
347
347
  case "ValidationException":
348
348
  case "com.amazonaws.s3outposts#ValidationException":
349
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
349
+ throw await de_ValidationExceptionRes(parsedOutput, context);
350
350
  default:
351
351
  const parsedBody = parsedOutput.body;
352
352
  (0, smithy_client_1.throwDefaultError)({
@@ -358,7 +358,7 @@ const deserializeAws_restJson1ListSharedEndpointsCommandError = async (output, c
358
358
  }
359
359
  };
360
360
  const map = smithy_client_1.map;
361
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
361
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
362
362
  const contents = map({});
363
363
  const data = parsedOutput.body;
364
364
  if (data.Message != null) {
@@ -370,7 +370,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
370
370
  });
371
371
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
372
372
  };
373
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
373
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
374
374
  const contents = map({});
375
375
  const data = parsedOutput.body;
376
376
  if (data.Message != null) {
@@ -382,7 +382,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
382
382
  });
383
383
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
384
384
  };
385
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
385
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
386
386
  const contents = map({});
387
387
  const data = parsedOutput.body;
388
388
  if (data.Message != null) {
@@ -394,7 +394,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
394
394
  });
395
395
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
396
396
  };
397
- const deserializeAws_restJson1OutpostOfflineExceptionResponse = async (parsedOutput, context) => {
397
+ const de_OutpostOfflineExceptionRes = async (parsedOutput, context) => {
398
398
  const contents = map({});
399
399
  const data = parsedOutput.body;
400
400
  if (data.Message != null) {
@@ -406,7 +406,7 @@ const deserializeAws_restJson1OutpostOfflineExceptionResponse = async (parsedOut
406
406
  });
407
407
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
408
408
  };
409
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
409
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
410
410
  const contents = map({});
411
411
  const data = parsedOutput.body;
412
412
  if (data.Message != null) {
@@ -418,7 +418,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
418
418
  });
419
419
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
420
420
  };
421
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
421
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
422
422
  const contents = map({});
423
423
  const data = parsedOutput.body;
424
424
  if (data.Message != null) {
@@ -430,7 +430,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
430
430
  });
431
431
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
432
432
  };
433
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
433
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
434
434
  const contents = map({});
435
435
  const data = parsedOutput.body;
436
436
  if (data.Message != null) {
@@ -442,7 +442,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
442
442
  });
443
443
  return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
444
444
  };
445
- const deserializeAws_restJson1Endpoint = (output, context) => {
445
+ const de_Endpoint = (output, context) => {
446
446
  return {
447
447
  AccessType: (0, smithy_client_1.expectString)(output.AccessType),
448
448
  CidrBlock: (0, smithy_client_1.expectString)(output.CidrBlock),
@@ -451,10 +451,8 @@ const deserializeAws_restJson1Endpoint = (output, context) => {
451
451
  : undefined,
452
452
  CustomerOwnedIpv4Pool: (0, smithy_client_1.expectString)(output.CustomerOwnedIpv4Pool),
453
453
  EndpointArn: (0, smithy_client_1.expectString)(output.EndpointArn),
454
- FailedReason: output.FailedReason != null ? deserializeAws_restJson1FailedReason(output.FailedReason, context) : undefined,
455
- NetworkInterfaces: output.NetworkInterfaces != null
456
- ? deserializeAws_restJson1NetworkInterfaces(output.NetworkInterfaces, context)
457
- : undefined,
454
+ FailedReason: output.FailedReason != null ? de_FailedReason(output.FailedReason, context) : undefined,
455
+ NetworkInterfaces: output.NetworkInterfaces != null ? de_NetworkInterfaces(output.NetworkInterfaces, context) : undefined,
458
456
  OutpostsId: (0, smithy_client_1.expectString)(output.OutpostsId),
459
457
  SecurityGroupId: (0, smithy_client_1.expectString)(output.SecurityGroupId),
460
458
  Status: (0, smithy_client_1.expectString)(output.Status),
@@ -462,40 +460,40 @@ const deserializeAws_restJson1Endpoint = (output, context) => {
462
460
  VpcId: (0, smithy_client_1.expectString)(output.VpcId),
463
461
  };
464
462
  };
465
- const deserializeAws_restJson1Endpoints = (output, context) => {
463
+ const de_Endpoints = (output, context) => {
466
464
  const retVal = (output || [])
467
465
  .filter((e) => e != null)
468
466
  .map((entry) => {
469
467
  if (entry === null) {
470
468
  return null;
471
469
  }
472
- return deserializeAws_restJson1Endpoint(entry, context);
470
+ return de_Endpoint(entry, context);
473
471
  });
474
472
  return retVal;
475
473
  };
476
- const deserializeAws_restJson1FailedReason = (output, context) => {
474
+ const de_FailedReason = (output, context) => {
477
475
  return {
478
476
  ErrorCode: (0, smithy_client_1.expectString)(output.ErrorCode),
479
477
  Message: (0, smithy_client_1.expectString)(output.Message),
480
478
  };
481
479
  };
482
- const deserializeAws_restJson1NetworkInterface = (output, context) => {
480
+ const de_NetworkInterface = (output, context) => {
483
481
  return {
484
482
  NetworkInterfaceId: (0, smithy_client_1.expectString)(output.NetworkInterfaceId),
485
483
  };
486
484
  };
487
- const deserializeAws_restJson1NetworkInterfaces = (output, context) => {
485
+ const de_NetworkInterfaces = (output, context) => {
488
486
  const retVal = (output || [])
489
487
  .filter((e) => e != null)
490
488
  .map((entry) => {
491
489
  if (entry === null) {
492
490
  return null;
493
491
  }
494
- return deserializeAws_restJson1NetworkInterface(entry, context);
492
+ return de_NetworkInterface(entry, context);
495
493
  });
496
494
  return retVal;
497
495
  };
498
- const deserializeAws_restJson1Outpost = (output, context) => {
496
+ const de_Outpost = (output, context) => {
499
497
  return {
500
498
  CapacityInBytes: (0, smithy_client_1.expectLong)(output.CapacityInBytes),
501
499
  OutpostArn: (0, smithy_client_1.expectString)(output.OutpostArn),
@@ -503,14 +501,14 @@ const deserializeAws_restJson1Outpost = (output, context) => {
503
501
  OwnerId: (0, smithy_client_1.expectString)(output.OwnerId),
504
502
  };
505
503
  };
506
- const deserializeAws_restJson1Outposts = (output, context) => {
504
+ const de_Outposts = (output, context) => {
507
505
  const retVal = (output || [])
508
506
  .filter((e) => e != null)
509
507
  .map((entry) => {
510
508
  if (entry === null) {
511
509
  return null;
512
510
  }
513
- return deserializeAws_restJson1Outpost(entry, context);
511
+ return de_Outpost(entry, context);
514
512
  });
515
513
  return retVal;
516
514
  };
@@ -1,7 +1,7 @@
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 { deserializeAws_restJson1CreateEndpointCommand, serializeAws_restJson1CreateEndpointCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_CreateEndpointCommand, se_CreateEndpointCommand } from "../protocols/Aws_restJson1";
5
5
  export class CreateEndpointCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class CreateEndpointCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1CreateEndpointCommand(input, context);
36
+ return se_CreateEndpointCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1CreateEndpointCommand(output, context);
39
+ return de_CreateEndpointCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
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 { deserializeAws_restJson1DeleteEndpointCommand, serializeAws_restJson1DeleteEndpointCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_DeleteEndpointCommand, se_DeleteEndpointCommand } from "../protocols/Aws_restJson1";
5
5
  export class DeleteEndpointCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class DeleteEndpointCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1DeleteEndpointCommand(input, context);
36
+ return se_DeleteEndpointCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1DeleteEndpointCommand(output, context);
39
+ return de_DeleteEndpointCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
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 { deserializeAws_restJson1ListEndpointsCommand, serializeAws_restJson1ListEndpointsCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_ListEndpointsCommand, se_ListEndpointsCommand } from "../protocols/Aws_restJson1";
5
5
  export class ListEndpointsCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class ListEndpointsCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1ListEndpointsCommand(input, context);
36
+ return se_ListEndpointsCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1ListEndpointsCommand(output, context);
39
+ return de_ListEndpointsCommand(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
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 { deserializeAws_restJson1ListOutpostsWithS3Command, serializeAws_restJson1ListOutpostsWithS3Command, } from "../protocols/Aws_restJson1";
4
+ import { de_ListOutpostsWithS3Command, se_ListOutpostsWithS3Command } from "../protocols/Aws_restJson1";
5
5
  export class ListOutpostsWithS3Command extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class ListOutpostsWithS3Command extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1ListOutpostsWithS3Command(input, context);
36
+ return se_ListOutpostsWithS3Command(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1ListOutpostsWithS3Command(output, context);
39
+ return de_ListOutpostsWithS3Command(output, context);
40
40
  }
41
41
  }
@@ -1,7 +1,7 @@
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 { deserializeAws_restJson1ListSharedEndpointsCommand, serializeAws_restJson1ListSharedEndpointsCommand, } from "../protocols/Aws_restJson1";
4
+ import { de_ListSharedEndpointsCommand, se_ListSharedEndpointsCommand } from "../protocols/Aws_restJson1";
5
5
  export class ListSharedEndpointsCommand extends $Command {
6
6
  static getEndpointParameterInstructions() {
7
7
  return {
@@ -33,9 +33,9 @@ export class ListSharedEndpointsCommand extends $Command {
33
33
  return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
34
34
  }
35
35
  serialize(input, context) {
36
- return serializeAws_restJson1ListSharedEndpointsCommand(input, context);
36
+ return se_ListSharedEndpointsCommand(input, context);
37
37
  }
38
38
  deserialize(output, context) {
39
- return deserializeAws_restJson1ListSharedEndpointsCommand(output, context);
39
+ return de_ListSharedEndpointsCommand(output, context);
40
40
  }
41
41
  }
@@ -2,7 +2,7 @@ import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
2
  import { decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map as __map, parseEpochTimestamp as __parseEpochTimestamp, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { AccessDeniedException, ConflictException, InternalServerException, OutpostOfflineException, ResourceNotFoundException, ThrottlingException, ValidationException, } from "../models/models_0";
4
4
  import { S3OutpostsServiceException as __BaseException } from "../models/S3OutpostsServiceException";
5
- export const serializeAws_restJson1CreateEndpointCommand = async (input, context) => {
5
+ export const se_CreateEndpointCommand = async (input, context) => {
6
6
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
7
7
  const headers = {
8
8
  "content-type": "application/json",
@@ -26,7 +26,7 @@ export const serializeAws_restJson1CreateEndpointCommand = async (input, context
26
26
  body,
27
27
  });
28
28
  };
29
- export const serializeAws_restJson1DeleteEndpointCommand = async (input, context) => {
29
+ export const se_DeleteEndpointCommand = async (input, context) => {
30
30
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
31
31
  const headers = {};
32
32
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/DeleteEndpoint";
@@ -46,7 +46,7 @@ export const serializeAws_restJson1DeleteEndpointCommand = async (input, context
46
46
  body,
47
47
  });
48
48
  };
49
- export const serializeAws_restJson1ListEndpointsCommand = async (input, context) => {
49
+ export const se_ListEndpointsCommand = async (input, context) => {
50
50
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
51
51
  const headers = {};
52
52
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/ListEndpoints";
@@ -66,7 +66,7 @@ export const serializeAws_restJson1ListEndpointsCommand = async (input, context)
66
66
  body,
67
67
  });
68
68
  };
69
- export const serializeAws_restJson1ListOutpostsWithS3Command = async (input, context) => {
69
+ export const se_ListOutpostsWithS3Command = async (input, context) => {
70
70
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
71
71
  const headers = {};
72
72
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/ListOutpostsWithS3";
@@ -86,7 +86,7 @@ export const serializeAws_restJson1ListOutpostsWithS3Command = async (input, con
86
86
  body,
87
87
  });
88
88
  };
89
- export const serializeAws_restJson1ListSharedEndpointsCommand = async (input, context) => {
89
+ export const se_ListSharedEndpointsCommand = async (input, context) => {
90
90
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
91
91
  const headers = {};
92
92
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/S3Outposts/ListSharedEndpoints";
@@ -107,9 +107,9 @@ export const serializeAws_restJson1ListSharedEndpointsCommand = async (input, co
107
107
  body,
108
108
  });
109
109
  };
110
- export const deserializeAws_restJson1CreateEndpointCommand = async (output, context) => {
110
+ export const de_CreateEndpointCommand = async (output, context) => {
111
111
  if (output.statusCode !== 200 && output.statusCode >= 300) {
112
- return deserializeAws_restJson1CreateEndpointCommandError(output, context);
112
+ return de_CreateEndpointCommandError(output, context);
113
113
  }
114
114
  const contents = map({
115
115
  $metadata: deserializeMetadata(output),
@@ -120,7 +120,7 @@ export const deserializeAws_restJson1CreateEndpointCommand = async (output, cont
120
120
  }
121
121
  return contents;
122
122
  };
123
- const deserializeAws_restJson1CreateEndpointCommandError = async (output, context) => {
123
+ const de_CreateEndpointCommandError = async (output, context) => {
124
124
  const parsedOutput = {
125
125
  ...output,
126
126
  body: await parseErrorBody(output.body, context),
@@ -129,25 +129,25 @@ const deserializeAws_restJson1CreateEndpointCommandError = async (output, contex
129
129
  switch (errorCode) {
130
130
  case "AccessDeniedException":
131
131
  case "com.amazonaws.s3outposts#AccessDeniedException":
132
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
132
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
133
133
  case "ConflictException":
134
134
  case "com.amazonaws.s3outposts#ConflictException":
135
- throw await deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context);
135
+ throw await de_ConflictExceptionRes(parsedOutput, context);
136
136
  case "InternalServerException":
137
137
  case "com.amazonaws.s3outposts#InternalServerException":
138
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
138
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
139
139
  case "OutpostOfflineException":
140
140
  case "com.amazonaws.s3outposts#OutpostOfflineException":
141
- throw await deserializeAws_restJson1OutpostOfflineExceptionResponse(parsedOutput, context);
141
+ throw await de_OutpostOfflineExceptionRes(parsedOutput, context);
142
142
  case "ResourceNotFoundException":
143
143
  case "com.amazonaws.s3outposts#ResourceNotFoundException":
144
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
144
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
145
145
  case "ThrottlingException":
146
146
  case "com.amazonaws.s3outposts#ThrottlingException":
147
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
147
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
148
148
  case "ValidationException":
149
149
  case "com.amazonaws.s3outposts#ValidationException":
150
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
150
+ throw await de_ValidationExceptionRes(parsedOutput, context);
151
151
  default:
152
152
  const parsedBody = parsedOutput.body;
153
153
  throwDefaultError({
@@ -158,9 +158,9 @@ const deserializeAws_restJson1CreateEndpointCommandError = async (output, contex
158
158
  });
159
159
  }
160
160
  };
161
- export const deserializeAws_restJson1DeleteEndpointCommand = async (output, context) => {
161
+ export const de_DeleteEndpointCommand = async (output, context) => {
162
162
  if (output.statusCode !== 200 && output.statusCode >= 300) {
163
- return deserializeAws_restJson1DeleteEndpointCommandError(output, context);
163
+ return de_DeleteEndpointCommandError(output, context);
164
164
  }
165
165
  const contents = map({
166
166
  $metadata: deserializeMetadata(output),
@@ -168,7 +168,7 @@ export const deserializeAws_restJson1DeleteEndpointCommand = async (output, cont
168
168
  await collectBody(output.body, context);
169
169
  return contents;
170
170
  };
171
- const deserializeAws_restJson1DeleteEndpointCommandError = async (output, context) => {
171
+ const de_DeleteEndpointCommandError = async (output, context) => {
172
172
  const parsedOutput = {
173
173
  ...output,
174
174
  body: await parseErrorBody(output.body, context),
@@ -177,22 +177,22 @@ const deserializeAws_restJson1DeleteEndpointCommandError = async (output, contex
177
177
  switch (errorCode) {
178
178
  case "AccessDeniedException":
179
179
  case "com.amazonaws.s3outposts#AccessDeniedException":
180
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
180
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
181
181
  case "InternalServerException":
182
182
  case "com.amazonaws.s3outposts#InternalServerException":
183
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
183
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
184
184
  case "OutpostOfflineException":
185
185
  case "com.amazonaws.s3outposts#OutpostOfflineException":
186
- throw await deserializeAws_restJson1OutpostOfflineExceptionResponse(parsedOutput, context);
186
+ throw await de_OutpostOfflineExceptionRes(parsedOutput, context);
187
187
  case "ResourceNotFoundException":
188
188
  case "com.amazonaws.s3outposts#ResourceNotFoundException":
189
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
189
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
190
190
  case "ThrottlingException":
191
191
  case "com.amazonaws.s3outposts#ThrottlingException":
192
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
192
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
193
193
  case "ValidationException":
194
194
  case "com.amazonaws.s3outposts#ValidationException":
195
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
195
+ throw await de_ValidationExceptionRes(parsedOutput, context);
196
196
  default:
197
197
  const parsedBody = parsedOutput.body;
198
198
  throwDefaultError({
@@ -203,23 +203,23 @@ const deserializeAws_restJson1DeleteEndpointCommandError = async (output, contex
203
203
  });
204
204
  }
205
205
  };
206
- export const deserializeAws_restJson1ListEndpointsCommand = async (output, context) => {
206
+ export const de_ListEndpointsCommand = async (output, context) => {
207
207
  if (output.statusCode !== 200 && output.statusCode >= 300) {
208
- return deserializeAws_restJson1ListEndpointsCommandError(output, context);
208
+ return de_ListEndpointsCommandError(output, context);
209
209
  }
210
210
  const contents = map({
211
211
  $metadata: deserializeMetadata(output),
212
212
  });
213
213
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
214
214
  if (data.Endpoints != null) {
215
- contents.Endpoints = deserializeAws_restJson1Endpoints(data.Endpoints, context);
215
+ contents.Endpoints = de_Endpoints(data.Endpoints, context);
216
216
  }
217
217
  if (data.NextToken != null) {
218
218
  contents.NextToken = __expectString(data.NextToken);
219
219
  }
220
220
  return contents;
221
221
  };
222
- const deserializeAws_restJson1ListEndpointsCommandError = async (output, context) => {
222
+ const de_ListEndpointsCommandError = async (output, context) => {
223
223
  const parsedOutput = {
224
224
  ...output,
225
225
  body: await parseErrorBody(output.body, context),
@@ -228,19 +228,19 @@ const deserializeAws_restJson1ListEndpointsCommandError = async (output, context
228
228
  switch (errorCode) {
229
229
  case "AccessDeniedException":
230
230
  case "com.amazonaws.s3outposts#AccessDeniedException":
231
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
231
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
232
232
  case "InternalServerException":
233
233
  case "com.amazonaws.s3outposts#InternalServerException":
234
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
234
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
235
235
  case "ResourceNotFoundException":
236
236
  case "com.amazonaws.s3outposts#ResourceNotFoundException":
237
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
237
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
238
238
  case "ThrottlingException":
239
239
  case "com.amazonaws.s3outposts#ThrottlingException":
240
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
240
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
241
241
  case "ValidationException":
242
242
  case "com.amazonaws.s3outposts#ValidationException":
243
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
243
+ throw await de_ValidationExceptionRes(parsedOutput, context);
244
244
  default:
245
245
  const parsedBody = parsedOutput.body;
246
246
  throwDefaultError({
@@ -251,9 +251,9 @@ const deserializeAws_restJson1ListEndpointsCommandError = async (output, context
251
251
  });
252
252
  }
253
253
  };
254
- export const deserializeAws_restJson1ListOutpostsWithS3Command = async (output, context) => {
254
+ export const de_ListOutpostsWithS3Command = async (output, context) => {
255
255
  if (output.statusCode !== 200 && output.statusCode >= 300) {
256
- return deserializeAws_restJson1ListOutpostsWithS3CommandError(output, context);
256
+ return de_ListOutpostsWithS3CommandError(output, context);
257
257
  }
258
258
  const contents = map({
259
259
  $metadata: deserializeMetadata(output),
@@ -263,11 +263,11 @@ export const deserializeAws_restJson1ListOutpostsWithS3Command = async (output,
263
263
  contents.NextToken = __expectString(data.NextToken);
264
264
  }
265
265
  if (data.Outposts != null) {
266
- contents.Outposts = deserializeAws_restJson1Outposts(data.Outposts, context);
266
+ contents.Outposts = de_Outposts(data.Outposts, context);
267
267
  }
268
268
  return contents;
269
269
  };
270
- const deserializeAws_restJson1ListOutpostsWithS3CommandError = async (output, context) => {
270
+ const de_ListOutpostsWithS3CommandError = async (output, context) => {
271
271
  const parsedOutput = {
272
272
  ...output,
273
273
  body: await parseErrorBody(output.body, context),
@@ -276,16 +276,16 @@ const deserializeAws_restJson1ListOutpostsWithS3CommandError = async (output, co
276
276
  switch (errorCode) {
277
277
  case "AccessDeniedException":
278
278
  case "com.amazonaws.s3outposts#AccessDeniedException":
279
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
279
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
280
280
  case "InternalServerException":
281
281
  case "com.amazonaws.s3outposts#InternalServerException":
282
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
282
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
283
283
  case "ThrottlingException":
284
284
  case "com.amazonaws.s3outposts#ThrottlingException":
285
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
285
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
286
286
  case "ValidationException":
287
287
  case "com.amazonaws.s3outposts#ValidationException":
288
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
288
+ throw await de_ValidationExceptionRes(parsedOutput, context);
289
289
  default:
290
290
  const parsedBody = parsedOutput.body;
291
291
  throwDefaultError({
@@ -296,23 +296,23 @@ const deserializeAws_restJson1ListOutpostsWithS3CommandError = async (output, co
296
296
  });
297
297
  }
298
298
  };
299
- export const deserializeAws_restJson1ListSharedEndpointsCommand = async (output, context) => {
299
+ export const de_ListSharedEndpointsCommand = async (output, context) => {
300
300
  if (output.statusCode !== 200 && output.statusCode >= 300) {
301
- return deserializeAws_restJson1ListSharedEndpointsCommandError(output, context);
301
+ return de_ListSharedEndpointsCommandError(output, context);
302
302
  }
303
303
  const contents = map({
304
304
  $metadata: deserializeMetadata(output),
305
305
  });
306
306
  const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
307
307
  if (data.Endpoints != null) {
308
- contents.Endpoints = deserializeAws_restJson1Endpoints(data.Endpoints, context);
308
+ contents.Endpoints = de_Endpoints(data.Endpoints, context);
309
309
  }
310
310
  if (data.NextToken != null) {
311
311
  contents.NextToken = __expectString(data.NextToken);
312
312
  }
313
313
  return contents;
314
314
  };
315
- const deserializeAws_restJson1ListSharedEndpointsCommandError = async (output, context) => {
315
+ const de_ListSharedEndpointsCommandError = async (output, context) => {
316
316
  const parsedOutput = {
317
317
  ...output,
318
318
  body: await parseErrorBody(output.body, context),
@@ -321,19 +321,19 @@ const deserializeAws_restJson1ListSharedEndpointsCommandError = async (output, c
321
321
  switch (errorCode) {
322
322
  case "AccessDeniedException":
323
323
  case "com.amazonaws.s3outposts#AccessDeniedException":
324
- throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
324
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
325
325
  case "InternalServerException":
326
326
  case "com.amazonaws.s3outposts#InternalServerException":
327
- throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
327
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
328
328
  case "ResourceNotFoundException":
329
329
  case "com.amazonaws.s3outposts#ResourceNotFoundException":
330
- throw await deserializeAws_restJson1ResourceNotFoundExceptionResponse(parsedOutput, context);
330
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
331
331
  case "ThrottlingException":
332
332
  case "com.amazonaws.s3outposts#ThrottlingException":
333
- throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
333
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
334
334
  case "ValidationException":
335
335
  case "com.amazonaws.s3outposts#ValidationException":
336
- throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
336
+ throw await de_ValidationExceptionRes(parsedOutput, context);
337
337
  default:
338
338
  const parsedBody = parsedOutput.body;
339
339
  throwDefaultError({
@@ -345,7 +345,7 @@ const deserializeAws_restJson1ListSharedEndpointsCommandError = async (output, c
345
345
  }
346
346
  };
347
347
  const map = __map;
348
- const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
348
+ const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
349
349
  const contents = map({});
350
350
  const data = parsedOutput.body;
351
351
  if (data.Message != null) {
@@ -357,7 +357,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
357
357
  });
358
358
  return __decorateServiceException(exception, parsedOutput.body);
359
359
  };
360
- const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, context) => {
360
+ const de_ConflictExceptionRes = async (parsedOutput, context) => {
361
361
  const contents = map({});
362
362
  const data = parsedOutput.body;
363
363
  if (data.Message != null) {
@@ -369,7 +369,7 @@ const deserializeAws_restJson1ConflictExceptionResponse = async (parsedOutput, c
369
369
  });
370
370
  return __decorateServiceException(exception, parsedOutput.body);
371
371
  };
372
- const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
372
+ const de_InternalServerExceptionRes = async (parsedOutput, context) => {
373
373
  const contents = map({});
374
374
  const data = parsedOutput.body;
375
375
  if (data.Message != null) {
@@ -381,7 +381,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
381
381
  });
382
382
  return __decorateServiceException(exception, parsedOutput.body);
383
383
  };
384
- const deserializeAws_restJson1OutpostOfflineExceptionResponse = async (parsedOutput, context) => {
384
+ const de_OutpostOfflineExceptionRes = async (parsedOutput, context) => {
385
385
  const contents = map({});
386
386
  const data = parsedOutput.body;
387
387
  if (data.Message != null) {
@@ -393,7 +393,7 @@ const deserializeAws_restJson1OutpostOfflineExceptionResponse = async (parsedOut
393
393
  });
394
394
  return __decorateServiceException(exception, parsedOutput.body);
395
395
  };
396
- const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
396
+ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
397
397
  const contents = map({});
398
398
  const data = parsedOutput.body;
399
399
  if (data.Message != null) {
@@ -405,7 +405,7 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
405
405
  });
406
406
  return __decorateServiceException(exception, parsedOutput.body);
407
407
  };
408
- const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput, context) => {
408
+ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
409
409
  const contents = map({});
410
410
  const data = parsedOutput.body;
411
411
  if (data.Message != null) {
@@ -417,7 +417,7 @@ const deserializeAws_restJson1ThrottlingExceptionResponse = async (parsedOutput,
417
417
  });
418
418
  return __decorateServiceException(exception, parsedOutput.body);
419
419
  };
420
- const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
420
+ const de_ValidationExceptionRes = async (parsedOutput, context) => {
421
421
  const contents = map({});
422
422
  const data = parsedOutput.body;
423
423
  if (data.Message != null) {
@@ -429,7 +429,7 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
429
429
  });
430
430
  return __decorateServiceException(exception, parsedOutput.body);
431
431
  };
432
- const deserializeAws_restJson1Endpoint = (output, context) => {
432
+ const de_Endpoint = (output, context) => {
433
433
  return {
434
434
  AccessType: __expectString(output.AccessType),
435
435
  CidrBlock: __expectString(output.CidrBlock),
@@ -438,10 +438,8 @@ const deserializeAws_restJson1Endpoint = (output, context) => {
438
438
  : undefined,
439
439
  CustomerOwnedIpv4Pool: __expectString(output.CustomerOwnedIpv4Pool),
440
440
  EndpointArn: __expectString(output.EndpointArn),
441
- FailedReason: output.FailedReason != null ? deserializeAws_restJson1FailedReason(output.FailedReason, context) : undefined,
442
- NetworkInterfaces: output.NetworkInterfaces != null
443
- ? deserializeAws_restJson1NetworkInterfaces(output.NetworkInterfaces, context)
444
- : undefined,
441
+ FailedReason: output.FailedReason != null ? de_FailedReason(output.FailedReason, context) : undefined,
442
+ NetworkInterfaces: output.NetworkInterfaces != null ? de_NetworkInterfaces(output.NetworkInterfaces, context) : undefined,
445
443
  OutpostsId: __expectString(output.OutpostsId),
446
444
  SecurityGroupId: __expectString(output.SecurityGroupId),
447
445
  Status: __expectString(output.Status),
@@ -449,40 +447,40 @@ const deserializeAws_restJson1Endpoint = (output, context) => {
449
447
  VpcId: __expectString(output.VpcId),
450
448
  };
451
449
  };
452
- const deserializeAws_restJson1Endpoints = (output, context) => {
450
+ const de_Endpoints = (output, context) => {
453
451
  const retVal = (output || [])
454
452
  .filter((e) => e != null)
455
453
  .map((entry) => {
456
454
  if (entry === null) {
457
455
  return null;
458
456
  }
459
- return deserializeAws_restJson1Endpoint(entry, context);
457
+ return de_Endpoint(entry, context);
460
458
  });
461
459
  return retVal;
462
460
  };
463
- const deserializeAws_restJson1FailedReason = (output, context) => {
461
+ const de_FailedReason = (output, context) => {
464
462
  return {
465
463
  ErrorCode: __expectString(output.ErrorCode),
466
464
  Message: __expectString(output.Message),
467
465
  };
468
466
  };
469
- const deserializeAws_restJson1NetworkInterface = (output, context) => {
467
+ const de_NetworkInterface = (output, context) => {
470
468
  return {
471
469
  NetworkInterfaceId: __expectString(output.NetworkInterfaceId),
472
470
  };
473
471
  };
474
- const deserializeAws_restJson1NetworkInterfaces = (output, context) => {
472
+ const de_NetworkInterfaces = (output, context) => {
475
473
  const retVal = (output || [])
476
474
  .filter((e) => e != null)
477
475
  .map((entry) => {
478
476
  if (entry === null) {
479
477
  return null;
480
478
  }
481
- return deserializeAws_restJson1NetworkInterface(entry, context);
479
+ return de_NetworkInterface(entry, context);
482
480
  });
483
481
  return retVal;
484
482
  };
485
- const deserializeAws_restJson1Outpost = (output, context) => {
483
+ const de_Outpost = (output, context) => {
486
484
  return {
487
485
  CapacityInBytes: __expectLong(output.CapacityInBytes),
488
486
  OutpostArn: __expectString(output.OutpostArn),
@@ -490,14 +488,14 @@ const deserializeAws_restJson1Outpost = (output, context) => {
490
488
  OwnerId: __expectString(output.OwnerId),
491
489
  };
492
490
  };
493
- const deserializeAws_restJson1Outposts = (output, context) => {
491
+ const de_Outposts = (output, context) => {
494
492
  const retVal = (output || [])
495
493
  .filter((e) => e != null)
496
494
  .map((entry) => {
497
495
  if (entry === null) {
498
496
  return null;
499
497
  }
500
- return deserializeAws_restJson1Outpost(entry, context);
498
+ return de_Outpost(entry, context);
501
499
  });
502
500
  return retVal;
503
501
  };
@@ -5,13 +5,43 @@ import { DeleteEndpointCommandInput, DeleteEndpointCommandOutput } from "../comm
5
5
  import { ListEndpointsCommandInput, ListEndpointsCommandOutput } from "../commands/ListEndpointsCommand";
6
6
  import { ListOutpostsWithS3CommandInput, ListOutpostsWithS3CommandOutput } from "../commands/ListOutpostsWithS3Command";
7
7
  import { ListSharedEndpointsCommandInput, ListSharedEndpointsCommandOutput } from "../commands/ListSharedEndpointsCommand";
8
- export declare const serializeAws_restJson1CreateEndpointCommand: (input: CreateEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
- export declare const serializeAws_restJson1DeleteEndpointCommand: (input: DeleteEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
10
- export declare const serializeAws_restJson1ListEndpointsCommand: (input: ListEndpointsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
11
- export declare const serializeAws_restJson1ListOutpostsWithS3Command: (input: ListOutpostsWithS3CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
12
- export declare const serializeAws_restJson1ListSharedEndpointsCommand: (input: ListSharedEndpointsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
- export declare const deserializeAws_restJson1CreateEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEndpointCommandOutput>;
14
- export declare const deserializeAws_restJson1DeleteEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteEndpointCommandOutput>;
15
- export declare const deserializeAws_restJson1ListEndpointsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEndpointsCommandOutput>;
16
- export declare const deserializeAws_restJson1ListOutpostsWithS3Command: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOutpostsWithS3CommandOutput>;
17
- export declare const deserializeAws_restJson1ListSharedEndpointsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSharedEndpointsCommandOutput>;
8
+ /**
9
+ * serializeAws_restJson1CreateEndpointCommand
10
+ */
11
+ export declare const se_CreateEndpointCommand: (input: CreateEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
12
+ /**
13
+ * serializeAws_restJson1DeleteEndpointCommand
14
+ */
15
+ export declare const se_DeleteEndpointCommand: (input: DeleteEndpointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
16
+ /**
17
+ * serializeAws_restJson1ListEndpointsCommand
18
+ */
19
+ export declare const se_ListEndpointsCommand: (input: ListEndpointsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
20
+ /**
21
+ * serializeAws_restJson1ListOutpostsWithS3Command
22
+ */
23
+ export declare const se_ListOutpostsWithS3Command: (input: ListOutpostsWithS3CommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
24
+ /**
25
+ * serializeAws_restJson1ListSharedEndpointsCommand
26
+ */
27
+ export declare const se_ListSharedEndpointsCommand: (input: ListSharedEndpointsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
28
+ /**
29
+ * deserializeAws_restJson1CreateEndpointCommand
30
+ */
31
+ export declare const de_CreateEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateEndpointCommandOutput>;
32
+ /**
33
+ * deserializeAws_restJson1DeleteEndpointCommand
34
+ */
35
+ export declare const de_DeleteEndpointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteEndpointCommandOutput>;
36
+ /**
37
+ * deserializeAws_restJson1ListEndpointsCommand
38
+ */
39
+ export declare const de_ListEndpointsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEndpointsCommandOutput>;
40
+ /**
41
+ * deserializeAws_restJson1ListOutpostsWithS3Command
42
+ */
43
+ export declare const de_ListOutpostsWithS3Command: (output: __HttpResponse, context: __SerdeContext) => Promise<ListOutpostsWithS3CommandOutput>;
44
+ /**
45
+ * deserializeAws_restJson1ListSharedEndpointsCommand
46
+ */
47
+ export declare const de_ListSharedEndpointsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListSharedEndpointsCommandOutput>;
@@ -23,43 +23,43 @@ import {
23
23
  ListSharedEndpointsCommandInput,
24
24
  ListSharedEndpointsCommandOutput,
25
25
  } from "../commands/ListSharedEndpointsCommand";
26
- export declare const serializeAws_restJson1CreateEndpointCommand: (
26
+ export declare const se_CreateEndpointCommand: (
27
27
  input: CreateEndpointCommandInput,
28
28
  context: __SerdeContext
29
29
  ) => Promise<__HttpRequest>;
30
- export declare const serializeAws_restJson1DeleteEndpointCommand: (
30
+ export declare const se_DeleteEndpointCommand: (
31
31
  input: DeleteEndpointCommandInput,
32
32
  context: __SerdeContext
33
33
  ) => Promise<__HttpRequest>;
34
- export declare const serializeAws_restJson1ListEndpointsCommand: (
34
+ export declare const se_ListEndpointsCommand: (
35
35
  input: ListEndpointsCommandInput,
36
36
  context: __SerdeContext
37
37
  ) => Promise<__HttpRequest>;
38
- export declare const serializeAws_restJson1ListOutpostsWithS3Command: (
38
+ export declare const se_ListOutpostsWithS3Command: (
39
39
  input: ListOutpostsWithS3CommandInput,
40
40
  context: __SerdeContext
41
41
  ) => Promise<__HttpRequest>;
42
- export declare const serializeAws_restJson1ListSharedEndpointsCommand: (
42
+ export declare const se_ListSharedEndpointsCommand: (
43
43
  input: ListSharedEndpointsCommandInput,
44
44
  context: __SerdeContext
45
45
  ) => Promise<__HttpRequest>;
46
- export declare const deserializeAws_restJson1CreateEndpointCommand: (
46
+ export declare const de_CreateEndpointCommand: (
47
47
  output: __HttpResponse,
48
48
  context: __SerdeContext
49
49
  ) => Promise<CreateEndpointCommandOutput>;
50
- export declare const deserializeAws_restJson1DeleteEndpointCommand: (
50
+ export declare const de_DeleteEndpointCommand: (
51
51
  output: __HttpResponse,
52
52
  context: __SerdeContext
53
53
  ) => Promise<DeleteEndpointCommandOutput>;
54
- export declare const deserializeAws_restJson1ListEndpointsCommand: (
54
+ export declare const de_ListEndpointsCommand: (
55
55
  output: __HttpResponse,
56
56
  context: __SerdeContext
57
57
  ) => Promise<ListEndpointsCommandOutput>;
58
- export declare const deserializeAws_restJson1ListOutpostsWithS3Command: (
58
+ export declare const de_ListOutpostsWithS3Command: (
59
59
  output: __HttpResponse,
60
60
  context: __SerdeContext
61
61
  ) => Promise<ListOutpostsWithS3CommandOutput>;
62
- export declare const deserializeAws_restJson1ListSharedEndpointsCommand: (
62
+ export declare const de_ListSharedEndpointsCommand: (
63
63
  output: __HttpResponse,
64
64
  context: __SerdeContext
65
65
  ) => Promise<ListSharedEndpointsCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-s3outposts",
3
3
  "description": "AWS SDK for JavaScript S3outposts Client for Node.js, Browser and React Native",
4
- "version": "3.306.0",
4
+ "version": "3.309.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",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.306.0",
24
+ "@aws-sdk/client-sts": "3.309.0",
25
25
  "@aws-sdk/config-resolver": "3.306.0",
26
- "@aws-sdk/credential-provider-node": "3.306.0",
26
+ "@aws-sdk/credential-provider-node": "3.309.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.306.0",
28
28
  "@aws-sdk/hash-node": "3.306.0",
29
29
  "@aws-sdk/invalid-dependency": "3.306.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.306.0",
41
41
  "@aws-sdk/node-http-handler": "3.306.0",
42
42
  "@aws-sdk/protocol-http": "3.306.0",
43
- "@aws-sdk/smithy-client": "3.306.0",
43
+ "@aws-sdk/smithy-client": "3.309.0",
44
44
  "@aws-sdk/types": "3.306.0",
45
45
  "@aws-sdk/url-parser": "3.306.0",
46
46
  "@aws-sdk/util-base64": "3.303.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.303.0",
48
48
  "@aws-sdk/util-body-length-node": "3.303.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.306.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.306.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.309.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.309.0",
51
51
  "@aws-sdk/util-endpoints": "3.306.0",
52
52
  "@aws-sdk/util-retry": "3.306.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.306.0",