#NEWLINE# def get_signin_url( self , service = 'ec2' ) : #NEWLINE# #INDENT# "\n        Get the URL where IAM users can use their login profile to sign in\n        to this account's console.\n\n        :type service: string\n        :param service: Default service to go to in the console.\n        " #NEWLINE# alias = self . get_account_alias ( ) #NEWLINE# if ( not alias ) : #NEWLINE# #INDENT# raise Exception ( 'No alias associated with this account.  Please use iam.create_account_alias() first.' ) #NEWLINE# #UNINDENT# return ( 'https://%s.signin.aws.amazon.com/console/%s' % ( alias , service ) )