amazonka-s3-1.6.1: 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 # 
Instance details

Defined in Network.AWS.S3.RestoreObject

Data RestoreObject Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

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 # 
Instance details

Defined in Network.AWS.S3.RestoreObject

Generic RestoreObject Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

Associated Types

type Rep RestoreObject :: Type -> Type #

Hashable RestoreObject Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

AWSRequest RestoreObject Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

Associated Types

type Rs RestoreObject :: Type #

ToElement RestoreObject Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

ToHeaders RestoreObject Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

ToPath RestoreObject Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

ToQuery RestoreObject Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

NFData RestoreObject Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

Methods

rnf :: RestoreObject -> () #

type Rep RestoreObject Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

type Rs RestoreObject Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

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 # 
Instance details

Defined in Network.AWS.S3.RestoreObject

Data RestoreObjectResponse Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

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 # 
Instance details

Defined in Network.AWS.S3.RestoreObject

Show RestoreObjectResponse Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

Generic RestoreObjectResponse Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

Associated Types

type Rep RestoreObjectResponse :: Type -> Type #

NFData RestoreObjectResponse Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

Methods

rnf :: RestoreObjectResponse -> () #

type Rep RestoreObjectResponse Source # 
Instance details

Defined in Network.AWS.S3.RestoreObject

type Rep RestoreObjectResponse = D1 (MetaData "RestoreObjectResponse" "Network.AWS.S3.RestoreObject" "amazonka-s3-1.6.1-I7VsiKive605KPmKsVgrUz" False) (C1 (MetaCons "RestoreObjectResponse'" PrefixI True) (S1 (MetaSel (Just "_rorsRequestCharged") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RequestCharged)) :*: (S1 (MetaSel (Just "_rorsRestoreOutputPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.