Skip to main content

metered_products

Creates, updates, deletes, gets or lists a metered_products resource.

Overview

Namemetered_products
TypeResource
Idaws.deadline.metered_products

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
familystringThe family to which the metered product belongs.
portintegerThe port on which the metered product should run.
product_idstringThe product ID. (pattern: <code>[0-9a-z]{1,32}-[.0-9a-z]{1,32}</code>)
vendorstringThe vendor.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_metered_productsselectlicense_endpoint_id, regionnextToken, maxResultsLists metered products.
put_metered_productreplacelicense_endpoint_id, product_id, regionAdds a metered product.
delete_metered_productdeletelicense_endpoint_id, product_id, regionDeletes a metered product.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
license_endpoint_idstringThe ID of the license endpoint from which to remove the metered product.
product_idstringThe product ID to remove from the license endpoint.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to return. Use this parameter with NextToken to get results as a set of sequential pages.
nextTokenstringThe token for the next set of results, or null to start from the beginning.

SELECT examples

Lists metered products.

SELECT
family,
port,
product_id,
vendor
FROM aws.deadline.metered_products
WHERE license_endpoint_id = '{{ license_endpoint_id }}' -- required
AND region = '{{ region }}' -- required
AND nextToken = '{{ nextToken }}'
AND maxResults = '{{ maxResults }}'
;

REPLACE examples

Adds a metered product.

REPLACE aws.deadline.metered_products
SET
-- No updatable properties
WHERE
license_endpoint_id = '{{ license_endpoint_id }}' --required
AND product_id = '{{ product_id }}' --required
AND region = '{{ region }}' --required;

DELETE examples

Deletes a metered product.

DELETE FROM aws.deadline.metered_products
WHERE license_endpoint_id = '{{ license_endpoint_id }}' --required
AND product_id = '{{ product_id }}' --required
AND region = '{{ region }}' --required
;