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 |
Restores an archived copy of an object back into Amazon S3
Synopsis
- 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)
- rorsRestoreOutputPath :: Lens' RestoreObjectResponse (Maybe Text)
- 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.
Instances
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.rorsRestoreOutputPath
- Indicates the path in the provided S3 output location where Select results will be restored to.rorsResponseStatus
- -- | The response status code.
data RestoreObjectResponse Source #
See: restoreObjectResponse
smart constructor.
Instances
Response Lenses
rorsRequestCharged :: Lens' RestoreObjectResponse (Maybe RequestCharged) Source #
Undocumented member.
rorsRestoreOutputPath :: Lens' RestoreObjectResponse (Maybe Text) Source #
Indicates the path in the provided S3 output location where Select results will be restored to.
rorsResponseStatus :: Lens' RestoreObjectResponse Int Source #
- - | The response status code.