Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Retrieves metadata about an object.
- getObjectInformation :: Text -> ObjectReference -> GetObjectInformation
- data GetObjectInformation
- goiConsistencyLevel :: Lens' GetObjectInformation (Maybe ConsistencyLevel)
- goiDirectoryARN :: Lens' GetObjectInformation Text
- goiObjectReference :: Lens' GetObjectInformation ObjectReference
- getObjectInformationResponse :: Int -> GetObjectInformationResponse
- data GetObjectInformationResponse
- goirsObjectIdentifier :: Lens' GetObjectInformationResponse (Maybe Text)
- goirsSchemaFacets :: Lens' GetObjectInformationResponse [SchemaFacet]
- goirsResponseStatus :: Lens' GetObjectInformationResponse Int
Creating a Request
Creates a value of GetObjectInformation
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
goiConsistencyLevel
- The consistency level at which to retrieve the object information.goiDirectoryARN
- The ARN of the directory being retrieved.goiObjectReference
- A reference to the object.
data GetObjectInformation Source #
See: getObjectInformation
smart constructor.
Request Lenses
goiConsistencyLevel :: Lens' GetObjectInformation (Maybe ConsistencyLevel) Source #
The consistency level at which to retrieve the object information.
goiDirectoryARN :: Lens' GetObjectInformation Text Source #
The ARN of the directory being retrieved.
goiObjectReference :: Lens' GetObjectInformation ObjectReference Source #
A reference to the object.
Destructuring the Response
getObjectInformationResponse Source #
Creates a value of GetObjectInformationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
goirsObjectIdentifier
- TheObjectIdentifier
of the specified object.goirsSchemaFacets
- The facets attached to the specified object. Although the response does not include minor version information, the most recently applied minor version of each Facet is in effect. SeeGetAppliedSchemaVersion
for details.goirsResponseStatus
- -- | The response status code.
data GetObjectInformationResponse Source #
See: getObjectInformationResponse
smart constructor.
Response Lenses
goirsObjectIdentifier :: Lens' GetObjectInformationResponse (Maybe Text) Source #
The ObjectIdentifier
of the specified object.
goirsSchemaFacets :: Lens' GetObjectInformationResponse [SchemaFacet] Source #
The facets attached to the specified object. Although the response does not include minor version information, the most recently applied minor version of each Facet is in effect. See GetAppliedSchemaVersion
for details.
goirsResponseStatus :: Lens' GetObjectInformationResponse Int Source #
- - | The response status code.