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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则