Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Interface ITypeResolver

interface ITypeResolver
Extends IStandard An interface for finding type information. Type resolver is implemented by IProcess Caller could call
to get the type resolver object.

Methods

tryFindInterface()

IInterfaceType? tryFindInterface(string name)

Parameters

name
string — Required

Returns

IInterfaceType? The return value is optional and might be absent.

tryFindStruct()

IStructType? tryFindStruct(string name)

Parameters

name
string — Required

Returns

IStructType? The return value is optional and might be absent.

tryFindEnum()

IEnumType? tryFindEnum(string name)

Parameters

name
string — Required

Returns

IEnumType? The return value is optional and might be absent.

tryFindError()

IErrorType? tryFindError(string name)

Parameters

name
string — Required

Returns

IErrorType? The return value is optional and might be absent.

getPrimitiveType()

IPrimitiveType* getPrimitiveType(PrimitiveKind kind)

Parameters

kind
PrimitiveKind — Required

Returns

IPrimitiveType*

makeDataObjectBuilder()

IDataObjectBuilder* makeDataObjectBuilder(string[] interfaceNames)
Constructs a data object builder for given data object interfaces. The implementation uses annotation to relate data object and data object builder interfaces. The following is the expectation:
The method can be used directly or through a helper method as shown in the following example:

Parameters

interfaceNames
string[] — Required List of data object interfaces.

Returns

IDataObjectBuilder* the data-object builder
Last modified on October 29, 2026