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 HttpName name of the namespace. It’s found in the HttpProperties member of the Properties member 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 InstancesRevision updates. The health status updates don’t update InstancesRevision.

Exceptions