Package com.atlan.api
Class TypeDefsEndpoint
java.lang.Object
com.atlan.api.AbstractEndpoint
com.atlan.api.AtlasEndpoint
com.atlan.api.TypeDefsEndpoint
API endpoints for operating on Atlan's type definitions (in simple terms the underlying metadata model).
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlan.api.AbstractEndpoint
AbstractEndpoint.RawResponse
-
Field Summary
Fields inherited from class com.atlan.api.AbstractEndpoint
client
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new type definition in Atlan._create
(TypeDef typeDef, RequestOptions options) Create a new type definition in Atlan.Create new type definitions in Atlan._create
(List<TypeDef> typeDefs, RequestOptions options) Create new type definitions in Atlan.Update an existing type definition in Atlan._update
(TypeDef typeDef, RequestOptions options) Update an existing type definition in Atlan.Create a new type definition in Atlan.create
(TypeDef typeDef, RequestOptions options) Create a new type definition in Atlan.Create new type definitions in Atlan.create
(List<TypeDef> typeDefs, RequestOptions options) Create new type definitions in Atlan.Retrieves a specific type definition from Atlan.get
(String internalName, RequestOptions options) Retrieves a specific type definition from Atlan.list
(AtlanTypeCategory category) Retrieves a list of the type definitions in Atlan.list
(AtlanTypeCategory category, RequestOptions options) Retrieves a list of the type definitions in Atlan.list
(List<AtlanTypeCategory> categories) Retrieves a list of the type definitions in Atlan.list
(List<AtlanTypeCategory> categories, RequestOptions options) Retrieves a list of the type definitions in Atlan.void
Delete the type definition.void
purge
(String internalName, RequestOptions options) Delete the type definition.Update an existing type definition in Atlan.update
(TypeDef typeDef, RequestOptions options) Update an existing type definition in Atlan.Methods inherited from class com.atlan.api.AtlasEndpoint
getBaseUrl
Methods inherited from class com.atlan.api.AbstractEndpoint
getBaseUrl
-
Field Details
-
RESERVED_SERVICE_TYPES
-
-
Constructor Details
-
TypeDefsEndpoint
-
-
Method Details
-
list
Retrieves a list of the type definitions in Atlan.- Parameters:
category
- of type definitions to retrieve- Returns:
- the requested list of type definitions
- Throws:
AtlanException
- on any API communication issue
-
list
public TypeDefResponse list(AtlanTypeCategory category, RequestOptions options) throws AtlanException Retrieves a list of the type definitions in Atlan.- Parameters:
category
- of type definitions to retrieveoptions
- to override default client settings- Returns:
- the requested list of type definitions
- Throws:
AtlanException
- on any API communication issue
-
list
Retrieves a list of the type definitions in Atlan.- Parameters:
categories
- of type definitions to retrieve- Returns:
- the requested list of type definitions
- Throws:
AtlanException
- on any API communication issue
-
list
public TypeDefResponse list(List<AtlanTypeCategory> categories, RequestOptions options) throws AtlanException Retrieves a list of the type definitions in Atlan.- Parameters:
categories
- of type definitions to retrieveoptions
- to override default client settings- Returns:
- the requested list of type definitions
- Throws:
AtlanException
- on any API communication issue
-
get
Retrieves a specific type definition from Atlan.- Parameters:
internalName
- the internal (hashed-string, if used) name of the type definition- Returns:
- details of that specific type definition
- Throws:
AtlanException
- on any API communication issue
-
get
Retrieves a specific type definition from Atlan.- Parameters:
internalName
- the internal (hashed-string, if used) name of the type definitionoptions
- to override default client settings- Returns:
- details of that specific type definition
- Throws:
AtlanException
- on any API communication issue
-
create
Create a new type definition in Atlan. Note: only custom metadata, enumerations, and Atlan tag type definitions are currently supported. Furthermore, if any of these are created their respective cache will be force-refreshed.- Parameters:
typeDef
- to create- Returns:
- the resulting type definition that was created
- Throws:
AtlanException
- on any API communication issue
-
create
Create a new type definition in Atlan. Note: only custom metadata, enumerations, and Atlan tag type definitions are currently supported. Furthermore, if any of these are created their respective cache will be force-refreshed.- Parameters:
typeDef
- to createoptions
- to override default client settings- Returns:
- the resulting type definition that was created
- Throws:
AtlanException
- on any API communication issue
-
create
Create new type definitions in Atlan. Note: only custom metadata, enumerations, and Atlan tag type definitions are currently supported. Furthermore, if any of these are created their respective cache will be force-refreshed.- Parameters:
typeDefs
- to create- Returns:
- the resulting type definition that was created
- Throws:
AtlanException
- on any API communication issue
-
create
Create new type definitions in Atlan. Note: only custom metadata, enumerations, and Atlan tag type definitions are currently supported. Furthermore, if any of these are created their respective cache will be force-refreshed.- Parameters:
typeDefs
- to createoptions
- to override default client settings- Returns:
- the resulting type definition that was created
- Throws:
AtlanException
- on any API communication issue
-
_create
Create a new type definition in Atlan. NOTE: INTERNAL USE ONLY. This will NOT work without specially-configured policies - use createTypeDef instead. Furthermore, if any of Atlan tag, enum or custom metadata is created their respective cache will be force-refreshed.- Parameters:
typeDef
- to create- Returns:
- the resulting type definition that was created
- Throws:
AtlanException
- on any API communication issue- See Also:
-
_create
Create a new type definition in Atlan. NOTE: INTERNAL USE ONLY. This will NOT work without specially-configured policies - use createTypeDef instead. Furthermore, if any of Atlan tag, enum or custom metadata is created their respective cache will be force-refreshed.- Parameters:
typeDef
- to createoptions
- to override default client settings- Returns:
- the resulting type definition that was created
- Throws:
AtlanException
- on any API communication issue- See Also:
-
_create
Create new type definitions in Atlan. NOTE: INTERNAL USE ONLY. This will NOT work without specially-configured policies - use createTypeDef instead. Furthermore, if any of Atlan tag, enum or custom metadata is created their respective cache will be force-refreshed.- Parameters:
typeDefs
- to create- Returns:
- the resulting type definition that was created
- Throws:
AtlanException
- on any API communication issue- See Also:
-
_create
public TypeDefResponse _create(List<TypeDef> typeDefs, RequestOptions options) throws AtlanException Create new type definitions in Atlan. NOTE: INTERNAL USE ONLY. This will NOT work without specially-configured policies - use createTypeDef instead. Furthermore, if any of Atlan tag, enum or custom metadata is created their respective cache will be force-refreshed.- Parameters:
typeDefs
- to createoptions
- to override default client settings- Returns:
- the resulting type definition that was created
- Throws:
AtlanException
- on any API communication issue- See Also:
-
update
Update an existing type definition in Atlan. Note: only custom metadata and Atlan tag type definitions are currently supported. Furthermore, if any of these are updated their respective cache will be force-refreshed.- Parameters:
typeDef
- to update- Returns:
- the resulting type definition that was updated
- Throws:
AtlanException
- on any API communication issue
-
update
Update an existing type definition in Atlan. Note: only custom metadata and Atlan tag type definitions are currently supported. Furthermore, if any of these are updated their respective cache will be force-refreshed.- Parameters:
typeDef
- to updateoptions
- to override default client settings- Returns:
- the resulting type definition that was updated
- Throws:
AtlanException
- on any API communication issue
-
_update
Update an existing type definition in Atlan. Note: only custom metadata and Atlan tag type definitions are currently supported. Furthermore, if any Atlan tag, enum or custom metadata is updated their respective cache will be force-refreshed.- Parameters:
typeDef
- to update- Returns:
- the resulting type definition that was updated
- Throws:
AtlanException
- on any API communication issue
-
_update
Update an existing type definition in Atlan. Note: only custom metadata and Atlan tag type definitions are currently supported. Furthermore, if any Atlan tag, enum or custom metadata is updated their respective cache will be force-refreshed.- Parameters:
typeDef
- to updateoptions
- to override default client settings- Returns:
- the resulting type definition that was updated
- Throws:
AtlanException
- on any API communication issue
-
purge
Delete the type definition. Furthermore, if an Atlan tag, enum or custom metadata is deleted their respective cache will be force-refreshed- Parameters:
internalName
- the internal hashed-string name of the type definition- Throws:
AtlanException
- on any API communication issue
-
purge
Delete the type definition. Furthermore, if an Atlan tag, enum or custom metadata is deleted their respective cache will be force-refreshed- Parameters:
internalName
- the internal hashed-string name of the type definitionoptions
- to override default client settings- Throws:
AtlanException
- on any API communication issue
-