| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
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.
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.
Constructors
| DeleteService' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteService |
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:
$sel:serviceArn: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
| |
Instances
newDeleteServiceResponse Source #
Arguments
| :: 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.