@aws-sdk/client-outposts 3.478.0 → 3.481.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 (109) hide show
  1. package/dist-cjs/commands/CancelOrderCommand.js +18 -41
  2. package/dist-cjs/commands/CreateOrderCommand.js +18 -41
  3. package/dist-cjs/commands/CreateOutpostCommand.js +18 -41
  4. package/dist-cjs/commands/CreateSiteCommand.js +18 -41
  5. package/dist-cjs/commands/DeleteOutpostCommand.js +18 -41
  6. package/dist-cjs/commands/DeleteSiteCommand.js +18 -41
  7. package/dist-cjs/commands/GetCatalogItemCommand.js +18 -41
  8. package/dist-cjs/commands/GetConnectionCommand.js +18 -41
  9. package/dist-cjs/commands/GetOrderCommand.js +18 -41
  10. package/dist-cjs/commands/GetOutpostCommand.js +18 -41
  11. package/dist-cjs/commands/GetOutpostInstanceTypesCommand.js +18 -41
  12. package/dist-cjs/commands/GetSiteAddressCommand.js +18 -41
  13. package/dist-cjs/commands/GetSiteCommand.js +18 -41
  14. package/dist-cjs/commands/ListAssetsCommand.js +18 -41
  15. package/dist-cjs/commands/ListCatalogItemsCommand.js +18 -41
  16. package/dist-cjs/commands/ListOrdersCommand.js +18 -41
  17. package/dist-cjs/commands/ListOutpostsCommand.js +18 -41
  18. package/dist-cjs/commands/ListSitesCommand.js +18 -41
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  20. package/dist-cjs/commands/StartConnectionCommand.js +18 -41
  21. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  22. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  23. package/dist-cjs/commands/UpdateOutpostCommand.js +18 -41
  24. package/dist-cjs/commands/UpdateSiteAddressCommand.js +18 -41
  25. package/dist-cjs/commands/UpdateSiteCommand.js +18 -41
  26. package/dist-cjs/commands/UpdateSiteRackPhysicalPropertiesCommand.js +18 -41
  27. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  28. package/dist-es/commands/CancelOrderCommand.js +18 -41
  29. package/dist-es/commands/CreateOrderCommand.js +18 -41
  30. package/dist-es/commands/CreateOutpostCommand.js +18 -41
  31. package/dist-es/commands/CreateSiteCommand.js +18 -41
  32. package/dist-es/commands/DeleteOutpostCommand.js +18 -41
  33. package/dist-es/commands/DeleteSiteCommand.js +18 -41
  34. package/dist-es/commands/GetCatalogItemCommand.js +18 -41
  35. package/dist-es/commands/GetConnectionCommand.js +18 -41
  36. package/dist-es/commands/GetOrderCommand.js +18 -41
  37. package/dist-es/commands/GetOutpostCommand.js +18 -41
  38. package/dist-es/commands/GetOutpostInstanceTypesCommand.js +18 -41
  39. package/dist-es/commands/GetSiteAddressCommand.js +18 -41
  40. package/dist-es/commands/GetSiteCommand.js +18 -41
  41. package/dist-es/commands/ListAssetsCommand.js +18 -41
  42. package/dist-es/commands/ListCatalogItemsCommand.js +18 -41
  43. package/dist-es/commands/ListOrdersCommand.js +18 -41
  44. package/dist-es/commands/ListOutpostsCommand.js +18 -41
  45. package/dist-es/commands/ListSitesCommand.js +18 -41
  46. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  47. package/dist-es/commands/StartConnectionCommand.js +18 -41
  48. package/dist-es/commands/TagResourceCommand.js +18 -41
  49. package/dist-es/commands/UntagResourceCommand.js +18 -41
  50. package/dist-es/commands/UpdateOutpostCommand.js +18 -41
  51. package/dist-es/commands/UpdateSiteAddressCommand.js +18 -41
  52. package/dist-es/commands/UpdateSiteCommand.js +18 -41
  53. package/dist-es/commands/UpdateSiteRackPhysicalPropertiesCommand.js +18 -41
  54. package/dist-es/endpoint/EndpointParameters.js +6 -0
  55. package/dist-types/commands/CancelOrderCommand.d.ts +6 -21
  56. package/dist-types/commands/CreateOrderCommand.d.ts +6 -21
  57. package/dist-types/commands/CreateOutpostCommand.d.ts +6 -21
  58. package/dist-types/commands/CreateSiteCommand.d.ts +6 -21
  59. package/dist-types/commands/DeleteOutpostCommand.d.ts +6 -21
  60. package/dist-types/commands/DeleteSiteCommand.d.ts +6 -21
  61. package/dist-types/commands/GetCatalogItemCommand.d.ts +6 -21
  62. package/dist-types/commands/GetConnectionCommand.d.ts +6 -21
  63. package/dist-types/commands/GetOrderCommand.d.ts +6 -21
  64. package/dist-types/commands/GetOutpostCommand.d.ts +6 -21
  65. package/dist-types/commands/GetOutpostInstanceTypesCommand.d.ts +6 -21
  66. package/dist-types/commands/GetSiteAddressCommand.d.ts +6 -21
  67. package/dist-types/commands/GetSiteCommand.d.ts +6 -21
  68. package/dist-types/commands/ListAssetsCommand.d.ts +6 -21
  69. package/dist-types/commands/ListCatalogItemsCommand.d.ts +6 -21
  70. package/dist-types/commands/ListOrdersCommand.d.ts +6 -21
  71. package/dist-types/commands/ListOutpostsCommand.d.ts +6 -21
  72. package/dist-types/commands/ListSitesCommand.d.ts +6 -21
  73. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  74. package/dist-types/commands/StartConnectionCommand.d.ts +6 -21
  75. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  76. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  77. package/dist-types/commands/UpdateOutpostCommand.d.ts +6 -21
  78. package/dist-types/commands/UpdateSiteAddressCommand.d.ts +6 -21
  79. package/dist-types/commands/UpdateSiteCommand.d.ts +6 -21
  80. package/dist-types/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +6 -21
  81. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  82. package/dist-types/ts3.4/commands/CancelOrderCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/CreateOrderCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/CreateOutpostCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/CreateSiteCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/DeleteOutpostCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/DeleteSiteCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/GetCatalogItemCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/GetOrderCommand.d.ts +14 -23
  91. package/dist-types/ts3.4/commands/GetOutpostCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/GetOutpostInstanceTypesCommand.d.ts +12 -24
  93. package/dist-types/ts3.4/commands/GetSiteAddressCommand.d.ts +14 -23
  94. package/dist-types/ts3.4/commands/GetSiteCommand.d.ts +12 -23
  95. package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +14 -23
  96. package/dist-types/ts3.4/commands/ListCatalogItemsCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/ListOrdersCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/ListOutpostsCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/ListSitesCommand.d.ts +14 -23
  100. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/StartConnectionCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/UpdateOutpostCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/UpdateSiteAddressCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/UpdateSiteCommand.d.ts +14 -23
  107. package/dist-types/ts3.4/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +12 -24
  108. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  109. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateOrderCommand, se_CreateOrderCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateOrderCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateOrderCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "CreateOrderCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "CreateOrder",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateOrderCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateOrderCommand(output, context);
46
- }
7
+ export class CreateOrderCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("OutpostsOlafService", "CreateOrder", {})
19
+ .n("OutpostsClient", "CreateOrderCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateOrderCommand)
22
+ .de(de_CreateOrderCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateOutpostCommand, se_CreateOutpostCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateOutpostCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateOutpostCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "CreateOutpostCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "CreateOutpost",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateOutpostCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateOutpostCommand(output, context);
46
- }
7
+ export class CreateOutpostCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("OutpostsOlafService", "CreateOutpost", {})
19
+ .n("OutpostsClient", "CreateOutpostCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateOutpostCommand)
22
+ .de(de_CreateOutpostCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateSiteCommand, se_CreateSiteCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateSiteCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateSiteCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "CreateSiteCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "CreateSite",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateSiteCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateSiteCommand(output, context);
46
- }
7
+ export class CreateSiteCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("OutpostsOlafService", "CreateSite", {})
19
+ .n("OutpostsClient", "CreateSiteCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateSiteCommand)
22
+ .de(de_CreateSiteCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteOutpostCommand, se_DeleteOutpostCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteOutpostCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteOutpostCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "DeleteOutpostCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "DeleteOutpost",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteOutpostCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteOutpostCommand(output, context);
46
- }
7
+ export class DeleteOutpostCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("OutpostsOlafService", "DeleteOutpost", {})
19
+ .n("OutpostsClient", "DeleteOutpostCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteOutpostCommand)
22
+ .de(de_DeleteOutpostCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteSiteCommand, se_DeleteSiteCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteSiteCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteSiteCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "DeleteSiteCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "DeleteSite",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteSiteCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteSiteCommand(output, context);
46
- }
7
+ export class DeleteSiteCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("OutpostsOlafService", "DeleteSite", {})
19
+ .n("OutpostsClient", "DeleteSiteCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteSiteCommand)
22
+ .de(de_DeleteSiteCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetCatalogItemCommand, se_GetCatalogItemCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetCatalogItemCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetCatalogItemCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "GetCatalogItemCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "GetCatalogItem",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetCatalogItemCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetCatalogItemCommand(output, context);
46
- }
7
+ export class GetCatalogItemCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("OutpostsOlafService", "GetCatalogItem", {})
19
+ .n("OutpostsClient", "GetCatalogItemCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetCatalogItemCommand)
22
+ .de(de_GetCatalogItemCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetConnectionCommand, se_GetConnectionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetConnectionCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetConnectionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "GetConnectionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "GetConnection",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetConnectionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetConnectionCommand(output, context);
46
- }
7
+ export class GetConnectionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("OutpostsOlafService", "GetConnection", {})
19
+ .n("OutpostsClient", "GetConnectionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetConnectionCommand)
22
+ .de(de_GetConnectionCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetOrderCommand, se_GetOrderCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetOrderCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetOrderCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "GetOrderCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "GetOrder",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetOrderCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetOrderCommand(output, context);
46
- }
7
+ export class GetOrderCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("OutpostsOlafService", "GetOrder", {})
19
+ .n("OutpostsClient", "GetOrderCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetOrderCommand)
22
+ .de(de_GetOrderCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_GetOutpostCommand, se_GetOutpostCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetOutpostCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, GetOutpostCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "GetOutpostCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "GetOutpost",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_GetOutpostCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetOutpostCommand(output, context);
46
- }
7
+ export class GetOutpostCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("OutpostsOlafService", "GetOutpost", {})
19
+ .n("OutpostsClient", "GetOutpostCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetOutpostCommand)
22
+ .de(de_GetOutpostCommand)
23
+ .build() {
47
24
  }