Created
July 9, 2020 06:08
-
-
Save ctodd/6ab7d7b8d3e7bbc0c57b0153a0c6d615 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timestamp = time.strftime('-%Y-%m-%d-%H-%M-%S', time.gmtime()) | |
endpoint_name = training_job_name + '-ep' + timestamp | |
print('Endpoint name: {}'.format(endpoint_name)) | |
endpoint_params = { | |
'EndpointName': endpoint_name, | |
'EndpointConfigName': endpoint_config_name, | |
} | |
endpoint_response = client.create_endpoint(**endpoint_params) | |
print('EndpointArn = {}'.format(endpoint_response['EndpointArn'])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment