Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ModifyImageAttributeRequest

import type { ModifyImageAttributeRequest } from "https://aws-api.deno.dev/v0.3/services/ec2.ts?docs=full";

Contains the parameters for ModifyImageAttribute.

interface ModifyImageAttributeRequest {
Attribute?: string | null;
Description?: AttributeValue | null;
DryRun?: boolean | null;
ImageId: string;
LaunchPermission?: LaunchPermissionModifications | null;
OperationType?: OperationType | null;
OrganizationalUnitArns?: string[] | null;
OrganizationArns?: string[] | null;
ProductCodes?: string[] | null;
UserGroups?: string[] | null;
UserIds?: string[] | null;
Value?: string | null;
}

§Properties

§
Attribute?: string | null
[src]

The name of the attribute to modify.

Valid values: description | launchPermission

§
Description?: AttributeValue | null
[src]

A new description for the AMI.

§
DryRun?: boolean | null
[src]

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.

§
ImageId: string
[src]

The ID of the AMI.

§
LaunchPermission?: LaunchPermissionModifications | null
[src]

A new launch permission for the AMI.

§
OperationType?: OperationType | null
[src]

The operation type. This parameter can be used only when the Attribute parameter is launchPermission.

§
OrganizationalUnitArns?: string[] | null
[src]

The Amazon Resource Name (ARN) of an organizational unit (OU). This parameter can be used only when the Attribute parameter is launchPermission.

§
OrganizationArns?: string[] | null
[src]

The Amazon Resource Name (ARN) of an organization. This parameter can be used only when the Attribute parameter is launchPermission.

§
ProductCodes?: string[] | null
[src]

Not supported.

§
UserGroups?: string[] | null
[src]

The user groups. This parameter can be used only when the Attribute parameter is launchPermission.

§
UserIds?: string[] | null
[src]

The Amazon Web Services account IDs. This parameter can be used only when the Attribute parameter is launchPermission.

§
Value?: string | null
[src]

The value of the attribute being modified. This parameter can be used only when the Attribute parameter is description.