@aws-sdk/client-sagemaker-geospatial 3.477.0 → 3.481.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/commands/DeleteEarthObservationJobCommand.js +18 -41
- package/dist-cjs/commands/DeleteVectorEnrichmentJobCommand.js +18 -41
- package/dist-cjs/commands/ExportEarthObservationJobCommand.js +18 -41
- package/dist-cjs/commands/ExportVectorEnrichmentJobCommand.js +18 -41
- package/dist-cjs/commands/GetEarthObservationJobCommand.js +18 -41
- package/dist-cjs/commands/GetRasterDataCollectionCommand.js +18 -41
- package/dist-cjs/commands/GetTileCommand.js +18 -41
- package/dist-cjs/commands/GetVectorEnrichmentJobCommand.js +18 -41
- package/dist-cjs/commands/ListEarthObservationJobsCommand.js +18 -41
- package/dist-cjs/commands/ListRasterDataCollectionsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListVectorEnrichmentJobsCommand.js +18 -41
- package/dist-cjs/commands/SearchRasterDataCollectionCommand.js +18 -41
- package/dist-cjs/commands/StartEarthObservationJobCommand.js +18 -41
- package/dist-cjs/commands/StartVectorEnrichmentJobCommand.js +18 -41
- package/dist-cjs/commands/StopEarthObservationJobCommand.js +18 -41
- package/dist-cjs/commands/StopVectorEnrichmentJobCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListEarthObservationJobsPaginator.js +2 -23
- package/dist-cjs/pagination/ListRasterDataCollectionsPaginator.js +2 -23
- package/dist-cjs/pagination/ListVectorEnrichmentJobsPaginator.js +2 -23
- package/dist-cjs/pagination/SearchRasterDataCollectionPaginator.js +2 -23
- package/dist-es/commands/DeleteEarthObservationJobCommand.js +18 -41
- package/dist-es/commands/DeleteVectorEnrichmentJobCommand.js +18 -41
- package/dist-es/commands/ExportEarthObservationJobCommand.js +18 -41
- package/dist-es/commands/ExportVectorEnrichmentJobCommand.js +18 -41
- package/dist-es/commands/GetEarthObservationJobCommand.js +18 -41
- package/dist-es/commands/GetRasterDataCollectionCommand.js +18 -41
- package/dist-es/commands/GetTileCommand.js +18 -41
- package/dist-es/commands/GetVectorEnrichmentJobCommand.js +18 -41
- package/dist-es/commands/ListEarthObservationJobsCommand.js +18 -41
- package/dist-es/commands/ListRasterDataCollectionsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListVectorEnrichmentJobsCommand.js +18 -41
- package/dist-es/commands/SearchRasterDataCollectionCommand.js +18 -41
- package/dist-es/commands/StartEarthObservationJobCommand.js +18 -41
- package/dist-es/commands/StartVectorEnrichmentJobCommand.js +18 -41
- package/dist-es/commands/StopEarthObservationJobCommand.js +18 -41
- package/dist-es/commands/StopVectorEnrichmentJobCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListEarthObservationJobsPaginator.js +2 -22
- package/dist-es/pagination/ListRasterDataCollectionsPaginator.js +2 -22
- package/dist-es/pagination/ListVectorEnrichmentJobsPaginator.js +2 -22
- package/dist-es/pagination/SearchRasterDataCollectionPaginator.js +2 -22
- package/dist-types/commands/DeleteEarthObservationJobCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVectorEnrichmentJobCommand.d.ts +6 -21
- package/dist-types/commands/ExportEarthObservationJobCommand.d.ts +6 -21
- package/dist-types/commands/ExportVectorEnrichmentJobCommand.d.ts +6 -21
- package/dist-types/commands/GetEarthObservationJobCommand.d.ts +6 -21
- package/dist-types/commands/GetRasterDataCollectionCommand.d.ts +6 -21
- package/dist-types/commands/GetTileCommand.d.ts +6 -21
- package/dist-types/commands/GetVectorEnrichmentJobCommand.d.ts +6 -21
- package/dist-types/commands/ListEarthObservationJobsCommand.d.ts +6 -21
- package/dist-types/commands/ListRasterDataCollectionsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListVectorEnrichmentJobsCommand.d.ts +6 -21
- package/dist-types/commands/SearchRasterDataCollectionCommand.d.ts +6 -21
- package/dist-types/commands/StartEarthObservationJobCommand.d.ts +6 -21
- package/dist-types/commands/StartVectorEnrichmentJobCommand.d.ts +6 -21
- package/dist-types/commands/StopEarthObservationJobCommand.d.ts +6 -21
- package/dist-types/commands/StopVectorEnrichmentJobCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListEarthObservationJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRasterDataCollectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVectorEnrichmentJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchRasterDataCollectionPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteEarthObservationJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteVectorEnrichmentJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExportEarthObservationJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ExportVectorEnrichmentJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetEarthObservationJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetRasterDataCollectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetTileCommand.d.ts +11 -20
- package/dist-types/ts3.4/commands/GetVectorEnrichmentJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListEarthObservationJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListRasterDataCollectionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListVectorEnrichmentJobsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/SearchRasterDataCollectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartEarthObservationJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartVectorEnrichmentJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopEarthObservationJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopVectorEnrichmentJobCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListEarthObservationJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRasterDataCollectionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVectorEnrichmentJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchRasterDataCollectionPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StopEarthObservationJobCommand, se_StopEarthObservationJobCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StopEarthObservationJobCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SageMakerGeospatialClient";
|
|
26
|
-
const commandName = "StopEarthObservationJobCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SageMakerGeospatial",
|
|
35
|
-
operation: "StopEarthObservationJob",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StopEarthObservationJobCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StopEarthObservationJobCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StopEarthObservationJobCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SageMakerGeospatial", "StopEarthObservationJob", {})
|
|
19
|
+
.n("SageMakerGeospatialClient", "StopEarthObservationJobCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StopEarthObservationJobCommand)
|
|
22
|
+
.de(de_StopEarthObservationJobCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_StopVectorEnrichmentJobCommand, se_StopVectorEnrichmentJobCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class StopVectorEnrichmentJobCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SageMakerGeospatialClient";
|
|
26
|
-
const commandName = "StopVectorEnrichmentJobCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SageMakerGeospatial",
|
|
35
|
-
operation: "StopVectorEnrichmentJob",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_StopVectorEnrichmentJobCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_StopVectorEnrichmentJobCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class StopVectorEnrichmentJobCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SageMakerGeospatial", "StopVectorEnrichmentJob", {})
|
|
19
|
+
.n("SageMakerGeospatialClient", "StopVectorEnrichmentJobCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_StopVectorEnrichmentJobCommand)
|
|
22
|
+
.de(de_StopVectorEnrichmentJobCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class TagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SageMakerGeospatialClient";
|
|
26
|
-
const commandName = "TagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SageMakerGeospatial",
|
|
35
|
-
operation: "TagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_TagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_TagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class TagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SageMakerGeospatial", "TagResource", {})
|
|
19
|
+
.n("SageMakerGeospatialClient", "TagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_TagResourceCommand)
|
|
22
|
+
.de(de_TagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UntagResourceCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "SageMakerGeospatialClient";
|
|
26
|
-
const commandName = "UntagResourceCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "SageMakerGeospatial",
|
|
35
|
-
operation: "UntagResource",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UntagResourceCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UntagResourceCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UntagResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("SageMakerGeospatial", "UntagResource", {})
|
|
19
|
+
.n("SageMakerGeospatialClient", "UntagResourceCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UntagResourceCommand)
|
|
22
|
+
.de(de_UntagResourceCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "sagemaker-geospatial",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListEarthObservationJobsCommand, } from "../commands/ListEarthObservationJobsCommand";
|
|
2
3
|
import { SageMakerGeospatialClient } from "../SageMakerGeospatialClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEarthObservationJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEarthObservationJobs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof SageMakerGeospatialClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected SageMakerGeospatial | SageMakerGeospatialClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListEarthObservationJobs = createPaginator(SageMakerGeospatialClient, ListEarthObservationJobsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRasterDataCollectionsCommand, } from "../commands/ListRasterDataCollectionsCommand";
|
|
2
3
|
import { SageMakerGeospatialClient } from "../SageMakerGeospatialClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRasterDataCollectionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRasterDataCollections(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof SageMakerGeospatialClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected SageMakerGeospatial | SageMakerGeospatialClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListRasterDataCollections = createPaginator(SageMakerGeospatialClient, ListRasterDataCollectionsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListVectorEnrichmentJobsCommand, } from "../commands/ListVectorEnrichmentJobsCommand";
|
|
2
3
|
import { SageMakerGeospatialClient } from "../SageMakerGeospatialClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListVectorEnrichmentJobsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListVectorEnrichmentJobs(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof SageMakerGeospatialClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected SageMakerGeospatial | SageMakerGeospatialClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListVectorEnrichmentJobs = createPaginator(SageMakerGeospatialClient, ListVectorEnrichmentJobsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { SearchRasterDataCollectionCommand, } from "../commands/SearchRasterDataCollectionCommand";
|
|
2
3
|
import { SageMakerGeospatialClient } from "../SageMakerGeospatialClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchRasterDataCollectionCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchRasterDataCollection(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof SageMakerGeospatialClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected SageMakerGeospatial | SageMakerGeospatialClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateSearchRasterDataCollection = createPaginator(SageMakerGeospatialClient, SearchRasterDataCollectionCommand, "NextToken", "NextToken", "");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { DeleteEarthObservationJobInput, DeleteEarthObservationJobOutput } from "../models/models_0";
|
|
5
4
|
import { SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerGeospatialClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteEarthObservationJobCommandInput extends DeleteEarthObserv
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteEarthObservationJobCommandOutput extends DeleteEarthObservationJobOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteEarthObservationJobCommand_base: {
|
|
24
|
+
new (input: DeleteEarthObservationJobCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteEarthObservationJobCommandInput, DeleteEarthObservationJobCommandOutput, SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Use this operation to delete an Earth Observation job.</p>
|
|
@@ -67,23 +70,5 @@ export interface DeleteEarthObservationJobCommandOutput extends DeleteEarthObser
|
|
|
67
70
|
* <p>Base exception class for all service exceptions from SageMakerGeospatial service.</p>
|
|
68
71
|
*
|
|
69
72
|
*/
|
|
70
|
-
export declare class DeleteEarthObservationJobCommand extends
|
|
71
|
-
readonly input: DeleteEarthObservationJobCommandInput;
|
|
72
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
-
/**
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
constructor(input: DeleteEarthObservationJobCommandInput);
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerGeospatialClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEarthObservationJobCommandInput, DeleteEarthObservationJobCommandOutput>;
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
private serialize;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
private deserialize;
|
|
73
|
+
export declare class DeleteEarthObservationJobCommand extends DeleteEarthObservationJobCommand_base {
|
|
89
74
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { DeleteVectorEnrichmentJobInput, DeleteVectorEnrichmentJobOutput } from "../models/models_0";
|
|
5
4
|
import { SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerGeospatialClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface DeleteVectorEnrichmentJobCommandInput extends DeleteVectorEnric
|
|
|
21
20
|
*/
|
|
22
21
|
export interface DeleteVectorEnrichmentJobCommandOutput extends DeleteVectorEnrichmentJobOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const DeleteVectorEnrichmentJobCommand_base: {
|
|
24
|
+
new (input: DeleteVectorEnrichmentJobCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteVectorEnrichmentJobCommandInput, DeleteVectorEnrichmentJobCommandOutput, SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Use this operation to delete a Vector Enrichment job.</p>
|
|
@@ -67,23 +70,5 @@ export interface DeleteVectorEnrichmentJobCommandOutput extends DeleteVectorEnri
|
|
|
67
70
|
* <p>Base exception class for all service exceptions from SageMakerGeospatial service.</p>
|
|
68
71
|
*
|
|
69
72
|
*/
|
|
70
|
-
export declare class DeleteVectorEnrichmentJobCommand extends
|
|
71
|
-
readonly input: DeleteVectorEnrichmentJobCommandInput;
|
|
72
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
73
|
-
/**
|
|
74
|
-
* @public
|
|
75
|
-
*/
|
|
76
|
-
constructor(input: DeleteVectorEnrichmentJobCommandInput);
|
|
77
|
-
/**
|
|
78
|
-
* @internal
|
|
79
|
-
*/
|
|
80
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerGeospatialClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteVectorEnrichmentJobCommandInput, DeleteVectorEnrichmentJobCommandOutput>;
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
*/
|
|
84
|
-
private serialize;
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
*/
|
|
88
|
-
private deserialize;
|
|
73
|
+
export declare class DeleteVectorEnrichmentJobCommand extends DeleteVectorEnrichmentJobCommand_base {
|
|
89
74
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ExportEarthObservationJobInput, ExportEarthObservationJobOutput } from "../models/models_0";
|
|
5
4
|
import { SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerGeospatialClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ExportEarthObservationJobCommandInput extends ExportEarthObserv
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ExportEarthObservationJobCommandOutput extends ExportEarthObservationJobOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ExportEarthObservationJobCommand_base: {
|
|
24
|
+
new (input: ExportEarthObservationJobCommandInput): import("@smithy/smithy-client").CommandImpl<ExportEarthObservationJobCommandInput, ExportEarthObservationJobCommandOutput, SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Use this operation to export results of an Earth Observation job and optionally source images used as input to the EOJ to an Amazon S3 location.</p>
|
|
@@ -91,23 +94,5 @@ export interface ExportEarthObservationJobCommandOutput extends ExportEarthObser
|
|
|
91
94
|
* <p>Base exception class for all service exceptions from SageMakerGeospatial service.</p>
|
|
92
95
|
*
|
|
93
96
|
*/
|
|
94
|
-
export declare class ExportEarthObservationJobCommand extends
|
|
95
|
-
readonly input: ExportEarthObservationJobCommandInput;
|
|
96
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
97
|
-
/**
|
|
98
|
-
* @public
|
|
99
|
-
*/
|
|
100
|
-
constructor(input: ExportEarthObservationJobCommandInput);
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerGeospatialClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExportEarthObservationJobCommandInput, ExportEarthObservationJobCommandOutput>;
|
|
105
|
-
/**
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
108
|
-
private serialize;
|
|
109
|
-
/**
|
|
110
|
-
* @internal
|
|
111
|
-
*/
|
|
112
|
-
private deserialize;
|
|
97
|
+
export declare class ExportEarthObservationJobCommand extends ExportEarthObservationJobCommand_base {
|
|
113
98
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { ExportVectorEnrichmentJobInput, ExportVectorEnrichmentJobOutput } from "../models/models_0";
|
|
5
4
|
import { SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerGeospatialClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface ExportVectorEnrichmentJobCommandInput extends ExportVectorEnric
|
|
|
21
20
|
*/
|
|
22
21
|
export interface ExportVectorEnrichmentJobCommandOutput extends ExportVectorEnrichmentJobOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const ExportVectorEnrichmentJobCommand_base: {
|
|
24
|
+
new (input: ExportVectorEnrichmentJobCommandInput): import("@smithy/smithy-client").CommandImpl<ExportVectorEnrichmentJobCommandInput, ExportVectorEnrichmentJobCommandOutput, SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Use this operation to copy results of a Vector Enrichment job to an Amazon S3 location.</p>
|
|
@@ -89,23 +92,5 @@ export interface ExportVectorEnrichmentJobCommandOutput extends ExportVectorEnri
|
|
|
89
92
|
* <p>Base exception class for all service exceptions from SageMakerGeospatial service.</p>
|
|
90
93
|
*
|
|
91
94
|
*/
|
|
92
|
-
export declare class ExportVectorEnrichmentJobCommand extends
|
|
93
|
-
readonly input: ExportVectorEnrichmentJobCommandInput;
|
|
94
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
95
|
-
/**
|
|
96
|
-
* @public
|
|
97
|
-
*/
|
|
98
|
-
constructor(input: ExportVectorEnrichmentJobCommandInput);
|
|
99
|
-
/**
|
|
100
|
-
* @internal
|
|
101
|
-
*/
|
|
102
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerGeospatialClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExportVectorEnrichmentJobCommandInput, ExportVectorEnrichmentJobCommandOutput>;
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
*/
|
|
106
|
-
private serialize;
|
|
107
|
-
/**
|
|
108
|
-
* @internal
|
|
109
|
-
*/
|
|
110
|
-
private deserialize;
|
|
95
|
+
export declare class ExportVectorEnrichmentJobCommand extends ExportVectorEnrichmentJobCommand_base {
|
|
111
96
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { GetEarthObservationJobInput, GetEarthObservationJobOutput } from "../models/models_0";
|
|
5
4
|
import { SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerGeospatialClient";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface GetEarthObservationJobCommandInput extends GetEarthObservationJ
|
|
|
21
20
|
*/
|
|
22
21
|
export interface GetEarthObservationJobCommandOutput extends GetEarthObservationJobOutput, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const GetEarthObservationJobCommand_base: {
|
|
24
|
+
new (input: GetEarthObservationJobCommandInput): import("@smithy/smithy-client").CommandImpl<GetEarthObservationJobCommandInput, GetEarthObservationJobCommandOutput, SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Get the details for a previously initiated Earth Observation job.</p>
|
|
@@ -234,23 +237,5 @@ export interface GetEarthObservationJobCommandOutput extends GetEarthObservation
|
|
|
234
237
|
* <p>Base exception class for all service exceptions from SageMakerGeospatial service.</p>
|
|
235
238
|
*
|
|
236
239
|
*/
|
|
237
|
-
export declare class GetEarthObservationJobCommand extends
|
|
238
|
-
readonly input: GetEarthObservationJobCommandInput;
|
|
239
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
240
|
-
/**
|
|
241
|
-
* @public
|
|
242
|
-
*/
|
|
243
|
-
constructor(input: GetEarthObservationJobCommandInput);
|
|
244
|
-
/**
|
|
245
|
-
* @internal
|
|
246
|
-
*/
|
|
247
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerGeospatialClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEarthObservationJobCommandInput, GetEarthObservationJobCommandOutput>;
|
|
248
|
-
/**
|
|
249
|
-
* @internal
|
|
250
|
-
*/
|
|
251
|
-
private serialize;
|
|
252
|
-
/**
|
|
253
|
-
* @internal
|
|
254
|
-
*/
|
|
255
|
-
private deserialize;
|
|
240
|
+
export declare class GetEarthObservationJobCommand extends GetEarthObservationJobCommand_base {
|
|
256
241
|
}
|