modifyInstanceProfile
abstract suspend fun modifyInstanceProfile(input: ModifyInstanceProfileRequest): ModifyInstanceProfileResponse
Modifies the specified instance profile using the provided parameters.
All migration projects associated with the instance profile must be deleted or modified before you can modify the instance profile.
Samples
fun main() {
//sampleStart
// Modifies the specified instance profile using the provided parameters.
val resp = databaseMigrationClient.modifyInstanceProfile {
instanceProfileIdentifier = ""
availabilityZone = ""
kmsKeyArn = ""
publiclyAccessible = true
networkType = ""
instanceProfileName = ""
description = ""
subnetGroupIdentifier = ""
vpcSecurityGroups = listOf<String>(
)
}
//sampleEnd
}