patch https://api.superwise.ai/v1/sources/
Update an existing source.
The SourceUpdate Model is defined by the SourceUpdateGCS or SourceUpdateS3 class, based on the source type.
Parameters:
-
source_id: UUID of the source to update.
-
payload: Instance of SourceUpdate model which can be any one of the following based on source type:
- SourceUpdateGCS
- type: Literal, Source Type GCS.
- params: SourceGCSParams object or None. Parameters for GCS source.
- credentials: GCPCredentials object or None. Credentials for GCS source.
- SourceUpdateS3
- type: Literal, Source type S3.
- params: SourceS3Params object or None. Parameters for S3 source.
- credentials: AWSCredentials object or None. Credentials for AWS source.
- SourceUpdateGCS