Skip to main content

types

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

Overview

Nametypes
TypeResource
Idaws.datazone.types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
asset_type_itemobjectThe asset type included in the results of the SearchTypes action.
form_type_itemobjectThe form type included in the results of the SearchTypes action.
lineage_node_type_itemobjectThe details of a data lineage node type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
search_typesselectdomain_identifier, regionSearches for types in Amazon DataZone. Prerequisites: The --domain-identifier must refer to an existing Amazon DataZone domain. --search-scope must be one of the valid values including: ASSET_TYPE, GLOSSARY_TERM_TYPE, DATA_PRODUCT_TYPE. The --managed flag must be present without a value. The user must have permissions for form or asset types in the domain. If using --filters, ensure that the JSON is valid. Filters contain correct structure (attribute, value, operator).

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
domain_identifierstringThe identifier of the Amazon DataZone domain in which to invoke the SearchTypes action.
regionstringAWS region (default: us-east-1)

SELECT examples

Searches for types in Amazon DataZone. Prerequisites: The --domain-identifier must refer to an existing Amazon DataZone domain. --search-scope must be one of the valid values including: ASSET_TYPE, GLOSSARY_TERM_TYPE, DATA_PRODUCT_TYPE. The --managed flag must be present without a value. The user must have permissions for form or asset types in the domain. If using --filters, ensure that the JSON is valid. Filters contain correct structure (attribute, value, operator).

SELECT
asset_type_item,
form_type_item,
lineage_node_type_item
FROM aws.datazone.types
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND region = '{{ region }}' -- required
;