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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠