@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_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
  }
@@ -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_ListOutpostsCommand, se_ListOutpostsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListOutpostsCommand 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, ListOutpostsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "ListOutpostsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "ListOutposts",
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_ListOutpostsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListOutpostsCommand(output, context);
46
- }
7
+ export class ListOutpostsCommand 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", "ListOutposts", {})
19
+ .n("OutpostsClient", "ListOutpostsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListOutpostsCommand)
22
+ .de(de_ListOutpostsCommand)
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_ListSitesCommand, se_ListSitesCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListSitesCommand 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, ListSitesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "ListSitesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "ListSites",
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_ListSitesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListSitesCommand(output, context);
46
- }
7
+ export class ListSitesCommand 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", "ListSites", {})
19
+ .n("OutpostsClient", "ListSitesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListSitesCommand)
22
+ .de(de_ListSitesCommand)
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_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ListTagsForResourceCommand 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, ListTagsForResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "ListTagsForResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "ListTagsForResource",
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_ListTagsForResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListTagsForResourceCommand(output, context);
46
- }
7
+ export class ListTagsForResourceCommand 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", "ListTagsForResource", {})
19
+ .n("OutpostsClient", "ListTagsForResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListTagsForResourceCommand)
22
+ .de(de_ListTagsForResourceCommand)
23
+ .build() {
47
24
  }