# Functions
CreateRole creates a role that grants permission to Amazon CloudWatch Events Inputs:
sess is the current session, which provides configuration for the SDK's service clients role is the name of the role
Output:
If successful, a CreateRoleOutput and nil Otherwise, nil and the error from a call to CreateRole.