@aws-sdk/client-simspaceweaver 3.220.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 +216 -0
- package/dist-cjs/SimSpaceWeaver.js +232 -0
- package/dist-cjs/SimSpaceWeaverClient.js +40 -0
- package/dist-cjs/commands/DeleteAppCommand.js +46 -0
- package/dist-cjs/commands/DeleteSimulationCommand.js +46 -0
- package/dist-cjs/commands/DescribeAppCommand.js +46 -0
- package/dist-cjs/commands/DescribeSimulationCommand.js +46 -0
- package/dist-cjs/commands/ListAppsCommand.js +46 -0
- package/dist-cjs/commands/ListSimulationsCommand.js +46 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +46 -0
- package/dist-cjs/commands/StartAppCommand.js +46 -0
- package/dist-cjs/commands/StartClockCommand.js +46 -0
- package/dist-cjs/commands/StartSimulationCommand.js +46 -0
- package/dist-cjs/commands/StopAppCommand.js +46 -0
- package/dist-cjs/commands/StopClockCommand.js +46 -0
- package/dist-cjs/commands/StopSimulationCommand.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 +18 -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/SimSpaceWeaverServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +328 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAppsPaginator.js +36 -0
- package/dist-cjs/pagination/ListSimulationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1384 -0
- package/dist-cjs/runtimeConfig.browser.js +42 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +18 -0
- package/dist-es/SimSpaceWeaver.js +228 -0
- package/dist-es/SimSpaceWeaverClient.js +36 -0
- package/dist-es/commands/DeleteAppCommand.js +42 -0
- package/dist-es/commands/DeleteSimulationCommand.js +42 -0
- package/dist-es/commands/DescribeAppCommand.js +42 -0
- package/dist-es/commands/DescribeSimulationCommand.js +42 -0
- package/dist-es/commands/ListAppsCommand.js +42 -0
- package/dist-es/commands/ListSimulationsCommand.js +42 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +42 -0
- package/dist-es/commands/StartAppCommand.js +42 -0
- package/dist-es/commands/StartClockCommand.js +42 -0
- package/dist-es/commands/StartSimulationCommand.js +42 -0
- package/dist-es/commands/StopAppCommand.js +42 -0
- package/dist-es/commands/StopClockCommand.js +42 -0
- package/dist-es/commands/StopSimulationCommand.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 +15 -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/SimSpaceWeaverServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +275 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAppsPaginator.js +32 -0
- package/dist-es/pagination/ListSimulationsPaginator.js +32 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +1351 -0
- package/dist-es/runtimeConfig.browser.js +37 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +14 -0
- package/dist-types/SimSpaceWeaver.d.ts +134 -0
- package/dist-types/SimSpaceWeaverClient.d.ts +167 -0
- package/dist-types/commands/DeleteAppCommand.d.ts +37 -0
- package/dist-types/commands/DeleteSimulationCommand.d.ts +41 -0
- package/dist-types/commands/DescribeAppCommand.d.ts +37 -0
- package/dist-types/commands/DescribeSimulationCommand.d.ts +37 -0
- package/dist-types/commands/ListAppsCommand.d.ts +37 -0
- package/dist-types/commands/ListSimulationsCommand.d.ts +37 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +37 -0
- package/dist-types/commands/StartAppCommand.d.ts +37 -0
- package/dist-types/commands/StartClockCommand.d.ts +37 -0
- package/dist-types/commands/StartSimulationCommand.d.ts +37 -0
- package/dist-types/commands/StopAppCommand.d.ts +37 -0
- package/dist-types/commands/StopClockCommand.d.ts +37 -0
- package/dist-types/commands/StopSimulationCommand.d.ts +42 -0
- package/dist-types/commands/TagResourceCommand.d.ts +38 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +15 -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/SimSpaceWeaverServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +911 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListAppsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListSimulationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +47 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +16 -0
- package/dist-types/ts3.4/SimSpaceWeaver.d.ts +259 -0
- package/dist-types/ts3.4/SimSpaceWeaverClient.d.ts +202 -0
- package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DeleteSimulationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeAppCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DescribeSimulationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListAppsCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/ListSimulationsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/StartAppCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/StartClockCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/StartSimulationCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/StopAppCommand.d.ts +32 -0
- package/dist-types/ts3.4/commands/StopClockCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/StopSimulationCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +15 -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/SimSpaceWeaverServiceException.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 +395 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -0
- package/dist-types/ts3.4/pagination/ListAppsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSimulationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +185 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +88 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +77 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +16 -0
- package/package.json +103 -0
|
@@ -0,0 +1,37 @@
|
|
|
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 { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
12
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
13
|
+
export const getRuntimeConfig = (config) => {
|
|
14
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
15
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
16
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
17
|
+
return {
|
|
18
|
+
...clientSharedValues,
|
|
19
|
+
...config,
|
|
20
|
+
runtime: "browser",
|
|
21
|
+
defaultsMode,
|
|
22
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
23
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
24
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
25
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
26
|
+
maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS,
|
|
27
|
+
region: config?.region ?? invalidProvider("Region is missing"),
|
|
28
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
29
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
30
|
+
sha256: config?.sha256 ?? Sha256,
|
|
31
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
32
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
33
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
|
|
34
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
35
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
11
|
+
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
12
|
+
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
13
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
14
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
15
|
+
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
|
+
export const getRuntimeConfig = (config) => {
|
|
17
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
18
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
19
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
|
+
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
|
+
return {
|
|
22
|
+
...clientSharedValues,
|
|
23
|
+
...config,
|
|
24
|
+
runtime: "node",
|
|
25
|
+
defaultsMode,
|
|
26
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
27
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider),
|
|
28
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
29
|
+
defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
31
|
+
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
32
|
+
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
33
|
+
retryMode: config?.retryMode ??
|
|
34
|
+
loadNodeConfig({
|
|
35
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
36
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
37
|
+
}),
|
|
38
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
39
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
40
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
41
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
43
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -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: "2022-10-28",
|
|
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 ?? "SimSpaceWeaver",
|
|
13
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
14
|
+
});
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { DeleteAppCommandInput, DeleteAppCommandOutput } from "./commands/DeleteAppCommand";
|
|
3
|
+
import { DeleteSimulationCommandInput, DeleteSimulationCommandOutput } from "./commands/DeleteSimulationCommand";
|
|
4
|
+
import { DescribeAppCommandInput, DescribeAppCommandOutput } from "./commands/DescribeAppCommand";
|
|
5
|
+
import { DescribeSimulationCommandInput, DescribeSimulationCommandOutput } from "./commands/DescribeSimulationCommand";
|
|
6
|
+
import { ListAppsCommandInput, ListAppsCommandOutput } from "./commands/ListAppsCommand";
|
|
7
|
+
import { ListSimulationsCommandInput, ListSimulationsCommandOutput } from "./commands/ListSimulationsCommand";
|
|
8
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
9
|
+
import { StartAppCommandInput, StartAppCommandOutput } from "./commands/StartAppCommand";
|
|
10
|
+
import { StartClockCommandInput, StartClockCommandOutput } from "./commands/StartClockCommand";
|
|
11
|
+
import { StartSimulationCommandInput, StartSimulationCommandOutput } from "./commands/StartSimulationCommand";
|
|
12
|
+
import { StopAppCommandInput, StopAppCommandOutput } from "./commands/StopAppCommand";
|
|
13
|
+
import { StopClockCommandInput, StopClockCommandOutput } from "./commands/StopClockCommand";
|
|
14
|
+
import { StopSimulationCommandInput, StopSimulationCommandOutput } from "./commands/StopSimulationCommand";
|
|
15
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
16
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
17
|
+
import { SimSpaceWeaverClient } from "./SimSpaceWeaverClient";
|
|
18
|
+
/**
|
|
19
|
+
* <p>Amazon Web Services SimSpace Weaver (SimSpace Weaver) is a managed service that you can use to build and operate large-scale
|
|
20
|
+
* spatial simulations in the Amazon Web Services Cloud. For example, you can create a digital twin of a city,
|
|
21
|
+
* crowd simulations with millions of people and objects, and massilvely-multiplayer games with
|
|
22
|
+
* hundreds of thousands of connected players.
|
|
23
|
+
* For more information about SimSpace Weaver, see the <i>
|
|
24
|
+
* <a href="https://docs.aws.amazon.com/simspaceweaver/latest/userguide/">Amazon Web Services SimSpace Weaver User Guide</a>
|
|
25
|
+
* </i>.</p>
|
|
26
|
+
* <p>This API reference describes the API operations and data types that you can use to
|
|
27
|
+
* communicate directly with SimSpace Weaver.</p>
|
|
28
|
+
* <p>SimSpace Weaver also provides the SimSpace Weaver app SDK, which you use for app development. The SimSpace Weaver
|
|
29
|
+
* app SDK API reference is included in the SimSpace Weaver app SDK documentation, which is part of the
|
|
30
|
+
* SimSpace Weaver app SDK distributable package.</p>
|
|
31
|
+
*/
|
|
32
|
+
export declare class SimSpaceWeaver extends SimSpaceWeaverClient {
|
|
33
|
+
/**
|
|
34
|
+
* <p>Deletes the instance of the given custom app.</p>
|
|
35
|
+
*/
|
|
36
|
+
deleteApp(args: DeleteAppCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppCommandOutput>;
|
|
37
|
+
deleteApp(args: DeleteAppCommandInput, cb: (err: any, data?: DeleteAppCommandOutput) => void): void;
|
|
38
|
+
deleteApp(args: DeleteAppCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppCommandOutput) => void): void;
|
|
39
|
+
/**
|
|
40
|
+
* <p>Deletes all SimSpace Weaver resources assigned to the given simulation.</p>
|
|
41
|
+
* <note>
|
|
42
|
+
* <p>Your simulation uses resources in other Amazon Web Services services. This API operation doesn't delete
|
|
43
|
+
* resources in other Amazon Web Services services.</p>
|
|
44
|
+
* </note>
|
|
45
|
+
*/
|
|
46
|
+
deleteSimulation(args: DeleteSimulationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSimulationCommandOutput>;
|
|
47
|
+
deleteSimulation(args: DeleteSimulationCommandInput, cb: (err: any, data?: DeleteSimulationCommandOutput) => void): void;
|
|
48
|
+
deleteSimulation(args: DeleteSimulationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSimulationCommandOutput) => void): void;
|
|
49
|
+
/**
|
|
50
|
+
* <p>Returns the state of the given custom app.</p>
|
|
51
|
+
*/
|
|
52
|
+
describeApp(args: DescribeAppCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAppCommandOutput>;
|
|
53
|
+
describeApp(args: DescribeAppCommandInput, cb: (err: any, data?: DescribeAppCommandOutput) => void): void;
|
|
54
|
+
describeApp(args: DescribeAppCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAppCommandOutput) => void): void;
|
|
55
|
+
/**
|
|
56
|
+
* <p>Returns the current state of the given simulation.</p>
|
|
57
|
+
*/
|
|
58
|
+
describeSimulation(args: DescribeSimulationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSimulationCommandOutput>;
|
|
59
|
+
describeSimulation(args: DescribeSimulationCommandInput, cb: (err: any, data?: DescribeSimulationCommandOutput) => void): void;
|
|
60
|
+
describeSimulation(args: DescribeSimulationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSimulationCommandOutput) => void): void;
|
|
61
|
+
/**
|
|
62
|
+
* <p>Lists all custom apps or service apps for the given simulation and domain.</p>
|
|
63
|
+
*/
|
|
64
|
+
listApps(args: ListAppsCommandInput, options?: __HttpHandlerOptions): Promise<ListAppsCommandOutput>;
|
|
65
|
+
listApps(args: ListAppsCommandInput, cb: (err: any, data?: ListAppsCommandOutput) => void): void;
|
|
66
|
+
listApps(args: ListAppsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppsCommandOutput) => void): void;
|
|
67
|
+
/**
|
|
68
|
+
* <p>Lists the SimSpace Weaver simulations in the Amazon Web Services account used to make the API call.</p>
|
|
69
|
+
*/
|
|
70
|
+
listSimulations(args: ListSimulationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSimulationsCommandOutput>;
|
|
71
|
+
listSimulations(args: ListSimulationsCommandInput, cb: (err: any, data?: ListSimulationsCommandOutput) => void): void;
|
|
72
|
+
listSimulations(args: ListSimulationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSimulationsCommandOutput) => void): void;
|
|
73
|
+
/**
|
|
74
|
+
* <p>Lists all tags on a SimSpace Weaver resource.</p>
|
|
75
|
+
*/
|
|
76
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
77
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
78
|
+
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
79
|
+
/**
|
|
80
|
+
* <p>Starts a custom app with the configuration specified in the simulation schema.</p>
|
|
81
|
+
*/
|
|
82
|
+
startApp(args: StartAppCommandInput, options?: __HttpHandlerOptions): Promise<StartAppCommandOutput>;
|
|
83
|
+
startApp(args: StartAppCommandInput, cb: (err: any, data?: StartAppCommandOutput) => void): void;
|
|
84
|
+
startApp(args: StartAppCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAppCommandOutput) => void): void;
|
|
85
|
+
/**
|
|
86
|
+
* <p>Starts the simulation clock.</p>
|
|
87
|
+
*/
|
|
88
|
+
startClock(args: StartClockCommandInput, options?: __HttpHandlerOptions): Promise<StartClockCommandOutput>;
|
|
89
|
+
startClock(args: StartClockCommandInput, cb: (err: any, data?: StartClockCommandOutput) => void): void;
|
|
90
|
+
startClock(args: StartClockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartClockCommandOutput) => void): void;
|
|
91
|
+
/**
|
|
92
|
+
* <p>Starts a simulation with the given name and schema.</p>
|
|
93
|
+
*/
|
|
94
|
+
startSimulation(args: StartSimulationCommandInput, options?: __HttpHandlerOptions): Promise<StartSimulationCommandOutput>;
|
|
95
|
+
startSimulation(args: StartSimulationCommandInput, cb: (err: any, data?: StartSimulationCommandOutput) => void): void;
|
|
96
|
+
startSimulation(args: StartSimulationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSimulationCommandOutput) => void): void;
|
|
97
|
+
/**
|
|
98
|
+
* <p>Stops the given custom app and shuts down all of its allocated compute resources.</p>
|
|
99
|
+
*/
|
|
100
|
+
stopApp(args: StopAppCommandInput, options?: __HttpHandlerOptions): Promise<StopAppCommandOutput>;
|
|
101
|
+
stopApp(args: StopAppCommandInput, cb: (err: any, data?: StopAppCommandOutput) => void): void;
|
|
102
|
+
stopApp(args: StopAppCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAppCommandOutput) => void): void;
|
|
103
|
+
/**
|
|
104
|
+
* <p>Stops the simulation clock.</p>
|
|
105
|
+
*/
|
|
106
|
+
stopClock(args: StopClockCommandInput, options?: __HttpHandlerOptions): Promise<StopClockCommandOutput>;
|
|
107
|
+
stopClock(args: StopClockCommandInput, cb: (err: any, data?: StopClockCommandOutput) => void): void;
|
|
108
|
+
stopClock(args: StopClockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopClockCommandOutput) => void): void;
|
|
109
|
+
/**
|
|
110
|
+
* <p>Stops the given simulation.</p>
|
|
111
|
+
* <important>
|
|
112
|
+
* <p>You can't restart a simulation after you stop it.
|
|
113
|
+
* If you need to restart a simulation, you must stop it, delete it,
|
|
114
|
+
* and start a new instance of it.</p>
|
|
115
|
+
* </important>
|
|
116
|
+
*/
|
|
117
|
+
stopSimulation(args: StopSimulationCommandInput, options?: __HttpHandlerOptions): Promise<StopSimulationCommandOutput>;
|
|
118
|
+
stopSimulation(args: StopSimulationCommandInput, cb: (err: any, data?: StopSimulationCommandOutput) => void): void;
|
|
119
|
+
stopSimulation(args: StopSimulationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopSimulationCommandOutput) => void): void;
|
|
120
|
+
/**
|
|
121
|
+
* <p>Adds tags to a SimSpace Weaver resource. For more information about tags, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the
|
|
122
|
+
* <i>Amazon Web Services General Reference</i>.</p>
|
|
123
|
+
*/
|
|
124
|
+
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
125
|
+
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
126
|
+
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
127
|
+
/**
|
|
128
|
+
* <p>Removes tags from a SimSpace Weaver resource. For more information about tags, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a> in the
|
|
129
|
+
* <i>Amazon Web Services General Reference</i>.</p>
|
|
130
|
+
*/
|
|
131
|
+
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
132
|
+
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
133
|
+
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
134
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
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, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
|
+
import { DeleteAppCommandInput, DeleteAppCommandOutput } from "./commands/DeleteAppCommand";
|
|
11
|
+
import { DeleteSimulationCommandInput, DeleteSimulationCommandOutput } from "./commands/DeleteSimulationCommand";
|
|
12
|
+
import { DescribeAppCommandInput, DescribeAppCommandOutput } from "./commands/DescribeAppCommand";
|
|
13
|
+
import { DescribeSimulationCommandInput, DescribeSimulationCommandOutput } from "./commands/DescribeSimulationCommand";
|
|
14
|
+
import { ListAppsCommandInput, ListAppsCommandOutput } from "./commands/ListAppsCommand";
|
|
15
|
+
import { ListSimulationsCommandInput, ListSimulationsCommandOutput } from "./commands/ListSimulationsCommand";
|
|
16
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
17
|
+
import { StartAppCommandInput, StartAppCommandOutput } from "./commands/StartAppCommand";
|
|
18
|
+
import { StartClockCommandInput, StartClockCommandOutput } from "./commands/StartClockCommand";
|
|
19
|
+
import { StartSimulationCommandInput, StartSimulationCommandOutput } from "./commands/StartSimulationCommand";
|
|
20
|
+
import { StopAppCommandInput, StopAppCommandOutput } from "./commands/StopAppCommand";
|
|
21
|
+
import { StopClockCommandInput, StopClockCommandOutput } from "./commands/StopClockCommand";
|
|
22
|
+
import { StopSimulationCommandInput, StopSimulationCommandOutput } from "./commands/StopSimulationCommand";
|
|
23
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
24
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
25
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
26
|
+
export declare type ServiceInputTypes = DeleteAppCommandInput | DeleteSimulationCommandInput | DescribeAppCommandInput | DescribeSimulationCommandInput | ListAppsCommandInput | ListSimulationsCommandInput | ListTagsForResourceCommandInput | StartAppCommandInput | StartClockCommandInput | StartSimulationCommandInput | StopAppCommandInput | StopClockCommandInput | StopSimulationCommandInput | TagResourceCommandInput | UntagResourceCommandInput;
|
|
27
|
+
export declare type ServiceOutputTypes = DeleteAppCommandOutput | DeleteSimulationCommandOutput | DescribeAppCommandOutput | DescribeSimulationCommandOutput | ListAppsCommandOutput | ListSimulationsCommandOutput | ListTagsForResourceCommandOutput | StartAppCommandOutput | StartClockCommandOutput | StartSimulationCommandOutput | StopAppCommandOutput | StopClockCommandOutput | StopSimulationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput;
|
|
28
|
+
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
29
|
+
/**
|
|
30
|
+
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
31
|
+
*/
|
|
32
|
+
requestHandler?: __HttpHandler;
|
|
33
|
+
/**
|
|
34
|
+
* A constructor for a class implementing the {@link __Hash} interface
|
|
35
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
sha256?: __HashConstructor;
|
|
39
|
+
/**
|
|
40
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
urlParser?: __UrlParser;
|
|
44
|
+
/**
|
|
45
|
+
* A function that can calculate the length of a request body.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
49
|
+
/**
|
|
50
|
+
* A function that converts a stream into an array of bytes.
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
streamCollector?: __StreamCollector;
|
|
54
|
+
/**
|
|
55
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
56
|
+
* @internal
|
|
57
|
+
*/
|
|
58
|
+
base64Decoder?: __Decoder;
|
|
59
|
+
/**
|
|
60
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
base64Encoder?: __Encoder;
|
|
64
|
+
/**
|
|
65
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
utf8Decoder?: __Decoder;
|
|
69
|
+
/**
|
|
70
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
utf8Encoder?: __Encoder;
|
|
74
|
+
/**
|
|
75
|
+
* The runtime environment.
|
|
76
|
+
* @internal
|
|
77
|
+
*/
|
|
78
|
+
runtime?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
81
|
+
* trait of an operation.
|
|
82
|
+
*/
|
|
83
|
+
disableHostPrefix?: boolean;
|
|
84
|
+
/**
|
|
85
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
86
|
+
*/
|
|
87
|
+
maxAttempts?: number | __Provider<number>;
|
|
88
|
+
/**
|
|
89
|
+
* Specifies which retry algorithm to use.
|
|
90
|
+
*/
|
|
91
|
+
retryMode?: string | __Provider<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Optional logger for logging debug/info/warn/error.
|
|
94
|
+
*/
|
|
95
|
+
logger?: __Logger;
|
|
96
|
+
/**
|
|
97
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
98
|
+
*/
|
|
99
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
100
|
+
/**
|
|
101
|
+
* Enables FIPS compatible endpoints.
|
|
102
|
+
*/
|
|
103
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* Unique service identifier.
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
serviceId?: string;
|
|
109
|
+
/**
|
|
110
|
+
* The AWS region to which this client will send requests
|
|
111
|
+
*/
|
|
112
|
+
region?: string | __Provider<string>;
|
|
113
|
+
/**
|
|
114
|
+
* Default credentials provider; Not available in browser runtime.
|
|
115
|
+
* @internal
|
|
116
|
+
*/
|
|
117
|
+
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
118
|
+
/**
|
|
119
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
123
|
+
/**
|
|
124
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
125
|
+
*/
|
|
126
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
127
|
+
}
|
|
128
|
+
declare type SimSpaceWeaverClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
129
|
+
/**
|
|
130
|
+
* The configuration interface of SimSpaceWeaverClient class constructor that set the region, credentials and other options.
|
|
131
|
+
*/
|
|
132
|
+
export interface SimSpaceWeaverClientConfig extends SimSpaceWeaverClientConfigType {
|
|
133
|
+
}
|
|
134
|
+
declare type SimSpaceWeaverClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
135
|
+
/**
|
|
136
|
+
* The resolved configuration interface of SimSpaceWeaverClient class. This is resolved and normalized from the {@link SimSpaceWeaverClientConfig | constructor configuration interface}.
|
|
137
|
+
*/
|
|
138
|
+
export interface SimSpaceWeaverClientResolvedConfig extends SimSpaceWeaverClientResolvedConfigType {
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* <p>Amazon Web Services SimSpace Weaver (SimSpace Weaver) is a managed service that you can use to build and operate large-scale
|
|
142
|
+
* spatial simulations in the Amazon Web Services Cloud. For example, you can create a digital twin of a city,
|
|
143
|
+
* crowd simulations with millions of people and objects, and massilvely-multiplayer games with
|
|
144
|
+
* hundreds of thousands of connected players.
|
|
145
|
+
* For more information about SimSpace Weaver, see the <i>
|
|
146
|
+
* <a href="https://docs.aws.amazon.com/simspaceweaver/latest/userguide/">Amazon Web Services SimSpace Weaver User Guide</a>
|
|
147
|
+
* </i>.</p>
|
|
148
|
+
* <p>This API reference describes the API operations and data types that you can use to
|
|
149
|
+
* communicate directly with SimSpace Weaver.</p>
|
|
150
|
+
* <p>SimSpace Weaver also provides the SimSpace Weaver app SDK, which you use for app development. The SimSpace Weaver
|
|
151
|
+
* app SDK API reference is included in the SimSpace Weaver app SDK documentation, which is part of the
|
|
152
|
+
* SimSpace Weaver app SDK distributable package.</p>
|
|
153
|
+
*/
|
|
154
|
+
export declare class SimSpaceWeaverClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SimSpaceWeaverClientResolvedConfig> {
|
|
155
|
+
/**
|
|
156
|
+
* The resolved configuration of SimSpaceWeaverClient class. This is resolved and normalized from the {@link SimSpaceWeaverClientConfig | constructor configuration interface}.
|
|
157
|
+
*/
|
|
158
|
+
readonly config: SimSpaceWeaverClientResolvedConfig;
|
|
159
|
+
constructor(configuration: SimSpaceWeaverClientConfig);
|
|
160
|
+
/**
|
|
161
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
162
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
163
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
164
|
+
*/
|
|
165
|
+
destroy(): void;
|
|
166
|
+
}
|
|
167
|
+
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 { DeleteAppInput, DeleteAppOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SimSpaceWeaverClientResolvedConfig } from "../SimSpaceWeaverClient";
|
|
6
|
+
export interface DeleteAppCommandInput extends DeleteAppInput {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteAppCommandOutput extends DeleteAppOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes the instance of the given custom app.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SimSpaceWeaverClient, DeleteAppCommand } from "@aws-sdk/client-simspaceweaver"; // ES Modules import
|
|
16
|
+
* // const { SimSpaceWeaverClient, DeleteAppCommand } = require("@aws-sdk/client-simspaceweaver"); // CommonJS import
|
|
17
|
+
* const client = new SimSpaceWeaverClient(config);
|
|
18
|
+
* const command = new DeleteAppCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DeleteAppCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DeleteAppCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SimSpaceWeaverClientResolvedConfig | config} for SimSpaceWeaverClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DeleteAppCommand extends $Command<DeleteAppCommandInput, DeleteAppCommandOutput, SimSpaceWeaverClientResolvedConfig> {
|
|
28
|
+
readonly input: DeleteAppCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DeleteAppCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SimSpaceWeaverClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteAppCommandInput, DeleteAppCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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 { DeleteSimulationInput, DeleteSimulationOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SimSpaceWeaverClientResolvedConfig } from "../SimSpaceWeaverClient";
|
|
6
|
+
export interface DeleteSimulationCommandInput extends DeleteSimulationInput {
|
|
7
|
+
}
|
|
8
|
+
export interface DeleteSimulationCommandOutput extends DeleteSimulationOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Deletes all SimSpace Weaver resources assigned to the given simulation.</p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>Your simulation uses resources in other Amazon Web Services services. This API operation doesn't delete
|
|
14
|
+
* resources in other Amazon Web Services services.</p>
|
|
15
|
+
* </note>
|
|
16
|
+
* @example
|
|
17
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
+
* ```javascript
|
|
19
|
+
* import { SimSpaceWeaverClient, DeleteSimulationCommand } from "@aws-sdk/client-simspaceweaver"; // ES Modules import
|
|
20
|
+
* // const { SimSpaceWeaverClient, DeleteSimulationCommand } = require("@aws-sdk/client-simspaceweaver"); // CommonJS import
|
|
21
|
+
* const client = new SimSpaceWeaverClient(config);
|
|
22
|
+
* const command = new DeleteSimulationCommand(input);
|
|
23
|
+
* const response = await client.send(command);
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* @see {@link DeleteSimulationCommandInput} for command's `input` shape.
|
|
27
|
+
* @see {@link DeleteSimulationCommandOutput} for command's `response` shape.
|
|
28
|
+
* @see {@link SimSpaceWeaverClientResolvedConfig | config} for SimSpaceWeaverClient's `config` shape.
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
export declare class DeleteSimulationCommand extends $Command<DeleteSimulationCommandInput, DeleteSimulationCommandOutput, SimSpaceWeaverClientResolvedConfig> {
|
|
32
|
+
readonly input: DeleteSimulationCommandInput;
|
|
33
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
34
|
+
constructor(input: DeleteSimulationCommandInput);
|
|
35
|
+
/**
|
|
36
|
+
* @internal
|
|
37
|
+
*/
|
|
38
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SimSpaceWeaverClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteSimulationCommandInput, DeleteSimulationCommandOutput>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -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 { DescribeAppInput, DescribeAppOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SimSpaceWeaverClientResolvedConfig } from "../SimSpaceWeaverClient";
|
|
6
|
+
export interface DescribeAppCommandInput extends DescribeAppInput {
|
|
7
|
+
}
|
|
8
|
+
export interface DescribeAppCommandOutput extends DescribeAppOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns the state of the given custom app.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SimSpaceWeaverClient, DescribeAppCommand } from "@aws-sdk/client-simspaceweaver"; // ES Modules import
|
|
16
|
+
* // const { SimSpaceWeaverClient, DescribeAppCommand } = require("@aws-sdk/client-simspaceweaver"); // CommonJS import
|
|
17
|
+
* const client = new SimSpaceWeaverClient(config);
|
|
18
|
+
* const command = new DescribeAppCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DescribeAppCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DescribeAppCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SimSpaceWeaverClientResolvedConfig | config} for SimSpaceWeaverClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DescribeAppCommand extends $Command<DescribeAppCommandInput, DescribeAppCommandOutput, SimSpaceWeaverClientResolvedConfig> {
|
|
28
|
+
readonly input: DescribeAppCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DescribeAppCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SimSpaceWeaverClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeAppCommandInput, DescribeAppCommandOutput>;
|
|
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 { DescribeSimulationInput, DescribeSimulationOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SimSpaceWeaverClientResolvedConfig } from "../SimSpaceWeaverClient";
|
|
6
|
+
export interface DescribeSimulationCommandInput extends DescribeSimulationInput {
|
|
7
|
+
}
|
|
8
|
+
export interface DescribeSimulationCommandOutput extends DescribeSimulationOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns the current state of the given simulation.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SimSpaceWeaverClient, DescribeSimulationCommand } from "@aws-sdk/client-simspaceweaver"; // ES Modules import
|
|
16
|
+
* // const { SimSpaceWeaverClient, DescribeSimulationCommand } = require("@aws-sdk/client-simspaceweaver"); // CommonJS import
|
|
17
|
+
* const client = new SimSpaceWeaverClient(config);
|
|
18
|
+
* const command = new DescribeSimulationCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link DescribeSimulationCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link DescribeSimulationCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SimSpaceWeaverClientResolvedConfig | config} for SimSpaceWeaverClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class DescribeSimulationCommand extends $Command<DescribeSimulationCommandInput, DescribeSimulationCommandOutput, SimSpaceWeaverClientResolvedConfig> {
|
|
28
|
+
readonly input: DescribeSimulationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: DescribeSimulationCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SimSpaceWeaverClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSimulationCommandInput, DescribeSimulationCommandOutput>;
|
|
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 { ListAppsInput, ListAppsOutput } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, SimSpaceWeaverClientResolvedConfig } from "../SimSpaceWeaverClient";
|
|
6
|
+
export interface ListAppsCommandInput extends ListAppsInput {
|
|
7
|
+
}
|
|
8
|
+
export interface ListAppsCommandOutput extends ListAppsOutput, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Lists all custom apps or service apps for the given simulation and domain.</p>
|
|
12
|
+
* @example
|
|
13
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
+
* ```javascript
|
|
15
|
+
* import { SimSpaceWeaverClient, ListAppsCommand } from "@aws-sdk/client-simspaceweaver"; // ES Modules import
|
|
16
|
+
* // const { SimSpaceWeaverClient, ListAppsCommand } = require("@aws-sdk/client-simspaceweaver"); // CommonJS import
|
|
17
|
+
* const client = new SimSpaceWeaverClient(config);
|
|
18
|
+
* const command = new ListAppsCommand(input);
|
|
19
|
+
* const response = await client.send(command);
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* @see {@link ListAppsCommandInput} for command's `input` shape.
|
|
23
|
+
* @see {@link ListAppsCommandOutput} for command's `response` shape.
|
|
24
|
+
* @see {@link SimSpaceWeaverClientResolvedConfig | config} for SimSpaceWeaverClient's `config` shape.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export declare class ListAppsCommand extends $Command<ListAppsCommandInput, ListAppsCommandOutput, SimSpaceWeaverClientResolvedConfig> {
|
|
28
|
+
readonly input: ListAppsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListAppsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SimSpaceWeaverClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListAppsCommandInput, ListAppsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|