Deletes the specified instance profile. The instance profile must have an associated role.
| C# |
DeleteInstanceProfileResponse DeleteInstanceProfile( DeleteInstanceProfileRequest deleteInstanceProfileRequest )
- deleteInstanceProfileRequest (DeleteInstanceProfileRequest)
- Container for the necessary parameters to execute the DeleteInstanceProfile service method on AmazonIdentityManagementService.
| Exception | Condition |
|---|---|
| NoSuchEntityException | |
| DeleteConflictException |