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.UpdateFacet

Contents

Description

Does the following:

  • Adds new Attributes , Rules , or ObjectTypes .
  • Updates existing Attributes , Rules , or ObjectTypes .
  • Deletes existing Attributes , Rules , or ObjectTypes .
Synopsis

Creating a Request

updateFacet Source #

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

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

  • ufObjectType - The object type that is associated with the facet. See 'CreateFacetRequest$ObjectType' for more details.
  • ufAttributeUpdates - List of attributes that need to be updated in a given schema Facet . Each attribute is followed by AttributeAction , which specifies the type of update operation to perform.
  • ufSchemaARN - The Amazon Resource Name (ARN) that is associated with the Facet . For more information, see arns .
  • ufName - The name of the facet.

data UpdateFacet Source #

See: updateFacet smart constructor.

Instances
Eq UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Data UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Methods

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

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

toConstr :: UpdateFacet -> Constr #

dataTypeOf :: UpdateFacet -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Show UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Generic UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Associated Types

type Rep UpdateFacet :: Type -> Type #

Hashable UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

ToJSON UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

AWSRequest UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Associated Types

type Rs UpdateFacet :: Type #

ToHeaders UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Methods

toHeaders :: UpdateFacet -> [Header] #

ToPath UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

ToQuery UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

NFData UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Methods

rnf :: UpdateFacet -> () #

type Rep UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

type Rep UpdateFacet = D1 (MetaData "UpdateFacet" "Network.AWS.CloudDirectory.UpdateFacet" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "UpdateFacet'" PrefixI True) ((S1 (MetaSel (Just "_ufObjectType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ObjectType)) :*: S1 (MetaSel (Just "_ufAttributeUpdates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FacetAttributeUpdate]))) :*: (S1 (MetaSel (Just "_ufSchemaARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ufName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateFacet Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Request Lenses

ufObjectType :: Lens' UpdateFacet (Maybe ObjectType) Source #

The object type that is associated with the facet. See 'CreateFacetRequest$ObjectType' for more details.

ufAttributeUpdates :: Lens' UpdateFacet [FacetAttributeUpdate] Source #

List of attributes that need to be updated in a given schema Facet . Each attribute is followed by AttributeAction , which specifies the type of update operation to perform.

ufSchemaARN :: Lens' UpdateFacet Text Source #

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

ufName :: Lens' UpdateFacet Text Source #

The name of the facet.

Destructuring the Response

updateFacetResponse Source #

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

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

data UpdateFacetResponse Source #

See: updateFacetResponse smart constructor.

Instances
Eq UpdateFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Data UpdateFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Methods

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

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

toConstr :: UpdateFacetResponse -> Constr #

dataTypeOf :: UpdateFacetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Show UpdateFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Generic UpdateFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Associated Types

type Rep UpdateFacetResponse :: Type -> Type #

NFData UpdateFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

Methods

rnf :: UpdateFacetResponse -> () #

type Rep UpdateFacetResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.UpdateFacet

type Rep UpdateFacetResponse = D1 (MetaData "UpdateFacetResponse" "Network.AWS.CloudDirectory.UpdateFacet" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" True) (C1 (MetaCons "UpdateFacetResponse'" PrefixI True) (S1 (MetaSel (Just "_ufrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

ufrsResponseStatus :: Lens' UpdateFacetResponse Int Source #

  • - | The response status code.