Copyright | (c) Nike Inc. 2019 |
---|---|
License | BSD3 |
Maintainer | nathan.fairhurst@nike.com, fernando.freire@nike.com |
Stability | stable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
AWS.Lambda.Events.S3
Description
Synopsis
- data PrincipalIdentity = PrincipalIdentity {
- principalId :: Text
- newtype Records = Records {}
- data RequestParameters = RequestParameters {}
- data ResponseElements = ResponseElements {
- amazonId :: Text
- amazonRequestId :: Text
- data S3Bucket = S3Bucket {
- arn :: Text
- name :: Text
- ownerIdentity :: PrincipalIdentity
- data S3Config = S3Config {}
- data S3Event = S3Event {}
- data S3Object
Documentation
data PrincipalIdentity Source #
Constructors
PrincipalIdentity | |
Fields
|
Instances
data RequestParameters Source #
Constructors
RequestParameters | |
Fields |
Instances
data ResponseElements Source #
Constructors
ResponseElements | |
Fields
|
Instances
FromJSON ResponseElements Source # | |
Defined in AWS.Lambda.Events.S3 Methods parseJSON :: Value -> Parser ResponseElements # parseJSONList :: Value -> Parser [ResponseElements] # | |
Show ResponseElements Source # | |
Defined in AWS.Lambda.Events.S3 Methods showsPrec :: Int -> ResponseElements -> ShowS # show :: ResponseElements -> String # showList :: [ResponseElements] -> ShowS # | |
Eq ResponseElements Source # | |
Defined in AWS.Lambda.Events.S3 Methods (==) :: ResponseElements -> ResponseElements -> Bool # (/=) :: ResponseElements -> ResponseElements -> Bool # |
Constructors
S3Bucket | |
Fields
|
Instances
FromJSON S3Bucket Source # | |
Generic S3Bucket Source # | |
Show S3Bucket Source # | |
Eq S3Bucket Source # | |
type Rep S3Bucket Source # | |
Defined in AWS.Lambda.Events.S3 type Rep S3Bucket = D1 ('MetaData "S3Bucket" "AWS.Lambda.Events.S3" "hal-1.1-IwuGgwGQvpsJOoRlidLUAk" 'False) (C1 ('MetaCons "S3Bucket" 'PrefixI 'True) (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "ownerIdentity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 PrincipalIdentity)))) |
Constructors
S3Config | |
Fields
|
Instances
FromJSON S3Config Source # | |
Generic S3Config Source # | |
Show S3Config Source # | |
Eq S3Config Source # | |
type Rep S3Config Source # | |
Defined in AWS.Lambda.Events.S3 type Rep S3Config = D1 ('MetaData "S3Config" "AWS.Lambda.Events.S3" "hal-1.1-IwuGgwGQvpsJOoRlidLUAk" 'False) (C1 ('MetaCons "S3Config" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bucket") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 S3Bucket) :*: S1 ('MetaSel ('Just "configurationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "object") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 S3Object) :*: S1 ('MetaSel ('Just "s3SchemaVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))) |
Event data sent by S3 when triggering a Lambda.
Constructors
S3Event | |
Fields |
Instances
S3 object representations based on event type received.
Currently only Put/Delete events can trigger Lambdas
Constructors
PutObject | |
DeleteObject | |
Instances
FromJSON S3Object Source # | |
Generic S3Object Source # | |
Show S3Object Source # | |
Eq S3Object Source # | |
type Rep S3Object Source # | |
Defined in AWS.Lambda.Events.S3 type Rep S3Object = D1 ('MetaData "S3Object" "AWS.Lambda.Events.S3" "hal-1.1-IwuGgwGQvpsJOoRlidLUAk" 'False) (C1 ('MetaCons "PutObject" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "sequencer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :+: C1 ('MetaCons "DeleteObject" 'PrefixI 'True) (S1 ('MetaSel ('Just "sequencer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text))) |