amazonka-clouddirectory-1.5.0: Amazon CloudDirectory SDK.

Copyright(c) 2013-2017 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.AttachToIndex

Contents

Description

Attaches the specified object to the specified index.

Synopsis

Creating a Request

attachToIndex Source #

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

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

  • atiDirectoryARN - The Amazon Resource Name (ARN) of the directory where the object and index exist.
  • atiIndexReference - A reference to the index that you are attaching the object to.
  • atiTargetReference - A reference to the object that you are attaching to the index.

data AttachToIndex Source #

See: attachToIndex smart constructor.

Instances

Eq AttachToIndex Source # 
Data AttachToIndex Source # 

Methods

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

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

toConstr :: AttachToIndex -> Constr #

dataTypeOf :: AttachToIndex -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachToIndex Source # 
Show AttachToIndex Source # 
Generic AttachToIndex Source # 

Associated Types

type Rep AttachToIndex :: * -> * #

Hashable AttachToIndex Source # 
ToJSON AttachToIndex Source # 
NFData AttachToIndex Source # 

Methods

rnf :: AttachToIndex -> () #

AWSRequest AttachToIndex Source # 
ToQuery AttachToIndex Source # 
ToPath AttachToIndex Source # 
ToHeaders AttachToIndex Source # 
type Rep AttachToIndex Source # 
type Rep AttachToIndex = D1 (MetaData "AttachToIndex" "Network.AWS.CloudDirectory.AttachToIndex" "amazonka-clouddirectory-1.5.0-4g2rtj0PtNBHCN8G8qmiXW" False) (C1 (MetaCons "AttachToIndex'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_atiDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_atiIndexReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectReference)) (S1 (MetaSel (Just Symbol "_atiTargetReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ObjectReference)))))
type Rs AttachToIndex Source # 

Request Lenses

atiDirectoryARN :: Lens' AttachToIndex Text Source #

The Amazon Resource Name (ARN) of the directory where the object and index exist.

atiIndexReference :: Lens' AttachToIndex ObjectReference Source #

A reference to the index that you are attaching the object to.

atiTargetReference :: Lens' AttachToIndex ObjectReference Source #

A reference to the object that you are attaching to the index.

Destructuring the Response

attachToIndexResponse Source #

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

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

data AttachToIndexResponse Source #

See: attachToIndexResponse smart constructor.

Instances

Eq AttachToIndexResponse Source # 
Data AttachToIndexResponse Source # 

Methods

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

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

toConstr :: AttachToIndexResponse -> Constr #

dataTypeOf :: AttachToIndexResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AttachToIndexResponse Source # 
Show AttachToIndexResponse Source # 
Generic AttachToIndexResponse Source # 
NFData AttachToIndexResponse Source # 

Methods

rnf :: AttachToIndexResponse -> () #

type Rep AttachToIndexResponse Source # 
type Rep AttachToIndexResponse = D1 (MetaData "AttachToIndexResponse" "Network.AWS.CloudDirectory.AttachToIndex" "amazonka-clouddirectory-1.5.0-4g2rtj0PtNBHCN8G8qmiXW" False) (C1 (MetaCons "AttachToIndexResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_atirsAttachedObjectIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_atirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

atirsAttachedObjectIdentifier :: Lens' AttachToIndexResponse (Maybe Text) Source #

The ObjectIdentifier of the object that was attached to the index.

atirsResponseStatus :: Lens' AttachToIndexResponse Int Source #

  • - | The response status code.