Before writing a CREATE API INTEGRATION statement:
- Read
references/parameters.mdto review all available parameters and their defaults. - For each parameter, decide whether the user's request implies a non-default value.
- Include only the parameters that differ from the default or that the user explicitly requested.
- Never use
CREATE OR REPLACE— always useCREATE API INTEGRATION IF NOT EXISTS. - This skill focuses on Amazon API Gateway (
API_PROVIDER = aws_api_gateway); for private endpoints useaws_private_api_gateway; for GovCloud useaws_gov_api_gatewayoraws_gov_private_api_gateway. API_AWS_ROLE_ARNmust reference an IAM role that Snowflake can assume; after creation, the user must update the IAM trust policy with theAPI_AWS_IAM_USER_ARNandAPI_AWS_EXTERNAL_IDvalues fromDESCRIBE INTEGRATION.API_ALLOWED_PREFIXESis treated as a URL prefix match — ensure it is restrictive enough to cover only the intended endpoints.