This handler is built on the AWS API. It's function is to delete an internet gateway. In this, the user may specify which gateway they wish to delete by the IDWID or Internet gateway ID. The return results will either confirm or deny the success of deleting the specified gateway ID.
The Dry Run parameter validates user permissions and inputs. If it is set to true, an error will always be thrown by the handler before completing the handler action. Error response will be 'DryRunOperation' if the account has proper permissions and inputs; 'UnauthorizedOperation' if the account does not have proper permissions.
Dry run validates user permissions and inputs without completing the EC2 action (true or false).