deleteInstanceProfile

Deletes the specified instance profile.

Required permissions:dms:DeleteInstanceProfile. For more information, see Actions, resources, and condition keys for Database Migration Service.

All migration projects associated with the instance profile must be deleted or modified before you can delete the instance profile.

Samples

// The following example deletes an instance profile identified by its ARN.
val resp = databaseMigrationClient.deleteInstanceProfile {
    instanceProfileIdentifier = "arn:aws:dms:us-east-1:111122223333:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRS"
}