EC2 / Client / start_vpc_endpoint_service_private_dns_verification

start_vpc_endpoint_service_private_dns_verification#

EC2.Client.start_vpc_endpoint_service_private_dns_verification(**kwargs)#

Initiates the verification process to prove that the service provider owns the private DNS name domain for the endpoint service.

The service provider must successfully perform the verification before the consumer can use the name to access the service.

Before the service provider runs this command, they must add a record to the DNS server.

See also: AWS API Documentation

Request Syntax

response = client.start_vpc_endpoint_service_private_dns_verification(
    DryRun=True|False,
    ServiceId='string'
)
Parameters:
  • DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • ServiceId (string) –

    [REQUIRED]

    The ID of the endpoint service.

Return type:

dict

Returns:

Response Syntax

{
    'ReturnValue': True|False
}

Response Structure

  • (dict) –

    • ReturnValue (boolean) –

      Returns true if the request succeeds; otherwise, it returns an error.