amazonka-snowball-1.4.4: Amazon Import/Export Snowball SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Snowball.Types

Contents

Description

 

Synopsis

Service Configuration

snowball :: Service Source #

API version '2016-06-30' of the Amazon Import/Export Snowball SDK configuration.

Errors

_InvalidResourceException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified resource can't be found. Check the information you provided in your last request, and try again.

_UnsupportedAddressException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The address is either outside the serviceable area for your region, or an error occurred. Check the address with your region's carrier and try again. If the issue persists, contact AWS Support.

_KMSRequestFailedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The provided AWS Key Management Service key lacks the permissions to perform the specified CreateJob or UpdateJob action.

_InvalidJobStateException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The action can't be performed because the job's current state doesn't allow that action to be performed.

_InvalidAddressException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The address provided was invalid. Check the address with your region's carrier, and try again.

JobState

data JobState Source #

Instances

Bounded JobState Source # 
Enum JobState Source # 
Eq JobState Source # 
Data JobState Source # 

Methods

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

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

toConstr :: JobState -> Constr #

dataTypeOf :: JobState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord JobState Source # 
Read JobState Source # 
Show JobState Source # 
Generic JobState Source # 

Associated Types

type Rep JobState :: * -> * #

Methods

from :: JobState -> Rep JobState x #

to :: Rep JobState x -> JobState #

Hashable JobState Source # 

Methods

hashWithSalt :: Int -> JobState -> Int #

hash :: JobState -> Int #

NFData JobState Source # 

Methods

rnf :: JobState -> () #

ToHeader JobState Source # 

Methods

toHeader :: HeaderName -> JobState -> [Header] #

ToQuery JobState Source # 
ToByteString JobState Source # 

Methods

toBS :: JobState -> ByteString #

FromJSON JobState Source # 

Methods

parseJSON :: Value -> Parser JobState #

ToJSON JobState Source # 

Methods

toJSON :: JobState -> Value #

toEncoding :: JobState -> Encoding #

FromText JobState Source # 

Methods

parser :: Parser JobState #

ToText JobState Source # 

Methods

toText :: JobState -> Text #

type Rep JobState Source # 
type Rep JobState = D1 (MetaData "JobState" "Network.AWS.Snowball.Types.Sum" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "Cancelled" PrefixI False) U1) ((:+:) (C1 (MetaCons "Complete" PrefixI False) U1) (C1 (MetaCons "InProgress" PrefixI False) U1))) ((:+:) (C1 (MetaCons "InTransitToAWS" PrefixI False) U1) ((:+:) (C1 (MetaCons "InTransitToCustomer" PrefixI False) U1) (C1 (MetaCons "Listing" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "New" PrefixI False) U1) ((:+:) (C1 (MetaCons "Pending" PrefixI False) U1) (C1 (MetaCons "PreparingAppliance" PrefixI False) U1))) ((:+:) (C1 (MetaCons "PreparingShipment" PrefixI False) U1) ((:+:) (C1 (MetaCons "WithAWS" PrefixI False) U1) (C1 (MetaCons "WithCustomer" PrefixI False) U1)))))

JobType

data JobType Source #

Constructors

Export 
Import 

Instances

Bounded JobType Source # 
Enum JobType Source # 
Eq JobType Source # 

Methods

(==) :: JobType -> JobType -> Bool #

(/=) :: JobType -> JobType -> Bool #

Data JobType Source # 

Methods

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

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

toConstr :: JobType -> Constr #

dataTypeOf :: JobType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord JobType Source # 
Read JobType Source # 
Show JobType Source # 
Generic JobType Source # 

Associated Types

type Rep JobType :: * -> * #

Methods

from :: JobType -> Rep JobType x #

to :: Rep JobType x -> JobType #

Hashable JobType Source # 

Methods

hashWithSalt :: Int -> JobType -> Int #

hash :: JobType -> Int #

NFData JobType Source # 

Methods

rnf :: JobType -> () #

ToHeader JobType Source # 

Methods

toHeader :: HeaderName -> JobType -> [Header] #

ToQuery JobType Source # 
ToByteString JobType Source # 

Methods

toBS :: JobType -> ByteString #

FromJSON JobType Source # 

Methods

parseJSON :: Value -> Parser JobType #

ToJSON JobType Source # 

Methods

toJSON :: JobType -> Value #

toEncoding :: JobType -> Encoding #

FromText JobType Source # 

Methods

parser :: Parser JobType #

ToText JobType Source # 

Methods

toText :: JobType -> Text #

type Rep JobType Source # 
type Rep JobType = D1 (MetaData "JobType" "Network.AWS.Snowball.Types.Sum" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) ((:+:) (C1 (MetaCons "Export" PrefixI False) U1) (C1 (MetaCons "Import" PrefixI False) U1))

ShippingOption

data ShippingOption Source #

Instances

Bounded ShippingOption Source # 
Enum ShippingOption Source # 
Eq ShippingOption Source # 
Data ShippingOption Source # 

Methods

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

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

toConstr :: ShippingOption -> Constr #

dataTypeOf :: ShippingOption -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ShippingOption Source # 
Read ShippingOption Source # 
Show ShippingOption Source # 
Generic ShippingOption Source # 

Associated Types

type Rep ShippingOption :: * -> * #

Hashable ShippingOption Source # 
NFData ShippingOption Source # 

Methods

rnf :: ShippingOption -> () #

ToHeader ShippingOption Source # 
ToQuery ShippingOption Source # 
ToByteString ShippingOption Source # 
FromJSON ShippingOption Source # 

Methods

parseJSON :: Value -> Parser ShippingOption #

ToJSON ShippingOption Source # 
FromText ShippingOption Source # 

Methods

parser :: Parser ShippingOption #

ToText ShippingOption Source # 
type Rep ShippingOption Source # 
type Rep ShippingOption = D1 (MetaData "ShippingOption" "Network.AWS.Snowball.Types.Sum" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) ((:+:) ((:+:) (C1 (MetaCons "Express" PrefixI False) U1) (C1 (MetaCons "NextDay" PrefixI False) U1)) ((:+:) (C1 (MetaCons "SecondDay" PrefixI False) U1) (C1 (MetaCons "Standard" PrefixI False) U1)))

SnowballCapacity

data SnowballCapacity Source #

Constructors

NoPreference 
T50 
T80 

Instances

Bounded SnowballCapacity Source # 
Enum SnowballCapacity Source # 
Eq SnowballCapacity Source # 
Data SnowballCapacity Source # 

Methods

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

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

toConstr :: SnowballCapacity -> Constr #

dataTypeOf :: SnowballCapacity -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord SnowballCapacity Source # 
Read SnowballCapacity Source # 
Show SnowballCapacity Source # 
Generic SnowballCapacity Source # 
Hashable SnowballCapacity Source # 
NFData SnowballCapacity Source # 

Methods

rnf :: SnowballCapacity -> () #

ToHeader SnowballCapacity Source # 
ToQuery SnowballCapacity Source # 
ToByteString SnowballCapacity Source # 
FromJSON SnowballCapacity Source # 

Methods

parseJSON :: Value -> Parser SnowballCapacity #

ToJSON SnowballCapacity Source # 
FromText SnowballCapacity Source # 

Methods

parser :: Parser SnowballCapacity #

ToText SnowballCapacity Source # 
type Rep SnowballCapacity Source # 
type Rep SnowballCapacity = D1 (MetaData "SnowballCapacity" "Network.AWS.Snowball.Types.Sum" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) ((:+:) (C1 (MetaCons "NoPreference" PrefixI False) U1) ((:+:) (C1 (MetaCons "T50" PrefixI False) U1) (C1 (MetaCons "T80" PrefixI False) U1)))

Address

data Address Source #

The address that you want the Snowball or Snowballs associated with a specific job to be shipped to. Addresses are validated at the time of creation. The address you provide must be located within the serviceable area of your region. Although no individual elements of the Address are required, if the address is invalid or unsupported, then an exception is thrown.

See: address smart constructor.

Instances

Eq Address Source # 

Methods

(==) :: Address -> Address -> Bool #

(/=) :: Address -> Address -> Bool #

Data Address Source # 

Methods

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

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

toConstr :: Address -> Constr #

dataTypeOf :: Address -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Address Source # 
Show Address Source # 
Generic Address Source # 

Associated Types

type Rep Address :: * -> * #

Methods

from :: Address -> Rep Address x #

to :: Rep Address x -> Address #

Hashable Address Source # 

Methods

hashWithSalt :: Int -> Address -> Int #

hash :: Address -> Int #

NFData Address Source # 

Methods

rnf :: Address -> () #

FromJSON Address Source # 

Methods

parseJSON :: Value -> Parser Address #

ToJSON Address Source # 

Methods

toJSON :: Address -> Value #

toEncoding :: Address -> Encoding #

type Rep Address Source # 
type Rep Address = D1 (MetaData "Address" "Network.AWS.Snowball.Types.Product" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) (C1 (MetaCons "Address'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_aStreet3") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_aLandmark") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aPostalCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_aCountry") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_aStateOrProvince") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aStreet2") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_aAddressId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_aCity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aPhoneNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_aCompany") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_aPrefectureOrDistrict") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_aStreet1") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))

address :: Address Source #

Creates a value of Address with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

aStreet3 :: Lens' Address (Maybe Text) Source #

The third line in a street address that a Snowball is to be delivered to.

aLandmark :: Lens' Address (Maybe Text) Source #

A landmark listed in an address that a Snowball is to be delivered to.

aPostalCode :: Lens' Address (Maybe Text) Source #

The postal code in an address that a Snowball is to be delivered to.

aCountry :: Lens' Address (Maybe Text) Source #

The country in an address that a Snowball is to be delivered to.

aStateOrProvince :: Lens' Address (Maybe Text) Source #

The state or province in an address that a Snowball is to be delivered to.

aStreet2 :: Lens' Address (Maybe Text) Source #

The second line in a street address that a Snowball is to be delivered to.

aAddressId :: Lens' Address (Maybe Text) Source #

The unique ID for an address.

aCity :: Lens' Address (Maybe Text) Source #

The city in an address that a Snowball is to be delivered to.

aPhoneNumber :: Lens' Address (Maybe Text) Source #

The phone number associated with an address that a Snowball is to be delivered to.

aCompany :: Lens' Address (Maybe Text) Source #

The name of the company to receive a Snowball at an address.

aName :: Lens' Address (Maybe Text) Source #

The name of a person to receive a Snowball at an address.

aPrefectureOrDistrict :: Lens' Address (Maybe Text) Source #

The prefecture or district in an address that a Snowball is to be delivered to.

aStreet1 :: Lens' Address (Maybe Text) Source #

The first line in a street address that a Snowball is to be delivered to.

DataTransfer

data DataTransfer Source #

Defines the real-time status of a Snowball's data transfer while the appliance is at AWS. Note that this data is only available while a job has a JobState value of InProgress, for both import and export jobs.

See: dataTransfer smart constructor.

Instances

Eq DataTransfer Source # 
Data DataTransfer Source # 

Methods

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

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

toConstr :: DataTransfer -> Constr #

dataTypeOf :: DataTransfer -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DataTransfer Source # 
Show DataTransfer Source # 
Generic DataTransfer Source # 

Associated Types

type Rep DataTransfer :: * -> * #

Hashable DataTransfer Source # 
NFData DataTransfer Source # 

Methods

rnf :: DataTransfer -> () #

FromJSON DataTransfer Source # 

Methods

parseJSON :: Value -> Parser DataTransfer #

type Rep DataTransfer Source # 
type Rep DataTransfer = D1 (MetaData "DataTransfer" "Network.AWS.Snowball.Types.Product" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) (C1 (MetaCons "DataTransfer'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dtTotalObjects") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_dtTotalBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer)))) ((:*:) (S1 (MetaSel (Just Symbol "_dtObjectsTransferred") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_dtBytesTransferred") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))))))

dataTransfer :: DataTransfer Source #

Creates a value of DataTransfer with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dtTotalObjects :: Lens' DataTransfer (Maybe Integer) Source #

The total number of objects for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.

dtTotalBytes :: Lens' DataTransfer (Maybe Integer) Source #

The total bytes of data for a transfer between a Snowball and Amazon S3. This value is set to 0 (zero) until all the keys that will be transferred have been listed.

dtObjectsTransferred :: Lens' DataTransfer (Maybe Integer) Source #

The number of objects transferred between a Snowball and Amazon S3.

dtBytesTransferred :: Lens' DataTransfer (Maybe Integer) Source #

The number of bytes transferred between a Snowball and Amazon S3.

JobListEntry

data JobListEntry Source #

Each JobListEntry object contains a job's state, a job's ID, and a value that indicates whether the job is a job part, in the case of an export job.

See: jobListEntry smart constructor.

Instances

Eq JobListEntry Source # 
Data JobListEntry Source # 

Methods

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

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

toConstr :: JobListEntry -> Constr #

dataTypeOf :: JobListEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Read JobListEntry Source # 
Show JobListEntry Source # 
Generic JobListEntry Source # 

Associated Types

type Rep JobListEntry :: * -> * #

Hashable JobListEntry Source # 
NFData JobListEntry Source # 

Methods

rnf :: JobListEntry -> () #

FromJSON JobListEntry Source # 

Methods

parseJSON :: Value -> Parser JobListEntry #

type Rep JobListEntry Source # 
type Rep JobListEntry = D1 (MetaData "JobListEntry" "Network.AWS.Snowball.Types.Product" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) (C1 (MetaCons "JobListEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_jleJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_jleJobState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobState))) (S1 (MetaSel (Just Symbol "_jleIsMaster") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))))

jobListEntry :: JobListEntry Source #

Creates a value of JobListEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

jleJobId :: Lens' JobListEntry (Maybe Text) Source #

The automatically generated ID for a job, for example 'JID123e4567-e89b-12d3-a456-426655440000'.

jleJobState :: Lens' JobListEntry (Maybe JobState) Source #

The current state of this job.

jleIsMaster :: Lens' JobListEntry (Maybe Bool) Source #

A value that indicates that this job is a master job. A master job represents a successful request to create an export job. Master jobs aren't associated with any Snowballs. Instead, each master job will have at least one job part, and each job part is associated with a Snowball. It might take some time before the job parts associated with a particular master job are listed, because they are created after the master job is created.

JobLogs

data JobLogs Source #

Contains job logs. Whenever Snowball is used to import data into or export data out of Amazon S3, you'll have the option of downloading a PDF job report. Job logs are returned as a part of the response syntax of the DescribeJob action in the JobMetadata data type. The job logs can be accessed for up to 60 minutes after this request has been made. To access any of the job logs after 60 minutes have passed, you'll have to make another call to the DescribeJob action.

For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snowball for your job part is being delivered to you.

The job report provides you insight into the state of your Amazon S3 data transfer. The report includes details about your job or job part for your records.

For deeper visibility into the status of your transferred objects, you can look at the two associated logs: a success log and a failure log. The logs are saved in comma-separated value (CSV) format, and the name of each log includes the ID of the job or job part that the log describes.

See: jobLogs smart constructor.

Instances

Eq JobLogs Source # 

Methods

(==) :: JobLogs -> JobLogs -> Bool #

(/=) :: JobLogs -> JobLogs -> Bool #

Data JobLogs Source # 

Methods

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

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

toConstr :: JobLogs -> Constr #

dataTypeOf :: JobLogs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read JobLogs Source # 
Show JobLogs Source # 
Generic JobLogs Source # 

Associated Types

type Rep JobLogs :: * -> * #

Methods

from :: JobLogs -> Rep JobLogs x #

to :: Rep JobLogs x -> JobLogs #

Hashable JobLogs Source # 

Methods

hashWithSalt :: Int -> JobLogs -> Int #

hash :: JobLogs -> Int #

NFData JobLogs Source # 

Methods

rnf :: JobLogs -> () #

FromJSON JobLogs Source # 

Methods

parseJSON :: Value -> Parser JobLogs #

type Rep JobLogs Source # 
type Rep JobLogs = D1 (MetaData "JobLogs" "Network.AWS.Snowball.Types.Product" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) (C1 (MetaCons "JobLogs'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_jlJobFailureLogURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_jlJobCompletionReportURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jlJobSuccessLogURI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

jobLogs :: JobLogs Source #

Creates a value of JobLogs with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

jlJobFailureLogURI :: Lens' JobLogs (Maybe Text) Source #

A link to an Amazon S3 presigned URL where the job failure log is located.

jlJobCompletionReportURI :: Lens' JobLogs (Maybe Text) Source #

A link to an Amazon S3 presigned URL where the job completion report is located.

jlJobSuccessLogURI :: Lens' JobLogs (Maybe Text) Source #

A link to an Amazon S3 presigned URL where the job success log is located.

JobMetadata

data JobMetadata Source #

Contains information about a specific job including shipping information, job status, and other important metadata. This information is returned as a part of the response syntax of the DescribeJob action.

See: jobMetadata smart constructor.

Instances

Eq JobMetadata Source # 
Data JobMetadata Source # 

Methods

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

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

toConstr :: JobMetadata -> Constr #

dataTypeOf :: JobMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Read JobMetadata Source # 
Show JobMetadata Source # 
Generic JobMetadata Source # 

Associated Types

type Rep JobMetadata :: * -> * #

Hashable JobMetadata Source # 
NFData JobMetadata Source # 

Methods

rnf :: JobMetadata -> () #

FromJSON JobMetadata Source # 

Methods

parseJSON :: Value -> Parser JobMetadata #

type Rep JobMetadata Source # 
type Rep JobMetadata = D1 (MetaData "JobMetadata" "Network.AWS.Snowball.Types.Product" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) (C1 (MetaCons "JobMetadata'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jmJobType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobType))) ((:*:) (S1 (MetaSel (Just Symbol "_jmKMSKeyARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jmJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jmJobLogInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobLogs))) (S1 (MetaSel (Just Symbol "_jmNotification") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Notification)))) ((:*:) (S1 (MetaSel (Just Symbol "_jmJobState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobState))) (S1 (MetaSel (Just Symbol "_jmShippingDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ShippingDetails)))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jmAddressId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_jmDataTransferProgress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DataTransfer))) (S1 (MetaSel (Just Symbol "_jmResources") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobResource))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_jmCreationDate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe POSIX))) (S1 (MetaSel (Just Symbol "_jmDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_jmRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_jmSnowballCapacityPreference") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe SnowballCapacity))))))))

jmKMSKeyARN :: Lens' JobMetadata (Maybe Text) Source #

The Amazon Resource Name (ARN) for the AWS Key Management Service (AWS KMS) key associated with this job. This ARN was created using the CreateKey API action in AWS KMS.

jmJobId :: Lens' JobMetadata (Maybe Text) Source #

The automatically generated ID for a job, for example 'JID123e4567-e89b-12d3-a456-426655440000'.

jmJobLogInfo :: Lens' JobMetadata (Maybe JobLogs) Source #

Links to Amazon S3 presigned URLs for the job report and logs. For import jobs, the PDF job report becomes available at the end of the import process. For export jobs, your job report typically becomes available while the Snowball for your job part is being delivered to you.

jmNotification :: Lens' JobMetadata (Maybe Notification) Source #

The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The Notification object is returned as a part of the response syntax of the DescribeJob action in the JobMetadata data type.

jmJobState :: Lens' JobMetadata (Maybe JobState) Source #

The current state of the jobs.

jmShippingDetails :: Lens' JobMetadata (Maybe ShippingDetails) Source #

A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.

jmAddressId :: Lens' JobMetadata (Maybe Text) Source #

The ID for the address that you want the Snowball shipped to.

jmDataTransferProgress :: Lens' JobMetadata (Maybe DataTransfer) Source #

A value that defines the real-time status of a Snowball's data transfer while the appliance is at AWS. Note that this data is only available while a job has a JobState value of InProgress, for both import and export jobs.

jmResources :: Lens' JobMetadata (Maybe JobResource) Source #

An array of S3Resource objects. Each S3Resource object represents an Amazon S3 bucket that your transferred data will be exported from or imported into.

jmCreationDate :: Lens' JobMetadata (Maybe UTCTime) Source #

The creation date for this job.

jmDescription :: Lens' JobMetadata (Maybe Text) Source #

The description of the job, provided at job creation.

jmRoleARN :: Lens' JobMetadata (Maybe Text) Source #

The role ARN associated with this job. This ARN was created using the CreateRole API action in AWS Identity and Access Management (IAM).

jmSnowballCapacityPreference :: Lens' JobMetadata (Maybe SnowballCapacity) Source #

The Snowball capacity preference for this job, specified at job creation. In US regions, you can choose between 50 TB and 80 TB Snowballs. All other regions use 80 TB capacity Snowballs.

JobResource

data JobResource Source #

Contains an array of S3Resource objects. Each S3Resource object represents an Amazon S3 bucket that your transferred data will be exported from or imported into.

See: jobResource smart constructor.

Instances

Eq JobResource Source # 
Data JobResource Source # 

Methods

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

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

toConstr :: JobResource -> Constr #

dataTypeOf :: JobResource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read JobResource Source # 
Show JobResource Source # 
Generic JobResource Source # 

Associated Types

type Rep JobResource :: * -> * #

Hashable JobResource Source # 
NFData JobResource Source # 

Methods

rnf :: JobResource -> () #

FromJSON JobResource Source # 

Methods

parseJSON :: Value -> Parser JobResource #

ToJSON JobResource Source # 

Methods

toJSON :: JobResource -> Value #

toEncoding :: JobResource -> Encoding #

type Rep JobResource Source # 
type Rep JobResource = D1 (MetaData "JobResource" "Network.AWS.Snowball.Types.Product" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" True) (C1 (MetaCons "JobResource'" PrefixI True) (S1 (MetaSel (Just Symbol "_jrS3Resources") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [S3Resource]))))

jobResource :: JobResource Source #

Creates a value of JobResource with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

KeyRange

data KeyRange Source #

Contains a key range. For export jobs, a S3Resource object can have an optional KeyRange value. The length of the range is defined at job creation, and has either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges are UTF-8 binary sorted.

See: keyRange smart constructor.

Instances

Eq KeyRange Source # 
Data KeyRange Source # 

Methods

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

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

toConstr :: KeyRange -> Constr #

dataTypeOf :: KeyRange -> DataType #

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

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

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

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

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

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

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

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

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

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

Read KeyRange Source # 
Show KeyRange Source # 
Generic KeyRange Source # 

Associated Types

type Rep KeyRange :: * -> * #

Methods

from :: KeyRange -> Rep KeyRange x #

to :: Rep KeyRange x -> KeyRange #

Hashable KeyRange Source # 

Methods

hashWithSalt :: Int -> KeyRange -> Int #

hash :: KeyRange -> Int #

NFData KeyRange Source # 

Methods

rnf :: KeyRange -> () #

FromJSON KeyRange Source # 

Methods

parseJSON :: Value -> Parser KeyRange #

ToJSON KeyRange Source # 

Methods

toJSON :: KeyRange -> Value #

toEncoding :: KeyRange -> Encoding #

type Rep KeyRange Source # 
type Rep KeyRange = D1 (MetaData "KeyRange" "Network.AWS.Snowball.Types.Product" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) (C1 (MetaCons "KeyRange'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_krEndMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_krBeginMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

keyRange :: KeyRange Source #

Creates a value of KeyRange with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

krEndMarker :: Lens' KeyRange (Maybe Text) Source #

The key that ends an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.

krBeginMarker :: Lens' KeyRange (Maybe Text) Source #

The key that starts an optional key range for an export job. Ranges are inclusive and UTF-8 binary sorted.

Notification

data Notification Source #

The Amazon Simple Notification Service (Amazon SNS) notification settings associated with a specific job. The Notification object is returned as a part of the response syntax of the DescribeJob action in the JobMetadata data type.

When the notification settings are defined during job creation, you can choose to notify based on a specific set of job states using the JobStatesToNotify array of strings, or you can specify that you want to have Amazon SNS notifications sent out for all job states with NotifyAll set to true.

See: notification smart constructor.

Instances

Eq Notification Source # 
Data Notification Source # 

Methods

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

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

toConstr :: Notification -> Constr #

dataTypeOf :: Notification -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Notification Source # 
Show Notification Source # 
Generic Notification Source # 

Associated Types

type Rep Notification :: * -> * #

Hashable Notification Source # 
NFData Notification Source # 

Methods

rnf :: Notification -> () #

FromJSON Notification Source # 

Methods

parseJSON :: Value -> Parser Notification #

ToJSON Notification Source # 

Methods

toJSON :: Notification -> Value #

toEncoding :: Notification -> Encoding #

type Rep Notification Source # 
type Rep Notification = D1 (MetaData "Notification" "Network.AWS.Snowball.Types.Product" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) (C1 (MetaCons "Notification'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_nNotifyAll") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) ((:*:) (S1 (MetaSel (Just Symbol "_nSNSTopicARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_nJobStatesToNotify") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [JobState]))))))

notification :: Notification Source #

Creates a value of Notification with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

nNotifyAll :: Lens' Notification (Maybe Bool) Source #

Any change in job state will trigger a notification for this job.

nSNSTopicARN :: Lens' Notification (Maybe Text) Source #

The new SNS TopicArn that you want to associate with this job. You can create Amazon Resource Names (ARNs) for topics by using the CreateTopic Amazon SNS API action.

Note that you can subscribe email addresses to an Amazon SNS topic through the AWS Management Console, or by using the Subscribe AWS Simple Notification Service (SNS) API action.

nJobStatesToNotify :: Lens' Notification [JobState] Source #

The list of job states that will trigger a notification for this job.

S3Resource

data S3Resource Source #

Each S3Resource object represents an Amazon S3 bucket that your transferred data will be exported from or imported into. For export jobs, this object can have an optional KeyRange value. The length of the range is defined at job creation, and has either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges are UTF-8 binary sorted.

See: s3Resource smart constructor.

Instances

Eq S3Resource Source # 
Data S3Resource Source # 

Methods

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

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

toConstr :: S3Resource -> Constr #

dataTypeOf :: S3Resource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read S3Resource Source # 
Show S3Resource Source # 
Generic S3Resource Source # 

Associated Types

type Rep S3Resource :: * -> * #

Hashable S3Resource Source # 
NFData S3Resource Source # 

Methods

rnf :: S3Resource -> () #

FromJSON S3Resource Source # 

Methods

parseJSON :: Value -> Parser S3Resource #

ToJSON S3Resource Source # 

Methods

toJSON :: S3Resource -> Value #

toEncoding :: S3Resource -> Encoding #

type Rep S3Resource Source # 
type Rep S3Resource = D1 (MetaData "S3Resource" "Network.AWS.Snowball.Types.Product" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) (C1 (MetaCons "S3Resource'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_srKeyRange") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe KeyRange))) (S1 (MetaSel (Just Symbol "_srBucketARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

s3Resource :: S3Resource Source #

Creates a value of S3Resource with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

srKeyRange :: Lens' S3Resource (Maybe KeyRange) Source #

For export jobs, you can provide an optional KeyRange within a specific Amazon S3 bucket. The length of the range is defined at job creation, and has either an inclusive BeginMarker, an inclusive EndMarker, or both. Ranges are UTF-8 binary sorted.

srBucketARN :: Lens' S3Resource (Maybe Text) Source #

The Amazon Resource Name (ARN) of an Amazon S3 bucket.

Shipment

data Shipment Source #

The Status and TrackingNumber information for an inbound or outbound shipment.

See: shipment smart constructor.

Instances

Eq Shipment Source # 
Data Shipment Source # 

Methods

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

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

toConstr :: Shipment -> Constr #

dataTypeOf :: Shipment -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Shipment Source # 
Show Shipment Source # 
Generic Shipment Source # 

Associated Types

type Rep Shipment :: * -> * #

Methods

from :: Shipment -> Rep Shipment x #

to :: Rep Shipment x -> Shipment #

Hashable Shipment Source # 

Methods

hashWithSalt :: Int -> Shipment -> Int #

hash :: Shipment -> Int #

NFData Shipment Source # 

Methods

rnf :: Shipment -> () #

FromJSON Shipment Source # 

Methods

parseJSON :: Value -> Parser Shipment #

type Rep Shipment Source # 
type Rep Shipment = D1 (MetaData "Shipment" "Network.AWS.Snowball.Types.Product" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) (C1 (MetaCons "Shipment'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sTrackingNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

shipment :: Shipment Source #

Creates a value of Shipment with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sStatus :: Lens' Shipment (Maybe Text) Source #

Status information for a shipment. Valid statuses include NEW, IN_TRANSIT, and DELIVERED.

sTrackingNumber :: Lens' Shipment (Maybe Text) Source #

The tracking number for this job. Using this tracking number with your region's carrier's website, you can track a Snowball as the carrier transports it.

For India, the carrier is Amazon Logistics. For all other regions, UPS is the carrier.

ShippingDetails

data ShippingDetails Source #

A job's shipping information, including inbound and outbound tracking numbers and shipping speed options.

See: shippingDetails smart constructor.

Instances

Eq ShippingDetails Source # 
Data ShippingDetails Source # 

Methods

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

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

toConstr :: ShippingDetails -> Constr #

dataTypeOf :: ShippingDetails -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ShippingDetails Source # 
Show ShippingDetails Source # 
Generic ShippingDetails Source # 
Hashable ShippingDetails Source # 
NFData ShippingDetails Source # 

Methods

rnf :: ShippingDetails -> () #

FromJSON ShippingDetails Source # 

Methods

parseJSON :: Value -> Parser ShippingDetails #

type Rep ShippingDetails Source # 
type Rep ShippingDetails = D1 (MetaData "ShippingDetails" "Network.AWS.Snowball.Types.Product" "amazonka-snowball-1.4.4-EBeC3AOt1avBHCFPByW5Jr" False) (C1 (MetaCons "ShippingDetails'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sdShippingOption") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ShippingOption))) ((:*:) (S1 (MetaSel (Just Symbol "_sdOutboundShipment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Shipment))) (S1 (MetaSel (Just Symbol "_sdInboundShipment") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Shipment))))))

shippingDetails :: ShippingDetails Source #

Creates a value of ShippingDetails with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sdShippingOption :: Lens' ShippingDetails (Maybe ShippingOption) Source #

The shipping speed for a particular job. Note that this speed does not dictate how soon you'll get the Snowball from the job's creation date. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:

  • In Australia, you have access to express shipping. Typically, Snowballs shipped express are delivered in about a day.
  • In the European Union (EU), you have access to express shipping. Typically, Snowballs shipped express are delivered in about a day. In addition, most countries in the EU have access to standard shipping, which typically takes less than a week, one way.
  • In India, Snowballs are delivered in one to seven days.
  • In the United States of America (US), you have access to one-day shipping and two-day shipping.

sdOutboundShipment :: Lens' ShippingDetails (Maybe Shipment) Source #

The Status and TrackingNumber values for a Snowball being returned to AWS for a particular job.

sdInboundShipment :: Lens' ShippingDetails (Maybe Shipment) Source #

The Status and TrackingNumber values for a Snowball being delivered to the address that you specified for a particular job.