UNPKG

cdk-iam-floyd

Version:

AWS IAM policy statement generator with fluent interface for AWS CDK

1,047 lines 98.1 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Geo = void 0; const shared_1 = require("../../shared"); /** * Statement provider for service [geo](https://docs.aws.amazon.com/service-authorization/latest/reference/list_location.html). * * @param sid [SID](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_sid.html) of the statement */ class Geo extends shared_1.PolicyStatement { /** * Grants permission to create an association between a geofence-collection and a tracker resource * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_AssociateTrackerConsumer.html */ toAssociateTrackerConsumer() { return this.to('AssociateTrackerConsumer'); } /** * Grants permission to delete a batch of device position histories from a tracker resource * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_BatchDeleteDevicePositionHistory.html */ toBatchDeleteDevicePositionHistory() { return this.to('BatchDeleteDevicePositionHistory'); } /** * Grants permission to delete a batch of geofences from a geofence collection * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointGeofencing_BatchDeleteGeofence.html */ toBatchDeleteGeofence() { return this.to('BatchDeleteGeofence'); } /** * Grants permission to evaluate device positions against the position of geofences in a given geofence collection * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointGeofencing_BatchEvaluateGeofences.html */ toBatchEvaluateGeofences() { return this.to('BatchEvaluateGeofences'); } /** * Grants permission to send a batch request to retrieve device positions * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_BatchGetDevicePosition.html */ toBatchGetDevicePosition() { return this.to('BatchGetDevicePosition'); } /** * Grants permission to send a batch request for adding geofences into a given geofence collection * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointGeofencing_BatchPutGeofence.html */ toBatchPutGeofence() { return this.to('BatchPutGeofence'); } /** * Grants permission to upload a position update for one or more devices to a tracker resource * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_BatchUpdateDevicePosition.html */ toBatchUpdateDevicePosition() { return this.to('BatchUpdateDevicePosition'); } /** * Grants permission to calculate routes using a given route calculator resource * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_CalculateRoute.html */ toCalculateRoute() { return this.to('CalculateRoute'); } /** * Grants permission to calculate a route matrix using a given route calculator resource * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_CalculateRouteMatrix.html */ toCalculateRouteMatrix() { return this.to('CalculateRouteMatrix'); } /** * Grants permission to cancel a job * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_geojobs_CancelJob.html */ toCancelJob() { return this.to('CancelJob'); } /** * Grants permission to create a geofence-collection * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointGeofencing_CreateGeofenceCollection.html */ toCreateGeofenceCollection() { return this.to('CreateGeofenceCollection'); } /** * Grants permission to create an API key resource * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_geotags_CreateKey.html */ toCreateKey() { return this.to('CreateKey'); } /** * Grants permission to create a map resource * * Access Level: Write * * https://docs.aws.amazon.com/location/previous/APIReference/API_CreateMap.html */ toCreateMap() { return this.to('CreateMap'); } /** * Grants permission to create a place index resource * * Access Level: Write * * https://docs.aws.amazon.com/location/previous/APIReference/API_CreatePlaceIndex.html */ toCreatePlaceIndex() { return this.to('CreatePlaceIndex'); } /** * Grants permission to create a route calculator resource * * Access Level: Write * * https://docs.aws.amazon.com/location/previous/APIReference/API_CreateRouteCalculator.html */ toCreateRouteCalculator() { return this.to('CreateRouteCalculator'); } /** * Grants permission to create a tracker resource * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_CreateTracker.html */ toCreateTracker() { return this.to('CreateTracker'); } /** * Grants permission to delete a geofence-collection * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointGeofencing_DeleteGeofenceCollection.html */ toDeleteGeofenceCollection() { return this.to('DeleteGeofenceCollection'); } /** * Grants permission to delete an API key resource * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_geotags_DeleteKey.html */ toDeleteKey() { return this.to('DeleteKey'); } /** * Grants permission to delete a map resource * * Access Level: Write * * https://docs.aws.amazon.com/location/previous/APIReference/API_DeleteMap.html */ toDeleteMap() { return this.to('DeleteMap'); } /** * Grants permission to delete a place index resource * * Access Level: Write * * https://docs.aws.amazon.com/location/previous/APIReference/API_DeletePlaceIndex.html */ toDeletePlaceIndex() { return this.to('DeletePlaceIndex'); } /** * Grants permission to delete a route calculator resource * * Access Level: Write * * https://docs.aws.amazon.com/location/previous/APIReference/API_DeleteRouteCalculator.html */ toDeleteRouteCalculator() { return this.to('DeleteRouteCalculator'); } /** * Grants permission to delete a tracker resource * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_DeleteTracker.html */ toDeleteTracker() { return this.to('DeleteTracker'); } /** * Grants permission to retrieve geofence collection details * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointGeofencing_DescribeGeofenceCollection.html */ toDescribeGeofenceCollection() { return this.to('DescribeGeofenceCollection'); } /** * Grants permission to retrieve API key resource details and secret * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_geotags_DescribeKey.html */ toDescribeKey() { return this.to('DescribeKey'); } /** * Grants permission to retrieve map resource details * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_DescribeMap.html */ toDescribeMap() { return this.to('DescribeMap'); } /** * Grants permission to retrieve place-index resource details * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_DescribePlaceIndex.html */ toDescribePlaceIndex() { return this.to('DescribePlaceIndex'); } /** * Grants permission to retrieve route calculator resource details * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_DescribeRouteCalculator.html */ toDescribeRouteCalculator() { return this.to('DescribeRouteCalculator'); } /** * Grants permission to retrieve a tracker resource details * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_DescribeTracker.html */ toDescribeTracker() { return this.to('DescribeTracker'); } /** * Grants permission to remove the association between a tracker resource and a geofence-collection * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_DisassociateTrackerConsumer.html */ toDisassociateTrackerConsumer() { return this.to('DisassociateTrackerConsumer'); } /** * Grants permission to forecast events for geofences stored in a given geofence collection * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointGeofencing_ForecastGeofenceEvents.html */ toForecastGeofenceEvents() { return this.to('ForecastGeofenceEvents'); } /** * Grants permission to retrieve the latest device position * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_GetDevicePosition.html */ toGetDevicePosition() { return this.to('GetDevicePosition'); } /** * Grants permission to retrieve the device position history * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_GetDevicePositionHistory.html */ toGetDevicePositionHistory() { return this.to('GetDevicePositionHistory'); } /** * Grants permission to retrieve the geofence details from a geofence-collection * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointGeofencing_GetGeofence.html */ toGetGeofence() { return this.to('GetGeofence'); } /** * Grants permission to retrieve job details * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_geojobs_GetJob.html */ toGetJob() { return this.to('GetJob'); } /** * Grants permission to retrieve the glyph file for a map resource * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_GetMapGlyphs.html */ toGetMapGlyphs() { return this.to('GetMapGlyphs'); } /** * Grants permission to retrieve the sprite file for a map resource * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_GetMapSprites.html */ toGetMapSprites() { return this.to('GetMapSprites'); } /** * Grants permission to retrieve the map style descriptor from a map resource * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_GetMapStyleDescriptor.html */ toGetMapStyleDescriptor() { return this.to('GetMapStyleDescriptor'); } /** * Grants permission to retrieve the map tile from the map resource * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_GetMapTile.html */ toGetMapTile() { return this.to('GetMapTile'); } /** * Grants permission to find a place by its unique ID * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_GetPlace.html */ toGetPlace() { return this.to('GetPlace'); } /** * Grants permission to retrieve a list of devices and their latest positions from the given tracker resource * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_ListDevicePositions.html */ toListDevicePositions() { return this.to('ListDevicePositions'); } /** * Grants permission to lists geofence-collections * * Access Level: List * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointGeofencing_ListGeofenceCollections.html */ toListGeofenceCollections() { return this.to('ListGeofenceCollections'); } /** * Grants permission to list geofences stored in a given geofence collection * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointGeofencing_ListGeofences.html */ toListGeofences() { return this.to('ListGeofences'); } /** * Grants permission to list jobs * * Access Level: List * * https://docs.aws.amazon.com/location/latest/APIReference/API_geojobs_ListJobs.html */ toListJobs() { return this.to('ListJobs'); } /** * Grants permission to list API key resources * * Access Level: List * * https://docs.aws.amazon.com/location/latest/APIReference/API_geotags_ListKeys.html */ toListKeys() { return this.to('ListKeys'); } /** * Grants permission to list map resources * * Access Level: List * * https://docs.aws.amazon.com/location/previous/APIReference/API_ListMaps.html */ toListMaps() { return this.to('ListMaps'); } /** * Grants permission to return a list of place index resources * * Access Level: List * * https://docs.aws.amazon.com/location/previous/APIReference/API_ListPlaceIndexes.html */ toListPlaceIndexes() { return this.to('ListPlaceIndexes'); } /** * Grants permission to return a list of route calculator resources * * Access Level: List * * https://docs.aws.amazon.com/location/previous/APIReference/API_ListRouteCalculators.html */ toListRouteCalculators() { return this.to('ListRouteCalculators'); } /** * Grants permission to list the tags (metadata) which you have assigned to the resource * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_geotags_ListTagsForResource.html */ toListTagsForResource() { return this.to('ListTagsForResource'); } /** * Grants permission to retrieve a list of geofence collections currently associated to the given tracker resource * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_ListTrackerConsumers.html */ toListTrackerConsumers() { return this.to('ListTrackerConsumers'); } /** * Grants permission to return a list of tracker resources * * Access Level: List * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_ListTrackers.html */ toListTrackers() { return this.to('ListTrackers'); } /** * Grants permission to add a new geofence or update an existing geofence to a given geofence-collection * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointGeofencing_PutGeofence.html */ toPutGeofence() { return this.to('PutGeofence'); } /** * Grants permission to reverse geocodes a given coordinate * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_SearchPlaceIndexForPosition.html */ toSearchPlaceIndexForPosition() { return this.to('SearchPlaceIndexForPosition'); } /** * Grants permission to generate suggestions for addresses and points of interest based on partial or misspelled free-form text * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_SearchPlaceIndexForSuggestions.html */ toSearchPlaceIndexForSuggestions() { return this.to('SearchPlaceIndexForSuggestions'); } /** * Grants permission to geocode free-form text, such as an address, name, city or region * * Access Level: Read * * https://docs.aws.amazon.com/location/previous/APIReference/API_SearchPlaceIndexForText.html */ toSearchPlaceIndexForText() { return this.to('SearchPlaceIndexForText'); } /** * Grants permission to start a job * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_geojobs_StartJob.html */ toStartJob() { return this.to('StartJob'); } /** * Grants permission to adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource * * Access Level: Tagging, Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_geotags_TagResource.html */ toTagResource() { return this.to('TagResource'); } /** * Grants permission to remove the given tags (metadata) from the resource * * Access Level: Tagging, Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_geotags_UntagResource.html */ toUntagResource() { return this.to('UntagResource'); } /** * Grants permission to update a geofence collection * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointGeofencing_UpdateGeofenceCollection.html */ toUpdateGeofenceCollection() { return this.to('UpdateGeofenceCollection'); } /** * Grants permission to update an API key resource * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_geotags_UpdateKey.html */ toUpdateKey() { return this.to('UpdateKey'); } /** * Grants permission to update a map resource * * Access Level: Write * * https://docs.aws.amazon.com/location/previous/APIReference/API_UpdateMap.html */ toUpdateMap() { return this.to('UpdateMap'); } /** * Grants permission to update a place index resource * * Access Level: Write * * https://docs.aws.amazon.com/location/previous/APIReference/API_UpdatePlaceIndex.html */ toUpdatePlaceIndex() { return this.to('UpdatePlaceIndex'); } /** * Grants permission to update a route calculator resource * * Access Level: Write * * https://docs.aws.amazon.com/location/previous/APIReference/API_UpdateRouteCalculator.html */ toUpdateRouteCalculator() { return this.to('UpdateRouteCalculator'); } /** * Grants permission to update a tracker resource * * Access Level: Write * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_UpdateTracker.html */ toUpdateTracker() { return this.to('UpdateTracker'); } /** * Grants permission to verify a device position * * Access Level: Read * * https://docs.aws.amazon.com/location/latest/APIReference/API_WaypointTracking_VerifyDevicePosition.html */ toVerifyDevicePosition() { return this.to('VerifyDevicePosition'); } /** * Adds a resource of type api-key to the statement * * https://docs.aws.amazon.com/location/latest/developerguide/using-apikeys.html * * @param keyName - Identifier for the keyName. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onApiKey(keyName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:geo:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:api-key/${keyName}`); } /** * Adds a resource of type geofence-collection to the statement * * https://docs.aws.amazon.com/location/latest/developerguide/geofence-components.html * * @param geofenceCollectionName - Identifier for the geofenceCollectionName. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() * - .ifGeofenceIds() */ onGeofenceCollection(geofenceCollectionName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:geo:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:geofence-collection/${geofenceCollectionName}`); } /** * Adds a resource of type job to the statement * * https://docs.aws.amazon.com/location/latest/developerguide/jobs-concepts.html * * @param jobId - Identifier for the jobId. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onJob(jobId, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:geo:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:job/${jobId}`); } /** * Adds a resource of type map to the statement * * https://docs.aws.amazon.com/location/previous/developerguide/map-concepts.html * * @param mapName - Identifier for the mapName. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onMap(mapName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:geo:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:map/${mapName}`); } /** * Adds a resource of type place-index to the statement * * https://docs.aws.amazon.com/location/previous/developerguide/places-concepts.html * * @param indexName - Identifier for the indexName. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onPlaceIndex(indexName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:geo:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:place-index/${indexName}`); } /** * Adds a resource of type route-calculator to the statement * * https://docs.aws.amazon.com/location/previous/developerguide/route-concepts.html * * @param calculatorName - Identifier for the calculatorName. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() */ onRouteCalculator(calculatorName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:geo:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:route-calculator/${calculatorName}`); } /** * Adds a resource of type tracker to the statement * * https://docs.aws.amazon.com/location/latest/developerguide/tracking-components.html * * @param trackerName - Identifier for the trackerName. * @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account. * @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region. * @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition. * * Possible conditions: * - .ifAwsResourceTag() * - .ifDeviceIds() */ onTracker(trackerName, account, region, partition) { return this.on(`arn:${partition ?? this.defaultPartition}:geo:${region ?? this.defaultRegion}:${account ?? this.defaultAccount}:tracker/${trackerName}`); } /** * Filters access by a tag's key and value in a request * * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag * * Applies to actions: * - .toCreateGeofenceCollection() * - .toCreateKey() * - .toCreateMap() * - .toCreatePlaceIndex() * - .toCreateRouteCalculator() * - .toCreateTracker() * - .toStartJob() * - .toTagResource() * * @param tagKey The tag key to check * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifAwsRequestTag(tagKey, value, operator) { return this.if(`aws:RequestTag/${tagKey}`, value, operator ?? 'StringLike'); } /** * Filters access by the presence of tag key-value pairs in the request * * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag * * Applies to actions: * - .toAssociateTrackerConsumer() * - .toBatchDeleteDevicePositionHistory() * - .toBatchDeleteGeofence() * - .toBatchEvaluateGeofences() * - .toBatchGetDevicePosition() * - .toBatchPutGeofence() * - .toBatchUpdateDevicePosition() * - .toCalculateRoute() * - .toCalculateRouteMatrix() * - .toCancelJob() * - .toCreateGeofenceCollection() * - .toCreateKey() * - .toCreateMap() * - .toCreatePlaceIndex() * - .toCreateRouteCalculator() * - .toCreateTracker() * - .toDeleteGeofenceCollection() * - .toDeleteKey() * - .toDeleteMap() * - .toDeletePlaceIndex() * - .toDeleteRouteCalculator() * - .toDeleteTracker() * - .toDescribeGeofenceCollection() * - .toDescribeKey() * - .toDescribeMap() * - .toDescribePlaceIndex() * - .toDescribeRouteCalculator() * - .toDescribeTracker() * - .toDisassociateTrackerConsumer() * - .toForecastGeofenceEvents() * - .toGetDevicePosition() * - .toGetDevicePositionHistory() * - .toGetGeofence() * - .toGetJob() * - .toGetMapGlyphs() * - .toGetMapSprites() * - .toGetMapStyleDescriptor() * - .toGetMapTile() * - .toGetPlace() * - .toListDevicePositions() * - .toListGeofenceCollections() * - .toListGeofences() * - .toListJobs() * - .toListKeys() * - .toListMaps() * - .toListPlaceIndexes() * - .toListRouteCalculators() * - .toListTagsForResource() * - .toListTrackerConsumers() * - .toListTrackers() * - .toPutGeofence() * - .toSearchPlaceIndexForPosition() * - .toSearchPlaceIndexForSuggestions() * - .toSearchPlaceIndexForText() * - .toStartJob() * - .toTagResource() * - .toUntagResource() * - .toUpdateGeofenceCollection() * - .toUpdateKey() * - .toUpdateMap() * - .toUpdatePlaceIndex() * - .toUpdateRouteCalculator() * - .toUpdateTracker() * - .toVerifyDevicePosition() * * Applies to resource types: * - api-key * - geofence-collection * - job * - map * - place-index * - route-calculator * - tracker * * @param tagKey The tag key to check * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifAwsResourceTag(tagKey, value, operator) { return this.if(`aws:ResourceTag/${tagKey}`, value, operator ?? 'StringLike'); } /** * Filters access by the tag keys in a request * * https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys * * Applies to actions: * - .toCreateGeofenceCollection() * - .toCreateKey() * - .toCreateMap() * - .toCreatePlaceIndex() * - .toCreateRouteCalculator() * - .toCreateTracker() * - .toStartJob() * - .toTagResource() * - .toUntagResource() * * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifAwsTagKeys(value, operator) { return this.if(`aws:TagKeys`, value, operator ?? 'StringLike'); } /** * Filters access by the presence of device ids in the request * * https://docs.aws.amazon.com/location/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-conditionkeys * * Applies to actions: * - .toAssociateTrackerConsumer() * - .toBatchDeleteDevicePositionHistory() * - .toBatchGetDevicePosition() * - .toBatchUpdateDevicePosition() * - .toCreateTracker() * - .toDeleteTracker() * - .toDescribeTracker() * - .toDisassociateTrackerConsumer() * - .toGetDevicePosition() * - .toGetDevicePositionHistory() * - .toListDevicePositions() * - .toListTagsForResource() * - .toListTrackerConsumers() * - .toListTrackers() * - .toTagResource() * - .toUntagResource() * - .toUpdateTracker() * - .toVerifyDevicePosition() * * Applies to resource types: * - tracker * * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifDeviceIds(value, operator) { return this.if(`DeviceIds`, value, operator ?? 'StringLike'); } /** * Filters access by the presence of geofence ids in the request * * https://docs.aws.amazon.com/location/latest/developerguide/security_iam_service-with-iam.html#security_iam_service-with-iam-id-based-policies-conditionkeys * * Applies to actions: * - .toBatchDeleteGeofence() * - .toBatchEvaluateGeofences() * - .toBatchPutGeofence() * - .toCreateGeofenceCollection() * - .toDeleteGeofenceCollection() * - .toDescribeGeofenceCollection() * - .toForecastGeofenceEvents() * - .toGetGeofence() * - .toListGeofenceCollections() * - .toListGeofences() * - .toListTagsForResource() * - .toPutGeofence() * - .toTagResource() * - .toUntagResource() * - .toUpdateGeofenceCollection() * * Applies to resource types: * - geofence-collection * * @param value The value(s) to check * @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike` */ ifGeofenceIds(value, operator) { return this.if(`GeofenceIds`, value, operator ?? 'StringLike'); } /** * Statement provider for service [geo](https://docs.aws.amazon.com/service-authorization/latest/reference/list_location.html). * */ constructor(props) { super(props); this.servicePrefix = 'geo'; this.accessLevelList = { Write: [ 'AssociateTrackerConsumer', 'BatchDeleteDevicePositionHistory', 'BatchDeleteGeofence', 'BatchEvaluateGeofences', 'BatchPutGeofence', 'BatchUpdateDevicePosition', 'CancelJob', 'CreateGeofenceCollection', 'CreateKey', 'CreateMap', 'CreatePlaceIndex', 'CreateRouteCalculator', 'CreateTracker', 'DeleteGeofenceCollection', 'DeleteKey', 'DeleteMap', 'DeletePlaceIndex', 'DeleteRouteCalculator', 'DeleteTracker', 'DisassociateTrackerConsumer', 'PutGeofence', 'StartJob', 'TagResource', 'UntagResource', 'UpdateGeofenceCollection', 'UpdateKey', 'UpdateMap', 'UpdatePlaceIndex', 'UpdateRouteCalculator', 'UpdateTracker' ], Read: [ 'BatchGetDevicePosition', 'CalculateRoute', 'CalculateRouteMatrix', 'DescribeGeofenceCollection', 'DescribeKey', 'DescribeMap', 'DescribePlaceIndex', 'DescribeRouteCalculator', 'DescribeTracker', 'ForecastGeofenceEvents', 'GetDevicePosition', 'GetDevicePositionHistory', 'GetGeofence', 'GetJob', 'GetMapGlyphs', 'GetMapSprites', 'GetMapStyleDescriptor', 'GetMapTile', 'GetPlace', 'ListDevicePositions', 'ListGeofences', 'ListTagsForResource', 'ListTrackerConsumers', 'SearchPlaceIndexForPosition', 'SearchPlaceIndexForSuggestions', 'SearchPlaceIndexForText', 'VerifyDevicePosition' ], List: [ 'ListGeofenceCollections', 'ListJobs', 'ListKeys', 'ListMaps', 'ListPlaceIndexes', 'ListRouteCalculators', 'ListTrackers' ], Tagging: [ 'TagResource', 'UntagResource' ] }; } } exports.Geo = Geo; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9jYXRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJsb2NhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFDQSx5Q0FBeUQ7QUFHekQ7Ozs7R0FJRztBQUNILE1BQWEsR0FBSSxTQUFRLHdCQUFlO0lBR3RDOzs7Ozs7T0FNRztJQUNJLDBCQUEwQjtRQUMvQixPQUFPLElBQUksQ0FBQyxFQUFFLENBQUMsMEJBQTBCLENBQUMsQ0FBQztJQUM3QyxDQUFDO0lBRUQ7Ozs7OztPQU1HO0lBQ0ksa0NBQWtDO1FBQ3ZDLE9BQU8sSUFBSSxDQUFDLEVBQUUsQ0FBQyxrQ0FBa0MsQ0FBQyxDQUFDO0lBQ3JELENBQUM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