amazonka-mobile-1.6.0: 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.Types

Contents

Description

 

Synopsis

Service Configuration

mobile :: Service Source #

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

Errors

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

No entity can be found with the specified identifier.

_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 :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

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

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

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

Credentials of the caller are insufficient to authorize the request.

_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 :: 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 :: AsError a => Getting (First ServiceError) a ServiceError Source #

Account Action is required in order to continue the request.

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 #

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

Methods

rnf :: Platform -> () #

ToHeader Platform Source # 

Methods

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

ToQuery Platform Source # 
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.6.0-4O4iArHVB2Z2wSeRqeGTiF" 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 -> () #

ToHeader ProjectState Source # 
ToQuery 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.6.0-4O4iArHVB2Z2wSeRqeGTiF" 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.6.0-4O4iArHVB2Z2wSeRqeGTiF" 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.6.0-4O4iArHVB2Z2wSeRqeGTiF" 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.