@aws-sdk/client-outposts 3.42.0 → 3.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/README.md +10 -10
  3. package/dist-cjs/Outposts.js +165 -0
  4. package/dist-cjs/commands/CancelOrderCommand.js +36 -0
  5. package/dist-cjs/commands/CreateSiteCommand.js +36 -0
  6. package/dist-cjs/commands/GetCatalogItemCommand.js +36 -0
  7. package/dist-cjs/commands/GetOrderCommand.js +36 -0
  8. package/dist-cjs/commands/GetSiteAddressCommand.js +36 -0
  9. package/dist-cjs/commands/GetSiteCommand.js +36 -0
  10. package/dist-cjs/commands/ListCatalogItemsCommand.js +36 -0
  11. package/dist-cjs/commands/ListOrdersCommand.js +36 -0
  12. package/dist-cjs/commands/UpdateSiteAddressCommand.js +36 -0
  13. package/dist-cjs/commands/UpdateSiteCommand.js +36 -0
  14. package/dist-cjs/commands/UpdateSiteRackPhysicalPropertiesCommand.js +36 -0
  15. package/dist-cjs/commands/index.js +11 -0
  16. package/dist-cjs/models/models_0.js +301 -25
  17. package/dist-cjs/pagination/ListCatalogItemsPaginator.js +35 -0
  18. package/dist-cjs/pagination/ListOrdersPaginator.js +35 -0
  19. package/dist-cjs/pagination/index.js +2 -0
  20. package/dist-cjs/protocols/Aws_restJson1.js +1429 -103
  21. package/dist-es/Outposts.js +165 -0
  22. package/dist-es/commands/CancelOrderCommand.js +39 -0
  23. package/dist-es/commands/CreateSiteCommand.js +39 -0
  24. package/dist-es/commands/GetCatalogItemCommand.js +39 -0
  25. package/dist-es/commands/GetOrderCommand.js +39 -0
  26. package/dist-es/commands/GetSiteAddressCommand.js +39 -0
  27. package/dist-es/commands/GetSiteCommand.js +39 -0
  28. package/dist-es/commands/ListCatalogItemsCommand.js +39 -0
  29. package/dist-es/commands/ListOrdersCommand.js +39 -0
  30. package/dist-es/commands/UpdateSiteAddressCommand.js +39 -0
  31. package/dist-es/commands/UpdateSiteCommand.js +39 -0
  32. package/dist-es/commands/UpdateSiteRackPhysicalPropertiesCommand.js +39 -0
  33. package/dist-es/commands/index.js +11 -0
  34. package/dist-es/models/models_0.js +237 -16
  35. package/dist-es/pagination/ListCatalogItemsPaginator.js +74 -0
  36. package/dist-es/pagination/ListOrdersPaginator.js +74 -0
  37. package/dist-es/pagination/index.js +2 -0
  38. package/dist-es/protocols/Aws_restJson1.js +1638 -165
  39. package/dist-types/Outposts.d.ts +114 -6
  40. package/dist-types/OutpostsClient.d.ts +16 -5
  41. package/dist-types/commands/CancelOrderCommand.d.ts +37 -0
  42. package/dist-types/commands/CreateSiteCommand.d.ts +37 -0
  43. package/dist-types/commands/GetCatalogItemCommand.d.ts +35 -0
  44. package/dist-types/commands/GetOrderCommand.d.ts +35 -0
  45. package/dist-types/commands/GetSiteAddressCommand.d.ts +37 -0
  46. package/dist-types/commands/GetSiteCommand.d.ts +37 -0
  47. package/dist-types/commands/ListCatalogItemsCommand.d.ts +39 -0
  48. package/dist-types/commands/ListOrdersCommand.d.ts +36 -0
  49. package/dist-types/commands/ListOutpostsCommand.d.ts +2 -2
  50. package/dist-types/commands/ListSitesCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateSiteAddressCommand.d.ts +46 -0
  52. package/dist-types/commands/UpdateSiteCommand.d.ts +37 -0
  53. package/dist-types/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +40 -0
  54. package/dist-types/commands/index.d.ts +11 -0
  55. package/dist-types/models/models_0.d.ts +1133 -151
  56. package/dist-types/pagination/ListCatalogItemsPaginator.d.ts +4 -0
  57. package/dist-types/pagination/ListOrdersPaginator.d.ts +4 -0
  58. package/dist-types/pagination/index.d.ts +2 -0
  59. package/dist-types/protocols/Aws_restJson1.d.ts +33 -0
  60. package/dist-types/ts3.4/Outposts.d.ts +55 -0
  61. package/dist-types/ts3.4/OutpostsClient.d.ts +13 -2
  62. package/dist-types/ts3.4/commands/CancelOrderCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/CreateSiteCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/GetCatalogItemCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/GetOrderCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/GetSiteAddressCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/GetSiteCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/ListCatalogItemsCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/ListOrdersCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/UpdateSiteAddressCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/UpdateSiteCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  74. package/dist-types/ts3.4/models/models_0.d.ts +511 -52
  75. package/dist-types/ts3.4/pagination/ListCatalogItemsPaginator.d.ts +4 -0
  76. package/dist-types/ts3.4/pagination/ListOrdersPaginator.d.ts +4 -0
  77. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  78. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +33 -0
  79. package/package.json +2 -2
@@ -1,21 +1,46 @@
1
1
  import { __extends } from "tslib";
2
+ import { CancelOrderCommand } from "./commands/CancelOrderCommand";
2
3
  import { CreateOrderCommand } from "./commands/CreateOrderCommand";
3
4
  import { CreateOutpostCommand, } from "./commands/CreateOutpostCommand";
5
+ import { CreateSiteCommand } from "./commands/CreateSiteCommand";
4
6
  import { DeleteOutpostCommand, } from "./commands/DeleteOutpostCommand";
5
7
  import { DeleteSiteCommand } from "./commands/DeleteSiteCommand";
8
+ import { GetCatalogItemCommand, } from "./commands/GetCatalogItemCommand";
9
+ import { GetOrderCommand } from "./commands/GetOrderCommand";
6
10
  import { GetOutpostCommand } from "./commands/GetOutpostCommand";
7
11
  import { GetOutpostInstanceTypesCommand, } from "./commands/GetOutpostInstanceTypesCommand";
12
+ import { GetSiteAddressCommand, } from "./commands/GetSiteAddressCommand";
13
+ import { GetSiteCommand } from "./commands/GetSiteCommand";
14
+ import { ListCatalogItemsCommand, } from "./commands/ListCatalogItemsCommand";
15
+ import { ListOrdersCommand } from "./commands/ListOrdersCommand";
8
16
  import { ListOutpostsCommand, } from "./commands/ListOutpostsCommand";
9
17
  import { ListSitesCommand } from "./commands/ListSitesCommand";
10
18
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
11
19
  import { TagResourceCommand } from "./commands/TagResourceCommand";
12
20
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
21
+ import { UpdateSiteAddressCommand, } from "./commands/UpdateSiteAddressCommand";
22
+ import { UpdateSiteCommand } from "./commands/UpdateSiteCommand";
23
+ import { UpdateSiteRackPhysicalPropertiesCommand, } from "./commands/UpdateSiteRackPhysicalPropertiesCommand";
13
24
  import { OutpostsClient } from "./OutpostsClient";
14
25
  var Outposts = (function (_super) {
15
26
  __extends(Outposts, _super);
16
27
  function Outposts() {
17
28
  return _super !== null && _super.apply(this, arguments) || this;
18
29
  }
30
+ Outposts.prototype.cancelOrder = function (args, optionsOrCb, cb) {
31
+ var command = new CancelOrderCommand(args);
32
+ if (typeof optionsOrCb === "function") {
33
+ this.send(command, optionsOrCb);
34
+ }
35
+ else if (typeof cb === "function") {
36
+ if (typeof optionsOrCb !== "object")
37
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
38
+ this.send(command, optionsOrCb || {}, cb);
39
+ }
40
+ else {
41
+ return this.send(command, optionsOrCb);
42
+ }
43
+ };
19
44
  Outposts.prototype.createOrder = function (args, optionsOrCb, cb) {
20
45
  var command = new CreateOrderCommand(args);
21
46
  if (typeof optionsOrCb === "function") {
@@ -44,6 +69,20 @@ var Outposts = (function (_super) {
44
69
  return this.send(command, optionsOrCb);
45
70
  }
46
71
  };
72
+ Outposts.prototype.createSite = function (args, optionsOrCb, cb) {
73
+ var command = new CreateSiteCommand(args);
74
+ if (typeof optionsOrCb === "function") {
75
+ this.send(command, optionsOrCb);
76
+ }
77
+ else if (typeof cb === "function") {
78
+ if (typeof optionsOrCb !== "object")
79
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
80
+ this.send(command, optionsOrCb || {}, cb);
81
+ }
82
+ else {
83
+ return this.send(command, optionsOrCb);
84
+ }
85
+ };
47
86
  Outposts.prototype.deleteOutpost = function (args, optionsOrCb, cb) {
48
87
  var command = new DeleteOutpostCommand(args);
49
88
  if (typeof optionsOrCb === "function") {
@@ -72,6 +111,34 @@ var Outposts = (function (_super) {
72
111
  return this.send(command, optionsOrCb);
73
112
  }
74
113
  };
114
+ Outposts.prototype.getCatalogItem = function (args, optionsOrCb, cb) {
115
+ var command = new GetCatalogItemCommand(args);
116
+ if (typeof optionsOrCb === "function") {
117
+ this.send(command, optionsOrCb);
118
+ }
119
+ else if (typeof cb === "function") {
120
+ if (typeof optionsOrCb !== "object")
121
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
122
+ this.send(command, optionsOrCb || {}, cb);
123
+ }
124
+ else {
125
+ return this.send(command, optionsOrCb);
126
+ }
127
+ };
128
+ Outposts.prototype.getOrder = function (args, optionsOrCb, cb) {
129
+ var command = new GetOrderCommand(args);
130
+ if (typeof optionsOrCb === "function") {
131
+ this.send(command, optionsOrCb);
132
+ }
133
+ else if (typeof cb === "function") {
134
+ if (typeof optionsOrCb !== "object")
135
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
136
+ this.send(command, optionsOrCb || {}, cb);
137
+ }
138
+ else {
139
+ return this.send(command, optionsOrCb);
140
+ }
141
+ };
75
142
  Outposts.prototype.getOutpost = function (args, optionsOrCb, cb) {
76
143
  var command = new GetOutpostCommand(args);
77
144
  if (typeof optionsOrCb === "function") {
@@ -100,6 +167,62 @@ var Outposts = (function (_super) {
100
167
  return this.send(command, optionsOrCb);
101
168
  }
102
169
  };
170
+ Outposts.prototype.getSite = function (args, optionsOrCb, cb) {
171
+ var command = new GetSiteCommand(args);
172
+ if (typeof optionsOrCb === "function") {
173
+ this.send(command, optionsOrCb);
174
+ }
175
+ else if (typeof cb === "function") {
176
+ if (typeof optionsOrCb !== "object")
177
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
178
+ this.send(command, optionsOrCb || {}, cb);
179
+ }
180
+ else {
181
+ return this.send(command, optionsOrCb);
182
+ }
183
+ };
184
+ Outposts.prototype.getSiteAddress = function (args, optionsOrCb, cb) {
185
+ var command = new GetSiteAddressCommand(args);
186
+ if (typeof optionsOrCb === "function") {
187
+ this.send(command, optionsOrCb);
188
+ }
189
+ else if (typeof cb === "function") {
190
+ if (typeof optionsOrCb !== "object")
191
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
192
+ this.send(command, optionsOrCb || {}, cb);
193
+ }
194
+ else {
195
+ return this.send(command, optionsOrCb);
196
+ }
197
+ };
198
+ Outposts.prototype.listCatalogItems = function (args, optionsOrCb, cb) {
199
+ var command = new ListCatalogItemsCommand(args);
200
+ if (typeof optionsOrCb === "function") {
201
+ this.send(command, optionsOrCb);
202
+ }
203
+ else if (typeof cb === "function") {
204
+ if (typeof optionsOrCb !== "object")
205
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
206
+ this.send(command, optionsOrCb || {}, cb);
207
+ }
208
+ else {
209
+ return this.send(command, optionsOrCb);
210
+ }
211
+ };
212
+ Outposts.prototype.listOrders = function (args, optionsOrCb, cb) {
213
+ var command = new ListOrdersCommand(args);
214
+ if (typeof optionsOrCb === "function") {
215
+ this.send(command, optionsOrCb);
216
+ }
217
+ else if (typeof cb === "function") {
218
+ if (typeof optionsOrCb !== "object")
219
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
220
+ this.send(command, optionsOrCb || {}, cb);
221
+ }
222
+ else {
223
+ return this.send(command, optionsOrCb);
224
+ }
225
+ };
103
226
  Outposts.prototype.listOutposts = function (args, optionsOrCb, cb) {
104
227
  var command = new ListOutpostsCommand(args);
105
228
  if (typeof optionsOrCb === "function") {
@@ -170,6 +293,48 @@ var Outposts = (function (_super) {
170
293
  return this.send(command, optionsOrCb);
171
294
  }
172
295
  };
296
+ Outposts.prototype.updateSite = function (args, optionsOrCb, cb) {
297
+ var command = new UpdateSiteCommand(args);
298
+ if (typeof optionsOrCb === "function") {
299
+ this.send(command, optionsOrCb);
300
+ }
301
+ else if (typeof cb === "function") {
302
+ if (typeof optionsOrCb !== "object")
303
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
304
+ this.send(command, optionsOrCb || {}, cb);
305
+ }
306
+ else {
307
+ return this.send(command, optionsOrCb);
308
+ }
309
+ };
310
+ Outposts.prototype.updateSiteAddress = function (args, optionsOrCb, cb) {
311
+ var command = new UpdateSiteAddressCommand(args);
312
+ if (typeof optionsOrCb === "function") {
313
+ this.send(command, optionsOrCb);
314
+ }
315
+ else if (typeof cb === "function") {
316
+ if (typeof optionsOrCb !== "object")
317
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
318
+ this.send(command, optionsOrCb || {}, cb);
319
+ }
320
+ else {
321
+ return this.send(command, optionsOrCb);
322
+ }
323
+ };
324
+ Outposts.prototype.updateSiteRackPhysicalProperties = function (args, optionsOrCb, cb) {
325
+ var command = new UpdateSiteRackPhysicalPropertiesCommand(args);
326
+ if (typeof optionsOrCb === "function") {
327
+ this.send(command, optionsOrCb);
328
+ }
329
+ else if (typeof cb === "function") {
330
+ if (typeof optionsOrCb !== "object")
331
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
332
+ this.send(command, optionsOrCb || {}, cb);
333
+ }
334
+ else {
335
+ return this.send(command, optionsOrCb);
336
+ }
337
+ };
173
338
  return Outposts;
174
339
  }(OutpostsClient));
175
340
  export { Outposts };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CancelOrderInput, CancelOrderOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1CancelOrderCommand, serializeAws_restJson1CancelOrderCommand, } from "../protocols/Aws_restJson1";
6
+ var CancelOrderCommand = (function (_super) {
7
+ __extends(CancelOrderCommand, _super);
8
+ function CancelOrderCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CancelOrderCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "CancelOrderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CancelOrderInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CancelOrderOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CancelOrderCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CancelOrderCommand(input, context);
33
+ };
34
+ CancelOrderCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CancelOrderCommand(output, context);
36
+ };
37
+ return CancelOrderCommand;
38
+ }($Command));
39
+ export { CancelOrderCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { CreateSiteInput, CreateSiteOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1CreateSiteCommand, serializeAws_restJson1CreateSiteCommand, } from "../protocols/Aws_restJson1";
6
+ var CreateSiteCommand = (function (_super) {
7
+ __extends(CreateSiteCommand, _super);
8
+ function CreateSiteCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ CreateSiteCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "CreateSiteCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: CreateSiteInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: CreateSiteOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateSiteCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1CreateSiteCommand(input, context);
33
+ };
34
+ CreateSiteCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1CreateSiteCommand(output, context);
36
+ };
37
+ return CreateSiteCommand;
38
+ }($Command));
39
+ export { CreateSiteCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetCatalogItemInput, GetCatalogItemOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetCatalogItemCommand, serializeAws_restJson1GetCatalogItemCommand, } from "../protocols/Aws_restJson1";
6
+ var GetCatalogItemCommand = (function (_super) {
7
+ __extends(GetCatalogItemCommand, _super);
8
+ function GetCatalogItemCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetCatalogItemCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "GetCatalogItemCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetCatalogItemInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetCatalogItemOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetCatalogItemCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetCatalogItemCommand(input, context);
33
+ };
34
+ GetCatalogItemCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetCatalogItemCommand(output, context);
36
+ };
37
+ return GetCatalogItemCommand;
38
+ }($Command));
39
+ export { GetCatalogItemCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetOrderInput, GetOrderOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetOrderCommand, serializeAws_restJson1GetOrderCommand, } from "../protocols/Aws_restJson1";
6
+ var GetOrderCommand = (function (_super) {
7
+ __extends(GetOrderCommand, _super);
8
+ function GetOrderCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetOrderCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "GetOrderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetOrderInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetOrderOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetOrderCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetOrderCommand(input, context);
33
+ };
34
+ GetOrderCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetOrderCommand(output, context);
36
+ };
37
+ return GetOrderCommand;
38
+ }($Command));
39
+ export { GetOrderCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetSiteAddressInput, GetSiteAddressOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetSiteAddressCommand, serializeAws_restJson1GetSiteAddressCommand, } from "../protocols/Aws_restJson1";
6
+ var GetSiteAddressCommand = (function (_super) {
7
+ __extends(GetSiteAddressCommand, _super);
8
+ function GetSiteAddressCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetSiteAddressCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "GetSiteAddressCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetSiteAddressInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetSiteAddressOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetSiteAddressCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetSiteAddressCommand(input, context);
33
+ };
34
+ GetSiteAddressCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetSiteAddressCommand(output, context);
36
+ };
37
+ return GetSiteAddressCommand;
38
+ }($Command));
39
+ export { GetSiteAddressCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { GetSiteInput, GetSiteOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1GetSiteCommand, serializeAws_restJson1GetSiteCommand, } from "../protocols/Aws_restJson1";
6
+ var GetSiteCommand = (function (_super) {
7
+ __extends(GetSiteCommand, _super);
8
+ function GetSiteCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ GetSiteCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "GetSiteCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: GetSiteInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: GetSiteOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetSiteCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1GetSiteCommand(input, context);
33
+ };
34
+ GetSiteCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1GetSiteCommand(output, context);
36
+ };
37
+ return GetSiteCommand;
38
+ }($Command));
39
+ export { GetSiteCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListCatalogItemsInput, ListCatalogItemsOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListCatalogItemsCommand, serializeAws_restJson1ListCatalogItemsCommand, } from "../protocols/Aws_restJson1";
6
+ var ListCatalogItemsCommand = (function (_super) {
7
+ __extends(ListCatalogItemsCommand, _super);
8
+ function ListCatalogItemsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListCatalogItemsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "ListCatalogItemsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListCatalogItemsInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListCatalogItemsOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListCatalogItemsCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListCatalogItemsCommand(input, context);
33
+ };
34
+ ListCatalogItemsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListCatalogItemsCommand(output, context);
36
+ };
37
+ return ListCatalogItemsCommand;
38
+ }($Command));
39
+ export { ListCatalogItemsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { ListOrdersInput, ListOrdersOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1ListOrdersCommand, serializeAws_restJson1ListOrdersCommand, } from "../protocols/Aws_restJson1";
6
+ var ListOrdersCommand = (function (_super) {
7
+ __extends(ListOrdersCommand, _super);
8
+ function ListOrdersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ ListOrdersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "ListOrdersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: ListOrdersInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: ListOrdersOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListOrdersCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1ListOrdersCommand(input, context);
33
+ };
34
+ ListOrdersCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1ListOrdersCommand(output, context);
36
+ };
37
+ return ListOrdersCommand;
38
+ }($Command));
39
+ export { ListOrdersCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateSiteAddressInput, UpdateSiteAddressOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateSiteAddressCommand, serializeAws_restJson1UpdateSiteAddressCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateSiteAddressCommand = (function (_super) {
7
+ __extends(UpdateSiteAddressCommand, _super);
8
+ function UpdateSiteAddressCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateSiteAddressCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "UpdateSiteAddressCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateSiteAddressInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateSiteAddressOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateSiteAddressCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateSiteAddressCommand(input, context);
33
+ };
34
+ UpdateSiteAddressCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateSiteAddressCommand(output, context);
36
+ };
37
+ return UpdateSiteAddressCommand;
38
+ }($Command));
39
+ export { UpdateSiteAddressCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateSiteInput, UpdateSiteOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateSiteCommand, serializeAws_restJson1UpdateSiteCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateSiteCommand = (function (_super) {
7
+ __extends(UpdateSiteCommand, _super);
8
+ function UpdateSiteCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateSiteCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "UpdateSiteCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateSiteInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateSiteOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateSiteCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateSiteCommand(input, context);
33
+ };
34
+ UpdateSiteCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateSiteCommand(output, context);
36
+ };
37
+ return UpdateSiteCommand;
38
+ }($Command));
39
+ export { UpdateSiteCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateSiteRackPhysicalPropertiesInput, UpdateSiteRackPhysicalPropertiesOutput } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand, serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateSiteRackPhysicalPropertiesCommand = (function (_super) {
7
+ __extends(UpdateSiteRackPhysicalPropertiesCommand, _super);
8
+ function UpdateSiteRackPhysicalPropertiesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateSiteRackPhysicalPropertiesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "UpdateSiteRackPhysicalPropertiesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateSiteRackPhysicalPropertiesInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateSiteRackPhysicalPropertiesOutput.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateSiteRackPhysicalPropertiesCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand(input, context);
33
+ };
34
+ UpdateSiteRackPhysicalPropertiesCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateSiteRackPhysicalPropertiesCommand(output, context);
36
+ };
37
+ return UpdateSiteRackPhysicalPropertiesCommand;
38
+ }($Command));
39
+ export { UpdateSiteRackPhysicalPropertiesCommand };