cdk-docker-image-deployment 0.0.379 → 0.0.381

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/.jsii +4 -4
  2. package/lib/destination.js +1 -1
  3. package/lib/docker-image-deployment.js +1 -1
  4. package/lib/source.js +1 -1
  5. package/node_modules/@types/aws-lambda/README.md +1 -1
  6. package/node_modules/@types/aws-lambda/common/api-gateway.d.ts +5 -4
  7. package/node_modules/@types/aws-lambda/common/cloudfront.d.ts +10 -10
  8. package/node_modules/@types/aws-lambda/index.d.ts +40 -40
  9. package/node_modules/@types/aws-lambda/package.json +2 -2
  10. package/node_modules/@types/aws-lambda/trigger/alb.d.ts +1 -1
  11. package/node_modules/@types/aws-lambda/trigger/amplify-resolver.d.ts +2 -2
  12. package/node_modules/@types/aws-lambda/trigger/api-gateway-authorizer.d.ts +14 -11
  13. package/node_modules/@types/aws-lambda/trigger/api-gateway-proxy.d.ts +21 -18
  14. package/node_modules/@types/aws-lambda/trigger/appsync-resolver.d.ts +1 -1
  15. package/node_modules/@types/aws-lambda/trigger/autoscaling.d.ts +3 -3
  16. package/node_modules/@types/aws-lambda/trigger/cdk-custom-resource.d.ts +6 -6
  17. package/node_modules/@types/aws-lambda/trigger/cloudformation-custom-resource.d.ts +8 -8
  18. package/node_modules/@types/aws-lambda/trigger/cloudfront-request.d.ts +2 -2
  19. package/node_modules/@types/aws-lambda/trigger/cloudfront-response.d.ts +3 -3
  20. package/node_modules/@types/aws-lambda/trigger/cloudwatch-events.d.ts +3 -3
  21. package/node_modules/@types/aws-lambda/trigger/cloudwatch-logs.d.ts +1 -1
  22. package/node_modules/@types/aws-lambda/trigger/codebuild-cloudwatch-state.d.ts +62 -61
  23. package/node_modules/@types/aws-lambda/trigger/codecommit.d.ts +1 -1
  24. package/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-action.d.ts +7 -7
  25. package/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-pipeline.d.ts +5 -5
  26. package/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch-stage.d.ts +5 -5
  27. package/node_modules/@types/aws-lambda/trigger/codepipeline-cloudwatch.d.ts +4 -4
  28. package/node_modules/@types/aws-lambda/trigger/codepipeline.d.ts +4 -4
  29. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/_common.d.ts +7 -7
  30. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/create-auth-challenge.d.ts +15 -15
  31. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-email-sender.d.ts +17 -10
  32. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-message.d.ts +13 -11
  33. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/custom-sms-sender.d.ts +15 -9
  34. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/define-auth-challenge.d.ts +14 -14
  35. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/index.d.ts +62 -62
  36. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-authentication.d.ts +3 -3
  37. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/post-confirmation.d.ts +8 -6
  38. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-authentication.d.ts +9 -9
  39. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-signup.d.ts +5 -5
  40. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/pre-token-generation.d.ts +15 -11
  41. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/user-migration.d.ts +13 -13
  42. package/node_modules/@types/aws-lambda/trigger/cognito-user-pool-trigger/verify-auth-challenge-response.d.ts +15 -13
  43. package/node_modules/@types/aws-lambda/trigger/connect-contact-flow.d.ts +5 -5
  44. package/node_modules/@types/aws-lambda/trigger/dynamodb-stream.d.ts +3 -3
  45. package/node_modules/@types/aws-lambda/trigger/eventbridge.d.ts +3 -3
  46. package/node_modules/@types/aws-lambda/trigger/iot.d.ts +1 -1
  47. package/node_modules/@types/aws-lambda/trigger/kinesis-firehose-transformation.d.ts +2 -2
  48. package/node_modules/@types/aws-lambda/trigger/kinesis-stream.d.ts +1 -1
  49. package/node_modules/@types/aws-lambda/trigger/lex-v2.d.ts +20 -20
  50. package/node_modules/@types/aws-lambda/trigger/lex.d.ts +19 -19
  51. package/node_modules/@types/aws-lambda/trigger/msk.d.ts +3 -3
  52. package/node_modules/@types/aws-lambda/trigger/s3-batch.d.ts +2 -2
  53. package/node_modules/@types/aws-lambda/trigger/s3-event-notification.d.ts +112 -102
  54. package/node_modules/@types/aws-lambda/trigger/s3.d.ts +3 -3
  55. package/node_modules/@types/aws-lambda/trigger/secretsmanager.d.ts +2 -2
  56. package/node_modules/@types/aws-lambda/trigger/self-managed-kafka.d.ts +3 -3
  57. package/node_modules/@types/aws-lambda/trigger/ses.d.ts +9 -9
  58. package/node_modules/@types/aws-lambda/trigger/sns.d.ts +1 -1
  59. package/node_modules/@types/aws-lambda/trigger/sqs.d.ts +2 -2
  60. package/node_modules/aws-sdk/CHANGELOG.md +9 -1
  61. package/node_modules/aws-sdk/README.md +1 -1
  62. package/node_modules/aws-sdk/apis/braket-2019-09-01.min.json +64 -12
  63. package/node_modules/aws-sdk/apis/dms-2016-01-01.examples.json +968 -0
  64. package/node_modules/aws-sdk/apis/dms-2016-01-01.min.json +305 -257
  65. package/node_modules/aws-sdk/apis/events-2015-10-07.min.json +59 -34
  66. package/node_modules/aws-sdk/apis/mediaconvert-2017-08-29.min.json +169 -161
  67. package/node_modules/aws-sdk/clients/braket.d.ts +73 -0
  68. package/node_modules/aws-sdk/clients/cloudwatchevents.d.ts +13 -9
  69. package/node_modules/aws-sdk/clients/dms.d.ts +117 -19
  70. package/node_modules/aws-sdk/clients/ec2.d.ts +1 -1
  71. package/node_modules/aws-sdk/clients/efs.d.ts +10 -10
  72. package/node_modules/aws-sdk/clients/guardduty.d.ts +14 -14
  73. package/node_modules/aws-sdk/clients/mediaconvert.d.ts +15 -5
  74. package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
  75. package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +5 -5
  76. package/node_modules/aws-sdk/dist/aws-sdk.js +62 -37
  77. package/node_modules/aws-sdk/dist/aws-sdk.min.js +54 -54
  78. package/node_modules/aws-sdk/lib/core.js +1 -1
  79. package/node_modules/aws-sdk/package.json +1 -1
  80. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- import { Callback, Handler } from '../handler';
1
+ import { Callback, Handler } from "../handler";
2
2
 
3
3
  export type LexHandler = Handler<LexEvent, LexResult>;
4
4
  export type LexCallback = Callback<LexResult>;
@@ -22,7 +22,7 @@ export interface LexEvent {
22
22
  name: string;
23
23
  slots: LexEventSlots;
24
24
  slotDetails: LexSlotDetails;
25
- confirmationStatus: 'None' | 'Confirmed' | 'Denied';
25
+ confirmationStatus: "None" | "Confirmed" | "Denied";
26
26
  };
27
27
  bot: {
28
28
  name: string;
@@ -31,9 +31,9 @@ export interface LexEvent {
31
31
  };
32
32
  userId: string;
33
33
  inputTranscript: string;
34
- invocationSource: 'DialogCodeHook' | 'FulfillmentCodeHook';
35
- outputDialogMode: 'Text' | 'Voice';
36
- messageVersion: '1.0';
34
+ invocationSource: "DialogCodeHook" | "FulfillmentCodeHook";
35
+ outputDialogMode: "Text" | "Voice";
36
+ messageVersion: "1.0";
37
37
  sessionAttributes: LexEventSessionAttributes;
38
38
  requestAttributes: LexEventRequestAttributes | null;
39
39
  }
@@ -64,46 +64,46 @@ export interface LexGenericAttachment {
64
64
  }
65
65
 
66
66
  export interface LexDialogActionBase {
67
- type: 'Close' | 'ElicitIntent' | 'ElicitSlot' | 'ConfirmIntent';
67
+ type: "Close" | "ElicitIntent" | "ElicitSlot" | "ConfirmIntent";
68
68
  message?:
69
69
  | {
70
- contentType: 'PlainText' | 'SSML' | 'CustomPayload';
71
- content: string;
72
- }
70
+ contentType: "PlainText" | "SSML" | "CustomPayload";
71
+ content: string;
72
+ }
73
73
  | undefined;
74
74
  responseCard?:
75
75
  | {
76
- version: number;
77
- contentType: 'application/vnd.amazonaws.card.generic';
78
- genericAttachments: LexGenericAttachment[];
79
- }
76
+ version: number;
77
+ contentType: "application/vnd.amazonaws.card.generic";
78
+ genericAttachments: LexGenericAttachment[];
79
+ }
80
80
  | undefined;
81
81
  }
82
82
 
83
83
  export interface LexDialogActionClose extends LexDialogActionBase {
84
- type: 'Close';
85
- fulfillmentState: 'Fulfilled' | 'Failed';
84
+ type: "Close";
85
+ fulfillmentState: "Fulfilled" | "Failed";
86
86
  }
87
87
 
88
88
  export interface LexDialogActionElicitIntent extends LexDialogActionBase {
89
- type: 'ElicitIntent';
89
+ type: "ElicitIntent";
90
90
  }
91
91
 
92
92
  export interface LexDialogActionElicitSlot extends LexDialogActionBase {
93
- type: 'ElicitSlot';
93
+ type: "ElicitSlot";
94
94
  intentName: string;
95
95
  slots: { [name: string]: string | null };
96
96
  slotToElicit: string;
97
97
  }
98
98
 
99
99
  export interface LexDialogActionConfirmIntent extends LexDialogActionBase {
100
- type: 'ConfirmIntent';
100
+ type: "ConfirmIntent";
101
101
  intentName: string;
102
102
  slots: { [name: string]: string | null };
103
103
  }
104
104
 
105
105
  export interface LexDialogActionDelegate {
106
- type: 'Delegate';
106
+ type: "Delegate";
107
107
  slots: { [name: string]: string | null };
108
108
  }
109
109
 
@@ -1,4 +1,4 @@
1
- import { Handler } from '../handler';
1
+ import { Handler } from "../handler";
2
2
 
3
3
  export type MSKHandler = Handler<MSKEvent, void>;
4
4
 
@@ -11,7 +11,7 @@ export interface MSKRecord {
11
11
  partition: number;
12
12
  offset: number;
13
13
  timestamp: number;
14
- timestampType: 'CREATE_TIME' | 'LOG_APPEND_TIME';
14
+ timestampType: "CREATE_TIME" | "LOG_APPEND_TIME";
15
15
  key: string;
16
16
  value: string;
17
17
  headers: MSKRecordHeader[];
@@ -19,7 +19,7 @@ export interface MSKRecord {
19
19
 
20
20
  // https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html
21
21
  export interface MSKEvent {
22
- eventSource: 'aws:kafka';
22
+ eventSource: "aws:kafka";
23
23
  eventSourceArn: string;
24
24
  bootstrapServers: string;
25
25
  records: {
@@ -1,4 +1,4 @@
1
- import { Handler, Callback } from '../handler';
1
+ import { Callback, Handler } from "../handler";
2
2
 
3
3
  /**
4
4
  * S3 Batch Operations event
@@ -32,7 +32,7 @@ export interface S3BatchResult {
32
32
  results: S3BatchResultResult[];
33
33
  }
34
34
 
35
- export type S3BatchResultResultCode = 'Succeeded' | 'TemporaryFailure' | 'PermanentFailure';
35
+ export type S3BatchResultResultCode = "Succeeded" | "TemporaryFailure" | "PermanentFailure";
36
36
 
37
37
  export interface S3BatchResultResult {
38
38
  taskId: string;
@@ -1,8 +1,8 @@
1
- import { EventBridgeEvent } from './eventbridge';
2
- import { Handler } from '../handler';
1
+ import { Handler } from "../handler";
2
+ import { EventBridgeEvent } from "./eventbridge";
3
3
 
4
4
  export interface S3ObjectAccessTierChangedNotificationEventDetail {
5
- version: '0';
5
+ version: "0";
6
6
  bucket: {
7
7
  name: string;
8
8
  };
@@ -10,30 +10,30 @@ export interface S3ObjectAccessTierChangedNotificationEventDetail {
10
10
  key: string;
11
11
  size: number;
12
12
  etag: string;
13
- 'version-id': string;
13
+ "version-id": string;
14
14
  };
15
- 'request-id': string;
15
+ "request-id": string;
16
16
  requester: string;
17
- 'destination-access-tier': 'ARCHIVE_ACCESS' | 'DEEP_ARCHIVE_ACCESS'; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_Tiering.html
17
+ "destination-access-tier": "ARCHIVE_ACCESS" | "DEEP_ARCHIVE_ACCESS"; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_Tiering.html
18
18
  }
19
19
 
20
20
  export interface S3ObjectACLUpdatedNotificationEventDetail {
21
- version: '0';
21
+ version: "0";
22
22
  bucket: {
23
23
  name: string;
24
24
  };
25
25
  object: {
26
26
  key: string;
27
27
  etag: string;
28
- 'version-id': string;
28
+ "version-id": string;
29
29
  };
30
- 'request-id': string;
30
+ "request-id": string;
31
31
  requester: string;
32
- 'source-ip-address': string;
32
+ "source-ip-address": string;
33
33
  }
34
34
 
35
35
  export interface S3ObjectCreatedNotificationEventDetail {
36
- version: '0';
36
+ version: "0";
37
37
  bucket: {
38
38
  name: string;
39
39
  };
@@ -41,48 +41,48 @@ export interface S3ObjectCreatedNotificationEventDetail {
41
41
  key: string;
42
42
  size: number;
43
43
  etag: string;
44
- 'version-id': string;
44
+ "version-id": string;
45
45
  sequencer: string;
46
46
  };
47
- 'request-id': string;
47
+ "request-id": string;
48
48
  requester: string;
49
- 'source-ip-address': string;
50
- reason: 'PutObject' | 'POST Object' | 'CopyObject' | 'CompleteMultipartUpload';
49
+ "source-ip-address": string;
50
+ reason: "PutObject" | "POST Object" | "CopyObject" | "CompleteMultipartUpload";
51
51
  }
52
52
 
53
53
  export interface S3ObjectDeletedNotificationEventLifecycleExpirationDetail {
54
- version: '0';
54
+ version: "0";
55
55
  bucket: {
56
56
  name: string;
57
57
  };
58
58
  object: {
59
59
  key: string;
60
60
  etag: string;
61
- 'version-id': string;
61
+ "version-id": string;
62
62
  sequencer: string;
63
63
  };
64
- 'request-id': string;
64
+ "request-id": string;
65
65
  requester: string;
66
- reason: 'Lifecycle Expiration';
67
- 'deletion-type': 'Permanently Deleted' | 'Delete Marker Created';
66
+ reason: "Lifecycle Expiration";
67
+ "deletion-type": "Permanently Deleted" | "Delete Marker Created";
68
68
  }
69
69
 
70
70
  export interface S3ObjectDeletedNotificationEventDeleteObjectDetail {
71
- version: '0';
71
+ version: "0";
72
72
  bucket: {
73
73
  name: string;
74
74
  };
75
75
  object: {
76
76
  key: string;
77
77
  etag: string;
78
- 'version-id': string;
78
+ "version-id": string;
79
79
  sequencer: string;
80
80
  };
81
- 'request-id': string;
81
+ "request-id": string;
82
82
  requester: string;
83
- 'source-ip-address': string;
84
- reason: 'DeleteObject';
85
- 'deletion-type': 'Permanently Deleted' | 'Delete Marker Created';
83
+ "source-ip-address": string;
84
+ reason: "DeleteObject";
85
+ "deletion-type": "Permanently Deleted" | "Delete Marker Created";
86
86
  }
87
87
 
88
88
  export type S3ObjectDeletedNotificationEventDetail =
@@ -90,174 +90,184 @@ export type S3ObjectDeletedNotificationEventDetail =
90
90
  | S3ObjectDeletedNotificationEventDeleteObjectDetail;
91
91
 
92
92
  export interface S3ObjectRestoreCompletedNotificationEventDetail {
93
- version: '0';
93
+ version: "0";
94
94
  bucket: {
95
95
  name: string;
96
96
  };
97
97
  object: {
98
98
  key: string;
99
99
  size: number;
100
- 'version-id': string;
100
+ "version-id": string;
101
101
  etag: string;
102
102
  };
103
- 'request-id': string;
104
- requester: 's3.amazonaws.com';
105
- 'restore-expiry-time': string;
106
- 'source-storage-class':
107
- | 'STANDARD'
108
- | 'REDUCED_REDUNDANCY'
109
- | 'STANDARD_IA'
110
- | 'ONEZONE_IA'
111
- | 'INTELLIGENT_TIERING'
112
- | 'GLACIER'
113
- | 'DEEP_ARCHIVE'
114
- | 'OUTPOSTS'
115
- | 'GLACIER_IR'; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
103
+ "request-id": string;
104
+ requester: "s3.amazonaws.com";
105
+ "restore-expiry-time": string;
106
+ "source-storage-class":
107
+ | "STANDARD"
108
+ | "REDUCED_REDUNDANCY"
109
+ | "STANDARD_IA"
110
+ | "ONEZONE_IA"
111
+ | "INTELLIGENT_TIERING"
112
+ | "GLACIER"
113
+ | "DEEP_ARCHIVE"
114
+ | "OUTPOSTS"
115
+ | "GLACIER_IR"; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
116
116
  }
117
117
 
118
118
  export interface S3ObjectRestoreExpiredNotificationEventDetail {
119
- version: '0';
119
+ version: "0";
120
120
  bucket: {
121
121
  name: string;
122
122
  };
123
123
  object: {
124
124
  key: string;
125
- 'version-id': string;
125
+ "version-id": string;
126
126
  etag: string;
127
127
  };
128
- 'request-id': string;
129
- requester: 's3.amazonaws.com';
128
+ "request-id": string;
129
+ requester: "s3.amazonaws.com";
130
130
  }
131
131
 
132
132
  export interface S3ObjectRestoreInitiatedNotificationEventDetail {
133
- version: '0';
133
+ version: "0";
134
134
  bucket: {
135
135
  name: string;
136
136
  };
137
137
  object: {
138
138
  key: string;
139
139
  size: number;
140
- 'version-id': string;
140
+ "version-id": string;
141
141
  etag: string;
142
142
  };
143
- 'request-id': string;
143
+ "request-id": string;
144
144
  requester: string;
145
- 'source-ip-address': string;
146
- 'source-storage-class':
147
- | 'STANDARD'
148
- | 'REDUCED_REDUNDANCY'
149
- | 'STANDARD_IA'
150
- | 'ONEZONE_IA'
151
- | 'INTELLIGENT_TIERING'
152
- | 'GLACIER'
153
- | 'DEEP_ARCHIVE'
154
- | 'OUTPOSTS'
155
- | 'GLACIER_IR'; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
145
+ "source-ip-address": string;
146
+ "source-storage-class":
147
+ | "STANDARD"
148
+ | "REDUCED_REDUNDANCY"
149
+ | "STANDARD_IA"
150
+ | "ONEZONE_IA"
151
+ | "INTELLIGENT_TIERING"
152
+ | "GLACIER"
153
+ | "DEEP_ARCHIVE"
154
+ | "OUTPOSTS"
155
+ | "GLACIER_IR"; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
156
156
  }
157
157
 
158
158
  export interface S3ObjectStorageClassChangedNotificationEventDetail {
159
- version: '0';
159
+ version: "0";
160
160
  bucket: {
161
161
  name: string;
162
162
  };
163
163
  object: {
164
164
  key: string;
165
165
  size: number;
166
- 'version-id': string;
166
+ "version-id": string;
167
167
  etag: string;
168
168
  };
169
- 'request-id': string;
169
+ "request-id": string;
170
170
  requester: string;
171
- 'destination-storage-class':
172
- | 'STANDARD'
173
- | 'REDUCED_REDUNDANCY'
174
- | 'STANDARD_IA'
175
- | 'ONEZONE_IA'
176
- | 'INTELLIGENT_TIERING'
177
- | 'GLACIER'
178
- | 'DEEP_ARCHIVE'
179
- | 'OUTPOSTS'
180
- | 'GLACIER_IR'; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
171
+ "destination-storage-class":
172
+ | "STANDARD"
173
+ | "REDUCED_REDUNDANCY"
174
+ | "STANDARD_IA"
175
+ | "ONEZONE_IA"
176
+ | "INTELLIGENT_TIERING"
177
+ | "GLACIER"
178
+ | "DEEP_ARCHIVE"
179
+ | "OUTPOSTS"
180
+ | "GLACIER_IR"; // https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
181
181
  }
182
182
 
183
183
  export interface S3ObjectTagsAddedNotificationEventDetail {
184
- version: '0';
184
+ version: "0";
185
185
  bucket: {
186
186
  name: string;
187
187
  };
188
188
  object: {
189
189
  key: string;
190
- 'version-id': string;
190
+ "version-id": string;
191
191
  etag: string;
192
192
  };
193
- 'request-id': string;
193
+ "request-id": string;
194
194
  requester: string;
195
- 'source-ip-address': string;
195
+ "source-ip-address": string;
196
196
  }
197
197
 
198
198
  export interface S3ObjectTagsDeletedNotificationEventDetail {
199
- version: '0';
199
+ version: "0";
200
200
  bucket: {
201
201
  name: string;
202
202
  };
203
203
  object: {
204
204
  key: string;
205
- 'version-id': string;
205
+ "version-id": string;
206
206
  etag: string;
207
207
  };
208
- 'request-id': string;
208
+ "request-id": string;
209
209
  requester: string;
210
- 'source-ip-address': string;
210
+ "source-ip-address": string;
211
211
  }
212
212
 
213
213
  export interface S3ObjectAccessTierChangedNotificationEvent
214
- extends EventBridgeEvent<'Object Access Tier Changed', S3ObjectAccessTierChangedNotificationEventDetail> {
215
- source: 'aws.s3';
214
+ extends EventBridgeEvent<"Object Access Tier Changed", S3ObjectAccessTierChangedNotificationEventDetail>
215
+ {
216
+ source: "aws.s3";
216
217
  }
217
218
 
218
219
  export interface S3ObjectACLUpdatedNotificationEvent
219
- extends EventBridgeEvent<'Object ACL Updated', S3ObjectACLUpdatedNotificationEventDetail> {
220
- source: 'aws.s3';
220
+ extends EventBridgeEvent<"Object ACL Updated", S3ObjectACLUpdatedNotificationEventDetail>
221
+ {
222
+ source: "aws.s3";
221
223
  }
222
224
 
223
225
  export interface S3ObjectCreatedNotificationEvent
224
- extends EventBridgeEvent<'Object Created', S3ObjectCreatedNotificationEventDetail> {
225
- source: 'aws.s3';
226
+ extends EventBridgeEvent<"Object Created", S3ObjectCreatedNotificationEventDetail>
227
+ {
228
+ source: "aws.s3";
226
229
  }
227
230
 
228
231
  export interface S3ObjectDeletedNotificationEvent
229
- extends EventBridgeEvent<'Object Deleted', S3ObjectDeletedNotificationEventDetail> {
230
- source: 'aws.s3';
232
+ extends EventBridgeEvent<"Object Deleted", S3ObjectDeletedNotificationEventDetail>
233
+ {
234
+ source: "aws.s3";
231
235
  }
232
236
 
233
237
  export interface S3ObjectRestoreCompletedNotificationEvent
234
- extends EventBridgeEvent<'Object Restore Completed', S3ObjectRestoreCompletedNotificationEventDetail> {
235
- source: 'aws.s3';
238
+ extends EventBridgeEvent<"Object Restore Completed", S3ObjectRestoreCompletedNotificationEventDetail>
239
+ {
240
+ source: "aws.s3";
236
241
  }
237
242
 
238
243
  export interface S3ObjectRestoreExpiredNotificationEvent
239
- extends EventBridgeEvent<'Object Restore Expired', S3ObjectRestoreExpiredNotificationEventDetail> {
240
- source: 'aws.s3';
244
+ extends EventBridgeEvent<"Object Restore Expired", S3ObjectRestoreExpiredNotificationEventDetail>
245
+ {
246
+ source: "aws.s3";
241
247
  }
242
248
 
243
249
  export interface S3ObjectRestoreInitiatedNotificationEvent
244
- extends EventBridgeEvent<'Object Restore Initiated', S3ObjectRestoreInitiatedNotificationEventDetail> {
245
- source: 'aws.s3';
250
+ extends EventBridgeEvent<"Object Restore Initiated", S3ObjectRestoreInitiatedNotificationEventDetail>
251
+ {
252
+ source: "aws.s3";
246
253
  }
247
254
 
248
255
  export interface S3ObjectStorageClassChangedNotificationEvent
249
- extends EventBridgeEvent<'Object Storage Class Changed', S3ObjectStorageClassChangedNotificationEventDetail> {
250
- source: 'aws.s3';
256
+ extends EventBridgeEvent<"Object Storage Class Changed", S3ObjectStorageClassChangedNotificationEventDetail>
257
+ {
258
+ source: "aws.s3";
251
259
  }
252
260
 
253
261
  export interface S3ObjectTagsAddedNotificationEvent
254
- extends EventBridgeEvent<'Object Tags Added', S3ObjectTagsAddedNotificationEventDetail> {
255
- source: 'aws.s3';
262
+ extends EventBridgeEvent<"Object Tags Added", S3ObjectTagsAddedNotificationEventDetail>
263
+ {
264
+ source: "aws.s3";
256
265
  }
257
266
 
258
267
  export interface S3ObjectTagsDeletedNotificationEvent
259
- extends EventBridgeEvent<'Object Tags Deleted', S3ObjectTagsDeletedNotificationEventDetail> {
260
- source: 'aws.s3';
268
+ extends EventBridgeEvent<"Object Tags Deleted", S3ObjectTagsDeletedNotificationEventDetail>
269
+ {
270
+ source: "aws.s3";
261
271
  }
262
272
 
263
273
  export type S3NotificationEvent =
@@ -273,8 +283,8 @@ export type S3NotificationEvent =
273
283
  | S3ObjectTagsDeletedNotificationEvent;
274
284
 
275
285
  export type S3NotificationEventBridgeHandler<EventType extends S3NotificationEvent = S3NotificationEvent> = Handler<
276
- EventBridgeEvent<EventType['detail-type'], EventType['detail']> & {
277
- source: 'aws.s3';
286
+ EventBridgeEvent<EventType["detail-type"], EventType["detail"]> & {
287
+ source: "aws.s3";
278
288
  },
279
289
  void
280
290
  >;
@@ -1,4 +1,4 @@
1
- import { Handler } from '../handler';
1
+ import { Handler } from "../handler";
2
2
 
3
3
  export type S3Handler = Handler<S3Event, void>;
4
4
 
@@ -29,8 +29,8 @@ export interface S3EventRecord {
29
29
  sourceIPAddress: string;
30
30
  };
31
31
  responseElements: {
32
- 'x-amz-request-id': string;
33
- 'x-amz-id-2': string;
32
+ "x-amz-request-id": string;
33
+ "x-amz-id-2": string;
34
34
  };
35
35
  s3: {
36
36
  s3SchemaVersion: string;
@@ -1,8 +1,8 @@
1
- import { Handler } from '../handler';
1
+ import { Handler } from "../handler";
2
2
 
3
3
  export type SecretsManagerRotationHandler = Handler<SecretsManagerRotationEvent, void>;
4
4
 
5
- export type SecretsManagerRotationEventStep = 'createSecret' | 'setSecret' | 'testSecret' | 'finishSecret';
5
+ export type SecretsManagerRotationEventStep = "createSecret" | "setSecret" | "testSecret" | "finishSecret";
6
6
 
7
7
  /**
8
8
  * Secrets Manager Rotation event
@@ -1,4 +1,4 @@
1
- import { Handler } from '../handler';
1
+ import { Handler } from "../handler";
2
2
 
3
3
  export type SelfManagedKafkaHandler = Handler<SelfManagedKafkaEvent, void>;
4
4
 
@@ -11,7 +11,7 @@ export interface SelfManagedKafkaRecord {
11
11
  partition: number;
12
12
  offset: number;
13
13
  timestamp: number;
14
- timestampType: 'CREATE_TIME' | 'LOG_APPEND_TIME';
14
+ timestampType: "CREATE_TIME" | "LOG_APPEND_TIME";
15
15
  key: string;
16
16
  value: string;
17
17
  headers: SelfManagedKafkaRecordHeader[];
@@ -19,7 +19,7 @@ export interface SelfManagedKafkaRecord {
19
19
 
20
20
  // https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html
21
21
  export interface SelfManagedKafkaEvent {
22
- eventSource: 'SelfManagedKafka';
22
+ eventSource: "SelfManagedKafka";
23
23
  bootstrapServers: string;
24
24
  records: {
25
25
  [topic: string]: SelfManagedKafkaRecord[];
@@ -1,4 +1,4 @@
1
- import { Handler } from '../handler';
1
+ import { Handler } from "../handler";
2
2
 
3
3
  export type SESHandler = Handler<SESEvent, void>;
4
4
 
@@ -32,23 +32,23 @@ export interface SESMail {
32
32
  }
33
33
 
34
34
  export interface SESReceiptStatus {
35
- status: 'PASS' | 'FAIL' | 'GRAY' | 'PROCESSING_FAILED' | 'DISABLED';
35
+ status: "PASS" | "FAIL" | "GRAY" | "PROCESSING_FAILED" | "DISABLED";
36
36
  }
37
37
 
38
38
  export interface SESReceiptS3Action {
39
- type: 'S3';
39
+ type: "S3";
40
40
  topicArn?: string | undefined;
41
41
  bucketName: string;
42
42
  objectKey: string;
43
43
  }
44
44
 
45
45
  export interface SESReceiptSnsAction {
46
- type: 'SNS';
46
+ type: "SNS";
47
47
  topicArn: string;
48
48
  }
49
49
 
50
50
  export interface SESReceiptBounceAction {
51
- type: 'Bounce';
51
+ type: "Bounce";
52
52
  topicArn?: string | undefined;
53
53
  smtpReplyCode: string;
54
54
  statusCode: string;
@@ -57,19 +57,19 @@ export interface SESReceiptBounceAction {
57
57
  }
58
58
 
59
59
  export interface SESReceiptLambdaAction {
60
- type: 'Lambda';
60
+ type: "Lambda";
61
61
  topicArn?: string | undefined;
62
62
  functionArn: string;
63
63
  invocationType: string;
64
64
  }
65
65
 
66
66
  export interface SESReceiptStopAction {
67
- type: 'Stop';
67
+ type: "Stop";
68
68
  topicArn?: string | undefined;
69
69
  }
70
70
 
71
71
  export interface SESReceiptWorkMailAction {
72
- type: 'WorkMail';
72
+ type: "WorkMail";
73
73
  topicArn?: string | undefined;
74
74
  organizationArn: string;
75
75
  }
@@ -83,7 +83,7 @@ export interface SESReceipt {
83
83
  spfVerdict: SESReceiptStatus;
84
84
  dkimVerdict: SESReceiptStatus;
85
85
  dmarcVerdict: SESReceiptStatus;
86
- dmarcPolicy?: 'none' | 'quarantine' | 'reject' | undefined;
86
+ dmarcPolicy?: "none" | "quarantine" | "reject" | undefined;
87
87
  action:
88
88
  | SESReceiptS3Action
89
89
  | SESReceiptSnsAction
@@ -1,4 +1,4 @@
1
- import { Handler } from '../handler';
1
+ import { Handler } from "../handler";
2
2
 
3
3
  export type SNSHandler = Handler<SNSEvent, void>;
4
4
 
@@ -1,4 +1,4 @@
1
- import { Handler } from '../handler';
1
+ import { Handler } from "../handler";
2
2
 
3
3
  // tslint:disable-next-line:void-return
4
4
  export type SQSHandler = Handler<SQSEvent, SQSBatchResponse | void>;
@@ -33,7 +33,7 @@ export interface SQSRecordAttributes {
33
33
  DeadLetterQueueSourceArn?: string | undefined; // Undocumented, but used by AWS to support their re-drive functionality in the console
34
34
  }
35
35
 
36
- export type SQSMessageAttributeDataType = 'String' | 'Number' | 'Binary' | string;
36
+ export type SQSMessageAttributeDataType = "String" | "Number" | "Binary" | string;
37
37
 
38
38
  export interface SQSMessageAttribute {
39
39
  stringValue?: string | undefined;