@aws-sdk/client-outposts 3.477.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 (133) 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-cjs/pagination/GetOutpostInstanceTypesPaginator.js +2 -24
  29. package/dist-cjs/pagination/ListAssetsPaginator.js +2 -24
  30. package/dist-cjs/pagination/ListCatalogItemsPaginator.js +2 -24
  31. package/dist-cjs/pagination/ListOrdersPaginator.js +2 -24
  32. package/dist-cjs/pagination/ListOutpostsPaginator.js +2 -24
  33. package/dist-cjs/pagination/ListSitesPaginator.js +2 -24
  34. package/dist-es/commands/CancelOrderCommand.js +18 -41
  35. package/dist-es/commands/CreateOrderCommand.js +18 -41
  36. package/dist-es/commands/CreateOutpostCommand.js +18 -41
  37. package/dist-es/commands/CreateSiteCommand.js +18 -41
  38. package/dist-es/commands/DeleteOutpostCommand.js +18 -41
  39. package/dist-es/commands/DeleteSiteCommand.js +18 -41
  40. package/dist-es/commands/GetCatalogItemCommand.js +18 -41
  41. package/dist-es/commands/GetConnectionCommand.js +18 -41
  42. package/dist-es/commands/GetOrderCommand.js +18 -41
  43. package/dist-es/commands/GetOutpostCommand.js +18 -41
  44. package/dist-es/commands/GetOutpostInstanceTypesCommand.js +18 -41
  45. package/dist-es/commands/GetSiteAddressCommand.js +18 -41
  46. package/dist-es/commands/GetSiteCommand.js +18 -41
  47. package/dist-es/commands/ListAssetsCommand.js +18 -41
  48. package/dist-es/commands/ListCatalogItemsCommand.js +18 -41
  49. package/dist-es/commands/ListOrdersCommand.js +18 -41
  50. package/dist-es/commands/ListOutpostsCommand.js +18 -41
  51. package/dist-es/commands/ListSitesCommand.js +18 -41
  52. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  53. package/dist-es/commands/StartConnectionCommand.js +18 -41
  54. package/dist-es/commands/TagResourceCommand.js +18 -41
  55. package/dist-es/commands/UntagResourceCommand.js +18 -41
  56. package/dist-es/commands/UpdateOutpostCommand.js +18 -41
  57. package/dist-es/commands/UpdateSiteAddressCommand.js +18 -41
  58. package/dist-es/commands/UpdateSiteCommand.js +18 -41
  59. package/dist-es/commands/UpdateSiteRackPhysicalPropertiesCommand.js +18 -41
  60. package/dist-es/endpoint/EndpointParameters.js +6 -0
  61. package/dist-es/pagination/GetOutpostInstanceTypesPaginator.js +2 -23
  62. package/dist-es/pagination/ListAssetsPaginator.js +2 -23
  63. package/dist-es/pagination/ListCatalogItemsPaginator.js +2 -23
  64. package/dist-es/pagination/ListOrdersPaginator.js +2 -23
  65. package/dist-es/pagination/ListOutpostsPaginator.js +2 -23
  66. package/dist-es/pagination/ListSitesPaginator.js +2 -23
  67. package/dist-types/commands/CancelOrderCommand.d.ts +6 -21
  68. package/dist-types/commands/CreateOrderCommand.d.ts +6 -21
  69. package/dist-types/commands/CreateOutpostCommand.d.ts +6 -21
  70. package/dist-types/commands/CreateSiteCommand.d.ts +6 -21
  71. package/dist-types/commands/DeleteOutpostCommand.d.ts +6 -21
  72. package/dist-types/commands/DeleteSiteCommand.d.ts +6 -21
  73. package/dist-types/commands/GetCatalogItemCommand.d.ts +6 -21
  74. package/dist-types/commands/GetConnectionCommand.d.ts +6 -21
  75. package/dist-types/commands/GetOrderCommand.d.ts +6 -21
  76. package/dist-types/commands/GetOutpostCommand.d.ts +6 -21
  77. package/dist-types/commands/GetOutpostInstanceTypesCommand.d.ts +6 -21
  78. package/dist-types/commands/GetSiteAddressCommand.d.ts +6 -21
  79. package/dist-types/commands/GetSiteCommand.d.ts +6 -21
  80. package/dist-types/commands/ListAssetsCommand.d.ts +6 -21
  81. package/dist-types/commands/ListCatalogItemsCommand.d.ts +6 -21
  82. package/dist-types/commands/ListOrdersCommand.d.ts +6 -21
  83. package/dist-types/commands/ListOutpostsCommand.d.ts +6 -21
  84. package/dist-types/commands/ListSitesCommand.d.ts +6 -21
  85. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  86. package/dist-types/commands/StartConnectionCommand.d.ts +6 -21
  87. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  88. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  89. package/dist-types/commands/UpdateOutpostCommand.d.ts +6 -21
  90. package/dist-types/commands/UpdateSiteAddressCommand.d.ts +6 -21
  91. package/dist-types/commands/UpdateSiteCommand.d.ts +6 -21
  92. package/dist-types/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +6 -21
  93. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  94. package/dist-types/pagination/GetOutpostInstanceTypesPaginator.d.ts +1 -1
  95. package/dist-types/pagination/ListAssetsPaginator.d.ts +1 -1
  96. package/dist-types/pagination/ListCatalogItemsPaginator.d.ts +1 -1
  97. package/dist-types/pagination/ListOrdersPaginator.d.ts +1 -1
  98. package/dist-types/pagination/ListOutpostsPaginator.d.ts +1 -1
  99. package/dist-types/pagination/ListSitesPaginator.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/CancelOrderCommand.d.ts +14 -23
  101. package/dist-types/ts3.4/commands/CreateOrderCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/CreateOutpostCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/CreateSiteCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/DeleteOutpostCommand.d.ts +14 -23
  105. package/dist-types/ts3.4/commands/DeleteSiteCommand.d.ts +14 -23
  106. package/dist-types/ts3.4/commands/GetCatalogItemCommand.d.ts +14 -23
  107. package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +14 -23
  108. package/dist-types/ts3.4/commands/GetOrderCommand.d.ts +14 -23
  109. package/dist-types/ts3.4/commands/GetOutpostCommand.d.ts +14 -23
  110. package/dist-types/ts3.4/commands/GetOutpostInstanceTypesCommand.d.ts +12 -24
  111. package/dist-types/ts3.4/commands/GetSiteAddressCommand.d.ts +14 -23
  112. package/dist-types/ts3.4/commands/GetSiteCommand.d.ts +12 -23
  113. package/dist-types/ts3.4/commands/ListAssetsCommand.d.ts +14 -23
  114. package/dist-types/ts3.4/commands/ListCatalogItemsCommand.d.ts +14 -23
  115. package/dist-types/ts3.4/commands/ListOrdersCommand.d.ts +14 -23
  116. package/dist-types/ts3.4/commands/ListOutpostsCommand.d.ts +14 -23
  117. package/dist-types/ts3.4/commands/ListSitesCommand.d.ts +14 -23
  118. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  119. package/dist-types/ts3.4/commands/StartConnectionCommand.d.ts +14 -23
  120. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  121. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  122. package/dist-types/ts3.4/commands/UpdateOutpostCommand.d.ts +14 -23
  123. package/dist-types/ts3.4/commands/UpdateSiteAddressCommand.d.ts +14 -23
  124. package/dist-types/ts3.4/commands/UpdateSiteCommand.d.ts +14 -23
  125. package/dist-types/ts3.4/commands/UpdateSiteRackPhysicalPropertiesCommand.d.ts +12 -24
  126. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  127. package/dist-types/ts3.4/pagination/GetOutpostInstanceTypesPaginator.d.ts +3 -3
  128. package/dist-types/ts3.4/pagination/ListAssetsPaginator.d.ts +3 -3
  129. package/dist-types/ts3.4/pagination/ListCatalogItemsPaginator.d.ts +3 -3
  130. package/dist-types/ts3.4/pagination/ListOrdersPaginator.d.ts +3 -3
  131. package/dist-types/ts3.4/pagination/ListOutpostsPaginator.d.ts +3 -3
  132. package/dist-types/ts3.4/pagination/ListSitesPaginator.d.ts +3 -3
  133. package/package.json +11 -11
@@ -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
  }
@@ -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_GetOutpostInstanceTypesCommand, se_GetOutpostInstanceTypesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetOutpostInstanceTypesCommand 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, GetOutpostInstanceTypesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "GetOutpostInstanceTypesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "GetOutpostInstanceTypes",
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_GetOutpostInstanceTypesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetOutpostInstanceTypesCommand(output, context);
46
- }
7
+ export class GetOutpostInstanceTypesCommand 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", "GetOutpostInstanceTypes", {})
19
+ .n("OutpostsClient", "GetOutpostInstanceTypesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetOutpostInstanceTypesCommand)
22
+ .de(de_GetOutpostInstanceTypesCommand)
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_GetSiteAddressCommand, se_GetSiteAddressCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetSiteAddressCommand 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, GetSiteAddressCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "GetSiteAddressCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "GetSiteAddress",
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_GetSiteAddressCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetSiteAddressCommand(output, context);
46
- }
7
+ export class GetSiteAddressCommand 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", "GetSiteAddress", {})
19
+ .n("OutpostsClient", "GetSiteAddressCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetSiteAddressCommand)
22
+ .de(de_GetSiteAddressCommand)
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_GetSiteCommand, se_GetSiteCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetSiteCommand 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, GetSiteCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "GetSiteCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "GetSite",
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_GetSiteCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetSiteCommand(output, context);
46
- }
7
+ export class GetSiteCommand 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", "GetSite", {})
19
+ .n("OutpostsClient", "GetSiteCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetSiteCommand)
22
+ .de(de_GetSiteCommand)
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_ListAssetsCommand, se_ListAssetsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListAssetsCommand 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, ListAssetsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "ListAssetsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "ListAssets",
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_ListAssetsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListAssetsCommand(output, context);
46
- }
7
+ export class ListAssetsCommand 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", "ListAssets", {})
19
+ .n("OutpostsClient", "ListAssetsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListAssetsCommand)
22
+ .de(de_ListAssetsCommand)
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_ListCatalogItemsCommand, se_ListCatalogItemsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListCatalogItemsCommand 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, ListCatalogItemsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "ListCatalogItemsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "ListCatalogItems",
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_ListCatalogItemsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListCatalogItemsCommand(output, context);
46
- }
7
+ export class ListCatalogItemsCommand 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", "ListCatalogItems", {})
19
+ .n("OutpostsClient", "ListCatalogItemsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListCatalogItemsCommand)
22
+ .de(de_ListCatalogItemsCommand)
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_ListOrdersCommand, se_ListOrdersCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListOrdersCommand 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, ListOrdersCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "ListOrdersCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "ListOrders",
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_ListOrdersCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListOrdersCommand(output, context);
46
- }
7
+ export class ListOrdersCommand 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", "ListOrders", {})
19
+ .n("OutpostsClient", "ListOrdersCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListOrdersCommand)
22
+ .de(de_ListOrdersCommand)
23
+ .build() {
47
24
  }