@aws-sdk/client-sagemaker-geospatial 3.301.0 → 3.303.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +152 -173
- package/dist-cjs/protocols/Aws_restJson1.js +17 -16
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +148 -170
- package/dist-es/protocols/Aws_restJson1.js +18 -17
- package/dist-types/SageMakerGeospatial.d.ts +2 -2
- package/dist-types/commands/DeleteEarthObservationJobCommand.d.ts +2 -2
- package/dist-types/commands/DeleteVectorEnrichmentJobCommand.d.ts +2 -2
- package/dist-types/commands/ExportEarthObservationJobCommand.d.ts +4 -3
- package/dist-types/commands/ExportVectorEnrichmentJobCommand.d.ts +4 -3
- package/dist-types/commands/GetEarthObservationJobCommand.d.ts +1 -1
- package/dist-types/commands/GetRasterDataCollectionCommand.d.ts +1 -1
- package/dist-types/commands/GetTileCommand.d.ts +2 -1
- package/dist-types/commands/GetVectorEnrichmentJobCommand.d.ts +1 -1
- package/dist-types/commands/ListEarthObservationJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListRasterDataCollectionsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListVectorEnrichmentJobsCommand.d.ts +1 -1
- package/dist-types/commands/SearchRasterDataCollectionCommand.d.ts +1 -1
- package/dist-types/commands/StartEarthObservationJobCommand.d.ts +3 -2
- package/dist-types/commands/StartVectorEnrichmentJobCommand.d.ts +2 -2
- package/dist-types/commands/StopEarthObservationJobCommand.d.ts +2 -2
- package/dist-types/commands/StopVectorEnrichmentJobCommand.d.ts +2 -2
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +519 -302
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +210 -154
- package/package.json +36 -36
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const r = "fn", s = "argv", t = "ref";
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://sagemaker-geospatial-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://sagemaker-geospatial-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://sagemaker-geospatial.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://sagemaker-geospatial.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ListEarthObservationJobOutputFilterSensitiveLog = exports.ListEarthObservationJobInputFilterSensitiveLog = exports.GetTileOutputFilterSensitiveLog = exports.GetEarthObservationJobOutputFilterSensitiveLog = exports.InputConfigOutputFilterSensitiveLog = exports.RasterDataCollectionQueryOutputFilterSensitiveLog = exports.
|
|
4
|
-
exports.SearchRasterDataCollectionOutputFilterSensitiveLog = exports.SearchRasterDataCollectionInputFilterSensitiveLog = exports.RasterDataCollectionQueryWithBandFilterInputFilterSensitiveLog = exports.ListVectorEnrichmentJobOutputFilterSensitiveLog = exports.ListVectorEnrichmentJobInputFilterSensitiveLog = exports.ListRasterDataCollectionsOutputFilterSensitiveLog = exports.ListRasterDataCollectionsInputFilterSensitiveLog = exports.ItemSourceFilterSensitiveLog = exports.GeometryFilterSensitiveLog = exports.StartEarthObservationJobOutputFilterSensitiveLog = exports.StartEarthObservationJobInputFilterSensitiveLog = exports.InputConfigInputFilterSensitiveLog = exports.RasterDataCollectionQueryInputFilterSensitiveLog = void 0;
|
|
3
|
+
exports.ListEarthObservationJobOutputFilterSensitiveLog = exports.ListEarthObservationJobInputFilterSensitiveLog = exports.GetTileOutputFilterSensitiveLog = exports.GetEarthObservationJobOutputFilterSensitiveLog = exports.InputConfigOutputFilterSensitiveLog = exports.RasterDataCollectionQueryOutputFilterSensitiveLog = exports.TimeRangeFilterOutputFilterSensitiveLog = exports.AreaOfInterestFilterSensitiveLog = exports.AreaOfInterestGeometryFilterSensitiveLog = exports.PolygonGeometryInputFilterSensitiveLog = exports.MultiPolygonGeometryInputFilterSensitiveLog = exports.VectorEnrichmentJobType = exports.VectorEnrichmentJobStatus = exports.VectorEnrichmentJobConfig = exports.VectorEnrichmentJobDocumentType = exports.VectorEnrichmentJobDataSourceConfigInput = exports.VectorEnrichmentJobExportErrorType = exports.VectorEnrichmentJobErrorType = exports.VectorEnrichmentJobExportStatus = exports.SortOrder = exports.TargetOptions = exports.EarthObservationJobStatus = exports.JobConfigInput = exports.ZonalStatistics = exports.TemporalStatistics = exports.GroupBy = exports.PredefinedResolution = exports.Unit = exports.Property = exports.LogicalOperator = exports.EojDataSourceConfigInput = exports.MetadataProvider = exports.ExportErrorType = exports.EarthObservationJobErrorType = exports.ServiceQuotaExceededException = exports.EarthObservationJobExportStatus = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.DataCollectionType = exports.ConflictException = exports.ComparisonOperator = exports.OutputType = exports.AreaOfInterest = exports.AreaOfInterestGeometry = exports.AlgorithmNameResampling = exports.AlgorithmNameGeoMosaic = exports.AlgorithmNameCloudRemoval = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.SearchRasterDataCollectionOutputFilterSensitiveLog = exports.SearchRasterDataCollectionInputFilterSensitiveLog = exports.RasterDataCollectionQueryWithBandFilterInputFilterSensitiveLog = exports.ListVectorEnrichmentJobOutputFilterSensitiveLog = exports.ListVectorEnrichmentJobInputFilterSensitiveLog = exports.ListRasterDataCollectionsOutputFilterSensitiveLog = exports.ListRasterDataCollectionsInputFilterSensitiveLog = exports.ItemSourceFilterSensitiveLog = exports.GeometryFilterSensitiveLog = exports.StartEarthObservationJobOutputFilterSensitiveLog = exports.StartEarthObservationJobInputFilterSensitiveLog = exports.InputConfigInputFilterSensitiveLog = exports.RasterDataCollectionQueryInputFilterSensitiveLog = exports.TimeRangeFilterInputFilterSensitiveLog = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const SageMakerGeospatialServiceException_1 = require("./SageMakerGeospatialServiceException");
|
|
7
7
|
class AccessDeniedException extends SageMakerGeospatialServiceException_1.SageMakerGeospatialServiceException {
|
|
@@ -18,44 +18,41 @@ class AccessDeniedException extends SageMakerGeospatialServiceException_1.SageMa
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
exports.AccessDeniedException = AccessDeniedException;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
AlgorithmNameResampling["RMS"] = "RMS";
|
|
57
|
-
AlgorithmNameResampling["SUM"] = "SUM";
|
|
58
|
-
})(AlgorithmNameResampling = exports.AlgorithmNameResampling || (exports.AlgorithmNameResampling = {}));
|
|
21
|
+
exports.AlgorithmNameCloudRemoval = {
|
|
22
|
+
INTERPOLATION: "INTERPOLATION",
|
|
23
|
+
};
|
|
24
|
+
exports.AlgorithmNameGeoMosaic = {
|
|
25
|
+
AVERAGE: "AVERAGE",
|
|
26
|
+
BILINEAR: "BILINEAR",
|
|
27
|
+
CUBIC: "CUBIC",
|
|
28
|
+
CUBICSPLINE: "CUBICSPLINE",
|
|
29
|
+
LANCZOS: "LANCZOS",
|
|
30
|
+
MAX: "MAX",
|
|
31
|
+
MED: "MED",
|
|
32
|
+
MIN: "MIN",
|
|
33
|
+
MODE: "MODE",
|
|
34
|
+
NEAR: "NEAR",
|
|
35
|
+
Q1: "Q1",
|
|
36
|
+
Q3: "Q3",
|
|
37
|
+
RMS: "RMS",
|
|
38
|
+
SUM: "SUM",
|
|
39
|
+
};
|
|
40
|
+
exports.AlgorithmNameResampling = {
|
|
41
|
+
AVERAGE: "AVERAGE",
|
|
42
|
+
BILINEAR: "BILINEAR",
|
|
43
|
+
CUBIC: "CUBIC",
|
|
44
|
+
CUBICSPLINE: "CUBICSPLINE",
|
|
45
|
+
LANCZOS: "LANCZOS",
|
|
46
|
+
MAX: "MAX",
|
|
47
|
+
MED: "MED",
|
|
48
|
+
MIN: "MIN",
|
|
49
|
+
MODE: "MODE",
|
|
50
|
+
NEAR: "NEAR",
|
|
51
|
+
Q1: "Q1",
|
|
52
|
+
Q3: "Q3",
|
|
53
|
+
RMS: "RMS",
|
|
54
|
+
SUM: "SUM",
|
|
55
|
+
};
|
|
59
56
|
var AreaOfInterestGeometry;
|
|
60
57
|
(function (AreaOfInterestGeometry) {
|
|
61
58
|
AreaOfInterestGeometry.visit = (value, visitor) => {
|
|
@@ -74,20 +71,18 @@ var AreaOfInterest;
|
|
|
74
71
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
75
72
|
};
|
|
76
73
|
})(AreaOfInterest = exports.AreaOfInterest || (exports.AreaOfInterest = {}));
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
ComparisonOperator["STARTS_WITH"] = "STARTS_WITH";
|
|
90
|
-
})(ComparisonOperator = exports.ComparisonOperator || (exports.ComparisonOperator = {}));
|
|
74
|
+
exports.OutputType = {
|
|
75
|
+
FLOAT32: "FLOAT32",
|
|
76
|
+
FLOAT64: "FLOAT64",
|
|
77
|
+
INT16: "INT16",
|
|
78
|
+
INT32: "INT32",
|
|
79
|
+
UINT16: "UINT16",
|
|
80
|
+
};
|
|
81
|
+
exports.ComparisonOperator = {
|
|
82
|
+
EQUALS: "EQUALS",
|
|
83
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
84
|
+
STARTS_WITH: "STARTS_WITH",
|
|
85
|
+
};
|
|
91
86
|
class ConflictException extends SageMakerGeospatialServiceException_1.SageMakerGeospatialServiceException {
|
|
92
87
|
constructor(opts) {
|
|
93
88
|
super({
|
|
@@ -103,12 +98,11 @@ class ConflictException extends SageMakerGeospatialServiceException_1.SageMakerG
|
|
|
103
98
|
}
|
|
104
99
|
}
|
|
105
100
|
exports.ConflictException = ConflictException;
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
})(DataCollectionType = exports.DataCollectionType || (exports.DataCollectionType = {}));
|
|
101
|
+
exports.DataCollectionType = {
|
|
102
|
+
PREMIUM: "PREMIUM",
|
|
103
|
+
PUBLIC: "PUBLIC",
|
|
104
|
+
USER: "USER",
|
|
105
|
+
};
|
|
112
106
|
class InternalServerException extends SageMakerGeospatialServiceException_1.SageMakerGeospatialServiceException {
|
|
113
107
|
constructor(opts) {
|
|
114
108
|
super({
|
|
@@ -169,12 +163,11 @@ class ValidationException extends SageMakerGeospatialServiceException_1.SageMake
|
|
|
169
163
|
}
|
|
170
164
|
}
|
|
171
165
|
exports.ValidationException = ValidationException;
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
})(EarthObservationJobExportStatus = exports.EarthObservationJobExportStatus || (exports.EarthObservationJobExportStatus = {}));
|
|
166
|
+
exports.EarthObservationJobExportStatus = {
|
|
167
|
+
FAILED: "FAILED",
|
|
168
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
169
|
+
SUCCEEDED: "SUCCEEDED",
|
|
170
|
+
};
|
|
178
171
|
class ServiceQuotaExceededException extends SageMakerGeospatialServiceException_1.SageMakerGeospatialServiceException {
|
|
179
172
|
constructor(opts) {
|
|
180
173
|
super({
|
|
@@ -190,20 +183,17 @@ class ServiceQuotaExceededException extends SageMakerGeospatialServiceException_
|
|
|
190
183
|
}
|
|
191
184
|
}
|
|
192
185
|
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
(function (MetadataProvider) {
|
|
205
|
-
MetadataProvider["PLANET_ORDER"] = "PLANET_ORDER";
|
|
206
|
-
})(MetadataProvider = exports.MetadataProvider || (exports.MetadataProvider = {}));
|
|
186
|
+
exports.EarthObservationJobErrorType = {
|
|
187
|
+
CLIENT_ERROR: "CLIENT_ERROR",
|
|
188
|
+
SERVER_ERROR: "SERVER_ERROR",
|
|
189
|
+
};
|
|
190
|
+
exports.ExportErrorType = {
|
|
191
|
+
CLIENT_ERROR: "CLIENT_ERROR",
|
|
192
|
+
SERVER_ERROR: "SERVER_ERROR",
|
|
193
|
+
};
|
|
194
|
+
exports.MetadataProvider = {
|
|
195
|
+
PLANET_ORDER: "PLANET_ORDER",
|
|
196
|
+
};
|
|
207
197
|
var EojDataSourceConfigInput;
|
|
208
198
|
(function (EojDataSourceConfigInput) {
|
|
209
199
|
EojDataSourceConfigInput.visit = (value, visitor) => {
|
|
@@ -212,10 +202,9 @@ var EojDataSourceConfigInput;
|
|
|
212
202
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
213
203
|
};
|
|
214
204
|
})(EojDataSourceConfigInput = exports.EojDataSourceConfigInput || (exports.EojDataSourceConfigInput = {}));
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
})(LogicalOperator = exports.LogicalOperator || (exports.LogicalOperator = {}));
|
|
205
|
+
exports.LogicalOperator = {
|
|
206
|
+
AND: "AND",
|
|
207
|
+
};
|
|
219
208
|
var Property;
|
|
220
209
|
(function (Property) {
|
|
221
210
|
Property.visit = (value, visitor) => {
|
|
@@ -234,36 +223,31 @@ var Property;
|
|
|
234
223
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
235
224
|
};
|
|
236
225
|
})(Property = exports.Property || (exports.Property = {}));
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
ZonalStatistics["MEDIAN"] = "MEDIAN";
|
|
263
|
-
ZonalStatistics["MIN"] = "MIN";
|
|
264
|
-
ZonalStatistics["STANDARD_DEVIATION"] = "STANDARD_DEVIATION";
|
|
265
|
-
ZonalStatistics["SUM"] = "SUM";
|
|
266
|
-
})(ZonalStatistics = exports.ZonalStatistics || (exports.ZonalStatistics = {}));
|
|
226
|
+
exports.Unit = {
|
|
227
|
+
METERS: "METERS",
|
|
228
|
+
};
|
|
229
|
+
exports.PredefinedResolution = {
|
|
230
|
+
AVERAGE: "AVERAGE",
|
|
231
|
+
HIGHEST: "HIGHEST",
|
|
232
|
+
LOWEST: "LOWEST",
|
|
233
|
+
};
|
|
234
|
+
exports.GroupBy = {
|
|
235
|
+
ALL: "ALL",
|
|
236
|
+
YEARLY: "YEARLY",
|
|
237
|
+
};
|
|
238
|
+
exports.TemporalStatistics = {
|
|
239
|
+
MEAN: "MEAN",
|
|
240
|
+
MEDIAN: "MEDIAN",
|
|
241
|
+
STANDARD_DEVIATION: "STANDARD_DEVIATION",
|
|
242
|
+
};
|
|
243
|
+
exports.ZonalStatistics = {
|
|
244
|
+
MAX: "MAX",
|
|
245
|
+
MEAN: "MEAN",
|
|
246
|
+
MEDIAN: "MEDIAN",
|
|
247
|
+
MIN: "MIN",
|
|
248
|
+
STANDARD_DEVIATION: "STANDARD_DEVIATION",
|
|
249
|
+
SUM: "SUM",
|
|
250
|
+
};
|
|
267
251
|
var JobConfigInput;
|
|
268
252
|
(function (JobConfigInput) {
|
|
269
253
|
JobConfigInput.visit = (value, visitor) => {
|
|
@@ -288,43 +272,37 @@ var JobConfigInput;
|
|
|
288
272
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
289
273
|
};
|
|
290
274
|
})(JobConfigInput = exports.JobConfigInput || (exports.JobConfigInput = {}));
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
}
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
})(VectorEnrichmentJobErrorType = exports.VectorEnrichmentJobErrorType || (exports.VectorEnrichmentJobErrorType = {}));
|
|
323
|
-
var VectorEnrichmentJobExportErrorType;
|
|
324
|
-
(function (VectorEnrichmentJobExportErrorType) {
|
|
325
|
-
VectorEnrichmentJobExportErrorType["CLIENT_ERROR"] = "CLIENT_ERROR";
|
|
326
|
-
VectorEnrichmentJobExportErrorType["SERVER_ERROR"] = "SERVER_ERROR";
|
|
327
|
-
})(VectorEnrichmentJobExportErrorType = exports.VectorEnrichmentJobExportErrorType || (exports.VectorEnrichmentJobExportErrorType = {}));
|
|
275
|
+
exports.EarthObservationJobStatus = {
|
|
276
|
+
COMPLETED: "COMPLETED",
|
|
277
|
+
DELETED: "DELETED",
|
|
278
|
+
DELETING: "DELETING",
|
|
279
|
+
FAILED: "FAILED",
|
|
280
|
+
INITIALIZING: "INITIALIZING",
|
|
281
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
282
|
+
STOPPED: "STOPPED",
|
|
283
|
+
STOPPING: "STOPPING",
|
|
284
|
+
};
|
|
285
|
+
exports.TargetOptions = {
|
|
286
|
+
INPUT: "INPUT",
|
|
287
|
+
OUTPUT: "OUTPUT",
|
|
288
|
+
};
|
|
289
|
+
exports.SortOrder = {
|
|
290
|
+
ASCENDING: "ASCENDING",
|
|
291
|
+
DESCENDING: "DESCENDING",
|
|
292
|
+
};
|
|
293
|
+
exports.VectorEnrichmentJobExportStatus = {
|
|
294
|
+
FAILED: "FAILED",
|
|
295
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
296
|
+
SUCCEEDED: "SUCCEEDED",
|
|
297
|
+
};
|
|
298
|
+
exports.VectorEnrichmentJobErrorType = {
|
|
299
|
+
CLIENT_ERROR: "CLIENT_ERROR",
|
|
300
|
+
SERVER_ERROR: "SERVER_ERROR",
|
|
301
|
+
};
|
|
302
|
+
exports.VectorEnrichmentJobExportErrorType = {
|
|
303
|
+
CLIENT_ERROR: "CLIENT_ERROR",
|
|
304
|
+
SERVER_ERROR: "SERVER_ERROR",
|
|
305
|
+
};
|
|
328
306
|
var VectorEnrichmentJobDataSourceConfigInput;
|
|
329
307
|
(function (VectorEnrichmentJobDataSourceConfigInput) {
|
|
330
308
|
VectorEnrichmentJobDataSourceConfigInput.visit = (value, visitor) => {
|
|
@@ -333,10 +311,9 @@ var VectorEnrichmentJobDataSourceConfigInput;
|
|
|
333
311
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
334
312
|
};
|
|
335
313
|
})(VectorEnrichmentJobDataSourceConfigInput = exports.VectorEnrichmentJobDataSourceConfigInput || (exports.VectorEnrichmentJobDataSourceConfigInput = {}));
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
})(VectorEnrichmentJobDocumentType = exports.VectorEnrichmentJobDocumentType || (exports.VectorEnrichmentJobDocumentType = {}));
|
|
314
|
+
exports.VectorEnrichmentJobDocumentType = {
|
|
315
|
+
CSV: "CSV",
|
|
316
|
+
};
|
|
340
317
|
var VectorEnrichmentJobConfig;
|
|
341
318
|
(function (VectorEnrichmentJobConfig) {
|
|
342
319
|
VectorEnrichmentJobConfig.visit = (value, visitor) => {
|
|
@@ -347,22 +324,20 @@ var VectorEnrichmentJobConfig;
|
|
|
347
324
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
348
325
|
};
|
|
349
326
|
})(VectorEnrichmentJobConfig = exports.VectorEnrichmentJobConfig || (exports.VectorEnrichmentJobConfig = {}));
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
VectorEnrichmentJobType["REVERSE_GEOCODING"] = "REVERSE_GEOCODING";
|
|
365
|
-
})(VectorEnrichmentJobType = exports.VectorEnrichmentJobType || (exports.VectorEnrichmentJobType = {}));
|
|
327
|
+
exports.VectorEnrichmentJobStatus = {
|
|
328
|
+
COMPLETED: "COMPLETED",
|
|
329
|
+
DELETED: "DELETED",
|
|
330
|
+
DELETING: "DELETING",
|
|
331
|
+
FAILED: "FAILED",
|
|
332
|
+
INITIALIZING: "INITIALIZING",
|
|
333
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
334
|
+
STOPPED: "STOPPED",
|
|
335
|
+
STOPPING: "STOPPING",
|
|
336
|
+
};
|
|
337
|
+
exports.VectorEnrichmentJobType = {
|
|
338
|
+
MAP_MATCHING: "MAP_MATCHING",
|
|
339
|
+
REVERSE_GEOCODING: "REVERSE_GEOCODING",
|
|
340
|
+
};
|
|
366
341
|
const MultiPolygonGeometryInputFilterSensitiveLog = (obj) => ({
|
|
367
342
|
...obj,
|
|
368
343
|
...(obj.Coordinates && { Coordinates: obj.Coordinates.map((item) => item.map((item) => smithy_client_1.SENSITIVE_STRING)) }),
|
|
@@ -389,10 +364,10 @@ const AreaOfInterestFilterSensitiveLog = (obj) => {
|
|
|
389
364
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
390
365
|
};
|
|
391
366
|
exports.AreaOfInterestFilterSensitiveLog = AreaOfInterestFilterSensitiveLog;
|
|
392
|
-
const
|
|
367
|
+
const TimeRangeFilterOutputFilterSensitiveLog = (obj) => ({
|
|
393
368
|
...obj,
|
|
394
369
|
});
|
|
395
|
-
exports.
|
|
370
|
+
exports.TimeRangeFilterOutputFilterSensitiveLog = TimeRangeFilterOutputFilterSensitiveLog;
|
|
396
371
|
const RasterDataCollectionQueryOutputFilterSensitiveLog = (obj) => ({
|
|
397
372
|
...obj,
|
|
398
373
|
...(obj.TimeRangeFilter && { TimeRangeFilter: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -428,6 +403,10 @@ const ListEarthObservationJobOutputFilterSensitiveLog = (obj) => ({
|
|
|
428
403
|
...(obj.NextToken && { NextToken: smithy_client_1.SENSITIVE_STRING }),
|
|
429
404
|
});
|
|
430
405
|
exports.ListEarthObservationJobOutputFilterSensitiveLog = ListEarthObservationJobOutputFilterSensitiveLog;
|
|
406
|
+
const TimeRangeFilterInputFilterSensitiveLog = (obj) => ({
|
|
407
|
+
...obj,
|
|
408
|
+
});
|
|
409
|
+
exports.TimeRangeFilterInputFilterSensitiveLog = TimeRangeFilterInputFilterSensitiveLog;
|
|
431
410
|
const RasterDataCollectionQueryInputFilterSensitiveLog = (obj) => ({
|
|
432
411
|
...obj,
|
|
433
412
|
...(obj.TimeRangeFilter && { TimeRangeFilter: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -49,6 +49,7 @@ const serializeAws_restJson1ExportEarthObservationJobCommand = async (input, con
|
|
|
49
49
|
let body;
|
|
50
50
|
body = JSON.stringify({
|
|
51
51
|
...(input.Arn != null && { Arn: input.Arn }),
|
|
52
|
+
ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
|
|
52
53
|
...(input.ExecutionRoleArn != null && { ExecutionRoleArn: input.ExecutionRoleArn }),
|
|
53
54
|
...(input.ExportSourceImages != null && { ExportSourceImages: input.ExportSourceImages }),
|
|
54
55
|
...(input.OutputConfig != null && {
|
|
@@ -75,6 +76,7 @@ const serializeAws_restJson1ExportVectorEnrichmentJobCommand = async (input, con
|
|
|
75
76
|
let body;
|
|
76
77
|
body = JSON.stringify({
|
|
77
78
|
...(input.Arn != null && { Arn: input.Arn }),
|
|
79
|
+
ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
|
|
78
80
|
...(input.ExecutionRoleArn != null && { ExecutionRoleArn: input.ExecutionRoleArn }),
|
|
79
81
|
...(input.OutputConfig != null && {
|
|
80
82
|
OutputConfig: serializeAws_restJson1ExportVectorEnrichmentJobOutputConfig(input.OutputConfig, context),
|
|
@@ -144,6 +146,7 @@ const serializeAws_restJson1GetTileCommand = async (input, context) => {
|
|
|
144
146
|
TimeRangeFilter: [, input.TimeRangeFilter],
|
|
145
147
|
PropertyFilters: [, input.PropertyFilters],
|
|
146
148
|
OutputDataType: [, input.OutputDataType],
|
|
149
|
+
ExecutionRoleArn: [, input.ExecutionRoleArn],
|
|
147
150
|
});
|
|
148
151
|
let body;
|
|
149
152
|
return new protocol_http_1.HttpRequest({
|
|
@@ -540,7 +543,7 @@ const deserializeAws_restJson1ExportEarthObservationJobCommand = async (output,
|
|
|
540
543
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
541
544
|
}
|
|
542
545
|
if (data.CreationTime != null) {
|
|
543
|
-
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
546
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreationTime));
|
|
544
547
|
}
|
|
545
548
|
if (data.ExecutionRoleArn != null) {
|
|
546
549
|
contents.ExecutionRoleArn = (0, smithy_client_1.expectString)(data.ExecutionRoleArn);
|
|
@@ -607,7 +610,7 @@ const deserializeAws_restJson1ExportVectorEnrichmentJobCommand = async (output,
|
|
|
607
610
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
608
611
|
}
|
|
609
612
|
if (data.CreationTime != null) {
|
|
610
|
-
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
613
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreationTime));
|
|
611
614
|
}
|
|
612
615
|
if (data.ExecutionRoleArn != null) {
|
|
613
616
|
contents.ExecutionRoleArn = (0, smithy_client_1.expectString)(data.ExecutionRoleArn);
|
|
@@ -671,7 +674,7 @@ const deserializeAws_restJson1GetEarthObservationJobCommand = async (output, con
|
|
|
671
674
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
672
675
|
}
|
|
673
676
|
if (data.CreationTime != null) {
|
|
674
|
-
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
677
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreationTime));
|
|
675
678
|
}
|
|
676
679
|
if (data.DurationInSeconds != null) {
|
|
677
680
|
contents.DurationInSeconds = (0, smithy_client_1.expectInt32)(data.DurationInSeconds);
|
|
@@ -868,7 +871,7 @@ const deserializeAws_restJson1GetVectorEnrichmentJobCommand = async (output, con
|
|
|
868
871
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
869
872
|
}
|
|
870
873
|
if (data.CreationTime != null) {
|
|
871
|
-
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
874
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreationTime));
|
|
872
875
|
}
|
|
873
876
|
if (data.DurationInSeconds != null) {
|
|
874
877
|
contents.DurationInSeconds = (0, smithy_client_1.expectInt32)(data.DurationInSeconds);
|
|
@@ -1198,7 +1201,7 @@ const deserializeAws_restJson1StartEarthObservationJobCommand = async (output, c
|
|
|
1198
1201
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1199
1202
|
}
|
|
1200
1203
|
if (data.CreationTime != null) {
|
|
1201
|
-
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1204
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreationTime));
|
|
1202
1205
|
}
|
|
1203
1206
|
if (data.DurationInSeconds != null) {
|
|
1204
1207
|
contents.DurationInSeconds = (0, smithy_client_1.expectInt32)(data.DurationInSeconds);
|
|
@@ -1277,7 +1280,7 @@ const deserializeAws_restJson1StartVectorEnrichmentJobCommand = async (output, c
|
|
|
1277
1280
|
contents.Arn = (0, smithy_client_1.expectString)(data.Arn);
|
|
1278
1281
|
}
|
|
1279
1282
|
if (data.CreationTime != null) {
|
|
1280
|
-
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
1283
|
+
contents.CreationTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(data.CreationTime));
|
|
1281
1284
|
}
|
|
1282
1285
|
if (data.DurationInSeconds != null) {
|
|
1283
1286
|
contents.DurationInSeconds = (0, smithy_client_1.expectInt32)(data.DurationInSeconds);
|
|
@@ -2032,6 +2035,7 @@ const serializeAws_restJson1ZonalStatisticsConfigInput = (input, context) => {
|
|
|
2032
2035
|
TargetBands: serializeAws_restJson1StringListInput(input.TargetBands, context),
|
|
2033
2036
|
}),
|
|
2034
2037
|
...(input.ZoneS3Path != null && { ZoneS3Path: input.ZoneS3Path }),
|
|
2038
|
+
...(input.ZoneS3PathKmsKeyId != null && { ZoneS3PathKmsKeyId: input.ZoneS3PathKmsKeyId }),
|
|
2035
2039
|
};
|
|
2036
2040
|
};
|
|
2037
2041
|
const serializeAws_restJson1ZonalStatisticsListInput = (input, context) => {
|
|
@@ -2347,9 +2351,7 @@ const deserializeAws_restJson1LinearRingsList = (output, context) => {
|
|
|
2347
2351
|
const deserializeAws_restJson1ListEarthObservationJobOutputConfig = (output, context) => {
|
|
2348
2352
|
return {
|
|
2349
2353
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2350
|
-
CreationTime: output.CreationTime != null
|
|
2351
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
2352
|
-
: undefined,
|
|
2354
|
+
CreationTime: output.CreationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationTime)) : undefined,
|
|
2353
2355
|
DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
|
|
2354
2356
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2355
2357
|
OperationType: (0, smithy_client_1.expectString)(output.OperationType),
|
|
@@ -2360,9 +2362,7 @@ const deserializeAws_restJson1ListEarthObservationJobOutputConfig = (output, con
|
|
|
2360
2362
|
const deserializeAws_restJson1ListVectorEnrichmentJobOutputConfig = (output, context) => {
|
|
2361
2363
|
return {
|
|
2362
2364
|
Arn: (0, smithy_client_1.expectString)(output.Arn),
|
|
2363
|
-
CreationTime: output.CreationTime != null
|
|
2364
|
-
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.CreationTime)))
|
|
2365
|
-
: undefined,
|
|
2365
|
+
CreationTime: output.CreationTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.CreationTime)) : undefined,
|
|
2366
2366
|
DurationInSeconds: (0, smithy_client_1.expectInt32)(output.DurationInSeconds),
|
|
2367
2367
|
Name: (0, smithy_client_1.expectString)(output.Name),
|
|
2368
2368
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
@@ -2534,7 +2534,7 @@ const deserializeAws_restJson1RasterDataCollectionQueryOutput = (output, context
|
|
|
2534
2534
|
RasterDataCollectionArn: (0, smithy_client_1.expectString)(output.RasterDataCollectionArn),
|
|
2535
2535
|
RasterDataCollectionName: (0, smithy_client_1.expectString)(output.RasterDataCollectionName),
|
|
2536
2536
|
TimeRangeFilter: output.TimeRangeFilter != null
|
|
2537
|
-
?
|
|
2537
|
+
? deserializeAws_restJson1TimeRangeFilterOutput(output.TimeRangeFilter, context)
|
|
2538
2538
|
: undefined,
|
|
2539
2539
|
};
|
|
2540
2540
|
};
|
|
@@ -2608,10 +2608,10 @@ const deserializeAws_restJson1TemporalStatisticsListInput = (output, context) =>
|
|
|
2608
2608
|
});
|
|
2609
2609
|
return retVal;
|
|
2610
2610
|
};
|
|
2611
|
-
const
|
|
2611
|
+
const deserializeAws_restJson1TimeRangeFilterOutput = (output, context) => {
|
|
2612
2612
|
return {
|
|
2613
|
-
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2614
|
-
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
2613
|
+
EndTime: output.EndTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.EndTime)) : undefined,
|
|
2614
|
+
StartTime: output.StartTime != null ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output.StartTime)) : undefined,
|
|
2615
2615
|
};
|
|
2616
2616
|
};
|
|
2617
2617
|
const deserializeAws_restJson1UserDefined = (output, context) => {
|
|
@@ -2703,6 +2703,7 @@ const deserializeAws_restJson1ZonalStatisticsConfigInput = (output, context) =>
|
|
|
2703
2703
|
: undefined,
|
|
2704
2704
|
TargetBands: output.TargetBands != null ? deserializeAws_restJson1StringListInput(output.TargetBands, context) : undefined,
|
|
2705
2705
|
ZoneS3Path: (0, smithy_client_1.expectString)(output.ZoneS3Path),
|
|
2706
|
+
ZoneS3PathKmsKeyId: (0, smithy_client_1.expectString)(output.ZoneS3PathKmsKeyId),
|
|
2706
2707
|
};
|
|
2707
2708
|
};
|
|
2708
2709
|
const deserializeAws_restJson1ZonalStatisticsListInput = (output, context) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const r = "fn", s = "argv", t = "ref";
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const q = "required", r = "fn", s = "argv", t = "ref";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [q]: false, "type": "String" }, g = { [q]: true, "default": false, "type": "Boolean" }, h = { [t]: "Endpoint" }, i = { [r]: "booleanEquals", [s]: [{ [t]: "UseFIPS" }, true] }, j = { [r]: "booleanEquals", [s]: [{ [t]: "UseDualStack" }, true] }, k = {}, l = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsFIPS"] }] }, m = { [r]: "booleanEquals", [s]: [true, { [r]: "getAttr", [s]: [{ [t]: e }, "supportsDualStack"] }] }, n = [i], o = [j], p = [{ [t]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [r]: a, [s]: [h] }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, properties: k, headers: k }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [r]: a, [s]: p }], type: b, rules: [{ conditions: [{ [r]: "aws.partition", [s]: p, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://sagemaker-geospatial-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [l], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://sagemaker-geospatial-fips.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://sagemaker-geospatial.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: k, headers: k }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://sagemaker-geospatial.{Region}.{PartitionResult#dnsSuffix}", properties: k, headers: k }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|