amazonka-sms-2.0: Amazon Server Migration Service 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.SMS.UpdateApp

Description

Updates the specified application.

Synopsis

Creating a Request

data UpdateApp Source #

See: newUpdateApp smart constructor.

Constructors

UpdateApp' 

Fields

Instances

Instances details
ToJSON UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

ToHeaders UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Methods

toHeaders :: UpdateApp -> [Header] #

ToPath UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

ToQuery UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

AWSRequest UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Associated Types

type AWSResponse UpdateApp #

Generic UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Associated Types

type Rep UpdateApp :: Type -> Type #

Read UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Show UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

NFData UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Methods

rnf :: UpdateApp -> () #

Eq UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Hashable UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

type AWSResponse UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

type Rep UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

newUpdateApp :: UpdateApp Source #

Create a value of UpdateApp 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:

UpdateApp, updateApp_appId - The ID of the application.

UpdateApp, updateApp_description - The new description of the application.

UpdateApp, updateApp_name - The new name of the application.

UpdateApp, updateApp_roleName - The name of the service role in the customer's account used by Server Migration Service.

UpdateApp, updateApp_serverGroups - The server groups in the application to update.

UpdateApp, updateApp_tags - The tags to associate with the application.

Request Lenses

updateApp_appId :: Lens' UpdateApp (Maybe Text) Source #

The ID of the application.

updateApp_description :: Lens' UpdateApp (Maybe Text) Source #

The new description of the application.

updateApp_name :: Lens' UpdateApp (Maybe Text) Source #

The new name of the application.

updateApp_roleName :: Lens' UpdateApp (Maybe Text) Source #

The name of the service role in the customer's account used by Server Migration Service.

updateApp_serverGroups :: Lens' UpdateApp (Maybe [ServerGroup]) Source #

The server groups in the application to update.

updateApp_tags :: Lens' UpdateApp (Maybe [Tag]) Source #

The tags to associate with the application.

Destructuring the Response

data UpdateAppResponse Source #

See: newUpdateAppResponse smart constructor.

Constructors

UpdateAppResponse' 

Fields

Instances

Instances details
Generic UpdateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Associated Types

type Rep UpdateAppResponse :: Type -> Type #

Read UpdateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Show UpdateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

NFData UpdateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Methods

rnf :: UpdateAppResponse -> () #

Eq UpdateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

type Rep UpdateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

type Rep UpdateAppResponse = D1 ('MetaData "UpdateAppResponse" "Amazonka.SMS.UpdateApp" "amazonka-sms-2.0-4YLznk7UFuE5VtyLFXmW6X" 'False) (C1 ('MetaCons "UpdateAppResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "appSummary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AppSummary)) :*: S1 ('MetaSel ('Just "serverGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ServerGroup]))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateAppResponse Source #

Create a value of UpdateAppResponse 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:appSummary:UpdateAppResponse', updateAppResponse_appSummary - A summary description of the application.

UpdateApp, updateAppResponse_serverGroups - The updated server groups in the application.

UpdateApp, updateAppResponse_tags - The tags associated with the application.

$sel:httpStatus:UpdateAppResponse', updateAppResponse_httpStatus - The response's http status code.

Response Lenses

updateAppResponse_appSummary :: Lens' UpdateAppResponse (Maybe AppSummary) Source #

A summary description of the application.

updateAppResponse_serverGroups :: Lens' UpdateAppResponse (Maybe [ServerGroup]) Source #

The updated server groups in the application.

updateAppResponse_tags :: Lens' UpdateAppResponse (Maybe [Tag]) Source #

The tags associated with the application.

updateAppResponse_httpStatus :: Lens' UpdateAppResponse Int Source #

The response's http status code.