AWSEC2ModifySnapshotAttributeRequest

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        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 (readwrite, strong, nonatomic) NSNumber *_Nullable dryRun;

    Swift

    var dryRun: NSNumber? { get set }
  • The group to modify for the snapshot.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSEC2OperationType operationType;

    Swift

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

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var userIds: [String]? { get set }