Skip to main content

AIS service discovery package for python3

Project description


CodeQuality Publish stable

Cloud Application Framework



This repository interfaces Service Discovery, in this instance CloudMap, in order to locate and communicate with different services. As opposed to storing ARN's in environment variables, this library will interface CloudMap to find a service by a user-friendly naming convention and will understand what 'type' of service you've requested and use the correct code to communicate/call that service.

Services supported

  • Lambda (call).
  • SNS (publish).
  • SQS (queue).


  • Lambda (request).
  • SQS (listen).
  • Http (request|call).
  • Fargate/ECS Task (run).


This library requires Python 3.5 and above.


Lambda Call

from ais_service_discovery import call
response=call('namespace', 'service', 'handler', {<Payload>})

Lambda Async Call

from ais_service_discovery import call
response=call('namespace', 'service', 'handler', {<Payload>}, {'InvocationType': 'Event'})

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ais-service-discovery, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size ais_service_discovery-0.2.0-py3-none-any.whl (18.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ais_service_discovery-0.2.0.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page