disable_image_deprecation
(**kwargs)¶Cancels the deprecation of the specified AMI.
For more information, see Deprecate an AMI in the Amazon EC2 User Guide .
See also: AWS API Documentation
Request Syntax
response = client.disable_image_deprecation(
ImageId='string',
DryRun=True|False
)
[REQUIRED]
The ID of the AMI.
DryRunOperation
. Otherwise, it is UnauthorizedOperation
.dict
Response Syntax
{
'Return': True|False
}
Response Structure
(dict) --
Return (boolean) --
Returns true
if the request succeeds; otherwise, it returns an error.