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

Contents

Description

Detaches a given object from the parent object. The object that is to be detached from the parent is specified by the link name.

Synopsis

Creating a Request

detachObject Source #

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

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

  • detDirectoryARN - The Amazon Resource Name (ARN) that is associated with the Directory where objects reside. For more information, see arns .
  • detParentReference - The parent reference from which the object with the specified link name is detached.
  • detLinkName - The link name associated with the object that needs to be detached.

data DetachObject Source #

See: detachObject smart constructor.

Instances

Eq DetachObject Source # 
Data DetachObject Source # 

Methods

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

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

toConstr :: DetachObject -> Constr #

dataTypeOf :: DetachObject -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DetachObject Source # 
Show DetachObject Source # 
Generic DetachObject Source # 

Associated Types

type Rep DetachObject :: * -> * #

Hashable DetachObject Source # 
ToJSON DetachObject Source # 
NFData DetachObject Source # 

Methods

rnf :: DetachObject -> () #

AWSRequest DetachObject Source # 
ToHeaders DetachObject Source # 
ToPath DetachObject Source # 
ToQuery DetachObject Source # 
type Rep DetachObject Source # 
type Rep DetachObject = D1 * (MetaData "DetachObject" "Network.AWS.CloudDirectory.DetachObject" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "DetachObject'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_detDirectoryARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_detParentReference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ObjectReference)) (S1 * (MetaSel (Just Symbol "_detLinkName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs DetachObject Source # 

Request Lenses

detDirectoryARN :: Lens' DetachObject Text Source #

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

detParentReference :: Lens' DetachObject ObjectReference Source #

The parent reference from which the object with the specified link name is detached.

detLinkName :: Lens' DetachObject Text Source #

The link name associated with the object that needs to be detached.

Destructuring the Response

detachObjectResponse Source #

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

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

data DetachObjectResponse Source #

See: detachObjectResponse smart constructor.

Instances

Eq DetachObjectResponse Source # 
Data DetachObjectResponse Source # 

Methods

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

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

toConstr :: DetachObjectResponse -> Constr #

dataTypeOf :: DetachObjectResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DetachObjectResponse Source # 
Show DetachObjectResponse Source # 
Generic DetachObjectResponse Source # 
NFData DetachObjectResponse Source # 

Methods

rnf :: DetachObjectResponse -> () #

type Rep DetachObjectResponse Source # 
type Rep DetachObjectResponse = D1 * (MetaData "DetachObjectResponse" "Network.AWS.CloudDirectory.DetachObject" "amazonka-clouddirectory-1.6.0-8IFjLCYNMx175Dinq6Lqlq" False) (C1 * (MetaCons "DetachObjectResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_detrsDetachedObjectIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_detrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

detrsDetachedObjectIdentifier :: Lens' DetachObjectResponse (Maybe Text) Source #

The ObjectIdentifier that was detached from the object.

detrsResponseStatus :: Lens' DetachObjectResponse Int Source #

  • - | The response status code.