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.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 # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

Data AttachToIndex Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

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 # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

Show AttachToIndex Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

Generic AttachToIndex Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

Associated Types

type Rep AttachToIndex :: Type -> Type #

Hashable AttachToIndex Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

ToJSON AttachToIndex Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

AWSRequest AttachToIndex Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

Associated Types

type Rs AttachToIndex :: Type #

ToHeaders AttachToIndex Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

ToPath AttachToIndex Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

ToQuery AttachToIndex Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

NFData AttachToIndex Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

Methods

rnf :: AttachToIndex -> () #

type Rep AttachToIndex Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

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

Defined in Network.AWS.CloudDirectory.AttachToIndex

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 # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

Data AttachToIndexResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

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 # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

Show AttachToIndexResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

Generic AttachToIndexResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

Associated Types

type Rep AttachToIndexResponse :: Type -> Type #

NFData AttachToIndexResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

Methods

rnf :: AttachToIndexResponse -> () #

type Rep AttachToIndexResponse Source # 
Instance details

Defined in Network.AWS.CloudDirectory.AttachToIndex

type Rep AttachToIndexResponse = D1 (MetaData "AttachToIndexResponse" "Network.AWS.CloudDirectory.AttachToIndex" "amazonka-clouddirectory-1.6.1-JrYxtgIzVKD25mU0ZgOTPe" False) (C1 (MetaCons "AttachToIndexResponse'" PrefixI True) (S1 (MetaSel (Just "_atirsAttachedObjectIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.