in migration/bring-your-own-gdc-assets/bring_your_own_gdc_assets.py [0:0]
def _parse_args():
parser = argparse.ArgumentParser(description='Python script to bring your glue tables to a specified project in sagemaker unified studio')
parser.add_argument('--project-role-arn', type=str, required=True, help='Project role arn of the project in which you want to bring your own glue tables')
parser.add_argument('--database-name', type=str, required=True, help='Glue database name of the table you want to bring into your project')
parser.add_argument('--table-name', type=str, required=False, help='Glue table name you want to bring into your project. If table name is not provided, imports all the tables of the provided database into the project')
parser.add_argument('--iam-role-arn-lf-resource-register', type=str, required=False, help='IAM Role arn which would be used in registration of S3 location in LakeFormation. Please refer to https://docs.aws.amazon.com/lake-formation/latest/dg/registration-role.html'
' for role requirements. If not provided, AWSServiceRoleForLakeFormation service-linked role is used.')
parser.add_argument('--region', type=str, required=False, help='The AWS region. If not specified, the default region from your AWS credentials will be used')
return parser.parse_args()