@aws-sdk/client-sagemaker-geospatial 3.221.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/LICENSE +201 -0
- package/README.md +205 -0
- package/dist-cjs/SageMakerGeospatial.js +292 -0
- package/dist-cjs/SageMakerGeospatialClient.js +40 -0
- package/dist-cjs/commands/DeleteEarthObservationJobCommand.js +46 -0
- package/dist-cjs/commands/DeleteVectorEnrichmentJobCommand.js +46 -0
- package/dist-cjs/commands/ExportEarthObservationJobCommand.js +46 -0
- package/dist-cjs/commands/ExportVectorEnrichmentJobCommand.js +46 -0
- package/dist-cjs/commands/GetEarthObservationJobCommand.js +46 -0
- package/dist-cjs/commands/GetRasterDataCollectionCommand.js +46 -0
- package/dist-cjs/commands/GetTileCommand.js +46 -0
- package/dist-cjs/commands/GetVectorEnrichmentJobCommand.js +46 -0
- package/dist-cjs/commands/ListEarthObservationJobsCommand.js +46 -0
- package/dist-cjs/commands/ListRasterDataCollectionsCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/ListVectorEnrichmentJobsCommand.js +46 -0
- package/dist-cjs/commands/SearchRasterDataCollectionCommand.js +46 -0
- package/dist-cjs/commands/StartEarthObservationJobCommand.js +46 -0
- package/dist-cjs/commands/StartVectorEnrichmentJobCommand.js +46 -0
- package/dist-cjs/commands/StopEarthObservationJobCommand.js +46 -0
- package/dist-cjs/commands/StopVectorEnrichmentJobCommand.js +46 -0
- package/dist-cjs/commands/TagResourceCommand.js +46 -0
- package/dist-cjs/commands/UntagResourceCommand.js +46 -0
- package/dist-cjs/commands/index.js +22 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/SageMakerGeospatialServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +857 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListEarthObservationJobsPaginator.js +35 -0
- package/dist-cjs/pagination/ListRasterDataCollectionsPaginator.js +35 -0
- package/dist-cjs/pagination/ListVectorEnrichmentJobsPaginator.js +35 -0
- package/dist-cjs/pagination/SearchRasterDataCollectionPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2776 -0
- package/dist-cjs/runtimeConfig.browser.js +44 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/SageMakerGeospatial.js +288 -0
- package/dist-es/SageMakerGeospatialClient.js +36 -0
- package/dist-es/commands/DeleteEarthObservationJobCommand.js +42 -0
- package/dist-es/commands/DeleteVectorEnrichmentJobCommand.js +42 -0
- package/dist-es/commands/ExportEarthObservationJobCommand.js +42 -0
- package/dist-es/commands/ExportVectorEnrichmentJobCommand.js +42 -0
- package/dist-es/commands/GetEarthObservationJobCommand.js +42 -0
- package/dist-es/commands/GetRasterDataCollectionCommand.js +42 -0
- package/dist-es/commands/GetTileCommand.js +42 -0
- package/dist-es/commands/GetVectorEnrichmentJobCommand.js +42 -0
- package/dist-es/commands/ListEarthObservationJobsCommand.js +42 -0
- package/dist-es/commands/ListRasterDataCollectionsCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/ListVectorEnrichmentJobsCommand.js +42 -0
- package/dist-es/commands/SearchRasterDataCollectionCommand.js +42 -0
- package/dist-es/commands/StartEarthObservationJobCommand.js +42 -0
- package/dist-es/commands/StartVectorEnrichmentJobCommand.js +42 -0
- package/dist-es/commands/StopEarthObservationJobCommand.js +42 -0
- package/dist-es/commands/StopVectorEnrichmentJobCommand.js +42 -0
- package/dist-es/commands/TagResourceCommand.js +42 -0
- package/dist-es/commands/UntagResourceCommand.js +42 -0
- package/dist-es/commands/index.js +19 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/SageMakerGeospatialServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +748 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListEarthObservationJobsPaginator.js +31 -0
- package/dist-es/pagination/ListRasterDataCollectionsPaginator.js +31 -0
- package/dist-es/pagination/ListVectorEnrichmentJobsPaginator.js +31 -0
- package/dist-es/pagination/SearchRasterDataCollectionPaginator.js +31 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +2735 -0
- package/dist-es/runtimeConfig.browser.js +39 -0
- package/dist-es/runtimeConfig.js +47 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/SageMakerGeospatial.d.ts +140 -0
- package/dist-types/SageMakerGeospatialClient.d.ts +165 -0
- package/dist-types/commands/DeleteEarthObservationJobCommand.d.ts +37 -0
- package/dist-types/commands/DeleteVectorEnrichmentJobCommand.d.ts +37 -0
- package/dist-types/commands/ExportEarthObservationJobCommand.d.ts +37 -0
- package/dist-types/commands/ExportVectorEnrichmentJobCommand.d.ts +37 -0
- package/dist-types/commands/GetEarthObservationJobCommand.d.ts +37 -0
- package/dist-types/commands/GetRasterDataCollectionCommand.d.ts +37 -0
- package/dist-types/commands/GetTileCommand.d.ts +37 -0
- package/dist-types/commands/GetVectorEnrichmentJobCommand.d.ts +37 -0
- package/dist-types/commands/ListEarthObservationJobsCommand.d.ts +37 -0
- package/dist-types/commands/ListRasterDataCollectionsCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/ListVectorEnrichmentJobsCommand.d.ts +37 -0
- package/dist-types/commands/SearchRasterDataCollectionCommand.d.ts +37 -0
- package/dist-types/commands/StartEarthObservationJobCommand.d.ts +37 -0
- package/dist-types/commands/StartVectorEnrichmentJobCommand.d.ts +37 -0
- package/dist-types/commands/StopEarthObservationJobCommand.d.ts +37 -0
- package/dist-types/commands/StopVectorEnrichmentJobCommand.d.ts +37 -0
- package/dist-types/commands/TagResourceCommand.d.ts +37 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/commands/index.d.ts +19 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/SageMakerGeospatialServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2704 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListEarthObservationJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRasterDataCollectionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListVectorEnrichmentJobsPaginator.d.ts +4 -0
- package/dist-types/pagination/SearchRasterDataCollectionPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +59 -0
- package/dist-types/runtimeConfig.browser.d.ts +43 -0
- package/dist-types/runtimeConfig.d.ts +43 -0
- package/dist-types/runtimeConfig.native.d.ts +42 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/SageMakerGeospatial.d.ts +327 -0
- package/dist-types/ts3.4/SageMakerGeospatialClient.d.ts +228 -0
- package/dist-types/ts3.4/commands/DeleteEarthObservationJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/DeleteVectorEnrichmentJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ExportEarthObservationJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ExportVectorEnrichmentJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetEarthObservationJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetRasterDataCollectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetTileCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/GetVectorEnrichmentJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListEarthObservationJobsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListRasterDataCollectionsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListVectorEnrichmentJobsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/SearchRasterDataCollectionCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StartEarthObservationJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StartVectorEnrichmentJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StopEarthObservationJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/StopVectorEnrichmentJobCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +19 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/SageMakerGeospatialServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1265 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListEarthObservationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListRasterDataCollectionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVectorEnrichmentJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/SearchRasterDataCollectionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +236 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- package/package.json +105 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
|
+
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
8
|
+
import { sdkStreamMixin } from "@aws-sdk/util-stream-browser";
|
|
9
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
13
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
14
|
+
export const getRuntimeConfig = (config) => {
|
|
15
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
17
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
18
|
+
return {
|
|
19
|
+
...clientSharedValues,
|
|
20
|
+
...config,
|
|
21
|
+
runtime: "browser",
|
|
22
|
+
defaultsMode,
|
|
23
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
24
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
26
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
27
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
28
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
29
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
30
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
31
|
+
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
32
|
+
sha256: config?.sha256 ?? Sha256,
|
|
33
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
34
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
37
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import packageInfo from "../package.json";
|
|
2
|
+
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
3
|
+
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
4
|
+
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
+
import { Hash } from "@aws-sdk/hash-node";
|
|
6
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
7
|
+
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
|
+
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
|
+
import { sdkStreamMixin } from "@aws-sdk/util-stream-node";
|
|
11
|
+
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
12
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
13
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
15
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
17
|
+
export const getRuntimeConfig = (config) => {
|
|
18
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
19
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
20
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
21
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
22
|
+
return {
|
|
23
|
+
...clientSharedValues,
|
|
24
|
+
...config,
|
|
25
|
+
runtime: "node",
|
|
26
|
+
defaultsMode,
|
|
27
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
29
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
33
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
34
|
+
retryMode: config?.retryMode ??
|
|
35
|
+
loadNodeConfig({
|
|
36
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
37
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
38
|
+
}),
|
|
39
|
+
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
40
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
41
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
42
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
44
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
45
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
46
|
+
};
|
|
47
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Sha256 } from "@aws-crypto/sha256-js";
|
|
2
|
+
import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
|
|
3
|
+
export const getRuntimeConfig = (config) => {
|
|
4
|
+
const browserDefaults = getBrowserRuntimeConfig(config);
|
|
5
|
+
return {
|
|
6
|
+
...browserDefaults,
|
|
7
|
+
...config,
|
|
8
|
+
runtime: "react-native",
|
|
9
|
+
sha256: config?.sha256 ?? Sha256,
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
|
+
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
5
|
+
export const getRuntimeConfig = (config) => ({
|
|
6
|
+
apiVersion: "2020-05-27",
|
|
7
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
8
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
9
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
10
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
11
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
12
|
+
serviceId: config?.serviceId ?? "SageMaker Geospatial",
|
|
13
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
14
|
+
});
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { DeleteEarthObservationJobCommandInput, DeleteEarthObservationJobCommandOutput } from "./commands/DeleteEarthObservationJobCommand";
|
|
3
|
+
import { DeleteVectorEnrichmentJobCommandInput, DeleteVectorEnrichmentJobCommandOutput } from "./commands/DeleteVectorEnrichmentJobCommand";
|
|
4
|
+
import { ExportEarthObservationJobCommandInput, ExportEarthObservationJobCommandOutput } from "./commands/ExportEarthObservationJobCommand";
|
|
5
|
+
import { ExportVectorEnrichmentJobCommandInput, ExportVectorEnrichmentJobCommandOutput } from "./commands/ExportVectorEnrichmentJobCommand";
|
|
6
|
+
import { GetEarthObservationJobCommandInput, GetEarthObservationJobCommandOutput } from "./commands/GetEarthObservationJobCommand";
|
|
7
|
+
import { GetRasterDataCollectionCommandInput, GetRasterDataCollectionCommandOutput } from "./commands/GetRasterDataCollectionCommand";
|
|
8
|
+
import { GetTileCommandInput, GetTileCommandOutput } from "./commands/GetTileCommand";
|
|
9
|
+
import { GetVectorEnrichmentJobCommandInput, GetVectorEnrichmentJobCommandOutput } from "./commands/GetVectorEnrichmentJobCommand";
|
|
10
|
+
import { ListEarthObservationJobsCommandInput, ListEarthObservationJobsCommandOutput } from "./commands/ListEarthObservationJobsCommand";
|
|
11
|
+
import { ListRasterDataCollectionsCommandInput, ListRasterDataCollectionsCommandOutput } from "./commands/ListRasterDataCollectionsCommand";
|
|
12
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
13
|
+
import { ListVectorEnrichmentJobsCommandInput, ListVectorEnrichmentJobsCommandOutput } from "./commands/ListVectorEnrichmentJobsCommand";
|
|
14
|
+
import { SearchRasterDataCollectionCommandInput, SearchRasterDataCollectionCommandOutput } from "./commands/SearchRasterDataCollectionCommand";
|
|
15
|
+
import { StartEarthObservationJobCommandInput, StartEarthObservationJobCommandOutput } from "./commands/StartEarthObservationJobCommand";
|
|
16
|
+
import { StartVectorEnrichmentJobCommandInput, StartVectorEnrichmentJobCommandOutput } from "./commands/StartVectorEnrichmentJobCommand";
|
|
17
|
+
import { StopEarthObservationJobCommandInput, StopEarthObservationJobCommandOutput } from "./commands/StopEarthObservationJobCommand";
|
|
18
|
+
import { StopVectorEnrichmentJobCommandInput, StopVectorEnrichmentJobCommandOutput } from "./commands/StopVectorEnrichmentJobCommand";
|
|
19
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
20
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
21
|
+
import { SageMakerGeospatialClient } from "./SageMakerGeospatialClient";
|
|
22
|
+
/**
|
|
23
|
+
* <p>Provides APIs for creating and managing SageMaker geospatial resources.</p>
|
|
24
|
+
*/
|
|
25
|
+
export declare class SageMakerGeospatial extends SageMakerGeospatialClient {
|
|
26
|
+
/**
|
|
27
|
+
* <p>Use this operation to delete an Earth Observation job.</p>
|
|
28
|
+
*/
|
|
29
|
+
deleteEarthObservationJob(args: DeleteEarthObservationJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEarthObservationJobCommandOutput>;
|
|
30
|
+
deleteEarthObservationJob(args: DeleteEarthObservationJobCommandInput, cb: (err: any, data?: DeleteEarthObservationJobCommandOutput) => void): void;
|
|
31
|
+
deleteEarthObservationJob(args: DeleteEarthObservationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEarthObservationJobCommandOutput) => void): void;
|
|
32
|
+
/**
|
|
33
|
+
* <p>Use this operation to delete a Vector Enrichment job.</p>
|
|
34
|
+
*/
|
|
35
|
+
deleteVectorEnrichmentJob(args: DeleteVectorEnrichmentJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteVectorEnrichmentJobCommandOutput>;
|
|
36
|
+
deleteVectorEnrichmentJob(args: DeleteVectorEnrichmentJobCommandInput, cb: (err: any, data?: DeleteVectorEnrichmentJobCommandOutput) => void): void;
|
|
37
|
+
deleteVectorEnrichmentJob(args: DeleteVectorEnrichmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteVectorEnrichmentJobCommandOutput) => void): void;
|
|
38
|
+
/**
|
|
39
|
+
* <p>Use this operation to export results of an Earth Observation job and optionally source images used as input to the EOJ to an S3 location.</p>
|
|
40
|
+
*/
|
|
41
|
+
exportEarthObservationJob(args: ExportEarthObservationJobCommandInput, options?: __HttpHandlerOptions): Promise<ExportEarthObservationJobCommandOutput>;
|
|
42
|
+
exportEarthObservationJob(args: ExportEarthObservationJobCommandInput, cb: (err: any, data?: ExportEarthObservationJobCommandOutput) => void): void;
|
|
43
|
+
exportEarthObservationJob(args: ExportEarthObservationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportEarthObservationJobCommandOutput) => void): void;
|
|
44
|
+
/**
|
|
45
|
+
* <p>Use this operation to copy results of a Vector Enrichment job to an S3 location.</p>
|
|
46
|
+
*/
|
|
47
|
+
exportVectorEnrichmentJob(args: ExportVectorEnrichmentJobCommandInput, options?: __HttpHandlerOptions): Promise<ExportVectorEnrichmentJobCommandOutput>;
|
|
48
|
+
exportVectorEnrichmentJob(args: ExportVectorEnrichmentJobCommandInput, cb: (err: any, data?: ExportVectorEnrichmentJobCommandOutput) => void): void;
|
|
49
|
+
exportVectorEnrichmentJob(args: ExportVectorEnrichmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExportVectorEnrichmentJobCommandOutput) => void): void;
|
|
50
|
+
/**
|
|
51
|
+
* <p>Get the details for a previously initiated Earth Observation job.</p>
|
|
52
|
+
*/
|
|
53
|
+
getEarthObservationJob(args: GetEarthObservationJobCommandInput, options?: __HttpHandlerOptions): Promise<GetEarthObservationJobCommandOutput>;
|
|
54
|
+
getEarthObservationJob(args: GetEarthObservationJobCommandInput, cb: (err: any, data?: GetEarthObservationJobCommandOutput) => void): void;
|
|
55
|
+
getEarthObservationJob(args: GetEarthObservationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEarthObservationJobCommandOutput) => void): void;
|
|
56
|
+
/**
|
|
57
|
+
* <p>Use this operation to get details of a specific raster data collection.</p>
|
|
58
|
+
*/
|
|
59
|
+
getRasterDataCollection(args: GetRasterDataCollectionCommandInput, options?: __HttpHandlerOptions): Promise<GetRasterDataCollectionCommandOutput>;
|
|
60
|
+
getRasterDataCollection(args: GetRasterDataCollectionCommandInput, cb: (err: any, data?: GetRasterDataCollectionCommandOutput) => void): void;
|
|
61
|
+
getRasterDataCollection(args: GetRasterDataCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRasterDataCollectionCommandOutput) => void): void;
|
|
62
|
+
/**
|
|
63
|
+
* <p>Gets a web mercator tile for the given Earth Observation job.</p>
|
|
64
|
+
*/
|
|
65
|
+
getTile(args: GetTileCommandInput, options?: __HttpHandlerOptions): Promise<GetTileCommandOutput>;
|
|
66
|
+
getTile(args: GetTileCommandInput, cb: (err: any, data?: GetTileCommandOutput) => void): void;
|
|
67
|
+
getTile(args: GetTileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTileCommandOutput) => void): void;
|
|
68
|
+
/**
|
|
69
|
+
* <p>Retrieves details of a Vector Enrichment Job for a given job Amazon Resource Name (ARN).</p>
|
|
70
|
+
*/
|
|
71
|
+
getVectorEnrichmentJob(args: GetVectorEnrichmentJobCommandInput, options?: __HttpHandlerOptions): Promise<GetVectorEnrichmentJobCommandOutput>;
|
|
72
|
+
getVectorEnrichmentJob(args: GetVectorEnrichmentJobCommandInput, cb: (err: any, data?: GetVectorEnrichmentJobCommandOutput) => void): void;
|
|
73
|
+
getVectorEnrichmentJob(args: GetVectorEnrichmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetVectorEnrichmentJobCommandOutput) => void): void;
|
|
74
|
+
/**
|
|
75
|
+
* <p>Use this operation to get a list of the Earth Observation jobs associated with the calling Amazon Web Services account.</p>
|
|
76
|
+
*/
|
|
77
|
+
listEarthObservationJobs(args: ListEarthObservationJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListEarthObservationJobsCommandOutput>;
|
|
78
|
+
listEarthObservationJobs(args: ListEarthObservationJobsCommandInput, cb: (err: any, data?: ListEarthObservationJobsCommandOutput) => void): void;
|
|
79
|
+
listEarthObservationJobs(args: ListEarthObservationJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEarthObservationJobsCommandOutput) => void): void;
|
|
80
|
+
/**
|
|
81
|
+
* <p>Use this operation to get raster data collections.</p>
|
|
82
|
+
*/
|
|
83
|
+
listRasterDataCollections(args: ListRasterDataCollectionsCommandInput, options?: __HttpHandlerOptions): Promise<ListRasterDataCollectionsCommandOutput>;
|
|
84
|
+
listRasterDataCollections(args: ListRasterDataCollectionsCommandInput, cb: (err: any, data?: ListRasterDataCollectionsCommandOutput) => void): void;
|
|
85
|
+
listRasterDataCollections(args: ListRasterDataCollectionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRasterDataCollectionsCommandOutput) => void): void;
|
|
86
|
+
/**
|
|
87
|
+
* <p>Lists the tags attached to the resource.</p>
|
|
88
|
+
*/
|
|
89
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
90
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
91
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
92
|
+
/**
|
|
93
|
+
* <p>Retrieves a list of vector enrichment jobs.</p>
|
|
94
|
+
*/
|
|
95
|
+
listVectorEnrichmentJobs(args: ListVectorEnrichmentJobsCommandInput, options?: __HttpHandlerOptions): Promise<ListVectorEnrichmentJobsCommandOutput>;
|
|
96
|
+
listVectorEnrichmentJobs(args: ListVectorEnrichmentJobsCommandInput, cb: (err: any, data?: ListVectorEnrichmentJobsCommandOutput) => void): void;
|
|
97
|
+
listVectorEnrichmentJobs(args: ListVectorEnrichmentJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVectorEnrichmentJobsCommandOutput) => void): void;
|
|
98
|
+
/**
|
|
99
|
+
* <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>
|
|
100
|
+
*/
|
|
101
|
+
searchRasterDataCollection(args: SearchRasterDataCollectionCommandInput, options?: __HttpHandlerOptions): Promise<SearchRasterDataCollectionCommandOutput>;
|
|
102
|
+
searchRasterDataCollection(args: SearchRasterDataCollectionCommandInput, cb: (err: any, data?: SearchRasterDataCollectionCommandOutput) => void): void;
|
|
103
|
+
searchRasterDataCollection(args: SearchRasterDataCollectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchRasterDataCollectionCommandOutput) => void): void;
|
|
104
|
+
/**
|
|
105
|
+
* <p>Use this operation to create an Earth observation job.</p>
|
|
106
|
+
*/
|
|
107
|
+
startEarthObservationJob(args: StartEarthObservationJobCommandInput, options?: __HttpHandlerOptions): Promise<StartEarthObservationJobCommandOutput>;
|
|
108
|
+
startEarthObservationJob(args: StartEarthObservationJobCommandInput, cb: (err: any, data?: StartEarthObservationJobCommandOutput) => void): void;
|
|
109
|
+
startEarthObservationJob(args: StartEarthObservationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartEarthObservationJobCommandOutput) => void): void;
|
|
110
|
+
/**
|
|
111
|
+
* <p>Creates a Vector Enrichment job for the supplied job type. Currently, there are two supported job types: reverse geocoding and map matching.</p>
|
|
112
|
+
*/
|
|
113
|
+
startVectorEnrichmentJob(args: StartVectorEnrichmentJobCommandInput, options?: __HttpHandlerOptions): Promise<StartVectorEnrichmentJobCommandOutput>;
|
|
114
|
+
startVectorEnrichmentJob(args: StartVectorEnrichmentJobCommandInput, cb: (err: any, data?: StartVectorEnrichmentJobCommandOutput) => void): void;
|
|
115
|
+
startVectorEnrichmentJob(args: StartVectorEnrichmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartVectorEnrichmentJobCommandOutput) => void): void;
|
|
116
|
+
/**
|
|
117
|
+
* <p>Use this operation to stop an existing earth observation job.</p>
|
|
118
|
+
*/
|
|
119
|
+
stopEarthObservationJob(args: StopEarthObservationJobCommandInput, options?: __HttpHandlerOptions): Promise<StopEarthObservationJobCommandOutput>;
|
|
120
|
+
stopEarthObservationJob(args: StopEarthObservationJobCommandInput, cb: (err: any, data?: StopEarthObservationJobCommandOutput) => void): void;
|
|
121
|
+
stopEarthObservationJob(args: StopEarthObservationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopEarthObservationJobCommandOutput) => void): void;
|
|
122
|
+
/**
|
|
123
|
+
* <p>Stops the Vector Enrichment job for a given job ARN.</p>
|
|
124
|
+
*/
|
|
125
|
+
stopVectorEnrichmentJob(args: StopVectorEnrichmentJobCommandInput, options?: __HttpHandlerOptions): Promise<StopVectorEnrichmentJobCommandOutput>;
|
|
126
|
+
stopVectorEnrichmentJob(args: StopVectorEnrichmentJobCommandInput, cb: (err: any, data?: StopVectorEnrichmentJobCommandOutput) => void): void;
|
|
127
|
+
stopVectorEnrichmentJob(args: StopVectorEnrichmentJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopVectorEnrichmentJobCommandOutput) => void): void;
|
|
128
|
+
/**
|
|
129
|
+
* <p>The resource you want to tag.</p>
|
|
130
|
+
*/
|
|
131
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
132
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
133
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
134
|
+
/**
|
|
135
|
+
* <p>The resource you want to untag.</p>
|
|
136
|
+
*/
|
|
137
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
138
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
139
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
140
|
+
}
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
|
|
2
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
4
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
|
|
5
|
+
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
|
+
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, SdkStreamMixinInjector as __SdkStreamMixinInjector, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
|
+
import { DeleteEarthObservationJobCommandInput, DeleteEarthObservationJobCommandOutput } from "./commands/DeleteEarthObservationJobCommand";
|
|
11
|
+
import { DeleteVectorEnrichmentJobCommandInput, DeleteVectorEnrichmentJobCommandOutput } from "./commands/DeleteVectorEnrichmentJobCommand";
|
|
12
|
+
import { ExportEarthObservationJobCommandInput, ExportEarthObservationJobCommandOutput } from "./commands/ExportEarthObservationJobCommand";
|
|
13
|
+
import { ExportVectorEnrichmentJobCommandInput, ExportVectorEnrichmentJobCommandOutput } from "./commands/ExportVectorEnrichmentJobCommand";
|
|
14
|
+
import { GetEarthObservationJobCommandInput, GetEarthObservationJobCommandOutput } from "./commands/GetEarthObservationJobCommand";
|
|
15
|
+
import { GetRasterDataCollectionCommandInput, GetRasterDataCollectionCommandOutput } from "./commands/GetRasterDataCollectionCommand";
|
|
16
|
+
import { GetTileCommandInput, GetTileCommandOutput } from "./commands/GetTileCommand";
|
|
17
|
+
import { GetVectorEnrichmentJobCommandInput, GetVectorEnrichmentJobCommandOutput } from "./commands/GetVectorEnrichmentJobCommand";
|
|
18
|
+
import { ListEarthObservationJobsCommandInput, ListEarthObservationJobsCommandOutput } from "./commands/ListEarthObservationJobsCommand";
|
|
19
|
+
import { ListRasterDataCollectionsCommandInput, ListRasterDataCollectionsCommandOutput } from "./commands/ListRasterDataCollectionsCommand";
|
|
20
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
21
|
+
import { ListVectorEnrichmentJobsCommandInput, ListVectorEnrichmentJobsCommandOutput } from "./commands/ListVectorEnrichmentJobsCommand";
|
|
22
|
+
import { SearchRasterDataCollectionCommandInput, SearchRasterDataCollectionCommandOutput } from "./commands/SearchRasterDataCollectionCommand";
|
|
23
|
+
import { StartEarthObservationJobCommandInput, StartEarthObservationJobCommandOutput } from "./commands/StartEarthObservationJobCommand";
|
|
24
|
+
import { StartVectorEnrichmentJobCommandInput, StartVectorEnrichmentJobCommandOutput } from "./commands/StartVectorEnrichmentJobCommand";
|
|
25
|
+
import { StopEarthObservationJobCommandInput, StopEarthObservationJobCommandOutput } from "./commands/StopEarthObservationJobCommand";
|
|
26
|
+
import { StopVectorEnrichmentJobCommandInput, StopVectorEnrichmentJobCommandOutput } from "./commands/StopVectorEnrichmentJobCommand";
|
|
27
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
28
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
29
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
30
|
+
export declare type ServiceInputTypes = DeleteEarthObservationJobCommandInput | DeleteVectorEnrichmentJobCommandInput | ExportEarthObservationJobCommandInput | ExportVectorEnrichmentJobCommandInput | GetEarthObservationJobCommandInput | GetRasterDataCollectionCommandInput | GetTileCommandInput | GetVectorEnrichmentJobCommandInput | ListEarthObservationJobsCommandInput | ListRasterDataCollectionsCommandInput | ListTagsForResourceCommandInput | ListVectorEnrichmentJobsCommandInput | SearchRasterDataCollectionCommandInput | StartEarthObservationJobCommandInput | StartVectorEnrichmentJobCommandInput | StopEarthObservationJobCommandInput | StopVectorEnrichmentJobCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
31
|
+
export declare type ServiceOutputTypes = DeleteEarthObservationJobCommandOutput | DeleteVectorEnrichmentJobCommandOutput | ExportEarthObservationJobCommandOutput | ExportVectorEnrichmentJobCommandOutput | GetEarthObservationJobCommandOutput | GetRasterDataCollectionCommandOutput | GetTileCommandOutput | GetVectorEnrichmentJobCommandOutput | ListEarthObservationJobsCommandOutput | ListRasterDataCollectionsCommandOutput | ListTagsForResourceCommandOutput | ListVectorEnrichmentJobsCommandOutput | SearchRasterDataCollectionCommandOutput | StartEarthObservationJobCommandOutput | StartVectorEnrichmentJobCommandOutput | StopEarthObservationJobCommandOutput | StopVectorEnrichmentJobCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
32
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
33
|
+
/**
|
|
34
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
35
|
+
*/
|
|
36
|
+
requestHandler?: __HttpHandler;
|
|
37
|
+
/**
|
|
38
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
39
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
sha256?: __HashConstructor;
|
|
43
|
+
/**
|
|
44
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
urlParser?: __UrlParser;
|
|
48
|
+
/**
|
|
49
|
+
* A function that can calculate the length of a request body.
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
53
|
+
/**
|
|
54
|
+
* A function that converts a stream into an array of bytes.
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
streamCollector?: __StreamCollector;
|
|
58
|
+
/**
|
|
59
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
base64Decoder?: __Decoder;
|
|
63
|
+
/**
|
|
64
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
base64Encoder?: __Encoder;
|
|
68
|
+
/**
|
|
69
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
utf8Decoder?: __Decoder;
|
|
73
|
+
/**
|
|
74
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
utf8Encoder?: __Encoder;
|
|
78
|
+
/**
|
|
79
|
+
* The runtime environment.
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
runtime?: string;
|
|
83
|
+
/**
|
|
84
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
85
|
+
* trait of an operation.
|
|
86
|
+
*/
|
|
87
|
+
disableHostPrefix?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
90
|
+
*/
|
|
91
|
+
maxAttempts?: number | __Provider<number>;
|
|
92
|
+
/**
|
|
93
|
+
* Specifies which retry algorithm to use.
|
|
94
|
+
*/
|
|
95
|
+
retryMode?: string | __Provider<string>;
|
|
96
|
+
/**
|
|
97
|
+
* Optional logger for logging debug/info/warn/error.
|
|
98
|
+
*/
|
|
99
|
+
logger?: __Logger;
|
|
100
|
+
/**
|
|
101
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
102
|
+
*/
|
|
103
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* Enables FIPS compatible endpoints.
|
|
106
|
+
*/
|
|
107
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
108
|
+
/**
|
|
109
|
+
* Unique service identifier.
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
serviceId?: string;
|
|
113
|
+
/**
|
|
114
|
+
* The AWS region to which this client will send requests
|
|
115
|
+
*/
|
|
116
|
+
region?: string | __Provider<string>;
|
|
117
|
+
/**
|
|
118
|
+
* Default credentials provider; Not available in browser runtime.
|
|
119
|
+
* @internal
|
|
120
|
+
*/
|
|
121
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
122
|
+
/**
|
|
123
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
127
|
+
/**
|
|
128
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
129
|
+
*/
|
|
130
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
131
|
+
/**
|
|
132
|
+
* The internal function that inject utilities to runtime-specific stream to help users consume the data
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
sdkStreamMixin?: __SdkStreamMixinInjector;
|
|
136
|
+
}
|
|
137
|
+
declare type SageMakerGeospatialClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
138
|
+
/**
|
|
139
|
+
* The configuration interface of SageMakerGeospatialClient class constructor that set the region, credentials and other options.
|
|
140
|
+
*/
|
|
141
|
+
export interface SageMakerGeospatialClientConfig extends SageMakerGeospatialClientConfigType {
|
|
142
|
+
}
|
|
143
|
+
declare type SageMakerGeospatialClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
144
|
+
/**
|
|
145
|
+
* The resolved configuration interface of SageMakerGeospatialClient class. This is resolved and normalized from the {@link SageMakerGeospatialClientConfig | constructor configuration interface}.
|
|
146
|
+
*/
|
|
147
|
+
export interface SageMakerGeospatialClientResolvedConfig extends SageMakerGeospatialClientResolvedConfigType {
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* <p>Provides APIs for creating and managing SageMaker geospatial resources.</p>
|
|
151
|
+
*/
|
|
152
|
+
export declare class SageMakerGeospatialClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SageMakerGeospatialClientResolvedConfig> {
|
|
153
|
+
/**
|
|
154
|
+
* The resolved configuration of SageMakerGeospatialClient class. This is resolved and normalized from the {@link SageMakerGeospatialClientConfig | constructor configuration interface}.
|
|
155
|
+
*/
|
|
156
|
+
readonly config: SageMakerGeospatialClientResolvedConfig;
|
|
157
|
+
constructor(configuration: SageMakerGeospatialClientConfig);
|
|
158
|
+
/**
|
|
159
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
160
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
161
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
162
|
+
*/
|
|
163
|
+
destroy(): void;
|
|
164
|
+
}
|
|
165
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DeleteEarthObservationJobInput, DeleteEarthObservationJobOutput } from "../models/models_0";
|
|
5
|
+
import { SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerGeospatialClient";
|
|
6
|
+
export interface DeleteEarthObservationJobCommandInput extends DeleteEarthObservationJobInput {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteEarthObservationJobCommandOutput extends DeleteEarthObservationJobOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Use this operation to delete an Earth Observation job.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SageMakerGeospatialClient, DeleteEarthObservationJobCommand } from "@aws-sdk/client-sagemaker-geospatial"; // ES Modules import
|
|
16
|
+
* // const { SageMakerGeospatialClient, DeleteEarthObservationJobCommand } = require("@aws-sdk/client-sagemaker-geospatial"); // CommonJS import
|
|
17
|
+
* const client = new SageMakerGeospatialClient(config);
|
|
18
|
+
* const command = new DeleteEarthObservationJobCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DeleteEarthObservationJobCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DeleteEarthObservationJobCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SageMakerGeospatialClientResolvedConfig | config} for SageMakerGeospatialClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteEarthObservationJobCommand extends $Command<DeleteEarthObservationJobCommandInput, DeleteEarthObservationJobCommandOutput, SageMakerGeospatialClientResolvedConfig> {
|
|
28
|
+
readonly input: DeleteEarthObservationJobCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DeleteEarthObservationJobCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerGeospatialClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteEarthObservationJobCommandInput, DeleteEarthObservationJobCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DeleteVectorEnrichmentJobInput, DeleteVectorEnrichmentJobOutput } from "../models/models_0";
|
|
5
|
+
import { SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerGeospatialClient";
|
|
6
|
+
export interface DeleteVectorEnrichmentJobCommandInput extends DeleteVectorEnrichmentJobInput {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteVectorEnrichmentJobCommandOutput extends DeleteVectorEnrichmentJobOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Use this operation to delete a Vector Enrichment job.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SageMakerGeospatialClient, DeleteVectorEnrichmentJobCommand } from "@aws-sdk/client-sagemaker-geospatial"; // ES Modules import
|
|
16
|
+
* // const { SageMakerGeospatialClient, DeleteVectorEnrichmentJobCommand } = require("@aws-sdk/client-sagemaker-geospatial"); // CommonJS import
|
|
17
|
+
* const client = new SageMakerGeospatialClient(config);
|
|
18
|
+
* const command = new DeleteVectorEnrichmentJobCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DeleteVectorEnrichmentJobCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DeleteVectorEnrichmentJobCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SageMakerGeospatialClientResolvedConfig | config} for SageMakerGeospatialClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteVectorEnrichmentJobCommand extends $Command<DeleteVectorEnrichmentJobCommandInput, DeleteVectorEnrichmentJobCommandOutput, SageMakerGeospatialClientResolvedConfig> {
|
|
28
|
+
readonly input: DeleteVectorEnrichmentJobCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DeleteVectorEnrichmentJobCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerGeospatialClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteVectorEnrichmentJobCommandInput, DeleteVectorEnrichmentJobCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ExportEarthObservationJobInput, ExportEarthObservationJobOutput } from "../models/models_0";
|
|
5
|
+
import { SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerGeospatialClient";
|
|
6
|
+
export interface ExportEarthObservationJobCommandInput extends ExportEarthObservationJobInput {
|
|
7
|
+
}
|
|
8
|
+
export interface ExportEarthObservationJobCommandOutput extends ExportEarthObservationJobOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Use this operation to export results of an Earth Observation job and optionally source images used as input to the EOJ to an S3 location.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SageMakerGeospatialClient, ExportEarthObservationJobCommand } from "@aws-sdk/client-sagemaker-geospatial"; // ES Modules import
|
|
16
|
+
* // const { SageMakerGeospatialClient, ExportEarthObservationJobCommand } = require("@aws-sdk/client-sagemaker-geospatial"); // CommonJS import
|
|
17
|
+
* const client = new SageMakerGeospatialClient(config);
|
|
18
|
+
* const command = new ExportEarthObservationJobCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ExportEarthObservationJobCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ExportEarthObservationJobCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SageMakerGeospatialClientResolvedConfig | config} for SageMakerGeospatialClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ExportEarthObservationJobCommand extends $Command<ExportEarthObservationJobCommandInput, ExportEarthObservationJobCommandOutput, SageMakerGeospatialClientResolvedConfig> {
|
|
28
|
+
readonly input: ExportEarthObservationJobCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ExportEarthObservationJobCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerGeospatialClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExportEarthObservationJobCommandInput, ExportEarthObservationJobCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ExportVectorEnrichmentJobInput, ExportVectorEnrichmentJobOutput } from "../models/models_0";
|
|
5
|
+
import { SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerGeospatialClient";
|
|
6
|
+
export interface ExportVectorEnrichmentJobCommandInput extends ExportVectorEnrichmentJobInput {
|
|
7
|
+
}
|
|
8
|
+
export interface ExportVectorEnrichmentJobCommandOutput extends ExportVectorEnrichmentJobOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Use this operation to copy results of a Vector Enrichment job to an S3 location.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SageMakerGeospatialClient, ExportVectorEnrichmentJobCommand } from "@aws-sdk/client-sagemaker-geospatial"; // ES Modules import
|
|
16
|
+
* // const { SageMakerGeospatialClient, ExportVectorEnrichmentJobCommand } = require("@aws-sdk/client-sagemaker-geospatial"); // CommonJS import
|
|
17
|
+
* const client = new SageMakerGeospatialClient(config);
|
|
18
|
+
* const command = new ExportVectorEnrichmentJobCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ExportVectorEnrichmentJobCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ExportVectorEnrichmentJobCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SageMakerGeospatialClientResolvedConfig | config} for SageMakerGeospatialClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ExportVectorEnrichmentJobCommand extends $Command<ExportVectorEnrichmentJobCommandInput, ExportVectorEnrichmentJobCommandOutput, SageMakerGeospatialClientResolvedConfig> {
|
|
28
|
+
readonly input: ExportVectorEnrichmentJobCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ExportVectorEnrichmentJobCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerGeospatialClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExportVectorEnrichmentJobCommandInput, ExportVectorEnrichmentJobCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { GetEarthObservationJobInput, GetEarthObservationJobOutput } from "../models/models_0";
|
|
5
|
+
import { SageMakerGeospatialClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerGeospatialClient";
|
|
6
|
+
export interface GetEarthObservationJobCommandInput extends GetEarthObservationJobInput {
|
|
7
|
+
}
|
|
8
|
+
export interface GetEarthObservationJobCommandOutput extends GetEarthObservationJobOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Get the details for a previously initiated Earth Observation job.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SageMakerGeospatialClient, GetEarthObservationJobCommand } from "@aws-sdk/client-sagemaker-geospatial"; // ES Modules import
|
|
16
|
+
* // const { SageMakerGeospatialClient, GetEarthObservationJobCommand } = require("@aws-sdk/client-sagemaker-geospatial"); // CommonJS import
|
|
17
|
+
* const client = new SageMakerGeospatialClient(config);
|
|
18
|
+
* const command = new GetEarthObservationJobCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link GetEarthObservationJobCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link GetEarthObservationJobCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SageMakerGeospatialClientResolvedConfig | config} for SageMakerGeospatialClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class GetEarthObservationJobCommand extends $Command<GetEarthObservationJobCommandInput, GetEarthObservationJobCommandOutput, SageMakerGeospatialClientResolvedConfig> {
|
|
28
|
+
readonly input: GetEarthObservationJobCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: GetEarthObservationJobCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerGeospatialClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetEarthObservationJobCommandInput, GetEarthObservationJobCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|