AWSEC2ResetImageAttributeRequest

@interface AWSEC2ResetImageAttributeRequest

Contains the parameters for ResetImageAttribute.

Required parameters: [Attribute, ImageId]

  • The attribute to reset (currently you can only reset the launch permission attribute).

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSEC2ResetImageAttributeName attribute;

    Swift

    var attribute: AWSEC2ResetImageAttributeName { 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 (readwrite, strong, nonatomic) NSNumber *_Nullable dryRun;

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var imageId: String? { get set }