@aws-sdk/client-outposts 3.315.0 → 3.316.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.Outposts = void 0;
4
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
4
5
  const CancelOrderCommand_1 = require("./commands/CancelOrderCommand");
5
6
  const CreateOrderCommand_1 = require("./commands/CreateOrderCommand");
6
7
  const CreateOutpostCommand_1 = require("./commands/CreateOutpostCommand");
@@ -28,370 +29,35 @@ const UpdateSiteAddressCommand_1 = require("./commands/UpdateSiteAddressCommand"
28
29
  const UpdateSiteCommand_1 = require("./commands/UpdateSiteCommand");
29
30
  const UpdateSiteRackPhysicalPropertiesCommand_1 = require("./commands/UpdateSiteRackPhysicalPropertiesCommand");
30
31
  const OutpostsClient_1 = require("./OutpostsClient");
32
+ const commands = {
33
+ CancelOrderCommand: CancelOrderCommand_1.CancelOrderCommand,
34
+ CreateOrderCommand: CreateOrderCommand_1.CreateOrderCommand,
35
+ CreateOutpostCommand: CreateOutpostCommand_1.CreateOutpostCommand,
36
+ CreateSiteCommand: CreateSiteCommand_1.CreateSiteCommand,
37
+ DeleteOutpostCommand: DeleteOutpostCommand_1.DeleteOutpostCommand,
38
+ DeleteSiteCommand: DeleteSiteCommand_1.DeleteSiteCommand,
39
+ GetCatalogItemCommand: GetCatalogItemCommand_1.GetCatalogItemCommand,
40
+ GetConnectionCommand: GetConnectionCommand_1.GetConnectionCommand,
41
+ GetOrderCommand: GetOrderCommand_1.GetOrderCommand,
42
+ GetOutpostCommand: GetOutpostCommand_1.GetOutpostCommand,
43
+ GetOutpostInstanceTypesCommand: GetOutpostInstanceTypesCommand_1.GetOutpostInstanceTypesCommand,
44
+ GetSiteCommand: GetSiteCommand_1.GetSiteCommand,
45
+ GetSiteAddressCommand: GetSiteAddressCommand_1.GetSiteAddressCommand,
46
+ ListAssetsCommand: ListAssetsCommand_1.ListAssetsCommand,
47
+ ListCatalogItemsCommand: ListCatalogItemsCommand_1.ListCatalogItemsCommand,
48
+ ListOrdersCommand: ListOrdersCommand_1.ListOrdersCommand,
49
+ ListOutpostsCommand: ListOutpostsCommand_1.ListOutpostsCommand,
50
+ ListSitesCommand: ListSitesCommand_1.ListSitesCommand,
51
+ ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
52
+ StartConnectionCommand: StartConnectionCommand_1.StartConnectionCommand,
53
+ TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
54
+ UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
55
+ UpdateOutpostCommand: UpdateOutpostCommand_1.UpdateOutpostCommand,
56
+ UpdateSiteCommand: UpdateSiteCommand_1.UpdateSiteCommand,
57
+ UpdateSiteAddressCommand: UpdateSiteAddressCommand_1.UpdateSiteAddressCommand,
58
+ UpdateSiteRackPhysicalPropertiesCommand: UpdateSiteRackPhysicalPropertiesCommand_1.UpdateSiteRackPhysicalPropertiesCommand,
59
+ };
31
60
  class Outposts extends OutpostsClient_1.OutpostsClient {
32
- cancelOrder(args, optionsOrCb, cb) {
33
- const command = new CancelOrderCommand_1.CancelOrderCommand(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
- createOrder(args, optionsOrCb, cb) {
47
- const command = new CreateOrderCommand_1.CreateOrderCommand(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
- createOutpost(args, optionsOrCb, cb) {
61
- const command = new CreateOutpostCommand_1.CreateOutpostCommand(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
- createSite(args, optionsOrCb, cb) {
75
- const command = new CreateSiteCommand_1.CreateSiteCommand(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
- deleteOutpost(args, optionsOrCb, cb) {
89
- const command = new DeleteOutpostCommand_1.DeleteOutpostCommand(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
- deleteSite(args, optionsOrCb, cb) {
103
- const command = new DeleteSiteCommand_1.DeleteSiteCommand(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
- getCatalogItem(args, optionsOrCb, cb) {
117
- const command = new GetCatalogItemCommand_1.GetCatalogItemCommand(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
- getConnection(args, optionsOrCb, cb) {
131
- const command = new GetConnectionCommand_1.GetConnectionCommand(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
- getOrder(args, optionsOrCb, cb) {
145
- const command = new GetOrderCommand_1.GetOrderCommand(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
- getOutpost(args, optionsOrCb, cb) {
159
- const command = new GetOutpostCommand_1.GetOutpostCommand(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
- getOutpostInstanceTypes(args, optionsOrCb, cb) {
173
- const command = new GetOutpostInstanceTypesCommand_1.GetOutpostInstanceTypesCommand(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
- getSite(args, optionsOrCb, cb) {
187
- const command = new GetSiteCommand_1.GetSiteCommand(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
- getSiteAddress(args, optionsOrCb, cb) {
201
- const command = new GetSiteAddressCommand_1.GetSiteAddressCommand(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
- listAssets(args, optionsOrCb, cb) {
215
- const command = new ListAssetsCommand_1.ListAssetsCommand(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
- listCatalogItems(args, optionsOrCb, cb) {
229
- const command = new ListCatalogItemsCommand_1.ListCatalogItemsCommand(args);
230
- if (typeof optionsOrCb === "function") {
231
- this.send(command, optionsOrCb);
232
- }
233
- else if (typeof cb === "function") {
234
- if (typeof optionsOrCb !== "object")
235
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
236
- this.send(command, optionsOrCb || {}, cb);
237
- }
238
- else {
239
- return this.send(command, optionsOrCb);
240
- }
241
- }
242
- listOrders(args, optionsOrCb, cb) {
243
- const command = new ListOrdersCommand_1.ListOrdersCommand(args);
244
- if (typeof optionsOrCb === "function") {
245
- this.send(command, optionsOrCb);
246
- }
247
- else if (typeof cb === "function") {
248
- if (typeof optionsOrCb !== "object")
249
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
250
- this.send(command, optionsOrCb || {}, cb);
251
- }
252
- else {
253
- return this.send(command, optionsOrCb);
254
- }
255
- }
256
- listOutposts(args, optionsOrCb, cb) {
257
- const command = new ListOutpostsCommand_1.ListOutpostsCommand(args);
258
- if (typeof optionsOrCb === "function") {
259
- this.send(command, optionsOrCb);
260
- }
261
- else if (typeof cb === "function") {
262
- if (typeof optionsOrCb !== "object")
263
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
264
- this.send(command, optionsOrCb || {}, cb);
265
- }
266
- else {
267
- return this.send(command, optionsOrCb);
268
- }
269
- }
270
- listSites(args, optionsOrCb, cb) {
271
- const command = new ListSitesCommand_1.ListSitesCommand(args);
272
- if (typeof optionsOrCb === "function") {
273
- this.send(command, optionsOrCb);
274
- }
275
- else if (typeof cb === "function") {
276
- if (typeof optionsOrCb !== "object")
277
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
278
- this.send(command, optionsOrCb || {}, cb);
279
- }
280
- else {
281
- return this.send(command, optionsOrCb);
282
- }
283
- }
284
- listTagsForResource(args, optionsOrCb, cb) {
285
- const command = new ListTagsForResourceCommand_1.ListTagsForResourceCommand(args);
286
- if (typeof optionsOrCb === "function") {
287
- this.send(command, optionsOrCb);
288
- }
289
- else if (typeof cb === "function") {
290
- if (typeof optionsOrCb !== "object")
291
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
292
- this.send(command, optionsOrCb || {}, cb);
293
- }
294
- else {
295
- return this.send(command, optionsOrCb);
296
- }
297
- }
298
- startConnection(args, optionsOrCb, cb) {
299
- const command = new StartConnectionCommand_1.StartConnectionCommand(args);
300
- if (typeof optionsOrCb === "function") {
301
- this.send(command, optionsOrCb);
302
- }
303
- else if (typeof cb === "function") {
304
- if (typeof optionsOrCb !== "object")
305
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
306
- this.send(command, optionsOrCb || {}, cb);
307
- }
308
- else {
309
- return this.send(command, optionsOrCb);
310
- }
311
- }
312
- tagResource(args, optionsOrCb, cb) {
313
- const command = new TagResourceCommand_1.TagResourceCommand(args);
314
- if (typeof optionsOrCb === "function") {
315
- this.send(command, optionsOrCb);
316
- }
317
- else if (typeof cb === "function") {
318
- if (typeof optionsOrCb !== "object")
319
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
320
- this.send(command, optionsOrCb || {}, cb);
321
- }
322
- else {
323
- return this.send(command, optionsOrCb);
324
- }
325
- }
326
- untagResource(args, optionsOrCb, cb) {
327
- const command = new UntagResourceCommand_1.UntagResourceCommand(args);
328
- if (typeof optionsOrCb === "function") {
329
- this.send(command, optionsOrCb);
330
- }
331
- else if (typeof cb === "function") {
332
- if (typeof optionsOrCb !== "object")
333
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
334
- this.send(command, optionsOrCb || {}, cb);
335
- }
336
- else {
337
- return this.send(command, optionsOrCb);
338
- }
339
- }
340
- updateOutpost(args, optionsOrCb, cb) {
341
- const command = new UpdateOutpostCommand_1.UpdateOutpostCommand(args);
342
- if (typeof optionsOrCb === "function") {
343
- this.send(command, optionsOrCb);
344
- }
345
- else if (typeof cb === "function") {
346
- if (typeof optionsOrCb !== "object")
347
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
348
- this.send(command, optionsOrCb || {}, cb);
349
- }
350
- else {
351
- return this.send(command, optionsOrCb);
352
- }
353
- }
354
- updateSite(args, optionsOrCb, cb) {
355
- const command = new UpdateSiteCommand_1.UpdateSiteCommand(args);
356
- if (typeof optionsOrCb === "function") {
357
- this.send(command, optionsOrCb);
358
- }
359
- else if (typeof cb === "function") {
360
- if (typeof optionsOrCb !== "object")
361
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
362
- this.send(command, optionsOrCb || {}, cb);
363
- }
364
- else {
365
- return this.send(command, optionsOrCb);
366
- }
367
- }
368
- updateSiteAddress(args, optionsOrCb, cb) {
369
- const command = new UpdateSiteAddressCommand_1.UpdateSiteAddressCommand(args);
370
- if (typeof optionsOrCb === "function") {
371
- this.send(command, optionsOrCb);
372
- }
373
- else if (typeof cb === "function") {
374
- if (typeof optionsOrCb !== "object")
375
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
376
- this.send(command, optionsOrCb || {}, cb);
377
- }
378
- else {
379
- return this.send(command, optionsOrCb);
380
- }
381
- }
382
- updateSiteRackPhysicalProperties(args, optionsOrCb, cb) {
383
- const command = new UpdateSiteRackPhysicalPropertiesCommand_1.UpdateSiteRackPhysicalPropertiesCommand(args);
384
- if (typeof optionsOrCb === "function") {
385
- this.send(command, optionsOrCb);
386
- }
387
- else if (typeof cb === "function") {
388
- if (typeof optionsOrCb !== "object")
389
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
390
- this.send(command, optionsOrCb || {}, cb);
391
- }
392
- else {
393
- return this.send(command, optionsOrCb);
394
- }
395
- }
396
61
  }
397
62
  exports.Outposts = Outposts;
63
+ (0, smithy_client_1.createAggregatedClient)(commands, Outposts);
@@ -1,3 +1,4 @@
1
+ import { createAggregatedClient } from "@aws-sdk/smithy-client";
1
2
  import { CancelOrderCommand } from "./commands/CancelOrderCommand";
2
3
  import { CreateOrderCommand } from "./commands/CreateOrderCommand";
3
4
  import { CreateOutpostCommand, } from "./commands/CreateOutpostCommand";
@@ -25,369 +26,34 @@ import { UpdateSiteAddressCommand, } from "./commands/UpdateSiteAddressCommand";
25
26
  import { UpdateSiteCommand } from "./commands/UpdateSiteCommand";
26
27
  import { UpdateSiteRackPhysicalPropertiesCommand, } from "./commands/UpdateSiteRackPhysicalPropertiesCommand";
27
28
  import { OutpostsClient } from "./OutpostsClient";
29
+ const commands = {
30
+ CancelOrderCommand,
31
+ CreateOrderCommand,
32
+ CreateOutpostCommand,
33
+ CreateSiteCommand,
34
+ DeleteOutpostCommand,
35
+ DeleteSiteCommand,
36
+ GetCatalogItemCommand,
37
+ GetConnectionCommand,
38
+ GetOrderCommand,
39
+ GetOutpostCommand,
40
+ GetOutpostInstanceTypesCommand,
41
+ GetSiteCommand,
42
+ GetSiteAddressCommand,
43
+ ListAssetsCommand,
44
+ ListCatalogItemsCommand,
45
+ ListOrdersCommand,
46
+ ListOutpostsCommand,
47
+ ListSitesCommand,
48
+ ListTagsForResourceCommand,
49
+ StartConnectionCommand,
50
+ TagResourceCommand,
51
+ UntagResourceCommand,
52
+ UpdateOutpostCommand,
53
+ UpdateSiteCommand,
54
+ UpdateSiteAddressCommand,
55
+ UpdateSiteRackPhysicalPropertiesCommand,
56
+ };
28
57
  export class Outposts extends OutpostsClient {
29
- cancelOrder(args, optionsOrCb, cb) {
30
- const command = new CancelOrderCommand(args);
31
- if (typeof optionsOrCb === "function") {
32
- this.send(command, optionsOrCb);
33
- }
34
- else if (typeof cb === "function") {
35
- if (typeof optionsOrCb !== "object")
36
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
37
- this.send(command, optionsOrCb || {}, cb);
38
- }
39
- else {
40
- return this.send(command, optionsOrCb);
41
- }
42
- }
43
- createOrder(args, optionsOrCb, cb) {
44
- const command = new CreateOrderCommand(args);
45
- if (typeof optionsOrCb === "function") {
46
- this.send(command, optionsOrCb);
47
- }
48
- else if (typeof cb === "function") {
49
- if (typeof optionsOrCb !== "object")
50
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
51
- this.send(command, optionsOrCb || {}, cb);
52
- }
53
- else {
54
- return this.send(command, optionsOrCb);
55
- }
56
- }
57
- createOutpost(args, optionsOrCb, cb) {
58
- const command = new CreateOutpostCommand(args);
59
- if (typeof optionsOrCb === "function") {
60
- this.send(command, optionsOrCb);
61
- }
62
- else if (typeof cb === "function") {
63
- if (typeof optionsOrCb !== "object")
64
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
65
- this.send(command, optionsOrCb || {}, cb);
66
- }
67
- else {
68
- return this.send(command, optionsOrCb);
69
- }
70
- }
71
- createSite(args, optionsOrCb, cb) {
72
- const command = new CreateSiteCommand(args);
73
- if (typeof optionsOrCb === "function") {
74
- this.send(command, optionsOrCb);
75
- }
76
- else if (typeof cb === "function") {
77
- if (typeof optionsOrCb !== "object")
78
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
79
- this.send(command, optionsOrCb || {}, cb);
80
- }
81
- else {
82
- return this.send(command, optionsOrCb);
83
- }
84
- }
85
- deleteOutpost(args, optionsOrCb, cb) {
86
- const command = new DeleteOutpostCommand(args);
87
- if (typeof optionsOrCb === "function") {
88
- this.send(command, optionsOrCb);
89
- }
90
- else if (typeof cb === "function") {
91
- if (typeof optionsOrCb !== "object")
92
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
93
- this.send(command, optionsOrCb || {}, cb);
94
- }
95
- else {
96
- return this.send(command, optionsOrCb);
97
- }
98
- }
99
- deleteSite(args, optionsOrCb, cb) {
100
- const command = new DeleteSiteCommand(args);
101
- if (typeof optionsOrCb === "function") {
102
- this.send(command, optionsOrCb);
103
- }
104
- else if (typeof cb === "function") {
105
- if (typeof optionsOrCb !== "object")
106
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
107
- this.send(command, optionsOrCb || {}, cb);
108
- }
109
- else {
110
- return this.send(command, optionsOrCb);
111
- }
112
- }
113
- getCatalogItem(args, optionsOrCb, cb) {
114
- const command = new GetCatalogItemCommand(args);
115
- if (typeof optionsOrCb === "function") {
116
- this.send(command, optionsOrCb);
117
- }
118
- else if (typeof cb === "function") {
119
- if (typeof optionsOrCb !== "object")
120
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
121
- this.send(command, optionsOrCb || {}, cb);
122
- }
123
- else {
124
- return this.send(command, optionsOrCb);
125
- }
126
- }
127
- getConnection(args, optionsOrCb, cb) {
128
- const command = new GetConnectionCommand(args);
129
- if (typeof optionsOrCb === "function") {
130
- this.send(command, optionsOrCb);
131
- }
132
- else if (typeof cb === "function") {
133
- if (typeof optionsOrCb !== "object")
134
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
135
- this.send(command, optionsOrCb || {}, cb);
136
- }
137
- else {
138
- return this.send(command, optionsOrCb);
139
- }
140
- }
141
- getOrder(args, optionsOrCb, cb) {
142
- const command = new GetOrderCommand(args);
143
- if (typeof optionsOrCb === "function") {
144
- this.send(command, optionsOrCb);
145
- }
146
- else if (typeof cb === "function") {
147
- if (typeof optionsOrCb !== "object")
148
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
149
- this.send(command, optionsOrCb || {}, cb);
150
- }
151
- else {
152
- return this.send(command, optionsOrCb);
153
- }
154
- }
155
- getOutpost(args, optionsOrCb, cb) {
156
- const command = new GetOutpostCommand(args);
157
- if (typeof optionsOrCb === "function") {
158
- this.send(command, optionsOrCb);
159
- }
160
- else if (typeof cb === "function") {
161
- if (typeof optionsOrCb !== "object")
162
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
163
- this.send(command, optionsOrCb || {}, cb);
164
- }
165
- else {
166
- return this.send(command, optionsOrCb);
167
- }
168
- }
169
- getOutpostInstanceTypes(args, optionsOrCb, cb) {
170
- const command = new GetOutpostInstanceTypesCommand(args);
171
- if (typeof optionsOrCb === "function") {
172
- this.send(command, optionsOrCb);
173
- }
174
- else if (typeof cb === "function") {
175
- if (typeof optionsOrCb !== "object")
176
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
177
- this.send(command, optionsOrCb || {}, cb);
178
- }
179
- else {
180
- return this.send(command, optionsOrCb);
181
- }
182
- }
183
- getSite(args, optionsOrCb, cb) {
184
- const command = new GetSiteCommand(args);
185
- if (typeof optionsOrCb === "function") {
186
- this.send(command, optionsOrCb);
187
- }
188
- else if (typeof cb === "function") {
189
- if (typeof optionsOrCb !== "object")
190
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
191
- this.send(command, optionsOrCb || {}, cb);
192
- }
193
- else {
194
- return this.send(command, optionsOrCb);
195
- }
196
- }
197
- getSiteAddress(args, optionsOrCb, cb) {
198
- const command = new GetSiteAddressCommand(args);
199
- if (typeof optionsOrCb === "function") {
200
- this.send(command, optionsOrCb);
201
- }
202
- else if (typeof cb === "function") {
203
- if (typeof optionsOrCb !== "object")
204
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
205
- this.send(command, optionsOrCb || {}, cb);
206
- }
207
- else {
208
- return this.send(command, optionsOrCb);
209
- }
210
- }
211
- listAssets(args, optionsOrCb, cb) {
212
- const command = new ListAssetsCommand(args);
213
- if (typeof optionsOrCb === "function") {
214
- this.send(command, optionsOrCb);
215
- }
216
- else if (typeof cb === "function") {
217
- if (typeof optionsOrCb !== "object")
218
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
219
- this.send(command, optionsOrCb || {}, cb);
220
- }
221
- else {
222
- return this.send(command, optionsOrCb);
223
- }
224
- }
225
- listCatalogItems(args, optionsOrCb, cb) {
226
- const command = new ListCatalogItemsCommand(args);
227
- if (typeof optionsOrCb === "function") {
228
- this.send(command, optionsOrCb);
229
- }
230
- else if (typeof cb === "function") {
231
- if (typeof optionsOrCb !== "object")
232
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
233
- this.send(command, optionsOrCb || {}, cb);
234
- }
235
- else {
236
- return this.send(command, optionsOrCb);
237
- }
238
- }
239
- listOrders(args, optionsOrCb, cb) {
240
- const command = new ListOrdersCommand(args);
241
- if (typeof optionsOrCb === "function") {
242
- this.send(command, optionsOrCb);
243
- }
244
- else if (typeof cb === "function") {
245
- if (typeof optionsOrCb !== "object")
246
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
247
- this.send(command, optionsOrCb || {}, cb);
248
- }
249
- else {
250
- return this.send(command, optionsOrCb);
251
- }
252
- }
253
- listOutposts(args, optionsOrCb, cb) {
254
- const command = new ListOutpostsCommand(args);
255
- if (typeof optionsOrCb === "function") {
256
- this.send(command, optionsOrCb);
257
- }
258
- else if (typeof cb === "function") {
259
- if (typeof optionsOrCb !== "object")
260
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
261
- this.send(command, optionsOrCb || {}, cb);
262
- }
263
- else {
264
- return this.send(command, optionsOrCb);
265
- }
266
- }
267
- listSites(args, optionsOrCb, cb) {
268
- const command = new ListSitesCommand(args);
269
- if (typeof optionsOrCb === "function") {
270
- this.send(command, optionsOrCb);
271
- }
272
- else if (typeof cb === "function") {
273
- if (typeof optionsOrCb !== "object")
274
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
275
- this.send(command, optionsOrCb || {}, cb);
276
- }
277
- else {
278
- return this.send(command, optionsOrCb);
279
- }
280
- }
281
- listTagsForResource(args, optionsOrCb, cb) {
282
- const command = new ListTagsForResourceCommand(args);
283
- if (typeof optionsOrCb === "function") {
284
- this.send(command, optionsOrCb);
285
- }
286
- else if (typeof cb === "function") {
287
- if (typeof optionsOrCb !== "object")
288
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
289
- this.send(command, optionsOrCb || {}, cb);
290
- }
291
- else {
292
- return this.send(command, optionsOrCb);
293
- }
294
- }
295
- startConnection(args, optionsOrCb, cb) {
296
- const command = new StartConnectionCommand(args);
297
- if (typeof optionsOrCb === "function") {
298
- this.send(command, optionsOrCb);
299
- }
300
- else if (typeof cb === "function") {
301
- if (typeof optionsOrCb !== "object")
302
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
303
- this.send(command, optionsOrCb || {}, cb);
304
- }
305
- else {
306
- return this.send(command, optionsOrCb);
307
- }
308
- }
309
- tagResource(args, optionsOrCb, cb) {
310
- const command = new TagResourceCommand(args);
311
- if (typeof optionsOrCb === "function") {
312
- this.send(command, optionsOrCb);
313
- }
314
- else if (typeof cb === "function") {
315
- if (typeof optionsOrCb !== "object")
316
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
317
- this.send(command, optionsOrCb || {}, cb);
318
- }
319
- else {
320
- return this.send(command, optionsOrCb);
321
- }
322
- }
323
- untagResource(args, optionsOrCb, cb) {
324
- const command = new UntagResourceCommand(args);
325
- if (typeof optionsOrCb === "function") {
326
- this.send(command, optionsOrCb);
327
- }
328
- else if (typeof cb === "function") {
329
- if (typeof optionsOrCb !== "object")
330
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
331
- this.send(command, optionsOrCb || {}, cb);
332
- }
333
- else {
334
- return this.send(command, optionsOrCb);
335
- }
336
- }
337
- updateOutpost(args, optionsOrCb, cb) {
338
- const command = new UpdateOutpostCommand(args);
339
- if (typeof optionsOrCb === "function") {
340
- this.send(command, optionsOrCb);
341
- }
342
- else if (typeof cb === "function") {
343
- if (typeof optionsOrCb !== "object")
344
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
345
- this.send(command, optionsOrCb || {}, cb);
346
- }
347
- else {
348
- return this.send(command, optionsOrCb);
349
- }
350
- }
351
- updateSite(args, optionsOrCb, cb) {
352
- const command = new UpdateSiteCommand(args);
353
- if (typeof optionsOrCb === "function") {
354
- this.send(command, optionsOrCb);
355
- }
356
- else if (typeof cb === "function") {
357
- if (typeof optionsOrCb !== "object")
358
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
359
- this.send(command, optionsOrCb || {}, cb);
360
- }
361
- else {
362
- return this.send(command, optionsOrCb);
363
- }
364
- }
365
- updateSiteAddress(args, optionsOrCb, cb) {
366
- const command = new UpdateSiteAddressCommand(args);
367
- if (typeof optionsOrCb === "function") {
368
- this.send(command, optionsOrCb);
369
- }
370
- else if (typeof cb === "function") {
371
- if (typeof optionsOrCb !== "object")
372
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
373
- this.send(command, optionsOrCb || {}, cb);
374
- }
375
- else {
376
- return this.send(command, optionsOrCb);
377
- }
378
- }
379
- updateSiteRackPhysicalProperties(args, optionsOrCb, cb) {
380
- const command = new UpdateSiteRackPhysicalPropertiesCommand(args);
381
- if (typeof optionsOrCb === "function") {
382
- this.send(command, optionsOrCb);
383
- }
384
- else if (typeof cb === "function") {
385
- if (typeof optionsOrCb !== "object")
386
- throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
387
- this.send(command, optionsOrCb || {}, cb);
388
- }
389
- else {
390
- return this.send(command, optionsOrCb);
391
- }
392
- }
393
58
  }
59
+ createAggregatedClient(commands, Outposts);
@@ -26,238 +26,171 @@ import { UpdateSiteAddressCommandInput, UpdateSiteAddressCommandOutput } from ".
26
26
  import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "./commands/UpdateSiteCommand";
27
27
  import { UpdateSiteRackPhysicalPropertiesCommandInput, UpdateSiteRackPhysicalPropertiesCommandOutput } from "./commands/UpdateSiteRackPhysicalPropertiesCommand";
28
28
  import { OutpostsClient } from "./OutpostsClient";
29
- /**
30
- * @public
31
- * <p>Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools to
32
- * customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts enables
33
- * customers to build and run applications on premises using the same programming interfaces as
34
- * in Amazon Web Services Regions, while using local compute and storage resources for lower latency and local
35
- * data processing needs.</p>
36
- */
37
- export declare class Outposts extends OutpostsClient {
29
+ export interface Outposts {
38
30
  /**
39
- * @public
40
- * <p>Cancels the specified order for an Outpost.</p>
31
+ * @see {@link CancelOrderCommand}
41
32
  */
42
33
  cancelOrder(args: CancelOrderCommandInput, options?: __HttpHandlerOptions): Promise<CancelOrderCommandOutput>;
43
34
  cancelOrder(args: CancelOrderCommandInput, cb: (err: any, data?: CancelOrderCommandOutput) => void): void;
44
35
  cancelOrder(args: CancelOrderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelOrderCommandOutput) => void): void;
45
36
  /**
46
- * @public
47
- * <p>Creates an order for an Outpost.</p>
37
+ * @see {@link CreateOrderCommand}
48
38
  */
49
39
  createOrder(args: CreateOrderCommandInput, options?: __HttpHandlerOptions): Promise<CreateOrderCommandOutput>;
50
40
  createOrder(args: CreateOrderCommandInput, cb: (err: any, data?: CreateOrderCommandOutput) => void): void;
51
41
  createOrder(args: CreateOrderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOrderCommandOutput) => void): void;
52
42
  /**
53
- * @public
54
- * <p>Creates an Outpost.</p>
55
- * <p>You can specify either an Availability one or an AZ ID.</p>
43
+ * @see {@link CreateOutpostCommand}
56
44
  */
57
45
  createOutpost(args: CreateOutpostCommandInput, options?: __HttpHandlerOptions): Promise<CreateOutpostCommandOutput>;
58
46
  createOutpost(args: CreateOutpostCommandInput, cb: (err: any, data?: CreateOutpostCommandOutput) => void): void;
59
47
  createOutpost(args: CreateOutpostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOutpostCommandOutput) => void): void;
60
48
  /**
61
- * @public
62
- * <p> Creates a site for an Outpost. </p>
49
+ * @see {@link CreateSiteCommand}
63
50
  */
64
51
  createSite(args: CreateSiteCommandInput, options?: __HttpHandlerOptions): Promise<CreateSiteCommandOutput>;
65
52
  createSite(args: CreateSiteCommandInput, cb: (err: any, data?: CreateSiteCommandOutput) => void): void;
66
53
  createSite(args: CreateSiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSiteCommandOutput) => void): void;
67
54
  /**
68
- * @public
69
- * <p>Deletes the specified Outpost.</p>
55
+ * @see {@link DeleteOutpostCommand}
70
56
  */
71
57
  deleteOutpost(args: DeleteOutpostCommandInput, options?: __HttpHandlerOptions): Promise<DeleteOutpostCommandOutput>;
72
58
  deleteOutpost(args: DeleteOutpostCommandInput, cb: (err: any, data?: DeleteOutpostCommandOutput) => void): void;
73
59
  deleteOutpost(args: DeleteOutpostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOutpostCommandOutput) => void): void;
74
60
  /**
75
- * @public
76
- * <p>Deletes the specified site.</p>
61
+ * @see {@link DeleteSiteCommand}
77
62
  */
78
63
  deleteSite(args: DeleteSiteCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSiteCommandOutput>;
79
64
  deleteSite(args: DeleteSiteCommandInput, cb: (err: any, data?: DeleteSiteCommandOutput) => void): void;
80
65
  deleteSite(args: DeleteSiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSiteCommandOutput) => void): void;
81
66
  /**
82
- * @public
83
- * <p>Gets information about the specified catalog item.</p>
67
+ * @see {@link GetCatalogItemCommand}
84
68
  */
85
69
  getCatalogItem(args: GetCatalogItemCommandInput, options?: __HttpHandlerOptions): Promise<GetCatalogItemCommandOutput>;
86
70
  getCatalogItem(args: GetCatalogItemCommandInput, cb: (err: any, data?: GetCatalogItemCommandOutput) => void): void;
87
71
  getCatalogItem(args: GetCatalogItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCatalogItemCommandOutput) => void): void;
88
72
  /**
89
- * @public
90
- * <note>
91
- * <p>
92
- * Amazon Web Services uses this action to install Outpost servers.</p>
93
- * </note>
94
- * <p> Gets information about the specified connection. </p>
95
- * <p>
96
- * Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For
97
- * more information, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/security-iam-awsmanpol.html">
98
- * Amazon Web Services managed policies for Amazon Web Services Outposts</a> and <a href="https://docs.aws.amazon.com/outposts/latest/userguide/logging-using-cloudtrail.html">
99
- * Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail</a> in the <i>Amazon Web Services Outposts User Guide</i>.
100
- * </p>
73
+ * @see {@link GetConnectionCommand}
101
74
  */
102
75
  getConnection(args: GetConnectionCommandInput, options?: __HttpHandlerOptions): Promise<GetConnectionCommandOutput>;
103
76
  getConnection(args: GetConnectionCommandInput, cb: (err: any, data?: GetConnectionCommandOutput) => void): void;
104
77
  getConnection(args: GetConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectionCommandOutput) => void): void;
105
78
  /**
106
- * @public
107
- * <p>Gets information about the specified order.</p>
79
+ * @see {@link GetOrderCommand}
108
80
  */
109
81
  getOrder(args: GetOrderCommandInput, options?: __HttpHandlerOptions): Promise<GetOrderCommandOutput>;
110
82
  getOrder(args: GetOrderCommandInput, cb: (err: any, data?: GetOrderCommandOutput) => void): void;
111
83
  getOrder(args: GetOrderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOrderCommandOutput) => void): void;
112
84
  /**
113
- * @public
114
- * <p>Gets information about the specified Outpost.</p>
85
+ * @see {@link GetOutpostCommand}
115
86
  */
116
87
  getOutpost(args: GetOutpostCommandInput, options?: __HttpHandlerOptions): Promise<GetOutpostCommandOutput>;
117
88
  getOutpost(args: GetOutpostCommandInput, cb: (err: any, data?: GetOutpostCommandOutput) => void): void;
118
89
  getOutpost(args: GetOutpostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOutpostCommandOutput) => void): void;
119
90
  /**
120
- * @public
121
- * <p>Gets the instance types for the specified Outpost.</p>
91
+ * @see {@link GetOutpostInstanceTypesCommand}
122
92
  */
123
93
  getOutpostInstanceTypes(args: GetOutpostInstanceTypesCommandInput, options?: __HttpHandlerOptions): Promise<GetOutpostInstanceTypesCommandOutput>;
124
94
  getOutpostInstanceTypes(args: GetOutpostInstanceTypesCommandInput, cb: (err: any, data?: GetOutpostInstanceTypesCommandOutput) => void): void;
125
95
  getOutpostInstanceTypes(args: GetOutpostInstanceTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOutpostInstanceTypesCommandOutput) => void): void;
126
96
  /**
127
- * @public
128
- * <p>Gets information about the specified Outpost site.</p>
97
+ * @see {@link GetSiteCommand}
129
98
  */
130
99
  getSite(args: GetSiteCommandInput, options?: __HttpHandlerOptions): Promise<GetSiteCommandOutput>;
131
100
  getSite(args: GetSiteCommandInput, cb: (err: any, data?: GetSiteCommandOutput) => void): void;
132
101
  getSite(args: GetSiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSiteCommandOutput) => void): void;
133
102
  /**
134
- * @public
135
- * <p> Gets the site address of the specified site. </p>
103
+ * @see {@link GetSiteAddressCommand}
136
104
  */
137
105
  getSiteAddress(args: GetSiteAddressCommandInput, options?: __HttpHandlerOptions): Promise<GetSiteAddressCommandOutput>;
138
106
  getSiteAddress(args: GetSiteAddressCommandInput, cb: (err: any, data?: GetSiteAddressCommandOutput) => void): void;
139
107
  getSiteAddress(args: GetSiteAddressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetSiteAddressCommandOutput) => void): void;
140
108
  /**
141
- * @public
142
- * <p>Lists the hardware assets for the specified Outpost.</p>
143
- * <p>Use filters to return specific results. If you specify multiple filters, the results include only the resources that match
144
- * all of the specified filters. For a filter where you can specify multiple values, the results include
145
- * items that match any of the values that you specify for the filter.</p>
109
+ * @see {@link ListAssetsCommand}
146
110
  */
147
111
  listAssets(args: ListAssetsCommandInput, options?: __HttpHandlerOptions): Promise<ListAssetsCommandOutput>;
148
112
  listAssets(args: ListAssetsCommandInput, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
149
113
  listAssets(args: ListAssetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssetsCommandOutput) => void): void;
150
114
  /**
151
- * @public
152
- * <p>Lists the items in the catalog.</p>
153
- * <p>Use filters to return specific results. If you specify multiple filters, the results include only the resources that match
154
- * all of the specified filters. For a filter where you can specify multiple values, the results include
155
- * items that match any of the values that you specify for the filter.</p>
115
+ * @see {@link ListCatalogItemsCommand}
156
116
  */
157
117
  listCatalogItems(args: ListCatalogItemsCommandInput, options?: __HttpHandlerOptions): Promise<ListCatalogItemsCommandOutput>;
158
118
  listCatalogItems(args: ListCatalogItemsCommandInput, cb: (err: any, data?: ListCatalogItemsCommandOutput) => void): void;
159
119
  listCatalogItems(args: ListCatalogItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCatalogItemsCommandOutput) => void): void;
160
120
  /**
161
- * @public
162
- * <p>Lists the Outpost orders for your Amazon Web Services account.</p>
121
+ * @see {@link ListOrdersCommand}
163
122
  */
164
123
  listOrders(args: ListOrdersCommandInput, options?: __HttpHandlerOptions): Promise<ListOrdersCommandOutput>;
165
124
  listOrders(args: ListOrdersCommandInput, cb: (err: any, data?: ListOrdersCommandOutput) => void): void;
166
125
  listOrders(args: ListOrdersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOrdersCommandOutput) => void): void;
167
126
  /**
168
- * @public
169
- * <p>Lists the Outposts for your Amazon Web Services account.</p>
170
- * <p>Use filters to return specific results. If you specify multiple filters, the results include only the resources that match
171
- * all of the specified filters. For a filter where you can specify multiple values, the results include
172
- * items that match any of the values that you specify for the filter.</p>
127
+ * @see {@link ListOutpostsCommand}
173
128
  */
174
129
  listOutposts(args: ListOutpostsCommandInput, options?: __HttpHandlerOptions): Promise<ListOutpostsCommandOutput>;
175
130
  listOutposts(args: ListOutpostsCommandInput, cb: (err: any, data?: ListOutpostsCommandOutput) => void): void;
176
131
  listOutposts(args: ListOutpostsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOutpostsCommandOutput) => void): void;
177
132
  /**
178
- * @public
179
- * <p>Lists the Outpost sites for your Amazon Web Services account. Use filters to return specific
180
- * results.</p>
181
- * <p>Use filters to return specific results. If you specify multiple filters, the results include only the resources that match
182
- * all of the specified filters. For a filter where you can specify multiple values, the results include
183
- * items that match any of the values that you specify for the filter.</p>
133
+ * @see {@link ListSitesCommand}
184
134
  */
185
135
  listSites(args: ListSitesCommandInput, options?: __HttpHandlerOptions): Promise<ListSitesCommandOutput>;
186
136
  listSites(args: ListSitesCommandInput, cb: (err: any, data?: ListSitesCommandOutput) => void): void;
187
137
  listSites(args: ListSitesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSitesCommandOutput) => void): void;
188
138
  /**
189
- * @public
190
- * <p>Lists the tags for the specified resource.</p>
139
+ * @see {@link ListTagsForResourceCommand}
191
140
  */
192
141
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
193
142
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
194
143
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
195
144
  /**
196
- * @public
197
- * <note>
198
- * <p>
199
- * Amazon Web Services uses this action to install Outpost servers.</p>
200
- * </note>
201
- * <p> Starts the connection required for Outpost server installation. </p>
202
- * <p>
203
- * Use CloudTrail to monitor this action or Amazon Web Services managed policy for Amazon Web Services Outposts to secure it. For
204
- * more information, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/security-iam-awsmanpol.html">
205
- * Amazon Web Services managed policies for Amazon Web Services Outposts</a> and <a href="https://docs.aws.amazon.com/outposts/latest/userguide/logging-using-cloudtrail.html">
206
- * Logging Amazon Web Services Outposts API calls with Amazon Web Services CloudTrail</a> in the <i>Amazon Web Services Outposts User Guide</i>.
207
- * </p>
145
+ * @see {@link StartConnectionCommand}
208
146
  */
209
147
  startConnection(args: StartConnectionCommandInput, options?: __HttpHandlerOptions): Promise<StartConnectionCommandOutput>;
210
148
  startConnection(args: StartConnectionCommandInput, cb: (err: any, data?: StartConnectionCommandOutput) => void): void;
211
149
  startConnection(args: StartConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartConnectionCommandOutput) => void): void;
212
150
  /**
213
- * @public
214
- * <p>Adds tags to the specified resource.</p>
151
+ * @see {@link TagResourceCommand}
215
152
  */
216
153
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
217
154
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
218
155
  tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
219
156
  /**
220
- * @public
221
- * <p>Removes tags from the specified resource.</p>
157
+ * @see {@link UntagResourceCommand}
222
158
  */
223
159
  untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
224
160
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
225
161
  untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
226
162
  /**
227
- * @public
228
- * <p> Updates an Outpost. </p>
163
+ * @see {@link UpdateOutpostCommand}
229
164
  */
230
165
  updateOutpost(args: UpdateOutpostCommandInput, options?: __HttpHandlerOptions): Promise<UpdateOutpostCommandOutput>;
231
166
  updateOutpost(args: UpdateOutpostCommandInput, cb: (err: any, data?: UpdateOutpostCommandOutput) => void): void;
232
167
  updateOutpost(args: UpdateOutpostCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOutpostCommandOutput) => void): void;
233
168
  /**
234
- * @public
235
- * <p>Updates the specified site.</p>
169
+ * @see {@link UpdateSiteCommand}
236
170
  */
237
171
  updateSite(args: UpdateSiteCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSiteCommandOutput>;
238
172
  updateSite(args: UpdateSiteCommandInput, cb: (err: any, data?: UpdateSiteCommandOutput) => void): void;
239
173
  updateSite(args: UpdateSiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSiteCommandOutput) => void): void;
240
174
  /**
241
- * @public
242
- * <p>Updates the address of the specified site.</p>
243
- * <p>You can't update a site address if there is an order in progress. You must wait for the
244
- * order to complete or cancel the order.</p>
245
- * <p>You can update the operating address before you place an order at the site, or after all
246
- * Outposts that belong to the site have been deactivated.</p>
175
+ * @see {@link UpdateSiteAddressCommand}
247
176
  */
248
177
  updateSiteAddress(args: UpdateSiteAddressCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSiteAddressCommandOutput>;
249
178
  updateSiteAddress(args: UpdateSiteAddressCommandInput, cb: (err: any, data?: UpdateSiteAddressCommandOutput) => void): void;
250
179
  updateSiteAddress(args: UpdateSiteAddressCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSiteAddressCommandOutput) => void): void;
251
180
  /**
252
- * @public
253
- * <p>Update the physical and logistical details for a rack at a site. For more information
254
- * about hardware requirements for racks, see <a href="https://docs.aws.amazon.com/outposts/latest/userguide/outposts-requirements.html#checklist">Network
255
- * readiness checklist</a> in the Amazon Web Services Outposts User Guide.
256
- * </p>
257
- * <p>To update a rack at a site with an order of <code>IN_PROGRESS</code>, you must wait for
258
- * the order to complete or cancel the order.</p>
181
+ * @see {@link UpdateSiteRackPhysicalPropertiesCommand}
259
182
  */
260
183
  updateSiteRackPhysicalProperties(args: UpdateSiteRackPhysicalPropertiesCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSiteRackPhysicalPropertiesCommandOutput>;
261
184
  updateSiteRackPhysicalProperties(args: UpdateSiteRackPhysicalPropertiesCommandInput, cb: (err: any, data?: UpdateSiteRackPhysicalPropertiesCommandOutput) => void): void;
262
185
  updateSiteRackPhysicalProperties(args: UpdateSiteRackPhysicalPropertiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSiteRackPhysicalPropertiesCommandOutput) => void): void;
263
186
  }
187
+ /**
188
+ * @public
189
+ * <p>Amazon Web Services Outposts is a fully managed service that extends Amazon Web Services infrastructure, APIs, and tools to
190
+ * customer premises. By providing local access to Amazon Web Services managed infrastructure, Amazon Web Services Outposts enables
191
+ * customers to build and run applications on premises using the same programming interfaces as
192
+ * in Amazon Web Services Regions, while using local compute and storage resources for lower latency and local
193
+ * data processing needs.</p>
194
+ */
195
+ export declare class Outposts extends OutpostsClient implements Outposts {
196
+ }
@@ -104,7 +104,7 @@ import {
104
104
  UpdateSiteRackPhysicalPropertiesCommandOutput,
105
105
  } from "./commands/UpdateSiteRackPhysicalPropertiesCommand";
106
106
  import { OutpostsClient } from "./OutpostsClient";
107
- export declare class Outposts extends OutpostsClient {
107
+ export interface Outposts {
108
108
  cancelOrder(
109
109
  args: CancelOrderCommandInput,
110
110
  options?: __HttpHandlerOptions
@@ -444,3 +444,4 @@ export declare class Outposts extends OutpostsClient {
444
444
  cb: (err: any, data?: UpdateSiteRackPhysicalPropertiesCommandOutput) => void
445
445
  ): void;
446
446
  }
447
+ export declare class Outposts extends OutpostsClient implements Outposts {}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-outposts",
3
3
  "description": "AWS SDK for JavaScript Outposts Client for Node.js, Browser and React Native",
4
- "version": "3.315.0",
4
+ "version": "3.316.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.316.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.316.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",
@@ -40,14 +40,14 @@
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",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",