AWS SDK for .NET Documentation
ModifyImageAttributeRequest Class
AmazonAmazon.EC2.ModelModifyImageAttributeRequest Did this page help you?   Yes   No    Tell us about it...
Modifies an attribute of an AMI
Declaration Syntax
C#
public class ModifyImageAttributeRequest : EC2Request
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
ModifyImageAttributeRequest()()()()
Initializes a new instance of the ModifyImageAttributeRequest class

Attribute
The attribute to modify. Valid Values: launchPermission | productCodes

Description
New description for the AMI.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
ImageId
The AMI ID.

IsSetAttribute()()()()
Checks if Attribute property is set

IsSetDescription()()()()
Checks if Description property is set

IsSetImageId()()()()
Checks if ImageId property is set

IsSetOperationType()()()()
Checks if OperationType property is set

IsSetProductCode()()()()
Checks if ProductCode property is set

IsSetUserGroup()()()()
Checks if UserGroup property is set

IsSetUserId()()()()
Checks if UserId property is set

OperationType
The operation to perform on the attribute. Valid Values: add | remove

ProductCode
Product codes to add.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
UserGroup
Names of the groups to add/remove. Currently supports "all."

UserId
AWS Access Key IDs to add/remove.

WithAttribute(String) Obsolete.
Sets the attribute to modify.

WithDescription(String) Obsolete.
Sets the new description for the AMI.

WithImageId(String) Obsolete.
Sets the AMI ID.

WithOperationType(String) Obsolete.
Sets the operation to perform on the attribute.

WithProductCode(array<String>[]()[][]) Obsolete.
Sets product codes to add.

WithUserGroup(array<String>[]()[][]) Obsolete.
Sets names of the groups to add/remove.

WithUserId(array<String>[]()[][]) Obsolete.
Sets the AWS Access Key IDs to add/remove.

Inheritance Hierarchy
Object
EC2Request
 ModifyImageAttributeRequest

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)