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 |
Detaches the specified object from the specified index.
Synopsis
- detachFromIndex :: Text -> ObjectReference -> ObjectReference -> DetachFromIndex
- data DetachFromIndex
- dfiDirectoryARN :: Lens' DetachFromIndex Text
- dfiIndexReference :: Lens' DetachFromIndex ObjectReference
- dfiTargetReference :: Lens' DetachFromIndex ObjectReference
- detachFromIndexResponse :: Int -> DetachFromIndexResponse
- data DetachFromIndexResponse
- dfirsDetachedObjectIdentifier :: Lens' DetachFromIndexResponse (Maybe Text)
- dfirsResponseStatus :: Lens' DetachFromIndexResponse Int
Creating a Request
Creates a value of DetachFromIndex
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dfiDirectoryARN
- The Amazon Resource Name (ARN) of the directory the index and object exist in.dfiIndexReference
- A reference to the index object.dfiTargetReference
- A reference to the object being detached from the index.
data DetachFromIndex Source #
See: detachFromIndex
smart constructor.
Instances
Request Lenses
dfiDirectoryARN :: Lens' DetachFromIndex Text Source #
The Amazon Resource Name (ARN) of the directory the index and object exist in.
dfiIndexReference :: Lens' DetachFromIndex ObjectReference Source #
A reference to the index object.
dfiTargetReference :: Lens' DetachFromIndex ObjectReference Source #
A reference to the object being detached from the index.
Destructuring the Response
detachFromIndexResponse Source #
Creates a value of DetachFromIndexResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dfirsDetachedObjectIdentifier
- TheObjectIdentifier
of the object that was detached from the index.dfirsResponseStatus
- -- | The response status code.
data DetachFromIndexResponse Source #
See: detachFromIndexResponse
smart constructor.
Instances
Response Lenses
dfirsDetachedObjectIdentifier :: Lens' DetachFromIndexResponse (Maybe Text) Source #
The ObjectIdentifier
of the object that was detached from the index.
dfirsResponseStatus :: Lens' DetachFromIndexResponse Int Source #
- - | The response status code.