/proc/self/root/proc/self/root/var/runtime/node_modules/@aws-sdk/client-location/dist-cjs
This explorer reads the filesystem of the server it runs on, so /workspace/user isn't present here. Browsing and the terminal still work against this server's own disk from /.
'use strict'; var client$1 = require('@aws-sdk/core/client');var core = require('@smithy/core');var client = require('@smithy/core/client');var config = require('@smithy/core/config');var endpoints = require('@smithy/core/endpoints');var protocols = require('@smithy/core/protocols');var retry = require('@smithy/core/retry');var schema = require('@smithy/core/schema');var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');var runtimeConfig = require('./runtimeConfig');var schemas_0 = require('./schemas/schemas_0');var errors = require('./models/errors');var LocationServiceException = require('./models/LocationServiceException'); const resolveClientEndpointParameters = (options) => { return Object.assign(options, { useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, defaultSigningName: "geo", });};const commonParams = { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, Endpoint: { type: "builtInParams", name: "endpoint" }, Region: { type: "builtInParams", name: "region" }, UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },}; const getHttpAuthExtensionConfiguration = (runtimeConfig) => { const _httpAuthSchemes = runtimeConfig.httpAuthSchemes; let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider; let _credentials = runtimeConfig.credentials; return { setHttpAuthScheme(httpAuthScheme) { const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId); if (index === -1) { _httpAuthSchemes.push(httpAuthScheme); } else { _httpAuthSchemes.splice(index, 1, httpAuthScheme); } }, httpAuthSchemes() { return _httpAuthSchemes; }, setHttpAuthSchemeProvider(httpAuthSchemeProvider) { _httpAuthSchemeProvider = httpAuthSchemeProvider; }, httpAuthSchemeProvider() { return _httpAuthSchemeProvider; }, setCredentials(credentials) { _credentials = credentials; }, credentials() { return _credentials; }, };};const resolveHttpAuthRuntimeConfig = (config) => { return { httpAuthSchemes: config.httpAuthSchemes(), httpAuthSchemeProvider: config.httpAuthSchemeProvider(), credentials: config.credentials(), };}; const resolveRuntimeExtensions = (runtimeConfig, extensions) => { const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig)); extensions.forEach((extension) => extension.configure(extensionConfiguration)); return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));}; class LocationClient extends client.Client { config; constructor(...[configuration]) { const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {}); super(_config_0); this.initConfig = _config_0; const _config_1 = resolveClientEndpointParameters(_config_0); const _config_2 = client$1.resolveUserAgentConfig(_config_1); const _config_3 = retry.resolveRetryConfig(_config_2); const _config_4 = config.resolveRegionConfig(_config_3); const _config_5 = client$1.resolveHostHeaderConfig(_config_4); const _config_6 = endpoints.resolveEndpointConfig(_config_5); const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6); const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); this.config = _config_8; this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config)); this.middlewareStack.use(client$1.getUserAgentPlugin(this.config)); this.middlewareStack.use(retry.getRetryPlugin(this.config)); this.middlewareStack.use(protocols.getContentLengthPlugin(this.config)); this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config)); this.middlewareStack.use(client$1.getLoggerPlugin(this.config)); this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config)); this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, { httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultLocationHttpAuthSchemeParametersProvider, identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials, }), })); this.middlewareStack.use(core.getHttpSigningPlugin(this.config)); } destroy() { super.destroy(); }} class AssociateTrackerConsumerCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "AssociateTrackerConsumer", {}) .n("LocationClient", "AssociateTrackerConsumerCommand") .sc(schemas_0.AssociateTrackerConsumer$) .build() {} class BatchDeleteDevicePositionHistoryCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "BatchDeleteDevicePositionHistory", {}) .n("LocationClient", "BatchDeleteDevicePositionHistoryCommand") .sc(schemas_0.BatchDeleteDevicePositionHistory$) .build() {} class BatchDeleteGeofenceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "BatchDeleteGeofence", {}) .n("LocationClient", "BatchDeleteGeofenceCommand") .sc(schemas_0.BatchDeleteGeofence$) .build() {} class BatchEvaluateGeofencesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "BatchEvaluateGeofences", {}) .n("LocationClient", "BatchEvaluateGeofencesCommand") .sc(schemas_0.BatchEvaluateGeofences$) .build() {} class BatchGetDevicePositionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "BatchGetDevicePosition", {}) .n("LocationClient", "BatchGetDevicePositionCommand") .sc(schemas_0.BatchGetDevicePosition$) .build() {} class BatchPutGeofenceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "BatchPutGeofence", {}) .n("LocationClient", "BatchPutGeofenceCommand") .sc(schemas_0.BatchPutGeofence$) .build() {} class BatchUpdateDevicePositionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "BatchUpdateDevicePosition", {}) .n("LocationClient", "BatchUpdateDevicePositionCommand") .sc(schemas_0.BatchUpdateDevicePosition$) .build() {} class CalculateRouteCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "CalculateRoute", {}) .n("LocationClient", "CalculateRouteCommand") .sc(schemas_0.CalculateRoute$) .build() {} class CalculateRouteMatrixCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "CalculateRouteMatrix", {}) .n("LocationClient", "CalculateRouteMatrixCommand") .sc(schemas_0.CalculateRouteMatrix$) .build() {} class CancelJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "CancelJob", {}) .n("LocationClient", "CancelJobCommand") .sc(schemas_0.CancelJob$) .build() {} class CreateGeofenceCollectionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "CreateGeofenceCollection", {}) .n("LocationClient", "CreateGeofenceCollectionCommand") .sc(schemas_0.CreateGeofenceCollection$) .build() {} class CreateKeyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "CreateKey", {}) .n("LocationClient", "CreateKeyCommand") .sc(schemas_0.CreateKey$) .build() {} class CreateMapCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "CreateMap", {}) .n("LocationClient", "CreateMapCommand") .sc(schemas_0.CreateMap$) .build() {} class CreatePlaceIndexCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "CreatePlaceIndex", {}) .n("LocationClient", "CreatePlaceIndexCommand") .sc(schemas_0.CreatePlaceIndex$) .build() {} class CreateRouteCalculatorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "CreateRouteCalculator", {}) .n("LocationClient", "CreateRouteCalculatorCommand") .sc(schemas_0.CreateRouteCalculator$) .build() {} class CreateTrackerCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "CreateTracker", {}) .n("LocationClient", "CreateTrackerCommand") .sc(schemas_0.CreateTracker$) .build() {} class DeleteGeofenceCollectionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DeleteGeofenceCollection", {}) .n("LocationClient", "DeleteGeofenceCollectionCommand") .sc(schemas_0.DeleteGeofenceCollection$) .build() {} class DeleteKeyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DeleteKey", {}) .n("LocationClient", "DeleteKeyCommand") .sc(schemas_0.DeleteKey$) .build() {} class DeleteMapCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DeleteMap", {}) .n("LocationClient", "DeleteMapCommand") .sc(schemas_0.DeleteMap$) .build() {} class DeletePlaceIndexCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DeletePlaceIndex", {}) .n("LocationClient", "DeletePlaceIndexCommand") .sc(schemas_0.DeletePlaceIndex$) .build() {} class DeleteRouteCalculatorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DeleteRouteCalculator", {}) .n("LocationClient", "DeleteRouteCalculatorCommand") .sc(schemas_0.DeleteRouteCalculator$) .build() {} class DeleteTrackerCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DeleteTracker", {}) .n("LocationClient", "DeleteTrackerCommand") .sc(schemas_0.DeleteTracker$) .build() {} class DescribeGeofenceCollectionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DescribeGeofenceCollection", {}) .n("LocationClient", "DescribeGeofenceCollectionCommand") .sc(schemas_0.DescribeGeofenceCollection$) .build() {} class DescribeKeyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DescribeKey", {}) .n("LocationClient", "DescribeKeyCommand") .sc(schemas_0.DescribeKey$) .build() {} class DescribeMapCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DescribeMap", {}) .n("LocationClient", "DescribeMapCommand") .sc(schemas_0.DescribeMap$) .build() {} class DescribePlaceIndexCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DescribePlaceIndex", {}) .n("LocationClient", "DescribePlaceIndexCommand") .sc(schemas_0.DescribePlaceIndex$) .build() {} class DescribeRouteCalculatorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DescribeRouteCalculator", {}) .n("LocationClient", "DescribeRouteCalculatorCommand") .sc(schemas_0.DescribeRouteCalculator$) .build() {} class DescribeTrackerCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DescribeTracker", {}) .n("LocationClient", "DescribeTrackerCommand") .sc(schemas_0.DescribeTracker$) .build() {} class DisassociateTrackerConsumerCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "DisassociateTrackerConsumer", {}) .n("LocationClient", "DisassociateTrackerConsumerCommand") .sc(schemas_0.DisassociateTrackerConsumer$) .build() {} class ForecastGeofenceEventsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "ForecastGeofenceEvents", {}) .n("LocationClient", "ForecastGeofenceEventsCommand") .sc(schemas_0.ForecastGeofenceEvents$) .build() {} class GetDevicePositionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "GetDevicePosition", {}) .n("LocationClient", "GetDevicePositionCommand") .sc(schemas_0.GetDevicePosition$) .build() {} class GetDevicePositionHistoryCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "GetDevicePositionHistory", {}) .n("LocationClient", "GetDevicePositionHistoryCommand") .sc(schemas_0.GetDevicePositionHistory$) .build() {} class GetGeofenceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "GetGeofence", {}) .n("LocationClient", "GetGeofenceCommand") .sc(schemas_0.GetGeofence$) .build() {} class GetJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "GetJob", {}) .n("LocationClient", "GetJobCommand") .sc(schemas_0.GetJob$) .build() {} class GetMapGlyphsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "GetMapGlyphs", {}) .n("LocationClient", "GetMapGlyphsCommand") .sc(schemas_0.GetMapGlyphs$) .build() {} class GetMapSpritesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "GetMapSprites", {}) .n("LocationClient", "GetMapSpritesCommand") .sc(schemas_0.GetMapSprites$) .build() {} class GetMapStyleDescriptorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "GetMapStyleDescriptor", {}) .n("LocationClient", "GetMapStyleDescriptorCommand") .sc(schemas_0.GetMapStyleDescriptor$) .build() {} class GetMapTileCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "GetMapTile", {}) .n("LocationClient", "GetMapTileCommand") .sc(schemas_0.GetMapTile$) .build() {} class GetPlaceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "GetPlace", {}) .n("LocationClient", "GetPlaceCommand") .sc(schemas_0.GetPlace$) .build() {} class ListDevicePositionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "ListDevicePositions", {}) .n("LocationClient", "ListDevicePositionsCommand") .sc(schemas_0.ListDevicePositions$) .build() {} class ListGeofenceCollectionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "ListGeofenceCollections", {}) .n("LocationClient", "ListGeofenceCollectionsCommand") .sc(schemas_0.ListGeofenceCollections$) .build() {} class ListGeofencesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "ListGeofences", {}) .n("LocationClient", "ListGeofencesCommand") .sc(schemas_0.ListGeofences$) .build() {} class ListJobsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "ListJobs", {}) .n("LocationClient", "ListJobsCommand") .sc(schemas_0.ListJobs$) .build() {} class ListKeysCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "ListKeys", {}) .n("LocationClient", "ListKeysCommand") .sc(schemas_0.ListKeys$) .build() {} class ListMapsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "ListMaps", {}) .n("LocationClient", "ListMapsCommand") .sc(schemas_0.ListMaps$) .build() {} class ListPlaceIndexesCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "ListPlaceIndexes", {}) .n("LocationClient", "ListPlaceIndexesCommand") .sc(schemas_0.ListPlaceIndexes$) .build() {} class ListRouteCalculatorsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "ListRouteCalculators", {}) .n("LocationClient", "ListRouteCalculatorsCommand") .sc(schemas_0.ListRouteCalculators$) .build() {} class ListTagsForResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "ListTagsForResource", {}) .n("LocationClient", "ListTagsForResourceCommand") .sc(schemas_0.ListTagsForResource$) .build() {} class ListTrackerConsumersCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "ListTrackerConsumers", {}) .n("LocationClient", "ListTrackerConsumersCommand") .sc(schemas_0.ListTrackerConsumers$) .build() {} class ListTrackersCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "ListTrackers", {}) .n("LocationClient", "ListTrackersCommand") .sc(schemas_0.ListTrackers$) .build() {} class PutGeofenceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "PutGeofence", {}) .n("LocationClient", "PutGeofenceCommand") .sc(schemas_0.PutGeofence$) .build() {} class SearchPlaceIndexForPositionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "SearchPlaceIndexForPosition", {}) .n("LocationClient", "SearchPlaceIndexForPositionCommand") .sc(schemas_0.SearchPlaceIndexForPosition$) .build() {} class SearchPlaceIndexForSuggestionsCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "SearchPlaceIndexForSuggestions", {}) .n("LocationClient", "SearchPlaceIndexForSuggestionsCommand") .sc(schemas_0.SearchPlaceIndexForSuggestions$) .build() {} class SearchPlaceIndexForTextCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "SearchPlaceIndexForText", {}) .n("LocationClient", "SearchPlaceIndexForTextCommand") .sc(schemas_0.SearchPlaceIndexForText$) .build() {} class StartJobCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "StartJob", {}) .n("LocationClient", "StartJobCommand") .sc(schemas_0.StartJob$) .build() {} class TagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "TagResource", {}) .n("LocationClient", "TagResourceCommand") .sc(schemas_0.TagResource$) .build() {} class UntagResourceCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "UntagResource", {}) .n("LocationClient", "UntagResourceCommand") .sc(schemas_0.UntagResource$) .build() {} class UpdateGeofenceCollectionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "UpdateGeofenceCollection", {}) .n("LocationClient", "UpdateGeofenceCollectionCommand") .sc(schemas_0.UpdateGeofenceCollection$) .build() {} class UpdateKeyCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "UpdateKey", {}) .n("LocationClient", "UpdateKeyCommand") .sc(schemas_0.UpdateKey$) .build() {} class UpdateMapCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "UpdateMap", {}) .n("LocationClient", "UpdateMapCommand") .sc(schemas_0.UpdateMap$) .build() {} class UpdatePlaceIndexCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "UpdatePlaceIndex", {}) .n("LocationClient", "UpdatePlaceIndexCommand") .sc(schemas_0.UpdatePlaceIndex$) .build() {} class UpdateRouteCalculatorCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "UpdateRouteCalculator", {}) .n("LocationClient", "UpdateRouteCalculatorCommand") .sc(schemas_0.UpdateRouteCalculator$) .build() {} class UpdateTrackerCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "UpdateTracker", {}) .n("LocationClient", "UpdateTrackerCommand") .sc(schemas_0.UpdateTracker$) .build() {} class VerifyDevicePositionCommand extends client.Command .classBuilder() .ep(commonParams) .m(function (Command, cs, config, o) { return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];}) .s("LocationService", "VerifyDevicePosition", {}) .n("LocationClient", "VerifyDevicePositionCommand") .sc(schemas_0.VerifyDevicePosition$) .build() {} const paginateForecastGeofenceEvents = core.createPaginator(LocationClient, ForecastGeofenceEventsCommand, "NextToken", "NextToken", "MaxResults"); const paginateGetDevicePositionHistory = core.createPaginator(LocationClient, GetDevicePositionHistoryCommand, "NextToken", "NextToken", "MaxResults"); const paginateListDevicePositions = core.createPaginator(LocationClient, ListDevicePositionsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListGeofenceCollections = core.createPaginator(LocationClient, ListGeofenceCollectionsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListGeofences = core.createPaginator(LocationClient, ListGeofencesCommand, "NextToken", "NextToken", "MaxResults"); const paginateListJobs = core.createPaginator(LocationClient, ListJobsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListKeys = core.createPaginator(LocationClient, ListKeysCommand, "NextToken", "NextToken", "MaxResults"); const paginateListMaps = core.createPaginator(LocationClient, ListMapsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListPlaceIndexes = core.createPaginator(LocationClient, ListPlaceIndexesCommand, "NextToken", "NextToken", "MaxResults"); const paginateListRouteCalculators = core.createPaginator(LocationClient, ListRouteCalculatorsCommand, "NextToken", "NextToken", "MaxResults"); const paginateListTrackerConsumers = core.createPaginator(LocationClient, ListTrackerConsumersCommand, "NextToken", "NextToken", "MaxResults"); const paginateListTrackers = core.createPaginator(LocationClient, ListTrackersCommand, "NextToken", "NextToken", "MaxResults"); const checkState = async (client$1, input) => { let reason; try { let result = await client$1.send(new GetJobCommand(input)); reason = result; try { const returnComparator = () => { return result.Status; }; if (returnComparator() === "Completed") { return { state: client.WaiterState.SUCCESS, reason }; } } catch (e) { } try { const returnComparator = () => { return result.Status; }; if (returnComparator() === "Failed") { return { state: client.WaiterState.FAILURE, reason }; } } catch (e) { } try { const returnComparator = () => { return result.Status; }; if (returnComparator() === "Cancelled") { return { state: client.WaiterState.FAILURE, reason }; } } catch (e) { } } catch (exception) { reason = exception; } return { state: client.WaiterState.RETRY, reason };};const waitForJobCompleted = async (params, input) => { const serviceDefaults = { minDelay: 60, maxDelay: 120 }; return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);};const waitUntilJobCompleted = async (params, input) => { const serviceDefaults = { minDelay: 60, maxDelay: 120 }; const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState); return client.checkExceptions(result);}; const commands = { AssociateTrackerConsumerCommand, BatchDeleteDevicePositionHistoryCommand, BatchDeleteGeofenceCommand, BatchEvaluateGeofencesCommand, BatchGetDevicePositionCommand, BatchPutGeofenceCommand, BatchUpdateDevicePositionCommand, CalculateRouteCommand, CalculateRouteMatrixCommand, CancelJobCommand, CreateGeofenceCollectionCommand, CreateKeyCommand, CreateMapCommand, CreatePlaceIndexCommand, CreateRouteCalculatorCommand, CreateTrackerCommand, DeleteGeofenceCollectionCommand, DeleteKeyCommand, DeleteMapCommand, DeletePlaceIndexCommand, DeleteRouteCalculatorCommand, DeleteTrackerCommand, DescribeGeofenceCollectionCommand, DescribeKeyCommand, DescribeMapCommand, DescribePlaceIndexCommand, DescribeRouteCalculatorCommand, DescribeTrackerCommand, DisassociateTrackerConsumerCommand, ForecastGeofenceEventsCommand, GetDevicePositionCommand, GetDevicePositionHistoryCommand, GetGeofenceCommand, GetJobCommand, GetMapGlyphsCommand, GetMapSpritesCommand, GetMapStyleDescriptorCommand, GetMapTileCommand, GetPlaceCommand, ListDevicePositionsCommand, ListGeofenceCollectionsCommand, ListGeofencesCommand, ListJobsCommand, ListKeysCommand, ListMapsCommand, ListPlaceIndexesCommand, ListRouteCalculatorsCommand, ListTagsForResourceCommand, ListTrackerConsumersCommand, ListTrackersCommand, PutGeofenceCommand, SearchPlaceIndexForPositionCommand, SearchPlaceIndexForSuggestionsCommand, SearchPlaceIndexForTextCommand, StartJobCommand, TagResourceCommand, UntagResourceCommand, UpdateGeofenceCollectionCommand, UpdateKeyCommand, UpdateMapCommand, UpdatePlaceIndexCommand, UpdateRouteCalculatorCommand, UpdateTrackerCommand, VerifyDevicePositionCommand,};const paginators = { paginateForecastGeofenceEvents, paginateGetDevicePositionHistory, paginateListDevicePositions, paginateListGeofenceCollections, paginateListGeofences, paginateListJobs, paginateListKeys, paginateListMaps, paginateListPlaceIndexes, paginateListRouteCalculators, paginateListTrackerConsumers, paginateListTrackers,};const waiters = { waitUntilJobCompleted,};class Location extends LocationClient {}client.createAggregatedClient(commands, Location, { paginators, waiters }); const JobStatus = { CANCELLED: "Cancelled", CANCELLING: "Cancelling", COMPLETED: "Completed", FAILED: "Failed", PENDING: "Pending", RUNNING: "Running",};const JobAction = { VALIDATE_ADDRESS: "ValidateAddress",};const ValidateAddressAdditionalFeature = { COUNTRY_SPECIFIC_ATTRIBUTES: "CountrySpecificAttributes", POSITION: "Position",};const JobErrorCode = { INTERNAL_SERVER_ERROR: "InternalServerError", VALIDATION_ERROR: "ValidationError",};const JobInputFormat = { PARQUET: "Parquet",};const JobOutputFormat = { PARQUET: "Parquet",}; exports.$Command = client.Command;exports.__Client = client.Client;exports.LocationServiceException = LocationServiceException.LocationServiceException;exports.AssociateTrackerConsumerCommand = AssociateTrackerConsumerCommand;exports.BatchDeleteDevicePositionHistoryCommand = BatchDeleteDevicePositionHistoryCommand;exports.BatchDeleteGeofenceCommand = BatchDeleteGeofenceCommand;exports.BatchEvaluateGeofencesCommand = BatchEvaluateGeofencesCommand;exports.BatchGetDevicePositionCommand = BatchGetDevicePositionCommand;exports.BatchPutGeofenceCommand = BatchPutGeofenceCommand;exports.BatchUpdateDevicePositionCommand = BatchUpdateDevicePositionCommand;exports.CalculateRouteCommand = CalculateRouteCommand;exports.CalculateRouteMatrixCommand = CalculateRouteMatrixCommand;exports.CancelJobCommand = CancelJobCommand;exports.CreateGeofenceCollectionCommand = CreateGeofenceCollectionCommand;exports.CreateKeyCommand = CreateKeyCommand;exports.CreateMapCommand = CreateMapCommand;exports.CreatePlaceIndexCommand = CreatePlaceIndexCommand;exports.CreateRouteCalculatorCommand = CreateRouteCalculatorCommand;exports.CreateTrackerCommand = CreateTrackerCommand;exports.DeleteGeofenceCollectionCommand = DeleteGeofenceCollectionCommand;exports.DeleteKeyCommand = DeleteKeyCommand;exports.DeleteMapCommand = DeleteMapCommand;exports.DeletePlaceIndexCommand = DeletePlaceIndexCommand;exports.DeleteRouteCalculatorCommand = DeleteRouteCalculatorCommand;exports.DeleteTrackerCommand = DeleteTrackerCommand;exports.DescribeGeofenceCollectionCommand = DescribeGeofenceCollectionCommand;exports.DescribeKeyCommand = DescribeKeyCommand;exports.DescribeMapCommand = DescribeMapCommand;exports.DescribePlaceIndexCommand = DescribePlaceIndexCommand;exports.DescribeRouteCalculatorCommand = DescribeRouteCalculatorCommand;exports.DescribeTrackerCommand = DescribeTrackerCommand;exports.DisassociateTrackerConsumerCommand = DisassociateTrackerConsumerCommand;exports.ForecastGeofenceEventsCommand = ForecastGeofenceEventsCommand;exports.GetDevicePositionCommand = GetDevicePositionCommand;exports.GetDevicePositionHistoryCommand = GetDevicePositionHistoryCommand;exports.GetGeofenceCommand = GetGeofenceCommand;exports.GetJobCommand = GetJobCommand;exports.GetMapGlyphsCommand = GetMapGlyphsCommand;exports.GetMapSpritesCommand = GetMapSpritesCommand;exports.GetMapStyleDescriptorCommand = GetMapStyleDescriptorCommand;exports.GetMapTileCommand = GetMapTileCommand;exports.GetPlaceCommand = GetPlaceCommand;exports.JobAction = JobAction;exports.JobErrorCode = JobErrorCode;exports.JobInputFormat = JobInputFormat;exports.JobOutputFormat = JobOutputFormat;exports.JobStatus = JobStatus;exports.ListDevicePositionsCommand = ListDevicePositionsCommand;exports.ListGeofenceCollectionsCommand = ListGeofenceCollectionsCommand;exports.ListGeofencesCommand = ListGeofencesCommand;exports.ListJobsCommand = ListJobsCommand;exports.ListKeysCommand = ListKeysCommand;exports.ListMapsCommand = ListMapsCommand;exports.ListPlaceIndexesCommand = ListPlaceIndexesCommand;exports.ListRouteCalculatorsCommand = ListRouteCalculatorsCommand;exports.ListTagsForResourceCommand = ListTagsForResourceCommand;exports.ListTrackerConsumersCommand = ListTrackerConsumersCommand;exports.ListTrackersCommand = ListTrackersCommand;exports.Location = Location;exports.LocationClient = LocationClient;exports.PutGeofenceCommand = PutGeofenceCommand;exports.SearchPlaceIndexForPositionCommand = SearchPlaceIndexForPositionCommand;exports.SearchPlaceIndexForSuggestionsCommand = SearchPlaceIndexForSuggestionsCommand;exports.SearchPlaceIndexForTextCommand = SearchPlaceIndexForTextCommand;exports.StartJobCommand = StartJobCommand;exports.TagResourceCommand = TagResourceCommand;exports.UntagResourceCommand = UntagResourceCommand;exports.UpdateGeofenceCollectionCommand = UpdateGeofenceCollectionCommand;exports.UpdateKeyCommand = UpdateKeyCommand;exports.UpdateMapCommand = UpdateMapCommand;exports.UpdatePlaceIndexCommand = UpdatePlaceIndexCommand;exports.UpdateRouteCalculatorCommand = UpdateRouteCalculatorCommand;exports.UpdateTrackerCommand = UpdateTrackerCommand;exports.ValidateAddressAdditionalFeature = ValidateAddressAdditionalFeature;exports.VerifyDevicePositionCommand = VerifyDevicePositionCommand;exports.paginateForecastGeofenceEvents = paginateForecastGeofenceEvents;exports.paginateGetDevicePositionHistory = paginateGetDevicePositionHistory;exports.paginateListDevicePositions = paginateListDevicePositions;exports.paginateListGeofenceCollections = paginateListGeofenceCollections;exports.paginateListGeofences = paginateListGeofences;exports.paginateListJobs = paginateListJobs;exports.paginateListKeys = paginateListKeys;exports.paginateListMaps = paginateListMaps;exports.paginateListPlaceIndexes = paginateListPlaceIndexes;exports.paginateListRouteCalculators = paginateListRouteCalculators;exports.paginateListTrackerConsumers = paginateListTrackerConsumers;exports.paginateListTrackers = paginateListTrackers;exports.waitForJobCompleted = waitForJobCompleted;exports.waitUntilJobCompleted = waitUntilJobCompleted;Object.prototype.hasOwnProperty.call(schemas_0, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: schemas_0['__proto__'] }); Object.keys(schemas_0).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];});Object.prototype.hasOwnProperty.call(errors, '__proto__') && !Object.prototype.hasOwnProperty.call(exports, '__proto__') && Object.defineProperty(exports, '__proto__', { enumerable: true, value: errors['__proto__'] }); Object.keys(errors).forEach(function (k) { if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];});