deleteInstanceProfile
abstract suspend fun deleteInstanceProfile(input: DeleteInstanceProfileRequest): DeleteInstanceProfileResponse
Deletes the specified instance profile.
All migration projects associated with the instance profile must be deleted or modified before you can delete the instance profile.
Samples
fun main() {
//sampleStart
// Deletes the specified instance profile.
val resp = databaseMigrationClient.deleteInstanceProfile {
instanceProfileIdentifier = "arn:aws:dms:us-east-1:012345678901:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRSTUVWXYZ012345"
}
//sampleEnd
}