2037 lines
54 KiB
JSON
2037 lines
54 KiB
JSON
{
|
|
"version":"2.0",
|
|
"metadata":{
|
|
"apiVersion":"2016-06-27",
|
|
"endpointPrefix":"rekognition",
|
|
"jsonVersion":"1.1",
|
|
"protocol":"json",
|
|
"serviceFullName":"Amazon Rekognition",
|
|
"serviceId":"Rekognition",
|
|
"signatureVersion":"v4",
|
|
"targetPrefix":"RekognitionService",
|
|
"uid":"rekognition-2016-06-27"
|
|
},
|
|
"operations":{
|
|
"CompareFaces":{
|
|
"name":"CompareFaces",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"CompareFacesRequest"},
|
|
"output":{"shape":"CompareFacesResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"ImageTooLargeException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"InvalidImageFormatException"}
|
|
]
|
|
},
|
|
"CreateCollection":{
|
|
"name":"CreateCollection",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"CreateCollectionRequest"},
|
|
"output":{"shape":"CreateCollectionResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceAlreadyExistsException"}
|
|
]
|
|
},
|
|
"CreateStreamProcessor":{
|
|
"name":"CreateStreamProcessor",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"CreateStreamProcessorRequest"},
|
|
"output":{"shape":"CreateStreamProcessorResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"ResourceInUseException"},
|
|
{"shape":"ProvisionedThroughputExceededException"}
|
|
]
|
|
},
|
|
"DeleteCollection":{
|
|
"name":"DeleteCollection",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"DeleteCollectionRequest"},
|
|
"output":{"shape":"DeleteCollectionResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceNotFoundException"}
|
|
]
|
|
},
|
|
"DeleteFaces":{
|
|
"name":"DeleteFaces",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"DeleteFacesRequest"},
|
|
"output":{"shape":"DeleteFacesResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceNotFoundException"}
|
|
]
|
|
},
|
|
"DeleteStreamProcessor":{
|
|
"name":"DeleteStreamProcessor",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"DeleteStreamProcessorRequest"},
|
|
"output":{"shape":"DeleteStreamProcessorResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"ResourceInUseException"},
|
|
{"shape":"ProvisionedThroughputExceededException"}
|
|
]
|
|
},
|
|
"DescribeStreamProcessor":{
|
|
"name":"DescribeStreamProcessor",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"DescribeStreamProcessorRequest"},
|
|
"output":{"shape":"DescribeStreamProcessorResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"ProvisionedThroughputExceededException"}
|
|
]
|
|
},
|
|
"DetectFaces":{
|
|
"name":"DetectFaces",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"DetectFacesRequest"},
|
|
"output":{"shape":"DetectFacesResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"ImageTooLargeException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"InvalidImageFormatException"}
|
|
]
|
|
},
|
|
"DetectLabels":{
|
|
"name":"DetectLabels",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"DetectLabelsRequest"},
|
|
"output":{"shape":"DetectLabelsResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"ImageTooLargeException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"InvalidImageFormatException"}
|
|
]
|
|
},
|
|
"DetectModerationLabels":{
|
|
"name":"DetectModerationLabels",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"DetectModerationLabelsRequest"},
|
|
"output":{"shape":"DetectModerationLabelsResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"ImageTooLargeException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"InvalidImageFormatException"}
|
|
]
|
|
},
|
|
"DetectText":{
|
|
"name":"DetectText",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"DetectTextRequest"},
|
|
"output":{"shape":"DetectTextResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"ImageTooLargeException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"InvalidImageFormatException"}
|
|
]
|
|
},
|
|
"GetCelebrityInfo":{
|
|
"name":"GetCelebrityInfo",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"GetCelebrityInfoRequest"},
|
|
"output":{"shape":"GetCelebrityInfoResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceNotFoundException"}
|
|
]
|
|
},
|
|
"GetCelebrityRecognition":{
|
|
"name":"GetCelebrityRecognition",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"GetCelebrityRecognitionRequest"},
|
|
"output":{"shape":"GetCelebrityRecognitionResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidPaginationTokenException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"ThrottlingException"}
|
|
]
|
|
},
|
|
"GetContentModeration":{
|
|
"name":"GetContentModeration",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"GetContentModerationRequest"},
|
|
"output":{"shape":"GetContentModerationResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidPaginationTokenException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"ThrottlingException"}
|
|
]
|
|
},
|
|
"GetFaceDetection":{
|
|
"name":"GetFaceDetection",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"GetFaceDetectionRequest"},
|
|
"output":{"shape":"GetFaceDetectionResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidPaginationTokenException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"ThrottlingException"}
|
|
]
|
|
},
|
|
"GetFaceSearch":{
|
|
"name":"GetFaceSearch",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"GetFaceSearchRequest"},
|
|
"output":{"shape":"GetFaceSearchResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidPaginationTokenException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"ThrottlingException"}
|
|
]
|
|
},
|
|
"GetLabelDetection":{
|
|
"name":"GetLabelDetection",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"GetLabelDetectionRequest"},
|
|
"output":{"shape":"GetLabelDetectionResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidPaginationTokenException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"ThrottlingException"}
|
|
]
|
|
},
|
|
"GetPersonTracking":{
|
|
"name":"GetPersonTracking",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"GetPersonTrackingRequest"},
|
|
"output":{"shape":"GetPersonTrackingResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidPaginationTokenException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"ThrottlingException"}
|
|
]
|
|
},
|
|
"IndexFaces":{
|
|
"name":"IndexFaces",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"IndexFacesRequest"},
|
|
"output":{"shape":"IndexFacesResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"ImageTooLargeException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"InvalidImageFormatException"}
|
|
]
|
|
},
|
|
"ListCollections":{
|
|
"name":"ListCollections",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"ListCollectionsRequest"},
|
|
"output":{"shape":"ListCollectionsResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"InvalidPaginationTokenException"},
|
|
{"shape":"ResourceNotFoundException"}
|
|
]
|
|
},
|
|
"ListFaces":{
|
|
"name":"ListFaces",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"ListFacesRequest"},
|
|
"output":{"shape":"ListFacesResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"InvalidPaginationTokenException"},
|
|
{"shape":"ResourceNotFoundException"}
|
|
]
|
|
},
|
|
"ListStreamProcessors":{
|
|
"name":"ListStreamProcessors",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"ListStreamProcessorsRequest"},
|
|
"output":{"shape":"ListStreamProcessorsResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidPaginationTokenException"},
|
|
{"shape":"ProvisionedThroughputExceededException"}
|
|
]
|
|
},
|
|
"RecognizeCelebrities":{
|
|
"name":"RecognizeCelebrities",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"RecognizeCelebritiesRequest"},
|
|
"output":{"shape":"RecognizeCelebritiesResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidImageFormatException"},
|
|
{"shape":"ImageTooLargeException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"InvalidImageFormatException"}
|
|
]
|
|
},
|
|
"SearchFaces":{
|
|
"name":"SearchFaces",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"SearchFacesRequest"},
|
|
"output":{"shape":"SearchFacesResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceNotFoundException"}
|
|
]
|
|
},
|
|
"SearchFacesByImage":{
|
|
"name":"SearchFacesByImage",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"SearchFacesByImageRequest"},
|
|
"output":{"shape":"SearchFacesByImageResponse"},
|
|
"errors":[
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"ImageTooLargeException"},
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"InvalidImageFormatException"}
|
|
]
|
|
},
|
|
"StartCelebrityRecognition":{
|
|
"name":"StartCelebrityRecognition",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"StartCelebrityRecognitionRequest"},
|
|
"output":{"shape":"StartCelebrityRecognitionResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"IdempotentParameterMismatchException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"VideoTooLargeException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"ThrottlingException"}
|
|
],
|
|
"idempotent":true
|
|
},
|
|
"StartContentModeration":{
|
|
"name":"StartContentModeration",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"StartContentModerationRequest"},
|
|
"output":{"shape":"StartContentModerationResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"IdempotentParameterMismatchException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"VideoTooLargeException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"ThrottlingException"}
|
|
],
|
|
"idempotent":true
|
|
},
|
|
"StartFaceDetection":{
|
|
"name":"StartFaceDetection",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"StartFaceDetectionRequest"},
|
|
"output":{"shape":"StartFaceDetectionResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"IdempotentParameterMismatchException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"VideoTooLargeException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"ThrottlingException"}
|
|
],
|
|
"idempotent":true
|
|
},
|
|
"StartFaceSearch":{
|
|
"name":"StartFaceSearch",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"StartFaceSearchRequest"},
|
|
"output":{"shape":"StartFaceSearchResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"IdempotentParameterMismatchException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"VideoTooLargeException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"ThrottlingException"}
|
|
],
|
|
"idempotent":true
|
|
},
|
|
"StartLabelDetection":{
|
|
"name":"StartLabelDetection",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"StartLabelDetectionRequest"},
|
|
"output":{"shape":"StartLabelDetectionResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"IdempotentParameterMismatchException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"VideoTooLargeException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"ThrottlingException"}
|
|
],
|
|
"idempotent":true
|
|
},
|
|
"StartPersonTracking":{
|
|
"name":"StartPersonTracking",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"StartPersonTrackingRequest"},
|
|
"output":{"shape":"StartPersonTrackingResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"IdempotentParameterMismatchException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"InvalidS3ObjectException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"VideoTooLargeException"},
|
|
{"shape":"ProvisionedThroughputExceededException"},
|
|
{"shape":"LimitExceededException"},
|
|
{"shape":"ThrottlingException"}
|
|
],
|
|
"idempotent":true
|
|
},
|
|
"StartStreamProcessor":{
|
|
"name":"StartStreamProcessor",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"StartStreamProcessorRequest"},
|
|
"output":{"shape":"StartStreamProcessorResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"ResourceInUseException"},
|
|
{"shape":"ProvisionedThroughputExceededException"}
|
|
]
|
|
},
|
|
"StopStreamProcessor":{
|
|
"name":"StopStreamProcessor",
|
|
"http":{
|
|
"method":"POST",
|
|
"requestUri":"/"
|
|
},
|
|
"input":{"shape":"StopStreamProcessorRequest"},
|
|
"output":{"shape":"StopStreamProcessorResponse"},
|
|
"errors":[
|
|
{"shape":"AccessDeniedException"},
|
|
{"shape":"InternalServerError"},
|
|
{"shape":"ThrottlingException"},
|
|
{"shape":"InvalidParameterException"},
|
|
{"shape":"ResourceNotFoundException"},
|
|
{"shape":"ResourceInUseException"},
|
|
{"shape":"ProvisionedThroughputExceededException"}
|
|
]
|
|
}
|
|
},
|
|
"shapes":{
|
|
"AccessDeniedException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
},
|
|
"AgeRange":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Low":{"shape":"UInteger"},
|
|
"High":{"shape":"UInteger"}
|
|
}
|
|
},
|
|
"Attribute":{
|
|
"type":"string",
|
|
"enum":[
|
|
"DEFAULT",
|
|
"ALL"
|
|
]
|
|
},
|
|
"Attributes":{
|
|
"type":"list",
|
|
"member":{"shape":"Attribute"}
|
|
},
|
|
"Beard":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Value":{"shape":"Boolean"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"Boolean":{"type":"boolean"},
|
|
"BoundingBox":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Width":{"shape":"Float"},
|
|
"Height":{"shape":"Float"},
|
|
"Left":{"shape":"Float"},
|
|
"Top":{"shape":"Float"}
|
|
}
|
|
},
|
|
"Celebrity":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Urls":{"shape":"Urls"},
|
|
"Name":{"shape":"String"},
|
|
"Id":{"shape":"RekognitionUniqueId"},
|
|
"Face":{"shape":"ComparedFace"},
|
|
"MatchConfidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"CelebrityDetail":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Urls":{"shape":"Urls"},
|
|
"Name":{"shape":"String"},
|
|
"Id":{"shape":"RekognitionUniqueId"},
|
|
"Confidence":{"shape":"Percent"},
|
|
"BoundingBox":{"shape":"BoundingBox"},
|
|
"Face":{"shape":"FaceDetail"}
|
|
}
|
|
},
|
|
"CelebrityList":{
|
|
"type":"list",
|
|
"member":{"shape":"Celebrity"}
|
|
},
|
|
"CelebrityRecognition":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Timestamp":{"shape":"Timestamp"},
|
|
"Celebrity":{"shape":"CelebrityDetail"}
|
|
}
|
|
},
|
|
"CelebrityRecognitionSortBy":{
|
|
"type":"string",
|
|
"enum":[
|
|
"ID",
|
|
"TIMESTAMP"
|
|
]
|
|
},
|
|
"CelebrityRecognitions":{
|
|
"type":"list",
|
|
"member":{"shape":"CelebrityRecognition"}
|
|
},
|
|
"ClientRequestToken":{
|
|
"type":"string",
|
|
"max":64,
|
|
"min":1,
|
|
"pattern":"^[a-zA-Z0-9-_]+$"
|
|
},
|
|
"CollectionId":{
|
|
"type":"string",
|
|
"max":255,
|
|
"min":1,
|
|
"pattern":"[a-zA-Z0-9_.\\-]+"
|
|
},
|
|
"CollectionIdList":{
|
|
"type":"list",
|
|
"member":{"shape":"CollectionId"}
|
|
},
|
|
"CompareFacesMatch":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Similarity":{"shape":"Percent"},
|
|
"Face":{"shape":"ComparedFace"}
|
|
}
|
|
},
|
|
"CompareFacesMatchList":{
|
|
"type":"list",
|
|
"member":{"shape":"CompareFacesMatch"}
|
|
},
|
|
"CompareFacesRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"SourceImage",
|
|
"TargetImage"
|
|
],
|
|
"members":{
|
|
"SourceImage":{"shape":"Image"},
|
|
"TargetImage":{"shape":"Image"},
|
|
"SimilarityThreshold":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"CompareFacesResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"SourceImageFace":{"shape":"ComparedSourceImageFace"},
|
|
"FaceMatches":{"shape":"CompareFacesMatchList"},
|
|
"UnmatchedFaces":{"shape":"CompareFacesUnmatchList"},
|
|
"SourceImageOrientationCorrection":{"shape":"OrientationCorrection"},
|
|
"TargetImageOrientationCorrection":{"shape":"OrientationCorrection"}
|
|
}
|
|
},
|
|
"CompareFacesUnmatchList":{
|
|
"type":"list",
|
|
"member":{"shape":"ComparedFace"}
|
|
},
|
|
"ComparedFace":{
|
|
"type":"structure",
|
|
"members":{
|
|
"BoundingBox":{"shape":"BoundingBox"},
|
|
"Confidence":{"shape":"Percent"},
|
|
"Landmarks":{"shape":"Landmarks"},
|
|
"Pose":{"shape":"Pose"},
|
|
"Quality":{"shape":"ImageQuality"}
|
|
}
|
|
},
|
|
"ComparedFaceList":{
|
|
"type":"list",
|
|
"member":{"shape":"ComparedFace"}
|
|
},
|
|
"ComparedSourceImageFace":{
|
|
"type":"structure",
|
|
"members":{
|
|
"BoundingBox":{"shape":"BoundingBox"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"ContentModerationDetection":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Timestamp":{"shape":"Timestamp"},
|
|
"ModerationLabel":{"shape":"ModerationLabel"}
|
|
}
|
|
},
|
|
"ContentModerationDetections":{
|
|
"type":"list",
|
|
"member":{"shape":"ContentModerationDetection"}
|
|
},
|
|
"ContentModerationSortBy":{
|
|
"type":"string",
|
|
"enum":[
|
|
"NAME",
|
|
"TIMESTAMP"
|
|
]
|
|
},
|
|
"CreateCollectionRequest":{
|
|
"type":"structure",
|
|
"required":["CollectionId"],
|
|
"members":{
|
|
"CollectionId":{"shape":"CollectionId"}
|
|
}
|
|
},
|
|
"CreateCollectionResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"StatusCode":{"shape":"UInteger"},
|
|
"CollectionArn":{"shape":"String"},
|
|
"FaceModelVersion":{"shape":"String"}
|
|
}
|
|
},
|
|
"CreateStreamProcessorRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"Input",
|
|
"Output",
|
|
"Name",
|
|
"Settings",
|
|
"RoleArn"
|
|
],
|
|
"members":{
|
|
"Input":{"shape":"StreamProcessorInput"},
|
|
"Output":{"shape":"StreamProcessorOutput"},
|
|
"Name":{"shape":"StreamProcessorName"},
|
|
"Settings":{"shape":"StreamProcessorSettings"},
|
|
"RoleArn":{"shape":"RoleArn"}
|
|
}
|
|
},
|
|
"CreateStreamProcessorResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"StreamProcessorArn":{"shape":"StreamProcessorArn"}
|
|
}
|
|
},
|
|
"DateTime":{"type":"timestamp"},
|
|
"Degree":{
|
|
"type":"float",
|
|
"max":180,
|
|
"min":-180
|
|
},
|
|
"DeleteCollectionRequest":{
|
|
"type":"structure",
|
|
"required":["CollectionId"],
|
|
"members":{
|
|
"CollectionId":{"shape":"CollectionId"}
|
|
}
|
|
},
|
|
"DeleteCollectionResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"StatusCode":{"shape":"UInteger"}
|
|
}
|
|
},
|
|
"DeleteFacesRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"CollectionId",
|
|
"FaceIds"
|
|
],
|
|
"members":{
|
|
"CollectionId":{"shape":"CollectionId"},
|
|
"FaceIds":{"shape":"FaceIdList"}
|
|
}
|
|
},
|
|
"DeleteFacesResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"DeletedFaces":{"shape":"FaceIdList"}
|
|
}
|
|
},
|
|
"DeleteStreamProcessorRequest":{
|
|
"type":"structure",
|
|
"required":["Name"],
|
|
"members":{
|
|
"Name":{"shape":"StreamProcessorName"}
|
|
}
|
|
},
|
|
"DeleteStreamProcessorResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
}
|
|
},
|
|
"DescribeStreamProcessorRequest":{
|
|
"type":"structure",
|
|
"required":["Name"],
|
|
"members":{
|
|
"Name":{"shape":"StreamProcessorName"}
|
|
}
|
|
},
|
|
"DescribeStreamProcessorResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Name":{"shape":"StreamProcessorName"},
|
|
"StreamProcessorArn":{"shape":"StreamProcessorArn"},
|
|
"Status":{"shape":"StreamProcessorStatus"},
|
|
"StatusMessage":{"shape":"String"},
|
|
"CreationTimestamp":{"shape":"DateTime"},
|
|
"LastUpdateTimestamp":{"shape":"DateTime"},
|
|
"Input":{"shape":"StreamProcessorInput"},
|
|
"Output":{"shape":"StreamProcessorOutput"},
|
|
"RoleArn":{"shape":"RoleArn"},
|
|
"Settings":{"shape":"StreamProcessorSettings"}
|
|
}
|
|
},
|
|
"DetectFacesRequest":{
|
|
"type":"structure",
|
|
"required":["Image"],
|
|
"members":{
|
|
"Image":{"shape":"Image"},
|
|
"Attributes":{"shape":"Attributes"}
|
|
}
|
|
},
|
|
"DetectFacesResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"FaceDetails":{"shape":"FaceDetailList"},
|
|
"OrientationCorrection":{"shape":"OrientationCorrection"}
|
|
}
|
|
},
|
|
"DetectLabelsRequest":{
|
|
"type":"structure",
|
|
"required":["Image"],
|
|
"members":{
|
|
"Image":{"shape":"Image"},
|
|
"MaxLabels":{"shape":"UInteger"},
|
|
"MinConfidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"DetectLabelsResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Labels":{"shape":"Labels"},
|
|
"OrientationCorrection":{"shape":"OrientationCorrection"}
|
|
}
|
|
},
|
|
"DetectModerationLabelsRequest":{
|
|
"type":"structure",
|
|
"required":["Image"],
|
|
"members":{
|
|
"Image":{"shape":"Image"},
|
|
"MinConfidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"DetectModerationLabelsResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"ModerationLabels":{"shape":"ModerationLabels"}
|
|
}
|
|
},
|
|
"DetectTextRequest":{
|
|
"type":"structure",
|
|
"required":["Image"],
|
|
"members":{
|
|
"Image":{"shape":"Image"}
|
|
}
|
|
},
|
|
"DetectTextResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"TextDetections":{"shape":"TextDetectionList"}
|
|
}
|
|
},
|
|
"Emotion":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Type":{"shape":"EmotionName"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"EmotionName":{
|
|
"type":"string",
|
|
"enum":[
|
|
"HAPPY",
|
|
"SAD",
|
|
"ANGRY",
|
|
"CONFUSED",
|
|
"DISGUSTED",
|
|
"SURPRISED",
|
|
"CALM",
|
|
"UNKNOWN"
|
|
]
|
|
},
|
|
"Emotions":{
|
|
"type":"list",
|
|
"member":{"shape":"Emotion"}
|
|
},
|
|
"ExternalImageId":{
|
|
"type":"string",
|
|
"max":255,
|
|
"min":1,
|
|
"pattern":"[a-zA-Z0-9_.\\-:]+"
|
|
},
|
|
"EyeOpen":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Value":{"shape":"Boolean"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"Eyeglasses":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Value":{"shape":"Boolean"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"Face":{
|
|
"type":"structure",
|
|
"members":{
|
|
"FaceId":{"shape":"FaceId"},
|
|
"BoundingBox":{"shape":"BoundingBox"},
|
|
"ImageId":{"shape":"ImageId"},
|
|
"ExternalImageId":{"shape":"ExternalImageId"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"FaceAttributes":{
|
|
"type":"string",
|
|
"enum":[
|
|
"DEFAULT",
|
|
"ALL"
|
|
]
|
|
},
|
|
"FaceDetail":{
|
|
"type":"structure",
|
|
"members":{
|
|
"BoundingBox":{"shape":"BoundingBox"},
|
|
"AgeRange":{"shape":"AgeRange"},
|
|
"Smile":{"shape":"Smile"},
|
|
"Eyeglasses":{"shape":"Eyeglasses"},
|
|
"Sunglasses":{"shape":"Sunglasses"},
|
|
"Gender":{"shape":"Gender"},
|
|
"Beard":{"shape":"Beard"},
|
|
"Mustache":{"shape":"Mustache"},
|
|
"EyesOpen":{"shape":"EyeOpen"},
|
|
"MouthOpen":{"shape":"MouthOpen"},
|
|
"Emotions":{"shape":"Emotions"},
|
|
"Landmarks":{"shape":"Landmarks"},
|
|
"Pose":{"shape":"Pose"},
|
|
"Quality":{"shape":"ImageQuality"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"FaceDetailList":{
|
|
"type":"list",
|
|
"member":{"shape":"FaceDetail"}
|
|
},
|
|
"FaceDetection":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Timestamp":{"shape":"Timestamp"},
|
|
"Face":{"shape":"FaceDetail"}
|
|
}
|
|
},
|
|
"FaceDetections":{
|
|
"type":"list",
|
|
"member":{"shape":"FaceDetection"}
|
|
},
|
|
"FaceId":{
|
|
"type":"string",
|
|
"pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
|
|
},
|
|
"FaceIdList":{
|
|
"type":"list",
|
|
"member":{"shape":"FaceId"},
|
|
"max":4096,
|
|
"min":1
|
|
},
|
|
"FaceList":{
|
|
"type":"list",
|
|
"member":{"shape":"Face"}
|
|
},
|
|
"FaceMatch":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Similarity":{"shape":"Percent"},
|
|
"Face":{"shape":"Face"}
|
|
}
|
|
},
|
|
"FaceMatchList":{
|
|
"type":"list",
|
|
"member":{"shape":"FaceMatch"}
|
|
},
|
|
"FaceModelVersionList":{
|
|
"type":"list",
|
|
"member":{"shape":"String"}
|
|
},
|
|
"FaceRecord":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Face":{"shape":"Face"},
|
|
"FaceDetail":{"shape":"FaceDetail"}
|
|
}
|
|
},
|
|
"FaceRecordList":{
|
|
"type":"list",
|
|
"member":{"shape":"FaceRecord"}
|
|
},
|
|
"FaceSearchSettings":{
|
|
"type":"structure",
|
|
"members":{
|
|
"CollectionId":{"shape":"CollectionId"},
|
|
"FaceMatchThreshold":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"FaceSearchSortBy":{
|
|
"type":"string",
|
|
"enum":[
|
|
"INDEX",
|
|
"TIMESTAMP"
|
|
]
|
|
},
|
|
"Float":{"type":"float"},
|
|
"Gender":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Value":{"shape":"GenderType"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"GenderType":{
|
|
"type":"string",
|
|
"enum":[
|
|
"Male",
|
|
"Female"
|
|
]
|
|
},
|
|
"Geometry":{
|
|
"type":"structure",
|
|
"members":{
|
|
"BoundingBox":{"shape":"BoundingBox"},
|
|
"Polygon":{"shape":"Polygon"}
|
|
}
|
|
},
|
|
"GetCelebrityInfoRequest":{
|
|
"type":"structure",
|
|
"required":["Id"],
|
|
"members":{
|
|
"Id":{"shape":"RekognitionUniqueId"}
|
|
}
|
|
},
|
|
"GetCelebrityInfoResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Urls":{"shape":"Urls"},
|
|
"Name":{"shape":"String"}
|
|
}
|
|
},
|
|
"GetCelebrityRecognitionRequest":{
|
|
"type":"structure",
|
|
"required":["JobId"],
|
|
"members":{
|
|
"JobId":{"shape":"JobId"},
|
|
"MaxResults":{"shape":"MaxResults"},
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"SortBy":{"shape":"CelebrityRecognitionSortBy"}
|
|
}
|
|
},
|
|
"GetCelebrityRecognitionResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"JobStatus":{"shape":"VideoJobStatus"},
|
|
"StatusMessage":{"shape":"StatusMessage"},
|
|
"VideoMetadata":{"shape":"VideoMetadata"},
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"Celebrities":{"shape":"CelebrityRecognitions"}
|
|
}
|
|
},
|
|
"GetContentModerationRequest":{
|
|
"type":"structure",
|
|
"required":["JobId"],
|
|
"members":{
|
|
"JobId":{"shape":"JobId"},
|
|
"MaxResults":{"shape":"MaxResults"},
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"SortBy":{"shape":"ContentModerationSortBy"}
|
|
}
|
|
},
|
|
"GetContentModerationResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"JobStatus":{"shape":"VideoJobStatus"},
|
|
"StatusMessage":{"shape":"StatusMessage"},
|
|
"VideoMetadata":{"shape":"VideoMetadata"},
|
|
"ModerationLabels":{"shape":"ContentModerationDetections"},
|
|
"NextToken":{"shape":"PaginationToken"}
|
|
}
|
|
},
|
|
"GetFaceDetectionRequest":{
|
|
"type":"structure",
|
|
"required":["JobId"],
|
|
"members":{
|
|
"JobId":{"shape":"JobId"},
|
|
"MaxResults":{"shape":"MaxResults"},
|
|
"NextToken":{"shape":"PaginationToken"}
|
|
}
|
|
},
|
|
"GetFaceDetectionResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"JobStatus":{"shape":"VideoJobStatus"},
|
|
"StatusMessage":{"shape":"StatusMessage"},
|
|
"VideoMetadata":{"shape":"VideoMetadata"},
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"Faces":{"shape":"FaceDetections"}
|
|
}
|
|
},
|
|
"GetFaceSearchRequest":{
|
|
"type":"structure",
|
|
"required":["JobId"],
|
|
"members":{
|
|
"JobId":{"shape":"JobId"},
|
|
"MaxResults":{"shape":"MaxResults"},
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"SortBy":{"shape":"FaceSearchSortBy"}
|
|
}
|
|
},
|
|
"GetFaceSearchResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"JobStatus":{"shape":"VideoJobStatus"},
|
|
"StatusMessage":{"shape":"StatusMessage"},
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"VideoMetadata":{"shape":"VideoMetadata"},
|
|
"Persons":{"shape":"PersonMatches"}
|
|
}
|
|
},
|
|
"GetLabelDetectionRequest":{
|
|
"type":"structure",
|
|
"required":["JobId"],
|
|
"members":{
|
|
"JobId":{"shape":"JobId"},
|
|
"MaxResults":{"shape":"MaxResults"},
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"SortBy":{"shape":"LabelDetectionSortBy"}
|
|
}
|
|
},
|
|
"GetLabelDetectionResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"JobStatus":{"shape":"VideoJobStatus"},
|
|
"StatusMessage":{"shape":"StatusMessage"},
|
|
"VideoMetadata":{"shape":"VideoMetadata"},
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"Labels":{"shape":"LabelDetections"}
|
|
}
|
|
},
|
|
"GetPersonTrackingRequest":{
|
|
"type":"structure",
|
|
"required":["JobId"],
|
|
"members":{
|
|
"JobId":{"shape":"JobId"},
|
|
"MaxResults":{"shape":"MaxResults"},
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"SortBy":{"shape":"PersonTrackingSortBy"}
|
|
}
|
|
},
|
|
"GetPersonTrackingResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"JobStatus":{"shape":"VideoJobStatus"},
|
|
"StatusMessage":{"shape":"StatusMessage"},
|
|
"VideoMetadata":{"shape":"VideoMetadata"},
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"Persons":{"shape":"PersonDetections"}
|
|
}
|
|
},
|
|
"IdempotentParameterMismatchException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
},
|
|
"Image":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Bytes":{"shape":"ImageBlob"},
|
|
"S3Object":{"shape":"S3Object"}
|
|
}
|
|
},
|
|
"ImageBlob":{
|
|
"type":"blob",
|
|
"max":5242880,
|
|
"min":1
|
|
},
|
|
"ImageId":{
|
|
"type":"string",
|
|
"pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
|
|
},
|
|
"ImageQuality":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Brightness":{"shape":"Float"},
|
|
"Sharpness":{"shape":"Float"}
|
|
}
|
|
},
|
|
"ImageTooLargeException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
},
|
|
"IndexFacesRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"CollectionId",
|
|
"Image"
|
|
],
|
|
"members":{
|
|
"CollectionId":{"shape":"CollectionId"},
|
|
"Image":{"shape":"Image"},
|
|
"ExternalImageId":{"shape":"ExternalImageId"},
|
|
"DetectionAttributes":{"shape":"Attributes"}
|
|
}
|
|
},
|
|
"IndexFacesResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"FaceRecords":{"shape":"FaceRecordList"},
|
|
"OrientationCorrection":{"shape":"OrientationCorrection"},
|
|
"FaceModelVersion":{"shape":"String"}
|
|
}
|
|
},
|
|
"InternalServerError":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true,
|
|
"fault":true
|
|
},
|
|
"InvalidImageFormatException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
},
|
|
"InvalidPaginationTokenException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
},
|
|
"InvalidParameterException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
},
|
|
"InvalidS3ObjectException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
},
|
|
"JobId":{
|
|
"type":"string",
|
|
"max":64,
|
|
"min":1,
|
|
"pattern":"^[a-zA-Z0-9-_]+$"
|
|
},
|
|
"JobTag":{
|
|
"type":"string",
|
|
"max":256,
|
|
"min":1,
|
|
"pattern":"[a-zA-Z0-9_.\\-:]+"
|
|
},
|
|
"KinesisDataArn":{
|
|
"type":"string",
|
|
"pattern":"(^arn:([a-z\\d-]+):kinesis:([a-z\\d-]+):\\d{12}:.+$)"
|
|
},
|
|
"KinesisDataStream":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Arn":{"shape":"KinesisDataArn"}
|
|
}
|
|
},
|
|
"KinesisVideoArn":{
|
|
"type":"string",
|
|
"pattern":"(^arn:([a-z\\d-]+):kinesisvideo:([a-z\\d-]+):\\d{12}:.+$)"
|
|
},
|
|
"KinesisVideoStream":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Arn":{"shape":"KinesisVideoArn"}
|
|
}
|
|
},
|
|
"Label":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Name":{"shape":"String"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"LabelDetection":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Timestamp":{"shape":"Timestamp"},
|
|
"Label":{"shape":"Label"}
|
|
}
|
|
},
|
|
"LabelDetectionSortBy":{
|
|
"type":"string",
|
|
"enum":[
|
|
"NAME",
|
|
"TIMESTAMP"
|
|
]
|
|
},
|
|
"LabelDetections":{
|
|
"type":"list",
|
|
"member":{"shape":"LabelDetection"}
|
|
},
|
|
"Labels":{
|
|
"type":"list",
|
|
"member":{"shape":"Label"}
|
|
},
|
|
"Landmark":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Type":{"shape":"LandmarkType"},
|
|
"X":{"shape":"Float"},
|
|
"Y":{"shape":"Float"}
|
|
}
|
|
},
|
|
"LandmarkType":{
|
|
"type":"string",
|
|
"enum":[
|
|
"eyeLeft",
|
|
"eyeRight",
|
|
"nose",
|
|
"mouthLeft",
|
|
"mouthRight",
|
|
"leftEyeBrowLeft",
|
|
"leftEyeBrowRight",
|
|
"leftEyeBrowUp",
|
|
"rightEyeBrowLeft",
|
|
"rightEyeBrowRight",
|
|
"rightEyeBrowUp",
|
|
"leftEyeLeft",
|
|
"leftEyeRight",
|
|
"leftEyeUp",
|
|
"leftEyeDown",
|
|
"rightEyeLeft",
|
|
"rightEyeRight",
|
|
"rightEyeUp",
|
|
"rightEyeDown",
|
|
"noseLeft",
|
|
"noseRight",
|
|
"mouthUp",
|
|
"mouthDown",
|
|
"leftPupil",
|
|
"rightPupil"
|
|
]
|
|
},
|
|
"Landmarks":{
|
|
"type":"list",
|
|
"member":{"shape":"Landmark"}
|
|
},
|
|
"LimitExceededException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
},
|
|
"ListCollectionsRequest":{
|
|
"type":"structure",
|
|
"members":{
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"MaxResults":{"shape":"PageSize"}
|
|
}
|
|
},
|
|
"ListCollectionsResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"CollectionIds":{"shape":"CollectionIdList"},
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"FaceModelVersions":{"shape":"FaceModelVersionList"}
|
|
}
|
|
},
|
|
"ListFacesRequest":{
|
|
"type":"structure",
|
|
"required":["CollectionId"],
|
|
"members":{
|
|
"CollectionId":{"shape":"CollectionId"},
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"MaxResults":{"shape":"PageSize"}
|
|
}
|
|
},
|
|
"ListFacesResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Faces":{"shape":"FaceList"},
|
|
"NextToken":{"shape":"String"},
|
|
"FaceModelVersion":{"shape":"String"}
|
|
}
|
|
},
|
|
"ListStreamProcessorsRequest":{
|
|
"type":"structure",
|
|
"members":{
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"MaxResults":{"shape":"MaxResults"}
|
|
}
|
|
},
|
|
"ListStreamProcessorsResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"NextToken":{"shape":"PaginationToken"},
|
|
"StreamProcessors":{"shape":"StreamProcessorList"}
|
|
}
|
|
},
|
|
"MaxFaces":{
|
|
"type":"integer",
|
|
"max":4096,
|
|
"min":1
|
|
},
|
|
"MaxResults":{
|
|
"type":"integer",
|
|
"min":1
|
|
},
|
|
"ModerationLabel":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Confidence":{"shape":"Percent"},
|
|
"Name":{"shape":"String"},
|
|
"ParentName":{"shape":"String"}
|
|
}
|
|
},
|
|
"ModerationLabels":{
|
|
"type":"list",
|
|
"member":{"shape":"ModerationLabel"}
|
|
},
|
|
"MouthOpen":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Value":{"shape":"Boolean"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"Mustache":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Value":{"shape":"Boolean"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"NotificationChannel":{
|
|
"type":"structure",
|
|
"required":[
|
|
"SNSTopicArn",
|
|
"RoleArn"
|
|
],
|
|
"members":{
|
|
"SNSTopicArn":{"shape":"SNSTopicArn"},
|
|
"RoleArn":{"shape":"RoleArn"}
|
|
}
|
|
},
|
|
"OrientationCorrection":{
|
|
"type":"string",
|
|
"enum":[
|
|
"ROTATE_0",
|
|
"ROTATE_90",
|
|
"ROTATE_180",
|
|
"ROTATE_270"
|
|
]
|
|
},
|
|
"PageSize":{
|
|
"type":"integer",
|
|
"max":4096,
|
|
"min":0
|
|
},
|
|
"PaginationToken":{
|
|
"type":"string",
|
|
"max":255
|
|
},
|
|
"Percent":{
|
|
"type":"float",
|
|
"max":100,
|
|
"min":0
|
|
},
|
|
"PersonDetail":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Index":{"shape":"PersonIndex"},
|
|
"BoundingBox":{"shape":"BoundingBox"},
|
|
"Face":{"shape":"FaceDetail"}
|
|
}
|
|
},
|
|
"PersonDetection":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Timestamp":{"shape":"Timestamp"},
|
|
"Person":{"shape":"PersonDetail"}
|
|
}
|
|
},
|
|
"PersonDetections":{
|
|
"type":"list",
|
|
"member":{"shape":"PersonDetection"}
|
|
},
|
|
"PersonIndex":{"type":"long"},
|
|
"PersonMatch":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Timestamp":{"shape":"Timestamp"},
|
|
"Person":{"shape":"PersonDetail"},
|
|
"FaceMatches":{"shape":"FaceMatchList"}
|
|
}
|
|
},
|
|
"PersonMatches":{
|
|
"type":"list",
|
|
"member":{"shape":"PersonMatch"}
|
|
},
|
|
"PersonTrackingSortBy":{
|
|
"type":"string",
|
|
"enum":[
|
|
"INDEX",
|
|
"TIMESTAMP"
|
|
]
|
|
},
|
|
"Point":{
|
|
"type":"structure",
|
|
"members":{
|
|
"X":{"shape":"Float"},
|
|
"Y":{"shape":"Float"}
|
|
}
|
|
},
|
|
"Polygon":{
|
|
"type":"list",
|
|
"member":{"shape":"Point"}
|
|
},
|
|
"Pose":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Roll":{"shape":"Degree"},
|
|
"Yaw":{"shape":"Degree"},
|
|
"Pitch":{"shape":"Degree"}
|
|
}
|
|
},
|
|
"ProvisionedThroughputExceededException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
},
|
|
"RecognizeCelebritiesRequest":{
|
|
"type":"structure",
|
|
"required":["Image"],
|
|
"members":{
|
|
"Image":{"shape":"Image"}
|
|
}
|
|
},
|
|
"RecognizeCelebritiesResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"CelebrityFaces":{"shape":"CelebrityList"},
|
|
"UnrecognizedFaces":{"shape":"ComparedFaceList"},
|
|
"OrientationCorrection":{"shape":"OrientationCorrection"}
|
|
}
|
|
},
|
|
"RekognitionUniqueId":{
|
|
"type":"string",
|
|
"pattern":"[0-9A-Za-z]*"
|
|
},
|
|
"ResourceAlreadyExistsException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
},
|
|
"ResourceInUseException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
},
|
|
"ResourceNotFoundException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
},
|
|
"RoleArn":{
|
|
"type":"string",
|
|
"pattern":"arn:aws:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+"
|
|
},
|
|
"S3Bucket":{
|
|
"type":"string",
|
|
"max":255,
|
|
"min":3,
|
|
"pattern":"[0-9A-Za-z\\.\\-_]*"
|
|
},
|
|
"S3Object":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Bucket":{"shape":"S3Bucket"},
|
|
"Name":{"shape":"S3ObjectName"},
|
|
"Version":{"shape":"S3ObjectVersion"}
|
|
}
|
|
},
|
|
"S3ObjectName":{
|
|
"type":"string",
|
|
"max":1024,
|
|
"min":1
|
|
},
|
|
"S3ObjectVersion":{
|
|
"type":"string",
|
|
"max":1024,
|
|
"min":1
|
|
},
|
|
"SNSTopicArn":{
|
|
"type":"string",
|
|
"pattern":"(^arn:aws:sns:.*:\\w{12}:.+$)"
|
|
},
|
|
"SearchFacesByImageRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"CollectionId",
|
|
"Image"
|
|
],
|
|
"members":{
|
|
"CollectionId":{"shape":"CollectionId"},
|
|
"Image":{"shape":"Image"},
|
|
"MaxFaces":{"shape":"MaxFaces"},
|
|
"FaceMatchThreshold":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"SearchFacesByImageResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"SearchedFaceBoundingBox":{"shape":"BoundingBox"},
|
|
"SearchedFaceConfidence":{"shape":"Percent"},
|
|
"FaceMatches":{"shape":"FaceMatchList"},
|
|
"FaceModelVersion":{"shape":"String"}
|
|
}
|
|
},
|
|
"SearchFacesRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"CollectionId",
|
|
"FaceId"
|
|
],
|
|
"members":{
|
|
"CollectionId":{"shape":"CollectionId"},
|
|
"FaceId":{"shape":"FaceId"},
|
|
"MaxFaces":{"shape":"MaxFaces"},
|
|
"FaceMatchThreshold":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"SearchFacesResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"SearchedFaceId":{"shape":"FaceId"},
|
|
"FaceMatches":{"shape":"FaceMatchList"},
|
|
"FaceModelVersion":{"shape":"String"}
|
|
}
|
|
},
|
|
"Smile":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Value":{"shape":"Boolean"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"StartCelebrityRecognitionRequest":{
|
|
"type":"structure",
|
|
"required":["Video"],
|
|
"members":{
|
|
"Video":{"shape":"Video"},
|
|
"ClientRequestToken":{"shape":"ClientRequestToken"},
|
|
"NotificationChannel":{"shape":"NotificationChannel"},
|
|
"JobTag":{"shape":"JobTag"}
|
|
}
|
|
},
|
|
"StartCelebrityRecognitionResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"JobId":{"shape":"JobId"}
|
|
}
|
|
},
|
|
"StartContentModerationRequest":{
|
|
"type":"structure",
|
|
"required":["Video"],
|
|
"members":{
|
|
"Video":{"shape":"Video"},
|
|
"MinConfidence":{"shape":"Percent"},
|
|
"ClientRequestToken":{"shape":"ClientRequestToken"},
|
|
"NotificationChannel":{"shape":"NotificationChannel"},
|
|
"JobTag":{"shape":"JobTag"}
|
|
}
|
|
},
|
|
"StartContentModerationResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"JobId":{"shape":"JobId"}
|
|
}
|
|
},
|
|
"StartFaceDetectionRequest":{
|
|
"type":"structure",
|
|
"required":["Video"],
|
|
"members":{
|
|
"Video":{"shape":"Video"},
|
|
"ClientRequestToken":{"shape":"ClientRequestToken"},
|
|
"NotificationChannel":{"shape":"NotificationChannel"},
|
|
"FaceAttributes":{"shape":"FaceAttributes"},
|
|
"JobTag":{"shape":"JobTag"}
|
|
}
|
|
},
|
|
"StartFaceDetectionResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"JobId":{"shape":"JobId"}
|
|
}
|
|
},
|
|
"StartFaceSearchRequest":{
|
|
"type":"structure",
|
|
"required":[
|
|
"Video",
|
|
"CollectionId"
|
|
],
|
|
"members":{
|
|
"Video":{"shape":"Video"},
|
|
"ClientRequestToken":{"shape":"ClientRequestToken"},
|
|
"FaceMatchThreshold":{"shape":"Percent"},
|
|
"CollectionId":{"shape":"CollectionId"},
|
|
"NotificationChannel":{"shape":"NotificationChannel"},
|
|
"JobTag":{"shape":"JobTag"}
|
|
}
|
|
},
|
|
"StartFaceSearchResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"JobId":{"shape":"JobId"}
|
|
}
|
|
},
|
|
"StartLabelDetectionRequest":{
|
|
"type":"structure",
|
|
"required":["Video"],
|
|
"members":{
|
|
"Video":{"shape":"Video"},
|
|
"ClientRequestToken":{"shape":"ClientRequestToken"},
|
|
"MinConfidence":{"shape":"Percent"},
|
|
"NotificationChannel":{"shape":"NotificationChannel"},
|
|
"JobTag":{"shape":"JobTag"}
|
|
}
|
|
},
|
|
"StartLabelDetectionResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"JobId":{"shape":"JobId"}
|
|
}
|
|
},
|
|
"StartPersonTrackingRequest":{
|
|
"type":"structure",
|
|
"required":["Video"],
|
|
"members":{
|
|
"Video":{"shape":"Video"},
|
|
"ClientRequestToken":{"shape":"ClientRequestToken"},
|
|
"NotificationChannel":{"shape":"NotificationChannel"},
|
|
"JobTag":{"shape":"JobTag"}
|
|
}
|
|
},
|
|
"StartPersonTrackingResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
"JobId":{"shape":"JobId"}
|
|
}
|
|
},
|
|
"StartStreamProcessorRequest":{
|
|
"type":"structure",
|
|
"required":["Name"],
|
|
"members":{
|
|
"Name":{"shape":"StreamProcessorName"}
|
|
}
|
|
},
|
|
"StartStreamProcessorResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
}
|
|
},
|
|
"StatusMessage":{"type":"string"},
|
|
"StopStreamProcessorRequest":{
|
|
"type":"structure",
|
|
"required":["Name"],
|
|
"members":{
|
|
"Name":{"shape":"StreamProcessorName"}
|
|
}
|
|
},
|
|
"StopStreamProcessorResponse":{
|
|
"type":"structure",
|
|
"members":{
|
|
}
|
|
},
|
|
"StreamProcessor":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Name":{"shape":"StreamProcessorName"},
|
|
"Status":{"shape":"StreamProcessorStatus"}
|
|
}
|
|
},
|
|
"StreamProcessorArn":{
|
|
"type":"string",
|
|
"pattern":"(^arn:[a-z\\d-]+:rekognition:[a-z\\d-]+:\\d{12}:streamprocessor\\/.+$)"
|
|
},
|
|
"StreamProcessorInput":{
|
|
"type":"structure",
|
|
"members":{
|
|
"KinesisVideoStream":{"shape":"KinesisVideoStream"}
|
|
}
|
|
},
|
|
"StreamProcessorList":{
|
|
"type":"list",
|
|
"member":{"shape":"StreamProcessor"}
|
|
},
|
|
"StreamProcessorName":{
|
|
"type":"string",
|
|
"max":128,
|
|
"min":1,
|
|
"pattern":"[a-zA-Z0-9_.\\-]+"
|
|
},
|
|
"StreamProcessorOutput":{
|
|
"type":"structure",
|
|
"members":{
|
|
"KinesisDataStream":{"shape":"KinesisDataStream"}
|
|
}
|
|
},
|
|
"StreamProcessorSettings":{
|
|
"type":"structure",
|
|
"members":{
|
|
"FaceSearch":{"shape":"FaceSearchSettings"}
|
|
}
|
|
},
|
|
"StreamProcessorStatus":{
|
|
"type":"string",
|
|
"enum":[
|
|
"STOPPED",
|
|
"STARTING",
|
|
"RUNNING",
|
|
"FAILED",
|
|
"STOPPING"
|
|
]
|
|
},
|
|
"String":{"type":"string"},
|
|
"Sunglasses":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Value":{"shape":"Boolean"},
|
|
"Confidence":{"shape":"Percent"}
|
|
}
|
|
},
|
|
"TextDetection":{
|
|
"type":"structure",
|
|
"members":{
|
|
"DetectedText":{"shape":"String"},
|
|
"Type":{"shape":"TextTypes"},
|
|
"Id":{"shape":"UInteger"},
|
|
"ParentId":{"shape":"UInteger"},
|
|
"Confidence":{"shape":"Percent"},
|
|
"Geometry":{"shape":"Geometry"}
|
|
}
|
|
},
|
|
"TextDetectionList":{
|
|
"type":"list",
|
|
"member":{"shape":"TextDetection"}
|
|
},
|
|
"TextTypes":{
|
|
"type":"string",
|
|
"enum":[
|
|
"LINE",
|
|
"WORD"
|
|
]
|
|
},
|
|
"ThrottlingException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true,
|
|
"fault":true
|
|
},
|
|
"Timestamp":{"type":"long"},
|
|
"UInteger":{
|
|
"type":"integer",
|
|
"min":0
|
|
},
|
|
"ULong":{
|
|
"type":"long",
|
|
"min":0
|
|
},
|
|
"Url":{"type":"string"},
|
|
"Urls":{
|
|
"type":"list",
|
|
"member":{"shape":"Url"}
|
|
},
|
|
"Video":{
|
|
"type":"structure",
|
|
"members":{
|
|
"S3Object":{"shape":"S3Object"}
|
|
}
|
|
},
|
|
"VideoJobStatus":{
|
|
"type":"string",
|
|
"enum":[
|
|
"IN_PROGRESS",
|
|
"SUCCEEDED",
|
|
"FAILED"
|
|
]
|
|
},
|
|
"VideoMetadata":{
|
|
"type":"structure",
|
|
"members":{
|
|
"Codec":{"shape":"String"},
|
|
"DurationMillis":{"shape":"ULong"},
|
|
"Format":{"shape":"String"},
|
|
"FrameRate":{"shape":"Float"},
|
|
"FrameHeight":{"shape":"ULong"},
|
|
"FrameWidth":{"shape":"ULong"}
|
|
}
|
|
},
|
|
"VideoTooLargeException":{
|
|
"type":"structure",
|
|
"members":{
|
|
},
|
|
"exception":true
|
|
}
|
|
}
|
|
}
|