| 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.DeleteObject
Description
Deletes an object and its associated attributes. Only objects with no children and no parents can be deleted.
Creating a Request
Arguments
| :: Text | |
| -> ObjectReference | |
| -> DeleteObject |
Creates a value of DeleteObject with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
doDirectoryARN- The Amazon Resource Name (ARN) that is associated with theDirectorywhere the object resides. For more information, seearns.doObjectReference- A reference that identifies the object.
data DeleteObject Source #
See: deleteObject smart constructor.
Instances
Request Lenses
doDirectoryARN :: Lens' DeleteObject Text Source #
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns .
doObjectReference :: Lens' DeleteObject ObjectReference Source #
A reference that identifies the object.
Destructuring the Response
Arguments
| :: Int | |
| -> DeleteObjectResponse |
Creates a value of DeleteObjectResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dorsResponseStatus- -- | The response status code.
data DeleteObjectResponse Source #
See: deleteObjectResponse smart constructor.
Response Lenses
dorsResponseStatus :: Lens' DeleteObjectResponse Int Source #
- - | The response status code.