@SdkInternalApi
    final DisassociateCreatedArtifactResult executeDisassociateCreatedArtifact(DisassociateCreatedArtifactRequest disassociateCreatedArtifactRequest) {

        ExecutionContext executionContext = createExecutionContext(disassociateCreatedArtifactRequest);
        AWSRequestMetrics awsRequestMetrics = executionContext.getAwsRequestMetrics();
        awsRequestMetrics.startEvent(Field.ClientExecuteTime);
        Request<DisassociateCreatedArtifactRequest> request = null;
        Response<DisassociateCreatedArtifactResult> response = null;

        try {
            awsRequestMetrics.startEvent(Field.RequestMarshallTime);
            try {
                request = new DisassociateCreatedArtifactRequestProtocolMarshaller(protocolFactory).marshall(super
                        .beforeMarshalling(disassociateCreatedArtifactRequest));
                // 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, "Migration Hub");
                request.addHandlerContext(HandlerContextKey.OPERATION_NAME, "DisassociateCreatedArtifact");
                request.addHandlerContext(HandlerContextKey.ADVANCED_CONFIG, advancedConfig);

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

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

            return response.getAwsResponse();

        } finally {

            endClientExecution(awsRequestMetrics, request, response);
        }
    }
<p>
Disassociates a created artifact of an AWS resource with a migration task performed by a migration tool that was
previously associated. This API has the following traits:
</p>
<ul>
<li>
<p>
A migration user can call the <code>DisassociateCreatedArtifacts</code> operation to disassociate a created AWS
Artifact from a migration task.
</p>
</li>
<li>
<p>
The created artifact name must be provided in ARN (Amazon Resource Name) format which will contain information
about type and region; for example: <code>arn:aws:ec2:us-east-1:488216288981:image/ami-6d0ba87b</code>.
</p>
</li>
<li>
<p>
Examples of the AWS resource behind the created artifact are, AMI's, EC2 instance, or RDS instance, etc.
</p>
</li>
</ul>

@param disassociateCreatedArtifactRequest
@return Result of the DisassociateCreatedArtifact operation returned by the service.
@throws AccessDeniedException
        You do not have sufficient access to perform this action.
@throws ThrottlingException
        The request was denied due to request throttling.
@throws InternalServerErrorException
        Exception raised when an internal, configuration, or dependency error is encountered.
@throws ServiceUnavailableException
        Exception raised when there is an internal, configuration, or dependency error encountered.
@throws DryRunOperationException
        Exception raised to indicate a successfully authorized action when the <code>DryRun</code> flag is set to
        "true".
@throws UnauthorizedOperationException
        Exception raised to indicate a request was not authorized when the <code>DryRun</code> flag is set to
        "true".
@throws InvalidInputException
        Exception raised when the provided input violates a policy constraint or is entered in the wrong format
        or data type.
@throws ResourceNotFoundException
        Exception raised when the request references a resource (Application Discovery Service configuration,
        update stream, migration task, etc.) that does not exist in Application Discovery Service (Application
        Discovery Service) or in Migration Hub's repository.
@throws HomeRegionNotSetException
        The home region is not set. Set the home region to continue.
@sample AWSMigrationHub.DisassociateCreatedArtifact
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/AWSMigrationHub-2017-05-31/DisassociateCreatedArtifact"
     target="_top">AWS API Documentation</a>
aws-java-sdk-migrationhub/src/main/java/com/amazonaws/services/migrationhub/AWSMigrationHubClient.java