# Upsert AWS S3 Data Source Upsert AWS S3 Data Source Endpoint: PATCH /rest/2.0/DATA_SOURCE Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.Id` (string, required) Data Source Id: DataSourceId - `brmObjects.DataSourceName` (string, required) Data Source Name: Enter a unique name for this data source. It will help identify and manage your connections. - `brmObjects.Type` (string, required) Type: Select the type of data source (e.g. Amazon S3, FTP, etc.). - `brmObjects.CreatedUserId` (string) System controlled field: Id of the user that created the record - `brmObjects.BucketName` (string) Bucket Name: Specify the name of the S3 bucket you want to connect to. - `brmObjects.Region` (string) AWS Region: Enter the AWS region where your S3 bucket is located (e.g. us-east-1, eu-west-1). - `brmObjects.UpdatedUserId` (string) System controlled field: Id of the last user that updated the record - `brmObjects.Status` (string, required) Status - `brmObjects.AccessKey` (string) Access Key: Provide the AWS Access Key for your S3 bucket. Ensure it has sufficient permissions. - `brmObjects.SecretKey` (string) Secret Key: Enter the AWS Secret Key associated with the Access Key for authentication. - `brmObjects.Updated` (string) System controlled field: Date and time the record was last updated - `brmObjects.Created` (string) System controlled field: Date and time the record was created - `externalIDFieldName` (string) Enum: "DataSourceName" ## Response 200 fields (application/json): - `upsertResponse` (array) - `upsertResponse.Id` (integer) - `upsertResponse.success` (boolean) - `upsertResponse.ErrorText` (string) - `upsertResponse.ErrorElementField` (string) - `upsertResponse.created` (boolean)