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 |
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.
Instances
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:
$sel:schemaArn:DeleteFacet'
, deleteFacet_schemaArn
- The Amazon Resource Name (ARN) that is associated with the Facet. For
more information, see arns.
$sel:name: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.
DeleteFacetResponse' | |
|
Instances
newDeleteFacetResponse Source #
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.