ServiceDiscovery / Client / delete_service_attributes

delete_service_attributes#

ServiceDiscovery.Client.delete_service_attributes(**kwargs)#

Deletes specific attributes associated with a service.

See also: AWS API Documentation

Request Syntax

response = client.delete_service_attributes(
    ServiceId='string',
    Attributes=[
        'string',
    ]
)
Parameters:
  • ServiceId (string) –

    [REQUIRED]

    The ID of the service from which the attributes will be deleted.

  • Attributes (list) –

    [REQUIRED]

    A list of keys corresponding to each attribute that you want to delete.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ServiceDiscovery.Client.exceptions.InvalidInput

  • ServiceDiscovery.Client.exceptions.ServiceNotFound