Amazon EC2 · Schema
ModifyImageAttributeRequest
Amazon Web ServicesCloud ComputingComputeInfrastructure-as-a-ServiceInfrastructureVirtual Machines
Properties
| Name | Type | Description |
|---|---|---|
| Attribute | string | The name of the attribute to modify. Valid values: description | imdsSupport | launchPermission |
| Description | object | |
| ImageId | string | The ID of the AMI. |
| LaunchPermission | object | |
| OperationType | string | The operation type. This parameter can be used only when the Attribute parameter is launchPermission. |
| ProductCodes | array | Not supported. |
| UserGroups | array | The user groups. This parameter can be used only when the Attribute parameter is launchPermission. |
| UserIds | array | The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission. |
| Value | string | The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description or imdsSupport. |
| OrganizationArns | array | The Amazon Resource Name (ARN) of an organization. This parameter can be used only when the Attribute parameter is launchPermission. |
| OrganizationalUnitArns | array | The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the Attribute parameter is launchPermission. |
| ImdsSupport | object | |
| DryRun | boolean | Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRun |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/amazon-ec2/json-schema/amazon-ec2-modify-image-attribute-request-schema.json",
"title": "ModifyImageAttributeRequest",
"x-generated": "2026-11-11",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/amazon-ec2-image-attribute-api-openapi.yml#/components/schemas/ModifyImageAttributeRequest",
"type": "object",
"properties": {
"Attribute": {
"type": "string",
"description": "The name of the attribute to modify. Valid values: description | imdsSupport | launchPermission"
},
"Description": {
"$ref": "#/$defs/AttributeValue"
},
"ImageId": {
"type": "string",
"description": "The ID of the AMI."
},
"LaunchPermission": {
"$ref": "#/$defs/LaunchPermissionModifications"
},
"OperationType": {
"type": "string",
"enum": [
"add",
"remove"
],
"description": "The operation type. This parameter can be used only when the Attribute parameter is launchPermission."
},
"ProductCodes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Not supported."
},
"UserGroups": {
"type": "array",
"items": {
"type": "string"
},
"description": "The user groups. This parameter can be used only when the Attribute parameter is launchPermission."
},
"UserIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission."
},
"Value": {
"type": "string",
"description": "The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description or imdsSupport."
},
"OrganizationArns": {
"type": "array",
"items": {
"type": "string"
},
"description": "The Amazon Resource Name (ARN) of an organization. This parameter can be used only when the Attribute parameter is launchPermission."
},
"OrganizationalUnitArns": {
"type": "array",
"items": {
"type": "string"
},
"description": "The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the Attribute parameter is launchPermission."
},
"ImdsSupport": {
"$ref": "#/$defs/AttributeValue"
},
"DryRun": {
"type": "boolean",
"description": "Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation."
}
},
"required": [
"ImageId"
],
"$defs": {
"AttributeValue": {
"type": "object",
"properties": {
"Value": {
"type": "string",
"description": "The attribute value. The value is case-sensitive."
}
}
},
"LaunchPermission": {
"type": "object",
"properties": {
"OrganizationArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of an organization."
},
"OrganizationalUnitArn": {
"type": "string",
"description": "The Amazon Resource Name (ARN) of an organizational unit (OU)."
},
"UserId": {
"type": "string",
"description": "The Amazon Web Services account ID. Constraints: Up to 10 000 account IDs can be specified in a single request."
},
"Group": {
"type": "string",
"enum": [
"all"
],
"description": "The name of the group."
}
}
},
"LaunchPermissionModifications": {
"type": "object",
"properties": {
"Add": {
"type": "array",
"items": {
"$ref": "#/$defs/LaunchPermission"
},
"description": "The Amazon Web Services account ID, organization ARN, or OU ARN to add to the list of launch permissions for the AMI."
},
"Remove": {
"type": "array",
"items": {
"$ref": "#/$defs/LaunchPermission"
},
"description": "The Amazon Web Services account ID, organization ARN, or OU ARN to remove from the list of launch permissions for the AMI."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-ec2-modify-image-attribute-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.