Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data DeleteService = DeleteService' {
- serviceArn :: Text
- newDeleteService :: Text -> DeleteService
- deleteService_serviceArn :: Lens' DeleteService Text
- data DeleteServiceResponse = DeleteServiceResponse' {
- httpStatus :: Int
- service :: Service
- operationId :: Text
- newDeleteServiceResponse :: Int -> Service -> Text -> DeleteServiceResponse
- deleteServiceResponse_httpStatus :: Lens' DeleteServiceResponse Int
- deleteServiceResponse_service :: Lens' DeleteServiceResponse Service
- deleteServiceResponse_operationId :: Lens' DeleteServiceResponse Text
Creating a Request
data DeleteService Source #
See: newDeleteService
smart constructor.
DeleteService' | |
|
Instances
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.
DeleteServiceResponse' | |
|
Instances
newDeleteServiceResponse Source #
:: Int | |
-> Service | |
-> Text | |
-> DeleteServiceResponse |
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_httpStatus :: Lens' DeleteServiceResponse Int Source #
The response's http status code.
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.