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

Contents

Description

AWS Mobile Service provides mobile app and website developers with capabilities required to configure AWS resources and bootstrap their developer desktop projects with the necessary SDKs, constants, tools and samples to make use of those resources.

Synopsis

Service Configuration

mobile :: Service Source #

API version 2017-07-01 of the Amazon Mobile SDK configuration.

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by Mobile.

NotFoundException

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

No entity can be found with the specified identifier.

TooManyRequestsException

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

Too many requests have been received for this AWS account in too short a time. The request should be retried after some time delay.

InternalFailureException

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

The service has encountered an unexpected error condition which prevents it from servicing the request.

ServiceUnavailableException

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

The service is temporarily unavailable. The request should be retried after some time delay.

UnauthorizedException

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

Credentials of the caller are insufficient to authorize the request.

BadRequestException

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

The request cannot be processed because some parameter is not valid or the project state prevents the operation from being performed.

LimitExceededException

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

There are too many AWS Mobile Hub projects in the account or the account has exceeded the maximum number of resources in some AWS service. You should create another sub-account using AWS Organizations or remove some resources and retry your request.

AccountActionRequiredException

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

Account Action is required in order to continue the request.

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

ListProjects

DeleteProject

UpdateProject

ListBundles

DescribeProject

ExportProject

DescribeBundle

ExportBundle

CreateProject

Types

Platform

data Platform Source #

Developer desktop or target mobile app or website platform.

Instances

Bounded Platform Source # 
Enum Platform Source # 
Eq Platform Source # 
Data Platform Source # 

Methods

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

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

toConstr :: Platform -> Constr #

dataTypeOf :: Platform -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Platform Source # 
Read Platform Source # 
Show Platform Source # 
Generic Platform Source # 

Associated Types

type Rep Platform :: * -> * #

Methods

from :: Platform -> Rep Platform x #

to :: Rep Platform x -> Platform #

Hashable Platform Source # 

Methods

hashWithSalt :: Int -> Platform -> Int #

hash :: Platform -> Int #

FromJSON Platform Source # 
ToJSON Platform Source # 
NFData Platform Source # 

Methods

rnf :: Platform -> () #

ToQuery Platform Source # 
ToHeader Platform Source # 

Methods

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

ToByteString Platform Source # 

Methods

toBS :: Platform -> ByteString #

FromText Platform Source # 
ToText Platform Source # 

Methods

toText :: Platform -> Text #

type Rep Platform Source # 
type Rep Platform = D1 (MetaData "Platform" "Network.AWS.Mobile.Types.Sum" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" False) ((:+:) ((:+:) (C1 (MetaCons "Android" PrefixI False) U1) ((:+:) (C1 (MetaCons "Javascript" PrefixI False) U1) (C1 (MetaCons "Linux" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "OSx" PrefixI False) U1) (C1 (MetaCons "Objc" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Swift" PrefixI False) U1) (C1 (MetaCons "Windows" PrefixI False) U1))))

ProjectState

data ProjectState Source #

Synchronization state for a project.

Constructors

Importing 
Normal 
Syncing 

Instances

Bounded ProjectState Source # 
Enum ProjectState Source # 
Eq ProjectState Source # 
Data ProjectState Source # 

Methods

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

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

toConstr :: ProjectState -> Constr #

dataTypeOf :: ProjectState -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ProjectState Source # 
Read ProjectState Source # 
Show ProjectState Source # 
Generic ProjectState Source # 

Associated Types

type Rep ProjectState :: * -> * #

Hashable ProjectState Source # 
FromJSON ProjectState Source # 
NFData ProjectState Source # 

Methods

rnf :: ProjectState -> () #

ToQuery ProjectState Source # 
ToHeader ProjectState Source # 
ToByteString ProjectState Source # 
FromText ProjectState Source # 
ToText ProjectState Source # 

Methods

toText :: ProjectState -> Text #

type Rep ProjectState Source # 
type Rep ProjectState = D1 (MetaData "ProjectState" "Network.AWS.Mobile.Types.Sum" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" False) ((:+:) (C1 (MetaCons "Importing" PrefixI False) U1) ((:+:) (C1 (MetaCons "Normal" PrefixI False) U1) (C1 (MetaCons "Syncing" PrefixI False) U1)))

BundleDetails

data BundleDetails Source #

The details of the bundle.

See: bundleDetails smart constructor.

Instances

Eq BundleDetails Source # 
Data BundleDetails Source # 

Methods

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

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

toConstr :: BundleDetails -> Constr #

dataTypeOf :: BundleDetails -> DataType #

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

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

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

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

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

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

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

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

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

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

Read BundleDetails Source # 
Show BundleDetails Source # 
Generic BundleDetails Source # 

Associated Types

type Rep BundleDetails :: * -> * #

Hashable BundleDetails Source # 
FromJSON BundleDetails Source # 
NFData BundleDetails Source # 

Methods

rnf :: BundleDetails -> () #

type Rep BundleDetails Source # 
type Rep BundleDetails = D1 (MetaData "BundleDetails" "Network.AWS.Mobile.Types.Product" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" False) (C1 (MetaCons "BundleDetails'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_bdAvailablePlatforms") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Platform]))) ((:*:) (S1 (MetaSel (Just Symbol "_bdBundleId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bdVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_bdIconURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_bdTitle") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_bdDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

bundleDetails :: BundleDetails Source #

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

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

bdBundleId :: Lens' BundleDetails (Maybe Text) Source #

Undocumented member.

bdVersion :: Lens' BundleDetails (Maybe Text) Source #

Undocumented member.

bdIconURL :: Lens' BundleDetails (Maybe Text) Source #

Undocumented member.

bdTitle :: Lens' BundleDetails (Maybe Text) Source #

Undocumented member.

ProjectDetails

data ProjectDetails Source #

Detailed information about an AWS Mobile Hub project.

See: projectDetails smart constructor.

Instances

Eq ProjectDetails Source # 
Data ProjectDetails Source # 

Methods

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

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

toConstr :: ProjectDetails -> Constr #

dataTypeOf :: ProjectDetails -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ProjectDetails Source # 
Show ProjectDetails Source # 
Generic ProjectDetails Source # 

Associated Types

type Rep ProjectDetails :: * -> * #

Hashable ProjectDetails Source # 
FromJSON ProjectDetails Source # 
NFData ProjectDetails Source # 

Methods

rnf :: ProjectDetails -> () #

type Rep ProjectDetails Source # 

projectDetails :: ProjectDetails Source #

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

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

pdResources :: Lens' ProjectDetails [Resource] Source #

Undocumented member.

pdCreatedDate :: Lens' ProjectDetails (Maybe UTCTime) Source #

Date the project was created.

pdConsoleURL :: Lens' ProjectDetails (Maybe Text) Source #

Website URL for this project in the AWS Mobile Hub console.

pdName :: Lens' ProjectDetails (Maybe Text) Source #

Undocumented member.

pdRegion :: Lens' ProjectDetails (Maybe Text) Source #

Undocumented member.

pdProjectId :: Lens' ProjectDetails (Maybe Text) Source #

Undocumented member.

pdLastUpdatedDate :: Lens' ProjectDetails (Maybe UTCTime) Source #

Date of the last modification of the project.

ProjectSummary

data ProjectSummary Source #

Summary information about an AWS Mobile Hub project.

See: projectSummary smart constructor.

Instances

Eq ProjectSummary Source # 
Data ProjectSummary Source # 

Methods

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

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

toConstr :: ProjectSummary -> Constr #

dataTypeOf :: ProjectSummary -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ProjectSummary Source # 
Show ProjectSummary Source # 
Generic ProjectSummary Source # 

Associated Types

type Rep ProjectSummary :: * -> * #

Hashable ProjectSummary Source # 
FromJSON ProjectSummary Source # 
NFData ProjectSummary Source # 

Methods

rnf :: ProjectSummary -> () #

type Rep ProjectSummary Source # 
type Rep ProjectSummary = D1 (MetaData "ProjectSummary" "Network.AWS.Mobile.Types.Product" "amazonka-mobile-1.5.0-7pdfDsS3Pa88IEj9Qidb1o" False) (C1 (MetaCons "ProjectSummary'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_psName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_psProjectId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

projectSummary :: ProjectSummary Source #

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

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

psName :: Lens' ProjectSummary (Maybe Text) Source #

Name of the project.

psProjectId :: Lens' ProjectSummary (Maybe Text) Source #

Unique project identifier.

Resource

data Resource Source #

Information about an instance of an AWS resource associated with a project.

See: resource smart constructor.

Instances

Eq Resource Source # 
Data Resource Source # 

Methods

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

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

toConstr :: Resource -> Constr #

dataTypeOf :: Resource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read Resource Source # 
Show Resource Source # 
Generic Resource Source # 

Associated Types

type Rep Resource :: * -> * #

Methods

from :: Resource -> Rep Resource x #

to :: Rep Resource x -> Resource #

Hashable Resource Source # 

Methods

hashWithSalt :: Int -> Resource -> Int #

hash :: Resource -> Int #

FromJSON Resource Source # 
NFData Resource Source # 

Methods

rnf :: Resource -> () #

type Rep Resource Source # 

resource :: Resource Source #

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

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

rFeature :: Lens' Resource (Maybe Text) Source #

Undocumented member.

rArn :: Lens' Resource (Maybe Text) Source #

Undocumented member.

rName :: Lens' Resource (Maybe Text) Source #

Undocumented member.

rAttributes :: Lens' Resource (HashMap Text Text) Source #

Undocumented member.

rType :: Lens' Resource (Maybe Text) Source #

Undocumented member.