@aws-sdk/client-location 3.478.0 → 3.484.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 (241) hide show
  1. package/dist-cjs/commands/AssociateTrackerConsumerCommand.js +18 -41
  2. package/dist-cjs/commands/BatchDeleteDevicePositionHistoryCommand.js +18 -41
  3. package/dist-cjs/commands/BatchDeleteGeofenceCommand.js +18 -41
  4. package/dist-cjs/commands/BatchEvaluateGeofencesCommand.js +18 -41
  5. package/dist-cjs/commands/BatchGetDevicePositionCommand.js +18 -41
  6. package/dist-cjs/commands/BatchPutGeofenceCommand.js +18 -41
  7. package/dist-cjs/commands/BatchUpdateDevicePositionCommand.js +18 -41
  8. package/dist-cjs/commands/CalculateRouteCommand.js +18 -41
  9. package/dist-cjs/commands/CalculateRouteMatrixCommand.js +18 -41
  10. package/dist-cjs/commands/CreateGeofenceCollectionCommand.js +18 -41
  11. package/dist-cjs/commands/CreateKeyCommand.js +18 -41
  12. package/dist-cjs/commands/CreateMapCommand.js +18 -41
  13. package/dist-cjs/commands/CreatePlaceIndexCommand.js +18 -41
  14. package/dist-cjs/commands/CreateRouteCalculatorCommand.js +18 -41
  15. package/dist-cjs/commands/CreateTrackerCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteGeofenceCollectionCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteKeyCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteMapCommand.js +18 -41
  19. package/dist-cjs/commands/DeletePlaceIndexCommand.js +18 -41
  20. package/dist-cjs/commands/DeleteRouteCalculatorCommand.js +18 -41
  21. package/dist-cjs/commands/DeleteTrackerCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeGeofenceCollectionCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeKeyCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeMapCommand.js +18 -41
  25. package/dist-cjs/commands/DescribePlaceIndexCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeRouteCalculatorCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeTrackerCommand.js +18 -41
  28. package/dist-cjs/commands/DisassociateTrackerConsumerCommand.js +18 -41
  29. package/dist-cjs/commands/GetDevicePositionCommand.js +18 -41
  30. package/dist-cjs/commands/GetDevicePositionHistoryCommand.js +18 -41
  31. package/dist-cjs/commands/GetGeofenceCommand.js +18 -41
  32. package/dist-cjs/commands/GetMapGlyphsCommand.js +18 -41
  33. package/dist-cjs/commands/GetMapSpritesCommand.js +18 -41
  34. package/dist-cjs/commands/GetMapStyleDescriptorCommand.js +18 -41
  35. package/dist-cjs/commands/GetMapTileCommand.js +18 -41
  36. package/dist-cjs/commands/GetPlaceCommand.js +18 -41
  37. package/dist-cjs/commands/ListDevicePositionsCommand.js +18 -41
  38. package/dist-cjs/commands/ListGeofenceCollectionsCommand.js +18 -41
  39. package/dist-cjs/commands/ListGeofencesCommand.js +18 -41
  40. package/dist-cjs/commands/ListKeysCommand.js +18 -41
  41. package/dist-cjs/commands/ListMapsCommand.js +18 -41
  42. package/dist-cjs/commands/ListPlaceIndexesCommand.js +18 -41
  43. package/dist-cjs/commands/ListRouteCalculatorsCommand.js +18 -41
  44. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  45. package/dist-cjs/commands/ListTrackerConsumersCommand.js +18 -41
  46. package/dist-cjs/commands/ListTrackersCommand.js +18 -41
  47. package/dist-cjs/commands/PutGeofenceCommand.js +18 -41
  48. package/dist-cjs/commands/SearchPlaceIndexForPositionCommand.js +18 -41
  49. package/dist-cjs/commands/SearchPlaceIndexForSuggestionsCommand.js +18 -41
  50. package/dist-cjs/commands/SearchPlaceIndexForTextCommand.js +18 -41
  51. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  52. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateGeofenceCollectionCommand.js +18 -41
  54. package/dist-cjs/commands/UpdateKeyCommand.js +18 -41
  55. package/dist-cjs/commands/UpdateMapCommand.js +18 -41
  56. package/dist-cjs/commands/UpdatePlaceIndexCommand.js +18 -41
  57. package/dist-cjs/commands/UpdateRouteCalculatorCommand.js +18 -41
  58. package/dist-cjs/commands/UpdateTrackerCommand.js +18 -41
  59. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  60. package/dist-cjs/protocols/Aws_restJson1.js +6 -1
  61. package/dist-es/commands/AssociateTrackerConsumerCommand.js +18 -41
  62. package/dist-es/commands/BatchDeleteDevicePositionHistoryCommand.js +18 -41
  63. package/dist-es/commands/BatchDeleteGeofenceCommand.js +18 -41
  64. package/dist-es/commands/BatchEvaluateGeofencesCommand.js +18 -41
  65. package/dist-es/commands/BatchGetDevicePositionCommand.js +18 -41
  66. package/dist-es/commands/BatchPutGeofenceCommand.js +18 -41
  67. package/dist-es/commands/BatchUpdateDevicePositionCommand.js +18 -41
  68. package/dist-es/commands/CalculateRouteCommand.js +18 -41
  69. package/dist-es/commands/CalculateRouteMatrixCommand.js +18 -41
  70. package/dist-es/commands/CreateGeofenceCollectionCommand.js +18 -41
  71. package/dist-es/commands/CreateKeyCommand.js +18 -41
  72. package/dist-es/commands/CreateMapCommand.js +18 -41
  73. package/dist-es/commands/CreatePlaceIndexCommand.js +18 -41
  74. package/dist-es/commands/CreateRouteCalculatorCommand.js +18 -41
  75. package/dist-es/commands/CreateTrackerCommand.js +18 -41
  76. package/dist-es/commands/DeleteGeofenceCollectionCommand.js +18 -41
  77. package/dist-es/commands/DeleteKeyCommand.js +18 -41
  78. package/dist-es/commands/DeleteMapCommand.js +18 -41
  79. package/dist-es/commands/DeletePlaceIndexCommand.js +18 -41
  80. package/dist-es/commands/DeleteRouteCalculatorCommand.js +18 -41
  81. package/dist-es/commands/DeleteTrackerCommand.js +18 -41
  82. package/dist-es/commands/DescribeGeofenceCollectionCommand.js +18 -41
  83. package/dist-es/commands/DescribeKeyCommand.js +18 -41
  84. package/dist-es/commands/DescribeMapCommand.js +18 -41
  85. package/dist-es/commands/DescribePlaceIndexCommand.js +18 -41
  86. package/dist-es/commands/DescribeRouteCalculatorCommand.js +18 -41
  87. package/dist-es/commands/DescribeTrackerCommand.js +18 -41
  88. package/dist-es/commands/DisassociateTrackerConsumerCommand.js +18 -41
  89. package/dist-es/commands/GetDevicePositionCommand.js +18 -41
  90. package/dist-es/commands/GetDevicePositionHistoryCommand.js +18 -41
  91. package/dist-es/commands/GetGeofenceCommand.js +18 -41
  92. package/dist-es/commands/GetMapGlyphsCommand.js +18 -41
  93. package/dist-es/commands/GetMapSpritesCommand.js +18 -41
  94. package/dist-es/commands/GetMapStyleDescriptorCommand.js +18 -41
  95. package/dist-es/commands/GetMapTileCommand.js +18 -41
  96. package/dist-es/commands/GetPlaceCommand.js +18 -41
  97. package/dist-es/commands/ListDevicePositionsCommand.js +18 -41
  98. package/dist-es/commands/ListGeofenceCollectionsCommand.js +18 -41
  99. package/dist-es/commands/ListGeofencesCommand.js +18 -41
  100. package/dist-es/commands/ListKeysCommand.js +18 -41
  101. package/dist-es/commands/ListMapsCommand.js +18 -41
  102. package/dist-es/commands/ListPlaceIndexesCommand.js +18 -41
  103. package/dist-es/commands/ListRouteCalculatorsCommand.js +18 -41
  104. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  105. package/dist-es/commands/ListTrackerConsumersCommand.js +18 -41
  106. package/dist-es/commands/ListTrackersCommand.js +18 -41
  107. package/dist-es/commands/PutGeofenceCommand.js +18 -41
  108. package/dist-es/commands/SearchPlaceIndexForPositionCommand.js +18 -41
  109. package/dist-es/commands/SearchPlaceIndexForSuggestionsCommand.js +18 -41
  110. package/dist-es/commands/SearchPlaceIndexForTextCommand.js +18 -41
  111. package/dist-es/commands/TagResourceCommand.js +18 -41
  112. package/dist-es/commands/UntagResourceCommand.js +18 -41
  113. package/dist-es/commands/UpdateGeofenceCollectionCommand.js +18 -41
  114. package/dist-es/commands/UpdateKeyCommand.js +18 -41
  115. package/dist-es/commands/UpdateMapCommand.js +18 -41
  116. package/dist-es/commands/UpdatePlaceIndexCommand.js +18 -41
  117. package/dist-es/commands/UpdateRouteCalculatorCommand.js +18 -41
  118. package/dist-es/commands/UpdateTrackerCommand.js +18 -41
  119. package/dist-es/endpoint/EndpointParameters.js +6 -0
  120. package/dist-es/protocols/Aws_restJson1.js +6 -1
  121. package/dist-types/commands/AssociateTrackerConsumerCommand.d.ts +6 -21
  122. package/dist-types/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +6 -21
  123. package/dist-types/commands/BatchDeleteGeofenceCommand.d.ts +6 -21
  124. package/dist-types/commands/BatchEvaluateGeofencesCommand.d.ts +6 -21
  125. package/dist-types/commands/BatchGetDevicePositionCommand.d.ts +6 -21
  126. package/dist-types/commands/BatchPutGeofenceCommand.d.ts +6 -21
  127. package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +6 -21
  128. package/dist-types/commands/CalculateRouteCommand.d.ts +6 -21
  129. package/dist-types/commands/CalculateRouteMatrixCommand.d.ts +6 -21
  130. package/dist-types/commands/CreateGeofenceCollectionCommand.d.ts +6 -21
  131. package/dist-types/commands/CreateKeyCommand.d.ts +6 -21
  132. package/dist-types/commands/CreateMapCommand.d.ts +6 -21
  133. package/dist-types/commands/CreatePlaceIndexCommand.d.ts +6 -21
  134. package/dist-types/commands/CreateRouteCalculatorCommand.d.ts +6 -21
  135. package/dist-types/commands/CreateTrackerCommand.d.ts +6 -21
  136. package/dist-types/commands/DeleteGeofenceCollectionCommand.d.ts +6 -21
  137. package/dist-types/commands/DeleteKeyCommand.d.ts +7 -21
  138. package/dist-types/commands/DeleteMapCommand.d.ts +6 -21
  139. package/dist-types/commands/DeletePlaceIndexCommand.d.ts +6 -21
  140. package/dist-types/commands/DeleteRouteCalculatorCommand.d.ts +6 -21
  141. package/dist-types/commands/DeleteTrackerCommand.d.ts +6 -21
  142. package/dist-types/commands/DescribeGeofenceCollectionCommand.d.ts +6 -21
  143. package/dist-types/commands/DescribeKeyCommand.d.ts +6 -21
  144. package/dist-types/commands/DescribeMapCommand.d.ts +6 -21
  145. package/dist-types/commands/DescribePlaceIndexCommand.d.ts +6 -21
  146. package/dist-types/commands/DescribeRouteCalculatorCommand.d.ts +6 -21
  147. package/dist-types/commands/DescribeTrackerCommand.d.ts +6 -21
  148. package/dist-types/commands/DisassociateTrackerConsumerCommand.d.ts +6 -21
  149. package/dist-types/commands/GetDevicePositionCommand.d.ts +6 -21
  150. package/dist-types/commands/GetDevicePositionHistoryCommand.d.ts +6 -21
  151. package/dist-types/commands/GetGeofenceCommand.d.ts +6 -21
  152. package/dist-types/commands/GetMapGlyphsCommand.d.ts +6 -21
  153. package/dist-types/commands/GetMapSpritesCommand.d.ts +6 -21
  154. package/dist-types/commands/GetMapStyleDescriptorCommand.d.ts +6 -21
  155. package/dist-types/commands/GetMapTileCommand.d.ts +6 -21
  156. package/dist-types/commands/GetPlaceCommand.d.ts +6 -21
  157. package/dist-types/commands/ListDevicePositionsCommand.d.ts +6 -21
  158. package/dist-types/commands/ListGeofenceCollectionsCommand.d.ts +6 -21
  159. package/dist-types/commands/ListGeofencesCommand.d.ts +6 -21
  160. package/dist-types/commands/ListKeysCommand.d.ts +6 -21
  161. package/dist-types/commands/ListMapsCommand.d.ts +6 -21
  162. package/dist-types/commands/ListPlaceIndexesCommand.d.ts +6 -21
  163. package/dist-types/commands/ListRouteCalculatorsCommand.d.ts +6 -21
  164. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  165. package/dist-types/commands/ListTrackerConsumersCommand.d.ts +6 -21
  166. package/dist-types/commands/ListTrackersCommand.d.ts +6 -21
  167. package/dist-types/commands/PutGeofenceCommand.d.ts +6 -21
  168. package/dist-types/commands/SearchPlaceIndexForPositionCommand.d.ts +6 -21
  169. package/dist-types/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +6 -21
  170. package/dist-types/commands/SearchPlaceIndexForTextCommand.d.ts +6 -21
  171. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  172. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  173. package/dist-types/commands/UpdateGeofenceCollectionCommand.d.ts +6 -21
  174. package/dist-types/commands/UpdateKeyCommand.d.ts +6 -21
  175. package/dist-types/commands/UpdateMapCommand.d.ts +6 -21
  176. package/dist-types/commands/UpdatePlaceIndexCommand.d.ts +6 -21
  177. package/dist-types/commands/UpdateRouteCalculatorCommand.d.ts +6 -21
  178. package/dist-types/commands/UpdateTrackerCommand.d.ts +6 -21
  179. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  180. package/dist-types/models/models_0.d.ts +11 -1
  181. package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +12 -24
  183. package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +12 -24
  185. package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +12 -24
  186. package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +14 -23
  187. package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/CalculateRouteMatrixCommand.d.ts +12 -24
  190. package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +12 -24
  191. package/dist-types/ts3.4/commands/CreateKeyCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +14 -23
  193. package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +12 -24
  195. package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +14 -23
  196. package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/DeleteKeyCommand.d.ts +14 -23
  198. package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +12 -24
  201. package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/DescribeKeyCommand.d.ts +14 -23
  204. package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +14 -23
  208. package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +12 -24
  209. package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +14 -23
  210. package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +12 -24
  211. package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +12 -24
  215. package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/GetPlaceCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +12 -24
  219. package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +14 -23
  220. package/dist-types/ts3.4/commands/ListKeysCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +14 -23
  222. package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +14 -23
  223. package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +12 -24
  224. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  225. package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +12 -24
  226. package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +14 -23
  228. package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +12 -24
  229. package/dist-types/ts3.4/commands/SearchPlaceIndexForSuggestionsCommand.d.ts +12 -24
  230. package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +12 -24
  231. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  232. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  233. package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +12 -24
  234. package/dist-types/ts3.4/commands/UpdateKeyCommand.d.ts +14 -23
  235. package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +14 -23
  236. package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +14 -23
  237. package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +12 -24
  238. package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +14 -23
  239. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  240. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  241. package/package.json +11 -11
@@ -1,48 +1,25 @@
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 { SearchPlaceIndexForTextRequestFilterSensitiveLog, SearchPlaceIndexForTextResponseFilterSensitiveLog, } from "../models/models_0";
6
6
  import { de_SearchPlaceIndexForTextCommand, se_SearchPlaceIndexForTextCommand } from "../protocols/Aws_restJson1";
7
7
  export { $Command };
8
- export class SearchPlaceIndexForTextCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, SearchPlaceIndexForTextCommand.getEndpointParameterInstructions()));
24
- const stack = clientStack.concat(this.middlewareStack);
25
- const { logger } = configuration;
26
- const clientName = "LocationClient";
27
- const commandName = "SearchPlaceIndexForTextCommand";
28
- const handlerExecutionContext = {
29
- logger,
30
- clientName,
31
- commandName,
32
- inputFilterSensitiveLog: SearchPlaceIndexForTextRequestFilterSensitiveLog,
33
- outputFilterSensitiveLog: SearchPlaceIndexForTextResponseFilterSensitiveLog,
34
- [SMITHY_CONTEXT_KEY]: {
35
- service: "LocationService",
36
- operation: "SearchPlaceIndexForText",
37
- },
38
- };
39
- const { requestHandler } = configuration;
40
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
41
- }
42
- serialize(input, context) {
43
- return se_SearchPlaceIndexForTextCommand(input, context);
44
- }
45
- deserialize(output, context) {
46
- return de_SearchPlaceIndexForTextCommand(output, context);
47
- }
8
+ export class SearchPlaceIndexForTextCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("LocationService", "SearchPlaceIndexForText", {})
20
+ .n("LocationClient", "SearchPlaceIndexForTextCommand")
21
+ .f(SearchPlaceIndexForTextRequestFilterSensitiveLog, SearchPlaceIndexForTextResponseFilterSensitiveLog)
22
+ .ser(se_SearchPlaceIndexForTextCommand)
23
+ .de(de_SearchPlaceIndexForTextCommand)
24
+ .build() {
48
25
  }
@@ -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 = "LocationClient";
26
- const commandName = "TagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "LocationService",
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("LocationService", "TagResource", {})
19
+ .n("LocationClient", "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 = "LocationClient";
26
- const commandName = "UntagResourceCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "LocationService",
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("LocationService", "UntagResource", {})
19
+ .n("LocationClient", "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_UpdateGeofenceCollectionCommand, se_UpdateGeofenceCollectionCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateGeofenceCollectionCommand 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, UpdateGeofenceCollectionCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "LocationClient";
26
- const commandName = "UpdateGeofenceCollectionCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "LocationService",
35
- operation: "UpdateGeofenceCollection",
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_UpdateGeofenceCollectionCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateGeofenceCollectionCommand(output, context);
46
- }
7
+ export class UpdateGeofenceCollectionCommand 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("LocationService", "UpdateGeofenceCollection", {})
19
+ .n("LocationClient", "UpdateGeofenceCollectionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateGeofenceCollectionCommand)
22
+ .de(de_UpdateGeofenceCollectionCommand)
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_UpdateKeyCommand, se_UpdateKeyCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateKeyCommand 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, UpdateKeyCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "LocationClient";
26
- const commandName = "UpdateKeyCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "LocationService",
35
- operation: "UpdateKey",
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_UpdateKeyCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateKeyCommand(output, context);
46
- }
7
+ export class UpdateKeyCommand 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("LocationService", "UpdateKey", {})
19
+ .n("LocationClient", "UpdateKeyCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateKeyCommand)
22
+ .de(de_UpdateKeyCommand)
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_UpdateMapCommand, se_UpdateMapCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateMapCommand 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, UpdateMapCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "LocationClient";
26
- const commandName = "UpdateMapCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "LocationService",
35
- operation: "UpdateMap",
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_UpdateMapCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateMapCommand(output, context);
46
- }
7
+ export class UpdateMapCommand 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("LocationService", "UpdateMap", {})
19
+ .n("LocationClient", "UpdateMapCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateMapCommand)
22
+ .de(de_UpdateMapCommand)
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_UpdatePlaceIndexCommand, se_UpdatePlaceIndexCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdatePlaceIndexCommand 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, UpdatePlaceIndexCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "LocationClient";
26
- const commandName = "UpdatePlaceIndexCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "LocationService",
35
- operation: "UpdatePlaceIndex",
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_UpdatePlaceIndexCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdatePlaceIndexCommand(output, context);
46
- }
7
+ export class UpdatePlaceIndexCommand 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("LocationService", "UpdatePlaceIndex", {})
19
+ .n("LocationClient", "UpdatePlaceIndexCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdatePlaceIndexCommand)
22
+ .de(de_UpdatePlaceIndexCommand)
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_UpdateRouteCalculatorCommand, se_UpdateRouteCalculatorCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateRouteCalculatorCommand 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, UpdateRouteCalculatorCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "LocationClient";
26
- const commandName = "UpdateRouteCalculatorCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "LocationService",
35
- operation: "UpdateRouteCalculator",
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_UpdateRouteCalculatorCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateRouteCalculatorCommand(output, context);
46
- }
7
+ export class UpdateRouteCalculatorCommand 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("LocationService", "UpdateRouteCalculator", {})
19
+ .n("LocationClient", "UpdateRouteCalculatorCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateRouteCalculatorCommand)
22
+ .de(de_UpdateRouteCalculatorCommand)
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_UpdateTrackerCommand, se_UpdateTrackerCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class UpdateTrackerCommand 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, UpdateTrackerCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "LocationClient";
26
- const commandName = "UpdateTrackerCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "LocationService",
35
- operation: "UpdateTracker",
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_UpdateTrackerCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateTrackerCommand(output, context);
46
- }
7
+ export class UpdateTrackerCommand 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("LocationService", "UpdateTracker", {})
19
+ .n("LocationClient", "UpdateTrackerCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateTrackerCommand)
22
+ .de(de_UpdateTrackerCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "geo",
7
7
  };
8
8
  };
9
+ export const commonParams = {
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
+ };
@@ -404,6 +404,9 @@ export const se_DeleteKeyCommand = async (input, context) => {
404
404
  const headers = {};
405
405
  b.bp("/metadata/v0/keys/{KeyName}");
406
406
  b.p("KeyName", () => input.KeyName, "{KeyName}", false);
407
+ const query = map({
408
+ [_fD]: [() => input.ForceDelete !== void 0, () => input[_FD].toString()],
409
+ });
407
410
  let body;
408
411
  let { hostname: resolvedHostname } = await context.endpoint();
409
412
  if (context.disableHostPrefix !== true) {
@@ -413,7 +416,7 @@ export const se_DeleteKeyCommand = async (input, context) => {
413
416
  }
414
417
  }
415
418
  b.hn(resolvedHostname);
416
- b.m("DELETE").h(headers).b(body);
419
+ b.m("DELETE").h(headers).q(query).b(body);
417
420
  return b.build();
418
421
  };
419
422
  export const se_DeleteMapCommand = async (input, context) => {
@@ -4650,11 +4653,13 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
4650
4653
  (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
4651
4654
  const _CC = "CacheControl";
4652
4655
  const _CT = "ContentType";
4656
+ const _FD = "ForceDelete";
4653
4657
  const _K = "Key";
4654
4658
  const _L = "Language";
4655
4659
  const _TK = "TagKeys";
4656
4660
  const _cc = "cache-control";
4657
4661
  const _ct = "content-type";
4662
+ const _fD = "forceDelete";
4658
4663
  const _k = "key";
4659
4664
  const _l = "language";
4660
4665
  const _tK = "tagKeys";