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.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 # 
Data UpdateApplication Source # 

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 # 
Show UpdateApplication Source # 
Generic UpdateApplication Source # 
Hashable UpdateApplication Source # 
ToJSON UpdateApplication Source # 
NFData UpdateApplication Source # 

Methods

rnf :: UpdateApplication -> () #

AWSRequest UpdateApplication Source # 
ToHeaders UpdateApplication Source # 
ToPath UpdateApplication Source # 
ToQuery UpdateApplication Source # 
type Rep UpdateApplication Source # 
type Rep UpdateApplication = D1 * (MetaData "UpdateApplication" "Network.AWS.ServerlessApplicationRepository.UpdateApplication" "amazonka-serverlessrepo-1.6.0-2DtNFpCl6Uy2xAfjxMru3y" False) (C1 * (MetaCons "UpdateApplication'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uaHomePageURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uaReadmeBody") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uaReadmeURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uaAuthor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uaLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text])))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uaDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uaApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs UpdateApplication Source # 

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

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 # 
Show UpdateApplicationResponse Source # 
Generic UpdateApplicationResponse Source # 
NFData UpdateApplicationResponse Source # 
type Rep UpdateApplicationResponse Source # 
type Rep UpdateApplicationResponse = D1 * (MetaData "UpdateApplicationResponse" "Network.AWS.ServerlessApplicationRepository.UpdateApplication" "amazonka-serverlessrepo-1.6.0-2DtNFpCl6Uy2xAfjxMru3y" False) (C1 * (MetaCons "UpdateApplicationResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uarsCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uarsHomePageURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uarsLicenseURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uarsReadmeURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uarsApplicationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uarsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_uarsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Version))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uarsAuthor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_uarsLabels") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uarsDescription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_uarsSpdxLicenseId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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