function validateCredentials()

in amazon-location-helpers/index.js [19:25]


function validateCredentials(credentials) {
  const { accessKeyId, secretAccessKey } = credentials;

  if (!accessKeyId || !secretAccessKey) {
    throw new Error("Valid credentials are required to fetch map resources.");
  }
}