Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- detachObject :: Text -> ObjectReference -> Text -> DetachObject
- data DetachObject
- detDirectoryARN :: Lens' DetachObject Text
- detParentReference :: Lens' DetachObject ObjectReference
- detLinkName :: Lens' DetachObject Text
- detachObjectResponse :: Int -> DetachObjectResponse
- data DetachObjectResponse
- detrsDetachedObjectIdentifier :: Lens' DetachObjectResponse (Maybe Text)
- detrsResponseStatus :: Lens' DetachObjectResponse Int
Creating a Request
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 theDirectory
where objects reside. For more information, seearns
.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
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
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:
detrsDetachedObjectIdentifier
- TheObjectIdentifier
that was detached from the object.detrsResponseStatus
- -- | The response status code.
data DetachObjectResponse Source #
See: detachObjectResponse
smart constructor.
Instances
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.