Copyright | (c) 2013-2021 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 |
Removes the specified facet from the specified object.
Synopsis
- data RemoveFacetFromObject = RemoveFacetFromObject' {}
- newRemoveFacetFromObject :: Text -> SchemaFacet -> ObjectReference -> RemoveFacetFromObject
- removeFacetFromObject_directoryArn :: Lens' RemoveFacetFromObject Text
- removeFacetFromObject_schemaFacet :: Lens' RemoveFacetFromObject SchemaFacet
- removeFacetFromObject_objectReference :: Lens' RemoveFacetFromObject ObjectReference
- data RemoveFacetFromObjectResponse = RemoveFacetFromObjectResponse' {
- httpStatus :: Int
- newRemoveFacetFromObjectResponse :: Int -> RemoveFacetFromObjectResponse
- removeFacetFromObjectResponse_httpStatus :: Lens' RemoveFacetFromObjectResponse Int
Creating a Request
data RemoveFacetFromObject Source #
See: newRemoveFacetFromObject
smart constructor.
RemoveFacetFromObject' | |
|
Instances
newRemoveFacetFromObject Source #
Create a value of RemoveFacetFromObject
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:
$sel:directoryArn:RemoveFacetFromObject'
, removeFacetFromObject_directoryArn
- The ARN of the directory in which the object resides.
$sel:schemaFacet:RemoveFacetFromObject'
, removeFacetFromObject_schemaFacet
- The facet to remove. See SchemaFacet for details.
$sel:objectReference:RemoveFacetFromObject'
, removeFacetFromObject_objectReference
- A reference to the object to remove the facet from.
Request Lenses
removeFacetFromObject_directoryArn :: Lens' RemoveFacetFromObject Text Source #
The ARN of the directory in which the object resides.
removeFacetFromObject_schemaFacet :: Lens' RemoveFacetFromObject SchemaFacet Source #
The facet to remove. See SchemaFacet for details.
removeFacetFromObject_objectReference :: Lens' RemoveFacetFromObject ObjectReference Source #
A reference to the object to remove the facet from.
Destructuring the Response
data RemoveFacetFromObjectResponse Source #
See: newRemoveFacetFromObjectResponse
smart constructor.
RemoveFacetFromObjectResponse' | |
|
Instances
newRemoveFacetFromObjectResponse Source #
Create a value of RemoveFacetFromObjectResponse
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:
$sel:httpStatus:RemoveFacetFromObjectResponse'
, removeFacetFromObjectResponse_httpStatus
- The response's http status code.
Response Lenses
removeFacetFromObjectResponse_httpStatus :: Lens' RemoveFacetFromObjectResponse Int Source #
The response's http status code.