| 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.CreateTypedLinkFacet
Description
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.
Constructors
| CreateTypedLinkFacet' | |
Fields
| |
Instances
newCreateTypedLinkFacet Source #
Arguments
| :: Text | |
| -> TypedLinkFacet | |
| -> CreateTypedLinkFacet |
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:
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.
Constructors
| CreateTypedLinkFacetResponse' | |
Fields
| |
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.