@aws-sdk/client-outposts 3.927.0 → 3.929.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 (56) hide show
  1. package/dist-cjs/index.js +1518 -1485
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/OutpostsClient.js +2 -0
  4. package/dist-es/commands/CancelCapacityTaskCommand.js +3 -9
  5. package/dist-es/commands/CancelOrderCommand.js +3 -9
  6. package/dist-es/commands/CreateOrderCommand.js +3 -9
  7. package/dist-es/commands/CreateOutpostCommand.js +3 -9
  8. package/dist-es/commands/CreateSiteCommand.js +3 -9
  9. package/dist-es/commands/DeleteOutpostCommand.js +3 -9
  10. package/dist-es/commands/DeleteSiteCommand.js +3 -9
  11. package/dist-es/commands/GetCapacityTaskCommand.js +3 -9
  12. package/dist-es/commands/GetCatalogItemCommand.js +3 -9
  13. package/dist-es/commands/GetConnectionCommand.js +3 -9
  14. package/dist-es/commands/GetOrderCommand.js +3 -9
  15. package/dist-es/commands/GetOutpostBillingInformationCommand.js +3 -9
  16. package/dist-es/commands/GetOutpostCommand.js +3 -9
  17. package/dist-es/commands/GetOutpostInstanceTypesCommand.js +3 -9
  18. package/dist-es/commands/GetOutpostSupportedInstanceTypesCommand.js +3 -9
  19. package/dist-es/commands/GetSiteAddressCommand.js +3 -9
  20. package/dist-es/commands/GetSiteCommand.js +3 -9
  21. package/dist-es/commands/ListAssetInstancesCommand.js +3 -9
  22. package/dist-es/commands/ListAssetsCommand.js +3 -9
  23. package/dist-es/commands/ListBlockingInstancesForCapacityTaskCommand.js +3 -9
  24. package/dist-es/commands/ListCapacityTasksCommand.js +3 -9
  25. package/dist-es/commands/ListCatalogItemsCommand.js +3 -9
  26. package/dist-es/commands/ListOrdersCommand.js +3 -9
  27. package/dist-es/commands/ListOutpostsCommand.js +3 -9
  28. package/dist-es/commands/ListSitesCommand.js +3 -9
  29. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  30. package/dist-es/commands/StartCapacityTaskCommand.js +3 -9
  31. package/dist-es/commands/StartConnectionCommand.js +3 -9
  32. package/dist-es/commands/StartOutpostDecommissionCommand.js +3 -9
  33. package/dist-es/commands/TagResourceCommand.js +3 -9
  34. package/dist-es/commands/UntagResourceCommand.js +3 -9
  35. package/dist-es/commands/UpdateOutpostCommand.js +3 -9
  36. package/dist-es/commands/UpdateSiteAddressCommand.js +3 -9
  37. package/dist-es/commands/UpdateSiteCommand.js +3 -9
  38. package/dist-es/commands/UpdateSiteRackPhysicalPropertiesCommand.js +3 -9
  39. package/dist-es/runtimeConfig.shared.js +2 -0
  40. package/dist-es/schemas/schemas_0.js +1476 -0
  41. package/dist-types/OutpostsClient.d.ts +10 -1
  42. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  43. package/dist-types/runtimeConfig.d.ts +1 -0
  44. package/dist-types/runtimeConfig.native.d.ts +1 -0
  45. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  46. package/dist-types/schemas/schemas_0.d.ts +181 -0
  47. package/dist-types/ts3.4/OutpostsClient.d.ts +4 -0
  48. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  49. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  50. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  51. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  52. package/dist-types/ts3.4/schemas/schemas_0.d.ts +186 -0
  53. package/package.json +5 -5
  54. package/dist-es/protocols/Aws_restJson1.js +0 -1244
  55. package/dist-types/protocols/Aws_restJson1.d.ts +0 -317
  56. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -425
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,7 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ?? new protocols_1.AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.outposts" }),
28
30
  serviceId: config?.serviceId ?? "Outposts",
29
31
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
32
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class OutpostsClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelCapacityTaskCommand, se_CancelCapacityTaskCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelCapacityTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelCapacityTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "CancelCapacityTask", {})
17
13
  .n("OutpostsClient", "CancelCapacityTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelCapacityTaskCommand)
20
- .de(de_CancelCapacityTaskCommand)
14
+ .sc(CancelCapacityTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelOrderCommand, se_CancelOrderCommand } from "../protocols/Aws_restJson1";
4
+ import { CancelOrder } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelOrderCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "CancelOrder", {})
17
13
  .n("OutpostsClient", "CancelOrderCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelOrderCommand)
20
- .de(de_CancelOrderCommand)
14
+ .sc(CancelOrder)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateOrderCommand, se_CreateOrderCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateOrder } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateOrderCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "CreateOrder", {})
17
13
  .n("OutpostsClient", "CreateOrderCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateOrderCommand)
20
- .de(de_CreateOrderCommand)
14
+ .sc(CreateOrder)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateOutpostCommand, se_CreateOutpostCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateOutpost } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateOutpostCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "CreateOutpost", {})
17
13
  .n("OutpostsClient", "CreateOutpostCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateOutpostCommand)
20
- .de(de_CreateOutpostCommand)
14
+ .sc(CreateOutpost)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CreateSiteCommand, se_CreateSiteCommand } from "../protocols/Aws_restJson1";
4
+ import { CreateSite } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CreateSiteCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "CreateSite", {})
17
13
  .n("OutpostsClient", "CreateSiteCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CreateSiteCommand)
20
- .de(de_CreateSiteCommand)
14
+ .sc(CreateSite)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteOutpostCommand, se_DeleteOutpostCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteOutpost } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteOutpostCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "DeleteOutpost", {})
17
13
  .n("OutpostsClient", "DeleteOutpostCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteOutpostCommand)
20
- .de(de_DeleteOutpostCommand)
14
+ .sc(DeleteOutpost)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteSiteCommand, se_DeleteSiteCommand } from "../protocols/Aws_restJson1";
4
+ import { DeleteSite } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSiteCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "DeleteSite", {})
17
13
  .n("OutpostsClient", "DeleteSiteCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSiteCommand)
20
- .de(de_DeleteSiteCommand)
14
+ .sc(DeleteSite)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCapacityTaskCommand, se_GetCapacityTaskCommand } from "../protocols/Aws_restJson1";
4
+ import { GetCapacityTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCapacityTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "GetCapacityTask", {})
17
13
  .n("OutpostsClient", "GetCapacityTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCapacityTaskCommand)
20
- .de(de_GetCapacityTaskCommand)
14
+ .sc(GetCapacityTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetCatalogItemCommand, se_GetCatalogItemCommand } from "../protocols/Aws_restJson1";
4
+ import { GetCatalogItem } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetCatalogItemCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "GetCatalogItem", {})
17
13
  .n("OutpostsClient", "GetCatalogItemCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetCatalogItemCommand)
20
- .de(de_GetCatalogItemCommand)
14
+ .sc(GetCatalogItem)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetConnectionCommand, se_GetConnectionCommand } from "../protocols/Aws_restJson1";
4
+ import { GetConnection } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetConnectionCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "GetConnection", {})
17
13
  .n("OutpostsClient", "GetConnectionCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetConnectionCommand)
20
- .de(de_GetConnectionCommand)
14
+ .sc(GetConnection)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetOrderCommand, se_GetOrderCommand } from "../protocols/Aws_restJson1";
4
+ import { GetOrder } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetOrderCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "GetOrder", {})
17
13
  .n("OutpostsClient", "GetOrderCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetOrderCommand)
20
- .de(de_GetOrderCommand)
14
+ .sc(GetOrder)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetOutpostBillingInformationCommand, se_GetOutpostBillingInformationCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetOutpostBillingInformation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetOutpostBillingInformationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "GetOutpostBillingInformation", {})
17
13
  .n("OutpostsClient", "GetOutpostBillingInformationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetOutpostBillingInformationCommand)
20
- .de(de_GetOutpostBillingInformationCommand)
14
+ .sc(GetOutpostBillingInformation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetOutpostCommand, se_GetOutpostCommand } from "../protocols/Aws_restJson1";
4
+ import { GetOutpost } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetOutpostCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "GetOutpost", {})
17
13
  .n("OutpostsClient", "GetOutpostCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetOutpostCommand)
20
- .de(de_GetOutpostCommand)
14
+ .sc(GetOutpost)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetOutpostInstanceTypesCommand, se_GetOutpostInstanceTypesCommand } from "../protocols/Aws_restJson1";
4
+ import { GetOutpostInstanceTypes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetOutpostInstanceTypesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "GetOutpostInstanceTypes", {})
17
13
  .n("OutpostsClient", "GetOutpostInstanceTypesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetOutpostInstanceTypesCommand)
20
- .de(de_GetOutpostInstanceTypesCommand)
14
+ .sc(GetOutpostInstanceTypes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetOutpostSupportedInstanceTypesCommand, se_GetOutpostSupportedInstanceTypesCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetOutpostSupportedInstanceTypes } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetOutpostSupportedInstanceTypesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "GetOutpostSupportedInstanceTypes", {})
17
13
  .n("OutpostsClient", "GetOutpostSupportedInstanceTypesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetOutpostSupportedInstanceTypesCommand)
20
- .de(de_GetOutpostSupportedInstanceTypesCommand)
14
+ .sc(GetOutpostSupportedInstanceTypes)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetSiteAddressCommand, se_GetSiteAddressCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSiteAddress } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSiteAddressCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "GetSiteAddress", {})
17
13
  .n("OutpostsClient", "GetSiteAddressCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSiteAddressCommand)
20
- .de(de_GetSiteAddressCommand)
14
+ .sc(GetSiteAddress)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetSiteCommand, se_GetSiteCommand } from "../protocols/Aws_restJson1";
4
+ import { GetSite } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetSiteCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "GetSite", {})
17
13
  .n("OutpostsClient", "GetSiteCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetSiteCommand)
20
- .de(de_GetSiteCommand)
14
+ .sc(GetSite)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListAssetInstancesCommand, se_ListAssetInstancesCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAssetInstances } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAssetInstancesCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "ListAssetInstances", {})
17
13
  .n("OutpostsClient", "ListAssetInstancesCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAssetInstancesCommand)
20
- .de(de_ListAssetInstancesCommand)
14
+ .sc(ListAssetInstances)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListAssetsCommand, se_ListAssetsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListAssets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListAssetsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "ListAssets", {})
17
13
  .n("OutpostsClient", "ListAssetsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListAssetsCommand)
20
- .de(de_ListAssetsCommand)
14
+ .sc(ListAssets)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListBlockingInstancesForCapacityTaskCommand, se_ListBlockingInstancesForCapacityTaskCommand, } from "../protocols/Aws_restJson1";
4
+ import { ListBlockingInstancesForCapacityTask } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListBlockingInstancesForCapacityTaskCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "ListBlockingInstancesForCapacityTask", {})
17
13
  .n("OutpostsClient", "ListBlockingInstancesForCapacityTaskCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListBlockingInstancesForCapacityTaskCommand)
20
- .de(de_ListBlockingInstancesForCapacityTaskCommand)
14
+ .sc(ListBlockingInstancesForCapacityTask)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListCapacityTasksCommand, se_ListCapacityTasksCommand } from "../protocols/Aws_restJson1";
4
+ import { ListCapacityTasks } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListCapacityTasksCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "ListCapacityTasks", {})
17
13
  .n("OutpostsClient", "ListCapacityTasksCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListCapacityTasksCommand)
20
- .de(de_ListCapacityTasksCommand)
14
+ .sc(ListCapacityTasks)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListCatalogItemsCommand, se_ListCatalogItemsCommand } from "../protocols/Aws_restJson1";
4
+ import { ListCatalogItems } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListCatalogItemsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("OutpostsOlafService", "ListCatalogItems", {})
17
13
  .n("OutpostsClient", "ListCatalogItemsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListCatalogItemsCommand)
20
- .de(de_ListCatalogItemsCommand)
14
+ .sc(ListCatalogItems)
21
15
  .build() {
22
16
  }