AWSEC2ResetImageAttributeRequest

Objective-C

@interface AWSEC2ResetImageAttributeRequest

Swift

class 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 (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 (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 }