Skip to main content

entities

Creates, updates, deletes, gets or lists an entities resource.

Overview

Nameentities
TypeResource
Idaws.marketplace_catalog.entities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
detailsstringThis stringified JSON object includes the details of the entity. (pattern: <code>^[\s]&#123;[\s\S]&#125;[\s]*$</code>)
details_documentobjectThe JSON value of the details specific to the entity. To download "DetailsDocument" shapes, see the Python and Java shapes on GitHub.
entity_arnstringThe ARN associated to the unique identifier for the entity referenced in this request. (pattern: <code>^[a-zA-Z0-9:*/-]+$</code>)
entity_identifierstringThe identifier of the entity, in the format of EntityId@RevisionId. (pattern: <code>^[\w-@]+$</code>)
entity_typestringThe named type of the entity, in the format of EntityType@Version. (pattern: <code>^[a-zA-Z]+$</code>)
last_modified_datestringThe last modified date of the entity, in ISO 8601 format (2018-02-27T13:45:22Z). (pattern: <code>^([\d]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][\d])T(2[0-3]|[01][\d]):([0-5][\d]):([0-5][\d])Z$</code>)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_entityselectcatalog, entityId, regionReturns the metadata and content of the entity.
list_entitiesselectregionProvides the list of entities of a given type.
batch_describe_entitiesexecregion, EntityRequestListReturns metadata and content for multiple entities. This is the Batch version of the DescribeEntity API and uses the same IAM permission action as DescribeEntity API.

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
catalogstringRequired. The catalog related to the request. Fixed value: AWSMarketplace
entityIdstringRequired. The unique ID of the entity to describe.
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the metadata and content of the entity.

SELECT
details,
details_document,
entity_arn,
entity_identifier,
entity_type,
last_modified_date
FROM aws.marketplace_catalog.entities
WHERE catalog = '{{ catalog }}' -- required
AND entityId = '{{ entityId }}' -- required
AND region = '{{ region }}' -- required
;

Lifecycle Methods

Returns metadata and content for multiple entities. This is the Batch version of the DescribeEntity API and uses the same IAM permission action as DescribeEntity API.

EXEC aws.marketplace_catalog.entities.batch_describe_entities
@region='{{ region }}' --required
@@json=
'{
"EntityRequestList": "{{ EntityRequestList }}"
}'
;