Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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_faceModelVersion :: Lens' DescribeCollectionResponse (Maybe Text)
- describeCollectionResponse_faceCount :: Lens' DescribeCollectionResponse (Maybe Natural)
- describeCollectionResponse_creationTimestamp :: Lens' DescribeCollectionResponse (Maybe UTCTime)
- describeCollectionResponse_collectionARN :: Lens' DescribeCollectionResponse (Maybe Text)
- describeCollectionResponse_httpStatus :: Lens' DescribeCollectionResponse Int
Creating a Request
data DescribeCollection Source #
See: newDescribeCollection
smart constructor.
DescribeCollection' | |
|
Instances
newDescribeCollection Source #
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:
$sel:collectionId: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.
DescribeCollectionResponse' | |
|
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: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:faceCount:DescribeCollectionResponse'
, describeCollectionResponse_faceCount
- The number of faces that are indexed into the collection. To index faces
into a collection, use IndexFaces.
$sel:creationTimestamp: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:collectionARN:DescribeCollectionResponse'
, describeCollectionResponse_collectionARN
- The Amazon Resource Name (ARN) of the collection.
$sel:httpStatus:DescribeCollectionResponse'
, describeCollectionResponse_httpStatus
- The response's http status code.
Response Lenses
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_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_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_collectionARN :: Lens' DescribeCollectionResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the collection.
describeCollectionResponse_httpStatus :: Lens' DescribeCollectionResponse Int Source #
The response's http status code.