ServiceDiscovery / Client / update_http_namespace

update_http_namespace#

ServiceDiscovery.Client.update_http_namespace(**kwargs)#

Updates an HTTP namespace.

See also: AWS API Documentation

Request Syntax

response = client.update_http_namespace(
    Id='string',
    UpdaterRequestId='string',
    Namespace={
        'Description': 'string'
    }
)
Parameters:
  • Id (string) –

    [REQUIRED]

    The ID of the namespace that you want to update.

  • UpdaterRequestId (string) –

    A unique string that identifies the request and that allows failed UpdateHttpNamespace requests to be retried without the risk of running the operation twice. UpdaterRequestId can be any unique string (for example, a date/timestamp).

    This field is autopopulated if not provided.

  • Namespace (dict) –

    [REQUIRED]

    Updated properties for the the HTTP namespace.

    • Description (string) – [REQUIRED]

      An updated description for the HTTP namespace.

Return type:

dict

Returns:

Response Syntax

{
    'OperationId': 'string'
}

Response Structure

  • (dict) –

    • OperationId (string) –

      A value that you can use to determine whether the request completed successfully. To get the status of the operation, see GetOperation.

Exceptions

  • ServiceDiscovery.Client.exceptions.InvalidInput

  • ServiceDiscovery.Client.exceptions.NamespaceNotFound

  • ServiceDiscovery.Client.exceptions.ResourceInUse

  • ServiceDiscovery.Client.exceptions.DuplicateRequest