Initiates the copy of an AMI from the specified source region to the region in which the request was made. You specify the destination region by using its endpoint when making the request. AMIs that use encrypted Amazon EBS snapshots cannot be copied with this method.
For more information, see Copying AMIs in the Amazon Elastic Compute Cloud User Guide .
Declaration Syntax
C# |
CopyImageResponse CopyImage( CopyImageRequest request )
Parameters
- request (CopyImageRequest)
- Copy Image request
Return Value
Copy Image response from the service
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |