Fugue.Core.AWS.Lambda

Module Members

Action

(Type)

type Action:
  | AddPermission
  | CreateAlias
  | CreateEventSourceMapping
  | CreateFunction
  | DeleteAlias
  | DeleteEventSourceMapping
  | DeleteFunction
  | GetAlias
  | GetEventSourceMapping
  | GetFunction
  | GetFunctionConfiguration
  | GetPolicy
  | InvokeFunction
  | ListAliases
  | ListEventSourceMappings
  | ListFunctions
  | ListVersionsByFunction
  | PublishVersion
  | RemovePermission
  | UpdateAlias
  | UpdateEventSourceMapping
  | UpdateFunctionCode
  | UpdateFunctionConfiguration
  | All

AddPermission

(Constructor)

All

(Constructor)

CreateAlias

(Constructor)

CreateEventSourceMapping

(Constructor)

CreateFunction

(Constructor)

DeleteAlias

(Constructor)

DeleteEventSourceMapping

(Constructor)

DeleteFunction

(Constructor)

GetAlias

(Constructor)

GetEventSourceMapping

(Constructor)

GetFunction

(Constructor)

GetFunctionConfiguration

(Constructor)

GetPolicy

(Constructor)

InvokeFunction

(Constructor)

ListAliases

(Constructor)

ListEventSourceMappings

(Constructor)

ListFunctions

(Constructor)

ListVersionsByFunction

(Constructor)

PublishVersion

(Constructor)

RemovePermission

(Constructor)

UpdateAlias

(Constructor)

UpdateEventSourceMapping

(Constructor)

UpdateFunctionCode

(Constructor)

UpdateFunctionConfiguration

(Constructor)

Alias

(Type)

type Alias:
  | Alias
      functionVersion: String
      description: Optional<String>
      name: String
      function: Function

Alias

(Constructor)

Argument:

Record {

Field: functionVersion
Type: String
Field: description
Type: Optional<String>
Field: name
Type: String
Field: function
Type: Function

}

Code

(Type)

type Code:
  | CodeZipFile Bytes
  | CodeS3Bucket S3BucketCode

CodeS3Bucket

(Constructor)

Argument:
S3BucketCode

CodeZipFile

(Constructor)

Argument:
Ludwig.Bytes

EventSource

(Type)

type EventSource:
  | DynamoDBStream Table
  | KinesisStream Stream

DynamoDBStream

(Constructor)

Argument:
Table

KinesisStream

(Constructor)

Argument:
Stream

EventSourceMapping

(Type)

type EventSourceMapping:
  | EventSourceMapping
      enabled: Optional<Bool>
      batchSize: Optional<Int>
      startingPosition: EventSourcePosition
      eventSource: EventSource
      startingPositionDate: Optional<Int>
      function: Function

EventSourceMapping

(Constructor)

Argument:

Record {

Field: enabled
Type: Optional<Bool>
Field: batchSize
Type: Optional<Int>
Field: startingPosition
Type: EventSourcePosition
Field: eventSource
Type: EventSource
Field: startingPositionDate
Type: Optional<Int>
Field: function
Type: Function

}

EventSourcePosition

(Type)

type EventSourcePosition:
  | TrimHorizon
  | Latest
  | AtTimestamp

AtTimestamp

(Constructor)

Latest

(Constructor)

TrimHorizon

(Constructor)

Function

(Type)

type Function:
  | Function
      functionName: String
      runtime: Runtime
      handler: String
      description: Optional<String>
      timeout: Optional<Int>
      memorySize: Optional<Int>
      publish: Optional<Bool>
      vpcConfig: Optional<VpcConfig>
      region: Optional<Region>
      code: Code
      role: Role
      permissions: Optional<List<Permission>>

Function

(Constructor)

Argument:

Record {

Field: functionName
Type: String
Field: runtime
Type: Runtime
Field: handler
Type: String
Field: description
Type: Optional<String>
Field: timeout
Type: Optional<Int>
Field: memorySize
Type: Optional<Int>
Field: publish
Type: Optional<Bool>
Field: vpcConfig
Type: Optional<VpcConfig>
Field: region
Type: Optional<Region>
Field: code
Type: Code
Field: role
Type: Role
Field: permissions
Type: Optional<List<Permission>>

}

Permission

(Type)

type Permission:
  | Permission
      action: Action
      principal: String
      qualifier: Optional<Qualifier>
      source: Optional<Source>
      eventSourceToken: Optional<NotImplemented>

Permission

(Constructor)

Argument:

Record {

Field: action
Type: Action
Field: principal
Type: String
Field: qualifier
Type: Optional<Qualifier>
Field: source
Type: Optional<Source>
Field: eventSourceToken
Type: Optional<NotImplemented>

}

Qualifier

(Type)

type Qualifier:
  | VersionQualifier Int
  | AliasQualifier Alias

AliasQualifier

(Constructor)

Argument:
Alias

VersionQualifier

(Constructor)

Argument:
Ludwig.Int

Runtime

(Type)

type Runtime:
  | Nodejs4_3
  | Java8
  | Python2_7
  | Python3_6
  | Nodejs6_10
  | Dotnetcore1_0

Dotnetcore1_0

(Constructor)

Java8

(Constructor)

Nodejs4_3

(Constructor)

Nodejs6_10

(Constructor)

Python2_7

(Constructor)

Python3_6

(Constructor)

S3BucketCode

(Type)

type S3BucketCode:
  | S3BucketCode
      s3Key: String
      s3ObjectVersion: Optional<String>
      s3Bucket: Bucket

S3BucketCode

(Constructor)

Argument:

Record {

Field: s3Key
Type: String
Field: s3ObjectVersion
Type: Optional<String>
Field: s3Bucket
Type: Bucket

}

Source

(Type)

type Source:
  | S3Source
      bucket: Bucket
      account: String
  | SESAccount String
  | ArnSource String

ArnSource

(Constructor)

Argument:
Ludwig.String

S3Source

(Constructor)

Argument:

Record {

Field: bucket
Type: Bucket
Field: account
Type: String

}

SESAccount

(Constructor)

Argument:
Ludwig.String

VpcConfig

(Type)

type VpcConfig:
  | VpcConfig
      subnets: List<Subnet>
      securityGroups: List<SecurityGroup>

VpcConfig

(Constructor)

Argument:

Record {

Field: subnets
Type: List<Subnet>
Field: securityGroups
Type: List<SecurityGroup>

}