C# Class Amazon.EC2.Model.ModifyImageAttributeRequest

Container for the parameters to the ModifyImageAttribute operation. 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.

Inheritance: AmazonEC2Request
Show file Open project: aws/aws-sdk-net Class Usage Examples

Public Methods

Method Description
ModifyImageAttributeRequest ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

ModifyImageAttributeRequest ( string imageId, string attribute ) : System

Instantiates ModifyImageAttributeRequest with the parameterized properties

Private Methods

Method Description
IsSetAttribute ( ) : bool
IsSetDescription ( ) : bool
IsSetImageId ( ) : bool
IsSetLaunchPermission ( ) : bool
IsSetOperationType ( ) : bool
IsSetProductCodes ( ) : bool
IsSetUserGroups ( ) : bool
IsSetUserIds ( ) : bool
IsSetValue ( ) : bool

Method Details

ModifyImageAttributeRequest() public method

Empty constructor used to set properties independently even when a simple constructor is available
public ModifyImageAttributeRequest ( ) : System
return System

ModifyImageAttributeRequest() public method

Instantiates ModifyImageAttributeRequest with the parameterized properties
public ModifyImageAttributeRequest ( string imageId, string attribute ) : System
imageId string The ID of the AMI.
attribute string The name of the attribute to modify.
return System