Create API Integration

API Integration is required for External User Defined function. This script can be used for creating API Integration with the name API_INTEGRATION. The API_INTEGRATION will be used for Geocode as well as Verify operations.
/*API Integration is required for External User Defined function.*/

create or replace API Integration API_INTEGRATION
api_provider=aws_api_gateway
enabled = true
api_aws_role_arn = 'arn:aws:iam::508747789874:role/prd-sf-geocode-assume-role'
API_ALLOWED_PREFIXES = ('https://9a3cydoxrc.execute-api.us-east-  1.amazonaws.com/v1');
Figure 1. Creating API Integration