AWSEC2ModifyImageAttributeRequest Class Reference

Inherits from AWSRequest : AWSModel : AWSMTLModel
Declared in AWSEC2Model.h
AWSEC2Model.m

Overview

Contains the parameters for ModifyImageAttribute.

Required parameters: [ImageId]

  attribute

The name of the attribute to modify.

@property (nonatomic, strong) NSString *attribute

Declared In

AWSEC2Model.h

  detail

A description for the AMI.

@property (nonatomic, strong) AWSEC2AttributeValue *detail

Declared In

AWSEC2Model.h

  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.

@property (nonatomic, strong) NSNumber *dryRun

Declared In

AWSEC2Model.h

  imageId

The ID of the AMI.

@property (nonatomic, strong) NSString *imageId

Declared In

AWSEC2Model.h

  launchPermission

A launch permission modification.

@property (nonatomic, strong) AWSEC2LaunchPermissionModifications *launchPermission

Declared In

AWSEC2Model.h

  operationType

The operation type.

@property (nonatomic, assign) AWSEC2OperationType operationType

Declared In

AWSEC2Model.h

  productCodes

One or more product codes. After you add a product code to an AMI, it can't be removed. This is only valid when modifying the productCodes attribute.

@property (nonatomic, strong) NSArray<NSString*> *productCodes

Declared In

AWSEC2Model.h

  userGroups

One or more user groups. This is only valid when modifying the launchPermission attribute.

@property (nonatomic, strong) NSArray<NSString*> *userGroups

Declared In

AWSEC2Model.h

  userIds

One or more AWS account IDs. This is only valid when modifying the launchPermission attribute.

@property (nonatomic, strong) NSArray<NSString*> *userIds

Declared In

AWSEC2Model.h

  value

The value of the attribute being modified. This is only valid when modifying the description attribute.

@property (nonatomic, strong) NSString *value

Declared In

AWSEC2Model.h