@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_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
  }
@@ -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_StartConnectionCommand, se_StartConnectionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class StartConnectionCommand 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, StartConnectionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "StartConnectionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "StartConnection",
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_StartConnectionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_StartConnectionCommand(output, context);
46
- }
7
+ export class StartConnectionCommand 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", "StartConnection", {})
19
+ .n("OutpostsClient", "StartConnectionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_StartConnectionCommand)
22
+ .de(de_StartConnectionCommand)
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_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class TagResourceCommand 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, TagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "TagResource",
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_TagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_TagResourceCommand(output, context);
46
- }
7
+ export class TagResourceCommand 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", "TagResource", {})
19
+ .n("OutpostsClient", "TagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_TagResourceCommand)
22
+ .de(de_TagResourceCommand)
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_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UntagResourceCommand 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, UntagResourceCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "UntagResource",
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_UntagResourceCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UntagResourceCommand(output, context);
46
- }
7
+ export class UntagResourceCommand 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", "UntagResource", {})
19
+ .n("OutpostsClient", "UntagResourceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UntagResourceCommand)
22
+ .de(de_UntagResourceCommand)
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_UpdateOutpostCommand, se_UpdateOutpostCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateOutpostCommand 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, UpdateOutpostCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "UpdateOutpostCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "UpdateOutpost",
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_UpdateOutpostCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateOutpostCommand(output, context);
46
- }
7
+ export class UpdateOutpostCommand 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", "UpdateOutpost", {})
19
+ .n("OutpostsClient", "UpdateOutpostCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateOutpostCommand)
22
+ .de(de_UpdateOutpostCommand)
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_UpdateSiteAddressCommand, se_UpdateSiteAddressCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateSiteAddressCommand 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, UpdateSiteAddressCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "UpdateSiteAddressCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "UpdateSiteAddress",
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_UpdateSiteAddressCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateSiteAddressCommand(output, context);
46
- }
7
+ export class UpdateSiteAddressCommand 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", "UpdateSiteAddress", {})
19
+ .n("OutpostsClient", "UpdateSiteAddressCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateSiteAddressCommand)
22
+ .de(de_UpdateSiteAddressCommand)
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_UpdateSiteCommand, se_UpdateSiteCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateSiteCommand 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, UpdateSiteCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "OutpostsClient";
26
- const commandName = "UpdateSiteCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "OutpostsOlafService",
35
- operation: "UpdateSite",
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_UpdateSiteCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateSiteCommand(output, context);
46
- }
7
+ export class UpdateSiteCommand 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", "UpdateSite", {})
19
+ .n("OutpostsClient", "UpdateSiteCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateSiteCommand)
22
+ .de(de_UpdateSiteCommand)
23
+ .build() {
47
24
  }