ServiceDiscovery / Client / update_service_attributes

update_service_attributes#

ServiceDiscovery.Client.update_service_attributes(**kwargs)#

Submits a request to update a specified service to add service-level attributes.

See also: AWS API Documentation

Request Syntax

response = client.update_service_attributes(
    ServiceId='string',
    Attributes={
        'string': 'string'
    }
)
Parameters:
  • ServiceId (string) –

    [REQUIRED]

    The ID of the service that you want to update.

  • Attributes (dict) –

    [REQUIRED]

    A string map that contains attribute key-value pairs.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ServiceDiscovery.Client.exceptions.InvalidInput

  • ServiceDiscovery.Client.exceptions.ServiceNotFound

  • ServiceDiscovery.Client.exceptions.ServiceAttributesLimitExceededException