AWSEC2DescribeImageAttributeRequest

Objective-C

@interface AWSEC2DescribeImageAttributeRequest

Swift

class AWSEC2DescribeImageAttributeRequest

Contains the parameters for DescribeImageAttribute.

Required parameters: [Attribute, ImageId]

  • The AMI attribute.

    Note: The blockDeviceMapping attribute is deprecated. Using this attribute returns the Client.AuthFailure error. To get information about the block device mappings for an AMI, use the DescribeImages action.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2ImageAttributeName attribute;

    Swift

    var attribute: AWSEC2ImageAttributeName { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • The ID of the AMI.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable imageId;

    Swift

    var imageId: String? { get set }