ServiceDiscovery / Client / update_private_dns_namespace

update_private_dns_namespace#

ServiceDiscovery.Client.update_private_dns_namespace(**kwargs)#

Updates a private DNS namespace.

See also: AWS API Documentation

Request Syntax

response = client.update_private_dns_namespace(
    Id='string',
    UpdaterRequestId='string',
    Namespace={
        'Description': 'string',
        'Properties': {
            'DnsProperties': {
                'SOA': {
                    'TTL': 123
                }
            }
        }
    }
)
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 UpdatePrivateDnsNamespace 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 private DNS namespace.

    • Description (string) –

      An updated description for the private DNS namespace.

    • Properties (dict) –

      Properties to be updated in the private DNS namespace.

      • DnsProperties (dict) – [REQUIRED]

        Updated DNS properties for the private DNS namespace.

        • SOA (dict) – [REQUIRED]

          Updated fields for the Start of Authority (SOA) record for the hosted zone for the private DNS namespace.

          • TTL (integer) – [REQUIRED]

            The updated time to live (TTL) for purposes of negative caching.

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