| 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.GetFacet
Description
Gets details of the Facet, such as facet name, attributes, Rules, or
ObjectType. You can call this on all kinds of schema facets --
published, development, or applied.
Synopsis
- data GetFacet = GetFacet' {}
- newGetFacet :: Text -> Text -> GetFacet
- getFacet_schemaArn :: Lens' GetFacet Text
- getFacet_name :: Lens' GetFacet Text
- data GetFacetResponse = GetFacetResponse' {
- facet :: Maybe Facet
- httpStatus :: Int
- newGetFacetResponse :: Int -> GetFacetResponse
- getFacetResponse_facet :: Lens' GetFacetResponse (Maybe Facet)
- getFacetResponse_httpStatus :: Lens' GetFacetResponse Int
Creating a Request
See: newGetFacet smart constructor.
Constructors
| GetFacet' | |
Instances
Create a value of GetFacet 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:
GetFacet, getFacet_schemaArn - The Amazon Resource Name (ARN) that is associated with the Facet. For
more information, see arns.
GetFacet, getFacet_name - The name of the facet to retrieve.
Request Lenses
getFacet_schemaArn :: Lens' GetFacet Text Source #
The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.
Destructuring the Response
data GetFacetResponse Source #
See: newGetFacetResponse smart constructor.
Constructors
| GetFacetResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> GetFacetResponse |
Create a value of GetFacetResponse 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:facet:GetFacetResponse', getFacetResponse_facet - The Facet structure that is associated with the facet.
$sel:httpStatus:GetFacetResponse', getFacetResponse_httpStatus - The response's http status code.
Response Lenses
getFacetResponse_facet :: Lens' GetFacetResponse (Maybe Facet) Source #
The Facet structure that is associated with the facet.
getFacetResponse_httpStatus :: Lens' GetFacetResponse Int Source #
The response's http status code.