Import solution collection into Postman
You need to configure Postman or another API client of your choice to onboard a hosting account. Follow these instructions to import the solution's collection into Postman.
-
Create a Postman environment
. -
Name your environment variables:
-
API_URL
The value should be the
APIGatewayAPIEndpoint
. -
ACCESS_TOKEN
The value should be the
accessToken
. -
CSRF_COOKIE
The value should be the
csrfCookie
. -
CSRF_TOKEN
The value should be the
csrfToken
.
-
-
Import the solution's POSTMAN collection
. For more information, see Importing data into Postman . -
Assign a value to the
terminatedEnvId
parameter in the./integration-tests/config/<STAGE>.yaml
file.-
Create a new Amazon SageMaker environment
and wait for COMPLETED status. -
Note the
id
value from the response. -
Use the new environment's
id
to stop the environment and wait for STOPPED status. -
Use the new environment's
id
to terminate the environment. -
In the
./integration-tests/config
directory, assign theid
of the new environment to theterminatedEnvId
in the
file.<stage>
.yaml
-