| 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 |
Network.AWS.CloudDirectory.GetObjectInformation
Description
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
Arguments
| :: Text | |
| -> ObjectReference | |
| -> GetObjectInformation |
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.
Instances
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 #
Arguments
| :: Int | |
| -> GetObjectInformationResponse |
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- TheObjectIdentifierof 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. SeeGetAppliedSchemaVersionfor details.goirsResponseStatus- -- | The response status code.
data GetObjectInformationResponse Source #
See: getObjectInformationResponse smart constructor.
Instances
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.