paws.compute (version 0.1.0)

ec2_describe_image_attribute: Describes the specified attribute of the specified AMI

Description

Describes the specified attribute of the specified AMI. You can specify only one attribute at a time.

Usage

ec2_describe_image_attribute(Attribute, ImageId, DryRun)

Arguments

Attribute

[required] The AMI attribute.

Note: Depending on your account privileges, the blockDeviceMapping attribute may return a Client.AuthFailure error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.

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.

Request syntax

svc$describe_image_attribute(
  Attribute = "description"|"kernel"|"ramdisk"|"launchPermission"|"productCodes"|"blockDeviceMapping"|"sriovNetSupport",
  ImageId = "string",
  DryRun = TRUE|FALSE
)

Examples

Run this code
# NOT RUN {
# This example describes the launch permissions for the specified AMI.
# }
# NOT RUN {
svc$describe_image_attribute(
  Attribute = "launchPermission",
  ImageId = "ami-5731123e"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab