Amazon.Rekognition.AmazonRekognitionClient.DeleteCollection C# (CSharp) Méthode

DeleteCollection() public méthode

Deletes the specified collection. Note that this operation removes all faces in the collection. For an example, see example1.

This operation requires permissions to perform the rekognition:DeleteCollection action.

/// You are not authorized to perform the action. /// /// Amazon Rekognition experienced a service issue. Try your call again. /// /// Input parameter violated a constraint. Validate your parameter before calling the /// API again. /// /// The number of requests exceeded your throughput limit. If you want to increase this /// limit, contact Amazon Rekognition. /// /// Collection specified in the request is not found. /// /// Amazon Rekognition is temporarily unable to process the request. Try your call again. ///
public DeleteCollection ( DeleteCollectionRequest request ) : DeleteCollectionResponse
request Amazon.Rekognition.Model.DeleteCollectionRequest Container for the necessary parameters to execute the DeleteCollection service method.
Résultat Amazon.Rekognition.Model.DeleteCollectionResponse
        public DeleteCollectionResponse DeleteCollection(DeleteCollectionRequest request)
        {
            var marshaller = new DeleteCollectionRequestMarshaller();
            var unmarshaller = DeleteCollectionResponseUnmarshaller.Instance;

            return Invoke<DeleteCollectionRequest,DeleteCollectionResponse>(request, marshaller, unmarshaller);
        }