Package org.jclouds.aws.ec2.features
Interface AWSAMIApi
- All Superinterfaces:
AMIApi
Provides access to AMI Services.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addProductCodesToImageInRegion
(String region, Iterable<String> productCodes, String imageId) AddsproductCode
s to an AMI.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 Details
-
getProductCodesForImageInRegion
@Named("DescribeImageAttribute") @POST @Path("/") Set<String> getProductCodesForImageInRegion(@Nullable String region, @FormParam("ImageId") String imageId) Returns the Product Codes of an image.- Parameters:
region
- AMIs are tied to the Region where its files are located within Amazon S3.imageId
- The ID of the AMI for which an attribute will be described- See Also:
-
addProductCodesToImageInRegion
@Named("ModifyImageAttribute") @POST @Path("/") void addProductCodesToImageInRegion(@Nullable String region, Iterable<String> productCodes, @FormParam("ImageId") String imageId) AddsproductCode
s to an AMI.- Parameters:
region
- AMIs are tied to the Region where its files are located within Amazon S3.productCodes
- Product CodesimageId
- The AMI ID.- See Also:
-
removeProductCodesFromImageInRegion
@Named("ModifyImageAttribute") @POST @Path("/") void removeProductCodesFromImageInRegion(@Nullable String region, Iterable<String> productCodes, @FormParam("ImageId") String imageId) RemovesproductCode
s from an AMI.- Parameters:
region
- AMIs are tied to the Region where its files are located within Amazon S3.productCodes
- Product CodesimageId
- The AMI ID.- See Also:
-