@aws-sdk/client-sagemaker-geospatial 3.476.0 → 3.478.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.
@@ -1,47 +1,33 @@
1
1
  import { awsExpectUnion as __expectUnion } from "@aws-sdk/core";
2
- import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
- import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
2
+ import { requestBuilder as rb } from "@smithy/core";
3
+ import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { AccessDeniedException, AreaOfInterest, AreaOfInterestGeometry, ConflictException, InternalServerException, JobConfigInput, Property, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
6
6
  import { SageMakerGeospatialServiceException as __BaseException } from "../models/SageMakerGeospatialServiceException";
7
7
  export const se_DeleteEarthObservationJobCommand = async (input, context) => {
8
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
8
+ const b = rb(input, context);
9
9
  const headers = {};
10
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/earth-observation-jobs/{Arn}";
11
- resolvedPath = __resolvedPath(resolvedPath, input, "Arn", () => input.Arn, "{Arn}", false);
10
+ b.bp("/earth-observation-jobs/{Arn}");
11
+ b.p("Arn", () => input.Arn, "{Arn}", false);
12
12
  let body;
13
- return new __HttpRequest({
14
- protocol,
15
- hostname,
16
- port,
17
- method: "DELETE",
18
- headers,
19
- path: resolvedPath,
20
- body,
21
- });
13
+ b.m("DELETE").h(headers).b(body);
14
+ return b.build();
22
15
  };
23
16
  export const se_DeleteVectorEnrichmentJobCommand = async (input, context) => {
24
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
17
+ const b = rb(input, context);
25
18
  const headers = {};
26
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/vector-enrichment-jobs/{Arn}";
27
- resolvedPath = __resolvedPath(resolvedPath, input, "Arn", () => input.Arn, "{Arn}", false);
19
+ b.bp("/vector-enrichment-jobs/{Arn}");
20
+ b.p("Arn", () => input.Arn, "{Arn}", false);
28
21
  let body;
29
- return new __HttpRequest({
30
- protocol,
31
- hostname,
32
- port,
33
- method: "DELETE",
34
- headers,
35
- path: resolvedPath,
36
- body,
37
- });
22
+ b.m("DELETE").h(headers).b(body);
23
+ return b.build();
38
24
  };
39
25
  export const se_ExportEarthObservationJobCommand = async (input, context) => {
40
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
26
+ const b = rb(input, context);
41
27
  const headers = {
42
28
  "content-type": "application/json",
43
29
  };
44
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/export-earth-observation-job";
30
+ b.bp("/export-earth-observation-job");
45
31
  let body;
46
32
  body = JSON.stringify(take(input, {
47
33
  Arn: [],
@@ -50,22 +36,15 @@ export const se_ExportEarthObservationJobCommand = async (input, context) => {
50
36
  ExportSourceImages: [],
51
37
  OutputConfig: (_) => _json(_),
52
38
  }));
53
- return new __HttpRequest({
54
- protocol,
55
- hostname,
56
- port,
57
- method: "POST",
58
- headers,
59
- path: resolvedPath,
60
- body,
61
- });
39
+ b.m("POST").h(headers).b(body);
40
+ return b.build();
62
41
  };
63
42
  export const se_ExportVectorEnrichmentJobCommand = async (input, context) => {
64
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
43
+ const b = rb(input, context);
65
44
  const headers = {
66
45
  "content-type": "application/json",
67
46
  };
68
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/export-vector-enrichment-jobs";
47
+ b.bp("/export-vector-enrichment-jobs");
69
48
  let body;
70
49
  body = JSON.stringify(take(input, {
71
50
  Arn: [],
@@ -73,103 +52,67 @@ export const se_ExportVectorEnrichmentJobCommand = async (input, context) => {
73
52
  ExecutionRoleArn: [],
74
53
  OutputConfig: (_) => _json(_),
75
54
  }));
76
- return new __HttpRequest({
77
- protocol,
78
- hostname,
79
- port,
80
- method: "POST",
81
- headers,
82
- path: resolvedPath,
83
- body,
84
- });
55
+ b.m("POST").h(headers).b(body);
56
+ return b.build();
85
57
  };
86
58
  export const se_GetEarthObservationJobCommand = async (input, context) => {
87
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
59
+ const b = rb(input, context);
88
60
  const headers = {};
89
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/earth-observation-jobs/{Arn}";
90
- resolvedPath = __resolvedPath(resolvedPath, input, "Arn", () => input.Arn, "{Arn}", false);
61
+ b.bp("/earth-observation-jobs/{Arn}");
62
+ b.p("Arn", () => input.Arn, "{Arn}", false);
91
63
  let body;
92
- return new __HttpRequest({
93
- protocol,
94
- hostname,
95
- port,
96
- method: "GET",
97
- headers,
98
- path: resolvedPath,
99
- body,
100
- });
64
+ b.m("GET").h(headers).b(body);
65
+ return b.build();
101
66
  };
102
67
  export const se_GetRasterDataCollectionCommand = async (input, context) => {
103
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
68
+ const b = rb(input, context);
104
69
  const headers = {};
105
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/raster-data-collection/{Arn}";
106
- resolvedPath = __resolvedPath(resolvedPath, input, "Arn", () => input.Arn, "{Arn}", false);
70
+ b.bp("/raster-data-collection/{Arn}");
71
+ b.p("Arn", () => input.Arn, "{Arn}", false);
107
72
  let body;
108
- return new __HttpRequest({
109
- protocol,
110
- hostname,
111
- port,
112
- method: "GET",
113
- headers,
114
- path: resolvedPath,
115
- body,
116
- });
73
+ b.m("GET").h(headers).b(body);
74
+ return b.build();
117
75
  };
118
76
  export const se_GetTileCommand = async (input, context) => {
119
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
77
+ const b = rb(input, context);
120
78
  const headers = {};
121
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tile/{z}/{x}/{y}";
122
- resolvedPath = __resolvedPath(resolvedPath, input, "x", () => input.x.toString(), "{x}", false);
123
- resolvedPath = __resolvedPath(resolvedPath, input, "y", () => input.y.toString(), "{y}", false);
124
- resolvedPath = __resolvedPath(resolvedPath, input, "z", () => input.z.toString(), "{z}", false);
79
+ b.bp("/tile/{z}/{x}/{y}");
80
+ b.p("x", () => input.x.toString(), "{x}", false);
81
+ b.p("y", () => input.y.toString(), "{y}", false);
82
+ b.p("z", () => input.z.toString(), "{z}", false);
125
83
  const query = map({
126
- ImageAssets: [
84
+ [_IA]: [
127
85
  __expectNonNull(input.ImageAssets, `ImageAssets`) != null,
128
- () => (input.ImageAssets || []).map((_entry) => _entry),
86
+ () => (input[_IA] || []).map((_entry) => _entry),
129
87
  ],
130
- Target: [, __expectNonNull(input.Target, `Target`)],
131
- Arn: [, __expectNonNull(input.Arn, `Arn`)],
132
- ImageMask: [() => input.ImageMask !== void 0, () => input.ImageMask.toString()],
133
- OutputFormat: [, input.OutputFormat],
134
- TimeRangeFilter: [, input.TimeRangeFilter],
135
- PropertyFilters: [, input.PropertyFilters],
136
- OutputDataType: [, input.OutputDataType],
137
- ExecutionRoleArn: [, input.ExecutionRoleArn],
88
+ [_T]: [, __expectNonNull(input[_T], `Target`)],
89
+ [_A]: [, __expectNonNull(input[_A], `Arn`)],
90
+ [_IM]: [() => input.ImageMask !== void 0, () => input[_IM].toString()],
91
+ [_OF]: [, input[_OF]],
92
+ [_TRF]: [, input[_TRF]],
93
+ [_PF]: [, input[_PF]],
94
+ [_ODT]: [, input[_ODT]],
95
+ [_ERA]: [, input[_ERA]],
138
96
  });
139
97
  let body;
140
- return new __HttpRequest({
141
- protocol,
142
- hostname,
143
- port,
144
- method: "GET",
145
- headers,
146
- path: resolvedPath,
147
- query,
148
- body,
149
- });
98
+ b.m("GET").h(headers).q(query).b(body);
99
+ return b.build();
150
100
  };
151
101
  export const se_GetVectorEnrichmentJobCommand = async (input, context) => {
152
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
102
+ const b = rb(input, context);
153
103
  const headers = {};
154
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/vector-enrichment-jobs/{Arn}";
155
- resolvedPath = __resolvedPath(resolvedPath, input, "Arn", () => input.Arn, "{Arn}", false);
104
+ b.bp("/vector-enrichment-jobs/{Arn}");
105
+ b.p("Arn", () => input.Arn, "{Arn}", false);
156
106
  let body;
157
- return new __HttpRequest({
158
- protocol,
159
- hostname,
160
- port,
161
- method: "GET",
162
- headers,
163
- path: resolvedPath,
164
- body,
165
- });
107
+ b.m("GET").h(headers).b(body);
108
+ return b.build();
166
109
  };
167
110
  export const se_ListEarthObservationJobsCommand = async (input, context) => {
168
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
111
+ const b = rb(input, context);
169
112
  const headers = {
170
113
  "content-type": "application/json",
171
114
  };
172
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-earth-observation-jobs";
115
+ b.bp("/list-earth-observation-jobs");
173
116
  let body;
174
117
  body = JSON.stringify(take(input, {
175
118
  MaxResults: [],
@@ -178,58 +121,36 @@ export const se_ListEarthObservationJobsCommand = async (input, context) => {
178
121
  SortOrder: [],
179
122
  StatusEquals: [],
180
123
  }));
181
- return new __HttpRequest({
182
- protocol,
183
- hostname,
184
- port,
185
- method: "POST",
186
- headers,
187
- path: resolvedPath,
188
- body,
189
- });
124
+ b.m("POST").h(headers).b(body);
125
+ return b.build();
190
126
  };
191
127
  export const se_ListRasterDataCollectionsCommand = async (input, context) => {
192
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
128
+ const b = rb(input, context);
193
129
  const headers = {};
194
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/raster-data-collections";
130
+ b.bp("/raster-data-collections");
195
131
  const query = map({
196
- NextToken: [, input.NextToken],
197
- MaxResults: [() => input.MaxResults !== void 0, () => input.MaxResults.toString()],
132
+ [_NT]: [, input[_NT]],
133
+ [_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
198
134
  });
199
135
  let body;
200
- return new __HttpRequest({
201
- protocol,
202
- hostname,
203
- port,
204
- method: "GET",
205
- headers,
206
- path: resolvedPath,
207
- query,
208
- body,
209
- });
136
+ b.m("GET").h(headers).q(query).b(body);
137
+ return b.build();
210
138
  };
211
139
  export const se_ListTagsForResourceCommand = async (input, context) => {
212
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
140
+ const b = rb(input, context);
213
141
  const headers = {};
214
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
215
- resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
142
+ b.bp("/tags/{ResourceArn}");
143
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
216
144
  let body;
217
- return new __HttpRequest({
218
- protocol,
219
- hostname,
220
- port,
221
- method: "GET",
222
- headers,
223
- path: resolvedPath,
224
- body,
225
- });
145
+ b.m("GET").h(headers).b(body);
146
+ return b.build();
226
147
  };
227
148
  export const se_ListVectorEnrichmentJobsCommand = async (input, context) => {
228
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
149
+ const b = rb(input, context);
229
150
  const headers = {
230
151
  "content-type": "application/json",
231
152
  };
232
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/list-vector-enrichment-jobs";
153
+ b.bp("/list-vector-enrichment-jobs");
233
154
  let body;
234
155
  body = JSON.stringify(take(input, {
235
156
  MaxResults: [],
@@ -238,44 +159,30 @@ export const se_ListVectorEnrichmentJobsCommand = async (input, context) => {
238
159
  SortOrder: [],
239
160
  StatusEquals: [],
240
161
  }));
241
- return new __HttpRequest({
242
- protocol,
243
- hostname,
244
- port,
245
- method: "POST",
246
- headers,
247
- path: resolvedPath,
248
- body,
249
- });
162
+ b.m("POST").h(headers).b(body);
163
+ return b.build();
250
164
  };
251
165
  export const se_SearchRasterDataCollectionCommand = async (input, context) => {
252
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
166
+ const b = rb(input, context);
253
167
  const headers = {
254
168
  "content-type": "application/json",
255
169
  };
256
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/search-raster-data-collection";
170
+ b.bp("/search-raster-data-collection");
257
171
  let body;
258
172
  body = JSON.stringify(take(input, {
259
173
  Arn: [],
260
174
  NextToken: [],
261
175
  RasterDataCollectionQuery: (_) => se_RasterDataCollectionQueryWithBandFilterInput(_, context),
262
176
  }));
263
- return new __HttpRequest({
264
- protocol,
265
- hostname,
266
- port,
267
- method: "POST",
268
- headers,
269
- path: resolvedPath,
270
- body,
271
- });
177
+ b.m("POST").h(headers).b(body);
178
+ return b.build();
272
179
  };
273
180
  export const se_StartEarthObservationJobCommand = async (input, context) => {
274
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
181
+ const b = rb(input, context);
275
182
  const headers = {
276
183
  "content-type": "application/json",
277
184
  };
278
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/earth-observation-jobs";
185
+ b.bp("/earth-observation-jobs");
279
186
  let body;
280
187
  body = JSON.stringify(take(input, {
281
188
  ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
@@ -286,22 +193,15 @@ export const se_StartEarthObservationJobCommand = async (input, context) => {
286
193
  Name: [],
287
194
  Tags: (_) => _json(_),
288
195
  }));
289
- return new __HttpRequest({
290
- protocol,
291
- hostname,
292
- port,
293
- method: "POST",
294
- headers,
295
- path: resolvedPath,
296
- body,
297
- });
196
+ b.m("POST").h(headers).b(body);
197
+ return b.build();
298
198
  };
299
199
  export const se_StartVectorEnrichmentJobCommand = async (input, context) => {
300
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
200
+ const b = rb(input, context);
301
201
  const headers = {
302
202
  "content-type": "application/json",
303
203
  };
304
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/vector-enrichment-jobs";
204
+ b.bp("/vector-enrichment-jobs");
305
205
  let body;
306
206
  body = JSON.stringify(take(input, {
307
207
  ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
@@ -312,99 +212,63 @@ export const se_StartVectorEnrichmentJobCommand = async (input, context) => {
312
212
  Name: [],
313
213
  Tags: (_) => _json(_),
314
214
  }));
315
- return new __HttpRequest({
316
- protocol,
317
- hostname,
318
- port,
319
- method: "POST",
320
- headers,
321
- path: resolvedPath,
322
- body,
323
- });
215
+ b.m("POST").h(headers).b(body);
216
+ return b.build();
324
217
  };
325
218
  export const se_StopEarthObservationJobCommand = async (input, context) => {
326
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
219
+ const b = rb(input, context);
327
220
  const headers = {
328
221
  "content-type": "application/json",
329
222
  };
330
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/earth-observation-jobs/stop";
223
+ b.bp("/earth-observation-jobs/stop");
331
224
  let body;
332
225
  body = JSON.stringify(take(input, {
333
226
  Arn: [],
334
227
  }));
335
- return new __HttpRequest({
336
- protocol,
337
- hostname,
338
- port,
339
- method: "POST",
340
- headers,
341
- path: resolvedPath,
342
- body,
343
- });
228
+ b.m("POST").h(headers).b(body);
229
+ return b.build();
344
230
  };
345
231
  export const se_StopVectorEnrichmentJobCommand = async (input, context) => {
346
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
232
+ const b = rb(input, context);
347
233
  const headers = {
348
234
  "content-type": "application/json",
349
235
  };
350
- const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/vector-enrichment-jobs/stop";
236
+ b.bp("/vector-enrichment-jobs/stop");
351
237
  let body;
352
238
  body = JSON.stringify(take(input, {
353
239
  Arn: [],
354
240
  }));
355
- return new __HttpRequest({
356
- protocol,
357
- hostname,
358
- port,
359
- method: "POST",
360
- headers,
361
- path: resolvedPath,
362
- body,
363
- });
241
+ b.m("POST").h(headers).b(body);
242
+ return b.build();
364
243
  };
365
244
  export const se_TagResourceCommand = async (input, context) => {
366
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
245
+ const b = rb(input, context);
367
246
  const headers = {
368
247
  "content-type": "application/json",
369
248
  };
370
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
371
- resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
249
+ b.bp("/tags/{ResourceArn}");
250
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
372
251
  let body;
373
252
  body = JSON.stringify(take(input, {
374
253
  Tags: (_) => _json(_),
375
254
  }));
376
- return new __HttpRequest({
377
- protocol,
378
- hostname,
379
- port,
380
- method: "PUT",
381
- headers,
382
- path: resolvedPath,
383
- body,
384
- });
255
+ b.m("PUT").h(headers).b(body);
256
+ return b.build();
385
257
  };
386
258
  export const se_UntagResourceCommand = async (input, context) => {
387
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
259
+ const b = rb(input, context);
388
260
  const headers = {};
389
- let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/tags/{ResourceArn}";
390
- resolvedPath = __resolvedPath(resolvedPath, input, "ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
261
+ b.bp("/tags/{ResourceArn}");
262
+ b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
391
263
  const query = map({
392
- tagKeys: [
264
+ [_tK]: [
393
265
  __expectNonNull(input.TagKeys, `TagKeys`) != null,
394
- () => (input.TagKeys || []).map((_entry) => _entry),
266
+ () => (input[_TK] || []).map((_entry) => _entry),
395
267
  ],
396
268
  });
397
269
  let body;
398
- return new __HttpRequest({
399
- protocol,
400
- hostname,
401
- port,
402
- method: "DELETE",
403
- headers,
404
- path: resolvedPath,
405
- query,
406
- body,
407
- });
270
+ b.m("DELETE").h(headers).q(query).b(body);
271
+ return b.build();
408
272
  };
409
273
  export const de_DeleteEarthObservationJobCommand = async (output, context) => {
410
274
  if (output.statusCode !== 200 && output.statusCode >= 300) {
@@ -1979,6 +1843,19 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
1979
1843
  value !== "" &&
1980
1844
  (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
1981
1845
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
1846
+ const _A = "Arn";
1847
+ const _ERA = "ExecutionRoleArn";
1848
+ const _IA = "ImageAssets";
1849
+ const _IM = "ImageMask";
1850
+ const _MR = "MaxResults";
1851
+ const _NT = "NextToken";
1852
+ const _ODT = "OutputDataType";
1853
+ const _OF = "OutputFormat";
1854
+ const _PF = "PropertyFilters";
1855
+ const _T = "Target";
1856
+ const _TK = "TagKeys";
1857
+ const _TRF = "TimeRangeFilter";
1858
+ const _tK = "tagKeys";
1982
1859
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
1983
1860
  if (encoded.length) {
1984
1861
  return JSON.parse(encoded);
@@ -4,4 +4,4 @@ import { SageMakerGeospatialPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListEarthObservationJobs(config: SageMakerGeospatialPaginationConfiguration, input: ListEarthObservationJobsCommandInput, ...additionalArguments: any): Paginator<ListEarthObservationJobsCommandOutput>;
7
+ export declare const paginateListEarthObservationJobs: (config: SageMakerGeospatialPaginationConfiguration, input: ListEarthObservationJobsCommandInput, ...rest: any[]) => Paginator<ListEarthObservationJobsCommandOutput>;
@@ -4,4 +4,4 @@ import { SageMakerGeospatialPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListRasterDataCollections(config: SageMakerGeospatialPaginationConfiguration, input: ListRasterDataCollectionsCommandInput, ...additionalArguments: any): Paginator<ListRasterDataCollectionsCommandOutput>;
7
+ export declare const paginateListRasterDataCollections: (config: SageMakerGeospatialPaginationConfiguration, input: ListRasterDataCollectionsCommandInput, ...rest: any[]) => Paginator<ListRasterDataCollectionsCommandOutput>;
@@ -4,4 +4,4 @@ import { SageMakerGeospatialPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListVectorEnrichmentJobs(config: SageMakerGeospatialPaginationConfiguration, input: ListVectorEnrichmentJobsCommandInput, ...additionalArguments: any): Paginator<ListVectorEnrichmentJobsCommandOutput>;
7
+ export declare const paginateListVectorEnrichmentJobs: (config: SageMakerGeospatialPaginationConfiguration, input: ListVectorEnrichmentJobsCommandInput, ...rest: any[]) => Paginator<ListVectorEnrichmentJobsCommandOutput>;
@@ -4,4 +4,4 @@ import { SageMakerGeospatialPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateSearchRasterDataCollection(config: SageMakerGeospatialPaginationConfiguration, input: SearchRasterDataCollectionCommandInput, ...additionalArguments: any): Paginator<SearchRasterDataCollectionCommandOutput>;
7
+ export declare const paginateSearchRasterDataCollection: (config: SageMakerGeospatialPaginationConfiguration, input: SearchRasterDataCollectionCommandInput, ...rest: any[]) => Paginator<SearchRasterDataCollectionCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListEarthObservationJobsCommandOutput,
5
5
  } from "../commands/ListEarthObservationJobsCommand";
6
6
  import { SageMakerGeospatialPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListEarthObservationJobs(
7
+ export declare const paginateListEarthObservationJobs: (
8
8
  config: SageMakerGeospatialPaginationConfiguration,
9
9
  input: ListEarthObservationJobsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListEarthObservationJobsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListEarthObservationJobsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListRasterDataCollectionsCommandOutput,
5
5
  } from "../commands/ListRasterDataCollectionsCommand";
6
6
  import { SageMakerGeospatialPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListRasterDataCollections(
7
+ export declare const paginateListRasterDataCollections: (
8
8
  config: SageMakerGeospatialPaginationConfiguration,
9
9
  input: ListRasterDataCollectionsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListRasterDataCollectionsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListRasterDataCollectionsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListVectorEnrichmentJobsCommandOutput,
5
5
  } from "../commands/ListVectorEnrichmentJobsCommand";
6
6
  import { SageMakerGeospatialPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListVectorEnrichmentJobs(
7
+ export declare const paginateListVectorEnrichmentJobs: (
8
8
  config: SageMakerGeospatialPaginationConfiguration,
9
9
  input: ListVectorEnrichmentJobsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListVectorEnrichmentJobsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListVectorEnrichmentJobsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  SearchRasterDataCollectionCommandOutput,
5
5
  } from "../commands/SearchRasterDataCollectionCommand";
6
6
  import { SageMakerGeospatialPaginationConfiguration } from "./Interfaces";
7
- export declare function paginateSearchRasterDataCollection(
7
+ export declare const paginateSearchRasterDataCollection: (
8
8
  config: SageMakerGeospatialPaginationConfiguration,
9
9
  input: SearchRasterDataCollectionCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<SearchRasterDataCollectionCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<SearchRasterDataCollectionCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker-geospatial",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Geospatial Client for Node.js, Browser and React Native",
4
- "version": "3.476.0",
4
+ "version": "3.478.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",
@@ -20,20 +20,21 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.476.0",
24
- "@aws-sdk/core": "3.476.0",
25
- "@aws-sdk/credential-provider-node": "3.476.0",
23
+ "@aws-sdk/client-sts": "3.478.0",
24
+ "@aws-sdk/core": "3.477.0",
25
+ "@aws-sdk/credential-provider-node": "3.478.0",
26
26
  "@aws-sdk/middleware-host-header": "3.468.0",
27
27
  "@aws-sdk/middleware-logger": "3.468.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.468.0",
29
29
  "@aws-sdk/middleware-signing": "3.468.0",
30
- "@aws-sdk/middleware-user-agent": "3.470.0",
30
+ "@aws-sdk/middleware-user-agent": "3.478.0",
31
31
  "@aws-sdk/region-config-resolver": "3.470.0",
32
32
  "@aws-sdk/types": "3.468.0",
33
- "@aws-sdk/util-endpoints": "3.470.0",
33
+ "@aws-sdk/util-endpoints": "3.478.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.468.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.470.0",
36
36
  "@smithy/config-resolver": "^2.0.21",
37
+ "@smithy/core": "^1.2.0",
37
38
  "@smithy/fetch-http-handler": "^2.3.1",
38
39
  "@smithy/hash-node": "^2.0.17",
39
40
  "@smithy/invalid-dependency": "^2.0.15",