AWSEC2CreateNetworkInterfacePermissionRequest

Objective-C

@interface AWSEC2CreateNetworkInterfacePermissionRequest

Swift

class AWSEC2CreateNetworkInterfacePermissionRequest

Contains the parameters for CreateNetworkInterfacePermission.

Required parameters: [NetworkInterfaceId, Permission]

  • The Amazon Web Services account ID.

    Declaration

    Objective-C

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

    Swift

    var awsAccountId: String? { get set }
  • The Amazon Web Service. Currently not supported.

    Declaration

    Objective-C

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

    Swift

    var awsService: String? { 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 network interface.

    Declaration

    Objective-C

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

    Swift

    var networkInterfaceId: String? { get set }
  • The type of permission to grant.

    Declaration

    Objective-C

    @property (nonatomic) AWSEC2InterfacePermissionType permission;

    Swift

    var permission: AWSEC2InterfacePermissionType { get set }