ServiceDiscovery#
Client#
- class ServiceDiscovery.Client#
A low-level client representing AWS Cloud Map (ServiceDiscovery)
With Cloud Map, you can configure public DNS, private DNS, or HTTP namespaces that your microservice applications run in. When an instance becomes available, you can call the Cloud Map API to register the instance with Cloud Map. For public or private DNS namespaces, Cloud Map automatically creates DNS records and an optional health check. Clients that submit public or private DNS queries, or HTTP requests, for the service receive an answer that contains up to eight healthy records.
client = session.create_client('servicediscovery')
These are the available methods:
- can_paginate
- close
- create_http_namespace
- create_private_dns_namespace
- create_public_dns_namespace
- create_service
- delete_namespace
- delete_service
- delete_service_attributes
- deregister_instance
- discover_instances
- discover_instances_revision
- get_instance
- get_instances_health_status
- get_namespace
- get_operation
- get_paginator
- get_service
- get_service_attributes
- get_waiter
- list_instances
- list_namespaces
- list_operations
- list_services
- list_tags_for_resource
- register_instance
- tag_resource
- untag_resource
- update_http_namespace
- update_instance_custom_health_status
- update_private_dns_namespace
- update_public_dns_namespace
- update_service
- update_service_attributes
Client Exceptions#
Client exceptions are available on a client instance via the exceptions
property. For more detailed instructions and examples on the exact usage of client exceptions, see the error handling user guide.
The available client exceptions are:
- CustomHealthNotFound
- DuplicateRequest
- InstanceNotFound
- InvalidInput
- NamespaceAlreadyExists
- NamespaceNotFound
- OperationNotFound
- RequestLimitExceeded
- ResourceInUse
- ResourceLimitExceeded
- ResourceNotFoundException
- ServiceAlreadyExists
- ServiceAttributesLimitExceededException
- ServiceNotFound
- TooManyTagsException
Paginators#
Paginators are available on a client instance via the get_paginator
method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.
The available paginators are: