updateInstance
inline suspend fun SupplyChainClient.updateInstance(crossinline block: UpdateInstanceRequest.Builder.() -> Unit): UpdateInstanceResponse
Enables you to programmatically update an Amazon Web Services Supply Chain instance description by providing all the relevant information such as account ID, instance ID and so on without using the AWS console.
Samples
fun main() {
//sampleStart
// Successful UpdateInstance request
val resp = supplyChainClient.updateInstance {
instanceId = "9e193580-7cc5-45f7-9609-c43ba0ada793"
instanceName = "updated example instance name"
instanceDescription = "updated example instance description"
}
//sampleEnd
}