@aws-sdk/client-outposts 3.39.0 → 3.43.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/CHANGELOG.md +41 -0
- package/README.md +10 -10
- package/dist-cjs/Outposts.js +165 -0
- package/dist-cjs/commands/CancelOrderCommand.js +36 -0
- package/dist-cjs/commands/CreateSiteCommand.js +36 -0
- package/dist-cjs/commands/GetCatalogItemCommand.js +36 -0
- package/dist-cjs/commands/GetOrderCommand.js +36 -0
- package/dist-cjs/commands/GetSiteAddressCommand.js +36 -0
- package/dist-cjs/commands/GetSiteCommand.js +36 -0
- package/dist-cjs/commands/ListCatalogItemsCommand.js +36 -0
- package/dist-cjs/commands/ListOrdersCommand.js +36 -0
- package/dist-cjs/commands/UpdateSiteAddressCommand.js +36 -0
- package/dist-cjs/commands/UpdateSiteCommand.js +36 -0
- package/dist-cjs/commands/UpdateSiteRackPhysicalPropertiesCommand.js +36 -0
- package/dist-cjs/commands/index.js +11 -0
- package/dist-cjs/endpoints.js +143 -24
- package/dist-cjs/models/models_0.js +301 -25
- package/dist-cjs/pagination/ListCatalogItemsPaginator.js +35 -0
- package/dist-cjs/pagination/ListOrdersPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1429 -103
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/Outposts.js +165 -0
- package/dist-es/commands/CancelOrderCommand.js +39 -0
- package/dist-es/commands/CreateSiteCommand.js +39 -0
- package/dist-es/commands/GetCatalogItemCommand.js +39 -0
- package/dist-es/commands/GetOrderCommand.js +39 -0
- package/dist-es/commands/GetSiteAddressCommand.js +39 -0
- package/dist-es/commands/GetSiteCommand.js +39 -0
- package/dist-es/commands/ListCatalogItemsCommand.js +39 -0
- package/dist-es/commands/ListOrdersCommand.js +39 -0
- package/dist-es/commands/UpdateSiteAddressCommand.js +39 -0
- package/dist-es/commands/UpdateSiteCommand.js +39 -0
- package/dist-es/commands/UpdateSiteRackPhysicalPropertiesCommand.js +39 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoints.js +143 -24
- package/dist-es/models/models_0.js +237 -16
- package/dist-es/pagination/ListCatalogItemsPaginator.js +74 -0
- package/dist-es/pagination/ListOrdersPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1638 -165
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/Outposts.d.ts +114 -6
- package/dist-types/OutpostsClient.d.ts +24 -5
- package/dist-types/commands/CancelOrderCommand.d.ts +37 -0
- package/dist-types/commands/CreateOrderCommand.d.ts +1 -1
- package/dist-types/commands/CreateOutpostCommand.d.ts +1 -1
- package/dist-types/commands/CreateSiteCommand.d.ts +37 -0
- package/dist-types/commands/DeleteOutpostCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSiteCommand.d.ts +1 -1
- package/dist-types/commands/GetCatalogItemCommand.d.ts +35 -0
- package/dist-types/commands/GetOrderCommand.d.ts +35 -0
- package/dist-types/commands/GetOutpostCommand.d.ts +1 -1
- package/dist-types/commands/GetOutpostInstanceTypesCommand.d.ts +1 -1
- package/dist-types/commands/GetSiteAddressCommand.d.ts +37 -0
- package/dist-types/commands/GetSiteCommand.d.ts +37 -0
- package/dist-types/commands/ListCatalogItemsCommand.d.ts +39 -0
- package/dist-types/commands/ListOrdersCommand.d.ts +36 -0
- package/dist-types/commands/ListOutpostsCommand.d.ts +3 -3
- package/dist-types/commands/ListSitesCommand.d.ts +2 -2
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSiteAddressCommand.d.ts +46 -0
- package/dist-types/commands/UpdateSiteCommand.d.ts +37 -0
- package/dist-types/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +40 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +1133 -151
- package/dist-types/pagination/ListCatalogItemsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListOrdersPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +33 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/Outposts.d.ts +55 -0
- package/dist-types/ts3.4/OutpostsClient.d.ts +17 -2
- package/dist-types/ts3.4/commands/CancelOrderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateSiteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCatalogItemCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetOrderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSiteAddressCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetSiteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCatalogItemsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListOrdersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSiteAddressCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSiteCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +511 -52
- package/dist-types/ts3.4/pagination/ListCatalogItemsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListOrdersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +33 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
|
+
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
5
|
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
6
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
|
10
11
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
11
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
12
13
|
export var getRuntimeConfig = function (config) {
|
|
13
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
14
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
14
15
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
15
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
16
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
16
17
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
|
-
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
|
|
4
|
+
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";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { Hash } from "@aws-sdk/hash-node";
|
|
7
7
|
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
15
|
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
16
|
export var getRuntimeConfig = function (config) {
|
|
17
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
18
|
emitWarningIfUnsupportedVersion(process.version);
|
|
19
19
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector,
|
|
20
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
21
|
};
|
package/dist-types/Outposts.d.ts
CHANGED
|
@@ -1,24 +1,43 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CancelOrderCommandInput, CancelOrderCommandOutput } from "./commands/CancelOrderCommand";
|
|
2
3
|
import { CreateOrderCommandInput, CreateOrderCommandOutput } from "./commands/CreateOrderCommand";
|
|
3
4
|
import { CreateOutpostCommandInput, CreateOutpostCommandOutput } from "./commands/CreateOutpostCommand";
|
|
5
|
+
import { CreateSiteCommandInput, CreateSiteCommandOutput } from "./commands/CreateSiteCommand";
|
|
4
6
|
import { DeleteOutpostCommandInput, DeleteOutpostCommandOutput } from "./commands/DeleteOutpostCommand";
|
|
5
7
|
import { DeleteSiteCommandInput, DeleteSiteCommandOutput } from "./commands/DeleteSiteCommand";
|
|
8
|
+
import { GetCatalogItemCommandInput, GetCatalogItemCommandOutput } from "./commands/GetCatalogItemCommand";
|
|
9
|
+
import { GetOrderCommandInput, GetOrderCommandOutput } from "./commands/GetOrderCommand";
|
|
6
10
|
import { GetOutpostCommandInput, GetOutpostCommandOutput } from "./commands/GetOutpostCommand";
|
|
7
11
|
import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "./commands/GetOutpostInstanceTypesCommand";
|
|
12
|
+
import { GetSiteAddressCommandInput, GetSiteAddressCommandOutput } from "./commands/GetSiteAddressCommand";
|
|
13
|
+
import { GetSiteCommandInput, GetSiteCommandOutput } from "./commands/GetSiteCommand";
|
|
14
|
+
import { ListCatalogItemsCommandInput, ListCatalogItemsCommandOutput } from "./commands/ListCatalogItemsCommand";
|
|
15
|
+
import { ListOrdersCommandInput, ListOrdersCommandOutput } from "./commands/ListOrdersCommand";
|
|
8
16
|
import { ListOutpostsCommandInput, ListOutpostsCommandOutput } from "./commands/ListOutpostsCommand";
|
|
9
17
|
import { ListSitesCommandInput, ListSitesCommandOutput } from "./commands/ListSitesCommand";
|
|
10
18
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
11
19
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
12
20
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
21
|
+
import { UpdateSiteAddressCommandInput, UpdateSiteAddressCommandOutput } from "./commands/UpdateSiteAddressCommand";
|
|
22
|
+
import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "./commands/UpdateSiteCommand";
|
|
23
|
+
import { UpdateSiteRackPhysicalPropertiesCommandInput, UpdateSiteRackPhysicalPropertiesCommandOutput } from "./commands/UpdateSiteRackPhysicalPropertiesCommand";
|
|
13
24
|
import { OutpostsClient } from "./OutpostsClient";
|
|
14
25
|
/**
|
|
15
|
-
* <p>
|
|
16
|
-
* to customer premises. By providing local access to
|
|
26
|
+
* <p>Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools
|
|
27
|
+
* to customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts
|
|
17
28
|
* enables customers to build and run applications on premises using the same programming
|
|
18
|
-
* interfaces as in
|
|
29
|
+
* interfaces as in Amazon Web Services Regions, while using local compute and storage resources for lower
|
|
19
30
|
* latency and local data processing needs.</p>
|
|
20
31
|
*/
|
|
21
32
|
export declare class Outposts extends OutpostsClient {
|
|
33
|
+
/**
|
|
34
|
+
* <p>
|
|
35
|
+
* Cancels an order for an Outpost.
|
|
36
|
+
* </p>
|
|
37
|
+
*/
|
|
38
|
+
cancelOrder(args: CancelOrderCommandInput, options?: __HttpHandlerOptions): Promise<CancelOrderCommandOutput>;
|
|
39
|
+
cancelOrder(args: CancelOrderCommandInput, cb: (err: any, data?: CancelOrderCommandOutput) => void): void;
|
|
40
|
+
cancelOrder(args: CancelOrderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelOrderCommandOutput) => void): void;
|
|
22
41
|
/**
|
|
23
42
|
* <p>Creates an order for an Outpost.</p>
|
|
24
43
|
*/
|
|
@@ -32,6 +51,14 @@ export declare class Outposts extends OutpostsClient {
|
|
|
32
51
|
createOutpost(args: CreateOutpostCommandInput, options?: __HttpHandlerOptions): Promise<CreateOutpostCommandOutput>;
|
|
33
52
|
createOutpost(args: CreateOutpostCommandInput, cb: (err: any, data?: CreateOutpostCommandOutput) => void): void;
|
|
34
53
|
createOutpost(args: CreateOutpostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOutpostCommandOutput) => void): void;
|
|
54
|
+
/**
|
|
55
|
+
* <p>
|
|
56
|
+
* Creates a site for an Outpost.
|
|
57
|
+
* </p>
|
|
58
|
+
*/
|
|
59
|
+
createSite(args: CreateSiteCommandInput, options?: __HttpHandlerOptions): Promise<CreateSiteCommandOutput>;
|
|
60
|
+
createSite(args: CreateSiteCommandInput, cb: (err: any, data?: CreateSiteCommandOutput) => void): void;
|
|
61
|
+
createSite(args: CreateSiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSiteCommandOutput) => void): void;
|
|
35
62
|
/**
|
|
36
63
|
* <p>Deletes the Outpost.</p>
|
|
37
64
|
*/
|
|
@@ -44,6 +71,18 @@ export declare class Outposts extends OutpostsClient {
|
|
|
44
71
|
deleteSite(args: DeleteSiteCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSiteCommandOutput>;
|
|
45
72
|
deleteSite(args: DeleteSiteCommandInput, cb: (err: any, data?: DeleteSiteCommandOutput) => void): void;
|
|
46
73
|
deleteSite(args: DeleteSiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSiteCommandOutput) => void): void;
|
|
74
|
+
/**
|
|
75
|
+
* <p>Gets information about a catalog item.</p>
|
|
76
|
+
*/
|
|
77
|
+
getCatalogItem(args: GetCatalogItemCommandInput, options?: __HttpHandlerOptions): Promise<GetCatalogItemCommandOutput>;
|
|
78
|
+
getCatalogItem(args: GetCatalogItemCommandInput, cb: (err: any, data?: GetCatalogItemCommandOutput) => void): void;
|
|
79
|
+
getCatalogItem(args: GetCatalogItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCatalogItemCommandOutput) => void): void;
|
|
80
|
+
/**
|
|
81
|
+
* <p>Gets an order.</p>
|
|
82
|
+
*/
|
|
83
|
+
getOrder(args: GetOrderCommandInput, options?: __HttpHandlerOptions): Promise<GetOrderCommandOutput>;
|
|
84
|
+
getOrder(args: GetOrderCommandInput, cb: (err: any, data?: GetOrderCommandOutput) => void): void;
|
|
85
|
+
getOrder(args: GetOrderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrderCommandOutput) => void): void;
|
|
47
86
|
/**
|
|
48
87
|
* <p>Gets information about the specified Outpost.</p>
|
|
49
88
|
*/
|
|
@@ -57,9 +96,42 @@ export declare class Outposts extends OutpostsClient {
|
|
|
57
96
|
getOutpostInstanceTypes(args: GetOutpostInstanceTypesCommandInput, cb: (err: any, data?: GetOutpostInstanceTypesCommandOutput) => void): void;
|
|
58
97
|
getOutpostInstanceTypes(args: GetOutpostInstanceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOutpostInstanceTypesCommandOutput) => void): void;
|
|
59
98
|
/**
|
|
60
|
-
* <p>
|
|
99
|
+
* <p>
|
|
100
|
+
* Gets information about the specified Outpost site.
|
|
101
|
+
* </p>
|
|
102
|
+
*/
|
|
103
|
+
getSite(args: GetSiteCommandInput, options?: __HttpHandlerOptions): Promise<GetSiteCommandOutput>;
|
|
104
|
+
getSite(args: GetSiteCommandInput, cb: (err: any, data?: GetSiteCommandOutput) => void): void;
|
|
105
|
+
getSite(args: GetSiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSiteCommandOutput) => void): void;
|
|
106
|
+
/**
|
|
107
|
+
* <p>
|
|
108
|
+
* Gets the site address.
|
|
109
|
+
* </p>
|
|
110
|
+
*/
|
|
111
|
+
getSiteAddress(args: GetSiteAddressCommandInput, options?: __HttpHandlerOptions): Promise<GetSiteAddressCommandOutput>;
|
|
112
|
+
getSiteAddress(args: GetSiteAddressCommandInput, cb: (err: any, data?: GetSiteAddressCommandOutput) => void): void;
|
|
113
|
+
getSiteAddress(args: GetSiteAddressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSiteAddressCommandOutput) => void): void;
|
|
114
|
+
/**
|
|
115
|
+
* <p>Use to create a list of every item in the catalog. Add filters to your request to return a
|
|
116
|
+
* more specific list of results. Use filters to match an item class, storage
|
|
117
|
+
* option, or EC2 family. </p>
|
|
118
|
+
* <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and
|
|
119
|
+
* the request returns only results that match all of the specified filters.</p>
|
|
120
|
+
*/
|
|
121
|
+
listCatalogItems(args: ListCatalogItemsCommandInput, options?: __HttpHandlerOptions): Promise<ListCatalogItemsCommandOutput>;
|
|
122
|
+
listCatalogItems(args: ListCatalogItemsCommandInput, cb: (err: any, data?: ListCatalogItemsCommandOutput) => void): void;
|
|
123
|
+
listCatalogItems(args: ListCatalogItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCatalogItemsCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* <p>Create a list of the Outpost orders for your Amazon Web Services account. You can filter your request by Outpost to
|
|
126
|
+
* return a more specific list of results. </p>
|
|
127
|
+
*/
|
|
128
|
+
listOrders(args: ListOrdersCommandInput, options?: __HttpHandlerOptions): Promise<ListOrdersCommandOutput>;
|
|
129
|
+
listOrders(args: ListOrdersCommandInput, cb: (err: any, data?: ListOrdersCommandOutput) => void): void;
|
|
130
|
+
listOrders(args: ListOrdersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOrdersCommandOutput) => void): void;
|
|
131
|
+
/**
|
|
132
|
+
* <p>Create a list of the Outposts for your Amazon Web Services account. Add filters to your request to return
|
|
61
133
|
* a more specific list of results. Use filters to match an Outpost lifecycle status,
|
|
62
|
-
*
|
|
134
|
+
* Availability Zone (<code>us-east-1a</code>), and AZ ID (<code>use1-az1</code>). </p>
|
|
63
135
|
*
|
|
64
136
|
* <p>If you specify multiple filters, the filters are joined with an <code>AND</code>, and the request returns only
|
|
65
137
|
* results that match all of the specified filters.</p>
|
|
@@ -68,7 +140,7 @@ export declare class Outposts extends OutpostsClient {
|
|
|
68
140
|
listOutposts(args: ListOutpostsCommandInput, cb: (err: any, data?: ListOutpostsCommandOutput) => void): void;
|
|
69
141
|
listOutposts(args: ListOutpostsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOutpostsCommandOutput) => void): void;
|
|
70
142
|
/**
|
|
71
|
-
* <p>Lists the sites for
|
|
143
|
+
* <p>Lists the sites for your Amazon Web Services account.</p>
|
|
72
144
|
*/
|
|
73
145
|
listSites(args: ListSitesCommandInput, options?: __HttpHandlerOptions): Promise<ListSitesCommandOutput>;
|
|
74
146
|
listSites(args: ListSitesCommandInput, cb: (err: any, data?: ListSitesCommandOutput) => void): void;
|
|
@@ -91,4 +163,40 @@ export declare class Outposts extends OutpostsClient {
|
|
|
91
163
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
92
164
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
93
165
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
166
|
+
/**
|
|
167
|
+
* <p>
|
|
168
|
+
* Updates the site.
|
|
169
|
+
* </p>
|
|
170
|
+
*/
|
|
171
|
+
updateSite(args: UpdateSiteCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSiteCommandOutput>;
|
|
172
|
+
updateSite(args: UpdateSiteCommandInput, cb: (err: any, data?: UpdateSiteCommandOutput) => void): void;
|
|
173
|
+
updateSite(args: UpdateSiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSiteCommandOutput) => void): void;
|
|
174
|
+
/**
|
|
175
|
+
* <p>
|
|
176
|
+
* Updates the site address.
|
|
177
|
+
* </p>
|
|
178
|
+
* <p>
|
|
179
|
+
* To update a site address
|
|
180
|
+
* with an order <code>IN_PROGRESS</code>, you must wait for the order
|
|
181
|
+
* to complete or cancel the order.
|
|
182
|
+
* </p>
|
|
183
|
+
* <p>You
|
|
184
|
+
* can update the operating address before you place an order at the
|
|
185
|
+
* site, or after all Outposts that belong to the site have been deactivated.
|
|
186
|
+
* </p>
|
|
187
|
+
*/
|
|
188
|
+
updateSiteAddress(args: UpdateSiteAddressCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSiteAddressCommandOutput>;
|
|
189
|
+
updateSiteAddress(args: UpdateSiteAddressCommandInput, cb: (err: any, data?: UpdateSiteAddressCommandOutput) => void): void;
|
|
190
|
+
updateSiteAddress(args: UpdateSiteAddressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSiteAddressCommandOutput) => void): void;
|
|
191
|
+
/**
|
|
192
|
+
* <p>Update the physical and logistical details for a rack at a site. For more information
|
|
193
|
+
* about hardware requirements for racks, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/outposts-requirements.html#checklist">Network
|
|
194
|
+
* readiness checklist</a> in the Amazon Web Services Outposts User Guide.
|
|
195
|
+
* </p>
|
|
196
|
+
* <p>To update a rack at a site with an order of <code>IN_PROGRESS</code>, you must wait for
|
|
197
|
+
* the order to complete or cancel the order.</p>
|
|
198
|
+
*/
|
|
199
|
+
updateSiteRackPhysicalProperties(args: UpdateSiteRackPhysicalPropertiesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSiteRackPhysicalPropertiesCommandOutput>;
|
|
200
|
+
updateSiteRackPhysicalProperties(args: UpdateSiteRackPhysicalPropertiesCommandInput, cb: (err: any, data?: UpdateSiteRackPhysicalPropertiesCommandOutput) => void): void;
|
|
201
|
+
updateSiteRackPhysicalProperties(args: UpdateSiteRackPhysicalPropertiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSiteRackPhysicalPropertiesCommandOutput) => void): void;
|
|
94
202
|
}
|
|
@@ -6,19 +6,30 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
8
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
|
+
import { CancelOrderCommandInput, CancelOrderCommandOutput } from "./commands/CancelOrderCommand";
|
|
9
10
|
import { CreateOrderCommandInput, CreateOrderCommandOutput } from "./commands/CreateOrderCommand";
|
|
10
11
|
import { CreateOutpostCommandInput, CreateOutpostCommandOutput } from "./commands/CreateOutpostCommand";
|
|
12
|
+
import { CreateSiteCommandInput, CreateSiteCommandOutput } from "./commands/CreateSiteCommand";
|
|
11
13
|
import { DeleteOutpostCommandInput, DeleteOutpostCommandOutput } from "./commands/DeleteOutpostCommand";
|
|
12
14
|
import { DeleteSiteCommandInput, DeleteSiteCommandOutput } from "./commands/DeleteSiteCommand";
|
|
15
|
+
import { GetCatalogItemCommandInput, GetCatalogItemCommandOutput } from "./commands/GetCatalogItemCommand";
|
|
16
|
+
import { GetOrderCommandInput, GetOrderCommandOutput } from "./commands/GetOrderCommand";
|
|
13
17
|
import { GetOutpostCommandInput, GetOutpostCommandOutput } from "./commands/GetOutpostCommand";
|
|
14
18
|
import { GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput } from "./commands/GetOutpostInstanceTypesCommand";
|
|
19
|
+
import { GetSiteAddressCommandInput, GetSiteAddressCommandOutput } from "./commands/GetSiteAddressCommand";
|
|
20
|
+
import { GetSiteCommandInput, GetSiteCommandOutput } from "./commands/GetSiteCommand";
|
|
21
|
+
import { ListCatalogItemsCommandInput, ListCatalogItemsCommandOutput } from "./commands/ListCatalogItemsCommand";
|
|
22
|
+
import { ListOrdersCommandInput, ListOrdersCommandOutput } from "./commands/ListOrdersCommand";
|
|
15
23
|
import { ListOutpostsCommandInput, ListOutpostsCommandOutput } from "./commands/ListOutpostsCommand";
|
|
16
24
|
import { ListSitesCommandInput, ListSitesCommandOutput } from "./commands/ListSitesCommand";
|
|
17
25
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
18
26
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
19
27
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
20
|
-
|
|
21
|
-
|
|
28
|
+
import { UpdateSiteAddressCommandInput, UpdateSiteAddressCommandOutput } from "./commands/UpdateSiteAddressCommand";
|
|
29
|
+
import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "./commands/UpdateSiteCommand";
|
|
30
|
+
import { UpdateSiteRackPhysicalPropertiesCommandInput, UpdateSiteRackPhysicalPropertiesCommandOutput } from "./commands/UpdateSiteRackPhysicalPropertiesCommand";
|
|
31
|
+
export declare type ServiceInputTypes = CancelOrderCommandInput | CreateOrderCommandInput | CreateOutpostCommandInput | CreateSiteCommandInput | DeleteOutpostCommandInput | DeleteSiteCommandInput | GetCatalogItemCommandInput | GetOrderCommandInput | GetOutpostCommandInput | GetOutpostInstanceTypesCommandInput | GetSiteAddressCommandInput | GetSiteCommandInput | ListCatalogItemsCommandInput | ListOrdersCommandInput | ListOutpostsCommandInput | ListSitesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateSiteAddressCommandInput | UpdateSiteCommandInput | UpdateSiteRackPhysicalPropertiesCommandInput;
|
|
32
|
+
export declare type ServiceOutputTypes = CancelOrderCommandOutput | CreateOrderCommandOutput | CreateOutpostCommandOutput | CreateSiteCommandOutput | DeleteOutpostCommandOutput | DeleteSiteCommandOutput | GetCatalogItemCommandOutput | GetOrderCommandOutput | GetOutpostCommandOutput | GetOutpostInstanceTypesCommandOutput | GetSiteAddressCommandOutput | GetSiteCommandOutput | ListCatalogItemsCommandOutput | ListOrdersCommandOutput | ListOutpostsCommandOutput | ListSitesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateSiteAddressCommandOutput | UpdateSiteCommandOutput | UpdateSiteRackPhysicalPropertiesCommandOutput;
|
|
22
33
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
23
34
|
/**
|
|
24
35
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -87,6 +98,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
87
98
|
* Optional logger for logging debug/info/warn/error.
|
|
88
99
|
*/
|
|
89
100
|
logger?: __Logger;
|
|
101
|
+
/**
|
|
102
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
103
|
+
*/
|
|
104
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
105
|
+
/**
|
|
106
|
+
* Enables FIPS compatible endpoints.
|
|
107
|
+
*/
|
|
108
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
90
109
|
/**
|
|
91
110
|
* Unique service identifier.
|
|
92
111
|
* @internal
|
|
@@ -125,10 +144,10 @@ declare type OutpostsClientResolvedConfigType = __SmithyResolvedConfiguration<__
|
|
|
125
144
|
export interface OutpostsClientResolvedConfig extends OutpostsClientResolvedConfigType {
|
|
126
145
|
}
|
|
127
146
|
/**
|
|
128
|
-
* <p>
|
|
129
|
-
* to customer premises. By providing local access to
|
|
147
|
+
* <p>Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools
|
|
148
|
+
* to customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts
|
|
130
149
|
* enables customers to build and run applications on premises using the same programming
|
|
131
|
-
* interfaces as in
|
|
150
|
+
* interfaces as in Amazon Web Services Regions, while using local compute and storage resources for lower
|
|
132
151
|
* latency and local data processing needs.</p>
|
|
133
152
|
*/
|
|
134
153
|
export declare class OutpostsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, OutpostsClientResolvedConfig> {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CancelOrderInput, CancelOrderOutput } from "../models/models_0";
|
|
4
|
+
import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
|
|
5
|
+
export interface CancelOrderCommandInput extends CancelOrderInput {
|
|
6
|
+
}
|
|
7
|
+
export interface CancelOrderCommandOutput extends CancelOrderOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Cancels an order for an Outpost.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { OutpostsClient, CancelOrderCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
17
|
+
* // const { OutpostsClient, CancelOrderCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
18
|
+
* const client = new OutpostsClient(config);
|
|
19
|
+
* const command = new CancelOrderCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link CancelOrderCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link CancelOrderCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class CancelOrderCommand extends $Command<CancelOrderCommandInput, CancelOrderCommandOutput, OutpostsClientResolvedConfig> {
|
|
29
|
+
readonly input: CancelOrderCommandInput;
|
|
30
|
+
constructor(input: CancelOrderCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelOrderCommandInput, CancelOrderCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface CreateOrderCommandOutput extends CreateOrderOutput, __MetadataB
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link CreateOrderCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link CreateOrderCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link OutpostsClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class CreateOrderCommand extends $Command<CreateOrderCommandInput, CreateOrderCommandOutput, OutpostsClientResolvedConfig> {
|
|
@@ -21,7 +21,7 @@ export interface CreateOutpostCommandOutput extends CreateOutpostOutput, __Metad
|
|
|
21
21
|
*
|
|
22
22
|
* @see {@link CreateOutpostCommandInput} for command's `input` shape.
|
|
23
23
|
* @see {@link CreateOutpostCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link OutpostsClientResolvedConfig | config} for
|
|
24
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
25
25
|
*
|
|
26
26
|
*/
|
|
27
27
|
export declare class CreateOutpostCommand extends $Command<CreateOutpostCommandInput, CreateOutpostCommandOutput, OutpostsClientResolvedConfig> {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CreateSiteInput, CreateSiteOutput } from "../models/models_0";
|
|
4
|
+
import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
|
|
5
|
+
export interface CreateSiteCommandInput extends CreateSiteInput {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateSiteCommandOutput extends CreateSiteOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Creates a site for an Outpost.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { OutpostsClient, CreateSiteCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
17
|
+
* // const { OutpostsClient, CreateSiteCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
18
|
+
* const client = new OutpostsClient(config);
|
|
19
|
+
* const command = new CreateSiteCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link CreateSiteCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link CreateSiteCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class CreateSiteCommand extends $Command<CreateSiteCommandInput, CreateSiteCommandOutput, OutpostsClientResolvedConfig> {
|
|
29
|
+
readonly input: CreateSiteCommandInput;
|
|
30
|
+
constructor(input: CreateSiteCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateSiteCommandInput, CreateSiteCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface DeleteOutpostCommandOutput extends DeleteOutpostOutput, __Metad
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteOutpostCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteOutpostCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link OutpostsClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteOutpostCommand extends $Command<DeleteOutpostCommandInput, DeleteOutpostCommandOutput, OutpostsClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface DeleteSiteCommandOutput extends DeleteSiteOutput, __MetadataBea
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link DeleteSiteCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link DeleteSiteCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link OutpostsClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class DeleteSiteCommand extends $Command<DeleteSiteCommandInput, DeleteSiteCommandOutput, OutpostsClientResolvedConfig> {
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetCatalogItemInput, GetCatalogItemOutput } from "../models/models_0";
|
|
4
|
+
import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
|
|
5
|
+
export interface GetCatalogItemCommandInput extends GetCatalogItemInput {
|
|
6
|
+
}
|
|
7
|
+
export interface GetCatalogItemCommandOutput extends GetCatalogItemOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets information about a catalog item.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { OutpostsClient, GetCatalogItemCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
15
|
+
* // const { OutpostsClient, GetCatalogItemCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
16
|
+
* const client = new OutpostsClient(config);
|
|
17
|
+
* const command = new GetCatalogItemCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetCatalogItemCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetCatalogItemCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetCatalogItemCommand extends $Command<GetCatalogItemCommandInput, GetCatalogItemCommandOutput, OutpostsClientResolvedConfig> {
|
|
27
|
+
readonly input: GetCatalogItemCommandInput;
|
|
28
|
+
constructor(input: GetCatalogItemCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCatalogItemCommandInput, GetCatalogItemCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetOrderInput, GetOrderOutput } from "../models/models_0";
|
|
4
|
+
import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
|
|
5
|
+
export interface GetOrderCommandInput extends GetOrderInput {
|
|
6
|
+
}
|
|
7
|
+
export interface GetOrderCommandOutput extends GetOrderOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Gets an order.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { OutpostsClient, GetOrderCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
15
|
+
* // const { OutpostsClient, GetOrderCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
16
|
+
* const client = new OutpostsClient(config);
|
|
17
|
+
* const command = new GetOrderCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link GetOrderCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link GetOrderCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class GetOrderCommand extends $Command<GetOrderCommandInput, GetOrderCommandOutput, OutpostsClientResolvedConfig> {
|
|
27
|
+
readonly input: GetOrderCommandInput;
|
|
28
|
+
constructor(input: GetOrderCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetOrderCommandInput, GetOrderCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -20,7 +20,7 @@ export interface GetOutpostCommandOutput extends GetOutpostOutput, __MetadataBea
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link GetOutpostCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link GetOutpostCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link OutpostsClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class GetOutpostCommand extends $Command<GetOutpostCommandInput, GetOutpostCommandOutput, OutpostsClientResolvedConfig> {
|
|
@@ -20,7 +20,7 @@ export interface GetOutpostInstanceTypesCommandOutput extends GetOutpostInstance
|
|
|
20
20
|
*
|
|
21
21
|
* @see {@link GetOutpostInstanceTypesCommandInput} for command's `input` shape.
|
|
22
22
|
* @see {@link GetOutpostInstanceTypesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link OutpostsClientResolvedConfig | config} for
|
|
23
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
24
24
|
*
|
|
25
25
|
*/
|
|
26
26
|
export declare class GetOutpostInstanceTypesCommand extends $Command<GetOutpostInstanceTypesCommandInput, GetOutpostInstanceTypesCommandOutput, OutpostsClientResolvedConfig> {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetSiteAddressInput, GetSiteAddressOutput } from "../models/models_0";
|
|
4
|
+
import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
|
|
5
|
+
export interface GetSiteAddressCommandInput extends GetSiteAddressInput {
|
|
6
|
+
}
|
|
7
|
+
export interface GetSiteAddressCommandOutput extends GetSiteAddressOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Gets the site address.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { OutpostsClient, GetSiteAddressCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
17
|
+
* // const { OutpostsClient, GetSiteAddressCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
18
|
+
* const client = new OutpostsClient(config);
|
|
19
|
+
* const command = new GetSiteAddressCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetSiteAddressCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetSiteAddressCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetSiteAddressCommand extends $Command<GetSiteAddressCommandInput, GetSiteAddressCommandOutput, OutpostsClientResolvedConfig> {
|
|
29
|
+
readonly input: GetSiteAddressCommandInput;
|
|
30
|
+
constructor(input: GetSiteAddressCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSiteAddressCommandInput, GetSiteAddressCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { GetSiteInput, GetSiteOutput } from "../models/models_0";
|
|
4
|
+
import { OutpostsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../OutpostsClient";
|
|
5
|
+
export interface GetSiteCommandInput extends GetSiteInput {
|
|
6
|
+
}
|
|
7
|
+
export interface GetSiteCommandOutput extends GetSiteOutput, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Gets information about the specified Outpost site.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { OutpostsClient, GetSiteCommand } from "@aws-sdk/client-outposts"; // ES Modules import
|
|
17
|
+
* // const { OutpostsClient, GetSiteCommand } = require("@aws-sdk/client-outposts"); // CommonJS import
|
|
18
|
+
* const client = new OutpostsClient(config);
|
|
19
|
+
* const command = new GetSiteCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetSiteCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetSiteCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link OutpostsClientResolvedConfig | config} for OutpostsClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetSiteCommand extends $Command<GetSiteCommandInput, GetSiteCommandOutput, OutpostsClientResolvedConfig> {
|
|
29
|
+
readonly input: GetSiteCommandInput;
|
|
30
|
+
constructor(input: GetSiteCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: OutpostsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetSiteCommandInput, GetSiteCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|