amazonka-s3-1.6.0: Amazon Simple Storage Service 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.S3.RestoreObject

Contents

Description

Restores an archived copy of an object back into Amazon S3

Synopsis

Creating a Request

restoreObject Source #

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:

data RestoreObject Source #

See: restoreObject smart constructor.

Instances

Eq RestoreObject Source # 
Data RestoreObject Source # 

Methods

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

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

toConstr :: RestoreObject -> Constr #

dataTypeOf :: RestoreObject -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RestoreObject Source # 
Generic RestoreObject Source # 

Associated Types

type Rep RestoreObject :: * -> * #

Hashable RestoreObject Source # 
NFData RestoreObject Source # 

Methods

rnf :: RestoreObject -> () #

AWSRequest RestoreObject Source # 
ToElement RestoreObject Source # 
ToHeaders RestoreObject Source # 
ToPath RestoreObject Source # 
ToQuery RestoreObject Source # 
type Rep RestoreObject Source # 
type Rs RestoreObject Source # 

Request Lenses

roKey :: Lens' RestoreObject ObjectKey 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:

data RestoreObjectResponse Source #

See: restoreObjectResponse smart constructor.

Instances

Eq RestoreObjectResponse Source # 
Data RestoreObjectResponse Source # 

Methods

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

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

toConstr :: RestoreObjectResponse -> Constr #

dataTypeOf :: RestoreObjectResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read RestoreObjectResponse Source # 
Show RestoreObjectResponse Source # 
Generic RestoreObjectResponse Source # 
NFData RestoreObjectResponse Source # 

Methods

rnf :: RestoreObjectResponse -> () #

type Rep RestoreObjectResponse Source # 
type Rep RestoreObjectResponse = D1 * (MetaData "RestoreObjectResponse" "Network.AWS.S3.RestoreObject" "amazonka-s3-1.6.0-AdElsico9UIGqHgrDvALBR" False) (C1 * (MetaCons "RestoreObjectResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_rorsRequestCharged") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe RequestCharged))) ((:*:) * (S1 * (MetaSel (Just Symbol "_rorsRestoreOutputPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_rorsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

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.