| 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.UpdateObjectAttributes
Description
Updates a given object's attributes.
- updateObjectAttributes :: Text -> ObjectReference -> UpdateObjectAttributes
- data UpdateObjectAttributes
- uoaDirectoryARN :: Lens' UpdateObjectAttributes Text
- uoaObjectReference :: Lens' UpdateObjectAttributes ObjectReference
- uoaAttributeUpdates :: Lens' UpdateObjectAttributes [ObjectAttributeUpdate]
- updateObjectAttributesResponse :: Int -> UpdateObjectAttributesResponse
- data UpdateObjectAttributesResponse
- uoarsObjectIdentifier :: Lens' UpdateObjectAttributesResponse (Maybe Text)
- uoarsResponseStatus :: Lens' UpdateObjectAttributesResponse Int
Creating a Request
updateObjectAttributes Source #
Creates a value of UpdateObjectAttributes with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uoaDirectoryARN- The Amazon Resource Name (ARN) that is associated with theDirectorywhere the object resides. For more information, seearns.uoaObjectReference- The reference that identifies the object.uoaAttributeUpdates- The attributes update structure.
data UpdateObjectAttributes Source #
See: updateObjectAttributes smart constructor.
Instances
Request Lenses
uoaDirectoryARN :: Lens' UpdateObjectAttributes Text Source #
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns .
uoaObjectReference :: Lens' UpdateObjectAttributes ObjectReference Source #
The reference that identifies the object.
uoaAttributeUpdates :: Lens' UpdateObjectAttributes [ObjectAttributeUpdate] Source #
The attributes update structure.
Destructuring the Response
updateObjectAttributesResponse Source #
Arguments
| :: Int | |
| -> UpdateObjectAttributesResponse |
Creates a value of UpdateObjectAttributesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uoarsObjectIdentifier- TheObjectIdentifierof the updated object.uoarsResponseStatus- -- | The response status code.
data UpdateObjectAttributesResponse Source #
See: updateObjectAttributesResponse smart constructor.
Instances
Response Lenses
uoarsObjectIdentifier :: Lens' UpdateObjectAttributesResponse (Maybe Text) Source #
The ObjectIdentifier of the updated object.
uoarsResponseStatus :: Lens' UpdateObjectAttributesResponse Int Source #
- - | The response status code.