ModifyImageAttributeRequest Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the ModifyImageAttribute operation.

The ModifyImageAttribute operation modifies an attribute of an AMI.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.Model.ModifyImageAttributeRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class ModifyImageAttributeRequest : AmazonWebServiceRequest
         IRequestEvents

The ModifyImageAttributeRequest type exposes the following members

Constructors

  Name Description
Public Method ModifyImageAttributeRequest()

Properties

  Name Description
Public Property Attribute The name of the AMI attribute you want to modify. Available attributes: launchPermission, productCodes
Public Property Description String value
Public Property ImageId The ID of the AMI whose attribute you want to modify.
Public Property LaunchPermission
Public Property OperationType The type of operation being requested. Available operation types: add, remove
Public Property ProductCodes The list of product codes being added to or removed from the specified AMI. Only valid when the productCodes attribute is being modified.
Public Property UserGroups The user group being added to or removed from the list of user groups with launch permissions for this AMI. Only valid when the launchPermission attribute is being modified. Available user groups: all
Public Property UserIds The AWS user ID being added to or removed from the list of users with launch permissions for this AMI. Only valid when the launchPermission attribute is being modified.
Public Property Value The value of the attribute being modified. Only valid when the description attribute is being modified.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8