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,

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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ