Skip to content

Disable Image Deprecation

ec2_disable_image_deprecation R Documentation

Cancels the deprecation of the specified AMI

Description

Cancels the deprecation of the specified AMI.

For more information, see Deprecate an AMI in the Amazon EC2 User Guide.

Usage

ec2_disable_image_deprecation(ImageId, DryRun)

Arguments

ImageId

[required] The ID of the AMI.

DryRun

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.

Value

A list with the following syntax:

list(
  Return = TRUE|FALSE
)

Request syntax

svc$disable_image_deprecation(
  ImageId = "string",
  DryRun = TRUE|FALSE
)