import boto3
client = boto3.client('cognito-idp')

def login(event, context):
    response = client.initiate_auth(
    AuthFlow='USER_PASSWORD_AUTH',
     AuthParameters={
       "USERNAME" : event['Username'],
       "PASSWORD" : event['Password'],
    },
    
    ClientId='4i6rhs3ssfjfa3leg3ievnjuuq',
   
    )
    return response

e5a81fca7400b9bae065ccf83e9c36801de7621d
<mask token>

<mask token>


def login(event, context):
    response = client.initiate_auth(AuthFlow='USER_PASSWORD_AUTH',
        AuthParameters={'USERNAME': event['Username'], 'PASSWORD': event[
        'Password']}, ClientId='4i6rhs3ssfjfa3leg3ievnjuuq')
    return response

<mask token>
client = boto3.client('cognito-idp')


def login(event, context):
    response = client.initiate_auth(AuthFlow='USER_PASSWORD_AUTH',
        AuthParameters={'USERNAME': event['Username'], 'PASSWORD': event[
        'Password']}, ClientId='4i6rhs3ssfjfa3leg3ievnjuuq')
    return response

import boto3
client = boto3.client('cognito-idp')


def login(event, context):
    response = client.initiate_auth(AuthFlow='USER_PASSWORD_AUTH',
        AuthParameters={'USERNAME': event['Username'], 'PASSWORD': event[
        'Password']}, ClientId='4i6rhs3ssfjfa3leg3ievnjuuq')
    return response

import boto3
client = boto3.client('cognito-idp')

def login(event, context):
    response = client.initiate_auth(
    AuthFlow='USER_PASSWORD_AUTH',
     AuthParameters={
       "USERNAME" : event['Username'],
       "PASSWORD" : event['Password'],
    },
    
    ClientId='4i6rhs3ssfjfa3leg3ievnjuuq',
   
    )
    return response
