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 |
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:
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
Generic CreateTypedLinkFacetResponse Source # | |
Read CreateTypedLinkFacetResponse Source # | |
Show CreateTypedLinkFacetResponse Source # | |
Defined in Amazonka.CloudDirectory.CreateTypedLinkFacet showsPrec :: Int -> CreateTypedLinkFacetResponse -> ShowS # show :: CreateTypedLinkFacetResponse -> String # showList :: [CreateTypedLinkFacetResponse] -> ShowS # | |
NFData CreateTypedLinkFacetResponse Source # | |
Defined in Amazonka.CloudDirectory.CreateTypedLinkFacet rnf :: CreateTypedLinkFacetResponse -> () # | |
Eq CreateTypedLinkFacetResponse Source # | |
type Rep CreateTypedLinkFacetResponse Source # | |
Defined in Amazonka.CloudDirectory.CreateTypedLinkFacet type Rep CreateTypedLinkFacetResponse = D1 ('MetaData "CreateTypedLinkFacetResponse" "Amazonka.CloudDirectory.CreateTypedLinkFacet" "amazonka-clouddirectory-2.0-JYRSwrX5Vm289hhbSwe2zQ" 'False) (C1 ('MetaCons "CreateTypedLinkFacetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.