amazonka-mobile-1.5.0: Amazon Mobile SDK.

Copyright(c) 2013-2017 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.Mobile.ExportProject

Contents

Description

Exports project configuration to a snapshot which can be downloaded and shared. Note that mobile app push credentials are encrypted in exported projects, so they can only be shared successfully within the same AWS account.

Synopsis

Creating a Request

exportProject Source #

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

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

data ExportProject Source #

Request structure used in requests to export project configuration details.

See: exportProject smart constructor.

Instances

Eq ExportProject Source # 
Data ExportProject Source # 

Methods

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

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

toConstr :: ExportProject -> Constr #

dataTypeOf :: ExportProject -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ExportProject Source # 
Show ExportProject Source # 
Generic ExportProject Source # 

Associated Types

type Rep ExportProject :: * -> * #

Hashable ExportProject Source # 
ToJSON ExportProject Source # 
NFData ExportProject Source # 

Methods

rnf :: ExportProject -> () #

AWSRequest ExportProject Source # 
ToQuery ExportProject Source # 
ToPath ExportProject Source # 
ToHeaders ExportProject Source # 
type Rep ExportProject Source # 
type Rep ExportProject = D1 (MetaData "ExportProject" "Network.AWS.Mobile.ExportProject" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" True) (C1 (MetaCons "ExportProject'" PrefixI True) (S1 (MetaSel (Just Symbol "_epProjectId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs ExportProject Source # 

Request Lenses

epProjectId :: Lens' ExportProject Text Source #

Unique project identifier.

Destructuring the Response

exportProjectResponse Source #

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

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

  • eprsShareURL - URL which can be shared to allow other AWS users to create their own project in AWS Mobile Hub with the same configuration as the specified project. This URL pertains to a snapshot in time of the project configuration that is created when this API is called. If you want to share additional changes to your project configuration, then you will need to create and share a new snapshot by calling this method again.
  • eprsDownloadURL - URL which can be used to download the exported project configuation file(s).
  • eprsSnapshotId - Unique identifier for the exported snapshot of the project configuration. This snapshot identifier is included in the share URL.
  • eprsResponseStatus - -- | The response status code.

data ExportProjectResponse Source #

Result structure used for requests to export project configuration details.

See: exportProjectResponse smart constructor.

Instances

Eq ExportProjectResponse Source # 
Data ExportProjectResponse Source # 

Methods

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

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

toConstr :: ExportProjectResponse -> Constr #

dataTypeOf :: ExportProjectResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ExportProjectResponse Source # 
Show ExportProjectResponse Source # 
Generic ExportProjectResponse Source # 
NFData ExportProjectResponse Source # 

Methods

rnf :: ExportProjectResponse -> () #

type Rep ExportProjectResponse Source # 
type Rep ExportProjectResponse = D1 (MetaData "ExportProjectResponse" "Network.AWS.Mobile.ExportProject" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" False) (C1 (MetaCons "ExportProjectResponse'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_eprsShareURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_eprsDownloadURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_eprsSnapshotId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_eprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

eprsShareURL :: Lens' ExportProjectResponse (Maybe Text) Source #

URL which can be shared to allow other AWS users to create their own project in AWS Mobile Hub with the same configuration as the specified project. This URL pertains to a snapshot in time of the project configuration that is created when this API is called. If you want to share additional changes to your project configuration, then you will need to create and share a new snapshot by calling this method again.

eprsDownloadURL :: Lens' ExportProjectResponse (Maybe Text) Source #

URL which can be used to download the exported project configuation file(s).

eprsSnapshotId :: Lens' ExportProjectResponse (Maybe Text) Source #

Unique identifier for the exported snapshot of the project configuration. This snapshot identifier is included in the share URL.

eprsResponseStatus :: Lens' ExportProjectResponse Int Source #

  • - | The response status code.