@aws-sdk/client-simspaceweaver 3.319.0 → 3.323.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/README.md +21 -13
- package/dist-cjs/SimSpaceWeaver.js +2 -0
- package/dist-cjs/commands/CreateSnapshotCommand.js +45 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +68 -1
- package/dist-es/SimSpaceWeaver.js +2 -0
- package/dist-es/commands/CreateSnapshotCommand.js +41 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +65 -0
- package/dist-types/SimSpaceWeaver.d.ts +13 -6
- package/dist-types/SimSpaceWeaverClient.d.ts +9 -8
- package/dist-types/commands/CreateSnapshotCommand.d.ts +137 -0
- package/dist-types/commands/DeleteSimulationCommand.d.ts +2 -2
- package/dist-types/commands/StartSimulationCommand.d.ts +10 -1
- package/dist-types/commands/StopSimulationCommand.d.ts +2 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +111 -46
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/SimSpaceWeaver.d.ts +17 -0
- package/dist-types/ts3.4/SimSpaceWeaverClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +18 -5
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +4 -4
|
@@ -36,12 +36,15 @@ export declare class ConflictException extends __BaseException {
|
|
|
36
36
|
Message?: string;
|
|
37
37
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
38
38
|
}
|
|
39
|
-
export interface
|
|
39
|
+
export interface S3Destination {
|
|
40
|
+
BucketName?: string;
|
|
41
|
+
ObjectKeyPrefix?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface CreateSnapshotInput {
|
|
40
44
|
Simulation: string | undefined;
|
|
41
|
-
|
|
42
|
-
App: string | undefined;
|
|
45
|
+
Destination: S3Destination | undefined;
|
|
43
46
|
}
|
|
44
|
-
export interface
|
|
47
|
+
export interface CreateSnapshotOutput {}
|
|
45
48
|
export declare class InternalServerException extends __BaseException {
|
|
46
49
|
readonly name: "InternalServerException";
|
|
47
50
|
readonly $fault: "server";
|
|
@@ -66,6 +69,12 @@ export declare class ValidationException extends __BaseException {
|
|
|
66
69
|
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
67
70
|
);
|
|
68
71
|
}
|
|
72
|
+
export interface DeleteAppInput {
|
|
73
|
+
Simulation: string | undefined;
|
|
74
|
+
Domain: string | undefined;
|
|
75
|
+
App: string | undefined;
|
|
76
|
+
}
|
|
77
|
+
export interface DeleteAppOutput {}
|
|
69
78
|
export interface DeleteSimulationInput {
|
|
70
79
|
Simulation: string | undefined;
|
|
71
80
|
}
|
|
@@ -146,6 +155,7 @@ export declare const SimulationStatus: {
|
|
|
146
155
|
readonly DELETED: "DELETED";
|
|
147
156
|
readonly DELETING: "DELETING";
|
|
148
157
|
readonly FAILED: "FAILED";
|
|
158
|
+
readonly SNAPSHOT_IN_PROGRESS: "SNAPSHOT_IN_PROGRESS";
|
|
149
159
|
readonly STARTED: "STARTED";
|
|
150
160
|
readonly STARTING: "STARTING";
|
|
151
161
|
readonly STOPPED: "STOPPED";
|
|
@@ -176,6 +186,8 @@ export interface DescribeSimulationOutput {
|
|
|
176
186
|
LoggingConfiguration?: LoggingConfiguration;
|
|
177
187
|
LiveSimulationState?: LiveSimulationState;
|
|
178
188
|
MaximumDuration?: string;
|
|
189
|
+
SnapshotS3Location?: S3Location;
|
|
190
|
+
StartError?: string;
|
|
179
191
|
}
|
|
180
192
|
export interface ListAppsInput {
|
|
181
193
|
Simulation: string | undefined;
|
|
@@ -245,9 +257,10 @@ export interface StartSimulationInput {
|
|
|
245
257
|
Name: string | undefined;
|
|
246
258
|
Description?: string;
|
|
247
259
|
RoleArn: string | undefined;
|
|
248
|
-
SchemaS3Location
|
|
260
|
+
SchemaS3Location?: S3Location;
|
|
249
261
|
MaximumDuration?: string;
|
|
250
262
|
Tags?: Record<string, string>;
|
|
263
|
+
SnapshotS3Location?: S3Location;
|
|
251
264
|
}
|
|
252
265
|
export interface StartSimulationOutput {
|
|
253
266
|
Arn?: string;
|
|
@@ -3,6 +3,10 @@ import {
|
|
|
3
3
|
HttpResponse as __HttpResponse,
|
|
4
4
|
} from "@aws-sdk/protocol-http";
|
|
5
5
|
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
6
|
+
import {
|
|
7
|
+
CreateSnapshotCommandInput,
|
|
8
|
+
CreateSnapshotCommandOutput,
|
|
9
|
+
} from "../commands/CreateSnapshotCommand";
|
|
6
10
|
import {
|
|
7
11
|
DeleteAppCommandInput,
|
|
8
12
|
DeleteAppCommandOutput,
|
|
@@ -63,6 +67,10 @@ import {
|
|
|
63
67
|
UntagResourceCommandInput,
|
|
64
68
|
UntagResourceCommandOutput,
|
|
65
69
|
} from "../commands/UntagResourceCommand";
|
|
70
|
+
export declare const se_CreateSnapshotCommand: (
|
|
71
|
+
input: CreateSnapshotCommandInput,
|
|
72
|
+
context: __SerdeContext
|
|
73
|
+
) => Promise<__HttpRequest>;
|
|
66
74
|
export declare const se_DeleteAppCommand: (
|
|
67
75
|
input: DeleteAppCommandInput,
|
|
68
76
|
context: __SerdeContext
|
|
@@ -123,6 +131,10 @@ export declare const se_UntagResourceCommand: (
|
|
|
123
131
|
input: UntagResourceCommandInput,
|
|
124
132
|
context: __SerdeContext
|
|
125
133
|
) => Promise<__HttpRequest>;
|
|
134
|
+
export declare const de_CreateSnapshotCommand: (
|
|
135
|
+
output: __HttpResponse,
|
|
136
|
+
context: __SerdeContext
|
|
137
|
+
) => Promise<CreateSnapshotCommandOutput>;
|
|
126
138
|
export declare const de_DeleteAppCommand: (
|
|
127
139
|
output: __HttpResponse,
|
|
128
140
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-simspaceweaver",
|
|
3
3
|
"description": "AWS SDK for JavaScript Simspaceweaver Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.323.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.321.1",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.321.1",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
39
|
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
43
|
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|