Package org.jclouds.aws.ec2.features
Interface AWSAMIApi
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addProductCodesToImageInRegion(String region, Iterable<String> productCodes, String imageId)
AddsproductCode
s to an AMI.Set<String>
getProductCodesForImageInRegion(String region, String imageId)
Returns the Product Codes of an image.void
removeProductCodesFromImageInRegion(String region, Iterable<String> productCodes, String imageId)
RemovesproductCode
s from an AMI.-
Methods inherited from interface org.jclouds.ec2.features.AMIApi
addLaunchPermissionsToImageInRegion, createImageInRegion, deregisterImageInRegion, describeImagesInRegion, describeImagesInRegionWithFilter, getBlockDeviceMappingsForImageInRegion, getLaunchPermissionForImageInRegion, registerImageFromManifestInRegion, registerUnixImageBackedByEbsInRegion, removeLaunchPermissionsFromImageInRegion, resetLaunchPermissionsOnImageInRegion
-
-
-
-
Method Detail
-
getProductCodesForImageInRegion
@Named("DescribeImageAttribute") @POST @Path("/") Set<String> getProductCodesForImageInRegion(@Nullable String region, @FormParam("ImageId") String imageId)
Returns the Product Codes of an image.
-
addProductCodesToImageInRegion
@Named("ModifyImageAttribute") @POST @Path("/") void addProductCodesToImageInRegion(@Nullable String region, Iterable<String> productCodes, @FormParam("ImageId") String imageId)
AddsproductCode
s to an AMI.
-
-