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

Description

Deletes the specified application. Optionally deletes the launched stack associated with the application and all Server Migration Service replication jobs for servers in the application.

Synopsis

Creating a Request

data DeleteApp Source #

See: newDeleteApp smart constructor.

Constructors

DeleteApp' 

Fields

Instances

Instances details
ToJSON DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.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

AWSRequest DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Associated Types

type AWSResponse DeleteApp #

Generic DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Associated Types

type Rep DeleteApp :: Type -> Type #

Read DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Show DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

NFData DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Methods

rnf :: DeleteApp -> () #

Eq DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Hashable DeleteApp Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

type AWSResponse 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" "amazonka-sms-2.0-4YLznk7UFuE5VtyLFXmW6X" 'False) (C1 ('MetaCons "DeleteApp'" 'PrefixI 'True) (S1 ('MetaSel ('Just "appId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "forceStopAppReplication") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "forceTerminateApp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

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:

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.

$sel:forceTerminateApp:DeleteApp', deleteApp_forceTerminateApp - Indicates whether to terminate the stack corresponding to the application while deleting the application.

Request Lenses

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.

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

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

Destructuring the Response

data DeleteAppResponse Source #

See: newDeleteAppResponse smart constructor.

Constructors

DeleteAppResponse' 

Fields

Instances

Instances details
Generic DeleteAppResponse Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Associated Types

type Rep DeleteAppResponse :: Type -> Type #

Read DeleteAppResponse Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Show DeleteAppResponse Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

NFData DeleteAppResponse Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

Methods

rnf :: DeleteAppResponse -> () #

Eq DeleteAppResponse Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

type Rep DeleteAppResponse Source # 
Instance details

Defined in Amazonka.SMS.DeleteApp

type Rep DeleteAppResponse = D1 ('MetaData "DeleteAppResponse" "Amazonka.SMS.DeleteApp" "amazonka-sms-2.0-4YLznk7UFuE5VtyLFXmW6X" '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.