

# Endpoint overrides

## Athena endpoint override
<a name="odbc-v4-driver-endpoint-overrides-athena"></a>

Use this value to override the Amazon Athena service endpoint used by the driver. For more information, see [AWS Client configuration](https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/client-config.html) in the *AWS SDK for C\+\+ Developer Guide*.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| EndpointOverride | Optional | none | EndpointOverride=athena.us-west-2.amazonaws.com; | 

## Athena streaming endpoint override
<a name="odbc-v4-driver-endpoint-overrides-athena-streaming"></a>

The `ClientConfiguration.endpointOverride` member uses this value to override the default HTTP endpoint for the Amazon Athena streaming client. For more information, [AWS Client configuration](https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/client-config.html) in the *AWS SDK for C\+\+ Developer Guide*. The Athena Streaming service is available through port 444.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| StreamingEndpointOverride | Optional | none | StreamingEndpointOverride=athena.us-west-1.amazonaws.com:444; | 

## AWS STS endpoint override
<a name="odbc-v4-driver-endpoint-overrides-sts"></a>

The `ClientConfiguration.endpointOverride` member uses this value to override the default HTTP endpoint for the AWS STS client. For more information, see [AWS Client configuration](https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/client-config.html) in the *AWS SDK for C\+\+ Developer Guide*.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| StsEndpointOverride | Optional | none | StsEndpointOverride=sts.us-west-1.amazonaws.com; | 

## Lake Formation endpoint override
<a name="odbc-v4-driver-endpoint-overrides-lake-formation"></a>

The `ClientConfiguration.endpointOverride` member uses this value to override the default HTTP endpoint for the Lake Formation client. For more information, see [AWS Client configuration](https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/client-config.html) in the *AWS SDK for C\+\+ Developer Guide*.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| LakeFormationEndpointOverride | Optional | none | LakeFormationEndpointOverride=lakeformation.us-west-1.amazonaws.com; | 

## AWS Glue endpoint override
<a name="odbc-v4-driver-endpoint-overrides-glue"></a>

The `ClientConfiguration.endpointOverride` member uses this value to override the default HTTP endpoint for the AWS Glue client that the driver uses for multi-catalog browsing. For more information, see [AWS Client configuration](https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/client-config.html) in the *AWS SDK for C\+\+ Developer Guide*.

If a call to list AWS Glue catalogs fails for a reason other than an access-denied or entity-not-found error, such as throttling, catalog functions fail with SQLSTATE `HY000` and a message that begins with `[AmazonAthena][GlueClientError]`. To avoid the AWS Glue call for the top-level catalog list, set `UseSingleCatalogAndSchema=1`. For more information, see [Use single catalog and schema](odbc-v4-driver-advanced-options.md#odbc-v4-driver-advanced-options-use-single-catalog-and-schema).

The Windows configuration dialog has no field for `GlueEndpointOverride`. Configure this parameter in the connection string or directly in the DSN.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| GlueEndpointOverride | Optional | none | GlueEndpointOverride=glue.us-west-1.amazonaws.com; | 

## SSO endpoint override
<a name="odbc-v4-driver-endpoint-overrides-sso"></a>

The `ClientConfiguration.endpointOverride` member uses this value to override the default HTTP endpoint for the SSO client. For more information, see [AWS Client configuration](https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/client-config.html) in the *AWS SDK for C\+\+ Developer Guide*.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| SSOEndpointOverride | Optional | none | SSOEndpointOverride=portal.sso.us-east-2.amazonaws.com; | 

## SSO OIDC endpoint override
<a name="odbc-v4-driver-endpoint-overrides-sso-oidc"></a>

The `ClientConfiguration.endpointOverride` member uses this value to override the default HTTP endpoint for the SSO OIDC client. For more information, see [AWS Client configuration](https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/client-config.html) in the *AWS SDK for C\+\+ Developer Guide*.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| SSOOIDCEndpointOverride | Optional | none | SSOOIDCEndpointOverride=oidc.us-east-2.amazonaws.com | 

## SSO Admin endpoint override
<a name="odbc-v4-driver-endpoint-overrides-sso-admin"></a>

The `ClientConfiguration.endpointOverride` member uses this value to override the default HTTP endpoint for SSO Admin client. For more information, see [ClientConfiguration](https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/client-config.html).



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| SSOAdminEndpointOverride | Optional | none | SSOAdminEndpointOverride=sso.us-east-2.amazonaws.com | 

## S3 endpoint override
<a name="odbc-v4-driver-endpoint-overrides-s3"></a>

The `ClientConfiguration.endpointOverride` member uses this value to override the default HTTP endpoint for S3 client. The endpoint that the driver will use to download query results when it uses the Amazon S3 fetcher. If this parameter is not specified, the driver uses a default Amazon S3 endpoint. For more information, see [ClientConfiguration](https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/client-config.html).



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| S3EndpointOverride | Optional | none | S3EndpointOverride=s3.us-east-2.amazonaws.com | 

## Endpoint for SageMaker authentication
<a name="odbc-v4-driver-endpoint-overrides-sagemaker"></a>

For SageMaker authentication, use this parameter to override the Amazon DataZone endpoint used to retrieve connection credentials.

**Note**  
The ODBC 4.x connection parameter is named `SageMakerEndpointOverride`. Use this exact spelling when you configure the endpoint. The parameter name identifies the driver's SageMaker authentication configuration; the endpoint belongs to Amazon DataZone.



| **Connection string name** | **Parameter type** | **Default value** | **Connection string example** | 
| --- | --- | --- | --- | 
| SageMakerEndpointOverride | Optional | none | SageMakerEndpointOverride=datazone.us-east-1.amazonaws.com | 

Endpoint overrides must specify a valid HTTPS endpoint. If you provide a host without a scheme, the driver adds `https://`; an explicit non-HTTPS scheme fails validation.