amazonka-ec2-0.2.3: Amazon Elastic Compute Cloud SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.ModifyImageAttribute

Contents

Description

Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time.

AWS Marketplace product codes cannot be modified. Images with an AWS Marketplace product code cannot be made public.

http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-ModifyImageAttribute.html

Synopsis

Request

Request constructor

Request lenses

miaAttribute :: Lens' ModifyImageAttribute (Maybe Text) Source

The name of the attribute to modify.

miaProductCodes :: Lens' ModifyImageAttribute [Text] Source

One or more product codes. After you add a product code to an AMI, it can't be removed. This is only valid when modifying the productCodes attribute.

miaUserGroups :: Lens' ModifyImageAttribute [Text] Source

One or more user groups. This is only valid when modifying the launchPermission attribute.

miaUserIds :: Lens' ModifyImageAttribute [Text] Source

One or more AWS account IDs. This is only valid when modifying the launchPermission attribute.

miaValue :: Lens' ModifyImageAttribute (Maybe Text) Source

The value of the attribute being modified. This is only valid when modifying the description attribute.

Response

Response constructor