hl-CRUD-operations/python/hl_boto_post.py [34:57]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
args_parser.add_argument(
    "region", 
    help="The AWS region in which this HealthLake Data Store Exists. Example: us-east-1")

# Parse the input arguments
input_args = args_parser.parse_args()

data_store_endpoint = input_args.data_store_endpoint
resource_path = input_args.resource_path
request_body_file = input_args.request_body_file
region = input_args.region

#Frame the resource endpoint
resource_endpoint = data_store_endpoint+resource_path

session = boto3.session.Session(region_name=region)
client = session.client("healthlake")

# Frame authorization
auth = AWSSigV4("healthlake", session=session)

# Read the request body from input file
with open(request_body_file) as json_body:
    json_data = json.load(json_body)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



hl-CRUD-operations/python/hl_boto_put.py [34:57]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
args_parser.add_argument(
    "region", 
    help="The AWS region in which this HealthLake Data Store Exists. Example: us-east-1")

# Parse the input arguments
input_args = args_parser.parse_args()

data_store_endpoint = input_args.data_store_endpoint
resource_path = input_args.resource_path
request_body_file = input_args.request_body_file
region = input_args.region

# Frame the resource endpoint
resource_endpoint = data_store_endpoint+resource_path

session = boto3.session.Session(region_name=region)
client = session.client("healthlake")

# Frame authorization
auth = AWSSigV4("healthlake", session=session)

# Read the request body from input file
with open(request_body_file) as json_body:
    json_data = json.load(json_body)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



