@aws-sdk/client-sagemaker-geospatial 3.312.0 → 3.316.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 +458 -1084
- package/dist-es/SageMakerGeospatial.js +23 -266
- package/dist-es/protocols/Aws_restJson1.js +431 -1057
- package/dist-types/SageMakerGeospatial.d.ts +26 -43
- package/dist-types/ts3.4/SageMakerGeospatial.d.ts +4 -1
- package/package.json +6 -6
|
@@ -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);
|