amazonka-mobile-1.6.1: Amazon Mobile 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.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 # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

Data ExportProject Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

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

Defined in Network.AWS.Mobile.ExportProject

Show ExportProject Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

Generic ExportProject Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

Associated Types

type Rep ExportProject :: Type -> Type #

Hashable ExportProject Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

ToJSON ExportProject Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

AWSRequest ExportProject Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

Associated Types

type Rs ExportProject :: Type #

ToHeaders ExportProject Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

ToPath ExportProject Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

ToQuery ExportProject Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

NFData ExportProject Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

Methods

rnf :: ExportProject -> () #

type Rep ExportProject Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

type Rep ExportProject = D1 (MetaData "ExportProject" "Network.AWS.Mobile.ExportProject" "amazonka-mobile-1.6.1-IbZPJneqThD76aUbwxZxsf" True) (C1 (MetaCons "ExportProject'" PrefixI True) (S1 (MetaSel (Just "_epProjectId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs ExportProject Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

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

Defined in Network.AWS.Mobile.ExportProject

Data ExportProjectResponse Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

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

Defined in Network.AWS.Mobile.ExportProject

Show ExportProjectResponse Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

Generic ExportProjectResponse Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

Associated Types

type Rep ExportProjectResponse :: Type -> Type #

NFData ExportProjectResponse Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

Methods

rnf :: ExportProjectResponse -> () #

type Rep ExportProjectResponse Source # 
Instance details

Defined in Network.AWS.Mobile.ExportProject

type Rep ExportProjectResponse = D1 (MetaData "ExportProjectResponse" "Network.AWS.Mobile.ExportProject" "amazonka-mobile-1.6.1-IbZPJneqThD76aUbwxZxsf" False) (C1 (MetaCons "ExportProjectResponse'" PrefixI True) ((S1 (MetaSel (Just "_eprsShareURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eprsDownloadURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eprsSnapshotId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.