libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

Creating a Request

data GetFacet Source #

See: newGetFacet smart constructor.

Constructors

GetFacet' 

Fields

  • schemaArn :: Text

    The Amazon Resource Name (ARN) that is associated with the Facet. For more information, see arns.

  • name :: Text

    The name of the facet to retrieve.

Instances

Instances details
Eq GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Read GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Show GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Generic GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Associated Types

type Rep GetFacet :: Type -> Type #

Methods

from :: GetFacet -> Rep GetFacet x #

to :: Rep GetFacet x -> GetFacet #

NFData GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Methods

rnf :: GetFacet -> () #

Hashable GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Methods

hashWithSalt :: Int -> GetFacet -> Int #

hash :: GetFacet -> Int #

ToJSON GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

AWSRequest GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Associated Types

type AWSResponse GetFacet #

ToHeaders GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Methods

toHeaders :: GetFacet -> [Header] #

ToPath GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

ToQuery GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

type Rep GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

type Rep GetFacet = D1 ('MetaData "GetFacet" "Amazonka.CloudDirectory.GetFacet" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "GetFacet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "schemaArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetFacet Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

newGetFacet Source #

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.

getFacet_name :: Lens' GetFacet Text Source #

The name of the facet to retrieve.

Destructuring the Response

data GetFacetResponse Source #

See: newGetFacetResponse smart constructor.

Constructors

GetFacetResponse' 

Fields

Instances

Instances details
Eq GetFacetResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Read GetFacetResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Show GetFacetResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Generic GetFacetResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Associated Types

type Rep GetFacetResponse :: Type -> Type #

NFData GetFacetResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

Methods

rnf :: GetFacetResponse -> () #

type Rep GetFacetResponse Source # 
Instance details

Defined in Amazonka.CloudDirectory.GetFacet

type Rep GetFacetResponse = D1 ('MetaData "GetFacetResponse" "Amazonka.CloudDirectory.GetFacet" "libZSservicesZSamazonka-clouddirectoryZSamazonka-clouddirectory" 'False) (C1 ('MetaCons "GetFacetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "facet") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Facet)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetFacetResponse Source #

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.