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', OwnerAccount='string' )
- Parameters:
NamespaceName (string) –
[REQUIRED]
The
HttpNamename of the namespace. TheHttpNameis found in theHttpPropertiesmember of thePropertiesmember of the namespace.ServiceName (string) –
[REQUIRED]
The name of the service that you specified when you registered the instance.
OwnerAccount (string) – The ID of the Amazon Web Services account that owns the namespace associated with the instance, as specified in the namespace
ResourceOwnerfield. For instances associated with namespaces that are shared with your account, you must specify anOwnerAccount. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.
- 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