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 |
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.
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:
$sel:schemaArn:GetFacet'
, getFacet_schemaArn
- The Amazon Resource Name (ARN) that is associated with the Facet. For
more information, see arns.
$sel:name: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.
GetFacetResponse' | |
|
Instances
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.