Skip to content

Commit 370d81c

Browse files
authored
fix(serverless): make some fields optional to create/update triggers (#579)
1 parent 448700d commit 370d81c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/clients/src/api/function/v1beta1/types.gen.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,8 @@ export interface TriggerSqsClientConfig {
369369
}
370370

371371
export interface UpdateTriggerRequestSqsClientConfig {
372-
accessKey: string
373-
secretKey: string
372+
accessKey?: string
373+
secretKey?: string
374374
}
375375

376376
/** Upload url. */
@@ -733,7 +733,7 @@ export type CreateTriggerRequest = {
733733
*/
734734
region?: Region
735735
name: string
736-
description: string
736+
description?: string
737737
functionId: string
738738
/**
739739
* One-of ('config'): at most one of 'scwSqsConfig', 'sqsConfig',

0 commit comments

Comments
 (0)