| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Rekognition.DescribeCollection
Description
Describes the specified collection. You can use DescribeCollection to
get information, such as the number of faces indexed into a collection
and the version of the model used by the collection for face detection.
For more information, see Describing a Collection in the Amazon Rekognition Developer Guide.
Synopsis
- data DescribeCollection = DescribeCollection' {
- collectionId :: Text
- newDescribeCollection :: Text -> DescribeCollection
- describeCollection_collectionId :: Lens' DescribeCollection Text
- data DescribeCollectionResponse = DescribeCollectionResponse' {}
- newDescribeCollectionResponse :: Int -> DescribeCollectionResponse
- describeCollectionResponse_collectionARN :: Lens' DescribeCollectionResponse (Maybe Text)
- describeCollectionResponse_creationTimestamp :: Lens' DescribeCollectionResponse (Maybe UTCTime)
- describeCollectionResponse_faceCount :: Lens' DescribeCollectionResponse (Maybe Natural)
- describeCollectionResponse_faceModelVersion :: Lens' DescribeCollectionResponse (Maybe Text)
- describeCollectionResponse_httpStatus :: Lens' DescribeCollectionResponse Int
Creating a Request
data DescribeCollection Source #
See: newDescribeCollection smart constructor.
Constructors
| DescribeCollection' | |
Fields
| |
Instances
newDescribeCollection Source #
Arguments
| :: Text | |
| -> DescribeCollection |
Create a value of DescribeCollection with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
DescribeCollection, describeCollection_collectionId - The ID of the collection to describe.
Request Lenses
describeCollection_collectionId :: Lens' DescribeCollection Text Source #
The ID of the collection to describe.
Destructuring the Response
data DescribeCollectionResponse Source #
See: newDescribeCollectionResponse smart constructor.
Constructors
| DescribeCollectionResponse' | |
Fields
| |
Instances
newDescribeCollectionResponse Source #
Create a value of DescribeCollectionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:collectionARN:DescribeCollectionResponse', describeCollectionResponse_collectionARN - The Amazon Resource Name (ARN) of the collection.
DescribeCollectionResponse, describeCollectionResponse_creationTimestamp - The number of milliseconds since the Unix epoch time until the creation
of the collection. The Unix epoch time is 00:00:00 Coordinated Universal
Time (UTC), Thursday, 1 January 1970.
$sel:faceCount:DescribeCollectionResponse', describeCollectionResponse_faceCount - The number of faces that are indexed into the collection. To index faces
into a collection, use IndexFaces.
$sel:faceModelVersion:DescribeCollectionResponse', describeCollectionResponse_faceModelVersion - The version of the face model that's used by the collection for face
detection.
For more information, see Model versioning in the Amazon Rekognition Developer Guide.
$sel:httpStatus:DescribeCollectionResponse', describeCollectionResponse_httpStatus - The response's http status code.
Response Lenses
describeCollectionResponse_collectionARN :: Lens' DescribeCollectionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the collection.
describeCollectionResponse_creationTimestamp :: Lens' DescribeCollectionResponse (Maybe UTCTime) Source #
The number of milliseconds since the Unix epoch time until the creation of the collection. The Unix epoch time is 00:00:00 Coordinated Universal Time (UTC), Thursday, 1 January 1970.
describeCollectionResponse_faceCount :: Lens' DescribeCollectionResponse (Maybe Natural) Source #
The number of faces that are indexed into the collection. To index faces into a collection, use IndexFaces.
describeCollectionResponse_faceModelVersion :: Lens' DescribeCollectionResponse (Maybe Text) Source #
The version of the face model that's used by the collection for face detection.
For more information, see Model versioning in the Amazon Rekognition Developer Guide.
describeCollectionResponse_httpStatus :: Lens' DescribeCollectionResponse Int Source #
The response's http status code.