RestApiGateway
Index
Interfaces
Variables
Interfaces
APIGatewayEventIdentity
optionalaccessKey
optionalaccountId
optionalapiKey
optionalapiKeyId
optionalcaller
optionalclientCert
optionalcognitoAuthenticationProvider
optionalcognitoAuthenticationType
optionalcognitoIdentityId
optionalcognitoIdentityPoolId
optionalprincipalOrgId
optionalsourceIp
optionaluser
optionaluserAgent
optionaluserArn
APIGatewayEventRequestContext
accountId
apiId
optionalauthorizer
optionalconnectedAt
optionalconnectionId
optionaldeploymentId
optionaldomainName
optionaldomainPrefix
optionaleventType
optionalextendedRequestId
httpMethod
identity
optionalmessageDirection
optionalmessageId
optionaloperationName
path
protocol
requestId
requestTime
requestTimeEpoch
optionalresourceId
resourcePath
optionalrouteKey
stage
APIGatewayProxyEventSchema
body
optionalheaders
httpMethod
isBase64Encoded
optionalmultiValueHeaders
multiValueQueryStringParameters
path
optionalpathParameters
queryStringParameters
requestContext
resource
optionalstageVariables
APIGatewayRequestAuthorizerEventSchema
optionalapiId
optionaldeploymentId
optionaldomainName
headers
Type declaration
[k string]: string | undefined
httpMethod
methodArn
multiValueHeaders
Type declaration
[k string]: string[] | undefined
multiValueQueryStringParameters
Type declaration
[k string]: string[] | undefined
path
pathParameters
Type declaration
[k string]: string | undefined
queryStringParameters
Type declaration
[k string]: string | undefined
requestContext
resource
stageVariables
Type declaration
[k string]: string | undefined
type
APIGatewayTokenAuthorizerEventSchema
authorizationToken
methodArn
type
Variables
APIGatewayEventRequestContext
Type declaration
readonlyis: (o: unknown) => o is APIGatewayEventRequestContext
Parameters
o: unknown
Returns o is APIGatewayEventRequestContext
readonlyparse: (o: unknown) => { right: APIGatewayEventRequestContext } | { left: DefinedError[] }
Parameters
o: unknown
Returns { right: APIGatewayEventRequestContext } | { left: DefinedError[] }
readonlyvalidate: ValidateFunction<APIGatewayEventRequestContext>
get errors(): undefined | ErrorObject<string, Record<string, any>, unknown>[]
get schema(): AnySchema
APIGatewayProxyEventSchema
Type declaration
readonlyis: (o: unknown) => o is APIGatewayProxyEventSchema
Parameters
o: unknown
Returns o is APIGatewayProxyEventSchema
readonlyparse: (o: unknown) => { right: APIGatewayProxyEventSchema } | { left: DefinedError[] }
Parameters
o: unknown
Returns { right: APIGatewayProxyEventSchema } | { left: DefinedError[] }
readonlyvalidate: ValidateFunction<APIGatewayProxyEventSchema>
get errors(): undefined | ErrorObject<string, Record<string, any>, unknown>[]
get schema(): AnySchema
APIGatewayRequestAuthorizerEventSchema
Type declaration
readonlyis: (o: unknown) => o is APIGatewayRequestAuthorizerEventSchema
Parameters
o: unknown
Returns o is APIGatewayRequestAuthorizerEventSchema
readonlyparse: (o: unknown) => { right: APIGatewayRequestAuthorizerEventSchema } | { left: DefinedError[] }
Parameters
o: unknown
Returns { right: APIGatewayRequestAuthorizerEventSchema } | { left: DefinedError[] }
readonlyvalidate: ValidateFunction<APIGatewayRequestAuthorizerEventSchema>
get errors(): undefined | ErrorObject<string, Record<string, any>, unknown>[]
get schema(): AnySchema
APIGatewayTokenAuthorizerEventSchema
Type declaration
readonlyis: (o: unknown) => o is APIGatewayTokenAuthorizerEventSchema
Parameters
o: unknown
Returns o is APIGatewayTokenAuthorizerEventSchema
readonlyparse: (o: unknown) => { right: APIGatewayTokenAuthorizerEventSchema } | { left: DefinedError[] }
Parameters
o: unknown
Returns { right: APIGatewayTokenAuthorizerEventSchema } | { left: DefinedError[] }
readonlyvalidate: ValidateFunction<APIGatewayTokenAuthorizerEventSchema>
get errors(): undefined | ErrorObject<string, Record<string, any>, unknown>[]
get schema(): AnySchema