Skip to main content

glossaries

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

Overview

Nameglossaries
TypeResource
Idaws.datazone.glossaries

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringThe ID of the business glossary. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
namestringThe name of the business glossary.
created_atstring (date-time)The timestamp of when this business glossary was created.
created_bystringThe Amazon DataZone user who created this business glossary.
descriptionstringThe description of the business glossary.
domain_idstringThe ID of the Amazon DataZone domain in which this business glossary exists. (pattern: <code>dzd[-][a-zA-Z0-9-]{1,36}</code>)
owning_project_idstringThe ID of the project that owns this business glossary. (pattern: <code>[a-zA-Z0-9_-]{1,36}</code>)
statusstringThe status of the business glossary. (DISABLED, ENABLED)
updated_atstring (date-time)The timestamp of when the business glossary was updated.
updated_bystringThe Amazon DataZone user who updated the business glossary.
usage_restrictionsarrayThe usage restriction of the restricted glossary.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_glossaryselectdomain_identifier, identifier, regionGets a business glossary in Amazon DataZone. Prerequisites: The specified glossary ID must exist and be associated with the given domain. The caller must have the datazone:GetGlossary permission on the domain.
create_glossaryinsertdomain_identifier, region, name, owningProjectIdentifierCreates an Amazon DataZone business glossary. Specifies that this is a create glossary policy. A glossary serves as the central repository for business terminology and definitions within an organization. It helps establish and maintain a common language across different departments and teams, reducing miscommunication and ensuring consistent interpretation of business concepts. Glossaries can include hierarchical relationships between terms, cross-references, and links to actual data assets, making them invaluable for both business users and technical teams trying to understand and use data correctly. Prerequisites: Domain must exist and be in an active state. Owning project must exist and be accessible by the caller. The glossary name must be unique within the domain.
update_glossaryupdatedomain_identifier, identifier, regionUpdates the business glossary in Amazon DataZone. Prerequisites: The glossary must exist in the given domain. The caller must have the datazone:UpdateGlossary permission to update it. When updating the name, the new name must be unique within the domain. The glossary must not be deleted or in a terminal state.
delete_glossarydeletedomain_identifier, identifier, regionDeletes a business glossary in Amazon DataZone. Prerequisites: The glossary must be in DISABLED state. The glossary must not have any glossary terms associated with it. The glossary must exist in the specified domain. The caller must have the datazone:DeleteGlossary permission in the domain and glossary. Glossary should not be linked to any active metadata forms.

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 ID of the Amazon DataZone domain in which the business glossary is deleted.
identifierstringThe ID of the business glossary that is deleted.
regionstringAWS region (default: us-east-1)

SELECT examples

Gets a business glossary in Amazon DataZone. Prerequisites: The specified glossary ID must exist and be associated with the given domain. The caller must have the datazone:GetGlossary permission on the domain.

SELECT
id,
name,
created_at,
created_by,
description,
domain_id,
owning_project_id,
status,
updated_at,
updated_by,
usage_restrictions
FROM aws.datazone.glossaries
WHERE domain_identifier = '{{ domain_identifier }}' -- required
AND identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
;

INSERT examples

Creates an Amazon DataZone business glossary. Specifies that this is a create glossary policy. A glossary serves as the central repository for business terminology and definitions within an organization. It helps establish and maintain a common language across different departments and teams, reducing miscommunication and ensuring consistent interpretation of business concepts. Glossaries can include hierarchical relationships between terms, cross-references, and links to actual data assets, making them invaluable for both business users and technical teams trying to understand and use data correctly. Prerequisites: Domain must exist and be in an active state. Owning project must exist and be accessible by the caller. The glossary name must be unique within the domain.

INSERT INTO aws.datazone.glossaries (
name,
owningProjectIdentifier,
description,
status,
usageRestrictions,
clientToken,
domain_identifier,
region
)
SELECT
'{{ name }}' /* required */,
'{{ owningProjectIdentifier }}' /* required */,
'{{ description }}',
'{{ status }}',
'{{ usageRestrictions }}',
'{{ clientToken }}',
'{{ domain_identifier }}',
'{{ region }}'
RETURNING
id,
name,
description,
domain_id,
owning_project_id,
status,
usage_restrictions
;

UPDATE examples

Updates the business glossary in Amazon DataZone. Prerequisites: The glossary must exist in the given domain. The caller must have the datazone:UpdateGlossary permission to update it. When updating the name, the new name must be unique within the domain. The glossary must not be deleted or in a terminal state.

UPDATE aws.datazone.glossaries
SET
name = '{{ name }}',
description = '{{ description }}',
status = '{{ status }}',
clientToken = '{{ clientToken }}'
WHERE
domain_identifier = '{{ domain_identifier }}' --required
AND identifier = '{{ identifier }}' --required
AND region = '{{ region }}' --required
RETURNING
id,
name,
description,
domain_id,
owning_project_id,
status,
usage_restrictions;

DELETE examples

Deletes a business glossary in Amazon DataZone. Prerequisites: The glossary must be in DISABLED state. The glossary must not have any glossary terms associated with it. The glossary must exist in the specified domain. The caller must have the datazone:DeleteGlossary permission in the domain and glossary. Glossary should not be linked to any active metadata forms.

DELETE FROM aws.datazone.glossaries
WHERE domain_identifier = '{{ domain_identifier }}' --required
AND identifier = '{{ identifier }}' --required
AND region = '{{ region }}' --required
;