SYSTEM$SET_PRIVATELINK_ENDPOINT_HOSTNAME

functionnot supportedIntegrations, network & secretsBusiness Critical+

docs.snowflake.com ↗

System functions

Modifies only the host name of an existing private connectivity endpoint. Note If the Snowflake account is in an Azure government region, the provider resource ID must be the ID of a resource in a government subscription. For more information about government regions for Snowflake customers, see U.S. SnowGov Regions. This feature requires Business Critical (or higher). To inquire about upgrading, please contact Snowflake Support.

Syntax

supportedpartialnot supportednot scored

AWS

SYSTEM$SET_PRIVATELINK_ENDPOINT_HOSTNAME( '<provider_service_name>' , '<host_name>' )

Azure

SYSTEM$SET_PRIVATELINK_ENDPOINT_HOSTNAME( '<provider_resource_id>' , '<host_name>' [ , '<subresource>' ] )

Google Cloud

SYSTEM$SET_PRIVATELINK_ENDPOINT_HOSTNAME( '<target_service_id>' , '<host_name>' )

Parameters

NameRequiredDescription
'provider_service_name'requiredSpecifies the external service or resource to connect to. For example, com.amazonaws.us-west-2.execute-api for the Amazon API Gateway or com.amazonaws.us-west-2.s3 for Amazon S3. For information about retrieving this value from AWS, see Provision private connectivity endpoints.
'host_name'requiredSpecifies the new fully qualified host name that should be used to access the resource in your VPC or VNet. This value doesn’t contain any port numbers and must match what you specified in the Snowflake object that you use to connect to the external service. Examples include bedrock-runtime.us-west-2.amazonaws.com and *.s3.us-west-2.amazonaws.com. When you use private connectivity for external stages and external volumes, the host_name must use a wildcard instead of specifying an AWS S3 bucket. For information about retrieving this value from AWS, see Provision private connectivity endpoints.
'provider_resource_id'requiredSpecifies the fully qualified identifier for the resource in your VPC or VNet.
'host_name'requiredSpecifies the new fully qualified host name to access the resource in your VPC or VNet. For examples of the host name for outbound private connectivity for external functions, see the following topics: Azure Portal Azure ARM template
'subresource'requiredSpecifies the name of the subresource of the Azure resource. This argument isn’t required for Azure Private Link Service and Azure API Management Service. For all supported values, see the Sub-resource table.
'target_service_id'requiredSpecifies the service attachment ID (to a custom service), or regional Google API endpoint to connect to.
'host_name'requiredSpecifies the new fully qualified host name to access the resource.

Returns

Returns a status message that the host name for the private connectivity endpoint was updated successfully.

Usage notes

Access control requirements

Only account administrators (users with the ACCOUNTADMIN role) can call this function.