Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ModifyImageAttributeRequest

Contains the parameters for ModifyImageAttribute.

Hierarchy

Index

Properties

Optional Attribute

Attribute: undefined | string

The name of the attribute to modify.

Valid values: description | launchPermission

Optional Description

Description: AttributeValue

A new description for the AMI.

Optional DryRun

DryRun: undefined | false | true

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

ImageId: string | undefined

The ID of the AMI.

Optional LaunchPermission

A new launch permission for the AMI.

Optional OperationType

OperationType: OperationType | string

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

Optional OrganizationArns

OrganizationArns: string[]

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

Optional OrganizationalUnitArns

OrganizationalUnitArns: string[]

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

Optional ProductCodes

ProductCodes: string[]

Not supported.

Optional UserGroups

UserGroups: string[]

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

Optional UserIds

UserIds: string[]

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

Optional Value

Value: undefined | string

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