getInstance

Enables you to programmatically retrieve the information related to an Amazon Web Services Supply Chain instance ID.

Samples


fun main() { 
   //sampleStart 
   // Successful GetInstance request
val resp = supplyChainClient.getInstance {
    instanceId = "9e193580-7cc5-45f7-9609-c43ba0ada793"
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // Successful GetInstance request with error message
val resp = supplyChainClient.getInstance {
    instanceId = "9e193580-7cc5-45f7-9609-c43ba0ada793"
} 
   //sampleEnd
}