AWS SDK for .NET Documentation
DeleteInstanceProfile Method (deleteInstanceProfileRequest)
AmazonAmazon.IdentityManagementAmazonIdentityManagementServiceDeleteInstanceProfile(DeleteInstanceProfileRequest) Did this page help you?   Yes   No    Tell us about it...

Deletes the specified instance profile. The instance profile must have an associated role.

Declaration Syntax
C#
DeleteInstanceProfileResponse DeleteInstanceProfile(
	DeleteInstanceProfileRequest deleteInstanceProfileRequest
)
Parameters
deleteInstanceProfileRequest (DeleteInstanceProfileRequest)
Container for the necessary parameters to execute the DeleteInstanceProfile service method on AmazonIdentityManagementService.
Exceptions

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.20.0 (1.5.20.0)