libZSservicesZSamazonka-smsZSamazonka-sms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Read UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Show UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Generic UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Associated Types

type Rep UpdateApp :: Type -> Type #

NFData UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Methods

rnf :: UpdateApp -> () #

Hashable UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

ToJSON UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

AWSRequest UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Associated Types

type AWSResponse 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

type Rep UpdateApp Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

type AWSResponse 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:

$sel:roleName:UpdateApp', updateApp_roleName - The name of the service role in the customer's account used by AWS SMS.

$sel:appId:UpdateApp', updateApp_appId - The ID of the application.

$sel:name:UpdateApp', updateApp_name - The new name of the application.

$sel:description:UpdateApp', updateApp_description - The new description of the application.

$sel:serverGroups:UpdateApp', updateApp_serverGroups - The server groups in the application to update.

$sel:tags:UpdateApp', updateApp_tags - The tags to associate with the application.

Request Lenses

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

The name of the service role in the customer's account used by AWS SMS.

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

The ID of the application.

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

The new name of the application.

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

The new description of the application.

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
Eq UpdateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Read UpdateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Show UpdateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Generic UpdateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Associated Types

type Rep UpdateAppResponse :: Type -> Type #

NFData UpdateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

Methods

rnf :: UpdateAppResponse -> () #

type Rep UpdateAppResponse Source # 
Instance details

Defined in Amazonka.SMS.UpdateApp

type Rep UpdateAppResponse = D1 ('MetaData "UpdateAppResponse" "Amazonka.SMS.UpdateApp" "libZSservicesZSamazonka-smsZSamazonka-sms" '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.

$sel:serverGroups:UpdateApp', updateAppResponse_serverGroups - The updated server groups in the application.

$sel:tags: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.