amazonka-serverlessrepo-1.6.0: 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 # 
Data GetApplication Source # 

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 # 
Show GetApplication Source # 
Generic GetApplication Source # 

Associated Types

type Rep GetApplication :: * -> * #

Hashable GetApplication Source # 
NFData GetApplication Source # 

Methods

rnf :: GetApplication -> () #

AWSRequest GetApplication Source # 
ToHeaders GetApplication Source # 
ToPath GetApplication Source # 
ToQuery GetApplication Source # 
type Rep GetApplication Source # 
type Rep GetApplication = D1 * (MetaData "GetApplication" "Network.AWS.ServerlessApplicationRepository.GetApplication" "amazonka-serverlessrepo-1.6.0-2DtNFpCl6Uy2xAfjxMru3y" False) (C1 * (MetaCons "GetApplication'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gaSemanticVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gaApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs GetApplication Source # 

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 # 
Data GetApplicationResponse Source # 

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 # 
Show GetApplicationResponse Source # 
Generic GetApplicationResponse Source # 
NFData GetApplicationResponse Source # 

Methods

rnf :: GetApplicationResponse -> () #

type Rep GetApplicationResponse Source # 
type Rep GetApplicationResponse = D1 * (MetaData "GetApplicationResponse" "Network.AWS.ServerlessApplicationRepository.GetApplication" "amazonka-serverlessrepo-1.6.0-2DtNFpCl6Uy2xAfjxMru3y" False) (C1 * (MetaCons "GetApplicationResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_garsCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_garsHomePageURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_garsLicenseURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_garsReadmeURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_garsApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_garsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_garsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Version))) ((:*:) * (S1 * (MetaSel (Just Symbol "_garsAuthor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_garsLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_garsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_garsSpdxLicenseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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.