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 |
Adds a new Facet
to an object. An object can have more than one facet applied on it.
Synopsis
- addFacetToObject :: Text -> SchemaFacet -> ObjectReference -> AddFacetToObject
- data AddFacetToObject
- aftoObjectAttributeList :: Lens' AddFacetToObject [AttributeKeyAndValue]
- aftoDirectoryARN :: Lens' AddFacetToObject Text
- aftoSchemaFacet :: Lens' AddFacetToObject SchemaFacet
- aftoObjectReference :: Lens' AddFacetToObject ObjectReference
- addFacetToObjectResponse :: Int -> AddFacetToObjectResponse
- data AddFacetToObjectResponse
- aftorsResponseStatus :: Lens' AddFacetToObjectResponse Int
Creating a Request
:: Text | |
-> SchemaFacet | |
-> ObjectReference | |
-> AddFacetToObject |
Creates a value of AddFacetToObject
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aftoObjectAttributeList
- Attributes on the facet that you are adding to the object.aftoDirectoryARN
- The Amazon Resource Name (ARN) that is associated with theDirectory
where the object resides. For more information, seearns
.aftoSchemaFacet
- Identifiers for the facet that you are adding to the object. SeeSchemaFacet
for details.aftoObjectReference
- A reference to the object you are adding the specified facet to.
data AddFacetToObject Source #
See: addFacetToObject
smart constructor.
Instances
Request Lenses
aftoObjectAttributeList :: Lens' AddFacetToObject [AttributeKeyAndValue] Source #
Attributes on the facet that you are adding to the object.
aftoDirectoryARN :: Lens' AddFacetToObject Text Source #
The Amazon Resource Name (ARN) that is associated with the Directory
where the object resides. For more information, see arns
.
aftoSchemaFacet :: Lens' AddFacetToObject SchemaFacet Source #
Identifiers for the facet that you are adding to the object. See SchemaFacet
for details.
aftoObjectReference :: Lens' AddFacetToObject ObjectReference Source #
A reference to the object you are adding the specified facet to.
Destructuring the Response
addFacetToObjectResponse Source #
Creates a value of AddFacetToObjectResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aftorsResponseStatus
- -- | The response status code.
data AddFacetToObjectResponse Source #
See: addFacetToObjectResponse
smart constructor.
Instances
Response Lenses
aftorsResponseStatus :: Lens' AddFacetToObjectResponse Int Source #
- - | The response status code.