| 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.DetachFromIndex
Description
Detaches the specified object from the specified index.
Synopsis
- data DetachFromIndex = DetachFromIndex' {}
- newDetachFromIndex :: Text -> ObjectReference -> ObjectReference -> DetachFromIndex
- detachFromIndex_directoryArn :: Lens' DetachFromIndex Text
- detachFromIndex_indexReference :: Lens' DetachFromIndex ObjectReference
- detachFromIndex_targetReference :: Lens' DetachFromIndex ObjectReference
- data DetachFromIndexResponse = DetachFromIndexResponse' {}
- newDetachFromIndexResponse :: Int -> DetachFromIndexResponse
- detachFromIndexResponse_detachedObjectIdentifier :: Lens' DetachFromIndexResponse (Maybe Text)
- detachFromIndexResponse_httpStatus :: Lens' DetachFromIndexResponse Int
Creating a Request
data DetachFromIndex Source #
See: newDetachFromIndex smart constructor.
Constructors
| DetachFromIndex' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ObjectReference | |
| -> ObjectReference | |
| -> DetachFromIndex |
Create a value of DetachFromIndex 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:
DetachFromIndex, detachFromIndex_directoryArn - The Amazon Resource Name (ARN) of the directory the index and object
exist in.
DetachFromIndex, detachFromIndex_indexReference - A reference to the index object.
DetachFromIndex, detachFromIndex_targetReference - A reference to the object being detached from the index.
Request Lenses
detachFromIndex_directoryArn :: Lens' DetachFromIndex Text Source #
The Amazon Resource Name (ARN) of the directory the index and object exist in.
detachFromIndex_indexReference :: Lens' DetachFromIndex ObjectReference Source #
A reference to the index object.
detachFromIndex_targetReference :: Lens' DetachFromIndex ObjectReference Source #
A reference to the object being detached from the index.
Destructuring the Response
data DetachFromIndexResponse Source #
See: newDetachFromIndexResponse smart constructor.
Constructors
| DetachFromIndexResponse' | |
Fields
| |
Instances
newDetachFromIndexResponse Source #
Create a value of DetachFromIndexResponse 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:
DetachFromIndexResponse, detachFromIndexResponse_detachedObjectIdentifier - The ObjectIdentifier of the object that was detached from the index.
$sel:httpStatus:DetachFromIndexResponse', detachFromIndexResponse_httpStatus - The response's http status code.
Response Lenses
detachFromIndexResponse_detachedObjectIdentifier :: Lens' DetachFromIndexResponse (Maybe Text) Source #
The ObjectIdentifier of the object that was detached from the index.
detachFromIndexResponse_httpStatus :: Lens' DetachFromIndexResponse Int Source #
The response's http status code.