AWSEC2DescribeImageAttributeRequest
Objective-C
@interface AWSEC2DescribeImageAttributeRequest
Swift
class AWSEC2DescribeImageAttributeRequest
Contains the parameters for DescribeImageAttribute.
Required parameters: [Attribute, ImageId]
-
The AMI attribute.
Note: Depending on your account privileges, the
blockDeviceMapping
attribute may return aClient.AuthFailure
error. If this happens, use DescribeImages to get information about the block device mapping for the AMI.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 isUnauthorizedOperation
.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 }