Amazon.Rekognition.AmazonRekognitionClient.ListCollections C# (CSharp) Метод

ListCollections() публичный Метод

Returns list of collection IDs in your account. If the result is truncated, the response also provides a NextToken that you can use in the subsequent request to fetch the next set of collection IDs.

For an example, see example1.

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

/// You are not authorized to perform the action. /// /// Amazon Rekognition experienced a service issue. Try your call again. /// /// Pagination token in the request is not valid. /// /// 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 ListCollections ( ListCollectionsRequest request ) : ListCollectionsResponse
request Amazon.Rekognition.Model.ListCollectionsRequest Container for the necessary parameters to execute the ListCollections service method.
Результат Amazon.Rekognition.Model.ListCollectionsResponse
        public ListCollectionsResponse ListCollections(ListCollectionsRequest request)
        {
            var marshaller = new ListCollectionsRequestMarshaller();
            var unmarshaller = ListCollectionsResponseUnmarshaller.Instance;

            return Invoke<ListCollectionsRequest,ListCollectionsResponse>(request, marshaller, unmarshaller);
        }