@aws-sdk/client-sagemaker-geospatial 3.315.0 → 3.319.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/SageMakerGeospatial.js +23 -266
- package/dist-cjs/protocols/Aws_restJson1.js +4 -4
- package/dist-es/SageMakerGeospatial.js +23 -266
- package/dist-es/protocols/Aws_restJson1.js +4 -4
- package/dist-types/SageMakerGeospatial.d.ts +26 -43
- package/dist-types/ts3.4/SageMakerGeospatial.d.ts +4 -1
- package/package.json +8 -8
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SageMakerGeospatial = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const DeleteEarthObservationJobCommand_1 = require("./commands/DeleteEarthObservationJobCommand");
|
|
5
6
|
const DeleteVectorEnrichmentJobCommand_1 = require("./commands/DeleteVectorEnrichmentJobCommand");
|
|
6
7
|
const ExportEarthObservationJobCommand_1 = require("./commands/ExportEarthObservationJobCommand");
|
|
@@ -21,272 +22,28 @@ const StopVectorEnrichmentJobCommand_1 = require("./commands/StopVectorEnrichmen
|
|
|
21
22
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
22
23
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
23
24
|
const SageMakerGeospatialClient_1 = require("./SageMakerGeospatialClient");
|
|
25
|
+
const commands = {
|
|
26
|
+
DeleteEarthObservationJobCommand: DeleteEarthObservationJobCommand_1.DeleteEarthObservationJobCommand,
|
|
27
|
+
DeleteVectorEnrichmentJobCommand: DeleteVectorEnrichmentJobCommand_1.DeleteVectorEnrichmentJobCommand,
|
|
28
|
+
ExportEarthObservationJobCommand: ExportEarthObservationJobCommand_1.ExportEarthObservationJobCommand,
|
|
29
|
+
ExportVectorEnrichmentJobCommand: ExportVectorEnrichmentJobCommand_1.ExportVectorEnrichmentJobCommand,
|
|
30
|
+
GetEarthObservationJobCommand: GetEarthObservationJobCommand_1.GetEarthObservationJobCommand,
|
|
31
|
+
GetRasterDataCollectionCommand: GetRasterDataCollectionCommand_1.GetRasterDataCollectionCommand,
|
|
32
|
+
GetTileCommand: GetTileCommand_1.GetTileCommand,
|
|
33
|
+
GetVectorEnrichmentJobCommand: GetVectorEnrichmentJobCommand_1.GetVectorEnrichmentJobCommand,
|
|
34
|
+
ListEarthObservationJobsCommand: ListEarthObservationJobsCommand_1.ListEarthObservationJobsCommand,
|
|
35
|
+
ListRasterDataCollectionsCommand: ListRasterDataCollectionsCommand_1.ListRasterDataCollectionsCommand,
|
|
36
|
+
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
37
|
+
ListVectorEnrichmentJobsCommand: ListVectorEnrichmentJobsCommand_1.ListVectorEnrichmentJobsCommand,
|
|
38
|
+
SearchRasterDataCollectionCommand: SearchRasterDataCollectionCommand_1.SearchRasterDataCollectionCommand,
|
|
39
|
+
StartEarthObservationJobCommand: StartEarthObservationJobCommand_1.StartEarthObservationJobCommand,
|
|
40
|
+
StartVectorEnrichmentJobCommand: StartVectorEnrichmentJobCommand_1.StartVectorEnrichmentJobCommand,
|
|
41
|
+
StopEarthObservationJobCommand: StopEarthObservationJobCommand_1.StopEarthObservationJobCommand,
|
|
42
|
+
StopVectorEnrichmentJobCommand: StopVectorEnrichmentJobCommand_1.StopVectorEnrichmentJobCommand,
|
|
43
|
+
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
44
|
+
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
45
|
+
};
|
|
24
46
|
class SageMakerGeospatial extends SageMakerGeospatialClient_1.SageMakerGeospatialClient {
|
|
25
|
-
deleteEarthObservationJob(args, optionsOrCb, cb) {
|
|
26
|
-
const command = new DeleteEarthObservationJobCommand_1.DeleteEarthObservationJobCommand(args);
|
|
27
|
-
if (typeof optionsOrCb === "function") {
|
|
28
|
-
this.send(command, optionsOrCb);
|
|
29
|
-
}
|
|
30
|
-
else if (typeof cb === "function") {
|
|
31
|
-
if (typeof optionsOrCb !== "object")
|
|
32
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
33
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
34
|
-
}
|
|
35
|
-
else {
|
|
36
|
-
return this.send(command, optionsOrCb);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
deleteVectorEnrichmentJob(args, optionsOrCb, cb) {
|
|
40
|
-
const command = new DeleteVectorEnrichmentJobCommand_1.DeleteVectorEnrichmentJobCommand(args);
|
|
41
|
-
if (typeof optionsOrCb === "function") {
|
|
42
|
-
this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
else if (typeof cb === "function") {
|
|
45
|
-
if (typeof optionsOrCb !== "object")
|
|
46
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
47
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
return this.send(command, optionsOrCb);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
exportEarthObservationJob(args, optionsOrCb, cb) {
|
|
54
|
-
const command = new ExportEarthObservationJobCommand_1.ExportEarthObservationJobCommand(args);
|
|
55
|
-
if (typeof optionsOrCb === "function") {
|
|
56
|
-
this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
else if (typeof cb === "function") {
|
|
59
|
-
if (typeof optionsOrCb !== "object")
|
|
60
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
61
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
62
|
-
}
|
|
63
|
-
else {
|
|
64
|
-
return this.send(command, optionsOrCb);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
exportVectorEnrichmentJob(args, optionsOrCb, cb) {
|
|
68
|
-
const command = new ExportVectorEnrichmentJobCommand_1.ExportVectorEnrichmentJobCommand(args);
|
|
69
|
-
if (typeof optionsOrCb === "function") {
|
|
70
|
-
this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
else if (typeof cb === "function") {
|
|
73
|
-
if (typeof optionsOrCb !== "object")
|
|
74
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
75
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
return this.send(command, optionsOrCb);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
getEarthObservationJob(args, optionsOrCb, cb) {
|
|
82
|
-
const command = new GetEarthObservationJobCommand_1.GetEarthObservationJobCommand(args);
|
|
83
|
-
if (typeof optionsOrCb === "function") {
|
|
84
|
-
this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
else if (typeof cb === "function") {
|
|
87
|
-
if (typeof optionsOrCb !== "object")
|
|
88
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
89
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
90
|
-
}
|
|
91
|
-
else {
|
|
92
|
-
return this.send(command, optionsOrCb);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
getRasterDataCollection(args, optionsOrCb, cb) {
|
|
96
|
-
const command = new GetRasterDataCollectionCommand_1.GetRasterDataCollectionCommand(args);
|
|
97
|
-
if (typeof optionsOrCb === "function") {
|
|
98
|
-
this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
else if (typeof cb === "function") {
|
|
101
|
-
if (typeof optionsOrCb !== "object")
|
|
102
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
103
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
104
|
-
}
|
|
105
|
-
else {
|
|
106
|
-
return this.send(command, optionsOrCb);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
getTile(args, optionsOrCb, cb) {
|
|
110
|
-
const command = new GetTileCommand_1.GetTileCommand(args);
|
|
111
|
-
if (typeof optionsOrCb === "function") {
|
|
112
|
-
this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
else if (typeof cb === "function") {
|
|
115
|
-
if (typeof optionsOrCb !== "object")
|
|
116
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
117
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
118
|
-
}
|
|
119
|
-
else {
|
|
120
|
-
return this.send(command, optionsOrCb);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
getVectorEnrichmentJob(args, optionsOrCb, cb) {
|
|
124
|
-
const command = new GetVectorEnrichmentJobCommand_1.GetVectorEnrichmentJobCommand(args);
|
|
125
|
-
if (typeof optionsOrCb === "function") {
|
|
126
|
-
this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
else if (typeof cb === "function") {
|
|
129
|
-
if (typeof optionsOrCb !== "object")
|
|
130
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
131
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
132
|
-
}
|
|
133
|
-
else {
|
|
134
|
-
return this.send(command, optionsOrCb);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
listEarthObservationJobs(args, optionsOrCb, cb) {
|
|
138
|
-
const command = new ListEarthObservationJobsCommand_1.ListEarthObservationJobsCommand(args);
|
|
139
|
-
if (typeof optionsOrCb === "function") {
|
|
140
|
-
this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
else if (typeof cb === "function") {
|
|
143
|
-
if (typeof optionsOrCb !== "object")
|
|
144
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
145
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
146
|
-
}
|
|
147
|
-
else {
|
|
148
|
-
return this.send(command, optionsOrCb);
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
listRasterDataCollections(args, optionsOrCb, cb) {
|
|
152
|
-
const command = new ListRasterDataCollectionsCommand_1.ListRasterDataCollectionsCommand(args);
|
|
153
|
-
if (typeof optionsOrCb === "function") {
|
|
154
|
-
this.send(command, optionsOrCb);
|
|
155
|
-
}
|
|
156
|
-
else if (typeof cb === "function") {
|
|
157
|
-
if (typeof optionsOrCb !== "object")
|
|
158
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
159
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
160
|
-
}
|
|
161
|
-
else {
|
|
162
|
-
return this.send(command, optionsOrCb);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
166
|
-
const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
|
|
167
|
-
if (typeof optionsOrCb === "function") {
|
|
168
|
-
this.send(command, optionsOrCb);
|
|
169
|
-
}
|
|
170
|
-
else if (typeof cb === "function") {
|
|
171
|
-
if (typeof optionsOrCb !== "object")
|
|
172
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
173
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
174
|
-
}
|
|
175
|
-
else {
|
|
176
|
-
return this.send(command, optionsOrCb);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
listVectorEnrichmentJobs(args, optionsOrCb, cb) {
|
|
180
|
-
const command = new ListVectorEnrichmentJobsCommand_1.ListVectorEnrichmentJobsCommand(args);
|
|
181
|
-
if (typeof optionsOrCb === "function") {
|
|
182
|
-
this.send(command, optionsOrCb);
|
|
183
|
-
}
|
|
184
|
-
else if (typeof cb === "function") {
|
|
185
|
-
if (typeof optionsOrCb !== "object")
|
|
186
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
187
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
188
|
-
}
|
|
189
|
-
else {
|
|
190
|
-
return this.send(command, optionsOrCb);
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
searchRasterDataCollection(args, optionsOrCb, cb) {
|
|
194
|
-
const command = new SearchRasterDataCollectionCommand_1.SearchRasterDataCollectionCommand(args);
|
|
195
|
-
if (typeof optionsOrCb === "function") {
|
|
196
|
-
this.send(command, optionsOrCb);
|
|
197
|
-
}
|
|
198
|
-
else if (typeof cb === "function") {
|
|
199
|
-
if (typeof optionsOrCb !== "object")
|
|
200
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
201
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
202
|
-
}
|
|
203
|
-
else {
|
|
204
|
-
return this.send(command, optionsOrCb);
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
startEarthObservationJob(args, optionsOrCb, cb) {
|
|
208
|
-
const command = new StartEarthObservationJobCommand_1.StartEarthObservationJobCommand(args);
|
|
209
|
-
if (typeof optionsOrCb === "function") {
|
|
210
|
-
this.send(command, optionsOrCb);
|
|
211
|
-
}
|
|
212
|
-
else if (typeof cb === "function") {
|
|
213
|
-
if (typeof optionsOrCb !== "object")
|
|
214
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
215
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
216
|
-
}
|
|
217
|
-
else {
|
|
218
|
-
return this.send(command, optionsOrCb);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
startVectorEnrichmentJob(args, optionsOrCb, cb) {
|
|
222
|
-
const command = new StartVectorEnrichmentJobCommand_1.StartVectorEnrichmentJobCommand(args);
|
|
223
|
-
if (typeof optionsOrCb === "function") {
|
|
224
|
-
this.send(command, optionsOrCb);
|
|
225
|
-
}
|
|
226
|
-
else if (typeof cb === "function") {
|
|
227
|
-
if (typeof optionsOrCb !== "object")
|
|
228
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
229
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
230
|
-
}
|
|
231
|
-
else {
|
|
232
|
-
return this.send(command, optionsOrCb);
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
stopEarthObservationJob(args, optionsOrCb, cb) {
|
|
236
|
-
const command = new StopEarthObservationJobCommand_1.StopEarthObservationJobCommand(args);
|
|
237
|
-
if (typeof optionsOrCb === "function") {
|
|
238
|
-
this.send(command, optionsOrCb);
|
|
239
|
-
}
|
|
240
|
-
else if (typeof cb === "function") {
|
|
241
|
-
if (typeof optionsOrCb !== "object")
|
|
242
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
243
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
244
|
-
}
|
|
245
|
-
else {
|
|
246
|
-
return this.send(command, optionsOrCb);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
stopVectorEnrichmentJob(args, optionsOrCb, cb) {
|
|
250
|
-
const command = new StopVectorEnrichmentJobCommand_1.StopVectorEnrichmentJobCommand(args);
|
|
251
|
-
if (typeof optionsOrCb === "function") {
|
|
252
|
-
this.send(command, optionsOrCb);
|
|
253
|
-
}
|
|
254
|
-
else if (typeof cb === "function") {
|
|
255
|
-
if (typeof optionsOrCb !== "object")
|
|
256
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
257
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
258
|
-
}
|
|
259
|
-
else {
|
|
260
|
-
return this.send(command, optionsOrCb);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
tagResource(args, optionsOrCb, cb) {
|
|
264
|
-
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
265
|
-
if (typeof optionsOrCb === "function") {
|
|
266
|
-
this.send(command, optionsOrCb);
|
|
267
|
-
}
|
|
268
|
-
else if (typeof cb === "function") {
|
|
269
|
-
if (typeof optionsOrCb !== "object")
|
|
270
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
271
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
272
|
-
}
|
|
273
|
-
else {
|
|
274
|
-
return this.send(command, optionsOrCb);
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
untagResource(args, optionsOrCb, cb) {
|
|
278
|
-
const command = new UntagResourceCommand_1.UntagResourceCommand(args);
|
|
279
|
-
if (typeof optionsOrCb === "function") {
|
|
280
|
-
this.send(command, optionsOrCb);
|
|
281
|
-
}
|
|
282
|
-
else if (typeof cb === "function") {
|
|
283
|
-
if (typeof optionsOrCb !== "object")
|
|
284
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
285
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
286
|
-
}
|
|
287
|
-
else {
|
|
288
|
-
return this.send(command, optionsOrCb);
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
47
|
}
|
|
292
48
|
exports.SageMakerGeospatial = SageMakerGeospatial;
|
|
49
|
+
(0, smithy_client_1.createAggregatedClient)(commands, SageMakerGeospatial);
|
|
@@ -49,7 +49,7 @@ const se_ExportEarthObservationJobCommand = async (input, context) => {
|
|
|
49
49
|
let body;
|
|
50
50
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
51
51
|
Arn: [],
|
|
52
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
52
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
53
53
|
ExecutionRoleArn: [],
|
|
54
54
|
ExportSourceImages: [],
|
|
55
55
|
OutputConfig: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -74,7 +74,7 @@ const se_ExportVectorEnrichmentJobCommand = async (input, context) => {
|
|
|
74
74
|
let body;
|
|
75
75
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
76
76
|
Arn: [],
|
|
77
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
77
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
78
78
|
ExecutionRoleArn: [],
|
|
79
79
|
OutputConfig: (_) => (0, smithy_client_1._json)(_),
|
|
80
80
|
}));
|
|
@@ -293,7 +293,7 @@ const se_StartEarthObservationJobCommand = async (input, context) => {
|
|
|
293
293
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/earth-observation-jobs";
|
|
294
294
|
let body;
|
|
295
295
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
296
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
296
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
297
297
|
ExecutionRoleArn: [],
|
|
298
298
|
InputConfig: (_) => se_InputConfigInput(_, context),
|
|
299
299
|
JobConfig: (_) => se_JobConfigInput(_, context),
|
|
@@ -320,7 +320,7 @@ const se_StartVectorEnrichmentJobCommand = async (input, context) => {
|
|
|
320
320
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/vector-enrichment-jobs";
|
|
321
321
|
let body;
|
|
322
322
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
323
|
-
ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
323
|
+
ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
324
324
|
ExecutionRoleArn: [],
|
|
325
325
|
InputConfig: (_) => (0, smithy_client_1._json)(_),
|
|
326
326
|
JobConfig: (_) => (0, smithy_client_1._json)(_),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { DeleteEarthObservationJobCommand, } from "./commands/DeleteEarthObservationJobCommand";
|
|
2
3
|
import { DeleteVectorEnrichmentJobCommand, } from "./commands/DeleteVectorEnrichmentJobCommand";
|
|
3
4
|
import { ExportEarthObservationJobCommand, } from "./commands/ExportEarthObservationJobCommand";
|
|
@@ -18,271 +19,27 @@ import { StopVectorEnrichmentJobCommand, } from "./commands/StopVectorEnrichment
|
|
|
18
19
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
19
20
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
20
21
|
import { SageMakerGeospatialClient } from "./SageMakerGeospatialClient";
|
|
22
|
+
const commands = {
|
|
23
|
+
DeleteEarthObservationJobCommand,
|
|
24
|
+
DeleteVectorEnrichmentJobCommand,
|
|
25
|
+
ExportEarthObservationJobCommand,
|
|
26
|
+
ExportVectorEnrichmentJobCommand,
|
|
27
|
+
GetEarthObservationJobCommand,
|
|
28
|
+
GetRasterDataCollectionCommand,
|
|
29
|
+
GetTileCommand,
|
|
30
|
+
GetVectorEnrichmentJobCommand,
|
|
31
|
+
ListEarthObservationJobsCommand,
|
|
32
|
+
ListRasterDataCollectionsCommand,
|
|
33
|
+
ListTagsForResourceCommand,
|
|
34
|
+
ListVectorEnrichmentJobsCommand,
|
|
35
|
+
SearchRasterDataCollectionCommand,
|
|
36
|
+
StartEarthObservationJobCommand,
|
|
37
|
+
StartVectorEnrichmentJobCommand,
|
|
38
|
+
StopEarthObservationJobCommand,
|
|
39
|
+
StopVectorEnrichmentJobCommand,
|
|
40
|
+
TagResourceCommand,
|
|
41
|
+
UntagResourceCommand,
|
|
42
|
+
};
|
|
21
43
|
export class SageMakerGeospatial extends SageMakerGeospatialClient {
|
|
22
|
-
deleteEarthObservationJob(args, optionsOrCb, cb) {
|
|
23
|
-
const command = new DeleteEarthObservationJobCommand(args);
|
|
24
|
-
if (typeof optionsOrCb === "function") {
|
|
25
|
-
this.send(command, optionsOrCb);
|
|
26
|
-
}
|
|
27
|
-
else if (typeof cb === "function") {
|
|
28
|
-
if (typeof optionsOrCb !== "object")
|
|
29
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
30
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
31
|
-
}
|
|
32
|
-
else {
|
|
33
|
-
return this.send(command, optionsOrCb);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
deleteVectorEnrichmentJob(args, optionsOrCb, cb) {
|
|
37
|
-
const command = new DeleteVectorEnrichmentJobCommand(args);
|
|
38
|
-
if (typeof optionsOrCb === "function") {
|
|
39
|
-
this.send(command, optionsOrCb);
|
|
40
|
-
}
|
|
41
|
-
else if (typeof cb === "function") {
|
|
42
|
-
if (typeof optionsOrCb !== "object")
|
|
43
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
44
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
45
|
-
}
|
|
46
|
-
else {
|
|
47
|
-
return this.send(command, optionsOrCb);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
exportEarthObservationJob(args, optionsOrCb, cb) {
|
|
51
|
-
const command = new ExportEarthObservationJobCommand(args);
|
|
52
|
-
if (typeof optionsOrCb === "function") {
|
|
53
|
-
this.send(command, optionsOrCb);
|
|
54
|
-
}
|
|
55
|
-
else if (typeof cb === "function") {
|
|
56
|
-
if (typeof optionsOrCb !== "object")
|
|
57
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
58
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
return this.send(command, optionsOrCb);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
exportVectorEnrichmentJob(args, optionsOrCb, cb) {
|
|
65
|
-
const command = new ExportVectorEnrichmentJobCommand(args);
|
|
66
|
-
if (typeof optionsOrCb === "function") {
|
|
67
|
-
this.send(command, optionsOrCb);
|
|
68
|
-
}
|
|
69
|
-
else if (typeof cb === "function") {
|
|
70
|
-
if (typeof optionsOrCb !== "object")
|
|
71
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
72
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
return this.send(command, optionsOrCb);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
getEarthObservationJob(args, optionsOrCb, cb) {
|
|
79
|
-
const command = new GetEarthObservationJobCommand(args);
|
|
80
|
-
if (typeof optionsOrCb === "function") {
|
|
81
|
-
this.send(command, optionsOrCb);
|
|
82
|
-
}
|
|
83
|
-
else if (typeof cb === "function") {
|
|
84
|
-
if (typeof optionsOrCb !== "object")
|
|
85
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
86
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
return this.send(command, optionsOrCb);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
getRasterDataCollection(args, optionsOrCb, cb) {
|
|
93
|
-
const command = new GetRasterDataCollectionCommand(args);
|
|
94
|
-
if (typeof optionsOrCb === "function") {
|
|
95
|
-
this.send(command, optionsOrCb);
|
|
96
|
-
}
|
|
97
|
-
else if (typeof cb === "function") {
|
|
98
|
-
if (typeof optionsOrCb !== "object")
|
|
99
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
100
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
101
|
-
}
|
|
102
|
-
else {
|
|
103
|
-
return this.send(command, optionsOrCb);
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
getTile(args, optionsOrCb, cb) {
|
|
107
|
-
const command = new GetTileCommand(args);
|
|
108
|
-
if (typeof optionsOrCb === "function") {
|
|
109
|
-
this.send(command, optionsOrCb);
|
|
110
|
-
}
|
|
111
|
-
else if (typeof cb === "function") {
|
|
112
|
-
if (typeof optionsOrCb !== "object")
|
|
113
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
114
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
115
|
-
}
|
|
116
|
-
else {
|
|
117
|
-
return this.send(command, optionsOrCb);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
getVectorEnrichmentJob(args, optionsOrCb, cb) {
|
|
121
|
-
const command = new GetVectorEnrichmentJobCommand(args);
|
|
122
|
-
if (typeof optionsOrCb === "function") {
|
|
123
|
-
this.send(command, optionsOrCb);
|
|
124
|
-
}
|
|
125
|
-
else if (typeof cb === "function") {
|
|
126
|
-
if (typeof optionsOrCb !== "object")
|
|
127
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
128
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
129
|
-
}
|
|
130
|
-
else {
|
|
131
|
-
return this.send(command, optionsOrCb);
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
listEarthObservationJobs(args, optionsOrCb, cb) {
|
|
135
|
-
const command = new ListEarthObservationJobsCommand(args);
|
|
136
|
-
if (typeof optionsOrCb === "function") {
|
|
137
|
-
this.send(command, optionsOrCb);
|
|
138
|
-
}
|
|
139
|
-
else if (typeof cb === "function") {
|
|
140
|
-
if (typeof optionsOrCb !== "object")
|
|
141
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
142
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
143
|
-
}
|
|
144
|
-
else {
|
|
145
|
-
return this.send(command, optionsOrCb);
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
listRasterDataCollections(args, optionsOrCb, cb) {
|
|
149
|
-
const command = new ListRasterDataCollectionsCommand(args);
|
|
150
|
-
if (typeof optionsOrCb === "function") {
|
|
151
|
-
this.send(command, optionsOrCb);
|
|
152
|
-
}
|
|
153
|
-
else if (typeof cb === "function") {
|
|
154
|
-
if (typeof optionsOrCb !== "object")
|
|
155
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
156
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
157
|
-
}
|
|
158
|
-
else {
|
|
159
|
-
return this.send(command, optionsOrCb);
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
listTagsForResource(args, optionsOrCb, cb) {
|
|
163
|
-
const command = new ListTagsForResourceCommand(args);
|
|
164
|
-
if (typeof optionsOrCb === "function") {
|
|
165
|
-
this.send(command, optionsOrCb);
|
|
166
|
-
}
|
|
167
|
-
else if (typeof cb === "function") {
|
|
168
|
-
if (typeof optionsOrCb !== "object")
|
|
169
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
170
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
171
|
-
}
|
|
172
|
-
else {
|
|
173
|
-
return this.send(command, optionsOrCb);
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
listVectorEnrichmentJobs(args, optionsOrCb, cb) {
|
|
177
|
-
const command = new ListVectorEnrichmentJobsCommand(args);
|
|
178
|
-
if (typeof optionsOrCb === "function") {
|
|
179
|
-
this.send(command, optionsOrCb);
|
|
180
|
-
}
|
|
181
|
-
else if (typeof cb === "function") {
|
|
182
|
-
if (typeof optionsOrCb !== "object")
|
|
183
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
184
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
185
|
-
}
|
|
186
|
-
else {
|
|
187
|
-
return this.send(command, optionsOrCb);
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
searchRasterDataCollection(args, optionsOrCb, cb) {
|
|
191
|
-
const command = new SearchRasterDataCollectionCommand(args);
|
|
192
|
-
if (typeof optionsOrCb === "function") {
|
|
193
|
-
this.send(command, optionsOrCb);
|
|
194
|
-
}
|
|
195
|
-
else if (typeof cb === "function") {
|
|
196
|
-
if (typeof optionsOrCb !== "object")
|
|
197
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
198
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
199
|
-
}
|
|
200
|
-
else {
|
|
201
|
-
return this.send(command, optionsOrCb);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
startEarthObservationJob(args, optionsOrCb, cb) {
|
|
205
|
-
const command = new StartEarthObservationJobCommand(args);
|
|
206
|
-
if (typeof optionsOrCb === "function") {
|
|
207
|
-
this.send(command, optionsOrCb);
|
|
208
|
-
}
|
|
209
|
-
else if (typeof cb === "function") {
|
|
210
|
-
if (typeof optionsOrCb !== "object")
|
|
211
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
212
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
213
|
-
}
|
|
214
|
-
else {
|
|
215
|
-
return this.send(command, optionsOrCb);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
startVectorEnrichmentJob(args, optionsOrCb, cb) {
|
|
219
|
-
const command = new StartVectorEnrichmentJobCommand(args);
|
|
220
|
-
if (typeof optionsOrCb === "function") {
|
|
221
|
-
this.send(command, optionsOrCb);
|
|
222
|
-
}
|
|
223
|
-
else if (typeof cb === "function") {
|
|
224
|
-
if (typeof optionsOrCb !== "object")
|
|
225
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
226
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
227
|
-
}
|
|
228
|
-
else {
|
|
229
|
-
return this.send(command, optionsOrCb);
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
stopEarthObservationJob(args, optionsOrCb, cb) {
|
|
233
|
-
const command = new StopEarthObservationJobCommand(args);
|
|
234
|
-
if (typeof optionsOrCb === "function") {
|
|
235
|
-
this.send(command, optionsOrCb);
|
|
236
|
-
}
|
|
237
|
-
else if (typeof cb === "function") {
|
|
238
|
-
if (typeof optionsOrCb !== "object")
|
|
239
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
240
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
241
|
-
}
|
|
242
|
-
else {
|
|
243
|
-
return this.send(command, optionsOrCb);
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
stopVectorEnrichmentJob(args, optionsOrCb, cb) {
|
|
247
|
-
const command = new StopVectorEnrichmentJobCommand(args);
|
|
248
|
-
if (typeof optionsOrCb === "function") {
|
|
249
|
-
this.send(command, optionsOrCb);
|
|
250
|
-
}
|
|
251
|
-
else if (typeof cb === "function") {
|
|
252
|
-
if (typeof optionsOrCb !== "object")
|
|
253
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
254
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
255
|
-
}
|
|
256
|
-
else {
|
|
257
|
-
return this.send(command, optionsOrCb);
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
tagResource(args, optionsOrCb, cb) {
|
|
261
|
-
const command = new TagResourceCommand(args);
|
|
262
|
-
if (typeof optionsOrCb === "function") {
|
|
263
|
-
this.send(command, optionsOrCb);
|
|
264
|
-
}
|
|
265
|
-
else if (typeof cb === "function") {
|
|
266
|
-
if (typeof optionsOrCb !== "object")
|
|
267
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
268
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
269
|
-
}
|
|
270
|
-
else {
|
|
271
|
-
return this.send(command, optionsOrCb);
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
untagResource(args, optionsOrCb, cb) {
|
|
275
|
-
const command = new UntagResourceCommand(args);
|
|
276
|
-
if (typeof optionsOrCb === "function") {
|
|
277
|
-
this.send(command, optionsOrCb);
|
|
278
|
-
}
|
|
279
|
-
else if (typeof cb === "function") {
|
|
280
|
-
if (typeof optionsOrCb !== "object")
|
|
281
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
282
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
283
|
-
}
|
|
284
|
-
else {
|
|
285
|
-
return this.send(command, optionsOrCb);
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
44
|
}
|
|
45
|
+
createAggregatedClient(commands, SageMakerGeospatial);
|
|
@@ -44,7 +44,7 @@ export const se_ExportEarthObservationJobCommand = async (input, context) => {
|
|
|
44
44
|
let body;
|
|
45
45
|
body = JSON.stringify(take(input, {
|
|
46
46
|
Arn: [],
|
|
47
|
-
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
47
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
48
48
|
ExecutionRoleArn: [],
|
|
49
49
|
ExportSourceImages: [],
|
|
50
50
|
OutputConfig: (_) => _json(_),
|
|
@@ -68,7 +68,7 @@ export const se_ExportVectorEnrichmentJobCommand = async (input, context) => {
|
|
|
68
68
|
let body;
|
|
69
69
|
body = JSON.stringify(take(input, {
|
|
70
70
|
Arn: [],
|
|
71
|
-
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
71
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
72
72
|
ExecutionRoleArn: [],
|
|
73
73
|
OutputConfig: (_) => _json(_),
|
|
74
74
|
}));
|
|
@@ -277,7 +277,7 @@ export const se_StartEarthObservationJobCommand = async (input, context) => {
|
|
|
277
277
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/earth-observation-jobs";
|
|
278
278
|
let body;
|
|
279
279
|
body = JSON.stringify(take(input, {
|
|
280
|
-
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
280
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
281
281
|
ExecutionRoleArn: [],
|
|
282
282
|
InputConfig: (_) => se_InputConfigInput(_, context),
|
|
283
283
|
JobConfig: (_) => se_JobConfigInput(_, context),
|
|
@@ -303,7 +303,7 @@ export const se_StartVectorEnrichmentJobCommand = async (input, context) => {
|
|
|
303
303
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/vector-enrichment-jobs";
|
|
304
304
|
let body;
|
|
305
305
|
body = JSON.stringify(take(input, {
|
|
306
|
-
ClientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
306
|
+
ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
307
307
|
ExecutionRoleArn: [],
|
|
308
308
|
InputConfig: (_) => _json(_),
|
|
309
309
|
JobConfig: (_) => _json(_),
|
|
@@ -19,142 +19,125 @@ import { StopVectorEnrichmentJobCommandInput, StopVectorEnrichmentJobCommandOutp
|
|
|
19
19
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
20
20
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
21
21
|
import { SageMakerGeospatialClient } from "./SageMakerGeospatialClient";
|
|
22
|
-
|
|
23
|
-
* @public
|
|
24
|
-
* <p>Provides APIs for creating and managing SageMaker geospatial resources.</p>
|
|
25
|
-
*/
|
|
26
|
-
export declare class SageMakerGeospatial extends SageMakerGeospatialClient {
|
|
22
|
+
export interface SageMakerGeospatial {
|
|
27
23
|
/**
|
|
28
|
-
* @
|
|
29
|
-
* <p>Use this operation to delete an Earth Observation job.</p>
|
|
24
|
+
* @see {@link DeleteEarthObservationJobCommand}
|
|
30
25
|
*/
|
|
31
26
|
deleteEarthObservationJob(args: DeleteEarthObservationJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEarthObservationJobCommandOutput>;
|
|
32
27
|
deleteEarthObservationJob(args: DeleteEarthObservationJobCommandInput, cb: (err: any, data?: DeleteEarthObservationJobCommandOutput) => void): void;
|
|
33
28
|
deleteEarthObservationJob(args: DeleteEarthObservationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEarthObservationJobCommandOutput) => void): void;
|
|
34
29
|
/**
|
|
35
|
-
* @
|
|
36
|
-
* <p>Use this operation to delete a Vector Enrichment job.</p>
|
|
30
|
+
* @see {@link DeleteVectorEnrichmentJobCommand}
|
|
37
31
|
*/
|
|
38
32
|
deleteVectorEnrichmentJob(args: DeleteVectorEnrichmentJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVectorEnrichmentJobCommandOutput>;
|
|
39
33
|
deleteVectorEnrichmentJob(args: DeleteVectorEnrichmentJobCommandInput, cb: (err: any, data?: DeleteVectorEnrichmentJobCommandOutput) => void): void;
|
|
40
34
|
deleteVectorEnrichmentJob(args: DeleteVectorEnrichmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVectorEnrichmentJobCommandOutput) => void): void;
|
|
41
35
|
/**
|
|
42
|
-
* @
|
|
43
|
-
* <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>
|
|
36
|
+
* @see {@link ExportEarthObservationJobCommand}
|
|
44
37
|
*/
|
|
45
38
|
exportEarthObservationJob(args: ExportEarthObservationJobCommandInput, options?: __HttpHandlerOptions): Promise<ExportEarthObservationJobCommandOutput>;
|
|
46
39
|
exportEarthObservationJob(args: ExportEarthObservationJobCommandInput, cb: (err: any, data?: ExportEarthObservationJobCommandOutput) => void): void;
|
|
47
40
|
exportEarthObservationJob(args: ExportEarthObservationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportEarthObservationJobCommandOutput) => void): void;
|
|
48
41
|
/**
|
|
49
|
-
* @
|
|
50
|
-
* <p>Use this operation to copy results of a Vector Enrichment job to an Amazon S3 location.</p>
|
|
42
|
+
* @see {@link ExportVectorEnrichmentJobCommand}
|
|
51
43
|
*/
|
|
52
44
|
exportVectorEnrichmentJob(args: ExportVectorEnrichmentJobCommandInput, options?: __HttpHandlerOptions): Promise<ExportVectorEnrichmentJobCommandOutput>;
|
|
53
45
|
exportVectorEnrichmentJob(args: ExportVectorEnrichmentJobCommandInput, cb: (err: any, data?: ExportVectorEnrichmentJobCommandOutput) => void): void;
|
|
54
46
|
exportVectorEnrichmentJob(args: ExportVectorEnrichmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportVectorEnrichmentJobCommandOutput) => void): void;
|
|
55
47
|
/**
|
|
56
|
-
* @
|
|
57
|
-
* <p>Get the details for a previously initiated Earth Observation job.</p>
|
|
48
|
+
* @see {@link GetEarthObservationJobCommand}
|
|
58
49
|
*/
|
|
59
50
|
getEarthObservationJob(args: GetEarthObservationJobCommandInput, options?: __HttpHandlerOptions): Promise<GetEarthObservationJobCommandOutput>;
|
|
60
51
|
getEarthObservationJob(args: GetEarthObservationJobCommandInput, cb: (err: any, data?: GetEarthObservationJobCommandOutput) => void): void;
|
|
61
52
|
getEarthObservationJob(args: GetEarthObservationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEarthObservationJobCommandOutput) => void): void;
|
|
62
53
|
/**
|
|
63
|
-
* @
|
|
64
|
-
* <p>Use this operation to get details of a specific raster data collection.</p>
|
|
54
|
+
* @see {@link GetRasterDataCollectionCommand}
|
|
65
55
|
*/
|
|
66
56
|
getRasterDataCollection(args: GetRasterDataCollectionCommandInput, options?: __HttpHandlerOptions): Promise<GetRasterDataCollectionCommandOutput>;
|
|
67
57
|
getRasterDataCollection(args: GetRasterDataCollectionCommandInput, cb: (err: any, data?: GetRasterDataCollectionCommandOutput) => void): void;
|
|
68
58
|
getRasterDataCollection(args: GetRasterDataCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRasterDataCollectionCommandOutput) => void): void;
|
|
69
59
|
/**
|
|
70
|
-
* @
|
|
71
|
-
* <p>Gets a web mercator tile for the given Earth Observation job.</p>
|
|
60
|
+
* @see {@link GetTileCommand}
|
|
72
61
|
*/
|
|
73
62
|
getTile(args: GetTileCommandInput, options?: __HttpHandlerOptions): Promise<GetTileCommandOutput>;
|
|
74
63
|
getTile(args: GetTileCommandInput, cb: (err: any, data?: GetTileCommandOutput) => void): void;
|
|
75
64
|
getTile(args: GetTileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTileCommandOutput) => void): void;
|
|
76
65
|
/**
|
|
77
|
-
* @
|
|
78
|
-
* <p>Retrieves details of a Vector Enrichment Job for a given job Amazon Resource Name (ARN).</p>
|
|
66
|
+
* @see {@link GetVectorEnrichmentJobCommand}
|
|
79
67
|
*/
|
|
80
68
|
getVectorEnrichmentJob(args: GetVectorEnrichmentJobCommandInput, options?: __HttpHandlerOptions): Promise<GetVectorEnrichmentJobCommandOutput>;
|
|
81
69
|
getVectorEnrichmentJob(args: GetVectorEnrichmentJobCommandInput, cb: (err: any, data?: GetVectorEnrichmentJobCommandOutput) => void): void;
|
|
82
70
|
getVectorEnrichmentJob(args: GetVectorEnrichmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVectorEnrichmentJobCommandOutput) => void): void;
|
|
83
71
|
/**
|
|
84
|
-
* @
|
|
85
|
-
* <p>Use this operation to get a list of the Earth Observation jobs associated with the calling Amazon Web Services account.</p>
|
|
72
|
+
* @see {@link ListEarthObservationJobsCommand}
|
|
86
73
|
*/
|
|
87
74
|
listEarthObservationJobs(args: ListEarthObservationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListEarthObservationJobsCommandOutput>;
|
|
88
75
|
listEarthObservationJobs(args: ListEarthObservationJobsCommandInput, cb: (err: any, data?: ListEarthObservationJobsCommandOutput) => void): void;
|
|
89
76
|
listEarthObservationJobs(args: ListEarthObservationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEarthObservationJobsCommandOutput) => void): void;
|
|
90
77
|
/**
|
|
91
|
-
* @
|
|
92
|
-
* <p>Use this operation to get raster data collections.</p>
|
|
78
|
+
* @see {@link ListRasterDataCollectionsCommand}
|
|
93
79
|
*/
|
|
94
80
|
listRasterDataCollections(args: ListRasterDataCollectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRasterDataCollectionsCommandOutput>;
|
|
95
81
|
listRasterDataCollections(args: ListRasterDataCollectionsCommandInput, cb: (err: any, data?: ListRasterDataCollectionsCommandOutput) => void): void;
|
|
96
82
|
listRasterDataCollections(args: ListRasterDataCollectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRasterDataCollectionsCommandOutput) => void): void;
|
|
97
83
|
/**
|
|
98
|
-
* @
|
|
99
|
-
* <p>Lists the tags attached to the resource.</p>
|
|
84
|
+
* @see {@link ListTagsForResourceCommand}
|
|
100
85
|
*/
|
|
101
86
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
102
87
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
103
88
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
104
89
|
/**
|
|
105
|
-
* @
|
|
106
|
-
* <p>Retrieves a list of vector enrichment jobs.</p>
|
|
90
|
+
* @see {@link ListVectorEnrichmentJobsCommand}
|
|
107
91
|
*/
|
|
108
92
|
listVectorEnrichmentJobs(args: ListVectorEnrichmentJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListVectorEnrichmentJobsCommandOutput>;
|
|
109
93
|
listVectorEnrichmentJobs(args: ListVectorEnrichmentJobsCommandInput, cb: (err: any, data?: ListVectorEnrichmentJobsCommandOutput) => void): void;
|
|
110
94
|
listVectorEnrichmentJobs(args: ListVectorEnrichmentJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVectorEnrichmentJobsCommandOutput) => void): void;
|
|
111
95
|
/**
|
|
112
|
-
* @
|
|
113
|
-
* <p>Allows you run image query on a specific raster data collection to get a list of the satellite imagery matching the selected filters.</p>
|
|
96
|
+
* @see {@link SearchRasterDataCollectionCommand}
|
|
114
97
|
*/
|
|
115
98
|
searchRasterDataCollection(args: SearchRasterDataCollectionCommandInput, options?: __HttpHandlerOptions): Promise<SearchRasterDataCollectionCommandOutput>;
|
|
116
99
|
searchRasterDataCollection(args: SearchRasterDataCollectionCommandInput, cb: (err: any, data?: SearchRasterDataCollectionCommandOutput) => void): void;
|
|
117
100
|
searchRasterDataCollection(args: SearchRasterDataCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchRasterDataCollectionCommandOutput) => void): void;
|
|
118
101
|
/**
|
|
119
|
-
* @
|
|
120
|
-
* <p>Use this operation to create an Earth observation job.</p>
|
|
102
|
+
* @see {@link StartEarthObservationJobCommand}
|
|
121
103
|
*/
|
|
122
104
|
startEarthObservationJob(args: StartEarthObservationJobCommandInput, options?: __HttpHandlerOptions): Promise<StartEarthObservationJobCommandOutput>;
|
|
123
105
|
startEarthObservationJob(args: StartEarthObservationJobCommandInput, cb: (err: any, data?: StartEarthObservationJobCommandOutput) => void): void;
|
|
124
106
|
startEarthObservationJob(args: StartEarthObservationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartEarthObservationJobCommandOutput) => void): void;
|
|
125
107
|
/**
|
|
126
|
-
* @
|
|
127
|
-
* <p>Creates a Vector Enrichment job for the supplied job type. Currently, there are two supported job types: reverse geocoding and map matching.</p>
|
|
108
|
+
* @see {@link StartVectorEnrichmentJobCommand}
|
|
128
109
|
*/
|
|
129
110
|
startVectorEnrichmentJob(args: StartVectorEnrichmentJobCommandInput, options?: __HttpHandlerOptions): Promise<StartVectorEnrichmentJobCommandOutput>;
|
|
130
111
|
startVectorEnrichmentJob(args: StartVectorEnrichmentJobCommandInput, cb: (err: any, data?: StartVectorEnrichmentJobCommandOutput) => void): void;
|
|
131
112
|
startVectorEnrichmentJob(args: StartVectorEnrichmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartVectorEnrichmentJobCommandOutput) => void): void;
|
|
132
113
|
/**
|
|
133
|
-
* @
|
|
134
|
-
* <p>Use this operation to stop an existing earth observation job.</p>
|
|
114
|
+
* @see {@link StopEarthObservationJobCommand}
|
|
135
115
|
*/
|
|
136
116
|
stopEarthObservationJob(args: StopEarthObservationJobCommandInput, options?: __HttpHandlerOptions): Promise<StopEarthObservationJobCommandOutput>;
|
|
137
117
|
stopEarthObservationJob(args: StopEarthObservationJobCommandInput, cb: (err: any, data?: StopEarthObservationJobCommandOutput) => void): void;
|
|
138
118
|
stopEarthObservationJob(args: StopEarthObservationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopEarthObservationJobCommandOutput) => void): void;
|
|
139
119
|
/**
|
|
140
|
-
* @
|
|
141
|
-
* <p>Stops the Vector Enrichment job for a given job ARN.</p>
|
|
120
|
+
* @see {@link StopVectorEnrichmentJobCommand}
|
|
142
121
|
*/
|
|
143
122
|
stopVectorEnrichmentJob(args: StopVectorEnrichmentJobCommandInput, options?: __HttpHandlerOptions): Promise<StopVectorEnrichmentJobCommandOutput>;
|
|
144
123
|
stopVectorEnrichmentJob(args: StopVectorEnrichmentJobCommandInput, cb: (err: any, data?: StopVectorEnrichmentJobCommandOutput) => void): void;
|
|
145
124
|
stopVectorEnrichmentJob(args: StopVectorEnrichmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopVectorEnrichmentJobCommandOutput) => void): void;
|
|
146
125
|
/**
|
|
147
|
-
* @
|
|
148
|
-
* <p>The resource you want to tag.</p>
|
|
126
|
+
* @see {@link TagResourceCommand}
|
|
149
127
|
*/
|
|
150
128
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
151
129
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
152
130
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
153
131
|
/**
|
|
154
|
-
* @
|
|
155
|
-
* <p>The resource you want to untag.</p>
|
|
132
|
+
* @see {@link UntagResourceCommand}
|
|
156
133
|
*/
|
|
157
134
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
158
135
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
159
136
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
160
137
|
}
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* <p>Provides APIs for creating and managing SageMaker geospatial resources.</p>
|
|
141
|
+
*/
|
|
142
|
+
export declare class SageMakerGeospatial extends SageMakerGeospatialClient implements SageMakerGeospatial {
|
|
143
|
+
}
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
UntagResourceCommandOutput,
|
|
77
77
|
} from "./commands/UntagResourceCommand";
|
|
78
78
|
import { SageMakerGeospatialClient } from "./SageMakerGeospatialClient";
|
|
79
|
-
export
|
|
79
|
+
export interface SageMakerGeospatial {
|
|
80
80
|
deleteEarthObservationJob(
|
|
81
81
|
args: DeleteEarthObservationJobCommandInput,
|
|
82
82
|
options?: __HttpHandlerOptions
|
|
@@ -325,3 +325,6 @@ export declare class SageMakerGeospatial extends SageMakerGeospatialClient {
|
|
|
325
325
|
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
326
326
|
): void;
|
|
327
327
|
}
|
|
328
|
+
export declare class SageMakerGeospatial
|
|
329
|
+
extends SageMakerGeospatialClient
|
|
330
|
+
implements SageMakerGeospatial {}
|
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.
|
|
4
|
+
"version": "3.319.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-stream-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-stream-node": "3.310.0",
|