modifyInstanceProfile

Modifies the specified instance profile using the provided parameters.

Required permissions:dms:UpdateInstanceProfile. 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 modify the instance profile.

Samples

// The following example updates the description and network type of an instance profile.
val resp = databaseMigrationClient.modifyInstanceProfile {
    instanceProfileIdentifier = "arn:aws:dms:us-east-1:111122223333:instance-profile:EXAMPLEABCDEFGHIJKLMNOPQRS"
    description = "Updated instance profile description"
    networkType = "DUAL"
}