ModifyImageAttribute

Description

Modifies the specified attribute of the specified image.

Request Parameters

  • ImageId - The ID of the image
    • Requred: Yes
    • Type: String
  • Description.Value - Change template description
    • Required: No
    • Type: String
  • LaunchPermission.Add.N.UserId - An addition of permission to the specified account
    • Required: No
    • Type: String
  • LaunchPermission.Add.N.Group - An addition of permission to the specified group
    • Required: No
    • Type: String
    • Valid values: all
  • LaunchPermission.Remove.N.UserId - A removal of permission to the specified account
    • Required: No
    • Type: String
  • LaunchPermission.Remove.N.Group - A removal of permission to the specified group
    • Required: No
    • Type: String
    • Valid values: all

Response Elements

  • return - True, если операция выполнена успешно
  • requestId - The ID of the request

Examples

c2-ec2 ModifyImageAttribute ImageId <image_id> Description.Value "New template description"

c2-ec2 ModifyImageAttribute ImageId <image_id> LaunchPermission.Add.1.UserId <user_id>