Modifies an attribute of an AMI
| C# |
public class ModifyImageAttributeRequest : EC2Request
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| 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) | (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.
|
| Object | ||
| EC2Request | ||
| ModifyImageAttributeRequest | ||