| 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.DeleteFacet
Description
Deletes a given Facet. All attributes and Rules that are associated with the facet will be deleted. Only development schema facets are allowed deletion.
Synopsis
- data DeleteFacet = DeleteFacet' {}
- newDeleteFacet :: Text -> Text -> DeleteFacet
- deleteFacet_schemaArn :: Lens' DeleteFacet Text
- deleteFacet_name :: Lens' DeleteFacet Text
- data DeleteFacetResponse = DeleteFacetResponse' {
- httpStatus :: Int
- newDeleteFacetResponse :: Int -> DeleteFacetResponse
- deleteFacetResponse_httpStatus :: Lens' DeleteFacetResponse Int
Creating a Request
data DeleteFacet Source #
See: newDeleteFacet smart constructor.
Constructors
| DeleteFacet' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteFacet |
Create a value of DeleteFacet 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:
DeleteFacet, deleteFacet_schemaArn - The Amazon Resource Name (ARN) that is associated with the Facet. For
more information, see arns.
DeleteFacet, deleteFacet_name - The name of the facet to delete.
Request Lenses
deleteFacet_schemaArn :: Lens' DeleteFacet Text Source #
The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.
deleteFacet_name :: Lens' DeleteFacet Text Source #
The name of the facet to delete.
Destructuring the Response
data DeleteFacetResponse Source #
See: newDeleteFacetResponse smart constructor.
Constructors
| DeleteFacetResponse' | |
Fields
| |
Instances
newDeleteFacetResponse Source #
Arguments
| :: Int | |
| -> DeleteFacetResponse |
Create a value of DeleteFacetResponse 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:DeleteFacetResponse', deleteFacetResponse_httpStatus - The response's http status code.
Response Lenses
deleteFacetResponse_httpStatus :: Lens' DeleteFacetResponse Int Source #
The response's http status code.