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 attributes within a facet that are associated with an object.
Synopsis
- data GetObjectAttributes = GetObjectAttributes' {}
- newGetObjectAttributes :: Text -> ObjectReference -> SchemaFacet -> GetObjectAttributes
- getObjectAttributes_consistencyLevel :: Lens' GetObjectAttributes (Maybe ConsistencyLevel)
- getObjectAttributes_directoryArn :: Lens' GetObjectAttributes Text
- getObjectAttributes_objectReference :: Lens' GetObjectAttributes ObjectReference
- getObjectAttributes_schemaFacet :: Lens' GetObjectAttributes SchemaFacet
- getObjectAttributes_attributeNames :: Lens' GetObjectAttributes [Text]
- data GetObjectAttributesResponse = GetObjectAttributesResponse' {}
- newGetObjectAttributesResponse :: Int -> GetObjectAttributesResponse
- getObjectAttributesResponse_attributes :: Lens' GetObjectAttributesResponse (Maybe [AttributeKeyAndValue])
- getObjectAttributesResponse_httpStatus :: Lens' GetObjectAttributesResponse Int
Creating a Request
data GetObjectAttributes Source #
See: newGetObjectAttributes
smart constructor.
GetObjectAttributes' | |
|
Instances
newGetObjectAttributes Source #
Create a value of GetObjectAttributes
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:GetObjectAttributes'
, getObjectAttributes_consistencyLevel
- The consistency level at which to retrieve the attributes on an object.
$sel:directoryArn:GetObjectAttributes'
, getObjectAttributes_directoryArn
- The Amazon Resource Name (ARN) that is associated with the Directory
where the object resides.
$sel:objectReference:GetObjectAttributes'
, getObjectAttributes_objectReference
- Reference that identifies the object whose attributes will be retrieved.
$sel:schemaFacet:GetObjectAttributes'
, getObjectAttributes_schemaFacet
- Identifier for the facet whose attributes will be retrieved. See
SchemaFacet for details.
$sel:attributeNames:GetObjectAttributes'
, getObjectAttributes_attributeNames
- List of attribute names whose values will be retrieved.
Request Lenses
getObjectAttributes_consistencyLevel :: Lens' GetObjectAttributes (Maybe ConsistencyLevel) Source #
The consistency level at which to retrieve the attributes on an object.
getObjectAttributes_directoryArn :: Lens' GetObjectAttributes Text Source #
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides.
getObjectAttributes_objectReference :: Lens' GetObjectAttributes ObjectReference Source #
Reference that identifies the object whose attributes will be retrieved.
getObjectAttributes_schemaFacet :: Lens' GetObjectAttributes SchemaFacet Source #
Identifier for the facet whose attributes will be retrieved. See SchemaFacet for details.
getObjectAttributes_attributeNames :: Lens' GetObjectAttributes [Text] Source #
List of attribute names whose values will be retrieved.
Destructuring the Response
data GetObjectAttributesResponse Source #
See: newGetObjectAttributesResponse
smart constructor.
GetObjectAttributesResponse' | |
|
Instances
newGetObjectAttributesResponse Source #
Create a value of GetObjectAttributesResponse
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:attributes:GetObjectAttributesResponse'
, getObjectAttributesResponse_attributes
- The attributes that are associated with the object.
$sel:httpStatus:GetObjectAttributesResponse'
, getObjectAttributesResponse_httpStatus
- The response's http status code.
Response Lenses
getObjectAttributesResponse_attributes :: Lens' GetObjectAttributesResponse (Maybe [AttributeKeyAndValue]) Source #
The attributes that are associated with the object.
getObjectAttributesResponse_httpStatus :: Lens' GetObjectAttributesResponse Int Source #
The response's http status code.