| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudDirectory.GetObjectAttributes
Description
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.
Constructors
| GetObjectAttributes' | |
Fields
| |
Instances
newGetObjectAttributes Source #
Arguments
| :: Text | |
| -> ObjectReference | |
| -> SchemaFacet | |
| -> GetObjectAttributes |
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.
GetObjectAttributes, getObjectAttributes_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory
where the object resides.
GetObjectAttributes, getObjectAttributes_objectReference - Reference that identifies the object whose attributes will be retrieved.
GetObjectAttributes, getObjectAttributes_schemaFacet - Identifier for the facet whose attributes will be retrieved. See
SchemaFacet for details.
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.
Constructors
| GetObjectAttributesResponse' | |
Fields
| |
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:
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.