Skip to content

Commit

Permalink
fix: deprecate job_arn request parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
RanbirAulakh committed Aug 11, 2024
1 parent 9a3aac2 commit 287c6b6
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/util/mrHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {
export interface ImageRequest {
jobId: string;
jobName: string;
jobArn: string;
imageUrls: string[];
outputs: any[];
imageProcessor: any;
Expand Down Expand Up @@ -272,7 +271,6 @@ function buildImageProcessingRequest(
featureProperties: string
): ImageRequest {
const jobName: string = `test_${jobId}`;
const jobArn: string = `arn:aws:oversightml:${REGION}:${ACCOUNT}:ipj/${jobName}`;
const resultStream = `${KINESIS_RESULTS_STREAM_PREFIX}-${ACCOUNT}`;
const resultBucket = `${S3_RESULTS_BUCKET_PREFIX}-${ACCOUNT}`;
const processor = {
Expand Down Expand Up @@ -303,7 +301,6 @@ function buildImageProcessingRequest(
const imageRequest: ImageRequest = {
jobId: jobId,
jobName: jobName,
jobArn: jobArn,
imageUrls: [s3Uri],
imageReadRole: imageReadRole,
imageProcessor: processor,
Expand Down

0 comments on commit 287c6b6

Please sign in to comment.