Amazon Rekognition: When I create a new Stream Processor with S3Destination definition, this field is ignored

0

I followed the documentation https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateStreamProcessor.html

Then I created a new Stream Processor from this JSON:

{
      Name: myStreamProcessor,
      Input: {
        KinesisVideoStream: {
          Arn: 'arn:aws:kinesisvideo:eu-west-1:xxxxxxxxxxxx:stream/test-video-stream/xxxxxxxxxxxx'
        }
      },
      Output: {
        KinesisDataStream: {
          Arn: 'arn:aws:kinesis:eu-west-1:xxxxxxxxxxxx:stream/ds-video-rekognition-test'
        },
        S3Destination: {
          Bucket: 'matched-faces-test-bucket'
        }
      },
      RoleArn: 'arn:aws:iam::xxxxxxxxxxxx:role/recognition-stream-processor-test',
      Settings: {
        FaceSearch: {
          CollectionId: 'test-faces-test',
          FaceMatchThreshold: 85.5
        }
      }
    };

But when I describe the Stream Processor:

....
  Output: {
    KinesisDataStream: {
      Arn: 'arn:aws:kinesis:eu-west-1:570379525661:stream/ds-video-rekognition-unai'
    },
    S3Destination: undefined
  },
....

S3Destination is undefined!🤷🤷🤷

I tried with aws-cli and with aws-skd for JavaScript with the same result.

Thanks,

已提問 2 年前檢視次數 276 次
1 個回答
0

Hello,

Thanks for reaching out to us. The create-stream-processor request should either contain Kinesis data stream or Amazon S3 bucket location under the request parameter Output but not both. If the stream processor is being created for label detection, S3Destination should be used for Output. If the stream processor is being created for face search, KinesisDataStream should be used instead. Since your request is for face search, only KinesisDataStream should be provided in the request. Please check the doc https://docs.aws.amazon.com/rekognition/latest/APIReference/API_CreateStreamProcessor.html#rekognition-CreateStreamProcessor-request-Output for more details.

AWS
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南