@aws-sdk/client-location 3.293.0 → 3.295.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 (123) hide show
  1. package/dist-cjs/commands/AssociateTrackerConsumerCommand.js +4 -4
  2. package/dist-cjs/commands/BatchDeleteDevicePositionHistoryCommand.js +4 -4
  3. package/dist-cjs/commands/BatchDeleteGeofenceCommand.js +4 -4
  4. package/dist-cjs/commands/BatchEvaluateGeofencesCommand.js +4 -4
  5. package/dist-cjs/commands/BatchGetDevicePositionCommand.js +4 -4
  6. package/dist-cjs/commands/BatchPutGeofenceCommand.js +4 -4
  7. package/dist-cjs/commands/BatchUpdateDevicePositionCommand.js +4 -4
  8. package/dist-cjs/commands/CalculateRouteCommand.js +4 -4
  9. package/dist-cjs/commands/CalculateRouteMatrixCommand.js +4 -4
  10. package/dist-cjs/commands/CreateGeofenceCollectionCommand.js +4 -4
  11. package/dist-cjs/commands/CreateKeyCommand.js +4 -4
  12. package/dist-cjs/commands/CreateMapCommand.js +4 -4
  13. package/dist-cjs/commands/CreatePlaceIndexCommand.js +4 -4
  14. package/dist-cjs/commands/CreateRouteCalculatorCommand.js +4 -4
  15. package/dist-cjs/commands/CreateTrackerCommand.js +4 -4
  16. package/dist-cjs/commands/DeleteGeofenceCollectionCommand.js +4 -4
  17. package/dist-cjs/commands/DeleteKeyCommand.js +4 -4
  18. package/dist-cjs/commands/DeleteMapCommand.js +4 -4
  19. package/dist-cjs/commands/DeletePlaceIndexCommand.js +4 -4
  20. package/dist-cjs/commands/DeleteRouteCalculatorCommand.js +4 -4
  21. package/dist-cjs/commands/DeleteTrackerCommand.js +4 -4
  22. package/dist-cjs/commands/DescribeGeofenceCollectionCommand.js +4 -4
  23. package/dist-cjs/commands/DescribeKeyCommand.js +4 -4
  24. package/dist-cjs/commands/DescribeMapCommand.js +4 -4
  25. package/dist-cjs/commands/DescribePlaceIndexCommand.js +4 -4
  26. package/dist-cjs/commands/DescribeRouteCalculatorCommand.js +4 -4
  27. package/dist-cjs/commands/DescribeTrackerCommand.js +4 -4
  28. package/dist-cjs/commands/DisassociateTrackerConsumerCommand.js +4 -4
  29. package/dist-cjs/commands/GetDevicePositionCommand.js +4 -4
  30. package/dist-cjs/commands/GetDevicePositionHistoryCommand.js +4 -4
  31. package/dist-cjs/commands/GetGeofenceCommand.js +4 -4
  32. package/dist-cjs/commands/GetMapGlyphsCommand.js +4 -4
  33. package/dist-cjs/commands/GetMapSpritesCommand.js +4 -4
  34. package/dist-cjs/commands/GetMapStyleDescriptorCommand.js +4 -4
  35. package/dist-cjs/commands/GetMapTileCommand.js +4 -4
  36. package/dist-cjs/commands/GetPlaceCommand.js +4 -4
  37. package/dist-cjs/commands/ListDevicePositionsCommand.js +4 -4
  38. package/dist-cjs/commands/ListGeofenceCollectionsCommand.js +4 -4
  39. package/dist-cjs/commands/ListGeofencesCommand.js +4 -4
  40. package/dist-cjs/commands/ListKeysCommand.js +4 -4
  41. package/dist-cjs/commands/ListMapsCommand.js +4 -4
  42. package/dist-cjs/commands/ListPlaceIndexesCommand.js +4 -4
  43. package/dist-cjs/commands/ListRouteCalculatorsCommand.js +4 -4
  44. package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
  45. package/dist-cjs/commands/ListTrackerConsumersCommand.js +4 -4
  46. package/dist-cjs/commands/ListTrackersCommand.js +4 -4
  47. package/dist-cjs/commands/PutGeofenceCommand.js +4 -4
  48. package/dist-cjs/commands/SearchPlaceIndexForPositionCommand.js +4 -4
  49. package/dist-cjs/commands/SearchPlaceIndexForSuggestionsCommand.js +4 -4
  50. package/dist-cjs/commands/SearchPlaceIndexForTextCommand.js +4 -4
  51. package/dist-cjs/commands/TagResourceCommand.js +4 -4
  52. package/dist-cjs/commands/UntagResourceCommand.js +4 -4
  53. package/dist-cjs/commands/UpdateGeofenceCollectionCommand.js +4 -4
  54. package/dist-cjs/commands/UpdateKeyCommand.js +4 -4
  55. package/dist-cjs/commands/UpdateMapCommand.js +4 -4
  56. package/dist-cjs/commands/UpdatePlaceIndexCommand.js +4 -4
  57. package/dist-cjs/commands/UpdateRouteCalculatorCommand.js +4 -4
  58. package/dist-cjs/commands/UpdateTrackerCommand.js +4 -4
  59. package/dist-es/commands/AssociateTrackerConsumerCommand.js +4 -4
  60. package/dist-es/commands/BatchDeleteDevicePositionHistoryCommand.js +4 -4
  61. package/dist-es/commands/BatchDeleteGeofenceCommand.js +4 -4
  62. package/dist-es/commands/BatchEvaluateGeofencesCommand.js +4 -4
  63. package/dist-es/commands/BatchGetDevicePositionCommand.js +4 -4
  64. package/dist-es/commands/BatchPutGeofenceCommand.js +4 -4
  65. package/dist-es/commands/BatchUpdateDevicePositionCommand.js +4 -4
  66. package/dist-es/commands/CalculateRouteCommand.js +4 -4
  67. package/dist-es/commands/CalculateRouteMatrixCommand.js +4 -4
  68. package/dist-es/commands/CreateGeofenceCollectionCommand.js +4 -4
  69. package/dist-es/commands/CreateKeyCommand.js +4 -4
  70. package/dist-es/commands/CreateMapCommand.js +4 -4
  71. package/dist-es/commands/CreatePlaceIndexCommand.js +4 -4
  72. package/dist-es/commands/CreateRouteCalculatorCommand.js +4 -4
  73. package/dist-es/commands/CreateTrackerCommand.js +4 -4
  74. package/dist-es/commands/DeleteGeofenceCollectionCommand.js +4 -4
  75. package/dist-es/commands/DeleteKeyCommand.js +4 -4
  76. package/dist-es/commands/DeleteMapCommand.js +4 -4
  77. package/dist-es/commands/DeletePlaceIndexCommand.js +4 -4
  78. package/dist-es/commands/DeleteRouteCalculatorCommand.js +4 -4
  79. package/dist-es/commands/DeleteTrackerCommand.js +4 -4
  80. package/dist-es/commands/DescribeGeofenceCollectionCommand.js +4 -4
  81. package/dist-es/commands/DescribeKeyCommand.js +4 -4
  82. package/dist-es/commands/DescribeMapCommand.js +4 -4
  83. package/dist-es/commands/DescribePlaceIndexCommand.js +4 -4
  84. package/dist-es/commands/DescribeRouteCalculatorCommand.js +4 -4
  85. package/dist-es/commands/DescribeTrackerCommand.js +4 -4
  86. package/dist-es/commands/DisassociateTrackerConsumerCommand.js +4 -4
  87. package/dist-es/commands/GetDevicePositionCommand.js +4 -4
  88. package/dist-es/commands/GetDevicePositionHistoryCommand.js +4 -4
  89. package/dist-es/commands/GetGeofenceCommand.js +4 -4
  90. package/dist-es/commands/GetMapGlyphsCommand.js +4 -4
  91. package/dist-es/commands/GetMapSpritesCommand.js +4 -4
  92. package/dist-es/commands/GetMapStyleDescriptorCommand.js +4 -4
  93. package/dist-es/commands/GetMapTileCommand.js +4 -4
  94. package/dist-es/commands/GetPlaceCommand.js +4 -4
  95. package/dist-es/commands/ListDevicePositionsCommand.js +4 -4
  96. package/dist-es/commands/ListGeofenceCollectionsCommand.js +4 -4
  97. package/dist-es/commands/ListGeofencesCommand.js +4 -4
  98. package/dist-es/commands/ListKeysCommand.js +4 -4
  99. package/dist-es/commands/ListMapsCommand.js +4 -4
  100. package/dist-es/commands/ListPlaceIndexesCommand.js +4 -4
  101. package/dist-es/commands/ListRouteCalculatorsCommand.js +4 -4
  102. package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
  103. package/dist-es/commands/ListTrackerConsumersCommand.js +4 -4
  104. package/dist-es/commands/ListTrackersCommand.js +4 -4
  105. package/dist-es/commands/PutGeofenceCommand.js +4 -4
  106. package/dist-es/commands/SearchPlaceIndexForPositionCommand.js +4 -4
  107. package/dist-es/commands/SearchPlaceIndexForSuggestionsCommand.js +4 -4
  108. package/dist-es/commands/SearchPlaceIndexForTextCommand.js +4 -4
  109. package/dist-es/commands/TagResourceCommand.js +4 -4
  110. package/dist-es/commands/UntagResourceCommand.js +4 -4
  111. package/dist-es/commands/UpdateGeofenceCollectionCommand.js +4 -4
  112. package/dist-es/commands/UpdateKeyCommand.js +4 -4
  113. package/dist-es/commands/UpdateMapCommand.js +4 -4
  114. package/dist-es/commands/UpdatePlaceIndexCommand.js +4 -4
  115. package/dist-es/commands/UpdateRouteCalculatorCommand.js +4 -4
  116. package/dist-es/commands/UpdateTrackerCommand.js +4 -4
  117. package/dist-types/LocationClient.d.ts +4 -4
  118. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  119. package/dist-types/models/models_0.d.ts +11 -11
  120. package/dist-types/ts3.4/LocationClient.d.ts +4 -4
  121. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
  122. package/dist-types/ts3.4/models/models_0.d.ts +11 -19
  123. package/package.json +36 -36
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateMapRequestFilterSensitiveLog, UpdateMapResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateMapCommand, serializeAws_restJson1UpdateMapCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateMapCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateMapCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateMapCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdatePlaceIndexRequestFilterSensitiveLog, UpdatePlaceIndexResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdatePlaceIndexCommand, serializeAws_restJson1UpdatePlaceIndexCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdatePlaceIndexCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdatePlaceIndexCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePlaceIndexCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateRouteCalculatorRequestFilterSensitiveLog, UpdateRouteCalculatorResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateRouteCalculatorCommand, serializeAws_restJson1UpdateRouteCalculatorCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateRouteCalculatorCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateRouteCalculatorCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateRouteCalculatorCommand.getEndpointParameterInstructions()));
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
4
4
  import { UpdateTrackerRequestFilterSensitiveLog, UpdateTrackerResponseFilterSensitiveLog, } from "../models/models_0";
5
5
  import { deserializeAws_restJson1UpdateTrackerCommand, serializeAws_restJson1UpdateTrackerCommand, } from "../protocols/Aws_restJson1";
6
6
  export class UpdateTrackerCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
10
- }
11
7
  static getEndpointParameterInstructions() {
12
8
  return {
13
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -16,6 +12,10 @@ export class UpdateTrackerCommand extends $Command {
16
12
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
13
  };
18
14
  }
15
+ constructor(input) {
16
+ super();
17
+ this.input = input;
18
+ }
19
19
  resolveMiddleware(clientStack, configuration, options) {
20
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
21
  this.middlewareStack.use(getEndpointPlugin(configuration, UpdateTrackerCommand.getEndpointParameterInstructions()));
@@ -66,8 +66,8 @@ import { UpdatePlaceIndexCommandInput, UpdatePlaceIndexCommandOutput } from "./c
66
66
  import { UpdateRouteCalculatorCommandInput, UpdateRouteCalculatorCommandOutput } from "./commands/UpdateRouteCalculatorCommand";
67
67
  import { UpdateTrackerCommandInput, UpdateTrackerCommandOutput } from "./commands/UpdateTrackerCommand";
68
68
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
69
- export declare type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CalculateRouteMatrixCommandInput | CreateGeofenceCollectionCommandInput | CreateKeyCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteKeyCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeKeyCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | GetPlaceCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListKeysCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateKeyCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
70
- export declare type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CalculateRouteMatrixCommandOutput | CreateGeofenceCollectionCommandOutput | CreateKeyCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteKeyCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeKeyCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | GetPlaceCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListKeysCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateKeyCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
69
+ export type ServiceInputTypes = AssociateTrackerConsumerCommandInput | BatchDeleteDevicePositionHistoryCommandInput | BatchDeleteGeofenceCommandInput | BatchEvaluateGeofencesCommandInput | BatchGetDevicePositionCommandInput | BatchPutGeofenceCommandInput | BatchUpdateDevicePositionCommandInput | CalculateRouteCommandInput | CalculateRouteMatrixCommandInput | CreateGeofenceCollectionCommandInput | CreateKeyCommandInput | CreateMapCommandInput | CreatePlaceIndexCommandInput | CreateRouteCalculatorCommandInput | CreateTrackerCommandInput | DeleteGeofenceCollectionCommandInput | DeleteKeyCommandInput | DeleteMapCommandInput | DeletePlaceIndexCommandInput | DeleteRouteCalculatorCommandInput | DeleteTrackerCommandInput | DescribeGeofenceCollectionCommandInput | DescribeKeyCommandInput | DescribeMapCommandInput | DescribePlaceIndexCommandInput | DescribeRouteCalculatorCommandInput | DescribeTrackerCommandInput | DisassociateTrackerConsumerCommandInput | GetDevicePositionCommandInput | GetDevicePositionHistoryCommandInput | GetGeofenceCommandInput | GetMapGlyphsCommandInput | GetMapSpritesCommandInput | GetMapStyleDescriptorCommandInput | GetMapTileCommandInput | GetPlaceCommandInput | ListDevicePositionsCommandInput | ListGeofenceCollectionsCommandInput | ListGeofencesCommandInput | ListKeysCommandInput | ListMapsCommandInput | ListPlaceIndexesCommandInput | ListRouteCalculatorsCommandInput | ListTagsForResourceCommandInput | ListTrackerConsumersCommandInput | ListTrackersCommandInput | PutGeofenceCommandInput | SearchPlaceIndexForPositionCommandInput | SearchPlaceIndexForSuggestionsCommandInput | SearchPlaceIndexForTextCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateGeofenceCollectionCommandInput | UpdateKeyCommandInput | UpdateMapCommandInput | UpdatePlaceIndexCommandInput | UpdateRouteCalculatorCommandInput | UpdateTrackerCommandInput;
70
+ export type ServiceOutputTypes = AssociateTrackerConsumerCommandOutput | BatchDeleteDevicePositionHistoryCommandOutput | BatchDeleteGeofenceCommandOutput | BatchEvaluateGeofencesCommandOutput | BatchGetDevicePositionCommandOutput | BatchPutGeofenceCommandOutput | BatchUpdateDevicePositionCommandOutput | CalculateRouteCommandOutput | CalculateRouteMatrixCommandOutput | CreateGeofenceCollectionCommandOutput | CreateKeyCommandOutput | CreateMapCommandOutput | CreatePlaceIndexCommandOutput | CreateRouteCalculatorCommandOutput | CreateTrackerCommandOutput | DeleteGeofenceCollectionCommandOutput | DeleteKeyCommandOutput | DeleteMapCommandOutput | DeletePlaceIndexCommandOutput | DeleteRouteCalculatorCommandOutput | DeleteTrackerCommandOutput | DescribeGeofenceCollectionCommandOutput | DescribeKeyCommandOutput | DescribeMapCommandOutput | DescribePlaceIndexCommandOutput | DescribeRouteCalculatorCommandOutput | DescribeTrackerCommandOutput | DisassociateTrackerConsumerCommandOutput | GetDevicePositionCommandOutput | GetDevicePositionHistoryCommandOutput | GetGeofenceCommandOutput | GetMapGlyphsCommandOutput | GetMapSpritesCommandOutput | GetMapStyleDescriptorCommandOutput | GetMapTileCommandOutput | GetPlaceCommandOutput | ListDevicePositionsCommandOutput | ListGeofenceCollectionsCommandOutput | ListGeofencesCommandOutput | ListKeysCommandOutput | ListMapsCommandOutput | ListPlaceIndexesCommandOutput | ListRouteCalculatorsCommandOutput | ListTagsForResourceCommandOutput | ListTrackerConsumersCommandOutput | ListTrackersCommandOutput | PutGeofenceCommandOutput | SearchPlaceIndexForPositionCommandOutput | SearchPlaceIndexForSuggestionsCommandOutput | SearchPlaceIndexForTextCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateGeofenceCollectionCommandOutput | UpdateKeyCommandOutput | UpdateMapCommandOutput | UpdatePlaceIndexCommandOutput | UpdateRouteCalculatorCommandOutput | UpdateTrackerCommandOutput;
71
71
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
72
72
  /**
73
73
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -168,13 +168,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
168
168
  */
169
169
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
170
170
  }
171
- declare type LocationClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
171
+ type LocationClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
172
172
  /**
173
173
  * The configuration interface of LocationClient class constructor that set the region, credentials and other options.
174
174
  */
175
175
  export interface LocationClientConfig extends LocationClientConfigType {
176
176
  }
177
- declare type LocationClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
177
+ type LocationClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
178
178
  /**
179
179
  * The resolved configuration interface of LocationClient class. This is resolved and normalized from the {@link LocationClientConfig | constructor configuration interface}.
180
180
  */
@@ -5,7 +5,7 @@ export interface ClientInputEndpointParameters {
5
5
  useFipsEndpoint?: boolean | Provider<boolean>;
6
6
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
7
7
  }
8
- export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
8
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
9
9
  defaultSigningName: string;
10
10
  };
11
11
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
@@ -13,7 +13,7 @@ export declare class AccessDeniedException extends __BaseException {
13
13
  */
14
14
  constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
15
  }
16
- export declare type Status = "Active" | "Expired";
16
+ export type Status = "Active" | "Expired";
17
17
  /**
18
18
  * <p>Options for filtering API keys.</p>
19
19
  */
@@ -275,7 +275,7 @@ export interface ValidationExceptionField {
275
275
  */
276
276
  Message: string | undefined;
277
277
  }
278
- export declare type ValidationExceptionReason = "CannotParse" | "FieldValidationFailed" | "Missing" | "Other" | "UnknownOperation";
278
+ export type ValidationExceptionReason = "CannotParse" | "FieldValidationFailed" | "Missing" | "Other" | "UnknownOperation";
279
279
  /**
280
280
  * <p>The input failed to meet the constraints specified by the AWS service. </p>
281
281
  */
@@ -532,7 +532,7 @@ export interface BatchDeleteDevicePositionHistoryRequest {
532
532
  */
533
533
  DeviceIds: string[] | undefined;
534
534
  }
535
- export declare type BatchItemErrorCode = "AccessDeniedError" | "ConflictError" | "InternalServerError" | "ResourceNotFoundError" | "ThrottlingError" | "ValidationError";
535
+ export type BatchItemErrorCode = "AccessDeniedError" | "ConflictError" | "InternalServerError" | "ResourceNotFoundError" | "ThrottlingError" | "ValidationError";
536
536
  /**
537
537
  * <p>Contains the batch request error details associated with the request.</p>
538
538
  */
@@ -927,9 +927,9 @@ export interface CalculateRouteCarModeOptions {
927
927
  */
928
928
  AvoidTolls?: boolean;
929
929
  }
930
- export declare type DistanceUnit = "Kilometers" | "Miles";
931
- export declare type TravelMode = "Bicycle" | "Car" | "Motorcycle" | "Truck" | "Walking";
932
- export declare type DimensionUnit = "Feet" | "Meters";
930
+ export type DistanceUnit = "Kilometers" | "Miles";
931
+ export type TravelMode = "Bicycle" | "Car" | "Motorcycle" | "Truck" | "Walking";
932
+ export type DimensionUnit = "Feet" | "Meters";
933
933
  /**
934
934
  * <p>Contains details about the truck dimensions in the unit of measurement that you
935
935
  * specify. Used to filter out roads that can't support or allow the specified dimensions
@@ -985,7 +985,7 @@ export interface TruckDimensions {
985
985
  */
986
986
  Unit?: DimensionUnit | string;
987
987
  }
988
- export declare type VehicleWeightUnit = "Kilograms" | "Pounds";
988
+ export type VehicleWeightUnit = "Kilograms" | "Pounds";
989
989
  /**
990
990
  * <p>Contains details about the truck's weight specifications. Used to avoid roads that
991
991
  * can't support or allow the total weight for requests that specify
@@ -1567,7 +1567,7 @@ export interface CalculateRouteMatrixRequest {
1567
1567
  */
1568
1568
  TruckModeOptions?: CalculateRouteTruckModeOptions;
1569
1569
  }
1570
- export declare type RouteMatrixErrorCode = "DeparturePositionNotFound" | "DestinationPositionNotFound" | "OtherValidationError" | "PositionsNotFound" | "RouteNotFound" | "RouteTooLong";
1570
+ export type RouteMatrixErrorCode = "DeparturePositionNotFound" | "DestinationPositionNotFound" | "OtherValidationError" | "PositionsNotFound" | "RouteNotFound" | "RouteTooLong";
1571
1571
  /**
1572
1572
  * <p>An error corresponding to the calculation of a route between the
1573
1573
  * <code>DeparturePosition</code> and <code>DestinationPosition</code>.</p>
@@ -1721,7 +1721,7 @@ export interface CalculateRouteMatrixResponse {
1721
1721
  */
1722
1722
  Summary: CalculateRouteMatrixSummary | undefined;
1723
1723
  }
1724
- export declare type PricingPlan = "MobileAssetManagement" | "MobileAssetTracking" | "RequestBasedUsage";
1724
+ export type PricingPlan = "MobileAssetManagement" | "MobileAssetTracking" | "RequestBasedUsage";
1725
1725
  export interface CreateGeofenceCollectionRequest {
1726
1726
  /**
1727
1727
  * <p>A custom name for the geofence collection.</p>
@@ -2053,7 +2053,7 @@ export interface CreateMapResponse {
2053
2053
  */
2054
2054
  CreateTime: Date | undefined;
2055
2055
  }
2056
- export declare type IntendedUse = "SingleUse" | "Storage";
2056
+ export type IntendedUse = "SingleUse" | "Storage";
2057
2057
  /**
2058
2058
  * <p>Specifies the data storage option chosen for requesting Places.</p>
2059
2059
  * <important>
@@ -2343,7 +2343,7 @@ export interface CreateRouteCalculatorResponse {
2343
2343
  */
2344
2344
  CreateTime: Date | undefined;
2345
2345
  }
2346
- export declare type PositionFiltering = "AccuracyBased" | "DistanceBased" | "TimeBased";
2346
+ export type PositionFiltering = "AccuracyBased" | "DistanceBased" | "TimeBased";
2347
2347
  export interface CreateTrackerRequest {
2348
2348
  /**
2349
2349
  * <p>The name for the tracker resource.</p>
@@ -281,7 +281,7 @@ import {
281
281
  ClientResolvedEndpointParameters,
282
282
  EndpointParameters,
283
283
  } from "./endpoint/EndpointParameters";
284
- export declare type ServiceInputTypes =
284
+ export type ServiceInputTypes =
285
285
  | AssociateTrackerConsumerCommandInput
286
286
  | BatchDeleteDevicePositionHistoryCommandInput
287
287
  | BatchDeleteGeofenceCommandInput
@@ -340,7 +340,7 @@ export declare type ServiceInputTypes =
340
340
  | UpdatePlaceIndexCommandInput
341
341
  | UpdateRouteCalculatorCommandInput
342
342
  | UpdateTrackerCommandInput;
343
- export declare type ServiceOutputTypes =
343
+ export type ServiceOutputTypes =
344
344
  | AssociateTrackerConsumerCommandOutput
345
345
  | BatchDeleteDevicePositionHistoryCommandOutput
346
346
  | BatchDeleteGeofenceCommandOutput
@@ -423,7 +423,7 @@ export interface ClientDefaults
423
423
  logger?: __Logger;
424
424
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
425
425
  }
426
- declare type LocationClientConfigType = Partial<
426
+ type LocationClientConfigType = Partial<
427
427
  __SmithyConfiguration<__HttpHandlerOptions>
428
428
  > &
429
429
  ClientDefaults &
@@ -435,7 +435,7 @@ declare type LocationClientConfigType = Partial<
435
435
  UserAgentInputConfig &
436
436
  ClientInputEndpointParameters;
437
437
  export interface LocationClientConfig extends LocationClientConfigType {}
438
- declare type LocationClientResolvedConfigType =
438
+ type LocationClientResolvedConfigType =
439
439
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
440
440
  Required<ClientDefaults> &
441
441
  RegionResolvedConfig &
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
16
16
  | EndpointV2
17
17
  | Provider<EndpointV2>;
18
18
  }
19
- export declare type ClientResolvedEndpointParameters =
20
- ClientInputEndpointParameters & {
21
- defaultSigningName: string;
22
- };
19
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
20
+ defaultSigningName: string;
21
+ };
23
22
  export declare const resolveClientEndpointParameters: <T>(
24
23
  options: T & ClientInputEndpointParameters
25
24
  ) => T &
@@ -8,7 +8,7 @@ export declare class AccessDeniedException extends __BaseException {
8
8
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
9
9
  );
10
10
  }
11
- export declare type Status = "Active" | "Expired";
11
+ export type Status = "Active" | "Expired";
12
12
  export interface ApiKeyFilter {
13
13
  KeyStatus?: Status | string;
14
14
  }
@@ -67,7 +67,7 @@ export interface ValidationExceptionField {
67
67
  Name: string | undefined;
68
68
  Message: string | undefined;
69
69
  }
70
- export declare type ValidationExceptionReason =
70
+ export type ValidationExceptionReason =
71
71
  | "CannotParse"
72
72
  | "FieldValidationFailed"
73
73
  | "Missing"
@@ -148,7 +148,7 @@ export interface BatchDeleteDevicePositionHistoryRequest {
148
148
  TrackerName: string | undefined;
149
149
  DeviceIds: string[] | undefined;
150
150
  }
151
- export declare type BatchItemErrorCode =
151
+ export type BatchItemErrorCode =
152
152
  | "AccessDeniedError"
153
153
  | "ConflictError"
154
154
  | "InternalServerError"
@@ -264,21 +264,16 @@ export interface CalculateRouteCarModeOptions {
264
264
  AvoidFerries?: boolean;
265
265
  AvoidTolls?: boolean;
266
266
  }
267
- export declare type DistanceUnit = "Kilometers" | "Miles";
268
- export declare type TravelMode =
269
- | "Bicycle"
270
- | "Car"
271
- | "Motorcycle"
272
- | "Truck"
273
- | "Walking";
274
- export declare type DimensionUnit = "Feet" | "Meters";
267
+ export type DistanceUnit = "Kilometers" | "Miles";
268
+ export type TravelMode = "Bicycle" | "Car" | "Motorcycle" | "Truck" | "Walking";
269
+ export type DimensionUnit = "Feet" | "Meters";
275
270
  export interface TruckDimensions {
276
271
  Length?: number;
277
272
  Height?: number;
278
273
  Width?: number;
279
274
  Unit?: DimensionUnit | string;
280
275
  }
281
- export declare type VehicleWeightUnit = "Kilograms" | "Pounds";
276
+ export type VehicleWeightUnit = "Kilograms" | "Pounds";
282
277
  export interface TruckWeight {
283
278
  Total?: number;
284
279
  Unit?: VehicleWeightUnit | string;
@@ -342,7 +337,7 @@ export interface CalculateRouteMatrixRequest {
342
337
  CarModeOptions?: CalculateRouteCarModeOptions;
343
338
  TruckModeOptions?: CalculateRouteTruckModeOptions;
344
339
  }
345
- export declare type RouteMatrixErrorCode =
340
+ export type RouteMatrixErrorCode =
346
341
  | "DeparturePositionNotFound"
347
342
  | "DestinationPositionNotFound"
348
343
  | "OtherValidationError"
@@ -370,7 +365,7 @@ export interface CalculateRouteMatrixResponse {
370
365
  SnappedDestinationPositions?: number[][];
371
366
  Summary: CalculateRouteMatrixSummary | undefined;
372
367
  }
373
- export declare type PricingPlan =
368
+ export type PricingPlan =
374
369
  | "MobileAssetManagement"
375
370
  | "MobileAssetTracking"
376
371
  | "RequestBasedUsage";
@@ -402,7 +397,7 @@ export interface CreateMapResponse {
402
397
  MapArn: string | undefined;
403
398
  CreateTime: Date | undefined;
404
399
  }
405
- export declare type IntendedUse = "SingleUse" | "Storage";
400
+ export type IntendedUse = "SingleUse" | "Storage";
406
401
  export interface DataSourceConfiguration {
407
402
  IntendedUse?: IntendedUse | string;
408
403
  }
@@ -431,10 +426,7 @@ export interface CreateRouteCalculatorResponse {
431
426
  CalculatorArn: string | undefined;
432
427
  CreateTime: Date | undefined;
433
428
  }
434
- export declare type PositionFiltering =
435
- | "AccuracyBased"
436
- | "DistanceBased"
437
- | "TimeBased";
429
+ export type PositionFiltering = "AccuracyBased" | "DistanceBased" | "TimeBased";
438
430
  export interface CreateTrackerRequest {
439
431
  TrackerName: string | undefined;
440
432
  PricingPlan?: PricingPlan | string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-location",
3
3
  "description": "AWS SDK for JavaScript Location Client for Node.js, Browser and React Native",
4
- "version": "3.293.0",
4
+ "version": "3.295.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,49 +20,49 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.293.0",
24
- "@aws-sdk/config-resolver": "3.292.0",
25
- "@aws-sdk/credential-provider-node": "3.293.0",
26
- "@aws-sdk/fetch-http-handler": "3.292.0",
27
- "@aws-sdk/hash-node": "3.292.0",
28
- "@aws-sdk/invalid-dependency": "3.292.0",
29
- "@aws-sdk/middleware-content-length": "3.292.0",
30
- "@aws-sdk/middleware-endpoint": "3.292.0",
31
- "@aws-sdk/middleware-host-header": "3.292.0",
32
- "@aws-sdk/middleware-logger": "3.292.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
- "@aws-sdk/middleware-retry": "3.293.0",
35
- "@aws-sdk/middleware-serde": "3.292.0",
36
- "@aws-sdk/middleware-signing": "3.292.0",
37
- "@aws-sdk/middleware-stack": "3.292.0",
38
- "@aws-sdk/middleware-user-agent": "3.293.0",
39
- "@aws-sdk/node-config-provider": "3.292.0",
40
- "@aws-sdk/node-http-handler": "3.292.0",
41
- "@aws-sdk/protocol-http": "3.292.0",
42
- "@aws-sdk/smithy-client": "3.292.0",
43
- "@aws-sdk/types": "3.292.0",
44
- "@aws-sdk/url-parser": "3.292.0",
45
- "@aws-sdk/util-base64": "3.292.0",
46
- "@aws-sdk/util-body-length-browser": "3.292.0",
47
- "@aws-sdk/util-body-length-node": "3.292.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
- "@aws-sdk/util-endpoints": "3.293.0",
51
- "@aws-sdk/util-retry": "3.292.0",
52
- "@aws-sdk/util-user-agent-browser": "3.292.0",
53
- "@aws-sdk/util-user-agent-node": "3.292.0",
54
- "@aws-sdk/util-utf8": "3.292.0",
55
- "tslib": "^2.3.1"
23
+ "@aws-sdk/client-sts": "3.295.0",
24
+ "@aws-sdk/config-resolver": "3.295.0",
25
+ "@aws-sdk/credential-provider-node": "3.295.0",
26
+ "@aws-sdk/fetch-http-handler": "3.295.0",
27
+ "@aws-sdk/hash-node": "3.295.0",
28
+ "@aws-sdk/invalid-dependency": "3.295.0",
29
+ "@aws-sdk/middleware-content-length": "3.295.0",
30
+ "@aws-sdk/middleware-endpoint": "3.295.0",
31
+ "@aws-sdk/middleware-host-header": "3.295.0",
32
+ "@aws-sdk/middleware-logger": "3.295.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.295.0",
34
+ "@aws-sdk/middleware-retry": "3.295.0",
35
+ "@aws-sdk/middleware-serde": "3.295.0",
36
+ "@aws-sdk/middleware-signing": "3.295.0",
37
+ "@aws-sdk/middleware-stack": "3.295.0",
38
+ "@aws-sdk/middleware-user-agent": "3.295.0",
39
+ "@aws-sdk/node-config-provider": "3.295.0",
40
+ "@aws-sdk/node-http-handler": "3.295.0",
41
+ "@aws-sdk/protocol-http": "3.295.0",
42
+ "@aws-sdk/smithy-client": "3.295.0",
43
+ "@aws-sdk/types": "3.295.0",
44
+ "@aws-sdk/url-parser": "3.295.0",
45
+ "@aws-sdk/util-base64": "3.295.0",
46
+ "@aws-sdk/util-body-length-browser": "3.295.0",
47
+ "@aws-sdk/util-body-length-node": "3.295.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.295.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.295.0",
50
+ "@aws-sdk/util-endpoints": "3.295.0",
51
+ "@aws-sdk/util-retry": "3.295.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.295.0",
53
+ "@aws-sdk/util-user-agent-node": "3.295.0",
54
+ "@aws-sdk/util-utf8": "3.295.0",
55
+ "tslib": "^2.5.0"
56
56
  },
57
57
  "devDependencies": {
58
- "@aws-sdk/service-client-documentation-generator": "3.293.0",
58
+ "@aws-sdk/service-client-documentation-generator": "3.295.0",
59
59
  "@tsconfig/node14": "1.0.3",
60
60
  "@types/node": "^14.14.31",
61
61
  "concurrently": "7.0.0",
62
62
  "downlevel-dts": "0.10.1",
63
63
  "rimraf": "3.0.2",
64
64
  "typedoc": "0.23.23",
65
- "typescript": "~4.6.2"
65
+ "typescript": "~4.9.5"
66
66
  },
67
67
  "engines": {
68
68
  "node": ">=14.0.0"