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 Risposta
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
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande