amazonka-apprunner-2.0: Amazon App Runner 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.AppRunner.DeleteService

Description

Delete an App Runner service.

This is an asynchronous operation. On a successful call, you can use the returned OperationId and the ListOperations call to track the operation's progress.

Make sure that you don't have any active VPCIngressConnections associated with the service you want to delete.

Synopsis

Creating a Request

data DeleteService Source #

See: newDeleteService smart constructor.

Constructors

DeleteService' 

Fields

  • serviceArn :: Text

    The Amazon Resource Name (ARN) of the App Runner service that you want to delete.

Instances

Instances details
ToJSON DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

ToHeaders DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

ToPath DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

ToQuery DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

AWSRequest DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

Associated Types

type AWSResponse DeleteService #

Generic DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

Associated Types

type Rep DeleteService :: Type -> Type #

Read DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

Show DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

NFData DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

Methods

rnf :: DeleteService -> () #

Eq DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

Hashable DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

type AWSResponse DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

type Rep DeleteService Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

type Rep DeleteService = D1 ('MetaData "DeleteService" "Amazonka.AppRunner.DeleteService" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "DeleteService'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteService Source #

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

DeleteService, deleteService_serviceArn - The Amazon Resource Name (ARN) of the App Runner service that you want to delete.

Request Lenses

deleteService_serviceArn :: Lens' DeleteService Text Source #

The Amazon Resource Name (ARN) of the App Runner service that you want to delete.

Destructuring the Response

data DeleteServiceResponse Source #

See: newDeleteServiceResponse smart constructor.

Constructors

DeleteServiceResponse' 

Fields

  • httpStatus :: Int

    The response's http status code.

  • service :: Service

    A description of the App Runner service that this request just deleted.

  • operationId :: Text

    The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.

Instances

Instances details
Generic DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

Associated Types

type Rep DeleteServiceResponse :: Type -> Type #

Show DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

NFData DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

Methods

rnf :: DeleteServiceResponse -> () #

Eq DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

type Rep DeleteServiceResponse Source # 
Instance details

Defined in Amazonka.AppRunner.DeleteService

type Rep DeleteServiceResponse = D1 ('MetaData "DeleteServiceResponse" "Amazonka.AppRunner.DeleteService" "amazonka-apprunner-2.0-EwwUWnxXZrM2Mgbv25gcO5" 'False) (C1 ('MetaCons "DeleteServiceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: (S1 ('MetaSel ('Just "service") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Service) :*: S1 ('MetaSel ('Just "operationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteServiceResponse Source #

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

$sel:service:DeleteServiceResponse', deleteServiceResponse_service - A description of the App Runner service that this request just deleted.

$sel:operationId:DeleteServiceResponse', deleteServiceResponse_operationId - The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.

Response Lenses

deleteServiceResponse_service :: Lens' DeleteServiceResponse Service Source #

A description of the App Runner service that this request just deleted.

deleteServiceResponse_operationId :: Lens' DeleteServiceResponse Text Source #

The unique ID of the asynchronous operation that this request started. You can use it combined with the ListOperations call to track the operation's progress.