Copyright | (c) 2013-2017 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 |
Restores an archived copy of an object back into Amazon S3
- restoreObject :: BucketName -> ObjectKey -> RestoreObject
- data RestoreObject
- roVersionId :: Lens' RestoreObject (Maybe ObjectVersionId)
- roRequestPayer :: Lens' RestoreObject (Maybe RequestPayer)
- roRestoreRequest :: Lens' RestoreObject (Maybe RestoreRequest)
- roBucket :: Lens' RestoreObject BucketName
- roKey :: Lens' RestoreObject ObjectKey
- restoreObjectResponse :: Int -> RestoreObjectResponse
- data RestoreObjectResponse
- rorsRequestCharged :: Lens' RestoreObjectResponse (Maybe RequestCharged)
- rorsResponseStatus :: Lens' RestoreObjectResponse Int
Creating a Request
Creates a value of RestoreObject
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
roVersionId
- Undocumented member.roRequestPayer
- Undocumented member.roRestoreRequest
- Undocumented member.roBucket
- Undocumented member.roKey
- Undocumented member.
data RestoreObject Source #
See: restoreObject
smart constructor.
Request Lenses
roVersionId :: Lens' RestoreObject (Maybe ObjectVersionId) Source #
Undocumented member.
roRequestPayer :: Lens' RestoreObject (Maybe RequestPayer) Source #
Undocumented member.
roRestoreRequest :: Lens' RestoreObject (Maybe RestoreRequest) Source #
Undocumented member.
roBucket :: Lens' RestoreObject BucketName Source #
Undocumented member.
Destructuring the Response
restoreObjectResponse Source #
Creates a value of RestoreObjectResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rorsRequestCharged
- Undocumented member.rorsResponseStatus
- -- | The response status code.
data RestoreObjectResponse Source #
See: restoreObjectResponse
smart constructor.
Response Lenses
rorsRequestCharged :: Lens' RestoreObjectResponse (Maybe RequestCharged) Source #
Undocumented member.
rorsResponseStatus :: Lens' RestoreObjectResponse Int Source #
- - | The response status code.