AWSEC2ModifySnapshotAttributeRequest

Objective-C

@interface AWSEC2ModifySnapshotAttributeRequest

Swift

class AWSEC2ModifySnapshotAttributeRequest
  • The snapshot attribute to modify. Only volume creation permissions can be modified.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2SnapshotAttributeName attribute;

    Swift

    var attribute: AWSEC2SnapshotAttributeName { get set }
  • A JSON representation of the snapshot attribute modification.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSEC2CreateVolumePermissionModifications *_Nullable createVolumePermission;

    Swift

    var createVolumePermission: AWSEC2CreateVolumePermissionModifications? { 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 group to modify for the snapshot.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable groupNames;

    Swift

    var groupNames: [String]? { get set }
  • The type of operation to perform to the attribute.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2OperationType operationType;

    Swift

    var operationType: AWSEC2OperationType { get set }
  • The ID of the snapshot.

    Declaration

    Objective-C

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

    Swift

    var snapshotId: String? { get set }
  • The account ID to modify for the snapshot.

    Declaration

    Objective-C

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

    Swift

    var userIds: [String]? { get set }