amazonka-serverlessrepo-1.6.1: Amazon ServerlessApplicationRepository 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.ServerlessApplicationRepository.GetApplication

Contents

Description

Gets the specified application.

Synopsis

Creating a Request

getApplication Source #

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

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

data GetApplication Source #

See: getApplication smart constructor.

Instances
Eq GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Data GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Methods

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

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

toConstr :: GetApplication -> Constr #

dataTypeOf :: GetApplication -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Show GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Generic GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Associated Types

type Rep GetApplication :: Type -> Type #

Hashable GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

AWSRequest GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Associated Types

type Rs GetApplication :: Type #

ToHeaders GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

ToPath GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

ToQuery GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

NFData GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Methods

rnf :: GetApplication -> () #

type Rep GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

type Rep GetApplication = D1 (MetaData "GetApplication" "Network.AWS.ServerlessApplicationRepository.GetApplication" "amazonka-serverlessrepo-1.6.1-BrNuDK74DeNKvSny4fhIJ2" False) (C1 (MetaCons "GetApplication'" PrefixI True) (S1 (MetaSel (Just "_gaSemanticVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gaApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs GetApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Request Lenses

gaSemanticVersion :: Lens' GetApplication (Maybe Text) Source #

The semantic version of the application to get.

gaApplicationId :: Lens' GetApplication Text Source #

The ID of the application to get.

Destructuring the Response

getApplicationResponse Source #

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

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

  • garsCreationTime - The date/time this resource was created.
  • garsHomePageURL - A URL with more information about the application, for example the location of your GitHub repository for the application.
  • garsLicenseURL - A link to a license file of the app that matches the spdxLicenseID of your application. Max size 5 MB
  • garsReadmeURL - A link to the readme file that contains a more detailed description of the application and how it works in Markdown language. Max size 5 MB
  • garsApplicationId - The application Amazon Resource Name (ARN).
  • garsName - The name of the application. Min Length=1. Max Length=140 Pattern: "[a-zA-Z0-9\-]+";
  • garsVersion - Version information about the application.
  • garsAuthor - The name of the author publishing the app. Min Length=1. Max Length=127. Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
  • garsLabels - Labels to improve discovery of apps in search results. Min Length=1. Max Length=127. Maximum number of labels: 10 Pattern: "^[a-zA-Z0-9+\-_:\/@]+$";
  • garsDescription - The description of the application. Min Length=1. Max Length=256
  • garsSpdxLicenseId - A valid identifier from https://spdx.org/licenses/.
  • garsResponseStatus - -- | The response status code.

data GetApplicationResponse Source #

See: getApplicationResponse smart constructor.

Instances
Eq GetApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Data GetApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Methods

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

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

toConstr :: GetApplicationResponse -> Constr #

dataTypeOf :: GetApplicationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Show GetApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Generic GetApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Associated Types

type Rep GetApplicationResponse :: Type -> Type #

NFData GetApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

Methods

rnf :: GetApplicationResponse -> () #

type Rep GetApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.GetApplication

type Rep GetApplicationResponse = D1 (MetaData "GetApplicationResponse" "Network.AWS.ServerlessApplicationRepository.GetApplication" "amazonka-serverlessrepo-1.6.1-BrNuDK74DeNKvSny4fhIJ2" False) (C1 (MetaCons "GetApplicationResponse'" PrefixI True) (((S1 (MetaSel (Just "_garsCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_garsHomePageURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_garsLicenseURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_garsReadmeURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_garsApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_garsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_garsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Version)) :*: (S1 (MetaSel (Just "_garsAuthor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_garsLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 (MetaSel (Just "_garsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_garsSpdxLicenseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_garsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

garsCreationTime :: Lens' GetApplicationResponse (Maybe Text) Source #

The date/time this resource was created.

garsHomePageURL :: Lens' GetApplicationResponse (Maybe Text) Source #

A URL with more information about the application, for example the location of your GitHub repository for the application.

garsLicenseURL :: Lens' GetApplicationResponse (Maybe Text) Source #

A link to a license file of the app that matches the spdxLicenseID of your application. Max size 5 MB

garsReadmeURL :: Lens' GetApplicationResponse (Maybe Text) Source #

A link to the readme file that contains a more detailed description of the application and how it works in Markdown language. Max size 5 MB

garsApplicationId :: Lens' GetApplicationResponse (Maybe Text) Source #

The application Amazon Resource Name (ARN).

garsName :: Lens' GetApplicationResponse (Maybe Text) Source #

The name of the application. Min Length=1. Max Length=140 Pattern: "[a-zA-Z0-9\-]+";

garsVersion :: Lens' GetApplicationResponse (Maybe Version) Source #

Version information about the application.

garsAuthor :: Lens' GetApplicationResponse (Maybe Text) Source #

The name of the author publishing the app. Min Length=1. Max Length=127. Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";

garsLabels :: Lens' GetApplicationResponse [Text] Source #

Labels to improve discovery of apps in search results. Min Length=1. Max Length=127. Maximum number of labels: 10 Pattern: "^[a-zA-Z0-9+\-_:\/@]+$";

garsDescription :: Lens' GetApplicationResponse (Maybe Text) Source #

The description of the application. Min Length=1. Max Length=256

garsResponseStatus :: Lens' GetApplicationResponse Int Source #

  • - | The response status code.