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 |
Retrieves metadata about an object.
Synopsis
- data GetObjectInformation = GetObjectInformation' {}
- newGetObjectInformation :: Text -> ObjectReference -> GetObjectInformation
- getObjectInformation_consistencyLevel :: Lens' GetObjectInformation (Maybe ConsistencyLevel)
- getObjectInformation_directoryArn :: Lens' GetObjectInformation Text
- getObjectInformation_objectReference :: Lens' GetObjectInformation ObjectReference
- data GetObjectInformationResponse = GetObjectInformationResponse' {}
- newGetObjectInformationResponse :: Int -> GetObjectInformationResponse
- getObjectInformationResponse_objectIdentifier :: Lens' GetObjectInformationResponse (Maybe Text)
- getObjectInformationResponse_schemaFacets :: Lens' GetObjectInformationResponse (Maybe [SchemaFacet])
- getObjectInformationResponse_httpStatus :: Lens' GetObjectInformationResponse Int
Creating a Request
data GetObjectInformation Source #
See: newGetObjectInformation
smart constructor.
GetObjectInformation' | |
|
Instances
newGetObjectInformation Source #
Create a value of GetObjectInformation
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:consistencyLevel:GetObjectInformation'
, getObjectInformation_consistencyLevel
- The consistency level at which to retrieve the object information.
$sel:directoryArn:GetObjectInformation'
, getObjectInformation_directoryArn
- The ARN of the directory being retrieved.
$sel:objectReference:GetObjectInformation'
, getObjectInformation_objectReference
- A reference to the object.
Request Lenses
getObjectInformation_consistencyLevel :: Lens' GetObjectInformation (Maybe ConsistencyLevel) Source #
The consistency level at which to retrieve the object information.
getObjectInformation_directoryArn :: Lens' GetObjectInformation Text Source #
The ARN of the directory being retrieved.
getObjectInformation_objectReference :: Lens' GetObjectInformation ObjectReference Source #
A reference to the object.
Destructuring the Response
data GetObjectInformationResponse Source #
See: newGetObjectInformationResponse
smart constructor.
GetObjectInformationResponse' | |
|
Instances
newGetObjectInformationResponse Source #
Create a value of GetObjectInformationResponse
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:objectIdentifier:GetObjectInformationResponse'
, getObjectInformationResponse_objectIdentifier
- The ObjectIdentifier
of the specified object.
$sel:schemaFacets:GetObjectInformationResponse'
, getObjectInformationResponse_schemaFacets
- 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.
$sel:httpStatus:GetObjectInformationResponse'
, getObjectInformationResponse_httpStatus
- The response's http status code.
Response Lenses
getObjectInformationResponse_objectIdentifier :: Lens' GetObjectInformationResponse (Maybe Text) Source #
The ObjectIdentifier
of the specified object.
getObjectInformationResponse_schemaFacets :: Lens' GetObjectInformationResponse (Maybe [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.
getObjectInformationResponse_httpStatus :: Lens' GetObjectInformationResponse Int Source #
The response's http status code.