amazonka-clouddirectory-1.6.1: Amazon CloudDirectory SDK.

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

Network.AWS.CloudDirectory.GetFacet

Contents

Description

Gets details of the Facet , such as facet name, attributes, Rule s, or ObjectType . You can call this on all kinds of schema facets -- published, development, or applied.

Synopsis

Creating a Request

getFacet Source #

Creates a value of GetFacet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • gfSchemaARN - The Amazon Resource Name (ARN) that is associated with the Facet . For more information, see arns .
  • gfName - The name of the facet to retrieve.

data GetFacet Source #

See: getFacet smart constructor.

Instances
Eq GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Data GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetFacet -> c GetFacet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetFacet #

toConstr :: GetFacet -> Constr #

dataTypeOf :: GetFacet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetFacet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetFacet) #

gmapT :: (forall b. Data b => b -> b) -> GetFacet -> GetFacet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetFacet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetFacet -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetFacet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetFacet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetFacet -> m GetFacet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetFacet -> m GetFacet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetFacet -> m GetFacet #

Read GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Show GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Generic GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Associated Types

type Rep GetFacet :: Type -> Type #

Methods

from :: GetFacet -> Rep GetFacet x #

to :: Rep GetFacet x -> GetFacet #

Hashable GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Methods

hashWithSalt :: Int -> GetFacet -> Int #

hash :: GetFacet -> Int #

ToJSON GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

AWSRequest GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Associated Types

type Rs GetFacet :: Type #

ToHeaders GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Methods

toHeaders :: GetFacet -> [Header] #

ToPath GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

ToQuery GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

NFData GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Methods

rnf :: GetFacet -> () #

type Rep GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

type Rep GetFacet = D1 (MetaData "GetFacet" "Network.AWS.CloudDirectory.GetFacet" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "GetFacet'" PrefixI True) (S1 (MetaSel (Just "_gfSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gfName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs GetFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Request Lenses

gfSchemaARN :: Lens' GetFacet Text Source #

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

gfName :: Lens' GetFacet Text Source #

The name of the facet to retrieve.

Destructuring the Response

getFacetResponse Source #

Creates a value of GetFacetResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data GetFacetResponse Source #

See: getFacetResponse smart constructor.

Instances
Eq GetFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Data GetFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetFacetResponse -> c GetFacetResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetFacetResponse #

toConstr :: GetFacetResponse -> Constr #

dataTypeOf :: GetFacetResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetFacetResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetFacetResponse) #

gmapT :: (forall b. Data b => b -> b) -> GetFacetResponse -> GetFacetResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetFacetResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetFacetResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetFacetResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetFacetResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetFacetResponse -> m GetFacetResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetFacetResponse -> m GetFacetResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetFacetResponse -> m GetFacetResponse #

Read GetFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Show GetFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Generic GetFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Associated Types

type Rep GetFacetResponse :: Type -> Type #

NFData GetFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

Methods

rnf :: GetFacetResponse -> () #

type Rep GetFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.GetFacet

type Rep GetFacetResponse = D1 (MetaData "GetFacetResponse" "Network.AWS.CloudDirectory.GetFacet" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "GetFacetResponse'" PrefixI True) (S1 (MetaSel (Just "_gfrsFacet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Facet)) :*: S1 (MetaSel (Just "_gfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

gfrsFacet :: Lens' GetFacetResponse (Maybe Facet) Source #

The Facet structure that is associated with the facet.

gfrsResponseStatus :: Lens' GetFacetResponse Int Source #

  • - | The response status code.