@aws-sdk/client-simspaceweaver 3.315.0 → 3.319.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.
@@ -1,6 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SimSpaceWeaver = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const DeleteAppCommand_1 = require("./commands/DeleteAppCommand");
5
6
  const DeleteSimulationCommand_1 = require("./commands/DeleteSimulationCommand");
6
7
  const DescribeAppCommand_1 = require("./commands/DescribeAppCommand");
@@ -17,216 +18,24 @@ const StopSimulationCommand_1 = require("./commands/StopSimulationCommand");
17
18
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
18
19
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
19
20
  const SimSpaceWeaverClient_1 = require("./SimSpaceWeaverClient");
21
+ const commands = {
22
+ DeleteAppCommand: DeleteAppCommand_1.DeleteAppCommand,
23
+ DeleteSimulationCommand: DeleteSimulationCommand_1.DeleteSimulationCommand,
24
+ DescribeAppCommand: DescribeAppCommand_1.DescribeAppCommand,
25
+ DescribeSimulationCommand: DescribeSimulationCommand_1.DescribeSimulationCommand,
26
+ ListAppsCommand: ListAppsCommand_1.ListAppsCommand,
27
+ ListSimulationsCommand: ListSimulationsCommand_1.ListSimulationsCommand,
28
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
29
+ StartAppCommand: StartAppCommand_1.StartAppCommand,
30
+ StartClockCommand: StartClockCommand_1.StartClockCommand,
31
+ StartSimulationCommand: StartSimulationCommand_1.StartSimulationCommand,
32
+ StopAppCommand: StopAppCommand_1.StopAppCommand,
33
+ StopClockCommand: StopClockCommand_1.StopClockCommand,
34
+ StopSimulationCommand: StopSimulationCommand_1.StopSimulationCommand,
35
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
36
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
37
+ };
20
38
  class SimSpaceWeaver extends SimSpaceWeaverClient_1.SimSpaceWeaverClient {
21
- deleteApp(args, optionsOrCb, cb) {
22
- const command = new DeleteAppCommand_1.DeleteAppCommand(args);
23
- if (typeof optionsOrCb === "function") {
24
- this.send(command, optionsOrCb);
25
- }
26
- else if (typeof cb === "function") {
27
- if (typeof optionsOrCb !== "object")
28
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
29
- this.send(command, optionsOrCb || {}, cb);
30
- }
31
- else {
32
- return this.send(command, optionsOrCb);
33
- }
34
- }
35
- deleteSimulation(args, optionsOrCb, cb) {
36
- const command = new DeleteSimulationCommand_1.DeleteSimulationCommand(args);
37
- if (typeof optionsOrCb === "function") {
38
- this.send(command, optionsOrCb);
39
- }
40
- else if (typeof cb === "function") {
41
- if (typeof optionsOrCb !== "object")
42
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
43
- this.send(command, optionsOrCb || {}, cb);
44
- }
45
- else {
46
- return this.send(command, optionsOrCb);
47
- }
48
- }
49
- describeApp(args, optionsOrCb, cb) {
50
- const command = new DescribeAppCommand_1.DescribeAppCommand(args);
51
- if (typeof optionsOrCb === "function") {
52
- this.send(command, optionsOrCb);
53
- }
54
- else if (typeof cb === "function") {
55
- if (typeof optionsOrCb !== "object")
56
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
57
- this.send(command, optionsOrCb || {}, cb);
58
- }
59
- else {
60
- return this.send(command, optionsOrCb);
61
- }
62
- }
63
- describeSimulation(args, optionsOrCb, cb) {
64
- const command = new DescribeSimulationCommand_1.DescribeSimulationCommand(args);
65
- if (typeof optionsOrCb === "function") {
66
- this.send(command, optionsOrCb);
67
- }
68
- else if (typeof cb === "function") {
69
- if (typeof optionsOrCb !== "object")
70
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
71
- this.send(command, optionsOrCb || {}, cb);
72
- }
73
- else {
74
- return this.send(command, optionsOrCb);
75
- }
76
- }
77
- listApps(args, optionsOrCb, cb) {
78
- const command = new ListAppsCommand_1.ListAppsCommand(args);
79
- if (typeof optionsOrCb === "function") {
80
- this.send(command, optionsOrCb);
81
- }
82
- else if (typeof cb === "function") {
83
- if (typeof optionsOrCb !== "object")
84
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
85
- this.send(command, optionsOrCb || {}, cb);
86
- }
87
- else {
88
- return this.send(command, optionsOrCb);
89
- }
90
- }
91
- listSimulations(args, optionsOrCb, cb) {
92
- const command = new ListSimulationsCommand_1.ListSimulationsCommand(args);
93
- if (typeof optionsOrCb === "function") {
94
- this.send(command, optionsOrCb);
95
- }
96
- else if (typeof cb === "function") {
97
- if (typeof optionsOrCb !== "object")
98
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
99
- this.send(command, optionsOrCb || {}, cb);
100
- }
101
- else {
102
- return this.send(command, optionsOrCb);
103
- }
104
- }
105
- listTagsForResource(args, optionsOrCb, cb) {
106
- const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
107
- if (typeof optionsOrCb === "function") {
108
- this.send(command, optionsOrCb);
109
- }
110
- else if (typeof cb === "function") {
111
- if (typeof optionsOrCb !== "object")
112
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
113
- this.send(command, optionsOrCb || {}, cb);
114
- }
115
- else {
116
- return this.send(command, optionsOrCb);
117
- }
118
- }
119
- startApp(args, optionsOrCb, cb) {
120
- const command = new StartAppCommand_1.StartAppCommand(args);
121
- if (typeof optionsOrCb === "function") {
122
- this.send(command, optionsOrCb);
123
- }
124
- else if (typeof cb === "function") {
125
- if (typeof optionsOrCb !== "object")
126
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
127
- this.send(command, optionsOrCb || {}, cb);
128
- }
129
- else {
130
- return this.send(command, optionsOrCb);
131
- }
132
- }
133
- startClock(args, optionsOrCb, cb) {
134
- const command = new StartClockCommand_1.StartClockCommand(args);
135
- if (typeof optionsOrCb === "function") {
136
- this.send(command, optionsOrCb);
137
- }
138
- else if (typeof cb === "function") {
139
- if (typeof optionsOrCb !== "object")
140
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
141
- this.send(command, optionsOrCb || {}, cb);
142
- }
143
- else {
144
- return this.send(command, optionsOrCb);
145
- }
146
- }
147
- startSimulation(args, optionsOrCb, cb) {
148
- const command = new StartSimulationCommand_1.StartSimulationCommand(args);
149
- if (typeof optionsOrCb === "function") {
150
- this.send(command, optionsOrCb);
151
- }
152
- else if (typeof cb === "function") {
153
- if (typeof optionsOrCb !== "object")
154
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
155
- this.send(command, optionsOrCb || {}, cb);
156
- }
157
- else {
158
- return this.send(command, optionsOrCb);
159
- }
160
- }
161
- stopApp(args, optionsOrCb, cb) {
162
- const command = new StopAppCommand_1.StopAppCommand(args);
163
- if (typeof optionsOrCb === "function") {
164
- this.send(command, optionsOrCb);
165
- }
166
- else if (typeof cb === "function") {
167
- if (typeof optionsOrCb !== "object")
168
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
169
- this.send(command, optionsOrCb || {}, cb);
170
- }
171
- else {
172
- return this.send(command, optionsOrCb);
173
- }
174
- }
175
- stopClock(args, optionsOrCb, cb) {
176
- const command = new StopClockCommand_1.StopClockCommand(args);
177
- if (typeof optionsOrCb === "function") {
178
- this.send(command, optionsOrCb);
179
- }
180
- else if (typeof cb === "function") {
181
- if (typeof optionsOrCb !== "object")
182
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
183
- this.send(command, optionsOrCb || {}, cb);
184
- }
185
- else {
186
- return this.send(command, optionsOrCb);
187
- }
188
- }
189
- stopSimulation(args, optionsOrCb, cb) {
190
- const command = new StopSimulationCommand_1.StopSimulationCommand(args);
191
- if (typeof optionsOrCb === "function") {
192
- this.send(command, optionsOrCb);
193
- }
194
- else if (typeof cb === "function") {
195
- if (typeof optionsOrCb !== "object")
196
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
197
- this.send(command, optionsOrCb || {}, cb);
198
- }
199
- else {
200
- return this.send(command, optionsOrCb);
201
- }
202
- }
203
- tagResource(args, optionsOrCb, cb) {
204
- const command = new TagResourceCommand_1.TagResourceCommand(args);
205
- if (typeof optionsOrCb === "function") {
206
- this.send(command, optionsOrCb);
207
- }
208
- else if (typeof cb === "function") {
209
- if (typeof optionsOrCb !== "object")
210
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
211
- this.send(command, optionsOrCb || {}, cb);
212
- }
213
- else {
214
- return this.send(command, optionsOrCb);
215
- }
216
- }
217
- untagResource(args, optionsOrCb, cb) {
218
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
219
- if (typeof optionsOrCb === "function") {
220
- this.send(command, optionsOrCb);
221
- }
222
- else if (typeof cb === "function") {
223
- if (typeof optionsOrCb !== "object")
224
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
225
- this.send(command, optionsOrCb || {}, cb);
226
- }
227
- else {
228
- return this.send(command, optionsOrCb);
229
- }
230
- }
231
39
  }
232
40
  exports.SimSpaceWeaver = SimSpaceWeaver;
41
+ (0, smithy_client_1.createAggregatedClient)(commands, SimSpaceWeaver);
@@ -159,7 +159,7 @@ const se_StartAppCommand = async (input, context) => {
159
159
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/startapp";
160
160
  let body;
161
161
  body = JSON.stringify((0, smithy_client_1.take)(input, {
162
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
162
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
163
163
  Description: [],
164
164
  Domain: [],
165
165
  LaunchOverrides: (_) => (0, smithy_client_1._json)(_),
@@ -206,7 +206,7 @@ const se_StartSimulationCommand = async (input, context) => {
206
206
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/startsimulation";
207
207
  let body;
208
208
  body = JSON.stringify((0, smithy_client_1.take)(input, {
209
- ClientToken: (_) => _ ?? (0, uuid_1.v4)(),
209
+ ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
210
210
  Description: [],
211
211
  MaximumDuration: [],
212
212
  Name: [],
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { DeleteAppCommand } from "./commands/DeleteAppCommand";
2
3
  import { DeleteSimulationCommand, } from "./commands/DeleteSimulationCommand";
3
4
  import { DescribeAppCommand } from "./commands/DescribeAppCommand";
@@ -14,215 +15,23 @@ import { StopSimulationCommand, } from "./commands/StopSimulationCommand";
14
15
  import { TagResourceCommand } from "./commands/TagResourceCommand";
15
16
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
16
17
  import { SimSpaceWeaverClient } from "./SimSpaceWeaverClient";
18
+ const commands = {
19
+ DeleteAppCommand,
20
+ DeleteSimulationCommand,
21
+ DescribeAppCommand,
22
+ DescribeSimulationCommand,
23
+ ListAppsCommand,
24
+ ListSimulationsCommand,
25
+ ListTagsForResourceCommand,
26
+ StartAppCommand,
27
+ StartClockCommand,
28
+ StartSimulationCommand,
29
+ StopAppCommand,
30
+ StopClockCommand,
31
+ StopSimulationCommand,
32
+ TagResourceCommand,
33
+ UntagResourceCommand,
34
+ };
17
35
  export class SimSpaceWeaver extends SimSpaceWeaverClient {
18
- deleteApp(args, optionsOrCb, cb) {
19
- const command = new DeleteAppCommand(args);
20
- if (typeof optionsOrCb === "function") {
21
- this.send(command, optionsOrCb);
22
- }
23
- else if (typeof cb === "function") {
24
- if (typeof optionsOrCb !== "object")
25
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
26
- this.send(command, optionsOrCb || {}, cb);
27
- }
28
- else {
29
- return this.send(command, optionsOrCb);
30
- }
31
- }
32
- deleteSimulation(args, optionsOrCb, cb) {
33
- const command = new DeleteSimulationCommand(args);
34
- if (typeof optionsOrCb === "function") {
35
- this.send(command, optionsOrCb);
36
- }
37
- else if (typeof cb === "function") {
38
- if (typeof optionsOrCb !== "object")
39
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
40
- this.send(command, optionsOrCb || {}, cb);
41
- }
42
- else {
43
- return this.send(command, optionsOrCb);
44
- }
45
- }
46
- describeApp(args, optionsOrCb, cb) {
47
- const command = new DescribeAppCommand(args);
48
- if (typeof optionsOrCb === "function") {
49
- this.send(command, optionsOrCb);
50
- }
51
- else if (typeof cb === "function") {
52
- if (typeof optionsOrCb !== "object")
53
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
54
- this.send(command, optionsOrCb || {}, cb);
55
- }
56
- else {
57
- return this.send(command, optionsOrCb);
58
- }
59
- }
60
- describeSimulation(args, optionsOrCb, cb) {
61
- const command = new DescribeSimulationCommand(args);
62
- if (typeof optionsOrCb === "function") {
63
- this.send(command, optionsOrCb);
64
- }
65
- else if (typeof cb === "function") {
66
- if (typeof optionsOrCb !== "object")
67
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
68
- this.send(command, optionsOrCb || {}, cb);
69
- }
70
- else {
71
- return this.send(command, optionsOrCb);
72
- }
73
- }
74
- listApps(args, optionsOrCb, cb) {
75
- const command = new ListAppsCommand(args);
76
- if (typeof optionsOrCb === "function") {
77
- this.send(command, optionsOrCb);
78
- }
79
- else if (typeof cb === "function") {
80
- if (typeof optionsOrCb !== "object")
81
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
82
- this.send(command, optionsOrCb || {}, cb);
83
- }
84
- else {
85
- return this.send(command, optionsOrCb);
86
- }
87
- }
88
- listSimulations(args, optionsOrCb, cb) {
89
- const command = new ListSimulationsCommand(args);
90
- if (typeof optionsOrCb === "function") {
91
- this.send(command, optionsOrCb);
92
- }
93
- else if (typeof cb === "function") {
94
- if (typeof optionsOrCb !== "object")
95
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
96
- this.send(command, optionsOrCb || {}, cb);
97
- }
98
- else {
99
- return this.send(command, optionsOrCb);
100
- }
101
- }
102
- listTagsForResource(args, optionsOrCb, cb) {
103
- const command = new ListTagsForResourceCommand(args);
104
- if (typeof optionsOrCb === "function") {
105
- this.send(command, optionsOrCb);
106
- }
107
- else if (typeof cb === "function") {
108
- if (typeof optionsOrCb !== "object")
109
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
110
- this.send(command, optionsOrCb || {}, cb);
111
- }
112
- else {
113
- return this.send(command, optionsOrCb);
114
- }
115
- }
116
- startApp(args, optionsOrCb, cb) {
117
- const command = new StartAppCommand(args);
118
- if (typeof optionsOrCb === "function") {
119
- this.send(command, optionsOrCb);
120
- }
121
- else if (typeof cb === "function") {
122
- if (typeof optionsOrCb !== "object")
123
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
124
- this.send(command, optionsOrCb || {}, cb);
125
- }
126
- else {
127
- return this.send(command, optionsOrCb);
128
- }
129
- }
130
- startClock(args, optionsOrCb, cb) {
131
- const command = new StartClockCommand(args);
132
- if (typeof optionsOrCb === "function") {
133
- this.send(command, optionsOrCb);
134
- }
135
- else if (typeof cb === "function") {
136
- if (typeof optionsOrCb !== "object")
137
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
138
- this.send(command, optionsOrCb || {}, cb);
139
- }
140
- else {
141
- return this.send(command, optionsOrCb);
142
- }
143
- }
144
- startSimulation(args, optionsOrCb, cb) {
145
- const command = new StartSimulationCommand(args);
146
- if (typeof optionsOrCb === "function") {
147
- this.send(command, optionsOrCb);
148
- }
149
- else if (typeof cb === "function") {
150
- if (typeof optionsOrCb !== "object")
151
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
152
- this.send(command, optionsOrCb || {}, cb);
153
- }
154
- else {
155
- return this.send(command, optionsOrCb);
156
- }
157
- }
158
- stopApp(args, optionsOrCb, cb) {
159
- const command = new StopAppCommand(args);
160
- if (typeof optionsOrCb === "function") {
161
- this.send(command, optionsOrCb);
162
- }
163
- else if (typeof cb === "function") {
164
- if (typeof optionsOrCb !== "object")
165
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
166
- this.send(command, optionsOrCb || {}, cb);
167
- }
168
- else {
169
- return this.send(command, optionsOrCb);
170
- }
171
- }
172
- stopClock(args, optionsOrCb, cb) {
173
- const command = new StopClockCommand(args);
174
- if (typeof optionsOrCb === "function") {
175
- this.send(command, optionsOrCb);
176
- }
177
- else if (typeof cb === "function") {
178
- if (typeof optionsOrCb !== "object")
179
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
180
- this.send(command, optionsOrCb || {}, cb);
181
- }
182
- else {
183
- return this.send(command, optionsOrCb);
184
- }
185
- }
186
- stopSimulation(args, optionsOrCb, cb) {
187
- const command = new StopSimulationCommand(args);
188
- if (typeof optionsOrCb === "function") {
189
- this.send(command, optionsOrCb);
190
- }
191
- else if (typeof cb === "function") {
192
- if (typeof optionsOrCb !== "object")
193
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
194
- this.send(command, optionsOrCb || {}, cb);
195
- }
196
- else {
197
- return this.send(command, optionsOrCb);
198
- }
199
- }
200
- tagResource(args, optionsOrCb, cb) {
201
- const command = new TagResourceCommand(args);
202
- if (typeof optionsOrCb === "function") {
203
- this.send(command, optionsOrCb);
204
- }
205
- else if (typeof cb === "function") {
206
- if (typeof optionsOrCb !== "object")
207
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
208
- this.send(command, optionsOrCb || {}, cb);
209
- }
210
- else {
211
- return this.send(command, optionsOrCb);
212
- }
213
- }
214
- untagResource(args, optionsOrCb, cb) {
215
- const command = new UntagResourceCommand(args);
216
- if (typeof optionsOrCb === "function") {
217
- this.send(command, optionsOrCb);
218
- }
219
- else if (typeof cb === "function") {
220
- if (typeof optionsOrCb !== "object")
221
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
222
- this.send(command, optionsOrCb || {}, cb);
223
- }
224
- else {
225
- return this.send(command, optionsOrCb);
226
- }
227
- }
228
36
  }
37
+ createAggregatedClient(commands, SimSpaceWeaver);
@@ -149,7 +149,7 @@ export const se_StartAppCommand = async (input, context) => {
149
149
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/startapp";
150
150
  let body;
151
151
  body = JSON.stringify(take(input, {
152
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
152
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
153
153
  Description: [],
154
154
  Domain: [],
155
155
  LaunchOverrides: (_) => _json(_),
@@ -194,7 +194,7 @@ export const se_StartSimulationCommand = async (input, context) => {
194
194
  const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/startsimulation";
195
195
  let body;
196
196
  body = JSON.stringify(take(input, {
197
- ClientToken: (_) => _ ?? generateIdempotencyToken(),
197
+ ClientToken: [true, (_) => _ ?? generateIdempotencyToken()],
198
198
  Description: [],
199
199
  MaximumDuration: [],
200
200
  Name: [],
@@ -15,136 +15,112 @@ import { StopSimulationCommandInput, StopSimulationCommandOutput } from "./comma
15
15
  import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
16
16
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
17
17
  import { SimSpaceWeaverClient } from "./SimSpaceWeaverClient";
18
- /**
19
- * @public
20
- * <p>Amazon Web Services SimSpace Weaver (SimSpace Weaver) is a managed service that you can use to build and operate large-scale
21
- * spatial simulations in the Amazon Web Services Cloud. For example, you can create a digital twin of a city,
22
- * crowd simulations with millions of people and objects, and massilvely-multiplayer games with
23
- * hundreds of thousands of connected players.
24
- * For more information about SimSpace Weaver, see the <i>
25
- * <a href="https://docs.aws.amazon.com/simspaceweaver/latest/userguide/">Amazon Web Services SimSpace Weaver User Guide</a>
26
- * </i>.</p>
27
- * <p>This API reference describes the API operations and data types that you can use to
28
- * communicate directly with SimSpace Weaver.</p>
29
- * <p>SimSpace Weaver also provides the SimSpace Weaver app SDK, which you use for app development. The SimSpace Weaver
30
- * app SDK API reference is included in the SimSpace Weaver app SDK documentation, which is part of the
31
- * SimSpace Weaver app SDK distributable package.</p>
32
- */
33
- export declare class SimSpaceWeaver extends SimSpaceWeaverClient {
18
+ export interface SimSpaceWeaver {
34
19
  /**
35
- * @public
36
- * <p>Deletes the instance of the given custom app.</p>
20
+ * @see {@link DeleteAppCommand}
37
21
  */
38
22
  deleteApp(args: DeleteAppCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAppCommandOutput>;
39
23
  deleteApp(args: DeleteAppCommandInput, cb: (err: any, data?: DeleteAppCommandOutput) => void): void;
40
24
  deleteApp(args: DeleteAppCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAppCommandOutput) => void): void;
41
25
  /**
42
- * @public
43
- * <p>Deletes all SimSpace Weaver resources assigned to the given simulation.</p>
44
- * <note>
45
- * <p>Your simulation uses resources in other Amazon Web Services services. This API operation doesn't delete
46
- * resources in other Amazon Web Services services.</p>
47
- * </note>
26
+ * @see {@link DeleteSimulationCommand}
48
27
  */
49
28
  deleteSimulation(args: DeleteSimulationCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSimulationCommandOutput>;
50
29
  deleteSimulation(args: DeleteSimulationCommandInput, cb: (err: any, data?: DeleteSimulationCommandOutput) => void): void;
51
30
  deleteSimulation(args: DeleteSimulationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSimulationCommandOutput) => void): void;
52
31
  /**
53
- * @public
54
- * <p>Returns the state of the given custom app.</p>
32
+ * @see {@link DescribeAppCommand}
55
33
  */
56
34
  describeApp(args: DescribeAppCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAppCommandOutput>;
57
35
  describeApp(args: DescribeAppCommandInput, cb: (err: any, data?: DescribeAppCommandOutput) => void): void;
58
36
  describeApp(args: DescribeAppCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAppCommandOutput) => void): void;
59
37
  /**
60
- * @public
61
- * <p>Returns the current state of the given simulation.</p>
38
+ * @see {@link DescribeSimulationCommand}
62
39
  */
63
40
  describeSimulation(args: DescribeSimulationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSimulationCommandOutput>;
64
41
  describeSimulation(args: DescribeSimulationCommandInput, cb: (err: any, data?: DescribeSimulationCommandOutput) => void): void;
65
42
  describeSimulation(args: DescribeSimulationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSimulationCommandOutput) => void): void;
66
43
  /**
67
- * @public
68
- * <p>Lists all custom apps or service apps for the given simulation and domain.</p>
44
+ * @see {@link ListAppsCommand}
69
45
  */
70
46
  listApps(args: ListAppsCommandInput, options?: __HttpHandlerOptions): Promise<ListAppsCommandOutput>;
71
47
  listApps(args: ListAppsCommandInput, cb: (err: any, data?: ListAppsCommandOutput) => void): void;
72
48
  listApps(args: ListAppsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAppsCommandOutput) => void): void;
73
49
  /**
74
- * @public
75
- * <p>Lists the SimSpace Weaver simulations in the Amazon Web Services account used to make the API call.</p>
50
+ * @see {@link ListSimulationsCommand}
76
51
  */
77
52
  listSimulations(args: ListSimulationsCommandInput, options?: __HttpHandlerOptions): Promise<ListSimulationsCommandOutput>;
78
53
  listSimulations(args: ListSimulationsCommandInput, cb: (err: any, data?: ListSimulationsCommandOutput) => void): void;
79
54
  listSimulations(args: ListSimulationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSimulationsCommandOutput) => void): void;
80
55
  /**
81
- * @public
82
- * <p>Lists all tags on a SimSpace Weaver resource.</p>
56
+ * @see {@link ListTagsForResourceCommand}
83
57
  */
84
58
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
85
59
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
86
60
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
87
61
  /**
88
- * @public
89
- * <p>Starts a custom app with the configuration specified in the simulation schema.</p>
62
+ * @see {@link StartAppCommand}
90
63
  */
91
64
  startApp(args: StartAppCommandInput, options?: __HttpHandlerOptions): Promise<StartAppCommandOutput>;
92
65
  startApp(args: StartAppCommandInput, cb: (err: any, data?: StartAppCommandOutput) => void): void;
93
66
  startApp(args: StartAppCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAppCommandOutput) => void): void;
94
67
  /**
95
- * @public
96
- * <p>Starts the simulation clock.</p>
68
+ * @see {@link StartClockCommand}
97
69
  */
98
70
  startClock(args: StartClockCommandInput, options?: __HttpHandlerOptions): Promise<StartClockCommandOutput>;
99
71
  startClock(args: StartClockCommandInput, cb: (err: any, data?: StartClockCommandOutput) => void): void;
100
72
  startClock(args: StartClockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartClockCommandOutput) => void): void;
101
73
  /**
102
- * @public
103
- * <p>Starts a simulation with the given name and schema.</p>
74
+ * @see {@link StartSimulationCommand}
104
75
  */
105
76
  startSimulation(args: StartSimulationCommandInput, options?: __HttpHandlerOptions): Promise<StartSimulationCommandOutput>;
106
77
  startSimulation(args: StartSimulationCommandInput, cb: (err: any, data?: StartSimulationCommandOutput) => void): void;
107
78
  startSimulation(args: StartSimulationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSimulationCommandOutput) => void): void;
108
79
  /**
109
- * @public
110
- * <p>Stops the given custom app and shuts down all of its allocated compute resources.</p>
80
+ * @see {@link StopAppCommand}
111
81
  */
112
82
  stopApp(args: StopAppCommandInput, options?: __HttpHandlerOptions): Promise<StopAppCommandOutput>;
113
83
  stopApp(args: StopAppCommandInput, cb: (err: any, data?: StopAppCommandOutput) => void): void;
114
84
  stopApp(args: StopAppCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAppCommandOutput) => void): void;
115
85
  /**
116
- * @public
117
- * <p>Stops the simulation clock.</p>
86
+ * @see {@link StopClockCommand}
118
87
  */
119
88
  stopClock(args: StopClockCommandInput, options?: __HttpHandlerOptions): Promise<StopClockCommandOutput>;
120
89
  stopClock(args: StopClockCommandInput, cb: (err: any, data?: StopClockCommandOutput) => void): void;
121
90
  stopClock(args: StopClockCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopClockCommandOutput) => void): void;
122
91
  /**
123
- * @public
124
- * <p>Stops the given simulation.</p>
125
- * <important>
126
- * <p>You can't restart a simulation after you stop it.
127
- * If you need to restart a simulation, you must stop it, delete it,
128
- * and start a new instance of it.</p>
129
- * </important>
92
+ * @see {@link StopSimulationCommand}
130
93
  */
131
94
  stopSimulation(args: StopSimulationCommandInput, options?: __HttpHandlerOptions): Promise<StopSimulationCommandOutput>;
132
95
  stopSimulation(args: StopSimulationCommandInput, cb: (err: any, data?: StopSimulationCommandOutput) => void): void;
133
96
  stopSimulation(args: StopSimulationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopSimulationCommandOutput) => void): void;
134
97
  /**
135
- * @public
136
- * <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
137
- * <i>Amazon Web Services General Reference</i>.</p>
98
+ * @see {@link TagResourceCommand}
138
99
  */
139
100
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
140
101
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
141
102
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
142
103
  /**
143
- * @public
144
- * <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
145
- * <i>Amazon Web Services General Reference</i>.</p>
104
+ * @see {@link UntagResourceCommand}
146
105
  */
147
106
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
148
107
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
149
108
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
150
109
  }
110
+ /**
111
+ * @public
112
+ * <p>Amazon Web Services SimSpace Weaver (SimSpace Weaver) is a managed service that you can use to build and operate large-scale
113
+ * spatial simulations in the Amazon Web Services Cloud. For example, you can create a digital twin of a city,
114
+ * crowd simulations with millions of people and objects, and massilvely-multiplayer games with
115
+ * hundreds of thousands of connected players.
116
+ * For more information about SimSpace Weaver, see the <i>
117
+ * <a href="https://docs.aws.amazon.com/simspaceweaver/latest/userguide/">Amazon Web Services SimSpace Weaver User Guide</a>
118
+ * </i>.</p>
119
+ * <p>This API reference describes the API operations and data types that you can use to
120
+ * communicate directly with SimSpace Weaver.</p>
121
+ * <p>SimSpace Weaver also provides the SimSpace Weaver app SDK, which you use for app development. The SimSpace Weaver
122
+ * app SDK API reference is included in the SimSpace Weaver app SDK documentation, which is part of the
123
+ * SimSpace Weaver app SDK distributable package.</p>
124
+ */
125
+ export declare class SimSpaceWeaver extends SimSpaceWeaverClient implements SimSpaceWeaver {
126
+ }
@@ -60,7 +60,7 @@ import {
60
60
  UntagResourceCommandOutput,
61
61
  } from "./commands/UntagResourceCommand";
62
62
  import { SimSpaceWeaverClient } from "./SimSpaceWeaverClient";
63
- export declare class SimSpaceWeaver extends SimSpaceWeaverClient {
63
+ export interface SimSpaceWeaver {
64
64
  deleteApp(
65
65
  args: DeleteAppCommandInput,
66
66
  options?: __HttpHandlerOptions
@@ -257,3 +257,6 @@ export declare class SimSpaceWeaver extends SimSpaceWeaverClient {
257
257
  cb: (err: any, data?: UntagResourceCommandOutput) => void
258
258
  ): void;
259
259
  }
260
+ export declare class SimSpaceWeaver
261
+ extends SimSpaceWeaverClient
262
+ implements SimSpaceWeaver {}
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.315.0",
4
+ "version": "3.319.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.315.0",
24
+ "@aws-sdk/client-sts": "3.319.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
26
+ "@aws-sdk/credential-provider-node": "3.319.0",
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",
@@ -36,19 +36,19 @@
36
36
  "@aws-sdk/middleware-serde": "3.310.0",
37
37
  "@aws-sdk/middleware-signing": "3.310.0",
38
38
  "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.310.0",
39
+ "@aws-sdk/middleware-user-agent": "3.319.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.315.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
51
- "@aws-sdk/util-endpoints": "3.310.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
+ "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",
54
54
  "@aws-sdk/util-user-agent-node": "3.310.0",