deleteDomainObjectType method
Delete a DomainObjectType for the given Domain and ObjectType name.
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 unique name of the domain object type.
Implementation
Future<void> deleteDomainObjectType({
required String domainName,
required String objectTypeName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/domains/${Uri.encodeComponent(domainName)}/domain-object-types/${Uri.encodeComponent(objectTypeName)}',
exceptionFnMap: _exceptionFns,
);
}