amazonka-m2-2.0: Amazon MainframeModernization SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.M2.UpdateApplication

Description

Updates an application and creates a new version.

Synopsis

Creating a Request

data UpdateApplication Source #

See: newUpdateApplication smart constructor.

Constructors

UpdateApplication' 

Fields

Instances

Instances details
ToJSON UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

ToHeaders UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

ToPath UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

ToQuery UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

AWSRequest UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

Associated Types

type AWSResponse UpdateApplication #

Generic UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

Associated Types

type Rep UpdateApplication :: Type -> Type #

Read UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

Show UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

NFData UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

Methods

rnf :: UpdateApplication -> () #

Eq UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

Hashable UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

type AWSResponse UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

type Rep UpdateApplication Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

type Rep UpdateApplication = D1 ('MetaData "UpdateApplication" "Amazonka.M2.UpdateApplication" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "UpdateApplication'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "definition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Definition)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "currentApplicationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural))))

newUpdateApplication Source #

Create a value of UpdateApplication with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:definition:UpdateApplication', updateApplication_definition - The application definition for this application. You can specify either inline JSON or an S3 bucket location.

UpdateApplication, updateApplication_description - The description of the application to update.

UpdateApplication, updateApplication_applicationId - The unique identifier of the application you want to update.

$sel:currentApplicationVersion:UpdateApplication', updateApplication_currentApplicationVersion - The current version of the application to update.

Request Lenses

updateApplication_definition :: Lens' UpdateApplication (Maybe Definition) Source #

The application definition for this application. You can specify either inline JSON or an S3 bucket location.

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

The description of the application to update.

updateApplication_applicationId :: Lens' UpdateApplication Text Source #

The unique identifier of the application you want to update.

updateApplication_currentApplicationVersion :: Lens' UpdateApplication Natural Source #

The current version of the application to update.

Destructuring the Response

data UpdateApplicationResponse Source #

See: newUpdateApplicationResponse smart constructor.

Constructors

UpdateApplicationResponse' 

Fields

Instances

Instances details
Generic UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

Associated Types

type Rep UpdateApplicationResponse :: Type -> Type #

Read UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

Show UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

NFData UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

Eq UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

type Rep UpdateApplicationResponse Source # 
Instance details

Defined in Amazonka.M2.UpdateApplication

type Rep UpdateApplicationResponse = D1 ('MetaData "UpdateApplicationResponse" "Amazonka.M2.UpdateApplication" "amazonka-m2-2.0-1kXEGTJs74f5RPbatSDeMH" 'False) (C1 ('MetaCons "UpdateApplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "applicationVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newUpdateApplicationResponse Source #

Create a value of UpdateApplicationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateApplicationResponse', updateApplicationResponse_httpStatus - The response's http status code.

UpdateApplicationResponse, updateApplicationResponse_applicationVersion - The new version of the application.

Response Lenses