@aws-sdk/client-location 3.35.0 → 3.38.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.
- package/CHANGELOG.md +48 -0
- package/dist-cjs/Location.js +0 -4
- package/dist-cjs/LocationClient.js +0 -9
- package/dist-cjs/commands/AssociateTrackerConsumerCommand.js +0 -31
- package/dist-cjs/commands/BatchDeleteDevicePositionHistoryCommand.js +0 -25
- package/dist-cjs/commands/BatchDeleteGeofenceCommand.js +0 -28
- package/dist-cjs/commands/BatchEvaluateGeofencesCommand.js +0 -45
- package/dist-cjs/commands/BatchGetDevicePositionCommand.js +0 -25
- package/dist-cjs/commands/BatchPutGeofenceCommand.js +0 -26
- package/dist-cjs/commands/BatchUpdateDevicePositionCommand.js +0 -31
- package/dist-cjs/commands/CalculateRouteCommand.js +0 -55
- package/dist-cjs/commands/CreateGeofenceCollectionCommand.js +0 -25
- package/dist-cjs/commands/CreateMapCommand.js +0 -26
- package/dist-cjs/commands/CreatePlaceIndexCommand.js +0 -26
- package/dist-cjs/commands/CreateRouteCalculatorCommand.js +0 -28
- package/dist-cjs/commands/CreateTrackerCommand.js +0 -26
- package/dist-cjs/commands/DeleteGeofenceCollectionCommand.js +0 -29
- package/dist-cjs/commands/DeleteMapCommand.js +0 -29
- package/dist-cjs/commands/DeletePlaceIndexCommand.js +0 -28
- package/dist-cjs/commands/DeleteRouteCalculatorCommand.js +0 -28
- package/dist-cjs/commands/DeleteTrackerCommand.js +0 -30
- package/dist-cjs/commands/DescribeGeofenceCollectionCommand.js +0 -25
- package/dist-cjs/commands/DescribeMapCommand.js +0 -25
- package/dist-cjs/commands/DescribePlaceIndexCommand.js +0 -25
- package/dist-cjs/commands/DescribeRouteCalculatorCommand.js +0 -25
- package/dist-cjs/commands/DescribeTrackerCommand.js +0 -25
- package/dist-cjs/commands/DisassociateTrackerConsumerCommand.js +0 -29
- package/dist-cjs/commands/GetDevicePositionCommand.js +0 -28
- package/dist-cjs/commands/GetDevicePositionHistoryCommand.js +0 -29
- package/dist-cjs/commands/GetGeofenceCommand.js +0 -25
- package/dist-cjs/commands/GetMapGlyphsCommand.js +0 -25
- package/dist-cjs/commands/GetMapSpritesCommand.js +0 -27
- package/dist-cjs/commands/GetMapStyleDescriptorCommand.js +0 -28
- package/dist-cjs/commands/GetMapTileCommand.js +0 -30
- package/dist-cjs/commands/ListDevicePositionsCommand.js +0 -25
- package/dist-cjs/commands/ListGeofenceCollectionsCommand.js +0 -25
- package/dist-cjs/commands/ListGeofencesCommand.js +0 -25
- package/dist-cjs/commands/ListMapsCommand.js +0 -25
- package/dist-cjs/commands/ListPlaceIndexesCommand.js +0 -25
- package/dist-cjs/commands/ListRouteCalculatorsCommand.js +0 -25
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
- package/dist-cjs/commands/ListTrackerConsumersCommand.js +0 -25
- package/dist-cjs/commands/ListTrackersCommand.js +0 -25
- package/dist-cjs/commands/PutGeofenceCommand.js +0 -26
- package/dist-cjs/commands/SearchPlaceIndexForPositionCommand.js +0 -26
- package/dist-cjs/commands/SearchPlaceIndexForTextCommand.js +0 -33
- package/dist-cjs/commands/TagResourceCommand.js +0 -38
- package/dist-cjs/commands/UntagResourceCommand.js +0 -25
- package/dist-cjs/commands/UpdateGeofenceCollectionCommand.js +0 -25
- package/dist-cjs/commands/UpdateMapCommand.js +0 -25
- package/dist-cjs/commands/UpdatePlaceIndexCommand.js +0 -25
- package/dist-cjs/commands/UpdateRouteCalculatorCommand.js +0 -25
- package/dist-cjs/commands/UpdateTrackerCommand.js +0 -25
- package/dist-cjs/commands/index.js +53 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -63
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -430
- package/dist-cjs/pagination/GetDevicePositionHistoryPaginator.js +0 -11
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListDevicePositionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListGeofenceCollectionsPaginator.js +0 -11
- package/dist-cjs/pagination/ListGeofencesPaginator.js +0 -11
- package/dist-cjs/pagination/ListMapsPaginator.js +0 -11
- package/dist-cjs/pagination/ListPlaceIndexesPaginator.js +0 -11
- package/dist-cjs/pagination/ListRouteCalculatorsPaginator.js +0 -11
- package/dist-cjs/pagination/ListTrackerConsumersPaginator.js +0 -11
- package/dist-cjs/pagination/ListTrackersPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_restJson1.js +8 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/Location.js +0 -1
- package/dist-es/LocationClient.js +0 -1
- package/dist-es/commands/AssociateTrackerConsumerCommand.js +0 -1
- package/dist-es/commands/BatchDeleteDevicePositionHistoryCommand.js +0 -1
- package/dist-es/commands/BatchDeleteGeofenceCommand.js +0 -1
- package/dist-es/commands/BatchEvaluateGeofencesCommand.js +0 -1
- package/dist-es/commands/BatchGetDevicePositionCommand.js +0 -1
- package/dist-es/commands/BatchPutGeofenceCommand.js +0 -1
- package/dist-es/commands/BatchUpdateDevicePositionCommand.js +0 -1
- package/dist-es/commands/CalculateRouteCommand.js +0 -1
- package/dist-es/commands/CreateGeofenceCollectionCommand.js +0 -1
- package/dist-es/commands/CreateMapCommand.js +0 -1
- package/dist-es/commands/CreatePlaceIndexCommand.js +0 -1
- package/dist-es/commands/CreateRouteCalculatorCommand.js +0 -1
- package/dist-es/commands/CreateTrackerCommand.js +0 -1
- package/dist-es/commands/DeleteGeofenceCollectionCommand.js +0 -1
- package/dist-es/commands/DeleteMapCommand.js +0 -1
- package/dist-es/commands/DeletePlaceIndexCommand.js +0 -1
- package/dist-es/commands/DeleteRouteCalculatorCommand.js +0 -1
- package/dist-es/commands/DeleteTrackerCommand.js +0 -1
- package/dist-es/commands/DescribeGeofenceCollectionCommand.js +0 -1
- package/dist-es/commands/DescribeMapCommand.js +0 -1
- package/dist-es/commands/DescribePlaceIndexCommand.js +0 -1
- package/dist-es/commands/DescribeRouteCalculatorCommand.js +0 -1
- package/dist-es/commands/DescribeTrackerCommand.js +0 -1
- package/dist-es/commands/DisassociateTrackerConsumerCommand.js +0 -1
- package/dist-es/commands/GetDevicePositionCommand.js +0 -1
- package/dist-es/commands/GetDevicePositionHistoryCommand.js +0 -1
- package/dist-es/commands/GetGeofenceCommand.js +0 -1
- package/dist-es/commands/GetMapGlyphsCommand.js +0 -1
- package/dist-es/commands/GetMapSpritesCommand.js +0 -1
- package/dist-es/commands/GetMapStyleDescriptorCommand.js +0 -1
- package/dist-es/commands/GetMapTileCommand.js +0 -1
- package/dist-es/commands/ListDevicePositionsCommand.js +0 -1
- package/dist-es/commands/ListGeofenceCollectionsCommand.js +0 -1
- package/dist-es/commands/ListGeofencesCommand.js +0 -1
- package/dist-es/commands/ListMapsCommand.js +0 -1
- package/dist-es/commands/ListPlaceIndexesCommand.js +0 -1
- package/dist-es/commands/ListRouteCalculatorsCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/ListTrackerConsumersCommand.js +0 -1
- package/dist-es/commands/ListTrackersCommand.js +0 -1
- package/dist-es/commands/PutGeofenceCommand.js +0 -1
- package/dist-es/commands/SearchPlaceIndexForPositionCommand.js +0 -1
- package/dist-es/commands/SearchPlaceIndexForTextCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateGeofenceCollectionCommand.js +0 -1
- package/dist-es/commands/UpdateMapCommand.js +0 -1
- package/dist-es/commands/UpdatePlaceIndexCommand.js +0 -1
- package/dist-es/commands/UpdateRouteCalculatorCommand.js +0 -1
- package/dist-es/commands/UpdateTrackerCommand.js +0 -1
- package/dist-es/commands/index.js +50 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -63
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/GetDevicePositionHistoryPaginator.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListDevicePositionsPaginator.js +0 -1
- package/dist-es/pagination/ListGeofenceCollectionsPaginator.js +0 -1
- package/dist-es/pagination/ListGeofencesPaginator.js +0 -1
- package/dist-es/pagination/ListMapsPaginator.js +0 -1
- package/dist-es/pagination/ListPlaceIndexesPaginator.js +0 -1
- package/dist-es/pagination/ListRouteCalculatorsPaginator.js +0 -1
- package/dist-es/pagination/ListTrackerConsumersPaginator.js +0 -1
- package/dist-es/pagination/ListTrackersPaginator.js +0 -1
- package/dist-es/pagination/index.js +10 -0
- package/dist-es/protocols/Aws_restJson1.js +8 -3
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/Location.d.ts +8 -4
- package/dist-types/commands/BatchUpdateDevicePositionCommand.d.ts +8 -4
- package/dist-types/commands/index.d.ts +50 -0
- package/dist-types/index.d.ts +4 -62
- package/dist-types/models/models_0.d.ts +82 -42
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/Location.d.ts +51 -288
- package/dist-types/ts3.4/LocationClient.d.ts +24 -89
- package/dist-types/ts3.4/commands/AssociateTrackerConsumerCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/BatchDeleteDevicePositionHistoryCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchDeleteGeofenceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/BatchEvaluateGeofencesCommand.d.ts +2 -40
- package/dist-types/ts3.4/commands/BatchGetDevicePositionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/BatchPutGeofenceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/BatchUpdateDevicePositionCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/CalculateRouteCommand.d.ts +2 -50
- package/dist-types/ts3.4/commands/CreateGeofenceCollectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/CreateMapCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreatePlaceIndexCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateRouteCalculatorCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateTrackerCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteGeofenceCollectionCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeleteMapCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/DeletePlaceIndexCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteRouteCalculatorCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/DeleteTrackerCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeGeofenceCollectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeMapCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribePlaceIndexCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeRouteCalculatorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeTrackerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DisassociateTrackerConsumerCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetDevicePositionCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetDevicePositionHistoryCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/GetGeofenceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetMapGlyphsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/GetMapSpritesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/GetMapStyleDescriptorCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/GetMapTileCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/ListDevicePositionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGeofenceCollectionsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListGeofencesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListMapsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListPlaceIndexesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListRouteCalculatorsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTrackerConsumersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTrackersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/PutGeofenceCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/SearchPlaceIndexForPositionCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/SearchPlaceIndexForTextCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateGeofenceCollectionCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateMapCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdatePlaceIndexCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateRouteCalculatorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateTrackerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/index.d.ts +50 -0
- package/dist-types/ts3.4/index.d.ts +4 -62
- package/dist-types/ts3.4/models/models_0.d.ts +584 -3062
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +33 -30
- package/dist-cjs/Location.js.map +0 -1
- package/dist-cjs/LocationClient.js.map +0 -1
- package/dist-cjs/commands/AssociateTrackerConsumerCommand.js.map +0 -1
- package/dist-cjs/commands/BatchDeleteDevicePositionHistoryCommand.js.map +0 -1
- package/dist-cjs/commands/BatchDeleteGeofenceCommand.js.map +0 -1
- package/dist-cjs/commands/BatchEvaluateGeofencesCommand.js.map +0 -1
- package/dist-cjs/commands/BatchGetDevicePositionCommand.js.map +0 -1
- package/dist-cjs/commands/BatchPutGeofenceCommand.js.map +0 -1
- package/dist-cjs/commands/BatchUpdateDevicePositionCommand.js.map +0 -1
- package/dist-cjs/commands/CalculateRouteCommand.js.map +0 -1
- package/dist-cjs/commands/CreateGeofenceCollectionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateMapCommand.js.map +0 -1
- package/dist-cjs/commands/CreatePlaceIndexCommand.js.map +0 -1
- package/dist-cjs/commands/CreateRouteCalculatorCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTrackerCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteGeofenceCollectionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteMapCommand.js.map +0 -1
- package/dist-cjs/commands/DeletePlaceIndexCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteRouteCalculatorCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTrackerCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeGeofenceCollectionCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeMapCommand.js.map +0 -1
- package/dist-cjs/commands/DescribePlaceIndexCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeRouteCalculatorCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTrackerCommand.js.map +0 -1
- package/dist-cjs/commands/DisassociateTrackerConsumerCommand.js.map +0 -1
- package/dist-cjs/commands/GetDevicePositionCommand.js.map +0 -1
- package/dist-cjs/commands/GetDevicePositionHistoryCommand.js.map +0 -1
- package/dist-cjs/commands/GetGeofenceCommand.js.map +0 -1
- package/dist-cjs/commands/GetMapGlyphsCommand.js.map +0 -1
- package/dist-cjs/commands/GetMapSpritesCommand.js.map +0 -1
- package/dist-cjs/commands/GetMapStyleDescriptorCommand.js.map +0 -1
- package/dist-cjs/commands/GetMapTileCommand.js.map +0 -1
- package/dist-cjs/commands/ListDevicePositionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListGeofenceCollectionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListGeofencesCommand.js.map +0 -1
- package/dist-cjs/commands/ListMapsCommand.js.map +0 -1
- package/dist-cjs/commands/ListPlaceIndexesCommand.js.map +0 -1
- package/dist-cjs/commands/ListRouteCalculatorsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/ListTrackerConsumersCommand.js.map +0 -1
- package/dist-cjs/commands/ListTrackersCommand.js.map +0 -1
- package/dist-cjs/commands/PutGeofenceCommand.js.map +0 -1
- package/dist-cjs/commands/SearchPlaceIndexForPositionCommand.js.map +0 -1
- package/dist-cjs/commands/SearchPlaceIndexForTextCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateGeofenceCollectionCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateMapCommand.js.map +0 -1
- package/dist-cjs/commands/UpdatePlaceIndexCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateRouteCalculatorCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateTrackerCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/GetDevicePositionHistoryPaginator.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListDevicePositionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListGeofenceCollectionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListGeofencesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListMapsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListPlaceIndexesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListRouteCalculatorsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTrackerConsumersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTrackersPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/Location.js.map +0 -1
- package/dist-es/LocationClient.js.map +0 -1
- package/dist-es/commands/AssociateTrackerConsumerCommand.js.map +0 -1
- package/dist-es/commands/BatchDeleteDevicePositionHistoryCommand.js.map +0 -1
- package/dist-es/commands/BatchDeleteGeofenceCommand.js.map +0 -1
- package/dist-es/commands/BatchEvaluateGeofencesCommand.js.map +0 -1
- package/dist-es/commands/BatchGetDevicePositionCommand.js.map +0 -1
- package/dist-es/commands/BatchPutGeofenceCommand.js.map +0 -1
- package/dist-es/commands/BatchUpdateDevicePositionCommand.js.map +0 -1
- package/dist-es/commands/CalculateRouteCommand.js.map +0 -1
- package/dist-es/commands/CreateGeofenceCollectionCommand.js.map +0 -1
- package/dist-es/commands/CreateMapCommand.js.map +0 -1
- package/dist-es/commands/CreatePlaceIndexCommand.js.map +0 -1
- package/dist-es/commands/CreateRouteCalculatorCommand.js.map +0 -1
- package/dist-es/commands/CreateTrackerCommand.js.map +0 -1
- package/dist-es/commands/DeleteGeofenceCollectionCommand.js.map +0 -1
- package/dist-es/commands/DeleteMapCommand.js.map +0 -1
- package/dist-es/commands/DeletePlaceIndexCommand.js.map +0 -1
- package/dist-es/commands/DeleteRouteCalculatorCommand.js.map +0 -1
- package/dist-es/commands/DeleteTrackerCommand.js.map +0 -1
- package/dist-es/commands/DescribeGeofenceCollectionCommand.js.map +0 -1
- package/dist-es/commands/DescribeMapCommand.js.map +0 -1
- package/dist-es/commands/DescribePlaceIndexCommand.js.map +0 -1
- package/dist-es/commands/DescribeRouteCalculatorCommand.js.map +0 -1
- package/dist-es/commands/DescribeTrackerCommand.js.map +0 -1
- package/dist-es/commands/DisassociateTrackerConsumerCommand.js.map +0 -1
- package/dist-es/commands/GetDevicePositionCommand.js.map +0 -1
- package/dist-es/commands/GetDevicePositionHistoryCommand.js.map +0 -1
- package/dist-es/commands/GetGeofenceCommand.js.map +0 -1
- package/dist-es/commands/GetMapGlyphsCommand.js.map +0 -1
- package/dist-es/commands/GetMapSpritesCommand.js.map +0 -1
- package/dist-es/commands/GetMapStyleDescriptorCommand.js.map +0 -1
- package/dist-es/commands/GetMapTileCommand.js.map +0 -1
- package/dist-es/commands/ListDevicePositionsCommand.js.map +0 -1
- package/dist-es/commands/ListGeofenceCollectionsCommand.js.map +0 -1
- package/dist-es/commands/ListGeofencesCommand.js.map +0 -1
- package/dist-es/commands/ListMapsCommand.js.map +0 -1
- package/dist-es/commands/ListPlaceIndexesCommand.js.map +0 -1
- package/dist-es/commands/ListRouteCalculatorsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/ListTrackerConsumersCommand.js.map +0 -1
- package/dist-es/commands/ListTrackersCommand.js.map +0 -1
- package/dist-es/commands/PutGeofenceCommand.js.map +0 -1
- package/dist-es/commands/SearchPlaceIndexForPositionCommand.js.map +0 -1
- package/dist-es/commands/SearchPlaceIndexForTextCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateGeofenceCollectionCommand.js.map +0 -1
- package/dist-es/commands/UpdateMapCommand.js.map +0 -1
- package/dist-es/commands/UpdatePlaceIndexCommand.js.map +0 -1
- package/dist-es/commands/UpdateRouteCalculatorCommand.js.map +0 -1
- package/dist-es/commands/UpdateTrackerCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/GetDevicePositionHistoryPaginator.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListDevicePositionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListGeofenceCollectionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListGeofencesPaginator.js.map +0 -1
- package/dist-es/pagination/ListMapsPaginator.js.map +0 -1
- package/dist-es/pagination/ListPlaceIndexesPaginator.js.map +0 -1
- package/dist-es/pagination/ListRouteCalculatorsPaginator.js.map +0 -1
- package/dist-es/pagination/ListTrackerConsumersPaginator.js.map +0 -1
- package/dist-es/pagination/ListTrackersPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Location.ts +0 -1897
- package/src/LocationClient.ts +0 -458
- package/src/commands/AssociateTrackerConsumerCommand.ts +0 -101
- package/src/commands/BatchDeleteDevicePositionHistoryCommand.ts +0 -103
- package/src/commands/BatchDeleteGeofenceCommand.ts +0 -98
- package/src/commands/BatchEvaluateGeofencesCommand.ts +0 -115
- package/src/commands/BatchGetDevicePositionCommand.ts +0 -95
- package/src/commands/BatchPutGeofenceCommand.ts +0 -96
- package/src/commands/BatchUpdateDevicePositionCommand.ts +0 -104
- package/src/commands/CalculateRouteCommand.ts +0 -125
- package/src/commands/CreateGeofenceCollectionCommand.ts +0 -95
- package/src/commands/CreateMapCommand.ts +0 -96
- package/src/commands/CreatePlaceIndexCommand.ts +0 -96
- package/src/commands/CreateRouteCalculatorCommand.ts +0 -98
- package/src/commands/CreateTrackerCommand.ts +0 -96
- package/src/commands/DeleteGeofenceCollectionCommand.ts +0 -99
- package/src/commands/DeleteMapCommand.ts +0 -99
- package/src/commands/DeletePlaceIndexCommand.ts +0 -98
- package/src/commands/DeleteRouteCalculatorCommand.ts +0 -98
- package/src/commands/DeleteTrackerCommand.ts +0 -100
- package/src/commands/DescribeGeofenceCollectionCommand.ts +0 -98
- package/src/commands/DescribeMapCommand.ts +0 -95
- package/src/commands/DescribePlaceIndexCommand.ts +0 -95
- package/src/commands/DescribeRouteCalculatorCommand.ts +0 -95
- package/src/commands/DescribeTrackerCommand.ts +0 -95
- package/src/commands/DisassociateTrackerConsumerCommand.ts +0 -104
- package/src/commands/GetDevicePositionCommand.ts +0 -98
- package/src/commands/GetDevicePositionHistoryCommand.ts +0 -99
- package/src/commands/GetGeofenceCommand.ts +0 -95
- package/src/commands/GetMapGlyphsCommand.ts +0 -95
- package/src/commands/GetMapSpritesCommand.ts +0 -97
- package/src/commands/GetMapStyleDescriptorCommand.ts +0 -98
- package/src/commands/GetMapTileCommand.ts +0 -100
- package/src/commands/ListDevicePositionsCommand.ts +0 -95
- package/src/commands/ListGeofenceCollectionsCommand.ts +0 -95
- package/src/commands/ListGeofencesCommand.ts +0 -95
- package/src/commands/ListMapsCommand.ts +0 -95
- package/src/commands/ListPlaceIndexesCommand.ts +0 -95
- package/src/commands/ListRouteCalculatorsCommand.ts +0 -95
- package/src/commands/ListTagsForResourceCommand.ts +0 -95
- package/src/commands/ListTrackerConsumersCommand.ts +0 -95
- package/src/commands/ListTrackersCommand.ts +0 -95
- package/src/commands/PutGeofenceCommand.ts +0 -96
- package/src/commands/SearchPlaceIndexForPositionCommand.ts +0 -101
- package/src/commands/SearchPlaceIndexForTextCommand.ts +0 -103
- package/src/commands/TagResourceCommand.ts +0 -108
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateGeofenceCollectionCommand.ts +0 -95
- package/src/commands/UpdateMapCommand.ts +0 -95
- package/src/commands/UpdatePlaceIndexCommand.ts +0 -95
- package/src/commands/UpdateRouteCalculatorCommand.ts +0 -95
- package/src/commands/UpdateTrackerCommand.ts +0 -95
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -63
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -5096
- package/src/pagination/GetDevicePositionHistoryPaginator.ts +0 -58
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListDevicePositionsPaginator.ts +0 -59
- package/src/pagination/ListGeofenceCollectionsPaginator.ts +0 -59
- package/src/pagination/ListGeofencesPaginator.ts +0 -58
- package/src/pagination/ListMapsPaginator.ts +0 -55
- package/src/pagination/ListPlaceIndexesPaginator.ts +0 -59
- package/src/pagination/ListRouteCalculatorsPaginator.ts +0 -59
- package/src/pagination/ListTrackerConsumersPaginator.ts +0 -59
- package/src/pagination/ListTrackersPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -8120
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
15
|
-
import { ListRouteCalculatorsRequest, ListRouteCalculatorsResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListRouteCalculatorsCommand,
|
|
18
|
-
serializeAws_restJson1ListRouteCalculatorsCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListRouteCalculatorsCommandInput extends ListRouteCalculatorsRequest {}
|
|
22
|
-
export interface ListRouteCalculatorsCommandOutput extends ListRouteCalculatorsResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists route calculator resources in your AWS account.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { LocationClient, ListRouteCalculatorsCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
30
|
-
* // const { LocationClient, ListRouteCalculatorsCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
31
|
-
* const client = new LocationClient(config);
|
|
32
|
-
* const command = new ListRouteCalculatorsCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListRouteCalculatorsCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListRouteCalculatorsCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListRouteCalculatorsCommand extends $Command<
|
|
42
|
-
ListRouteCalculatorsCommandInput,
|
|
43
|
-
ListRouteCalculatorsCommandOutput,
|
|
44
|
-
LocationClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListRouteCalculatorsCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: LocationClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListRouteCalculatorsCommandInput, ListRouteCalculatorsCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "LocationClient";
|
|
69
|
-
const commandName = "ListRouteCalculatorsCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListRouteCalculatorsRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListRouteCalculatorsResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListRouteCalculatorsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListRouteCalculatorsCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListRouteCalculatorsCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListRouteCalculatorsCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
15
|
-
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListTagsForResourceCommand,
|
|
18
|
-
serializeAws_restJson1ListTagsForResourceCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
|
|
22
|
-
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns a list of tags that are applied to the specified Amazon Location resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { LocationClient, ListTagsForResourceCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
30
|
-
* // const { LocationClient, ListTagsForResourceCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
31
|
-
* const client = new LocationClient(config);
|
|
32
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListTagsForResourceCommand extends $Command<
|
|
42
|
-
ListTagsForResourceCommandInput,
|
|
43
|
-
ListTagsForResourceCommandOutput,
|
|
44
|
-
LocationClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListTagsForResourceCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: LocationClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "LocationClient";
|
|
69
|
-
const commandName = "ListTagsForResourceCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListTagsForResourceCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListTagsForResourceCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
15
|
-
import { ListTrackerConsumersRequest, ListTrackerConsumersResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListTrackerConsumersCommand,
|
|
18
|
-
serializeAws_restJson1ListTrackerConsumersCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListTrackerConsumersCommandInput extends ListTrackerConsumersRequest {}
|
|
22
|
-
export interface ListTrackerConsumersCommandOutput extends ListTrackerConsumersResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists geofence collections currently associated to the given tracker resource.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { LocationClient, ListTrackerConsumersCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
30
|
-
* // const { LocationClient, ListTrackerConsumersCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
31
|
-
* const client = new LocationClient(config);
|
|
32
|
-
* const command = new ListTrackerConsumersCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListTrackerConsumersCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListTrackerConsumersCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListTrackerConsumersCommand extends $Command<
|
|
42
|
-
ListTrackerConsumersCommandInput,
|
|
43
|
-
ListTrackerConsumersCommandOutput,
|
|
44
|
-
LocationClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListTrackerConsumersCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: LocationClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListTrackerConsumersCommandInput, ListTrackerConsumersCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "LocationClient";
|
|
69
|
-
const commandName = "ListTrackerConsumersCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListTrackerConsumersRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListTrackerConsumersResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListTrackerConsumersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListTrackerConsumersCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTrackerConsumersCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListTrackerConsumersCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
15
|
-
import { ListTrackersRequest, ListTrackersResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListTrackersCommand,
|
|
18
|
-
serializeAws_restJson1ListTrackersCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListTrackersCommandInput extends ListTrackersRequest {}
|
|
22
|
-
export interface ListTrackersCommandOutput extends ListTrackersResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Lists tracker resources in your AWS account.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { LocationClient, ListTrackersCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
30
|
-
* // const { LocationClient, ListTrackersCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
31
|
-
* const client = new LocationClient(config);
|
|
32
|
-
* const command = new ListTrackersCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link ListTrackersCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link ListTrackersCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class ListTrackersCommand extends $Command<
|
|
42
|
-
ListTrackersCommandInput,
|
|
43
|
-
ListTrackersCommandOutput,
|
|
44
|
-
LocationClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: ListTrackersCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: LocationClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<ListTrackersCommandInput, ListTrackersCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "LocationClient";
|
|
69
|
-
const commandName = "ListTrackersCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: ListTrackersRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: ListTrackersResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: ListTrackersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1ListTrackersCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTrackersCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1ListTrackersCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
15
|
-
import { PutGeofenceRequest, PutGeofenceResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1PutGeofenceCommand,
|
|
18
|
-
serializeAws_restJson1PutGeofenceCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface PutGeofenceCommandInput extends PutGeofenceRequest {}
|
|
22
|
-
export interface PutGeofenceCommandOutput extends PutGeofenceResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Stores a geofence geometry in a given geofence collection, or updates the geometry of
|
|
26
|
-
* an existing geofence if a geofence ID is included in the request. </p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LocationClient, PutGeofenceCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
31
|
-
* // const { LocationClient, PutGeofenceCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
32
|
-
* const client = new LocationClient(config);
|
|
33
|
-
* const command = new PutGeofenceCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link PutGeofenceCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link PutGeofenceCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class PutGeofenceCommand extends $Command<
|
|
43
|
-
PutGeofenceCommandInput,
|
|
44
|
-
PutGeofenceCommandOutput,
|
|
45
|
-
LocationClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: PutGeofenceCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: LocationClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<PutGeofenceCommandInput, PutGeofenceCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "LocationClient";
|
|
70
|
-
const commandName = "PutGeofenceCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: PutGeofenceRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: PutGeofenceResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: PutGeofenceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1PutGeofenceCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutGeofenceCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1PutGeofenceCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
15
|
-
import { SearchPlaceIndexForPositionRequest, SearchPlaceIndexForPositionResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1SearchPlaceIndexForPositionCommand,
|
|
18
|
-
serializeAws_restJson1SearchPlaceIndexForPositionCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface SearchPlaceIndexForPositionCommandInput extends SearchPlaceIndexForPositionRequest {}
|
|
22
|
-
export interface SearchPlaceIndexForPositionCommandOutput
|
|
23
|
-
extends SearchPlaceIndexForPositionResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Reverse geocodes a given coordinate and returns a legible address. Allows you to search
|
|
28
|
-
* for Places or points of interest near a given position.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { LocationClient, SearchPlaceIndexForPositionCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
33
|
-
* // const { LocationClient, SearchPlaceIndexForPositionCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
34
|
-
* const client = new LocationClient(config);
|
|
35
|
-
* const command = new SearchPlaceIndexForPositionCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link SearchPlaceIndexForPositionCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link SearchPlaceIndexForPositionCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class SearchPlaceIndexForPositionCommand extends $Command<
|
|
45
|
-
SearchPlaceIndexForPositionCommandInput,
|
|
46
|
-
SearchPlaceIndexForPositionCommandOutput,
|
|
47
|
-
LocationClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: SearchPlaceIndexForPositionCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: LocationClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<SearchPlaceIndexForPositionCommandInput, SearchPlaceIndexForPositionCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "LocationClient";
|
|
72
|
-
const commandName = "SearchPlaceIndexForPositionCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: SearchPlaceIndexForPositionRequest.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: SearchPlaceIndexForPositionResponse.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: SearchPlaceIndexForPositionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_restJson1SearchPlaceIndexForPositionCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(
|
|
93
|
-
output: __HttpResponse,
|
|
94
|
-
context: __SerdeContext
|
|
95
|
-
): Promise<SearchPlaceIndexForPositionCommandOutput> {
|
|
96
|
-
return deserializeAws_restJson1SearchPlaceIndexForPositionCommand(output, context);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
// Start section: command_body_extra
|
|
100
|
-
// End section: command_body_extra
|
|
101
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LocationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LocationClient";
|
|
15
|
-
import { SearchPlaceIndexForTextRequest, SearchPlaceIndexForTextResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1SearchPlaceIndexForTextCommand,
|
|
18
|
-
serializeAws_restJson1SearchPlaceIndexForTextCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface SearchPlaceIndexForTextCommandInput extends SearchPlaceIndexForTextRequest {}
|
|
22
|
-
export interface SearchPlaceIndexForTextCommandOutput extends SearchPlaceIndexForTextResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Geocodes free-form text, such as an address, name, city, or region to allow you to
|
|
26
|
-
* search for Places or points of interest. </p>
|
|
27
|
-
* <p>Includes the option to apply additional parameters to narrow your list of
|
|
28
|
-
* results.</p>
|
|
29
|
-
* <note>
|
|
30
|
-
* <p>You can search for places near a given position using <code>BiasPosition</code>, or
|
|
31
|
-
* filter results within a bounding box using <code>FilterBBox</code>. Providing both
|
|
32
|
-
* parameters simultaneously returns an error.</p>
|
|
33
|
-
* </note>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { LocationClient, SearchPlaceIndexForTextCommand } from "@aws-sdk/client-location"; // ES Modules import
|
|
38
|
-
* // const { LocationClient, SearchPlaceIndexForTextCommand } = require("@aws-sdk/client-location"); // CommonJS import
|
|
39
|
-
* const client = new LocationClient(config);
|
|
40
|
-
* const command = new SearchPlaceIndexForTextCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link SearchPlaceIndexForTextCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link SearchPlaceIndexForTextCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link LocationClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class SearchPlaceIndexForTextCommand extends $Command<
|
|
50
|
-
SearchPlaceIndexForTextCommandInput,
|
|
51
|
-
SearchPlaceIndexForTextCommandOutput,
|
|
52
|
-
LocationClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: SearchPlaceIndexForTextCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: LocationClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<SearchPlaceIndexForTextCommandInput, SearchPlaceIndexForTextCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "LocationClient";
|
|
77
|
-
const commandName = "SearchPlaceIndexForTextCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: SearchPlaceIndexForTextRequest.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: SearchPlaceIndexForTextResponse.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: SearchPlaceIndexForTextCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_restJson1SearchPlaceIndexForTextCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<SearchPlaceIndexForTextCommandOutput> {
|
|
98
|
-
return deserializeAws_restJson1SearchPlaceIndexForTextCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|