amazonka-clouddirectory-1.6.0: 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.UpdateObjectAttributes

Contents

Description

Updates a given object's attributes.

Synopsis

Creating a Request

updateObjectAttributes Source #

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

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

data UpdateObjectAttributes Source #

See: updateObjectAttributes smart constructor.

Instances

Eq UpdateObjectAttributes Source # 
Data UpdateObjectAttributes Source # 

Methods

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

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

toConstr :: UpdateObjectAttributes -> Constr #

dataTypeOf :: UpdateObjectAttributes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateObjectAttributes Source # 
Show UpdateObjectAttributes Source # 
Generic UpdateObjectAttributes Source # 
Hashable UpdateObjectAttributes Source # 
ToJSON UpdateObjectAttributes Source # 
NFData UpdateObjectAttributes Source # 

Methods

rnf :: UpdateObjectAttributes -> () #

AWSRequest UpdateObjectAttributes Source # 
ToHeaders UpdateObjectAttributes Source # 
ToPath UpdateObjectAttributes Source # 
ToQuery UpdateObjectAttributes Source # 
type Rep UpdateObjectAttributes Source # 
type Rep UpdateObjectAttributes = D1 * (MetaData "UpdateObjectAttributes" "Network.AWS.CloudDirectory.UpdateObjectAttributes" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "UpdateObjectAttributes'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uoaDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_uoaObjectReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ObjectReference)) (S1 * (MetaSel (Just Symbol "_uoaAttributeUpdates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * [ObjectAttributeUpdate])))))
type Rs UpdateObjectAttributes Source # 

Request Lenses

uoaDirectoryARN :: Lens' UpdateObjectAttributes Text Source #

The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns .

uoaObjectReference :: Lens' UpdateObjectAttributes ObjectReference Source #

The reference that identifies the object.

Destructuring the Response

updateObjectAttributesResponse Source #

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

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

data UpdateObjectAttributesResponse Source #

See: updateObjectAttributesResponse smart constructor.

Instances

Eq UpdateObjectAttributesResponse Source # 
Data UpdateObjectAttributesResponse Source # 

Methods

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

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

toConstr :: UpdateObjectAttributesResponse -> Constr #

dataTypeOf :: UpdateObjectAttributesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateObjectAttributesResponse Source # 
Show UpdateObjectAttributesResponse Source # 
Generic UpdateObjectAttributesResponse Source # 
NFData UpdateObjectAttributesResponse Source # 
type Rep UpdateObjectAttributesResponse Source # 
type Rep UpdateObjectAttributesResponse = D1 * (MetaData "UpdateObjectAttributesResponse" "Network.AWS.CloudDirectory.UpdateObjectAttributes" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "UpdateObjectAttributesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_uoarsObjectIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uoarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

uoarsObjectIdentifier :: Lens' UpdateObjectAttributesResponse (Maybe Text) Source #

The ObjectIdentifier of the updated object.