@Override
    public DeleteInstanceProfileResult deleteInstanceProfile(DeleteInstanceProfileRequest request) {
        request = beforeClientExecution(request);
        return executeDeleteInstanceProfile(request);
    }
@ Override public DeleteInstanceProfileResult deleteInstanceProfile ( DeleteInstanceProfileRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteInstanceProfile ( request ) ; }
<p>
Deletes the specified instance profile. The instance profile must not have an associated role.
</p>
<important>
<p>
Make sure that you do not have any Amazon EC2 instances running with the instance profile you are about to
delete. Deleting a role or instance profile that is associated with a running instance will break any
applications running on the instance.
</p>
</important>
<p>
For more information about instance profiles, go to <a
href="https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html">About Instance Profiles</a>.
</p>

@param deleteInstanceProfileRequest
@return Result of the DeleteInstanceProfile operation returned by the service.
@throws NoSuchEntityException
The request was rejected because it referenced a resource entity that does not exist. The error message
describes the resource.
@throws DeleteConflictException
The request was rejected because it attempted to delete a resource that has attached subordinate
entities. The error message describes these entities.
@throws LimitExceededException
The request was rejected because it attempted to create resources beyond the current AWS account limits.
The error message describes the limit exceeded.
@throws ServiceFailureException
The request processing has failed because of an unknown error, exception or failure.
@sample AmazonIdentityManagement.DeleteInstanceProfile
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/DeleteInstanceProfile" target="_top">AWS API
Documentation</a>