@SdkInternalApi
    final DissociateEntityFromThingResult executeDissociateEntityFromThing(DissociateEntityFromThingRequest dissociateEntityFromThingRequest) {

        ExecutionContext executionContext = createExecutionContext(dissociateEntityFromThingRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<DissociateEntityFromThingRequest> request = null;
        Response<DissociateEntityFromThingResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new DissociateEntityFromThingRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(dissociateEntityFromThingRequest));
                // Binds the request metrics to the current request.
                request.setAWSRequestMetrics(awsRequestMetrics);
                request.addHandlerContext(HandlerContextKey.CLIENT_ENDPOINT, endpoint);
                request.addHandlerContext(HandlerContextKey.ENDPOINT_OVERRIDDEN, isEndpointOverridden());
                request.addHandlerContext(HandlerContextKey.SIGNING_REGION, getSigningRegion());
                request.addHandlerContext(HandlerContextKey.SERVICE_ID, "IoTThingsGraph");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DissociateEntityFromThing");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

            } finally {
                awsRequestMetrics.endEvent(Field.RequestMarshallTime);
            }

            HttpResponseHandler<AmazonWebServiceResponse<DissociateEntityFromThingResult>> responseHandler = protocolFactory.createResponseHandler(
                    new JsonOperationMetadata().withPayloadJson(true).withHasStreamingSuccessResponse(false),
                    new DissociateEntityFromThingResultJsonUnmarshaller());
            response = invoke(request, responseHandler, executionContext);

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Dissociates a device entity from a concrete thing. The action takes only the type of the entity that you need to
dissociate because only one entity of a particular type can be associated with a thing.
</p>

@param dissociateEntityFromThingRequest
@return Result of the DissociateEntityFromThing operation returned by the service.
@throws InvalidRequestException
@throws ResourceNotFoundException
@throws InternalFailureException
@throws ThrottlingException
@sample AWSIoTThingsGraph.DissociateEntityFromThing
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/iotthingsgraph-2018-09-06/DissociateEntityFromThing"
     target="_top">AWS API Documentation</a>
aws-java-sdk-iotthingsgraph/src/main/java/com/amazonaws/services/iotthingsgraph/AWSIoTThingsGraphClient.java