ServiceDiscovery / Client / discover_instances_revision
discover_instances_revision#
- ServiceDiscovery.Client.discover_instances_revision(**kwargs)#
Discovers the increasing revision associated with an instance.
See also: AWS API Documentation
Request Syntax
response = client.discover_instances_revision( NamespaceName='string', ServiceName='string' )
- Parameters:
NamespaceName (string) –
[REQUIRED]
The
HttpNamename of the namespace. It’s found in theHttpPropertiesmember of thePropertiesmember of the namespace.ServiceName (string) –
[REQUIRED]
The name of the service that you specified when you registered the instance.
- Return type:
dict
- Returns:
Response Syntax
{ 'InstancesRevision': 123 }
Response Structure
(dict) –
InstancesRevision (integer) –
The increasing revision associated to the response Instances list. If a new instance is registered or deregistered, the
InstancesRevisionupdates. The health status updates don’t updateInstancesRevision.
Exceptions
ServiceDiscovery.Client.exceptions.ServiceNotFoundServiceDiscovery.Client.exceptions.NamespaceNotFoundServiceDiscovery.Client.exceptions.InvalidInputServiceDiscovery.Client.exceptions.RequestLimitExceeded