@aws-sdk/client-outposts 3.183.0 → 3.186.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 (65) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/models/models_0.js +14 -2
  3. package/dist-cjs/protocols/Aws_restJson1.js +7 -2
  4. package/dist-es/Outposts.js +113 -106
  5. package/dist-es/OutpostsClient.js +28 -22
  6. package/dist-es/commands/CancelOrderCommand.js +28 -21
  7. package/dist-es/commands/CreateOrderCommand.js +28 -21
  8. package/dist-es/commands/CreateOutpostCommand.js +28 -21
  9. package/dist-es/commands/CreateSiteCommand.js +28 -21
  10. package/dist-es/commands/DeleteOutpostCommand.js +28 -21
  11. package/dist-es/commands/DeleteSiteCommand.js +28 -21
  12. package/dist-es/commands/GetCatalogItemCommand.js +28 -21
  13. package/dist-es/commands/GetConnectionCommand.js +28 -21
  14. package/dist-es/commands/GetOrderCommand.js +28 -21
  15. package/dist-es/commands/GetOutpostCommand.js +28 -21
  16. package/dist-es/commands/GetOutpostInstanceTypesCommand.js +28 -21
  17. package/dist-es/commands/GetSiteAddressCommand.js +28 -21
  18. package/dist-es/commands/GetSiteCommand.js +28 -21
  19. package/dist-es/commands/ListAssetsCommand.js +28 -21
  20. package/dist-es/commands/ListCatalogItemsCommand.js +28 -21
  21. package/dist-es/commands/ListOrdersCommand.js +28 -21
  22. package/dist-es/commands/ListOutpostsCommand.js +28 -21
  23. package/dist-es/commands/ListSitesCommand.js +28 -21
  24. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  25. package/dist-es/commands/StartConnectionCommand.js +28 -21
  26. package/dist-es/commands/TagResourceCommand.js +28 -21
  27. package/dist-es/commands/UntagResourceCommand.js +28 -21
  28. package/dist-es/commands/UpdateOutpostCommand.js +28 -21
  29. package/dist-es/commands/UpdateSiteAddressCommand.js +28 -21
  30. package/dist-es/commands/UpdateSiteCommand.js +28 -21
  31. package/dist-es/commands/UpdateSiteRackPhysicalPropertiesCommand.js +28 -21
  32. package/dist-es/endpoints.js +8 -8
  33. package/dist-es/models/OutpostsServiceException.js +10 -5
  34. package/dist-es/models/models_0.js +156 -281
  35. package/dist-es/pagination/GetOutpostInstanceTypesPaginator.js +68 -25
  36. package/dist-es/pagination/ListAssetsPaginator.js +68 -25
  37. package/dist-es/pagination/ListCatalogItemsPaginator.js +68 -25
  38. package/dist-es/pagination/ListOrdersPaginator.js +68 -25
  39. package/dist-es/pagination/ListOutpostsPaginator.js +68 -25
  40. package/dist-es/pagination/ListSitesPaginator.js +68 -25
  41. package/dist-es/protocols/Aws_restJson1.js +2643 -1870
  42. package/dist-es/runtimeConfig.browser.js +12 -26
  43. package/dist-es/runtimeConfig.js +12 -30
  44. package/dist-es/runtimeConfig.native.js +5 -8
  45. package/dist-es/runtimeConfig.shared.js +11 -8
  46. package/dist-types/Outposts.d.ts +32 -52
  47. package/dist-types/commands/CancelOrderCommand.d.ts +1 -3
  48. package/dist-types/commands/CreateOutpostCommand.d.ts +1 -1
  49. package/dist-types/commands/DeleteOutpostCommand.d.ts +1 -1
  50. package/dist-types/commands/DeleteSiteCommand.d.ts +1 -1
  51. package/dist-types/commands/GetCatalogItemCommand.d.ts +1 -1
  52. package/dist-types/commands/GetConnectionCommand.d.ts +1 -1
  53. package/dist-types/commands/GetOrderCommand.d.ts +1 -1
  54. package/dist-types/commands/GetSiteAddressCommand.d.ts +1 -1
  55. package/dist-types/commands/GetSiteCommand.d.ts +1 -3
  56. package/dist-types/commands/ListAssetsCommand.d.ts +4 -5
  57. package/dist-types/commands/ListCatalogItemsCommand.d.ts +4 -5
  58. package/dist-types/commands/ListOrdersCommand.d.ts +1 -2
  59. package/dist-types/commands/ListOutpostsCommand.d.ts +4 -6
  60. package/dist-types/commands/ListSitesCommand.d.ts +4 -6
  61. package/dist-types/commands/UpdateSiteAddressCommand.d.ts +5 -12
  62. package/dist-types/commands/UpdateSiteCommand.d.ts +1 -3
  63. package/dist-types/models/models_0.d.ts +67 -164
  64. package/dist-types/ts3.4/models/models_0.d.ts +12 -0
  65. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetOutpostInputFilterSensitiveLog, GetOutpostOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetOutpostCommand, serializeAws_restJson1GetOutpostCommand, } from "../protocols/Aws_restJson1";
5
- export class GetOutpostCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetOutpostCommand = (function (_super) {
7
+ __extends(GetOutpostCommand, _super);
8
+ function GetOutpostCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetOutpostCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OutpostsClient";
15
- const commandName = "GetOutpostCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "GetOutpostCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetOutpostInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetOutpostOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetOutpostCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetOutpostCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetOutpostCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetOutpostCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetOutpostCommand;
38
+ }($Command));
39
+ export { GetOutpostCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetOutpostInstanceTypesInputFilterSensitiveLog, GetOutpostInstanceTypesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetOutpostInstanceTypesCommand, serializeAws_restJson1GetOutpostInstanceTypesCommand, } from "../protocols/Aws_restJson1";
5
- export class GetOutpostInstanceTypesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetOutpostInstanceTypesCommand = (function (_super) {
7
+ __extends(GetOutpostInstanceTypesCommand, _super);
8
+ function GetOutpostInstanceTypesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetOutpostInstanceTypesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OutpostsClient";
15
- const commandName = "GetOutpostInstanceTypesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "GetOutpostInstanceTypesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetOutpostInstanceTypesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetOutpostInstanceTypesOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetOutpostInstanceTypesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1GetOutpostInstanceTypesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetOutpostInstanceTypesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetOutpostInstanceTypesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetOutpostInstanceTypesCommand;
38
+ }($Command));
39
+ export { GetOutpostInstanceTypesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetSiteAddressInputFilterSensitiveLog, GetSiteAddressOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetSiteAddressCommand, serializeAws_restJson1GetSiteAddressCommand, } from "../protocols/Aws_restJson1";
5
- export class GetSiteAddressCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetSiteAddressCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OutpostsClient";
15
- const commandName = "GetSiteAddressCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetSiteAddressInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetSiteAddressOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1GetSiteAddressCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetSiteAddressCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetSiteAddressCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetSiteAddressCommand;
38
+ }($Command));
39
+ export { GetSiteAddressCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetSiteInputFilterSensitiveLog, GetSiteOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1GetSiteCommand, serializeAws_restJson1GetSiteCommand, } from "../protocols/Aws_restJson1";
5
- export class GetSiteCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetSiteCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OutpostsClient";
15
- const commandName = "GetSiteCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: GetSiteInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetSiteOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1GetSiteCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetSiteCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1GetSiteCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetSiteCommand;
38
+ }($Command));
39
+ export { GetSiteCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListAssetsInputFilterSensitiveLog, ListAssetsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListAssetsCommand, serializeAws_restJson1ListAssetsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListAssetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListAssetsCommand = (function (_super) {
7
+ __extends(ListAssetsCommand, _super);
8
+ function ListAssetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListAssetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OutpostsClient";
15
- const commandName = "ListAssetsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "ListAssetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListAssetsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListAssetsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListAssetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListAssetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListAssetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListAssetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListAssetsCommand;
38
+ }($Command));
39
+ export { ListAssetsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListCatalogItemsInputFilterSensitiveLog, ListCatalogItemsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListCatalogItemsCommand, serializeAws_restJson1ListCatalogItemsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListCatalogItemsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListCatalogItemsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OutpostsClient";
15
- const commandName = "ListCatalogItemsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: ListCatalogItemsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListCatalogItemsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1ListCatalogItemsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListCatalogItemsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListCatalogItemsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListCatalogItemsCommand;
38
+ }($Command));
39
+ export { ListCatalogItemsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListOrdersInputFilterSensitiveLog, ListOrdersOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListOrdersCommand, serializeAws_restJson1ListOrdersCommand, } from "../protocols/Aws_restJson1";
5
- export class ListOrdersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
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;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListOrdersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OutpostsClient";
15
- const commandName = "ListOrdersCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
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,
20
23
  inputFilterSensitiveLog: ListOrdersInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListOrdersOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
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) {
27
32
  return serializeAws_restJson1ListOrdersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListOrdersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListOrdersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListOrdersCommand;
38
+ }($Command));
39
+ export { ListOrdersCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListOutpostsInputFilterSensitiveLog, ListOutpostsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListOutpostsCommand, serializeAws_restJson1ListOutpostsCommand, } from "../protocols/Aws_restJson1";
5
- export class ListOutpostsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListOutpostsCommand = (function (_super) {
7
+ __extends(ListOutpostsCommand, _super);
8
+ function ListOutpostsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListOutpostsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OutpostsClient";
15
- const commandName = "ListOutpostsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "ListOutpostsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListOutpostsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListOutpostsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListOutpostsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListOutpostsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListOutpostsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListOutpostsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListOutpostsCommand;
38
+ }($Command));
39
+ export { ListOutpostsCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListSitesInputFilterSensitiveLog, ListSitesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListSitesCommand, serializeAws_restJson1ListSitesCommand, } from "../protocols/Aws_restJson1";
5
- export class ListSitesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListSitesCommand = (function (_super) {
7
+ __extends(ListSitesCommand, _super);
8
+ function ListSitesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListSitesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OutpostsClient";
15
- const commandName = "ListSitesCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "ListSitesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListSitesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListSitesOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListSitesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListSitesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListSitesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListSitesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListSitesCommand;
38
+ }($Command));
39
+ export { ListSitesCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
5
- export class ListTagsForResourceCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListTagsForResourceCommand = (function (_super) {
7
+ __extends(ListTagsForResourceCommand, _super);
8
+ function ListTagsForResourceCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "OutpostsClient";
15
- const commandName = "ListTagsForResourceCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "OutpostsClient";
18
+ var commandName = "ListTagsForResourceCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_restJson1ListTagsForResourceCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListTagsForResourceCommand;
38
+ }($Command));
39
+ export { ListTagsForResourceCommand };