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

Description

Deletes the specified application. Optionally deletes the launched stack associated with the application and all AWS SMS replication jobs for servers in the application.

Synopsis

Creating a Request

data DeleteApp Source #

See: newDeleteApp smart constructor.

Constructors

DeleteApp' 

Fields

Instances

Instances details
Eq DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Read DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Show DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Generic DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Associated Types

type Rep DeleteApp :: Type -> Type #

NFData DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Methods

rnf :: DeleteApp -> () #

Hashable DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

ToJSON DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

AWSRequest DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Associated Types

type AWSResponse DeleteApp #

ToHeaders DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Methods

toHeaders :: DeleteApp -> [Header] #

ToPath DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

ToQuery DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

type Rep DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

type Rep DeleteApp = D1 ('MetaData "DeleteApp" "Amazonka.SMS.DeleteApp" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "DeleteApp'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forceTerminateApp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "forceStopAppReplication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))
type AWSResponse DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

newDeleteApp :: DeleteApp Source #

Create a value of DeleteApp 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:forceTerminateApp:DeleteApp', deleteApp_forceTerminateApp - Indicates whether to terminate the stack corresponding to the application while deleting the application.

$sel:appId:DeleteApp', deleteApp_appId - The ID of the application.

$sel:forceStopAppReplication:DeleteApp', deleteApp_forceStopAppReplication - Indicates whether to stop all replication jobs corresponding to the servers in the application while deleting the application.

Request Lenses

deleteApp_forceTerminateApp :: Lens' DeleteApp (Maybe Bool) Source #

Indicates whether to terminate the stack corresponding to the application while deleting the application.

deleteApp_appId :: Lens' DeleteApp (Maybe Text) Source #

The ID of the application.

deleteApp_forceStopAppReplication :: Lens' DeleteApp (Maybe Bool) Source #

Indicates whether to stop all replication jobs corresponding to the servers in the application while deleting the application.

Destructuring the Response

data DeleteAppResponse Source #

See: newDeleteAppResponse smart constructor.

Constructors

DeleteAppResponse' 

Fields

Instances

Instances details
Eq DeleteAppResponse Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Read DeleteAppResponse Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Show DeleteAppResponse Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Generic DeleteAppResponse Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Associated Types

type Rep DeleteAppResponse :: Type -> Type #

NFData DeleteAppResponse Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Methods

rnf :: DeleteAppResponse -> () #

type Rep DeleteAppResponse Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

type Rep DeleteAppResponse = D1 ('MetaData "DeleteAppResponse" "Amazonka.SMS.DeleteApp" "libZSservicesZSamazonka-smsZSamazonka-sms" 'False) (C1 ('MetaCons "DeleteAppResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteAppResponse Source #

Create a value of DeleteAppResponse 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:DeleteAppResponse', deleteAppResponse_httpStatus - The response's http status code.

Response Lenses

deleteAppResponse_httpStatus :: Lens' DeleteAppResponse Int Source #

The response's http status code.