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 |
Creates a TypedLinkFacet. For more information, see Typed Links.
Synopsis
- data CreateTypedLinkFacet = CreateTypedLinkFacet' {
- schemaArn :: Text
- facet :: TypedLinkFacet
- newCreateTypedLinkFacet :: Text -> TypedLinkFacet -> CreateTypedLinkFacet
- createTypedLinkFacet_schemaArn :: Lens' CreateTypedLinkFacet Text
- createTypedLinkFacet_facet :: Lens' CreateTypedLinkFacet TypedLinkFacet
- data CreateTypedLinkFacetResponse = CreateTypedLinkFacetResponse' {
- httpStatus :: Int
- newCreateTypedLinkFacetResponse :: Int -> CreateTypedLinkFacetResponse
- createTypedLinkFacetResponse_httpStatus :: Lens' CreateTypedLinkFacetResponse Int
Creating a Request
data CreateTypedLinkFacet Source #
See: newCreateTypedLinkFacet
smart constructor.
CreateTypedLinkFacet' | |
|
Instances
newCreateTypedLinkFacet Source #
Create a value of CreateTypedLinkFacet
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:CreateTypedLinkFacet'
, createTypedLinkFacet_schemaArn
- The Amazon Resource Name (ARN) that is associated with the schema. For
more information, see arns.
$sel:facet:CreateTypedLinkFacet'
, createTypedLinkFacet_facet
- Facet structure that is associated with the typed link facet.
Request Lenses
createTypedLinkFacet_schemaArn :: Lens' CreateTypedLinkFacet Text Source #
The Amazon Resource Name (ARN) that is associated with the schema. For more information, see arns.
createTypedLinkFacet_facet :: Lens' CreateTypedLinkFacet TypedLinkFacet Source #
Facet structure that is associated with the typed link facet.
Destructuring the Response
data CreateTypedLinkFacetResponse Source #
See: newCreateTypedLinkFacetResponse
smart constructor.
CreateTypedLinkFacetResponse' | |
|
Instances
newCreateTypedLinkFacetResponse Source #
Create a value of CreateTypedLinkFacetResponse
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:CreateTypedLinkFacetResponse'
, createTypedLinkFacetResponse_httpStatus
- The response's http status code.
Response Lenses
createTypedLinkFacetResponse_httpStatus :: Lens' CreateTypedLinkFacetResponse Int Source #
The response's http status code.