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.UpdateApplication

Contents

Description

Updates the specified application.

Synopsis

Creating a Request

updateApplication Source #

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

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

  • uaHomePageURL - A URL with more information about the application, for example the location of your GitHub repository for the application.
  • uaReadmeBody - A raw text Readme file that contains a more detailed description of the application and how it works in markdown language. Max size 5 MB
  • uaReadmeURL - 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
  • uaAuthor - The name of the author publishing the app. Min Length=1. Max Length=127. Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
  • uaLabels - 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+\-_:\/@]+$";
  • uaDescription - The description of the application. Min Length=1. Max Length=256
  • uaApplicationId - The ID of the application to get.

data UpdateApplication Source #

See: updateApplication smart constructor.

Instances
Eq UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Data UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Methods

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

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

toConstr :: UpdateApplication -> Constr #

dataTypeOf :: UpdateApplication -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Show UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Generic UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Associated Types

type Rep UpdateApplication :: Type -> Type #

Hashable UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

ToJSON UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

AWSRequest UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Associated Types

type Rs UpdateApplication :: Type #

ToHeaders UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

ToPath UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

ToQuery UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

NFData UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Methods

rnf :: UpdateApplication -> () #

type Rep UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

type Rep UpdateApplication = D1 (MetaData "UpdateApplication" "Network.AWS.ServerlessApplicationRepository.UpdateApplication" "amazonka-serverlessrepo-1.6.1-BrNuDK74DeNKvSny4fhIJ2" False) (C1 (MetaCons "UpdateApplication'" PrefixI True) ((S1 (MetaSel (Just "_uaHomePageURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_uaReadmeBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uaReadmeURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_uaAuthor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uaLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_uaDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uaApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateApplication Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Request Lenses

uaHomePageURL :: Lens' UpdateApplication (Maybe Text) Source #

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

uaReadmeBody :: Lens' UpdateApplication (Maybe Text) Source #

A raw text Readme file that contains a more detailed description of the application and how it works in markdown language. Max size 5 MB

uaReadmeURL :: Lens' UpdateApplication (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

uaAuthor :: Lens' UpdateApplication (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])?$";

uaLabels :: Lens' UpdateApplication [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+\-_:\/@]+$";

uaDescription :: Lens' UpdateApplication (Maybe Text) Source #

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

uaApplicationId :: Lens' UpdateApplication Text Source #

The ID of the application to get.

Destructuring the Response

updateApplicationResponse Source #

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

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

  • uarsCreationTime - The date/time this resource was created.
  • uarsHomePageURL - A URL with more information about the application, for example the location of your GitHub repository for the application.
  • uarsLicenseURL - A link to a license file of the app that matches the spdxLicenseID of your application. Max size 5 MB
  • uarsReadmeURL - 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
  • uarsApplicationId - The application Amazon Resource Name (ARN).
  • uarsName - The name of the application. Min Length=1. Max Length=140 Pattern: "[a-zA-Z0-9\-]+";
  • uarsVersion - Version information about the application.
  • uarsAuthor - The name of the author publishing the app. Min Length=1. Max Length=127. Pattern "^[a-z0-9](([a-z0-9]|-(?!-))*[a-z0-9])?$";
  • uarsLabels - 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+\-_:\/@]+$";
  • uarsDescription - The description of the application. Min Length=1. Max Length=256
  • uarsSpdxLicenseId - A valid identifier from https://spdx.org/licenses/.
  • uarsResponseStatus - -- | The response status code.

data UpdateApplicationResponse Source #

See: updateApplicationResponse smart constructor.

Instances
Eq UpdateApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Data UpdateApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Methods

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

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

toConstr :: UpdateApplicationResponse -> Constr #

dataTypeOf :: UpdateApplicationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Show UpdateApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Generic UpdateApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

Associated Types

type Rep UpdateApplicationResponse :: Type -> Type #

NFData UpdateApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

type Rep UpdateApplicationResponse Source # 
Instance details

Defined in Network.AWS.ServerlessApplicationRepository.UpdateApplication

type Rep UpdateApplicationResponse = D1 (MetaData "UpdateApplicationResponse" "Network.AWS.ServerlessApplicationRepository.UpdateApplication" "amazonka-serverlessrepo-1.6.1-BrNuDK74DeNKvSny4fhIJ2" False) (C1 (MetaCons "UpdateApplicationResponse'" PrefixI True) (((S1 (MetaSel (Just "_uarsCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_uarsHomePageURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uarsLicenseURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_uarsReadmeURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_uarsApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uarsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_uarsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Version)) :*: (S1 (MetaSel (Just "_uarsAuthor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uarsLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) :*: (S1 (MetaSel (Just "_uarsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_uarsSpdxLicenseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

uarsCreationTime :: Lens' UpdateApplicationResponse (Maybe Text) Source #

The date/time this resource was created.

uarsHomePageURL :: Lens' UpdateApplicationResponse (Maybe Text) Source #

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

uarsLicenseURL :: Lens' UpdateApplicationResponse (Maybe Text) Source #

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

uarsReadmeURL :: Lens' UpdateApplicationResponse (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

uarsApplicationId :: Lens' UpdateApplicationResponse (Maybe Text) Source #

The application Amazon Resource Name (ARN).

uarsName :: Lens' UpdateApplicationResponse (Maybe Text) Source #

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

uarsVersion :: Lens' UpdateApplicationResponse (Maybe Version) Source #

Version information about the application.

uarsAuthor :: Lens' UpdateApplicationResponse (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])?$";

uarsLabels :: Lens' UpdateApplicationResponse [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+\-_:\/@]+$";

uarsDescription :: Lens' UpdateApplicationResponse (Maybe Text) Source #

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