@aws-sdk/client-sagemaker-geospatial 3.974.0 → 3.978.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1339,6 +1339,14 @@ class UntagResourceCommand extends smithyClient.Command
1339
1339
  .build() {
1340
1340
  }
1341
1341
 
1342
+ const paginateListEarthObservationJobs = core.createPaginator(SageMakerGeospatialClient, ListEarthObservationJobsCommand, "NextToken", "NextToken", "");
1343
+
1344
+ const paginateListRasterDataCollections = core.createPaginator(SageMakerGeospatialClient, ListRasterDataCollectionsCommand, "NextToken", "NextToken", "");
1345
+
1346
+ const paginateListVectorEnrichmentJobs = core.createPaginator(SageMakerGeospatialClient, ListVectorEnrichmentJobsCommand, "NextToken", "NextToken", "");
1347
+
1348
+ const paginateSearchRasterDataCollection = core.createPaginator(SageMakerGeospatialClient, SearchRasterDataCollectionCommand, "NextToken", "NextToken", "");
1349
+
1342
1350
  const commands = {
1343
1351
  DeleteEarthObservationJobCommand,
1344
1352
  DeleteVectorEnrichmentJobCommand,
@@ -1360,17 +1368,15 @@ const commands = {
1360
1368
  TagResourceCommand,
1361
1369
  UntagResourceCommand,
1362
1370
  };
1371
+ const paginators = {
1372
+ paginateListEarthObservationJobs,
1373
+ paginateListRasterDataCollections,
1374
+ paginateListVectorEnrichmentJobs,
1375
+ paginateSearchRasterDataCollection,
1376
+ };
1363
1377
  class SageMakerGeospatial extends SageMakerGeospatialClient {
1364
1378
  }
1365
- smithyClient.createAggregatedClient(commands, SageMakerGeospatial);
1366
-
1367
- const paginateListEarthObservationJobs = core.createPaginator(SageMakerGeospatialClient, ListEarthObservationJobsCommand, "NextToken", "NextToken", "");
1368
-
1369
- const paginateListRasterDataCollections = core.createPaginator(SageMakerGeospatialClient, ListRasterDataCollectionsCommand, "NextToken", "NextToken", "");
1370
-
1371
- const paginateListVectorEnrichmentJobs = core.createPaginator(SageMakerGeospatialClient, ListVectorEnrichmentJobsCommand, "NextToken", "NextToken", "");
1372
-
1373
- const paginateSearchRasterDataCollection = core.createPaginator(SageMakerGeospatialClient, SearchRasterDataCollectionCommand, "NextToken", "NextToken", "");
1379
+ smithyClient.createAggregatedClient(commands, SageMakerGeospatial, { paginators });
1374
1380
 
1375
1381
  const AlgorithmNameCloudRemoval = {
1376
1382
  INTERPOLATION: "INTERPOLATION",
@@ -18,6 +18,10 @@ import { StopEarthObservationJobCommand, } from "./commands/StopEarthObservation
18
18
  import { StopVectorEnrichmentJobCommand, } from "./commands/StopVectorEnrichmentJobCommand";
19
19
  import { TagResourceCommand } from "./commands/TagResourceCommand";
20
20
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
21
+ import { paginateListEarthObservationJobs } from "./pagination/ListEarthObservationJobsPaginator";
22
+ import { paginateListRasterDataCollections } from "./pagination/ListRasterDataCollectionsPaginator";
23
+ import { paginateListVectorEnrichmentJobs } from "./pagination/ListVectorEnrichmentJobsPaginator";
24
+ import { paginateSearchRasterDataCollection } from "./pagination/SearchRasterDataCollectionPaginator";
21
25
  import { SageMakerGeospatialClient } from "./SageMakerGeospatialClient";
22
26
  const commands = {
23
27
  DeleteEarthObservationJobCommand,
@@ -40,6 +44,12 @@ const commands = {
40
44
  TagResourceCommand,
41
45
  UntagResourceCommand,
42
46
  };
47
+ const paginators = {
48
+ paginateListEarthObservationJobs,
49
+ paginateListRasterDataCollections,
50
+ paginateListVectorEnrichmentJobs,
51
+ paginateSearchRasterDataCollection,
52
+ };
43
53
  export class SageMakerGeospatial extends SageMakerGeospatialClient {
44
54
  }
45
- createAggregatedClient(commands, SageMakerGeospatial);
55
+ createAggregatedClient(commands, SageMakerGeospatial, { paginators });
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { DeleteEarthObservationJobCommandInput, DeleteEarthObservationJobCommandOutput } from "./commands/DeleteEarthObservationJobCommand";
3
3
  import { DeleteVectorEnrichmentJobCommandInput, DeleteVectorEnrichmentJobCommandOutput } from "./commands/DeleteVectorEnrichmentJobCommand";
4
4
  import { ExportEarthObservationJobCommandInput, ExportEarthObservationJobCommandOutput } from "./commands/ExportEarthObservationJobCommand";
@@ -137,6 +137,34 @@ export interface SageMakerGeospatial {
137
137
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
138
138
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
139
139
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
140
+ /**
141
+ * @see {@link ListEarthObservationJobsCommand}
142
+ * @param args - command input.
143
+ * @param paginationConfig - optional pagination config.
144
+ * @returns AsyncIterable of {@link ListEarthObservationJobsCommandOutput}.
145
+ */
146
+ paginateListEarthObservationJobs(args?: ListEarthObservationJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListEarthObservationJobsCommandOutput>;
147
+ /**
148
+ * @see {@link ListRasterDataCollectionsCommand}
149
+ * @param args - command input.
150
+ * @param paginationConfig - optional pagination config.
151
+ * @returns AsyncIterable of {@link ListRasterDataCollectionsCommandOutput}.
152
+ */
153
+ paginateListRasterDataCollections(args?: ListRasterDataCollectionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListRasterDataCollectionsCommandOutput>;
154
+ /**
155
+ * @see {@link ListVectorEnrichmentJobsCommand}
156
+ * @param args - command input.
157
+ * @param paginationConfig - optional pagination config.
158
+ * @returns AsyncIterable of {@link ListVectorEnrichmentJobsCommandOutput}.
159
+ */
160
+ paginateListVectorEnrichmentJobs(args?: ListVectorEnrichmentJobsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListVectorEnrichmentJobsCommandOutput>;
161
+ /**
162
+ * @see {@link SearchRasterDataCollectionCommand}
163
+ * @param args - command input.
164
+ * @param paginationConfig - optional pagination config.
165
+ * @returns AsyncIterable of {@link SearchRasterDataCollectionCommandOutput}.
166
+ */
167
+ paginateSearchRasterDataCollection(args: SearchRasterDataCollectionCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<SearchRasterDataCollectionCommandOutput>;
140
168
  }
141
169
  /**
142
170
  * <p>Provides APIs for creating and managing SageMaker geospatial resources.</p>
@@ -1,4 +1,8 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
2
6
  import {
3
7
  DeleteEarthObservationJobCommandInput,
4
8
  DeleteEarthObservationJobCommandOutput,
@@ -327,6 +331,34 @@ export interface SageMakerGeospatial {
327
331
  options: __HttpHandlerOptions,
328
332
  cb: (err: any, data?: UntagResourceCommandOutput) => void
329
333
  ): void;
334
+ paginateListEarthObservationJobs(
335
+ args?: ListEarthObservationJobsCommandInput,
336
+ paginationConfig?: Pick<
337
+ PaginationConfiguration,
338
+ Exclude<keyof PaginationConfiguration, "client">
339
+ >
340
+ ): Paginator<ListEarthObservationJobsCommandOutput>;
341
+ paginateListRasterDataCollections(
342
+ args?: ListRasterDataCollectionsCommandInput,
343
+ paginationConfig?: Pick<
344
+ PaginationConfiguration,
345
+ Exclude<keyof PaginationConfiguration, "client">
346
+ >
347
+ ): Paginator<ListRasterDataCollectionsCommandOutput>;
348
+ paginateListVectorEnrichmentJobs(
349
+ args?: ListVectorEnrichmentJobsCommandInput,
350
+ paginationConfig?: Pick<
351
+ PaginationConfiguration,
352
+ Exclude<keyof PaginationConfiguration, "client">
353
+ >
354
+ ): Paginator<ListVectorEnrichmentJobsCommandOutput>;
355
+ paginateSearchRasterDataCollection(
356
+ args: SearchRasterDataCollectionCommandInput,
357
+ paginationConfig?: Pick<
358
+ PaginationConfiguration,
359
+ Exclude<keyof PaginationConfiguration, "client">
360
+ >
361
+ ): Paginator<SearchRasterDataCollectionCommandOutput>;
330
362
  }
331
363
  export declare class SageMakerGeospatial
332
364
  extends SageMakerGeospatialClient
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.974.0",
4
+ "version": "3.978.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker-geospatial",
@@ -21,38 +21,38 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "^3.973.0",
25
- "@aws-sdk/credential-provider-node": "^3.972.1",
26
- "@aws-sdk/middleware-host-header": "^3.972.1",
27
- "@aws-sdk/middleware-logger": "^3.972.1",
28
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
29
- "@aws-sdk/middleware-user-agent": "^3.972.1",
30
- "@aws-sdk/region-config-resolver": "^3.972.1",
31
- "@aws-sdk/types": "^3.973.0",
24
+ "@aws-sdk/core": "^3.973.4",
25
+ "@aws-sdk/credential-provider-node": "^3.972.2",
26
+ "@aws-sdk/middleware-host-header": "^3.972.2",
27
+ "@aws-sdk/middleware-logger": "^3.972.2",
28
+ "@aws-sdk/middleware-recursion-detection": "^3.972.2",
29
+ "@aws-sdk/middleware-user-agent": "^3.972.4",
30
+ "@aws-sdk/region-config-resolver": "^3.972.2",
31
+ "@aws-sdk/types": "^3.973.1",
32
32
  "@aws-sdk/util-endpoints": "3.972.0",
33
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
34
- "@aws-sdk/util-user-agent-node": "^3.972.1",
33
+ "@aws-sdk/util-user-agent-browser": "^3.972.2",
34
+ "@aws-sdk/util-user-agent-node": "^3.972.2",
35
35
  "@smithy/config-resolver": "^4.4.6",
36
- "@smithy/core": "^3.21.0",
36
+ "@smithy/core": "^3.22.0",
37
37
  "@smithy/fetch-http-handler": "^5.3.9",
38
38
  "@smithy/hash-node": "^4.2.8",
39
39
  "@smithy/invalid-dependency": "^4.2.8",
40
40
  "@smithy/middleware-content-length": "^4.2.8",
41
- "@smithy/middleware-endpoint": "^4.4.10",
42
- "@smithy/middleware-retry": "^4.4.26",
41
+ "@smithy/middleware-endpoint": "^4.4.12",
42
+ "@smithy/middleware-retry": "^4.4.29",
43
43
  "@smithy/middleware-serde": "^4.2.9",
44
44
  "@smithy/middleware-stack": "^4.2.8",
45
45
  "@smithy/node-config-provider": "^4.3.8",
46
46
  "@smithy/node-http-handler": "^4.4.8",
47
47
  "@smithy/protocol-http": "^5.3.8",
48
- "@smithy/smithy-client": "^4.10.11",
48
+ "@smithy/smithy-client": "^4.11.1",
49
49
  "@smithy/types": "^4.12.0",
50
50
  "@smithy/url-parser": "^4.2.8",
51
51
  "@smithy/util-base64": "^4.3.0",
52
52
  "@smithy/util-body-length-browser": "^4.2.0",
53
53
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.25",
55
- "@smithy/util-defaults-mode-node": "^4.2.28",
54
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
55
+ "@smithy/util-defaults-mode-node": "^4.2.31",
56
56
  "@smithy/util-endpoints": "^3.2.8",
57
57
  "@smithy/util-middleware": "^4.2.8",
58
58
  "@smithy/util-retry": "^4.2.8",