Socket
Socket
Sign inDemoInstall

@types/aws-lambda

Package Overview
Dependencies
Maintainers
1
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/aws-lambda - npm Package Compare versions

Comparing version 8.10.121 to 8.10.122

9

aws-lambda/common/api-gateway.d.ts

@@ -18,7 +18,8 @@ // Types shared between trigger/api-gateway-authorizer.d.ts and api-gateway-proxy.d.ts

| {
[name: string]: any;
};
[name: string]: any;
};
export type APIGatewayEventRequestContext =
APIGatewayEventRequestContextWithAuthorizer<APIGatewayEventDefaultAuthorizerContext>;
export type APIGatewayEventRequestContext = APIGatewayEventRequestContextWithAuthorizer<
APIGatewayEventDefaultAuthorizerContext
>;

@@ -25,0 +26,0 @@ // The requestContext property of both request authorizer and proxy integration events.

@@ -25,3 +25,3 @@ /**

port: number;
protocol: 'http' | 'https';
protocol: "http" | "https";
readTimeout: number;

@@ -32,3 +32,3 @@ sslProtocols: string[];

export interface CloudFrontS3Origin {
authMethod: 'origin-access-identity' | 'none';
authMethod: "origin-access-identity" | "none";
customHeaders: CloudFrontHeaders;

@@ -49,7 +49,7 @@ domainName: string;

| {
action: 'read-only' | 'replace';
data: string;
encoding: 'base64' | 'text';
readonly inputTruncated: boolean;
}
action: "read-only" | "replace";
data: string;
encoding: "base64" | "text";
readonly inputTruncated: boolean;
}
| undefined;

@@ -68,3 +68,3 @@ readonly clientIp: string;

readonly distributionId: string;
readonly eventType: 'origin-request' | 'origin-response' | 'viewer-request' | 'viewer-response';
readonly eventType: "origin-request" | "origin-response" | "viewer-request" | "viewer-response";
readonly requestId: string;

@@ -83,3 +83,3 @@ };

headers?: CloudFrontHeaders | undefined;
bodyEncoding?: 'text' | 'base64' | undefined;
bodyEncoding?: "text" | "base64" | undefined;
body?: string | undefined;

@@ -143,3 +143,3 @@ }

/** The event type, either `viewer-request` or `viewer-response`. */
eventType: 'viewer-request' | 'viewer-response';
eventType: "viewer-request" | "viewer-response";
/** A string that uniquely identifies a CloudFront request (and its associated response). */

@@ -146,0 +146,0 @@ requestId: string;

@@ -48,50 +48,50 @@ // Type definitions for AWS Lambda 8.10

export * from './handler';
export * from './common/api-gateway';
export * from './common/cloudfront';
export * from './trigger/alb';
export * from "./common/api-gateway";
export * from "./common/cloudfront";
export * from "./handler";
export * from "./trigger/alb";
// TODO: export * from "./trigger/alexa";
export * from './trigger/api-gateway-authorizer';
export * from './trigger/api-gateway-proxy';
export * from './trigger/appsync-resolver';
export * from './trigger/autoscaling';
export * from "./trigger/api-gateway-authorizer";
export * from "./trigger/api-gateway-proxy";
export * from "./trigger/appsync-resolver";
export * from "./trigger/autoscaling";
// CloudTrail section just describes using S3 to trigger on cloudtrail changes.
export * from './trigger/cdk-custom-resource';
export * from './trigger/cloudformation-custom-resource';
export * from './trigger/cloudfront-request';
export * from './trigger/cloudfront-response';
export * from './trigger/cloudwatch-events';
export * from './trigger/cloudwatch-logs';
export * from './trigger/codecommit';
export * from './trigger/codebuild-cloudwatch-state';
export * from './trigger/codepipeline';
export * from './trigger/codepipeline-cloudwatch';
export * from './trigger/codepipeline-cloudwatch-action';
export * from './trigger/codepipeline-cloudwatch-pipeline';
export * from './trigger/codepipeline-cloudwatch-stage';
export * from "./trigger/cdk-custom-resource";
export * from "./trigger/cloudformation-custom-resource";
export * from "./trigger/cloudfront-request";
export * from "./trigger/cloudfront-response";
export * from "./trigger/cloudwatch-events";
export * from "./trigger/cloudwatch-logs";
export * from "./trigger/codebuild-cloudwatch-state";
export * from "./trigger/codecommit";
export * from "./trigger/codepipeline";
export * from "./trigger/codepipeline-cloudwatch";
export * from "./trigger/codepipeline-cloudwatch-action";
export * from "./trigger/codepipeline-cloudwatch-pipeline";
export * from "./trigger/codepipeline-cloudwatch-stage";
// TODO: export * from "./trigger/cognito-sync";
export * from './trigger/cognito-user-pool-trigger/';
export * from './trigger/connect-contact-flow';
export * from "./trigger/cognito-user-pool-trigger/";
export * from "./trigger/connect-contact-flow";
// TODO: export * from "./trigger/config";
export * from './trigger/dynamodb-stream';
export * from './trigger/eventbridge';
export * from "./trigger/dynamodb-stream";
export * from "./trigger/eventbridge";
// ElastiCache section just describes using lambdas in an ElastiCache context (VPC issues, etc.)
// EC2 events are delivered using cloudwatch events...
export * from './trigger/iot';
export * from './trigger/kinesis-firehose-transformation';
export * from './trigger/kinesis-stream';
export * from './trigger/lex';
export * from './trigger/lex-v2';
export * from "./trigger/iot";
export * from "./trigger/kinesis-firehose-transformation";
export * from "./trigger/kinesis-stream";
export * from "./trigger/lex";
export * from "./trigger/lex-v2";
// RDS events are delivered using SNS events...
export * from './trigger/s3';
export * from './trigger/s3-batch';
export * from './trigger/ses';
export * from './trigger/sns';
export * from './trigger/sqs';
export * from './trigger/msk';
export * from './trigger/self-managed-kafka';
export * from './trigger/secretsmanager';
export * from './trigger/s3-event-notification';
export * from './trigger/amplify-resolver';
export * from "./trigger/amplify-resolver";
export * from "./trigger/msk";
export * from "./trigger/s3";
export * from "./trigger/s3-batch";
export * from "./trigger/s3-event-notification";
export * from "./trigger/secretsmanager";
export * from "./trigger/self-managed-kafka";
export * from "./trigger/ses";
export * from "./trigger/sns";
export * from "./trigger/sqs";
export as namespace AWSLambda;
{
"name": "@types/aws-lambda",
"version": "8.10.121",
"version": "8.10.122",
"description": "TypeScript definitions for AWS Lambda",

@@ -228,4 +228,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/aws-lambda",

"dependencies": {},
"typesPublisherContentHash": "7fb146038d1ee60a85b16b1a66a75eedd924bbe32e796215e1b4309f61c5a80b",
"typesPublisherContentHash": "26c02b047153e84e22bc818d1937d17966d2594c5a21577fccf1f789a3affa81",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 14 Sep 2023 01:49:18 GMT
* Last updated: Fri, 22 Sep 2023 18:11:04 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `AWSLambda`

@@ -1,2 +0,2 @@

import { Handler, Callback } from '../handler';
import { Callback, Handler } from "../handler";

@@ -3,0 +3,0 @@ export type ALBHandler = Handler<ALBEvent, ALBResult>;

@@ -1,3 +0,3 @@

import { Handler } from '../handler';
import { AppSyncIdentity, AppSyncResolverEventHeaders } from './appsync-resolver';
import { Handler } from "../handler";
import { AppSyncIdentity, AppSyncResolverEventHeaders } from "./appsync-resolver";

@@ -4,0 +4,0 @@ /**

@@ -5,5 +5,5 @@ import {

APIGatewayEventRequestContextWithAuthorizer,
} from '../common/api-gateway';
import { Callback, Handler } from '../handler';
import { APIGatewayEventRequestContextV2 } from './api-gateway-proxy';
} from "../common/api-gateway";
import { Callback, Handler } from "../handler";
import { APIGatewayEventRequestContextV2 } from "./api-gateway-proxy";

@@ -30,3 +30,3 @@ export type APIGatewayAuthorizerHandler = Handler<APIGatewayAuthorizerEvent, APIGatewayAuthorizerResult>;

export interface APIGatewayTokenAuthorizerEvent {
type: 'TOKEN';
type: "TOKEN";
methodArn: string;

@@ -38,3 +38,3 @@ authorizationToken: string;

version: string;
type: 'REQUEST';
type: "REQUEST";
routeArn: string;

@@ -83,3 +83,3 @@ identitySource: string[];

export interface APIGatewayRequestAuthorizerEvent {
type: 'REQUEST';
type: "REQUEST";
methodArn: string;

@@ -150,3 +150,4 @@ resource: string;

export interface APIGatewaySimpleAuthorizerWithContextResult<TAuthorizerContext>
extends APIGatewaySimpleAuthorizerResult {
extends APIGatewaySimpleAuthorizerResult
{
context: TAuthorizerContext;

@@ -243,5 +244,7 @@ }

export type StatementAction = { Action: string | string[] } | { NotAction: string | string[] };
export type StatementResource = MaybeStatementPrincipal &
({ Resource: string | string[] } | { NotResource: string | string[] });
export type StatementPrincipal = MaybeStatementResource &
({ Principal: PrincipalValue } | { NotPrincipal: PrincipalValue });
export type StatementResource =
& MaybeStatementPrincipal
& ({ Resource: string | string[] } | { NotResource: string | string[] });
export type StatementPrincipal =
& MaybeStatementResource
& ({ Principal: PrincipalValue } | { NotPrincipal: PrincipalValue });

@@ -5,4 +5,4 @@ import {

APIGatewayEventRequestContextWithAuthorizer,
} from '../common/api-gateway';
import { Callback, CognitoIdentity, Handler } from '../handler';
} from "../common/api-gateway";
import { Callback, CognitoIdentity, Handler } from "../handler";

@@ -94,8 +94,10 @@ /**

// converting all number or boolean properties to string, and adding some extra properties.
export type APIGatewayEventLambdaAuthorizerContext<TAuthorizerContext> = {
[P in keyof TAuthorizerContext]: TAuthorizerContext[P] extends null ? null : string;
} & {
principalId: string;
integrationLatency: number;
};
export type APIGatewayEventLambdaAuthorizerContext<TAuthorizerContext> =
& {
[P in keyof TAuthorizerContext]: TAuthorizerContext[P] extends null ? null : string;
}
& {
principalId: string;
integrationLatency: number;
};

@@ -158,9 +160,9 @@ export type APIGatewayProxyWithCognitoAuthorizerEvent = APIGatewayProxyEventBase<APIGatewayProxyCognitoAuthorizer>;

| {
[header: string]: boolean | number | string;
}
[header: string]: boolean | number | string;
}
| undefined;
multiValueHeaders?:
| {
[header: string]: Array<boolean | number | string>;
}
[header: string]: Array<boolean | number | string>;
}
| undefined;

@@ -204,6 +206,6 @@ body: string;

messageId: string;
eventType: 'CONNECT' | 'MESSAGE' | 'DISCONNECT';
eventType: "CONNECT" | "MESSAGE" | "DISCONNECT";
extendedRequestId: string;
requestTime: string;
messageDirection: 'IN';
messageDirection: "IN";
stage: string;

@@ -307,4 +309,5 @@ connectedAt: number;

*/
export type APIGatewayProxyWebsocketEventV2 =
APIGatewayProxyWebsocketEventV2WithRequestContext<APIGatewayEventWebsocketRequestContextV2>;
export type APIGatewayProxyWebsocketEventV2 = APIGatewayProxyWebsocketEventV2WithRequestContext<
APIGatewayEventWebsocketRequestContextV2
>;

@@ -326,4 +329,4 @@ /**

| {
[header: string]: boolean | number | string;
}
[header: string]: boolean | number | string;
}
| undefined;

@@ -330,0 +333,0 @@ body?: string | undefined;

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -3,0 +3,0 @@ export type AppSyncResolverHandler<TArguments, TResult, TSource = Record<string, any> | null> = Handler<

@@ -1,2 +0,2 @@

import { Handler, Callback } from '../handler';
import { Callback, Handler } from "../handler";

@@ -6,5 +6,5 @@ export type AutoScalingScaleInHandler = Handler<AutoScalingScaleInEvent, AutoScalingScaleInResult>;

export type AutoScalingInstanceMarketOption = 'spot' | 'on-demand';
export type AutoScalingInstanceMarketOption = "spot" | "on-demand";
export type AutoScalingScaleInCause = 'SCALE_IN' | 'INSTANCE_REFRESH' | 'MAX_INSTANCE_LIFETIME' | 'REBALANCE';
export type AutoScalingScaleInCause = "SCALE_IN" | "INSTANCE_REFRESH" | "MAX_INSTANCE_LIFETIME" | "REBALANCE";

@@ -11,0 +11,0 @@ export interface AutoScalingTerminationRequest {

@@ -1,3 +0,3 @@

import { CloudFormationCustomResourceEvent } from './cloudformation-custom-resource';
import { Handler, Callback } from '../handler';
import { Callback, Handler } from "../handler";
import { CloudFormationCustomResourceEvent } from "./cloudformation-custom-resource";

@@ -28,4 +28,4 @@ // The CDK docs only specify 'important' properties, but in reality the incoming event

| {
[Key: string]: any;
}
[Key: string]: any;
}
| undefined;

@@ -51,4 +51,4 @@ // Any extra properties will be provided to the isComplete handler for asynchronous resources.

| {
[Key: string]: any;
}
[Key: string]: any;
}
| undefined;

@@ -55,0 +55,0 @@ }

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -33,7 +33,7 @@ // Note, responses are *not* lambda results, they are sent to the event ResponseURL.

export interface CloudFormationCustomResourceCreateEvent extends CloudFormationCustomResourceEventCommon {
RequestType: 'Create';
RequestType: "Create";
}
export interface CloudFormationCustomResourceUpdateEvent extends CloudFormationCustomResourceEventCommon {
RequestType: 'Update';
RequestType: "Update";
PhysicalResourceId: string;

@@ -46,3 +46,3 @@ OldResourceProperties: {

export interface CloudFormationCustomResourceDeleteEvent extends CloudFormationCustomResourceEventCommon {
RequestType: 'Delete';
RequestType: "Delete";
PhysicalResourceId: string;

@@ -58,4 +58,4 @@ }

| {
[Key: string]: any;
}
[Key: string]: any;
}
| undefined;

@@ -66,3 +66,3 @@ NoEcho?: boolean | undefined;

export interface CloudFormationCustomResourceSuccessResponse extends CloudFormationCustomResourceResponseCommon {
Status: 'SUCCESS';
Status: "SUCCESS";
Reason?: string | undefined;

@@ -72,4 +72,4 @@ }

export interface CloudFormationCustomResourceFailedResponse extends CloudFormationCustomResourceResponseCommon {
Status: 'FAILED';
Status: "FAILED";
Reason: string;
}

@@ -1,3 +0,3 @@

import type { CloudFrontEvent, CloudFrontRequest, CloudFrontResultResponse } from '../common/cloudfront';
import type { Handler, Callback } from '../handler';
import type { CloudFrontEvent, CloudFrontRequest, CloudFrontResultResponse } from "../common/cloudfront";
import type { Callback, Handler } from "../handler";

@@ -4,0 +4,0 @@ export type CloudFrontRequestHandler = Handler<CloudFrontRequestEvent, CloudFrontRequestResult>;

@@ -1,3 +0,3 @@

import { CloudFrontEvent, CloudFrontRequest, CloudFrontResponse, CloudFrontResultResponse } from '../common/cloudfront';
import { Callback, Handler } from '../handler';
import { CloudFrontEvent, CloudFrontRequest, CloudFrontResponse, CloudFrontResultResponse } from "../common/cloudfront";
import { Callback, Handler } from "../handler";

@@ -15,3 +15,3 @@ export type CloudFrontResponseHandler = Handler<CloudFrontResponseEvent, CloudFrontResponseResult>;

cf: CloudFrontEvent & {
readonly request: Pick<CloudFrontRequest, Exclude<keyof CloudFrontRequest, 'body'>>;
readonly request: Pick<CloudFrontRequest, Exclude<keyof CloudFrontRequest, "body">>;
response: CloudFrontResponse;

@@ -18,0 +18,0 @@ };

@@ -1,4 +0,4 @@

import { EventBridgeHandler, EventBridgeEvent } from '../trigger/eventbridge';
import { EventBridgeEvent, EventBridgeHandler } from "../trigger/eventbridge";
export type ScheduledHandler<TDetail = any> = EventBridgeHandler<'Scheduled Event', TDetail, void>;
export type ScheduledHandler<TDetail = any> = EventBridgeHandler<"Scheduled Event", TDetail, void>;

@@ -8,2 +8,2 @@ /**

*/
export interface ScheduledEvent<TDetail = any> extends EventBridgeEvent<'Scheduled Event', TDetail> {}
export interface ScheduledEvent<TDetail = any> extends EventBridgeEvent<"Scheduled Event", TDetail> {}

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -3,0 +3,0 @@ export type CloudWatchLogsHandler = Handler<CloudWatchLogsEvent, void>;

@@ -1,5 +0,5 @@

import { EventBridgeEvent, EventBridgeHandler } from './eventbridge';
import { EventBridgeEvent, EventBridgeHandler } from "./eventbridge";
export type CodeBuildCloudWatchStateHandler = EventBridgeHandler<
'CodeBuild Build State Change',
"CodeBuild Build State Change",
CodeBuildStateEventDetail,

@@ -9,54 +9,54 @@ void

export type CodeBuildStateType = 'IN_PROGRESS' | 'SUCCEEDED' | 'FAILED' | 'STOPPED';
export type CodeBuildStateType = "IN_PROGRESS" | "SUCCEEDED" | "FAILED" | "STOPPED";
export type CodeBuildPhaseType =
| 'COMPLETED'
| 'FINALIZING'
| 'UPLOAD_ARTIFACTS'
| 'POST_BUILD'
| 'BUILD'
| 'PRE_BUILD'
| 'INSTALL'
| 'QUEUED'
| 'DOWNLOAD_SOURCE'
| 'PROVISIONING'
| 'SUBMITTED';
export type CodeBuildPhaseStatusType = 'TIMED_OUT' | 'STOPPED' | 'FAILED' | 'SUCCEEDED' | 'FAULT' | 'CLIENT_ERROR';
export type CodeBuildCacheType = 'NO_CACHE' | 'LOCAL' | 'S3';
| "COMPLETED"
| "FINALIZING"
| "UPLOAD_ARTIFACTS"
| "POST_BUILD"
| "BUILD"
| "PRE_BUILD"
| "INSTALL"
| "QUEUED"
| "DOWNLOAD_SOURCE"
| "PROVISIONING"
| "SUBMITTED";
export type CodeBuildPhaseStatusType = "TIMED_OUT" | "STOPPED" | "FAILED" | "SUCCEEDED" | "FAULT" | "CLIENT_ERROR";
export type CodeBuildCacheType = "NO_CACHE" | "LOCAL" | "S3";
export type CodeBuildSourceLocationType =
| 'CODECOMMIT'
| 'CODEPIPELINE'
| 'GITHUB'
| 'GITHUB_ENTERPRISE'
| 'BITBUCKET'
| 'S3'
| 'NO_SOURCE';
| "CODECOMMIT"
| "CODEPIPELINE"
| "GITHUB"
| "GITHUB_ENTERPRISE"
| "BITBUCKET"
| "S3"
| "NO_SOURCE";
export type CodeBuildEnvironmentType =
| 'LINUX_CONTAINER'
| 'LINUX_GPU_CONTAINER'
| 'WINDOWS_CONTAINER'
| 'ARM_CONTAINER';
export type CodeBuildEnvironmentPullCredentialsType = 'CODEBUILD' | 'SERVICE_ROLE';
| "LINUX_CONTAINER"
| "LINUX_GPU_CONTAINER"
| "WINDOWS_CONTAINER"
| "ARM_CONTAINER";
export type CodeBuildEnvironmentPullCredentialsType = "CODEBUILD" | "SERVICE_ROLE";
export type CodeBuildEnvironmentComputeType =
| 'BUILD_GENERAL1_SMALL'
| 'BUILD_GENERAL1_MEDIUM'
| 'BUILD_GENERAL1_LARGE'
| 'BUILD_GENERAL1_2XLARGE';
export type CodeBuildEnvironmentVariableType = 'PARAMETER_STORE' | 'PLAINTEXT' | 'SECRETS_MANAGER';
| "BUILD_GENERAL1_SMALL"
| "BUILD_GENERAL1_MEDIUM"
| "BUILD_GENERAL1_LARGE"
| "BUILD_GENERAL1_2XLARGE";
export type CodeBuildEnvironmentVariableType = "PARAMETER_STORE" | "PLAINTEXT" | "SECRETS_MANAGER";
export interface CodeBuildStateEventDetail {
'build-status': CodeBuildStateType;
'project-name': string;
'build-id': string;
'current-phase': CodeBuildPhaseType;
'current-phase-context': string;
"build-status": CodeBuildStateType;
"project-name": string;
"build-id": string;
"current-phase": CodeBuildPhaseType;
"current-phase-context": string;
version: string;
'additional-information': {
"additional-information": {
cache: {
type: CodeBuildCacheType;
};
'build-number': number;
'timeout-in-minutes': number;
'build-complete': boolean;
"build-number": number;
"timeout-in-minutes": number;
"build-complete": boolean;
initiator: string;
'build-start-time': string;
"build-start-time": string;
source: {

@@ -67,3 +67,3 @@ buildspec: string;

};
'source-version': string;
"source-version": string;
artifact: {

@@ -74,7 +74,7 @@ location: string;

image: string;
'privileged-mode': boolean;
'image-pull-credentials-type'?: CodeBuildEnvironmentPullCredentialsType | undefined;
'compute-type': CodeBuildEnvironmentComputeType;
"privileged-mode": boolean;
"image-pull-credentials-type"?: CodeBuildEnvironmentPullCredentialsType | undefined;
"compute-type": CodeBuildEnvironmentComputeType;
type: CodeBuildEnvironmentType;
'environment-variables': Array<{
"environment-variables": Array<{
name: string;

@@ -85,17 +85,17 @@ type?: CodeBuildEnvironmentVariableType | undefined;

};
'project-file-system-locations': [];
"project-file-system-locations": [];
logs: {
'group-name': string;
'stream-name': string;
'deep-link': string;
"group-name": string;
"stream-name": string;
"deep-link": string;
};
phases: Array<{
'phase-context'?: string[] | undefined; // Not available for COMPLETED phase-type
'start-time': string;
'end-time'?: string | undefined; // Not available for COMPLETED phase-type
'duration-in-seconds'?: number | undefined; // Not available for COMPLETED phase-type
'phase-type': CodeBuildPhaseType;
'phase-status'?: CodeBuildPhaseStatusType | undefined; // Not available for COMPLETED phase-type
"phase-context"?: string[] | undefined; // Not available for COMPLETED phase-type
"start-time": string;
"end-time"?: string | undefined; // Not available for COMPLETED phase-type
"duration-in-seconds"?: number | undefined; // Not available for COMPLETED phase-type
"phase-type": CodeBuildPhaseType;
"phase-status"?: CodeBuildPhaseStatusType | undefined; // Not available for COMPLETED phase-type
}>;
'queued-timeout-in-minutes': number;
"queued-timeout-in-minutes": number;
};

@@ -105,4 +105,5 @@ }

export interface CodeBuildCloudWatchStateEvent
extends EventBridgeEvent<'CodeBuild Build State Change', CodeBuildStateEventDetail> {
source: 'aws.codebuild';
extends EventBridgeEvent<"CodeBuild Build State Change", CodeBuildStateEventDetail>
{
source: "aws.codebuild";
}

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -3,0 +3,0 @@ export type CodeCommitHandler = Handler<CodeCommitTrigger, void>;

@@ -1,7 +0,7 @@

import { Handler } from '../handler';
import { Handler } from "../handler";
export type CodePipelineCloudWatchActionHandler = Handler<CodePipelineCloudWatchActionEvent, void>;
export type CodePipelineActionCategory = 'Approval' | 'Build' | 'Deploy' | 'Invoke' | 'Source' | 'Test';
export type CodePipelineActionState = 'STARTED' | 'SUCCEEDED' | 'FAILED' | 'CANCELED';
export type CodePipelineActionCategory = "Approval" | "Build" | "Deploy" | "Invoke" | "Source" | "Test";
export type CodePipelineActionState = "STARTED" | "SUCCEEDED" | "FAILED" | "CANCELED";

@@ -11,4 +11,4 @@ export interface CodePipelineCloudWatchActionEvent {

id: string;
'detail-type': 'CodePipeline Action Execution State Change';
source: 'aws.codepipeline';
"detail-type": "CodePipeline Action Execution State Change";
source: "aws.codepipeline";
account: string;

@@ -21,3 +21,3 @@ time: string;

version: number;
'execution-id': string;
"execution-id": string;
stage: string;

@@ -27,3 +27,3 @@ action: string;

type: {
owner: 'AWS' | 'Custom' | 'ThirdParty';
owner: "AWS" | "Custom" | "ThirdParty";
category: CodePipelineActionCategory;

@@ -30,0 +30,0 @@ provider: string;

@@ -1,6 +0,6 @@

import { Handler } from '../handler';
import { Handler } from "../handler";
export type CodePipelineCloudWatchPipelineHandler = Handler<CodePipelineCloudWatchPipelineEvent, void>;
export type CodePipelineState = 'STARTED' | 'SUCCEEDED' | 'RESUMED' | 'FAILED' | 'CANCELED' | 'SUPERSEDED';
export type CodePipelineState = "STARTED" | "SUCCEEDED" | "RESUMED" | "FAILED" | "CANCELED" | "SUPERSEDED";

@@ -20,4 +20,4 @@ /**

id: string;
'detail-type': 'CodePipeline Pipeline Execution State Change';
source: 'aws.codepipeline';
"detail-type": "CodePipeline Pipeline Execution State Change";
source: "aws.codepipeline";
account: string;

@@ -31,4 +31,4 @@ time: string;

state: CodePipelineState;
'execution-id': string;
"execution-id": string;
};
}

@@ -1,6 +0,6 @@

import { Handler } from '../handler';
import { Handler } from "../handler";
export type CodePipelineCloudWatchStageHandler = Handler<CodePipelineCloudWatchStageEvent, void>;
export type CodePipelineStageState = 'STARTED' | 'SUCCEEDED' | 'RESUMED' | 'FAILED' | 'CANCELED';
export type CodePipelineStageState = "STARTED" | "SUCCEEDED" | "RESUMED" | "FAILED" | "CANCELED";

@@ -10,4 +10,4 @@ export interface CodePipelineCloudWatchStageEvent {

id: string;
'detail-type': 'CodePipeline Stage Execution State Change';
source: 'aws.codepipeline';
"detail-type": "CodePipeline Stage Execution State Change";
source: "aws.codepipeline";
account: string;

@@ -20,3 +20,3 @@ time: string;

version: number;
'execution-id': string;
"execution-id": string;
stage: string;

@@ -23,0 +23,0 @@ state: CodePipelineStageState;

@@ -1,5 +0,5 @@

import { Handler } from '../handler';
import { CodePipelineCloudWatchActionEvent } from './codepipeline-cloudwatch-action';
import { CodePipelineCloudWatchPipelineEvent } from './codepipeline-cloudwatch-pipeline';
import { CodePipelineCloudWatchStageEvent } from './codepipeline-cloudwatch-stage';
import { Handler } from "../handler";
import { CodePipelineCloudWatchActionEvent } from "./codepipeline-cloudwatch-action";
import { CodePipelineCloudWatchPipelineEvent } from "./codepipeline-cloudwatch-pipeline";
import { CodePipelineCloudWatchStageEvent } from "./codepipeline-cloudwatch-stage";

@@ -6,0 +6,0 @@ export type CodePipelineCloudWatchHandler = Handler<CodePipelineCloudWatchEvent, void>;

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -14,3 +14,3 @@ export type CodePipelineHandler = Handler<CodePipelineEvent, void>;

export interface S3ArtifactStore {
type: 'S3';
type: "S3";
s3Location: S3ArtifactLocation;

@@ -39,3 +39,3 @@ }

export interface CodePipelineEvent {
'CodePipeline.job': {
"CodePipeline.job": {
id: string;

@@ -53,3 +53,3 @@ accountId: string;

artifactCredentials: Credentials;
encryptionKey?: (EncryptionKey & { type: 'KMS' }) | undefined;
encryptionKey?: (EncryptionKey & { type: "KMS" }) | undefined;
continuationToken?: string | undefined;

@@ -56,0 +56,0 @@ };

@@ -6,8 +6,8 @@ export interface StringMap {

export type ChallengeName =
| 'PASSWORD_VERIFIER'
| 'SMS_MFA'
| 'DEVICE_SRP_AUTH'
| 'DEVICE_PASSWORD_VERIFIER'
| 'ADMIN_NO_SRP_AUTH'
| 'SRP_A';
| "PASSWORD_VERIFIER"
| "SMS_MFA"
| "DEVICE_SRP_AUTH"
| "DEVICE_PASSWORD_VERIFIER"
| "ADMIN_NO_SRP_AUTH"
| "SRP_A";

@@ -21,3 +21,3 @@ export interface ChallengeResult {

export interface CustomChallengeResult {
challengeName: 'CUSTOM_CHALLENGE';
challengeName: "CUSTOM_CHALLENGE";
challengeResult: boolean;

@@ -24,0 +24,0 @@ challengeMetadata?: string | undefined;

@@ -1,3 +0,3 @@

import { Handler } from '../../handler';
import { BaseTriggerEvent, StringMap, ChallengeResult, CustomChallengeResult } from './_common';
import { Handler } from "../../handler";
import { BaseTriggerEvent, ChallengeResult, CustomChallengeResult, StringMap } from "./_common";

@@ -7,17 +7,17 @@ /**

*/
export interface CreateAuthChallengeTriggerEvent extends BaseTriggerEvent<'CreateAuthChallenge_Authentication'> {
request: {
userAttributes: StringMap;
challengeName: string;
session: Array<ChallengeResult | CustomChallengeResult>;
userNotFound?: boolean | undefined;
clientMetadata?: StringMap | undefined;
};
response: {
publicChallengeParameters: StringMap;
privateChallengeParameters: StringMap;
challengeMetadata: string;
};
export interface CreateAuthChallengeTriggerEvent extends BaseTriggerEvent<"CreateAuthChallenge_Authentication"> {
request: {
userAttributes: StringMap;
challengeName: string;
session: Array<ChallengeResult | CustomChallengeResult>;
userNotFound?: boolean | undefined;
clientMetadata?: StringMap | undefined;
};
response: {
publicChallengeParameters: StringMap;
privateChallengeParameters: StringMap;
challengeMetadata: string;
};
}
export type CreateAuthChallengeTriggerHandler = Handler<CreateAuthChallengeTriggerEvent>;

@@ -1,3 +0,3 @@

import { Handler } from '../../handler';
import { BaseTriggerEvent, StringMap } from './_common';
import { Handler } from "../../handler";
import { BaseTriggerEvent, StringMap } from "./_common";

@@ -13,3 +13,3 @@ export interface BaseCustomEmailSenderTriggerEvent<T extends string> extends BaseTriggerEvent<T> {

export type AccountTakeOverActionType = 'BLOCK' | 'NO_ACTION' | 'MFA' | 'MFA_IF_CONFIGURED' | 'MFA_REQUIRED';
export type AccountTakeOverActionType = "BLOCK" | "NO_ACTION" | "MFA" | "MFA_IF_CONFIGURED" | "MFA_REQUIRED";

@@ -31,21 +31,28 @@ export interface CustomEmailSender_AccountTakeOverNotification_UserAttributes {

export interface CustomEmailSenderSignUpTriggerEvent
extends BaseCustomEmailSenderTriggerEvent<'CustomEmailSender_SignUp'> {}
extends BaseCustomEmailSenderTriggerEvent<"CustomEmailSender_SignUp">
{}
export interface CustomEmailSenderResendCodeTriggerEvent
extends BaseCustomEmailSenderTriggerEvent<'CustomEmailSender_ResendCode'> {}
extends BaseCustomEmailSenderTriggerEvent<"CustomEmailSender_ResendCode">
{}
export interface CustomEmailSenderForgotPasswordTriggerEvent
extends BaseCustomEmailSenderTriggerEvent<'CustomEmailSender_ForgotPassword'> {}
extends BaseCustomEmailSenderTriggerEvent<"CustomEmailSender_ForgotPassword">
{}
export interface CustomEmailSenderUpdateUserAttributeTriggerEvent
extends BaseCustomEmailSenderTriggerEvent<'CustomEmailSender_UpdateUserAttribute'> {}
extends BaseCustomEmailSenderTriggerEvent<"CustomEmailSender_UpdateUserAttribute">
{}
export interface CustomEmailSenderVerifyUserAttributeTriggerEvent
extends BaseCustomEmailSenderTriggerEvent<'CustomEmailSender_VerifyUserAttribute'> {}
extends BaseCustomEmailSenderTriggerEvent<"CustomEmailSender_VerifyUserAttribute">
{}
export interface CustomEmailSenderAdminCreateUserTriggerEvent
extends BaseCustomEmailSenderTriggerEvent<'CustomEmailSender_AdminCreateUser'> {}
extends BaseCustomEmailSenderTriggerEvent<"CustomEmailSender_AdminCreateUser">
{}
export interface CustomEmailSenderAccountTakeOverNotificationTriggerEvent
extends BaseTriggerEvent<'CustomEmailSender_AccountTakeOverNotification'> {
extends BaseTriggerEvent<"CustomEmailSender_AccountTakeOverNotification">
{
request: {

@@ -52,0 +59,0 @@ type: string;

@@ -1,3 +0,3 @@

import { Handler } from '../../handler';
import { BaseTriggerEvent, StringMap } from './_common';
import { Handler } from "../../handler";
import { BaseTriggerEvent, StringMap } from "./_common";

@@ -22,17 +22,19 @@ export interface BaseCustomMessageTriggerEvent<T extends string> extends BaseTriggerEvent<T> {

export type CustomMessageAdminCreateUserTriggerEvent = BaseCustomMessageTriggerEvent<'CustomMessage_AdminCreateUser'>;
export type CustomMessageAdminCreateUserTriggerEvent = BaseCustomMessageTriggerEvent<"CustomMessage_AdminCreateUser">;
export type CustomMessageAuthenticationTriggerEvent = BaseCustomMessageTriggerEvent<'CustomMessage_Authentication'>;
export type CustomMessageAuthenticationTriggerEvent = BaseCustomMessageTriggerEvent<"CustomMessage_Authentication">;
export type CustomMessageForgotPasswordTriggerEvent = BaseCustomMessageTriggerEvent<'CustomMessage_ForgotPassword'>;
export type CustomMessageForgotPasswordTriggerEvent = BaseCustomMessageTriggerEvent<"CustomMessage_ForgotPassword">;
export type CustomMessageResendCodeTriggerEvent = BaseCustomMessageTriggerEvent<'CustomMessage_ResendCode'>;
export type CustomMessageResendCodeTriggerEvent = BaseCustomMessageTriggerEvent<"CustomMessage_ResendCode">;
export type CustomMessageSignUpTriggerEvent = BaseCustomMessageTriggerEvent<'CustomMessage_SignUp'>;
export type CustomMessageSignUpTriggerEvent = BaseCustomMessageTriggerEvent<"CustomMessage_SignUp">;
export type CustomMessageUpdateUserAttributeTriggerEvent =
BaseCustomMessageTriggerEvent<'CustomMessage_UpdateUserAttribute'>;
export type CustomMessageUpdateUserAttributeTriggerEvent = BaseCustomMessageTriggerEvent<
"CustomMessage_UpdateUserAttribute"
>;
export type CustomMessageVerifyUserAttributeTriggerEvent =
BaseCustomMessageTriggerEvent<'CustomMessage_VerifyUserAttribute'>;
export type CustomMessageVerifyUserAttributeTriggerEvent = BaseCustomMessageTriggerEvent<
"CustomMessage_VerifyUserAttribute"
>;

@@ -39,0 +41,0 @@ /**

@@ -1,3 +0,3 @@

import { Handler } from '../../handler';
import { BaseTriggerEvent, StringMap } from './_common';
import { Handler } from "../../handler";
import { BaseTriggerEvent, StringMap } from "./_common";

@@ -13,21 +13,27 @@ export interface BaseCustomSMSSenderTriggerEvent<T extends string> extends BaseTriggerEvent<T> {

export interface CustomSMSSenderSignUpTriggerEvent extends BaseCustomSMSSenderTriggerEvent<'CustomSMSSender_SignUp'> {}
export interface CustomSMSSenderSignUpTriggerEvent extends BaseCustomSMSSenderTriggerEvent<"CustomSMSSender_SignUp"> {}
export interface CustomSMSSenderResendCodeTriggerEvent
extends BaseCustomSMSSenderTriggerEvent<'CustomSMSSender_ResendCode'> {}
extends BaseCustomSMSSenderTriggerEvent<"CustomSMSSender_ResendCode">
{}
export interface CustomSMSSenderForgotPasswordTriggerEvent
extends BaseCustomSMSSenderTriggerEvent<'CustomSMSSender_ForgotPassword'> {}
extends BaseCustomSMSSenderTriggerEvent<"CustomSMSSender_ForgotPassword">
{}
export interface CustomSMSSenderUpdateUserAttributeTriggerEvent
extends BaseCustomSMSSenderTriggerEvent<'CustomSMSSender_UpdateUserAttribute'> {}
extends BaseCustomSMSSenderTriggerEvent<"CustomSMSSender_UpdateUserAttribute">
{}
export interface CustomSMSSenderVerifyUserAttributeTriggerEvent
extends BaseCustomSMSSenderTriggerEvent<'CustomSMSSender_VerifyUserAttribute'> {}
extends BaseCustomSMSSenderTriggerEvent<"CustomSMSSender_VerifyUserAttribute">
{}
export interface CustomSMSSenderAdminCreateUserTriggerEvent
extends BaseCustomSMSSenderTriggerEvent<'CustomSMSSender_AdminCreateUser'> {}
extends BaseCustomSMSSenderTriggerEvent<"CustomSMSSender_AdminCreateUser">
{}
export interface CustomSMSSenderAuthenticationUserTriggerEvent
extends BaseCustomSMSSenderTriggerEvent<'CustomSMSSender_Authentication'> {}
extends BaseCustomSMSSenderTriggerEvent<"CustomSMSSender_Authentication">
{}

@@ -34,0 +40,0 @@ /**

@@ -1,3 +0,3 @@

import { Handler } from '../../handler';
import { BaseTriggerEvent, StringMap, ChallengeResult, CustomChallengeResult } from './_common';
import { Handler } from "../../handler";
import { BaseTriggerEvent, ChallengeResult, CustomChallengeResult, StringMap } from "./_common";

@@ -7,16 +7,16 @@ /**

*/
export interface DefineAuthChallengeTriggerEvent extends BaseTriggerEvent<'DefineAuthChallenge_Authentication'> {
request: {
userAttributes: StringMap;
session: Array<ChallengeResult | CustomChallengeResult>;
userNotFound?: boolean | undefined;
clientMetadata?: StringMap | undefined;
};
response: {
challengeName: string;
failAuthentication: boolean;
issueTokens: boolean;
};
export interface DefineAuthChallengeTriggerEvent extends BaseTriggerEvent<"DefineAuthChallenge_Authentication"> {
request: {
userAttributes: StringMap;
session: Array<ChallengeResult | CustomChallengeResult>;
userNotFound?: boolean | undefined;
clientMetadata?: StringMap | undefined;
};
response: {
challengeName: string;
failAuthentication: boolean;
issueTokens: boolean;
};
}
export type DefineAuthChallengeTriggerHandler = Handler<DefineAuthChallengeTriggerEvent>;

@@ -1,2 +0,2 @@

import { Handler } from '../../handler';
import { Handler } from "../../handler";

@@ -11,26 +11,26 @@ /**

triggerSource:
| 'PreSignUp_SignUp'
| 'PreSignUp_ExternalProvider'
| 'PostConfirmation_ConfirmSignUp'
| 'PreAuthentication_Authentication'
| 'PostAuthentication_Authentication'
| 'CustomMessage_SignUp'
| 'CustomMessage_AdminCreateUser'
| 'CustomMessage_ResendCode'
| 'CustomMessage_ForgotPassword'
| 'CustomMessage_UpdateUserAttribute'
| 'CustomMessage_VerifyUserAttribute'
| 'CustomMessage_Authentication'
| 'DefineAuthChallenge_Authentication'
| 'CreateAuthChallenge_Authentication'
| 'VerifyAuthChallengeResponse_Authentication'
| 'PreSignUp_AdminCreateUser'
| 'PostConfirmation_ConfirmForgotPassword'
| 'TokenGeneration_HostedAuth'
| 'TokenGeneration_Authentication'
| 'TokenGeneration_NewPasswordChallenge'
| 'TokenGeneration_AuthenticateDevice'
| 'TokenGeneration_RefreshTokens'
| 'UserMigration_Authentication'
| 'UserMigration_ForgotPassword';
| "PreSignUp_SignUp"
| "PreSignUp_ExternalProvider"
| "PostConfirmation_ConfirmSignUp"
| "PreAuthentication_Authentication"
| "PostAuthentication_Authentication"
| "CustomMessage_SignUp"
| "CustomMessage_AdminCreateUser"
| "CustomMessage_ResendCode"
| "CustomMessage_ForgotPassword"
| "CustomMessage_UpdateUserAttribute"
| "CustomMessage_VerifyUserAttribute"
| "CustomMessage_Authentication"
| "DefineAuthChallenge_Authentication"
| "CreateAuthChallenge_Authentication"
| "VerifyAuthChallengeResponse_Authentication"
| "PreSignUp_AdminCreateUser"
| "PostConfirmation_ConfirmForgotPassword"
| "TokenGeneration_HostedAuth"
| "TokenGeneration_Authentication"
| "TokenGeneration_NewPasswordChallenge"
| "TokenGeneration_AuthenticateDevice"
| "TokenGeneration_RefreshTokens"
| "UserMigration_Authentication"
| "UserMigration_ForgotPassword";
region: string;

@@ -52,13 +52,13 @@ userPoolId: string;

| Array<{
challengeName:
| 'CUSTOM_CHALLENGE'
| 'PASSWORD_VERIFIER'
| 'SMS_MFA'
| 'DEVICE_SRP_AUTH'
| 'DEVICE_PASSWORD_VERIFIER'
| 'ADMIN_NO_SRP_AUTH'
| 'SRP_A';
challengeResult: boolean;
challengeMetadata?: string | undefined;
}>
challengeName:
| "CUSTOM_CHALLENGE"
| "PASSWORD_VERIFIER"
| "SMS_MFA"
| "DEVICE_SRP_AUTH"
| "DEVICE_PASSWORD_VERIFIER"
| "ADMIN_NO_SRP_AUTH"
| "SRP_A";
challengeResult: boolean;
challengeMetadata?: string | undefined;
}>
| undefined;

@@ -87,19 +87,19 @@ challengeName?: string | undefined;

userAttributes?: { [key: string]: string } | undefined;
finalUserStatus?: 'CONFIRMED' | 'RESET_REQUIRED' | undefined;
messageAction?: 'SUPPRESS' | undefined;
desiredDeliveryMediums?: Array<'EMAIL' | 'SMS'> | undefined;
finalUserStatus?: "CONFIRMED" | "RESET_REQUIRED" | undefined;
messageAction?: "SUPPRESS" | undefined;
desiredDeliveryMediums?: Array<"EMAIL" | "SMS"> | undefined;
forceAliasCreation?: boolean | undefined;
claimsOverrideDetails?:
| {
claimsToAddOrOverride?: { [key: string]: string } | undefined;
claimsToSuppress?: string[] | undefined;
groupOverrideDetails?:
| null
| {
groupsToOverride?: string[] | undefined;
iamRolesToOverride?: string[] | undefined;
preferredRole?: string | undefined;
}
| undefined;
}
claimsToAddOrOverride?: { [key: string]: string } | undefined;
claimsToSuppress?: string[] | undefined;
groupOverrideDetails?:
| null
| {
groupsToOverride?: string[] | undefined;
iamRolesToOverride?: string[] | undefined;
preferredRole?: string | undefined;
}
| undefined;
}
| undefined;

@@ -119,13 +119,13 @@ };

export * from './create-auth-challenge';
export * from './custom-message';
export * from './custom-email-sender';
export * from './custom-sms-sender';
export * from './define-auth-challenge';
export * from './post-authentication';
export * from './post-confirmation';
export * from './pre-authentication';
export * from './pre-signup';
export * from './pre-token-generation';
export * from './user-migration';
export * from './verify-auth-challenge-response';
export * from "./create-auth-challenge";
export * from "./custom-email-sender";
export * from "./custom-message";
export * from "./custom-sms-sender";
export * from "./define-auth-challenge";
export * from "./post-authentication";
export * from "./post-confirmation";
export * from "./pre-authentication";
export * from "./pre-signup";
export * from "./pre-token-generation";
export * from "./user-migration";
export * from "./verify-auth-challenge-response";

@@ -1,3 +0,3 @@

import { Handler } from '../../handler';
import { BaseTriggerEvent, StringMap } from './_common';
import { Handler } from "../../handler";
import { BaseTriggerEvent, StringMap } from "./_common";

@@ -7,3 +7,3 @@ /**

*/
export interface PostAuthenticationTriggerEvent extends BaseTriggerEvent<'PostAuthentication_Authentication'> {
export interface PostAuthenticationTriggerEvent extends BaseTriggerEvent<"PostAuthentication_Authentication"> {
request: {

@@ -10,0 +10,0 @@ userAttributes: StringMap;

@@ -1,3 +0,3 @@

import { Handler } from '../../handler';
import { BaseTriggerEvent, StringMap } from './_common';
import { Handler } from "../../handler";
import { BaseTriggerEvent, StringMap } from "./_common";

@@ -11,7 +11,9 @@ export interface BasePostConfirmationTriggerEvent<T extends string> extends BaseTriggerEvent<T> {

export type PostConfirmationConfirmSignUpTriggerEvent =
BasePostConfirmationTriggerEvent<'PostConfirmation_ConfirmSignUp'>;
export type PostConfirmationConfirmSignUpTriggerEvent = BasePostConfirmationTriggerEvent<
"PostConfirmation_ConfirmSignUp"
>;
export type PostConfirmationConfirmForgotPassword =
BasePostConfirmationTriggerEvent<'PostConfirmation_ConfirmForgotPassword'>;
export type PostConfirmationConfirmForgotPassword = BasePostConfirmationTriggerEvent<
"PostConfirmation_ConfirmForgotPassword"
>;

@@ -18,0 +20,0 @@ /**

@@ -1,3 +0,3 @@

import { Handler } from '../../handler';
import { BaseTriggerEvent, StringMap } from './_common';
import { Handler } from "../../handler";
import { BaseTriggerEvent, StringMap } from "./_common";

@@ -7,11 +7,11 @@ /**

*/
export interface PreAuthenticationTriggerEvent extends BaseTriggerEvent<'PreAuthentication_Authentication'> {
request: {
userAttributes: StringMap;
userNotFound?: boolean | undefined;
validationData?: StringMap | undefined;
clientMetadata?: StringMap | undefined;
};
export interface PreAuthenticationTriggerEvent extends BaseTriggerEvent<"PreAuthentication_Authentication"> {
request: {
userAttributes: StringMap;
userNotFound?: boolean | undefined;
validationData?: StringMap | undefined;
clientMetadata?: StringMap | undefined;
};
}
export type PreAuthenticationTriggerHandler = Handler<PreAuthenticationTriggerEvent>;

@@ -1,3 +0,3 @@

import { Handler } from '../../handler';
import { BaseTriggerEvent, StringMap } from './_common';
import { Handler } from "../../handler";
import { BaseTriggerEvent, StringMap } from "./_common";

@@ -17,7 +17,7 @@ export interface BasePreSignUpTriggerEvent<T extends string> extends BaseTriggerEvent<T> {

export type PreSignUpEmailTriggerEvent = BasePreSignUpTriggerEvent<'PreSignUp_SignUp'>;
export type PreSignUpEmailTriggerEvent = BasePreSignUpTriggerEvent<"PreSignUp_SignUp">;
export type PreSignUpExternalProviderTriggerEvent = BasePreSignUpTriggerEvent<'PreSignUp_ExternalProvider'>;
export type PreSignUpExternalProviderTriggerEvent = BasePreSignUpTriggerEvent<"PreSignUp_ExternalProvider">;
export type PreSignUpAdminCreateUserTriggerEvent = BasePreSignUpTriggerEvent<'PreSignUp_AdminCreateUser'>;
export type PreSignUpAdminCreateUserTriggerEvent = BasePreSignUpTriggerEvent<"PreSignUp_AdminCreateUser">;

@@ -24,0 +24,0 @@ /**

@@ -1,3 +0,3 @@

import { Handler } from '../../handler';
import { BaseTriggerEvent, StringMap } from './_common';
import { Handler } from "../../handler";
import { BaseTriggerEvent, StringMap } from "./_common";

@@ -25,15 +25,19 @@ export interface GroupOverrideDetails {

export type PreTokenGenerationHostedAuthTriggerEvent = BasePreTokenGenerationTriggerEvent<'TokenGeneration_HostedAuth'>;
export type PreTokenGenerationHostedAuthTriggerEvent = BasePreTokenGenerationTriggerEvent<"TokenGeneration_HostedAuth">;
export type PreTokenGenerationAuthenticationTriggerEvent =
BasePreTokenGenerationTriggerEvent<'TokenGeneration_Authentication'>;
export type PreTokenGenerationAuthenticationTriggerEvent = BasePreTokenGenerationTriggerEvent<
"TokenGeneration_Authentication"
>;
export type PreTokenGenerationNewPasswordChallengeTriggerEvent =
BasePreTokenGenerationTriggerEvent<'TokenGeneration_NewPasswordChallenge'>;
export type PreTokenGenerationNewPasswordChallengeTriggerEvent = BasePreTokenGenerationTriggerEvent<
"TokenGeneration_NewPasswordChallenge"
>;
export type PreTokenGenerationAuthenticateDeviceTriggerEvent =
BasePreTokenGenerationTriggerEvent<'TokenGeneration_AuthenticateDevice'>;
export type PreTokenGenerationAuthenticateDeviceTriggerEvent = BasePreTokenGenerationTriggerEvent<
"TokenGeneration_AuthenticateDevice"
>;
export type PreTokenGenerationRefreshTokensTriggerEvent =
BasePreTokenGenerationTriggerEvent<'TokenGeneration_RefreshTokens'>;
export type PreTokenGenerationRefreshTokensTriggerEvent = BasePreTokenGenerationTriggerEvent<
"TokenGeneration_RefreshTokens"
>;

@@ -40,0 +44,0 @@ /**

@@ -1,12 +0,12 @@

import { Handler } from '../../handler';
import { BaseTriggerEvent, StringMap } from './_common';
import { Handler } from "../../handler";
import { BaseTriggerEvent, StringMap } from "./_common";
export type UserStatus =
| 'UNCONFIRMED'
| 'CONFIRMED'
| 'ARCHIVED'
| 'COMPROMISED'
| 'UNKNOWN'
| 'RESET_REQUIRED'
| 'FORCE_CHANGE_PASSWORD';
| "UNCONFIRMED"
| "CONFIRMED"
| "ARCHIVED"
| "COMPROMISED"
| "UNKNOWN"
| "RESET_REQUIRED"
| "FORCE_CHANGE_PASSWORD";

@@ -22,4 +22,4 @@ export interface BaseUserMigrationTriggerEvent<T extends string> extends BaseTriggerEvent<T> {

finalUserStatus?: UserStatus | undefined;
messageAction?: 'RESEND' | 'SUPPRESS' | undefined;
desiredDeliveryMediums: Array<'SMS' | 'EMAIL'>;
messageAction?: "RESEND" | "SUPPRESS" | undefined;
desiredDeliveryMediums: Array<"SMS" | "EMAIL">;
forceAliasCreation?: boolean | undefined;

@@ -29,5 +29,5 @@ };

export type UserMigrationAuthenticationTriggerEvent = BaseUserMigrationTriggerEvent<'UserMigration_Authentication'>;
export type UserMigrationAuthenticationTriggerEvent = BaseUserMigrationTriggerEvent<"UserMigration_Authentication">;
export type UserMigrationForgotPasswordTriggerEvent = BaseUserMigrationTriggerEvent<'UserMigration_ForgotPassword'>;
export type UserMigrationForgotPasswordTriggerEvent = BaseUserMigrationTriggerEvent<"UserMigration_ForgotPassword">;

@@ -34,0 +34,0 @@ /**

@@ -1,3 +0,3 @@

import { Handler } from '../../handler';
import { BaseTriggerEvent, StringMap } from './_common';
import { Handler } from "../../handler";
import { BaseTriggerEvent, StringMap } from "./_common";

@@ -7,15 +7,17 @@ /**

*/
export interface VerifyAuthChallengeResponseTriggerEvent extends BaseTriggerEvent<'VerifyAuthChallengeResponse_Authentication'> {
request: {
userAttributes: StringMap;
privateChallengeParameters: StringMap;
challengeAnswer: string;
userNotFound?: boolean | undefined;
clientMetadata?: StringMap | undefined;
};
response: {
answerCorrect: boolean;
};
export interface VerifyAuthChallengeResponseTriggerEvent
extends BaseTriggerEvent<"VerifyAuthChallengeResponse_Authentication">
{
request: {
userAttributes: StringMap;
privateChallengeParameters: StringMap;
challengeAnswer: string;
userNotFound?: boolean | undefined;
clientMetadata?: StringMap | undefined;
};
response: {
answerCorrect: boolean;
};
}
export type VerifyAuthChallengeResponseTriggerHandler = Handler<VerifyAuthChallengeResponseTriggerEvent>;

@@ -1,2 +0,2 @@

import { Callback, Handler } from '../handler';
import { Callback, Handler } from "../handler";

@@ -29,12 +29,12 @@ export type ConnectContactFlowHandler = Handler<ConnectContactFlowEvent, ConnectContactFlowResult>;

};
Name: 'ContactFlowEvent';
Name: "ContactFlowEvent";
}
export type ConnectContactFlowChannel = 'VOICE' | 'CHAT';
export type ConnectContactFlowChannel = "VOICE" | "CHAT";
export type ConnectContactFlowInitiationMethod = 'INBOUND' | 'OUTBOUND' | 'TRANSFER' | 'CALLBACK' | 'API';
export type ConnectContactFlowInitiationMethod = "INBOUND" | "OUTBOUND" | "TRANSFER" | "CALLBACK" | "API";
export interface ConnectContactFlowEndpoint {
Address: string;
Type: 'TELEPHONE_NUMBER';
Type: "TELEPHONE_NUMBER";
}

@@ -41,0 +41,0 @@

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -28,3 +28,3 @@ // tslint:disable-next-line:void-return

SizeBytes?: number | undefined;
StreamViewType?: 'KEYS_ONLY' | 'NEW_IMAGE' | 'OLD_IMAGE' | 'NEW_AND_OLD_IMAGES' | undefined;
StreamViewType?: "KEYS_ONLY" | "NEW_IMAGE" | "OLD_IMAGE" | "NEW_AND_OLD_IMAGES" | undefined;
}

@@ -37,3 +37,3 @@

eventID?: string | undefined;
eventName?: 'INSERT' | 'MODIFY' | 'REMOVE' | undefined;
eventName?: "INSERT" | "MODIFY" | "REMOVE" | undefined;
eventSource?: string | undefined;

@@ -40,0 +40,0 @@ eventSourceARN?: string | undefined;

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -16,5 +16,5 @@ export type EventBridgeHandler<TDetailType extends string, TDetail, TResult> = Handler<

source: string;
'detail-type': TDetailType;
"detail-type": TDetailType;
detail: TDetail;
'replay-name'?: string;
"replay-name"?: string;
}

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -3,0 +3,0 @@ export type IoTHandler = Handler<IoTEvent, void>;

@@ -1,2 +0,2 @@

import { Callback, Handler } from '../handler';
import { Callback, Handler } from "../handler";

@@ -35,3 +35,3 @@ export type FirehoseTransformationHandler = Handler<FirehoseTransformationEvent, FirehoseTransformationResult>;

export type FirehoseRecordTransformationStatus = 'Ok' | 'Dropped' | 'ProcessingFailed';
export type FirehoseRecordTransformationStatus = "Ok" | "Dropped" | "ProcessingFailed";

@@ -38,0 +38,0 @@ export interface FirehoseTransformationMetadata {

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -3,0 +3,0 @@ // tslint:disable-next-line:void-return

@@ -1,2 +0,2 @@

import { Callback, Handler } from '../handler';
import { Callback, Handler } from "../handler";

@@ -10,4 +10,4 @@ export type LexV2Handler = Handler<LexV2Event, LexV2Result>;

messageVersion: string;
invocationSource: 'DialogCodeHook' | 'FulfillmentCodeHook';
inputMode: 'DTMF' | 'Speech' | 'Text';
invocationSource: "DialogCodeHook" | "FulfillmentCodeHook";
inputMode: "DTMF" | "Speech" | "Text";
responseContentType: string;

@@ -43,3 +43,3 @@ sessionId: string;

export interface LexV2Intent {
confirmationState: 'Confirmed' | 'Denied' | 'None';
confirmationState: "Confirmed" | "Denied" | "None";
name: string;

@@ -52,8 +52,8 @@ slots: LexV2Slots;

export type LexV2IntentState =
| 'Failed'
| 'Fulfilled'
| 'FulfillmentInProgress'
| 'InProgress'
| 'ReadyForFulfillment'
| 'Waiting';
| "Failed"
| "Fulfilled"
| "FulfillmentInProgress"
| "InProgress"
| "ReadyForFulfillment"
| "Waiting";

@@ -90,14 +90,14 @@ export interface LexV2SentimentResponse {

export type LevV2DialogActionWithoutSlot =
| { type: 'Close' }
| { type: 'ConfirmIntent' }
| { type: 'Delegate' }
| { type: 'ElicitIntent' };
| { type: "Close" }
| { type: "ConfirmIntent" }
| { type: "Delegate" }
| { type: "ElicitIntent" };
export type LexV2DialogAction =
| (LevV2DialogActionWithoutSlot & { slotToElicit?: never })
| { type: 'ElicitSlot'; slotToElicit: string };
| { type: "ElicitSlot"; slotToElicit: string };
export type LexV2ResultDialogAction =
| (LevV2DialogActionWithoutSlot & { slotToElicit?: never })
| { type: 'ElicitSlot'; slotToElicit: string; slotElicitationStyle: 'Default' | 'SpellByLetter' | 'SpellByWord' };
| { type: "ElicitSlot"; slotToElicit: string; slotElicitationStyle: "Default" | "SpellByLetter" | "SpellByWord" };

@@ -120,3 +120,3 @@ export interface LexV2Result {

export interface LexV2ContentMessage {
contentType: 'CustomPayload' | 'PlainText' | 'SSML';
contentType: "CustomPayload" | "PlainText" | "SSML";
content: string;

@@ -126,3 +126,3 @@ }

export interface LexV2ImageResponseCardMessage {
contentType: 'ImageResponseCard';
contentType: "ImageResponseCard";
imageResponseCard: LexV2ImageResponseCard;

@@ -147,3 +147,3 @@ }

export interface LexV2ScalarSlotValue {
shape: 'Scalar';
shape: "Scalar";
value: LexV2SlotValue;

@@ -153,3 +153,3 @@ }

export interface LexV2ListSlotValue {
shape: 'List';
shape: "List";
value: LexV2SlotValue;

@@ -156,0 +156,0 @@ values: LexV2ScalarSlotValue[];

@@ -1,2 +0,2 @@

import { Callback, Handler } from '../handler';
import { Callback, Handler } from "../handler";

@@ -25,3 +25,3 @@ export type LexHandler = Handler<LexEvent, LexResult>;

slotDetails: LexSlotDetails;
confirmationStatus: 'None' | 'Confirmed' | 'Denied';
confirmationStatus: "None" | "Confirmed" | "Denied";
};

@@ -35,5 +35,5 @@ bot: {

inputTranscript: string;
invocationSource: 'DialogCodeHook' | 'FulfillmentCodeHook';
outputDialogMode: 'Text' | 'Voice';
messageVersion: '1.0';
invocationSource: "DialogCodeHook" | "FulfillmentCodeHook";
outputDialogMode: "Text" | "Voice";
messageVersion: "1.0";
sessionAttributes: LexEventSessionAttributes;

@@ -69,15 +69,15 @@ requestAttributes: LexEventRequestAttributes | null;

export interface LexDialogActionBase {
type: 'Close' | 'ElicitIntent' | 'ElicitSlot' | 'ConfirmIntent';
type: "Close" | "ElicitIntent" | "ElicitSlot" | "ConfirmIntent";
message?:
| {
contentType: 'PlainText' | 'SSML' | 'CustomPayload';
content: string;
}
contentType: "PlainText" | "SSML" | "CustomPayload";
content: string;
}
| undefined;
responseCard?:
| {
version: number;
contentType: 'application/vnd.amazonaws.card.generic';
genericAttachments: LexGenericAttachment[];
}
version: number;
contentType: "application/vnd.amazonaws.card.generic";
genericAttachments: LexGenericAttachment[];
}
| undefined;

@@ -87,12 +87,12 @@ }

export interface LexDialogActionClose extends LexDialogActionBase {
type: 'Close';
fulfillmentState: 'Fulfilled' | 'Failed';
type: "Close";
fulfillmentState: "Fulfilled" | "Failed";
}
export interface LexDialogActionElicitIntent extends LexDialogActionBase {
type: 'ElicitIntent';
type: "ElicitIntent";
}
export interface LexDialogActionElicitSlot extends LexDialogActionBase {
type: 'ElicitSlot';
type: "ElicitSlot";
intentName: string;

@@ -104,3 +104,3 @@ slots: { [name: string]: string | null };

export interface LexDialogActionConfirmIntent extends LexDialogActionBase {
type: 'ConfirmIntent';
type: "ConfirmIntent";
intentName: string;

@@ -111,3 +111,3 @@ slots: { [name: string]: string | null };

export interface LexDialogActionDelegate {
type: 'Delegate';
type: "Delegate";
slots: { [name: string]: string | null };

@@ -114,0 +114,0 @@ }

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -14,3 +14,3 @@ export type MSKHandler = Handler<MSKEvent, void>;

timestamp: number;
timestampType: 'CREATE_TIME' | 'LOG_APPEND_TIME';
timestampType: "CREATE_TIME" | "LOG_APPEND_TIME";
key: string;

@@ -23,3 +23,3 @@ value: string;

export interface MSKEvent {
eventSource: 'aws:kafka';
eventSource: "aws:kafka";
eventSourceArn: string;

@@ -26,0 +26,0 @@ bootstrapServers: string;

@@ -1,2 +0,2 @@

import { Handler, Callback } from '../handler';
import { Callback, Handler } from "../handler";

@@ -35,3 +35,3 @@ /**

export type S3BatchResultResultCode = 'Succeeded' | 'TemporaryFailure' | 'PermanentFailure';
export type S3BatchResultResultCode = "Succeeded" | "TemporaryFailure" | "PermanentFailure";

@@ -38,0 +38,0 @@ export interface S3BatchResultResult {

@@ -1,6 +0,6 @@

import { EventBridgeEvent } from './eventbridge';
import { Handler } from '../handler';
import { Handler } from "../handler";
import { EventBridgeEvent } from "./eventbridge";
export interface S3ObjectAccessTierChangedNotificationEventDetail {
version: '0';
version: "0";
bucket: {

@@ -13,11 +13,11 @@ name: string;

etag: string;
'version-id': string;
"version-id": string;
};
'request-id': string;
"request-id": string;
requester: string;
'destination-access-tier': 'ARCHIVE_ACCESS' | 'DEEP_ARCHIVE_ACCESS'; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_Tiering.html
"destination-access-tier": "ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS"; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_Tiering.html
}
export interface S3ObjectACLUpdatedNotificationEventDetail {
version: '0';
version: "0";
bucket: {

@@ -29,11 +29,11 @@ name: string;

etag: string;
'version-id': string;
"version-id": string;
};
'request-id': string;
"request-id": string;
requester: string;
'source-ip-address': string;
"source-ip-address": string;
}
export interface S3ObjectCreatedNotificationEventDetail {
version: '0';
version: "0";
bucket: {

@@ -46,13 +46,13 @@ name: string;

etag: string;
'version-id': string;
"version-id": string;
sequencer: string;
};
'request-id': string;
"request-id": string;
requester: string;
'source-ip-address': string;
reason: 'PutObject' | 'POST Object' | 'CopyObject' | 'CompleteMultipartUpload';
"source-ip-address": string;
reason: "PutObject" | "POST Object" | "CopyObject" | "CompleteMultipartUpload";
}
export interface S3ObjectDeletedNotificationEventLifecycleExpirationDetail {
version: '0';
version: "0";
bucket: {

@@ -64,13 +64,13 @@ name: string;

etag: string;
'version-id': string;
"version-id": string;
sequencer: string;
};
'request-id': string;
"request-id": string;
requester: string;
reason: 'Lifecycle Expiration';
'deletion-type': 'Permanently Deleted' | 'Delete Marker Created';
reason: "Lifecycle Expiration";
"deletion-type": "Permanently Deleted" | "Delete Marker Created";
}
export interface S3ObjectDeletedNotificationEventDeleteObjectDetail {
version: '0';
version: "0";
bucket: {

@@ -82,10 +82,10 @@ name: string;

etag: string;
'version-id': string;
"version-id": string;
sequencer: string;
};
'request-id': string;
"request-id": string;
requester: string;
'source-ip-address': string;
reason: 'DeleteObject';
'deletion-type': 'Permanently Deleted' | 'Delete Marker Created';
"source-ip-address": string;
reason: "DeleteObject";
"deletion-type": "Permanently Deleted" | "Delete Marker Created";
}

@@ -98,3 +98,3 @@

export interface S3ObjectRestoreCompletedNotificationEventDetail {
version: '0';
version: "0";
bucket: {

@@ -106,22 +106,22 @@ name: string;

size: number;
'version-id': string;
"version-id": string;
etag: string;
};
'request-id': string;
requester: 's3.amazonaws.com';
'restore-expiry-time': string;
'source-storage-class':
| 'STANDARD'
| 'REDUCED_REDUNDANCY'
| 'STANDARD_IA'
| 'ONEZONE_IA'
| 'INTELLIGENT_TIERING'
| 'GLACIER'
| 'DEEP_ARCHIVE'
| 'OUTPOSTS'
| 'GLACIER_IR'; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
"request-id": string;
requester: "s3.amazonaws.com";
"restore-expiry-time": string;
"source-storage-class":
| "STANDARD"
| "REDUCED_REDUNDANCY"
| "STANDARD_IA"
| "ONEZONE_IA"
| "INTELLIGENT_TIERING"
| "GLACIER"
| "DEEP_ARCHIVE"
| "OUTPOSTS"
| "GLACIER_IR"; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
}
export interface S3ObjectRestoreExpiredNotificationEventDetail {
version: '0';
version: "0";
bucket: {

@@ -132,11 +132,11 @@ name: string;

key: string;
'version-id': string;
"version-id": string;
etag: string;
};
'request-id': string;
requester: 's3.amazonaws.com';
"request-id": string;
requester: "s3.amazonaws.com";
}
export interface S3ObjectRestoreInitiatedNotificationEventDetail {
version: '0';
version: "0";
bucket: {

@@ -148,22 +148,22 @@ name: string;

size: number;
'version-id': string;
"version-id": string;
etag: string;
};
'request-id': string;
"request-id": string;
requester: string;
'source-ip-address': string;
'source-storage-class':
| 'STANDARD'
| 'REDUCED_REDUNDANCY'
| 'STANDARD_IA'
| 'ONEZONE_IA'
| 'INTELLIGENT_TIERING'
| 'GLACIER'
| 'DEEP_ARCHIVE'
| 'OUTPOSTS'
| 'GLACIER_IR'; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
"source-ip-address": string;
"source-storage-class":
| "STANDARD"
| "REDUCED_REDUNDANCY"
| "STANDARD_IA"
| "ONEZONE_IA"
| "INTELLIGENT_TIERING"
| "GLACIER"
| "DEEP_ARCHIVE"
| "OUTPOSTS"
| "GLACIER_IR"; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
}
export interface S3ObjectStorageClassChangedNotificationEventDetail {
version: '0';
version: "0";
bucket: {

@@ -175,21 +175,21 @@ name: string;

size: number;
'version-id': string;
"version-id": string;
etag: string;
};
'request-id': string;
"request-id": string;
requester: string;
'destination-storage-class':
| 'STANDARD'
| 'REDUCED_REDUNDANCY'
| 'STANDARD_IA'
| 'ONEZONE_IA'
| 'INTELLIGENT_TIERING'
| 'GLACIER'
| 'DEEP_ARCHIVE'
| 'OUTPOSTS'
| 'GLACIER_IR'; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
"destination-storage-class":
| "STANDARD"
| "REDUCED_REDUNDANCY"
| "STANDARD_IA"
| "ONEZONE_IA"
| "INTELLIGENT_TIERING"
| "GLACIER"
| "DEEP_ARCHIVE"
| "OUTPOSTS"
| "GLACIER_IR"; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
}
export interface S3ObjectTagsAddedNotificationEventDetail {
version: '0';
version: "0";
bucket: {

@@ -200,12 +200,12 @@ name: string;

key: string;
'version-id': string;
"version-id": string;
etag: string;
};
'request-id': string;
"request-id": string;
requester: string;
'source-ip-address': string;
"source-ip-address": string;
}
export interface S3ObjectTagsDeletedNotificationEventDetail {
version: '0';
version: "0";
bucket: {

@@ -216,58 +216,68 @@ name: string;

key: string;
'version-id': string;
"version-id": string;
etag: string;
};
'request-id': string;
"request-id": string;
requester: string;
'source-ip-address': string;
"source-ip-address": string;
}
export interface S3ObjectAccessTierChangedNotificationEvent
extends EventBridgeEvent<'Object Access Tier Changed', S3ObjectAccessTierChangedNotificationEventDetail> {
source: 'aws.s3';
extends EventBridgeEvent<"Object Access Tier Changed", S3ObjectAccessTierChangedNotificationEventDetail>
{
source: "aws.s3";
}
export interface S3ObjectACLUpdatedNotificationEvent
extends EventBridgeEvent<'Object ACL Updated', S3ObjectACLUpdatedNotificationEventDetail> {
source: 'aws.s3';
extends EventBridgeEvent<"Object ACL Updated", S3ObjectACLUpdatedNotificationEventDetail>
{
source: "aws.s3";
}
export interface S3ObjectCreatedNotificationEvent
extends EventBridgeEvent<'Object Created', S3ObjectCreatedNotificationEventDetail> {
source: 'aws.s3';
extends EventBridgeEvent<"Object Created", S3ObjectCreatedNotificationEventDetail>
{
source: "aws.s3";
}
export interface S3ObjectDeletedNotificationEvent
extends EventBridgeEvent<'Object Deleted', S3ObjectDeletedNotificationEventDetail> {
source: 'aws.s3';
extends EventBridgeEvent<"Object Deleted", S3ObjectDeletedNotificationEventDetail>
{
source: "aws.s3";
}
export interface S3ObjectRestoreCompletedNotificationEvent
extends EventBridgeEvent<'Object Restore Completed', S3ObjectRestoreCompletedNotificationEventDetail> {
source: 'aws.s3';
extends EventBridgeEvent<"Object Restore Completed", S3ObjectRestoreCompletedNotificationEventDetail>
{
source: "aws.s3";
}
export interface S3ObjectRestoreExpiredNotificationEvent
extends EventBridgeEvent<'Object Restore Expired', S3ObjectRestoreExpiredNotificationEventDetail> {
source: 'aws.s3';
extends EventBridgeEvent<"Object Restore Expired", S3ObjectRestoreExpiredNotificationEventDetail>
{
source: "aws.s3";
}
export interface S3ObjectRestoreInitiatedNotificationEvent
extends EventBridgeEvent<'Object Restore Initiated', S3ObjectRestoreInitiatedNotificationEventDetail> {
source: 'aws.s3';
extends EventBridgeEvent<"Object Restore Initiated", S3ObjectRestoreInitiatedNotificationEventDetail>
{
source: "aws.s3";
}
export interface S3ObjectStorageClassChangedNotificationEvent
extends EventBridgeEvent<'Object Storage Class Changed', S3ObjectStorageClassChangedNotificationEventDetail> {
source: 'aws.s3';
extends EventBridgeEvent<"Object Storage Class Changed", S3ObjectStorageClassChangedNotificationEventDetail>
{
source: "aws.s3";
}
export interface S3ObjectTagsAddedNotificationEvent
extends EventBridgeEvent<'Object Tags Added', S3ObjectTagsAddedNotificationEventDetail> {
source: 'aws.s3';
extends EventBridgeEvent<"Object Tags Added", S3ObjectTagsAddedNotificationEventDetail>
{
source: "aws.s3";
}
export interface S3ObjectTagsDeletedNotificationEvent
extends EventBridgeEvent<'Object Tags Deleted', S3ObjectTagsDeletedNotificationEventDetail> {
source: 'aws.s3';
extends EventBridgeEvent<"Object Tags Deleted", S3ObjectTagsDeletedNotificationEventDetail>
{
source: "aws.s3";
}

@@ -288,6 +298,6 @@

export type S3NotificationEventBridgeHandler<EventType extends S3NotificationEvent = S3NotificationEvent> = Handler<
EventBridgeEvent<EventType['detail-type'], EventType['detail']> & {
source: 'aws.s3';
EventBridgeEvent<EventType["detail-type"], EventType["detail"]> & {
source: "aws.s3";
},
void
>;

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -32,4 +32,4 @@ export type S3Handler = Handler<S3Event, void>;

responseElements: {
'x-amz-request-id': string;
'x-amz-id-2': string;
"x-amz-request-id": string;
"x-amz-id-2": string;
};

@@ -36,0 +36,0 @@ s3: {

@@ -1,6 +0,6 @@

import { Handler } from '../handler';
import { Handler } from "../handler";
export type SecretsManagerRotationHandler = Handler<SecretsManagerRotationEvent, void>;
export type SecretsManagerRotationEventStep = 'createSecret' | 'setSecret' | 'testSecret' | 'finishSecret';
export type SecretsManagerRotationEventStep = "createSecret" | "setSecret" | "testSecret" | "finishSecret";

@@ -7,0 +7,0 @@ /**

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -14,3 +14,3 @@ export type SelfManagedKafkaHandler = Handler<SelfManagedKafkaEvent, void>;

timestamp: number;
timestampType: 'CREATE_TIME' | 'LOG_APPEND_TIME';
timestampType: "CREATE_TIME" | "LOG_APPEND_TIME";
key: string;

@@ -23,3 +23,3 @@ value: string;

export interface SelfManagedKafkaEvent {
eventSource: 'SelfManagedKafka';
eventSource: "SelfManagedKafka";
bootstrapServers: string;

@@ -26,0 +26,0 @@ records: {

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -35,7 +35,7 @@ export type SESHandler = Handler<SESEvent, void>;

export interface SESReceiptStatus {
status: 'PASS' | 'FAIL' | 'GRAY' | 'PROCESSING_FAILED' | 'DISABLED';
status: "PASS" | "FAIL" | "GRAY" | "PROCESSING_FAILED" | "DISABLED";
}
export interface SESReceiptS3Action {
type: 'S3';
type: "S3";
topicArn?: string | undefined;

@@ -47,3 +47,3 @@ bucketName: string;

export interface SESReceiptSnsAction {
type: 'SNS';
type: "SNS";
topicArn: string;

@@ -53,3 +53,3 @@ }

export interface SESReceiptBounceAction {
type: 'Bounce';
type: "Bounce";
topicArn?: string | undefined;

@@ -63,3 +63,3 @@ smtpReplyCode: string;

export interface SESReceiptLambdaAction {
type: 'Lambda';
type: "Lambda";
topicArn?: string | undefined;

@@ -71,3 +71,3 @@ functionArn: string;

export interface SESReceiptStopAction {
type: 'Stop';
type: "Stop";
topicArn?: string | undefined;

@@ -77,3 +77,3 @@ }

export interface SESReceiptWorkMailAction {
type: 'WorkMail';
type: "WorkMail";
topicArn?: string | undefined;

@@ -92,3 +92,3 @@ organizationArn: string;

dmarcVerdict: SESReceiptStatus;
dmarcPolicy?: 'none' | 'quarantine' | 'reject' | undefined;
dmarcPolicy?: "none" | "quarantine" | "reject" | undefined;
action:

@@ -95,0 +95,0 @@ | SESReceiptS3Action

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -3,0 +3,0 @@ export type SNSHandler = Handler<SNSEvent, void>;

@@ -1,2 +0,2 @@

import { Handler } from '../handler';
import { Handler } from "../handler";

@@ -36,3 +36,3 @@ // tslint:disable-next-line:void-return

export type SQSMessageAttributeDataType = 'String' | 'Number' | 'Binary' | string;
export type SQSMessageAttributeDataType = "String" | "Number" | "Binary" | string;

@@ -39,0 +39,0 @@ export interface SQSMessageAttribute {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc