6.2

Table Of Contents
3 Request an Amazon machine as defined in the chosen blueprint or override the default values of the
blueprint by adding properties to the JSON input file to override default values. For example, add ESB
storage or choose a specific location.
curl --insecure -H "Content-Type: application/json"
-H "Authorization: Bearer $token"
https://$host/catalog-service/api/consumer/requests --data @ec2machine_specific.json
4 Check the status of the Amazon machine request by using the catalog service.
curl --insecure -H "Content-Type: application/json"
-H "Authorization: Bearer $token"
https://$host/catalog-service/api/consumer/requests/25211c6c-f09d-4e2b-9be4-7b09c47c9f6c
Syntax for Finding the Published Amazon Blueprint for a Machine Request
You can use the vRealize Automation REST API catalog service to display your entitled service catalog
items and locate a published Amazon blueprint to use for your machine request.
Input
Use the supported input parameters to control the command output.
Parameter Description
URL https://$host/catalog-service/api/consumer/catalogItems?limit=10&page=1
$host Specifies the host name and fully qualified domain name or IP address of
the vRealize Automation identity server.
$token Specifies a valid HTTP bearer token with necessary credentials.
Output
The command output contains property names and values based on the command input parameters.
Programming Guide
VMware, Inc. 76