getProfileObjectType method
Returns the object types for a specific domain.
May throw AccessDeniedException.
May throw BadRequestException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter domainName :
The unique name of the domain.
Parameter objectTypeName :
The name of the profile object type.
Implementation
Future<GetProfileObjectTypeResponse> getProfileObjectType({
required String domainName,
required String objectTypeName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/domains/${Uri.encodeComponent(domainName)}/object-types/${Uri.encodeComponent(objectTypeName)}',
exceptionFnMap: _exceptionFns,
);
return GetProfileObjectTypeResponse.fromJson(response);
}