• Throws an error if secret is undefined in the target region.

    Parameters

    • secretName: string
    • region: string

    Returns Promise<string>

    ARN of the secret if exists.